From e030887dcecb5c615c4188293e06a7888cedff43 Mon Sep 17 00:00:00 2001 From: python-docs-turkish Date: Mon, 1 Jan 2024 00:18:26 +0000 Subject: [PATCH 1/5] Get changes from CPython Doc for 3.12 --- Makefile | 2 +- c-api/bytes.po | 16 +- c-api/exceptions.po | 600 ++++---- c-api/frame.po | 10 +- c-api/function.po | 76 +- c-api/import.po | 5 +- c-api/init.po | 104 +- c-api/structures.po | 12 +- c-api/typeobj.po | 10 +- c-api/unicode.po | 152 +- distributing/index.po | 8 +- glossary.po | 637 ++++---- howto/annotations.po | 38 +- howto/descriptor.po | 54 +- howto/isolating-extensions.po | 10 +- library/__future__.po | 106 +- library/abc.po | 61 +- library/ast.po | 231 +-- library/bdb.po | 4 +- library/bisect.po | 14 +- library/calendar.po | 144 +- library/cmd.po | 108 +- library/collections.abc.po | 187 +-- library/configparser.po | 54 +- library/contextlib.po | 23 +- library/csv.po | 207 ++- library/datetime.po | 474 +++--- library/dbm.po | 74 +- library/dis.po | 570 ++++---- library/doctest.po | 8 +- library/exceptions.po | 415 +++--- library/functions.po | 878 +++++------ library/gettext.po | 22 +- library/hmac.po | 56 +- library/http.cookies.po | 152 +- library/http.server.po | 12 +- library/inspect.po | 855 ++++++----- library/itertools.po | 4 +- library/locale.po | 4 +- library/logging.config.po | 11 +- library/mailbox.po | 846 +++++------ library/numbers.po | 50 +- library/os.po | 1260 ++++++++-------- library/pathlib.po | 346 ++--- library/pty.po | 32 +- library/random.po | 269 ++-- library/readline.po | 30 +- library/reprlib.po | 48 +- library/resource.po | 6 +- library/rlcompleter.po | 41 +- library/shelve.po | 54 +- library/signal.po | 224 +-- library/socket.po | 23 +- library/ssl.po | 6 +- library/stdtypes.po | 2563 +++++++++++++++++---------------- library/subprocess.po | 291 ++-- library/sys.po | 201 +-- library/tarfile.po | 570 ++++---- library/tempfile.po | 162 +-- library/test.po | 124 +- library/tkinter.ttk.po | 48 +- library/tomllib.po | 22 +- library/traceback.po | 369 ++--- library/types.po | 77 +- library/typing.po | 474 +++--- library/unittest.mock.po | 582 ++++---- library/unittest.po | 35 +- library/urllib.request.po | 576 ++++---- library/wsgiref.po | 222 +-- library/xml.dom.po | 6 +- library/xmlrpc.client.po | 86 +- library/xmlrpc.server.po | 8 +- reference/compound_stmts.po | 310 ++-- reference/datamodel.po | 1939 +++++++++++++------------ reference/grammar.po | 8 +- reference/lexical_analysis.po | 138 +- reference/simple_stmts.po | 276 ++-- sphinx.po | 60 +- tutorial/classes.po | 37 +- tutorial/floatingpoint.po | 6 +- tutorial/modules.po | 67 +- using/cmdline.po | 197 ++- whatsnew/2.0.po | 10 +- whatsnew/2.1.po | 134 +- whatsnew/2.3.po | 464 +++--- whatsnew/2.4.po | 455 +++--- whatsnew/2.5.po | 12 +- whatsnew/2.6.po | 527 +++---- whatsnew/2.7.po | 673 ++++----- whatsnew/3.0.po | 138 +- whatsnew/3.10.po | 881 +++++------ whatsnew/3.11.po | 192 +-- whatsnew/3.12.po | 633 ++++---- whatsnew/3.2.po | 799 +++++----- whatsnew/3.4.po | 8 +- whatsnew/3.5.po | 300 ++-- whatsnew/3.6.po | 132 +- whatsnew/3.7.po | 19 +- whatsnew/3.8.po | 6 +- 99 files changed, 12516 insertions(+), 11964 deletions(-) diff --git a/Makefile b/Makefile index 8326dc02c..c8ea1d7ea 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 := 4f919cf8b9ed07964e8b7b87a5a3e25b09b1ed9e +CPYTHON_CURRENT_COMMIT := f3d3663a47f82de5ddf384ea1497bd3b36d795d7 LANGUAGE := tr BRANCH := 3.12 diff --git a/c-api/bytes.po b/c-api/bytes.po index 22baf7864..6747a3b39 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -269,17 +269,17 @@ msgstr "" #: c-api/bytes.rst:156 msgid "" "Return the null-terminated contents of the object *obj* through the output " -"variables *buffer* and *length*." +"variables *buffer* and *length*. Returns ``0`` on success." msgstr "" -#: c-api/bytes.rst:159 +#: c-api/bytes.rst:160 msgid "" "If *length* is ``NULL``, the bytes object may not contain embedded null " "bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is " "raised." msgstr "" -#: c-api/bytes.rst:163 +#: c-api/bytes.rst:164 msgid "" "The buffer refers to an internal buffer of *obj*, which includes an " "additional null byte at the end (not counted in *length*). The data must " @@ -289,13 +289,13 @@ msgid "" "returns ``-1`` and raises :exc:`TypeError`." msgstr "" -#: c-api/bytes.rst:170 +#: c-api/bytes.rst:171 msgid "" "Previously, :exc:`TypeError` was raised when embedded null bytes were " "encountered in the bytes object." msgstr "" -#: c-api/bytes.rst:177 +#: c-api/bytes.rst:178 msgid "" "Create a new bytes object in *\\*bytes* containing the contents of *newpart* " "appended to *bytes*; the caller will own the new reference. The reference " @@ -304,14 +304,14 @@ msgid "" "of *\\*bytes* will be set to ``NULL``; the appropriate exception will be set." msgstr "" -#: c-api/bytes.rst:186 +#: c-api/bytes.rst:187 msgid "" "Create a new bytes object in *\\*bytes* containing the contents of *newpart* " "appended to *bytes*. This version releases the :term:`strong reference` to " "*newpart* (i.e. decrements its reference count)." msgstr "" -#: c-api/bytes.rst:193 +#: c-api/bytes.rst:194 msgid "" "A way to resize a bytes object even though it is \"immutable\". Only use " "this to build up a brand new bytes object; don't use this if the bytes may " diff --git a/c-api/exceptions.po b/c-api/exceptions.po index f623532c5..7b0be7838 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -449,7 +449,7 @@ msgstr "" #: c-api/exceptions.rst:429 msgid "" "Return the exception currently being raised, clearing the error indicator at " -"the same time." +"the same time. Return ``NULL`` if the error indicator is not set." msgstr "" #: c-api/exceptions.rst:432 @@ -539,12 +539,12 @@ msgstr "" #: c-api/exceptions.rst:531 msgid "" -"This function *does not* implicitly set the ``__traceback__`` attribute on " -"the exception value. If setting the traceback appropriately is desired, the " -"following additional snippet is needed::" +"This function *does not* implicitly set the :attr:`~BaseException." +"__traceback__` attribute on the exception value. If setting the traceback " +"appropriately is desired, the following additional snippet is needed::" msgstr "" -#: c-api/exceptions.rst:542 +#: c-api/exceptions.rst:543 msgid "" "Retrieve the active exception instance, as would be returned by :func:`sys." "exception`. This refers to an exception that was *already caught*, not to an " @@ -552,7 +552,7 @@ msgid "" "or ``NULL``. Does not modify the interpreter's exception state." msgstr "" -#: c-api/exceptions.rst:549 +#: c-api/exceptions.rst:550 msgid "" "This function is not normally used by code that wants to handle exceptions. " "Rather, it can be used when code needs to save and restore the exception " @@ -560,14 +560,14 @@ msgid "" "clear the exception state." msgstr "" -#: c-api/exceptions.rst:558 +#: c-api/exceptions.rst:559 msgid "" "Set the active exception, as known from ``sys.exception()``. This refers to " "an exception that was *already caught*, not to an exception that was freshly " "raised. To clear the exception state, pass ``NULL``." msgstr "" -#: c-api/exceptions.rst:565 +#: c-api/exceptions.rst:566 msgid "" "This function is not normally used by code that wants to handle exceptions. " "Rather, it can be used when code needs to save and restore the exception " @@ -575,7 +575,7 @@ msgid "" "exception state." msgstr "" -#: c-api/exceptions.rst:574 +#: c-api/exceptions.rst:575 msgid "" "Retrieve the old-style representation of the exception info, as known from :" "func:`sys.exc_info`. This refers to an exception that was *already caught*, " @@ -585,7 +585,7 @@ msgid "" "using :c:func:`PyErr_GetHandledException`." msgstr "" -#: c-api/exceptions.rst:583 +#: c-api/exceptions.rst:584 msgid "" "This function is not normally used by code that wants to handle exceptions. " "Rather, it can be used when code needs to save and restore the exception " @@ -593,7 +593,7 @@ msgid "" "exception state." msgstr "" -#: c-api/exceptions.rst:593 +#: c-api/exceptions.rst:594 msgid "" "Set the exception info, as known from ``sys.exc_info()``. This refers to an " "exception that was *already caught*, not to an exception that was freshly " @@ -603,7 +603,7 @@ msgid "" "`PyErr_SetHandledException`." msgstr "" -#: c-api/exceptions.rst:602 +#: c-api/exceptions.rst:603 msgid "" "This function is not normally used by code that wants to handle exceptions. " "Rather, it can be used when code needs to save and restore the exception " @@ -611,22 +611,22 @@ msgid "" "state." msgstr "" -#: c-api/exceptions.rst:609 +#: c-api/exceptions.rst:610 msgid "" "The ``type`` and ``traceback`` arguments are no longer used and can be NULL. " "The interpreter now derives them from the exception instance (the ``value`` " "argument). The function still steals references of all three arguments." msgstr "" -#: c-api/exceptions.rst:617 +#: c-api/exceptions.rst:618 msgid "Signal Handling" msgstr "" -#: c-api/exceptions.rst:627 +#: c-api/exceptions.rst:628 msgid "This function interacts with Python's signal handling." msgstr "" -#: c-api/exceptions.rst:629 +#: c-api/exceptions.rst:630 msgid "" "If the function is called from the main thread and under the main Python " "interpreter, it checks whether a signal has been sent to the processes and " @@ -634,7 +634,7 @@ msgid "" "module is supported, this can invoke a signal handler written in Python." msgstr "" -#: c-api/exceptions.rst:634 +#: c-api/exceptions.rst:635 msgid "" "The function attempts to handle all pending signals, and then returns ``0``. " "However, if a Python signal handler raises an exception, the error indicator " @@ -643,44 +643,44 @@ msgid "" "`PyErr_CheckSignals()` invocation)." msgstr "" -#: c-api/exceptions.rst:640 +#: c-api/exceptions.rst:641 msgid "" "If the function is called from a non-main thread, or under a non-main Python " "interpreter, it does nothing and returns ``0``." msgstr "" -#: c-api/exceptions.rst:643 +#: c-api/exceptions.rst:644 msgid "" "This function can be called by long-running C code that wants to be " "interruptible by user requests (such as by pressing Ctrl-C)." msgstr "" -#: c-api/exceptions.rst:647 +#: c-api/exceptions.rst:648 msgid "" "The default Python signal handler for :c:macro:`!SIGINT` raises the :exc:" "`KeyboardInterrupt` exception." msgstr "" -#: c-api/exceptions.rst:658 +#: c-api/exceptions.rst:659 msgid "" "Simulate the effect of a :c:macro:`!SIGINT` signal arriving. This is " "equivalent to ``PyErr_SetInterruptEx(SIGINT)``." msgstr "" -#: c-api/exceptions.rst:689 +#: c-api/exceptions.rst:690 msgid "" "This function is async-signal-safe. It can be called without the :term:" "`GIL` and from a C signal handler." msgstr "" -#: c-api/exceptions.rst:672 +#: c-api/exceptions.rst:673 msgid "" "Simulate the effect of a signal arriving. The next time :c:func:" "`PyErr_CheckSignals` is called, the Python signal handler for the given " "signal number will be called." msgstr "" -#: c-api/exceptions.rst:676 +#: c-api/exceptions.rst:677 msgid "" "This function can be called by C code that sets up its own signal handling " "and wants Python signal handlers to be invoked as expected when an " @@ -688,27 +688,27 @@ msgid "" "interrupt an operation)." msgstr "" -#: c-api/exceptions.rst:681 +#: c-api/exceptions.rst:682 msgid "" "If the given signal isn't handled by Python (it was set to :py:const:`signal." "SIG_DFL` or :py:const:`signal.SIG_IGN`), it will be ignored." msgstr "" -#: c-api/exceptions.rst:684 +#: c-api/exceptions.rst:685 msgid "" "If *signum* is outside of the allowed range of signal numbers, ``-1`` is " "returned. Otherwise, ``0`` is returned. The error indicator is never " "changed by this function." msgstr "" -#: c-api/exceptions.rst:697 +#: c-api/exceptions.rst:698 msgid "" "This utility function specifies a file descriptor to which the signal number " "is written as a single byte whenever a signal is received. *fd* must be non-" "blocking. It returns the previous such file descriptor." msgstr "" -#: c-api/exceptions.rst:701 +#: c-api/exceptions.rst:702 msgid "" "The value ``-1`` disables the feature; this is the initial state. This is " "equivalent to :func:`signal.set_wakeup_fd` in Python, but without any error " @@ -716,15 +716,15 @@ msgid "" "be called from the main thread." msgstr "" -#: c-api/exceptions.rst:706 +#: c-api/exceptions.rst:707 msgid "On Windows, the function now also supports socket handles." msgstr "" -#: c-api/exceptions.rst:711 +#: c-api/exceptions.rst:712 msgid "Exception Classes" msgstr "" -#: c-api/exceptions.rst:715 +#: c-api/exceptions.rst:716 msgid "" "This utility function creates and returns a new exception class. The *name* " "argument must be the name of the new exception, a C string of the form " @@ -733,7 +733,7 @@ msgid "" "(accessible in C as :c:data:`PyExc_Exception`)." msgstr "" -#: c-api/exceptions.rst:721 +#: c-api/exceptions.rst:722 msgid "" "The :attr:`__module__` attribute of the new class is set to the first part " "(up to the last dot) of the *name* argument, and the class name is set to " @@ -743,73 +743,75 @@ msgid "" "variables and methods." msgstr "" -#: c-api/exceptions.rst:730 +#: c-api/exceptions.rst:731 msgid "" "Same as :c:func:`PyErr_NewException`, except that the new exception class " "can easily be given a docstring: If *doc* is non-``NULL``, it will be used " "as the docstring for the exception class." msgstr "" -#: c-api/exceptions.rst:738 +#: c-api/exceptions.rst:739 msgid "Exception Objects" msgstr "" -#: c-api/exceptions.rst:742 +#: c-api/exceptions.rst:743 msgid "" "Return the traceback associated with the exception as a new reference, as " -"accessible from Python through :attr:`__traceback__`. If there is no " -"traceback associated, this returns ``NULL``." +"accessible from Python through the :attr:`~BaseException.__traceback__` " +"attribute. If there is no traceback associated, this returns ``NULL``." msgstr "" -#: c-api/exceptions.rst:749 +#: c-api/exceptions.rst:751 msgid "" "Set the traceback associated with the exception to *tb*. Use ``Py_None`` to " "clear it." msgstr "" -#: c-api/exceptions.rst:755 +#: c-api/exceptions.rst:757 msgid "" "Return the context (another exception instance during whose handling *ex* " "was raised) associated with the exception as a new reference, as accessible " -"from Python through :attr:`__context__`. If there is no context associated, " -"this returns ``NULL``." +"from Python through the :attr:`~BaseException.__context__` attribute. If " +"there is no context associated, this returns ``NULL``." msgstr "" -#: c-api/exceptions.rst:763 +#: c-api/exceptions.rst:765 msgid "" "Set the context associated with the exception to *ctx*. Use ``NULL`` to " "clear it. There is no type check to make sure that *ctx* is an exception " "instance. This steals a reference to *ctx*." msgstr "" -#: c-api/exceptions.rst:770 +#: c-api/exceptions.rst:772 msgid "" "Return the cause (either an exception instance, or ``None``, set by " "``raise ... from ...``) associated with the exception as a new reference, as " -"accessible from Python through :attr:`__cause__`." +"accessible from Python through the :attr:`~BaseException.__cause__` " +"attribute." msgstr "" -#: c-api/exceptions.rst:777 +#: c-api/exceptions.rst:780 msgid "" "Set the cause associated with the exception to *cause*. Use ``NULL`` to " "clear it. There is no type check to make sure that *cause* is either an " "exception instance or ``None``. This steals a reference to *cause*." msgstr "" -#: c-api/exceptions.rst:781 +#: c-api/exceptions.rst:784 msgid "" -":attr:`__suppress_context__` is implicitly set to ``True`` by this function." +"The :attr:`~BaseException.__suppress_context__` attribute is implicitly set " +"to ``True`` by this function." msgstr "" -#: c-api/exceptions.rst:786 +#: c-api/exceptions.rst:790 msgid "Return :attr:`~BaseException.args` of exception *ex*." msgstr "" -#: c-api/exceptions.rst:791 +#: c-api/exceptions.rst:795 msgid "Set :attr:`~BaseException.args` of exception *ex* to *args*." msgstr "" -#: c-api/exceptions.rst:795 +#: c-api/exceptions.rst:799 msgid "" "Implement part of the interpreter's implementation of :keyword:`!except*`. " "*orig* is the original exception that was caught, and *excs* is the list of " @@ -821,72 +823,72 @@ msgid "" "if there is nothing to reraise." msgstr "" -#: c-api/exceptions.rst:809 +#: c-api/exceptions.rst:813 msgid "Unicode Exception Objects" msgstr "" -#: c-api/exceptions.rst:811 +#: c-api/exceptions.rst:815 msgid "" "The following functions are used to create and modify Unicode exceptions " "from C." msgstr "" -#: c-api/exceptions.rst:815 +#: c-api/exceptions.rst:819 msgid "" "Create a :class:`UnicodeDecodeError` object with the attributes *encoding*, " "*object*, *length*, *start*, *end* and *reason*. *encoding* and *reason* are " "UTF-8 encoded strings." msgstr "" -#: c-api/exceptions.rst:822 +#: c-api/exceptions.rst:826 msgid "Return the *encoding* attribute of the given exception object." msgstr "" -#: c-api/exceptions.rst:828 +#: c-api/exceptions.rst:832 msgid "Return the *object* attribute of the given exception object." msgstr "" -#: c-api/exceptions.rst:834 +#: c-api/exceptions.rst:838 msgid "" "Get the *start* attribute of the given exception object and place it into " "*\\*start*. *start* must not be ``NULL``. Return ``0`` on success, ``-1`` " "on failure." msgstr "" -#: c-api/exceptions.rst:842 +#: c-api/exceptions.rst:846 msgid "" "Set the *start* attribute of the given exception object to *start*. Return " "``0`` on success, ``-1`` on failure." msgstr "" -#: c-api/exceptions.rst:849 +#: c-api/exceptions.rst:853 msgid "" "Get the *end* attribute of the given exception object and place it into " "*\\*end*. *end* must not be ``NULL``. Return ``0`` on success, ``-1`` on " "failure." msgstr "" -#: c-api/exceptions.rst:857 +#: c-api/exceptions.rst:861 msgid "" "Set the *end* attribute of the given exception object to *end*. Return " "``0`` on success, ``-1`` on failure." msgstr "" -#: c-api/exceptions.rst:864 +#: c-api/exceptions.rst:868 msgid "Return the *reason* attribute of the given exception object." msgstr "" -#: c-api/exceptions.rst:870 +#: c-api/exceptions.rst:874 msgid "" "Set the *reason* attribute of the given exception object to *reason*. " "Return ``0`` on success, ``-1`` on failure." msgstr "" -#: c-api/exceptions.rst:877 +#: c-api/exceptions.rst:881 msgid "Recursion Control" msgstr "" -#: c-api/exceptions.rst:879 +#: c-api/exceptions.rst:883 msgid "" "These two functions provide a way to perform safe recursive calls at the C " "level, both in the core and in extension modules. They are needed if the " @@ -896,44 +898,44 @@ msgid "" "recursion handling." msgstr "" -#: c-api/exceptions.rst:888 +#: c-api/exceptions.rst:892 msgid "Marks a point where a recursive C-level call is about to be performed." msgstr "" -#: c-api/exceptions.rst:890 +#: c-api/exceptions.rst:894 msgid "" "If :c:macro:`USE_STACKCHECK` is defined, this function checks if the OS " "stack overflowed using :c:func:`PyOS_CheckStack`. In this is the case, it " "sets a :exc:`MemoryError` and returns a nonzero value." msgstr "" -#: c-api/exceptions.rst:894 +#: c-api/exceptions.rst:898 msgid "" "The function then checks if the recursion limit is reached. If this is the " "case, a :exc:`RecursionError` is set and a nonzero value is returned. " "Otherwise, zero is returned." msgstr "" -#: c-api/exceptions.rst:898 +#: c-api/exceptions.rst:902 msgid "" "*where* should be a UTF-8 encoded string such as ``\" in instance check\"`` " "to be concatenated to the :exc:`RecursionError` message caused by the " "recursion depth limit." msgstr "" -#: c-api/exceptions.rst:910 +#: c-api/exceptions.rst:914 msgid "" "This function is now also available in the :ref:`limited API `." msgstr "" -#: c-api/exceptions.rst:907 +#: c-api/exceptions.rst:911 msgid "" "Ends a :c:func:`Py_EnterRecursiveCall`. Must be called once for each " "*successful* invocation of :c:func:`Py_EnterRecursiveCall`." msgstr "" -#: c-api/exceptions.rst:913 +#: c-api/exceptions.rst:917 msgid "" "Properly implementing :c:member:`~PyTypeObject.tp_repr` for container types " "requires special recursion handling. In addition to protecting the stack, :" @@ -942,13 +944,13 @@ msgid "" "Effectively, these are the C equivalent to :func:`reprlib.recursive_repr`." msgstr "" -#: c-api/exceptions.rst:921 +#: c-api/exceptions.rst:925 msgid "" "Called at the beginning of the :c:member:`~PyTypeObject.tp_repr` " "implementation to detect cycles." msgstr "" -#: c-api/exceptions.rst:924 +#: c-api/exceptions.rst:928 msgid "" "If the object has already been processed, the function returns a positive " "integer. In that case the :c:member:`~PyTypeObject.tp_repr` implementation " @@ -956,30 +958,30 @@ msgid "" "`dict` objects return ``{...}`` and :class:`list` objects return ``[...]``." msgstr "" -#: c-api/exceptions.rst:930 +#: c-api/exceptions.rst:934 msgid "" "The function will return a negative integer if the recursion limit is " "reached. In that case the :c:member:`~PyTypeObject.tp_repr` implementation " "should typically return ``NULL``." msgstr "" -#: c-api/exceptions.rst:934 +#: c-api/exceptions.rst:938 msgid "" "Otherwise, the function returns zero and the :c:member:`~PyTypeObject." "tp_repr` implementation can continue normally." msgstr "" -#: c-api/exceptions.rst:939 +#: c-api/exceptions.rst:943 msgid "" "Ends a :c:func:`Py_ReprEnter`. Must be called once for each invocation of :" "c:func:`Py_ReprEnter` that returns zero." msgstr "" -#: c-api/exceptions.rst:946 +#: c-api/exceptions.rst:950 msgid "Standard Exceptions" msgstr "" -#: c-api/exceptions.rst:948 +#: c-api/exceptions.rst:952 msgid "" "All standard Python exceptions are available as global variables whose names " "are ``PyExc_`` followed by the Python exception name. These have the type :" @@ -987,448 +989,448 @@ msgid "" "all the variables:" msgstr "" -#: c-api/exceptions.rst:1142 c-api/exceptions.rst:1187 +#: c-api/exceptions.rst:1146 c-api/exceptions.rst:1191 msgid "C Name" msgstr "" -#: c-api/exceptions.rst:1187 +#: c-api/exceptions.rst:1191 msgid "Python Name" msgstr "" -#: c-api/exceptions.rst:1142 c-api/exceptions.rst:1187 +#: c-api/exceptions.rst:1146 c-api/exceptions.rst:1191 msgid "Notes" msgstr "" -#: c-api/exceptions.rst:1011 +#: c-api/exceptions.rst:1015 msgid ":c:data:`PyExc_BaseException`" msgstr "" -#: c-api/exceptions.rst:1011 +#: c-api/exceptions.rst:1015 msgid ":exc:`BaseException`" msgstr "" -#: c-api/exceptions.rst:1013 c-api/exceptions.rst:1061 -#: c-api/exceptions.rst:1073 +#: c-api/exceptions.rst:1017 c-api/exceptions.rst:1065 +#: c-api/exceptions.rst:1077 msgid "[1]_" msgstr "" -#: c-api/exceptions.rst:1013 +#: c-api/exceptions.rst:1017 msgid ":c:data:`PyExc_Exception`" msgstr "" -#: c-api/exceptions.rst:1013 +#: c-api/exceptions.rst:1017 msgid ":exc:`Exception`" msgstr "" -#: c-api/exceptions.rst:1015 +#: c-api/exceptions.rst:1019 msgid ":c:data:`PyExc_ArithmeticError`" msgstr "" -#: c-api/exceptions.rst:1015 +#: c-api/exceptions.rst:1019 msgid ":exc:`ArithmeticError`" msgstr "" -#: c-api/exceptions.rst:1017 +#: c-api/exceptions.rst:1021 msgid ":c:data:`PyExc_AssertionError`" msgstr "" -#: c-api/exceptions.rst:1017 +#: c-api/exceptions.rst:1021 msgid ":exc:`AssertionError`" msgstr "" -#: c-api/exceptions.rst:1019 +#: c-api/exceptions.rst:1023 msgid ":c:data:`PyExc_AttributeError`" msgstr "" -#: c-api/exceptions.rst:1019 +#: c-api/exceptions.rst:1023 msgid ":exc:`AttributeError`" msgstr "" -#: c-api/exceptions.rst:1021 +#: c-api/exceptions.rst:1025 msgid ":c:data:`PyExc_BlockingIOError`" msgstr "" -#: c-api/exceptions.rst:1021 +#: c-api/exceptions.rst:1025 msgid ":exc:`BlockingIOError`" msgstr "" -#: c-api/exceptions.rst:1023 +#: c-api/exceptions.rst:1027 msgid ":c:data:`PyExc_BrokenPipeError`" msgstr "" -#: c-api/exceptions.rst:1023 +#: c-api/exceptions.rst:1027 msgid ":exc:`BrokenPipeError`" msgstr "" -#: c-api/exceptions.rst:1025 +#: c-api/exceptions.rst:1029 msgid ":c:data:`PyExc_BufferError`" msgstr "" -#: c-api/exceptions.rst:1025 +#: c-api/exceptions.rst:1029 msgid ":exc:`BufferError`" msgstr "" -#: c-api/exceptions.rst:1027 +#: c-api/exceptions.rst:1031 msgid ":c:data:`PyExc_ChildProcessError`" msgstr "" -#: c-api/exceptions.rst:1027 +#: c-api/exceptions.rst:1031 msgid ":exc:`ChildProcessError`" msgstr "" -#: c-api/exceptions.rst:1029 +#: c-api/exceptions.rst:1033 msgid ":c:data:`PyExc_ConnectionAbortedError`" msgstr "" -#: c-api/exceptions.rst:1029 +#: c-api/exceptions.rst:1033 msgid ":exc:`ConnectionAbortedError`" msgstr "" -#: c-api/exceptions.rst:1031 +#: c-api/exceptions.rst:1035 msgid ":c:data:`PyExc_ConnectionError`" msgstr "" -#: c-api/exceptions.rst:1031 +#: c-api/exceptions.rst:1035 msgid ":exc:`ConnectionError`" msgstr "" -#: c-api/exceptions.rst:1033 +#: c-api/exceptions.rst:1037 msgid ":c:data:`PyExc_ConnectionRefusedError`" msgstr "" -#: c-api/exceptions.rst:1033 +#: c-api/exceptions.rst:1037 msgid ":exc:`ConnectionRefusedError`" msgstr "" -#: c-api/exceptions.rst:1035 +#: c-api/exceptions.rst:1039 msgid ":c:data:`PyExc_ConnectionResetError`" msgstr "" -#: c-api/exceptions.rst:1035 +#: c-api/exceptions.rst:1039 msgid ":exc:`ConnectionResetError`" msgstr "" -#: c-api/exceptions.rst:1037 +#: c-api/exceptions.rst:1041 msgid ":c:data:`PyExc_EOFError`" msgstr "" -#: c-api/exceptions.rst:1037 +#: c-api/exceptions.rst:1041 msgid ":exc:`EOFError`" msgstr "" -#: c-api/exceptions.rst:1039 +#: c-api/exceptions.rst:1043 msgid ":c:data:`PyExc_FileExistsError`" msgstr "" -#: c-api/exceptions.rst:1039 +#: c-api/exceptions.rst:1043 msgid ":exc:`FileExistsError`" msgstr "" -#: c-api/exceptions.rst:1041 +#: c-api/exceptions.rst:1045 msgid ":c:data:`PyExc_FileNotFoundError`" msgstr "" -#: c-api/exceptions.rst:1041 +#: c-api/exceptions.rst:1045 msgid ":exc:`FileNotFoundError`" msgstr "" -#: c-api/exceptions.rst:1043 +#: c-api/exceptions.rst:1047 msgid ":c:data:`PyExc_FloatingPointError`" msgstr "" -#: c-api/exceptions.rst:1043 +#: c-api/exceptions.rst:1047 msgid ":exc:`FloatingPointError`" msgstr "" -#: c-api/exceptions.rst:1045 +#: c-api/exceptions.rst:1049 msgid ":c:data:`PyExc_GeneratorExit`" msgstr "" -#: c-api/exceptions.rst:1045 +#: c-api/exceptions.rst:1049 msgid ":exc:`GeneratorExit`" msgstr "" -#: c-api/exceptions.rst:1047 +#: c-api/exceptions.rst:1051 msgid ":c:data:`PyExc_ImportError`" msgstr "" -#: c-api/exceptions.rst:1047 +#: c-api/exceptions.rst:1051 msgid ":exc:`ImportError`" msgstr "" -#: c-api/exceptions.rst:1049 +#: c-api/exceptions.rst:1053 msgid ":c:data:`PyExc_IndentationError`" msgstr "" -#: c-api/exceptions.rst:1049 +#: c-api/exceptions.rst:1053 msgid ":exc:`IndentationError`" msgstr "" -#: c-api/exceptions.rst:1051 +#: c-api/exceptions.rst:1055 msgid ":c:data:`PyExc_IndexError`" msgstr "" -#: c-api/exceptions.rst:1051 +#: c-api/exceptions.rst:1055 msgid ":exc:`IndexError`" msgstr "" -#: c-api/exceptions.rst:1053 +#: c-api/exceptions.rst:1057 msgid ":c:data:`PyExc_InterruptedError`" msgstr "" -#: c-api/exceptions.rst:1053 +#: c-api/exceptions.rst:1057 msgid ":exc:`InterruptedError`" msgstr "" -#: c-api/exceptions.rst:1055 +#: c-api/exceptions.rst:1059 msgid ":c:data:`PyExc_IsADirectoryError`" msgstr "" -#: c-api/exceptions.rst:1055 +#: c-api/exceptions.rst:1059 msgid ":exc:`IsADirectoryError`" msgstr "" -#: c-api/exceptions.rst:1057 +#: c-api/exceptions.rst:1061 msgid ":c:data:`PyExc_KeyError`" msgstr "" -#: c-api/exceptions.rst:1057 +#: c-api/exceptions.rst:1061 msgid ":exc:`KeyError`" msgstr "" -#: c-api/exceptions.rst:1059 +#: c-api/exceptions.rst:1063 msgid ":c:data:`PyExc_KeyboardInterrupt`" msgstr "" -#: c-api/exceptions.rst:1059 +#: c-api/exceptions.rst:1063 msgid ":exc:`KeyboardInterrupt`" msgstr "" -#: c-api/exceptions.rst:1061 +#: c-api/exceptions.rst:1065 msgid ":c:data:`PyExc_LookupError`" msgstr "" -#: c-api/exceptions.rst:1061 +#: c-api/exceptions.rst:1065 msgid ":exc:`LookupError`" msgstr "" -#: c-api/exceptions.rst:1063 +#: c-api/exceptions.rst:1067 msgid ":c:data:`PyExc_MemoryError`" msgstr "" -#: c-api/exceptions.rst:1063 +#: c-api/exceptions.rst:1067 msgid ":exc:`MemoryError`" msgstr "" -#: c-api/exceptions.rst:1065 +#: c-api/exceptions.rst:1069 msgid ":c:data:`PyExc_ModuleNotFoundError`" msgstr "" -#: c-api/exceptions.rst:1065 +#: c-api/exceptions.rst:1069 msgid ":exc:`ModuleNotFoundError`" msgstr "" -#: c-api/exceptions.rst:1067 +#: c-api/exceptions.rst:1071 msgid ":c:data:`PyExc_NameError`" msgstr "" -#: c-api/exceptions.rst:1067 +#: c-api/exceptions.rst:1071 msgid ":exc:`NameError`" msgstr "" -#: c-api/exceptions.rst:1069 +#: c-api/exceptions.rst:1073 msgid ":c:data:`PyExc_NotADirectoryError`" msgstr "" -#: c-api/exceptions.rst:1069 +#: c-api/exceptions.rst:1073 msgid ":exc:`NotADirectoryError`" msgstr "" -#: c-api/exceptions.rst:1071 +#: c-api/exceptions.rst:1075 msgid ":c:data:`PyExc_NotImplementedError`" msgstr "" -#: c-api/exceptions.rst:1071 +#: c-api/exceptions.rst:1075 msgid ":exc:`NotImplementedError`" msgstr "" -#: c-api/exceptions.rst:1073 +#: c-api/exceptions.rst:1077 msgid ":c:data:`PyExc_OSError`" msgstr "" -#: c-api/exceptions.rst:1073 +#: c-api/exceptions.rst:1077 msgid ":exc:`OSError`" msgstr "" -#: c-api/exceptions.rst:1075 +#: c-api/exceptions.rst:1079 msgid ":c:data:`PyExc_OverflowError`" msgstr "" -#: c-api/exceptions.rst:1075 +#: c-api/exceptions.rst:1079 msgid ":exc:`OverflowError`" msgstr "" -#: c-api/exceptions.rst:1077 +#: c-api/exceptions.rst:1081 msgid ":c:data:`PyExc_PermissionError`" msgstr "" -#: c-api/exceptions.rst:1077 +#: c-api/exceptions.rst:1081 msgid ":exc:`PermissionError`" msgstr "" -#: c-api/exceptions.rst:1079 +#: c-api/exceptions.rst:1083 msgid ":c:data:`PyExc_ProcessLookupError`" msgstr "" -#: c-api/exceptions.rst:1079 +#: c-api/exceptions.rst:1083 msgid ":exc:`ProcessLookupError`" msgstr "" -#: c-api/exceptions.rst:1081 +#: c-api/exceptions.rst:1085 msgid ":c:data:`PyExc_RecursionError`" msgstr "" -#: c-api/exceptions.rst:1081 +#: c-api/exceptions.rst:1085 msgid ":exc:`RecursionError`" msgstr "" -#: c-api/exceptions.rst:1083 +#: c-api/exceptions.rst:1087 msgid ":c:data:`PyExc_ReferenceError`" msgstr "" -#: c-api/exceptions.rst:1083 +#: c-api/exceptions.rst:1087 msgid ":exc:`ReferenceError`" msgstr "" -#: c-api/exceptions.rst:1085 +#: c-api/exceptions.rst:1089 msgid ":c:data:`PyExc_RuntimeError`" msgstr "" -#: c-api/exceptions.rst:1085 +#: c-api/exceptions.rst:1089 msgid ":exc:`RuntimeError`" msgstr "" -#: c-api/exceptions.rst:1087 +#: c-api/exceptions.rst:1091 msgid ":c:data:`PyExc_StopAsyncIteration`" msgstr "" -#: c-api/exceptions.rst:1087 +#: c-api/exceptions.rst:1091 msgid ":exc:`StopAsyncIteration`" msgstr "" -#: c-api/exceptions.rst:1089 +#: c-api/exceptions.rst:1093 msgid ":c:data:`PyExc_StopIteration`" msgstr "" -#: c-api/exceptions.rst:1089 +#: c-api/exceptions.rst:1093 msgid ":exc:`StopIteration`" msgstr "" -#: c-api/exceptions.rst:1091 +#: c-api/exceptions.rst:1095 msgid ":c:data:`PyExc_SyntaxError`" msgstr "" -#: c-api/exceptions.rst:1091 +#: c-api/exceptions.rst:1095 msgid ":exc:`SyntaxError`" msgstr "" -#: c-api/exceptions.rst:1093 +#: c-api/exceptions.rst:1097 msgid ":c:data:`PyExc_SystemError`" msgstr "" -#: c-api/exceptions.rst:1093 +#: c-api/exceptions.rst:1097 msgid ":exc:`SystemError`" msgstr "" -#: c-api/exceptions.rst:1095 +#: c-api/exceptions.rst:1099 msgid ":c:data:`PyExc_SystemExit`" msgstr "" -#: c-api/exceptions.rst:1095 +#: c-api/exceptions.rst:1099 msgid ":exc:`SystemExit`" msgstr "" -#: c-api/exceptions.rst:1097 +#: c-api/exceptions.rst:1101 msgid ":c:data:`PyExc_TabError`" msgstr "" -#: c-api/exceptions.rst:1097 +#: c-api/exceptions.rst:1101 msgid ":exc:`TabError`" msgstr "" -#: c-api/exceptions.rst:1099 +#: c-api/exceptions.rst:1103 msgid ":c:data:`PyExc_TimeoutError`" msgstr "" -#: c-api/exceptions.rst:1099 +#: c-api/exceptions.rst:1103 msgid ":exc:`TimeoutError`" msgstr "" -#: c-api/exceptions.rst:1101 +#: c-api/exceptions.rst:1105 msgid ":c:data:`PyExc_TypeError`" msgstr "" -#: c-api/exceptions.rst:1101 +#: c-api/exceptions.rst:1105 msgid ":exc:`TypeError`" msgstr "" -#: c-api/exceptions.rst:1103 +#: c-api/exceptions.rst:1107 msgid ":c:data:`PyExc_UnboundLocalError`" msgstr "" -#: c-api/exceptions.rst:1103 +#: c-api/exceptions.rst:1107 msgid ":exc:`UnboundLocalError`" msgstr "" -#: c-api/exceptions.rst:1105 +#: c-api/exceptions.rst:1109 msgid ":c:data:`PyExc_UnicodeDecodeError`" msgstr "" -#: c-api/exceptions.rst:1105 +#: c-api/exceptions.rst:1109 msgid ":exc:`UnicodeDecodeError`" msgstr "" -#: c-api/exceptions.rst:1107 +#: c-api/exceptions.rst:1111 msgid ":c:data:`PyExc_UnicodeEncodeError`" msgstr "" -#: c-api/exceptions.rst:1107 +#: c-api/exceptions.rst:1111 msgid ":exc:`UnicodeEncodeError`" msgstr "" -#: c-api/exceptions.rst:1109 +#: c-api/exceptions.rst:1113 msgid ":c:data:`PyExc_UnicodeError`" msgstr "" -#: c-api/exceptions.rst:1109 +#: c-api/exceptions.rst:1113 msgid ":exc:`UnicodeError`" msgstr "" -#: c-api/exceptions.rst:1111 +#: c-api/exceptions.rst:1115 msgid ":c:data:`PyExc_UnicodeTranslateError`" msgstr "" -#: c-api/exceptions.rst:1111 +#: c-api/exceptions.rst:1115 msgid ":exc:`UnicodeTranslateError`" msgstr "" -#: c-api/exceptions.rst:1113 +#: c-api/exceptions.rst:1117 msgid ":c:data:`PyExc_ValueError`" msgstr "" -#: c-api/exceptions.rst:1113 +#: c-api/exceptions.rst:1117 msgid ":exc:`ValueError`" msgstr "" -#: c-api/exceptions.rst:1115 +#: c-api/exceptions.rst:1119 msgid ":c:data:`PyExc_ZeroDivisionError`" msgstr "" -#: c-api/exceptions.rst:1115 +#: c-api/exceptions.rst:1119 msgid ":exc:`ZeroDivisionError`" msgstr "" -#: c-api/exceptions.rst:1118 +#: c-api/exceptions.rst:1122 msgid "" ":c:data:`PyExc_BlockingIOError`, :c:data:`PyExc_BrokenPipeError`, :c:data:" "`PyExc_ChildProcessError`, :c:data:`PyExc_ConnectionError`, :c:data:" @@ -1440,57 +1442,57 @@ msgid "" "`PyExc_TimeoutError` were introduced following :pep:`3151`." msgstr "" -#: c-api/exceptions.rst:1128 +#: c-api/exceptions.rst:1132 msgid ":c:data:`PyExc_StopAsyncIteration` and :c:data:`PyExc_RecursionError`." msgstr "" -#: c-api/exceptions.rst:1131 +#: c-api/exceptions.rst:1135 msgid ":c:data:`PyExc_ModuleNotFoundError`." msgstr "" -#: c-api/exceptions.rst:1134 +#: c-api/exceptions.rst:1138 msgid "These are compatibility aliases to :c:data:`PyExc_OSError`:" msgstr "" -#: c-api/exceptions.rst:1144 +#: c-api/exceptions.rst:1148 msgid ":c:data:`PyExc_EnvironmentError`" msgstr "" -#: c-api/exceptions.rst:1146 +#: c-api/exceptions.rst:1150 msgid ":c:data:`PyExc_IOError`" msgstr "" -#: c-api/exceptions.rst:1148 +#: c-api/exceptions.rst:1152 msgid ":c:data:`PyExc_WindowsError`" msgstr "" -#: c-api/exceptions.rst:1148 +#: c-api/exceptions.rst:1152 msgid "[2]_" msgstr "" -#: c-api/exceptions.rst:1151 +#: c-api/exceptions.rst:1155 msgid "These aliases used to be separate exception types." msgstr "" -#: c-api/exceptions.rst:1215 +#: c-api/exceptions.rst:1219 msgid "Notes:" msgstr "" -#: c-api/exceptions.rst:1157 +#: c-api/exceptions.rst:1161 msgid "This is a base class for other standard exceptions." msgstr "" -#: c-api/exceptions.rst:1160 +#: c-api/exceptions.rst:1164 msgid "" "Only defined on Windows; protect code that uses this by testing that the " "preprocessor macro ``MS_WINDOWS`` is defined." msgstr "" -#: c-api/exceptions.rst:1166 +#: c-api/exceptions.rst:1170 msgid "Standard Warning Categories" msgstr "" -#: c-api/exceptions.rst:1168 +#: c-api/exceptions.rst:1172 msgid "" "All standard Python warning categories are available as global variables " "whose names are ``PyExc_`` followed by the Python exception name. These have " @@ -1498,103 +1500,103 @@ msgid "" "here are all the variables:" msgstr "" -#: c-api/exceptions.rst:1189 +#: c-api/exceptions.rst:1193 msgid ":c:data:`PyExc_Warning`" msgstr "" -#: c-api/exceptions.rst:1189 +#: c-api/exceptions.rst:1193 msgid ":exc:`Warning`" msgstr "" -#: c-api/exceptions.rst:1189 +#: c-api/exceptions.rst:1193 msgid "[3]_" msgstr "" -#: c-api/exceptions.rst:1191 +#: c-api/exceptions.rst:1195 msgid ":c:data:`PyExc_BytesWarning`" msgstr "" -#: c-api/exceptions.rst:1191 +#: c-api/exceptions.rst:1195 msgid ":exc:`BytesWarning`" msgstr "" -#: c-api/exceptions.rst:1193 +#: c-api/exceptions.rst:1197 msgid ":c:data:`PyExc_DeprecationWarning`" msgstr "" -#: c-api/exceptions.rst:1193 +#: c-api/exceptions.rst:1197 msgid ":exc:`DeprecationWarning`" msgstr "" -#: c-api/exceptions.rst:1195 +#: c-api/exceptions.rst:1199 msgid ":c:data:`PyExc_FutureWarning`" msgstr "" -#: c-api/exceptions.rst:1195 +#: c-api/exceptions.rst:1199 msgid ":exc:`FutureWarning`" msgstr "" -#: c-api/exceptions.rst:1197 +#: c-api/exceptions.rst:1201 msgid ":c:data:`PyExc_ImportWarning`" msgstr "" -#: c-api/exceptions.rst:1197 +#: c-api/exceptions.rst:1201 msgid ":exc:`ImportWarning`" msgstr "" -#: c-api/exceptions.rst:1199 +#: c-api/exceptions.rst:1203 msgid ":c:data:`PyExc_PendingDeprecationWarning`" msgstr "" -#: c-api/exceptions.rst:1199 +#: c-api/exceptions.rst:1203 msgid ":exc:`PendingDeprecationWarning`" msgstr "" -#: c-api/exceptions.rst:1201 +#: c-api/exceptions.rst:1205 msgid ":c:data:`PyExc_ResourceWarning`" msgstr "" -#: c-api/exceptions.rst:1201 +#: c-api/exceptions.rst:1205 msgid ":exc:`ResourceWarning`" msgstr "" -#: c-api/exceptions.rst:1203 +#: c-api/exceptions.rst:1207 msgid ":c:data:`PyExc_RuntimeWarning`" msgstr "" -#: c-api/exceptions.rst:1203 +#: c-api/exceptions.rst:1207 msgid ":exc:`RuntimeWarning`" msgstr "" -#: c-api/exceptions.rst:1205 +#: c-api/exceptions.rst:1209 msgid ":c:data:`PyExc_SyntaxWarning`" msgstr "" -#: c-api/exceptions.rst:1205 +#: c-api/exceptions.rst:1209 msgid ":exc:`SyntaxWarning`" msgstr "" -#: c-api/exceptions.rst:1207 +#: c-api/exceptions.rst:1211 msgid ":c:data:`PyExc_UnicodeWarning`" msgstr "" -#: c-api/exceptions.rst:1207 +#: c-api/exceptions.rst:1211 msgid ":exc:`UnicodeWarning`" msgstr "" -#: c-api/exceptions.rst:1209 +#: c-api/exceptions.rst:1213 msgid ":c:data:`PyExc_UserWarning`" msgstr "" -#: c-api/exceptions.rst:1209 +#: c-api/exceptions.rst:1213 msgid ":exc:`UserWarning`" msgstr "" -#: c-api/exceptions.rst:1212 +#: c-api/exceptions.rst:1216 msgid ":c:data:`PyExc_ResourceWarning`." msgstr "" -#: c-api/exceptions.rst:1218 +#: c-api/exceptions.rst:1222 msgid "This is a base class for other standard warning categories." msgstr "" @@ -1602,286 +1604,286 @@ msgstr "" msgid "strerror()" msgstr "" -#: c-api/exceptions.rst:653 c-api/exceptions.rst:668 +#: c-api/exceptions.rst:654 c-api/exceptions.rst:669 msgid "module" msgstr "" -#: c-api/exceptions.rst:653 c-api/exceptions.rst:668 +#: c-api/exceptions.rst:654 c-api/exceptions.rst:669 msgid "signal" msgstr "" -#: c-api/exceptions.rst:653 +#: c-api/exceptions.rst:654 msgid "SIGINT" msgstr "" -#: c-api/exceptions.rst:653 c-api/exceptions.rst:668 +#: c-api/exceptions.rst:654 c-api/exceptions.rst:669 msgid "KeyboardInterrupt (built-in exception)" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_BaseException" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_Exception" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ArithmeticError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_AssertionError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_AttributeError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_BlockingIOError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_BrokenPipeError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_BufferError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ChildProcessError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ConnectionAbortedError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ConnectionError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ConnectionRefusedError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ConnectionResetError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_EOFError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_FileExistsError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_FileNotFoundError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_FloatingPointError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_GeneratorExit" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ImportError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_IndentationError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_IndexError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_InterruptedError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_IsADirectoryError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_KeyError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_KeyboardInterrupt" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_LookupError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_MemoryError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ModuleNotFoundError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_NameError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_NotADirectoryError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_NotImplementedError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_OSError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_OverflowError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_PermissionError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ProcessLookupError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_RecursionError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ReferenceError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_RuntimeError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_StopAsyncIteration" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_StopIteration" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_SyntaxError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_SystemError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_SystemExit" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_TabError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_TimeoutError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_TypeError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_UnboundLocalError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_UnicodeDecodeError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_UnicodeEncodeError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_UnicodeError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_UnicodeTranslateError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ValueError" msgstr "" -#: c-api/exceptions.rst:953 +#: c-api/exceptions.rst:957 msgid "PyExc_ZeroDivisionError" msgstr "" -#: c-api/exceptions.rst:1136 +#: c-api/exceptions.rst:1140 msgid "PyExc_EnvironmentError" msgstr "" -#: c-api/exceptions.rst:1136 +#: c-api/exceptions.rst:1140 msgid "PyExc_IOError" msgstr "" -#: c-api/exceptions.rst:1136 +#: c-api/exceptions.rst:1140 msgid "PyExc_WindowsError" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_Warning" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_BytesWarning" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_DeprecationWarning" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_FutureWarning" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_ImportWarning" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_PendingDeprecationWarning" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_ResourceWarning" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_RuntimeWarning" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_SyntaxWarning" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_UnicodeWarning" msgstr "" -#: c-api/exceptions.rst:1173 +#: c-api/exceptions.rst:1177 msgid "PyExc_UserWarning" msgstr "" diff --git a/c-api/frame.po b/c-api/frame.po index 3932d4599..383c32f6e 100644 --- a/c-api/frame.po +++ b/c-api/frame.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -75,7 +75,7 @@ msgid "" msgstr "" #: c-api/frame.rst:53 -msgid "Get the *frame*'s ``f_builtins`` attribute." +msgid "Get the *frame*'s :attr:`~frame.f_builtins` attribute." msgstr "" #: c-api/frame.rst:86 @@ -106,11 +106,11 @@ msgid "Return a :term:`strong reference`, or ``NULL``." msgstr "" #: c-api/frame.rst:84 -msgid "Get the *frame*'s ``f_globals`` attribute." +msgid "Get the *frame*'s :attr:`~frame.f_globals` attribute." msgstr "" #: c-api/frame.rst:93 -msgid "Get the *frame*'s ``f_lasti`` attribute." +msgid "Get the *frame*'s :attr:`~frame.f_lasti` attribute." msgstr "" #: c-api/frame.rst:95 @@ -145,7 +145,7 @@ msgid "" msgstr "" #: c-api/frame.rst:123 -msgid "Get the *frame*'s ``f_locals`` attribute (:class:`dict`)." +msgid "Get the *frame*'s :attr:`~frame.f_locals` attribute (:class:`dict`)." msgstr "" #: c-api/frame.rst:132 diff --git a/c-api/function.po b/c-api/function.po index 429426846..5dc8bff7f 100644 --- a/c-api/function.po +++ b/c-api/function.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -51,91 +51,93 @@ msgstr "" #: c-api/function.rst:37 msgid "" -"The function's docstring and name are retrieved from the code object. " -"*__module__* is retrieved from *globals*. The argument defaults, annotations " -"and closure are set to ``NULL``. *__qualname__* is set to the same value as " -"the code object's ``co_qualname`` field." +"The function's docstring and name are retrieved from the code object. :attr:" +"`~function.__module__` is retrieved from *globals*. The argument defaults, " +"annotations and closure are set to ``NULL``. :attr:`~function.__qualname__` " +"is set to the same value as the code object's :attr:`~codeobject." +"co_qualname` field." msgstr "" -#: c-api/function.rst:45 +#: c-api/function.rst:46 msgid "" -"As :c:func:`PyFunction_New`, but also allows setting the function object's " -"``__qualname__`` attribute. *qualname* should be a unicode object or " -"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same " -"value as the code object's ``co_qualname`` field." +"As :c:func:`PyFunction_New`, but also allows setting the function object's :" +"attr:`~function.__qualname__` attribute. *qualname* should be a unicode " +"object or ``NULL``; if ``NULL``, the :attr:`!__qualname__` attribute is set " +"to the same value as the code object's :attr:`~codeobject.co_qualname` field." msgstr "" -#: c-api/function.rst:55 +#: c-api/function.rst:57 msgid "Return the code object associated with the function object *op*." msgstr "" -#: c-api/function.rst:60 +#: c-api/function.rst:62 msgid "Return the globals dictionary associated with the function object *op*." msgstr "" -#: c-api/function.rst:65 +#: c-api/function.rst:67 msgid "" -"Return a :term:`borrowed reference` to the *__module__* attribute of the " -"function object *op*. It can be *NULL*." +"Return a :term:`borrowed reference` to the :attr:`~function.__module__` " +"attribute of the :ref:`function object ` *op*. It can be " +"*NULL*." msgstr "" -#: c-api/function.rst:68 +#: c-api/function.rst:71 msgid "" -"This is normally a string containing the module name, but can be set to any " -"other object by Python code." +"This is normally a :class:`string ` containing the module name, but can " +"be set to any other object by Python code." msgstr "" -#: c-api/function.rst:74 +#: c-api/function.rst:77 msgid "" "Return the argument default values of the function object *op*. This can be " "a tuple of arguments or ``NULL``." msgstr "" -#: c-api/function.rst:80 +#: c-api/function.rst:83 msgid "" "Set the argument default values for the function object *op*. *defaults* " "must be ``Py_None`` or a tuple." msgstr "" -#: c-api/function.rst:106 c-api/function.rst:120 +#: c-api/function.rst:109 c-api/function.rst:123 msgid "Raises :exc:`SystemError` and returns ``-1`` on failure." msgstr "" -#: c-api/function.rst:88 +#: c-api/function.rst:91 msgid "Set the vectorcall field of a given function object *func*." msgstr "" -#: c-api/function.rst:90 +#: c-api/function.rst:93 msgid "" "Warning: extensions using this API must preserve the behavior of the " "unaltered (default) vectorcall function!" msgstr "" -#: c-api/function.rst:97 +#: c-api/function.rst:100 msgid "" "Return the closure associated with the function object *op*. This can be " "``NULL`` or a tuple of cell objects." msgstr "" -#: c-api/function.rst:103 +#: c-api/function.rst:106 msgid "" "Set the closure associated with the function object *op*. *closure* must be " "``Py_None`` or a tuple of cell objects." msgstr "" -#: c-api/function.rst:111 +#: c-api/function.rst:114 msgid "" "Return the annotations of the function object *op*. This can be a mutable " "dictionary or ``NULL``." msgstr "" -#: c-api/function.rst:117 +#: c-api/function.rst:120 msgid "" "Set the annotations for the function object *op*. *annotations* must be a " "dictionary or ``Py_None``." msgstr "" -#: c-api/function.rst:125 +#: c-api/function.rst:128 msgid "" "Register *callback* as a function watcher for the current interpreter. " "Return an ID which may be passed to :c:func:`PyFunction_ClearWatcher`. In " @@ -143,7 +145,7 @@ msgid "" "exception." msgstr "" -#: c-api/function.rst:135 +#: c-api/function.rst:138 msgid "" "Clear watcher identified by *watcher_id* previously returned from :c:func:" "`PyFunction_AddWatcher` for the current interpreter. Return ``0`` on " @@ -151,7 +153,7 @@ msgid "" "*watcher_id* was never registered.)" msgstr "" -#: c-api/function.rst:145 +#: c-api/function.rst:148 msgid "" "Enumeration of possible function watcher events: - " "``PyFunction_EVENT_CREATE`` - ``PyFunction_EVENT_DESTROY`` - " @@ -159,11 +161,11 @@ msgid "" "``PyFunction_EVENT_MODIFY_KWDEFAULTS``" msgstr "" -#: c-api/function.rst:157 +#: c-api/function.rst:160 msgid "Type of a function watcher callback function." msgstr "" -#: c-api/function.rst:159 +#: c-api/function.rst:162 msgid "" "If *event* is ``PyFunction_EVENT_CREATE`` or ``PyFunction_EVENT_DESTROY`` " "then *new_value* will be ``NULL``. Otherwise, *new_value* will hold a :term:" @@ -171,13 +173,13 @@ msgid "" "for the attribute that is being modified." msgstr "" -#: c-api/function.rst:164 +#: c-api/function.rst:167 msgid "" "The callback may inspect but must not modify *func*; doing so could have " "unpredictable effects, including infinite recursion." msgstr "" -#: c-api/function.rst:167 +#: c-api/function.rst:170 msgid "" "If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked " "after `func` has been fully initialized. Otherwise, the callback is invoked " @@ -189,7 +191,7 @@ msgid "" "semantics of the Python code being executed." msgstr "" -#: c-api/function.rst:176 +#: c-api/function.rst:179 msgid "" "If *event* is ``PyFunction_EVENT_DESTROY``, Taking a reference in the " "callback to the about-to-be-destroyed function will resurrect it, preventing " @@ -197,14 +199,14 @@ msgid "" "later, any watcher callbacks active at that time will be called again." msgstr "" -#: c-api/function.rst:181 +#: c-api/function.rst:184 msgid "" "If the callback sets an exception, it must return ``-1``; this exception " "will be printed as an unraisable exception using :c:func:" "`PyErr_WriteUnraisable`. Otherwise it should return ``0``." msgstr "" -#: c-api/function.rst:185 +#: c-api/function.rst:188 msgid "" "There may already be a pending exception set on entry to the callback. In " "this case, the callback should return ``0`` with the same exception still " diff --git a/c-api/import.po b/c-api/import.po index c049ca4fe..f6241b144 100644 --- a/c-api/import.po +++ b/c-api/import.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -151,7 +151,8 @@ msgstr "" #: c-api/import.rst:140 msgid "" "The module's :attr:`__file__` attribute will be set to the code object's :" -"attr:`!co_filename`. If applicable, :attr:`__cached__` will also be set." +"attr:`~codeobject.co_filename`. If applicable, :attr:`__cached__` will also " +"be set." msgstr "" #: c-api/import.rst:144 diff --git a/c-api/init.po b/c-api/init.po index e100b9ec5..b6789a146 100644 --- a/c-api/init.po +++ b/c-api/init.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2174,43 +2174,43 @@ msgstr "" msgid "" "The value passed as the *what* parameter to a :c:type:`Py_tracefunc` " "function (but not a profiling function) when a line-number event is being " -"reported. It may be disabled for a frame by setting :attr:`f_trace_lines` to " -"*0* on that frame." +"reported. It may be disabled for a frame by setting :attr:`~frame." +"f_trace_lines` to *0* on that frame." msgstr "" -#: c-api/init.rst:1917 +#: c-api/init.rst:1918 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a call is about to return." msgstr "" -#: c-api/init.rst:1923 +#: c-api/init.rst:1924 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a C function is about to be called." msgstr "" -#: c-api/init.rst:1929 +#: c-api/init.rst:1930 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a C function has raised an exception." msgstr "" -#: c-api/init.rst:1935 +#: c-api/init.rst:1936 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " "a C function has returned." msgstr "" -#: c-api/init.rst:1941 +#: c-api/init.rst:1942 msgid "" "The value for the *what* parameter to :c:type:`Py_tracefunc` functions (but " "not profiling functions) when a new opcode is about to be executed. This " "event is not emitted by default: it must be explicitly requested by setting :" -"attr:`f_trace_opcodes` to *1* on the frame." +"attr:`~frame.f_trace_opcodes` to *1* on the frame." msgstr "" -#: c-api/init.rst:1949 +#: c-api/init.rst:1950 msgid "" "Set the profiler function to *func*. The *obj* parameter is passed to the " "function as its first parameter, and may be any Python object, or ``NULL``. " @@ -2220,28 +2220,28 @@ msgid "" "`PyTrace_LINE` :c:data:`PyTrace_OPCODE` and :c:data:`PyTrace_EXCEPTION`." msgstr "" -#: c-api/init.rst:1956 +#: c-api/init.rst:1957 msgid "See also the :func:`sys.setprofile` function." msgstr "" -#: c-api/init.rst:1965 c-api/init.rst:1991 +#: c-api/init.rst:1966 c-api/init.rst:1992 msgid "The caller must hold the :term:`GIL`." msgstr "" -#: c-api/init.rst:1962 +#: c-api/init.rst:1963 msgid "" "Like :c:func:`PyEval_SetProfile` but sets the profile function in all " "running threads belonging to the current interpreter instead of the setting " "it only on the current thread." msgstr "" -#: c-api/init.rst:1967 +#: c-api/init.rst:1968 msgid "" "As :c:func:`PyEval_SetProfile`, this function ignores any exceptions raised " "while setting the profile functions in all threads." msgstr "" -#: c-api/init.rst:1975 +#: c-api/init.rst:1976 msgid "" "Set the tracing function to *func*. This is similar to :c:func:" "`PyEval_SetProfile`, except the tracing function does receive line-number " @@ -2252,65 +2252,65 @@ msgid "" "*what* parameter." msgstr "" -#: c-api/init.rst:1982 +#: c-api/init.rst:1983 msgid "See also the :func:`sys.settrace` function." msgstr "" -#: c-api/init.rst:1988 +#: c-api/init.rst:1989 msgid "" "Like :c:func:`PyEval_SetTrace` but sets the tracing function in all running " "threads belonging to the current interpreter instead of the setting it only " "on the current thread." msgstr "" -#: c-api/init.rst:1993 +#: c-api/init.rst:1994 msgid "" "As :c:func:`PyEval_SetTrace`, this function ignores any exceptions raised " "while setting the trace functions in all threads." msgstr "" -#: c-api/init.rst:2002 +#: c-api/init.rst:2003 msgid "Advanced Debugger Support" msgstr "" -#: c-api/init.rst:2007 +#: c-api/init.rst:2008 msgid "" "These functions are only intended to be used by advanced debugging tools." msgstr "" -#: c-api/init.rst:2012 +#: c-api/init.rst:2013 msgid "" "Return the interpreter state object at the head of the list of all such " "objects." msgstr "" -#: c-api/init.rst:2017 +#: c-api/init.rst:2018 msgid "Return the main interpreter state object." msgstr "" -#: c-api/init.rst:2022 +#: c-api/init.rst:2023 msgid "" "Return the next interpreter state object after *interp* from the list of all " "such objects." msgstr "" -#: c-api/init.rst:2028 +#: c-api/init.rst:2029 msgid "" "Return the pointer to the first :c:type:`PyThreadState` object in the list " "of threads associated with the interpreter *interp*." msgstr "" -#: c-api/init.rst:2034 +#: c-api/init.rst:2035 msgid "" "Return the next thread state object after *tstate* from the list of all such " "objects belonging to the same :c:type:`PyInterpreterState` object." msgstr "" -#: c-api/init.rst:2041 +#: c-api/init.rst:2042 msgid "Thread Local Storage Support" msgstr "" -#: c-api/init.rst:2045 +#: c-api/init.rst:2046 msgid "" "The Python interpreter provides low-level support for thread-local storage " "(TLS) which wraps the underlying native TLS implementation to support the " @@ -2320,19 +2320,19 @@ msgid "" "thread." msgstr "" -#: c-api/init.rst:2052 +#: c-api/init.rst:2053 msgid "" "The GIL does *not* need to be held when calling these functions; they supply " "their own locking." msgstr "" -#: c-api/init.rst:2055 +#: c-api/init.rst:2056 msgid "" "Note that :file:`Python.h` does not include the declaration of the TLS APIs, " "you need to include :file:`pythread.h` to use thread-local storage." msgstr "" -#: c-api/init.rst:2059 +#: c-api/init.rst:2060 msgid "" "None of these API functions handle memory management on behalf of the :c:" "expr:`void*` values. You need to allocate and deallocate them yourself. If " @@ -2340,22 +2340,22 @@ msgid "" "don't do refcount operations on them either." msgstr "" -#: c-api/init.rst:2067 +#: c-api/init.rst:2068 msgid "Thread Specific Storage (TSS) API" msgstr "" -#: c-api/init.rst:2069 +#: c-api/init.rst:2070 msgid "" "TSS API is introduced to supersede the use of the existing TLS API within " "the CPython interpreter. This API uses a new type :c:type:`Py_tss_t` " "instead of :c:expr:`int` to represent thread keys." msgstr "" -#: c-api/init.rst:2075 +#: c-api/init.rst:2076 msgid "\"A New C-API for Thread-Local Storage in CPython\" (:pep:`539`)" msgstr "" -#: c-api/init.rst:2080 +#: c-api/init.rst:2081 msgid "" "This data structure represents the state of a thread key, the definition of " "which may depend on the underlying TLS implementation, and it has an " @@ -2363,52 +2363,52 @@ msgid "" "public members in this structure." msgstr "" -#: c-api/init.rst:2085 +#: c-api/init.rst:2086 msgid "" "When :ref:`Py_LIMITED_API ` is not defined, static allocation of " "this type by :c:macro:`Py_tss_NEEDS_INIT` is allowed." msgstr "" -#: c-api/init.rst:2091 +#: c-api/init.rst:2092 msgid "" "This macro expands to the initializer for :c:type:`Py_tss_t` variables. Note " "that this macro won't be defined with :ref:`Py_LIMITED_API `." msgstr "" -#: c-api/init.rst:2096 +#: c-api/init.rst:2097 msgid "Dynamic Allocation" msgstr "" -#: c-api/init.rst:2098 +#: c-api/init.rst:2099 msgid "" "Dynamic allocation of the :c:type:`Py_tss_t`, required in extension modules " "built with :ref:`Py_LIMITED_API `, where static allocation of this " "type is not possible due to its implementation being opaque at build time." msgstr "" -#: c-api/init.rst:2105 +#: c-api/init.rst:2106 msgid "" "Return a value which is the same state as a value initialized with :c:macro:" "`Py_tss_NEEDS_INIT`, or ``NULL`` in the case of dynamic allocation failure." msgstr "" -#: c-api/init.rst:2112 +#: c-api/init.rst:2113 msgid "" "Free the given *key* allocated by :c:func:`PyThread_tss_alloc`, after first " "calling :c:func:`PyThread_tss_delete` to ensure any associated thread locals " "have been unassigned. This is a no-op if the *key* argument is ``NULL``." msgstr "" -#: c-api/init.rst:2118 +#: c-api/init.rst:2119 msgid "" "A freed key becomes a dangling pointer. You should reset the key to ``NULL``." msgstr "" -#: c-api/init.rst:2123 +#: c-api/init.rst:2124 msgid "Methods" msgstr "" -#: c-api/init.rst:2125 +#: c-api/init.rst:2126 msgid "" "The parameter *key* of these functions must not be ``NULL``. Moreover, the " "behaviors of :c:func:`PyThread_tss_set` and :c:func:`PyThread_tss_get` are " @@ -2416,13 +2416,13 @@ msgid "" "func:`PyThread_tss_create`." msgstr "" -#: c-api/init.rst:2133 +#: c-api/init.rst:2134 msgid "" "Return a non-zero value if the given :c:type:`Py_tss_t` has been initialized " "by :c:func:`PyThread_tss_create`." msgstr "" -#: c-api/init.rst:2139 +#: c-api/init.rst:2140 msgid "" "Return a zero value on successful initialization of a TSS key. The behavior " "is undefined if the value pointed to by the *key* argument is not " @@ -2431,7 +2431,7 @@ msgid "" "no-op and immediately returns success." msgstr "" -#: c-api/init.rst:2148 +#: c-api/init.rst:2149 msgid "" "Destroy a TSS key to forget the values associated with the key across all " "threads, and change the key's initialization state to uninitialized. A " @@ -2440,31 +2440,31 @@ msgid "" "key -- calling it on an already destroyed key is a no-op." msgstr "" -#: c-api/init.rst:2157 +#: c-api/init.rst:2158 msgid "" "Return a zero value to indicate successfully associating a :c:expr:`void*` " "value with a TSS key in the current thread. Each thread has a distinct " "mapping of the key to a :c:expr:`void*` value." msgstr "" -#: c-api/init.rst:2164 +#: c-api/init.rst:2165 msgid "" "Return the :c:expr:`void*` value associated with a TSS key in the current " "thread. This returns ``NULL`` if no value is associated with the key in the " "current thread." msgstr "" -#: c-api/init.rst:2172 +#: c-api/init.rst:2173 msgid "Thread Local Storage (TLS) API" msgstr "" -#: c-api/init.rst:2174 +#: c-api/init.rst:2175 msgid "" "This API is superseded by :ref:`Thread Specific Storage (TSS) API `." msgstr "" -#: c-api/init.rst:2179 +#: c-api/init.rst:2180 msgid "" "This version of the API does not support platforms where the native TLS key " "is defined in a way that cannot be safely cast to ``int``. On such " @@ -2473,7 +2473,7 @@ msgid "" "platforms." msgstr "" -#: c-api/init.rst:2184 +#: c-api/init.rst:2185 msgid "" "Due to the compatibility problem noted above, this version of the API should " "not be used in new code." diff --git a/c-api/structures.po b/c-api/structures.po index 340d85dbb..4c3c4866f 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -430,13 +430,13 @@ msgstr "" #: c-api/structures.rst:424 msgid "" -"The offset in bytes that the member is located on the type’s object struct." +"The type of the member in the C struct. See :ref:`PyMemberDef-types` for the " +"possible values." msgstr "" -#: c-api/structures.rst:428 +#: c-api/structures.rst:429 msgid "" -"The type of the member in the C struct. See :ref:`PyMemberDef-types` for the " -"possible values." +"The offset in bytes that the member is located on the type’s object struct." msgstr "" #: c-api/structures.rst:433 @@ -700,7 +700,7 @@ msgstr "" #: c-api/structures.rst:593 msgid "" "(*): Zero-terminated, UTF8-encoded C string. With :c:macro:`!Py_T_STRING` " -"the C representation is a pointer; with :c:macro:`!Py_T_STRING_INLINE` the " +"the C representation is a pointer; with :c:macro:`!Py_T_STRING_INPLACE` the " "string is stored directly in the structure." msgstr "" diff --git a/c-api/typeobj.po b/c-api/typeobj.po index a014f7d65..c78f07939 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -389,9 +389,9 @@ msgid ":c:member:`~PyTypeObject.tp_dict`" msgstr "" #: c-api/typeobj.rst:113 c-api/typeobj.rst:134 c-api/typeobj.rst:140 -#: c-api/typeobj.rst:356 c-api/typeobj.rst:370 c-api/typeobj.rst:392 -#: c-api/typeobj.rst:406 c-api/typeobj.rst:414 c-api/typeobj.rst:431 -#: c-api/typeobj.rst:440 c-api/typeobj.rst:446 +#: c-api/typeobj.rst:346 c-api/typeobj.rst:368 c-api/typeobj.rst:381 +#: c-api/typeobj.rst:404 c-api/typeobj.rst:412 c-api/typeobj.rst:416 +#: c-api/typeobj.rst:431 c-api/typeobj.rst:440 c-api/typeobj.rst:446 msgid ":c:type:`PyObject` *" msgstr "" @@ -499,7 +499,7 @@ msgstr "" msgid "[:c:member:`~PyTypeObject.tp_subclasses`]" msgstr "" -#: c-api/typeobj.rst:138 c-api/typeobj.rst:346 c-api/typeobj.rst:429 +#: c-api/typeobj.rst:138 c-api/typeobj.rst:348 msgid "void *" msgstr "" diff --git a/c-api/unicode.po b/c-api/unicode.po index 8702ae131..290594859 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -96,14 +96,14 @@ msgstr "" #: c-api/unicode.rst:78 msgid "" -"Return true if the object *o* is a Unicode object or an instance of a " +"Return true if the object *obj* is a Unicode object or an instance of a " "Unicode subtype. This function always succeeds." msgstr "" #: c-api/unicode.rst:84 msgid "" -"Return true if the object *o* is a Unicode object, but not an instance of a " -"subtype. This function always succeeds." +"Return true if the object *obj* is a Unicode object, but not an instance of " +"a subtype. This function always succeeds." msgstr "" #: c-api/unicode.rst:90 @@ -116,8 +116,8 @@ msgstr "" #: c-api/unicode.rst:100 msgid "" -"Return the length of the Unicode string, in code points. *o* has to be a " -"Unicode object in the \"canonical\" representation (not checked)." +"Return the length of the Unicode string, in code points. *unicode* has to " +"be a Unicode object in the \"canonical\" representation (not checked)." msgstr "" #: c-api/unicode.rst:110 @@ -139,14 +139,15 @@ msgstr "" #: c-api/unicode.rst:132 msgid "" "Return one of the PyUnicode kind constants (see above) that indicate how " -"many bytes per character this Unicode object uses to store its data. *o* " -"has to be a Unicode object in the \"canonical\" representation (not checked)." +"many bytes per character this Unicode object uses to store its data. " +"*unicode* has to be a Unicode object in the \"canonical\" representation " +"(not checked)." msgstr "" #: c-api/unicode.rst:141 msgid "" -"Return a void pointer to the raw Unicode buffer. *o* has to be a Unicode " -"object in the \"canonical\" representation (not checked)." +"Return a void pointer to the raw Unicode buffer. *unicode* has to be a " +"Unicode object in the \"canonical\" representation (not checked)." msgstr "" #: c-api/unicode.rst:150 @@ -167,7 +168,7 @@ msgstr "" #: c-api/unicode.rst:171 msgid "" -"Read a character from a Unicode object *o*, which must be in the " +"Read a character from a Unicode object *unicode*, which must be in the " "\"canonical\" representation. This is less efficient than :c:func:" "`PyUnicode_READ` if you do multiple consecutive reads." msgstr "" @@ -175,8 +176,8 @@ msgstr "" #: c-api/unicode.rst:180 msgid "" "Return the maximum code point that is suitable for creating another string " -"based on *o*, which must be in the \"canonical\" representation. This is " -"always an approximation but more efficient than iterating over the string." +"based on *unicode*, which must be in the \"canonical\" representation. This " +"is always an approximation but more efficient than iterating over the string." msgstr "" #: c-api/unicode.rst:189 @@ -363,7 +364,7 @@ msgstr "" #: c-api/unicode.rst:370 msgid "" -"Create a Unicode object from the char buffer *u*. The bytes will be " +"Create a Unicode object from the char buffer *str*. The bytes will be " "interpreted as being UTF-8 encoded. The buffer is copied into the new " "object. The return value might be a shared object, i.e. modification of the " "data is not allowed." @@ -378,16 +379,17 @@ msgid "*size* < 0," msgstr "" #: c-api/unicode.rst:379 -msgid "*u* is ``NULL`` and *size* > 0" +msgid "*str* is ``NULL`` and *size* > 0" msgstr "" #: c-api/unicode.rst:381 -msgid "*u* == ``NULL`` with *size* > 0 is not allowed anymore." +msgid "*str* == ``NULL`` with *size* > 0 is not allowed anymore." msgstr "" #: c-api/unicode.rst:387 msgid "" -"Create a Unicode object from a UTF-8 encoded null-terminated char buffer *u*." +"Create a Unicode object from a UTF-8 encoded null-terminated char buffer " +"*str*." msgstr "" #: c-api/unicode.rst:393 @@ -834,22 +836,22 @@ msgstr "" #: c-api/unicode.rst:659 msgid "" -"Return a substring of *str*, from character index *start* (included) to " +"Return a substring of *unicode*, from character index *start* (included) to " "character index *end* (excluded). Negative indices are not supported." msgstr "" #: c-api/unicode.rst:668 msgid "" -"Copy the string *u* into a UCS4 buffer, including a null character, if " +"Copy the string *unicode* into a UCS4 buffer, including a null character, if " "*copy_null* is set. Returns ``NULL`` and sets an exception on error (in " "particular, a :exc:`SystemError` if *buflen* is smaller than the length of " -"*u*). *buffer* is returned on success." +"*unicode*). *buffer* is returned on success." msgstr "" #: c-api/unicode.rst:678 msgid "" -"Copy the string *u* into a new UCS4 buffer that is allocated using :c:func:" -"`PyMem_Malloc`. If this fails, ``NULL`` is returned with a :exc:" +"Copy the string *unicode* into a new UCS4 buffer that is allocated using :c:" +"func:`PyMem_Malloc`. If this fails, ``NULL`` is returned with a :exc:" "`MemoryError` set. The returned buffer always has an extra null code point " "appended." msgstr "" @@ -1025,15 +1027,16 @@ msgstr "" #: c-api/unicode.rst:853 msgid "" -"Create a Unicode object from the :c:type:`wchar_t` buffer *w* of the given " -"*size*. Passing ``-1`` as the *size* indicates that the function must itself " -"compute the length, using wcslen. Return ``NULL`` on failure." +"Create a Unicode object from the :c:type:`wchar_t` buffer *wstr* of the " +"given *size*. Passing ``-1`` as the *size* indicates that the function must " +"itself compute the length, using :c:func:`!wcslen`. Return ``NULL`` on " +"failure." msgstr "" #: c-api/unicode.rst:861 msgid "" -"Copy the Unicode object contents into the :c:type:`wchar_t` buffer *w*. At " -"most *size* :c:type:`wchar_t` characters are copied (excluding a possibly " +"Copy the Unicode object contents into the :c:type:`wchar_t` buffer *wstr*. " +"At most *size* :c:type:`wchar_t` characters are copied (excluding a possibly " "trailing null termination character). Return the number of :c:type:" "`wchar_t` characters copied or ``-1`` in case of an error. Note that the " "resulting :c:expr:`wchar_t*` string may or may not be null-terminated. It " @@ -1115,11 +1118,11 @@ msgstr "" #: c-api/unicode.rst:928 msgid "" -"Create a Unicode object by decoding *size* bytes of the encoded string *s*. " -"*encoding* and *errors* have the same meaning as the parameters of the same " -"name in the :func:`str` built-in function. The codec to be used is looked " -"up using the Python codec registry. Return ``NULL`` if an exception was " -"raised by the codec." +"Create a Unicode object by decoding *size* bytes of the encoded string " +"*str*. *encoding* and *errors* have the same meaning as the parameters of " +"the same name in the :func:`str` built-in function. The codec to be used is " +"looked up using the Python codec registry. Return ``NULL`` if an exception " +"was raised by the codec." msgstr "" #: c-api/unicode.rst:938 @@ -1142,7 +1145,7 @@ msgstr "" #: c-api/unicode.rst:953 msgid "" "Create a Unicode object by decoding *size* bytes of the UTF-8 encoded string " -"*s*. Return ``NULL`` if an exception was raised by the codec." +"*str*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: c-api/unicode.rst:960 @@ -1313,7 +1316,7 @@ msgstr "" #: c-api/unicode.rst:1117 msgid "" "Create a Unicode object by decoding *size* bytes of the UTF-7 encoded string " -"*s*. Return ``NULL`` if an exception was raised by the codec." +"*str*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: c-api/unicode.rst:1124 @@ -1335,7 +1338,8 @@ msgstr "" #: c-api/unicode.rst:1139 msgid "" "Create a Unicode object by decoding *size* bytes of the Unicode-Escape " -"encoded string *s*. Return ``NULL`` if an exception was raised by the codec." +"encoded string *str*. Return ``NULL`` if an exception was raised by the " +"codec." msgstr "" #: c-api/unicode.rst:1145 @@ -1356,7 +1360,8 @@ msgstr "" #: c-api/unicode.rst:1159 msgid "" "Create a Unicode object by decoding *size* bytes of the Raw-Unicode-Escape " -"encoded string *s*. Return ``NULL`` if an exception was raised by the codec." +"encoded string *str*. Return ``NULL`` if an exception was raised by the " +"codec." msgstr "" #: c-api/unicode.rst:1165 @@ -1379,7 +1384,7 @@ msgstr "" #: c-api/unicode.rst:1179 msgid "" "Create a Unicode object by decoding *size* bytes of the Latin-1 encoded " -"string *s*. Return ``NULL`` if an exception was raised by the codec." +"string *str*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: c-api/unicode.rst:1185 @@ -1402,7 +1407,7 @@ msgstr "" #: c-api/unicode.rst:1199 msgid "" "Create a Unicode object by decoding *size* bytes of the ASCII encoded string " -"*s*. Return ``NULL`` if an exception was raised by the codec." +"*str*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: c-api/unicode.rst:1205 @@ -1432,7 +1437,7 @@ msgstr "" #: c-api/unicode.rst:1224 msgid "" -"Create a Unicode object by decoding *size* bytes of the encoded string *s* " +"Create a Unicode object by decoding *size* bytes of the encoded string *str* " "using the given *mapping* object. Return ``NULL`` if an exception was " "raised by the codec." msgstr "" @@ -1507,7 +1512,7 @@ msgstr "" #: c-api/unicode.rst:1278 msgid "" "Create a Unicode object by decoding *size* bytes of the MBCS encoded string " -"*s*. Return ``NULL`` if an exception was raised by the codec." +"*str*. Return ``NULL`` if an exception was raised by the codec." msgstr "" #: c-api/unicode.rst:1285 @@ -1567,7 +1572,7 @@ msgstr "" #: c-api/unicode.rst:1338 msgid "" "Split a Unicode string at line breaks, returning a list of Unicode strings. " -"CRLF is considered to be one line break. If *keepend* is ``0``, the line " +"CRLF is considered to be one line break. If *keepends* is ``0``, the Line " "break characters are not included in the resulting strings." msgstr "" @@ -1579,44 +1584,46 @@ msgstr "" #: c-api/unicode.rst:1352 msgid "" -"Return ``1`` if *substr* matches ``str[start:end]`` at the given tail end " -"(*direction* == ``-1`` means to do a prefix match, *direction* == ``1`` a " -"suffix match), ``0`` otherwise. Return ``-1`` if an error occurred." +"Return ``1`` if *substr* matches ``unicode[start:end]`` at the given tail " +"end (*direction* == ``-1`` means to do a prefix match, *direction* == ``1`` " +"a suffix match), ``0`` otherwise. Return ``-1`` if an error occurred." msgstr "" #: c-api/unicode.rst:1360 msgid "" -"Return the first position of *substr* in ``str[start:end]`` using the given " -"*direction* (*direction* == ``1`` means to do a forward search, *direction* " -"== ``-1`` a backward search). The return value is the index of the first " -"match; a value of ``-1`` indicates that no match was found, and ``-2`` " -"indicates that an error occurred and an exception has been set." +"Return the first position of *substr* in ``unicode[start:end]`` using the " +"given *direction* (*direction* == ``1`` means to do a forward search, " +"*direction* == ``-1`` a backward search). The return value is the index of " +"the first match; a value of ``-1`` indicates that no match was found, and " +"``-2`` indicates that an error occurred and an exception has been set." msgstr "" #: c-api/unicode.rst:1370 msgid "" -"Return the first position of the character *ch* in ``str[start:end]`` using " -"the given *direction* (*direction* == ``1`` means to do a forward search, " -"*direction* == ``-1`` a backward search). The return value is the index of " -"the first match; a value of ``-1`` indicates that no match was found, and " -"``-2`` indicates that an error occurred and an exception has been set." +"Return the first position of the character *ch* in ``unicode[start:end]`` " +"using the given *direction* (*direction* == ``1`` means to do a forward " +"search, *direction* == ``-1`` a backward search). The return value is the " +"index of the first match; a value of ``-1`` indicates that no match was " +"found, and ``-2`` indicates that an error occurred and an exception has been " +"set." msgstr "" #: c-api/unicode.rst:1378 -msgid "*start* and *end* are now adjusted to behave like ``str[start:end]``." +msgid "" +"*start* and *end* are now adjusted to behave like ``unicode[start:end]``." msgstr "" #: c-api/unicode.rst:1385 msgid "" -"Return the number of non-overlapping occurrences of *substr* in ``str[start:" -"end]``. Return ``-1`` if an error occurred." +"Return the number of non-overlapping occurrences of *substr* in " +"``unicode[start:end]``. Return ``-1`` if an error occurred." msgstr "" #: c-api/unicode.rst:1392 msgid "" -"Replace at most *maxcount* occurrences of *substr* in *str* with *replstr* " -"and return the resulting Unicode object. *maxcount* == ``-1`` means replace " -"all occurrences." +"Replace at most *maxcount* occurrences of *substr* in *unicode* with " +"*replstr* and return the resulting Unicode object. *maxcount* == ``-1`` " +"means replace all occurrences." msgstr "" #: c-api/unicode.rst:1399 @@ -1633,7 +1640,7 @@ msgstr "" #: c-api/unicode.rst:1408 msgid "" -"Compare a Unicode object, *uni*, with *string* and return ``-1``, ``0``, " +"Compare a Unicode object, *unicode*, with *string* and return ``-1``, ``0``, " "``1`` for less than, equal, and greater than, respectively. It is best to " "pass only ASCII-encoded strings, but the function interprets the input " "string as ISO-8859-1 if it contains non-ASCII characters." @@ -1673,27 +1680,28 @@ msgstr "" #: c-api/unicode.rst:1436 msgid "" -"Check whether *element* is contained in *container* and return true or false " +"Check whether *substr* is contained in *unicode* and return true or false " "accordingly." msgstr "" #: c-api/unicode.rst:1439 msgid "" -"*element* has to coerce to a one element Unicode string. ``-1`` is returned " +"*substr* has to coerce to a one element Unicode string. ``-1`` is returned " "if there was an error." msgstr "" #: c-api/unicode.rst:1445 msgid "" -"Intern the argument *\\*string* in place. The argument must be the address " -"of a pointer variable pointing to a Python Unicode string object. If there " -"is an existing interned string that is the same as *\\*string*, it sets " -"*\\*string* to it (releasing the reference to the old string object and " -"creating a new :term:`strong reference` to the interned string object), " -"otherwise it leaves *\\*string* alone and interns it (creating a new :term:" -"`strong reference`). (Clarification: even though there is a lot of talk " -"about references, think of this function as reference-neutral; you own the " -"object after the call if and only if you owned it before the call.)" +"Intern the argument :c:expr:`*p_unicode` in place. The argument must be the " +"address of a pointer variable pointing to a Python Unicode string object. " +"If there is an existing interned string that is the same as :c:expr:" +"`*p_unicode`, it sets :c:expr:`*p_unicode` to it (releasing the reference to " +"the old string object and creating a new :term:`strong reference` to the " +"interned string object), otherwise it leaves :c:expr:`*p_unicode` alone and " +"interns it (creating a new :term:`strong reference`). (Clarification: even " +"though there is a lot of talk about references, think of this function as " +"reference-neutral; you own the object after the call if and only if you " +"owned it before the call.)" msgstr "" #: c-api/unicode.rst:1458 diff --git a/distributing/index.po b/distributing/index.po index 2ec23a892..1d50455b4 100644 --- a/distributing/index.po +++ b/distributing/index.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: 2022-01-10 21:47+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -27,9 +27,9 @@ msgid "" "been moved to the `Python Packaging User Guide`_, and the tutorial on " "`packaging Python projects`_." msgstr "" -"Python modüllerinin ve paketlerinin dağıtımı ile ilgili bilgi ve " -"rehberlik içeriği `Python projelerinin paketlenmesi`_ hakkındaki " -"öğreticiye ve `Python Paketleme Kullanıcı Kılavuzu`_ 'na taşındı." +"Python modüllerinin ve paketlerinin dağıtımı ile ilgili bilgi ve rehberlik " +"içeriği `Python projelerinin paketlenmesi`_ hakkındaki öğreticiye ve `Python " +"Paketleme Kullanıcı Kılavuzu`_ 'na taşındı." #~ msgid "Email" #~ msgstr "E-posta" diff --git a/glossary.po b/glossary.po index 1e3995798..ca0417558 100644 --- a/glossary.po +++ b/glossary.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: 2022-12-28 16:12-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -380,12 +380,13 @@ msgid "binary file" msgstr "ikili dosya" #: glossary.rst:160 +#, fuzzy msgid "" "A :term:`file object` able to read and write :term:`bytes-like objects " "`. Examples of binary files are files opened in binary " -"mode (``'rb'``, ``'wb'`` or ``'rb+'``), :data:`sys.stdin.buffer`, :data:`sys." -"stdout.buffer`, and instances of :class:`io.BytesIO` and :class:`gzip." -"GzipFile`." +"mode (``'rb'``, ``'wb'`` or ``'rb+'``), :data:`sys.stdin.buffer `, :data:`sys.stdout.buffer `, and instances of :class:`io." +"BytesIO` and :class:`gzip.GzipFile`." msgstr "" "Bir :term:`dosya nesnesi ` :term:`bayt benzeri nesneler ` okuyabilir ve yazabilir. İkili dosya örnekleri, ikili modda " @@ -728,16 +729,17 @@ msgid "descriptor" msgstr "tanımlayıcı" #: glossary.rst:316 +#, fuzzy msgid "" -"Any object which defines the methods :meth:`__get__`, :meth:`__set__`, or :" -"meth:`__delete__`. When a class attribute is a descriptor, its special " -"binding behavior is triggered upon attribute lookup. Normally, using *a.b* " -"to get, set or delete an attribute looks up the object named *b* in the " -"class dictionary for *a*, but if *b* is a descriptor, the respective " -"descriptor method gets called. Understanding descriptors is a key to a deep " -"understanding of Python because they are the basis for many features " -"including functions, methods, properties, class methods, static methods, and " -"reference to super classes." +"Any object which defines the methods :meth:`~object.__get__`, :meth:`~object." +"__set__`, or :meth:`~object.__delete__`. When a class attribute is a " +"descriptor, its special binding behavior is triggered upon attribute " +"lookup. Normally, using *a.b* to get, set or delete an attribute looks up " +"the object named *b* in the class dictionary for *a*, but if *b* is a " +"descriptor, the respective descriptor method gets called. Understanding " +"descriptors is a key to a deep understanding of Python because they are the " +"basis for many features including functions, methods, properties, class " +"methods, static methods, and reference to super classes." msgstr "" ":meth:`__get__`, :meth:`__set__` veya :meth:`__delete__` yöntemlerini " "tanımlayan herhangi bir nesne. Bir sınıf özniteliği bir tanımlayıcı " @@ -749,7 +751,7 @@ msgstr "" "özellikler, sınıf yöntemleri, statik yöntemler ve süper sınıflara başvuru " "gibi birçok özelliğin temelidir." -#: glossary.rst:326 +#: glossary.rst:327 msgid "" "For more information about descriptors' methods, see :ref:`descriptors` or " "the :ref:`Descriptor How To Guide `." @@ -757,25 +759,26 @@ msgstr "" "Tanımlayıcıların yöntemleri hakkında daha fazla bilgi için, bkz. :ref:" "`descriptors` veya :ref:`Descriptor How To Guide `." -#: glossary.rst:328 +#: glossary.rst:329 msgid "dictionary" msgstr "sözlük" -#: glossary.rst:330 +#: glossary.rst:331 +#, fuzzy msgid "" "An associative array, where arbitrary keys are mapped to values. The keys " -"can be any object with :meth:`__hash__` and :meth:`__eq__` methods. Called a " -"hash in Perl." +"can be any object with :meth:`~object.__hash__` and :meth:`~object.__eq__` " +"methods. Called a hash in Perl." msgstr "" "Rasgele anahtarların değerlerle eşlendiği ilişkisel bir dizi. Anahtarlar, :" "meth:`__hash__` ve :meth:`__eq__` yöntemleriyle herhangi bir nesne olabilir. " "Perl'de karma denir." -#: glossary.rst:333 +#: glossary.rst:335 msgid "dictionary comprehension" msgstr "sözlük anlama" -#: glossary.rst:335 +#: glossary.rst:337 msgid "" "A compact way to process all or part of the elements in an iterable and " "return a dictionary with the results. ``results = {n: n ** 2 for n in " @@ -787,11 +790,11 @@ msgstr "" "** 2 for range(10)}``, ``n ** 2`` değerine eşlenmiş ``n`` anahtarını içeren " "bir sözlük oluşturur. Bkz. :ref:`comprehensions`." -#: glossary.rst:339 +#: glossary.rst:341 msgid "dictionary view" msgstr "sözlük görünümü" -#: glossary.rst:341 +#: glossary.rst:343 msgid "" "The objects returned from :meth:`dict.keys`, :meth:`dict.values`, and :meth:" "`dict.items` are called dictionary views. They provide a dynamic view on the " @@ -805,11 +808,11 @@ msgstr "" "yansıttığı anlamına gelir. Sözlük görünümünü tam liste olmaya zorlamak için " "``list(dictview)`` kullanın. Bakınız :ref:`dict-views`." -#: glossary.rst:347 +#: glossary.rst:349 msgid "docstring" msgstr "belge dizisi" -#: glossary.rst:349 +#: glossary.rst:351 msgid "" "A string literal which appears as the first expression in a class, function " "or module. While ignored when the suite is executed, it is recognized by " @@ -823,11 +826,11 @@ msgstr "" "yerleştirilir. İç gözlem yoluyla erişilebilir olduğundan, nesnenin " "belgelenmesi için kurallı yerdir." -#: glossary.rst:355 +#: glossary.rst:357 msgid "duck-typing" msgstr "ördek yazma" -#: glossary.rst:357 +#: glossary.rst:359 msgid "" "A programming style which does not look at an object's type to determine if " "it has the right interface; instead, the method or attribute is simply " @@ -849,11 +852,11 @@ msgstr "" "tamamlanabileceğini unutmayın.) Bunun yerine, genellikle :func:`hasattr` " "testleri veya :term:`EAFP` programlamasını kullanır." -#: glossary.rst:366 +#: glossary.rst:368 msgid "EAFP" msgstr "EAFP" -#: glossary.rst:368 +#: glossary.rst:370 msgid "" "Easier to ask for forgiveness than permission. This common Python coding " "style assumes the existence of valid keys or attributes and catches " @@ -869,11 +872,11 @@ msgstr "" "karakterize edilir. Teknik, C gibi diğer birçok dilde ortak olan :term:" "`LBYL` stiliyle çelişir." -#: glossary.rst:374 +#: glossary.rst:376 msgid "expression" msgstr "ifade (değer döndürür)" -#: glossary.rst:376 +#: glossary.rst:378 msgid "" "A piece of syntax which can be evaluated to some value. In other words, an " "expression is an accumulation of expression elements like literals, names, " @@ -890,11 +893,11 @@ msgstr "" "Ayrıca :keyword:`while` gibi kullanılamayan :term:`ifadeler ` de " "vardır. Atamalar da değer döndürmeyen ifadelerdir (statement)." -#: glossary.rst:383 +#: glossary.rst:385 msgid "extension module" msgstr "uzatma modülü" -#: glossary.rst:385 +#: glossary.rst:387 msgid "" "A module written in C or C++, using Python's C API to interact with the core " "and with user code." @@ -902,11 +905,11 @@ msgstr "" "Çekirdekle ve kullanıcı koduyla etkileşim kurmak için Python'un C API'sini " "kullanan, C veya C++ ile yazılmış bir modül." -#: glossary.rst:387 +#: glossary.rst:389 msgid "f-string" msgstr "f-string" -#: glossary.rst:389 +#: glossary.rst:391 msgid "" "String literals prefixed with ``'f'`` or ``'F'`` are commonly called \"f-" "strings\" which is short for :ref:`formatted string literals `. " @@ -916,14 +919,15 @@ msgstr "" "olarak adlandırılır; bu, :ref:`formatted string literals ` 'ın " "kısaltmasıdır. Ayrıca bkz. :pep:`498`." -#: glossary.rst:392 +#: glossary.rst:394 msgid "file object" msgstr "dosya nesnesi" -#: glossary.rst:394 +#: glossary.rst:396 +#, fuzzy msgid "" -"An object exposing a file-oriented API (with methods such as :meth:`read()` " -"or :meth:`write()`) to an underlying resource. Depending on the way it was " +"An object exposing a file-oriented API (with methods such as :meth:`!read` " +"or :meth:`!write`) to an underlying resource. Depending on the way it was " "created, a file object can mediate access to a real on-disk file or to " "another type of storage or communication device (for example standard input/" "output, in-memory buffers, sockets, pipes, etc.). File objects are also " @@ -937,7 +941,7 @@ msgstr "" "edebilir. . Dosya nesneleri ayrıca :dfn:`file-like objects` veya :dfn:" "`streams` olarak da adlandırılır." -#: glossary.rst:402 +#: glossary.rst:404 msgid "" "There are actually three categories of file objects: raw :term:`binary files " "`, buffered :term:`binary files ` and :term:`text " @@ -950,19 +954,19 @@ msgstr "" "files `. Arayüzleri :mod:`io` modülünde tanımlanmıştır. Bir " "dosya nesnesi yaratmanın kurallı yolu :func:`open` işlevini kullanmaktır." -#: glossary.rst:407 +#: glossary.rst:409 msgid "file-like object" msgstr "dosya benzeri nesne" -#: glossary.rst:409 +#: glossary.rst:411 msgid "A synonym for :term:`file object`." msgstr ":term:`dosya nesnesi` ile eşanlamlıdır." -#: glossary.rst:410 +#: glossary.rst:412 msgid "filesystem encoding and error handler" msgstr "dosya sistemi kodlaması ve hata işleyicisi" -#: glossary.rst:412 +#: glossary.rst:414 msgid "" "Encoding and error handler used by Python to decode bytes from the operating " "system and encode Unicode to the operating system." @@ -970,7 +974,7 @@ msgstr "" "Python tarafından işletim sistemindeki baytların kodunu çözmek ve Unicode'u " "işletim sistemine kodlamak için kullanılan kodlama ve hata işleyici." -#: glossary.rst:415 +#: glossary.rst:417 msgid "" "The filesystem encoding must guarantee to successfully decode all bytes " "below 128. If the file system encoding fails to provide this guarantee, API " @@ -980,7 +984,7 @@ msgstr "" "çözmeyi garanti etmelidir. Dosya sistemi kodlaması bu garantiyi " "sağlayamazsa, API işlevleri :exc:`UnicodeError` değerini yükseltebilir." -#: glossary.rst:419 +#: glossary.rst:421 msgid "" "The :func:`sys.getfilesystemencoding` and :func:`sys." "getfilesystemencodeerrors` functions can be used to get the filesystem " @@ -990,7 +994,7 @@ msgstr "" "işlevleri, dosya sistemi kodlamasını ve hata işleyicisini almak için " "kullanılabilir." -#: glossary.rst:423 +#: glossary.rst:425 msgid "" "The :term:`filesystem encoding and error handler` are configured at Python " "startup by the :c:func:`PyConfig_Read` function: see :c:member:`~PyConfig." @@ -1002,15 +1006,15 @@ msgstr "" "filesystem_encoding` ve :c:member:`~PyConfig. filesystem_errors` üyeleri :c:" "type:`PyConfig`." -#: glossary.rst:428 +#: glossary.rst:430 msgid "See also the :term:`locale encoding`." msgstr "Ayrıca bkz. :term:`locale encoding`." -#: glossary.rst:429 +#: glossary.rst:431 msgid "finder" msgstr "bulucu" -#: glossary.rst:431 +#: glossary.rst:433 msgid "" "An object that tries to find the :term:`loader` for a module that is being " "imported." @@ -1018,7 +1022,7 @@ msgstr "" "İçe aktarılmakta olan bir modül için :term:`loader` 'ı bulmaya çalışan bir " "nesne." -#: glossary.rst:434 +#: glossary.rst:436 msgid "" "Since Python 3.3, there are two types of finder: :term:`meta path finders " "` for use with :data:`sys.meta_path`, and :term:`path " @@ -1029,15 +1033,15 @@ msgstr "" "`sys.path_hooks` ile kullanılmak üzere :term:`yol girişi bulucular `." -#: glossary.rst:438 +#: glossary.rst:440 msgid "See :pep:`302`, :pep:`420` and :pep:`451` for much more detail." msgstr "Daha fazla ayrıntı için :pep:`302`, :pep:`420` ve :pep:`451` bakın." -#: glossary.rst:439 +#: glossary.rst:441 msgid "floor division" msgstr "kat bölümü" -#: glossary.rst:441 +#: glossary.rst:443 msgid "" "Mathematical division that rounds down to nearest integer. The floor " "division operator is ``//``. For example, the expression ``11 // 4`` " @@ -1051,11 +1055,11 @@ msgstr "" "``(-11) // 4`` 'ün ``-3`` olduğuna dikkat edin, çünkü bu ``-2.75`` " "yuvarlatılmış *aşağı*. Bakınız :pep:`238`." -#: glossary.rst:446 +#: glossary.rst:448 msgid "function" msgstr "fonksiyon" -#: glossary.rst:448 +#: glossary.rst:450 msgid "" "A series of statements which returns some value to a caller. It can also be " "passed zero or more :term:`arguments ` which may be used in the " @@ -1067,17 +1071,17 @@ msgstr "" "` iletilebilir. Ayrıca :term:`parameter`, :term:`method` ve :ref:" "`function` bölümüne bakın." -#: glossary.rst:452 +#: glossary.rst:454 msgid "function annotation" msgstr "fonksiyon açıklaması" -#: glossary.rst:454 +#: glossary.rst:456 msgid "An :term:`annotation` of a function parameter or return value." msgstr "" "Bir işlev parametresinin veya dönüş değerinin :term:`ek açıklaması " "`." -#: glossary.rst:456 +#: glossary.rst:458 msgid "" "Function annotations are usually used for :term:`type hints `: " "for example, this function is expected to take two :class:`int` arguments " @@ -1087,11 +1091,11 @@ msgstr "" "kullanılır: örneğin, bu fonksiyonun iki :class:`int` argüman alması ve " "ayrıca bir :class:`int` dönüş değerine sahip olması beklenir ::" -#: glossary.rst:464 +#: glossary.rst:466 msgid "Function annotation syntax is explained in section :ref:`function`." msgstr "İşlev açıklama sözdizimi :ref:`function` bölümünde açıklanmaktadır." -#: glossary.rst:466 +#: glossary.rst:468 msgid "" "See :term:`variable annotation` and :pep:`484`, which describe this " "functionality. Also see :ref:`annotations-howto` for best practices on " @@ -1101,11 +1105,11 @@ msgstr "" "açıklamalarla çalışmaya ilişkin en iyi uygulamalar için ayrıca :ref:" "`annotations-howto` konusuna bakın." -#: glossary.rst:470 +#: glossary.rst:472 msgid "__future__" msgstr "__future__" -#: glossary.rst:472 +#: glossary.rst:474 msgid "" "A :ref:`future statement `, ``from __future__ import ``, " "directs the compiler to compile the current module using syntax or semantics " @@ -1123,11 +1127,11 @@ msgstr "" "özelliğin ne zaman eklendiğini ve ne zaman varsayılan olacağını (ya da " "yaptığını) görebilirsiniz:" -#: glossary.rst:483 +#: glossary.rst:485 msgid "garbage collection" msgstr "çöp toplama" -#: glossary.rst:485 +#: glossary.rst:487 msgid "" "The process of freeing memory when it is not used anymore. Python performs " "garbage collection via reference counting and a cyclic garbage collector " @@ -1139,11 +1143,11 @@ msgstr "" "aracılığıyla çöp toplama gerçekleştirir. Çöp toplayıcı :mod:`gc` modülü " "kullanılarak kontrol edilebilir." -#: glossary.rst:491 +#: glossary.rst:493 msgid "generator" msgstr "jeneratör" -#: glossary.rst:493 +#: glossary.rst:495 msgid "" "A function which returns a :term:`generator iterator`. It looks like a " "normal function except that it contains :keyword:`yield` expressions for " @@ -1155,7 +1159,7 @@ msgstr "" "içermesi veya :func:`next` işleviyle birer birer alınabilmesi dışında normal " "bir işleve benziyor." -#: glossary.rst:498 +#: glossary.rst:500 msgid "" "Usually refers to a generator function, but may refer to a *generator " "iterator* in some contexts. In cases where the intended meaning isn't " @@ -1165,15 +1169,15 @@ msgstr "" "*jeneratör yineleyicisine* atıfta bulunabilir. Amaçlanan anlamın net " "olmadığı durumlarda, tam terimlerin kullanılması belirsizliği önler." -#: glossary.rst:501 +#: glossary.rst:503 msgid "generator iterator" msgstr "jeneratör yineleyici" -#: glossary.rst:503 +#: glossary.rst:505 msgid "An object created by a :term:`generator` function." msgstr "Bir :term:`generator` işlevi tarafından oluşturulan bir nesne." -#: glossary.rst:505 +#: glossary.rst:507 msgid "" "Each :keyword:`yield` temporarily suspends processing, remembering the " "location execution state (including local variables and pending try-" @@ -1185,11 +1189,11 @@ msgstr "" "*jeneratör yineleyici* devam ettiğinde, kaldığı yerden devam eder (her " "çağrıda yeniden başlayan işlevlerin aksine)." -#: glossary.rst:512 +#: glossary.rst:514 msgid "generator expression" msgstr "jeneratör ifadesi" -#: glossary.rst:514 +#: glossary.rst:516 msgid "" "An expression that returns an iterator. It looks like a normal expression " "followed by a :keyword:`!for` clause defining a loop variable, range, and an " @@ -1201,11 +1205,11 @@ msgstr "" "tümcesinin takip ettiği normal bir ifadeye benziyor. Birleştirilmiş ifade, " "bir çevreleyen için değerler üretir::" -#: glossary.rst:521 +#: glossary.rst:523 msgid "generic function" msgstr "genel işlev" -#: glossary.rst:523 +#: glossary.rst:525 msgid "" "A function composed of multiple functions implementing the same operation " "for different types. Which implementation should be used during a call is " @@ -1215,7 +1219,7 @@ msgstr "" "işlev. Bir çağrı sırasında hangi uygulamanın kullanılması gerektiği, " "gönderme algoritması tarafından belirlenir." -#: glossary.rst:527 +#: glossary.rst:529 msgid "" "See also the :term:`single dispatch` glossary entry, the :func:`functools." "singledispatch` decorator, and :pep:`443`." @@ -1223,11 +1227,11 @@ msgstr "" "Ayrıca :term:`single dispatch` sözlük girdisine, :func:`functools." "singledispatch` dekoratörüne ve :pep:`443` 'e bakın." -#: glossary.rst:529 +#: glossary.rst:531 msgid "generic type" msgstr "genel tip" -#: glossary.rst:531 +#: glossary.rst:533 msgid "" "A :term:`type` that can be parameterized; typically a :ref:`container " "class` such as :class:`list` or :class:`dict`. Used for :" @@ -1237,7 +1241,7 @@ msgstr "" "sınıfı `, örneğin :class:`list` veya :class:`dict`. :term:" "`type hint` ve :term:`annotation` için kullanılır." -#: glossary.rst:536 +#: glossary.rst:538 msgid "" "For more details, see :ref:`generic alias types`, :pep:" "`483`, :pep:`484`, :pep:`585`, and the :mod:`typing` module." @@ -1245,19 +1249,19 @@ msgstr "" "Daha fazla ayrıntı için :ref:`generic allias types`, :" "pep:`483`, :pep:`484`, :pep:`585` ve :mod:`typing` modülüne bakın." -#: glossary.rst:538 +#: glossary.rst:540 msgid "GIL" msgstr "GIL" -#: glossary.rst:540 +#: glossary.rst:542 msgid "See :term:`global interpreter lock`." msgstr "Bakınız :term:`global interpreter lock`." -#: glossary.rst:541 +#: glossary.rst:543 msgid "global interpreter lock" msgstr "genel tercüman kilidi" -#: glossary.rst:543 +#: glossary.rst:545 msgid "" "The mechanism used by the :term:`CPython` interpreter to assure that only " "one thread executes Python :term:`bytecode` at a time. This simplifies the " @@ -1275,7 +1279,7 @@ msgstr "" "makinelerin sağladığı paralelliğin çoğu pahasına, yorumlayıcının çok iş " "parçacıklı olmasını kolaylaştırır." -#: glossary.rst:552 +#: glossary.rst:554 msgid "" "However, some extension modules, either standard or third-party, are " "designed so as to release the GIL when doing computationally intensive tasks " @@ -1287,7 +1291,7 @@ msgstr "" "GIL'yi serbest bırakacak şekilde tasarlanmıştır. Ayrıca, GIL, G/Ç yaparken " "her zaman serbest bırakılır." -#: glossary.rst:557 +#: glossary.rst:559 msgid "" "Past efforts to create a \"free-threaded\" interpreter (one which locks " "shared data at a much finer granularity) have not been successful because " @@ -1301,11 +1305,11 @@ msgstr "" "üstesinden gelinmesinin uygulamayı çok daha karmaşık hale getireceğine ve " "dolayısıyla bakımını daha maliyetli hale getireceğine inanılmaktadır." -#: glossary.rst:563 +#: glossary.rst:565 msgid "hash-based pyc" msgstr "karma tabanlı pyc" -#: glossary.rst:565 +#: glossary.rst:567 msgid "" "A bytecode cache file that uses the hash rather than the last-modified time " "of the corresponding source file to determine its validity. See :ref:`pyc-" @@ -1315,16 +1319,17 @@ msgstr "" "yerine karma değerini kullanan bir bayt kodu önbellek dosyası. Bakınız :ref:" "`pyc-invalidation`." -#: glossary.rst:568 +#: glossary.rst:570 msgid "hashable" msgstr "yıkanabilir" -#: glossary.rst:570 +#: glossary.rst:572 +#, fuzzy msgid "" "An object is *hashable* if it has a hash value which never changes during " -"its lifetime (it needs a :meth:`__hash__` method), and can be compared to " -"other objects (it needs an :meth:`__eq__` method). Hashable objects which " -"compare equal must have the same hash value." +"its lifetime (it needs a :meth:`~object.__hash__` method), and can be " +"compared to other objects (it needs an :meth:`~object.__eq__` method). " +"Hashable objects which compare equal must have the same hash value." msgstr "" "Bir nesne, ömrü boyunca asla değişmeyen bir karma değere sahipse (bir :meth:" "`__hash__` yöntemine ihtiyaç duyar) ve diğer nesnelerle " @@ -1332,7 +1337,7 @@ msgstr "" "*hashable* olur. . Eşit karşılaştıran Hashable nesneleri aynı karma " "değerine sahip olmalıdır." -#: glossary.rst:575 +#: glossary.rst:578 msgid "" "Hashability makes an object usable as a dictionary key and a set member, " "because these data structures use the hash value internally." @@ -1341,7 +1346,7 @@ msgstr "" "kullanılabilir hale getirir, çünkü bu veri yapıları hash değerini dahili " "olarak kullanır." -#: glossary.rst:578 +#: glossary.rst:581 msgid "" "Most of Python's immutable built-in objects are hashable; mutable containers " "(such as lists or dictionaries) are not; immutable containers (such as " @@ -1357,11 +1362,11 @@ msgstr "" "varsayılan olarak hash edilebilirdir. Hepsi eşit olmayanı karşılaştırır " "(kendileriyle hariç) ve hash değerleri :func:`id` 'lerinden türetilir." -#: glossary.rst:585 +#: glossary.rst:588 msgid "IDLE" msgstr "BOŞTA" -#: glossary.rst:587 +#: glossary.rst:590 msgid "" "An Integrated Development and Learning Environment for Python. :ref:`idle` " "is a basic editor and interpreter environment which ships with the standard " @@ -1370,11 +1375,11 @@ msgstr "" "Python için Entegre Geliştirme Ortamı. :ref:`idle`, Python'un standart " "dağıtımıyla birlikte gelen temel bir düzenleyici ve yorumlayıcı ortamıdır." -#: glossary.rst:590 +#: glossary.rst:593 msgid "immutable" msgstr "değişmez" -#: glossary.rst:592 +#: glossary.rst:595 msgid "" "An object with a fixed value. Immutable objects include numbers, strings " "and tuples. Such an object cannot be altered. A new object has to be " @@ -1388,11 +1393,11 @@ msgstr "" "sözlükte anahtar olarak, sabit bir karma değerinin gerekli olduğu yerlerde " "önemli bir rol oynarlar." -#: glossary.rst:597 +#: glossary.rst:600 msgid "import path" msgstr "içe aktarım yolu" -#: glossary.rst:599 +#: glossary.rst:602 msgid "" "A list of locations (or :term:`path entries `) that are searched " "by the :term:`path based finder` for modules to import. During import, this " @@ -1404,11 +1409,11 @@ msgstr "" "sırasında, bu konum listesi genellikle :data:`sys.path` adresinden gelir, " "ancak alt paketler için üst paketin ``__path__`` özelliğinden de gelebilir." -#: glossary.rst:604 +#: glossary.rst:607 msgid "importing" msgstr "içe aktarma" -#: glossary.rst:606 +#: glossary.rst:609 msgid "" "The process by which Python code in one module is made available to Python " "code in another module." @@ -1416,11 +1421,11 @@ msgstr "" "Bir modüldeki Python kodunun başka bir modüldeki Python koduna sunulması " "süreci." -#: glossary.rst:608 +#: glossary.rst:611 msgid "importer" msgstr "içe aktarıcı" -#: glossary.rst:610 +#: glossary.rst:613 msgid "" "An object that both finds and loads a module; both a :term:`finder` and :" "term:`loader` object." @@ -1428,11 +1433,11 @@ msgstr "" "Bir modülü hem bulan hem de yükleyen bir nesne; hem bir :term:`finder` hem " "de :term:`loader` nesnesi." -#: glossary.rst:612 +#: glossary.rst:615 msgid "interactive" msgstr "etkileşimli" -#: glossary.rst:614 +#: glossary.rst:617 msgid "" "Python has an interactive interpreter which means you can enter statements " "and expressions at the interpreter prompt, immediately execute them and see " @@ -1447,11 +1452,11 @@ msgstr "" "menüsünden seçerek). Yeni fikirleri test etmenin veya modülleri ve paketleri " "incelemenin çok güçlü bir yoludur (``help(x)`` 'i unutmayın)." -#: glossary.rst:620 +#: glossary.rst:623 msgid "interpreted" msgstr "yorumlanmış" -#: glossary.rst:622 +#: glossary.rst:625 msgid "" "Python is an interpreted language, as opposed to a compiled one, though the " "distinction can be blurry because of the presence of the bytecode compiler. " @@ -1468,11 +1473,11 @@ msgstr "" "sahiptir, ancak programları genellikle daha yavaş çalışır. Ayrıca bkz. :" "term:`interactive`." -#: glossary.rst:629 +#: glossary.rst:632 msgid "interpreter shutdown" msgstr "tercüman kapatma" -#: glossary.rst:631 +#: glossary.rst:634 msgid "" "When asked to shut down, the Python interpreter enters a special phase where " "it gradually releases all allocated resources, such as modules and various " @@ -1492,7 +1497,7 @@ msgstr "" "çeşitli istisnalarla karşılaşabilir (yaygın örnekler kütüphane modülleri " "veya uyarı makineleridir)." -#: glossary.rst:640 +#: glossary.rst:643 msgid "" "The main reason for interpreter shutdown is that the ``__main__`` module or " "the script being run has finished executing." @@ -1500,19 +1505,19 @@ msgstr "" "Yorumlayıcının kapatılmasının ana nedeni, ``__main__`` modülünün veya " "çalıştırılan betiğin yürütmeyi bitirmiş olmasıdır." -#: glossary.rst:642 +#: glossary.rst:645 msgid "iterable" msgstr "yinelenebilir" -#: glossary.rst:644 +#: glossary.rst:647 #, fuzzy msgid "" "An object capable of returning its members one at a time. Examples of " "iterables include all sequence types (such as :class:`list`, :class:`str`, " "and :class:`tuple`) and some non-sequence types like :class:`dict`, :term:" "`file objects `, and objects of any classes you define with an :" -"meth:`__iter__` method or with a :meth:`~object.__getitem__` method that " -"implements :term:`sequence` semantics." +"meth:`~iterator.__iter__` method or with a :meth:`~object.__getitem__` " +"method that implements :term:`sequence` semantics." msgstr "" "Üyelerini teker teker döndürebilen bir nesne. Yineleme örnekleri, tüm dizi " "türlerini (:class:`list`, :class:`str`, ve :class:`tuple` gibi) ve :class:" @@ -1521,17 +1526,18 @@ msgstr "" "uygulayan bir :meth:`__getitem__` yöntemiyle tanımladığınız tüm sınıfların " "nesnelerini içerir." -#: glossary.rst:651 +#: glossary.rst:655 +#, fuzzy msgid "" "Iterables can be used in a :keyword:`for` loop and in many other places " "where a sequence is needed (:func:`zip`, :func:`map`, ...). When an " "iterable object is passed as an argument to the built-in function :func:" "`iter`, it returns an iterator for the object. This iterator is good for " "one pass over the set of values. When using iterables, it is usually not " -"necessary to call :func:`iter` or deal with iterator objects yourself. The " -"``for`` statement does that automatically for you, creating a temporary " -"unnamed variable to hold the iterator for the duration of the loop. See " -"also :term:`iterator`, :term:`sequence`, and :term:`generator`." +"necessary to call :func:`iter` or deal with iterator objects yourself. The :" +"keyword:`for` statement does that automatically for you, creating a " +"temporary unnamed variable to hold the iterator for the duration of the " +"loop. See also :term:`iterator`, :term:`sequence`, and :term:`generator`." msgstr "" "Yinelenebilirler bir :keyword:`for` döngüsünde ve bir dizinin gerekli olduğu " "diğer birçok yerde kullanılabilir (:func:`zip`, :func:`map`, ...). " @@ -1544,26 +1550,27 @@ msgstr "" "oluşturur. Ayrıca bkz. :term:`iterator`, :term:`sequence` ve :term:" "`generator`." -#: glossary.rst:661 +#: glossary.rst:665 msgid "iterator" msgstr "yineleyici" -#: glossary.rst:663 +#: glossary.rst:667 +#, fuzzy msgid "" "An object representing a stream of data. Repeated calls to the iterator's :" "meth:`~iterator.__next__` method (or passing it to the built-in function :" "func:`next`) return successive items in the stream. When no more data are " "available a :exc:`StopIteration` exception is raised instead. At this " -"point, the iterator object is exhausted and any further calls to its :meth:" -"`__next__` method just raise :exc:`StopIteration` again. Iterators are " -"required to have an :meth:`__iter__` method that returns the iterator object " -"itself so every iterator is also iterable and may be used in most places " -"where other iterables are accepted. One notable exception is code which " -"attempts multiple iteration passes. A container object (such as a :class:" -"`list`) produces a fresh new iterator each time you pass it to the :func:" -"`iter` function or use it in a :keyword:`for` loop. Attempting this with an " -"iterator will just return the same exhausted iterator object used in the " -"previous iteration pass, making it appear like an empty container." +"point, the iterator object is exhausted and any further calls to its :meth:`!" +"__next__` method just raise :exc:`StopIteration` again. Iterators are " +"required to have an :meth:`~iterator.__iter__` method that returns the " +"iterator object itself so every iterator is also iterable and may be used in " +"most places where other iterables are accepted. One notable exception is " +"code which attempts multiple iteration passes. A container object (such as " +"a :class:`list`) produces a fresh new iterator each time you pass it to the :" +"func:`iter` function or use it in a :keyword:`for` loop. Attempting this " +"with an iterator will just return the same exhausted iterator object used in " +"the previous iteration pass, making it appear like an empty container." msgstr "" "Bir veri akışını temsil eden bir nesne. Yineleyicinin :meth:`~iterator." "__next__` yöntemine (veya yerleşik :func:`next` işlevine iletilmesi) " @@ -1581,23 +1588,24 @@ msgstr "" "yineleyiciyle denemek, önceki yineleme geçişinde kullanılan aynı tükenmiş " "yineleyici nesnesini döndürerek boş bir kap gibi görünmesini sağlar." -#: glossary.rst:678 +#: glossary.rst:682 msgid "More information can be found in :ref:`typeiter`." msgstr "Daha fazla bilgi :ref:`typeiter` içinde bulunabilir." -#: glossary.rst:682 +#: glossary.rst:686 +#, fuzzy msgid "" "CPython does not consistently apply the requirement that an iterator define :" -"meth:`__iter__`." +"meth:`~iterator.__iter__`." msgstr "" "CPython, bir yineleyicinin :meth:`__iter__` tanımlaması gereksinimini " "tutarlı bir şekilde uygulamaz." -#: glossary.rst:684 +#: glossary.rst:688 msgid "key function" msgstr "anahtar işlev" -#: glossary.rst:686 +#: glossary.rst:690 msgid "" "A key function or collation function is a callable that returns a value used " "for sorting or ordering. For example, :func:`locale.strxfrm` is used to " @@ -1608,7 +1616,7 @@ msgstr "" "strxfrm`, yerel ayara özgü sıralama kurallarının farkında olan bir sıralama " "anahtarı üretmek için kullanılır." -#: glossary.rst:691 +#: glossary.rst:695 msgid "" "A number of tools in Python accept key functions to control how elements are " "ordered or grouped. They include :func:`min`, :func:`max`, :func:`sorted`, :" @@ -1621,7 +1629,7 @@ msgstr "" "merge`, :func:`heapq.nsmallest`, :func:`heapq.nlargest` ve :func:`itertools." "groupby`." -#: glossary.rst:697 +#: glossary.rst:701 msgid "" "There are several ways to create a key function. For example. the :meth:" "`str.lower` method can serve as a key function for case insensitive sorts. " @@ -1641,19 +1649,19 @@ msgstr "" "kullanılacağına ilişkin örnekler için :ref:`Sorting HOW TO ` " "bölümüne bakın." -#: glossary.rst:704 +#: glossary.rst:708 msgid "keyword argument" msgstr "anahtar kelime argümanı" -#: glossary.rst:995 +#: glossary.rst:1000 msgid "See :term:`argument`." msgstr "Bakınız :term:`argument`." -#: glossary.rst:707 +#: glossary.rst:711 msgid "lambda" msgstr "lambda" -#: glossary.rst:709 +#: glossary.rst:713 msgid "" "An anonymous inline function consisting of a single :term:`expression` which " "is evaluated when the function is called. The syntax to create a lambda " @@ -1663,11 +1671,11 @@ msgstr "" "anonim bir satır içi işlev. Bir lambda işlevi oluşturmak için sözdizimi " "``lambda [parametreler]: ifade`` şeklindedir" -#: glossary.rst:712 +#: glossary.rst:716 msgid "LBYL" msgstr "LBYL" -#: glossary.rst:714 +#: glossary.rst:718 msgid "" "Look before you leap. This coding style explicitly tests for pre-conditions " "before making calls or lookups. This style contrasts with the :term:`EAFP` " @@ -1678,7 +1686,7 @@ msgstr "" "koşulları açıkça test eder. Bu stil, :term:`EAFP` yaklaşımıyla çelişir ve " "birçok :keyword:`if` ifadesinin varlığı ile karakterize edilir." -#: glossary.rst:719 +#: glossary.rst:723 msgid "" "In a multi-threaded environment, the LBYL approach can risk introducing a " "race condition between \"the looking\" and \"the leaping\". For example, " @@ -1692,11 +1700,11 @@ msgstr "" "başka bir iş parçacığı *eşlemeden* *key* kaldırırsa başarısız olabilir. Bu " "sorun, kilitlerle veya EAFP yaklaşımı kullanılarak çözülebilir." -#: glossary.rst:724 +#: glossary.rst:728 msgid "locale encoding" msgstr "yerel kodlama" -#: glossary.rst:726 +#: glossary.rst:730 msgid "" "On Unix, it is the encoding of the LC_CTYPE locale. It can be set with :func:" "`locale.setlocale(locale.LC_CTYPE, new_locale) `." @@ -1704,29 +1712,29 @@ msgstr "" "Unix'te, LC_CTYPE yerel ayarının kodlamasıdır. :func:`locale." "setlocale(locale.LC_CTYPE, new_locale) ` ile ayarlanabilir." -#: glossary.rst:729 +#: glossary.rst:733 msgid "On Windows, it is the ANSI code page (ex: ``\"cp1252\"``)." msgstr "Windows'ta bu, ANSI kod sayfasıdır (ör. ``\"cp1252\"``)." -#: glossary.rst:731 +#: glossary.rst:735 msgid "" "On Android and VxWorks, Python uses ``\"utf-8\"`` as the locale encoding." msgstr "" "Android ve VxWorks'te Python, yerel kodlama olarak ``\"utf-8\"`` kullanır." -#: glossary.rst:733 +#: glossary.rst:737 msgid "``locale.getencoding()`` can be used to get the locale encoding." msgstr "Yerel kodlamayı almak için ``locale.getencoding()`` kullanılabilir." -#: glossary.rst:735 +#: glossary.rst:739 msgid "See also the :term:`filesystem encoding and error handler`." msgstr "Ayrıca :term:`filesystem encoding and error handler` 'ne bakın." -#: glossary.rst:736 +#: glossary.rst:740 msgid "list" msgstr "liste" -#: glossary.rst:738 +#: glossary.rst:742 msgid "" "A built-in Python :term:`sequence`. Despite its name it is more akin to an " "array in other languages than to a linked list since access to elements is " @@ -1736,11 +1744,11 @@ msgstr "" "olduğundan, diğer dillerdeki bir diziye, bağlantılı bir listeden daha " "yakındır." -#: glossary.rst:741 +#: glossary.rst:745 msgid "list comprehension" msgstr "liste anlama" -#: glossary.rst:743 +#: glossary.rst:747 msgid "" "A compact way to process all or part of the elements in a sequence and " "return a list with the results. ``result = ['{:#04x}'.format(x) for x in " @@ -1755,11 +1763,11 @@ msgstr "" "tümcesi isteğe bağlıdır. Atlanırsa, \"aralık(256)\" içindeki tüm öğeler " "işlenir." -#: glossary.rst:749 +#: glossary.rst:753 msgid "loader" msgstr "yükleyici" -#: glossary.rst:751 +#: glossary.rst:755 msgid "" "An object that loads a module. It must define a method named :meth:" "`load_module`. A loader is typically returned by a :term:`finder`. See :pep:" @@ -1771,19 +1779,19 @@ msgstr "" "Ayrıntılar için :pep:`302` ve bir :term:`soyut temel sınıf` için :class:" "`importlib.abc.Loader` bölümüne bakın." -#: glossary.rst:755 +#: glossary.rst:759 msgid "magic method" msgstr "sihirli yöntem" -#: glossary.rst:759 +#: glossary.rst:763 msgid "An informal synonym for :term:`special method`." msgstr ":term:`special method` için gayri resmi bir eşanlamlı." -#: glossary.rst:760 +#: glossary.rst:764 msgid "mapping" msgstr "haritalama" -#: glossary.rst:762 +#: glossary.rst:766 msgid "" "A container object that supports arbitrary key lookups and implements the " "methods specified in the :class:`collections.abc.Mapping` or :class:" @@ -1798,11 +1806,11 @@ msgstr "" "Örnekler arasında :class:`dict`, :class:`collections.defaultdict`, :class:" "`collections.OrderedDict` ve :class:`collections.Counter` sayılabilir." -#: glossary.rst:768 +#: glossary.rst:772 msgid "meta path finder" msgstr "meta yol bulucu" -#: glossary.rst:770 +#: glossary.rst:774 msgid "" "A :term:`finder` returned by a search of :data:`sys.meta_path`. Meta path " "finders are related to, but different from :term:`path entry finders ` ile " "ilişkilidir, ancak onlardan farklıdır." -#: glossary.rst:774 +#: glossary.rst:778 msgid "" "See :class:`importlib.abc.MetaPathFinder` for the methods that meta path " "finders implement." @@ -1820,11 +1828,11 @@ msgstr "" "Meta yol bulucuların uyguladığı yöntemler için :class:`importlib.abc." "MetaPathFinder` bölümüne bakın." -#: glossary.rst:776 +#: glossary.rst:780 msgid "metaclass" msgstr "metasınıf" -#: glossary.rst:778 +#: glossary.rst:782 msgid "" "The class of a class. Class definitions create a class name, a class " "dictionary, and a list of base classes. The metaclass is responsible for " @@ -1846,15 +1854,15 @@ msgstr "" "parçacığı güvenliği eklemek, nesne oluşturmayı izlemek, tekilleri uygulamak " "ve diğer birçok görev için kullanılmışlardır." -#: glossary.rst:788 +#: glossary.rst:792 msgid "More information can be found in :ref:`metaclasses`." msgstr "Daha fazla bilgi :ref:`metaclasses` içinde bulunabilir." -#: glossary.rst:1123 +#: glossary.rst:1128 msgid "method" msgstr "metot" -#: glossary.rst:791 +#: glossary.rst:795 msgid "" "A function which is defined inside a class body. If called as an attribute " "of an instance of that class, the method will get the instance object as its " @@ -1866,11 +1874,11 @@ msgstr "" "(genellikle ``self`` olarak adlandırılır) olarak alır. Bkz. :term:`function` " "ve :term:`nested scope`." -#: glossary.rst:795 +#: glossary.rst:799 msgid "method resolution order" msgstr "metot kalite sıralaması" -#: glossary.rst:797 +#: glossary.rst:801 msgid "" "Method Resolution Order is the order in which base classes are searched for " "a member during lookup. See `The Python 2.3 Method Resolution Order `_." -#: glossary.rst:801 +#: glossary.rst:805 msgid "module" msgstr "modül" -#: glossary.rst:803 +#: glossary.rst:807 msgid "" "An object that serves as an organizational unit of Python code. Modules " "have a namespace containing arbitrary Python objects. Modules are loaded " @@ -1896,15 +1904,15 @@ msgstr "" "rastgele Python nesneleri içeren bir ad alanına sahiptir. Modüller, :term:" "`importing` işlemiyle Python'a yüklenir." -#: glossary.rst:807 +#: glossary.rst:811 msgid "See also :term:`package`." msgstr "Ayrıca bakınız :term:`package`." -#: glossary.rst:808 +#: glossary.rst:812 msgid "module spec" msgstr "modül özelliği" -#: glossary.rst:810 +#: glossary.rst:814 msgid "" "A namespace containing the import-related information used to load a module. " "An instance of :class:`importlib.machinery.ModuleSpec`." @@ -1912,19 +1920,19 @@ msgstr "" "Bir modülü yüklemek için kullanılan içe aktarmayla ilgili bilgileri içeren " "bir ad alanı. Bir :class:`importlib.machinery.ModuleSpec` örneği." -#: glossary.rst:812 +#: glossary.rst:816 msgid "MRO" msgstr "MRO" -#: glossary.rst:814 +#: glossary.rst:818 msgid "See :term:`method resolution order`." msgstr "Bakınız :term:`metot çözüm sırası `." -#: glossary.rst:815 +#: glossary.rst:819 msgid "mutable" msgstr "değiştirilebilir" -#: glossary.rst:817 +#: glossary.rst:821 msgid "" "Mutable objects can change their value but keep their :func:`id`. See also :" "term:`immutable`." @@ -1932,11 +1940,11 @@ msgstr "" "Değiştirilebilir (mutable) nesneler değerlerini değiştirebilir ancak :func:" "`idlerini ` koruyabilirler. Ayrıca bkz. :term:`immutable`." -#: glossary.rst:819 +#: glossary.rst:823 msgid "named tuple" msgstr "adlandırılmış demet" -#: glossary.rst:821 +#: glossary.rst:825 msgid "" "The term \"named tuple\" applies to any type or class that inherits from " "tuple and whose indexable elements are also accessible using named " @@ -1946,7 +1954,7 @@ msgstr "" "adlandırılmış nitelikler kullanılarak erişilebilen herhangi bir tür veya " "sınıf için geçerlidir. Tür veya sınıfın başka özellikleri de olabilir." -#: glossary.rst:825 +#: glossary.rst:829 msgid "" "Several built-in types are named tuples, including the values returned by :" "func:`time.localtime` and :func:`os.stat`. Another example is :data:`sys." @@ -1956,7 +1964,7 @@ msgstr "" "tarafından döndürülen değerler de dahil olmak üzere, tanımlama grupları " "olarak adlandırılır. Başka bir örnek :data:`sys.float_info`::" -#: glossary.rst:836 +#: glossary.rst:840 msgid "" "Some named tuples are built-in types (such as the above examples). " "Alternatively, a named tuple can be created from a regular class definition " @@ -1973,11 +1981,11 @@ msgstr "" "yazılmış veya yerleşik adlandırılmış demetlerde bulunmayan bazı ekstra " "yöntemler ekler." -#: glossary.rst:843 +#: glossary.rst:847 msgid "namespace" msgstr "ad alanı" -#: glossary.rst:845 +#: glossary.rst:849 msgid "" "The place where a variable is stored. Namespaces are implemented as " "dictionaries. There are the local, global and built-in namespaces as well " @@ -1999,11 +2007,11 @@ msgstr "" "yazmak, bu işlevlerin sırasıyla :mod:`random` ve :mod:`itertools` modülleri " "tarafından uygulandığını açıkça gösterir." -#: glossary.rst:855 +#: glossary.rst:859 msgid "namespace package" msgstr "ad alanı paketi" -#: glossary.rst:857 +#: glossary.rst:861 msgid "" "A :pep:`420` :term:`package` which serves only as a container for " "subpackages. Namespace packages may have no physical representation, and " @@ -2015,15 +2023,15 @@ msgstr "" "``__init__.py`` dosyası olmadığından özellikle :term:`regular package` gibi " "değildirler." -#: glossary.rst:862 +#: glossary.rst:866 msgid "See also :term:`module`." msgstr "Ayrıca bkz. :term:`module`." -#: glossary.rst:863 +#: glossary.rst:867 msgid "nested scope" msgstr "iç içe kapsam" -#: glossary.rst:865 +#: glossary.rst:869 msgid "" "The ability to refer to a variable in an enclosing definition. For " "instance, a function defined inside another function can refer to variables " @@ -2040,16 +2048,17 @@ msgstr "" "global değişkenler global ad alanını okur ve yazar. :keyword:`nonlocal`, dış " "kapsamlara yazmaya izin verir." -#: glossary.rst:872 +#: glossary.rst:876 msgid "new-style class" msgstr "yeni stil sınıf" -#: glossary.rst:874 +#: glossary.rst:878 +#, fuzzy msgid "" "Old name for the flavor of classes now used for all class objects. In " "earlier Python versions, only new-style classes could use Python's newer, " "versatile features like :attr:`~object.__slots__`, descriptors, properties, :" -"meth:`__getattribute__`, class methods, and static methods." +"meth:`~object.__getattribute__`, class methods, and static methods." msgstr "" "Artık tüm sınıf nesneleri için kullanılan sınıfların lezzetinin eski adı. " "Önceki Python sürümlerinde, yalnızca yeni stil sınıfları Python'un :attr:" @@ -2057,11 +2066,11 @@ msgstr "" "sınıf yöntemleri ve statik yöntemler gibi daha yeni, çok yönlü özelliklerini " "kullanabilirdi." -#: glossary.rst:878 +#: glossary.rst:883 msgid "object" msgstr "obje" -#: glossary.rst:880 +#: glossary.rst:885 msgid "" "Any data with state (attributes or value) and defined behavior (methods). " "Also the ultimate base class of any :term:`new-style class`." @@ -2070,11 +2079,11 @@ msgstr "" "herhangi bir veri. Ayrıca herhangi bir :term:`yeni tarz sınıfın ` nihai temel sınıfı." -#: glossary.rst:883 +#: glossary.rst:888 msgid "package" msgstr "paket" -#: glossary.rst:885 +#: glossary.rst:890 msgid "" "A Python :term:`module` which can contain submodules or recursively, " "subpackages. Technically, a package is a Python module with a ``__path__`` " @@ -2084,15 +2093,15 @@ msgstr "" "`module`. Teknik olarak bir paket, ``__path__`` özniteliğine sahip bir " "Python modülüdür." -#: glossary.rst:889 +#: glossary.rst:894 msgid "See also :term:`regular package` and :term:`namespace package`." msgstr "Ayrıca bkz. :term:`regular package` ve :term:`namespace package`." -#: glossary.rst:890 +#: glossary.rst:895 msgid "parameter" msgstr "parametre" -#: glossary.rst:892 +#: glossary.rst:897 msgid "" "A named entity in a :term:`function` (or method) definition that specifies " "an :term:`argument` (or in some cases, arguments) that the function can " @@ -2102,7 +2111,7 @@ msgstr "" "term:`argument` (veya bazı durumlarda, argümanlar) belirten adlandırılmış " "bir varlık. Beş çeşit parametre vardır:" -#: glossary.rst:896 +#: glossary.rst:901 msgid "" ":dfn:`positional-or-keyword`: specifies an argument that can be passed " "either :term:`positionally ` or as a :term:`keyword argument " @@ -2113,7 +2122,7 @@ msgstr "" "`keyword argümanı ` olarak iletilebilen bir argüman belirtir. Bu, " "varsayılan parametre türüdür, örneğin aşağıdakilerde *foo* ve *bar*::" -#: glossary.rst:905 +#: glossary.rst:910 msgid "" ":dfn:`positional-only`: specifies an argument that can be supplied only by " "position. Positional-only parameters can be defined by including a ``/`` " @@ -2125,7 +2134,7 @@ msgstr "" "parametre listesine bir ``/`` karakteri eklenerek tanımlanabilir, örneğin " "aşağıdakilerde *posonly1* ve *posonly2*::" -#: glossary.rst:914 +#: glossary.rst:919 msgid "" ":dfn:`keyword-only`: specifies an argument that can be supplied only by " "keyword. Keyword-only parameters can be defined by including a single var-" @@ -2139,7 +2148,7 @@ msgstr "" "parametre veya çıplak ``*`` dahil edilerek tanımlanabilir, örneğin " "aşağıdakilerde *kw_only1* ve *kw_only2*::" -#: glossary.rst:922 +#: glossary.rst:927 msgid "" ":dfn:`var-positional`: specifies that an arbitrary sequence of positional " "arguments can be provided (in addition to any positional arguments already " @@ -2153,7 +2162,7 @@ msgstr "" "parametre adının başına ``*`` eklenerek tanımlanabilir, örneğin " "aşağıdakilerde *args*::" -#: glossary.rst:930 +#: glossary.rst:935 msgid "" ":dfn:`var-keyword`: specifies that arbitrarily many keyword arguments can be " "provided (in addition to any keyword arguments already accepted by other " @@ -2166,7 +2175,7 @@ msgstr "" "parametre adının başına ``**``, örneğin yukarıdaki örnekte *kwargs* " "eklenerek tanımlanabilir." -#: glossary.rst:936 +#: glossary.rst:941 msgid "" "Parameters can specify both optional and required arguments, as well as " "default values for some optional arguments." @@ -2174,7 +2183,7 @@ msgstr "" "Parametreler, hem isteğe bağlı hem de gerekli argümanleri ve ayrıca bazı " "isteğe bağlı bağımsız değişkenler için varsayılan değerleri belirtebilir." -#: glossary.rst:939 +#: glossary.rst:944 msgid "" "See also the :term:`argument` glossary entry, the FAQ question on :ref:`the " "difference between arguments and parameters `, " @@ -2185,11 +2194,11 @@ msgstr "" "arasındaki fark `, :class:`inspect.Parameter`, :" "ref:`function` ve :pep:`362`." -#: glossary.rst:943 +#: glossary.rst:948 msgid "path entry" msgstr "yol girişi" -#: glossary.rst:945 +#: glossary.rst:950 msgid "" "A single location on the :term:`import path` which the :term:`path based " "finder` consults to find modules for importing." @@ -2197,11 +2206,11 @@ msgstr "" ":term:`path based finder` içe aktarma modüllerini bulmak için başvurduğu :" "term:`import path` üzerindeki tek bir konum." -#: glossary.rst:947 +#: glossary.rst:952 msgid "path entry finder" msgstr "yol girişi bulucu" -#: glossary.rst:949 +#: glossary.rst:954 msgid "" "A :term:`finder` returned by a callable on :data:`sys.path_hooks` (i.e. a :" "term:`path entry hook`) which knows how to locate modules given a :term:" @@ -2211,7 +2220,7 @@ msgstr "" "kancası`) üzerinde bir çağrılabilir tarafından döndürülür ve :term:`path " "entry` verilen modüllerin nasıl bulunacağını bilir." -#: glossary.rst:953 +#: glossary.rst:958 msgid "" "See :class:`importlib.abc.PathEntryFinder` for the methods that path entry " "finders implement." @@ -2219,13 +2228,14 @@ msgstr "" "Yol girişi bulucularının uyguladığı yöntemler için :class:`importlib.abc." "PathEntryFinder` bölümüne bakın." -#: glossary.rst:955 +#: glossary.rst:960 msgid "path entry hook" msgstr "yol giriş kancası" -#: glossary.rst:957 +#: glossary.rst:962 +#, fuzzy msgid "" -"A callable on the :data:`sys.path_hook` list which returns a :term:`path " +"A callable on the :data:`sys.path_hooks` list which returns a :term:`path " "entry finder` if it knows how to find modules on a specific :term:`path " "entry`." msgstr "" @@ -2233,11 +2243,11 @@ msgstr "" "entry>` modülleri nasıl bulacağını biliyorsa, bir :term:`yol girişi bulucu " "` döndüren bir çağrılabilir." -#: glossary.rst:960 +#: glossary.rst:965 msgid "path based finder" msgstr "yol tabanlı bulucu" -#: glossary.rst:962 +#: glossary.rst:967 msgid "" "One of the default :term:`meta path finders ` which " "searches an :term:`import path` for modules." @@ -2245,11 +2255,11 @@ msgstr "" "Modüller için bir :term:`import path` arayan varsayılan :term:`meta yol " "buluculardan ` biri." -#: glossary.rst:964 +#: glossary.rst:969 msgid "path-like object" msgstr "yol benzeri nesne" -#: glossary.rst:966 +#: glossary.rst:971 msgid "" "An object representing a file system path. A path-like object is either a :" "class:`str` or :class:`bytes` object representing a path, or an object " @@ -2269,11 +2279,11 @@ msgstr "" "veya :class:`bytes` sonucunu garanti etmek için kullanılabilir. :pep:`519` " "tarafından tanıtıldı." -#: glossary.rst:974 +#: glossary.rst:979 msgid "PEP" msgstr "PEP" -#: glossary.rst:976 +#: glossary.rst:981 msgid "" "Python Enhancement Proposal. A PEP is a design document providing " "information to the Python community, or describing a new feature for Python " @@ -2285,7 +2295,7 @@ msgstr "" "tasarım belgesidir. PEP'ler, önerilen özellikler için özlü bir teknik " "şartname ve bir gerekçe sağlamalıdır." -#: glossary.rst:982 +#: glossary.rst:987 msgid "" "PEPs are intended to be the primary mechanisms for proposing major new " "features, for collecting community input on an issue, and for documenting " @@ -2298,15 +2308,15 @@ msgstr "" "birincil mekanizmalar olması amaçlanmıştır. PEP yazarı, topluluk içinde " "fikir birliği oluşturmaktan ve muhalif görüşleri belgelemekten sorumludur." -#: glossary.rst:988 +#: glossary.rst:993 msgid "See :pep:`1`." msgstr "Bakınız :pep:`1`." -#: glossary.rst:989 +#: glossary.rst:994 msgid "portion" msgstr "kısım" -#: glossary.rst:991 +#: glossary.rst:996 msgid "" "A set of files in a single directory (possibly stored in a zip file) that " "contribute to a namespace package, as defined in :pep:`420`." @@ -2314,15 +2324,15 @@ msgstr "" ":pep:`420` içinde tanımlandığı gibi, bir ad alanı paketine katkıda bulunan " "tek bir dizindeki (muhtemelen bir zip dosyasında depolanan) bir dizi dosya." -#: glossary.rst:993 +#: glossary.rst:998 msgid "positional argument" msgstr "konumsal argüman" -#: glossary.rst:996 +#: glossary.rst:1001 msgid "provisional API" msgstr "geçici API" -#: glossary.rst:998 +#: glossary.rst:1003 msgid "" "A provisional API is one which has been deliberately excluded from the " "standard library's backwards compatibility guarantees. While major changes " @@ -2341,7 +2351,7 @@ msgstr "" "yalnızca API'nin eklenmesinden önce gözden kaçan ciddi temel kusurlar ortaya " "çıkarsa gerçekleşecektir." -#: glossary.rst:1007 +#: glossary.rst:1012 msgid "" "Even for provisional APIs, backwards incompatible changes are seen as a " "\"solution of last resort\" - every attempt will still be made to find a " @@ -2351,7 +2361,7 @@ msgstr "" "çözümü\" olarak görülür - tanımlanan herhangi bir soruna geriye dönük uyumlu " "bir çözüm bulmak için her türlü girişimde bulunulacaktır." -#: glossary.rst:1011 +#: glossary.rst:1016 msgid "" "This process allows the standard library to continue to evolve over time, " "without locking in problematic design errors for extended periods of time. " @@ -2361,19 +2371,19 @@ msgstr "" "hatalarına kilitlenmeden zaman içinde gelişmeye devam etmesini sağlar. Daha " "fazla ayrıntı için bkz. :pep:`411`." -#: glossary.rst:1014 +#: glossary.rst:1019 msgid "provisional package" msgstr "geçici paket" -#: glossary.rst:1016 +#: glossary.rst:1021 msgid "See :term:`provisional API`." msgstr "Bakınız :term:`provisional API`." -#: glossary.rst:1017 +#: glossary.rst:1022 msgid "Python 3000" msgstr "Python 3000" -#: glossary.rst:1019 +#: glossary.rst:1024 msgid "" "Nickname for the Python 3.x release line (coined long ago when the release " "of version 3 was something in the distant future.) This is also abbreviated " @@ -2383,11 +2393,11 @@ msgstr "" "sürülmesi uzak bir gelecekte olduğu zaman ortaya çıktı.) Bu aynı zamanda " "\"Py3k\" olarak da kısaltılır." -#: glossary.rst:1022 +#: glossary.rst:1027 msgid "Pythonic" msgstr "Pythonic" -#: glossary.rst:1024 +#: glossary.rst:1029 msgid "" "An idea or piece of code which closely follows the most common idioms of the " "Python language, rather than implementing code using concepts common to " @@ -2403,15 +2413,15 @@ msgstr "" "oluşturmaktır. Diğer birçok dilde bu tür bir yapı yoktur, bu nedenle " "Python'a aşina olmayan kişiler bazen bunun yerine sayısal bir sayaç kullanır:" -#: glossary.rst:1034 +#: glossary.rst:1039 msgid "As opposed to the cleaner, Pythonic method::" msgstr "Temizleyicinin aksine, Pythonic yöntemi::" -#: glossary.rst:1038 +#: glossary.rst:1043 msgid "qualified name" msgstr "nitelikli isim" -#: glossary.rst:1040 +#: glossary.rst:1045 msgid "" "A dotted name showing the \"path\" from a module's global scope to a class, " "function or method defined in that module, as defined in :pep:`3155`. For " @@ -2423,7 +2433,7 @@ msgstr "" "noktalı ad. Üst düzey işlevler ve sınıflar için nitelikli ad, nesnenin " "adıyla aynıdır::" -#: glossary.rst:1057 +#: glossary.rst:1062 msgid "" "When used to refer to modules, the *fully qualified name* means the entire " "dotted path to the module, including any parent packages, e.g. ``email.mime." @@ -2433,11 +2443,11 @@ msgstr "" "herhangi bir üst paket de dahil olmak üzere, modüle giden tüm noktalı yol " "anlamına gelir, örn. ``email.mime.text``::" -#: glossary.rst:1064 +#: glossary.rst:1069 msgid "reference count" msgstr "referans sayısı" -#: glossary.rst:1066 +#: glossary.rst:1071 #, fuzzy msgid "" "The number of references to an object. When the reference count of an " @@ -2454,26 +2464,26 @@ msgstr "" "öğesidir. Programcılar, belirli bir nesne için başvuru sayısını döndürmek " "için :func:`sys.getrefcount` işlevini çağırabilir." -#: glossary.rst:1074 +#: glossary.rst:1079 msgid "regular package" msgstr "sürekli paketleme" -#: glossary.rst:1076 +#: glossary.rst:1081 msgid "" "A traditional :term:`package`, such as a directory containing an ``__init__." "py`` file." msgstr "" "``__init__.py`` dosyası içeren bir dizin gibi geleneksel bir :term:`package`." -#: glossary.rst:1079 +#: glossary.rst:1084 msgid "See also :term:`namespace package`." msgstr "Ayrıca bkz. :term:`ad alanı paketi`." -#: glossary.rst:1080 +#: glossary.rst:1085 msgid "__slots__" msgstr "__slots__" -#: glossary.rst:1082 +#: glossary.rst:1087 msgid "" "A declaration inside a class that saves memory by pre-declaring space for " "instance attributes and eliminating instance dictionaries. Though popular, " @@ -2487,21 +2497,21 @@ msgstr "" "açısından kritik bir uygulamada çok sayıda örneğin bulunduğu nadir durumlar " "için ayrılmıştır." -#: glossary.rst:1087 +#: glossary.rst:1092 msgid "sequence" msgstr "dizi" -#: glossary.rst:1089 +#: glossary.rst:1094 #, fuzzy msgid "" "An :term:`iterable` which supports efficient element access using integer " "indices via the :meth:`~object.__getitem__` special method and defines a :" -"meth:`__len__` method that returns the length of the sequence. Some built-in " -"sequence types are :class:`list`, :class:`str`, :class:`tuple`, and :class:" -"`bytes`. Note that :class:`dict` also supports :meth:`~object.__getitem__` " -"and :meth:`__len__`, but is considered a mapping rather than a sequence " -"because the lookups use arbitrary :term:`immutable` keys rather than " -"integers." +"meth:`~object.__len__` method that returns the length of the sequence. Some " +"built-in sequence types are :class:`list`, :class:`str`, :class:`tuple`, " +"and :class:`bytes`. Note that :class:`dict` also supports :meth:`~object." +"__getitem__` and :meth:`!__len__`, but is considered a mapping rather than a " +"sequence because the lookups use arbitrary :term:`immutable` keys rather " +"than integers." msgstr "" ":meth:`__getitem__` özel yöntemi aracılığıyla tamsayı dizinlerini kullanarak " "verimli öğe erişimini destekleyen ve dizinin uzunluğunu döndüren bir :meth:" @@ -2512,14 +2522,15 @@ msgstr "" "`immutable` anahtarları kullandığından bir diziden ziyade bir eşleme olarak " "kabul edilir." -#: glossary.rst:1098 +#: glossary.rst:1103 #, fuzzy msgid "" "The :class:`collections.abc.Sequence` abstract base class defines a much " "richer interface that goes beyond just :meth:`~object.__getitem__` and :meth:" -"`__len__`, adding :meth:`count`, :meth:`index`, :meth:`__contains__`, and :" -"meth:`__reversed__`. Types that implement this expanded interface can be " -"registered explicitly using :func:`~abc.ABCMeta.register`." +"`~object.__len__`, adding :meth:`count`, :meth:`index`, :meth:`~object." +"__contains__`, and :meth:`~object.__reversed__`. Types that implement this " +"expanded interface can be registered explicitly using :func:`~abc.ABCMeta." +"register`." msgstr "" ":class:`collections.abc.Sequence` soyut temel sınıfı;, :meth:`count`, :meth:" "`index`, :meth:`__contains__`, ve :meth:`__reversed__` ekleyerek sadece :" @@ -2527,11 +2538,11 @@ msgstr "" "arayüzü tanımlar. Bu genişletilmiş arabirimi uygulayan türler, :func:`~abc." "ABCMeta.register` kullanılarak açıkça kaydedilebilir." -#: glossary.rst:1105 +#: glossary.rst:1110 msgid "set comprehension" msgstr "anlamak" -#: glossary.rst:1107 +#: glossary.rst:1112 msgid "" "A compact way to process all or part of the elements in an iterable and " "return a set with the results. ``results = {c for c in 'abracadabra' if c " @@ -2543,11 +2554,11 @@ msgstr "" "for c in 'abracadabra' if c not in 'abc'}``, ``{'r', 'd'}`` dizelerini " "oluşturur. Bakınız :ref:`comprehensions`." -#: glossary.rst:1111 +#: glossary.rst:1116 msgid "single dispatch" msgstr "tek sevk" -#: glossary.rst:1113 +#: glossary.rst:1118 msgid "" "A form of :term:`generic function` dispatch where the implementation is " "chosen based on the type of a single argument." @@ -2555,11 +2566,11 @@ msgstr "" "Uygulamanın tek bir argüman türüne göre seçildiği bir :term:`generic " "function` gönderimi biçimi." -#: glossary.rst:1115 +#: glossary.rst:1120 msgid "slice" msgstr "parçalamak" -#: glossary.rst:1117 +#: glossary.rst:1122 msgid "" "An object usually containing a portion of a :term:`sequence`. A slice is " "created using the subscript notation, ``[]`` with colons between numbers " @@ -2572,11 +2583,11 @@ msgstr "" "gösterimi kullanılarak oluşturulur. Köşeli ayraç (alt simge) gösterimi, " "dahili olarak :class:`slice` nesnelerini kullanır." -#: glossary.rst:1121 +#: glossary.rst:1126 msgid "special method" msgstr "özel metod" -#: glossary.rst:1125 +#: glossary.rst:1130 msgid "" "A method that is called implicitly by Python to execute a certain operation " "on a type, such as addition. Such methods have names starting and ending " @@ -2588,11 +2599,11 @@ msgstr "" "çizgi ile başlayan ve biten adları vardır. Özel yöntemler :ref:" "`specialnames` içinde belgelenmiştir." -#: glossary.rst:1129 +#: glossary.rst:1134 msgid "statement" msgstr "ifade (değer döndürmez)" -#: glossary.rst:1131 +#: glossary.rst:1136 msgid "" "A statement is part of a suite (a \"block\" of code). A statement is either " "an :term:`expression` or one of several constructs with a keyword, such as :" @@ -2602,22 +2613,22 @@ msgstr "" "`expression` veya :keyword:`if`, :keyword:`while` veya :keyword:`for` gibi " "bir anahtar kelimeye sahip birkaç yapıdan biridir." -#: glossary.rst:1134 +#: glossary.rst:1139 msgid "static type checker" msgstr "" -#: glossary.rst:1136 +#: glossary.rst:1141 msgid "" "An external tool that reads Python code and analyzes it, looking for issues " "such as incorrect types. See also :term:`type hints ` and the :" "mod:`typing` module." msgstr "" -#: glossary.rst:1139 +#: glossary.rst:1144 msgid "strong reference" msgstr "güçlü referans" -#: glossary.rst:1141 +#: glossary.rst:1146 #, fuzzy msgid "" "In Python's C API, a strong reference is a reference to an object which is " @@ -2629,7 +2640,7 @@ msgstr "" "referans sayısını artıran ve silindiğinde nesnenin referans sayısını azaltan " "bir nesneye yapılan referanstır." -#: glossary.rst:1147 +#: glossary.rst:1152 msgid "" "The :c:func:`Py_NewRef` function can be used to create a strong reference to " "an object. Usually, the :c:func:`Py_DECREF` function must be called on the " @@ -2641,15 +2652,15 @@ msgstr "" "referansın sızmasını önlemek için güçlü referans kapsamından çıkmadan önce " "güçlü referansta çağrılmalıdır." -#: glossary.rst:1152 +#: glossary.rst:1157 msgid "See also :term:`borrowed reference`." msgstr "Ayrıca bkz. :term:`ödünç alınan referans `." -#: glossary.rst:1153 +#: glossary.rst:1158 msgid "text encoding" msgstr "yazı çözümleme" -#: glossary.rst:1155 +#: glossary.rst:1160 msgid "" "A string in Python is a sequence of Unicode code points (in range " "``U+0000``--``U+10FFFF``). To store or transfer a string, it needs to be " @@ -2659,7 +2670,7 @@ msgstr "" "``U+10FFFF`` aralığında). Bir dizeyi depolamak veya aktarmak için, bir bayt " "dizisi olarak seri hale getirilmesi gerekir." -#: glossary.rst:1159 +#: glossary.rst:1164 msgid "" "Serializing a string into a sequence of bytes is known as \"encoding\", and " "recreating the string from the sequence of bytes is known as \"decoding\"." @@ -2668,7 +2679,7 @@ msgstr "" "olarak bilinir ve dizeyi bayt dizisinden yeniden oluşturmak \"kod çözme " "(decoding)\" olarak bilinir." -#: glossary.rst:1162 +#: glossary.rst:1167 msgid "" "There are a variety of different text serialization :ref:`codecs `, which are collectively referred to as \"text encodings\"." @@ -2676,11 +2687,11 @@ msgstr "" "Toplu olarak \"metin kodlamaları\" olarak adlandırılan çeşitli farklı metin " "serileştirme :ref:`kodekleri ` vardır." -#: glossary.rst:1165 +#: glossary.rst:1170 msgid "text file" msgstr "yazı dosyası" -#: glossary.rst:1167 +#: glossary.rst:1172 msgid "" "A :term:`file object` able to read and write :class:`str` objects. Often, a " "text file actually accesses a byte-oriented datastream and handles the :term:" @@ -2694,7 +2705,7 @@ msgstr "" "metin modunda açılan dosyalar (``'r'`` veya ``'w'``), :data:`sys.stdin`, :" "data:`sys.stdout` ve :class:`io.StringIO` örnekleri verilebilir." -#: glossary.rst:1174 +#: glossary.rst:1179 msgid "" "See also :term:`binary file` for a file object able to read and write :term:" "`bytes-like objects `." @@ -2702,11 +2713,11 @@ msgstr "" "Ayrıca :term:`ikili dosyaları ` okuyabilen ve yazabilen bir " "dosya nesnesi için :term:`bayt benzeri nesnelere ` bakın." -#: glossary.rst:1176 +#: glossary.rst:1181 msgid "triple-quoted string" msgstr "üç tırnaklı dize" -#: glossary.rst:1178 +#: glossary.rst:1183 msgid "" "A string which is bound by three instances of either a quotation mark (\") " "or an apostrophe ('). While they don't provide any functionality not " @@ -2723,11 +2734,11 @@ msgstr "" "yayılabilir, bu da onları özellikle belge dizileri yazarken kullanışlı hale " "getirir." -#: glossary.rst:1185 +#: glossary.rst:1190 msgid "type" msgstr "tip" -#: glossary.rst:1187 +#: glossary.rst:1192 msgid "" "The type of a Python object determines what kind of object it is; every " "object has a type. An object's type is accessible as its :attr:`~instance." @@ -2737,15 +2748,15 @@ msgstr "" "nesnenin bir türü vardır. Bir nesnenin tipine :attr:`~instance.__class__` " "niteliği ile erişilebilir veya ``type(obj)`` ile alınabilir." -#: glossary.rst:1191 +#: glossary.rst:1196 msgid "type alias" msgstr "tip takma adı" -#: glossary.rst:1193 +#: glossary.rst:1198 msgid "A synonym for a type, created by assigning the type to an identifier." msgstr "Bir tanımlayıcıya tür atanarak oluşturulan, bir tür için eş anlamlı." -#: glossary.rst:1195 +#: glossary.rst:1200 msgid "" "Type aliases are useful for simplifying :term:`type hints `. For " "example::" @@ -2753,19 +2764,19 @@ msgstr "" "Tür takma adları, :term:`tür ipuçlarını ` basitleştirmek için " "kullanışlıdır. Örneğin::" -#: glossary.rst:1202 +#: glossary.rst:1207 msgid "could be made more readable like this::" msgstr "bu şekilde daha okunaklı hale getirilebilir::" -#: glossary.rst:1223 +#: glossary.rst:1228 msgid "See :mod:`typing` and :pep:`484`, which describe this functionality." msgstr "Bu işlevi açıklayan :mod:`typing` ve :pep:`484` bölümlerine bakın." -#: glossary.rst:1210 +#: glossary.rst:1215 msgid "type hint" msgstr "tür ipucu" -#: glossary.rst:1212 +#: glossary.rst:1217 msgid "" "An :term:`annotation` that specifies the expected type for a variable, a " "class attribute, or a function parameter or return value." @@ -2773,7 +2784,7 @@ msgstr "" "Bir değişken, bir sınıf niteliği veya bir işlev parametresi veya dönüş " "değeri için beklenen türü belirten bir :term:`ek açıklama `." -#: glossary.rst:1215 +#: glossary.rst:1220 #, fuzzy msgid "" "Type hints are optional and are not enforced by Python but they are useful " @@ -2784,7 +2795,7 @@ msgstr "" "statik tip analiz araçları için faydalıdır ve kod tamamlama ve yeniden " "düzenleme ile IDE'lere yardımcı olur." -#: glossary.rst:1219 +#: glossary.rst:1224 msgid "" "Type hints of global variables, class attributes, and functions, but not " "local variables, can be accessed using :func:`typing.get_type_hints`." @@ -2793,11 +2804,11 @@ msgstr "" "yerel değişkenlere değil, :func:`typing.get_type_hints` kullanılarak " "erişilebilir." -#: glossary.rst:1224 +#: glossary.rst:1229 msgid "universal newlines" msgstr "evrensel yeni satırlar" -#: glossary.rst:1226 +#: glossary.rst:1231 msgid "" "A manner of interpreting text streams in which all of the following are " "recognized as ending a line: the Unix end-of-line convention ``'\\n'``, the " @@ -2810,23 +2821,23 @@ msgstr "" "kuralı ``'\\r\\n'``, ve eski Macintosh kuralı ``'\\r'``. Ek bir kullanım " "için :pep:`278` ve :pep:`3116` ve ayrıca :func:`bytes.splitlines` bakın." -#: glossary.rst:1231 +#: glossary.rst:1236 msgid "variable annotation" msgstr "değişken açıklama" -#: glossary.rst:1233 +#: glossary.rst:1238 msgid "An :term:`annotation` of a variable or a class attribute." msgstr "" "Bir değişkenin veya bir sınıf özniteliğinin :term:`ek açıklaması " "`." -#: glossary.rst:1235 +#: glossary.rst:1240 msgid "" "When annotating a variable or a class attribute, assignment is optional::" msgstr "" "Bir değişkene veya sınıf niteliğine açıklama eklerken atama isteğe bağlıdır::" -#: glossary.rst:1240 +#: glossary.rst:1245 msgid "" "Variable annotations are usually used for :term:`type hints `: " "for example this variable is expected to take :class:`int` values::" @@ -2834,11 +2845,11 @@ msgstr "" "Değişken açıklamaları genellikle :term:`tür ipuçları ` için " "kullanılır: örneğin, bu değişkenin :class:`int` değerlerini alması beklenir::" -#: glossary.rst:1246 +#: glossary.rst:1251 msgid "Variable annotation syntax is explained in section :ref:`annassign`." msgstr "Değişken açıklama sözdizimi :ref:`annassign` bölümünde açıklanmıştır." -#: glossary.rst:1248 +#: glossary.rst:1253 msgid "" "See :term:`function annotation`, :pep:`484` and :pep:`526`, which describe " "this functionality. Also see :ref:`annotations-howto` for best practices on " @@ -2848,11 +2859,11 @@ msgstr "" "bölümlerine bakın. Ek açıklamalarla çalışmaya ilişkin en iyi uygulamalar " "için ayrıca bkz. :ref:`annotations-howto`." -#: glossary.rst:1252 +#: glossary.rst:1257 msgid "virtual environment" msgstr "sanal ortam" -#: glossary.rst:1254 +#: glossary.rst:1259 msgid "" "A cooperatively isolated runtime environment that allows Python users and " "applications to install and upgrade Python distribution packages without " @@ -2864,15 +2875,15 @@ msgstr "" "paketlerini kurmasına ve yükseltmesine olanak tanıyan, işbirliği içinde " "yalıtılmış bir çalışma zamanı ortamı." -#: glossary.rst:1259 +#: glossary.rst:1264 msgid "See also :mod:`venv`." msgstr "Ayrıca bakınız :mod:`venv`." -#: glossary.rst:1260 +#: glossary.rst:1265 msgid "virtual machine" msgstr "sanal makine" -#: glossary.rst:1262 +#: glossary.rst:1267 msgid "" "A computer defined entirely in software. Python's virtual machine executes " "the :term:`bytecode` emitted by the bytecode compiler." @@ -2880,11 +2891,11 @@ msgstr "" "Tamamen yazılımla tanımlanmış bir bilgisayar. Python'un sanal makinesi, bayt " "kodu derleyicisi tarafından yayınlanan :term:`bytecode` 'u çalıştırır." -#: glossary.rst:1264 +#: glossary.rst:1269 msgid "Zen of Python" msgstr "Python'un Zen'i" -#: glossary.rst:1266 +#: glossary.rst:1271 msgid "" "Listing of Python design principles and philosophies that are helpful in " "understanding and using the language. The listing can be found by typing " @@ -2904,11 +2915,11 @@ msgstr "bitişik" msgid "Fortran contiguous" msgstr "bitişik" -#: glossary.rst:757 +#: glossary.rst:761 msgid "magic" msgstr "" -#: glossary.rst:1123 +#: glossary.rst:1128 #, fuzzy msgid "special" msgstr "özel metod" diff --git a/howto/annotations.po b/howto/annotations.po index d3dd11857..d55ea3977 100644 --- a/howto/annotations.po +++ b/howto/annotations.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -211,11 +211,11 @@ msgstr "" #: howto/annotations.rst:155 msgid "" -"If ``o`` is a callable (but not a class), use ``o.__globals__`` as the " -"globals when calling :func:`eval`." +"If ``o`` is a callable (but not a class), use :attr:`o.__globals__ ` as the globals when calling :func:`eval`." msgstr "" -#: howto/annotations.rst:158 +#: howto/annotations.rst:159 msgid "" "However, not all string values used as annotations can be successfully " "turned into Python values by :func:`eval`. String values could theoretically " @@ -224,19 +224,19 @@ msgid "" "be evaluated. For example:" msgstr "" -#: howto/annotations.rst:165 +#: howto/annotations.rst:166 msgid "" ":pep:`604` union types using ``|``, before support for this was added to " "Python 3.10." msgstr "" -#: howto/annotations.rst:167 +#: howto/annotations.rst:168 msgid "" "Definitions that aren't needed at runtime, only imported when :const:`typing." "TYPE_CHECKING` is true." msgstr "" -#: howto/annotations.rst:170 +#: howto/annotations.rst:171 msgid "" "If :func:`eval` attempts to evaluate such values, it will fail and raise an " "exception. So, when designing a library API that works with annotations, " @@ -244,43 +244,43 @@ msgid "" "requested to by the caller." msgstr "" -#: howto/annotations.rst:178 +#: howto/annotations.rst:179 msgid "Best Practices For ``__annotations__`` In Any Python Version" msgstr "" -#: howto/annotations.rst:180 +#: howto/annotations.rst:181 msgid "" "You should avoid assigning to the ``__annotations__`` member of objects " "directly. Let Python manage setting ``__annotations__``." msgstr "" -#: howto/annotations.rst:183 +#: howto/annotations.rst:184 msgid "" "If you do assign directly to the ``__annotations__`` member of an object, " "you should always set it to a ``dict`` object." msgstr "" -#: howto/annotations.rst:186 +#: howto/annotations.rst:187 msgid "" "If you directly access the ``__annotations__`` member of an object, you " "should ensure that it's a dictionary before attempting to examine its " "contents." msgstr "" -#: howto/annotations.rst:190 +#: howto/annotations.rst:191 msgid "You should avoid modifying ``__annotations__`` dicts." msgstr "" -#: howto/annotations.rst:192 +#: howto/annotations.rst:193 msgid "" "You should avoid deleting the ``__annotations__`` attribute of an object." msgstr "" -#: howto/annotations.rst:197 +#: howto/annotations.rst:198 msgid "``__annotations__`` Quirks" msgstr "" -#: howto/annotations.rst:199 +#: howto/annotations.rst:200 msgid "" "In all versions of Python 3, function objects lazy-create an annotations " "dict if no annotations are defined on that object. You can delete the " @@ -292,13 +292,13 @@ msgid "" "guaranteed to always throw an ``AttributeError``." msgstr "" -#: howto/annotations.rst:209 +#: howto/annotations.rst:210 msgid "" "Everything in the above paragraph also applies to class and module objects " "in Python 3.10 and newer." msgstr "" -#: howto/annotations.rst:212 +#: howto/annotations.rst:213 msgid "" "In all versions of Python 3, you can set ``__annotations__`` on a function " "object to ``None``. However, subsequently accessing the annotations on that " @@ -309,7 +309,7 @@ msgid "" "set." msgstr "" -#: howto/annotations.rst:220 +#: howto/annotations.rst:221 msgid "" "If Python stringizes your annotations for you (using ``from __future__ " "import annotations``), and you specify a string as an annotation, the string " @@ -317,7 +317,7 @@ msgid "" "example::" msgstr "" -#: howto/annotations.rst:231 +#: howto/annotations.rst:232 msgid "" "This prints ``{'a': \"'str'\"}``. This shouldn't really be considered a " "\"quirk\"; it's mentioned here simply because it might be surprising." diff --git a/howto/descriptor.po b/howto/descriptor.po index c0ee677a4..893a07c51 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -925,22 +925,23 @@ msgstr "" msgid "" "The :func:`functools.update_wrapper` call adds a ``__wrapped__`` attribute " "that refers to the underlying function. Also it carries forward the " -"attributes necessary to make the wrapper look like the wrapped function: " -"``__name__``, ``__qualname__``, ``__doc__``, and ``__annotations__``." +"attributes necessary to make the wrapper look like the wrapped function: :" +"attr:`~function.__name__`, :attr:`~function.__qualname__`, :attr:`~function." +"__doc__`, and :attr:`~function.__annotations__`." msgstr "" -#: howto/descriptor.rst:1400 +#: howto/descriptor.rst:1401 msgid "Class methods" msgstr "" -#: howto/descriptor.rst:1402 +#: howto/descriptor.rst:1403 msgid "" "Unlike static methods, class methods prepend the class reference to the " "argument list before calling the function. This format is the same for " "whether the caller is an object or a class:" msgstr "" -#: howto/descriptor.rst:1420 +#: howto/descriptor.rst:1421 msgid "" "This behavior is useful whenever the method only needs to have a class " "reference and does not rely on data stored in a specific instance. One use " @@ -949,17 +950,17 @@ msgid "" "of keys. The pure Python equivalent is:" msgstr "" -#: howto/descriptor.rst:1437 +#: howto/descriptor.rst:1438 msgid "Now a new dictionary of unique keys can be constructed like this:" msgstr "" -#: howto/descriptor.rst:1447 +#: howto/descriptor.rst:1448 msgid "" "Using the non-data descriptor protocol, a pure Python version of :func:" "`classmethod` would look like this:" msgstr "" -#: howto/descriptor.rst:1525 +#: howto/descriptor.rst:1526 msgid "" "The code path for ``hasattr(type(self.f), '__get__')`` was added in Python " "3.9 and makes it possible for :func:`classmethod` to support chained " @@ -967,39 +968,40 @@ msgid "" "together. In Python 3.11, this functionality was deprecated." msgstr "" -#: howto/descriptor.rst:1543 +#: howto/descriptor.rst:1544 msgid "" "The :func:`functools.update_wrapper` call in ``ClassMethod`` adds a " "``__wrapped__`` attribute that refers to the underlying function. Also it " "carries forward the attributes necessary to make the wrapper look like the " -"wrapped function: ``__name__``, ``__qualname__``, ``__doc__``, and " -"``__annotations__``." +"wrapped function: :attr:`~function.__name__`, :attr:`~function." +"__qualname__`, :attr:`~function.__doc__`, and :attr:`~function." +"__annotations__`." msgstr "" -#: howto/descriptor.rst:1551 +#: howto/descriptor.rst:1553 msgid "Member objects and __slots__" msgstr "" -#: howto/descriptor.rst:1553 +#: howto/descriptor.rst:1555 msgid "" "When a class defines ``__slots__``, it replaces instance dictionaries with a " "fixed-length array of slot values. From a user point of view that has " "several effects:" msgstr "" -#: howto/descriptor.rst:1557 +#: howto/descriptor.rst:1559 msgid "" "1. Provides immediate detection of bugs due to misspelled attribute " "assignments. Only attribute names specified in ``__slots__`` are allowed:" msgstr "" -#: howto/descriptor.rst:1573 +#: howto/descriptor.rst:1575 msgid "" "2. Helps create immutable objects where descriptors manage access to private " "attributes stored in ``__slots__``:" msgstr "" -#: howto/descriptor.rst:1608 +#: howto/descriptor.rst:1610 msgid "" "3. Saves memory. On a 64-bit Linux build, an instance with two attributes " "takes 48 bytes with ``__slots__`` and 152 bytes without. This `flyweight " @@ -1007,19 +1009,19 @@ msgid "" "only matters when a large number of instances are going to be created." msgstr "" -#: howto/descriptor.rst:1613 +#: howto/descriptor.rst:1615 msgid "" "4. Improves speed. Reading instance variables is 35% faster with " "``__slots__`` (as measured with Python 3.10 on an Apple M1 processor)." msgstr "" -#: howto/descriptor.rst:1616 +#: howto/descriptor.rst:1618 msgid "" "5. Blocks tools like :func:`functools.cached_property` which require an " "instance dictionary to function correctly:" msgstr "" -#: howto/descriptor.rst:1638 +#: howto/descriptor.rst:1640 msgid "" "It is not possible to create an exact drop-in pure Python version of " "``__slots__`` because it requires direct access to C structures and control " @@ -1029,36 +1031,36 @@ msgid "" "managed by member descriptors:" msgstr "" -#: howto/descriptor.rst:1683 +#: howto/descriptor.rst:1685 msgid "" "The :meth:`type.__new__` method takes care of adding member objects to class " "variables:" msgstr "" -#: howto/descriptor.rst:1699 +#: howto/descriptor.rst:1701 msgid "" "The :meth:`object.__new__` method takes care of creating instances that have " "slots instead of an instance dictionary. Here is a rough simulation in pure " "Python:" msgstr "" -#: howto/descriptor.rst:1734 +#: howto/descriptor.rst:1736 msgid "" "To use the simulation in a real class, just inherit from :class:`Object` and " "set the :term:`metaclass` to :class:`Type`:" msgstr "" -#: howto/descriptor.rst:1748 +#: howto/descriptor.rst:1750 msgid "" "At this point, the metaclass has loaded member objects for *x* and *y*::" msgstr "" -#: howto/descriptor.rst:1769 +#: howto/descriptor.rst:1771 msgid "" "When instances are created, they have a ``slot_values`` list where the " "attributes are stored:" msgstr "" -#: howto/descriptor.rst:1781 +#: howto/descriptor.rst:1783 msgid "Misspelled or unassigned attributes will raise an exception:" msgstr "" diff --git a/howto/isolating-extensions.po b/howto/isolating-extensions.po index 377e35792..35d555f03 100644 --- a/howto/isolating-extensions.po +++ b/howto/isolating-extensions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -438,7 +438,7 @@ msgstr "" #: howto/isolating-extensions.rst:339 msgid "" "Define a traverse function using ``Py_tp_traverse``, which visits the type " -"(e.g. using :c:expr:`Py_VISIT(Py_TYPE(self))`)." +"(e.g. using ``Py_VISIT(Py_TYPE(self))``)." msgstr "" #: howto/isolating-extensions.rst:342 @@ -616,9 +616,9 @@ msgstr "" #: howto/isolating-extensions.rst:485 msgid "" -"Do not confuse the defining class with :c:expr:`Py_TYPE(self)`. If the " -"method is called on a *subclass* of your type, ``Py_TYPE(self)`` will refer " -"to that subclass, which may be defined in different module than yours." +"Do not confuse the defining class with ``Py_TYPE(self)``. If the method is " +"called on a *subclass* of your type, ``Py_TYPE(self)`` will refer to that " +"subclass, which may be defined in different module than yours." msgstr "" #: howto/isolating-extensions.rst:490 diff --git a/library/__future__.po b/library/__future__.po index 1db01d5e9..a44d51885 100644 --- a/library/__future__.po +++ b/library/__future__.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -49,30 +49,30 @@ msgid "" "examining its contents." msgstr "" -#: library/__future__.rst:25 +#: library/__future__.rst:29 msgid "Each statement in :file:`__future__.py` is of the form::" msgstr "" -#: library/__future__.rst:31 +#: library/__future__.rst:34 msgid "" "where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both " "are 5-tuples of the same form as :data:`sys.version_info`::" msgstr "" -#: library/__future__.rst:41 +#: library/__future__.rst:46 msgid "" "*OptionalRelease* records the first release in which the feature was " "accepted." msgstr "" -#: library/__future__.rst:43 +#: library/__future__.rst:50 msgid "" "In the case of a *MandatoryRelease* that has not yet occurred, " "*MandatoryRelease* predicts the release in which the feature will become " "part of the language." msgstr "" -#: library/__future__.rst:47 +#: library/__future__.rst:54 msgid "" "Else *MandatoryRelease* records when the feature became part of the " "language; in releases at or after that, modules no longer need a future " @@ -80,174 +80,168 @@ msgid "" "imports." msgstr "" -#: library/__future__.rst:51 +#: library/__future__.rst:58 msgid "" "*MandatoryRelease* may also be ``None``, meaning that a planned feature got " -"dropped." +"dropped or that it is not yet decided." msgstr "" -#: library/__future__.rst:54 -msgid "" -"Instances of class :class:`_Feature` have two corresponding methods, :meth:" -"`getOptionalRelease` and :meth:`getMandatoryRelease`." -msgstr "" - -#: library/__future__.rst:57 +#: library/__future__.rst:63 msgid "" "*CompilerFlag* is the (bitfield) flag that should be passed in the fourth " "argument to the built-in function :func:`compile` to enable the feature in " -"dynamically compiled code. This flag is stored in the :attr:`compiler_flag` " -"attribute on :class:`_Feature` instances." +"dynamically compiled code. This flag is stored in the :attr:`_Feature." +"compiler_flag` attribute on :class:`_Feature` instances." msgstr "" -#: library/__future__.rst:62 +#: library/__future__.rst:68 msgid "" "No feature description will ever be deleted from :mod:`__future__`. Since " "its introduction in Python 2.1 the following features have found their way " "into the language using this mechanism:" msgstr "" -#: library/__future__.rst:67 +#: library/__future__.rst:73 msgid "feature" msgstr "" -#: library/__future__.rst:67 +#: library/__future__.rst:73 msgid "optional in" msgstr "" -#: library/__future__.rst:67 +#: library/__future__.rst:73 msgid "mandatory in" msgstr "" -#: library/__future__.rst:67 +#: library/__future__.rst:73 msgid "effect" msgstr "" -#: library/__future__.rst:69 +#: library/__future__.rst:75 msgid "nested_scopes" msgstr "" -#: library/__future__.rst:69 +#: library/__future__.rst:75 msgid "2.1.0b1" msgstr "" -#: library/__future__.rst:69 +#: library/__future__.rst:75 msgid "2.2" msgstr "" -#: library/__future__.rst:69 +#: library/__future__.rst:75 msgid ":pep:`227`: *Statically Nested Scopes*" msgstr "" -#: library/__future__.rst:72 +#: library/__future__.rst:78 msgid "generators" msgstr "" -#: library/__future__.rst:72 +#: library/__future__.rst:78 msgid "2.2.0a1" msgstr "" -#: library/__future__.rst:72 +#: library/__future__.rst:78 msgid "2.3" msgstr "" -#: library/__future__.rst:72 +#: library/__future__.rst:78 msgid ":pep:`255`: *Simple Generators*" msgstr "" -#: library/__future__.rst:75 +#: library/__future__.rst:81 msgid "division" msgstr "" -#: library/__future__.rst:75 +#: library/__future__.rst:81 msgid "2.2.0a2" msgstr "" -#: library/__future__.rst:78 library/__future__.rst:87 +#: library/__future__.rst:84 library/__future__.rst:93 msgid "3.0" msgstr "" -#: library/__future__.rst:75 +#: library/__future__.rst:81 msgid ":pep:`238`: *Changing the Division Operator*" msgstr "" -#: library/__future__.rst:78 +#: library/__future__.rst:84 msgid "absolute_import" msgstr "" -#: library/__future__.rst:81 +#: library/__future__.rst:87 msgid "2.5.0a1" msgstr "" -#: library/__future__.rst:78 +#: library/__future__.rst:84 msgid ":pep:`328`: *Imports: Multi-Line and Absolute/Relative*" msgstr "" -#: library/__future__.rst:81 +#: library/__future__.rst:87 msgid "with_statement" msgstr "" -#: library/__future__.rst:81 +#: library/__future__.rst:87 msgid "2.6" msgstr "" -#: library/__future__.rst:81 +#: library/__future__.rst:87 msgid ":pep:`343`: *The \"with\" Statement*" msgstr "" -#: library/__future__.rst:84 +#: library/__future__.rst:90 msgid "print_function" msgstr "" -#: library/__future__.rst:87 +#: library/__future__.rst:93 msgid "2.6.0a2" msgstr "" -#: library/__future__.rst:84 +#: library/__future__.rst:90 msgid ":pep:`3105`: *Make print a function*" msgstr "" -#: library/__future__.rst:87 +#: library/__future__.rst:93 msgid "unicode_literals" msgstr "" -#: library/__future__.rst:87 +#: library/__future__.rst:93 msgid ":pep:`3112`: *Bytes literals in Python 3000*" msgstr "" -#: library/__future__.rst:90 +#: library/__future__.rst:96 msgid "generator_stop" msgstr "" -#: library/__future__.rst:90 +#: library/__future__.rst:96 msgid "3.5.0b1" msgstr "" -#: library/__future__.rst:90 +#: library/__future__.rst:96 msgid "3.7" msgstr "" -#: library/__future__.rst:90 +#: library/__future__.rst:96 msgid ":pep:`479`: *StopIteration handling inside generators*" msgstr "" -#: library/__future__.rst:93 +#: library/__future__.rst:99 msgid "annotations" msgstr "" -#: library/__future__.rst:93 +#: library/__future__.rst:99 msgid "3.7.0b1" msgstr "" -#: library/__future__.rst:93 +#: library/__future__.rst:99 msgid "TBD [1]_" msgstr "" -#: library/__future__.rst:93 +#: library/__future__.rst:99 msgid ":pep:`563`: *Postponed evaluation of annotations*" msgstr "" -#: library/__future__.rst:100 +#: library/__future__.rst:106 msgid "" "``from __future__ import annotations`` was previously scheduled to become " "mandatory in Python 3.10, but the Python Steering Council twice decided to " @@ -258,10 +252,10 @@ msgid "" "final decision has been made yet. See also :pep:`563` and :pep:`649`." msgstr "" -#: library/__future__.rst:110 +#: library/__future__.rst:116 msgid ":ref:`future`" msgstr "" -#: library/__future__.rst:111 +#: library/__future__.rst:117 msgid "How the compiler treats future imports." msgstr "" diff --git a/library/abc.po b/library/abc.po index eb2685883..34528e4dd 100644 --- a/library/abc.po +++ b/library/abc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -38,7 +38,7 @@ msgid "" "ABCs; these can, of course, be further derived. In addition, the :mod:" "`collections.abc` submodule has some ABCs that can be used to test whether a " "class or instance provides a particular interface, for example, if it is :" -"term:`hashable` or if it is a mapping." +"term:`hashable` or if it is a :term:`mapping`." msgstr "" #: library/abc.rst:27 @@ -50,17 +50,17 @@ msgstr "" #: library/abc.rst:32 msgid "" "A helper class that has :class:`ABCMeta` as its metaclass. With this class, " -"an abstract base class can be created by simply deriving from :class:`ABC` " +"an abstract base class can be created by simply deriving from :class:`!ABC` " "avoiding sometimes confusing metaclass usage, for example::" msgstr "" #: library/abc.rst:41 msgid "" -"Note that the type of :class:`ABC` is still :class:`ABCMeta`, therefore " -"inheriting from :class:`ABC` requires the usual precautions regarding " +"Note that the type of :class:`!ABC` is still :class:`ABCMeta`, therefore " +"inheriting from :class:`!ABC` requires the usual precautions regarding " "metaclass usage, as multiple inheritance may lead to metaclass conflicts. " "One may also define an abstract base class by passing the metaclass keyword " -"and using :class:`ABCMeta` directly, for example::" +"and using :class:`!ABCMeta` directly, for example::" msgstr "" #: library/abc.rst:57 @@ -81,7 +81,7 @@ msgstr "" #: library/abc.rst:68 msgid "" -"Classes created with a metaclass of :class:`ABCMeta` have the following " +"Classes created with a metaclass of :class:`!ABCMeta` have the following " "method:" msgstr "" @@ -96,8 +96,8 @@ msgstr "" #: library/abc.rst:88 msgid "" -"To detect calls to :meth:`register`, you can use the :func:`get_cache_token` " -"function." +"To detect calls to :meth:`!register`, you can use the :func:" +"`get_cache_token` function." msgstr "" #: library/abc.rst:92 @@ -111,10 +111,10 @@ msgstr "" #: library/abc.rst:98 msgid "" "Check whether *subclass* is considered a subclass of this ABC. This means " -"that you can customize the behavior of ``issubclass`` further without the " -"need to call :meth:`register` on every class you want to consider a subclass " -"of the ABC. (This class method is called from the :meth:`__subclasscheck__` " -"method of the ABC.)" +"that you can customize the behavior of :func:`issubclass` further without " +"the need to call :meth:`register` on every class you want to consider a " +"subclass of the ABC. (This class method is called from the :meth:`~class." +"__subclasscheck__` method of the ABC.)" msgstr "" #: library/abc.rst:104 @@ -135,7 +135,7 @@ msgstr "" msgid "" "The ABC ``MyIterable`` defines the standard iterable method, :meth:" "`~iterator.__iter__`, as an abstract method. The implementation given here " -"can still be called from subclasses. The :meth:`get_iterator` method is " +"can still be called from subclasses. The :meth:`!get_iterator` method is " "also part of the ``MyIterable`` abstract base class, but it does not have to " "be overridden in non-abstract derived classes." msgstr "" @@ -152,13 +152,14 @@ msgstr "" msgid "" "Finally, the last line makes ``Foo`` a virtual subclass of ``MyIterable``, " "even though it does not define an :meth:`~iterator.__iter__` method (it uses " -"the old-style iterable protocol, defined in terms of :meth:`__len__` and :" -"meth:`~object.__getitem__`). Note that this will not make ``get_iterator`` " -"available as a method of ``Foo``, so it is provided separately." +"the old-style iterable protocol, defined in terms of :meth:`~object.__len__` " +"and :meth:`~object.__getitem__`). Note that this will not make " +"``get_iterator`` available as a method of ``Foo``, so it is provided " +"separately." msgstr "" #: library/abc.rst:163 -msgid "The :mod:`abc` module also provides the following decorator:" +msgid "The :mod:`!abc` module also provides the following decorator:" msgstr "" #: library/abc.rst:167 @@ -168,10 +169,10 @@ msgstr "" #: library/abc.rst:169 msgid "" "Using this decorator requires that the class's metaclass is :class:`ABCMeta` " -"or is derived from it. A class that has a metaclass derived from :class:" -"`ABCMeta` cannot be instantiated unless all of its abstract methods and " +"or is derived from it. A class that has a metaclass derived from :class:`!" +"ABCMeta` cannot be instantiated unless all of its abstract methods and " "properties are overridden. The abstract methods can be called using any of " -"the normal 'super' call mechanisms. :func:`abstractmethod` may be used to " +"the normal 'super' call mechanisms. :func:`!abstractmethod` may be used to " "declare abstract methods for properties and descriptors." msgstr "" @@ -179,15 +180,15 @@ msgstr "" msgid "" "Dynamically adding abstract methods to a class, or attempting to modify the " "abstraction status of a method or class once it is created, are only " -"supported using the :func:`update_abstractmethods` function. The :func:" -"`abstractmethod` only affects subclasses derived using regular inheritance; " -"\"virtual subclasses\" registered with the ABC's :meth:`register` method are " -"not affected." +"supported using the :func:`update_abstractmethods` function. The :func:`!" +"abstractmethod` only affects subclasses derived using regular inheritance; " +"\"virtual subclasses\" registered with the ABC's :meth:`~ABCMeta.register` " +"method are not affected." msgstr "" #: library/abc.rst:183 msgid "" -"When :func:`abstractmethod` is applied in combination with other method " +"When :func:`!abstractmethod` is applied in combination with other method " "descriptors, it should be applied as the innermost decorator, as shown in " "the following usage examples::" msgstr "" @@ -195,8 +196,8 @@ msgstr "" #: library/abc.rst:217 msgid "" "In order to correctly interoperate with the abstract base class machinery, " -"the descriptor must identify itself as abstract using :attr:" -"`__isabstractmethod__`. In general, this attribute should be ``True`` if any " +"the descriptor must identify itself as abstract using :attr:`!" +"__isabstractmethod__`. In general, this attribute should be ``True`` if any " "of the methods used to compose the descriptor are abstract. For example, " "Python's built-in :class:`property` does the equivalent of::" msgstr "" @@ -211,7 +212,7 @@ msgid "" msgstr "" #: library/abc.rst:239 -msgid "The :mod:`abc` module also supports the following legacy decorators:" +msgid "The :mod:`!abc` module also supports the following legacy decorators:" msgstr "" #: library/abc.rst:244 @@ -282,7 +283,7 @@ msgid "" msgstr "" #: library/abc.rst:326 -msgid "The :mod:`abc` module also provides the following functions:" +msgid "The :mod:`!abc` module also provides the following functions:" msgstr "" #: library/abc.rst:330 diff --git a/library/ast.po b/library/ast.po index d3b032d24..0b922713a 100644 --- a/library/ast.po +++ b/library/ast.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: 2024-01-01 00:16+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 "" "This is the base of all AST node classes. The actual node classes are " "derived from the :file:`Parser/Python.asdl` file, which is reproduced :ref:" -"`above `. They are defined in the :mod:`_ast` C module " +"`above `. They are defined in the :mod:`!_ast` C module " "and re-exported in :mod:`ast`." msgstr "" @@ -154,15 +154,15 @@ msgstr "" #: library/ast.rst:131 msgid "" -"Old classes :class:`ast.Num`, :class:`ast.Str`, :class:`ast.Bytes`, :class:" -"`ast.NameConstant` and :class:`ast.Ellipsis` are still available, but they " -"will be removed in future Python releases. In the meantime, instantiating " -"them will return an instance of a different class." +"Old classes :class:`!ast.Num`, :class:`!ast.Str`, :class:`!ast.Bytes`, :" +"class:`!ast.NameConstant` and :class:`!ast.Ellipsis` are still available, " +"but they will be removed in future Python releases. In the meantime, " +"instantiating them will return an instance of a different class." msgstr "" #: library/ast.rst:138 msgid "" -"Old classes :class:`ast.Index` and :class:`ast.ExtSlice` are still " +"Old classes :class:`!ast.Index` and :class:`!ast.ExtSlice` are still " "available, but they will be removed in future Python releases. In the " "meantime, instantiating them will return an instance of a different class." msgstr "" @@ -876,11 +876,11 @@ msgstr "" msgid "``returns`` is the return annotation." msgstr "" -#: library/ast.rst:2065 +#: library/ast.rst:2064 msgid "``type_params`` is a list of :ref:`type parameters `." msgstr "" -#: library/ast.rst:2094 library/ast.rst:2105 +#: library/ast.rst:2093 library/ast.rst:2104 msgid "Added ``type_params``." msgstr "" @@ -920,85 +920,84 @@ msgstr "" #: library/ast.rst:1937 msgid "" -"A single argument in a list. ``arg`` is a raw string of the argument name, " -"``annotation`` is its annotation, such as a :class:`Str` or :class:`Name` " -"node." +"A single argument in a list. ``arg`` is a raw string of the argument name; " +"``annotation`` is its annotation, such as a :class:`Name` node." msgstr "" -#: library/ast.rst:1943 +#: library/ast.rst:1942 msgid "" "``type_comment`` is an optional string with the type annotation as a comment" msgstr "" -#: library/ast.rst:1988 +#: library/ast.rst:1987 msgid "A ``return`` statement." msgstr "" -#: library/ast.rst:2003 +#: library/ast.rst:2002 msgid "" "A ``yield`` or ``yield from`` expression. Because these are expressions, " "they must be wrapped in a :class:`Expr` node if the value sent back is not " "used." msgstr "" -#: library/ast.rst:2028 +#: library/ast.rst:2027 msgid "" "``global`` and ``nonlocal`` statements. ``names`` is a list of raw strings." msgstr "" -#: library/ast.rst:2055 +#: library/ast.rst:2054 msgid "A class definition." msgstr "" -#: library/ast.rst:2057 +#: library/ast.rst:2056 msgid "``name`` is a raw string for the class name" msgstr "" -#: library/ast.rst:2058 +#: library/ast.rst:2057 msgid "``bases`` is a list of nodes for explicitly specified base classes." msgstr "" -#: library/ast.rst:2059 +#: library/ast.rst:2058 msgid "" "``keywords`` is a list of :class:`.keyword` nodes, principally for " "'metaclass'. Other keywords will be passed to the metaclass, as per " "`PEP-3115 `_." msgstr "" -#: library/ast.rst:2062 +#: library/ast.rst:2061 msgid "" "``body`` is a list of nodes representing the code within the class " "definition." msgstr "" -#: library/ast.rst:2064 +#: library/ast.rst:2063 msgid "``decorator_list`` is a list of nodes, as in :class:`FunctionDef`." msgstr "" -#: library/ast.rst:2098 +#: library/ast.rst:2097 msgid "Async and await" msgstr "" -#: library/ast.rst:2102 +#: library/ast.rst:2101 msgid "" "An ``async def`` function definition. Has the same fields as :class:" "`FunctionDef`." msgstr "" -#: library/ast.rst:2111 +#: library/ast.rst:2110 msgid "" "An ``await`` expression. ``value`` is what it waits for. Only valid in the " "body of an :class:`AsyncFunctionDef`." msgstr "" -#: library/ast.rst:2145 +#: library/ast.rst:2144 msgid "" "``async for`` loops and ``async with`` context managers. They have the same " "fields as :class:`For` and :class:`With`, respectively. Only valid in the " "body of an :class:`AsyncFunctionDef`." msgstr "" -#: library/ast.rst:2150 +#: library/ast.rst:2149 msgid "" "When a string is parsed by :func:`ast.parse`, operator nodes (subclasses of :" "class:`ast.operator`, :class:`ast.unaryop`, :class:`ast.cmpop`, :class:`ast." @@ -1007,23 +1006,23 @@ msgid "" "same value (e.g. :class:`ast.Add`)." msgstr "" -#: library/ast.rst:2158 +#: library/ast.rst:2157 msgid ":mod:`ast` Helpers" msgstr "" -#: library/ast.rst:2160 +#: library/ast.rst:2159 msgid "" "Apart from the node classes, the :mod:`ast` module defines these utility " "functions and classes for traversing abstract syntax trees:" msgstr "" -#: library/ast.rst:2165 +#: library/ast.rst:2164 msgid "" "Parse the source into an AST node. Equivalent to ``compile(source, " "filename, mode, ast.PyCF_ONLY_AST)``." msgstr "" -#: library/ast.rst:2168 +#: library/ast.rst:2167 msgid "" "If ``type_comments=True`` is given, the parser is modified to check and " "return type comments as specified by :pep:`484` and :pep:`526`. This is " @@ -1036,14 +1035,14 @@ msgid "" "empty list)." msgstr "" -#: library/ast.rst:2178 +#: library/ast.rst:2177 msgid "" "In addition, if ``mode`` is ``'func_type'``, the input syntax is modified to " "correspond to :pep:`484` \"signature type comments\", e.g. ``(str, int) -> " "List[str]``." msgstr "" -#: library/ast.rst:2182 +#: library/ast.rst:2181 msgid "" "Also, setting ``feature_version`` to a tuple ``(major, minor)`` will attempt " "to parse using that Python version's grammar. Currently ``major`` must equal " @@ -1052,12 +1051,12 @@ msgid "" "version is ``(3, 4)``; the highest is ``sys.version_info[0:2]``." msgstr "" -#: library/ast.rst:2189 +#: library/ast.rst:2188 msgid "" "If source contains a null character ('\\0'), :exc:`ValueError` is raised." msgstr "" -#: library/ast.rst:2192 +#: library/ast.rst:2191 msgid "" "Note that successfully parsing source code into an AST object doesn't " "guarantee that the source code provided is valid Python code that can be " @@ -1067,43 +1066,43 @@ msgid "" "inside a function node)." msgstr "" -#: library/ast.rst:2199 +#: library/ast.rst:2198 msgid "" "In particular, :func:`ast.parse` won't do any scoping checks, which the " "compilation step does." msgstr "" -#: library/ast.rst:2203 +#: library/ast.rst:2202 msgid "" "It is possible to crash the Python interpreter with a sufficiently large/" "complex string due to stack depth limitations in Python's AST compiler." msgstr "" -#: library/ast.rst:2207 +#: library/ast.rst:2206 msgid "Added ``type_comments``, ``mode='func_type'`` and ``feature_version``." msgstr "" -#: library/ast.rst:2213 +#: library/ast.rst:2212 msgid "" "Unparse an :class:`ast.AST` object and generate a string with code that " "would produce an equivalent :class:`ast.AST` object if parsed back with :" "func:`ast.parse`." msgstr "" -#: library/ast.rst:2218 +#: library/ast.rst:2217 msgid "" "The produced code string will not necessarily be equal to the original code " "that generated the :class:`ast.AST` object (without any compiler " "optimizations, such as constant tuples/frozensets)." msgstr "" -#: library/ast.rst:2223 +#: library/ast.rst:2222 msgid "" "Trying to unparse a highly complex expression would result with :exc:" "`RecursionError`." msgstr "" -#: library/ast.rst:2231 +#: library/ast.rst:2230 msgid "" "Evaluate an expression node or a string containing only a Python literal or " "container display. The string or node provided may only consist of the " @@ -1111,14 +1110,14 @@ msgid "" "dicts, sets, booleans, ``None`` and ``Ellipsis``." msgstr "" -#: library/ast.rst:2236 +#: library/ast.rst:2235 msgid "" "This can be used for evaluating strings containing Python values without the " "need to parse the values oneself. It is not capable of evaluating " "arbitrarily complex expressions, for example involving operators or indexing." msgstr "" -#: library/ast.rst:2241 +#: library/ast.rst:2240 msgid "" "This function had been documented as \"safe\" in the past without defining " "what that meant. That was misleading. This is specifically designed not to " @@ -1130,31 +1129,31 @@ msgid "" "untrusted data is thus not recommended." msgstr "" -#: library/ast.rst:2251 +#: library/ast.rst:2250 msgid "" "It is possible to crash the Python interpreter due to stack depth " "limitations in Python's AST compiler." msgstr "" -#: library/ast.rst:2254 +#: library/ast.rst:2253 msgid "" "It can raise :exc:`ValueError`, :exc:`TypeError`, :exc:`SyntaxError`, :exc:" "`MemoryError` and :exc:`RecursionError` depending on the malformed input." msgstr "" -#: library/ast.rst:2258 +#: library/ast.rst:2257 msgid "Now allows bytes and set literals." msgstr "" -#: library/ast.rst:2261 +#: library/ast.rst:2260 msgid "Now supports creating empty sets with ``'set()'``." msgstr "" -#: library/ast.rst:2264 +#: library/ast.rst:2263 msgid "For string inputs, leading spaces and tabs are now stripped." msgstr "" -#: library/ast.rst:2270 +#: library/ast.rst:2269 msgid "" "Return the docstring of the given *node* (which must be a :class:" "`FunctionDef`, :class:`AsyncFunctionDef`, :class:`ClassDef`, or :class:" @@ -1162,117 +1161,123 @@ msgid "" "clean up the docstring's indentation with :func:`inspect.cleandoc`." msgstr "" -#: library/ast.rst:2276 +#: library/ast.rst:2275 msgid ":class:`AsyncFunctionDef` is now supported." msgstr "" -#: library/ast.rst:2282 +#: library/ast.rst:2281 msgid "" "Get source code segment of the *source* that generated *node*. If some " -"location information (:attr:`lineno`, :attr:`end_lineno`, :attr:" -"`col_offset`, or :attr:`end_col_offset`) is missing, return ``None``." +"location information (:attr:`~ast.AST.lineno`, :attr:`~ast.AST.end_lineno`, :" +"attr:`~ast.AST.col_offset`, or :attr:`~ast.AST.end_col_offset`) is missing, " +"return ``None``." msgstr "" -#: library/ast.rst:2286 +#: library/ast.rst:2285 msgid "" "If *padded* is ``True``, the first line of a multi-line statement will be " "padded with spaces to match its original position." msgstr "" -#: library/ast.rst:2294 +#: library/ast.rst:2293 msgid "" "When you compile a node tree with :func:`compile`, the compiler expects :" -"attr:`lineno` and :attr:`col_offset` attributes for every node that supports " -"them. This is rather tedious to fill in for generated nodes, so this helper " -"adds these attributes recursively where not already set, by setting them to " -"the values of the parent node. It works recursively starting at *node*." +"attr:`~ast.AST.lineno` and :attr:`~ast.AST.col_offset` attributes for every " +"node that supports them. This is rather tedious to fill in for generated " +"nodes, so this helper adds these attributes recursively where not already " +"set, by setting them to the values of the parent node. It works recursively " +"starting at *node*." msgstr "" -#: library/ast.rst:2303 +#: library/ast.rst:2302 msgid "" "Increment the line number and end line number of each node in the tree " "starting at *node* by *n*. This is useful to \"move code\" to a different " "location in a file." msgstr "" -#: library/ast.rst:2310 +#: library/ast.rst:2309 msgid "" -"Copy source location (:attr:`lineno`, :attr:`col_offset`, :attr:" -"`end_lineno`, and :attr:`end_col_offset`) from *old_node* to *new_node* if " -"possible, and return *new_node*." +"Copy source location (:attr:`~ast.AST.lineno`, :attr:`~ast.AST.col_offset`, :" +"attr:`~ast.AST.end_lineno`, and :attr:`~ast.AST.end_col_offset`) from " +"*old_node* to *new_node* if possible, and return *new_node*." msgstr "" -#: library/ast.rst:2317 +#: library/ast.rst:2316 msgid "" "Yield a tuple of ``(fieldname, value)`` for each field in ``node._fields`` " "that is present on *node*." msgstr "" -#: library/ast.rst:2323 +#: library/ast.rst:2322 msgid "" "Yield all direct child nodes of *node*, that is, all fields that are nodes " "and all items of fields that are lists of nodes." msgstr "" -#: library/ast.rst:2329 +#: library/ast.rst:2328 msgid "" "Recursively yield all descendant nodes in the tree starting at *node* " "(including *node* itself), in no specified order. This is useful if you " "only want to modify nodes in place and don't care about the context." msgstr "" -#: library/ast.rst:2336 +#: library/ast.rst:2335 msgid "" "A node visitor base class that walks the abstract syntax tree and calls a " "visitor function for every node found. This function may return a value " "which is forwarded by the :meth:`visit` method." msgstr "" -#: library/ast.rst:2340 +#: library/ast.rst:2339 msgid "" "This class is meant to be subclassed, with the subclass adding visitor " "methods." msgstr "" -#: library/ast.rst:2345 +#: library/ast.rst:2344 msgid "" "Visit a node. The default implementation calls the method called :samp:" "`self.visit_{classname}` where *classname* is the name of the node class, " "or :meth:`generic_visit` if that method doesn't exist." msgstr "" -#: library/ast.rst:2351 +#: library/ast.rst:2350 msgid "This visitor calls :meth:`visit` on all children of the node." msgstr "" -#: library/ast.rst:2353 +#: library/ast.rst:2352 msgid "" "Note that child nodes of nodes that have a custom visitor method won't be " "visited unless the visitor calls :meth:`generic_visit` or visits them itself." msgstr "" -#: library/ast.rst:2357 +#: library/ast.rst:2358 +msgid "Handles all constant nodes." +msgstr "" + +#: library/ast.rst:2360 msgid "" "Don't use the :class:`NodeVisitor` if you want to apply changes to nodes " "during traversal. For this a special visitor exists (:class:" "`NodeTransformer`) that allows modifications." msgstr "" -#: library/ast.rst:2363 +#: library/ast.rst:2366 msgid "" -"Methods :meth:`visit_Num`, :meth:`visit_Str`, :meth:`visit_Bytes`, :meth:" -"`visit_NameConstant` and :meth:`visit_Ellipsis` are deprecated now and will " -"not be called in future Python versions. Add the :meth:`visit_Constant` " -"method to handle all constant nodes." +"Methods :meth:`!visit_Num`, :meth:`!visit_Str`, :meth:`!visit_Bytes`, :meth:" +"`!visit_NameConstant` and :meth:`!visit_Ellipsis` are deprecated now and " +"will not be called in future Python versions. Add the :meth:" +"`visit_Constant` method to handle all constant nodes." msgstr "" -#: library/ast.rst:2371 +#: library/ast.rst:2374 msgid "" "A :class:`NodeVisitor` subclass that walks the abstract syntax tree and " "allows modification of nodes." msgstr "" -#: library/ast.rst:2374 +#: library/ast.rst:2377 msgid "" "The :class:`NodeTransformer` will walk the AST and use the return value of " "the visitor methods to replace or remove the old node. If the return value " @@ -1281,39 +1286,39 @@ msgid "" "may be the original node in which case no replacement takes place." msgstr "" -#: library/ast.rst:2380 +#: library/ast.rst:2383 msgid "" "Here is an example transformer that rewrites all occurrences of name lookups " "(``foo``) to ``data['foo']``::" msgstr "" -#: library/ast.rst:2392 +#: library/ast.rst:2395 msgid "" "Keep in mind that if the node you're operating on has child nodes you must " -"either transform the child nodes yourself or call the :meth:`generic_visit` " -"method for the node first." +"either transform the child nodes yourself or call the :meth:`~ast." +"NodeVisitor.generic_visit` method for the node first." msgstr "" -#: library/ast.rst:2396 +#: library/ast.rst:2399 msgid "" "For nodes that were part of a collection of statements (that applies to all " "statement nodes), the visitor may also return a list of nodes rather than " "just a single node." msgstr "" -#: library/ast.rst:2400 +#: library/ast.rst:2403 msgid "" "If :class:`NodeTransformer` introduces new nodes (that weren't part of " -"original tree) without giving them location information (such as :attr:" -"`lineno`), :func:`fix_missing_locations` should be called with the new sub-" -"tree to recalculate the location information::" +"original tree) without giving them location information (such as :attr:`~ast." +"AST.lineno`), :func:`fix_missing_locations` should be called with the new " +"sub-tree to recalculate the location information::" msgstr "" -#: library/ast.rst:2408 +#: library/ast.rst:2411 msgid "Usually you use the transformer like this::" msgstr "" -#: library/ast.rst:2415 +#: library/ast.rst:2418 msgid "" "Return a formatted dump of the tree in *node*. This is mainly useful for " "debugging purposes. If *annotate_fields* is true (by default), the returned " @@ -1324,7 +1329,7 @@ msgid "" "true." msgstr "" -#: library/ast.rst:2423 +#: library/ast.rst:2426 msgid "" "If *indent* is a non-negative integer or string, then the tree will be " "pretty-printed with that indent level. An indent level of 0, negative, or " @@ -1334,87 +1339,87 @@ msgid "" "string is used to indent each level." msgstr "" -#: library/ast.rst:2430 +#: library/ast.rst:2433 msgid "Added the *indent* option." msgstr "" -#: library/ast.rst:2437 +#: library/ast.rst:2440 msgid "Compiler Flags" msgstr "" -#: library/ast.rst:2439 +#: library/ast.rst:2442 msgid "" "The following flags may be passed to :func:`compile` in order to change " "effects on the compilation of a program:" msgstr "" -#: library/ast.rst:2444 +#: library/ast.rst:2447 msgid "" "Enables support for top-level ``await``, ``async for``, ``async with`` and " "async comprehensions." msgstr "" -#: library/ast.rst:2451 +#: library/ast.rst:2454 msgid "" "Generates and returns an abstract syntax tree instead of returning a " "compiled code object." msgstr "" -#: library/ast.rst:2456 +#: library/ast.rst:2459 msgid "" "Enables support for :pep:`484` and :pep:`526` style type comments (``# type: " "``, ``# type: ignore ``)." msgstr "" -#: library/ast.rst:2465 +#: library/ast.rst:2468 msgid "Command-Line Usage" msgstr "" -#: library/ast.rst:2469 +#: library/ast.rst:2472 msgid "" "The :mod:`ast` module can be executed as a script from the command line. It " "is as simple as:" msgstr "" -#: library/ast.rst:2476 +#: library/ast.rst:2479 msgid "The following options are accepted:" msgstr "" -#: library/ast.rst:2482 +#: library/ast.rst:2485 msgid "Show the help message and exit." msgstr "" -#: library/ast.rst:2487 +#: library/ast.rst:2490 msgid "" "Specify what kind of code must be compiled, like the *mode* argument in :" "func:`parse`." msgstr "" -#: library/ast.rst:2492 +#: library/ast.rst:2495 msgid "Don't parse type comments." msgstr "" -#: library/ast.rst:2496 +#: library/ast.rst:2499 msgid "Include attributes such as line numbers and column offsets." msgstr "" -#: library/ast.rst:2501 +#: library/ast.rst:2504 msgid "Indentation of nodes in AST (number of spaces)." msgstr "" -#: library/ast.rst:2503 +#: library/ast.rst:2506 msgid "" "If :file:`infile` is specified its contents are parsed to AST and dumped to " "stdout. Otherwise, the content is read from stdin." msgstr "" -#: library/ast.rst:2509 +#: library/ast.rst:2512 msgid "" "`Green Tree Snakes `_, an external " "documentation resource, has good details on working with Python ASTs." msgstr "" -#: library/ast.rst:2512 +#: library/ast.rst:2515 msgid "" "`ASTTokens `_ " "annotates Python ASTs with the positions of tokens and text in the source " @@ -1422,21 +1427,21 @@ msgid "" "transformations." msgstr "" -#: library/ast.rst:2517 +#: library/ast.rst:2520 msgid "" "`leoAst.py `_ unifies the " "token-based and parse-tree-based views of python programs by inserting two-" "way links between tokens and ast nodes." msgstr "" -#: library/ast.rst:2521 +#: library/ast.rst:2524 msgid "" "`LibCST `_ parses code as a Concrete Syntax " "Tree that looks like an ast tree and keeps all formatting details. It's " "useful for building automated refactoring (codemod) applications and linters." msgstr "" -#: library/ast.rst:2526 +#: library/ast.rst:2529 msgid "" "`Parso `_ is a Python parser that supports " "error recovery and round-trip parsing for different Python versions (in " diff --git a/library/bdb.po b/library/bdb.po index eb45734b5..e02b84664 100644 --- a/library/bdb.po +++ b/library/bdb.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -415,7 +415,7 @@ msgstr "" #: library/bdb.rst:296 msgid "" "Set the :attr:`quitting` attribute to ``True``. This raises :exc:`BdbQuit` " -"in the next call to one of the :meth:`dispatch_\\*` methods." +"in the next call to one of the :meth:`!dispatch_\\*` methods." msgstr "" #: library/bdb.rst:300 diff --git a/library/bisect.po b/library/bisect.po index 879c3753b..c9d757302 100644 --- a/library/bisect.po +++ b/library/bisect.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -37,10 +37,10 @@ msgid "" "The module is called :mod:`bisect` because it uses a basic bisection " "algorithm to do its work. Unlike other bisection tools that search for a " "specific value, the functions in this module are designed to locate an " -"insertion point. Accordingly, the functions never call an :meth:`__eq__` " -"method to determine whether a value has been found. Instead, the functions " -"only call the :meth:`__lt__` method and will return an insertion point " -"between values in an array." +"insertion point. Accordingly, the functions never call an :meth:`~object." +"__eq__` method to determine whether a value has been found. Instead, the " +"functions only call the :meth:`~object.__lt__` method and will return an " +"insertion point between values in an array." msgstr "" #: library/bisect.rst:29 @@ -103,7 +103,7 @@ msgstr "" #: library/bisect.rst:75 msgid "" "This function first runs :py:func:`~bisect.bisect_left` to locate an " -"insertion point. Next, it runs the :meth:`insert` method on *a* to insert " +"insertion point. Next, it runs the :meth:`!insert` method on *a* to insert " "*x* at the appropriate position to maintain sort order." msgstr "" @@ -128,7 +128,7 @@ msgstr "" #: library/bisect.rst:95 msgid "" "This function first runs :py:func:`~bisect.bisect_right` to locate an " -"insertion point. Next, it runs the :meth:`insert` method on *a* to insert " +"insertion point. Next, it runs the :meth:`!insert` method on *a* to insert " "*x* at the appropriate position to maintain sort order." msgstr "" diff --git a/library/calendar.po b/library/calendar.po index cc05499e4..866df7460 100644 --- a/library/calendar.po +++ b/library/calendar.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -216,95 +216,101 @@ msgid "" "(defaulting to the system default encoding)." msgstr "" -#: library/calendar.rst:199 +#: library/calendar.rst:201 +msgid "" +"Return a month name as an HTML table row. If *withyear* is true the year " +"will be included in the row, otherwise just the month name will be used." +msgstr "" + +#: library/calendar.rst:206 msgid "" ":class:`!HTMLCalendar` has the following attributes you can override to " "customize the CSS classes used by the calendar:" msgstr "" -#: library/calendar.rst:204 +#: library/calendar.rst:211 msgid "" "A list of CSS classes used for each weekday. The default class list is::" msgstr "" -#: library/calendar.rst:208 +#: library/calendar.rst:215 msgid "more styles can be added for each day::" msgstr "" -#: library/calendar.rst:212 +#: library/calendar.rst:219 msgid "Note that the length of this list must be seven items." msgstr "" -#: library/calendar.rst:217 +#: library/calendar.rst:224 msgid "The CSS class for a weekday occurring in the previous or coming month." msgstr "" -#: library/calendar.rst:224 +#: library/calendar.rst:231 msgid "" "A list of CSS classes used for weekday names in the header row. The default " "is the same as :attr:`cssclasses`." msgstr "" -#: library/calendar.rst:232 +#: library/calendar.rst:239 msgid "" "The month's head CSS class (used by :meth:`formatmonthname`). The default " "value is ``\"month\"``." msgstr "" -#: library/calendar.rst:240 +#: library/calendar.rst:247 msgid "" "The CSS class for the whole month's table (used by :meth:`formatmonth`). The " "default value is ``\"month\"``." msgstr "" -#: library/calendar.rst:248 +#: library/calendar.rst:255 msgid "" "The CSS class for the whole year's table of tables (used by :meth:" "`formatyear`). The default value is ``\"year\"``." msgstr "" -#: library/calendar.rst:256 +#: library/calendar.rst:263 msgid "" "The CSS class for the table head for the whole year (used by :meth:" "`formatyear`). The default value is ``\"year\"``." msgstr "" -#: library/calendar.rst:262 +#: library/calendar.rst:269 msgid "" "Note that although the naming for the above described class attributes is " "singular (e.g. ``cssclass_month`` ``cssclass_noday``), one can replace the " "single CSS class with a space separated list of CSS classes, for example::" msgstr "" -#: library/calendar.rst:268 +#: library/calendar.rst:275 msgid "Here is an example how :class:`!HTMLCalendar` can be customized::" msgstr "" -#: library/calendar.rst:280 +#: library/calendar.rst:287 msgid "" "This subclass of :class:`TextCalendar` can be passed a locale name in the " "constructor and will return month and weekday names in the specified locale." msgstr "" -#: library/calendar.rst:286 +#: library/calendar.rst:293 msgid "" "This subclass of :class:`HTMLCalendar` can be passed a locale name in the " "constructor and will return month and weekday names in the specified locale." msgstr "" -#: library/calendar.rst:292 +#: library/calendar.rst:299 msgid "" -"The constructor, :meth:`formatweekday` and :meth:`formatmonthname` methods " +"The constructor, :meth:`!formatweekday` and :meth:`!formatmonthname` methods " "of these two classes temporarily change the ``LC_TIME`` locale to the given " "*locale*. Because the current locale is a process-wide setting, they are not " "thread-safe." msgstr "" -#: library/calendar.rst:298 +#: library/calendar.rst:305 msgid "For simple text calendars this module provides the following functions." msgstr "" -#: library/calendar.rst:302 +#: library/calendar.rst:309 msgid "" "Sets the weekday (``0`` is Monday, ``6`` is Sunday) to start each week. The " "values :const:`MONDAY`, :const:`TUESDAY`, :const:`WEDNESDAY`, :const:" @@ -312,72 +318,72 @@ msgid "" "provided for convenience. For example, to set the first weekday to Sunday::" msgstr "" -#: library/calendar.rst:313 +#: library/calendar.rst:320 msgid "Returns the current setting for the weekday to start each week." msgstr "" -#: library/calendar.rst:318 +#: library/calendar.rst:325 msgid "" "Returns :const:`True` if *year* is a leap year, otherwise :const:`False`." msgstr "" -#: library/calendar.rst:323 +#: library/calendar.rst:330 msgid "" "Returns the number of leap years in the range from *y1* to *y2* (exclusive), " "where *y1* and *y2* are years." msgstr "" -#: library/calendar.rst:326 +#: library/calendar.rst:333 msgid "This function works for ranges spanning a century change." msgstr "" -#: library/calendar.rst:331 +#: library/calendar.rst:338 msgid "" "Returns the day of the week (``0`` is Monday) for *year* (``1970``--...), " "*month* (``1``--``12``), *day* (``1``--``31``)." msgstr "" -#: library/calendar.rst:337 +#: library/calendar.rst:344 msgid "" "Return a header containing abbreviated weekday names. *n* specifies the " "width in characters for one weekday." msgstr "" -#: library/calendar.rst:343 +#: library/calendar.rst:350 msgid "" "Returns weekday of first day of the month and number of days in month, for " "the specified *year* and *month*." msgstr "" -#: library/calendar.rst:349 +#: library/calendar.rst:356 msgid "" "Returns a matrix representing a month's calendar. Each row represents a " "week; days outside of the month are represented by zeros. Each week begins " "with Monday unless set by :func:`setfirstweekday`." msgstr "" -#: library/calendar.rst:356 +#: library/calendar.rst:363 msgid "Prints a month's calendar as returned by :func:`month`." msgstr "" -#: library/calendar.rst:361 +#: library/calendar.rst:368 msgid "" "Returns a month's calendar in a multi-line string using the :meth:" -"`formatmonth` of the :class:`TextCalendar` class." +"`~TextCalendar.formatmonth` of the :class:`TextCalendar` class." msgstr "" -#: library/calendar.rst:367 +#: library/calendar.rst:374 msgid "" "Prints the calendar for an entire year as returned by :func:`calendar`." msgstr "" -#: library/calendar.rst:372 +#: library/calendar.rst:379 msgid "" "Returns a 3-column calendar for an entire year as a multi-line string using " -"the :meth:`formatyear` of the :class:`TextCalendar` class." +"the :meth:`~TextCalendar.formatyear` of the :class:`TextCalendar` class." msgstr "" -#: library/calendar.rst:378 +#: library/calendar.rst:385 msgid "" "An unrelated but handy function that takes a time tuple such as returned by " "the :func:`~time.gmtime` function in the :mod:`time` module, and returns the " @@ -386,182 +392,182 @@ msgid "" "inverse." msgstr "" -#: library/calendar.rst:385 +#: library/calendar.rst:392 msgid "The :mod:`calendar` module exports the following data attributes:" msgstr "" -#: library/calendar.rst:389 +#: library/calendar.rst:396 msgid "An array that represents the days of the week in the current locale." msgstr "" -#: library/calendar.rst:394 +#: library/calendar.rst:401 msgid "" "An array that represents the abbreviated days of the week in the current " "locale." msgstr "" -#: library/calendar.rst:405 +#: library/calendar.rst:412 msgid "" "Aliases for the days of the week, where ``MONDAY`` is ``0`` and ``SUNDAY`` " "is ``6``." msgstr "" -#: library/calendar.rst:413 +#: library/calendar.rst:420 msgid "" "Enumeration defining days of the week as integer constants. The members of " "this enumeration are exported to the module scope as :data:`MONDAY` through :" "data:`SUNDAY`." msgstr "" -#: library/calendar.rst:422 +#: library/calendar.rst:429 msgid "" "An array that represents the months of the year in the current locale. This " "follows normal convention of January being month number 1, so it has a " "length of 13 and ``month_name[0]`` is the empty string." msgstr "" -#: library/calendar.rst:429 +#: library/calendar.rst:436 msgid "" "An array that represents the abbreviated months of the year in the current " "locale. This follows normal convention of January being month number 1, so " "it has a length of 13 and ``month_abbr[0]`` is the empty string." msgstr "" -#: library/calendar.rst:447 +#: library/calendar.rst:454 msgid "" "Aliases for the months of the year, where ``JANUARY`` is ``1`` and " "``DECEMBER`` is ``12``." msgstr "" -#: library/calendar.rst:455 +#: library/calendar.rst:462 msgid "" "Enumeration defining months of the year as integer constants. The members of " "this enumeration are exported to the module scope as :data:`JANUARY` " "through :data:`DECEMBER`." msgstr "" -#: library/calendar.rst:462 +#: library/calendar.rst:469 msgid "The :mod:`calendar` module defines the following exceptions:" msgstr "" -#: library/calendar.rst:466 +#: library/calendar.rst:473 msgid "" "A subclass of :exc:`ValueError`, raised when the given month number is " "outside of the range 1-12 (inclusive)." msgstr "" -#: library/calendar.rst:471 +#: library/calendar.rst:478 msgid "The invalid month number." msgstr "" -#: library/calendar.rst:476 +#: library/calendar.rst:483 msgid "" "A subclass of :exc:`ValueError`, raised when the given weekday number is " "outside of the range 0-6 (inclusive)." msgstr "" -#: library/calendar.rst:481 +#: library/calendar.rst:488 msgid "The invalid weekday number." msgstr "" -#: library/calendar.rst:488 +#: library/calendar.rst:495 msgid "Module :mod:`datetime`" msgstr "" -#: library/calendar.rst:487 +#: library/calendar.rst:494 msgid "" "Object-oriented interface to dates and times with similar functionality to " "the :mod:`time` module." msgstr "" -#: library/calendar.rst:490 +#: library/calendar.rst:497 msgid "Module :mod:`time`" msgstr "" -#: library/calendar.rst:491 +#: library/calendar.rst:498 msgid "Low-level time related functions." msgstr "" -#: library/calendar.rst:497 +#: library/calendar.rst:504 msgid "Command-Line Usage" msgstr "" -#: library/calendar.rst:501 +#: library/calendar.rst:508 msgid "" "The :mod:`calendar` module can be executed as a script from the command line " "to interactively print a calendar." msgstr "" -#: library/calendar.rst:511 +#: library/calendar.rst:518 msgid "For example, to print a calendar for the year 2000:" msgstr "" -#: library/calendar.rst:554 +#: library/calendar.rst:561 msgid "The following options are accepted:" msgstr "" -#: library/calendar.rst:561 +#: library/calendar.rst:568 msgid "Show the help message and exit." msgstr "" -#: library/calendar.rst:566 +#: library/calendar.rst:573 msgid "The locale to use for month and weekday names. Defaults to English." msgstr "" -#: library/calendar.rst:572 +#: library/calendar.rst:579 msgid "" "The encoding to use for output. :option:`--encoding` is required if :option:" "`--locale` is set." msgstr "" -#: library/calendar.rst:578 +#: library/calendar.rst:585 msgid "Print the calendar to the terminal as text, or as an HTML document." msgstr "" -#: library/calendar.rst:584 +#: library/calendar.rst:591 msgid "" "The year to print the calendar for. Must be a number between 1 and 9999. " "Defaults to the current year." msgstr "" -#: library/calendar.rst:591 +#: library/calendar.rst:598 msgid "" "The month of the specified :option:`year` to print the calendar for. Must be " "a number between 1 and 12, and may only be used in text mode. Defaults to " "printing a calendar for the full year." msgstr "" -#: library/calendar.rst:597 +#: library/calendar.rst:604 msgid "*Text-mode options:*" msgstr "" -#: library/calendar.rst:601 +#: library/calendar.rst:608 msgid "" "The width of the date column in terminal columns. The date is printed " "centred in the column. Any value lower than 2 is ignored. Defaults to 2." msgstr "" -#: library/calendar.rst:609 +#: library/calendar.rst:616 msgid "" "The number of lines for each week in terminal rows. The date is printed top-" "aligned. Any value lower than 1 is ignored. Defaults to 1." msgstr "" -#: library/calendar.rst:617 +#: library/calendar.rst:624 msgid "" "The space between months in columns. Any value lower than 2 is ignored. " "Defaults to 6." msgstr "" -#: library/calendar.rst:624 +#: library/calendar.rst:631 msgid "The number of months printed per row. Defaults to 3." msgstr "" -#: library/calendar.rst:628 +#: library/calendar.rst:635 msgid "*HTML-mode options:*" msgstr "" -#: library/calendar.rst:632 +#: library/calendar.rst:639 msgid "" "The path of a CSS stylesheet to use for the calendar. This must either be " "relative to the generated HTML, or an absolute HTTP or ``file:///`` URL." diff --git a/library/cmd.po b/library/cmd.po index b7c2c594c..b7a22383c 100644 --- a/library/cmd.po +++ b/library/cmd.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -101,24 +101,24 @@ msgstr "" #: library/cmd.rst:68 msgid "" "An interpreter instance will recognize a command name ``foo`` if and only if " -"it has a method :meth:`do_foo`. As a special case, a line beginning with " +"it has a method :meth:`!do_foo`. As a special case, a line beginning with " "the character ``'?'`` is dispatched to the method :meth:`do_help`. As " "another special case, a line beginning with the character ``'!'`` is " -"dispatched to the method :meth:`do_shell` (if such a method is defined)." +"dispatched to the method :meth:`!do_shell` (if such a method is defined)." msgstr "" #: library/cmd.rst:74 msgid "" "This method will return when the :meth:`postcmd` method returns a true " "value. The *stop* argument to :meth:`postcmd` is the return value from the " -"command's corresponding :meth:`do_\\*` method." +"command's corresponding :meth:`!do_\\*` method." msgstr "" #: library/cmd.rst:78 msgid "" "If completion is enabled, completing commands will be done automatically, " -"and completing of commands args is done by calling :meth:`complete_foo` with " -"arguments *text*, *line*, *begidx*, and *endidx*. *text* is the string " +"and completing of commands args is done by calling :meth:`!complete_foo` " +"with arguments *text*, *line*, *begidx*, and *endidx*. *text* is the string " "prefix we are attempting to match: all returned matches must begin with it. " "*line* is the current input line with leading whitespace removed, *begidx* " "and *endidx* are the beginning and ending indexes of the prefix text, which " @@ -126,54 +126,54 @@ msgid "" "the argument is in." msgstr "" -#: library/cmd.rst:86 +#: library/cmd.rst:89 msgid "" -"All subclasses of :class:`Cmd` inherit a predefined :meth:`do_help`. This " +"All subclasses of :class:`Cmd` inherit a predefined :meth:`!do_help`. This " "method, called with an argument ``'bar'``, invokes the corresponding method :" -"meth:`help_bar`, and if that is not present, prints the docstring of :meth:" -"`do_bar`, if available. With no argument, :meth:`do_help` lists all " -"available help topics (that is, all commands with corresponding :meth:" -"`help_\\*` methods or commands that have docstrings), and also lists any " +"meth:`!help_bar`, and if that is not present, prints the docstring of :meth:" +"`!do_bar`, if available. With no argument, :meth:`!do_help` lists all " +"available help topics (that is, all commands with corresponding :meth:`!" +"help_\\*` methods or commands that have docstrings), and also lists any " "undocumented commands." msgstr "" -#: library/cmd.rst:97 +#: library/cmd.rst:100 msgid "" "Interpret the argument as though it had been typed in response to the " "prompt. This may be overridden, but should not normally need to be; see the :" "meth:`precmd` and :meth:`postcmd` methods for useful execution hooks. The " "return value is a flag indicating whether interpretation of commands by the " -"interpreter should stop. If there is a :meth:`do_\\*` method for the " +"interpreter should stop. If there is a :meth:`!do_\\*` method for the " "command *str*, the return value of that method is returned, otherwise the " "return value from the :meth:`default` method is returned." msgstr "" -#: library/cmd.rst:108 +#: library/cmd.rst:111 msgid "" "Method called when an empty line is entered in response to the prompt. If " "this method is not overridden, it repeats the last nonempty command entered." msgstr "" -#: library/cmd.rst:114 +#: library/cmd.rst:117 msgid "" "Method called on an input line when the command prefix is not recognized. If " "this method is not overridden, it prints an error message and returns." msgstr "" -#: library/cmd.rst:120 +#: library/cmd.rst:123 msgid "" -"Method called to complete an input line when no command-specific :meth:" -"`complete_\\*` method is available. By default, it returns an empty list." +"Method called to complete an input line when no command-specific :meth:`!" +"complete_\\*` method is available. By default, it returns an empty list." msgstr "" -#: library/cmd.rst:126 +#: library/cmd.rst:129 msgid "" "Method called to display a list of strings as a compact set of columns. Each " "column is only as wide as necessary. Columns are separated by two spaces for " "readability." msgstr "" -#: library/cmd.rst:133 +#: library/cmd.rst:136 msgid "" "Hook method executed just before the command line *line* is interpreted, but " "after the input prompt is generated and issued. This method is a stub in :" @@ -183,7 +183,7 @@ msgid "" "*line* unchanged." msgstr "" -#: library/cmd.rst:143 +#: library/cmd.rst:146 msgid "" "Hook method executed just after a command dispatch is finished. This method " "is a stub in :class:`Cmd`; it exists to be overridden by subclasses. *line* " @@ -194,117 +194,117 @@ msgid "" "corresponds to *stop*; returning false will cause interpretation to continue." msgstr "" -#: library/cmd.rst:154 +#: library/cmd.rst:157 msgid "" "Hook method executed once when :meth:`cmdloop` is called. This method is a " "stub in :class:`Cmd`; it exists to be overridden by subclasses." msgstr "" -#: library/cmd.rst:160 +#: library/cmd.rst:163 msgid "" "Hook method executed once when :meth:`cmdloop` is about to return. This " "method is a stub in :class:`Cmd`; it exists to be overridden by subclasses." msgstr "" -#: library/cmd.rst:164 +#: library/cmd.rst:167 msgid "" "Instances of :class:`Cmd` subclasses have some public instance variables:" msgstr "" -#: library/cmd.rst:168 +#: library/cmd.rst:171 msgid "The prompt issued to solicit input." msgstr "" -#: library/cmd.rst:173 +#: library/cmd.rst:176 msgid "The string of characters accepted for the command prefix." msgstr "" -#: library/cmd.rst:178 +#: library/cmd.rst:181 msgid "The last nonempty command prefix seen." msgstr "" -#: library/cmd.rst:183 +#: library/cmd.rst:186 msgid "" "A list of queued input lines. The cmdqueue list is checked in :meth:" "`cmdloop` when new input is needed; if it is nonempty, its elements will be " "processed in order, as if entered at the prompt." msgstr "" -#: library/cmd.rst:190 +#: library/cmd.rst:193 msgid "" "A string to issue as an intro or banner. May be overridden by giving the :" "meth:`cmdloop` method an argument." msgstr "" -#: library/cmd.rst:196 +#: library/cmd.rst:199 msgid "" "The header to issue if the help output has a section for documented commands." msgstr "" -#: library/cmd.rst:201 +#: library/cmd.rst:204 msgid "" "The header to issue if the help output has a section for miscellaneous help " -"topics (that is, there are :meth:`help_\\*` methods without corresponding :" -"meth:`do_\\*` methods)." +"topics (that is, there are :meth:`!help_\\*` methods without corresponding :" +"meth:`!do_\\*` methods)." msgstr "" -#: library/cmd.rst:208 +#: library/cmd.rst:211 msgid "" "The header to issue if the help output has a section for undocumented " -"commands (that is, there are :meth:`do_\\*` methods without corresponding :" -"meth:`help_\\*` methods)." +"commands (that is, there are :meth:`!do_\\*` methods without corresponding :" +"meth:`!help_\\*` methods)." msgstr "" -#: library/cmd.rst:215 +#: library/cmd.rst:218 msgid "" "The character used to draw separator lines under the help-message headers. " "If empty, no ruler line is drawn. It defaults to ``'='``." msgstr "" -#: library/cmd.rst:221 +#: library/cmd.rst:224 msgid "" "A flag, defaulting to true. If true, :meth:`cmdloop` uses :func:`input` to " -"display a prompt and read the next command; if false, :meth:`sys.stdout." -"write` and :meth:`sys.stdin.readline` are used. (This means that by " -"importing :mod:`readline`, on systems that support it, the interpreter will " -"automatically support :program:`Emacs`\\ -like line editing and command-" -"history keystrokes.)" +"display a prompt and read the next command; if false, :data:`sys.stdout." +"write() ` and :data:`sys.stdin.readline() ` are used. " +"(This means that by importing :mod:`readline`, on systems that support it, " +"the interpreter will automatically support :program:`Emacs`\\ -like line " +"editing and command-history keystrokes.)" msgstr "" -#: library/cmd.rst:231 +#: library/cmd.rst:234 msgid "Cmd Example" msgstr "" -#: library/cmd.rst:235 +#: library/cmd.rst:238 msgid "" "The :mod:`cmd` module is mainly useful for building custom shells that let a " "user work with a program interactively." msgstr "" -#: library/cmd.rst:238 +#: library/cmd.rst:241 msgid "" "This section presents a simple example of how to build a shell around a few " "of the commands in the :mod:`turtle` module." msgstr "" -#: library/cmd.rst:241 +#: library/cmd.rst:244 msgid "" "Basic turtle commands such as :meth:`~turtle.forward` are added to a :class:" -"`Cmd` subclass with method named :meth:`do_forward`. The argument is " +"`Cmd` subclass with method named :meth:`!do_forward`. The argument is " "converted to a number and dispatched to the turtle module. The docstring is " "used in the help utility provided by the shell." msgstr "" -#: library/cmd.rst:246 +#: library/cmd.rst:249 msgid "" "The example also includes a basic record and playback facility implemented " "with the :meth:`~Cmd.precmd` method which is responsible for converting the " -"input to lowercase and writing the commands to a file. The :meth:" -"`do_playback` method reads the file and adds the recorded commands to the :" -"attr:`cmdqueue` for immediate playback::" +"input to lowercase and writing the commands to a file. The :meth:`!" +"do_playback` method reads the file and adds the recorded commands to the :" +"attr:`~Cmd.cmdqueue` for immediate playback::" msgstr "" -#: library/cmd.rst:327 +#: library/cmd.rst:330 msgid "" "Here is a sample session with the turtle shell showing the help functions, " "using blank lines to repeat commands, and the simple record and playback " diff --git a/library/collections.abc.po b/library/collections.abc.po index 04ef1e8cf..533d4fe18 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,7 +32,8 @@ msgstr "" msgid "" "This module provides :term:`abstract base classes ` " "that can be used to test whether a class provides a particular interface; " -"for example, whether it is :term:`hashable` or whether it is a mapping." +"for example, whether it is :term:`hashable` or whether it is a :term:" +"`mapping`." msgstr "" #: library/collections.abc.rst:27 @@ -61,7 +62,7 @@ msgstr "" #: library/collections.abc.rst:76 msgid "" -"In this example, class :class:`D` does not need to define ``__contains__``, " +"In this example, class :class:`!D` does not need to define ``__contains__``, " "``__iter__``, and ``__reversed__`` because the :ref:`in-operator " "`, the :term:`iteration ` logic, and the :func:" "`reversed` function automatically fall back to using ``__getitem__`` and " @@ -405,8 +406,8 @@ msgstr "" #: library/collections.abc.rst:186 msgid "" -"These ABCs override :meth:`object.__subclasshook__` to support testing an " -"interface by verifying the required methods are present and have not been " +"These ABCs override :meth:`~abc.ABCMeta.__subclasshook__` to support testing " +"an interface by verifying the required methods are present and have not been " "set to :const:`None`. This only works for simple interfaces. More complex " "interfaces require registration or direct subclassing." msgstr "" @@ -414,8 +415,8 @@ msgstr "" #: library/collections.abc.rst:192 msgid "" "Checking ``isinstance(obj, Iterable)`` detects classes that are registered " -"as :class:`Iterable` or that have an :meth:`__iter__` method, but it does " -"not detect classes that iterate with the :meth:`~object.__getitem__` " +"as :class:`Iterable` or that have an :meth:`~container.__iter__` method, but " +"it does not detect classes that iterate with the :meth:`~object.__getitem__` " "method. The only reliable way to determine whether an object is :term:" "`iterable` is to call ``iter(obj)``." msgstr "" @@ -425,218 +426,220 @@ msgid "Collections Abstract Base Classes -- Detailed Descriptions" msgstr "" #: library/collections.abc.rst:205 -msgid "ABC for classes that provide the :meth:`__contains__` method." +msgid "ABC for classes that provide the :meth:`~object.__contains__` method." msgstr "" #: library/collections.abc.rst:209 -msgid "ABC for classes that provide the :meth:`__hash__` method." +msgid "ABC for classes that provide the :meth:`~object.__hash__` method." msgstr "" #: library/collections.abc.rst:213 -msgid "ABC for classes that provide the :meth:`__len__` method." +msgid "ABC for classes that provide the :meth:`~object.__len__` method." msgstr "" #: library/collections.abc.rst:217 -msgid "ABC for classes that provide the :meth:`__call__` method." +msgid "ABC for classes that provide the :meth:`~object.__call__` method." msgstr "" #: library/collections.abc.rst:221 -msgid "ABC for classes that provide the :meth:`__iter__` method." +msgid "ABC for classes that provide the :meth:`~container.__iter__` method." msgstr "" #: library/collections.abc.rst:223 msgid "" "Checking ``isinstance(obj, Iterable)`` detects classes that are registered " -"as :class:`Iterable` or that have an :meth:`__iter__` method, but it does " -"not detect classes that iterate with the :meth:`~object.__getitem__` method. " -"The only reliable way to determine whether an object is :term:`iterable` is " -"to call ``iter(obj)``." +"as :class:`Iterable` or that have an :meth:`~container.__iter__` method, but " +"it does not detect classes that iterate with the :meth:`~object.__getitem__` " +"method. The only reliable way to determine whether an object is :term:" +"`iterable` is to call ``iter(obj)``." msgstr "" -#: library/collections.abc.rst:231 +#: library/collections.abc.rst:232 msgid "ABC for sized iterable container classes." msgstr "" -#: library/collections.abc.rst:237 +#: library/collections.abc.rst:238 msgid "" "ABC for classes that provide the :meth:`~iterator.__iter__` and :meth:" "`~iterator.__next__` methods. See also the definition of :term:`iterator`." msgstr "" -#: library/collections.abc.rst:243 +#: library/collections.abc.rst:244 msgid "" -"ABC for iterable classes that also provide the :meth:`__reversed__` method." +"ABC for iterable classes that also provide the :meth:`~object.__reversed__` " +"method." msgstr "" -#: library/collections.abc.rst:250 +#: library/collections.abc.rst:251 msgid "" -"ABC for generator classes that implement the protocol defined in :pep:`342` " -"that extends iterators with the :meth:`~generator.send`, :meth:`~generator." -"throw` and :meth:`~generator.close` methods. See also the definition of :" -"term:`generator`." +"ABC for :term:`generator` classes that implement the protocol defined in :" +"pep:`342` that extends :term:`iterators ` with the :meth:" +"`~generator.send`, :meth:`~generator.throw` and :meth:`~generator.close` " +"methods." msgstr "" -#: library/collections.abc.rst:261 +#: library/collections.abc.rst:262 msgid "ABCs for read-only and mutable :term:`sequences `." msgstr "" -#: library/collections.abc.rst:263 +#: library/collections.abc.rst:264 msgid "" -"Implementation note: Some of the mixin methods, such as :meth:`__iter__`, :" -"meth:`__reversed__` and :meth:`index`, make repeated calls to the " -"underlying :meth:`~object.__getitem__` method. Consequently, if :meth:" -"`~object.__getitem__` is implemented with constant access speed, the mixin " -"methods will have linear performance; however, if the underlying method is " -"linear (as it would be with a linked list), the mixins will have quadratic " -"performance and will likely need to be overridden." +"Implementation note: Some of the mixin methods, such as :meth:`~container." +"__iter__`, :meth:`~object.__reversed__` and :meth:`index`, make repeated " +"calls to the underlying :meth:`~object.__getitem__` method. Consequently, " +"if :meth:`~object.__getitem__` is implemented with constant access speed, " +"the mixin methods will have linear performance; however, if the underlying " +"method is linear (as it would be with a linked list), the mixins will have " +"quadratic performance and will likely need to be overridden." msgstr "" -#: library/collections.abc.rst:272 +#: library/collections.abc.rst:273 msgid "The index() method added support for *stop* and *start* arguments." msgstr "" -#: library/collections.abc.rst:280 +#: library/collections.abc.rst:281 msgid "" "The :class:`ByteString` ABC has been deprecated. For use in typing, prefer a " "union, like ``bytes | bytearray``, or :class:`collections.abc.Buffer`. For " "use as an ABC, prefer :class:`Sequence` or :class:`collections.abc.Buffer`." msgstr "" -#: library/collections.abc.rst:285 -msgid "ABCs for read-only and mutable sets." +#: library/collections.abc.rst:286 +msgid "ABCs for read-only and mutable :ref:`sets `." msgstr "" -#: library/collections.abc.rst:290 +#: library/collections.abc.rst:291 msgid "ABCs for read-only and mutable :term:`mappings `." msgstr "" -#: library/collections.abc.rst:297 +#: library/collections.abc.rst:298 msgid "" "ABCs for mapping, items, keys, and values :term:`views `." msgstr "" -#: library/collections.abc.rst:301 +#: library/collections.abc.rst:302 msgid "" "ABC for :term:`awaitable` objects, which can be used in :keyword:`await` " -"expressions. Custom implementations must provide the :meth:`__await__` " -"method." +"expressions. Custom implementations must provide the :meth:`~object." +"__await__` method." msgstr "" -#: library/collections.abc.rst:305 +#: library/collections.abc.rst:306 msgid "" ":term:`Coroutine ` objects and instances of the :class:" "`~collections.abc.Coroutine` ABC are all instances of this ABC." msgstr "" -#: library/collections.abc.rst:309 +#: library/collections.abc.rst:310 msgid "" -"In CPython, generator-based coroutines (generators decorated with :func:" -"`types.coroutine`) are *awaitables*, even though they do not have an :meth:" -"`__await__` method. Using ``isinstance(gencoro, Awaitable)`` for them will " -"return ``False``. Use :func:`inspect.isawaitable` to detect them." +"In CPython, generator-based coroutines (:term:`generators ` " +"decorated with :func:`@types.coroutine `) are *awaitables*, " +"even though they do not have an :meth:`~object.__await__` method. Using " +"``isinstance(gencoro, Awaitable)`` for them will return ``False``. Use :func:" +"`inspect.isawaitable` to detect them." msgstr "" -#: library/collections.abc.rst:319 +#: library/collections.abc.rst:320 msgid "" -"ABC for coroutine compatible classes. These implement the following " +"ABC for :term:`coroutine` compatible classes. These implement the following " "methods, defined in :ref:`coroutine-objects`: :meth:`~coroutine.send`, :meth:" "`~coroutine.throw`, and :meth:`~coroutine.close`. Custom implementations " -"must also implement :meth:`__await__`. All :class:`Coroutine` instances are " -"also instances of :class:`Awaitable`. See also the definition of :term:" -"`coroutine`." +"must also implement :meth:`~object.__await__`. All :class:`Coroutine` " +"instances are also instances of :class:`Awaitable`." msgstr "" -#: library/collections.abc.rst:327 +#: library/collections.abc.rst:328 msgid "" -"In CPython, generator-based coroutines (generators decorated with :func:" -"`types.coroutine`) are *awaitables*, even though they do not have an :meth:" -"`__await__` method. Using ``isinstance(gencoro, Coroutine)`` for them will " -"return ``False``. Use :func:`inspect.isawaitable` to detect them." +"In CPython, generator-based coroutines (:term:`generators ` " +"decorated with :func:`@types.coroutine `) are *awaitables*, " +"even though they do not have an :meth:`~object.__await__` method. Using " +"``isinstance(gencoro, Coroutine)`` for them will return ``False``. Use :func:" +"`inspect.isawaitable` to detect them." msgstr "" -#: library/collections.abc.rst:337 +#: library/collections.abc.rst:338 msgid "" -"ABC for classes that provide ``__aiter__`` method. See also the definition " -"of :term:`asynchronous iterable`." +"ABC for classes that provide an ``__aiter__`` method. See also the " +"definition of :term:`asynchronous iterable`." msgstr "" -#: library/collections.abc.rst:344 +#: library/collections.abc.rst:345 msgid "" "ABC for classes that provide ``__aiter__`` and ``__anext__`` methods. See " "also the definition of :term:`asynchronous iterator`." msgstr "" -#: library/collections.abc.rst:351 +#: library/collections.abc.rst:352 msgid "" -"ABC for asynchronous generator classes that implement the protocol defined " -"in :pep:`525` and :pep:`492`." +"ABC for :term:`asynchronous generator` classes that implement the protocol " +"defined in :pep:`525` and :pep:`492`." msgstr "" -#: library/collections.abc.rst:358 +#: library/collections.abc.rst:359 msgid "" "ABC for classes that provide the :meth:`~object.__buffer__` method, " "implementing the :ref:`buffer protocol `. See :pep:`688`." msgstr "" -#: library/collections.abc.rst:364 +#: library/collections.abc.rst:365 msgid "Examples and Recipes" msgstr "" -#: library/collections.abc.rst:366 +#: library/collections.abc.rst:367 msgid "" "ABCs allow us to ask classes or instances if they provide particular " "functionality, for example::" msgstr "" -#: library/collections.abc.rst:373 +#: library/collections.abc.rst:374 msgid "" "Several of the ABCs are also useful as mixins that make it easier to develop " "classes supporting container APIs. For example, to write a class supporting " "the full :class:`Set` API, it is only necessary to supply the three " -"underlying abstract methods: :meth:`__contains__`, :meth:`__iter__`, and :" -"meth:`__len__`. The ABC supplies the remaining methods such as :meth:" -"`__and__` and :meth:`isdisjoint`::" +"underlying abstract methods: :meth:`~object.__contains__`, :meth:`~container." +"__iter__`, and :meth:`~object.__len__`. The ABC supplies the remaining " +"methods such as :meth:`!__and__` and :meth:`~frozenset.isdisjoint`::" msgstr "" -#: library/collections.abc.rst:402 +#: library/collections.abc.rst:403 msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:" msgstr "" -#: library/collections.abc.rst:405 +#: library/collections.abc.rst:406 msgid "" "Since some set operations create new sets, the default mixin methods need a " -"way to create new instances from an iterable. The class constructor is " -"assumed to have a signature in the form ``ClassName(iterable)``. That " -"assumption is factored-out to an internal classmethod called :meth:" -"`_from_iterable` which calls ``cls(iterable)`` to produce a new set. If the :" -"class:`Set` mixin is being used in a class with a different constructor " -"signature, you will need to override :meth:`_from_iterable` with a " +"way to create new instances from an :term:`iterable`. The class constructor " +"is assumed to have a signature in the form ``ClassName(iterable)``. That " +"assumption is factored-out to an internal :class:`classmethod` called :meth:" +"`!_from_iterable` which calls ``cls(iterable)`` to produce a new set. If " +"the :class:`Set` mixin is being used in a class with a different constructor " +"signature, you will need to override :meth:`!_from_iterable` with a " "classmethod or regular method that can construct new instances from an " "iterable argument." msgstr "" -#: library/collections.abc.rst:416 +#: library/collections.abc.rst:417 msgid "" "To override the comparisons (presumably for speed, as the semantics are " -"fixed), redefine :meth:`__le__` and :meth:`__ge__`, then the other " -"operations will automatically follow suit." +"fixed), redefine :meth:`~object.__le__` and :meth:`~object.__ge__`, then the " +"other operations will automatically follow suit." msgstr "" -#: library/collections.abc.rst:421 +#: library/collections.abc.rst:423 msgid "" -"The :class:`Set` mixin provides a :meth:`_hash` method to compute a hash " -"value for the set; however, :meth:`__hash__` is not defined because not all " -"sets are :term:`hashable` or immutable. To add set hashability using " -"mixins, inherit from both :meth:`Set` and :meth:`Hashable`, then define " -"``__hash__ = Set._hash``." +"The :class:`Set` mixin provides a :meth:`!_hash` method to compute a hash " +"value for the set; however, :meth:`~object.__hash__` is not defined because " +"not all sets are :term:`hashable` or immutable. To add set hashability " +"using mixins, inherit from both :meth:`Set` and :meth:`Hashable`, then " +"define ``__hash__ = Set._hash``." msgstr "" -#: library/collections.abc.rst:429 +#: library/collections.abc.rst:431 msgid "" "`OrderedSet recipe `_ for an " "example built on :class:`MutableSet`." msgstr "" -#: library/collections.abc.rst:432 +#: library/collections.abc.rst:434 msgid "For more about ABCs, see the :mod:`abc` module and :pep:`3119`." msgstr "" diff --git a/library/configparser.po b/library/configparser.po index b9867dff8..bc70e609a 100644 --- a/library/configparser.po +++ b/library/configparser.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -156,8 +156,8 @@ msgstr "" #: library/configparser.rst:211 msgid "" -"As with a dictionary, you can use a section's :meth:`get` method to provide " -"fallback values:" +"As with a dictionary, you can use a section's :meth:`~ConfigParser.get` " +"method to provide fallback values:" msgstr "" #: library/configparser.rst:224 @@ -171,10 +171,10 @@ msgstr "" #: library/configparser.rst:235 msgid "" -"One more thing to be aware of is that the parser-level :meth:`get` method " -"provides a custom, more complex interface, maintained for backwards " -"compatibility. When using this method, a fallback value can be provided via " -"the ``fallback`` keyword-only argument:" +"One more thing to be aware of is that the parser-level :meth:`~ConfigParser." +"get` method provides a custom, more complex interface, maintained for " +"backwards compatibility. When using this method, a fallback value can be " +"provided via the ``fallback`` keyword-only argument:" msgstr "" #: library/configparser.rst:246 @@ -203,8 +203,8 @@ msgstr "" #: library/configparser.rst:274 msgid "" -"By default, a valid section name can be any string that does not contain '\\" -"\\n' or ']'. To change this, see :attr:`ConfigParser.SECTCRE`." +"By default, a valid section name can be any string that does not contain '\\" +"\\n'. To change this, see :attr:`ConfigParser.SECTCRE`." msgstr "" #: library/configparser.rst:277 @@ -378,7 +378,7 @@ msgstr "" #: library/configparser.rst:483 msgid "" "The most common way to change the way a specific config parser works is to " -"use the :meth:`__init__` options:" +"use the :meth:`!__init__` options:" msgstr "" #: library/configparser.rst:486 @@ -396,7 +396,7 @@ msgstr "" #: library/configparser.rst:493 msgid "" "Hint: if you want to specify default values for a specific section, use :" -"meth:`read_dict` before you read the actual file." +"meth:`~ConfigParser.read_dict` before you read the actual file." msgstr "" #: library/configparser.rst:496 @@ -494,9 +494,9 @@ msgstr "" #: library/configparser.rst:637 msgid "" "When set to ``True``, the parser will not allow for any section or option " -"duplicates while reading from a single source (using :meth:`read_file`, :" -"meth:`read_string` or :meth:`read_dict`). It is recommended to use strict " -"parsers in new applications." +"duplicates while reading from a single source (using :meth:`~ConfigParser." +"read_file`, :meth:`~ConfigParser.read_string` or :meth:`~ConfigParser." +"read_dict`). It is recommended to use strict parsers in new applications." msgstr "" #: library/configparser.rst:642 @@ -574,7 +574,7 @@ msgid "" "be desirable, users may define them in a subclass or pass a dictionary where " "each key is a name of the converter and each value is a callable " "implementing said conversion. For instance, passing ``{'decimal': decimal." -"Decimal}`` would add :meth:`getdecimal` on both the parser object and all " +"Decimal}`` would add :meth:`!getdecimal` on both the parser object and all " "section proxies. In other words, it will be possible to write both " "``parser_instance.getdecimal('section', 'key', fallback=0)`` and " "``parser_instance['section'].getdecimal('key', 0)``." @@ -739,7 +739,7 @@ msgid "" "When *converters* is given, it should be a dictionary where each key " "represents the name of a type converter and each value is a callable " "implementing the conversion from string to the desired datatype. Every " -"converter gets its own corresponding :meth:`get*()` method on the parser " +"converter gets its own corresponding :meth:`!get*()` method on the parser " "object and section proxies." msgstr "" @@ -857,12 +857,12 @@ msgstr "" #: library/configparser.rst:1064 msgid "" "Optional argument *source* specifies the name of the file being read. If " -"not given and *f* has a :attr:`name` attribute, that is used for *source*; " +"not given and *f* has a :attr:`!name` attribute, that is used for *source*; " "the default is ``''``." msgstr "" #: library/configparser.rst:1068 -msgid "Replaces :meth:`readfp`." +msgid "Replaces :meth:`!readfp`." msgstr "" #: library/configparser.rst:1073 @@ -1025,9 +1025,9 @@ msgstr "" #: library/configparser.rst:1217 msgid "" -"The maximum depth for recursive interpolation for :meth:`get` when the *raw* " -"parameter is false. This is relevant only when the default *interpolation* " -"is used." +"The maximum depth for recursive interpolation for :meth:`~configparser." +"ConfigParser.get` when the *raw* parameter is false. This is relevant only " +"when the default *interpolation* is used." msgstr "" #: library/configparser.rst:1225 @@ -1094,15 +1094,15 @@ msgstr "" #: library/configparser.rst:1290 msgid "" -"Exception raised if :meth:`add_section` is called with the name of a section " -"that is already present or in strict parsers when a section if found more " -"than once in a single input file, string or dictionary." +"Exception raised if :meth:`~ConfigParser.add_section` is called with the " +"name of a section that is already present or in strict parsers when a " +"section if found more than once in a single input file, string or dictionary." msgstr "" #: library/configparser.rst:1294 msgid "" -"Optional ``source`` and ``lineno`` attributes and arguments to :meth:" -"`__init__` were added." +"Optional ``source`` and ``lineno`` attributes and arguments to :meth:`!" +"__init__` were added." msgstr "" #: library/configparser.rst:1301 @@ -1156,7 +1156,7 @@ msgstr "" #: library/configparser.rst:1348 msgid "" -"The ``filename`` attribute and :meth:`__init__` constructor argument were " +"The ``filename`` attribute and :meth:`!__init__` constructor argument were " "removed. They have been available using the name ``source`` since 3.2." msgstr "" diff --git a/library/contextlib.po b/library/contextlib.po index cade2480f..99ddd57ae 100644 --- a/library/contextlib.po +++ b/library/contextlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -132,9 +132,9 @@ msgstr "" msgid "" "This function is a :term:`decorator` that can be used to define a factory " "function for :keyword:`async with` statement asynchronous context managers, " -"without needing to create a class or separate :meth:`__aenter__` and :meth:" -"`__aexit__` methods. It must be applied to an :term:`asynchronous generator` " -"function." +"without needing to create a class or separate :meth:`~object.__aenter__` " +"and :meth:`~object.__aexit__` methods. It must be applied to an :term:" +"`asynchronous generator` function." msgstr "" #: library/contextlib.rst:113 @@ -537,13 +537,14 @@ msgstr "" #: library/contextlib.rst:619 msgid "" -"The :meth:`close` method is not implemented, :meth:`aclose` must be used " -"instead." +"The :meth:`~ExitStack.close` method is not implemented; :meth:`aclose` must " +"be used instead." msgstr "" #: library/contextlib.rst:624 msgid "" -"Similar to :meth:`enter_context` but expects an asynchronous context manager." +"Similar to :meth:`ExitStack.enter_context` but expects an asynchronous " +"context manager." msgstr "" #: library/contextlib.rst:627 @@ -554,16 +555,16 @@ msgstr "" #: library/contextlib.rst:633 msgid "" -"Similar to :meth:`push` but expects either an asynchronous context manager " -"or a coroutine function." +"Similar to :meth:`ExitStack.push` but expects either an asynchronous context " +"manager or a coroutine function." msgstr "" #: library/contextlib.rst:638 -msgid "Similar to :meth:`callback` but expects a coroutine function." +msgid "Similar to :meth:`ExitStack.callback` but expects a coroutine function." msgstr "" #: library/contextlib.rst:642 -msgid "Similar to :meth:`close` but properly handles awaitables." +msgid "Similar to :meth:`ExitStack.close` but properly handles awaitables." msgstr "" #: library/contextlib.rst:644 diff --git a/library/csv.po b/library/csv.po index 666fed7d4..1563d8a02 100644 --- a/library/csv.po +++ b/library/csv.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -73,21 +73,20 @@ msgstr "" #: library/csv.rst:58 msgid "" -"Return a reader object which will iterate over lines in the given *csvfile*. " -"*csvfile* can be any object which supports the :term:`iterator` protocol and " -"returns a string each time its :meth:`!__next__` method is called --- :term:" -"`file objects ` and list objects are both suitable. If " -"*csvfile* is a file object, it should be opened with ``newline=''``. [1]_ " -"An optional *dialect* parameter can be given which is used to define a set " -"of parameters specific to a particular CSV dialect. It may be an instance " -"of a subclass of the :class:`Dialect` class or one of the strings returned " -"by the :func:`list_dialects` function. The other optional *fmtparams* " -"keyword arguments can be given to override individual formatting parameters " -"in the current dialect. For full details about the dialect and formatting " -"parameters, see section :ref:`csv-fmt-params`." +"Return a :ref:`reader object ` that will process lines from " +"the given *csvfile*. A csvfile must be an iterable of strings, each in the " +"reader's defined csv format. A csvfile is most commonly a file-like object " +"or list. If *csvfile* is a file object, it should be opened with " +"``newline=''``. [1]_ An optional *dialect* parameter can be given which is " +"used to define a set of parameters specific to a particular CSV dialect. It " +"may be an instance of a subclass of the :class:`Dialect` class or one of the " +"strings returned by the :func:`list_dialects` function. The other optional " +"*fmtparams* keyword arguments can be given to override individual formatting " +"parameters in the current dialect. For full details about the dialect and " +"formatting parameters, see section :ref:`csv-fmt-params`." msgstr "" -#: library/csv.rst:71 +#: library/csv.rst:72 msgid "" "Each row read from the csv file is returned as a list of strings. No " "automatic data type conversion is performed unless the ``QUOTE_NONNUMERIC`` " @@ -95,11 +94,11 @@ msgid "" "into floats)." msgstr "" -#: library/csv.rst:105 library/csv.rst:216 +#: library/csv.rst:106 library/csv.rst:217 msgid "A short usage example::" msgstr "" -#: library/csv.rst:88 +#: library/csv.rst:89 msgid "" "Return a writer object responsible for converting the user's data into " "delimited strings on the given file-like object. *csvfile* can be any " @@ -119,7 +118,7 @@ msgid "" "stringified with :func:`str` before being written." msgstr "" -#: library/csv.rst:117 +#: library/csv.rst:118 msgid "" "Associate *dialect* with *name*. *name* must be a string. The dialect can " "be specified either by passing a sub-class of :class:`Dialect`, or by " @@ -128,41 +127,41 @@ msgid "" "parameters, see section :ref:`csv-fmt-params`." msgstr "" -#: library/csv.rst:126 +#: library/csv.rst:127 msgid "" "Delete the dialect associated with *name* from the dialect registry. An :" "exc:`Error` is raised if *name* is not a registered dialect name." msgstr "" -#: library/csv.rst:132 +#: library/csv.rst:133 msgid "" "Return the dialect associated with *name*. An :exc:`Error` is raised if " "*name* is not a registered dialect name. This function returns an " "immutable :class:`Dialect`." msgstr "" -#: library/csv.rst:138 +#: library/csv.rst:139 msgid "Return the names of all registered dialects." msgstr "" -#: library/csv.rst:143 +#: library/csv.rst:144 msgid "" "Returns the current maximum field size allowed by the parser. If *new_limit* " "is given, this becomes the new limit." msgstr "" -#: library/csv.rst:147 +#: library/csv.rst:148 msgid "The :mod:`csv` module defines the following classes:" msgstr "" -#: library/csv.rst:152 +#: library/csv.rst:153 msgid "" "Create an object that operates like a regular reader but maps the " "information in each row to a :class:`dict` whose keys are given by the " "optional *fieldnames* parameter." msgstr "" -#: library/csv.rst:156 +#: library/csv.rst:157 msgid "" "The *fieldnames* parameter is a :term:`sequence`. If *fieldnames* is " "omitted, the values in the first row of file *f* will be used as the " @@ -170,7 +169,7 @@ msgid "" "preserves their original ordering." msgstr "" -#: library/csv.rst:161 +#: library/csv.rst:162 msgid "" "If a row has more fields than fieldnames, the remaining data is put in a " "list and stored with the fieldname specified by *restkey* (which defaults to " @@ -179,27 +178,27 @@ msgid "" "``None``)." msgstr "" -#: library/csv.rst:167 +#: library/csv.rst:168 msgid "" "All other optional or keyword arguments are passed to the underlying :class:" "`reader` instance." msgstr "" -#: library/csv.rst:214 +#: library/csv.rst:215 msgid "" "If the argument passed to *fieldnames* is an iterator, it will be coerced to " "a :class:`list`." msgstr "" -#: library/csv.rst:172 +#: library/csv.rst:173 msgid "Returned rows are now of type :class:`OrderedDict`." msgstr "" -#: library/csv.rst:175 +#: library/csv.rst:176 msgid "Returned rows are now of type :class:`dict`." msgstr "" -#: library/csv.rst:196 +#: library/csv.rst:197 msgid "" "Create an object which operates like a regular writer but maps dictionaries " "onto output rows. The *fieldnames* parameter is a :mod:`sequence " @@ -215,13 +214,13 @@ msgid "" "`writer` instance." msgstr "" -#: library/csv.rst:211 +#: library/csv.rst:212 msgid "" "Note that unlike the :class:`DictReader` class, the *fieldnames* parameter " "of the :class:`DictWriter` class is not optional." msgstr "" -#: library/csv.rst:232 +#: library/csv.rst:233 msgid "" "The :class:`Dialect` class is a container class whose attributes contain " "information for how to handle doublequotes, whitespace, delimiters, etc. Due " @@ -230,49 +229,49 @@ msgid "" "`reader` and :class:`writer` instances behave." msgstr "" -#: library/csv.rst:238 +#: library/csv.rst:239 msgid "" "All available :class:`Dialect` names are returned by :func:`list_dialects`, " "and they can be registered with specific :class:`reader` and :class:`writer` " "classes through their initializer (``__init__``) functions like this::" msgstr "" -#: library/csv.rst:251 +#: library/csv.rst:252 msgid "" "The :class:`excel` class defines the usual properties of an Excel-generated " "CSV file. It is registered with the dialect name ``'excel'``." msgstr "" -#: library/csv.rst:257 +#: library/csv.rst:258 msgid "" "The :class:`excel_tab` class defines the usual properties of an Excel-" "generated TAB-delimited file. It is registered with the dialect name " "``'excel-tab'``." msgstr "" -#: library/csv.rst:263 +#: library/csv.rst:264 msgid "" "The :class:`unix_dialect` class defines the usual properties of a CSV file " "generated on UNIX systems, i.e. using ``'\\n'`` as line terminator and " "quoting all fields. It is registered with the dialect name ``'unix'``." msgstr "" -#: library/csv.rst:272 +#: library/csv.rst:273 msgid "The :class:`Sniffer` class is used to deduce the format of a CSV file." msgstr "" -#: library/csv.rst:274 +#: library/csv.rst:275 msgid "The :class:`Sniffer` class provides two methods:" msgstr "" -#: library/csv.rst:278 +#: library/csv.rst:279 msgid "" "Analyze the given *sample* and return a :class:`Dialect` subclass reflecting " "the parameters found. If the optional *delimiters* parameter is given, it " "is interpreted as a string containing possible valid delimiter characters." msgstr "" -#: library/csv.rst:286 +#: library/csv.rst:287 msgid "" "Analyze the sample text (presumed to be in CSV format) and return :const:" "`True` if the first row appears to be a series of column headers. Inspecting " @@ -280,58 +279,58 @@ msgid "" "sample contains a header:" msgstr "" -#: library/csv.rst:291 +#: library/csv.rst:292 msgid "the second through n-th rows contain numeric values" msgstr "" -#: library/csv.rst:292 +#: library/csv.rst:293 msgid "" "the second through n-th rows contain strings where at least one value's " "length differs from that of the putative header of that column." msgstr "" -#: library/csv.rst:295 +#: library/csv.rst:296 msgid "" "Twenty rows after the first row are sampled; if more than half of columns + " "rows meet the criteria, :const:`True` is returned." msgstr "" -#: library/csv.rst:300 +#: library/csv.rst:301 msgid "" "This method is a rough heuristic and may produce both false positives and " "negatives." msgstr "" -#: library/csv.rst:303 +#: library/csv.rst:304 msgid "An example for :class:`Sniffer` use::" msgstr "" -#: library/csv.rst:312 +#: library/csv.rst:315 msgid "The :mod:`csv` module defines the following constants:" msgstr "" -#: library/csv.rst:316 +#: library/csv.rst:319 msgid "Instructs :class:`writer` objects to quote all fields." msgstr "" -#: library/csv.rst:321 +#: library/csv.rst:324 msgid "" "Instructs :class:`writer` objects to only quote those fields which contain " "special characters such as *delimiter*, *quotechar* or any of the characters " "in *lineterminator*." msgstr "" -#: library/csv.rst:328 +#: library/csv.rst:331 msgid "Instructs :class:`writer` objects to quote all non-numeric fields." msgstr "" -#: library/csv.rst:330 +#: library/csv.rst:333 msgid "" "Instructs :class:`reader` objects to convert all non-quoted fields to type " "*float*." msgstr "" -#: library/csv.rst:335 +#: library/csv.rst:338 msgid "" "Instructs :class:`writer` objects to never quote fields. When the current " "*delimiter* occurs in output data it is preceded by the current *escapechar* " @@ -339,51 +338,51 @@ msgid "" "if any characters that require escaping are encountered." msgstr "" -#: library/csv.rst:340 +#: library/csv.rst:343 msgid "" "Instructs :class:`reader` objects to perform no special processing of quote " "characters." msgstr "" -#: library/csv.rst:344 +#: library/csv.rst:347 msgid "" "Instructs :class:`writer` objects to quote all fields which are not " "``None``. This is similar to :data:`QUOTE_ALL`, except that if a field " "value is ``None`` an empty (unquoted) string is written." msgstr "" -#: library/csv.rst:348 +#: library/csv.rst:351 msgid "" "Instructs :class:`reader` objects to interpret an empty (unquoted) field as " "None and to otherwise behave as :data:`QUOTE_ALL`." msgstr "" -#: library/csv.rst:353 +#: library/csv.rst:356 msgid "" "Instructs :class:`writer` objects to always place quotes around fields which " "are strings. This is similar to :data:`QUOTE_NONNUMERIC`, except that if a " "field value is ``None`` an empty (unquoted) string is written." msgstr "" -#: library/csv.rst:357 +#: library/csv.rst:360 msgid "" "Instructs :class:`reader` objects to interpret an empty (unquoted) string as " "``None`` and to otherwise behave as :data:`QUOTE_NONNUMERIC`." msgstr "" -#: library/csv.rst:360 +#: library/csv.rst:363 msgid "The :mod:`csv` module defines the following exception:" msgstr "" -#: library/csv.rst:365 +#: library/csv.rst:368 msgid "Raised by any of the functions when an error is detected." msgstr "" -#: library/csv.rst:370 +#: library/csv.rst:373 msgid "Dialects and Formatting Parameters" msgstr "" -#: library/csv.rst:372 +#: library/csv.rst:375 msgid "" "To make it easier to specify the format of input and output records, " "specific formatting parameters are grouped together into dialects. A " @@ -396,16 +395,16 @@ msgid "" "attributes defined below for the :class:`Dialect` class." msgstr "" -#: library/csv.rst:382 +#: library/csv.rst:385 msgid "Dialects support the following attributes:" msgstr "" -#: library/csv.rst:387 +#: library/csv.rst:390 msgid "" "A one-character string used to separate fields. It defaults to ``','``." msgstr "" -#: library/csv.rst:392 +#: library/csv.rst:395 msgid "" "Controls how instances of *quotechar* appearing inside a field should " "themselves be quoted. When :const:`True`, the character is doubled. When :" @@ -413,13 +412,13 @@ msgid "" "defaults to :const:`True`." msgstr "" -#: library/csv.rst:397 +#: library/csv.rst:400 msgid "" "On output, if *doublequote* is :const:`False` and no *escapechar* is set, :" "exc:`Error` is raised if a *quotechar* is found in a field." msgstr "" -#: library/csv.rst:403 +#: library/csv.rst:406 msgid "" "A one-character string used by the writer to escape the *delimiter* if " "*quoting* is set to :const:`QUOTE_NONE` and the *quotechar* if *doublequote* " @@ -428,64 +427,64 @@ msgid "" "escaping." msgstr "" -#: library/csv.rst:408 +#: library/csv.rst:411 msgid "An empty *escapechar* is not allowed." msgstr "" -#: library/csv.rst:413 +#: library/csv.rst:416 msgid "" "The string used to terminate lines produced by the :class:`writer`. It " "defaults to ``'\\r\\n'``." msgstr "" -#: library/csv.rst:418 +#: library/csv.rst:421 msgid "" "The :class:`reader` is hard-coded to recognise either ``'\\r'`` or ``'\\n'`` " "as end-of-line, and ignores *lineterminator*. This behavior may change in " "the future." msgstr "" -#: library/csv.rst:425 +#: library/csv.rst:428 msgid "" "A one-character string used to quote fields containing special characters, " "such as the *delimiter* or *quotechar*, or which contain new-line " "characters. It defaults to ``'\"'``." msgstr "" -#: library/csv.rst:429 +#: library/csv.rst:432 msgid "An empty *quotechar* is not allowed." msgstr "" -#: library/csv.rst:434 +#: library/csv.rst:437 msgid "" "Controls when quotes should be generated by the writer and recognised by the " -"reader. It can take on any of the :const:`QUOTE_\\*` constants (see " -"section :ref:`csv-contents`) and defaults to :const:`QUOTE_MINIMAL`." +"reader. It can take on any of the :ref:`QUOTE_\\* constants ` and defaults to :const:`QUOTE_MINIMAL`." msgstr "" -#: library/csv.rst:441 +#: library/csv.rst:444 msgid "" "When :const:`True`, spaces immediately following the *delimiter* are " "ignored. The default is :const:`False`." msgstr "" -#: library/csv.rst:447 +#: library/csv.rst:450 msgid "" "When ``True``, raise exception :exc:`Error` on bad CSV input. The default is " "``False``." msgstr "" -#: library/csv.rst:451 +#: library/csv.rst:456 msgid "Reader Objects" msgstr "" -#: library/csv.rst:453 +#: library/csv.rst:458 msgid "" "Reader objects (:class:`DictReader` instances and objects returned by the :" "func:`reader` function) have the following public methods:" msgstr "" -#: library/csv.rst:458 +#: library/csv.rst:463 msgid "" "Return the next row of the reader's iterable object as a list (if the object " "was returned from :func:`reader`) or a dict (if it is a :class:`DictReader` " @@ -493,35 +492,35 @@ msgid "" "should call this as ``next(reader)``." msgstr "" -#: library/csv.rst:464 +#: library/csv.rst:469 msgid "Reader objects have the following public attributes:" msgstr "" -#: library/csv.rst:468 +#: library/csv.rst:473 msgid "A read-only description of the dialect in use by the parser." msgstr "" -#: library/csv.rst:473 +#: library/csv.rst:478 msgid "" "The number of lines read from the source iterator. This is not the same as " "the number of records returned, as records can span multiple lines." msgstr "" -#: library/csv.rst:477 +#: library/csv.rst:482 msgid "DictReader objects have the following public attribute:" msgstr "" -#: library/csv.rst:481 +#: library/csv.rst:486 msgid "" "If not passed as a parameter when creating the object, this attribute is " "initialized upon first access or when the first record is read from the file." msgstr "" -#: library/csv.rst:488 +#: library/csv.rst:493 msgid "Writer Objects" msgstr "" -#: library/csv.rst:490 +#: library/csv.rst:495 msgid "" ":class:`Writer` objects (:class:`DictWriter` instances and objects returned " "by the :func:`writer` function) have the following public methods. A *row* " @@ -533,66 +532,66 @@ msgid "" "complex numbers at all)." msgstr "" -#: library/csv.rst:501 +#: library/csv.rst:506 msgid "" "Write the *row* parameter to the writer's file object, formatted according " "to the current :class:`Dialect`. Return the return value of the call to the " "*write* method of the underlying file object." msgstr "" -#: library/csv.rst:505 +#: library/csv.rst:510 msgid "Added support of arbitrary iterables." msgstr "" -#: library/csv.rst:510 +#: library/csv.rst:515 msgid "" "Write all elements in *rows* (an iterable of *row* objects as described " "above) to the writer's file object, formatted according to the current " "dialect." msgstr "" -#: library/csv.rst:514 +#: library/csv.rst:519 msgid "Writer objects have the following public attribute:" msgstr "" -#: library/csv.rst:519 +#: library/csv.rst:524 msgid "A read-only description of the dialect in use by the writer." msgstr "" -#: library/csv.rst:522 +#: library/csv.rst:527 msgid "DictWriter objects have the following public method:" msgstr "" -#: library/csv.rst:527 +#: library/csv.rst:532 msgid "" "Write a row with the field names (as specified in the constructor) to the " "writer's file object, formatted according to the current dialect. Return the " "return value of the :meth:`csvwriter.writerow` call used internally." msgstr "" -#: library/csv.rst:532 +#: library/csv.rst:537 msgid "" ":meth:`writeheader` now also returns the value returned by the :meth:" "`csvwriter.writerow` method it uses internally." msgstr "" -#: library/csv.rst:540 +#: library/csv.rst:545 msgid "Examples" msgstr "" -#: library/csv.rst:542 +#: library/csv.rst:547 msgid "The simplest example of reading a CSV file::" msgstr "" -#: library/csv.rst:550 +#: library/csv.rst:555 msgid "Reading a file with an alternate format::" msgstr "" -#: library/csv.rst:558 +#: library/csv.rst:563 msgid "The corresponding simplest possible writing example is::" msgstr "" -#: library/csv.rst:565 +#: library/csv.rst:570 msgid "" "Since :func:`open` is used to open a CSV file for reading, the file will by " "default be decoded into unicode using the system default encoding (see :func:" @@ -600,33 +599,33 @@ msgid "" "``encoding`` argument of open::" msgstr "" -#: library/csv.rst:576 +#: library/csv.rst:581 msgid "" "The same applies to writing in something other than the system default " "encoding: specify the encoding argument when opening the output file." msgstr "" -#: library/csv.rst:579 +#: library/csv.rst:584 msgid "Registering a new dialect::" msgstr "" -#: library/csv.rst:586 +#: library/csv.rst:591 msgid "" "A slightly more advanced use of the reader --- catching and reporting " "errors::" msgstr "" -#: library/csv.rst:598 +#: library/csv.rst:603 msgid "" "And while the module doesn't directly support parsing strings, it can easily " "be done::" msgstr "" -#: library/csv.rst:607 +#: library/csv.rst:612 msgid "Footnotes" msgstr "" -#: library/csv.rst:608 +#: library/csv.rst:613 msgid "" "If ``newline=''`` is not specified, newlines embedded inside quoted fields " "will not be interpreted correctly, and on platforms that use ``\\r\\n`` " diff --git a/library/datetime.po b/library/datetime.po index 7eeaaa0ae..4e19025bf 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: 2023-11-26 17:49-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -434,7 +434,7 @@ msgid "" "example::" msgstr "" -#: library/datetime.rst:561 library/datetime.rst:1693 library/datetime.rst:2295 +#: library/datetime.rst:561 library/datetime.rst:1693 library/datetime.rst:2298 msgid "Class attributes:" msgstr "" @@ -648,7 +648,7 @@ msgid "" "constructor call with canonical attribute values." msgstr "" -#: library/datetime.rst:613 library/datetime.rst:2526 +#: library/datetime.rst:613 library/datetime.rst:2529 msgid "Notes:" msgstr "" @@ -721,7 +721,7 @@ msgid "" "and only if it isn't equal to ``timedelta(0)``." msgstr "" -#: library/datetime.rst:642 library/datetime.rst:1821 +#: library/datetime.rst:642 library/datetime.rst:1823 msgid "Instance methods:" msgstr "" @@ -958,7 +958,7 @@ msgid "" "values by whichever keyword arguments are specified." msgstr "" -#: library/datetime.rst:1864 +#: library/datetime.rst:1866 msgid "Example::" msgstr "" @@ -1146,7 +1146,7 @@ msgstr "" msgid "``fold in [0, 1]``." msgstr "" -#: library/datetime.rst:1255 library/datetime.rst:1831 +#: library/datetime.rst:1255 library/datetime.rst:1833 msgid "Added the ``fold`` argument." msgstr "" @@ -1442,8 +1442,8 @@ msgstr "" msgid "``datetime2 = datetime1 + timedelta``" msgstr "" -#: library/datetime.rst:2353 library/datetime.rst:2370 -#: library/datetime.rst:2435 library/datetime.rst:2444 +#: library/datetime.rst:2356 library/datetime.rst:2373 +#: library/datetime.rst:2438 library/datetime.rst:2447 msgid "\\(1)" msgstr "" @@ -1451,7 +1451,7 @@ msgstr "" msgid "``datetime2 = datetime1 - timedelta``" msgstr "" -#: library/datetime.rst:2386 +#: library/datetime.rst:2389 msgid "\\(2)" msgstr "" @@ -1643,8 +1643,8 @@ msgid "" "``None`` or a :class:`timedelta` object with magnitude less than one day." msgstr "" -#: library/datetime.rst:1904 library/datetime.rst:2255 -#: library/datetime.rst:2579 +#: library/datetime.rst:1906 library/datetime.rst:2258 +#: library/datetime.rst:2582 msgid "The UTC offset is not restricted to a whole number of minutes." msgstr "" @@ -1655,7 +1655,7 @@ msgid "" "or a :class:`timedelta` object with magnitude less than one day." msgstr "" -#: library/datetime.rst:1914 library/datetime.rst:2064 +#: library/datetime.rst:1916 library/datetime.rst:2067 msgid "The DST offset is not restricted to a whole number of minutes." msgstr "" @@ -1802,45 +1802,45 @@ msgid "" "placed between the date and time portions of the result. For example::" msgstr "" -#: library/datetime.rst:1844 +#: library/datetime.rst:1846 msgid "" "The optional argument *timespec* specifies the number of additional " "components of the time to include (the default is ``'auto'``). It can be one " "of the following:" msgstr "" -#: library/datetime.rst:1848 +#: library/datetime.rst:1850 msgid "" "``'auto'``: Same as ``'seconds'`` if :attr:`microsecond` is 0, same as " "``'microseconds'`` otherwise." msgstr "" -#: library/datetime.rst:1850 +#: library/datetime.rst:1852 msgid "``'hours'``: Include the :attr:`hour` in the two-digit ``HH`` format." msgstr "" -#: library/datetime.rst:1851 +#: library/datetime.rst:1853 msgid "" "``'minutes'``: Include :attr:`hour` and :attr:`minute` in ``HH:MM`` format." msgstr "" -#: library/datetime.rst:1852 +#: library/datetime.rst:1854 msgid "" "``'seconds'``: Include :attr:`hour`, :attr:`minute`, and :attr:`second` in " "``HH:MM:SS`` format." msgstr "" -#: library/datetime.rst:1854 +#: library/datetime.rst:1856 msgid "" "``'milliseconds'``: Include full time, but truncate fractional second part " "to milliseconds. ``HH:MM:SS.sss`` format." msgstr "" -#: library/datetime.rst:1856 +#: library/datetime.rst:1858 msgid "``'microseconds'``: Include full time in ``HH:MM:SS.ffffff`` format." msgstr "" -#: library/datetime.rst:1860 +#: library/datetime.rst:1862 msgid "Excluded time components are truncated, not rounded." msgstr "" @@ -1848,7 +1848,7 @@ msgstr "" msgid ":exc:`ValueError` will be raised on an invalid *timespec* argument::" msgstr "" -#: library/datetime.rst:1875 +#: library/datetime.rst:1877 msgid "Added the *timespec* argument." msgstr "" @@ -2017,13 +2017,13 @@ msgid "" "truncated)." msgstr "" -#: library/datetime.rst:1816 +#: library/datetime.rst:1818 msgid "" "Previously, this method only supported formats that could be emitted by :" "meth:`time.isoformat()`." msgstr "" -#: library/datetime.rst:1826 +#: library/datetime.rst:1828 msgid "" "Return a :class:`.time` with the same value, except for those attributes " "given new values by whichever keyword arguments are specified. Note that " @@ -2031,46 +2031,46 @@ msgid "" "aware :class:`.time`, without conversion of the time data." msgstr "" -#: library/datetime.rst:1837 +#: library/datetime.rst:1839 msgid "Return a string representing the time in ISO 8601 format, one of:" msgstr "" -#: library/datetime.rst:1839 +#: library/datetime.rst:1841 msgid "``HH:MM:SS.ffffff``, if :attr:`microsecond` is not 0" msgstr "" -#: library/datetime.rst:1840 +#: library/datetime.rst:1842 msgid "``HH:MM:SS``, if :attr:`microsecond` is 0" msgstr "" -#: library/datetime.rst:1841 +#: library/datetime.rst:1843 msgid "" "``HH:MM:SS.ffffff+HH:MM[:SS[.ffffff]]``, if :meth:`utcoffset` does not " "return ``None``" msgstr "" -#: library/datetime.rst:1842 +#: library/datetime.rst:1844 msgid "" "``HH:MM:SS+HH:MM[:SS[.ffffff]]``, if :attr:`microsecond` is 0 and :meth:" "`utcoffset` does not return ``None``" msgstr "" -#: library/datetime.rst:1862 +#: library/datetime.rst:1864 msgid ":exc:`ValueError` will be raised on an invalid *timespec* argument." msgstr "" -#: library/datetime.rst:1881 +#: library/datetime.rst:1883 msgid "For a time *t*, ``str(t)`` is equivalent to ``t.isoformat()``." msgstr "" -#: library/datetime.rst:1886 +#: library/datetime.rst:1888 msgid "" "Return a string representing the time, controlled by an explicit format " "string. See also :ref:`strftime-strptime-behavior` and :meth:`time." "isoformat`." msgstr "" -#: library/datetime.rst:1892 +#: library/datetime.rst:1894 msgid "" "Same as :meth:`.time.strftime`. This makes it possible to specify a format " "string for a :class:`.time` object in :ref:`formatted string literals ` file there are some examples of :class:`tzinfo` classes:" msgstr "" -#: library/datetime.rst:2147 +#: library/datetime.rst:2150 msgid "" "Note that there are unavoidable subtleties twice per year in a :class:" "`tzinfo` subclass accounting for both standard and daylight time, at the DST " @@ -2337,7 +2337,7 @@ msgid "" "ends the minute after 1:59 (EDT) on the first Sunday in November::" msgstr "" -#: library/datetime.rst:2161 +#: library/datetime.rst:2164 msgid "" "When DST starts (the \"start\" line), the local wall clock leaps from 1:59 " "to 3:00. A wall time of the form 2:MM doesn't really make sense on that day, " @@ -2346,7 +2346,7 @@ msgid "" "get::" msgstr "" -#: library/datetime.rst:2180 +#: library/datetime.rst:2183 msgid "" "When DST ends (the \"end\" line), there's a potentially worse problem: " "there's an hour that can't be spelled unambiguously in local wall time: the " @@ -2361,13 +2361,13 @@ msgid "" "transition of 2016, we get::" msgstr "" -#: library/datetime.rst:2202 +#: library/datetime.rst:2205 msgid "" "Note that the :class:`.datetime` instances that differ only by the value of " "the :attr:`~datetime.fold` attribute are considered equal in comparisons." msgstr "" -#: library/datetime.rst:2205 +#: library/datetime.rst:2208 msgid "" "Applications that can't bear wall-time ambiguities should explicitly check " "the value of the :attr:`~datetime.fold` attribute or avoid using hybrid :" @@ -2377,28 +2377,28 @@ msgid "" "offset -4 hours))." msgstr "" -#: library/datetime.rst:2219 +#: library/datetime.rst:2222 msgid ":mod:`zoneinfo`" msgstr "" -#: library/datetime.rst:2214 +#: library/datetime.rst:2217 msgid "" "The :mod:`datetime` module has a basic :class:`timezone` class (for handling " "arbitrary fixed offsets from UTC) and its :attr:`timezone.utc` attribute (a " "UTC timezone instance)." msgstr "" -#: library/datetime.rst:2218 +#: library/datetime.rst:2221 msgid "" "``zoneinfo`` brings the *IANA timezone database* (also known as the Olson " "database) to Python, and its usage is recommended." msgstr "" -#: library/datetime.rst:2225 +#: library/datetime.rst:2228 msgid "`IANA timezone database `_" msgstr "" -#: library/datetime.rst:2222 +#: library/datetime.rst:2225 msgid "" "The Time Zone Database (often called tz, tzdata or zoneinfo) contains code " "and data that represent the history of local time for many representative " @@ -2407,24 +2407,24 @@ msgid "" "saving rules." msgstr "" -#: library/datetime.rst:2232 +#: library/datetime.rst:2235 msgid ":class:`timezone` Objects" msgstr "" -#: library/datetime.rst:2234 +#: library/datetime.rst:2237 msgid "" "The :class:`timezone` class is a subclass of :class:`tzinfo`, each instance " "of which represents a timezone defined by a fixed offset from UTC." msgstr "" -#: library/datetime.rst:2238 +#: library/datetime.rst:2241 msgid "" "Objects of this class cannot be used to represent timezone information in " "the locations where different offsets are used in different days of the year " "or where historical changes have been made to civil time." msgstr "" -#: library/datetime.rst:2245 +#: library/datetime.rst:2248 msgid "" "The *offset* argument must be specified as a :class:`timedelta` object " "representing the difference between the local time and UTC. It must be " @@ -2432,25 +2432,25 @@ msgid "" "otherwise :exc:`ValueError` is raised." msgstr "" -#: library/datetime.rst:2250 +#: library/datetime.rst:2253 msgid "" "The *name* argument is optional. If specified it must be a string that will " "be used as the value returned by the :meth:`datetime.tzname` method." msgstr "" -#: library/datetime.rst:2272 +#: library/datetime.rst:2275 msgid "" "Return the fixed value specified when the :class:`timezone` instance is " "constructed." msgstr "" -#: library/datetime.rst:2264 +#: library/datetime.rst:2267 msgid "" "The *dt* argument is ignored. The return value is a :class:`timedelta` " "instance equal to the difference between the local time and UTC." msgstr "" -#: library/datetime.rst:2275 +#: library/datetime.rst:2278 msgid "" "If *name* is not provided in the constructor, the name returned by " "``tzname(dt)`` is generated from the value of the ``offset`` as follows. If " @@ -2459,144 +2459,144 @@ msgid "" "are two digits of ``offset.hours`` and ``offset.minutes`` respectively." msgstr "" -#: library/datetime.rst:2281 +#: library/datetime.rst:2284 msgid "" "Name generated from ``offset=timedelta(0)`` is now plain ``'UTC'``, not " "``'UTC+00:00'``." msgstr "" -#: library/datetime.rst:2288 +#: library/datetime.rst:2291 msgid "Always returns ``None``." msgstr "" -#: library/datetime.rst:2292 +#: library/datetime.rst:2295 msgid "" "Return ``dt + offset``. The *dt* argument must be an aware :class:`." "datetime` instance, with ``tzinfo`` set to ``self``." msgstr "" -#: library/datetime.rst:2299 +#: library/datetime.rst:2302 msgid "The UTC timezone, ``timezone(timedelta(0))``." msgstr "" -#: library/datetime.rst:2308 +#: library/datetime.rst:2311 msgid ":meth:`strftime` and :meth:`strptime` Behavior" msgstr "" -#: library/datetime.rst:2310 +#: library/datetime.rst:2313 msgid "" ":class:`date`, :class:`.datetime`, and :class:`.time` objects all support a " "``strftime(format)`` method, to create a string representing the time under " "the control of an explicit format string." msgstr "" -#: library/datetime.rst:2314 +#: library/datetime.rst:2317 msgid "" "Conversely, the :meth:`datetime.strptime` class method creates a :class:`." "datetime` object from a string representing a date and time and a " "corresponding format string." msgstr "" -#: library/datetime.rst:2318 +#: library/datetime.rst:2321 msgid "" "The table below provides a high-level comparison of :meth:`strftime` versus :" "meth:`strptime`:" msgstr "" -#: library/datetime.rst:2322 +#: library/datetime.rst:2325 msgid "``strftime``" msgstr "" -#: library/datetime.rst:2322 +#: library/datetime.rst:2325 msgid "``strptime``" msgstr "" -#: library/datetime.rst:2324 +#: library/datetime.rst:2327 msgid "Usage" msgstr "" -#: library/datetime.rst:2324 +#: library/datetime.rst:2327 msgid "Convert object to a string according to a given format" msgstr "" -#: library/datetime.rst:2324 +#: library/datetime.rst:2327 msgid "" "Parse a string into a :class:`.datetime` object given a corresponding format" msgstr "" -#: library/datetime.rst:2326 +#: library/datetime.rst:2329 msgid "Type of method" msgstr "" -#: library/datetime.rst:2326 +#: library/datetime.rst:2329 msgid "Instance method" msgstr "" -#: library/datetime.rst:2326 +#: library/datetime.rst:2329 msgid "Class method" msgstr "" -#: library/datetime.rst:2328 +#: library/datetime.rst:2331 msgid "Method of" msgstr "" -#: library/datetime.rst:2328 +#: library/datetime.rst:2331 msgid ":class:`date`; :class:`.datetime`; :class:`.time`" msgstr "" -#: library/datetime.rst:2328 +#: library/datetime.rst:2331 msgid ":class:`.datetime`" msgstr "" -#: library/datetime.rst:2330 +#: library/datetime.rst:2333 msgid "Signature" msgstr "" -#: library/datetime.rst:2330 +#: library/datetime.rst:2333 msgid "``strftime(format)``" msgstr "" -#: library/datetime.rst:2330 +#: library/datetime.rst:2333 msgid "``strptime(date_string, format)``" msgstr "" -#: library/datetime.rst:2337 +#: library/datetime.rst:2340 msgid ":meth:`strftime` and :meth:`strptime` Format Codes" msgstr "" -#: library/datetime.rst:2339 +#: library/datetime.rst:2342 msgid "" "These methods accept format codes that can be used to parse and format " "dates::" msgstr "" -#: library/datetime.rst:2347 +#: library/datetime.rst:2350 msgid "" "The following is a list of all the format codes that the 1989 C standard " "requires, and these work on all platforms with a standard C implementation." msgstr "" -#: library/datetime.rst:2454 +#: library/datetime.rst:2457 msgid "Directive" msgstr "" -#: library/datetime.rst:2454 +#: library/datetime.rst:2457 msgid "Meaning" msgstr "" -#: library/datetime.rst:2454 +#: library/datetime.rst:2457 msgid "Example" msgstr "" -#: library/datetime.rst:2454 +#: library/datetime.rst:2457 msgid "Notes" msgstr "" -#: library/datetime.rst:2353 +#: library/datetime.rst:2356 msgid "``%a``" msgstr "" -#: library/datetime.rst:2353 +#: library/datetime.rst:2356 msgid "Weekday as locale's abbreviated name." msgstr "" @@ -2608,11 +2608,11 @@ msgstr "" msgid "So, Mo, ..., Sa (de_DE)" msgstr "" -#: library/datetime.rst:2358 +#: library/datetime.rst:2361 msgid "``%A``" msgstr "" -#: library/datetime.rst:2358 +#: library/datetime.rst:2361 msgid "Weekday as locale's full name." msgstr "" @@ -2624,40 +2624,40 @@ msgstr "" msgid "Sonntag, Montag, ..., Samstag (de_DE)" msgstr "" -#: library/datetime.rst:2363 +#: library/datetime.rst:2366 msgid "``%w``" msgstr "" -#: library/datetime.rst:2363 +#: library/datetime.rst:2366 msgid "Weekday as a decimal number, where 0 is Sunday and 6 is Saturday." msgstr "" -#: library/datetime.rst:2363 +#: library/datetime.rst:2366 msgid "0, 1, ..., 6" msgstr "" -#: library/datetime.rst:2367 +#: library/datetime.rst:2370 msgid "``%d``" msgstr "" -#: library/datetime.rst:2367 +#: library/datetime.rst:2370 msgid "Day of the month as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2367 +#: library/datetime.rst:2370 msgid "01, 02, ..., 31" msgstr "" -#: library/datetime.rst:2380 library/datetime.rst:2389 -#: library/datetime.rst:2398 library/datetime.rst:2416 +#: library/datetime.rst:2383 library/datetime.rst:2392 +#: library/datetime.rst:2401 library/datetime.rst:2419 msgid "\\(9)" msgstr "" -#: library/datetime.rst:2370 +#: library/datetime.rst:2373 msgid "``%b``" msgstr "" -#: library/datetime.rst:2370 +#: library/datetime.rst:2373 msgid "Month as locale's abbreviated name." msgstr "" @@ -2669,11 +2669,11 @@ msgstr "" msgid "Jan, Feb, ..., Dez (de_DE)" msgstr "" -#: library/datetime.rst:2375 +#: library/datetime.rst:2378 msgid "``%B``" msgstr "" -#: library/datetime.rst:2375 +#: library/datetime.rst:2378 msgid "Month as locale's full name." msgstr "" @@ -2685,67 +2685,67 @@ msgstr "" msgid "Januar, Februar, ..., Dezember (de_DE)" msgstr "" -#: library/datetime.rst:2380 +#: library/datetime.rst:2383 msgid "``%m``" msgstr "" -#: library/datetime.rst:2380 +#: library/datetime.rst:2383 msgid "Month as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2392 +#: library/datetime.rst:2395 msgid "01, 02, ..., 12" msgstr "" -#: library/datetime.rst:2383 +#: library/datetime.rst:2386 msgid "``%y``" msgstr "" -#: library/datetime.rst:2383 +#: library/datetime.rst:2386 msgid "Year without century as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2383 +#: library/datetime.rst:2386 msgid "00, 01, ..., 99" msgstr "" -#: library/datetime.rst:2386 +#: library/datetime.rst:2389 msgid "``%Y``" msgstr "" -#: library/datetime.rst:2386 +#: library/datetime.rst:2389 msgid "Year with century as a decimal number." msgstr "" -#: library/datetime.rst:2456 +#: library/datetime.rst:2459 msgid "0001, 0002, ..., 2013, 2014, ..., 9998, 9999" msgstr "" -#: library/datetime.rst:2389 +#: library/datetime.rst:2392 msgid "``%H``" msgstr "" -#: library/datetime.rst:2389 +#: library/datetime.rst:2392 msgid "Hour (24-hour clock) as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2389 +#: library/datetime.rst:2392 msgid "00, 01, ..., 23" msgstr "" -#: library/datetime.rst:2392 +#: library/datetime.rst:2395 msgid "``%I``" msgstr "" -#: library/datetime.rst:2392 +#: library/datetime.rst:2395 msgid "Hour (12-hour clock) as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2395 +#: library/datetime.rst:2398 msgid "``%p``" msgstr "" -#: library/datetime.rst:2395 +#: library/datetime.rst:2398 msgid "Locale's equivalent of either AM or PM." msgstr "" @@ -2757,127 +2757,127 @@ msgstr "" msgid "am, pm (de_DE)" msgstr "" -#: library/datetime.rst:2395 +#: library/datetime.rst:2398 msgid "\\(1), \\(3)" msgstr "" -#: library/datetime.rst:2398 +#: library/datetime.rst:2401 msgid "``%M``" msgstr "" -#: library/datetime.rst:2398 +#: library/datetime.rst:2401 msgid "Minute as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2401 +#: library/datetime.rst:2404 msgid "00, 01, ..., 59" msgstr "" -#: library/datetime.rst:2401 +#: library/datetime.rst:2404 msgid "``%S``" msgstr "" -#: library/datetime.rst:2401 +#: library/datetime.rst:2404 msgid "Second as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2401 +#: library/datetime.rst:2404 msgid "\\(4), \\(9)" msgstr "" -#: library/datetime.rst:2404 +#: library/datetime.rst:2407 msgid "``%f``" msgstr "" -#: library/datetime.rst:2404 +#: library/datetime.rst:2407 msgid "Microsecond as a decimal number, zero-padded to 6 digits." msgstr "" -#: library/datetime.rst:2404 +#: library/datetime.rst:2407 msgid "000000, 000001, ..., 999999" msgstr "" -#: library/datetime.rst:2404 +#: library/datetime.rst:2407 msgid "\\(5)" msgstr "" -#: library/datetime.rst:2577 +#: library/datetime.rst:2580 msgid "``%z``" msgstr "" -#: library/datetime.rst:2408 +#: library/datetime.rst:2411 msgid "" "UTC offset in the form ``±HHMM[SS[.ffffff]]`` (empty string if the object is " "naive)." msgstr "" -#: library/datetime.rst:2408 +#: library/datetime.rst:2411 msgid "(empty), +0000, -0400, +1030, +063415, -030712.345216" msgstr "" -#: library/datetime.rst:2413 library/datetime.rst:2470 +#: library/datetime.rst:2416 library/datetime.rst:2473 msgid "\\(6)" msgstr "" -#: library/datetime.rst:2605 +#: library/datetime.rst:2608 msgid "``%Z``" msgstr "" -#: library/datetime.rst:2413 +#: library/datetime.rst:2416 msgid "Time zone name (empty string if the object is naive)." msgstr "" -#: library/datetime.rst:2413 +#: library/datetime.rst:2416 msgid "(empty), UTC, GMT" msgstr "" -#: library/datetime.rst:2416 +#: library/datetime.rst:2419 msgid "``%j``" msgstr "" -#: library/datetime.rst:2416 +#: library/datetime.rst:2419 msgid "Day of the year as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2416 +#: library/datetime.rst:2419 msgid "001, 002, ..., 366" msgstr "" -#: library/datetime.rst:2419 +#: library/datetime.rst:2422 msgid "``%U``" msgstr "" -#: library/datetime.rst:2419 +#: library/datetime.rst:2422 msgid "" "Week number of the year (Sunday as the first day of the week) as a zero-" "padded decimal number. All days in a new year preceding the first Sunday are " "considered to be in week 0." msgstr "" -#: library/datetime.rst:2427 +#: library/datetime.rst:2430 msgid "00, 01, ..., 53" msgstr "" -#: library/datetime.rst:2427 +#: library/datetime.rst:2430 msgid "\\(7), \\(9)" msgstr "" -#: library/datetime.rst:2427 +#: library/datetime.rst:2430 msgid "``%W``" msgstr "" -#: library/datetime.rst:2427 +#: library/datetime.rst:2430 msgid "" "Week number of the year (Monday as the first day of the week) as a zero-" "padded decimal number. All days in a new year preceding the first Monday are " "considered to be in week 0." msgstr "" -#: library/datetime.rst:2435 +#: library/datetime.rst:2438 msgid "``%c``" msgstr "" -#: library/datetime.rst:2435 +#: library/datetime.rst:2438 msgid "Locale's appropriate date and time representation." msgstr "" @@ -2889,11 +2889,11 @@ msgstr "" msgid "Di 16 Aug 21:30:00 1988 (de_DE)" msgstr "" -#: library/datetime.rst:2440 +#: library/datetime.rst:2443 msgid "``%x``" msgstr "" -#: library/datetime.rst:2440 +#: library/datetime.rst:2443 msgid "Locale's appropriate date representation." msgstr "" @@ -2909,11 +2909,11 @@ msgstr "" msgid "16.08.1988 (de_DE)" msgstr "" -#: library/datetime.rst:2444 +#: library/datetime.rst:2447 msgid "``%X``" msgstr "" -#: library/datetime.rst:2444 +#: library/datetime.rst:2447 msgid "Locale's appropriate time representation." msgstr "" @@ -2925,83 +2925,83 @@ msgstr "" msgid "21:30:00 (de_DE)" msgstr "" -#: library/datetime.rst:2447 +#: library/datetime.rst:2450 msgid "``%%``" msgstr "" -#: library/datetime.rst:2447 +#: library/datetime.rst:2450 msgid "A literal ``'%'`` character." msgstr "" -#: library/datetime.rst:2447 +#: library/datetime.rst:2450 msgid "%" msgstr "" -#: library/datetime.rst:2450 +#: library/datetime.rst:2453 msgid "" "Several additional directives not required by the C89 standard are included " "for convenience. These parameters all correspond to ISO 8601 date values." msgstr "" -#: library/datetime.rst:2456 +#: library/datetime.rst:2459 msgid "``%G``" msgstr "" -#: library/datetime.rst:2456 +#: library/datetime.rst:2459 msgid "" "ISO 8601 year with century representing the year that contains the greater " "part of the ISO week (``%V``)." msgstr "" -#: library/datetime.rst:2456 +#: library/datetime.rst:2459 msgid "\\(8)" msgstr "" -#: library/datetime.rst:2461 +#: library/datetime.rst:2464 msgid "``%u``" msgstr "" -#: library/datetime.rst:2461 +#: library/datetime.rst:2464 msgid "ISO 8601 weekday as a decimal number where 1 is Monday." msgstr "" -#: library/datetime.rst:2461 +#: library/datetime.rst:2464 msgid "1, 2, ..., 7" msgstr "" -#: library/datetime.rst:2464 +#: library/datetime.rst:2467 msgid "``%V``" msgstr "" -#: library/datetime.rst:2464 +#: library/datetime.rst:2467 msgid "" "ISO 8601 week as a decimal number with Monday as the first day of the week. " "Week 01 is the week containing Jan 4." msgstr "" -#: library/datetime.rst:2464 +#: library/datetime.rst:2467 msgid "01, 02, ..., 53" msgstr "" -#: library/datetime.rst:2464 +#: library/datetime.rst:2467 msgid "\\(8), \\(9)" msgstr "" -#: library/datetime.rst:2591 +#: library/datetime.rst:2594 msgid "``%:z``" msgstr "" -#: library/datetime.rst:2470 +#: library/datetime.rst:2473 msgid "" "UTC offset in the form ``±HH:MM[:SS[.ffffff]]`` (empty string if the object " "is naive)." msgstr "" -#: library/datetime.rst:2470 +#: library/datetime.rst:2473 msgid "(empty), +00:00, -04:00, +10:30, +06:34:15, -03:07:12.345216" msgstr "" -#: library/datetime.rst:2476 +#: library/datetime.rst:2479 msgid "" "These may not be available on all platforms when used with the :meth:" "`strftime` method. The ISO 8601 year and ISO 8601 week directives are not " @@ -3010,7 +3010,7 @@ msgid "" "a :exc:`ValueError`." msgstr "" -#: library/datetime.rst:2481 +#: library/datetime.rst:2484 msgid "" "The full set of format codes supported varies across platforms, because " "Python calls the platform C library's :func:`strftime` function, and " @@ -3020,44 +3020,44 @@ msgid "" "unsupported format specifiers." msgstr "" -#: library/datetime.rst:2487 +#: library/datetime.rst:2490 msgid "``%G``, ``%u`` and ``%V`` were added." msgstr "" -#: library/datetime.rst:2490 +#: library/datetime.rst:2493 msgid "``%:z`` was added." msgstr "" -#: library/datetime.rst:2494 +#: library/datetime.rst:2497 msgid "Technical Detail" msgstr "" -#: library/datetime.rst:2496 +#: library/datetime.rst:2499 msgid "" "Broadly speaking, ``d.strftime(fmt)`` acts like the :mod:`time` module's " "``time.strftime(fmt, d.timetuple())`` although not all objects support a :" "meth:`timetuple` method." msgstr "" -#: library/datetime.rst:2500 +#: library/datetime.rst:2503 msgid "" "For the :meth:`datetime.strptime` class method, the default value is " "``1900-01-01T00:00:00.000``: any components not specified in the format " "string will be pulled from the default value. [#]_" msgstr "" -#: library/datetime.rst:2504 +#: library/datetime.rst:2507 msgid "Using ``datetime.strptime(date_string, format)`` is equivalent to::" msgstr "" -#: library/datetime.rst:2508 +#: library/datetime.rst:2511 msgid "" "except when the format includes sub-second components or timezone offset " "information, which are supported in ``datetime.strptime`` but are discarded " "by ``time.strptime``." msgstr "" -#: library/datetime.rst:2512 +#: library/datetime.rst:2515 msgid "" "For :class:`.time` objects, the format codes for year, month, and day should " "not be used, as :class:`time` objects have no such values. If they're used " @@ -3065,14 +3065,14 @@ msgid "" "day." msgstr "" -#: library/datetime.rst:2516 +#: library/datetime.rst:2519 msgid "" "For :class:`date` objects, the format codes for hours, minutes, seconds, and " "microseconds should not be used, as :class:`date` objects have no such " "values. If they're used anyway, ``0`` is substituted for them." msgstr "" -#: library/datetime.rst:2520 +#: library/datetime.rst:2523 msgid "" "For the same reason, handling of format strings containing Unicode code " "points that can't be represented in the charset of the current locale is " @@ -3081,7 +3081,7 @@ msgid "" "`UnicodeError` or return an empty string instead." msgstr "" -#: library/datetime.rst:2529 +#: library/datetime.rst:2532 msgid "" "Because the format depends on the current locale, care should be taken when " "making assumptions about the output value. Field orderings will vary (for " @@ -3089,37 +3089,37 @@ msgid "" "contain non-ASCII characters." msgstr "" -#: library/datetime.rst:2535 +#: library/datetime.rst:2538 msgid "" "The :meth:`strptime` method can parse years in the full [1, 9999] range, but " "years < 1000 must be zero-filled to 4-digit width." msgstr "" -#: library/datetime.rst:2538 +#: library/datetime.rst:2541 msgid "" "In previous versions, :meth:`strftime` method was restricted to years >= " "1900." msgstr "" -#: library/datetime.rst:2542 +#: library/datetime.rst:2545 msgid "" "In version 3.2, :meth:`strftime` method was restricted to years >= 1000." msgstr "" -#: library/datetime.rst:2547 +#: library/datetime.rst:2550 msgid "" "When used with the :meth:`strptime` method, the ``%p`` directive only " "affects the output hour field if the ``%I`` directive is used to parse the " "hour." msgstr "" -#: library/datetime.rst:2551 +#: library/datetime.rst:2554 msgid "" "Unlike the :mod:`time` module, the :mod:`datetime` module does not support " "leap seconds." msgstr "" -#: library/datetime.rst:2555 +#: library/datetime.rst:2558 msgid "" "When used with the :meth:`strptime` method, the ``%f`` directive accepts " "from one to six digits and zero pads on the right. ``%f`` is an extension to " @@ -3127,17 +3127,17 @@ msgid "" "in datetime objects, and therefore always available)." msgstr "" -#: library/datetime.rst:2562 +#: library/datetime.rst:2565 msgid "" "For a naive object, the ``%z``, ``%:z`` and ``%Z`` format codes are replaced " "by empty strings." msgstr "" -#: library/datetime.rst:2565 +#: library/datetime.rst:2568 msgid "For an aware object:" msgstr "" -#: library/datetime.rst:2568 +#: library/datetime.rst:2571 msgid "" ":meth:`utcoffset` is transformed into a string of the form ``±HHMM[SS[." "ffffff]]``, where ``HH`` is a 2-digit string giving the number of UTC offset " @@ -3151,7 +3151,7 @@ msgid "" "``'-0330'``." msgstr "" -#: library/datetime.rst:2582 +#: library/datetime.rst:2585 msgid "" "When the ``%z`` directive is provided to the :meth:`strptime` method, the " "UTC offsets can have a colon as a separator between hours, minutes and " @@ -3159,53 +3159,53 @@ msgid "" "hour. In addition, providing ``'Z'`` is identical to ``'+00:00'``." msgstr "" -#: library/datetime.rst:2590 +#: library/datetime.rst:2593 msgid "" "Behaves exactly as ``%z``, but has a colon separator added between hours, " "minutes and seconds." msgstr "" -#: library/datetime.rst:2594 +#: library/datetime.rst:2597 msgid "" "In :meth:`strftime`, ``%Z`` is replaced by an empty string if :meth:`tzname` " "returns ``None``; otherwise ``%Z`` is replaced by the returned value, which " "must be a string." msgstr "" -#: library/datetime.rst:2598 +#: library/datetime.rst:2601 msgid ":meth:`strptime` only accepts certain values for ``%Z``:" msgstr "" -#: library/datetime.rst:2600 +#: library/datetime.rst:2603 msgid "any value in ``time.tzname`` for your machine's locale" msgstr "" -#: library/datetime.rst:2601 +#: library/datetime.rst:2604 msgid "the hard-coded values ``UTC`` and ``GMT``" msgstr "" -#: library/datetime.rst:2603 +#: library/datetime.rst:2606 msgid "" "So someone living in Japan may have ``JST``, ``UTC``, and ``GMT`` as valid " "values, but probably not ``EST``. It will raise ``ValueError`` for invalid " "values." msgstr "" -#: library/datetime.rst:2607 +#: library/datetime.rst:2610 msgid "" "When the ``%z`` directive is provided to the :meth:`strptime` method, an " "aware :class:`.datetime` object will be produced. The ``tzinfo`` of the " "result will be set to a :class:`timezone` instance." msgstr "" -#: library/datetime.rst:2613 +#: library/datetime.rst:2616 msgid "" "When used with the :meth:`strptime` method, ``%U`` and ``%W`` are only used " "in calculations when the day of the week and the calendar year (``%Y``) are " "specified." msgstr "" -#: library/datetime.rst:2618 +#: library/datetime.rst:2621 msgid "" "Similar to ``%U`` and ``%W``, ``%V`` is only used in calculations when the " "day of the week and the ISO year (``%G``) are specified in a :meth:" @@ -3213,22 +3213,22 @@ msgid "" "interchangeable." msgstr "" -#: library/datetime.rst:2624 +#: library/datetime.rst:2627 msgid "" "When used with the :meth:`strptime` method, the leading zero is optional " "for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%j``, ``%U``, " "``%W``, and ``%V``. Format ``%y`` does require a leading zero." msgstr "" -#: library/datetime.rst:2629 +#: library/datetime.rst:2632 msgid "Footnotes" msgstr "" -#: library/datetime.rst:2630 +#: library/datetime.rst:2633 msgid "If, that is, we ignore the effects of Relativity" msgstr "" -#: library/datetime.rst:2632 +#: library/datetime.rst:2635 msgid "" "This matches the definition of the \"proleptic Gregorian\" calendar in " "Dershowitz and Reingold's book *Calendrical Calculations*, where it's the " @@ -3237,23 +3237,23 @@ msgid "" "systems." msgstr "" -#: library/datetime.rst:2638 +#: library/datetime.rst:2641 msgid "" "See R. H. van Gent's `guide to the mathematics of the ISO 8601 calendar " "`_ for a good explanation." msgstr "" -#: library/datetime.rst:2642 +#: library/datetime.rst:2645 msgid "" "Passing ``datetime.strptime('Feb 29', '%b %d')`` will fail since ``1900`` is " "not a leap year." msgstr "" -#: library/datetime.rst:2302 +#: library/datetime.rst:2305 msgid "% (percent)" msgstr "" -#: library/datetime.rst:2302 +#: library/datetime.rst:2305 msgid "datetime format" msgstr "" diff --git a/library/dbm.po b/library/dbm.po index d198693bc..dbf5d2254 100644 --- a/library/dbm.po +++ b/library/dbm.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -55,7 +55,7 @@ msgid "" "name, such as ``'dbm.ndbm'`` or ``'dbm.gnu'``." msgstr "" -#: library/dbm.rst:210 library/dbm.rst:393 +#: library/dbm.rst:210 library/dbm.rst:400 msgid "Accepts :term:`path-like object` for filename." msgstr "" @@ -70,51 +70,51 @@ msgid "" "the first module listed above that can be imported is used." msgstr "" -#: library/dbm.rst:166 library/dbm.rst:357 +#: library/dbm.rst:166 library/dbm.rst:364 msgid "The optional *flag* argument can be:" msgstr "" -#: library/dbm.rst:169 library/dbm.rst:287 library/dbm.rst:360 +#: library/dbm.rst:169 library/dbm.rst:294 library/dbm.rst:367 msgid "Value" msgstr "" -#: library/dbm.rst:169 library/dbm.rst:287 library/dbm.rst:360 +#: library/dbm.rst:169 library/dbm.rst:294 library/dbm.rst:367 msgid "Meaning" msgstr "" -#: library/dbm.rst:171 library/dbm.rst:362 +#: library/dbm.rst:171 library/dbm.rst:369 msgid "``'r'``" msgstr "" -#: library/dbm.rst:171 library/dbm.rst:362 +#: library/dbm.rst:171 library/dbm.rst:369 msgid "Open existing database for reading only (default)" msgstr "" -#: library/dbm.rst:174 library/dbm.rst:365 +#: library/dbm.rst:174 library/dbm.rst:372 msgid "``'w'``" msgstr "" -#: library/dbm.rst:174 library/dbm.rst:365 +#: library/dbm.rst:174 library/dbm.rst:372 msgid "Open existing database for reading and writing" msgstr "" -#: library/dbm.rst:177 library/dbm.rst:368 +#: library/dbm.rst:177 library/dbm.rst:375 msgid "``'c'``" msgstr "" -#: library/dbm.rst:177 library/dbm.rst:368 +#: library/dbm.rst:177 library/dbm.rst:375 msgid "Open database for reading and writing, creating it if it doesn't exist" msgstr "" -#: library/dbm.rst:180 library/dbm.rst:371 +#: library/dbm.rst:180 library/dbm.rst:378 msgid "``'n'``" msgstr "" -#: library/dbm.rst:180 library/dbm.rst:371 +#: library/dbm.rst:180 library/dbm.rst:378 msgid "Always create a new, empty database, open for reading and writing" msgstr "" -#: library/dbm.rst:302 library/dbm.rst:375 +#: library/dbm.rst:309 library/dbm.rst:382 msgid "" "The optional *mode* argument is the Unix mode of the file, used only when " "the database has to be created. It defaults to octal ``0o666`` (and will be " @@ -333,45 +333,53 @@ msgstr "" #: library/dbm.rst:270 msgid "" +"The ndbm library shipped as part of macOS has an undocumented limitation on " +"the size of values, which can result in corrupted database files when " +"storing values larger than this limit. Reading such corrupted files can " +"result in a hard crash (segmentation fault)." +msgstr "" + +#: library/dbm.rst:277 +msgid "" "Raised on :mod:`dbm.ndbm`-specific errors, such as I/O errors. :exc:" "`KeyError` is raised for general mapping errors like specifying an incorrect " "key." msgstr "" -#: library/dbm.rst:276 +#: library/dbm.rst:283 msgid "Name of the ``ndbm`` implementation library used." msgstr "" -#: library/dbm.rst:281 +#: library/dbm.rst:288 msgid "" "Open a dbm database and return a ``ndbm`` object. The *filename* argument " "is the name of the database file (without the :file:`.dir` or :file:`.pag` " "extensions)." msgstr "" -#: library/dbm.rst:284 +#: library/dbm.rst:291 msgid "The optional *flag* argument must be one of these values:" msgstr "" -#: library/dbm.rst:306 +#: library/dbm.rst:313 msgid "" "In addition to the dictionary-like methods, ``ndbm`` objects provide the " "following method:" msgstr "" -#: library/dbm.rst:314 +#: library/dbm.rst:321 msgid "Close the ``ndbm`` database." msgstr "" -#: library/dbm.rst:318 +#: library/dbm.rst:325 msgid ":mod:`dbm.dumb` --- Portable DBM implementation" msgstr "" -#: library/dbm.rst:323 +#: library/dbm.rst:330 msgid "**Source code:** :source:`Lib/dbm/dumb.py`" msgstr "" -#: library/dbm.rst:329 +#: library/dbm.rst:336 msgid "" "The :mod:`dbm.dumb` module is intended as a last resort fallback for the :" "mod:`dbm` module when a more robust module is not available. The :mod:`dbm." @@ -379,7 +387,7 @@ msgid "" "the other database modules." msgstr "" -#: library/dbm.rst:336 +#: library/dbm.rst:343 msgid "" "The :mod:`dbm.dumb` module provides a persistent dictionary-like interface " "which is written entirely in Python. Unlike other modules such as :mod:`dbm." @@ -387,18 +395,18 @@ msgid "" "the keys and values are always stored as bytes." msgstr "" -#: library/dbm.rst:341 +#: library/dbm.rst:348 msgid "The module defines the following:" msgstr "" -#: library/dbm.rst:346 +#: library/dbm.rst:353 msgid "" "Raised on :mod:`dbm.dumb`-specific errors, such as I/O errors. :exc:" "`KeyError` is raised for general mapping errors like specifying an incorrect " "key." msgstr "" -#: library/dbm.rst:352 +#: library/dbm.rst:359 msgid "" "Open a ``dumbdbm`` database and return a dumbdbm object. The *filename* " "argument is the basename of the database file (without any specific " @@ -406,42 +414,42 @@ msgid "" "and :file:`.dir` extensions are created." msgstr "" -#: library/dbm.rst:380 +#: library/dbm.rst:387 msgid "" "It is possible to crash the Python interpreter when loading a database with " "a sufficiently large/complex entry due to stack depth limitations in " "Python's AST compiler." msgstr "" -#: library/dbm.rst:384 +#: library/dbm.rst:391 msgid "" ":func:`.open` always creates a new database when the flag has the value " "``'n'``." msgstr "" -#: library/dbm.rst:388 +#: library/dbm.rst:395 msgid "" "A database opened with flags ``'r'`` is now read-only. Opening with flags " "``'r'`` and ``'w'`` no longer creates a database if it does not exist." msgstr "" -#: library/dbm.rst:396 +#: library/dbm.rst:403 msgid "" "In addition to the methods provided by the :class:`collections.abc." "MutableMapping` class, :class:`dumbdbm` objects provide the following " "methods:" msgstr "" -#: library/dbm.rst:402 +#: library/dbm.rst:409 msgid "" "Synchronize the on-disk directory and data files. This method is called by " "the :meth:`Shelve.sync` method." msgstr "" -#: library/dbm.rst:407 +#: library/dbm.rst:414 msgid "Close the ``dumbdbm`` database." msgstr "" -#: library/dbm.rst:325 +#: library/dbm.rst:332 msgid "databases" msgstr "" diff --git a/library/dis.po b/library/dis.po index 248cf9a74..c8c2b3fbb 100644 --- a/library/dis.po +++ b/library/dis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -367,21 +367,22 @@ msgstr "" #: library/dis.rst:326 msgid "" -"The :pep:`626` ``co_lines`` method is used instead of the ``co_firstlineno`` " -"and ``co_lnotab`` attributes of the code object." +"The :pep:`626` ``co_lines`` method is used instead of the :attr:`~codeobject." +"co_firstlineno` and :attr:`~codeobject.co_lnotab` attributes of the code " +"object." msgstr "" -#: library/dis.rst:333 +#: library/dis.rst:334 msgid "" "Detect all offsets in the raw compiled bytecode string *code* which are jump " "targets, and return a list of these offsets." msgstr "" -#: library/dis.rst:339 +#: library/dis.rst:340 msgid "Compute the stack effect of *opcode* with argument *oparg*." msgstr "" -#: library/dis.rst:341 +#: library/dis.rst:342 msgid "" "If the code has a jump target and *jump* is ``True``, :func:`~stack_effect` " "will return the stack effect of jumping. If *jump* is ``False``, it will " @@ -389,122 +390,122 @@ msgid "" "it will return the maximal stack effect of both cases." msgstr "" -#: library/dis.rst:348 +#: library/dis.rst:349 msgid "Added *jump* parameter." msgstr "" -#: library/dis.rst:355 +#: library/dis.rst:356 msgid "Python Bytecode Instructions" msgstr "" -#: library/dis.rst:357 +#: library/dis.rst:358 msgid "" "The :func:`get_instructions` function and :class:`Bytecode` class provide " "details of bytecode instructions as :class:`Instruction` instances:" msgstr "" -#: library/dis.rst:362 +#: library/dis.rst:363 msgid "Details for a bytecode operation" msgstr "" -#: library/dis.rst:366 +#: library/dis.rst:367 msgid "" "numeric code for operation, corresponding to the opcode values listed below " "and the bytecode values in the :ref:`opcode_collections`." msgstr "" -#: library/dis.rst:372 +#: library/dis.rst:373 msgid "human readable name for operation" msgstr "" -#: library/dis.rst:377 +#: library/dis.rst:378 msgid "numeric argument to operation (if any), otherwise ``None``" msgstr "" -#: library/dis.rst:382 +#: library/dis.rst:383 msgid "resolved arg value (if any), otherwise ``None``" msgstr "" -#: library/dis.rst:387 +#: library/dis.rst:388 msgid "" "human readable description of operation argument (if any), otherwise an " "empty string." msgstr "" -#: library/dis.rst:393 +#: library/dis.rst:394 msgid "start index of operation within bytecode sequence" msgstr "" -#: library/dis.rst:398 +#: library/dis.rst:399 msgid "line started by this opcode (if any), otherwise ``None``" msgstr "" -#: library/dis.rst:403 +#: library/dis.rst:404 msgid "``True`` if other code jumps to here, otherwise ``False``" msgstr "" -#: library/dis.rst:408 +#: library/dis.rst:409 msgid "" ":class:`dis.Positions` object holding the start and end locations that are " "covered by this instruction." msgstr "" -#: library/dis.rst:415 +#: library/dis.rst:416 msgid "Field ``positions`` is added." msgstr "" -#: library/dis.rst:420 +#: library/dis.rst:421 msgid "" "In case the information is not available, some fields might be ``None``." msgstr "" -#: library/dis.rst:430 +#: library/dis.rst:431 msgid "" "The Python compiler currently generates the following bytecode instructions." msgstr "" -#: library/dis.rst:433 +#: library/dis.rst:434 msgid "**General instructions**" msgstr "" -#: library/dis.rst:435 +#: library/dis.rst:436 msgid "" "In the following, We will refer to the interpreter stack as ``STACK`` and " "describe operations on it as if it was a Python list. The top of the stack " "corresponds to ``STACK[-1]`` in this language." msgstr "" -#: library/dis.rst:441 +#: library/dis.rst:442 msgid "" "Do nothing code. Used as a placeholder by the bytecode optimizer, and to " "generate line tracing events." msgstr "" -#: library/dis.rst:447 +#: library/dis.rst:448 msgid "Removes the top-of-stack item::" msgstr "" -#: library/dis.rst:454 +#: library/dis.rst:455 msgid "" "Removes the top two values from the stack. Equivalent to ``POP_TOP``; " "``POP_TOP``. Used to clean up at the end of loops, hence the name." msgstr "" -#: library/dis.rst:463 +#: library/dis.rst:464 msgid "Implements ``del STACK[-2]``. Used to clean up when a generator exits." msgstr "" -#: library/dis.rst:471 +#: library/dis.rst:472 msgid "" "Push the i-th item to the top of the stack without removing it from its " "original location::" msgstr "" -#: library/dis.rst:482 +#: library/dis.rst:483 msgid "Swap the top of the stack with the i-th element::" msgstr "" -#: library/dis.rst:491 +#: library/dis.rst:492 msgid "" "Rather than being an actual instruction, this opcode is used to mark extra " "space for the interpreter to cache useful data directly in the bytecode " @@ -512,87 +513,87 @@ msgid "" "viewed with ``show_caches=True``." msgstr "" -#: library/dis.rst:496 +#: library/dis.rst:497 msgid "" "Logically, this space is part of the preceding instruction. Many opcodes " "expect to be followed by an exact number of caches, and will instruct the " "interpreter to skip over them at runtime." msgstr "" -#: library/dis.rst:500 +#: library/dis.rst:501 msgid "" "Populated caches can look like arbitrary instructions, so great care should " "be taken when reading or modifying raw, adaptive bytecode containing " "quickened data." msgstr "" -#: library/dis.rst:507 +#: library/dis.rst:508 msgid "**Unary operations**" msgstr "" -#: library/dis.rst:509 +#: library/dis.rst:510 msgid "" "Unary operations take the top of the stack, apply the operation, and push " "the result back on the stack." msgstr "" -#: library/dis.rst:515 +#: library/dis.rst:516 msgid "Implements ``STACK[-1] = -STACK[-1]``." msgstr "" -#: library/dis.rst:520 +#: library/dis.rst:521 msgid "Implements ``STACK[-1] = not STACK[-1]``." msgstr "" -#: library/dis.rst:525 +#: library/dis.rst:526 msgid "Implements ``STACK[-1] = ~STACK[-1]``." msgstr "" -#: library/dis.rst:530 +#: library/dis.rst:531 msgid "Implements ``STACK[-1] = iter(STACK[-1])``." msgstr "" -#: library/dis.rst:535 +#: library/dis.rst:536 msgid "" "If ``STACK[-1]`` is a :term:`generator iterator` or :term:`coroutine` object " "it is left as is. Otherwise, implements ``STACK[-1] = iter(STACK[-1])``." msgstr "" -#: library/dis.rst:541 +#: library/dis.rst:542 msgid "**Binary and in-place operations**" msgstr "" -#: library/dis.rst:543 +#: library/dis.rst:544 msgid "" "Binary operations remove the top two items from the stack (``STACK[-1]`` and " "``STACK[-2]``). They perform the operation, then put the result back on the " "stack." msgstr "" -#: library/dis.rst:546 +#: library/dis.rst:547 msgid "" "In-place operations are like binary operations, but the operation is done in-" "place when ``STACK[-2]`` supports it, and the resulting ``STACK[-1]`` may be " "(but does not have to be) the original ``STACK[-2]``." msgstr "" -#: library/dis.rst:553 +#: library/dis.rst:554 msgid "" "Implements the binary and in-place operators (depending on the value of " "*op*)::" msgstr "" -#: library/dis.rst:574 library/dis.rst:592 library/dis.rst:692 -#: library/dis.rst:712 library/dis.rst:943 library/dis.rst:1055 -#: library/dis.rst:1067 +#: library/dis.rst:575 library/dis.rst:593 library/dis.rst:693 +#: library/dis.rst:713 library/dis.rst:944 library/dis.rst:1056 +#: library/dis.rst:1068 msgid "Implements::" msgstr "" -#: library/dis.rst:615 +#: library/dis.rst:616 msgid "**Coroutine opcodes**" msgstr "" -#: library/dis.rst:619 +#: library/dis.rst:620 msgid "" "Implements ``STACK[-1] = get_awaitable(STACK[-1])``, where " "``get_awaitable(o)`` returns ``o`` if ``o`` is a coroutine object or a " @@ -600,39 +601,39 @@ msgid "" "resolves ``o.__await__``." msgstr "" -#: library/dis.rst:624 +#: library/dis.rst:625 msgid "" "If the ``where`` operand is nonzero, it indicates where the instruction " "occurs:" msgstr "" -#: library/dis.rst:627 +#: library/dis.rst:628 msgid "``1``: After a call to ``__aenter__``" msgstr "" -#: library/dis.rst:628 +#: library/dis.rst:629 msgid "``2``: After a call to ``__aexit__``" msgstr "" -#: library/dis.rst:632 +#: library/dis.rst:633 msgid "Previously, this instruction did not have an oparg." msgstr "" -#: library/dis.rst:638 +#: library/dis.rst:639 msgid "Implements ``STACK[-1] = STACK[-1].__aiter__()``." msgstr "" -#: library/dis.rst:641 +#: library/dis.rst:642 msgid "Returning awaitable objects from ``__aiter__`` is no longer supported." msgstr "" -#: library/dis.rst:648 +#: library/dis.rst:649 msgid "" "Implement ``STACK.append(get_awaitable(STACK[-1].__anext__()))`` to the " "stack. See ``GET_AWAITABLE`` for details about ``get_awaitable``." msgstr "" -#: library/dis.rst:656 +#: library/dis.rst:657 msgid "" "Terminates an :keyword:`async for` loop. Handles an exception raised when " "awaiting a next item. The stack contains the async iterable in ``STACK[-2]`` " @@ -640,12 +641,12 @@ msgid "" "is not :exc:`StopAsyncIteration`, it is re-raised." msgstr "" -#: library/dis.rst:768 library/dis.rst:779 +#: library/dis.rst:769 library/dis.rst:780 msgid "" "Exception representation on the stack now consist of one, not three, items." msgstr "" -#: library/dis.rst:669 +#: library/dis.rst:670 msgid "" "Handles an exception raised during a :meth:`~generator.throw` or :meth:" "`~generator.close` call through the current frame. If ``STACK[-1]`` is an " @@ -653,35 +654,35 @@ msgid "" "its ``value`` member. Otherwise, re-raise ``STACK[-1]``." msgstr "" -#: library/dis.rst:679 +#: library/dis.rst:680 msgid "" "Resolves ``__aenter__`` and ``__aexit__`` from ``STACK[-1]``. Pushes " "``__aexit__`` and result of ``__aenter__()`` to the stack::" msgstr "" -#: library/dis.rst:688 +#: library/dis.rst:689 msgid "**Miscellaneous opcodes**" msgstr "" -#: library/dis.rst:697 +#: library/dis.rst:698 msgid "Used to implement set comprehensions." msgstr "" -#: library/dis.rst:707 +#: library/dis.rst:708 msgid "Used to implement list comprehensions." msgstr "" -#: library/dis.rst:718 +#: library/dis.rst:719 msgid "Used to implement dict comprehensions." msgstr "" -#: library/dis.rst:721 +#: library/dis.rst:722 msgid "" "Map value is ``STACK[-1]`` and map key is ``STACK[-2]``. Before, those were " "reversed." msgstr "" -#: library/dis.rst:725 +#: library/dis.rst:726 msgid "" "For all of the :opcode:`SET_ADD`, :opcode:`LIST_APPEND` and :opcode:" "`MAP_ADD` instructions, while the added value or key/value pair is popped " @@ -689,29 +690,29 @@ msgid "" "further iterations of the loop." msgstr "" -#: library/dis.rst:733 +#: library/dis.rst:734 msgid "Returns with ``STACK[-1]`` to the caller of the function." msgstr "" -#: library/dis.rst:738 +#: library/dis.rst:739 msgid "Returns with ``co_consts[consti]`` to the caller of the function." msgstr "" -#: library/dis.rst:745 +#: library/dis.rst:746 msgid "Yields ``STACK.pop()`` from a :term:`generator`." msgstr "" -#: library/dis.rst:747 +#: library/dis.rst:748 msgid "oparg set to be the stack depth." msgstr "" -#: library/dis.rst:750 +#: library/dis.rst:751 msgid "" "oparg set to be the exception block depth, for efficient closing of " "generators." msgstr "" -#: library/dis.rst:756 +#: library/dis.rst:757 msgid "" "Checks whether ``__annotations__`` is defined in ``locals()``, if not it is " "set up to an empty ``dict``. This opcode is only emitted if a class or " @@ -719,39 +720,39 @@ msgid "" "statically." msgstr "" -#: library/dis.rst:766 +#: library/dis.rst:767 msgid "" "Pops a value from the stack, which is used to restore the exception state." msgstr "" -#: library/dis.rst:773 +#: library/dis.rst:774 msgid "" "Re-raises the exception currently on top of the stack. If oparg is non-zero, " -"pops an additional value from the stack which is used to set ``f_lasti`` of " -"the current frame." +"pops an additional value from the stack which is used to set :attr:`~frame." +"f_lasti` of the current frame." msgstr "" -#: library/dis.rst:784 +#: library/dis.rst:785 msgid "" "Pops a value from the stack. Pushes the current exception to the top of the " "stack. Pushes the value originally popped back to the stack. Used in " "exception handlers." msgstr "" -#: library/dis.rst:792 +#: library/dis.rst:793 msgid "" "Performs exception matching for ``except``. Tests whether the ``STACK[-2]`` " "is an exception matching ``STACK[-1]``. Pops ``STACK[-1]`` and pushes the " "boolean result of the test." msgstr "" -#: library/dis.rst:800 +#: library/dis.rst:801 msgid "" "Performs exception matching for ``except*``. Applies ``split(STACK[-1])`` on " "the exception group representing ``STACK[-2]``." msgstr "" -#: library/dis.rst:803 +#: library/dis.rst:804 msgid "" "In case of a match, pops two items from the stack and pushes the non-" "matching subgroup (``None`` in case of full match) followed by the matching " @@ -759,7 +760,7 @@ msgid "" "``None``." msgstr "" -#: library/dis.rst:812 +#: library/dis.rst:813 msgid "" "Calls the function in position 4 on the stack with arguments (type, val, tb) " "representing the exception at the top of the stack. Used to implement the " @@ -767,25 +768,25 @@ msgid "" "occurred in a :keyword:`with` statement." msgstr "" -#: library/dis.rst:819 +#: library/dis.rst:820 msgid "" "The ``__exit__`` function is in position 4 of the stack rather than 7. " "Exception representation on the stack now consist of one, not three, items." msgstr "" -#: library/dis.rst:826 +#: library/dis.rst:827 msgid "" "Pushes :exc:`AssertionError` onto the stack. Used by the :keyword:`assert` " "statement." msgstr "" -#: library/dis.rst:834 +#: library/dis.rst:835 msgid "" "Pushes :func:`!builtins.__build_class__` onto the stack. It is later called " "to construct a class." msgstr "" -#: library/dis.rst:840 +#: library/dis.rst:841 msgid "" "This opcode performs several operations before a with block starts. First, " "it loads :meth:`~object.__exit__` from the context manager and pushes it " @@ -794,11 +795,11 @@ msgid "" "``__enter__()`` method is pushed onto the stack." msgstr "" -#: library/dis.rst:851 +#: library/dis.rst:852 msgid "Perform ``STACK.append(len(STACK[-1]))``." msgstr "" -#: library/dis.rst:858 +#: library/dis.rst:859 msgid "" "If ``STACK[-1]`` is an instance of :class:`collections.abc.Mapping` (or, " "more technically: if it has the :c:macro:`Py_TPFLAGS_MAPPING` flag set in " @@ -806,7 +807,7 @@ msgid "" "Otherwise, push ``False``." msgstr "" -#: library/dis.rst:868 +#: library/dis.rst:869 msgid "" "If ``STACK[-1]`` is an instance of :class:`collections.abc.Sequence` and is " "*not* an instance of :class:`str`/:class:`bytes`/:class:`bytearray` (or, " @@ -815,40 +816,40 @@ msgid "" "Otherwise, push ``False``." msgstr "" -#: library/dis.rst:878 +#: library/dis.rst:879 msgid "" "``STACK[-1]`` is a tuple of mapping keys, and ``STACK[-2]`` is the match " "subject. If ``STACK[-2]`` contains all of the keys in ``STACK[-1]``, push a :" "class:`tuple` containing the corresponding values. Otherwise, push ``None``." msgstr "" -#: library/dis.rst:1511 +#: library/dis.rst:1512 msgid "" "Previously, this instruction also pushed a boolean value indicating success " "(``True``) or failure (``False``)." msgstr "" -#: library/dis.rst:891 +#: library/dis.rst:892 msgid "" "Implements ``name = STACK.pop()``. *namei* is the index of *name* in the " -"attribute :attr:`!co_names` of the :ref:`code object `. The " -"compiler tries to use :opcode:`STORE_FAST` or :opcode:`STORE_GLOBAL` if " -"possible." +"attribute :attr:`~codeobject.co_names` of the :ref:`code object `. The compiler tries to use :opcode:`STORE_FAST` or :opcode:" +"`STORE_GLOBAL` if possible." msgstr "" -#: library/dis.rst:898 +#: library/dis.rst:899 msgid "" -"Implements ``del name``, where *namei* is the index into :attr:`!co_names` " -"attribute of the :ref:`code object `." +"Implements ``del name``, where *namei* is the index into :attr:`~codeobject." +"co_names` attribute of the :ref:`code object `." msgstr "" -#: library/dis.rst:904 +#: library/dis.rst:905 msgid "" "Unpacks ``STACK[-1]`` into *count* individual values, which are put onto the " "stack right-to-left. Require there to be exactly *count* values.::" msgstr "" -#: library/dis.rst:913 +#: library/dis.rst:914 msgid "" "Implements assignment with a starred target: Unpacks an iterable in " "``STACK[-1]`` into individual values, where the total number of values can " @@ -856,11 +857,11 @@ msgid "" "will be a list of all leftover items." msgstr "" -#: library/dis.rst:918 +#: library/dis.rst:919 msgid "The number of values before and after the list value is limited to 255." msgstr "" -#: library/dis.rst:920 +#: library/dis.rst:921 msgid "" "The number of values before the list value is encoded in the argument of the " "opcode. The number of values after the list if any is encoded using an " @@ -869,50 +870,50 @@ msgid "" "list value, the high byte of *counts* the number of values after it." msgstr "" -#: library/dis.rst:926 +#: library/dis.rst:927 msgid "" "The extracted values are put onto the stack right-to-left, i.e. ``a, *b, c = " "d`` will be stored after execution as ``STACK.extend((a, b, c))``." msgstr "" -#: library/dis.rst:938 +#: library/dis.rst:939 msgid "" -"where *namei* is the index of name in :attr:`!co_names` of the :ref:`code " -"object `." +"where *namei* is the index of name in :attr:`~codeobject.co_names` of the :" +"ref:`code object `." msgstr "" -#: library/dis.rst:948 +#: library/dis.rst:949 msgid "" -"where *namei* is the index of name into :attr:`!co_names` of the :ref:`code " -"object `." +"where *namei* is the index of name into :attr:`~codeobject.co_names` of the :" +"ref:`code object `." msgstr "" -#: library/dis.rst:954 +#: library/dis.rst:955 msgid "Works as :opcode:`STORE_NAME`, but stores the name as a global." msgstr "" -#: library/dis.rst:959 +#: library/dis.rst:960 msgid "Works as :opcode:`DELETE_NAME`, but deletes a global name." msgstr "" -#: library/dis.rst:964 +#: library/dis.rst:965 msgid "Pushes ``co_consts[consti]`` onto the stack." msgstr "" -#: library/dis.rst:969 +#: library/dis.rst:970 msgid "" "Pushes the value associated with ``co_names[namei]`` onto the stack. The " "name is looked up within the locals, then the globals, then the builtins." msgstr "" -#: library/dis.rst:975 +#: library/dis.rst:976 msgid "" "Pushes a reference to the locals dictionary onto the stack. This is used to " "prepare namespace dictionaries for :opcode:`LOAD_FROM_DICT_OR_DEREF` and :" "opcode:`LOAD_FROM_DICT_OR_GLOBALS`." msgstr "" -#: library/dis.rst:984 +#: library/dis.rst:985 msgid "" "Pops a mapping off the stack and looks up the value for ``co_names[namei]``. " "If the name is not found there, looks it up in the globals and then the " @@ -921,69 +922,69 @@ msgid "" "bodies." msgstr "" -#: library/dis.rst:995 +#: library/dis.rst:996 msgid "" "Creates a tuple consuming *count* items from the stack, and pushes the " "resulting tuple onto the stack.::" msgstr "" -#: library/dis.rst:1005 +#: library/dis.rst:1006 msgid "Works as :opcode:`BUILD_TUPLE`, but creates a list." msgstr "" -#: library/dis.rst:1010 +#: library/dis.rst:1011 msgid "Works as :opcode:`BUILD_TUPLE`, but creates a set." msgstr "" -#: library/dis.rst:1015 +#: library/dis.rst:1016 msgid "" "Pushes a new dictionary object onto the stack. Pops ``2 * count`` items so " "that the dictionary holds *count* entries: ``{..., STACK[-4]: STACK[-3], " "STACK[-2]: STACK[-1]}``." msgstr "" -#: library/dis.rst:1019 +#: library/dis.rst:1020 msgid "" "The dictionary is created from stack items instead of creating an empty " "dictionary pre-sized to hold *count* items." msgstr "" -#: library/dis.rst:1026 +#: library/dis.rst:1027 msgid "" "The version of :opcode:`BUILD_MAP` specialized for constant keys. Pops the " "top element on the stack which contains a tuple of keys, then starting from " "``STACK[-2]``, pops *count* values to form values in the built dictionary." msgstr "" -#: library/dis.rst:1035 +#: library/dis.rst:1036 msgid "" "Concatenates *count* strings from the stack and pushes the resulting string " "onto the stack." msgstr "" -#: library/dis.rst:1048 +#: library/dis.rst:1049 msgid "Used to build lists." msgstr "" -#: library/dis.rst:1060 +#: library/dis.rst:1061 msgid "Used to build sets." msgstr "" -#: library/dis.rst:1072 +#: library/dis.rst:1073 msgid "Used to build dicts." msgstr "" -#: library/dis.rst:1079 +#: library/dis.rst:1080 msgid "Like :opcode:`DICT_UPDATE` but raises an exception for duplicate keys." msgstr "" -#: library/dis.rst:1086 +#: library/dis.rst:1087 msgid "" "If the low bit of ``namei`` is not set, this replaces ``STACK[-1]`` with " "``getattr(STACK[-1], co_names[namei>>1])``." msgstr "" -#: library/dis.rst:1089 +#: library/dis.rst:1090 msgid "" "If the low bit of ``namei`` is set, this will attempt to load a method named " "``co_names[namei>>1]`` from the ``STACK[-1]`` object. ``STACK[-1]`` is " @@ -994,60 +995,60 @@ msgid "" "the object returned by the attribute lookup are pushed." msgstr "" -#: library/dis.rst:1097 +#: library/dis.rst:1098 msgid "" "If the low bit of ``namei`` is set, then a ``NULL`` or ``self`` is pushed to " "the stack before the attribute or unbound method respectively." msgstr "" -#: library/dis.rst:1104 +#: library/dis.rst:1105 msgid "" "This opcode implements :func:`super`, both in its zero-argument and two-" "argument forms (e.g. ``super().method()``, ``super().attr`` and ``super(cls, " "self).method()``, ``super(cls, self).attr``)." msgstr "" -#: library/dis.rst:1108 +#: library/dis.rst:1109 msgid "" "It pops three values from the stack (from top of stack down): - ``self``: " "the first argument to the current method - ``cls``: the class within which " "the current method was defined - the global ``super``" msgstr "" -#: library/dis.rst:1113 +#: library/dis.rst:1114 msgid "" "With respect to its argument, it works similarly to :opcode:`LOAD_ATTR`, " "except that ``namei`` is shifted left by 2 bits instead of 1." msgstr "" -#: library/dis.rst:1116 +#: library/dis.rst:1117 msgid "" "The low bit of ``namei`` signals to attempt a method load, as with :opcode:" "`LOAD_ATTR`, which results in pushing ``None`` and the loaded method. When " "it is unset a single value is pushed to the stack." msgstr "" -#: library/dis.rst:1120 +#: library/dis.rst:1121 msgid "" "The second-low bit of ``namei``, if set, means that this was a two-argument " "call to :func:`super` (unset means zero-argument)." msgstr "" -#: library/dis.rst:1128 +#: library/dis.rst:1129 msgid "" "Performs a Boolean operation. The operation name can be found in " "``cmp_op[opname]``." msgstr "" -#: library/dis.rst:1134 +#: library/dis.rst:1135 msgid "Performs ``is`` comparison, or ``is not`` if ``invert`` is 1." msgstr "" -#: library/dis.rst:1141 +#: library/dis.rst:1142 msgid "Performs ``in`` comparison, or ``not in`` if ``invert`` is 1." msgstr "" -#: library/dis.rst:1148 +#: library/dis.rst:1149 msgid "" "Imports the module ``co_names[namei]``. ``STACK[-1]`` and ``STACK[-2]`` are " "popped and provide the *fromlist* and *level* arguments of :func:" @@ -1056,67 +1057,67 @@ msgid "" "opcode:`STORE_FAST` instruction modifies the namespace." msgstr "" -#: library/dis.rst:1156 +#: library/dis.rst:1157 msgid "" "Loads the attribute ``co_names[namei]`` from the module found in " "``STACK[-1]``. The resulting object is pushed onto the stack, to be " "subsequently stored by a :opcode:`STORE_FAST` instruction." msgstr "" -#: library/dis.rst:1163 +#: library/dis.rst:1164 msgid "Increments bytecode counter by *delta*." msgstr "" -#: library/dis.rst:1168 +#: library/dis.rst:1169 msgid "Decrements bytecode counter by *delta*. Checks for interrupts." msgstr "" -#: library/dis.rst:1175 +#: library/dis.rst:1176 msgid "Decrements bytecode counter by *delta*. Does not check for interrupts." msgstr "" -#: library/dis.rst:1182 +#: library/dis.rst:1183 msgid "" "If ``STACK[-1]`` is true, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." msgstr "" -#: library/dis.rst:1198 +#: library/dis.rst:1199 msgid "" "The oparg is now a relative delta rather than an absolute target. This " "opcode is a pseudo-instruction, replaced in final bytecode by the directed " "versions (forward/backward)." msgstr "" -#: library/dis.rst:1203 library/dis.rst:1230 +#: library/dis.rst:1204 library/dis.rst:1231 msgid "This is no longer a pseudo-instruction." msgstr "" -#: library/dis.rst:1195 +#: library/dis.rst:1196 msgid "" "If ``STACK[-1]`` is false, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." msgstr "" -#: library/dis.rst:1208 +#: library/dis.rst:1209 msgid "" "If ``STACK[-1]`` is not ``None``, increments the bytecode counter by " "*delta*. ``STACK[-1]`` is popped." msgstr "" -#: library/dis.rst:1225 +#: library/dis.rst:1226 msgid "" "This opcode is a pseudo-instruction, replaced in final bytecode by the " "directed versions (forward/backward)." msgstr "" -#: library/dis.rst:1222 +#: library/dis.rst:1223 msgid "" "If ``STACK[-1]`` is ``None``, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." msgstr "" -#: library/dis.rst:1235 +#: library/dis.rst:1236 msgid "" "``STACK[-1]`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` " "method. If this yields a new value, push it on the stack (leaving the " @@ -1124,82 +1125,87 @@ msgid "" "code counter is incremented by *delta*." msgstr "" -#: library/dis.rst:1240 +#: library/dis.rst:1241 msgid "Up until 3.11 the iterator was popped when it was exhausted." msgstr "" -#: library/dis.rst:1245 +#: library/dis.rst:1246 msgid "Loads the global named ``co_names[namei>>1]`` onto the stack." msgstr "" -#: library/dis.rst:1247 +#: library/dis.rst:1248 msgid "" "If the low bit of ``namei`` is set, then a ``NULL`` is pushed to the stack " "before the global variable." msgstr "" -#: library/dis.rst:1253 +#: library/dis.rst:1254 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack." msgstr "" -#: library/dis.rst:1255 +#: library/dis.rst:1256 msgid "" "This opcode is now only used in situations where the local variable is " "guaranteed to be initialized. It cannot raise :exc:`UnboundLocalError`." msgstr "" -#: library/dis.rst:1261 +#: library/dis.rst:1262 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack, " "raising an :exc:`UnboundLocalError` if the local variable has not been " "initialized." msgstr "" -#: library/dis.rst:1269 +#: library/dis.rst:1270 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack (or " "pushes ``NULL`` onto the stack if the local variable has not been " "initialized) and sets ``co_varnames[var_num]`` to ``NULL``." msgstr "" -#: library/dis.rst:1277 +#: library/dis.rst:1278 msgid "Stores ``STACK.pop()`` into the local ``co_varnames[var_num]``." msgstr "" -#: library/dis.rst:1282 +#: library/dis.rst:1283 msgid "Deletes local ``co_varnames[var_num]``." msgstr "" -#: library/dis.rst:1287 +#: library/dis.rst:1288 msgid "" "Creates a new cell in slot ``i``. If that slot is nonempty then that value " "is stored into the new cell." msgstr "" -#: library/dis.rst:1295 +#: library/dis.rst:1296 msgid "" "Pushes a reference to the cell contained in slot ``i`` of the \"fast " "locals\" storage. The name of the variable is ``co_fastlocalnames[i]``." msgstr "" -#: library/dis.rst:1298 +#: library/dis.rst:1299 msgid "" "Note that ``LOAD_CLOSURE`` is effectively an alias for ``LOAD_FAST``. It " "exists to keep bytecode a little more readable." msgstr "" -#: library/dis.rst:1310 library/dis.rst:1343 +#: library/dis.rst:1302 msgid "``i`` is no longer offset by the length of ``co_varnames``." msgstr "" -#: library/dis.rst:1307 +#: library/dis.rst:1308 msgid "" "Loads the cell contained in slot ``i`` of the \"fast locals\" storage. " "Pushes a reference to the object the cell contains on the stack." msgstr "" -#: library/dis.rst:1316 +#: library/dis.rst:1333 library/dis.rst:1344 +msgid "" +"``i`` is no longer offset by the length of :attr:`~codeobject.co_varnames`." +msgstr "" + +#: library/dis.rst:1317 msgid "" "Pops a mapping off the stack and looks up the name associated with slot " "``i`` of the \"fast locals\" storage in this mapping. If the name is not " @@ -1209,94 +1215,94 @@ msgid "" "scopes ` within class bodies." msgstr "" -#: library/dis.rst:1329 +#: library/dis.rst:1330 msgid "" "Stores ``STACK.pop()`` into the cell contained in slot ``i`` of the \"fast " "locals\" storage." msgstr "" -#: library/dis.rst:1338 +#: library/dis.rst:1339 msgid "" "Empties the cell contained in slot ``i`` of the \"fast locals\" storage. " "Used by the :keyword:`del` statement." msgstr "" -#: library/dis.rst:1349 +#: library/dis.rst:1350 msgid "" "Copies the ``n`` free variables from the closure into the frame. Removes the " "need for special code on the caller's side when calling closures." msgstr "" -#: library/dis.rst:1358 +#: library/dis.rst:1359 msgid "" "Raises an exception using one of the 3 forms of the ``raise`` statement, " "depending on the value of *argc*:" msgstr "" -#: library/dis.rst:1361 +#: library/dis.rst:1362 msgid "0: ``raise`` (re-raise previous exception)" msgstr "" -#: library/dis.rst:1362 +#: library/dis.rst:1363 msgid "" "1: ``raise STACK[-1]`` (raise exception instance or type at ``STACK[-1]``)" msgstr "" -#: library/dis.rst:1363 +#: library/dis.rst:1364 msgid "" "2: ``raise STACK[-2] from STACK[-1]`` (raise exception instance or type at " "``STACK[-2]`` with ``__cause__`` set to ``STACK[-1]``)" msgstr "" -#: library/dis.rst:1369 +#: library/dis.rst:1370 msgid "" "Calls a callable object with the number of arguments specified by ``argc``, " "including the named arguments specified by the preceding :opcode:`KW_NAMES`, " "if any. On the stack are (in ascending order), either:" msgstr "" -#: library/dis.rst:1374 +#: library/dis.rst:1375 msgid "NULL" msgstr "" -#: library/dis.rst:1381 +#: library/dis.rst:1382 msgid "The callable" msgstr "" -#: library/dis.rst:1376 +#: library/dis.rst:1377 msgid "The positional arguments" msgstr "" -#: library/dis.rst:1384 +#: library/dis.rst:1385 msgid "The named arguments" msgstr "" -#: library/dis.rst:1379 +#: library/dis.rst:1380 msgid "or:" msgstr "" -#: library/dis.rst:1382 +#: library/dis.rst:1383 msgid "``self``" msgstr "" -#: library/dis.rst:1383 +#: library/dis.rst:1384 msgid "The remaining positional arguments" msgstr "" -#: library/dis.rst:1386 +#: library/dis.rst:1387 msgid "" "``argc`` is the total of the positional and named arguments, excluding " "``self`` when a ``NULL`` is not present." msgstr "" -#: library/dis.rst:1389 +#: library/dis.rst:1390 msgid "" "``CALL`` pops all arguments and the callable object off the stack, calls the " "callable object with those arguments, and pushes the return value returned " "by the callable object." msgstr "" -#: library/dis.rst:1398 +#: library/dis.rst:1399 msgid "" "Calls a callable object with variable set of positional and keyword " "arguments. If the lowest bit of *flags* is set, the top of the stack " @@ -1308,70 +1314,70 @@ msgid "" "arguments, and pushes the return value returned by the callable object." msgstr "" -#: library/dis.rst:1413 +#: library/dis.rst:1414 msgid "" "Pushes a ``NULL`` to the stack. Used in the call sequence to match the " "``NULL`` pushed by :opcode:`LOAD_METHOD` for non-method calls." msgstr "" -#: library/dis.rst:1422 +#: library/dis.rst:1423 msgid "" "Prefixes :opcode:`CALL`. Stores a reference to ``co_consts[consti]`` into an " "internal variable for use by :opcode:`CALL`. ``co_consts[consti]`` must be a " "tuple of strings." msgstr "" -#: library/dis.rst:1431 +#: library/dis.rst:1432 msgid "" "Pushes a new function object on the stack. From bottom to top, the consumed " "stack must consist of values if the argument carries a specified flag value" msgstr "" -#: library/dis.rst:1434 +#: library/dis.rst:1435 msgid "" "``0x01`` a tuple of default values for positional-only and positional-or-" "keyword parameters in positional order" msgstr "" -#: library/dis.rst:1436 +#: library/dis.rst:1437 msgid "``0x02`` a dictionary of keyword-only parameters' default values" msgstr "" -#: library/dis.rst:1437 +#: library/dis.rst:1438 msgid "``0x04`` a tuple of strings containing parameters' annotations" msgstr "" -#: library/dis.rst:1438 +#: library/dis.rst:1439 msgid "``0x08`` a tuple containing cells for free variables, making a closure" msgstr "" -#: library/dis.rst:1439 +#: library/dis.rst:1440 msgid "the code associated with the function (at ``STACK[-1]``)" msgstr "" -#: library/dis.rst:1441 +#: library/dis.rst:1442 msgid "Flag value ``0x04`` is a tuple of strings instead of dictionary" msgstr "" -#: library/dis.rst:1444 +#: library/dis.rst:1445 msgid "Qualified name at ``STACK[-1]`` was removed." msgstr "" -#: library/dis.rst:1452 +#: library/dis.rst:1453 msgid "" "Pushes a slice object on the stack. *argc* must be 2 or 3. If it is 2, " "implements::" msgstr "" -#: library/dis.rst:1458 +#: library/dis.rst:1459 msgid "if it is 3, implements::" msgstr "" -#: library/dis.rst:1465 +#: library/dis.rst:1466 msgid "See the :func:`slice` built-in function for more information." msgstr "" -#: library/dis.rst:1470 +#: library/dis.rst:1471 msgid "" "Prefixes any opcode which has an argument too big to fit into the default " "one byte. *ext* holds an additional byte which act as higher bits in the " @@ -1379,54 +1385,54 @@ msgid "" "allowed, forming an argument from two-byte to four-byte." msgstr "" -#: library/dis.rst:1478 +#: library/dis.rst:1479 msgid "" "Used for implementing formatted literal strings (f-strings). Pops an " "optional *fmt_spec* from the stack, then a required *value*. *flags* is " "interpreted as follows:" msgstr "" -#: library/dis.rst:1482 +#: library/dis.rst:1483 msgid "``(flags & 0x03) == 0x00``: *value* is formatted as-is." msgstr "" -#: library/dis.rst:1483 +#: library/dis.rst:1484 msgid "" "``(flags & 0x03) == 0x01``: call :func:`str` on *value* before formatting it." msgstr "" -#: library/dis.rst:1485 +#: library/dis.rst:1486 msgid "" "``(flags & 0x03) == 0x02``: call :func:`repr` on *value* before formatting " "it." msgstr "" -#: library/dis.rst:1487 +#: library/dis.rst:1488 msgid "" "``(flags & 0x03) == 0x03``: call :func:`ascii` on *value* before formatting " "it." msgstr "" -#: library/dis.rst:1489 +#: library/dis.rst:1490 msgid "" "``(flags & 0x04) == 0x04``: pop *fmt_spec* from the stack and use it, else " "use an empty *fmt_spec*." msgstr "" -#: library/dis.rst:1492 +#: library/dis.rst:1493 msgid "" "Formatting is performed using :c:func:`PyObject_Format`. The result is " "pushed on the stack." msgstr "" -#: library/dis.rst:1500 +#: library/dis.rst:1501 msgid "" "``STACK[-1]`` is a tuple of keyword attribute names, ``STACK[-2]`` is the " "class being matched against, and ``STACK[-3]`` is the match subject. " "*count* is the number of positional sub-patterns." msgstr "" -#: library/dis.rst:1504 +#: library/dis.rst:1505 msgid "" "Pop ``STACK[-1]``, ``STACK[-2]``, and ``STACK[-3]``. If ``STACK[-3]`` is an " "instance of ``STACK[-2]`` and has the positional and keyword attributes " @@ -1434,257 +1440,257 @@ msgid "" "Otherwise, push ``None``." msgstr "" -#: library/dis.rst:1518 +#: library/dis.rst:1519 msgid "A no-op. Performs internal tracing, debugging and optimization checks." msgstr "" -#: library/dis.rst:1520 +#: library/dis.rst:1521 msgid "The ``where`` operand marks where the ``RESUME`` occurs:" msgstr "" -#: library/dis.rst:1522 +#: library/dis.rst:1523 msgid "" "``0`` The start of a function, which is neither a generator, coroutine nor " "an async generator" msgstr "" -#: library/dis.rst:1524 +#: library/dis.rst:1525 msgid "``1`` After a ``yield`` expression" msgstr "" -#: library/dis.rst:1525 +#: library/dis.rst:1526 msgid "``2`` After a ``yield from`` expression" msgstr "" -#: library/dis.rst:1526 +#: library/dis.rst:1527 msgid "``3`` After an ``await`` expression" msgstr "" -#: library/dis.rst:1533 +#: library/dis.rst:1534 msgid "" "Create a generator, coroutine, or async generator from the current frame. " "Used as first opcode of in code object for the above mentioned callables. " "Clear the current frame and return the newly created generator." msgstr "" -#: library/dis.rst:1542 +#: library/dis.rst:1543 msgid "" "Equivalent to ``STACK[-1] = STACK[-2].send(STACK[-1])``. Used in ``yield " "from`` and ``await`` statements." msgstr "" -#: library/dis.rst:1545 +#: library/dis.rst:1546 msgid "" "If the call raises :exc:`StopIteration`, pop the top value from the stack, " "push the exception's ``value`` attribute, and increment the bytecode counter " "by *delta*." msgstr "" -#: library/dis.rst:1554 +#: library/dis.rst:1555 msgid "" "This is not really an opcode. It identifies the dividing line between " "opcodes in the range [0,255] which don't use their argument and those that " "do (``< HAVE_ARGUMENT`` and ``>= HAVE_ARGUMENT``, respectively)." msgstr "" -#: library/dis.rst:1558 +#: library/dis.rst:1559 msgid "" "If your application uses pseudo instructions, use the :data:`hasarg` " "collection instead." msgstr "" -#: library/dis.rst:1561 +#: library/dis.rst:1562 msgid "" "Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT`` " "ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument." msgstr "" -#: library/dis.rst:1565 +#: library/dis.rst:1566 msgid "" "Pseudo instructions were added to the :mod:`dis` module, and for them it is " "not true that comparison with ``HAVE_ARGUMENT`` indicates whether they use " "their arg." msgstr "" -#: library/dis.rst:1573 +#: library/dis.rst:1574 msgid "" "Calls an intrinsic function with one argument. Passes ``STACK[-1]`` as the " "argument and sets ``STACK[-1]`` to the result. Used to implement " "functionality that is not performance critical." msgstr "" -#: library/dis.rst:1631 +#: library/dis.rst:1632 msgid "The operand determines which intrinsic function is called:" msgstr "" -#: library/dis.rst:1634 +#: library/dis.rst:1635 msgid "Operand" msgstr "" -#: library/dis.rst:1634 +#: library/dis.rst:1635 msgid "Description" msgstr "" -#: library/dis.rst:1582 +#: library/dis.rst:1583 msgid "``INTRINSIC_1_INVALID``" msgstr "" -#: library/dis.rst:1636 +#: library/dis.rst:1637 msgid "Not valid" msgstr "" -#: library/dis.rst:1584 +#: library/dis.rst:1585 msgid "``INTRINSIC_PRINT``" msgstr "" -#: library/dis.rst:1584 +#: library/dis.rst:1585 msgid "Prints the argument to standard out. Used in the REPL." msgstr "" -#: library/dis.rst:1587 +#: library/dis.rst:1588 msgid "``INTRINSIC_IMPORT_STAR``" msgstr "" -#: library/dis.rst:1587 +#: library/dis.rst:1588 msgid "Performs ``import *`` for the named module." msgstr "" -#: library/dis.rst:1590 +#: library/dis.rst:1591 msgid "``INTRINSIC_STOPITERATION_ERROR``" msgstr "" -#: library/dis.rst:1590 +#: library/dis.rst:1591 msgid "Extracts the return value from a ``StopIteration`` exception." msgstr "" -#: library/dis.rst:1593 +#: library/dis.rst:1594 msgid "``INTRINSIC_ASYNC_GEN_WRAP``" msgstr "" -#: library/dis.rst:1593 +#: library/dis.rst:1594 msgid "Wraps an aync generator value" msgstr "" -#: library/dis.rst:1595 +#: library/dis.rst:1596 msgid "``INTRINSIC_UNARY_POSITIVE``" msgstr "" -#: library/dis.rst:1595 +#: library/dis.rst:1596 msgid "Performs the unary ``+`` operation" msgstr "" -#: library/dis.rst:1598 +#: library/dis.rst:1599 msgid "``INTRINSIC_LIST_TO_TUPLE``" msgstr "" -#: library/dis.rst:1598 +#: library/dis.rst:1599 msgid "Converts a list to a tuple" msgstr "" -#: library/dis.rst:1600 +#: library/dis.rst:1601 msgid "``INTRINSIC_TYPEVAR``" msgstr "" -#: library/dis.rst:1600 +#: library/dis.rst:1601 msgid "Creates a :class:`typing.TypeVar`" msgstr "" -#: library/dis.rst:1602 +#: library/dis.rst:1603 msgid "``INTRINSIC_PARAMSPEC``" msgstr "" -#: library/dis.rst:1602 +#: library/dis.rst:1603 msgid "Creates a :class:`typing.ParamSpec`" msgstr "" -#: library/dis.rst:1605 +#: library/dis.rst:1606 msgid "``INTRINSIC_TYPEVARTUPLE``" msgstr "" -#: library/dis.rst:1605 +#: library/dis.rst:1606 msgid "Creates a :class:`typing.TypeVarTuple`" msgstr "" -#: library/dis.rst:1608 +#: library/dis.rst:1609 msgid "``INTRINSIC_SUBSCRIPT_GENERIC``" msgstr "" -#: library/dis.rst:1608 +#: library/dis.rst:1609 msgid "Returns :class:`typing.Generic` subscripted with the argument" msgstr "" -#: library/dis.rst:1611 +#: library/dis.rst:1612 msgid "``INTRINSIC_TYPEALIAS``" msgstr "" -#: library/dis.rst:1611 +#: library/dis.rst:1612 msgid "" "Creates a :class:`typing.TypeAliasType`; used in the :keyword:`type` " "statement. The argument is a tuple of the type alias's name, type " "parameters, and value." msgstr "" -#: library/dis.rst:1623 +#: library/dis.rst:1624 msgid "" "Calls an intrinsic function with two arguments. Used to implement " "functionality that is not performance critical::" msgstr "" -#: library/dis.rst:1636 +#: library/dis.rst:1637 msgid "``INTRINSIC_2_INVALID``" msgstr "" -#: library/dis.rst:1638 +#: library/dis.rst:1639 msgid "``INTRINSIC_PREP_RERAISE_STAR``" msgstr "" -#: library/dis.rst:1638 +#: library/dis.rst:1639 msgid "Calculates the :exc:`ExceptionGroup` to raise from a ``try-except*``." msgstr "" -#: library/dis.rst:1642 +#: library/dis.rst:1643 msgid "``INTRINSIC_TYPEVAR_WITH_BOUND``" msgstr "" -#: library/dis.rst:1642 +#: library/dis.rst:1643 msgid "Creates a :class:`typing.TypeVar` with a bound." msgstr "" -#: library/dis.rst:1645 +#: library/dis.rst:1646 msgid "``INTRINSIC_TYPEVAR_WITH_CONSTRAINTS``" msgstr "" -#: library/dis.rst:1645 +#: library/dis.rst:1646 msgid "Creates a :class:`typing.TypeVar` with constraints." msgstr "" -#: library/dis.rst:1649 +#: library/dis.rst:1650 msgid "``INTRINSIC_SET_FUNCTION_TYPE_PARAMS``" msgstr "" -#: library/dis.rst:1649 +#: library/dis.rst:1650 msgid "Sets the ``__type_params__`` attribute of a function." msgstr "" -#: library/dis.rst:1656 +#: library/dis.rst:1657 msgid "**Pseudo-instructions**" msgstr "" -#: library/dis.rst:1658 +#: library/dis.rst:1659 msgid "" "These opcodes do not appear in Python bytecode. They are used by the " "compiler but are replaced by real opcodes or removed before bytecode is " "generated." msgstr "" -#: library/dis.rst:1663 +#: library/dis.rst:1664 msgid "" "Set up an exception handler for the following code block. If an exception " "occurs, the value stack level is restored to its current state and control " "is transferred to the exception handler at ``target``." msgstr "" -#: library/dis.rst:1670 +#: library/dis.rst:1671 msgid "" "Like ``SETUP_FINALLY``, but in case of an exception also pushes the last " "instruction (``lasti``) to the stack so that ``RERAISE`` can restore it. If " @@ -1693,76 +1699,76 @@ msgid "" "exception handler at ``target``." msgstr "" -#: library/dis.rst:1679 +#: library/dis.rst:1680 msgid "" "Like ``SETUP_CLEANUP``, but in case of an exception one more item is popped " "from the stack before control is transferred to the exception handler at " "``target``." msgstr "" -#: library/dis.rst:1683 +#: library/dis.rst:1684 msgid "" "This variant is used in :keyword:`with` and :keyword:`async with` " "constructs, which push the return value of the context manager's :meth:" "`~object.__enter__` or :meth:`~object.__aenter__` to the stack." msgstr "" -#: library/dis.rst:1690 +#: library/dis.rst:1691 msgid "" "Marks the end of the code block associated with the last ``SETUP_FINALLY``, " "``SETUP_CLEANUP`` or ``SETUP_WITH``." msgstr "" -#: library/dis.rst:1696 +#: library/dis.rst:1697 msgid "" "Undirected relative jump instructions which are replaced by their directed " "(forward/backward) counterparts by the assembler." msgstr "" -#: library/dis.rst:1701 +#: library/dis.rst:1702 msgid "" "Optimized unbound method lookup. Emitted as a ``LOAD_ATTR`` opcode with a " "flag set in the arg." msgstr "" -#: library/dis.rst:1708 +#: library/dis.rst:1709 msgid "Opcode collections" msgstr "" -#: library/dis.rst:1710 +#: library/dis.rst:1711 msgid "" "These collections are provided for automatic introspection of bytecode " "instructions:" msgstr "" -#: library/dis.rst:1713 +#: library/dis.rst:1714 msgid "" "The collections now contain pseudo instructions and instrumented " "instructions as well. These are opcodes with values ``>= MIN_PSEUDO_OPCODE`` " "and ``>= MIN_INSTRUMENTED_OPCODE``." msgstr "" -#: library/dis.rst:1720 +#: library/dis.rst:1721 msgid "Sequence of operation names, indexable using the bytecode." msgstr "" -#: library/dis.rst:1725 +#: library/dis.rst:1726 msgid "Dictionary mapping operation names to bytecodes." msgstr "" -#: library/dis.rst:1730 +#: library/dis.rst:1731 msgid "Sequence of all compare operation names." msgstr "" -#: library/dis.rst:1735 +#: library/dis.rst:1736 msgid "Sequence of bytecodes that use their argument." msgstr "" -#: library/dis.rst:1742 +#: library/dis.rst:1743 msgid "Sequence of bytecodes that access a constant." msgstr "" -#: library/dis.rst:1747 +#: library/dis.rst:1748 msgid "" "Sequence of bytecodes that access a free variable. 'free' in this context " "refers to names in the current scope that are referenced by inner scopes or " @@ -1770,34 +1776,34 @@ msgid "" "include references to global or builtin scopes." msgstr "" -#: library/dis.rst:1755 +#: library/dis.rst:1756 msgid "Sequence of bytecodes that access an attribute by name." msgstr "" -#: library/dis.rst:1760 +#: library/dis.rst:1761 msgid "Sequence of bytecodes that have a relative jump target." msgstr "" -#: library/dis.rst:1765 +#: library/dis.rst:1766 msgid "Sequence of bytecodes that have an absolute jump target." msgstr "" -#: library/dis.rst:1770 +#: library/dis.rst:1771 msgid "Sequence of bytecodes that access a local variable." msgstr "" -#: library/dis.rst:1775 +#: library/dis.rst:1776 msgid "Sequence of bytecodes of Boolean operations." msgstr "" -#: library/dis.rst:1779 +#: library/dis.rst:1780 msgid "Sequence of bytecodes that set an exception handler." msgstr "" -#: library/dis.rst:1450 +#: library/dis.rst:1451 msgid "built-in function" msgstr "" -#: library/dis.rst:1450 +#: library/dis.rst:1451 msgid "slice" msgstr "" diff --git a/library/doctest.po b/library/doctest.po index 6adc4ac83..065fc7d0d 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1533,7 +1533,7 @@ msgid "" "use them to create a :class:`DocTest` object." msgstr "" -#: library/doctest.rst:1480 +#: library/doctest.rst:1412 msgid ":class:`DocTestParser` defines the following methods:" msgstr "" @@ -1620,6 +1620,10 @@ msgid "" "failures. For more information, see section :ref:`doctest-options`." msgstr "" +#: library/doctest.rst:1480 +msgid ":class:`DocTestRunner` defines the following methods:" +msgstr "" + #: library/doctest.rst:1485 msgid "" "Report that the test runner is about to process the given example. This " diff --git a/library/exceptions.po b/library/exceptions.po index ef0a8eb40..7e1df5c7b 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-05 21:24+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -62,54 +62,60 @@ msgstr "" msgid "Exception context" msgstr "" -#: library/exceptions.rst:41 +#: library/exceptions.rst:46 +msgid "" +"Three attributes on exception objects provide information about the context " +"in which the exception was raised:" +msgstr "" + +#: library/exceptions.rst:53 msgid "" "When raising a new exception while another exception is already being " -"handled, the new exception's :attr:`__context__` attribute is automatically " +"handled, the new exception's :attr:`!__context__` attribute is automatically " "set to the handled exception. An exception may be handled when an :keyword:" "`except` or :keyword:`finally` clause, or a :keyword:`with` statement, is " "used." msgstr "" -#: library/exceptions.rst:47 +#: library/exceptions.rst:59 msgid "" "This implicit exception context can be supplemented with an explicit cause " "by using :keyword:`!from` with :keyword:`raise`::" msgstr "" -#: library/exceptions.rst:53 +#: library/exceptions.rst:65 msgid "" "The expression following :keyword:`from` must be an exception or " -"``None``. It will be set as :attr:`__cause__` on the raised exception. " -"Setting :attr:`__cause__` also implicitly sets the :attr:" -"`__suppress_context__` attribute to ``True``, so that using ``raise new_exc " +"``None``. It will be set as :attr:`!__cause__` on the raised exception. " +"Setting :attr:`!__cause__` also implicitly sets the :attr:`!" +"__suppress_context__` attribute to ``True``, so that using ``raise new_exc " "from None`` effectively replaces the old exception with the new one for " "display purposes (e.g. converting :exc:`KeyError` to :exc:`AttributeError`), " -"while leaving the old exception available in :attr:`__context__` for " +"while leaving the old exception available in :attr:`!__context__` for " "introspection when debugging." msgstr "" -#: library/exceptions.rst:62 +#: library/exceptions.rst:74 msgid "" "The default traceback display code shows these chained exceptions in " "addition to the traceback for the exception itself. An explicitly chained " -"exception in :attr:`__cause__` is always shown when present. An implicitly " -"chained exception in :attr:`__context__` is shown only if :attr:`__cause__` " -"is :const:`None` and :attr:`__suppress_context__` is false." +"exception in :attr:`!__cause__` is always shown when present. An implicitly " +"chained exception in :attr:`!__context__` is shown only if :attr:`!" +"__cause__` is :const:`None` and :attr:`!__suppress_context__` is false." msgstr "" -#: library/exceptions.rst:68 +#: library/exceptions.rst:80 msgid "" "In either case, the exception itself is always shown after any chained " "exceptions so that the final line of the traceback always shows the last " "exception that was raised." msgstr "" -#: library/exceptions.rst:74 +#: library/exceptions.rst:86 msgid "Inheriting from built-in exceptions" msgstr "" -#: library/exceptions.rst:76 +#: library/exceptions.rst:88 msgid "" "User code can create subclasses that inherit from an exception type. It's " "recommended to only subclass one exception type at a time to avoid any " @@ -117,7 +123,7 @@ msgid "" "well as due to possible memory layout incompatibilities." msgstr "" -#: library/exceptions.rst:83 +#: library/exceptions.rst:95 msgid "" "Most built-in exceptions are implemented in C for efficiency, see: :source:" "`Objects/exceptions.c`. Some have custom memory layouts which makes it " @@ -127,17 +133,17 @@ msgid "" "it's recommended to avoid subclassing multiple exception types altogether." msgstr "" -#: library/exceptions.rst:93 +#: library/exceptions.rst:105 msgid "Base classes" msgstr "" -#: library/exceptions.rst:95 +#: library/exceptions.rst:107 msgid "" "The following exceptions are used mostly as base classes for other " "exceptions." msgstr "" -#: library/exceptions.rst:99 +#: library/exceptions.rst:111 msgid "" "The base class for all built-in exceptions. It is not meant to be directly " "inherited by user-defined classes (for that, use :exc:`Exception`). If :" @@ -146,7 +152,7 @@ msgid "" "were no arguments." msgstr "" -#: library/exceptions.rst:107 +#: library/exceptions.rst:119 msgid "" "The tuple of arguments given to the exception constructor. Some built-in " "exceptions (like :exc:`OSError`) expect a certain number of arguments and " @@ -154,7 +160,7 @@ msgid "" "usually called only with a single string giving an error message." msgstr "" -#: library/exceptions.rst:114 +#: library/exceptions.rst:126 msgid "" "This method sets *tb* as the new traceback for the exception and returns the " "exception object. It was more commonly used before the exception chaining " @@ -166,65 +172,71 @@ msgid "" "it to propagate to the caller. ::" msgstr "" -#: library/exceptions.rst:131 +#: library/exceptions.rst:143 +msgid "" +"A writable field that holds the :ref:`traceback object ` " +"associated with this exception. See also: :ref:`raise`." +msgstr "" + +#: library/exceptions.rst:149 msgid "" "Add the string ``note`` to the exception's notes which appear in the " "standard traceback after the exception string. A :exc:`TypeError` is raised " "if ``note`` is not a string." msgstr "" -#: library/exceptions.rst:139 +#: library/exceptions.rst:157 msgid "" "A list of the notes of this exception, which were added with :meth:" "`add_note`. This attribute is created when :meth:`add_note` is called." msgstr "" -#: library/exceptions.rst:147 +#: library/exceptions.rst:165 msgid "" "All built-in, non-system-exiting exceptions are derived from this class. " "All user-defined exceptions should also be derived from this class." msgstr "" -#: library/exceptions.rst:153 +#: library/exceptions.rst:171 msgid "" "The base class for those built-in exceptions that are raised for various " "arithmetic errors: :exc:`OverflowError`, :exc:`ZeroDivisionError`, :exc:" "`FloatingPointError`." msgstr "" -#: library/exceptions.rst:160 +#: library/exceptions.rst:178 msgid "" "Raised when a :ref:`buffer ` related operation cannot be " "performed." msgstr "" -#: library/exceptions.rst:166 +#: library/exceptions.rst:184 msgid "" "The base class for the exceptions that are raised when a key or index used " "on a mapping or sequence is invalid: :exc:`IndexError`, :exc:`KeyError`. " "This can be raised directly by :func:`codecs.lookup`." msgstr "" -#: library/exceptions.rst:172 +#: library/exceptions.rst:190 msgid "Concrete exceptions" msgstr "" -#: library/exceptions.rst:174 +#: library/exceptions.rst:192 msgid "The following exceptions are the exceptions that are usually raised." msgstr "" -#: library/exceptions.rst:180 +#: library/exceptions.rst:198 msgid "Raised when an :keyword:`assert` statement fails." msgstr "" -#: library/exceptions.rst:185 +#: library/exceptions.rst:203 msgid "" "Raised when an attribute reference (see :ref:`attribute-references`) or " "assignment fails. (When an object does not support attribute references or " "attribute assignments at all, :exc:`TypeError` is raised.)" msgstr "" -#: library/exceptions.rst:189 +#: library/exceptions.rst:207 msgid "" "The :attr:`name` and :attr:`obj` attributes can be set using keyword-only " "arguments to the constructor. When set they represent the name of the " @@ -232,22 +244,22 @@ msgid "" "for said attribute, respectively." msgstr "" -#: library/exceptions.rst:194 +#: library/exceptions.rst:212 msgid "Added the :attr:`name` and :attr:`obj` attributes." msgstr "" -#: library/exceptions.rst:199 +#: library/exceptions.rst:217 msgid "" "Raised when the :func:`input` function hits an end-of-file condition (EOF) " "without reading any data. (N.B.: the :meth:`io.IOBase.read` and :meth:`io." "IOBase.readline` methods return an empty string when they hit EOF.)" msgstr "" -#: library/exceptions.rst:206 +#: library/exceptions.rst:224 msgid "Not currently used." msgstr "" -#: library/exceptions.rst:211 +#: library/exceptions.rst:229 msgid "" "Raised when a :term:`generator` or :term:`coroutine` is closed; see :meth:" "`generator.close` and :meth:`coroutine.close`. It directly inherits from :" @@ -255,52 +267,52 @@ msgid "" "an error." msgstr "" -#: library/exceptions.rst:219 +#: library/exceptions.rst:237 msgid "" "Raised when the :keyword:`import` statement has troubles trying to load a " "module. Also raised when the \"from list\" in ``from ... import`` has a " "name that cannot be found." msgstr "" -#: library/exceptions.rst:223 +#: library/exceptions.rst:241 msgid "" "The optional *name* and *path* keyword-only arguments set the corresponding " "attributes:" msgstr "" -#: library/exceptions.rst:228 +#: library/exceptions.rst:246 msgid "The name of the module that was attempted to be imported." msgstr "" -#: library/exceptions.rst:232 +#: library/exceptions.rst:250 msgid "The path to any file which triggered the exception." msgstr "" -#: library/exceptions.rst:234 +#: library/exceptions.rst:252 msgid "Added the :attr:`name` and :attr:`path` attributes." msgstr "" -#: library/exceptions.rst:239 +#: library/exceptions.rst:257 msgid "" "A subclass of :exc:`ImportError` which is raised by :keyword:`import` when a " "module could not be located. It is also raised when ``None`` is found in :" "data:`sys.modules`." msgstr "" -#: library/exceptions.rst:248 +#: library/exceptions.rst:266 msgid "" "Raised when a sequence subscript is out of range. (Slice indices are " "silently truncated to fall in the allowed range; if an index is not an " "integer, :exc:`TypeError` is raised.)" msgstr "" -#: library/exceptions.rst:257 +#: library/exceptions.rst:275 msgid "" "Raised when a mapping (dictionary) key is not found in the set of existing " "keys." msgstr "" -#: library/exceptions.rst:264 +#: library/exceptions.rst:282 msgid "" "Raised when the user hits the interrupt key (normally :kbd:`Control-C` or :" "kbd:`Delete`). During execution, a check for interrupts is made regularly. " @@ -309,7 +321,7 @@ msgid "" "the interpreter from exiting." msgstr "" -#: library/exceptions.rst:272 +#: library/exceptions.rst:290 msgid "" "Catching a :exc:`KeyboardInterrupt` requires special consideration. Because " "it can be raised at unpredictable points, it may, in some circumstances, " @@ -318,7 +330,7 @@ msgid "" "avoid raising it entirely. (See :ref:`handlers-and-exceptions`.)" msgstr "" -#: library/exceptions.rst:282 +#: library/exceptions.rst:300 msgid "" "Raised when an operation runs out of memory but the situation may still be " "rescued (by deleting some objects). The associated value is a string " @@ -329,25 +341,25 @@ msgid "" "stack traceback can be printed, in case a run-away program was the cause." msgstr "" -#: library/exceptions.rst:293 +#: library/exceptions.rst:311 msgid "" "Raised when a local or global name is not found. This applies only to " "unqualified names. The associated value is an error message that includes " "the name that could not be found." msgstr "" -#: library/exceptions.rst:297 +#: library/exceptions.rst:315 msgid "" "The :attr:`name` attribute can be set using a keyword-only argument to the " "constructor. When set it represent the name of the variable that was " "attempted to be accessed." msgstr "" -#: library/exceptions.rst:301 +#: library/exceptions.rst:319 msgid "Added the :attr:`name` attribute." msgstr "" -#: library/exceptions.rst:307 +#: library/exceptions.rst:325 msgid "" "This exception is derived from :exc:`RuntimeError`. In user defined base " "classes, abstract methods should raise this exception when they require " @@ -355,28 +367,28 @@ msgid "" "developed to indicate that the real implementation still needs to be added." msgstr "" -#: library/exceptions.rst:314 +#: library/exceptions.rst:332 msgid "" "It should not be used to indicate that an operator or method is not meant to " "be supported at all -- in that case either leave the operator / method " "undefined or, if a subclass, set it to :data:`None`." msgstr "" -#: library/exceptions.rst:320 +#: library/exceptions.rst:338 msgid "" "``NotImplementedError`` and ``NotImplemented`` are not interchangeable, even " "though they have similar names and purposes. See :data:`NotImplemented` for " "details on when to use it." msgstr "" -#: library/exceptions.rst:329 +#: library/exceptions.rst:347 msgid "" "This exception is raised when a system function returns a system-related " "error, including I/O failures such as \"file not found\" or \"disk " "full\" (not for illegal argument types or other incidental errors)." msgstr "" -#: library/exceptions.rst:333 +#: library/exceptions.rst:351 msgid "" "The second form of the constructor sets the corresponding attributes, " "described below. The attributes default to :const:`None` if not specified. " @@ -385,7 +397,7 @@ msgid "" "constructor arguments." msgstr "" -#: library/exceptions.rst:339 +#: library/exceptions.rst:357 msgid "" "The constructor often actually returns a subclass of :exc:`OSError`, as " "described in `OS exceptions`_ below. The particular subclass depends on the " @@ -394,18 +406,18 @@ msgid "" "subclassing." msgstr "" -#: library/exceptions.rst:347 +#: library/exceptions.rst:365 msgid "A numeric error code from the C variable :c:data:`errno`." msgstr "" -#: library/exceptions.rst:351 +#: library/exceptions.rst:369 msgid "" "Under Windows, this gives you the native Windows error code. The :attr:`." "errno` attribute is then an approximate translation, in POSIX terms, of that " "native error code." msgstr "" -#: library/exceptions.rst:355 +#: library/exceptions.rst:373 msgid "" "Under Windows, if the *winerror* constructor argument is an integer, the :" "attr:`.errno` attribute is determined from the Windows error code, and the " @@ -413,14 +425,14 @@ msgid "" "ignored, and the :attr:`winerror` attribute does not exist." msgstr "" -#: library/exceptions.rst:363 +#: library/exceptions.rst:381 msgid "" "The corresponding error message, as provided by the operating system. It is " "formatted by the C functions :c:func:`perror` under POSIX, and :c:func:" "`FormatMessage` under Windows." msgstr "" -#: library/exceptions.rst:371 +#: library/exceptions.rst:389 msgid "" "For exceptions that involve a file system path (such as :func:`open` or :" "func:`os.unlink`), :attr:`filename` is the file name passed to the function. " @@ -429,14 +441,14 @@ msgid "" "the function." msgstr "" -#: library/exceptions.rst:378 +#: library/exceptions.rst:396 msgid "" ":exc:`EnvironmentError`, :exc:`IOError`, :exc:`WindowsError`, :exc:`socket." "error`, :exc:`select.error` and :exc:`mmap.error` have been merged into :exc:" "`OSError`, and the constructor may return a subclass." msgstr "" -#: library/exceptions.rst:384 +#: library/exceptions.rst:402 msgid "" "The :attr:`filename` attribute is now the original file name passed to the " "function, instead of the name encoded to or decoded from the :term:" @@ -444,7 +456,7 @@ msgid "" "argument and attribute was added." msgstr "" -#: library/exceptions.rst:393 +#: library/exceptions.rst:411 msgid "" "Raised when the result of an arithmetic operation is too large to be " "represented. This cannot occur for integers (which would rather raise :exc:" @@ -454,18 +466,18 @@ msgid "" "in C, most floating point operations are not checked." msgstr "" -#: library/exceptions.rst:403 +#: library/exceptions.rst:421 msgid "" "This exception is derived from :exc:`RuntimeError`. It is raised when the " "interpreter detects that the maximum recursion depth (see :func:`sys." "getrecursionlimit`) is exceeded." msgstr "" -#: library/exceptions.rst:407 +#: library/exceptions.rst:425 msgid "Previously, a plain :exc:`RuntimeError` was raised." msgstr "" -#: library/exceptions.rst:413 +#: library/exceptions.rst:431 msgid "" "This exception is raised when a weak reference proxy, created by the :func:" "`weakref.proxy` function, is used to access an attribute of the referent " @@ -473,65 +485,66 @@ msgid "" "references, see the :mod:`weakref` module." msgstr "" -#: library/exceptions.rst:421 +#: library/exceptions.rst:439 msgid "" "Raised when an error is detected that doesn't fall in any of the other " "categories. The associated value is a string indicating what precisely went " "wrong." msgstr "" -#: library/exceptions.rst:428 +#: library/exceptions.rst:446 msgid "" "Raised by built-in function :func:`next` and an :term:`iterator`\\'s :meth:" "`~iterator.__next__` method to signal that there are no further items " "produced by the iterator." msgstr "" -#: library/exceptions.rst:432 +#: library/exceptions.rst:452 msgid "" -"The exception object has a single attribute :attr:`value`, which is given as " -"an argument when constructing the exception, and defaults to :const:`None`." +"The exception object has a single attribute :attr:`!value`, which is given " +"as an argument when constructing the exception, and defaults to :const:" +"`None`." msgstr "" -#: library/exceptions.rst:436 +#: library/exceptions.rst:456 msgid "" "When a :term:`generator` or :term:`coroutine` function returns, a new :exc:" "`StopIteration` instance is raised, and the value returned by the function " "is used as the :attr:`value` parameter to the constructor of the exception." msgstr "" -#: library/exceptions.rst:441 +#: library/exceptions.rst:461 msgid "" "If a generator code directly or indirectly raises :exc:`StopIteration`, it " "is converted into a :exc:`RuntimeError` (retaining the :exc:`StopIteration` " "as the new exception's cause)." msgstr "" -#: library/exceptions.rst:445 +#: library/exceptions.rst:465 msgid "" "Added ``value`` attribute and the ability for generator functions to use it " "to return a value." msgstr "" -#: library/exceptions.rst:449 +#: library/exceptions.rst:469 msgid "" "Introduced the RuntimeError transformation via ``from __future__ import " "generator_stop``, see :pep:`479`." msgstr "" -#: library/exceptions.rst:453 +#: library/exceptions.rst:473 msgid "" "Enable :pep:`479` for all code by default: a :exc:`StopIteration` error " "raised in a generator is transformed into a :exc:`RuntimeError`." msgstr "" -#: library/exceptions.rst:459 +#: library/exceptions.rst:479 msgid "" "Must be raised by :meth:`~object.__anext__` method of an :term:`asynchronous " "iterator` object to stop the iteration." msgstr "" -#: library/exceptions.rst:466 +#: library/exceptions.rst:486 msgid "" "Raised when the parser encounters a syntax error. This may occur in an :" "keyword:`import` statement, in a call to the built-in functions :func:" @@ -539,45 +552,45 @@ msgid "" "or standard input (also interactively)." msgstr "" -#: library/exceptions.rst:472 +#: library/exceptions.rst:492 msgid "" "The :func:`str` of the exception instance returns only the error message. " "Details is a tuple whose members are also available as separate attributes." msgstr "" -#: library/exceptions.rst:477 +#: library/exceptions.rst:497 msgid "The name of the file the syntax error occurred in." msgstr "" -#: library/exceptions.rst:481 +#: library/exceptions.rst:501 msgid "" "Which line number in the file the error occurred in. This is 1-indexed: the " "first line in the file has a ``lineno`` of 1." msgstr "" -#: library/exceptions.rst:486 +#: library/exceptions.rst:506 msgid "" "The column in the line where the error occurred. This is 1-indexed: the " "first character in the line has an ``offset`` of 1." msgstr "" -#: library/exceptions.rst:491 +#: library/exceptions.rst:511 msgid "The source code text involved in the error." msgstr "" -#: library/exceptions.rst:495 +#: library/exceptions.rst:515 msgid "" "Which line number in the file the error occurred ends in. This is 1-indexed: " "the first line in the file has a ``lineno`` of 1." msgstr "" -#: library/exceptions.rst:500 +#: library/exceptions.rst:520 msgid "" "The column in the end line where the error occurred finishes. This is 1-" "indexed: the first character in the line has an ``offset`` of 1." msgstr "" -#: library/exceptions.rst:503 +#: library/exceptions.rst:523 msgid "" "For errors in f-string fields, the message is prefixed by \"f-string: \" and " "the offsets are offsets in a text constructed from the replacement " @@ -585,30 +598,30 @@ msgid "" "attribute: ('f-string: ...', ('', 1, 2, '(a b)\\n', 1, 5))." msgstr "" -#: library/exceptions.rst:508 +#: library/exceptions.rst:528 msgid "Added the :attr:`end_lineno` and :attr:`end_offset` attributes." msgstr "" -#: library/exceptions.rst:513 +#: library/exceptions.rst:533 msgid "" "Base class for syntax errors related to incorrect indentation. This is a " "subclass of :exc:`SyntaxError`." msgstr "" -#: library/exceptions.rst:519 +#: library/exceptions.rst:539 msgid "" "Raised when indentation contains an inconsistent use of tabs and spaces. " "This is a subclass of :exc:`IndentationError`." msgstr "" -#: library/exceptions.rst:525 +#: library/exceptions.rst:545 msgid "" "Raised when the interpreter finds an internal error, but the situation does " "not look so serious to cause it to abandon all hope. The associated value is " "a string indicating what went wrong (in low-level terms)." msgstr "" -#: library/exceptions.rst:529 +#: library/exceptions.rst:549 msgid "" "You should report this to the author or maintainer of your Python " "interpreter. Be sure to report the version of the Python interpreter (``sys." @@ -617,7 +630,7 @@ msgid "" "possible the source of the program that triggered the error." msgstr "" -#: library/exceptions.rst:538 +#: library/exceptions.rst:558 msgid "" "This exception is raised by the :func:`sys.exit` function. It inherits " "from :exc:`BaseException` instead of :exc:`Exception` so that it is not " @@ -631,7 +644,7 @@ msgid "" "printed and the exit status is one." msgstr "" -#: library/exceptions.rst:549 +#: library/exceptions.rst:569 msgid "" "A call to :func:`sys.exit` is translated into an exception so that clean-up " "handlers (:keyword:`finally` clauses of :keyword:`try` statements) can be " @@ -641,20 +654,20 @@ msgid "" "child process after a call to :func:`os.fork`)." msgstr "" -#: library/exceptions.rst:558 +#: library/exceptions.rst:578 msgid "" "The exit status or error message that is passed to the constructor. " "(Defaults to ``None``.)" msgstr "" -#: library/exceptions.rst:564 +#: library/exceptions.rst:584 msgid "" "Raised when an operation or function is applied to an object of " "inappropriate type. The associated value is a string giving details about " "the type mismatch." msgstr "" -#: library/exceptions.rst:567 +#: library/exceptions.rst:587 msgid "" "This exception may be raised by user code to indicate that an attempted " "operation on an object is not supported, and is not meant to be. If an " @@ -662,7 +675,7 @@ msgid "" "implementation, :exc:`NotImplementedError` is the proper exception to raise." msgstr "" -#: library/exceptions.rst:572 +#: library/exceptions.rst:592 msgid "" "Passing arguments of the wrong type (e.g. passing a :class:`list` when an :" "class:`int` is expected) should result in a :exc:`TypeError`, but passing " @@ -670,99 +683,99 @@ msgid "" "should result in a :exc:`ValueError`." msgstr "" -#: library/exceptions.rst:579 +#: library/exceptions.rst:599 msgid "" "Raised when a reference is made to a local variable in a function or method, " "but no value has been bound to that variable. This is a subclass of :exc:" "`NameError`." msgstr "" -#: library/exceptions.rst:586 +#: library/exceptions.rst:606 msgid "" "Raised when a Unicode-related encoding or decoding error occurs. It is a " "subclass of :exc:`ValueError`." msgstr "" -#: library/exceptions.rst:589 +#: library/exceptions.rst:609 msgid "" ":exc:`UnicodeError` has attributes that describe the encoding or decoding " "error. For example, ``err.object[err.start:err.end]`` gives the particular " "invalid input that the codec failed on." msgstr "" -#: library/exceptions.rst:595 +#: library/exceptions.rst:615 msgid "The name of the encoding that raised the error." msgstr "" -#: library/exceptions.rst:599 +#: library/exceptions.rst:619 msgid "A string describing the specific codec error." msgstr "" -#: library/exceptions.rst:603 +#: library/exceptions.rst:623 msgid "The object the codec was attempting to encode or decode." msgstr "" -#: library/exceptions.rst:607 +#: library/exceptions.rst:627 msgid "The first index of invalid data in :attr:`object`." msgstr "" -#: library/exceptions.rst:611 +#: library/exceptions.rst:631 msgid "The index after the last invalid data in :attr:`object`." msgstr "" -#: library/exceptions.rst:616 +#: library/exceptions.rst:636 msgid "" "Raised when a Unicode-related error occurs during encoding. It is a " "subclass of :exc:`UnicodeError`." msgstr "" -#: library/exceptions.rst:622 +#: library/exceptions.rst:642 msgid "" "Raised when a Unicode-related error occurs during decoding. It is a " "subclass of :exc:`UnicodeError`." msgstr "" -#: library/exceptions.rst:628 +#: library/exceptions.rst:648 msgid "" "Raised when a Unicode-related error occurs during translating. It is a " "subclass of :exc:`UnicodeError`." msgstr "" -#: library/exceptions.rst:634 +#: library/exceptions.rst:654 msgid "" "Raised when an operation or function receives an argument that has the right " "type but an inappropriate value, and the situation is not described by a " "more precise exception such as :exc:`IndexError`." msgstr "" -#: library/exceptions.rst:641 +#: library/exceptions.rst:661 msgid "" "Raised when the second argument of a division or modulo operation is zero. " "The associated value is a string indicating the type of the operands and the " "operation." msgstr "" -#: library/exceptions.rst:646 +#: library/exceptions.rst:666 msgid "" "The following exceptions are kept for compatibility with previous versions; " "starting from Python 3.3, they are aliases of :exc:`OSError`." msgstr "" -#: library/exceptions.rst:655 +#: library/exceptions.rst:675 msgid "Only available on Windows." msgstr "" -#: library/exceptions.rst:659 +#: library/exceptions.rst:679 msgid "OS exceptions" msgstr "" -#: library/exceptions.rst:661 +#: library/exceptions.rst:681 msgid "" "The following exceptions are subclasses of :exc:`OSError`, they get raised " "depending on the system error code." msgstr "" -#: library/exceptions.rst:666 +#: library/exceptions.rst:686 msgid "" "Raised when an operation would block on an object (e.g. socket) set for non-" "blocking operation. Corresponds to :c:data:`errno` :py:const:`~errno." @@ -770,36 +783,36 @@ msgid "" "const:`~errno.EINPROGRESS`." msgstr "" -#: library/exceptions.rst:671 +#: library/exceptions.rst:691 msgid "" "In addition to those of :exc:`OSError`, :exc:`BlockingIOError` can have one " "more attribute:" msgstr "" -#: library/exceptions.rst:676 +#: library/exceptions.rst:696 msgid "" "An integer containing the number of characters written to the stream before " "it blocked. This attribute is available when using the buffered I/O classes " "from the :mod:`io` module." msgstr "" -#: library/exceptions.rst:682 +#: library/exceptions.rst:702 msgid "" "Raised when an operation on a child process failed. Corresponds to :c:data:" "`errno` :py:const:`~errno.ECHILD`." msgstr "" -#: library/exceptions.rst:687 +#: library/exceptions.rst:707 msgid "A base class for connection-related issues." msgstr "" -#: library/exceptions.rst:689 +#: library/exceptions.rst:709 msgid "" "Subclasses are :exc:`BrokenPipeError`, :exc:`ConnectionAbortedError`, :exc:" "`ConnectionRefusedError` and :exc:`ConnectionResetError`." msgstr "" -#: library/exceptions.rst:694 +#: library/exceptions.rst:714 msgid "" "A subclass of :exc:`ConnectionError`, raised when trying to write on a pipe " "while the other end has been closed, or trying to write on a socket which " @@ -807,58 +820,58 @@ msgid "" "`~errno.EPIPE` and :py:const:`~errno.ESHUTDOWN`." msgstr "" -#: library/exceptions.rst:701 +#: library/exceptions.rst:721 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection attempt is " "aborted by the peer. Corresponds to :c:data:`errno` :py:const:`~errno." "ECONNABORTED`." msgstr "" -#: library/exceptions.rst:707 +#: library/exceptions.rst:727 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection attempt is " "refused by the peer. Corresponds to :c:data:`errno` :py:const:`~errno." "ECONNREFUSED`." msgstr "" -#: library/exceptions.rst:713 +#: library/exceptions.rst:733 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection is reset by " "the peer. Corresponds to :c:data:`errno` :py:const:`~errno.ECONNRESET`." msgstr "" -#: library/exceptions.rst:719 +#: library/exceptions.rst:739 msgid "" "Raised when trying to create a file or directory which already exists. " "Corresponds to :c:data:`errno` :py:const:`~errno.EEXIST`." msgstr "" -#: library/exceptions.rst:724 +#: library/exceptions.rst:744 msgid "" "Raised when a file or directory is requested but doesn't exist. Corresponds " "to :c:data:`errno` :py:const:`~errno.ENOENT`." msgstr "" -#: library/exceptions.rst:729 +#: library/exceptions.rst:749 msgid "" "Raised when a system call is interrupted by an incoming signal. Corresponds " "to :c:data:`errno` :py:const:`~errno.EINTR`." msgstr "" -#: library/exceptions.rst:732 +#: library/exceptions.rst:752 msgid "" "Python now retries system calls when a syscall is interrupted by a signal, " "except if the signal handler raises an exception (see :pep:`475` for the " "rationale), instead of raising :exc:`InterruptedError`." msgstr "" -#: library/exceptions.rst:739 +#: library/exceptions.rst:759 msgid "" "Raised when a file operation (such as :func:`os.remove`) is requested on a " "directory. Corresponds to :c:data:`errno` :py:const:`~errno.EISDIR`." msgstr "" -#: library/exceptions.rst:745 +#: library/exceptions.rst:765 msgid "" "Raised when a directory operation (such as :func:`os.listdir`) is requested " "on something which is not a directory. On most POSIX platforms, it may also " @@ -867,7 +880,7 @@ msgid "" "ENOTDIR`." msgstr "" -#: library/exceptions.rst:753 +#: library/exceptions.rst:773 msgid "" "Raised when trying to run an operation without the adequate access rights - " "for example filesystem permissions. Corresponds to :c:data:`errno` :py:const:" @@ -875,130 +888,130 @@ msgid "" "ENOTCAPABLE`." msgstr "" -#: library/exceptions.rst:758 +#: library/exceptions.rst:778 msgid "" "WASI's :py:const:`~errno.ENOTCAPABLE` is now mapped to :exc:" "`PermissionError`." msgstr "" -#: library/exceptions.rst:764 +#: library/exceptions.rst:784 msgid "" "Raised when a given process doesn't exist. Corresponds to :c:data:`errno` :" "py:const:`~errno.ESRCH`." msgstr "" -#: library/exceptions.rst:769 +#: library/exceptions.rst:789 msgid "" "Raised when a system function timed out at the system level. Corresponds to :" "c:data:`errno` :py:const:`~errno.ETIMEDOUT`." msgstr "" -#: library/exceptions.rst:772 +#: library/exceptions.rst:792 msgid "All the above :exc:`OSError` subclasses were added." msgstr "" -#: library/exceptions.rst:778 +#: library/exceptions.rst:798 msgid ":pep:`3151` - Reworking the OS and IO exception hierarchy" msgstr "" -#: library/exceptions.rst:784 +#: library/exceptions.rst:804 msgid "Warnings" msgstr "" -#: library/exceptions.rst:786 +#: library/exceptions.rst:806 msgid "" "The following exceptions are used as warning categories; see the :ref:" "`warning-categories` documentation for more details." msgstr "" -#: library/exceptions.rst:791 +#: library/exceptions.rst:811 msgid "Base class for warning categories." msgstr "" -#: library/exceptions.rst:796 +#: library/exceptions.rst:816 msgid "Base class for warnings generated by user code." msgstr "" -#: library/exceptions.rst:801 +#: library/exceptions.rst:821 msgid "" "Base class for warnings about deprecated features when those warnings are " "intended for other Python developers." msgstr "" -#: library/exceptions.rst:804 +#: library/exceptions.rst:824 msgid "" "Ignored by the default warning filters, except in the ``__main__`` module (:" "pep:`565`). Enabling the :ref:`Python Development Mode ` shows this " "warning." msgstr "" -#: library/exceptions.rst:824 +#: library/exceptions.rst:844 msgid "The deprecation policy is described in :pep:`387`." msgstr "" -#: library/exceptions.rst:813 +#: library/exceptions.rst:833 msgid "" "Base class for warnings about features which are obsolete and expected to be " "deprecated in the future, but are not deprecated at the moment." msgstr "" -#: library/exceptions.rst:817 +#: library/exceptions.rst:837 msgid "" "This class is rarely used as emitting a warning about a possible upcoming " "deprecation is unusual, and :exc:`DeprecationWarning` is preferred for " "already active deprecations." msgstr "" -#: library/exceptions.rst:847 library/exceptions.rst:874 +#: library/exceptions.rst:867 library/exceptions.rst:894 msgid "" "Ignored by the default warning filters. Enabling the :ref:`Python " "Development Mode ` shows this warning." msgstr "" -#: library/exceptions.rst:829 +#: library/exceptions.rst:849 msgid "Base class for warnings about dubious syntax." msgstr "" -#: library/exceptions.rst:834 +#: library/exceptions.rst:854 msgid "Base class for warnings about dubious runtime behavior." msgstr "" -#: library/exceptions.rst:839 +#: library/exceptions.rst:859 msgid "" "Base class for warnings about deprecated features when those warnings are " "intended for end users of applications that are written in Python." msgstr "" -#: library/exceptions.rst:845 +#: library/exceptions.rst:865 msgid "Base class for warnings about probable mistakes in module imports." msgstr "" -#: library/exceptions.rst:853 +#: library/exceptions.rst:873 msgid "Base class for warnings related to Unicode." msgstr "" -#: library/exceptions.rst:858 +#: library/exceptions.rst:878 msgid "Base class for warnings related to encodings." msgstr "" -#: library/exceptions.rst:860 +#: library/exceptions.rst:880 msgid "See :ref:`io-encoding-warning` for details." msgstr "" -#: library/exceptions.rst:867 +#: library/exceptions.rst:887 msgid "" "Base class for warnings related to :class:`bytes` and :class:`bytearray`." msgstr "" -#: library/exceptions.rst:872 +#: library/exceptions.rst:892 msgid "Base class for warnings related to resource usage." msgstr "" -#: library/exceptions.rst:883 +#: library/exceptions.rst:903 msgid "Exception groups" msgstr "" -#: library/exceptions.rst:885 +#: library/exceptions.rst:905 msgid "" "The following are used when it is necessary to raise multiple unrelated " "exceptions. They are part of the exception hierarchy so they can be handled " @@ -1007,7 +1020,7 @@ msgid "" "based on the types of the contained exceptions." msgstr "" -#: library/exceptions.rst:894 +#: library/exceptions.rst:914 msgid "" "Both of these exception types wrap the exceptions in the sequence ``excs``. " "The ``msg`` parameter must be a string. The difference between the two " @@ -1018,7 +1031,7 @@ msgid "" "exc:`BaseExceptionGroup`." msgstr "" -#: library/exceptions.rst:902 +#: library/exceptions.rst:922 msgid "" "The :exc:`BaseExceptionGroup` constructor returns an :exc:`ExceptionGroup` " "rather than a :exc:`BaseExceptionGroup` if all contained exceptions are :exc:" @@ -1027,23 +1040,23 @@ msgid "" "`TypeError` if any contained exception is not an :exc:`Exception` subclass." msgstr "" -#: library/exceptions.rst:911 +#: library/exceptions.rst:931 msgid "The ``msg`` argument to the constructor. This is a read-only attribute." msgstr "" -#: library/exceptions.rst:915 +#: library/exceptions.rst:935 msgid "" "A tuple of the exceptions in the ``excs`` sequence given to the constructor. " "This is a read-only attribute." msgstr "" -#: library/exceptions.rst:920 +#: library/exceptions.rst:940 msgid "" "Returns an exception group that contains only the exceptions from the " "current group that match *condition*, or ``None`` if the result is empty." msgstr "" -#: library/exceptions.rst:923 +#: library/exceptions.rst:943 msgid "" "The condition can be either a function that accepts an exception and returns " "true for those that should be in the subgroup, or it can be an exception " @@ -1051,74 +1064,76 @@ msgid "" "the same check that is used in an ``except`` clause." msgstr "" -#: library/exceptions.rst:928 +#: library/exceptions.rst:948 msgid "" "The nesting structure of the current exception is preserved in the result, " -"as are the values of its :attr:`message`, :attr:`__traceback__`, :attr:" -"`__cause__`, :attr:`__context__` and :attr:`__notes__` fields. Empty nested " +"as are the values of its :attr:`message`, :attr:`~BaseException." +"__traceback__`, :attr:`~BaseException.__cause__`, :attr:`~BaseException." +"__context__` and :attr:`~BaseException.__notes__` fields. Empty nested " "groups are omitted from the result." msgstr "" -#: library/exceptions.rst:933 +#: library/exceptions.rst:955 msgid "" "The condition is checked for all exceptions in the nested exception group, " "including the top-level and any nested exception groups. If the condition is " "true for such an exception group, it is included in the result in full." msgstr "" -#: library/exceptions.rst:939 +#: library/exceptions.rst:961 msgid "" "Like :meth:`subgroup`, but returns the pair ``(match, rest)`` where " "``match`` is ``subgroup(condition)`` and ``rest`` is the remaining non-" "matching part." msgstr "" -#: library/exceptions.rst:945 +#: library/exceptions.rst:967 msgid "" "Returns an exception group with the same :attr:`message`, but which wraps " "the exceptions in ``excs``." msgstr "" -#: library/exceptions.rst:948 +#: library/exceptions.rst:970 msgid "" "This method is used by :meth:`subgroup` and :meth:`split`. A subclass needs " "to override it in order to make :meth:`subgroup` and :meth:`split` return " "instances of the subclass rather than :exc:`ExceptionGroup`." msgstr "" -#: library/exceptions.rst:953 +#: library/exceptions.rst:975 msgid "" -":meth:`subgroup` and :meth:`split` copy the :attr:`__traceback__`, :attr:" -"`__cause__`, :attr:`__context__` and :attr:`__notes__` fields from the " -"original exception group to the one returned by :meth:`derive`, so these " -"fields do not need to be updated by :meth:`derive`. ::" +":meth:`subgroup` and :meth:`split` copy the :attr:`~BaseException." +"__traceback__`, :attr:`~BaseException.__cause__`, :attr:`~BaseException." +"__context__` and :attr:`~BaseException.__notes__` fields from the original " +"exception group to the one returned by :meth:`derive`, so these fields do " +"not need to be updated by :meth:`derive`." msgstr "" -#: library/exceptions.rst:982 +#: library/exceptions.rst:1008 msgid "" -"Note that :exc:`BaseExceptionGroup` defines :meth:`__new__`, so subclasses " -"that need a different constructor signature need to override that rather " -"than :meth:`__init__`. For example, the following defines an exception group " -"subclass which accepts an exit_code and and constructs the group's message " -"from it. ::" +"Note that :exc:`BaseExceptionGroup` defines :meth:`~object.__new__`, so " +"subclasses that need a different constructor signature need to override that " +"rather than :meth:`~object.__init__`. For example, the following defines an " +"exception group subclass which accepts an exit_code and and constructs the " +"group's message from it. ::" msgstr "" -#: library/exceptions.rst:997 +#: library/exceptions.rst:1023 msgid "" "Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which " "is also a subclass of :exc:`Exception` can only wrap instances of :exc:" "`Exception`." msgstr "" -#: library/exceptions.rst:1005 +#: library/exceptions.rst:1031 msgid "Exception hierarchy" msgstr "" -#: library/exceptions.rst:1007 +#: library/exceptions.rst:1033 msgid "The class hierarchy for built-in exceptions is:" msgstr "" -#: library/exceptions.rst:17 library/exceptions.rst:178 +#: library/exceptions.rst:17 library/exceptions.rst:196 msgid "statement" msgstr "" @@ -1134,14 +1149,34 @@ msgstr "" msgid "raise" msgstr "" -#: library/exceptions.rst:178 +#: library/exceptions.rst:41 +msgid "exception" +msgstr "" + +#: library/exceptions.rst:41 +msgid "chaining" +msgstr "" + +#: library/exceptions.rst:41 +msgid "__cause__ (exception attribute)" +msgstr "" + +#: library/exceptions.rst:41 +msgid "__context__ (exception attribute)" +msgstr "" + +#: library/exceptions.rst:41 +msgid "__suppress_context__ (exception attribute)" +msgstr "" + +#: library/exceptions.rst:196 msgid "assert" msgstr "" -#: library/exceptions.rst:327 +#: library/exceptions.rst:345 msgid "module" msgstr "" -#: library/exceptions.rst:327 +#: library/exceptions.rst:345 msgid "errno" msgstr "" diff --git a/library/functions.po b/library/functions.po index ce5d22390..c645b8e11 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-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: 2023-03-08 10:13-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -395,16 +395,17 @@ msgid ":func:`__import__`" msgstr ":func:`__import__`" #: library/functions.rst:59 +#, fuzzy msgid "" "Return the absolute value of a number. The argument may be an integer, a " -"floating point number, or an object implementing :meth:`__abs__`. If the " -"argument is a complex number, its magnitude is returned." +"floating point number, or an object implementing :meth:`~object.__abs__`. If " +"the argument is a complex number, its magnitude is returned." msgstr "" "Bir sayının mutlak değerini döndürür. Argüman bir tam sayı, gerçel sayı " "veya :meth:`__abs__` 'i uygulayan bir nesne olabilir. Eğer argüman bir " "karmaşık sayıysa, onun büyüklüğü döndürülür." -#: library/functions.rst:66 +#: library/functions.rst:67 msgid "" "Return an :term:`asynchronous iterator` for an :term:`asynchronous " "iterable`. Equivalent to calling ``x.__aiter__()``." @@ -412,12 +413,12 @@ msgstr "" "Bir :term:`asynchronous iterable` için bir :term:`asynchronous iterator` " "döndürür. ``x.__aiter__()`` çağrısına eş değerdir." -#: library/functions.rst:69 +#: library/functions.rst:70 msgid "Note: Unlike :func:`iter`, :func:`aiter` has no 2-argument variant." msgstr "" "Not: :func:`iter` 'in aksine, :func:`aiter` 'in 2 argümanlı biçimi yoktur." -#: library/functions.rst:75 +#: library/functions.rst:76 msgid "" "Return ``True`` if all elements of the *iterable* are true (or if the " "iterable is empty). Equivalent to::" @@ -425,7 +426,7 @@ msgstr "" "Eğer *iterable* 'ın tüm elementleri doğruysa, ``True`` döndürür. Şuna eş " "değerdir::" -#: library/functions.rst:88 +#: library/functions.rst:89 msgid "" "When awaited, return the next item from the given :term:`asynchronous " "iterator`, or *default* if given and the iterator is exhausted." @@ -434,14 +435,14 @@ msgstr "" "parçayı döndürür. Eğer yineleyici tükendiyse ve *default* değer verildiyse, " "*default* değeri döndürür." -#: library/functions.rst:91 +#: library/functions.rst:92 msgid "" "This is the async variant of the :func:`next` builtin, and behaves similarly." msgstr "" "Bu, gömülü fonksiyonlardan olan :func:`next` 'in asenkron bir varyantıdır, " "benzer şekilde çalışır." -#: library/functions.rst:94 +#: library/functions.rst:95 msgid "" "This calls the :meth:`~object.__anext__` method of *async_iterator*, " "returning an :term:`awaitable`. Awaiting this returns the next value of the " @@ -453,7 +454,7 @@ msgstr "" "döndürür. Eğer *default* değer verildiyse, yineleyici tükendiğinde o " "döndürülür. Aksi takdirde :exc:`StopAsyncIteration` hatası ortaya çıkar." -#: library/functions.rst:103 +#: library/functions.rst:104 msgid "" "Return ``True`` if any element of the *iterable* is true. If the iterable " "is empty, return ``False``. Equivalent to::" @@ -461,7 +462,7 @@ msgstr "" "Eğer *iterable* 'ın elementlerinden herhangi biri doğru ise ``True`` " "döndürür. Eğer *iterable* boş ise, ``False`` döndürür. Şuna eşittir::" -#: library/functions.rst:115 +#: library/functions.rst:116 msgid "" "As :func:`repr`, return a string containing a printable representation of an " "object, but escape the non-ASCII characters in the string returned by :func:" @@ -474,7 +475,7 @@ msgstr "" "kullanarak kaçtığı gibi, bu da Python 2'deki :func:`repr` tarafından " "döndürülen değere benzeyen bir string üretir." -#: library/functions.rst:123 +#: library/functions.rst:124 #, fuzzy msgid "" "Convert an integer number to a binary string prefixed with \"0b\". The " @@ -487,7 +488,7 @@ msgstr "" "değilse, tam sayı döndüren bir :meth:`__index__` metodu tanımlaması gerekir. " "Bazı örnekler:" -#: library/functions.rst:133 +#: library/functions.rst:134 msgid "" "If the prefix \"0b\" is desired or not, you can use either of the following " "ways." @@ -495,11 +496,11 @@ msgstr "" "Eğer ön ek olarak \"0b\" isteniyorsa veya istenmiyorsa, aşağıdaki gibi iki " "şekilde de kullanabilirsiniz." -#: library/functions.rst:842 library/functions.rst:1159 +#: library/functions.rst:846 library/functions.rst:1164 msgid "See also :func:`format` for more information." msgstr "Ayrıca daha fazla bilgi için :func:`format` 'a bakabilirsiniz." -#: library/functions.rst:145 +#: library/functions.rst:146 #, fuzzy msgid "" "Return a Boolean value, i.e. one of ``True`` or ``False``. *x* is converted " @@ -516,11 +517,11 @@ msgstr "" "sınıfıdır (bkz. :ref:`typesnumeric`). Daha fazla alt sınıfa ayrılamaz. Bunun " "tek örnekleri ``False`` ve ``True`` 'dur (bkz. :ref:`bltin-boolean-values`)." -#: library/functions.rst:707 library/functions.rst:931 +#: library/functions.rst:711 library/functions.rst:935 msgid "*x* is now a positional-only parameter." msgstr "*x* artık yalnızca konumsal bir parametredir." -#: library/functions.rst:159 +#: library/functions.rst:160 msgid "" "This function drops you into the debugger at the call site. Specifically, " "it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight " @@ -543,20 +544,20 @@ msgstr "" "ayıklayıcıya girmenize izin verir. Eğer :func:`sys.breakpointhook` " "ulaşılabilir değilse, bu fonksiyon :exc:`RuntimeError` hatasını verecektir." -#: library/functions.rst:171 +#: library/functions.rst:172 msgid "" "By default, the behavior of :func:`breakpoint` can be changed with the :" "envvar:`PYTHONBREAKPOINT` environment variable. See :func:`sys." "breakpointhook` for usage details." msgstr "" -#: library/functions.rst:175 +#: library/functions.rst:176 msgid "" "Note that this is not guaranteed if :func:`sys.breakpointhook` has been " "replaced." msgstr "" -#: library/functions.rst:178 +#: library/functions.rst:179 msgid "" "Raises an :ref:`auditing event ` ``builtins.breakpoint`` with " "argument ``breakpointhook``." @@ -564,7 +565,7 @@ msgstr "" "``breakpointhook`` parametresi ile :ref:`denetleme olayı ` " "``builtins.breakpoint`` ortaya çıkartır." -#: library/functions.rst:188 +#: library/functions.rst:189 msgid "" "Return a new array of bytes. The :class:`bytearray` class is a mutable " "sequence of integers in the range 0 <= x < 256. It has most of the usual " @@ -577,7 +578,7 @@ msgstr "" "metotlarının çoğuna sahiptir. :class:`bytes` tipinin sahip olduğu metotlar " "için, :ref:`bytes-methods` 'a bakınız." -#: library/functions.rst:193 +#: library/functions.rst:194 msgid "" "The optional *source* parameter can be used to initialize the array in a few " "different ways:" @@ -585,7 +586,7 @@ msgstr "" "Opsiyonel *source* parametresi diziyi birkaç farklı şekilde başlatmak için " "kullanılabilir:" -#: library/functions.rst:196 +#: library/functions.rst:197 msgid "" "If it is a *string*, you must also give the *encoding* (and optionally, " "*errors*) parameters; :func:`bytearray` then converts the string to bytes " @@ -595,14 +596,14 @@ msgstr "" "de vermelisiniz; sonrasında :func:`bytearray` :meth:`str.encode` kullanarak " "dizeyi bayta çevirecektir." -#: library/functions.rst:200 +#: library/functions.rst:201 msgid "" "If it is an *integer*, the array will have that size and will be initialized " "with null bytes." msgstr "" "Eğer bir *integer* ise, dizi bu boyuta göre null baytlar ile doldurulur." -#: library/functions.rst:203 +#: library/functions.rst:204 msgid "" "If it is an object conforming to the :ref:`buffer interface " "`, a read-only buffer of the object will be used to " @@ -611,7 +612,7 @@ msgstr "" "Eğer :ref:`arabellek arayüzü ` 'ne uyan bir objeyse, bayt " "dizisini başlatmak için bir salt okunur arabellek kullanılır." -#: library/functions.rst:206 +#: library/functions.rst:207 msgid "" "If it is an *iterable*, it must be an iterable of integers in the range ``0 " "<= x < 256``, which are used as the initial contents of the array." @@ -619,15 +620,15 @@ msgstr "" "Eğer *iterable* ise, 0 <= x < 256 aralığındaki dizinin başlangıç içeriği " "olan tam sayılardan oluşan bir yinelenebilir nesne olmalıdır." -#: library/functions.rst:209 +#: library/functions.rst:210 msgid "Without an argument, an array of size 0 is created." msgstr "Argüman yoksa, boyutu 0 olan bir dizi oluşturulur." -#: library/functions.rst:211 +#: library/functions.rst:212 msgid "See also :ref:`binaryseq` and :ref:`typebytearray`." msgstr ":ref:`binaryseq` ve :ref:`typebytearray` 'a bakınız." -#: library/functions.rst:220 +#: library/functions.rst:221 msgid "" "Return a new \"bytes\" object which is an immutable sequence of integers in " "the range ``0 <= x < 256``. :class:`bytes` is an immutable version of :" @@ -639,30 +640,31 @@ msgstr "" "değiştirilemez versiyonudur. Aynı objeyi değiştirmeyen metotlara, indeksleme " "ve dilimleme davranışına sahiptir." -#: library/functions.rst:225 +#: library/functions.rst:226 msgid "" "Accordingly, constructor arguments are interpreted as for :func:`bytearray`." msgstr "Buna göre, yapıcı argümanları :func:`bytearray` için yorumlanır." -#: library/functions.rst:227 +#: library/functions.rst:228 msgid "Bytes objects can also be created with literals, see :ref:`strings`." msgstr "" "Bayt nesneleri değişmez değerler ile de oluşturulabilir, :ref:`strings` 'a " "bakınız." -#: library/functions.rst:229 +#: library/functions.rst:230 msgid "See also :ref:`binaryseq`, :ref:`typebytes`, and :ref:`bytes-methods`." msgstr "" "Ayrıca :ref:`binaryseq`, :ref:`typebytes`, ve :ref:`bytes-methods` 'a " "bakınız." -#: library/functions.rst:234 +#: library/functions.rst:235 +#, fuzzy msgid "" "Return :const:`True` if the *object* argument appears callable, :const:" "`False` if not. If this returns ``True``, it is still possible that a call " "fails, but if it is ``False``, calling *object* will never succeed. Note " "that classes are callable (calling a class returns a new instance); " -"instances are callable if their class has a :meth:`__call__` method." +"instances are callable if their class has a :meth:`~object.__call__` method." msgstr "" "Eğer *object* argümanı çağrılabilir ise, :const:`True` , değilse :const:" "`False` döndürür. Eğer ``True`` döndürür ise, bir çağrının başarısız olması " @@ -671,7 +673,7 @@ msgstr "" "metodu varsa) çağrılabilir olduğunu not edin. Bir sınıfı çağırmak sınıftan " "türeyen yeni bir örnek döndürür." -#: library/functions.rst:240 +#: library/functions.rst:241 msgid "" "This function was first removed in Python 3.0 and then brought back in " "Python 3.2." @@ -679,7 +681,7 @@ msgstr "" "Bu fonksiyon Python 3.0 versiyonunda kaldırılmıştı ama Python 3.2 " "versiyonunda geri getirildi." -#: library/functions.rst:247 +#: library/functions.rst:248 msgid "" "Return the string representing a character whose Unicode code point is the " "integer *i*. For example, ``chr(97)`` returns the string ``'a'``, while " @@ -690,7 +692,7 @@ msgstr "" "``chr(8364)`` , ``'€'`` dizesini döndürür. Bu fonksiyon, :func:`ord` 'un tam " "tersidir." -#: library/functions.rst:251 +#: library/functions.rst:252 msgid "" "The valid range for the argument is from 0 through 1,114,111 (0x10FFFF in " "base 16). :exc:`ValueError` will be raised if *i* is outside that range." @@ -699,11 +701,11 @@ msgstr "" "sisteminde 0x10FFFF). Eğer *i* aralığın dışında ise :exc:`ValueError` hatası " "ortaya çıkar." -#: library/functions.rst:257 +#: library/functions.rst:258 msgid "Transform a method into a class method." msgstr "Bir metodu sınıf metoduna dönüştürür." -#: library/functions.rst:259 +#: library/functions.rst:260 msgid "" "A class method receives the class as an implicit first argument, just like " "an instance method receives the instance. To declare a class method, use " @@ -713,7 +715,7 @@ msgstr "" "türeyen bir örneğin metodunun örneği aldığı gibi. Bir sınıf metodunu bu " "şekilde tanımlayabilirsiniz::" -#: library/functions.rst:267 +#: library/functions.rst:268 msgid "" "The ``@classmethod`` form is a function :term:`decorator` -- see :ref:" "`function` for details." @@ -721,7 +723,7 @@ msgstr "" "``@classmethod`` formu, bir :term:`decorator` fonksiyonudur. -- detaylar " "için :ref:`function` 'a bakınız." -#: library/functions.rst:270 +#: library/functions.rst:271 msgid "" "A class method can be called either on the class (such as ``C.f()``) or on " "an instance (such as ``C().f()``). The instance is ignored except for its " @@ -733,7 +735,7 @@ msgstr "" "metodu türetilmiş bir sınıf için çağrılırsa, türetilmiş sınıf nesnesi örtük " "ilk argüman olarak geçer." -#: library/functions.rst:275 +#: library/functions.rst:276 msgid "" "Class methods are different than C++ or Java static methods. If you want " "those, see :func:`staticmethod` in this section. For more information on " @@ -743,7 +745,7 @@ msgstr "" "kullanmak isterseniz, bu bölümdeki :func:`staticmethod` kısmına bakınız. " "Sınıf metotları hakkında daha fazla bilgi için, :ref:`types` 'a bakınız." -#: library/functions.rst:279 +#: library/functions.rst:280 msgid "" "Class methods can now wrap other :term:`descriptors ` such as :" "func:`property`." @@ -751,7 +753,7 @@ msgstr "" "Sınıf metotları artık :func:`property` gibi diğer :term:`descriptors " "` 'ları sarmalayabilir." -#: library/functions.rst:283 +#: library/functions.rst:284 msgid "" "Class methods now inherit the method attributes (``__module__``, " "``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``) and " @@ -761,7 +763,7 @@ msgstr "" "``__doc__`` and ``__annotations__``) metot özelliklerini miras alır ve yeni " "bir ``__wrapped__`` özelliğine sahiplerdir." -#: library/functions.rst:288 +#: library/functions.rst:289 msgid "" "Class methods can no longer wrap other :term:`descriptors ` such " "as :func:`property`." @@ -769,7 +771,7 @@ msgstr "" "Sınıf metotları artık :func:`property` gibi diğer :term:`descriptor` 'ları " "sarmalayamaz." -#: library/functions.rst:295 +#: library/functions.rst:296 msgid "" "Compile the *source* into a code or AST object. Code objects can be " "executed by :func:`exec` or :func:`eval`. *source* can either be a normal " @@ -781,7 +783,7 @@ msgstr "" "normal bir dize, bayt dizesi veya bir AST nesnesi olabilir. AST nesneleriyle " "nasıl çalışılacağını öğrenmek için :mod:`ast` modülüne bkz." -#: library/functions.rst:300 +#: library/functions.rst:301 msgid "" "The *filename* argument should give the file from which the code was read; " "pass some recognizable value if it wasn't read from a file (``''`` " @@ -791,7 +793,7 @@ msgstr "" "okunmuyorsa ayırtedilebilir bir değer verebilirsin (genellikle " "``''`` kullanılır)." -#: library/functions.rst:304 +#: library/functions.rst:305 msgid "" "The *mode* argument specifies what kind of code must be compiled; it can be " "``'exec'`` if *source* consists of a sequence of statements, ``'eval'`` if " @@ -805,7 +807,7 @@ msgstr "" "olabilir (ikinci durumda, \"None\" dışında bir değere sahip ifadeler " "yazdırılacaktır)." -#: library/functions.rst:310 +#: library/functions.rst:311 msgid "" "The optional arguments *flags* and *dont_inherit* control which :ref:" "`compiler options ` should be activated and which :ref:" @@ -830,7 +832,7 @@ msgstr "" "koddaki bayraklar (gelecekteki özellikler ve derleyici seçenekleri) " "yoksayılır." -#: library/functions.rst:321 +#: library/functions.rst:322 msgid "" "Compiler options and future statements are specified by bits which can be " "bitwise ORed together to specify multiple options. The bitfield required to " @@ -847,7 +849,7 @@ msgstr "" "`Derleyici bayrakları ` , :mod:`ast` modülünde ``PyCF_`` " "öneki ile bulunabilir." -#: library/functions.rst:329 +#: library/functions.rst:330 msgid "" "The argument *optimize* specifies the optimization level of the compiler; " "the default value of ``-1`` selects the optimization level of the " @@ -861,7 +863,7 @@ msgstr "" "(optimizasyon yok; ``__debug__`` doğru), ``1`` (iddialar kaldırılır, " "``__debug__`` yanlış) veya ``2`` (Ekstradan doküman dizeleri de kaldırıldı)." -#: library/functions.rst:335 +#: library/functions.rst:336 msgid "" "This function raises :exc:`SyntaxError` if the compiled source is invalid, " "and :exc:`ValueError` if the source contains null bytes." @@ -869,7 +871,7 @@ msgstr "" "Bu fonksiyon derlenmiş kaynak geçerli değil ise :exc:`SyntaxError` , null " "baytlar içeriyorsa :exc:`ValueError` hatalarını ortaya çıkarır." -#: library/functions.rst:338 +#: library/functions.rst:339 msgid "" "If you want to parse Python code into its AST representation, see :func:`ast." "parse`." @@ -877,7 +879,7 @@ msgstr "" "Python kodunu onun AST temsiline ayrıştırmak isterseniz, :func:`ast.parse` " "'a bakınız." -#: library/functions.rst:341 +#: library/functions.rst:342 msgid "" "Raises an :ref:`auditing event ` ``compile`` with arguments " "``source``, ``filename``." @@ -885,7 +887,7 @@ msgstr "" "``source`` ve ``filename`` argümanlarıyla :ref:`denetleme olayı ` " "``compile`` ortaya çıkartır." -#: library/functions.rst:343 +#: library/functions.rst:344 msgid "" "Raises an :ref:`auditing event ` ``compile`` with arguments " "``source`` and ``filename``. This event may also be raised by implicit " @@ -895,7 +897,7 @@ msgstr "" "``compile`` ortaya çıkartır. Bu durum, örtük derleme ile de ortaya " "çıkarılabilir." -#: library/functions.rst:349 +#: library/functions.rst:350 msgid "" "When compiling a string with multi-line code in ``'single'`` or ``'eval'`` " "mode, input must be terminated by at least one newline character. This is " @@ -907,7 +909,7 @@ msgstr "" "`code` modülündeki tamamlanmış ve tamamlanmamış ifadelerin tespitini " "kolaylaştırmak içindir." -#: library/functions.rst:356 +#: library/functions.rst:357 msgid "" "It is possible to crash the Python interpreter with a sufficiently large/" "complex string when compiling to an AST object due to stack depth " @@ -917,7 +919,7 @@ msgstr "" "yeterince büyük/karmaşık bir dizeyi bir AST nesnesine derlerken Python " "yorumlayıcısını çökertmek mümkündür." -#: library/functions.rst:360 +#: library/functions.rst:361 msgid "" "Allowed use of Windows and Mac newlines. Also, input in ``'exec'`` mode " "does not have to end in a newline anymore. Added the *optimize* parameter." @@ -926,7 +928,7 @@ msgstr "" "böyle ``'exec'`` modunda iken veri girişinin yeni satırda sonlanması " "gerekmiyor. *optimize* parametresi eklendi." -#: library/functions.rst:364 +#: library/functions.rst:365 msgid "" "Previously, :exc:`TypeError` was raised when null bytes were encountered in " "*source*." @@ -934,7 +936,7 @@ msgstr "" "Önceden, *source* , null baytlar içeriyorsa :exc:`TypeError` hatası ortaya " "çıkardı." -#: library/functions.rst:368 +#: library/functions.rst:369 msgid "" "``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable " "support for top-level ``await``, ``async for``, and ``async with``." @@ -942,7 +944,7 @@ msgstr "" "``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` artık üst düze ``await``, ``async for``, " "ve ``async with`` desteğini etkinleştirmek için bayraklarla iletilebilir." -#: library/functions.rst:376 +#: library/functions.rst:377 msgid "" "Return a complex number with the value *real* + *imag*\\*1j or convert a " "string or number to a complex number. If the first parameter is a string, " @@ -961,7 +963,7 @@ msgstr "" "olarak sıfır alınır ve yapıcı metot :class:`int` ve :class:`float` gibi sayı " "dönüştürme işlevi görür. Eğer iki argüman da atlandıysa, ``0j`` döndürür." -#: library/functions.rst:385 +#: library/functions.rst:386 #, fuzzy msgid "" "For a general Python object ``x``, ``complex(x)`` delegates to ``x." @@ -973,7 +975,7 @@ msgstr "" "temsil eder. Eğer ``__complex__()`` tanımlanmadıysa, :meth:`__float__` 'a " "geri döner. ``__float__()`` tanımlanmadıysa, :meth:`__index__` 'e geri döner." -#: library/functions.rst:392 +#: library/functions.rst:393 msgid "" "When converting from a string, the string must not contain whitespace around " "the central ``+`` or ``-`` operator. For example, ``complex('1+2j')`` is " @@ -983,17 +985,17 @@ msgstr "" "etrafında boşluk içermemelidir. Örnek olarak, ``complex('1+2j')`` uygun, ama " "``complex('1 + 2j')`` :exc:`ValueError` hatası ortaya çıkarır." -#: library/functions.rst:397 +#: library/functions.rst:398 msgid "The complex type is described in :ref:`typesnumeric`." msgstr "Karmaşık tür, :ref:`typesnumeric` kısmında açıklanmıştır." -#: library/functions.rst:704 library/functions.rst:928 +#: library/functions.rst:708 library/functions.rst:932 msgid "Grouping digits with underscores as in code literals is allowed." msgstr "" "Rakamların, kod sabitlerinde olduğu gibi alt çizgi ile gruplandırılmasına " "izin verilir." -#: library/functions.rst:402 +#: library/functions.rst:403 #, fuzzy msgid "" "Falls back to :meth:`~object.__index__` if :meth:`~object.__complex__` and :" @@ -1002,7 +1004,7 @@ msgstr "" "Eğer :meth:`__complex__` ve :meth:`__float__` tanımlanmadıysa, :meth:" "`__index__` 'e geri döner." -#: library/functions.rst:409 +#: library/functions.rst:410 msgid "" "This is a relative of :func:`setattr`. The arguments are an object and a " "string. The string must be the name of one of the object's attributes. The " @@ -1017,7 +1019,7 @@ msgstr "" "değerdir. *name* bir Python tanımlayıcısı olmak zorunda değildir (:func:" "`setattr` bkz.)." -#: library/functions.rst:422 +#: library/functions.rst:423 msgid "" "Create a new dictionary. The :class:`dict` object is the dictionary class. " "See :class:`dict` and :ref:`typesmapping` for documentation about this class." @@ -1026,7 +1028,7 @@ msgstr "" "sınıf hakkındaki dökümantasyon için :class:`dict` ve :ref:`typesmapping` 'e " "bakınız." -#: library/functions.rst:425 +#: library/functions.rst:426 msgid "" "For other containers see the built-in :class:`list`, :class:`set`, and :" "class:`tuple` classes, as well as the :mod:`collections` module." @@ -1034,7 +1036,7 @@ msgstr "" "Diğer konteynerler için dahili :class:`list` , :class:`set` , :class:`tuple` " "sınıfları ve :mod:`collections` modülüne bakınız." -#: library/functions.rst:432 +#: library/functions.rst:433 msgid "" "Without arguments, return the list of names in the current local scope. " "With an argument, attempt to return a list of valid attributes for that " @@ -1044,12 +1046,14 @@ msgstr "" "Argüman varsa, o nesne için geçerli özelliklerin bir listesini döndürmeye " "çalışır." -#: library/functions.rst:435 +#: library/functions.rst:436 +#, fuzzy msgid "" -"If the object has a method named :meth:`__dir__`, this method will be called " -"and must return the list of attributes. This allows objects that implement a " -"custom :func:`__getattr__` or :func:`__getattribute__` function to customize " -"the way :func:`dir` reports their attributes." +"If the object has a method named :meth:`~object.__dir__`, this method will " +"be called and must return the list of attributes. This allows objects that " +"implement a custom :func:`~object.__getattr__` or :func:`~object." +"__getattribute__` function to customize the way :func:`dir` reports their " +"attributes." msgstr "" "Eğer nesne :meth:`__dir__` adında bir metoda sahipse, bu metot çağrılır ve " "nesnenin özelliklerinin listesini döndürmelidir. Bu, özel bir :func:" @@ -1057,20 +1061,21 @@ msgstr "" "nesnelerin, :func:`dir` 'in özellikleri bildirme şeklini özelleştirmesine " "izin verir." -#: library/functions.rst:440 +#: library/functions.rst:443 +#, fuzzy msgid "" -"If the object does not provide :meth:`__dir__`, the function tries its best " -"to gather information from the object's :attr:`~object.__dict__` attribute, " -"if defined, and from its type object. The resulting list is not necessarily " -"complete and may be inaccurate when the object has a custom :func:" -"`__getattr__`." +"If the object does not provide :meth:`~object.__dir__`, the function tries " +"its best to gather information from the object's :attr:`~object.__dict__` " +"attribute, if defined, and from its type object. The resulting list is not " +"necessarily complete and may be inaccurate when the object has a custom :" +"func:`~object.__getattr__`." msgstr "" "Eğer nesne :meth:`__dir__` metodu sağlamıyorsa, fonksiyon nesnenin :attr:" "`~object.__dict__` özelliğinden veri toplamak için elinen gelenin en iyisini " "dener. Sonuç listesinin tamamlanmış olmasına gerek yoktur ve nesnenin özel " "bir :func:`__getattr__` fonksiyonu varsa kusurlu olabilir." -#: library/functions.rst:445 +#: library/functions.rst:449 msgid "" "The default :func:`dir` mechanism behaves differently with different types " "of objects, as it attempts to produce the most relevant, rather than " @@ -1079,7 +1084,7 @@ msgstr "" "Varsayılan :func:`dir` mekanizması, eksiksiz bilgi yerine en alakalı bilgiyi " "üretmeye çalıştığı için farklı nesne türleriyle farklı çalışır:" -#: library/functions.rst:449 +#: library/functions.rst:453 msgid "" "If the object is a module object, the list contains the names of the " "module's attributes." @@ -1087,7 +1092,7 @@ msgstr "" "Eğer nesne bir modül nesnesiyse, liste modülün özelliklerinin isimlerini " "içerir." -#: library/functions.rst:452 +#: library/functions.rst:456 msgid "" "If the object is a type or class object, the list contains the names of its " "attributes, and recursively of the attributes of its bases." @@ -1095,7 +1100,7 @@ msgstr "" "Eğer nesne bir tür veya sınıf nesnesiyse, liste onun özelliklerini ve " "yinelemeli olarak tabanlarının özelliklerini içerir." -#: library/functions.rst:455 +#: library/functions.rst:459 msgid "" "Otherwise, the list contains the object's attributes' names, the names of " "its class's attributes, and recursively of the attributes of its class's " @@ -1104,11 +1109,11 @@ msgstr "" "Aksi takdirde, liste nesnenin özelliklerini, sınıfının özelliklerini ve " "yinelemeli olarak sınıfının temel sınıflarının özelliklerini içerir." -#: library/functions.rst:459 +#: library/functions.rst:463 msgid "The resulting list is sorted alphabetically. For example:" msgstr "Sonuç listesi alfabetik olarak sıralanmıştır. Örnek olarak:" -#: library/functions.rst:479 +#: library/functions.rst:483 msgid "" "Because :func:`dir` is supplied primarily as a convenience for use at an " "interactive prompt, it tries to supply an interesting set of names more than " @@ -1122,7 +1127,7 @@ msgstr "" "arasında değişikliğe uğrayabilir. Örnek olarak, argüman sınıf ise metasınıf " "özellikleri sonuç listesinde yer almaz." -#: library/functions.rst:489 +#: library/functions.rst:493 msgid "" "Take two (non-complex) numbers as arguments and return a pair of numbers " "consisting of their quotient and remainder when using integer division. " @@ -1142,7 +1147,7 @@ msgstr "" "yakındır. Eğer ``a % b`` sıfır değilse, *b* ile aynı işarete sahiptir ve ``0 " "<= abs(a % b) < abs(b)``." -#: library/functions.rst:501 +#: library/functions.rst:505 msgid "" "Return an enumerate object. *iterable* must be a sequence, an :term:" "`iterator`, or some other object which supports iteration. The :meth:" @@ -1156,11 +1161,11 @@ msgstr "" "sayıyı (varsayılan olarak 0 olan *start* 'dan) ve *iterable* üzerinde " "yinelemeden elde edilen değerleri içeren bir demet döndürür." -#: library/functions.rst:513 +#: library/functions.rst:517 msgid "Equivalent to::" msgstr "Şuna eşittir::" -#: library/functions.rst:525 +#: library/functions.rst:529 msgid "" "The arguments are a string and optional globals and locals. If provided, " "*globals* must be a dictionary. If provided, *locals* can be any mapping " @@ -1170,7 +1175,7 @@ msgstr "" "Sağlanırsa, *globals* bir sözlük olmalıdır. Sağlanırsa, *locals* herhangi " "bir haritalama nesnesi olabilir." -#: library/functions.rst:529 +#: library/functions.rst:533 msgid "" "The *expression* argument is parsed and evaluated as a Python expression " "(technically speaking, a condition list) using the *globals* and *locals* " @@ -1200,7 +1205,7 @@ msgstr "" "kapsama ortamında :term:`iç içe kapsamlar ` (yerel olmayan) " "erişimi yoktur." -#: library/functions.rst:544 +#: library/functions.rst:548 msgid "" "The return value is the result of the evaluated expression. Syntax errors " "are reported as exceptions. Example:" @@ -1208,7 +1213,7 @@ msgstr "" "Dönen değer değerlendirilmiş ifadenin sonucudur. Söz dizimi hataları, " "istisnalar olarak rapor edilir. Örnek:" -#: library/functions.rst:551 +#: library/functions.rst:555 msgid "" "This function can also be used to execute arbitrary code objects (such as " "those created by :func:`compile`). In this case, pass a code object instead " @@ -1221,7 +1226,7 @@ msgstr "" "``'exec'`` ile derlendiyse, :func:`eval` 'in döndürdüğü değer ``None`` " "olacaktır." -#: library/functions.rst:556 +#: library/functions.rst:560 msgid "" "Hints: dynamic execution of statements is supported by the :func:`exec` " "function. The :func:`globals` and :func:`locals` functions return the " @@ -1233,7 +1238,7 @@ msgstr "" "mevcut global ve yerel sözlüğü döndürür. :func:`eval` veya :func:`exec` " "tarafından kullanım için dolaşmak yararlı olabilir." -#: library/functions.rst:561 +#: library/functions.rst:565 msgid "" "If the given source is a string, then leading and trailing spaces and tabs " "are stripped." @@ -1241,7 +1246,7 @@ msgstr "" "Eğer verilen kaynak dize ise, baştaki ve sondaki boşluklar ve tab'lar " "çıkarılır." -#: library/functions.rst:564 +#: library/functions.rst:568 msgid "" "See :func:`ast.literal_eval` for a function that can safely evaluate strings " "with expressions containing only literals." @@ -1250,7 +1255,7 @@ msgstr "" "değerlendirebilen bir fonksiyon arıyorsanız, :func:`ast.literal_eval` 'a " "bakınız." -#: library/functions.rst:608 +#: library/functions.rst:612 msgid "" "Raises an :ref:`auditing event ` ``exec`` with argument " "``code_object``." @@ -1258,7 +1263,7 @@ msgstr "" "``code_object`` argümanıyla bir :ref:`denetleme olayı ` ``exec`` " "hatası ortaya çıkarır." -#: library/functions.rst:610 +#: library/functions.rst:614 msgid "" "Raises an :ref:`auditing event ` ``exec`` with the code object as " "the argument. Code compilation events may also be raised." @@ -1267,7 +1272,7 @@ msgstr "" "``exec`` hatası ortaya çıkartır. Kodun derlendiği sırada çıkan hatalar da " "yükseltilir." -#: library/functions.rst:576 +#: library/functions.rst:580 msgid "" "This function supports dynamic execution of Python code. *object* must be " "either a string or a code object. If it is a string, the string is parsed " @@ -1289,7 +1294,7 @@ msgstr "" "geçirilen kod kaynağında bile fonksiyonlar dışında kullanılamayacağını " "unutmayınız. Döndürülen değer ``None`` 'dır." -#: library/functions.rst:587 +#: library/functions.rst:591 msgid "" "In all cases, if the optional parts are omitted, the code is executed in the " "current scope. If only *globals* is provided, it must be a dictionary (and " @@ -1310,7 +1315,7 @@ msgstr "" "sözlükte bulunduğunu unutmayın. Eğer exec *globals* ve *locals* olarak iki " "ayrı nesne alırsa, kod bir sınıf tanımına gömülmüş gibi çalıştırılacaktır." -#: library/functions.rst:597 +#: library/functions.rst:601 msgid "" "If the *globals* dictionary does not contain a value for the key " "``__builtins__``, a reference to the dictionary of the built-in module :mod:" @@ -1324,7 +1329,7 @@ msgstr "" "`exec` 'e geçirmeden önce *globals* içine ekleyerek yürütülen kod için hangi " "yerleşiklerin mevcut olduğunu kontrol edebilirsiniz." -#: library/functions.rst:603 +#: library/functions.rst:607 msgid "" "The *closure* argument specifies a closure--a tuple of cellvars. It's only " "valid when the *object* is a code object containing free variables. The " @@ -1336,7 +1341,7 @@ msgstr "" "olduğunda geçerlidir. Demetin uzunluğu, kod nesnesi tarafından başvurulan " "serbest değişkenlerin sayısıyla tam olarak eşleşmelidir." -#: library/functions.rst:615 +#: library/functions.rst:619 msgid "" "The built-in functions :func:`globals` and :func:`locals` return the current " "global and local dictionary, respectively, which may be useful to pass " @@ -1346,7 +1351,7 @@ msgstr "" "yerel sözlüğü sırasıyla döndürür. Bu, :func:`exec` 'e ikinci ve üçüncü " "argüman olarak kullanılmak üzere geçirmek için yararlı olabilir." -#: library/functions.rst:621 +#: library/functions.rst:625 msgid "" "The default *locals* act as described for function :func:`locals` below: " "modifications to the default *locals* dictionary should not be attempted. " @@ -1359,11 +1364,11 @@ msgstr "" "*locals* üzerindeki etkilerini görmeniz gerekiyorsa, açık bir *local* " "sözlüğü geçirin." -#: library/functions.rst:626 +#: library/functions.rst:630 msgid "Added the *closure* parameter." msgstr "*closure* parametresi eklendi." -#: library/functions.rst:632 +#: library/functions.rst:636 msgid "" "Construct an iterator from those elements of *iterable* for which *function* " "is true. *iterable* may be either a sequence, a container which supports " @@ -1375,7 +1380,7 @@ msgstr "" "yineleyici olabilir. *fonksiyon* ``None`` ise, kimlik işlevi varsayılır, " "yani *iterable* öğesinin yanlış olan tüm öğeleri kaldırılır." -#: library/functions.rst:638 +#: library/functions.rst:642 msgid "" "Note that ``filter(function, iterable)`` is equivalent to the generator " "expression ``(item for item in iterable if function(item))`` if function is " @@ -1387,7 +1392,7 @@ msgstr "" "ifadesine ``(item for item in iterable if function(item))`` eşit olduğunu " "unutmayın." -#: library/functions.rst:643 +#: library/functions.rst:647 msgid "" "See :func:`itertools.filterfalse` for the complementary function that " "returns elements of *iterable* for which *function* is false." @@ -1395,11 +1400,11 @@ msgstr "" "*fonksiyon*'un yanlış olduğu *iterable* öğelerini döndüren tamamlayıcı " "fonksiyon için :func:`itertools.filterfalse` konusuna bakın." -#: library/functions.rst:653 +#: library/functions.rst:657 msgid "Return a floating point number constructed from a number or string *x*." msgstr "Bir numara veya string *x* 'ten oluşturulan bir reel sayı döndürür." -#: library/functions.rst:655 +#: library/functions.rst:659 msgid "" "If the argument is a string, it should contain a decimal number, optionally " "preceded by a sign, and optionally embedded in whitespace. The optional " @@ -1417,7 +1422,7 @@ msgstr "" "baştaki ve sondaki boşluk karakterleri kaldırıldıktan sonra veri girişi " "aşağıdaki dilbilgisindeki ``floatvalue`` üretim kuralına uygun olmalıdır:" -#: library/functions.rst:673 +#: library/functions.rst:677 msgid "" "Here ``digit`` is a Unicode decimal digit (character in the Unicode general " "category ``Nd``). Case is not significant, so, for example, \"inf\", " @@ -1429,7 +1434,7 @@ msgstr "" "örneğin, \"inf\", \"Inf\", \"INFINITY\" ve \"iNfINity\" pozitif sonsuzluk " "için kabul edilebilir yazımlardır." -#: library/functions.rst:678 +#: library/functions.rst:682 msgid "" "Otherwise, if the argument is an integer or a floating point number, a " "floating point number with the same value (within Python's floating point " @@ -1440,7 +1445,7 @@ msgstr "" "sayı döndürülür. Eğer argüman Python reel sayı aralığının dışındaysa, :exc:" "`OverflowError` hatası ortaya çıkar." -#: library/functions.rst:683 +#: library/functions.rst:687 #, fuzzy msgid "" "For a general Python object ``x``, ``float(x)`` delegates to ``x." @@ -1451,19 +1456,19 @@ msgstr "" "fonksiyonuna delege eder. Eğer ``__float__()`` tanımlanmamışsa, :meth:" "`__index__` 'e geri döner." -#: library/functions.rst:687 +#: library/functions.rst:691 msgid "If no argument is given, ``0.0`` is returned." msgstr "Argüman verilmediyse, ``0.0`` döndürülür." -#: library/functions.rst:689 +#: library/functions.rst:693 msgid "Examples::" msgstr "Örnekler::" -#: library/functions.rst:702 +#: library/functions.rst:706 msgid "The float type is described in :ref:`typesnumeric`." msgstr "Float tipi :ref:`typesnumeric` kısmında açıklandı." -#: library/functions.rst:710 +#: library/functions.rst:714 #, fuzzy msgid "" "Falls back to :meth:`~object.__index__` if :meth:`~object.__float__` is not " @@ -1471,7 +1476,7 @@ msgid "" msgstr "" ":meth:`__float__` tanımlanmadıysa, :meth:`__index__` konumuna geri döner." -#: library/functions.rst:720 +#: library/functions.rst:724 msgid "" "Convert a *value* to a \"formatted\" representation, as controlled by " "*format_spec*. The interpretation of *format_spec* will depend on the type " @@ -1484,7 +1489,7 @@ msgstr "" "tiplerde kullanılan :ref:`formatspec` adında bir standart biçimlendirme " "sözdizimi var." -#: library/functions.rst:725 +#: library/functions.rst:729 msgid "" "The default *format_spec* is an empty string which usually gives the same " "effect as calling :func:`str(value) `." @@ -1492,14 +1497,15 @@ msgstr "" "Varsayılan *format_spec*, :func:`str(value) ` fonksiyonunu çağırmakla " "aynı etkiyi gösteren boş bir dizedir." -#: library/functions.rst:728 +#: library/functions.rst:732 +#, fuzzy msgid "" "A call to ``format(value, format_spec)`` is translated to ``type(value)." "__format__(value, format_spec)`` which bypasses the instance dictionary when " -"searching for the value's :meth:`__format__` method. A :exc:`TypeError` " -"exception is raised if the method search reaches :mod:`object` and the " -"*format_spec* is non-empty, or if either the *format_spec* or the return " -"value are not strings." +"searching for the value's :meth:`~object.__format__` method. A :exc:" +"`TypeError` exception is raised if the method search reaches :mod:`object` " +"and the *format_spec* is non-empty, or if either the *format_spec* or the " +"return value are not strings." msgstr "" "``format(value, format_spec)`` çağrısı, değerin :meth:`__format__` metodunu " "ararken örnek sözlüğü atlayan ``type(value).__format__(value, format_spec)`` " @@ -1507,7 +1513,7 @@ msgstr "" "*format_spec* boş değilse, veya *format_spec* veya döndürülen değer dize " "değilse, :exc:`TypeError` hatası ortaya çıkar." -#: library/functions.rst:735 +#: library/functions.rst:739 msgid "" "``object().__format__(format_spec)`` raises :exc:`TypeError` if " "*format_spec* is not an empty string." @@ -1515,7 +1521,7 @@ msgstr "" "*format_spec* boş bir dize değilse, ``object().__format__(format_spec)``, :" "exc:`TypeError` hatasını ortaya çıkartır." -#: library/functions.rst:744 +#: library/functions.rst:748 msgid "" "Return a new :class:`frozenset` object, optionally with elements taken from " "*iterable*. ``frozenset`` is a built-in class. See :class:`frozenset` and :" @@ -1526,7 +1532,7 @@ msgstr "" "hakkında dokümantasyona ulaşmak için :class:`frozenset` ve :ref:`types-set` " "'e bakınız." -#: library/functions.rst:748 +#: library/functions.rst:752 msgid "" "For other containers see the built-in :class:`set`, :class:`list`, :class:" "`tuple`, and :class:`dict` classes, as well as the :mod:`collections` module." @@ -1535,7 +1541,7 @@ msgstr "" "`tuple`, ve :class:`dict` sınıflarına, ayrıca :mod:`collections` modülüne " "bakabilirsiniz." -#: library/functions.rst:756 +#: library/functions.rst:760 msgid "" "Return the value of the named attribute of *object*. *name* must be a " "string. If the string is the name of one of the object's attributes, the " @@ -1552,7 +1558,7 @@ msgstr "" "ortaya çıkar. *name* bir Python tanımlayıcısı olmak zorunda değildir (:func:" "`setattr` bkz)." -#: library/functions.rst:765 +#: library/functions.rst:769 msgid "" "Since :ref:`private name mangling ` happens at " "compilation time, one must manually mangle a private attribute's (attributes " @@ -1563,7 +1569,7 @@ msgstr "" "gerçekleştiğinden dolayı, :func:`getattr` ile almak için özel bir niteliğin " "(baştaki iki alt çizgili nitelikler) adını manuel olarak değiştirmek gerekir." -#: library/functions.rst:773 +#: library/functions.rst:777 msgid "" "Return the dictionary implementing the current module namespace. For code " "within functions, this is set when the function is defined and remains the " @@ -1573,7 +1579,7 @@ msgstr "" "için, bu fonksiyon tanımlandığında ayarlanır ve fonksiyonun çağrıldığı " "yerden bağımsız olarak aynı kalır." -#: library/functions.rst:780 +#: library/functions.rst:784 msgid "" "The arguments are an object and a string. The result is ``True`` if the " "string is the name of one of the object's attributes, ``False`` if not. " @@ -1585,7 +1591,7 @@ msgstr "" "'i çağırarak uygulanır ve :exc:`AttributeError` hatası oluşup oluşmayacağı " "görülür.)" -#: library/functions.rst:788 +#: library/functions.rst:792 msgid "" "Return the hash value of the object (if it has one). Hash values are " "integers. They are used to quickly compare dictionary keys during a " @@ -1598,18 +1604,17 @@ msgstr "" "değerler aynı karma değere sahiptir (1 ve 1.0 durumunda olduğu gibi farklı " "veri tiplerinde olsalar bile)." -#: library/functions.rst:795 +#: library/functions.rst:799 #, fuzzy msgid "" -"For objects with custom :meth:`__hash__` methods, note that :func:`hash` " -"truncates the return value based on the bit width of the host machine. See :" -"meth:`__hash__ ` for details." +"For objects with custom :meth:`~object.__hash__` methods, note that :func:" +"`hash` truncates the return value based on the bit width of the host machine." msgstr "" ":meth:`__hash__` metodu olan nesneler için, :func:`hash` öğesinin ana " "makinenin bit genişliğine göre döndürdüğü değeri kestiğini unutmayın. " "Detaylar için :meth:`__hash__` 'e bakınız." -#: library/functions.rst:802 +#: library/functions.rst:806 msgid "" "Invoke the built-in help system. (This function is intended for interactive " "use.) If no argument is given, the interactive help system starts on the " @@ -1625,7 +1630,7 @@ msgstr "" "dizeye bakılır ve bir yardım sayfası konsola bastırılır. Eğer argüman başka " "tipte bir nesne ise, nesne üzerinde bir yardım sayfası oluşturulur." -#: library/functions.rst:809 +#: library/functions.rst:813 msgid "" "Note that if a slash(/) appears in the parameter list of a function when " "invoking :func:`help`, it means that the parameters prior to the slash are " @@ -1638,13 +1643,13 @@ msgstr "" "konumsalparametrelerle ilgili SSS girişi ` " "'ne bakınız." -#: library/functions.rst:814 +#: library/functions.rst:818 msgid "" "This function is added to the built-in namespace by the :mod:`site` module." msgstr "" "Bu fonksiyon :mod:`site` modülü tarafından yerleşik ad alanına eklenir." -#: library/functions.rst:816 +#: library/functions.rst:820 msgid "" "Changes to :mod:`pydoc` and :mod:`inspect` mean that the reported signatures " "for callables are now more comprehensive and consistent." @@ -1653,7 +1658,7 @@ msgstr "" "için rapor edilen damgaların artık daha kapsamlı ve tutarlı olduğunu ifade " "eder." -#: library/functions.rst:823 +#: library/functions.rst:827 #, fuzzy msgid "" "Convert an integer number to a lowercase hexadecimal string prefixed with " @@ -1664,7 +1669,7 @@ msgstr "" "dizeye dönüştürür. Eğer *x* Python :class:`int` nesnesi değilse, tam sayı " "döndüren bir :meth:`__index__` metoduna sahip olmalidir. Bazı örnekler:" -#: library/functions.rst:832 +#: library/functions.rst:836 msgid "" "If you want to convert an integer number to an uppercase or lower " "hexadecimal string with prefix or not, you can use either of the following " @@ -1673,7 +1678,7 @@ msgstr "" "Eğer bir tam sayıyı büyük harf-küçük harf, önekli-öneksiz bir onaltılık " "sayıya dönüştürmek istiyorsanız, aşağıdaki yolları kullanabilirsiniz:" -#: library/functions.rst:844 +#: library/functions.rst:848 msgid "" "See also :func:`int` for converting a hexadecimal string to an integer using " "a base of 16." @@ -1681,7 +1686,7 @@ msgstr "" "Ayrıca onaltılık bir dizgiyi 16 tabanını kullanarak bir tam sayıya " "dönüştürmek için :func:`int` 'e bakınız." -#: library/functions.rst:849 +#: library/functions.rst:853 msgid "" "To obtain a hexadecimal string representation for a float, use the :meth:" "`float.hex` method." @@ -1689,7 +1694,7 @@ msgstr "" "Bir gerçel sayıdan onaltılık bir dize gösterimi elde etmek için :meth:`float." "hex` metodunu kullanın." -#: library/functions.rst:855 +#: library/functions.rst:859 msgid "" "Return the \"identity\" of an object. This is an integer which is " "guaranteed to be unique and constant for this object during its lifetime. " @@ -1700,11 +1705,11 @@ msgstr "" "sabit olduğu garanti edilen bir tam sayıdır. Ömürleri örtüşmeyen iki nesne " "aynı :func:`id` değerine sahip olabilir." -#: library/functions.rst:860 +#: library/functions.rst:864 msgid "This is the address of the object in memory." msgstr "Bu, bellekteki nesnenin adresidir." -#: library/functions.rst:862 +#: library/functions.rst:866 msgid "" "Raises an :ref:`auditing event ` ``builtins.id`` with argument " "``id``." @@ -1712,7 +1717,7 @@ msgstr "" "``id`` argümanıyla beraber bir :ref:`denetleme olayı ` ``builtins." "id`` ortaya çıkartır." -#: library/functions.rst:868 +#: library/functions.rst:872 msgid "" "If the *prompt* argument is present, it is written to standard output " "without a trailing newline. The function then reads a line from input, " @@ -1724,7 +1729,7 @@ msgstr "" "bir dizeye çevirip (sondaki yeni satırı çıkartır) döndürür. EOF " "okunduğunda, :exc:`EOFError` istisnası ortaya çıkar. Örnek::" -#: library/functions.rst:878 +#: library/functions.rst:882 msgid "" "If the :mod:`readline` module was loaded, then :func:`input` will use it to " "provide elaborate line editing and history features." @@ -1732,7 +1737,7 @@ msgstr "" "Eğer :mod:`readline` modülü yüklendiyse, :func:`input` ayrıntılı satır " "düzenleme ve geçmiş özellikleri sağlamak için onu kullanacaktır." -#: library/functions.rst:881 +#: library/functions.rst:885 msgid "" "Raises an :ref:`auditing event ` ``builtins.input`` with argument " "``prompt``." @@ -1740,7 +1745,7 @@ msgstr "" "``prompt`` argümanıyla birlikte bir :ref:`denetleme olayı ` " "``builtins.input`` ortaya çıkartır." -#: library/functions.rst:883 +#: library/functions.rst:887 msgid "" "Raises an :ref:`auditing event ` ``builtins.input`` with argument " "``prompt`` before reading input" @@ -1748,7 +1753,7 @@ msgstr "" "Girişi okumadan önce, ``prompt`` argümanıyla birlikte bir :ref:`denetleme " "olayı ` ``builtins.input`` ortaya çıkartır" -#: library/functions.rst:886 +#: library/functions.rst:890 msgid "" "Raises an :ref:`auditing event ` ``builtins.input/result`` with " "argument ``result``." @@ -1756,7 +1761,7 @@ msgstr "" "``result`` argümanıyla birlikte bir :ref:`denetleme olayı ` " "``builtins.input/result`` ortaya çıkartır." -#: library/functions.rst:888 +#: library/functions.rst:892 msgid "" "Raises an :ref:`auditing event ` ``builtins.input/result`` with " "the result after successfully reading input." @@ -1764,7 +1769,7 @@ msgstr "" "Girişi başarıyla okuduktan sonra sonuçla birlikte bir :ref:`auditing event " "` ``builtins.input/result`` denetleme olayı ortaya çıkarır." -#: library/functions.rst:895 +#: library/functions.rst:899 #, fuzzy msgid "" "Return an integer object constructed from a number or string *x*, or return " @@ -1780,7 +1785,7 @@ msgstr "" "__index__()`` 'i döndürür. *x* :meth:`__trunc__` 'ı içeriyorsa, ``x." "__trunc__()`` 'ı döndürür. Gerçel sayılar için, sayı tam sayıya çevrilir." -#: library/functions.rst:902 +#: library/functions.rst:906 msgid "" "If *x* is not a number or if *base* is given, then *x* must be a string, :" "class:`bytes`, or :class:`bytearray` instance representing an integer in " @@ -1795,7 +1800,7 @@ msgstr "" "çevrelenebilir ve rakamlar arasına serpiştirilmiş tek alt çizgilere sahip " "olabilir." -#: library/functions.rst:908 +#: library/functions.rst:912 msgid "" "A base-n integer string contains digits, each representing a value from 0 to " "n-1. The values 0--9 can be represented by any Unicode decimal digit. The " @@ -1820,11 +1825,11 @@ msgstr "" "baştaki sıfırlara da izin vermez: ``int('010', 0)`` yasal değilken, " "``int('010')`` ve ``int('010', 8)`` yasaldır." -#: library/functions.rst:919 +#: library/functions.rst:923 msgid "The integer type is described in :ref:`typesnumeric`." msgstr "Tam sayı tipi :ref:`typesnumeric` kısmında açıklandı." -#: library/functions.rst:921 +#: library/functions.rst:925 msgid "" "If *base* is not an instance of :class:`int` and the *base* object has a :" "meth:`base.__index__ ` method, that method is called to " @@ -1836,19 +1841,19 @@ msgstr "" "tamsayı elde etmek için çağrılır. Önceki sürümler :meth:`base.__index__ " "` yerine :meth:`base.__int__ ` 'i kullandı." -#: library/functions.rst:934 +#: library/functions.rst:938 #, fuzzy msgid "" "Falls back to :meth:`~object.__index__` if :meth:`~object.__int__` is not " "defined." msgstr ":meth:`__int__` tanımlı değilse :meth:`__index__` konumuna geri döner." -#: library/functions.rst:937 +#: library/functions.rst:941 #, fuzzy msgid "The delegation to :meth:`~object.__trunc__` is deprecated." msgstr ":meth:`__trunc__` yetkisi kullanımdan kaldırıldı." -#: library/functions.rst:940 +#: library/functions.rst:944 msgid "" ":class:`int` string inputs and string representations can be limited to help " "avoid denial of service attacks. A :exc:`ValueError` is raised when the " @@ -1864,7 +1869,7 @@ msgstr "" "ortaya çıkar. :ref:`tam sayı dönüştürme uzunluk sınırlaması " "` dokümanına bakın." -#: library/functions.rst:950 +#: library/functions.rst:954 msgid "" "Return ``True`` if the *object* argument is an instance of the *classinfo* " "argument, or of a (direct, indirect, or :term:`virtual `) of *classinfo*. A class is considered a " @@ -1908,20 +1913,21 @@ msgstr "" "birinin alt sınıfıysa ``True`` döndürülür. Diğer her durumda, :exc:" "`TypeError` hatası ortaya çıkar." -#: library/functions.rst:982 +#: library/functions.rst:986 #, fuzzy msgid "" "Return an :term:`iterator` object. The first argument is interpreted very " "differently depending on the presence of the second argument. Without a " "second argument, *object* must be a collection object which supports the :" -"term:`iterable` protocol (the :meth:`__iter__` method), or it must support " -"the sequence protocol (the :meth:`~object.__getitem__` method with integer " -"arguments starting at ``0``). If it does not support either of those " -"protocols, :exc:`TypeError` is raised. If the second argument, *sentinel*, " -"is given, then *object* must be a callable object. The iterator created in " -"this case will call *object* with no arguments for each call to its :meth:" -"`~iterator.__next__` method; if the value returned is equal to *sentinel*, :" -"exc:`StopIteration` will be raised, otherwise the value will be returned." +"term:`iterable` protocol (the :meth:`~object.__iter__` method), or it must " +"support the sequence protocol (the :meth:`~object.__getitem__` method with " +"integer arguments starting at ``0``). If it does not support either of " +"those protocols, :exc:`TypeError` is raised. If the second argument, " +"*sentinel*, is given, then *object* must be a callable object. The iterator " +"created in this case will call *object* with no arguments for each call to " +"its :meth:`~iterator.__next__` method; if the value returned is equal to " +"*sentinel*, :exc:`StopIteration` will be raised, otherwise the value will be " +"returned." msgstr "" "Bir :term:`iterator` nesnesi döndürür. İlk parametre ikinci parametrenin " "sunumuna oldukça bağımlı bir şekilde yorumlanır. İkinci parametre yoksa, " @@ -1935,11 +1941,11 @@ msgstr "" "döndürülen değer *sentinel* 'e eşitse, :exc:`StopIteration` hatası ortaya " "çıkar, aksi takdirde değer döndürülür." -#: library/functions.rst:995 +#: library/functions.rst:1000 msgid "See also :ref:`typeiter`." msgstr "Ayrıca :ref:`typeiter` bkz." -#: library/functions.rst:997 +#: library/functions.rst:1002 msgid "" "One useful application of the second form of :func:`iter` is to build a " "block-reader. For example, reading fixed-width blocks from a binary database " @@ -1949,7 +1955,7 @@ msgstr "" "okuyucu inşaa etmektir. Örnek olarak, dosyanın sonuna ulaşılana kadar ikili " "bir veritabanı dosyasından sabit genişlikte bloklar okunurken::" -#: library/functions.rst:1009 +#: library/functions.rst:1014 msgid "" "Return the length (the number of items) of an object. The argument may be a " "sequence (such as a string, bytes, tuple, list, or range) or a collection " @@ -1959,7 +1965,7 @@ msgstr "" "(örneğin dize, bytes, demet, liste veya aralık) veya bir koleksiyon (örneğin " "sözlük, küme veya dondurulmuş küme) olabilir." -#: library/functions.rst:1015 +#: library/functions.rst:1020 msgid "" "``len`` raises :exc:`OverflowError` on lengths larger than :data:`sys." "maxsize`, such as :class:`range(2 ** 100) `." @@ -1967,7 +1973,7 @@ msgstr "" "``len``, :class:`range(2 ** 100) ` gibi :data:`sys.maxsize` 'dan daha " "geniş uzunluklar için :exc:`OverflowError` hatası ortaya çıkartır." -#: library/functions.rst:1024 +#: library/functions.rst:1029 msgid "" "Rather than being a function, :class:`list` is actually a mutable sequence " "type, as documented in :ref:`typesseq-list` and :ref:`typesseq`." @@ -1975,7 +1981,7 @@ msgstr "" "Bir fonksiyon görevi görmektense, :ref:`typesseq-list` ve :ref:`typesseq` de " "anlatıldığı gibi :class:`list` bir değiştirebilir dizi çeşididir." -#: library/functions.rst:1030 +#: library/functions.rst:1035 msgid "" "Update and return a dictionary representing the current local symbol table. " "Free variables are returned by :func:`locals` when it is called in function " @@ -1988,7 +1994,7 @@ msgstr "" "Unutmayın ki modül seviyesinde, :func:`locals` ve :func:`globals` aynı " "sözlüklerdir." -#: library/functions.rst:1036 +#: library/functions.rst:1041 msgid "" "The contents of this dictionary should not be modified; changes may not " "affect the values of local and free variables used by the interpreter." @@ -1997,7 +2003,7 @@ msgstr "" "tarafından kullanılan yerel ve serbest değişkenlerin değerlerini " "etkilemeyebilir." -#: library/functions.rst:1041 +#: library/functions.rst:1046 msgid "" "Return an iterator that applies *function* to every item of *iterable*, " "yielding the results. If additional *iterables* arguments are passed, " @@ -2014,7 +2020,7 @@ msgstr "" "girdilerinin zaten demetler halinde verildiği durumlar için, :func:" "`itertools.starmap`\\ 'a bakın." -#: library/functions.rst:1053 +#: library/functions.rst:1058 msgid "" "Return the largest item in an iterable or the largest of two or more " "arguments." @@ -2022,7 +2028,7 @@ msgstr "" "Bir yineleyicinin veya birden fazla parametrenin en büyük elementini " "döndürür." -#: library/functions.rst:1056 +#: library/functions.rst:1061 msgid "" "If one positional argument is provided, it should be an :term:`iterable`. " "The largest item in the iterable is returned. If two or more positional " @@ -2033,7 +2039,7 @@ msgstr "" "pozisyonel parametre sağlandıysa, pozisyonel parametrelerin en büyüğü " "döndürülür." -#: library/functions.rst:1099 +#: library/functions.rst:1104 msgid "" "There are two optional keyword-only arguments. The *key* argument specifies " "a one-argument ordering function like that used for :meth:`list.sort`. The " @@ -2047,7 +2053,7 @@ msgstr "" "döndürülecek nesneyi belirtir. Eğer yineleyici boş ve *varsayılan* " "verilmemiş ise, :exc:`ValueError` hatası ortaya çıkar." -#: library/functions.rst:1067 +#: library/functions.rst:1072 msgid "" "If multiple items are maximal, the function returns the first one " "encountered. This is consistent with other sort-stability preserving tools " @@ -2059,15 +2065,15 @@ msgstr "" "iterable, key=keyfunc)`` gibi sıralama kararlılığı muhafaza eden araçlar ile " "uygundur." -#: library/functions.rst:1110 +#: library/functions.rst:1115 msgid "The *default* keyword-only argument." msgstr "*varsayılan* yalnızca anahtar kelime parametresi." -#: library/functions.rst:1113 +#: library/functions.rst:1118 msgid "The *key* can be ``None``." msgstr "*key* ``None`` olabilir." -#: library/functions.rst:1083 +#: library/functions.rst:1088 msgid "" "Return a \"memory view\" object created from the given argument. See :ref:" "`typememoryview` for more information." @@ -2075,7 +2081,7 @@ msgstr "" "Verilen argümandan oluşturulan bir \"memory view\" objesi döndürür. Daha " "fazla bilgi için :ref:`typememoryview` bkz." -#: library/functions.rst:1091 +#: library/functions.rst:1096 msgid "" "Return the smallest item in an iterable or the smallest of two or more " "arguments." @@ -2083,7 +2089,7 @@ msgstr "" "Bir yineleyicideki en küçük elementi veya birden fazla argümandan en " "küçüğünü döndürür." -#: library/functions.rst:1094 +#: library/functions.rst:1099 msgid "" "If one positional argument is provided, it should be an :term:`iterable`. " "The smallest item in the iterable is returned. If two or more positional " @@ -2093,7 +2099,7 @@ msgstr "" "Yineleyicinin en küçük elementi döndürülür. Eğer birden fazla argüman " "sağlandıysa, argümanların en küçüğü döndürülür." -#: library/functions.rst:1105 +#: library/functions.rst:1110 msgid "" "If multiple items are minimal, the function returns the first one " "encountered. This is consistent with other sort-stability preserving tools " @@ -2105,7 +2111,7 @@ msgstr "" "key=keyfunc)`` gibi diğer sıralama kararlılığını koruma araçlarıyla tutarlı " "çalışır." -#: library/functions.rst:1120 +#: library/functions.rst:1125 msgid "" "Retrieve the next item from the :term:`iterator` by calling its :meth:" "`~iterator.__next__` method. If *default* is given, it is returned if the " @@ -2115,7 +2121,7 @@ msgstr "" "elementi getirir. Eğer *default* verildiyse ve yineleyici tükenmiş ise " "*default* döndürülür, aksi takdirde :exc:`StopIteration` hatası ortaya çıkar." -#: library/functions.rst:1127 +#: library/functions.rst:1132 msgid "" "Return a new featureless object. :class:`object` is a base for all classes. " "It has methods that are common to all instances of Python classes. This " @@ -2125,7 +2131,7 @@ msgstr "" "temeldir. Tüm Python sınıflarında bulunan genel metotları içerir. Bu " "fonksiyon hiçbir argüman kabul etmez." -#: library/functions.rst:1133 +#: library/functions.rst:1138 msgid "" ":class:`object` does *not* have a :attr:`~object.__dict__`, so you can't " "assign arbitrary attributes to an instance of the :class:`object` class." @@ -2133,7 +2139,7 @@ msgstr "" ":class:`object`, :attr:`~object.__dict__` özelliğine sahip *değildir*, yani " "bir :class:`object` örneğine keyfi özellikler atayamazsınız." -#: library/functions.rst:1139 +#: library/functions.rst:1144 #, fuzzy msgid "" "Convert an integer number to an octal string prefixed with \"0o\". The " @@ -2145,7 +2151,7 @@ msgstr "" "Python ifadesidir. Eğer *x* bir Python :class:`int` nesnesi değilse, tamsayı " "döndüren bir :meth:`__index__` metoduna sahip olmalıdır. Örnek olarak:" -#: library/functions.rst:1149 +#: library/functions.rst:1154 msgid "" "If you want to convert an integer number to an octal string either with the " "prefix \"0o\" or not, you can use either of the following ways." @@ -2153,7 +2159,7 @@ msgstr "" "Eğer bir tamsayıyı \"0o\" ön ekiyle veya ön eksiz oktal bir dizeye " "dönüştürmek istiyorsanız, aşağıdaki yolları kullanabilirsiniz." -#: library/functions.rst:1166 +#: library/functions.rst:1171 msgid "" "Open *file* and return a corresponding :term:`file object`. If the file " "cannot be opened, an :exc:`OSError` is raised. See :ref:`tut-files` for more " @@ -2163,7 +2169,7 @@ msgstr "" "dosya açılamazsa, :exc:`OSError` hatası ortaya çıkar. Bu fonksiyonun nasıl " "kullanıldığına dair daha fazla örnek için :ref:`tut-files` bkz." -#: library/functions.rst:1170 +#: library/functions.rst:1175 msgid "" "*file* is a :term:`path-like object` giving the pathname (absolute or " "relative to the current working directory) of the file to be opened or an " @@ -2177,7 +2183,7 @@ msgstr "" "açıklayıcısı veirldiyse, *closefd*, ``False`` 'a ayarlanmadığı sürece I/O " "nesnesi kapatıldığında kapatılır." -#: library/functions.rst:1176 +#: library/functions.rst:1181 msgid "" "*mode* is an optional string that specifies the mode in which the file is " "opened. It defaults to ``'r'`` which means open for reading in text mode. " @@ -2201,71 +2207,71 @@ msgstr "" "(İşlenmemiş baytlar okumak veya yazmak için ikili modu kullanın ve " "*encoding* 'i boş bırakın. Geçerli modlar:" -#: library/functions.rst:1193 +#: library/functions.rst:1198 msgid "Character" msgstr "Karakter" -#: library/functions.rst:1193 +#: library/functions.rst:1198 msgid "Meaning" msgstr "Anlam" -#: library/functions.rst:1195 +#: library/functions.rst:1200 msgid "``'r'``" msgstr "``'r'``" -#: library/functions.rst:1195 +#: library/functions.rst:1200 msgid "open for reading (default)" msgstr "okumaya açık (varsayılan)" -#: library/functions.rst:1196 +#: library/functions.rst:1201 msgid "``'w'``" msgstr "``'w'``" -#: library/functions.rst:1196 +#: library/functions.rst:1201 msgid "open for writing, truncating the file first" msgstr "yazmaya açık, önce dosyayı keser" -#: library/functions.rst:1197 +#: library/functions.rst:1202 msgid "``'x'``" msgstr "``'x'``" -#: library/functions.rst:1197 +#: library/functions.rst:1202 msgid "open for exclusive creation, failing if the file already exists" msgstr "ayrıcalıklı oluşturma için açık, dosya varsa hata verir" -#: library/functions.rst:1198 +#: library/functions.rst:1203 msgid "``'a'``" msgstr "``'a'``" -#: library/functions.rst:1198 +#: library/functions.rst:1203 msgid "open for writing, appending to the end of file if it exists" msgstr "yazmaya açık, eğer dosya bulunuyorsa dosyaya ekleme yapar" -#: library/functions.rst:1199 +#: library/functions.rst:1204 msgid "``'b'``" msgstr "``'b'``" -#: library/functions.rst:1343 +#: library/functions.rst:1348 msgid "binary mode" msgstr "ikili mod" -#: library/functions.rst:1200 +#: library/functions.rst:1205 msgid "``'t'``" msgstr "``'t'``" -#: library/functions.rst:1200 +#: library/functions.rst:1205 msgid "text mode (default)" msgstr "metin modu (varsayılan)" -#: library/functions.rst:1201 +#: library/functions.rst:1206 msgid "``'+'``" msgstr "``'+'``" -#: library/functions.rst:1201 +#: library/functions.rst:1206 msgid "open for updating (reading and writing)" msgstr "güncellemeye açık (okuma ve yazma)" -#: library/functions.rst:1204 +#: library/functions.rst:1209 msgid "" "The default mode is ``'r'`` (open for reading text, a synonym of ``'rt'``). " "Modes ``'w+'`` and ``'w+b'`` open and truncate the file. Modes ``'r+'`` and " @@ -2275,7 +2281,7 @@ msgstr "" "``'w+'`` ve ``'w+b'`` modları dosyayı açar ve temizlerler. ``'r+'`` ve " "``'r+b'`` modları dosyayı temizlemeden açarlar." -#: library/functions.rst:1208 +#: library/functions.rst:1213 msgid "" "As mentioned in the :ref:`io-overview`, Python distinguishes between binary " "and text I/O. Files opened in binary mode (including ``'b'`` in the *mode* " @@ -2293,7 +2299,7 @@ msgstr "" "platforma bağlı bir kodlayıcı veya belirtilen *encoding* 'i kullanarak " "deşifre edilir." -#: library/functions.rst:1218 +#: library/functions.rst:1223 msgid "" "Python doesn't depend on the underlying operating system's notion of text " "files; all the processing is done by Python itself, and is therefore " @@ -2303,7 +2309,7 @@ msgstr "" "değildir. Tüm işlemler Python'un kendisi tarafından yapılır ve bu yüzden de " "platformdan bağımsızdır." -#: library/functions.rst:1222 +#: library/functions.rst:1227 msgid "" "*buffering* is an optional integer used to set the buffering policy. Pass 0 " "to switch buffering off (only allowed in binary mode), 1 to select line " @@ -2328,7 +2334,7 @@ msgstr "" "değişkeni verilmediğinde, varsayılan arabelleğe alma ilkesi şu şekilde " "çalışır:" -#: library/functions.rst:1232 +#: library/functions.rst:1237 #, fuzzy msgid "" "Binary files are buffered in fixed-size chunks; the size of the buffer is " @@ -2341,7 +2347,7 @@ msgstr "" "kullanılarak seçilir ve :attr:`io.DEFAULT_BUFFER_SIZE` değerine düşer. Çoğu " "sistemde, arabellek 4096 veya 8192 bayt uzunluğunda olacaktır." -#: library/functions.rst:1237 +#: library/functions.rst:1242 msgid "" "\"Interactive\" text files (files for which :meth:`~io.IOBase.isatty` " "returns ``True``) use line buffering. Other text files use the policy " @@ -2351,7 +2357,7 @@ msgstr "" "döndürdüğü dosyalar) satır arabelleğe almayı kullanır. Diğer metin dosyaları " "yukarıda ikili dosyalar için açıklanan poliçeyi kullanırlar." -#: library/functions.rst:1241 +#: library/functions.rst:1246 msgid "" "*encoding* is the name of the encoding used to decode or encode the file. " "This should only be used in text mode. The default encoding is platform " @@ -2366,7 +2372,7 @@ msgstr "" "kullanılabilir. Desteklenen kodlayıcıların listesi için :mod:`codecs` " "modülüne bkz." -#: library/functions.rst:1247 +#: library/functions.rst:1252 msgid "" "*errors* is an optional string that specifies how encoding and decoding " "errors are to be handled—this cannot be used in binary mode. A variety of " @@ -2380,7 +2386,7 @@ msgstr "" "`codecs.register_error` ile kaydedilen herhangi bir hata işleyici ismi de " "geçerlidir. Standart isimler bunları içerir:" -#: library/functions.rst:1255 +#: library/functions.rst:1260 msgid "" "``'strict'`` to raise a :exc:`ValueError` exception if there is an encoding " "error. The default value of ``None`` has the same effect." @@ -2389,7 +2395,7 @@ msgstr "" "yükseltmek için kullanılır. Varsayılan değer ``None`` ile aynı etkiyi " "gösterir." -#: library/functions.rst:1259 +#: library/functions.rst:1264 msgid "" "``'ignore'`` ignores errors. Note that ignoring encoding errors can lead to " "data loss." @@ -2397,7 +2403,7 @@ msgstr "" "``'ignore'`` hataları görmezden gelir. Kodlayıcı hatalarını görmezden " "gelmenin veri kaybı ile sonuçlanabileceğini unutmayın." -#: library/functions.rst:1262 +#: library/functions.rst:1267 msgid "" "``'replace'`` causes a replacement marker (such as ``'?'``) to be inserted " "where there is malformed data." @@ -2406,7 +2412,7 @@ msgstr "" "(``'?'`` gibi) 'nin hatalı biçimlendirilmiş verinin yerine geçmesine neden " "olur." -#: library/functions.rst:1265 +#: library/functions.rst:1270 msgid "" "``'surrogateescape'`` will represent any incorrect bytes as low surrogate " "code units ranging from U+DC80 to U+DCFF. These surrogate code units will " @@ -2420,7 +2426,7 @@ msgstr "" "baytlara geri döndürülecektir. Bu dosyaları bilinmeyen bir kodlayıcıyla " "işlerken kullanışlıdır." -#: library/functions.rst:1272 +#: library/functions.rst:1277 #, fuzzy msgid "" "``'xmlcharrefreplace'`` is only supported when writing to a file. Characters " @@ -2431,7 +2437,7 @@ msgstr "" "Kodlayıcı tarafından desteklenmeyen karakterler uygun XML karakter örneği " "ile değiştirilir." -#: library/functions.rst:1276 +#: library/functions.rst:1281 msgid "" "``'backslashreplace'`` replaces malformed data by Python's backslashed " "escape sequences." @@ -2439,7 +2445,7 @@ msgstr "" "``'backslashreplace'`` Python'un ters slash kaçış karakterleri yüzünden " "oluşan hatalı veriyi değiştirir." -#: library/functions.rst:1279 +#: library/functions.rst:1284 msgid "" "``'namereplace'`` (also only supported when writing) replaces unsupported " "characters with ``\\N{...}`` escape sequences." @@ -2447,7 +2453,7 @@ msgstr "" "``'namereplace'`` (sadece yazarken desteklenir) desteklenmeyen karakterleri " "``\\N{...}`` kaçış karakterleriyle değiştirir." -#: library/functions.rst:1287 +#: library/functions.rst:1292 msgid "" "*newline* determines how to parse newline characters from the stream. It can " "be ``None``, ``''``, ``'\\n'``, ``'\\r'``, and ``'\\r\\n'``. It works as " @@ -2457,7 +2463,7 @@ msgstr "" "belirler. ``None``, ``''``, ``'\\n'``, ``'\\r'`` ve ``'\\r\\n'`` olabilir. " "Aşağıdaki gibi çalışır:" -#: library/functions.rst:1291 +#: library/functions.rst:1296 msgid "" "When reading input from the stream, if *newline* is ``None``, universal " "newlines mode is enabled. Lines in the input can end in ``'\\n'``, " @@ -2475,7 +2481,7 @@ msgstr "" "değer verildiyse, girdi satırları sadece verilen dize ile sonlanır ve satır " "sonu çağrıcıya çevrilmeden döndürülür." -#: library/functions.rst:1299 +#: library/functions.rst:1304 msgid "" "When writing output to the stream, if *newline* is ``None``, any ``'\\n'`` " "characters written are translated to the system default line separator, :" @@ -2489,7 +2495,7 @@ msgstr "" "yapılmaz. Eğer *newline* diğer uygun değerlerden biri ise, tüm ``'\\n'`` " "karakterleri verilen dizeye dönüştürülür." -#: library/functions.rst:1305 +#: library/functions.rst:1310 msgid "" "If *closefd* is ``False`` and a file descriptor rather than a filename was " "given, the underlying file descriptor will be kept open when the file is " @@ -2501,7 +2507,7 @@ msgstr "" "Eğer bir dosya adı verildiyse, *closefd* ``True`` olmalıdır (varsayılan); " "aksi takdirde, bir hata ortaya çıkar." -#: library/functions.rst:1310 +#: library/functions.rst:1315 msgid "" "A custom opener can be used by passing a callable as *opener*. The " "underlying file descriptor for the file object is then obtained by calling " @@ -2515,11 +2521,11 @@ msgstr "" "dosya tanımlayıcısı döndürmelidir (*opener* yerine :mod:`os.open` göndermek " "fonksiyonel olarak ``None`` göndermek ile benzer sonuçlanır)." -#: library/functions.rst:1316 +#: library/functions.rst:1321 msgid "The newly created file is :ref:`non-inheritable `." msgstr "Yeni oluşturulan dosya :ref:`non-inheritable ` 'dir." -#: library/functions.rst:1318 +#: library/functions.rst:1323 msgid "" "The following example uses the :ref:`dir_fd ` parameter of the :func:" "`os.open` function to open a file relative to a given directory::" @@ -2527,7 +2533,7 @@ msgstr "" "Aşağıdaki örnek verilen bir dizine ait bir dosyayı açmak için :func:`os." "open` fonksiyonunun :ref:`dir_fd ` parametresini kullanır:" -#: library/functions.rst:1331 +#: library/functions.rst:1336 msgid "" "The type of :term:`file object` returned by the :func:`open` function " "depends on the mode. When :func:`open` is used to open a file in a text " @@ -2553,7 +2559,7 @@ msgstr "" "olduğunda, ham akış, :class:`io.RawIOBase` 'in alt sınıfı, :class:`io." "FileIO` döndürülür." -#: library/functions.rst:1352 +#: library/functions.rst:1357 msgid "" "See also the file handling modules, such as :mod:`fileinput`, :mod:`io` " "(where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:" @@ -2563,7 +2569,7 @@ msgstr "" "`os`, :mod:`os.path`, :mod:`tempfile`, ve :mod:`shutil` gibi dosya işleme " "modüllerine de bkz." -#: library/functions.rst:1356 +#: library/functions.rst:1361 msgid "" "Raises an :ref:`auditing event ` ``open`` with arguments ``file``, " "``mode``, ``flags``." @@ -2571,7 +2577,7 @@ msgstr "" "``file``, ``mode``, ``flags`` parametreleriyle bir :ref:`audition event " "` ``open`` ortaya çıkartır." -#: library/functions.rst:1358 +#: library/functions.rst:1363 msgid "" "The ``mode`` and ``flags`` arguments may have been modified or inferred from " "the original call." @@ -2579,21 +2585,21 @@ msgstr "" "``mode`` ve ``flags`` parametreleri orijinal çağrı tarafından modifiye " "edilmiş veya çıkartılmış olabilir." -#: library/functions.rst:1363 +#: library/functions.rst:1368 msgid "The *opener* parameter was added." msgstr "*opener* parametresi eklendi." -#: library/functions.rst:1364 +#: library/functions.rst:1369 msgid "The ``'x'`` mode was added." msgstr "``'x'`` modu eklendi." -#: library/functions.rst:1365 +#: library/functions.rst:1370 msgid ":exc:`IOError` used to be raised, it is now an alias of :exc:`OSError`." msgstr "" "Eskiden :exc:`IOError` hatası ortaya çıkardı, şimdi :exc:`OSError` 'un takma " "adıdır." -#: library/functions.rst:1366 +#: library/functions.rst:1371 msgid "" ":exc:`FileExistsError` is now raised if the file opened in exclusive " "creation mode (``'x'``) already exists." @@ -2601,11 +2607,11 @@ msgstr "" "Artık eğer özel oluşturma modunda (``'x'``) açılmış dosyalar zaten " "bulunuyorsa :exc:`FileExistsError` hatası ortaya çıkar." -#: library/functions.rst:1371 +#: library/functions.rst:1376 msgid "The file is now non-inheritable." msgstr "Dosya artık miras alınamaz." -#: library/functions.rst:1375 +#: library/functions.rst:1380 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 :" @@ -2615,15 +2621,15 @@ msgstr "" "çıkartmazsa, artık fonksiyon :exc:`InterruptedError` hatası ortaya çıkartmak " "yerine sistem çağrısını yeniden dener (açıklama için :pep:`475` bkz)." -#: library/functions.rst:1378 +#: library/functions.rst:1383 msgid "The ``'namereplace'`` error handler was added." msgstr "``'namereplace'`` hata işleyicisi eklendi." -#: library/functions.rst:1382 +#: library/functions.rst:1387 msgid "Support added to accept objects implementing :class:`os.PathLike`." msgstr ":class:`os.PathLike` uygulayan nesneleri kabul etme desteği eklendi." -#: library/functions.rst:1383 +#: library/functions.rst:1388 msgid "" "On Windows, opening a console buffer may return a subclass of :class:`io." "RawIOBase` other than :class:`io.FileIO`." @@ -2631,11 +2637,11 @@ msgstr "" "Windows'da, bir konsol arabelleğinin açılması :class:`io.FileIO` dışında " "bir :class:`io.RawIOBase` alt sınıfını döndürebilir." -#: library/functions.rst:1386 +#: library/functions.rst:1391 msgid "The ``'U'`` mode has been removed." msgstr "``'U'`` modu kaldırıldı." -#: library/functions.rst:1391 +#: library/functions.rst:1396 msgid "" "Given a string representing one Unicode character, return an integer " "representing the Unicode code point of that character. For example, " @@ -2647,7 +2653,7 @@ msgstr "" "tamsayısını döndürür ve ``ord('€')`` (Euro simgesi) ``8364`` tamsayısını " "döndürür. Bu :func:`chr` 'nin tersidir." -#: library/functions.rst:1399 +#: library/functions.rst:1404 msgid "" "Return *base* to the power *exp*; if *mod* is present, return *base* to the " "power *exp*, modulo *mod* (computed more efficiently than ``pow(base, exp) % " @@ -2659,7 +2665,7 @@ msgstr "" "parametreli formu ``pow(base, exp)``, üs operatörü ``base**exp`` kullanmaya " "eş değerdir." -#: library/functions.rst:1404 +#: library/functions.rst:1409 msgid "" "The arguments must have numeric types. With mixed operand types, the " "coercion rules for binary arithmetic operators apply. For :class:`int` " @@ -2681,7 +2687,7 @@ msgstr "" "`float` tipinin negatif tabanı için, karmaşık bir sayı çıktı verilir. " "Örneğin, ``pow(-9, 0.5)``, ``3j`` 'ye yakın bir değer döndürür." -#: library/functions.rst:1414 +#: library/functions.rst:1419 msgid "" "For :class:`int` operands *base* and *exp*, if *mod* is present, *mod* must " "also be of integer type and *mod* must be nonzero. If *mod* is present and " @@ -2695,11 +2701,11 @@ msgstr "" "``pow(inv_base,-exp,mod)`` döndürülüri *inv_base, *base* mod *mod* 'un " "tersidir." -#: library/functions.rst:1420 +#: library/functions.rst:1425 msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::" msgstr "Burada ``38`` mod ``97`` 'nin tersini işlemek için bir örnek var::" -#: library/functions.rst:1427 +#: library/functions.rst:1432 msgid "" "For :class:`int` operands, the three-argument form of ``pow`` now allows the " "second argument to be negative, permitting computation of modular inverses." @@ -2707,14 +2713,14 @@ msgstr "" ":class:`int` işlenenleri için, ``pow`` 'un üç parametreli formu artık ikinci " "parametrenin negatif olmasına, modüler terslerin hesaplanmasına izin verir." -#: library/functions.rst:1432 +#: library/functions.rst:1437 msgid "" "Allow keyword arguments. Formerly, only positional arguments were supported." msgstr "" "Anahtar kelime parametrelerine izin ver, önceden sadece pozisyonel " "parametreler desteklenirdi." -#: library/functions.rst:1439 +#: library/functions.rst:1444 msgid "" "Print *objects* to the text stream *file*, separated by *sep* and followed " "by *end*. *sep*, *end*, *file*, and *flush*, if present, must be given as " @@ -2724,7 +2730,7 @@ msgstr "" "şekilde *objects* 'i yazdırır. *sep*, *end, *file*, ve *flush* sunulursa " "anahtar kelime parametreleri olarak verilmelidir." -#: library/functions.rst:1443 +#: library/functions.rst:1448 msgid "" "All non-keyword arguments are converted to strings like :func:`str` does and " "written to the stream, separated by *sep* and followed by *end*. Both *sep* " @@ -2738,7 +2744,7 @@ msgstr "" "varsayılan değerler kullanılır. Eğer *objects* verilmediyse, :func:`print` " "sadece *end* 'i yazdırır." -#: library/functions.rst:1449 +#: library/functions.rst:1454 msgid "" "The *file* argument must be an object with a ``write(string)`` method; if it " "is not present or ``None``, :data:`sys.stdout` will be used. Since printed " @@ -2750,7 +2756,7 @@ msgstr "" "argümanlar metin dizelerine çevrildiğinden, :func:`print` ikili dosya " "nesneleri ile kullanılamaz. Bunlar için, ``file.write(...)`` 'ı kullanın." -#: library/functions.rst:1454 +#: library/functions.rst:1459 #, fuzzy msgid "" "Output buffering is usually determined by *file*. However, if *flush* is " @@ -2759,15 +2765,15 @@ msgstr "" "Çıktının arabelleğe alınıp alınmadığı genellikle *file* tarafından " "belirlenir, ama *flush* argümanı doğru ise, akış zorla boşaltılır." -#: library/functions.rst:1458 +#: library/functions.rst:1463 msgid "Added the *flush* keyword argument." msgstr "*flush* anahtar kelimesi argümanı eklendi." -#: library/functions.rst:1464 +#: library/functions.rst:1469 msgid "Return a property attribute." msgstr "Bir özellik özelliği döndürür." -#: library/functions.rst:1466 +#: library/functions.rst:1471 msgid "" "*fget* is a function for getting an attribute value. *fset* is a function " "for setting an attribute value. *fdel* is a function for deleting an " @@ -2778,11 +2784,11 @@ msgstr "" "bir özelliğin değerini silmek için kullanılan bir fonksiyondur, ve *doc* " "özellik için bir belge dizisi oluşturur." -#: library/functions.rst:1470 +#: library/functions.rst:1475 msgid "A typical use is to define a managed attribute ``x``::" msgstr "Yönetilen bir ``x`` özelliği tanımlamak için tipik bir yöntem::" -#: library/functions.rst:1487 +#: library/functions.rst:1492 msgid "" "If *c* is an instance of *C*, ``c.x`` will invoke the getter, ``c.x = " "value`` will invoke the setter, and ``del c.x`` the deleter." @@ -2790,7 +2796,7 @@ msgstr "" "Eğer *c*, *C* 'nin bir örneğiyse, ``c.x``, alıcı fonksiyonu çağıracaktır. " "``c.x = value`` ayarlayıcı fonksiyonu, ``del c.x`` ise siliciyi çağıracaktır." -#: library/functions.rst:1490 +#: library/functions.rst:1495 msgid "" "If given, *doc* will be the docstring of the property attribute. Otherwise, " "the property will copy *fget*'s docstring (if it exists). This makes it " @@ -2802,9 +2808,10 @@ msgstr "" "kopyalayacaktır. Bu :func:`property` 'i :term:`decorator` olarak kullanarak " "kolayca salt-okunur özellikler oluşturmayı mümkün kılar::" -#: library/functions.rst:1503 +#: library/functions.rst:1508 +#, fuzzy msgid "" -"The ``@property`` decorator turns the :meth:`voltage` method into a " +"The ``@property`` decorator turns the :meth:`!voltage` method into a " "\"getter\" for a read-only attribute with the same name, and it sets the " "docstring for *voltage* to \"Get the current voltage.\"" msgstr "" @@ -2812,12 +2819,13 @@ msgstr "" "bir özellik için \"getter\" metoduna dönüştürür ve *voltage* için doküman " "dizisini \"Get the current voltage.\" olarak ayarlar." -#: library/functions.rst:1507 +#: library/functions.rst:1516 +#, fuzzy msgid "" -"A property object has :attr:`~property.getter`, :attr:`~property.setter`, " -"and :attr:`~property.deleter` methods usable as decorators that create a " -"copy of the property with the corresponding accessor function set to the " -"decorated function. This is best explained with an example::" +"A property object has ``getter``, ``setter``, and ``deleter`` methods usable " +"as decorators that create a copy of the property with the corresponding " +"accessor function set to the decorated function. This is best explained " +"with an example:" msgstr "" "Bir property nesnesi, dekore edilmiş metoda ayarlanan ilgili erişimci " "metoduyla özelliğin bir kopyasını oluşturmak için dekoratör olarak " @@ -2825,7 +2833,7 @@ msgstr "" "`~property.deleter` metotlarını içerir. Bu en iyi şekilde bir örnekle " "açıklanabilir::" -#: library/functions.rst:1529 +#: library/functions.rst:1540 msgid "" "This code is exactly equivalent to the first example. Be sure to give the " "additional functions the same name as the original property (``x`` in this " @@ -2834,7 +2842,7 @@ msgstr "" "Bu kod birinci örneğin tamamen eş değeridir. Orijinal özellikte olduğu gibi " "ekstra fonksiyonlara aynı ismi verdiğinizden emin olun (bu durumda ``x``)." -#: library/functions.rst:1533 +#: library/functions.rst:1544 msgid "" "The returned property object also has the attributes ``fget``, ``fset``, and " "``fdel`` corresponding to the constructor arguments." @@ -2842,11 +2850,11 @@ msgstr "" "Döndürülen property nesnesi yapıcı metotta verilen ``fget``, ``fset``, ve " "``fdel`` özelliklerine sahiptir." -#: library/functions.rst:1536 +#: library/functions.rst:1547 msgid "The docstrings of property objects are now writeable." msgstr "Property nesnelerinin doküman dizeleri artık yazılabilir." -#: library/functions.rst:1545 +#: library/functions.rst:1556 msgid "" "Rather than being a function, :class:`range` is actually an immutable " "sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`." @@ -2855,7 +2863,8 @@ msgstr "" "tipidir. Daha fazla bilgi için :ref:`typesseq-range` ve :ref:`typesseq` 'e " "bakınız." -#: library/functions.rst:1551 +#: library/functions.rst:1562 +#, fuzzy msgid "" "Return a string containing a printable representation of an object. For " "many types, this function makes an attempt to return a string that would " @@ -2863,9 +2872,9 @@ msgid "" "the representation is a string enclosed in angle brackets that contains the " "name of the type of the object together with additional information often " "including the name and address of the object. A class can control what this " -"function returns for its instances by defining a :meth:`__repr__` method. " -"If :func:`sys.displayhook` is not accessible, this function will raise :exc:" -"`RuntimeError`." +"function returns for its instances by defining a :meth:`~object.__repr__` " +"method. If :func:`sys.displayhook` is not accessible, this function will " +"raise :exc:`RuntimeError`." msgstr "" "Bir nesnenin yazdırılabilir temsilini içeren bir dize döndürür. Birçok tür " "için bu fonksiyon, :func:`eval`; fonksiyonuna iletildiğinde aynı değere " @@ -2876,20 +2885,20 @@ msgstr "" "ne döndürdüğünü kontrol edebilir. :func:`sys.displayhook` erişilebilir " "değilse, bu fonksiyon :exc:`RuntimeError` değerini yükseltir." -#: library/functions.rst:1564 +#: library/functions.rst:1576 #, fuzzy msgid "" "Return a reverse :term:`iterator`. *seq* must be an object which has a :" -"meth:`__reversed__` method or supports the sequence protocol (the :meth:" -"`__len__` method and the :meth:`~object.__getitem__` method with integer " -"arguments starting at ``0``)." +"meth:`~object.__reversed__` method or supports the sequence protocol (the :" +"meth:`~object.__len__` method and the :meth:`~object.__getitem__` method " +"with integer arguments starting at ``0``)." msgstr "" "Ters bir :term:`iterator` döndürür. *seq* :meth:`__reversed__` metodunu " "içeren veya dizi protokolünü (:meth:`__len__` metodu ve ``0`` ile başlayıp " "tam sayı argümanları alan bir :meth:`__getitem__` metodu) destekleyen bir " "nesne olmalıdır." -#: library/functions.rst:1572 +#: library/functions.rst:1584 msgid "" "Return *number* rounded to *ndigits* precision after the decimal point. If " "*ndigits* is omitted or is ``None``, it returns the nearest integer to its " @@ -2899,7 +2908,7 @@ msgstr "" "*ndigits* verilmediyse veya ``None`` ise, *number* 'a en yakın tam sayı " "döndürülür." -#: library/functions.rst:1576 +#: library/functions.rst:1588 msgid "" "For the built-in types supporting :func:`round`, values are rounded to the " "closest multiple of 10 to the power minus *ndigits*; if two multiples are " @@ -2917,7 +2926,7 @@ msgstr "" "*ndigits* verilmediyse veya ``None`` ise döndürülen değer bir tam sayıdır. " "Aksi takdirde, döndürülen değerin tipi *number* 'ınkiyle aynıdır." -#: library/functions.rst:1585 +#: library/functions.rst:1597 msgid "" "For a general Python object ``number``, ``round`` delegates to ``number." "__round__``." @@ -2925,7 +2934,7 @@ msgstr "" "Genel bir Python nesnesi için ``number``, ``round`` ``number.__round__`` 'u " "temsil eder." -#: library/functions.rst:1590 +#: library/functions.rst:1602 msgid "" "The behavior of :func:`round` for floats can be surprising: for example, " "``round(2.675, 2)`` gives ``2.67`` instead of the expected ``2.68``. This is " @@ -2939,7 +2948,7 @@ msgstr "" "gösterilemeyeceğinden bu sonucu alıyoruz. Daha fazla bilgi için :ref:`tut-fp-" "issues` 'e bkz." -#: library/functions.rst:1602 +#: library/functions.rst:1614 msgid "" "Return a new :class:`set` object, optionally with elements taken from " "*iterable*. ``set`` is a built-in class. See :class:`set` and :ref:`types-" @@ -2949,7 +2958,7 @@ msgstr "" "nesnesi döndürür. ``set`` yerleşik bir sınıftır. Bu sınıf hakkında " "dokümantasyon için :class:`set` ve :ref:`types-set` 'e bakınız." -#: library/functions.rst:1606 +#: library/functions.rst:1618 msgid "" "For other containers see the built-in :class:`frozenset`, :class:`list`, :" "class:`tuple`, and :class:`dict` classes, as well as the :mod:`collections` " @@ -2959,7 +2968,7 @@ msgstr "" "`tuple` ve :class:`dict` sınıflarını; aynı zamanda :mod:`collections` " "modülüne bakınız." -#: library/functions.rst:1613 +#: library/functions.rst:1625 msgid "" "This is the counterpart of :func:`getattr`. The arguments are an object, a " "string, and an arbitrary value. The string may name an existing attribute " @@ -2972,7 +2981,7 @@ msgstr "" "Fonksiyon, nesnenin izin vermesi koşuluyla, değeri özelliğe atar. Örneğin " "``setattr(x, 'foobar', 123)`` ve ``x.foobar = 123`` eş değerdir." -#: library/functions.rst:1619 +#: library/functions.rst:1631 msgid "" "*name* need not be a Python identifier as defined in :ref:`identifiers` " "unless the object chooses to enforce that, for example in a custom :meth:" @@ -2986,7 +2995,7 @@ msgstr "" "zorunda değildir. Adı tanımlayıcı olmayan bir özelliğe nokta kullanılarak " "erişilemez, ancak :func:`getattr` vb. aracılığıyla erişilebilir." -#: library/functions.rst:1627 +#: library/functions.rst:1639 msgid "" "Since :ref:`private name mangling ` happens at " "compilation time, one must manually mangle a private attribute's (attributes " @@ -2996,46 +3005,45 @@ msgstr "" "olacağından, :func:`setattr` ile ayarlamak için özel bir niteliğin (iki alt " "çizgi ile başlayan nitelikler) adını manuel olarak değiştirmek gerekir." -#: library/functions.rst:1636 +#: library/functions.rst:1648 msgid "" "Return a :term:`slice` object representing the set of indices specified by " "``range(start, stop, step)``. The *start* and *step* arguments default to " -"``None``. Slice objects have read-only data attributes :attr:`~slice." -"start`, :attr:`~slice.stop`, and :attr:`~slice.step` which merely return the " -"argument values (or their default). They have no other explicit " -"functionality; however, they are used by NumPy and other third-party " -"packages. Slice objects are also generated when extended indexing syntax is " -"used. For example: ``a[start:stop:step]`` or ``a[start:stop, i]``. See :" -"func:`itertools.islice` for an alternate version that returns an iterator." -msgstr "" -"``range(start, stop, step)`` tarafından belirtilen indekslerden oluşan " -"kümeyi temsil eden bir :term:`slice` nesnesi döndürür. *start* ve *step* " -"parametreleri varsayılan olarak ``None`` 'dır. Dilim nesneleri sadece " -"parametre değerlerini (veya varsayılan değerleri) döndüren salt-okunur :attr:" -"`~slice.start`, :attr:`~slice.stop`, ve :attr:`~slice.step` özelliklerine " -"sahiptir. Başka belirgin işlevselliği olmasa da; NumPy ve diğer üçüncü parti " -"paketler tarafından kullanılırlar. Dilim nesneleri, genişletilmiş indeksleme " -"sözdizimi kullanıldığında da üretilirler. Örneğin: ``a[start:stop:step]`` " -"veya ``a[start:stop, i]``. Yineleyici döndüren alternatif bir versiyon için :" -"func:`itertools.islice` 'e bakınız." - -#: library/functions.rst:1646 +"``None``." +msgstr "" + +#: library/functions.rst:1656 +msgid "" +"Slice objects have read-only data attributes :attr:`!start`, :attr:`!stop`, " +"and :attr:`!step` which merely return the argument values (or their " +"default). They have no other explicit functionality; however, they are used " +"by NumPy and other third-party packages." +msgstr "" + +#: library/functions.rst:1661 +msgid "" +"Slice objects are also generated when extended indexing syntax is used. For " +"example: ``a[start:stop:step]`` or ``a[start:stop, i]``. See :func:" +"`itertools.islice` for an alternate version that returns an :term:`iterator`." +msgstr "" + +#: library/functions.rst:1666 msgid "" "Slice objects are now :term:`hashable` (provided :attr:`~slice.start`, :attr:" "`~slice.stop`, and :attr:`~slice.step` are hashable)." msgstr "" -#: library/functions.rst:1652 +#: library/functions.rst:1672 msgid "Return a new sorted list from the items in *iterable*." msgstr "" "*iterable* 'ın içindeki elementlerden oluşan sıralı bir liste döndürür." -#: library/functions.rst:1654 +#: library/functions.rst:1674 msgid "" "Has two optional arguments which must be specified as keyword arguments." msgstr "İsimle belirtilmesi gereken 2 opsiyonel parametresi vardır." -#: library/functions.rst:1656 +#: library/functions.rst:1676 msgid "" "*key* specifies a function of one argument that is used to extract a " "comparison key from each element in *iterable* (for example, ``key=str." @@ -3045,7 +3053,7 @@ msgstr "" "için kullanılan bir argümanın fonksiyonunu belirtir (örneğin, ``key=str." "lower``). Varsayılan değer ``None`` 'dır (elementleri direkt karşılaştırır)." -#: library/functions.rst:1660 +#: library/functions.rst:1680 msgid "" "*reverse* is a boolean value. If set to ``True``, then the list elements " "are sorted as if each comparison were reversed." @@ -3053,7 +3061,7 @@ msgstr "" "*reverse* bir boolean değerdir. Eğer ``True`` ise, liste elementleri tüm " "karşılaştırmalar tersine çevrilmiş şekilde sıralanır." -#: library/functions.rst:1663 +#: library/functions.rst:1683 msgid "" "Use :func:`functools.cmp_to_key` to convert an old-style *cmp* function to a " "*key* function." @@ -3061,7 +3069,7 @@ msgstr "" "Eski stil *cmp* fonksiyonunu bir *key* fonksiyonuna dönüştürmek için :func:" "`functools.cmp_to_key` 'yi kullanın." -#: library/functions.rst:1666 +#: library/functions.rst:1686 msgid "" "The built-in :func:`sorted` function is guaranteed to be stable. A sort is " "stable if it guarantees not to change the relative order of elements that " @@ -3073,7 +3081,7 @@ msgstr "" "garantiliyorsa stabildir --- bu çoklu geçişlerle sıralama (örneğin önce " "departman, ardından maaş sıralama) için yardımcıdır." -#: library/functions.rst:1671 +#: library/functions.rst:1691 msgid "" "The sort algorithm uses only ``<`` comparisons between items. While " "defining an :meth:`~object.__lt__` method will suffice for sorting, :PEP:`8` " @@ -3093,18 +3101,18 @@ msgstr "" "uygulamak ayrıca yansıtılan :meth:`~object.__gt__` metodunu çağırabilen " "karmaşık tür karşılaştırmaları için karışıklığı da önler." -#: library/functions.rst:1680 +#: library/functions.rst:1700 msgid "" "For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`." msgstr "" "Sıralama örnekleri ve kısa sıralama öğreticisi için :ref:`sortinghowto` 'ya " "bakınız." -#: library/functions.rst:1684 +#: library/functions.rst:1704 msgid "Transform a method into a static method." msgstr "Bir metodu statik metoda dönüştürür." -#: library/functions.rst:1686 +#: library/functions.rst:1706 msgid "" "A static method does not receive an implicit first argument. To declare a " "static method, use this idiom::" @@ -3112,7 +3120,7 @@ msgstr "" "Statik bir metot üstü kapalı şekilde bir ilk argüman almaz. Statik metot " "tanımlamak için bu ifadeyi kullanabilirsiniz::" -#: library/functions.rst:1693 +#: library/functions.rst:1713 msgid "" "The ``@staticmethod`` form is a function :term:`decorator` -- see :ref:" "`function` for details." @@ -3120,7 +3128,7 @@ msgstr "" "``@staticmethod`` ifadesi bir :term:`decorator` fonksiyonudur. -- detaylar " "için :ref:`function` bkz." -#: library/functions.rst:1696 +#: library/functions.rst:1716 msgid "" "A static method can be called either on the class (such as ``C.f()``) or on " "an instance (such as ``C().f()``). Moreover, they can be called as regular " @@ -3130,7 +3138,7 @@ msgstr "" "(``C().f()`` gibi) çağırılabilir. Hatta normal fonksiyonlar gibi (``f()``) " "de çağırılabilirler." -#: library/functions.rst:1700 +#: library/functions.rst:1720 msgid "" "Static methods in Python are similar to those found in Java or C++. Also, " "see :func:`classmethod` for a variant that is useful for creating alternate " @@ -3140,7 +3148,7 @@ msgstr "" "için alternatif bir yapıcı metot oluşturmak isterseniz :func:`classmethod` " "bkz." -#: library/functions.rst:1704 +#: library/functions.rst:1724 msgid "" "Like all decorators, it is also possible to call ``staticmethod`` as a " "regular function and do something with its result. This is needed in some " @@ -3154,11 +3162,11 @@ msgstr "" "dönüşümü engellemek istediğinizde işinize yarayabilir. Böyle durumlar için, " "bu ifadeyi kullanabilirsiniz::" -#: library/functions.rst:1716 +#: library/functions.rst:1736 msgid "For more information on static methods, see :ref:`types`." msgstr "Statik metotlar hakkında daha fazla bilgi için, :ref:`types` bkz." -#: library/functions.rst:1718 +#: library/functions.rst:1738 msgid "" "Static methods now inherit the method attributes (``__module__``, " "``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``), have a " @@ -3169,14 +3177,14 @@ msgstr "" "``__wrapped__`` özellikleri var ve artık normal fonksiyonlar gibi " "çağırılabilirler." -#: library/functions.rst:1733 +#: library/functions.rst:1753 msgid "" "Return a :class:`str` version of *object*. See :func:`str` for details." msgstr "" "*object* 'in :class:`str` versiyonunu döndürür. Detaylar için :func:`str` " "bkz." -#: library/functions.rst:1735 +#: library/functions.rst:1755 msgid "" "``str`` is the built-in string :term:`class`. For general information about " "strings, see :ref:`textseq`." @@ -3184,7 +3192,7 @@ msgstr "" "``str`` yerleşik dize :term:`class` 'ıdır. Dizeler hakkında genel bilgi " "için, :ref:`textseq` bkz." -#: library/functions.rst:1741 +#: library/functions.rst:1761 msgid "" "Sums *start* and the items of an *iterable* from left to right and returns " "the total. The *iterable*'s items are normally numbers, and the start value " @@ -3194,7 +3202,7 @@ msgstr "" "döndürür. *iterable* 'ın elemanları normal olarak numaralardır ve başlangıç " "değeri bir dize olamaz." -#: library/functions.rst:1745 +#: library/functions.rst:1765 msgid "" "For some use cases, there are good alternatives to :func:`sum`. The " "preferred, fast way to concatenate a sequence of strings is by calling ``''." @@ -3209,17 +3217,17 @@ msgstr "" "nesnelerden oluşan bir diziyi birleştirmek istiyorsanız, :func:`itertools." "chain` fonksiyonunu kullanmayı göz önünde bulundurun." -#: library/functions.rst:1751 +#: library/functions.rst:1771 msgid "The *start* parameter can be specified as a keyword argument." msgstr "*start* parametresi bir anahtar kelime argümanı olarak belirtilebilir." -#: library/functions.rst:1754 +#: library/functions.rst:1774 msgid "" "Summation of floats switched to an algorithm that gives higher accuracy on " "most builds." msgstr "" -#: library/functions.rst:1761 +#: library/functions.rst:1781 msgid "" "Return a proxy object that delegates method calls to a parent or sibling " "class of *type*. This is useful for accessing inherited methods that have " @@ -3229,7 +3237,7 @@ msgstr "" "eden bir proxy objesi döndürür. Bu bir sınıfta üzerine yazılmış kalıtılan " "metotlara erişmek için kullanışlıdır." -#: library/functions.rst:1765 +#: library/functions.rst:1785 msgid "" "The *object_or_type* determines the :term:`method resolution order` to be " "searched. The search starts from the class right after the *type*." @@ -3237,7 +3245,7 @@ msgstr "" "*object_or_type* aranacak :term:`method resolution order` 'nı belirler. " "Arama *type* 'dan sonraki ilk sınıftan başlar." -#: library/functions.rst:1769 +#: library/functions.rst:1789 msgid "" "For example, if :attr:`~class.__mro__` of *object_or_type* is ``D -> B -> C -" "> A -> object`` and the value of *type* is ``B``, then :func:`super` " @@ -3247,7 +3255,7 @@ msgstr "" "> B -> C -> A -> object`` ise ve *type* değeri ``B`` ise, :func:`super` ``C -" "> A -> object`` 'i arar." -#: library/functions.rst:1773 +#: library/functions.rst:1793 msgid "" "The :attr:`~class.__mro__` attribute of the *object_or_type* lists the " "method resolution search order used by both :func:`getattr` and :func:" @@ -3259,7 +3267,7 @@ msgstr "" "listeler. Özellik dinamiktir ve kalıtım hiyerarşisi her güncellendiğinde " "değişebilir." -#: library/functions.rst:1778 +#: library/functions.rst:1798 msgid "" "If the second argument is omitted, the super object returned is unbound. If " "the second argument is an object, ``isinstance(obj, type)`` must be true. " @@ -3271,7 +3279,7 @@ msgstr "" "zorundadır. Eğer ikinci parametre bir tür ise, ``issubclass(type2, type)`` " "doğru olmak zorundadır (bu sınıf metotları için kullanışlıdır)." -#: library/functions.rst:1783 +#: library/functions.rst:1803 msgid "" "There are two typical use cases for *super*. In a class hierarchy with " "single inheritance, *super* can be used to refer to parent classes without " @@ -3282,7 +3290,7 @@ msgstr "" "hiyerarşisinde *super* üst sınıfları açıkça adlandırmadan onlara başvurmak " "için kullanılabilir. böylece kodu daha sürdürülebilir hale getirir." -#: library/functions.rst:1788 +#: library/functions.rst:1808 msgid "" "The second use case is to support cooperative multiple inheritance in a " "dynamic execution environment. This use case is unique to Python and is not " @@ -3303,12 +3311,12 @@ msgstr "" "sıra sınıf hiyerarşisindeki değişikliklere uyarlanır ve çalışma zamanından " "önce bilinmeyen kardeş sınıfları içerebilir) dikte eder." -#: library/functions.rst:1798 +#: library/functions.rst:1818 msgid "For both use cases, a typical superclass call looks like this::" msgstr "" "İki kullanım durumu için de, tipik bir üst sınıf çağrısı bu şekildedir::" -#: library/functions.rst:1805 +#: library/functions.rst:1825 msgid "" "In addition to method lookups, :func:`super` also works for attribute " "lookups. One possible use case for this is calling :term:`descriptors " @@ -3318,11 +3326,12 @@ msgstr "" "çalışır. Bunun kullanım şekli ebeveyn veya kardeş bir sınıfta :term:" "`tanımlayıcılar ` 'i çağırmaktır." -#: library/functions.rst:1809 +#: library/functions.rst:1829 +#, fuzzy msgid "" "Note that :func:`super` is implemented as part of the binding process for " "explicit dotted attribute lookups such as ``super().__getitem__(name)``. It " -"does so by implementing its own :meth:`__getattribute__` method for " +"does so by implementing its own :meth:`~object.__getattribute__` method for " "searching classes in a predictable order that supports cooperative multiple " "inheritance. Accordingly, :func:`super` is undefined for implicit lookups " "using statements or operators such as ``super()[name]``." @@ -3334,7 +3343,7 @@ msgstr "" "`super`, ifadeler veya ``super()[name]`` gibi operatörler kullanarak kesin " "aramalar için tanımsızdır." -#: library/functions.rst:1816 +#: library/functions.rst:1837 msgid "" "Also note that, aside from the zero argument form, :func:`super` is not " "limited to use inside methods. The two argument form specifies the " @@ -3349,7 +3358,7 @@ msgstr "" "tanımının içinde çalışır, derleyici tanımlanan sınıfı doğru şekilde almak ve " "sıradan yöntemlere geçerli örnekten erişmek için gerekli detayları doldurur." -#: library/functions.rst:1823 +#: library/functions.rst:1844 msgid "" "For practical suggestions on how to design cooperative classes using :func:" "`super`, see `guide to using super() `_ bkz." -#: library/functions.rst:1833 +#: library/functions.rst:1854 msgid "" "Rather than being a function, :class:`tuple` is actually an immutable " "sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`." @@ -3367,7 +3376,7 @@ msgstr "" "Bir fonksiyon olmaktansa, :class:`tuple` :ref:`typesseq-tuple` ve :ref:" "`typesseq` 'de gösterildiği gibi düzenlenemez bir dizi türüdür." -#: library/functions.rst:1842 +#: library/functions.rst:1863 msgid "" "With one argument, return the type of an *object*. The return value is a " "type object and generally the same object as returned by :attr:`object." @@ -3377,7 +3386,7 @@ msgstr "" "türüdür ve genellikle :attr:`object.__class__ ` " "tarafından döndürülen obje ile aynıdır." -#: library/functions.rst:1846 +#: library/functions.rst:1867 msgid "" "The :func:`isinstance` built-in function is recommended for testing the type " "of an object, because it takes subclasses into account." @@ -3385,7 +3394,7 @@ msgstr "" ":func:`isinstance` yerleşik fonksiyonu bir objenin türünü test etmek için " "önerilir. Çünkü altsınıfları hesaba katar." -#: library/functions.rst:1850 +#: library/functions.rst:1871 msgid "" "With three arguments, return a new type object. This is essentially a " "dynamic form of the :keyword:`class` statement. The *name* string is the " @@ -3406,11 +3415,11 @@ msgstr "" "özelliği yerine geçmeden önce kopyalanabilir veya sarılabilir. Aşağıdaki iki " "ifade birebir aynı :class:`type` nesneleri oluşturur:" -#: library/functions.rst:1865 +#: library/functions.rst:1886 msgid "See also :ref:`bltin-type-objects`." msgstr ":ref:`bltin-type-objects` 'e de bkz." -#: library/functions.rst:1867 +#: library/functions.rst:1888 msgid "" "Keyword arguments provided to the three argument form are passed to the " "appropriate metaclass machinery (usually :meth:`~object.__init_subclass__`) " @@ -3422,11 +3431,11 @@ msgstr "" "tanımındaki anahtar sözcüklerin (*metaclass* dışında) yapacağı şekilde " "iletilir." -#: library/functions.rst:1872 +#: library/functions.rst:1893 msgid "See also :ref:`class-customization`." msgstr ":ref:`class-customization` 'a da bkz." -#: library/functions.rst:1874 +#: library/functions.rst:1895 msgid "" "Subclasses of :class:`type` which don't override ``type.__new__`` may no " "longer use the one-argument form to get the type of an object." @@ -3434,7 +3443,7 @@ msgstr "" "``type.__new__`` 'in üzerine yazmayan :class:`type` altsınıfları artık bir " "objenin türünü almak için tek argümanlı formu kullanamaz." -#: library/functions.rst:1881 +#: library/functions.rst:1902 msgid "" "Return the :attr:`~object.__dict__` attribute for a module, class, instance, " "or any other object with a :attr:`~object.__dict__` attribute." @@ -3442,7 +3451,7 @@ msgstr "" "Bir modül, sınıf, örnek veya :attr:`~object.__dict__` özelliği bulunan " "herhangi bir obje için, :attr:`~object.__dict__` özelliğini döndürür." -#: library/functions.rst:1884 +#: library/functions.rst:1905 msgid "" "Objects such as modules and instances have an updateable :attr:`~object." "__dict__` attribute; however, other objects may have write restrictions on " @@ -3455,7 +3464,7 @@ msgstr "" "sınıflar doğrudan sözlük güncellemelerini önlemek için :class:`types." "MappingProxyType` sınıfını kullanırlar)." -#: library/functions.rst:1889 +#: library/functions.rst:1910 msgid "" "Without an argument, :func:`vars` acts like :func:`locals`. Note, the " "locals dictionary is only useful for reads since updates to the locals " @@ -3465,7 +3474,7 @@ msgstr "" "ona yapılan güncellemeler görmezden gelindiğinden ötürü, sadece okuma işlemi " "için kullanışlıdır." -#: library/functions.rst:1893 +#: library/functions.rst:1914 msgid "" "A :exc:`TypeError` exception is raised if an object is specified but it " "doesn't have a :attr:`~object.__dict__` attribute (for example, if its class " @@ -3475,7 +3484,7 @@ msgstr "" "(örneğin, :attr:`~object.__slots__` özelliğini tanımlayan bir sınıf ise), :" "exc:`TypeError` hatası ortaya çıkar." -#: library/functions.rst:1899 +#: library/functions.rst:1920 msgid "" "Iterate over several iterables in parallel, producing tuples with an item " "from each one." @@ -3483,11 +3492,11 @@ msgstr "" "Paralel olarak birkaç yinelenebilir nesneyi yineler ve hepsinden bir element " "alarak bir demet üretir." -#: library/functions.rst:1902 +#: library/functions.rst:1923 msgid "Example::" msgstr "Örnek::" -#: library/functions.rst:1911 +#: library/functions.rst:1932 msgid "" "More formally: :func:`zip` returns an iterator of tuples, where the *i*-th " "tuple contains the *i*-th element from each of the argument iterables." @@ -3496,7 +3505,7 @@ msgstr "" "parametre yineleyicisinden *i* 'inci elementi içerdiği bir yineleyici " "döndürür." -#: library/functions.rst:1914 +#: library/functions.rst:1935 msgid "" "Another way to think of :func:`zip` is that it turns rows into columns, and " "columns into rows. This is similar to `transposing a matrix `_ 'a benzer." -#: library/functions.rst:1918 +#: library/functions.rst:1939 msgid "" ":func:`zip` is lazy: The elements won't be processed until the iterable is " "iterated on, e.g. by a :keyword:`!for` loop or by wrapping in a :class:" @@ -3516,7 +3525,7 @@ msgstr "" "döngüsü veya :class:`list` tarafından sarılarak yinelenmediği sürece " "elementler işlenmez." -#: library/functions.rst:1922 +#: library/functions.rst:1943 msgid "" "One thing to consider is that the iterables passed to :func:`zip` could have " "different lengths; sometimes by design, and sometimes because of a bug in " @@ -3528,7 +3537,7 @@ msgstr "" "kodda oluşan bir hatadan dolayı farklı uzunluklarda olabilirler. Python " "bununla başa çıkmak için üç farklı yaklaşım sunar:" -#: library/functions.rst:1927 +#: library/functions.rst:1948 msgid "" "By default, :func:`zip` stops when the shortest iterable is exhausted. It " "will ignore the remaining items in the longer iterables, cutting off the " @@ -3538,7 +3547,7 @@ msgstr "" "durur. Daha uzun yinelebilirlerde kalan elementleri görmezden gelecektir ve " "sonucu en kısa yineleyicinin uzunluğuna eşitleyecektir::" -#: library/functions.rst:1934 +#: library/functions.rst:1955 msgid "" ":func:`zip` is often used in cases where the iterables are assumed to be of " "equal length. In such cases, it's recommended to use the ``strict=True`` " @@ -3548,7 +3557,7 @@ msgstr "" "kullanılır. Bu gibi durumlarda, ``strict=True`` opsiyonunu kullanmak " "önerilir. Çıktısı sıradan :func:`zip` ile aynıdır::" -#: library/functions.rst:1941 +#: library/functions.rst:1962 msgid "" "Unlike the default behavior, it raises a :exc:`ValueError` if one iterable " "is exhausted before the others:" @@ -3556,7 +3565,7 @@ msgstr "" "Varsayılan davranışın aksine, bir yinelenebilir diğerlerinden önce tükenirse " "bir :exc:`ValueError` ortaya çıkar:" -#: library/functions.rst:1959 +#: library/functions.rst:1980 msgid "" "Without the ``strict=True`` argument, any bug that results in iterables of " "different lengths will be silenced, possibly manifesting as a hard-to-find " @@ -3566,7 +3575,7 @@ msgstr "" "sonuçlanan hatalar susturulacaktır. Mümkün olduğunca programın başka bir " "bölümünde bulunması zor bir hata olarak tezahür ediyor." -#: library/functions.rst:1963 +#: library/functions.rst:1984 msgid "" "Shorter iterables can be padded with a constant value to make all the " "iterables have the same length. This is done by :func:`itertools." @@ -3576,7 +3585,7 @@ msgstr "" "uzunlukta olması için sabit bir değerle doldurulabilirler. Bu :func:" "`itertools.zip_longest` tarafından yapılır." -#: library/functions.rst:1967 +#: library/functions.rst:1988 msgid "" "Edge cases: With a single iterable argument, :func:`zip` returns an iterator " "of 1-tuples. With no arguments, it returns an empty iterator." @@ -3585,11 +3594,11 @@ msgstr "" "bir demetin yineleyicisini döndürür. Argüman verilmezse, boş bir yineleyici " "döndürür." -#: library/functions.rst:1970 +#: library/functions.rst:1991 msgid "Tips and tricks:" msgstr "İpucu ve hileler:" -#: library/functions.rst:1972 +#: library/functions.rst:1993 msgid "" "The left-to-right evaluation order of the iterables is guaranteed. This " "makes possible an idiom for clustering a data series into n-length groups " @@ -3604,7 +3613,7 @@ msgstr "" "sayıda çağrı yapmış olur. Bu, girdiyi n-uzunluklu parçalara bölme etkisine " "sahiptir." -#: library/functions.rst:1978 +#: library/functions.rst:1999 msgid "" ":func:`zip` in conjunction with the ``*`` operator can be used to unzip a " "list::" @@ -3612,11 +3621,11 @@ msgstr "" ":func:`zip`, bir listeyi açmak için ``*`` operatörüyle birlikte " "kullanılabilir::" -#: library/functions.rst:1989 +#: library/functions.rst:2010 msgid "Added the ``strict`` argument." msgstr "``strict`` argümanı eklendi." -#: library/functions.rst:2001 +#: library/functions.rst:2022 msgid "" "This is an advanced function that is not needed in everyday Python " "programming, unlike :func:`importlib.import_module`." @@ -3624,7 +3633,7 @@ msgstr "" "Bu :func:`importlib.import_module` 'un aksine günlük Python programlamasında " "genel olarak kullanılmayan gelişmiş bir fonksiyondur." -#: library/functions.rst:2004 +#: library/functions.rst:2025 msgid "" "This function is invoked by the :keyword:`import` statement. It can be " "replaced (by importing the :mod:`builtins` module and assigning to " @@ -3643,7 +3652,7 @@ msgstr "" "neden olmayacağından tavsiye **edilmez**. :func:`__import__` 'un doğrudan " "kullanımı da :func:`importlib.import_module` 'ın lehine tavsiye edilmez." -#: library/functions.rst:2013 +#: library/functions.rst:2034 msgid "" "The function imports the module *name*, potentially using the given " "*globals* and *locals* to determine how to interpret the name in a package " @@ -3659,7 +3668,7 @@ msgstr "" "*locals* argümanını kullanmaya teşebbüs etmez ve *globals* 'i :keyword:" "`import` ifadesinin paket bağlamını belirlemek için kullanır." -#: library/functions.rst:2020 +#: library/functions.rst:2041 msgid "" "*level* specifies whether to use absolute or relative imports. ``0`` (the " "default) means only perform absolute imports. Positive values for *level* " @@ -3673,7 +3682,7 @@ msgstr "" "dizinine göre aranacak üst dizinlerin sayısını gösterir (detaylar için :pep:" "`328` 'e bakınız)." -#: library/functions.rst:2026 +#: library/functions.rst:2047 msgid "" "When the *name* variable is of the form ``package.module``, normally, the " "top-level package (the name up till the first dot) is returned, *not* the " @@ -3684,7 +3693,7 @@ msgstr "" "((ilk noktaya kadar olan isim) döndürülür, *name* isimli modül *değil*. Boş " "olmayan bir *fromlist* argümanı verildiğinde, *name* isimli modül döndürülür." -#: library/functions.rst:2031 +#: library/functions.rst:2052 msgid "" "For example, the statement ``import spam`` results in bytecode resembling " "the following code::" @@ -3692,11 +3701,11 @@ msgstr "" "Örnek olarak, ``import spam`` ifadesi aşağıdaki koda benzeyen bayt koduyla " "sonuçlanır::" -#: library/functions.rst:2036 +#: library/functions.rst:2057 msgid "The statement ``import spam.ham`` results in this call::" msgstr "``import spam.ham`` ifadesi şu çağrıyla sonuçlanır::" -#: library/functions.rst:2040 +#: library/functions.rst:2061 msgid "" "Note how :func:`__import__` returns the toplevel module here because this is " "the object that is bound to a name by the :keyword:`import` statement." @@ -3705,7 +3714,7 @@ msgstr "" "dikkat edin, çünkü bu, :keyword:`import` ifadesiyle bir ada bağlanan " "nesnedir." -#: library/functions.rst:2043 +#: library/functions.rst:2064 msgid "" "On the other hand, the statement ``from spam.ham import eggs, sausage as " "saus`` results in ::" @@ -3713,7 +3722,7 @@ msgstr "" "Diğer yandan, ``from spam.ham import eggs, sausage as saus`` ifadesi şöyle " "sonuçlanır::" -#: library/functions.rst:2050 +#: library/functions.rst:2071 msgid "" "Here, the ``spam.ham`` module is returned from :func:`__import__`. From " "this object, the names to import are retrieved and assigned to their " @@ -3722,7 +3731,7 @@ msgstr "" "Burada, ``spam.ham`` modülü :func:`__import__` 'dan döndürülür. Bu objeden, " "içeri aktarılacak isimler alınır ve sırasıyla adlarına atanır." -#: library/functions.rst:2054 +#: library/functions.rst:2075 msgid "" "If you simply want to import a module (potentially within a package) by " "name, use :func:`importlib.import_module`." @@ -3730,7 +3739,7 @@ msgstr "" "Eğer ismiyle bir modülü (potansiyel olarak bir paket içinde) içe aktarmak " "istiyorsanız, :func:`importlib.import_module` 'i kullanın." -#: library/functions.rst:2057 +#: library/functions.rst:2078 msgid "" "Negative values for *level* are no longer supported (which also changes the " "default value to 0)." @@ -3738,7 +3747,7 @@ msgstr "" "*level* için negatif değerler artık desteklenmiyor (bu, varsayılan değeri 0 " "olarak da değiştirir)." -#: library/functions.rst:2061 +#: library/functions.rst:2082 msgid "" "When the command line options :option:`-E` or :option:`-I` are being used, " "the environment variable :envvar:`PYTHONCASEOK` is now ignored." @@ -3746,11 +3755,11 @@ msgstr "" "Komut satırı opsiyonlarından :option:`-E` veya :option:`-I` kullanıldığında, " "ortam değişkeni :envvar:`PYTHONCASEOK` görmezden gelinir." -#: library/functions.rst:2066 +#: library/functions.rst:2087 msgid "Footnotes" msgstr "Dipnotlar" -#: library/functions.rst:2067 +#: library/functions.rst:2088 msgid "" "Note that the parser only accepts the Unix-style end of line convention. If " "you are reading the code from a file, make sure to use newline conversion " @@ -3761,120 +3770,143 @@ msgstr "" "satırları dönüştürmek için yeni satır dönüştürme modunu kullandığınızdan " "emin olun." -#: library/functions.rst:152 +#: library/functions.rst:153 msgid "Boolean" msgstr "" -#: library/functions.rst:1840 +#: library/functions.rst:1861 msgid "type" msgstr "" -#: library/functions.rst:572 +#: library/functions.rst:576 #, fuzzy msgid "built-in function" msgstr "Gömülü Fonksiyonlar" -#: library/functions.rst:572 +#: library/functions.rst:576 msgid "exec" msgstr "" -#: library/functions.rst:649 +#: library/functions.rst:653 msgid "NaN" msgstr "" -#: library/functions.rst:649 +#: library/functions.rst:653 msgid "Infinity" msgstr "" -#: library/functions.rst:714 +#: library/functions.rst:718 msgid "__format__" msgstr "" -#: library/functions.rst:1725 +#: library/functions.rst:1745 msgid "string" msgstr "" -#: library/functions.rst:714 +#: library/functions.rst:718 #, fuzzy msgid "format() (built-in function)" msgstr "Gömülü Fonksiyonlar" -#: library/functions.rst:1161 +#: library/functions.rst:1166 msgid "file object" msgstr "" -#: library/functions.rst:1282 +#: library/functions.rst:1287 #, fuzzy msgid "open() built-in function" msgstr "Gömülü Fonksiyonlar" -#: library/functions.rst:1189 +#: library/functions.rst:1194 msgid "file" msgstr "" -#: library/functions.rst:1189 +#: library/functions.rst:1194 msgid "modes" msgstr "" -#: library/functions.rst:1282 +#: library/functions.rst:1287 msgid "universal newlines" msgstr "" -#: library/functions.rst:1343 +#: library/functions.rst:1348 msgid "line-buffered I/O" msgstr "" -#: library/functions.rst:1343 +#: library/functions.rst:1348 msgid "unbuffered I/O" msgstr "" -#: library/functions.rst:1343 +#: library/functions.rst:1348 msgid "buffer size, I/O" msgstr "" -#: library/functions.rst:1343 +#: library/functions.rst:1348 msgid "I/O control" msgstr "" -#: library/functions.rst:1343 +#: library/functions.rst:1348 msgid "buffering" msgstr "" -#: library/functions.rst:1343 +#: library/functions.rst:1348 #, fuzzy msgid "text mode" msgstr "metin modu (varsayılan)" -#: library/functions.rst:1995 +#: library/functions.rst:2016 msgid "module" msgstr "" -#: library/functions.rst:1343 +#: library/functions.rst:1348 msgid "sys" msgstr "" -#: library/functions.rst:1725 +#: library/functions.rst:1745 #, fuzzy msgid "str() (built-in function)" msgstr "Gömülü Fonksiyonlar" -#: library/functions.rst:1840 +#: library/functions.rst:1861 #, fuzzy msgid "object" msgstr ":func:`object`" -#: library/functions.rst:1995 +#: library/functions.rst:2016 msgid "statement" msgstr "" -#: library/functions.rst:1995 +#: library/functions.rst:2016 msgid "import" msgstr "" -#: library/functions.rst:1995 +#: library/functions.rst:2016 msgid "builtins" msgstr "" +#~ msgid "" +#~ "Return a :term:`slice` object representing the set of indices specified " +#~ "by ``range(start, stop, step)``. The *start* and *step* arguments " +#~ "default to ``None``. Slice objects have read-only data attributes :attr:" +#~ "`~slice.start`, :attr:`~slice.stop`, and :attr:`~slice.step` which merely " +#~ "return the argument values (or their default). They have no other " +#~ "explicit functionality; however, they are used by NumPy and other third-" +#~ "party packages. Slice objects are also generated when extended indexing " +#~ "syntax is used. For example: ``a[start:stop:step]`` or ``a[start:stop, " +#~ "i]``. See :func:`itertools.islice` for an alternate version that returns " +#~ "an iterator." +#~ msgstr "" +#~ "``range(start, stop, step)`` tarafından belirtilen indekslerden oluşan " +#~ "kümeyi temsil eden bir :term:`slice` nesnesi döndürür. *start* ve *step* " +#~ "parametreleri varsayılan olarak ``None`` 'dır. Dilim nesneleri sadece " +#~ "parametre değerlerini (veya varsayılan değerleri) döndüren salt-okunur :" +#~ "attr:`~slice.start`, :attr:`~slice.stop`, ve :attr:`~slice.step` " +#~ "özelliklerine sahiptir. Başka belirgin işlevselliği olmasa da; NumPy ve " +#~ "diğer üçüncü parti paketler tarafından kullanılırlar. Dilim nesneleri, " +#~ "genişletilmiş indeksleme sözdizimi kullanıldığında da üretilirler. " +#~ "Örneğin: ``a[start:stop:step]`` veya ``a[start:stop, i]``. Yineleyici " +#~ "döndüren alternatif bir versiyon için :func:`itertools.islice` 'e bakınız." + #~ msgid "" #~ "Unlike the default behavior, it checks that the lengths of iterables are " #~ "identical, raising a :exc:`ValueError` if they aren't:" diff --git a/library/gettext.po b/library/gettext.po index f452f4760..e5842f1a6 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -310,8 +310,8 @@ msgstr "" #: library/gettext.rst:260 msgid "" -"Return the \"protected\" :attr:`_info` variable, a dictionary containing the " -"metadata found in the message catalog file." +"Return a dictionary containing the metadata found in the message catalog " +"file." msgstr "" #: library/gettext.rst:266 @@ -357,10 +357,10 @@ msgstr "" #: library/gettext.rst:299 msgid "" -"The :mod:`gettext` module provides one additional class derived from :class:" -"`NullTranslations`: :class:`GNUTranslations`. This class overrides :meth:" -"`_parse` to enable reading GNU :program:`gettext` format :file:`.mo` files " -"in both big-endian and little-endian format." +"The :mod:`!gettext` module provides one additional class derived from :class:" +"`NullTranslations`: :class:`GNUTranslations`. This class overrides :meth:`!" +"_parse` to enable reading GNU :program:`gettext` format :file:`.mo` files in " +"both big-endian and little-endian format." msgstr "" #: library/gettext.rst:304 @@ -370,7 +370,7 @@ msgid "" "the translation for the empty string. This metadata is in :rfc:`822`\\ -" "style ``key: value`` pairs, and should contain the ``Project-Id-Version`` " "key. If the key ``Content-Type`` is found, then the ``charset`` property is " -"used to initialize the \"protected\" :attr:`_charset` instance variable, " +"used to initialize the \"protected\" :attr:`!_charset` instance variable, " "defaulting to ``None`` if not found. If the charset encoding is specified, " "then all message ids and message strings read from the catalog are converted " "to Unicode using this encoding, else ASCII is assumed." @@ -385,7 +385,7 @@ msgstr "" #: library/gettext.rst:317 msgid "" "The entire set of key/value pairs are placed into a dictionary and set as " -"the \"protected\" :attr:`_info` instance variable." +"the \"protected\" :attr:`!_info` instance variable." msgstr "" #: library/gettext.rst:320 @@ -742,9 +742,9 @@ msgstr "" #: library/gettext.rst:639 msgid "" -"The default locale directory is system dependent; for example, on RedHat " +"The default locale directory is system dependent; for example, on Red Hat " "Linux it is :file:`/usr/share/locale`, but on Solaris it is :file:`/usr/lib/" -"locale`. The :mod:`gettext` module does not try to support these system " +"locale`. The :mod:`!gettext` module does not try to support these system " "dependent defaults; instead its default is :file:`{sys.base_prefix}/share/" "locale` (see :data:`sys.base_prefix`). For this reason, it is always best to " "call :func:`bindtextdomain` with an explicit absolute path at the start of " diff --git a/library/hmac.po b/library/hmac.po index fea332ebf..686663c3f 100644 --- a/library/hmac.po +++ b/library/hmac.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -44,14 +44,13 @@ msgid "" "name of a hash algorithm." msgstr "" -#: library/hmac.rst:33 +#: library/hmac.rst:30 msgid "" -"MD5 as implicit default digest for *digestmod* is deprecated. The digestmod " -"parameter is now required. Pass it as a keyword argument to avoid " -"awkwardness when you do not have an initial msg." +"The *digestmod* argument is now required. Pass it as a keyword argument to " +"avoid awkwardness when you do not have an initial *msg*." msgstr "" -#: library/hmac.rst:38 +#: library/hmac.rst:37 msgid "" "Return digest of *msg* for given secret *key* and *digest*. The function is " "equivalent to ``HMAC(key, msg, digest).digest()``, but uses an optimized C " @@ -60,29 +59,29 @@ msgid "" "`~hmac.new`." msgstr "" -#: library/hmac.rst:44 +#: library/hmac.rst:43 msgid "" "CPython implementation detail, the optimized C implementation is only used " "when *digest* is a string and name of a digest algorithm, which is supported " "by OpenSSL." msgstr "" -#: library/hmac.rst:51 +#: library/hmac.rst:50 msgid "An HMAC object has the following methods:" msgstr "" -#: library/hmac.rst:55 +#: library/hmac.rst:54 msgid "" "Update the hmac object with *msg*. Repeated calls are equivalent to a " "single call with the concatenation of all the arguments: ``m.update(a); m." "update(b)`` is equivalent to ``m.update(a + b)``." msgstr "" -#: library/hmac.rst:59 +#: library/hmac.rst:58 msgid "Parameter *msg* can be of any type supported by :mod:`hashlib`." msgstr "" -#: library/hmac.rst:65 +#: library/hmac.rst:64 msgid "" "Return the digest of the bytes passed to the :meth:`update` method so far. " "This bytes object will be the same length as the *digest_size* of the digest " @@ -90,7 +89,7 @@ msgid "" "bytes." msgstr "" -#: library/hmac.rst:72 +#: library/hmac.rst:71 msgid "" "When comparing the output of :meth:`digest` to an externally supplied digest " "during a verification routine, it is recommended to use the :func:" @@ -98,14 +97,14 @@ msgid "" "vulnerability to timing attacks." msgstr "" -#: library/hmac.rst:80 +#: library/hmac.rst:79 msgid "" "Like :meth:`digest` except the digest is returned as a string twice the " "length containing only hexadecimal digits. This may be used to exchange the " "value safely in email or other non-binary environments." msgstr "" -#: library/hmac.rst:86 +#: library/hmac.rst:85 msgid "" "When comparing the output of :meth:`hexdigest` to an externally supplied " "digest during a verification routine, it is recommended to use the :func:" @@ -113,41 +112,40 @@ msgid "" "vulnerability to timing attacks." msgstr "" -#: library/hmac.rst:94 +#: library/hmac.rst:93 msgid "" "Return a copy (\"clone\") of the hmac object. This can be used to " "efficiently compute the digests of strings that share a common initial " "substring." msgstr "" -#: library/hmac.rst:98 +#: library/hmac.rst:97 msgid "A hash object has the following attributes:" msgstr "" -#: library/hmac.rst:102 +#: library/hmac.rst:101 msgid "The size of the resulting HMAC digest in bytes." msgstr "" -#: library/hmac.rst:106 +#: library/hmac.rst:105 msgid "The internal block size of the hash algorithm in bytes." msgstr "" -#: library/hmac.rst:112 +#: library/hmac.rst:111 msgid "The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``." msgstr "" -#: library/hmac.rst:119 +#: library/hmac.rst:116 msgid "" -"The undocumented attributes ``HMAC.digest_cons``, ``HMAC.inner``, and ``HMAC." -"outer`` are internal implementation details and will be removed in Python " -"3.10." +"Removed the undocumented attributes ``HMAC.digest_cons``, ``HMAC.inner``, " +"and ``HMAC.outer``." msgstr "" -#: library/hmac.rst:123 +#: library/hmac.rst:120 msgid "This module also provides the following helper function:" msgstr "" -#: library/hmac.rst:127 +#: library/hmac.rst:124 msgid "" "Return ``a == b``. This function uses an approach designed to prevent " "timing analysis by avoiding content-based short circuiting behaviour, making " @@ -156,22 +154,22 @@ msgid "" "hexdigest`), or a :term:`bytes-like object`." msgstr "" -#: library/hmac.rst:135 +#: library/hmac.rst:132 msgid "" "If *a* and *b* are of different lengths, or if an error occurs, a timing " "attack could theoretically reveal information about the types and lengths of " "*a* and *b*—but not their values." msgstr "" -#: library/hmac.rst:143 +#: library/hmac.rst:140 msgid "" "The function uses OpenSSL's ``CRYPTO_memcmp()`` internally when available." msgstr "" -#: library/hmac.rst:149 +#: library/hmac.rst:146 msgid "Module :mod:`hashlib`" msgstr "" -#: library/hmac.rst:150 +#: library/hmac.rst:147 msgid "The Python module providing secure hash functions." msgstr "" diff --git a/library/http.cookies.po b/library/http.cookies.po index d12617b9b..136fc6b5a 100644 --- a/library/http.cookies.po +++ b/library/http.cookies.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -36,37 +36,37 @@ msgstr "" msgid "" "The module formerly strictly applied the parsing rules described in the :rfc:" "`2109` and :rfc:`2068` specifications. It has since been discovered that " -"MSIE 3.0x doesn't follow the character rules outlined in those specs and " -"also many current day browsers and servers have relaxed parsing rules when " -"comes to Cookie handling. As a result, the parsing rules used are a bit " -"less strict." +"MSIE 3.0x didn't follow the character rules outlined in those specs; many " +"current-day browsers and servers have also relaxed parsing rules when it " +"comes to cookie handling. As a result, this module now uses parsing rules " +"that are a bit less strict than they once were." msgstr "" -#: library/http.cookies.rst:25 +#: library/http.cookies.rst:26 msgid "" "The character set, :data:`string.ascii_letters`, :data:`string.digits` and " "``!#$%&'*+-.^_`|~:`` denote the set of valid characters allowed by this " -"module in Cookie name (as :attr:`~Morsel.key`)." +"module in a cookie name (as :attr:`~Morsel.key`)." msgstr "" -#: library/http.cookies.rst:29 -msgid "Allowed ':' as a valid Cookie name character." +#: library/http.cookies.rst:30 +msgid "Allowed ':' as a valid cookie name character." msgstr "" -#: library/http.cookies.rst:35 +#: library/http.cookies.rst:36 msgid "" "On encountering an invalid cookie, :exc:`CookieError` is raised, so if your " "cookie data comes from a browser you should always prepare for invalid data " "and catch :exc:`CookieError` on parsing." msgstr "" -#: library/http.cookies.rst:42 +#: library/http.cookies.rst:43 msgid "" "Exception failing because of :rfc:`2109` invalidity: incorrect attributes, " "incorrect :mailheader:`Set-Cookie` header, etc." msgstr "" -#: library/http.cookies.rst:48 +#: library/http.cookies.rst:49 msgid "" "This class is a dictionary-like object whose keys are strings and whose " "values are :class:`Morsel` instances. Note that upon setting a key to a " @@ -74,62 +74,62 @@ msgid "" "and the value." msgstr "" -#: library/http.cookies.rst:52 +#: library/http.cookies.rst:53 msgid "If *input* is given, it is passed to the :meth:`load` method." msgstr "" -#: library/http.cookies.rst:57 +#: library/http.cookies.rst:58 msgid "" -"This class derives from :class:`BaseCookie` and overrides :meth:" -"`value_decode` and :meth:`value_encode`. SimpleCookie supports strings as " -"cookie values. When setting the value, SimpleCookie calls the builtin :func:" -"`str()` to convert the value to a string. Values received from HTTP are kept " -"as strings." +"This class derives from :class:`BaseCookie` and overrides :meth:`~BaseCookie." +"value_decode` and :meth:`~BaseCookie.value_encode`. :class:`!SimpleCookie` " +"supports strings as cookie values. When setting the value, :class:`!" +"SimpleCookie` calls the builtin :func:`str` to convert the value to a " +"string. Values received from HTTP are kept as strings." msgstr "" -#: library/http.cookies.rst:66 +#: library/http.cookies.rst:68 msgid "Module :mod:`http.cookiejar`" msgstr "" -#: library/http.cookies.rst:65 +#: library/http.cookies.rst:67 msgid "" "HTTP cookie handling for web *clients*. The :mod:`http.cookiejar` and :mod:" "`http.cookies` modules do not depend on each other." msgstr "" -#: library/http.cookies.rst:68 +#: library/http.cookies.rst:70 msgid ":rfc:`2109` - HTTP State Management Mechanism" msgstr "" -#: library/http.cookies.rst:69 +#: library/http.cookies.rst:71 msgid "This is the state management specification implemented by this module." msgstr "" -#: library/http.cookies.rst:75 +#: library/http.cookies.rst:77 msgid "Cookie Objects" msgstr "" -#: library/http.cookies.rst:80 +#: library/http.cookies.rst:82 msgid "" "Return a tuple ``(real_value, coded_value)`` from a string representation. " "``real_value`` can be any type. This method does no decoding in :class:" "`BaseCookie` --- it exists so it can be overridden." msgstr "" -#: library/http.cookies.rst:87 +#: library/http.cookies.rst:89 msgid "" "Return a tuple ``(real_value, coded_value)``. *val* can be any type, but " "``coded_value`` will always be converted to a string. This method does no " "encoding in :class:`BaseCookie` --- it exists so it can be overridden." msgstr "" -#: library/http.cookies.rst:92 +#: library/http.cookies.rst:94 msgid "" "In general, it should be the case that :meth:`value_encode` and :meth:" "`value_decode` are inverses on the range of *value_decode*." msgstr "" -#: library/http.cookies.rst:98 +#: library/http.cookies.rst:100 msgid "" "Return a string representation suitable to be sent as HTTP headers. *attrs* " "and *header* are sent to each :class:`Morsel`'s :meth:`output` method. *sep* " @@ -137,128 +137,92 @@ msgid "" "``'\\r\\n'`` (CRLF)." msgstr "" -#: library/http.cookies.rst:106 +#: library/http.cookies.rst:108 msgid "" "Return an embeddable JavaScript snippet, which, if run on a browser which " "supports JavaScript, will act the same as if the HTTP headers was sent." msgstr "" -#: library/http.cookies.rst:205 library/http.cookies.rst:213 +#: library/http.cookies.rst:207 library/http.cookies.rst:215 msgid "The meaning for *attrs* is the same as in :meth:`output`." msgstr "" -#: library/http.cookies.rst:114 +#: library/http.cookies.rst:116 msgid "" "If *rawdata* is a string, parse it as an ``HTTP_COOKIE`` and add the values " "found there as :class:`Morsel`\\ s. If it is a dictionary, it is equivalent " "to::" msgstr "" -#: library/http.cookies.rst:124 +#: library/http.cookies.rst:126 msgid "Morsel Objects" msgstr "" -#: library/http.cookies.rst:129 +#: library/http.cookies.rst:131 msgid "Abstract a key/value pair, which has some :rfc:`2109` attributes." msgstr "" -#: library/http.cookies.rst:131 +#: library/http.cookies.rst:133 msgid "" "Morsels are dictionary-like objects, whose set of keys is constant --- the " -"valid :rfc:`2109` attributes, which are" -msgstr "" - -#: library/http.cookies.rst:134 -msgid "``expires``" -msgstr "" - -#: library/http.cookies.rst:135 -msgid "``path``" -msgstr "" - -#: library/http.cookies.rst:136 -msgid "``comment``" -msgstr "" - -#: library/http.cookies.rst:137 -msgid "``domain``" -msgstr "" - -#: library/http.cookies.rst:138 -msgid "``max-age``" +"valid :rfc:`2109` attributes, which are:" msgstr "" -#: library/http.cookies.rst:139 -msgid "``secure``" -msgstr "" - -#: library/http.cookies.rst:140 -msgid "``version``" -msgstr "" - -#: library/http.cookies.rst:141 -msgid "``httponly``" -msgstr "" - -#: library/http.cookies.rst:142 -msgid "``samesite``" -msgstr "" - -#: library/http.cookies.rst:144 +#: library/http.cookies.rst:146 msgid "" "The attribute :attr:`httponly` specifies that the cookie is only transferred " "in HTTP requests, and is not accessible through JavaScript. This is intended " "to mitigate some forms of cross-site scripting." msgstr "" -#: library/http.cookies.rst:148 +#: library/http.cookies.rst:150 msgid "" "The attribute :attr:`samesite` specifies that the browser is not allowed to " "send the cookie along with cross-site requests. This helps to mitigate CSRF " "attacks. Valid values for this attribute are \"Strict\" and \"Lax\"." msgstr "" -#: library/http.cookies.rst:152 +#: library/http.cookies.rst:154 msgid "The keys are case-insensitive and their default value is ``''``." msgstr "" -#: library/http.cookies.rst:154 +#: library/http.cookies.rst:156 msgid "" -":meth:`~Morsel.__eq__` now takes :attr:`~Morsel.key` and :attr:`~Morsel." -"value` into account." +":meth:`!__eq__` now takes :attr:`~Morsel.key` and :attr:`~Morsel.value` into " +"account." msgstr "" -#: library/http.cookies.rst:158 +#: library/http.cookies.rst:160 msgid "" "Attributes :attr:`~Morsel.key`, :attr:`~Morsel.value` and :attr:`~Morsel." "coded_value` are read-only. Use :meth:`~Morsel.set` for setting them." msgstr "" -#: library/http.cookies.rst:163 +#: library/http.cookies.rst:165 msgid "Added support for the :attr:`samesite` attribute." msgstr "" -#: library/http.cookies.rst:169 +#: library/http.cookies.rst:171 msgid "The value of the cookie." msgstr "" -#: library/http.cookies.rst:174 +#: library/http.cookies.rst:176 msgid "The encoded value of the cookie --- this is what should be sent." msgstr "" -#: library/http.cookies.rst:179 +#: library/http.cookies.rst:181 msgid "The name of the cookie." msgstr "" -#: library/http.cookies.rst:184 +#: library/http.cookies.rst:186 msgid "Set the *key*, *value* and *coded_value* attributes." msgstr "" -#: library/http.cookies.rst:189 +#: library/http.cookies.rst:191 msgid "Whether *K* is a member of the set of keys of a :class:`Morsel`." msgstr "" -#: library/http.cookies.rst:194 +#: library/http.cookies.rst:196 msgid "" "Return a string representation of the Morsel, suitable to be sent as an HTTP " "header. By default, all the attributes are included, unless *attrs* is " @@ -266,48 +230,48 @@ msgid "" "by default ``\"Set-Cookie:\"``." msgstr "" -#: library/http.cookies.rst:202 +#: library/http.cookies.rst:204 msgid "" "Return an embeddable JavaScript snippet, which, if run on a browser which " "supports JavaScript, will act the same as if the HTTP header was sent." msgstr "" -#: library/http.cookies.rst:210 +#: library/http.cookies.rst:212 msgid "" "Return a string representing the Morsel, without any surrounding HTTP or " "JavaScript." msgstr "" -#: library/http.cookies.rst:218 +#: library/http.cookies.rst:220 msgid "" "Update the values in the Morsel dictionary with the values in the dictionary " "*values*. Raise an error if any of the keys in the *values* dict is not a " "valid :rfc:`2109` attribute." msgstr "" -#: library/http.cookies.rst:222 +#: library/http.cookies.rst:224 msgid "an error is raised for invalid keys." msgstr "" -#: library/http.cookies.rst:228 +#: library/http.cookies.rst:230 msgid "Return a shallow copy of the Morsel object." msgstr "" -#: library/http.cookies.rst:230 +#: library/http.cookies.rst:232 msgid "return a Morsel object instead of a dict." msgstr "" -#: library/http.cookies.rst:236 +#: library/http.cookies.rst:238 msgid "" "Raise an error if key is not a valid :rfc:`2109` attribute, otherwise behave " "the same as :meth:`dict.setdefault`." msgstr "" -#: library/http.cookies.rst:243 +#: library/http.cookies.rst:245 msgid "Example" msgstr "" -#: library/http.cookies.rst:245 +#: library/http.cookies.rst:247 msgid "" "The following example demonstrates how to use the :mod:`http.cookies` module." msgstr "" diff --git a/library/http.server.po b/library/http.server.po index 7301d1941..8d78a8f40 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-10-01 00:18+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -88,10 +88,10 @@ msgstr "" msgid "" "The handler will parse the request and the headers, then call a method " "specific to the request type. The method name is constructed from the " -"request. For example, for the request method ``SPAM``, the :meth:`do_SPAM` " +"request. For example, for the request method ``SPAM``, the :meth:`!do_SPAM` " "method will be called with no arguments. All of the relevant information is " "stored in instance variables of the handler. Subclasses should not need to " -"override or extend the :meth:`__init__` method." +"override or extend the :meth:`!__init__` method." msgstr "" #: library/http.server.rst:73 @@ -232,13 +232,13 @@ msgstr "" msgid "" "Calls :meth:`handle_one_request` once (or, if persistent connections are " "enabled, multiple times) to handle incoming HTTP requests. You should never " -"need to override it; instead, implement appropriate :meth:`do_\\*` methods." +"need to override it; instead, implement appropriate :meth:`!do_\\*` methods." msgstr "" #: library/http.server.rst:195 msgid "" -"This method will parse and dispatch the request to the appropriate :meth:" -"`do_\\*` method. You should never need to override it." +"This method will parse and dispatch the request to the appropriate :meth:`!" +"do_\\*` method. You should never need to override it." msgstr "" #: library/http.server.rst:200 diff --git a/library/inspect.po b/library/inspect.po index 27becbb04..b9a874f42 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -20,11 +20,11 @@ msgstr "" msgid ":mod:`inspect` --- Inspect live objects" msgstr "" -#: library/inspect.rst:10 +#: library/inspect.rst:15 msgid "**Source code:** :source:`Lib/inspect.py`" msgstr "" -#: library/inspect.rst:14 +#: library/inspect.rst:19 msgid "" "The :mod:`inspect` module provides several useful functions to help get " "information about live objects such as modules, classes, methods, functions, " @@ -34,18 +34,18 @@ msgid "" "information you need to display a detailed traceback." msgstr "" -#: library/inspect.rst:21 +#: library/inspect.rst:26 msgid "" "There are four main kinds of services provided by this module: type " "checking, getting source code, inspecting classes and functions, and " "examining the interpreter stack." msgstr "" -#: library/inspect.rst:29 +#: library/inspect.rst:34 msgid "Types and members" msgstr "" -#: library/inspect.rst:31 +#: library/inspect.rst:36 msgid "" "The :func:`getmembers` function retrieves the members of an object such as a " "class or module. The functions whose names begin with \"is\" are mainly " @@ -55,482 +55,482 @@ msgid "" "attributes):" msgstr "" -#: library/inspect.rst:41 +#: library/inspect.rst:46 msgid "Type" msgstr "" -#: library/inspect.rst:41 +#: library/inspect.rst:46 msgid "Attribute" msgstr "" -#: library/inspect.rst:41 +#: library/inspect.rst:46 msgid "Description" msgstr "" -#: library/inspect.rst:43 +#: library/inspect.rst:48 msgid "class" msgstr "" -#: library/inspect.rst:53 library/inspect.rst:233 +#: library/inspect.rst:58 library/inspect.rst:238 msgid "__doc__" msgstr "" -#: library/inspect.rst:53 library/inspect.rst:233 +#: library/inspect.rst:58 library/inspect.rst:238 msgid "documentation string" msgstr "" -#: library/inspect.rst:55 library/inspect.rst:202 library/inspect.rst:235 +#: library/inspect.rst:60 library/inspect.rst:207 library/inspect.rst:240 msgid "__name__" msgstr "" -#: library/inspect.rst:45 +#: library/inspect.rst:50 msgid "name with which this class was defined" msgstr "" -#: library/inspect.rst:58 library/inspect.rst:204 library/inspect.rst:238 +#: library/inspect.rst:63 library/inspect.rst:209 library/inspect.rst:243 msgid "__qualname__" msgstr "" -#: library/inspect.rst:58 library/inspect.rst:204 library/inspect.rst:238 +#: library/inspect.rst:63 library/inspect.rst:209 library/inspect.rst:243 msgid "qualified name" msgstr "" -#: library/inspect.rst:68 library/inspect.rst:101 +#: library/inspect.rst:73 library/inspect.rst:106 msgid "__module__" msgstr "" -#: library/inspect.rst:50 +#: library/inspect.rst:55 msgid "name of module in which this class was defined" msgstr "" -#: library/inspect.rst:53 +#: library/inspect.rst:58 msgid "method" msgstr "" -#: library/inspect.rst:55 +#: library/inspect.rst:60 msgid "name with which this method was defined" msgstr "" -#: library/inspect.rst:60 +#: library/inspect.rst:65 msgid "__func__" msgstr "" -#: library/inspect.rst:60 +#: library/inspect.rst:65 msgid "function object containing implementation of method" msgstr "" -#: library/inspect.rst:240 +#: library/inspect.rst:245 msgid "__self__" msgstr "" -#: library/inspect.rst:64 +#: library/inspect.rst:69 msgid "instance to which this method is bound, or ``None``" msgstr "" -#: library/inspect.rst:68 +#: library/inspect.rst:73 msgid "name of module in which this method was defined" msgstr "" -#: library/inspect.rst:71 +#: library/inspect.rst:76 msgid "function" msgstr "" -#: library/inspect.rst:73 +#: library/inspect.rst:78 msgid "name with which this function was defined" msgstr "" -#: library/inspect.rst:78 +#: library/inspect.rst:83 msgid "__code__" msgstr "" -#: library/inspect.rst:78 +#: library/inspect.rst:83 msgid "code object containing compiled function :term:`bytecode`" msgstr "" -#: library/inspect.rst:82 +#: library/inspect.rst:87 msgid "__defaults__" msgstr "" -#: library/inspect.rst:82 +#: library/inspect.rst:87 msgid "tuple of any default values for positional or keyword parameters" msgstr "" -#: library/inspect.rst:86 +#: library/inspect.rst:91 msgid "__kwdefaults__" msgstr "" -#: library/inspect.rst:86 +#: library/inspect.rst:91 msgid "mapping of any default values for keyword-only parameters" msgstr "" -#: library/inspect.rst:90 +#: library/inspect.rst:95 msgid "__globals__" msgstr "" -#: library/inspect.rst:90 +#: library/inspect.rst:95 msgid "global namespace in which this function was defined" msgstr "" -#: library/inspect.rst:93 +#: library/inspect.rst:98 msgid "__builtins__" msgstr "" -#: library/inspect.rst:93 +#: library/inspect.rst:98 msgid "builtins namespace" msgstr "" -#: library/inspect.rst:95 +#: library/inspect.rst:100 msgid "__annotations__" msgstr "" -#: library/inspect.rst:95 +#: library/inspect.rst:100 msgid "" "mapping of parameters names to annotations; ``\"return\"`` key is reserved " "for return annotations." msgstr "" -#: library/inspect.rst:101 +#: library/inspect.rst:106 msgid "name of module in which this function was defined" msgstr "" -#: library/inspect.rst:104 +#: library/inspect.rst:109 msgid "traceback" msgstr "" -#: library/inspect.rst:104 +#: library/inspect.rst:109 msgid "tb_frame" msgstr "" -#: library/inspect.rst:104 +#: library/inspect.rst:109 msgid "frame object at this level" msgstr "" -#: library/inspect.rst:107 +#: library/inspect.rst:112 msgid "tb_lasti" msgstr "" -#: library/inspect.rst:129 +#: library/inspect.rst:134 msgid "index of last attempted instruction in bytecode" msgstr "" -#: library/inspect.rst:110 +#: library/inspect.rst:115 msgid "tb_lineno" msgstr "" -#: library/inspect.rst:132 +#: library/inspect.rst:137 msgid "current line number in Python source code" msgstr "" -#: library/inspect.rst:113 +#: library/inspect.rst:118 msgid "tb_next" msgstr "" -#: library/inspect.rst:113 +#: library/inspect.rst:118 msgid "next inner traceback object (called by this level)" msgstr "" -#: library/inspect.rst:206 library/inspect.rst:223 +#: library/inspect.rst:211 library/inspect.rst:228 msgid "frame" msgstr "" -#: library/inspect.rst:117 +#: library/inspect.rst:122 msgid "f_back" msgstr "" -#: library/inspect.rst:117 +#: library/inspect.rst:122 msgid "next outer frame object (this frame's caller)" msgstr "" -#: library/inspect.rst:120 +#: library/inspect.rst:125 msgid "f_builtins" msgstr "" -#: library/inspect.rst:120 +#: library/inspect.rst:125 msgid "builtins namespace seen by this frame" msgstr "" -#: library/inspect.rst:123 +#: library/inspect.rst:128 msgid "f_code" msgstr "" -#: library/inspect.rst:123 +#: library/inspect.rst:128 msgid "code object being executed in this frame" msgstr "" -#: library/inspect.rst:126 +#: library/inspect.rst:131 msgid "f_globals" msgstr "" -#: library/inspect.rst:126 +#: library/inspect.rst:131 msgid "global namespace seen by this frame" msgstr "" -#: library/inspect.rst:129 +#: library/inspect.rst:134 msgid "f_lasti" msgstr "" -#: library/inspect.rst:132 +#: library/inspect.rst:137 msgid "f_lineno" msgstr "" -#: library/inspect.rst:135 +#: library/inspect.rst:140 msgid "f_locals" msgstr "" -#: library/inspect.rst:135 +#: library/inspect.rst:140 msgid "local namespace seen by this frame" msgstr "" -#: library/inspect.rst:138 +#: library/inspect.rst:143 msgid "f_trace" msgstr "" -#: library/inspect.rst:138 +#: library/inspect.rst:143 msgid "tracing function for this frame, or ``None``" msgstr "" -#: library/inspect.rst:210 library/inspect.rst:227 +#: library/inspect.rst:215 library/inspect.rst:232 msgid "code" msgstr "" -#: library/inspect.rst:141 +#: library/inspect.rst:146 msgid "co_argcount" msgstr "" -#: library/inspect.rst:141 +#: library/inspect.rst:146 msgid "" "number of arguments (not including keyword only arguments, \\* or \\*\\* " "args)" msgstr "" -#: library/inspect.rst:146 +#: library/inspect.rst:151 msgid "co_code" msgstr "" -#: library/inspect.rst:146 +#: library/inspect.rst:151 msgid "string of raw compiled bytecode" msgstr "" -#: library/inspect.rst:149 +#: library/inspect.rst:154 msgid "co_cellvars" msgstr "" -#: library/inspect.rst:149 +#: library/inspect.rst:154 msgid "tuple of names of cell variables (referenced by containing scopes)" msgstr "" -#: library/inspect.rst:153 +#: library/inspect.rst:158 msgid "co_consts" msgstr "" -#: library/inspect.rst:153 +#: library/inspect.rst:158 msgid "tuple of constants used in the bytecode" msgstr "" -#: library/inspect.rst:156 +#: library/inspect.rst:161 msgid "co_filename" msgstr "" -#: library/inspect.rst:156 +#: library/inspect.rst:161 msgid "name of file in which this code object was created" msgstr "" -#: library/inspect.rst:160 +#: library/inspect.rst:165 msgid "co_firstlineno" msgstr "" -#: library/inspect.rst:160 +#: library/inspect.rst:165 msgid "number of first line in Python source code" msgstr "" -#: library/inspect.rst:163 +#: library/inspect.rst:168 msgid "co_flags" msgstr "" -#: library/inspect.rst:163 +#: library/inspect.rst:168 msgid "" "bitmap of ``CO_*`` flags, read more :ref:`here `" msgstr "" -#: library/inspect.rst:167 +#: library/inspect.rst:172 msgid "co_lnotab" msgstr "" -#: library/inspect.rst:167 +#: library/inspect.rst:172 msgid "encoded mapping of line numbers to bytecode indices" msgstr "" -#: library/inspect.rst:171 +#: library/inspect.rst:176 msgid "co_freevars" msgstr "" -#: library/inspect.rst:171 +#: library/inspect.rst:176 msgid "tuple of names of free variables (referenced via a function's closure)" msgstr "" -#: library/inspect.rst:175 +#: library/inspect.rst:180 msgid "co_posonlyargcount" msgstr "" -#: library/inspect.rst:175 +#: library/inspect.rst:180 msgid "number of positional only arguments" msgstr "" -#: library/inspect.rst:178 +#: library/inspect.rst:183 msgid "co_kwonlyargcount" msgstr "" -#: library/inspect.rst:178 +#: library/inspect.rst:183 msgid "number of keyword only arguments (not including \\*\\* arg)" msgstr "" -#: library/inspect.rst:182 +#: library/inspect.rst:187 msgid "co_name" msgstr "" -#: library/inspect.rst:182 +#: library/inspect.rst:187 msgid "name with which this code object was defined" msgstr "" -#: library/inspect.rst:185 +#: library/inspect.rst:190 msgid "co_qualname" msgstr "" -#: library/inspect.rst:185 +#: library/inspect.rst:190 msgid "fully qualified name with which this code object was defined" msgstr "" -#: library/inspect.rst:189 +#: library/inspect.rst:194 msgid "co_names" msgstr "" -#: library/inspect.rst:189 +#: library/inspect.rst:194 msgid "tuple of names other than arguments and function locals" msgstr "" -#: library/inspect.rst:193 +#: library/inspect.rst:198 msgid "co_nlocals" msgstr "" -#: library/inspect.rst:193 +#: library/inspect.rst:198 msgid "number of local variables" msgstr "" -#: library/inspect.rst:195 +#: library/inspect.rst:200 msgid "co_stacksize" msgstr "" -#: library/inspect.rst:195 +#: library/inspect.rst:200 msgid "virtual machine stack space required" msgstr "" -#: library/inspect.rst:198 +#: library/inspect.rst:203 msgid "co_varnames" msgstr "" -#: library/inspect.rst:198 +#: library/inspect.rst:203 msgid "tuple of names of arguments and local variables" msgstr "" -#: library/inspect.rst:202 +#: library/inspect.rst:207 msgid "generator" msgstr "" -#: library/inspect.rst:216 +#: library/inspect.rst:221 msgid "name" msgstr "" -#: library/inspect.rst:206 +#: library/inspect.rst:211 msgid "gi_frame" msgstr "" -#: library/inspect.rst:208 +#: library/inspect.rst:213 msgid "gi_running" msgstr "" -#: library/inspect.rst:208 +#: library/inspect.rst:213 msgid "is the generator running?" msgstr "" -#: library/inspect.rst:210 +#: library/inspect.rst:215 msgid "gi_code" msgstr "" -#: library/inspect.rst:212 +#: library/inspect.rst:217 msgid "gi_yieldfrom" msgstr "" -#: library/inspect.rst:212 +#: library/inspect.rst:217 msgid "object being iterated by ``yield from``, or ``None``" msgstr "" -#: library/inspect.rst:216 +#: library/inspect.rst:221 msgid "coroutine" msgstr "" -#: library/inspect.rst:220 +#: library/inspect.rst:225 msgid "cr_await" msgstr "" -#: library/inspect.rst:220 +#: library/inspect.rst:225 msgid "object being awaited on, or ``None``" msgstr "" -#: library/inspect.rst:223 +#: library/inspect.rst:228 msgid "cr_frame" msgstr "" -#: library/inspect.rst:225 +#: library/inspect.rst:230 msgid "cr_running" msgstr "" -#: library/inspect.rst:225 +#: library/inspect.rst:230 msgid "is the coroutine running?" msgstr "" -#: library/inspect.rst:227 +#: library/inspect.rst:232 msgid "cr_code" msgstr "" -#: library/inspect.rst:229 +#: library/inspect.rst:234 msgid "cr_origin" msgstr "" -#: library/inspect.rst:229 +#: library/inspect.rst:234 msgid "where coroutine was created, or ``None``. See |coroutine-origin-link|" msgstr "" -#: library/inspect.rst:233 +#: library/inspect.rst:238 msgid "builtin" msgstr "" -#: library/inspect.rst:235 +#: library/inspect.rst:240 msgid "original name of this function or method" msgstr "" -#: library/inspect.rst:240 +#: library/inspect.rst:245 msgid "instance to which a method is bound, or ``None``" msgstr "" -#: library/inspect.rst:247 +#: library/inspect.rst:252 msgid "Add ``__qualname__`` and ``gi_yieldfrom`` attributes to generators." msgstr "" -#: library/inspect.rst:249 +#: library/inspect.rst:254 msgid "" "The ``__name__`` attribute of generators is now set from the function name, " "instead of the code name, and it can now be modified." msgstr "" -#: library/inspect.rst:254 +#: library/inspect.rst:259 msgid "Add ``cr_origin`` attribute to coroutines." msgstr "" -#: library/inspect.rst:258 +#: library/inspect.rst:263 msgid "Add ``__builtins__`` attribute to functions." msgstr "" -#: library/inspect.rst:262 +#: library/inspect.rst:267 msgid "" "Return all the members of an object in a list of ``(name, value)`` pairs " "sorted by name. If the optional *predicate* argument—which will be called " @@ -538,14 +538,14 @@ msgid "" "the predicate returns a true value are included." msgstr "" -#: library/inspect.rst:269 +#: library/inspect.rst:274 msgid "" ":func:`getmembers` will only return class attributes defined in the " "metaclass when the argument is a class and those attributes have been listed " -"in the metaclass' custom :meth:`__dir__`." +"in the metaclass' custom :meth:`~object.__dir__`." msgstr "" -#: library/inspect.rst:276 +#: library/inspect.rst:281 msgid "" "Return all the members of an object in a list of ``(name, value)`` pairs " "sorted by name without triggering dynamic lookup via the descriptor " @@ -553,7 +553,7 @@ msgid "" "that satisfy a given predicate." msgstr "" -#: library/inspect.rst:283 +#: library/inspect.rst:288 msgid "" ":func:`getmembers_static` may not be able to retrieve all members that " "getmembers can fetch (like dynamically created attributes) and may find " @@ -562,7 +562,7 @@ msgid "" "cases." msgstr "" -#: library/inspect.rst:294 +#: library/inspect.rst:299 msgid "" "Return the name of the module named by the file *path*, without including " "the names of enclosing packages. The file extension is checked against all " @@ -571,52 +571,52 @@ msgid "" "``None`` is returned." msgstr "" -#: library/inspect.rst:300 +#: library/inspect.rst:305 msgid "" "Note that this function *only* returns a meaningful name for actual Python " "modules - paths that potentially refer to Python packages will still return " "``None``." msgstr "" -#: library/inspect.rst:304 +#: library/inspect.rst:309 msgid "The function is based directly on :mod:`importlib`." msgstr "" -#: library/inspect.rst:310 +#: library/inspect.rst:315 msgid "Return ``True`` if the object is a module." msgstr "" -#: library/inspect.rst:315 +#: library/inspect.rst:320 msgid "" "Return ``True`` if the object is a class, whether built-in or created in " "Python code." msgstr "" -#: library/inspect.rst:321 +#: library/inspect.rst:326 msgid "Return ``True`` if the object is a bound method written in Python." msgstr "" -#: library/inspect.rst:326 +#: library/inspect.rst:331 msgid "" "Return ``True`` if the object is a Python function, which includes functions " "created by a :term:`lambda` expression." msgstr "" -#: library/inspect.rst:332 +#: library/inspect.rst:337 msgid "Return ``True`` if the object is a Python generator function." msgstr "" -#: library/inspect.rst:334 +#: library/inspect.rst:339 msgid "" "Functions wrapped in :func:`functools.partial` now return ``True`` if the " "wrapped function is a Python generator function." msgstr "" -#: library/inspect.rst:341 +#: library/inspect.rst:346 msgid "Return ``True`` if the object is a generator." msgstr "" -#: library/inspect.rst:346 +#: library/inspect.rst:351 msgid "" "Return ``True`` if the object is a :term:`coroutine function` (a function " "defined with an :keyword:`async def` syntax), a :func:`functools.partial` " @@ -624,175 +624,175 @@ msgid "" "`markcoroutinefunction`." msgstr "" -#: library/inspect.rst:353 +#: library/inspect.rst:358 msgid "" "Functions wrapped in :func:`functools.partial` now return ``True`` if the " "wrapped function is a :term:`coroutine function`." msgstr "" -#: library/inspect.rst:357 +#: library/inspect.rst:362 msgid "" "Sync functions marked with :func:`markcoroutinefunction` now return ``True``." msgstr "" -#: library/inspect.rst:364 +#: library/inspect.rst:369 msgid "" "Decorator to mark a callable as a :term:`coroutine function` if it would not " "otherwise be detected by :func:`iscoroutinefunction`." msgstr "" -#: library/inspect.rst:367 +#: library/inspect.rst:372 msgid "" "This may be of use for sync functions that return a :term:`coroutine`, if " "the function is passed to an API that requires :func:`iscoroutinefunction`." msgstr "" -#: library/inspect.rst:370 +#: library/inspect.rst:375 msgid "" "When possible, using an :keyword:`async def` function is preferred. Also " "acceptable is calling the function and testing the return with :func:" "`iscoroutine`." msgstr "" -#: library/inspect.rst:379 +#: library/inspect.rst:384 msgid "" "Return ``True`` if the object is a :term:`coroutine` created by an :keyword:" "`async def` function." msgstr "" -#: library/inspect.rst:387 +#: library/inspect.rst:392 msgid "" "Return ``True`` if the object can be used in :keyword:`await` expression." msgstr "" -#: library/inspect.rst:389 +#: library/inspect.rst:394 msgid "" "Can also be used to distinguish generator-based coroutines from regular " -"generators::" +"generators:" msgstr "" -#: library/inspect.rst:406 +#: library/inspect.rst:415 msgid "" "Return ``True`` if the object is an :term:`asynchronous generator` function, " -"for example::" +"for example:" msgstr "" -#: library/inspect.rst:417 +#: library/inspect.rst:428 msgid "" "Functions wrapped in :func:`functools.partial` now return ``True`` if the " "wrapped function is a :term:`asynchronous generator` function." msgstr "" -#: library/inspect.rst:424 +#: library/inspect.rst:435 msgid "" "Return ``True`` if the object is an :term:`asynchronous generator iterator` " "created by an :term:`asynchronous generator` function." msgstr "" -#: library/inspect.rst:431 +#: library/inspect.rst:442 msgid "Return ``True`` if the object is a traceback." msgstr "" -#: library/inspect.rst:436 +#: library/inspect.rst:447 msgid "Return ``True`` if the object is a frame." msgstr "" -#: library/inspect.rst:441 +#: library/inspect.rst:452 msgid "Return ``True`` if the object is a code." msgstr "" -#: library/inspect.rst:446 +#: library/inspect.rst:457 msgid "" "Return ``True`` if the object is a built-in function or a bound built-in " "method." msgstr "" -#: library/inspect.rst:451 +#: library/inspect.rst:462 msgid "" "Return ``True`` if the type of object is a :class:`~types.MethodWrapperType`." msgstr "" -#: library/inspect.rst:453 +#: library/inspect.rst:464 msgid "" "These are instances of :class:`~types.MethodWrapperType`, such as :meth:" "`~object.__str__`, :meth:`~object.__eq__` and :meth:`~object.__repr__`." msgstr "" -#: library/inspect.rst:461 +#: library/inspect.rst:472 msgid "" "Return ``True`` if the object is a user-defined or built-in function or " "method." msgstr "" -#: library/inspect.rst:466 +#: library/inspect.rst:477 msgid "Return ``True`` if the object is an abstract base class." msgstr "" -#: library/inspect.rst:471 +#: library/inspect.rst:482 msgid "" "Return ``True`` if the object is a method descriptor, but not if :func:" "`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin` are " "true." msgstr "" -#: library/inspect.rst:475 +#: library/inspect.rst:486 msgid "" "This, for example, is true of ``int.__add__``. An object passing this test " "has a :meth:`~object.__get__` method but not a :meth:`~object.__set__` " "method, but beyond that the set of attributes varies. A :attr:`~definition." -"__name__` attribute is usually sensible, and :attr:`__doc__` often is." +"__name__` attribute is usually sensible, and :attr:`!__doc__` often is." msgstr "" -#: library/inspect.rst:481 +#: library/inspect.rst:492 msgid "" "Methods implemented via descriptors that also pass one of the other tests " "return ``False`` from the :func:`ismethoddescriptor` test, simply because " "the other tests promise more -- you can, e.g., count on having the :attr:" -"`__func__` attribute (etc) when an object passes :func:`ismethod`." +"`~method.__func__` attribute (etc) when an object passes :func:`ismethod`." msgstr "" -#: library/inspect.rst:489 +#: library/inspect.rst:501 msgid "Return ``True`` if the object is a data descriptor." msgstr "" -#: library/inspect.rst:491 +#: library/inspect.rst:503 msgid "" "Data descriptors have a :attr:`~object.__set__` or a :attr:`~object." "__delete__` method. Examples are properties (defined in Python), getsets, " "and members. The latter two are defined in C and there are more specific " "tests available for those types, which is robust across Python " "implementations. Typically, data descriptors will also have :attr:" -"`~definition.__name__` and :attr:`__doc__` attributes (properties, getsets, " +"`~definition.__name__` and :attr:`!__doc__` attributes (properties, getsets, " "and members have both of these attributes), but this is not guaranteed." msgstr "" -#: library/inspect.rst:502 +#: library/inspect.rst:514 msgid "Return ``True`` if the object is a getset descriptor." msgstr "" -#: library/inspect.rst:506 +#: library/inspect.rst:518 msgid "" "getsets are attributes defined in extension modules via :c:type:" "`PyGetSetDef` structures. For Python implementations without such types, " "this method will always return ``False``." msgstr "" -#: library/inspect.rst:513 +#: library/inspect.rst:525 msgid "Return ``True`` if the object is a member descriptor." msgstr "" -#: library/inspect.rst:517 +#: library/inspect.rst:529 msgid "" "Member descriptors are attributes defined in extension modules via :c:type:" "`PyMemberDef` structures. For Python implementations without such types, " "this method will always return ``False``." msgstr "" -#: library/inspect.rst:525 +#: library/inspect.rst:537 msgid "Retrieving source code" msgstr "" -#: library/inspect.rst:529 +#: library/inspect.rst:541 msgid "" "Get the documentation string for an object, cleaned up with :func:" "`cleandoc`. If the documentation string for an object is not provided and " @@ -801,11 +801,11 @@ msgid "" "documentation string is invalid or missing." msgstr "" -#: library/inspect.rst:535 +#: library/inspect.rst:547 msgid "Documentation strings are now inherited if not overridden." msgstr "" -#: library/inspect.rst:541 +#: library/inspect.rst:553 msgid "" "Return in a single string any lines of comments immediately preceding the " "object's source code (for a class, function, or method), or at the top of " @@ -814,27 +814,27 @@ msgid "" "been defined in C or the interactive shell." msgstr "" -#: library/inspect.rst:550 +#: library/inspect.rst:562 msgid "" "Return the name of the (text or binary) file in which an object was defined. " "This will fail with a :exc:`TypeError` if the object is a built-in module, " "class, or function." msgstr "" -#: library/inspect.rst:557 +#: library/inspect.rst:569 msgid "" "Try to guess which module an object was defined in. Return ``None`` if the " "module cannot be determined." msgstr "" -#: library/inspect.rst:563 +#: library/inspect.rst:575 msgid "" "Return the name of the Python source file in which an object was defined or " "``None`` if no way can be identified to get the source. This will fail with " "a :exc:`TypeError` if the object is a built-in module, class, or function." msgstr "" -#: library/inspect.rst:571 +#: library/inspect.rst:583 msgid "" "Return a list of source lines and starting line number for an object. The " "argument may be a module, class, method, function, traceback, frame, or code " @@ -845,13 +845,13 @@ msgid "" "built-in module, class, or function." msgstr "" -#: library/inspect.rst:594 +#: library/inspect.rst:606 msgid "" ":exc:`OSError` is raised instead of :exc:`IOError`, now an alias of the " "former." msgstr "" -#: library/inspect.rst:587 +#: library/inspect.rst:599 msgid "" "Return the text of the source code for an object. The argument may be a " "module, class, method, function, traceback, frame, or code object. The " @@ -860,13 +860,13 @@ msgid "" "object is a built-in module, class, or function." msgstr "" -#: library/inspect.rst:601 +#: library/inspect.rst:613 msgid "" "Clean up indentation from docstrings that are indented to line up with " "blocks of code." msgstr "" -#: library/inspect.rst:604 +#: library/inspect.rst:616 msgid "" "All leading whitespace is removed from the first line. Any leading " "whitespace that can be uniformly removed from the second line onwards is " @@ -874,86 +874,85 @@ msgid "" "Also, all tabs are expanded to spaces." msgstr "" -#: library/inspect.rst:613 +#: library/inspect.rst:625 msgid "Introspecting callables with the Signature object" msgstr "" -#: library/inspect.rst:617 +#: library/inspect.rst:629 msgid "" -"The Signature object represents the call signature of a callable object and " -"its return annotation. To retrieve a Signature object, use the :func:" -"`signature` function." +"The :class:`Signature` object represents the call signature of a callable " +"object and its return annotation. To retrieve a :class:`!Signature` object, " +"use the :func:`!signature` function." msgstr "" -#: library/inspect.rst:623 -msgid "Return a :class:`Signature` object for the given ``callable``::" +#: library/inspect.rst:636 +msgid "Return a :class:`Signature` object for the given *callable*:" msgstr "" -#: library/inspect.rst:640 +#: library/inspect.rst:655 msgid "" "Accepts a wide range of Python callables, from plain functions and classes " "to :func:`functools.partial` objects." msgstr "" -#: library/inspect.rst:643 +#: library/inspect.rst:658 msgid "" "If the passed object has a ``__signature__`` attribute, this function " "returns it without further computations." msgstr "" -#: library/inspect.rst:646 +#: library/inspect.rst:661 msgid "" "For objects defined in modules using stringized annotations (``from " "__future__ import annotations``), :func:`signature` will attempt to " -"automatically un-stringize the annotations using :func:`inspect." -"get_annotations()`. The ``global``, ``locals``, and ``eval_str`` parameters " -"are passed into :func:`inspect.get_annotations()` when resolving the " -"annotations; see the documentation for :func:`inspect.get_annotations()` for " -"instructions on how to use these parameters." +"automatically un-stringize the annotations using :func:`get_annotations`. " +"The *globals*, *locals*, and *eval_str* parameters are passed into :func:" +"`get_annotations` when resolving the annotations; see the documentation for :" +"func:`get_annotations` for instructions on how to use these parameters." msgstr "" -#: library/inspect.rst:655 +#: library/inspect.rst:670 msgid "" "Raises :exc:`ValueError` if no signature can be provided, and :exc:" "`TypeError` if that type of object is not supported. Also, if the " -"annotations are stringized, and ``eval_str`` is not false, the ``eval()`` " -"call(s) to un-stringize the annotations could potentially raise any kind of " -"exception." +"annotations are stringized, and *eval_str* is not false, the ``eval()`` " +"call(s) to un-stringize the annotations in :func:`get_annotations` could " +"potentially raise any kind of exception." msgstr "" -#: library/inspect.rst:661 +#: library/inspect.rst:676 msgid "" "A slash(/) in the signature of a function denotes that the parameters prior " "to it are positional-only. For more info, see :ref:`the FAQ entry on " "positional-only parameters `." msgstr "" -#: library/inspect.rst:665 +#: library/inspect.rst:680 msgid "" -"``follow_wrapped`` parameter. Pass ``False`` to get a signature of " -"``callable`` specifically (``callable.__wrapped__`` will not be used to " +"The *follow_wrapped* parameter was added. Pass ``False`` to get a signature " +"of *callable* specifically (``callable.__wrapped__`` will not be used to " "unwrap decorated callables.)" msgstr "" -#: library/inspect.rst:670 -msgid "``globals``, ``locals``, and ``eval_str`` parameters." +#: library/inspect.rst:789 +msgid "The *globals*, *locals*, and *eval_str* parameters were added." msgstr "" -#: library/inspect.rst:675 +#: library/inspect.rst:691 msgid "" "Some callables may not be introspectable in certain implementations of " "Python. For example, in CPython, some built-in functions defined in C " "provide no metadata about their arguments." msgstr "" -#: library/inspect.rst:682 +#: library/inspect.rst:698 msgid "" -"A Signature object represents the call signature of a function and its " -"return annotation. For each parameter accepted by the function it stores a :" -"class:`Parameter` object in its :attr:`parameters` collection." +"A :class:`!Signature` object represents the call signature of a function and " +"its return annotation. For each parameter accepted by the function it " +"stores a :class:`Parameter` object in its :attr:`parameters` collection." msgstr "" -#: library/inspect.rst:686 +#: library/inspect.rst:703 msgid "" "The optional *parameters* argument is a sequence of :class:`Parameter` " "objects, which is validated to check that there are no parameters with " @@ -962,54 +961,54 @@ msgid "" "defaults follow parameters without defaults." msgstr "" -#: library/inspect.rst:692 +#: library/inspect.rst:709 msgid "" -"The optional *return_annotation* argument, can be an arbitrary Python " -"object, is the \"return\" annotation of the callable." +"The optional *return_annotation* argument can be an arbitrary Python object. " +"It represents the \"return\" annotation of the callable." msgstr "" -#: library/inspect.rst:695 +#: library/inspect.rst:712 msgid "" -"Signature objects are *immutable*. Use :meth:`Signature.replace` to make a " -"modified copy." +":class:`!Signature` objects are *immutable*. Use :meth:`Signature.replace` " +"to make a modified copy." msgstr "" -#: library/inspect.rst:698 -msgid "Signature objects are picklable and :term:`hashable`." +#: library/inspect.rst:715 +msgid ":class:`!Signature` objects are now picklable and :term:`hashable`." msgstr "" -#: library/inspect.rst:703 +#: library/inspect.rst:720 msgid "A special class-level marker to specify absence of a return annotation." msgstr "" -#: library/inspect.rst:707 +#: library/inspect.rst:724 msgid "" "An ordered mapping of parameters' names to the corresponding :class:" "`Parameter` objects. Parameters appear in strict definition order, " "including keyword-only parameters." msgstr "" -#: library/inspect.rst:1039 +#: library/inspect.rst:1065 msgid "" "Python only explicitly guaranteed that it preserved the declaration order of " "keyword-only parameters as of version 3.7, although in practice this order " "had always been preserved in Python 3." msgstr "" -#: library/inspect.rst:718 +#: library/inspect.rst:735 msgid "" "The \"return\" annotation for the callable. If the callable has no " "\"return\" annotation, this attribute is set to :attr:`Signature.empty`." msgstr "" -#: library/inspect.rst:723 +#: library/inspect.rst:740 msgid "" "Create a mapping from positional and keyword arguments to parameters. " "Returns :class:`BoundArguments` if ``*args`` and ``**kwargs`` match the " "signature, or raises a :exc:`TypeError`." msgstr "" -#: library/inspect.rst:729 +#: library/inspect.rst:746 msgid "" "Works the same way as :meth:`Signature.bind`, but allows the omission of " "some required arguments (mimics :func:`functools.partial` behavior.) " @@ -1017,255 +1016,251 @@ msgid "" "arguments do not match the signature." msgstr "" -#: library/inspect.rst:736 +#: library/inspect.rst:753 msgid "" -"Create a new Signature instance based on the instance :meth:`replace` was " -"invoked on. It is possible to pass different ``parameters`` and/or " -"``return_annotation`` to override the corresponding properties of the base " -"signature. To remove return_annotation from the copied Signature, pass in :" -"attr:`Signature.empty`." +"Create a new :class:`Signature` instance based on the instance :meth:" +"`replace` was invoked on. It is possible to pass different *parameters* and/" +"or *return_annotation* to override the corresponding properties of the base " +"signature. To remove ``return_annotation`` from the copied :class:`!" +"Signature`, pass in :attr:`Signature.empty`." msgstr "" -#: library/inspect.rst:754 +#: library/inspect.rst:773 msgid "" "Return a :class:`Signature` (or its subclass) object for a given callable " -"``obj``. Pass ``follow_wrapped=False`` to get a signature of ``obj`` " -"without unwrapping its ``__wrapped__`` chain. ``globalns`` and ``localns`` " -"will be used as the namespaces when resolving annotations." +"*obj*." msgstr "" -#: library/inspect.rst:759 -msgid "This method simplifies subclassing of :class:`Signature`::" +#: library/inspect.rst:776 +msgid "This method simplifies subclassing of :class:`Signature`:" msgstr "" -#: library/inspect.rst:766 +#: library/inspect.rst:785 msgid "Its behavior is otherwise identical to that of :func:`signature`." msgstr "" -#: library/inspect.rst:770 -msgid "``globalns`` and ``localns`` parameters." -msgstr "" - -#: library/inspect.rst:776 +#: library/inspect.rst:795 msgid "" -"Parameter objects are *immutable*. Instead of modifying a Parameter object, " -"you can use :meth:`Parameter.replace` to create a modified copy." +":class:`!Parameter` objects are *immutable*. Instead of modifying a :class:`!" +"Parameter` object, you can use :meth:`Parameter.replace` to create a " +"modified copy." msgstr "" -#: library/inspect.rst:779 -msgid "Parameter objects are picklable and :term:`hashable`." +#: library/inspect.rst:799 +msgid "Parameter objects are now picklable and :term:`hashable`." msgstr "" -#: library/inspect.rst:784 +#: library/inspect.rst:804 msgid "" "A special class-level marker to specify absence of default values and " "annotations." msgstr "" -#: library/inspect.rst:789 +#: library/inspect.rst:809 msgid "" "The name of the parameter as a string. The name must be a valid Python " "identifier." msgstr "" -#: library/inspect.rst:794 +#: library/inspect.rst:814 msgid "" "CPython generates implicit parameter names of the form ``.0`` on the code " "objects used to implement comprehensions and generator expressions." msgstr "" -#: library/inspect.rst:798 +#: library/inspect.rst:818 msgid "" -"These parameter names are exposed by this module as names like ``implicit0``." +"These parameter names are now exposed by this module as names like " +"``implicit0``." msgstr "" -#: library/inspect.rst:804 +#: library/inspect.rst:824 msgid "" "The default value for the parameter. If the parameter has no default value, " "this attribute is set to :attr:`Parameter.empty`." msgstr "" -#: library/inspect.rst:809 +#: library/inspect.rst:829 msgid "" "The annotation for the parameter. If the parameter has no annotation, this " "attribute is set to :attr:`Parameter.empty`." msgstr "" -#: library/inspect.rst:814 +#: library/inspect.rst:834 msgid "" "Describes how argument values are bound to the parameter. The possible " "values are accessible via :class:`Parameter` (like ``Parameter." "KEYWORD_ONLY``), and support comparison and ordering, in the following order:" msgstr "" -#: library/inspect.rst:821 +#: library/inspect.rst:841 msgid "Name" msgstr "" -#: library/inspect.rst:821 +#: library/inspect.rst:841 msgid "Meaning" msgstr "" -#: library/inspect.rst:823 +#: library/inspect.rst:843 msgid "*POSITIONAL_ONLY*" msgstr "" -#: library/inspect.rst:823 +#: library/inspect.rst:843 msgid "" "Value must be supplied as a positional argument. Positional only parameters " "are those which appear before a ``/`` entry (if present) in a Python " "function definition." msgstr "" -#: library/inspect.rst:828 +#: library/inspect.rst:848 msgid "*POSITIONAL_OR_KEYWORD*" msgstr "" -#: library/inspect.rst:828 +#: library/inspect.rst:848 msgid "" "Value may be supplied as either a keyword or positional argument (this is " "the standard binding behaviour for functions implemented in Python.)" msgstr "" -#: library/inspect.rst:833 +#: library/inspect.rst:853 msgid "*VAR_POSITIONAL*" msgstr "" -#: library/inspect.rst:833 +#: library/inspect.rst:853 msgid "" "A tuple of positional arguments that aren't bound to any other parameter. " "This corresponds to a ``*args`` parameter in a Python function definition." msgstr "" -#: library/inspect.rst:838 +#: library/inspect.rst:858 msgid "*KEYWORD_ONLY*" msgstr "" -#: library/inspect.rst:838 +#: library/inspect.rst:858 msgid "" "Value must be supplied as a keyword argument. Keyword only parameters are " "those which appear after a ``*`` or ``*args`` entry in a Python function " "definition." msgstr "" -#: library/inspect.rst:843 +#: library/inspect.rst:863 msgid "*VAR_KEYWORD*" msgstr "" -#: library/inspect.rst:843 +#: library/inspect.rst:863 msgid "" "A dict of keyword arguments that aren't bound to any other parameter. This " "corresponds to a ``**kwargs`` parameter in a Python function definition." msgstr "" -#: library/inspect.rst:849 -msgid "Example: print all keyword-only arguments without default values::" +#: library/inspect.rst:869 +msgid "Example: print all keyword-only arguments without default values:" msgstr "" -#: library/inspect.rst:863 -msgid "Describes a enum value of Parameter.kind." +#: library/inspect.rst:885 +msgid "Describes a enum value of :attr:`Parameter.kind`." msgstr "" -#: library/inspect.rst:867 -msgid "Example: print all descriptions of arguments::" +#: library/inspect.rst:889 +msgid "Example: print all descriptions of arguments:" msgstr "" -#: library/inspect.rst:882 +#: library/inspect.rst:906 msgid "" -"Create a new Parameter instance based on the instance replaced was invoked " -"on. To override a :class:`Parameter` attribute, pass the corresponding " -"argument. To remove a default value or/and an annotation from a Parameter, " -"pass :attr:`Parameter.empty`." +"Create a new :class:`Parameter` instance based on the instance replaced was " +"invoked on. To override a :class:`!Parameter` attribute, pass the " +"corresponding argument. To remove a default value or/and an annotation from " +"a :class:`!Parameter`, pass :attr:`Parameter.empty`." msgstr "" -#: library/inspect.rst:900 +#: library/inspect.rst:924 msgid "" -"In Python 3.3 Parameter objects were allowed to have ``name`` set to " -"``None`` if their ``kind`` was set to ``POSITIONAL_ONLY``. This is no longer " -"permitted." +"In Python 3.3 :class:`Parameter` objects were allowed to have ``name`` set " +"to ``None`` if their ``kind`` was set to ``POSITIONAL_ONLY``. This is no " +"longer permitted." msgstr "" -#: library/inspect.rst:907 +#: library/inspect.rst:931 msgid "" "Result of a :meth:`Signature.bind` or :meth:`Signature.bind_partial` call. " "Holds the mapping of arguments to the function's parameters." msgstr "" -#: library/inspect.rst:912 +#: library/inspect.rst:936 msgid "" "A mutable mapping of parameters' names to arguments' values. Contains only " "explicitly bound arguments. Changes in :attr:`arguments` will reflect in :" "attr:`args` and :attr:`kwargs`." msgstr "" -#: library/inspect.rst:916 +#: library/inspect.rst:940 msgid "" "Should be used in conjunction with :attr:`Signature.parameters` for any " "argument processing purposes." msgstr "" -#: library/inspect.rst:921 +#: library/inspect.rst:945 msgid "" "Arguments for which :meth:`Signature.bind` or :meth:`Signature.bind_partial` " "relied on a default value are skipped. However, if needed, use :meth:" "`BoundArguments.apply_defaults` to add them." msgstr "" -#: library/inspect.rst:926 +#: library/inspect.rst:950 msgid "" ":attr:`arguments` is now of type :class:`dict`. Formerly, it was of type :" "class:`collections.OrderedDict`." msgstr "" -#: library/inspect.rst:932 +#: library/inspect.rst:956 msgid "" "A tuple of positional arguments values. Dynamically computed from the :attr:" "`arguments` attribute." msgstr "" -#: library/inspect.rst:937 +#: library/inspect.rst:961 msgid "" "A dict of keyword arguments values. Dynamically computed from the :attr:" "`arguments` attribute." msgstr "" -#: library/inspect.rst:942 +#: library/inspect.rst:966 msgid "A reference to the parent :class:`Signature` object." msgstr "" -#: library/inspect.rst:946 +#: library/inspect.rst:970 msgid "Set default values for missing arguments." msgstr "" -#: library/inspect.rst:948 +#: library/inspect.rst:972 msgid "" "For variable-positional arguments (``*args``) the default is an empty tuple." msgstr "" -#: library/inspect.rst:951 +#: library/inspect.rst:975 msgid "" "For variable-keyword arguments (``**kwargs``) the default is an empty dict." msgstr "" -#: library/inspect.rst:964 +#: library/inspect.rst:988 msgid "" "The :attr:`args` and :attr:`kwargs` properties can be used to invoke " -"functions::" +"functions:" msgstr "" -#: library/inspect.rst:977 +#: library/inspect.rst:1003 msgid ":pep:`362` - Function Signature Object." msgstr "" -#: library/inspect.rst:978 +#: library/inspect.rst:1004 msgid "The detailed specification, implementation details and examples." msgstr "" -#: library/inspect.rst:984 +#: library/inspect.rst:1010 msgid "Classes and functions" msgstr "" -#: library/inspect.rst:988 +#: library/inspect.rst:1014 msgid "" "Arrange the given list of classes into a hierarchy of nested lists. Where a " "nested list appears, it contains classes derived from the class whose entry " @@ -1276,19 +1271,19 @@ msgid "" "will appear multiple times." msgstr "" -#: library/inspect.rst:999 +#: library/inspect.rst:1025 msgid "" "Get the names and default values of a Python function's parameters. A :term:" "`named tuple` is returned:" msgstr "" -#: library/inspect.rst:1002 +#: library/inspect.rst:1028 msgid "" "``FullArgSpec(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, " "annotations)``" msgstr "" -#: library/inspect.rst:1005 +#: library/inspect.rst:1031 msgid "" "*args* is a list of the positional parameter names. *varargs* is the name of " "the ``*`` parameter or ``None`` if arbitrary positional arguments are not " @@ -1303,7 +1298,7 @@ msgid "" "report the function return value annotation (if any)." msgstr "" -#: library/inspect.rst:1020 +#: library/inspect.rst:1046 msgid "" "Note that :func:`signature` and :ref:`Signature Object ` provide the recommended API for callable introspection, and support " @@ -1313,14 +1308,14 @@ msgid "" "``inspect`` module API." msgstr "" -#: library/inspect.rst:1027 +#: library/inspect.rst:1053 msgid "" "This function is now based on :func:`signature`, but still ignores " "``__wrapped__`` attributes and includes the already bound first parameter in " "the signature output for bound methods." msgstr "" -#: library/inspect.rst:1032 +#: library/inspect.rst:1058 msgid "" "This method was previously documented as deprecated in favour of :func:" "`signature` in Python 3.5, but that decision has been reversed in order to " @@ -1328,7 +1323,7 @@ msgid "" "code migrating away from the legacy :func:`getargspec` API." msgstr "" -#: library/inspect.rst:1047 +#: library/inspect.rst:1073 msgid "" "Get information about arguments passed into a particular frame. A :term:" "`named tuple` ``ArgInfo(args, varargs, keywords, locals)`` is returned. " @@ -1337,18 +1332,18 @@ msgid "" "dictionary of the given frame." msgstr "" -#: library/inspect.rst:1064 +#: library/inspect.rst:1090 msgid "This function was inadvertently marked as deprecated in Python 3.5." msgstr "" -#: library/inspect.rst:1059 +#: library/inspect.rst:1085 msgid "" "Format a pretty argument spec from the four values returned by :func:" "`getargvalues`. The format\\* arguments are the corresponding optional " "formatting functions that are called to turn names and values into strings." msgstr "" -#: library/inspect.rst:1069 +#: library/inspect.rst:1095 msgid "" "Return a tuple of class cls's base classes, including cls, in method " "resolution order. No class appears more than once in this tuple. Note that " @@ -1356,7 +1351,7 @@ msgid "" "user-defined metatype is in use, cls will be the first element of the tuple." msgstr "" -#: library/inspect.rst:1077 +#: library/inspect.rst:1103 msgid "" "Bind the *args* and *kwds* to the argument names of the Python function or " "method *func*, as if it was called with them. For bound methods, bind also " @@ -1366,14 +1361,14 @@ msgid "" "In case of invoking *func* incorrectly, i.e. whenever ``func(*args, " "**kwds)`` would raise an exception because of incompatible signature, an " "exception of the same type and the same or similar message is raised. For " -"example::" +"example:" msgstr "" -#: library/inspect.rst:1101 +#: library/inspect.rst:1129 msgid "Use :meth:`Signature.bind` and :meth:`Signature.bind_partial` instead." msgstr "" -#: library/inspect.rst:1107 +#: library/inspect.rst:1135 msgid "" "Get the mapping of external name references in a Python function or method " "*func* to their current values. A :term:`named tuple` " @@ -1385,18 +1380,18 @@ msgid "" "builtins." msgstr "" -#: library/inspect.rst:1116 +#: library/inspect.rst:1144 msgid "" ":exc:`TypeError` is raised if *func* is not a Python function or method." msgstr "" -#: library/inspect.rst:1123 +#: library/inspect.rst:1151 msgid "" "Get the object wrapped by *func*. It follows the chain of :attr:" "`__wrapped__` attributes returning the last object in the chain." msgstr "" -#: library/inspect.rst:1126 +#: library/inspect.rst:1154 msgid "" "*stop* is an optional callback accepting an object in the wrapper chain as " "its sole argument that allows the unwrapping to be terminated early if the " @@ -1406,68 +1401,68 @@ msgid "" "``__signature__`` attribute defined." msgstr "" -#: library/inspect.rst:1133 +#: library/inspect.rst:1161 msgid ":exc:`ValueError` is raised if a cycle is encountered." msgstr "" -#: library/inspect.rst:1140 +#: library/inspect.rst:1168 msgid "Compute the annotations dict for an object." msgstr "" -#: library/inspect.rst:1142 +#: library/inspect.rst:1170 msgid "" "``obj`` may be a callable, class, or module. Passing in an object of any " "other type raises :exc:`TypeError`." msgstr "" -#: library/inspect.rst:1145 +#: library/inspect.rst:1173 msgid "" "Returns a dict. ``get_annotations()`` returns a new dict every time it's " "called; calling it twice on the same object will return two different but " "equivalent dicts." msgstr "" -#: library/inspect.rst:1149 +#: library/inspect.rst:1177 msgid "This function handles several details for you:" msgstr "" -#: library/inspect.rst:1151 +#: library/inspect.rst:1179 msgid "" "If ``eval_str`` is true, values of type ``str`` will be un-stringized using :" "func:`eval()`. This is intended for use with stringized annotations (``from " "__future__ import annotations``)." msgstr "" -#: library/inspect.rst:1155 +#: library/inspect.rst:1183 msgid "" "If ``obj`` doesn't have an annotations dict, returns an empty dict. " "(Functions and methods always have an annotations dict; classes, modules, " "and other types of callables may not.)" msgstr "" -#: library/inspect.rst:1159 +#: library/inspect.rst:1187 msgid "" "Ignores inherited annotations on classes. If a class doesn't have its own " "annotations dict, returns an empty dict." msgstr "" -#: library/inspect.rst:1161 +#: library/inspect.rst:1189 msgid "" "All accesses to object members and dict values are done using ``getattr()`` " "and ``dict.get()`` for safety." msgstr "" -#: library/inspect.rst:1163 +#: library/inspect.rst:1191 msgid "Always, always, always returns a freshly created dict." msgstr "" -#: library/inspect.rst:1165 +#: library/inspect.rst:1193 msgid "" "``eval_str`` controls whether or not values of type ``str`` are replaced " "with the result of calling :func:`eval()` on those values:" msgstr "" -#: library/inspect.rst:1168 +#: library/inspect.rst:1196 msgid "" "If eval_str is true, :func:`eval()` is called on values of type ``str``. " "(Note that ``get_annotations`` doesn't catch exceptions; if :func:`eval()` " @@ -1475,12 +1470,12 @@ msgid "" "call.)" msgstr "" -#: library/inspect.rst:1172 +#: library/inspect.rst:1200 msgid "" "If eval_str is false (the default), values of type ``str`` are unchanged." msgstr "" -#: library/inspect.rst:1174 +#: library/inspect.rst:1202 msgid "" "``globals`` and ``locals`` are passed in to :func:`eval()`; see the " "documentation for :func:`eval()` for more information. If ``globals`` or " @@ -1488,35 +1483,35 @@ msgid "" "specific default, contingent on ``type(obj)``:" msgstr "" -#: library/inspect.rst:1179 +#: library/inspect.rst:1207 msgid "If ``obj`` is a module, ``globals`` defaults to ``obj.__dict__``." msgstr "" -#: library/inspect.rst:1180 +#: library/inspect.rst:1208 msgid "" "If ``obj`` is a class, ``globals`` defaults to ``sys.modules[obj.__module__]." "__dict__`` and ``locals`` defaults to the ``obj`` class namespace." msgstr "" -#: library/inspect.rst:1183 +#: library/inspect.rst:1211 msgid "" -"If ``obj`` is a callable, ``globals`` defaults to ``obj.__globals__``, " -"although if ``obj`` is a wrapped function (using ``functools." -"update_wrapper()``) it is first unwrapped." +"If ``obj`` is a callable, ``globals`` defaults to :attr:`obj.__globals__ " +"`, although if ``obj`` is a wrapped function (using :" +"func:`functools.update_wrapper`) it is first unwrapped." msgstr "" -#: library/inspect.rst:1187 +#: library/inspect.rst:1216 msgid "" "Calling ``get_annotations`` is best practice for accessing the annotations " "dict of any object. See :ref:`annotations-howto` for more information on " "annotations best practices." msgstr "" -#: library/inspect.rst:1197 +#: library/inspect.rst:1226 msgid "The interpreter stack" msgstr "" -#: library/inspect.rst:1199 +#: library/inspect.rst:1228 msgid "" "Some of the following functions return :class:`FrameInfo` objects. For " "backwards compatibility these objects allow tuple-like operations on all " @@ -1524,95 +1519,95 @@ msgid "" "may be removed in the future." msgstr "" -#: library/inspect.rst:1208 +#: library/inspect.rst:1237 msgid "The :ref:`frame object ` that the record corresponds to." msgstr "" -#: library/inspect.rst:1212 +#: library/inspect.rst:1241 msgid "" "The file name associated with the code being executed by the frame this " "record corresponds to." msgstr "" -#: library/inspect.rst:1217 +#: library/inspect.rst:1246 msgid "" "The line number of the current line associated with the code being executed " "by the frame this record corresponds to." msgstr "" -#: library/inspect.rst:1222 +#: library/inspect.rst:1251 msgid "" "The function name that is being executed by the frame this record " "corresponds to." msgstr "" -#: library/inspect.rst:1226 +#: library/inspect.rst:1255 msgid "" "A list of lines of context from the source code that's being executed by the " "frame this record corresponds to." msgstr "" -#: library/inspect.rst:1270 +#: library/inspect.rst:1299 msgid "" "The index of the current line being executed in the :attr:`code_context` " "list." msgstr "" -#: library/inspect.rst:1235 +#: library/inspect.rst:1264 msgid "" "A :class:`dis.Positions` object containing the start line number, end line " "number, start column offset, and end column offset associated with the " "instruction being executed by the frame this record corresponds to." msgstr "" -#: library/inspect.rst:1239 +#: library/inspect.rst:1268 msgid "Return a :term:`named tuple` instead of a :class:`tuple`." msgstr "" -#: library/inspect.rst:1242 +#: library/inspect.rst:1271 msgid "" ":class:`!FrameInfo` is now a class instance (that is backwards compatible " "with the previous :term:`named tuple`)." msgstr "" -#: library/inspect.rst:1251 +#: library/inspect.rst:1280 msgid "" "The file name associated with the code being executed by the frame this " "traceback corresponds to." msgstr "" -#: library/inspect.rst:1256 +#: library/inspect.rst:1285 msgid "" "The line number of the current line associated with the code being executed " "by the frame this traceback corresponds to." msgstr "" -#: library/inspect.rst:1261 +#: library/inspect.rst:1290 msgid "" "The function name that is being executed by the frame this traceback " "corresponds to." msgstr "" -#: library/inspect.rst:1265 +#: library/inspect.rst:1294 msgid "" "A list of lines of context from the source code that's being executed by the " "frame this traceback corresponds to." msgstr "" -#: library/inspect.rst:1274 +#: library/inspect.rst:1303 msgid "" "A :class:`dis.Positions` object containing the start line number, end line " "number, start column offset, and end column offset associated with the " "instruction being executed by the frame this traceback corresponds to." msgstr "" -#: library/inspect.rst:1279 +#: library/inspect.rst:1308 msgid "" ":class:`!Traceback` is now a class instance (that is backwards compatible " "with the previous :term:`named tuple`)." msgstr "" -#: library/inspect.rst:1286 +#: library/inspect.rst:1315 msgid "" "Keeping references to frame objects, as found in the first element of the " "frame records these functions return, can cause your program to create " @@ -1624,7 +1619,7 @@ msgid "" "consumption which occurs." msgstr "" -#: library/inspect.rst:1294 +#: library/inspect.rst:1323 msgid "" "Though the cycle detector will catch these, destruction of the frames (and " "local variables) can be made deterministic by removing the cycle in a :" @@ -1632,31 +1627,31 @@ msgid "" "disabled when Python was compiled or using :func:`gc.disable`. For example::" msgstr "" -#: library/inspect.rst:1306 +#: library/inspect.rst:1335 msgid "" "If you want to keep the frame around (for example to print a traceback " "later), you can also break reference cycles by using the :meth:`frame.clear` " "method." msgstr "" -#: library/inspect.rst:1310 +#: library/inspect.rst:1339 msgid "" "The optional *context* argument supported by most of these functions " "specifies the number of lines of context to return, which are centered " "around the current line." msgstr "" -#: library/inspect.rst:1317 +#: library/inspect.rst:1346 msgid "" "Get information about a frame or traceback object. A :class:`Traceback` " "object is returned." msgstr "" -#: library/inspect.rst:1320 +#: library/inspect.rst:1349 msgid "A :class:`Traceback` object is returned instead of a named tuple." msgstr "" -#: library/inspect.rst:1325 +#: library/inspect.rst:1354 msgid "" "Get a list of :class:`FrameInfo` objects for a frame and all outer frames. " "These frames represent the calls that lead to the creation of *frame*. The " @@ -1664,17 +1659,17 @@ msgid "" "represents the outermost call on *frame*'s stack." msgstr "" -#: library/inspect.rst:1345 library/inspect.rst:1386 +#: library/inspect.rst:1374 library/inspect.rst:1415 msgid "" "A list of :term:`named tuples ` ``FrameInfo(frame, filename, " "lineno, function, code_context, index)`` is returned." msgstr "" -#: library/inspect.rst:1350 library/inspect.rst:1391 +#: library/inspect.rst:1379 library/inspect.rst:1420 msgid "A list of :class:`FrameInfo` objects is returned." msgstr "" -#: library/inspect.rst:1340 +#: library/inspect.rst:1369 msgid "" "Get a list of :class:`FrameInfo` objects for a traceback's frame and all " "inner frames. These frames represent calls made as a consequence of " @@ -1682,11 +1677,11 @@ msgid "" "represents where the exception was raised." msgstr "" -#: library/inspect.rst:1355 +#: library/inspect.rst:1384 msgid "Return the frame object for the caller's stack frame." msgstr "" -#: library/inspect.rst:1359 +#: library/inspect.rst:1388 msgid "" "This function relies on Python stack frame support in the interpreter, which " "isn't guaranteed to exist in all implementations of Python. If running in " @@ -1694,14 +1689,14 @@ msgid "" "``None``." msgstr "" -#: library/inspect.rst:1367 +#: library/inspect.rst:1396 msgid "" "Return a list of :class:`FrameInfo` objects for the caller's stack. The " "first entry in the returned list represents the caller; the last entry " "represents the outermost call on the stack." msgstr "" -#: library/inspect.rst:1381 +#: library/inspect.rst:1410 msgid "" "Return a list of :class:`FrameInfo` objects for the stack between the " "current frame and the frame in which an exception currently being handled " @@ -1709,32 +1704,32 @@ msgid "" "entry represents where the exception was raised." msgstr "" -#: library/inspect.rst:1395 +#: library/inspect.rst:1424 msgid "Fetching attributes statically" msgstr "" -#: library/inspect.rst:1397 +#: library/inspect.rst:1426 msgid "" "Both :func:`getattr` and :func:`hasattr` can trigger code execution when " "fetching or checking for the existence of attributes. Descriptors, like " -"properties, will be invoked and :meth:`__getattr__` and :meth:" -"`__getattribute__` may be called." +"properties, will be invoked and :meth:`~object.__getattr__` and :meth:" +"`~object.__getattribute__` may be called." msgstr "" -#: library/inspect.rst:1402 +#: library/inspect.rst:1432 msgid "" "For cases where you want passive introspection, like documentation tools, " "this can be inconvenient. :func:`getattr_static` has the same signature as :" "func:`getattr` but avoids executing code when it fetches attributes." msgstr "" -#: library/inspect.rst:1408 +#: library/inspect.rst:1438 msgid "" "Retrieve attributes without triggering dynamic lookup via the descriptor " -"protocol, :meth:`__getattr__` or :meth:`__getattribute__`." +"protocol, :meth:`~object.__getattr__` or :meth:`~object.__getattribute__`." msgstr "" -#: library/inspect.rst:1411 +#: library/inspect.rst:1442 msgid "" "Note: this function may not be able to retrieve all attributes that getattr " "can fetch (like dynamically created attributes) and may find attributes that " @@ -1742,31 +1737,31 @@ msgid "" "return descriptors objects instead of instance members." msgstr "" -#: library/inspect.rst:1417 +#: library/inspect.rst:1448 msgid "" "If the instance :attr:`~object.__dict__` is shadowed by another member (for " "example a property) then this function will be unable to find instance " "members." msgstr "" -#: library/inspect.rst:1423 +#: library/inspect.rst:1454 msgid "" ":func:`getattr_static` does not resolve descriptors, for example slot " "descriptors or getset descriptors on objects implemented in C. The " "descriptor object is returned instead of the underlying attribute." msgstr "" -#: library/inspect.rst:1427 +#: library/inspect.rst:1458 msgid "" "You can handle these with code like the following. Note that for arbitrary " "getset descriptors invoking these may trigger code execution::" msgstr "" -#: library/inspect.rst:1453 +#: library/inspect.rst:1484 msgid "Current State of Generators, Coroutines, and Asynchronous Generators" msgstr "" -#: library/inspect.rst:1455 +#: library/inspect.rst:1486 msgid "" "When implementing coroutine schedulers and for other advanced uses of " "generators, it is useful to determine whether a generator is currently " @@ -1775,31 +1770,31 @@ msgid "" "generator to be determined easily." msgstr "" -#: library/inspect.rst:1463 +#: library/inspect.rst:1494 msgid "Get current state of a generator-iterator." msgstr "" -#: library/inspect.rst:1481 library/inspect.rst:1498 +#: library/inspect.rst:1512 library/inspect.rst:1529 msgid "Possible states are:" msgstr "" -#: library/inspect.rst:1467 +#: library/inspect.rst:1498 msgid "GEN_CREATED: Waiting to start execution." msgstr "" -#: library/inspect.rst:1468 +#: library/inspect.rst:1499 msgid "GEN_RUNNING: Currently being executed by the interpreter." msgstr "" -#: library/inspect.rst:1469 +#: library/inspect.rst:1500 msgid "GEN_SUSPENDED: Currently suspended at a yield expression." msgstr "" -#: library/inspect.rst:1470 +#: library/inspect.rst:1501 msgid "GEN_CLOSED: Execution has completed." msgstr "" -#: library/inspect.rst:1476 +#: library/inspect.rst:1507 msgid "" "Get current state of a coroutine object. The function is intended to be " "used with coroutine objects created by :keyword:`async def` functions, but " @@ -1807,23 +1802,23 @@ msgid "" "``cr_frame`` attributes." msgstr "" -#: library/inspect.rst:1483 +#: library/inspect.rst:1514 msgid "CORO_CREATED: Waiting to start execution." msgstr "" -#: library/inspect.rst:1484 +#: library/inspect.rst:1515 msgid "CORO_RUNNING: Currently being executed by the interpreter." msgstr "" -#: library/inspect.rst:1485 +#: library/inspect.rst:1516 msgid "CORO_SUSPENDED: Currently suspended at an await expression." msgstr "" -#: library/inspect.rst:1486 +#: library/inspect.rst:1517 msgid "CORO_CLOSED: Execution has completed." msgstr "" -#: library/inspect.rst:1492 +#: library/inspect.rst:1523 msgid "" "Get current state of an asynchronous generator object. The function is " "intended to be used with asynchronous iterator objects created by :keyword:" @@ -1832,30 +1827,30 @@ msgid "" "``ag_frame`` attributes." msgstr "" -#: library/inspect.rst:1500 +#: library/inspect.rst:1531 msgid "AGEN_CREATED: Waiting to start execution." msgstr "" -#: library/inspect.rst:1501 +#: library/inspect.rst:1532 msgid "AGEN_RUNNING: Currently being executed by the interpreter." msgstr "" -#: library/inspect.rst:1502 +#: library/inspect.rst:1533 msgid "AGEN_SUSPENDED: Currently suspended at a yield expression." msgstr "" -#: library/inspect.rst:1503 +#: library/inspect.rst:1534 msgid "AGEN_CLOSED: Execution has completed." msgstr "" -#: library/inspect.rst:1507 +#: library/inspect.rst:1538 msgid "" "The current internal state of the generator can also be queried. This is " "mostly useful for testing purposes, to ensure that internal state is being " "updated as expected:" msgstr "" -#: library/inspect.rst:1513 +#: library/inspect.rst:1544 msgid "" "Get the mapping of live local variables in *generator* to their current " "values. A dictionary is returned that maps from variable names to values. " @@ -1863,14 +1858,14 @@ msgid "" "generator, and all the same caveats apply." msgstr "" -#: library/inspect.rst:1518 +#: library/inspect.rst:1549 msgid "" "If *generator* is a :term:`generator` with no currently associated frame, " "then an empty dictionary is returned. :exc:`TypeError` is raised if " "*generator* is not a Python generator object." msgstr "" -#: library/inspect.rst:1524 +#: library/inspect.rst:1555 msgid "" "This function relies on the generator exposing a Python stack frame for " "introspection, which isn't guaranteed to be the case in all implementations " @@ -1878,79 +1873,79 @@ msgid "" "dictionary." msgstr "" -#: library/inspect.rst:1533 +#: library/inspect.rst:1564 msgid "" "This function is analogous to :func:`~inspect.getgeneratorlocals`, but works " "for coroutine objects created by :keyword:`async def` functions." msgstr "" -#: library/inspect.rst:1540 +#: library/inspect.rst:1571 msgid "" "This function is analogous to :func:`~inspect.getgeneratorlocals`, but works " "for asynchronous generator objects created by :keyword:`async def` functions " "which use the :keyword:`yield` statement." msgstr "" -#: library/inspect.rst:1550 +#: library/inspect.rst:1581 msgid "Code Objects Bit Flags" msgstr "" -#: library/inspect.rst:1552 +#: library/inspect.rst:1583 msgid "" -"Python code objects have a ``co_flags`` attribute, which is a bitmap of the " -"following flags:" +"Python code objects have a :attr:`~codeobject.co_flags` attribute, which is " +"a bitmap of the following flags:" msgstr "" -#: library/inspect.rst:1557 +#: library/inspect.rst:1588 msgid "The code object is optimized, using fast locals." msgstr "" -#: library/inspect.rst:1561 +#: library/inspect.rst:1592 msgid "" -"If set, a new dict will be created for the frame's ``f_locals`` when the " -"code object is executed." +"If set, a new dict will be created for the frame's :attr:`~frame.f_locals` " +"when the code object is executed." msgstr "" -#: library/inspect.rst:1566 +#: library/inspect.rst:1597 msgid "The code object has a variable positional parameter (``*args``-like)." msgstr "" -#: library/inspect.rst:1570 +#: library/inspect.rst:1601 msgid "The code object has a variable keyword parameter (``**kwargs``-like)." msgstr "" -#: library/inspect.rst:1574 +#: library/inspect.rst:1605 msgid "The flag is set when the code object is a nested function." msgstr "" -#: library/inspect.rst:1578 +#: library/inspect.rst:1609 msgid "" "The flag is set when the code object is a generator function, i.e. a " "generator object is returned when the code object is executed." msgstr "" -#: library/inspect.rst:1583 +#: library/inspect.rst:1614 msgid "" "The flag is set when the code object is a coroutine function. When the code " "object is executed it returns a coroutine object. See :pep:`492` for more " "details." msgstr "" -#: library/inspect.rst:1591 +#: library/inspect.rst:1622 msgid "" "The flag is used to transform generators into generator-based coroutines. " "Generator objects with this flag can be used in ``await`` expression, and " "can ``yield from`` coroutine objects. See :pep:`492` for more details." msgstr "" -#: library/inspect.rst:1600 +#: library/inspect.rst:1631 msgid "" "The flag is set when the code object is an asynchronous generator function. " "When the code object is executed it returns an asynchronous generator " "object. See :pep:`525` for more details." msgstr "" -#: library/inspect.rst:1607 +#: library/inspect.rst:1638 msgid "" "The flags are specific to CPython, and may not be defined in other Python " "implementations. Furthermore, the flags are an implementation detail, and " @@ -1958,39 +1953,39 @@ msgid "" "use public APIs from the :mod:`inspect` module for any introspection needs." msgstr "" -#: library/inspect.rst:1615 +#: library/inspect.rst:1646 msgid "Buffer flags" msgstr "" -#: library/inspect.rst:1619 +#: library/inspect.rst:1650 msgid "" "This is an :class:`enum.IntFlag` that represents the flags that can be " "passed to the :meth:`~object.__buffer__` method of objects implementing the :" "ref:`buffer protocol `." msgstr "" -#: library/inspect.rst:1623 +#: library/inspect.rst:1654 msgid "The meaning of the flags is explained at :ref:`buffer-request-types`." msgstr "" -#: library/inspect.rst:1650 +#: library/inspect.rst:1681 msgid "Command Line Interface" msgstr "" -#: library/inspect.rst:1652 +#: library/inspect.rst:1683 msgid "" "The :mod:`inspect` module also provides a basic introspection capability " "from the command line." msgstr "" -#: library/inspect.rst:1657 +#: library/inspect.rst:1688 msgid "" "By default, accepts the name of a module and prints the source of that " "module. A class or function within the module can be printed instead by " "appended a colon and the qualified name of the target object." msgstr "" -#: library/inspect.rst:1663 +#: library/inspect.rst:1694 msgid "" "Print information about the specified object rather than the source code" msgstr "" diff --git a/library/itertools.po b/library/itertools.po index a8bfdd0a5..ad7423092 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -875,6 +875,6 @@ msgid "" "term:`generator`\\s which incur interpreter overhead." msgstr "" -#: library/itertools.rst:1022 +#: library/itertools.rst:1027 msgid "The following recipes have a more mathematical flavor:" msgstr "" diff --git a/library/locale.po b/library/locale.po index cc4313993..12bac1409 100644 --- a/library/locale.po +++ b/library/locale.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -501,7 +501,7 @@ msgstr "" msgid "" "Returns the current setting for the given locale category as sequence " "containing *language code*, *encoding*. *category* may be one of the :const:" -"`LC_\\*` values except :const:`LC_ALL`. It defaults to :const:`LC_CTYPE`." +"`!LC_\\*` values except :const:`LC_ALL`. It defaults to :const:`LC_CTYPE`." msgstr "" #: library/locale.rst:322 diff --git a/library/logging.config.po b/library/logging.config.po index b0ed50791..d82987374 100644 --- a/library/logging.config.po +++ b/library/logging.config.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -148,9 +148,9 @@ msgstr "" #: library/logging.config.rst:94 msgid "" "A filename, or a file-like object, or an instance derived from :class:" -"`~configparser.RawConfigParser`. If a ``RawConfigParser``-derived instance " -"is passed, it is used as is. Otherwise, a :class:`~configparser." -"Configparser` is instantiated, and the configuration read by it from the " +"`~configparser.RawConfigParser`. If a :class:`!RawConfigParser`-derived " +"instance is passed, it is used as is. Otherwise, a :class:`~configparser." +"ConfigParser` is instantiated, and the configuration read by it from the " "object passed in ``fname``. If that has a :meth:`readline` method, it is " "assumed to be a file-like object and read using :meth:`~configparser." "ConfigParser.read_file`; otherwise, it is assumed to be a filename and " @@ -159,7 +159,8 @@ msgstr "" #: library/logging.config.rst:106 msgid "" -"Defaults to be passed to the ConfigParser can be specified in this argument." +"Defaults to be passed to the :class:`!ConfigParser` can be specified in this " +"argument." msgstr "" #: library/logging.config.rst:109 diff --git a/library/mailbox.po b/library/mailbox.po index 8d61b6066..32c3f0e3d 100644 --- a/library/mailbox.po +++ b/library/mailbox.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,8 +28,8 @@ msgstr "" msgid "" "This module defines two classes, :class:`Mailbox` and :class:`Message`, for " "accessing and manipulating on-disk mailboxes and the messages they contain. :" -"class:`Mailbox` offers a dictionary-like mapping from keys to messages. :" -"class:`Message` extends the :mod:`email.message` module's :class:`~email." +"class:`!Mailbox` offers a dictionary-like mapping from keys to messages. :" +"class:`!Message` extends the :mod:`email.message` module's :class:`~email." "message.Message` class with format-specific state and behavior. Supported " "mailbox formats are Maildir, mbox, MH, Babyl, and MMDF." msgstr "" @@ -43,7 +43,7 @@ msgid "Represent and manipulate messages." msgstr "" #: library/mailbox.rst:31 -msgid ":class:`Mailbox` objects" +msgid ":class:`!Mailbox` objects" msgstr "" #: library/mailbox.rst:35 @@ -52,72 +52,73 @@ msgstr "" #: library/mailbox.rst:37 msgid "" -"The :class:`Mailbox` class defines an interface and is not intended to be " +"The :class:`!Mailbox` class defines an interface and is not intended to be " "instantiated. Instead, format-specific subclasses should inherit from :" -"class:`Mailbox` and your code should instantiate a particular subclass." +"class:`!Mailbox` and your code should instantiate a particular subclass." msgstr "" #: library/mailbox.rst:41 msgid "" -"The :class:`Mailbox` interface is dictionary-like, with small keys " -"corresponding to messages. Keys are issued by the :class:`Mailbox` instance " -"with which they will be used and are only meaningful to that :class:" -"`Mailbox` instance. A key continues to identify a message even if the " +"The :class:`!Mailbox` interface is dictionary-like, with small keys " +"corresponding to messages. Keys are issued by the :class:`!Mailbox` instance " +"with which they will be used and are only meaningful to that :class:`!" +"Mailbox` instance. A key continues to identify a message even if the " "corresponding message is modified, such as by replacing it with another " "message." msgstr "" #: library/mailbox.rst:47 msgid "" -"Messages may be added to a :class:`Mailbox` instance using the set-like " +"Messages may be added to a :class:`!Mailbox` instance using the set-like " "method :meth:`add` and removed using a ``del`` statement or the set-like " "methods :meth:`remove` and :meth:`discard`." msgstr "" #: library/mailbox.rst:51 msgid "" -":class:`Mailbox` interface semantics differ from dictionary semantics in " +":class:`!Mailbox` interface semantics differ from dictionary semantics in " "some noteworthy ways. Each time a message is requested, a new representation " "(typically a :class:`Message` instance) is generated based upon the current " -"state of the mailbox. Similarly, when a message is added to a :class:" -"`Mailbox` instance, the provided message representation's contents are " +"state of the mailbox. Similarly, when a message is added to a :class:`!" +"Mailbox` instance, the provided message representation's contents are " "copied. In neither case is a reference to the message representation kept by " -"the :class:`Mailbox` instance." +"the :class:`!Mailbox` instance." msgstr "" #: library/mailbox.rst:59 msgid "" -"The default :class:`Mailbox` iterator iterates over message representations, " -"not keys as the default dictionary iterator does. Moreover, modification of " -"a mailbox during iteration is safe and well-defined. Messages added to the " -"mailbox after an iterator is created will not be seen by the iterator. " -"Messages removed from the mailbox before the iterator yields them will be " -"silently skipped, though using a key from an iterator may result in a :exc:" -"`KeyError` exception if the corresponding message is subsequently removed." +"The default :class:`!Mailbox` :term:`iterator` iterates over message " +"representations, not keys as the default :class:`dictionary ` iterator " +"does. Moreover, modification of a mailbox during iteration is safe and well-" +"defined. Messages added to the mailbox after an iterator is created will not " +"be seen by the iterator. Messages removed from the mailbox before the " +"iterator yields them will be silently skipped, though using a key from an " +"iterator may result in a :exc:`KeyError` exception if the corresponding " +"message is subsequently removed." msgstr "" -#: library/mailbox.rst:70 +#: library/mailbox.rst:71 msgid "" "Be very cautious when modifying mailboxes that might be simultaneously " "changed by some other process. The safest mailbox format to use for such " -"tasks is Maildir; try to avoid using single-file formats such as mbox for " -"concurrent writing. If you're modifying a mailbox, you *must* lock it by " -"calling the :meth:`lock` and :meth:`unlock` methods *before* reading any " -"messages in the file or making any changes by adding or deleting a message. " -"Failing to lock the mailbox runs the risk of losing messages or corrupting " -"the entire mailbox." +"tasks is :class:`Maildir`; try to avoid using single-file formats such as :" +"class:`mbox` for concurrent writing. If you're modifying a mailbox, you " +"*must* lock it by calling the :meth:`lock` and :meth:`unlock` methods " +"*before* reading any messages in the file or making any changes by adding or " +"deleting a message. Failing to lock the mailbox runs the risk of losing " +"messages or corrupting the entire mailbox." msgstr "" -#: library/mailbox.rst:79 -msgid ":class:`Mailbox` instances have the following methods:" +#: library/mailbox.rst:81 +msgid ":class:`!Mailbox` instances have the following methods:" msgstr "" -#: library/mailbox.rst:84 +#: library/mailbox.rst:86 msgid "" "Add *message* to the mailbox and return the key that has been assigned to it." msgstr "" -#: library/mailbox.rst:87 +#: library/mailbox.rst:89 msgid "" "Parameter *message* may be a :class:`Message` instance, an :class:`email." "message.Message` instance, a string, a byte string, or a file-like object " @@ -128,15 +129,15 @@ msgid "" "format-specific information are used." msgstr "" -#: library/mailbox.rst:96 +#: library/mailbox.rst:98 msgid "Support for binary input was added." msgstr "" -#: library/mailbox.rst:104 +#: library/mailbox.rst:106 msgid "Delete the message corresponding to *key* from the mailbox." msgstr "" -#: library/mailbox.rst:106 +#: library/mailbox.rst:108 msgid "" "If no such message exists, a :exc:`KeyError` exception is raised if the " "method was called as :meth:`remove` or :meth:`__delitem__` but no exception " @@ -145,13 +146,13 @@ msgid "" "concurrent modification by other processes." msgstr "" -#: library/mailbox.rst:115 +#: library/mailbox.rst:117 msgid "" "Replace the message corresponding to *key* with *message*. Raise a :exc:" "`KeyError` exception if no message already corresponds to *key*." msgstr "" -#: library/mailbox.rst:118 +#: library/mailbox.rst:120 msgid "" "As with :meth:`add`, parameter *message* may be a :class:`Message` instance, " "an :class:`email.message.Message` instance, a string, a byte string, or a " @@ -163,63 +164,76 @@ msgid "" "left unchanged." msgstr "" -#: library/mailbox.rst:132 +#: library/mailbox.rst:133 +msgid "Return an :term:`iterator` over all keys" +msgstr "" + +#: library/mailbox.rst:138 msgid "" -"Return an iterator over all keys if called as :meth:`iterkeys` or return a " -"list of keys if called as :meth:`keys`." +"The same as :meth:`iterkeys`, except that a :class:`list` is returned rather " +"than an :term:`iterator`" msgstr "" -#: library/mailbox.rst:140 +#: library/mailbox.rst:145 msgid "" -"Return an iterator over representations of all messages if called as :meth:" -"`itervalues` or :meth:`__iter__` or return a list of such representations if " -"called as :meth:`values`. The messages are represented as instances of the " -"appropriate format-specific :class:`Message` subclass unless a custom " -"message factory was specified when the :class:`Mailbox` instance was " -"initialized." +"Return an :term:`iterator` over representations of all messages. The " +"messages are represented as instances of the appropriate format-specific :" +"class:`Message` subclass unless a custom message factory was specified when " +"the :class:`!Mailbox` instance was initialized." msgstr "" -#: library/mailbox.rst:149 +#: library/mailbox.rst:153 msgid "" "The behavior of :meth:`__iter__` is unlike that of dictionaries, which " "iterate over keys." msgstr "" -#: library/mailbox.rst:156 +#: library/mailbox.rst:159 +msgid "" +"The same as :meth:`itervalues`, except that a :class:`list` is returned " +"rather than an :term:`iterator`" +msgstr "" + +#: library/mailbox.rst:165 +msgid "" +"Return an :term:`iterator` over (*key*, *message*) pairs, where *key* is a " +"key and *message* is a message representation. The messages are represented " +"as instances of the appropriate format-specific :class:`Message` subclass " +"unless a custom message factory was specified when the :class:`!Mailbox` " +"instance was initialized." +msgstr "" + +#: library/mailbox.rst:174 msgid "" -"Return an iterator over (*key*, *message*) pairs, where *key* is a key and " -"*message* is a message representation, if called as :meth:`iteritems` or " -"return a list of such pairs if called as :meth:`items`. The messages are " -"represented as instances of the appropriate format-specific :class:`Message` " -"subclass unless a custom message factory was specified when the :class:" -"`Mailbox` instance was initialized." +"The same as :meth:`iteritems`, except that a :class:`list` of pairs is " +"returned rather than an :term:`iterator` of pairs." msgstr "" -#: library/mailbox.rst:167 +#: library/mailbox.rst:181 msgid "" "Return a representation of the message corresponding to *key*. If no such " "message exists, *default* is returned if the method was called as :meth:" "`get` and a :exc:`KeyError` exception is raised if the method was called as :" -"meth:`~object.__getitem__`. The message is represented as an instance of the " +"meth:`!__getitem__`. The message is represented as an instance of the " "appropriate format-specific :class:`Message` subclass unless a custom " -"message factory was specified when the :class:`Mailbox` instance was " +"message factory was specified when the :class:`!Mailbox` instance was " "initialized." msgstr "" -#: library/mailbox.rst:178 +#: library/mailbox.rst:192 msgid "" "Return a representation of the message corresponding to *key* as an instance " "of the appropriate format-specific :class:`Message` subclass, or raise a :" "exc:`KeyError` exception if no such message exists." msgstr "" -#: library/mailbox.rst:185 +#: library/mailbox.rst:199 msgid "" "Return a byte representation of the message corresponding to *key*, or raise " "a :exc:`KeyError` exception if no such message exists." msgstr "" -#: library/mailbox.rst:193 +#: library/mailbox.rst:207 msgid "" "Return a string representation of the message corresponding to *key*, or " "raise a :exc:`KeyError` exception if no such message exists. The message is " @@ -227,62 +241,62 @@ msgid "" "clean representation." msgstr "" -#: library/mailbox.rst:201 +#: library/mailbox.rst:215 msgid "" -"Return a file-like representation of the message corresponding to *key*, or " -"raise a :exc:`KeyError` exception if no such message exists. The file-like " -"object behaves as if open in binary mode. This file should be closed once " -"it is no longer needed." +"Return a :term:`file-like ` representation of the message " +"corresponding to *key*, or raise a :exc:`KeyError` exception if no such " +"message exists. The file-like object behaves as if open in binary mode. " +"This file should be closed once it is no longer needed." msgstr "" -#: library/mailbox.rst:206 +#: library/mailbox.rst:221 msgid "" -"The file object really is a binary file; previously it was incorrectly " -"returned in text mode. Also, the file-like object now supports the context " -"management protocol: you can use a :keyword:`with` statement to " -"automatically close it." +"The file object really is a :term:`binary file`; previously it was " +"incorrectly returned in text mode. Also, the :term:`file-like object` now " +"supports the :term:`context manager` protocol: you can use a :keyword:`with` " +"statement to automatically close it." msgstr "" -#: library/mailbox.rst:214 +#: library/mailbox.rst:229 msgid "" -"Unlike other representations of messages, file-like representations are not " -"necessarily independent of the :class:`Mailbox` instance that created them " -"or of the underlying mailbox. More specific documentation is provided by " -"each subclass." +"Unlike other representations of messages, :term:`file-like ` representations are not necessarily independent of the :class:`!" +"Mailbox` instance that created them or of the underlying mailbox. More " +"specific documentation is provided by each subclass." msgstr "" -#: library/mailbox.rst:222 +#: library/mailbox.rst:238 msgid "Return ``True`` if *key* corresponds to a message, ``False`` otherwise." msgstr "" -#: library/mailbox.rst:227 +#: library/mailbox.rst:243 msgid "Return a count of messages in the mailbox." msgstr "" -#: library/mailbox.rst:232 +#: library/mailbox.rst:248 msgid "Delete all messages from the mailbox." msgstr "" -#: library/mailbox.rst:237 +#: library/mailbox.rst:253 msgid "" "Return a representation of the message corresponding to *key* and delete the " "message. If no such message exists, return *default*. The message is " "represented as an instance of the appropriate format-specific :class:" "`Message` subclass unless a custom message factory was specified when the :" -"class:`Mailbox` instance was initialized." +"class:`!Mailbox` instance was initialized." msgstr "" -#: library/mailbox.rst:246 +#: library/mailbox.rst:262 msgid "" "Return an arbitrary (*key*, *message*) pair, where *key* is a key and " "*message* is a message representation, and delete the corresponding message. " "If the mailbox is empty, raise a :exc:`KeyError` exception. The message is " "represented as an instance of the appropriate format-specific :class:" "`Message` subclass unless a custom message factory was specified when the :" -"class:`Mailbox` instance was initialized." +"class:`!Mailbox` instance was initialized." msgstr "" -#: library/mailbox.rst:256 +#: library/mailbox.rst:272 msgid "" "Parameter *arg* should be a *key*-to-*message* mapping or an iterable of " "(*key*, *message*) pairs. Updates the mailbox so that, for each given *key* " @@ -290,21 +304,21 @@ msgid "" "by using :meth:`__setitem__`. As with :meth:`__setitem__`, each *key* must " "already correspond to a message in the mailbox or else a :exc:`KeyError` " "exception will be raised, so in general it is incorrect for *arg* to be a :" -"class:`Mailbox` instance." +"class:`!Mailbox` instance." msgstr "" -#: library/mailbox.rst:266 +#: library/mailbox.rst:282 msgid "Unlike with dictionaries, keyword arguments are not supported." msgstr "" -#: library/mailbox.rst:271 +#: library/mailbox.rst:287 msgid "" "Write any pending changes to the filesystem. For some :class:`Mailbox` " -"subclasses, changes are always written immediately and :meth:`flush` does " +"subclasses, changes are always written immediately and :meth:`!flush` does " "nothing, but you should still make a habit of calling this method." msgstr "" -#: library/mailbox.rst:278 +#: library/mailbox.rst:294 msgid "" "Acquire an exclusive advisory lock on the mailbox so that other processes " "know not to modify it. An :exc:`ExternalClashError` is raised if the lock is " @@ -313,21 +327,21 @@ msgid "" "modifications to its contents." msgstr "" -#: library/mailbox.rst:287 +#: library/mailbox.rst:303 msgid "Release the lock on the mailbox, if any." msgstr "" -#: library/mailbox.rst:292 +#: library/mailbox.rst:308 msgid "" "Flush the mailbox, unlock it if necessary, and close any open files. For " -"some :class:`Mailbox` subclasses, this method does nothing." +"some :class:`!Mailbox` subclasses, this method does nothing." msgstr "" -#: library/mailbox.rst:299 -msgid ":class:`Maildir`" +#: library/mailbox.rst:315 +msgid ":class:`!Maildir` objects" msgstr "" -#: library/mailbox.rst:304 +#: library/mailbox.rst:320 msgid "" "A subclass of :class:`Mailbox` for mailboxes in Maildir format. Parameter " "*factory* is a callable object that accepts a file-like message " @@ -337,19 +351,19 @@ msgid "" "mailbox is created if it does not exist." msgstr "" -#: library/mailbox.rst:311 +#: library/mailbox.rst:327 msgid "" "If *create* is ``True`` and the *dirname* path exists, it will be treated as " "an existing maildir without attempting to verify its directory layout." msgstr "" -#: library/mailbox.rst:314 +#: library/mailbox.rst:330 msgid "" "It is for historical reasons that *dirname* is named as such rather than " "*path*." msgstr "" -#: library/mailbox.rst:316 +#: library/mailbox.rst:332 msgid "" "Maildir is a directory-based mailbox format invented for the qmail mail " "transfer agent and now widely supported by other programs. Messages in a " @@ -359,7 +373,7 @@ msgid "" "unnecessary." msgstr "" -#: library/mailbox.rst:323 +#: library/mailbox.rst:339 msgid "" "Maildir mailboxes contain three subdirectories, namely: :file:`tmp`, :file:" "`new`, and :file:`cur`. Messages are created momentarily in the :file:`tmp` " @@ -369,17 +383,18 @@ msgid "" "special \"info\" section appended to its file name." msgstr "" -#: library/mailbox.rst:330 +#: library/mailbox.rst:346 msgid "" "Folders of the style introduced by the Courier mail transfer agent are also " "supported. Any subdirectory of the main mailbox is considered a folder if " "``'.'`` is the first character in its name. Folder names are represented by :" -"class:`Maildir` without the leading ``'.'``. Each folder is itself a Maildir " -"mailbox but should not contain other folders. Instead, a logical nesting is " -"indicated using ``'.'`` to delimit levels, e.g., \"Archived.2005.07\"." +"class:`!Maildir` without the leading ``'.'``. Each folder is itself a " +"Maildir mailbox but should not contain other folders. Instead, a logical " +"nesting is indicated using ``'.'`` to delimit levels, e.g., " +"\"Archived.2005.07\"." msgstr "" -#: library/mailbox.rst:339 +#: library/mailbox.rst:355 msgid "" "The Maildir specification requires the use of a colon (``':'``) in certain " "message file names. However, some operating systems do not permit this " @@ -388,54 +403,54 @@ msgid "" "exclamation point (``'!'``) is a popular choice. For example::" msgstr "" -#: library/mailbox.rst:349 -msgid "The :attr:`colon` attribute may also be set on a per-instance basis." +#: library/mailbox.rst:365 +msgid "The :attr:`!colon` attribute may also be set on a per-instance basis." msgstr "" -#: library/mailbox.rst:351 +#: library/mailbox.rst:367 msgid "" -":class:`Maildir` instances have all of the methods of :class:`Mailbox` in " +":class:`!Maildir` instances have all of the methods of :class:`Mailbox` in " "addition to the following:" msgstr "" -#: library/mailbox.rst:529 +#: library/mailbox.rst:545 msgid "Return a list of the names of all folders." msgstr "" -#: library/mailbox.rst:362 +#: library/mailbox.rst:378 msgid "" -"Return a :class:`Maildir` instance representing the folder whose name is " +"Return a :class:`!Maildir` instance representing the folder whose name is " "*folder*. A :exc:`NoSuchMailboxError` exception is raised if the folder does " "not exist." msgstr "" -#: library/mailbox.rst:369 +#: library/mailbox.rst:385 msgid "" -"Create a folder whose name is *folder* and return a :class:`Maildir` " +"Create a folder whose name is *folder* and return a :class:`!Maildir` " "instance representing it." msgstr "" -#: library/mailbox.rst:547 +#: library/mailbox.rst:563 msgid "" "Delete the folder whose name is *folder*. If the folder contains any " "messages, a :exc:`NotEmptyError` exception will be raised and the folder " "will not be deleted." msgstr "" -#: library/mailbox.rst:382 +#: library/mailbox.rst:398 msgid "" "Delete temporary files from the mailbox that have not been accessed in the " "last 36 hours. The Maildir specification says that mail-reading programs " "should do this occasionally." msgstr "" -#: library/mailbox.rst:386 +#: library/mailbox.rst:402 msgid "" -"Some :class:`Mailbox` methods implemented by :class:`Maildir` deserve " +"Some :class:`Mailbox` methods implemented by :class:`!Maildir` deserve " "special remarks:" msgstr "" -#: library/mailbox.rst:396 +#: library/mailbox.rst:412 msgid "" "These methods generate unique file names based upon the current process ID. " "When using multiple threads, undetected name clashes may occur and cause " @@ -443,56 +458,56 @@ msgid "" "these methods to manipulate the same mailbox simultaneously." msgstr "" -#: library/mailbox.rst:404 +#: library/mailbox.rst:420 msgid "" "All changes to Maildir mailboxes are immediately applied, so this method " "does nothing." msgstr "" -#: library/mailbox.rst:411 +#: library/mailbox.rst:427 msgid "" "Maildir mailboxes do not support (or require) locking, so these methods do " "nothing." msgstr "" -#: library/mailbox.rst:417 +#: library/mailbox.rst:433 msgid "" -":class:`Maildir` instances do not keep any open files and the underlying " +":class:`!Maildir` instances do not keep any open files and the underlying " "mailboxes do not support locking, so this method does nothing." msgstr "" -#: library/mailbox.rst:423 +#: library/mailbox.rst:439 msgid "" "Depending upon the host platform, it may not be possible to modify or remove " "the underlying message while the returned file remains open." msgstr "" -#: library/mailbox.rst:431 +#: library/mailbox.rst:447 msgid "" "`maildir man page from Courier `_" msgstr "" -#: library/mailbox.rst:430 +#: library/mailbox.rst:446 msgid "" "A specification of the format. Describes a common extension for supporting " "folders." msgstr "" -#: library/mailbox.rst:434 +#: library/mailbox.rst:450 msgid "`Using maildir format `_" msgstr "" -#: library/mailbox.rst:434 +#: library/mailbox.rst:450 msgid "" "Notes on Maildir by its inventor. Includes an updated name-creation scheme " "and details on \"info\" semantics." msgstr "" -#: library/mailbox.rst:441 -msgid ":class:`mbox`" +#: library/mailbox.rst:457 +msgid ":class:`!mbox` objects" msgstr "" -#: library/mailbox.rst:446 +#: library/mailbox.rst:462 msgid "" "A subclass of :class:`Mailbox` for mailboxes in mbox format. Parameter " "*factory* is a callable object that accepts a file-like message " @@ -502,7 +517,7 @@ msgid "" "mailbox is created if it does not exist." msgstr "" -#: library/mailbox.rst:453 +#: library/mailbox.rst:469 msgid "" "The mbox format is the classic format for storing mail on Unix systems. All " "messages in an mbox mailbox are stored in a single file with the beginning " @@ -510,71 +525,72 @@ msgid "" "\"." msgstr "" -#: library/mailbox.rst:457 +#: library/mailbox.rst:473 msgid "" "Several variations of the mbox format exist to address perceived " -"shortcomings in the original. In the interest of compatibility, :class:" -"`mbox` implements the original format, which is sometimes referred to as :" -"dfn:`mboxo`. This means that the :mailheader:`Content-Length` header, if " +"shortcomings in the original. In the interest of compatibility, :class:`!" +"mbox` implements the original format, which is sometimes referred to as :dfn:" +"`mboxo`. This means that the :mailheader:`Content-Length` header, if " "present, is ignored and that any occurrences of \"From \" at the beginning " "of a line in a message body are transformed to \">From \" when storing the " "message, although occurrences of \">From \" are not transformed to \"From \" " "when reading the message." msgstr "" -#: library/mailbox.rst:465 +#: library/mailbox.rst:481 msgid "" -"Some :class:`Mailbox` methods implemented by :class:`mbox` deserve special " +"Some :class:`Mailbox` methods implemented by :class:`!mbox` deserve special " "remarks:" msgstr "" -#: library/mailbox.rst:471 +#: library/mailbox.rst:487 msgid "" -"Using the file after calling :meth:`flush` or :meth:`close` on the :class:" -"`mbox` instance may yield unpredictable results or raise an exception." +"Using the file after calling :meth:`~Mailbox.flush` or :meth:`~Mailbox." +"close` on the :class:`!mbox` instance may yield unpredictable results or " +"raise an exception." msgstr "" -#: library/mailbox.rst:688 library/mailbox.rst:739 +#: library/mailbox.rst:704 library/mailbox.rst:755 msgid "" "Three locking mechanisms are used---dot locking and, if available, the :c:" "func:`!flock` and :c:func:`!lockf` system calls." msgstr "" -#: library/mailbox.rst:486 +#: library/mailbox.rst:502 msgid "" "`mbox man page from tin `_" msgstr "" -#: library/mailbox.rst:486 +#: library/mailbox.rst:502 msgid "A specification of the format, with details on locking." msgstr "" -#: library/mailbox.rst:489 +#: library/mailbox.rst:505 msgid "" "`Configuring Netscape Mail on Unix: Why The Content-Length Format is Bad " "`_" msgstr "" -#: library/mailbox.rst:489 +#: library/mailbox.rst:505 msgid "An argument for using the original mbox format rather than a variation." msgstr "" -#: library/mailbox.rst:491 +#: library/mailbox.rst:507 msgid "" "`\"mbox\" is a family of several mutually incompatible mailbox formats " "`_" msgstr "" -#: library/mailbox.rst:492 +#: library/mailbox.rst:508 msgid "A history of mbox variations." msgstr "" -#: library/mailbox.rst:498 -msgid ":class:`MH`" +#: library/mailbox.rst:514 +msgid ":class:`!MH` objects" msgstr "" -#: library/mailbox.rst:503 +#: library/mailbox.rst:519 msgid "" "A subclass of :class:`Mailbox` for mailboxes in MH format. Parameter " "*factory* is a callable object that accepts a file-like message " @@ -584,7 +600,7 @@ msgid "" "is created if it does not exist." msgstr "" -#: library/mailbox.rst:510 +#: library/mailbox.rst:526 msgid "" "MH is a directory-based mailbox format invented for the MH Message Handling " "System, a mail user agent. Each message in an MH mailbox resides in its own " @@ -595,71 +611,71 @@ msgid "" "called :file:`.mh_sequences` in each folder." msgstr "" -#: library/mailbox.rst:518 +#: library/mailbox.rst:534 msgid "" -"The :class:`MH` class manipulates MH mailboxes, but it does not attempt to " +"The :class:`!MH` class manipulates MH mailboxes, but it does not attempt to " "emulate all of :program:`mh`'s behaviors. In particular, it does not modify " "and is not affected by the :file:`context` or :file:`.mh_profile` files that " "are used by :program:`mh` to store its state and configuration." msgstr "" -#: library/mailbox.rst:523 +#: library/mailbox.rst:539 msgid "" -":class:`MH` instances have all of the methods of :class:`Mailbox` in " +":class:`!MH` instances have all of the methods of :class:`Mailbox` in " "addition to the following:" msgstr "" -#: library/mailbox.rst:534 +#: library/mailbox.rst:550 msgid "" -"Return an :class:`MH` instance representing the folder whose name is " +"Return an :class:`!MH` instance representing the folder whose name is " "*folder*. A :exc:`NoSuchMailboxError` exception is raised if the folder does " "not exist." msgstr "" -#: library/mailbox.rst:541 +#: library/mailbox.rst:557 msgid "" -"Create a folder whose name is *folder* and return an :class:`MH` instance " +"Create a folder whose name is *folder* and return an :class:`!MH` instance " "representing it." msgstr "" -#: library/mailbox.rst:554 +#: library/mailbox.rst:570 msgid "" "Return a dictionary of sequence names mapped to key lists. If there are no " "sequences, the empty dictionary is returned." msgstr "" -#: library/mailbox.rst:560 +#: library/mailbox.rst:576 msgid "" "Re-define the sequences that exist in the mailbox based upon *sequences*, a " "dictionary of names mapped to key lists, like returned by :meth:" "`get_sequences`." msgstr "" -#: library/mailbox.rst:567 +#: library/mailbox.rst:583 msgid "" "Rename messages in the mailbox as necessary to eliminate gaps in numbering. " "Entries in the sequences list are updated correspondingly." msgstr "" -#: library/mailbox.rst:572 +#: library/mailbox.rst:588 msgid "" "Already-issued keys are invalidated by this operation and should not be " "subsequently used." msgstr "" -#: library/mailbox.rst:575 +#: library/mailbox.rst:591 msgid "" -"Some :class:`Mailbox` methods implemented by :class:`MH` deserve special " +"Some :class:`Mailbox` methods implemented by :class:`!MH` deserve special " "remarks:" msgstr "" -#: library/mailbox.rst:583 +#: library/mailbox.rst:599 msgid "" "These methods immediately delete the message. The MH convention of marking a " "message for deletion by prepending a comma to its name is not used." msgstr "" -#: library/mailbox.rst:590 +#: library/mailbox.rst:606 msgid "" "Three locking mechanisms are used---dot locking and, if available, the :c:" "func:`!flock` and :c:func:`!lockf` system calls. For MH mailboxes, locking " @@ -668,51 +684,51 @@ msgid "" "files." msgstr "" -#: library/mailbox.rst:599 +#: library/mailbox.rst:615 msgid "" "Depending upon the host platform, it may not be possible to remove the " "underlying message while the returned file remains open." msgstr "" -#: library/mailbox.rst:605 +#: library/mailbox.rst:621 msgid "" "All changes to MH mailboxes are immediately applied, so this method does " "nothing." msgstr "" -#: library/mailbox.rst:611 +#: library/mailbox.rst:627 msgid "" -":class:`MH` instances do not keep any open files, so this method is " +":class:`!MH` instances do not keep any open files, so this method is " "equivalent to :meth:`unlock`." msgstr "" -#: library/mailbox.rst:618 +#: library/mailbox.rst:634 msgid "`nmh - Message Handling System `_" msgstr "" -#: library/mailbox.rst:618 +#: library/mailbox.rst:634 msgid "" "Home page of :program:`nmh`, an updated version of the original :program:" "`mh`." msgstr "" -#: library/mailbox.rst:621 +#: library/mailbox.rst:637 msgid "" "`MH & nmh: Email for Users & Programmers `_" msgstr "" -#: library/mailbox.rst:621 +#: library/mailbox.rst:637 msgid "" "A GPL-licensed book on :program:`mh` and :program:`nmh`, with some " "information on the mailbox format." msgstr "" -#: library/mailbox.rst:628 -msgid ":class:`Babyl`" +#: library/mailbox.rst:644 +msgid ":class:`!Babyl` objects" msgstr "" -#: library/mailbox.rst:633 +#: library/mailbox.rst:649 msgid "" "A subclass of :class:`Mailbox` for mailboxes in Babyl format. Parameter " "*factory* is a callable object that accepts a file-like message " @@ -722,7 +738,7 @@ msgid "" "mailbox is created if it does not exist." msgstr "" -#: library/mailbox.rst:640 +#: library/mailbox.rst:656 msgid "" "Babyl is a single-file mailbox format used by the Rmail mail user agent " "included with Emacs. The beginning of a message is indicated by a line " @@ -732,7 +748,7 @@ msgid "" "Underscore (``'\\037'``) character." msgstr "" -#: library/mailbox.rst:647 +#: library/mailbox.rst:663 msgid "" "Messages in a Babyl mailbox have two sets of headers, original headers and " "so-called visible headers. Visible headers are typically a subset of the " @@ -743,31 +759,31 @@ msgid "" "in the Babyl options section." msgstr "" -#: library/mailbox.rst:655 +#: library/mailbox.rst:671 msgid "" -":class:`Babyl` instances have all of the methods of :class:`Mailbox` in " +":class:`!Babyl` instances have all of the methods of :class:`Mailbox` in " "addition to the following:" msgstr "" -#: library/mailbox.rst:661 +#: library/mailbox.rst:677 msgid "" "Return a list of the names of all user-defined labels used in the mailbox." msgstr "" -#: library/mailbox.rst:665 +#: library/mailbox.rst:681 msgid "" "The actual messages are inspected to determine which labels exist in the " "mailbox rather than consulting the list of labels in the Babyl options " "section, but the Babyl section is updated whenever the mailbox is modified." msgstr "" -#: library/mailbox.rst:670 +#: library/mailbox.rst:686 msgid "" -"Some :class:`Mailbox` methods implemented by :class:`Babyl` deserve special " +"Some :class:`Mailbox` methods implemented by :class:`!Babyl` deserve special " "remarks:" msgstr "" -#: library/mailbox.rst:676 +#: library/mailbox.rst:692 msgid "" "In Babyl mailboxes, the headers of a message are not stored contiguously " "with the body of the message. To generate a file-like representation, the " @@ -777,30 +793,30 @@ msgid "" "memory compared to a string representation." msgstr "" -#: library/mailbox.rst:695 +#: library/mailbox.rst:711 msgid "" "`Format of Version 5 Babyl Files `_" msgstr "" -#: library/mailbox.rst:695 +#: library/mailbox.rst:711 msgid "A specification of the Babyl format." msgstr "" -#: library/mailbox.rst:697 +#: library/mailbox.rst:713 msgid "" "`Reading Mail with Rmail `_" msgstr "" -#: library/mailbox.rst:698 +#: library/mailbox.rst:714 msgid "The Rmail manual, with some information on Babyl semantics." msgstr "" -#: library/mailbox.rst:704 -msgid ":class:`MMDF`" +#: library/mailbox.rst:720 +msgid ":class:`!MMDF` objects" msgstr "" -#: library/mailbox.rst:709 +#: library/mailbox.rst:725 msgid "" "A subclass of :class:`Mailbox` for mailboxes in MMDF format. Parameter " "*factory* is a callable object that accepts a file-like message " @@ -810,7 +826,7 @@ msgid "" "mailbox is created if it does not exist." msgstr "" -#: library/mailbox.rst:716 +#: library/mailbox.rst:732 msgid "" "MMDF is a single-file mailbox format invented for the Multichannel " "Memorandum Distribution Facility, a mail transfer agent. Each message is in " @@ -823,63 +839,64 @@ msgid "" "subsequent messages." msgstr "" -#: library/mailbox.rst:725 +#: library/mailbox.rst:741 msgid "" -"Some :class:`Mailbox` methods implemented by :class:`MMDF` deserve special " +"Some :class:`Mailbox` methods implemented by :class:`!MMDF` deserve special " "remarks:" msgstr "" -#: library/mailbox.rst:731 +#: library/mailbox.rst:747 msgid "" -"Using the file after calling :meth:`flush` or :meth:`close` on the :class:" -"`MMDF` instance may yield unpredictable results or raise an exception." +"Using the file after calling :meth:`~Mailbox.flush` or :meth:`~Mailbox." +"close` on the :class:`!MMDF` instance may yield unpredictable results or " +"raise an exception." msgstr "" -#: library/mailbox.rst:746 +#: library/mailbox.rst:762 msgid "" "`mmdf man page from tin `_" msgstr "" -#: library/mailbox.rst:746 +#: library/mailbox.rst:762 msgid "" "A specification of MMDF format from the documentation of tin, a newsreader." msgstr "" -#: library/mailbox.rst:749 +#: library/mailbox.rst:765 msgid "`MMDF `_" msgstr "" -#: library/mailbox.rst:749 +#: library/mailbox.rst:765 msgid "" "A Wikipedia article describing the Multichannel Memorandum Distribution " "Facility." msgstr "" -#: library/mailbox.rst:756 -msgid ":class:`Message` objects" +#: library/mailbox.rst:772 +msgid ":class:`!Message` objects" msgstr "" -#: library/mailbox.rst:761 +#: library/mailbox.rst:777 msgid "" "A subclass of the :mod:`email.message` module's :class:`~email.message." -"Message`. Subclasses of :class:`mailbox.Message` add mailbox-format-specific " -"state and behavior." +"Message`. Subclasses of :class:`!mailbox.Message` add mailbox-format-" +"specific state and behavior." msgstr "" -#: library/mailbox.rst:765 +#: library/mailbox.rst:781 msgid "" "If *message* is omitted, the new instance is created in a default, empty " "state. If *message* is an :class:`email.message.Message` instance, its " "contents are copied; furthermore, any format-specific information is " -"converted insofar as possible if *message* is a :class:`Message` instance. " +"converted insofar as possible if *message* is a :class:`!Message` instance. " "If *message* is a string, a byte string, or a file, it should contain an :" "rfc:`2822`\\ -compliant message, which is read and parsed. Files should be " "open in binary mode, but text mode files are accepted for backward " "compatibility." msgstr "" -#: library/mailbox.rst:774 +#: library/mailbox.rst:790 msgid "" "The format-specific state and behaviors offered by subclasses vary, but in " "general it is only the properties that are not specific to a particular " @@ -891,27 +908,28 @@ msgid "" "important is retained, because it applies to the message itself." msgstr "" -#: library/mailbox.rst:783 +#: library/mailbox.rst:799 msgid "" -"There is no requirement that :class:`Message` instances be used to represent " -"messages retrieved using :class:`Mailbox` instances. In some situations, the " -"time and memory required to generate :class:`Message` representations might " -"not be acceptable. For such situations, :class:`Mailbox` instances also " -"offer string and file-like representations, and a custom message factory may " -"be specified when a :class:`Mailbox` instance is initialized." +"There is no requirement that :class:`!Message` instances be used to " +"represent messages retrieved using :class:`Mailbox` instances. In some " +"situations, the time and memory required to generate :class:`!Message` " +"representations might not be acceptable. For such situations, :class:`!" +"Mailbox` instances also offer string and file-like representations, and a " +"custom message factory may be specified when a :class:`!Mailbox` instance is " +"initialized." msgstr "" -#: library/mailbox.rst:794 -msgid ":class:`MaildirMessage`" +#: library/mailbox.rst:810 +msgid ":class:`!MaildirMessage` objects" msgstr "" -#: library/mailbox.rst:799 +#: library/mailbox.rst:815 msgid "" "A message with Maildir-specific behaviors. Parameter *message* has the same " "meaning as with the :class:`Message` constructor." msgstr "" -#: library/mailbox.rst:802 +#: library/mailbox.rst:818 msgid "" "Typically, a mail user agent application moves all of the messages in the :" "file:`new` subdirectory to the :file:`cur` subdirectory after the first time " @@ -925,115 +943,115 @@ msgid "" "flags for Maildir messages are as follows:" msgstr "" -#: library/mailbox.rst:981 library/mailbox.rst:1351 +#: library/mailbox.rst:997 library/mailbox.rst:1368 msgid "Flag" msgstr "" -#: library/mailbox.rst:981 library/mailbox.rst:1351 +#: library/mailbox.rst:997 library/mailbox.rst:1368 msgid "Meaning" msgstr "" -#: library/mailbox.rst:981 library/mailbox.rst:1218 library/mailbox.rst:1351 +#: library/mailbox.rst:997 library/mailbox.rst:1235 library/mailbox.rst:1368 msgid "Explanation" msgstr "" -#: library/mailbox.rst:987 library/mailbox.rst:1357 +#: library/mailbox.rst:1003 library/mailbox.rst:1374 msgid "D" msgstr "" -#: library/mailbox.rst:816 +#: library/mailbox.rst:832 msgid "Draft" msgstr "" -#: library/mailbox.rst:816 +#: library/mailbox.rst:832 msgid "Under composition" msgstr "" -#: library/mailbox.rst:989 library/mailbox.rst:1359 +#: library/mailbox.rst:1005 library/mailbox.rst:1376 msgid "F" msgstr "" -#: library/mailbox.rst:989 library/mailbox.rst:1359 +#: library/mailbox.rst:1005 library/mailbox.rst:1376 msgid "Flagged" msgstr "" -#: library/mailbox.rst:989 library/mailbox.rst:1359 +#: library/mailbox.rst:1005 library/mailbox.rst:1376 msgid "Marked as important" msgstr "" -#: library/mailbox.rst:820 +#: library/mailbox.rst:836 msgid "P" msgstr "" -#: library/mailbox.rst:820 +#: library/mailbox.rst:836 msgid "Passed" msgstr "" -#: library/mailbox.rst:820 +#: library/mailbox.rst:836 msgid "Forwarded, resent, or bounced" msgstr "" -#: library/mailbox.rst:983 library/mailbox.rst:1353 +#: library/mailbox.rst:999 library/mailbox.rst:1370 msgid "R" msgstr "" -#: library/mailbox.rst:822 +#: library/mailbox.rst:838 msgid "Replied" msgstr "" -#: library/mailbox.rst:991 library/mailbox.rst:1226 library/mailbox.rst:1361 +#: library/mailbox.rst:1007 library/mailbox.rst:1243 library/mailbox.rst:1378 msgid "Replied to" msgstr "" -#: library/mailbox.rst:824 +#: library/mailbox.rst:840 msgid "S" msgstr "" -#: library/mailbox.rst:824 +#: library/mailbox.rst:840 msgid "Seen" msgstr "" -#: library/mailbox.rst:983 library/mailbox.rst:1353 +#: library/mailbox.rst:999 library/mailbox.rst:1370 msgid "Read" msgstr "" -#: library/mailbox.rst:826 +#: library/mailbox.rst:842 msgid "T" msgstr "" -#: library/mailbox.rst:826 +#: library/mailbox.rst:842 msgid "Trashed" msgstr "" -#: library/mailbox.rst:987 library/mailbox.rst:1357 +#: library/mailbox.rst:1003 library/mailbox.rst:1374 msgid "Marked for subsequent deletion" msgstr "" -#: library/mailbox.rst:829 -msgid ":class:`MaildirMessage` instances offer the following methods:" +#: library/mailbox.rst:845 +msgid ":class:`!MaildirMessage` instances offer the following methods:" msgstr "" -#: library/mailbox.rst:834 +#: library/mailbox.rst:850 msgid "" "Return either \"new\" (if the message should be stored in the :file:`new` " "subdirectory) or \"cur\" (if the message should be stored in the :file:`cur` " "subdirectory)." msgstr "" -#: library/mailbox.rst:840 +#: library/mailbox.rst:856 msgid "" "A message is typically moved from :file:`new` to :file:`cur` after its " "mailbox has been accessed, whether or not the message is has been read. A " "message ``msg`` has been read if ``\"S\" in msg.get_flags()`` is ``True``." msgstr "" -#: library/mailbox.rst:848 +#: library/mailbox.rst:864 msgid "" "Set the subdirectory the message should be stored in. Parameter *subdir* " "must be either \"new\" or \"cur\"." msgstr "" -#: library/mailbox.rst:854 +#: library/mailbox.rst:870 msgid "" "Return a string specifying the flags that are currently set. If the message " "complies with the standard Maildir format, the result is the concatenation " @@ -1042,11 +1060,11 @@ msgid "" "flags are set or if \"info\" contains experimental semantics." msgstr "" -#: library/mailbox.rst:864 +#: library/mailbox.rst:880 msgid "Set the flags specified by *flags* and unset all others." msgstr "" -#: library/mailbox.rst:869 +#: library/mailbox.rst:885 msgid "" "Set the flag(s) specified by *flag* without changing other flags. To add " "more than one flag at a time, *flag* may be a string of more than one " @@ -1054,7 +1072,7 @@ msgid "" "experimental information rather than flags." msgstr "" -#: library/mailbox.rst:877 +#: library/mailbox.rst:893 msgid "" "Unset the flag(s) specified by *flag* without changing other flags. To " "remove more than one flag at a time, *flag* maybe a string of more than one " @@ -1062,163 +1080,163 @@ msgid "" "the current \"info\" is not modified." msgstr "" -#: library/mailbox.rst:885 +#: library/mailbox.rst:901 msgid "" "Return the delivery date of the message as a floating-point number " "representing seconds since the epoch." msgstr "" -#: library/mailbox.rst:891 +#: library/mailbox.rst:907 msgid "" "Set the delivery date of the message to *date*, a floating-point number " "representing seconds since the epoch." msgstr "" -#: library/mailbox.rst:897 +#: library/mailbox.rst:913 msgid "" "Return a string containing the \"info\" for a message. This is useful for " "accessing and modifying \"info\" that is experimental (i.e., not a list of " "flags)." msgstr "" -#: library/mailbox.rst:904 +#: library/mailbox.rst:920 msgid "Set \"info\" to *info*, which should be a string." msgstr "" -#: library/mailbox.rst:906 +#: library/mailbox.rst:922 msgid "" -"When a :class:`MaildirMessage` instance is created based upon an :class:" +"When a :class:`!MaildirMessage` instance is created based upon an :class:" "`mboxMessage` or :class:`MMDFMessage` instance, the :mailheader:`Status` " "and :mailheader:`X-Status` headers are omitted and the following conversions " "take place:" msgstr "" -#: library/mailbox.rst:930 library/mailbox.rst:1052 library/mailbox.rst:1084 -#: library/mailbox.rst:1166 library/mailbox.rst:1195 library/mailbox.rst:1309 -#: library/mailbox.rst:1423 library/mailbox.rst:1455 library/mailbox.rst:1471 +#: library/mailbox.rst:946 library/mailbox.rst:1068 library/mailbox.rst:1100 +#: library/mailbox.rst:1183 library/mailbox.rst:1212 library/mailbox.rst:1326 +#: library/mailbox.rst:1440 library/mailbox.rst:1472 library/mailbox.rst:1488 msgid "Resulting state" msgstr "" -#: library/mailbox.rst:1181 library/mailbox.rst:1309 +#: library/mailbox.rst:1198 library/mailbox.rst:1326 msgid ":class:`mboxMessage` or :class:`MMDFMessage` state" msgstr "" -#: library/mailbox.rst:932 library/mailbox.rst:1056 library/mailbox.rst:1427 +#: library/mailbox.rst:948 library/mailbox.rst:1072 library/mailbox.rst:1444 msgid "\"cur\" subdirectory" msgstr "" -#: library/mailbox.rst:1056 library/mailbox.rst:1088 library/mailbox.rst:1427 -#: library/mailbox.rst:1459 library/mailbox.rst:1475 +#: library/mailbox.rst:1072 library/mailbox.rst:1104 library/mailbox.rst:1444 +#: library/mailbox.rst:1476 library/mailbox.rst:1492 msgid "O flag" msgstr "" -#: library/mailbox.rst:936 library/mailbox.rst:1075 library/mailbox.rst:1172 -#: library/mailbox.rst:1431 library/mailbox.rst:1479 +#: library/mailbox.rst:952 library/mailbox.rst:1091 library/mailbox.rst:1189 +#: library/mailbox.rst:1448 library/mailbox.rst:1496 msgid "F flag" msgstr "" -#: library/mailbox.rst:921 library/mailbox.rst:953 library/mailbox.rst:1062 -#: library/mailbox.rst:1170 library/mailbox.rst:1425 library/mailbox.rst:1473 +#: library/mailbox.rst:937 library/mailbox.rst:969 library/mailbox.rst:1078 +#: library/mailbox.rst:1187 library/mailbox.rst:1442 library/mailbox.rst:1490 msgid "R flag" msgstr "" -#: library/mailbox.rst:1062 library/mailbox.rst:1092 library/mailbox.rst:1186 -#: library/mailbox.rst:1433 library/mailbox.rst:1463 library/mailbox.rst:1481 +#: library/mailbox.rst:1078 library/mailbox.rst:1108 library/mailbox.rst:1203 +#: library/mailbox.rst:1450 library/mailbox.rst:1480 library/mailbox.rst:1498 msgid "A flag" msgstr "" -#: library/mailbox.rst:1054 library/mailbox.rst:1425 +#: library/mailbox.rst:1070 library/mailbox.rst:1442 msgid "S flag" msgstr "" -#: library/mailbox.rst:955 library/mailbox.rst:1296 library/mailbox.rst:1429 +#: library/mailbox.rst:971 library/mailbox.rst:1313 library/mailbox.rst:1446 msgid "T flag" msgstr "" -#: library/mailbox.rst:1058 library/mailbox.rst:1105 library/mailbox.rst:1429 -#: library/mailbox.rst:1477 +#: library/mailbox.rst:1074 library/mailbox.rst:1122 library/mailbox.rst:1446 +#: library/mailbox.rst:1494 msgid "D flag" msgstr "" -#: library/mailbox.rst:926 +#: library/mailbox.rst:942 msgid "" -"When a :class:`MaildirMessage` instance is created based upon an :class:" +"When a :class:`!MaildirMessage` instance is created based upon an :class:" "`MHMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1069 library/mailbox.rst:1440 +#: library/mailbox.rst:1085 library/mailbox.rst:1457 msgid ":class:`MHMessage` state" msgstr "" -#: library/mailbox.rst:1073 library/mailbox.rst:1184 library/mailbox.rst:1325 -#: library/mailbox.rst:1444 +#: library/mailbox.rst:1089 library/mailbox.rst:1201 library/mailbox.rst:1342 +#: library/mailbox.rst:1461 msgid "\"unseen\" sequence" msgstr "" -#: library/mailbox.rst:949 +#: library/mailbox.rst:965 msgid "\"cur\" subdirectory and S flag" msgstr "" -#: library/mailbox.rst:1071 library/mailbox.rst:1442 +#: library/mailbox.rst:1087 library/mailbox.rst:1459 msgid "no \"unseen\" sequence" msgstr "" -#: library/mailbox.rst:1075 library/mailbox.rst:1188 library/mailbox.rst:1446 +#: library/mailbox.rst:1091 library/mailbox.rst:1205 library/mailbox.rst:1463 msgid "\"flagged\" sequence" msgstr "" -#: library/mailbox.rst:1077 library/mailbox.rst:1186 library/mailbox.rst:1327 -#: library/mailbox.rst:1448 +#: library/mailbox.rst:1093 library/mailbox.rst:1203 library/mailbox.rst:1344 +#: library/mailbox.rst:1465 msgid "\"replied\" sequence" msgstr "" -#: library/mailbox.rst:941 +#: library/mailbox.rst:957 msgid "" -"When a :class:`MaildirMessage` instance is created based upon a :class:" +"When a :class:`!MaildirMessage` instance is created based upon a :class:" "`BabylMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1084 library/mailbox.rst:1455 +#: library/mailbox.rst:1100 library/mailbox.rst:1472 msgid ":class:`BabylMessage` state" msgstr "" -#: library/mailbox.rst:1088 library/mailbox.rst:1294 library/mailbox.rst:1325 -#: library/mailbox.rst:1459 +#: library/mailbox.rst:1104 library/mailbox.rst:1311 library/mailbox.rst:1342 +#: library/mailbox.rst:1476 msgid "\"unseen\" label" msgstr "" -#: library/mailbox.rst:1086 library/mailbox.rst:1457 +#: library/mailbox.rst:1102 library/mailbox.rst:1474 msgid "no \"unseen\" label" msgstr "" -#: library/mailbox.rst:1300 +#: library/mailbox.rst:1317 msgid "P flag" msgstr "" -#: library/mailbox.rst:951 +#: library/mailbox.rst:967 msgid "\"forwarded\" or \"resent\" label" msgstr "" -#: library/mailbox.rst:1092 library/mailbox.rst:1298 library/mailbox.rst:1327 -#: library/mailbox.rst:1463 +#: library/mailbox.rst:1108 library/mailbox.rst:1315 library/mailbox.rst:1344 +#: library/mailbox.rst:1480 msgid "\"answered\" label" msgstr "" -#: library/mailbox.rst:1090 library/mailbox.rst:1314 library/mailbox.rst:1461 +#: library/mailbox.rst:1106 library/mailbox.rst:1331 library/mailbox.rst:1478 msgid "\"deleted\" label" msgstr "" -#: library/mailbox.rst:962 -msgid ":class:`mboxMessage`" +#: library/mailbox.rst:978 +msgid ":class:`!mboxMessage` objects" msgstr "" -#: library/mailbox.rst:967 +#: library/mailbox.rst:983 msgid "" "A message with mbox-specific behaviors. Parameter *message* has the same " "meaning as with the :class:`Message` constructor." msgstr "" -#: library/mailbox.rst:970 +#: library/mailbox.rst:986 msgid "" "Messages in an mbox mailbox are stored together in a single file. The " "sender's envelope address and the time of delivery are typically stored in a " @@ -1229,53 +1247,53 @@ msgid "" "typically stored in :mailheader:`Status` and :mailheader:`X-Status` headers." msgstr "" -#: library/mailbox.rst:978 +#: library/mailbox.rst:994 msgid "Conventional flags for mbox messages are as follows:" msgstr "" -#: library/mailbox.rst:1355 +#: library/mailbox.rst:1372 msgid "O" msgstr "" -#: library/mailbox.rst:1355 +#: library/mailbox.rst:1372 msgid "Old" msgstr "" -#: library/mailbox.rst:1355 +#: library/mailbox.rst:1372 msgid "Previously detected by MUA" msgstr "" -#: library/mailbox.rst:1357 +#: library/mailbox.rst:1374 msgid "Deleted" msgstr "" -#: library/mailbox.rst:1361 +#: library/mailbox.rst:1378 msgid "A" msgstr "" -#: library/mailbox.rst:1361 +#: library/mailbox.rst:1378 msgid "Answered" msgstr "" -#: library/mailbox.rst:1364 +#: library/mailbox.rst:1381 msgid "" "The \"R\" and \"O\" flags are stored in the :mailheader:`Status` header, and " "the \"D\", \"F\", and \"A\" flags are stored in the :mailheader:`X-Status` " "header. The flags and headers typically appear in the order mentioned." msgstr "" -#: library/mailbox.rst:998 -msgid ":class:`mboxMessage` instances offer the following methods:" +#: library/mailbox.rst:1014 +msgid ":class:`!mboxMessage` instances offer the following methods:" msgstr "" -#: library/mailbox.rst:1374 +#: library/mailbox.rst:1391 msgid "" "Return a string representing the \"From \" line that marks the start of the " "message in an mbox mailbox. The leading \"From \" and the trailing newline " "are excluded." msgstr "" -#: library/mailbox.rst:1381 +#: library/mailbox.rst:1398 msgid "" "Set the \"From \" line to *from_*, which should be specified without a " "leading \"From \" or trailing newline. For convenience, *time_* may be " @@ -1285,7 +1303,7 @@ msgid "" "meth:`time.gmtime`)." msgstr "" -#: library/mailbox.rst:1391 +#: library/mailbox.rst:1408 msgid "" "Return a string specifying the flags that are currently set. If the message " "complies with the conventional format, the result is the concatenation in " @@ -1293,77 +1311,77 @@ msgid "" "``'D'``, ``'F'``, and ``'A'``." msgstr "" -#: library/mailbox.rst:1399 +#: library/mailbox.rst:1416 msgid "" "Set the flags specified by *flags* and unset all others. Parameter *flags* " "should be the concatenation in any order of zero or more occurrences of each " "of ``'R'``, ``'O'``, ``'D'``, ``'F'``, and ``'A'``." msgstr "" -#: library/mailbox.rst:1406 +#: library/mailbox.rst:1423 msgid "" "Set the flag(s) specified by *flag* without changing other flags. To add " "more than one flag at a time, *flag* may be a string of more than one " "character." msgstr "" -#: library/mailbox.rst:1413 +#: library/mailbox.rst:1430 msgid "" "Unset the flag(s) specified by *flag* without changing other flags. To " "remove more than one flag at a time, *flag* maybe a string of more than one " "character." msgstr "" -#: library/mailbox.rst:1046 +#: library/mailbox.rst:1062 msgid "" -"When an :class:`mboxMessage` instance is created based upon a :class:" +"When an :class:`!mboxMessage` instance is created based upon a :class:" "`MaildirMessage` instance, a \"From \" line is generated based upon the :" "class:`MaildirMessage` instance's delivery date, and the following " "conversions take place:" msgstr "" -#: library/mailbox.rst:1166 library/mailbox.rst:1423 +#: library/mailbox.rst:1183 library/mailbox.rst:1440 msgid ":class:`MaildirMessage` state" msgstr "" -#: library/mailbox.rst:1065 +#: library/mailbox.rst:1081 msgid "" -"When an :class:`mboxMessage` instance is created based upon an :class:" +"When an :class:`!mboxMessage` instance is created based upon an :class:" "`MHMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1086 library/mailbox.rst:1457 +#: library/mailbox.rst:1102 library/mailbox.rst:1474 msgid "R flag and O flag" msgstr "" -#: library/mailbox.rst:1080 +#: library/mailbox.rst:1096 msgid "" -"When an :class:`mboxMessage` instance is created based upon a :class:" +"When an :class:`!mboxMessage` instance is created based upon a :class:" "`BabylMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1095 +#: library/mailbox.rst:1111 msgid "" -"When a :class:`Message` instance is created based upon an :class:" +"When a :class:`!mboxMessage` instance is created based upon an :class:" "`MMDFMessage` instance, the \"From \" line is copied and all flags directly " "correspond:" msgstr "" -#: library/mailbox.rst:1099 +#: library/mailbox.rst:1116 msgid ":class:`MMDFMessage` state" msgstr "" -#: library/mailbox.rst:1116 -msgid ":class:`MHMessage`" +#: library/mailbox.rst:1133 +msgid ":class:`!MHMessage` objects" msgstr "" -#: library/mailbox.rst:1121 +#: library/mailbox.rst:1138 msgid "" "A message with MH-specific behaviors. Parameter *message* has the same " "meaning as with the :class:`Message` constructor." msgstr "" -#: library/mailbox.rst:1124 +#: library/mailbox.rst:1141 msgid "" "MH messages do not support marks or flags in the traditional sense, but they " "do support sequences, which are logical groupings of arbitrary messages. " @@ -1372,168 +1390,168 @@ msgid "" "formats, as follows:" msgstr "" -#: library/mailbox.rst:1131 +#: library/mailbox.rst:1148 msgid "Sequence" msgstr "" -#: library/mailbox.rst:1220 +#: library/mailbox.rst:1237 msgid "unseen" msgstr "" -#: library/mailbox.rst:1220 +#: library/mailbox.rst:1237 msgid "Not read, but previously detected by MUA" msgstr "" -#: library/mailbox.rst:1135 +#: library/mailbox.rst:1152 msgid "replied" msgstr "" -#: library/mailbox.rst:1137 +#: library/mailbox.rst:1154 msgid "flagged" msgstr "" -#: library/mailbox.rst:1140 -msgid ":class:`MHMessage` instances offer the following methods:" +#: library/mailbox.rst:1157 +msgid ":class:`!MHMessage` instances offer the following methods:" msgstr "" -#: library/mailbox.rst:1145 +#: library/mailbox.rst:1162 msgid "Return a list of the names of sequences that include this message." msgstr "" -#: library/mailbox.rst:1150 +#: library/mailbox.rst:1167 msgid "Set the list of sequences that include this message." msgstr "" -#: library/mailbox.rst:1155 +#: library/mailbox.rst:1172 msgid "Add *sequence* to the list of sequences that include this message." msgstr "" -#: library/mailbox.rst:1160 +#: library/mailbox.rst:1177 msgid "Remove *sequence* from the list of sequences that include this message." msgstr "" -#: library/mailbox.rst:1162 +#: library/mailbox.rst:1179 msgid "" -"When an :class:`MHMessage` instance is created based upon a :class:" +"When an :class:`!MHMessage` instance is created based upon a :class:" "`MaildirMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1294 +#: library/mailbox.rst:1311 msgid "no S flag" msgstr "" -#: library/mailbox.rst:1175 +#: library/mailbox.rst:1192 msgid "" -"When an :class:`MHMessage` instance is created based upon an :class:" +"When an :class:`!MHMessage` instance is created based upon an :class:" "`mboxMessage` or :class:`MMDFMessage` instance, the :mailheader:`Status` " "and :mailheader:`X-Status` headers are omitted and the following conversions " "take place:" msgstr "" -#: library/mailbox.rst:1312 +#: library/mailbox.rst:1329 msgid "no R flag" msgstr "" -#: library/mailbox.rst:1191 +#: library/mailbox.rst:1208 msgid "" -"When an :class:`MHMessage` instance is created based upon a :class:" +"When an :class:`!MHMessage` instance is created based upon a :class:" "`BabylMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1206 -msgid ":class:`BabylMessage`" +#: library/mailbox.rst:1223 +msgid ":class:`!BabylMessage` objects" msgstr "" -#: library/mailbox.rst:1211 +#: library/mailbox.rst:1228 msgid "" "A message with Babyl-specific behaviors. Parameter *message* has the same " "meaning as with the :class:`Message` constructor." msgstr "" -#: library/mailbox.rst:1214 +#: library/mailbox.rst:1231 msgid "" "Certain message labels, called :dfn:`attributes`, are defined by convention " "to have special meanings. The attributes are as follows:" msgstr "" -#: library/mailbox.rst:1218 +#: library/mailbox.rst:1235 msgid "Label" msgstr "" -#: library/mailbox.rst:1222 +#: library/mailbox.rst:1239 msgid "deleted" msgstr "" -#: library/mailbox.rst:1224 +#: library/mailbox.rst:1241 msgid "filed" msgstr "" -#: library/mailbox.rst:1224 +#: library/mailbox.rst:1241 msgid "Copied to another file or mailbox" msgstr "" -#: library/mailbox.rst:1226 +#: library/mailbox.rst:1243 msgid "answered" msgstr "" -#: library/mailbox.rst:1228 +#: library/mailbox.rst:1245 msgid "forwarded" msgstr "" -#: library/mailbox.rst:1228 +#: library/mailbox.rst:1245 msgid "Forwarded" msgstr "" -#: library/mailbox.rst:1230 +#: library/mailbox.rst:1247 msgid "edited" msgstr "" -#: library/mailbox.rst:1230 +#: library/mailbox.rst:1247 msgid "Modified by the user" msgstr "" -#: library/mailbox.rst:1232 +#: library/mailbox.rst:1249 msgid "resent" msgstr "" -#: library/mailbox.rst:1232 +#: library/mailbox.rst:1249 msgid "Resent" msgstr "" -#: library/mailbox.rst:1235 +#: library/mailbox.rst:1252 msgid "" -"By default, Rmail displays only visible headers. The :class:`BabylMessage` " +"By default, Rmail displays only visible headers. The :class:`!BabylMessage` " "class, though, uses the original headers because they are more complete. " "Visible headers may be accessed explicitly if desired." msgstr "" -#: library/mailbox.rst:1239 -msgid ":class:`BabylMessage` instances offer the following methods:" +#: library/mailbox.rst:1256 +msgid ":class:`!BabylMessage` instances offer the following methods:" msgstr "" -#: library/mailbox.rst:1244 +#: library/mailbox.rst:1261 msgid "Return a list of labels on the message." msgstr "" -#: library/mailbox.rst:1249 +#: library/mailbox.rst:1266 msgid "Set the list of labels on the message to *labels*." msgstr "" -#: library/mailbox.rst:1254 +#: library/mailbox.rst:1271 msgid "Add *label* to the list of labels on the message." msgstr "" -#: library/mailbox.rst:1259 +#: library/mailbox.rst:1276 msgid "Remove *label* from the list of labels on the message." msgstr "" -#: library/mailbox.rst:1264 +#: library/mailbox.rst:1281 msgid "" "Return an :class:`Message` instance whose headers are the message's visible " "headers and whose body is empty." msgstr "" -#: library/mailbox.rst:1270 +#: library/mailbox.rst:1287 msgid "" "Set the message's visible headers to be the same as the headers in " "*message*. Parameter *visible* should be a :class:`Message` instance, an :" @@ -1541,9 +1559,9 @@ msgid "" "(which should be open in text mode)." msgstr "" -#: library/mailbox.rst:1278 +#: library/mailbox.rst:1295 msgid "" -"When a :class:`BabylMessage` instance's original headers are modified, the " +"When a :class:`!BabylMessage` instance's original headers are modified, the " "visible headers are not automatically modified to correspond. This method " "updates the visible headers as follows: each visible header with a " "corresponding original header is set to the value of the original header, " @@ -1554,41 +1572,41 @@ msgid "" "visible headers." msgstr "" -#: library/mailbox.rst:1288 +#: library/mailbox.rst:1305 msgid "" -"When a :class:`BabylMessage` instance is created based upon a :class:" +"When a :class:`!BabylMessage` instance is created based upon a :class:" "`MaildirMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1300 +#: library/mailbox.rst:1317 msgid "\"forwarded\" label" msgstr "" -#: library/mailbox.rst:1303 +#: library/mailbox.rst:1320 msgid "" -"When a :class:`BabylMessage` instance is created based upon an :class:" +"When a :class:`!BabylMessage` instance is created based upon an :class:" "`mboxMessage` or :class:`MMDFMessage` instance, the :mailheader:`Status` " "and :mailheader:`X-Status` headers are omitted and the following conversions " "take place:" msgstr "" -#: library/mailbox.rst:1319 +#: library/mailbox.rst:1336 msgid "" -"When a :class:`BabylMessage` instance is created based upon an :class:" +"When a :class:`!BabylMessage` instance is created based upon an :class:" "`MHMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1334 -msgid ":class:`MMDFMessage`" +#: library/mailbox.rst:1351 +msgid ":class:`!MMDFMessage` objects" msgstr "" -#: library/mailbox.rst:1339 +#: library/mailbox.rst:1356 msgid "" "A message with MMDF-specific behaviors. Parameter *message* has the same " "meaning as with the :class:`Message` constructor." msgstr "" -#: library/mailbox.rst:1342 +#: library/mailbox.rst:1359 msgid "" "As with message in an mbox mailbox, MMDF messages are stored with the " "sender's address and the delivery date in an initial line beginning with " @@ -1596,63 +1614,63 @@ msgid "" "typically stored in :mailheader:`Status` and :mailheader:`X-Status` headers." msgstr "" -#: library/mailbox.rst:1347 +#: library/mailbox.rst:1364 msgid "" "Conventional flags for MMDF messages are identical to those of mbox message " "and are as follows:" msgstr "" -#: library/mailbox.rst:1368 +#: library/mailbox.rst:1385 msgid "" -":class:`MMDFMessage` instances offer the following methods, which are " +":class:`!MMDFMessage` instances offer the following methods, which are " "identical to those offered by :class:`mboxMessage`:" msgstr "" -#: library/mailbox.rst:1417 +#: library/mailbox.rst:1434 msgid "" -"When an :class:`MMDFMessage` instance is created based upon a :class:" +"When an :class:`!MMDFMessage` instance is created based upon a :class:" "`MaildirMessage` instance, a \"From \" line is generated based upon the :" "class:`MaildirMessage` instance's delivery date, and the following " "conversions take place:" msgstr "" -#: library/mailbox.rst:1436 +#: library/mailbox.rst:1453 msgid "" -"When an :class:`MMDFMessage` instance is created based upon an :class:" +"When an :class:`!MMDFMessage` instance is created based upon an :class:" "`MHMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1451 +#: library/mailbox.rst:1468 msgid "" -"When an :class:`MMDFMessage` instance is created based upon a :class:" +"When an :class:`!MMDFMessage` instance is created based upon a :class:" "`BabylMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1466 +#: library/mailbox.rst:1483 msgid "" -"When an :class:`MMDFMessage` instance is created based upon an :class:" +"When an :class:`!MMDFMessage` instance is created based upon an :class:" "`mboxMessage` instance, the \"From \" line is copied and all flags directly " "correspond:" msgstr "" -#: library/mailbox.rst:1471 +#: library/mailbox.rst:1488 msgid ":class:`mboxMessage` state" msgstr "" -#: library/mailbox.rst:1486 +#: library/mailbox.rst:1503 msgid "Exceptions" msgstr "" -#: library/mailbox.rst:1488 +#: library/mailbox.rst:1505 msgid "" -"The following exception classes are defined in the :mod:`mailbox` module:" +"The following exception classes are defined in the :mod:`!mailbox` module:" msgstr "" -#: library/mailbox.rst:1493 +#: library/mailbox.rst:1510 msgid "The based class for all other module-specific exceptions." msgstr "" -#: library/mailbox.rst:1498 +#: library/mailbox.rst:1515 msgid "" "Raised when a mailbox is expected but is not found, such as when " "instantiating a :class:`Mailbox` subclass with a path that does not exist " @@ -1660,13 +1678,13 @@ msgid "" "that does not exist." msgstr "" -#: library/mailbox.rst:1505 +#: library/mailbox.rst:1522 msgid "" "Raised when a mailbox is not empty but is expected to be, such as when " "deleting a folder that contains messages." msgstr "" -#: library/mailbox.rst:1511 +#: library/mailbox.rst:1528 msgid "" "Raised when some mailbox-related condition beyond the control of the program " "causes it to be unable to proceed, such as when failing to acquire a lock " @@ -1674,29 +1692,29 @@ msgid "" "name already exists." msgstr "" -#: library/mailbox.rst:1519 +#: library/mailbox.rst:1536 msgid "" "Raised when the data in a file cannot be parsed, such as when an :class:`MH` " "instance attempts to read a corrupted :file:`.mh_sequences` file." msgstr "" -#: library/mailbox.rst:1526 +#: library/mailbox.rst:1543 msgid "Examples" msgstr "" -#: library/mailbox.rst:1528 +#: library/mailbox.rst:1545 msgid "" "A simple example of printing the subjects of all messages in a mailbox that " "seem interesting::" msgstr "" -#: library/mailbox.rst:1537 +#: library/mailbox.rst:1554 msgid "" "To copy all mail from a Babyl mailbox to an MH mailbox, converting all of " "the format-specific information that can be converted::" msgstr "" -#: library/mailbox.rst:1548 +#: library/mailbox.rst:1565 msgid "" "This example sorts mail from several mailing lists into different mailboxes, " "being careful to avoid mail corruption due to concurrent modification by " diff --git a/library/numbers.po b/library/numbers.po index d02eef93c..142502cff 100644 --- a/library/numbers.po +++ b/library/numbers.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,10 +26,10 @@ msgstr "" #: library/numbers.rst:11 msgid "" -"The :mod:`numbers` module (:pep:`3141`) defines a hierarchy of numeric :term:" -"`abstract base classes ` which progressively define " -"more operations. None of the types defined in this module are intended to " -"be instantiated." +"The :mod:`!numbers` module (:pep:`3141`) defines a hierarchy of numeric :" +"term:`abstract base classes ` which progressively " +"define more operations. None of the types defined in this module are " +"intended to be instantiated." msgstr "" #: library/numbers.rst:18 @@ -67,7 +67,7 @@ msgstr "" #: library/numbers.rst:48 msgid "" -"To :class:`Complex`, :class:`Real` adds the operations that work on real " +"To :class:`Complex`, :class:`!Real` adds the operations that work on real " "numbers." msgstr "" @@ -142,11 +142,11 @@ msgid "" "We want to implement the arithmetic operations so that mixed-mode operations " "either call an implementation whose author knew about the types of both " "arguments, or convert both to the nearest built in type and do the operation " -"there. For subtypes of :class:`Integral`, this means that :meth:`__add__` " -"and :meth:`__radd__` should be defined as::" +"there. For subtypes of :class:`Integral`, this means that :meth:`~object." +"__add__` and :meth:`~object.__radd__` should be defined as::" msgstr "" -#: library/numbers.rst:156 +#: library/numbers.rst:157 msgid "" "There are 5 different cases for a mixed-type operation on subclasses of :" "class:`Complex`. I'll refer to all of the above code that doesn't refer to " @@ -155,46 +155,48 @@ msgid "" "Complex``), and ``b : B <: Complex``. I'll consider ``a + b``:" msgstr "" -#: library/numbers.rst:163 -msgid "If ``A`` defines an :meth:`__add__` which accepts ``b``, all is well." +#: library/numbers.rst:164 +msgid "" +"If ``A`` defines an :meth:`~object.__add__` which accepts ``b``, all is well." msgstr "" -#: library/numbers.rst:165 +#: library/numbers.rst:166 msgid "" "If ``A`` falls back to the boilerplate code, and it were to return a value " -"from :meth:`__add__`, we'd miss the possibility that ``B`` defines a more " -"intelligent :meth:`__radd__`, so the boilerplate should return :const:" -"`NotImplemented` from :meth:`__add__`. (Or ``A`` may not implement :meth:" -"`__add__` at all.)" +"from :meth:`~object.__add__`, we'd miss the possibility that ``B`` defines a " +"more intelligent :meth:`~object.__radd__`, so the boilerplate should return :" +"const:`NotImplemented` from :meth:`!__add__`. (Or ``A`` may not implement :" +"meth:`!__add__` at all.)" msgstr "" -#: library/numbers.rst:171 +#: library/numbers.rst:172 msgid "" -"Then ``B``'s :meth:`__radd__` gets a chance. If it accepts ``a``, all is " -"well." +"Then ``B``'s :meth:`~object.__radd__` gets a chance. If it accepts ``a``, " +"all is well." msgstr "" -#: library/numbers.rst:173 +#: library/numbers.rst:174 msgid "" "If it falls back to the boilerplate, there are no more possible methods to " "try, so this is where the default implementation should live." msgstr "" -#: library/numbers.rst:176 +#: library/numbers.rst:177 msgid "" "If ``B <: A``, Python tries ``B.__radd__`` before ``A.__add__``. This is ok, " "because it was implemented with knowledge of ``A``, so it can handle those " "instances before delegating to :class:`Complex`." msgstr "" -#: library/numbers.rst:181 +#: library/numbers.rst:182 msgid "" "If ``A <: Complex`` and ``B <: Real`` without sharing any other knowledge, " "then the appropriate shared operation is the one involving the built in :" -"class:`complex`, and both :meth:`__radd__` s land there, so ``a+b == b+a``." +"class:`complex`, and both :meth:`~object.__radd__` s land there, so ``a+b == " +"b+a``." msgstr "" -#: library/numbers.rst:186 +#: library/numbers.rst:187 msgid "" "Because most of the operations on any given type will be very similar, it " "can be useful to define a helper function which generates the forward and " diff --git a/library/os.po b/library/os.po index aa2370fe9..86fb3454a 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-10-05 21:24+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -286,15 +286,15 @@ msgstr "" #: library/os.rst:512 library/os.rst:545 library/os.rst:586 library/os.rst:602 #: library/os.rst:661 library/os.rst:687 library/os.rst:703 library/os.rst:719 #: library/os.rst:735 library/os.rst:1345 library/os.rst:1608 -#: 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: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 +#: library/os.rst:1637 library/os.rst:2110 library/os.rst:2433 +#: library/os.rst:4039 library/os.rst:4053 library/os.rst:4067 +#: library/os.rst:4081 library/os.rst:4097 library/os.rst:4111 +#: library/os.rst:4128 library/os.rst:4143 library/os.rst:4226 +#: library/os.rst:4273 library/os.rst:4430 library/os.rst:4716 +#: library/os.rst:4811 library/os.rst:4842 library/os.rst:4868 +#: library/os.rst:4893 library/os.rst:4912 library/os.rst:4976 +#: library/os.rst:4999 library/os.rst:5015 library/os.rst:5033 +#: library/os.rst:5042 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:4554 -#: library/os.rst:4682 +#: library/os.rst:2533 library/os.rst:3415 library/os.rst:4567 +#: library/os.rst:4695 msgid ":ref:`Availability `: Unix, Windows." msgstr "" @@ -473,9 +473,9 @@ msgstr "" #: library/os.rst:376 library/os.rst:787 library/os.rst:1019 #: 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:5174 library/os.rst:5204 -#: library/os.rst:5223 +#: library/os.rst:2124 library/os.rst:2499 library/os.rst:3244 +#: library/os.rst:3634 library/os.rst:5199 library/os.rst:5230 +#: library/os.rst:5239 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:4237 library/os.rst:4659 -#: library/os.rst:4944 +#: library/os.rst:462 library/os.rst:4250 library/os.rst:4672 +#: library/os.rst:4960 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:4684 +#: library/os.rst:4697 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." @@ -1071,14 +1071,14 @@ msgid "" "this is equivalent to ``os.chmod(fd, mode)``." msgstr "" -#: library/os.rst:2069 library/os.rst:2163 +#: library/os.rst:2069 library/os.rst:2166 msgid "" "Raises an :ref:`auditing event ` ``os.chmod`` with arguments " "``path``, ``mode``, ``dir_fd``." msgstr "" #: library/os.rst:1021 library/os.rst:1651 library/os.rst:2095 -#: library/os.rst:3377 +#: library/os.rst:3380 msgid "" "The function is limited on Emscripten and WASI, see :ref:`wasm-availability` " "for more information." @@ -1091,7 +1091,7 @@ msgid "" "`chown`. As of Python 3.3, this is equivalent to ``os.chown(fd, uid, gid)``." msgstr "" -#: library/os.rst:2091 library/os.rst:2176 +#: library/os.rst:2091 library/os.rst:2179 msgid "" "Raises an :ref:`auditing event ` ``os.chown`` with arguments " "``path``, ``uid``, ``gid``, ``dir_fd``." @@ -1118,7 +1118,7 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:2488 +#: library/os.rst:2491 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 " @@ -1140,7 +1140,7 @@ msgstr "" msgid "As of Python 3.3, this is equivalent to ``os.stat(fd)``." msgstr "" -#: library/os.rst:2323 +#: library/os.rst:2326 msgid "The :func:`.stat` function." msgstr "" @@ -1178,7 +1178,7 @@ msgid "" "``fd``, ``length``." msgstr "" -#: library/os.rst:3416 +#: library/os.rst:3419 msgid "Added support for Windows" msgstr "" @@ -1372,11 +1372,11 @@ msgid "" "a file descriptor in a file object, use :func:`fdopen`." msgstr "" -#: library/os.rst:2364 library/os.rst:2454 library/os.rst:2566 +#: library/os.rst:2367 library/os.rst:2457 library/os.rst:2569 msgid "The *dir_fd* argument." msgstr "" -#: library/os.rst:1576 library/os.rst:4777 +#: library/os.rst:1576 library/os.rst:4793 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 :" @@ -1384,10 +1384,10 @@ msgid "" msgstr "" #: library/os.rst:1963 library/os.rst:2026 library/os.rst:2112 -#: 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:4542 +#: library/os.rst:2170 library/os.rst:2242 library/os.rst:2370 +#: library/os.rst:2438 library/os.rst:2501 library/os.rst:2591 +#: library/os.rst:2969 library/os.rst:3422 library/os.rst:3478 +#: library/os.rst:3638 library/os.rst:4002 library/os.rst:4555 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:4577 library/os.rst:4622 +#: library/os.rst:1855 library/os.rst:4590 library/os.rst:4635 msgid ":ref:`Availability `: Windows." msgstr "" @@ -2240,7 +2240,7 @@ msgstr "" msgid ":const:`stat.S_IXOTH`" msgstr "" -#: library/os.rst:2084 library/os.rst:3465 +#: library/os.rst:2084 library/os.rst:3468 msgid "" "This function can support :ref:`specifying a file descriptor `, :" "ref:`paths relative to directory descriptors ` and :ref:`not " @@ -2317,47 +2317,59 @@ msgid "" "chmod(path, mode, follow_symlinks=False)``." msgstr "" -#: library/os.rst:2172 +#: library/os.rst:2163 +msgid "" +"``lchmod()`` is not part of POSIX, but Unix implementations may have it if " +"changing the mode of symbolic links is supported." +msgstr "" + +#: library/os.rst:2168 +msgid "" +":ref:`Availability `: Unix, not Linux, FreeBSD >= 1.3, NetBSD " +">= 1.3, not OpenBSD" +msgstr "" + +#: library/os.rst:2175 msgid "" "Change the owner and group id of *path* to the numeric *uid* and *gid*. " "This function will not follow symbolic links. As of Python 3.3, this is " "equivalent to ``os.chown(path, uid, gid, follow_symlinks=False)``." msgstr "" -#: library/os.rst:2186 +#: library/os.rst:2189 msgid "Create a hard link pointing to *src* named *dst*." msgstr "" -#: library/os.rst:2188 +#: library/os.rst:2191 msgid "" "This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to " "supply :ref:`paths relative to directory descriptors `, and :ref:" "`not following symlinks `." msgstr "" -#: library/os.rst:2192 +#: library/os.rst:2195 msgid "" "Raises an :ref:`auditing event ` ``os.link`` with arguments " "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: library/os.rst:2194 +#: library/os.rst:2197 msgid ":ref:`Availability `: Unix, Windows, not Emscripten." msgstr "" -#: library/os.rst:2196 +#: library/os.rst:2199 msgid "Added Windows support." msgstr "" -#: library/os.rst:2199 +#: library/os.rst:2202 msgid "Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* arguments." msgstr "" -#: library/os.rst:2620 library/os.rst:3387 +#: library/os.rst:2623 library/os.rst:3390 msgid "Accepts a :term:`path-like object` for *src* and *dst*." msgstr "" -#: library/os.rst:2208 +#: library/os.rst:2211 msgid "" "Return a list containing the names of the entries in the directory given by " "*path*. The list is in arbitrary order, and does not include the special " @@ -2366,7 +2378,7 @@ msgid "" "function, whether a name for that file be included is unspecified." msgstr "" -#: library/os.rst:2214 +#: library/os.rst:2217 msgid "" "*path* may be a :term:`path-like object`. If *path* is of type ``bytes`` " "(directly or indirectly through the :class:`PathLike` interface), the " @@ -2374,41 +2386,41 @@ msgid "" "circumstances, they will be of type ``str``." msgstr "" -#: library/os.rst:2705 +#: library/os.rst:2708 msgid "" "This function can also support :ref:`specifying a file descriptor " "`; the file descriptor must refer to a directory." msgstr "" -#: library/os.rst:2222 +#: library/os.rst:2225 msgid "" "Raises an :ref:`auditing event ` ``os.listdir`` with argument " "``path``." msgstr "" -#: library/os.rst:2225 +#: library/os.rst:2228 msgid "To encode ``str`` filenames to ``bytes``, use :func:`~os.fsencode`." msgstr "" -#: library/os.rst:2229 +#: library/os.rst:2232 msgid "" "The :func:`scandir` function returns directory entries along with file " "attribute information, giving better performance for many common use cases." msgstr "" -#: library/os.rst:2233 +#: library/os.rst:2236 msgid "The *path* parameter became optional." msgstr "" -#: library/os.rst:3246 +#: library/os.rst:3249 msgid "Added support for specifying *path* as an open file descriptor." msgstr "" -#: library/os.rst:2245 +#: library/os.rst:2248 msgid "Return a list containing the names of drives on a Windows system." msgstr "" -#: library/os.rst:2247 +#: library/os.rst:2250 msgid "" "A drive name typically looks like ``'C:\\\\'``. Not every drive name will be " "associated with a volume, and some may be inaccessible for a variety of " @@ -2416,26 +2428,26 @@ msgid "" "function does not test for access." msgstr "" -#: library/os.rst:2252 +#: library/os.rst:2255 msgid "May raise :exc:`OSError` if an error occurs collecting the drive names." msgstr "" -#: library/os.rst:2255 +#: library/os.rst:2258 msgid "" "Raises an :ref:`auditing event ` ``os.listdrives`` with no " "arguments." msgstr "" -#: library/os.rst:2281 library/os.rst:2301 +#: library/os.rst:2284 library/os.rst:2304 msgid ":ref:`Availability `: Windows" msgstr "" -#: library/os.rst:2264 +#: library/os.rst:2267 msgid "" "Return a list containing the mount points for a volume on a Windows system." msgstr "" -#: library/os.rst:2267 +#: library/os.rst:2270 msgid "" "*volume* must be represented as a GUID path, like those returned by :func:" "`os.listvolumes`. Volumes may be mounted in multiple locations or not at " @@ -2443,29 +2455,29 @@ msgid "" "associated with a volume will not be returned by this function." msgstr "" -#: library/os.rst:2273 +#: library/os.rst:2276 msgid "" "The mount points return by this function will be absolute paths, and may be " "longer than the drive name." msgstr "" -#: library/os.rst:2276 +#: library/os.rst:2279 msgid "" "Raises :exc:`OSError` if the volume is not recognized or if an error occurs " "collecting the paths." msgstr "" -#: library/os.rst:2279 +#: library/os.rst:2282 msgid "" "Raises an :ref:`auditing event ` ``os.listmounts`` with argument " "``volume``." msgstr "" -#: library/os.rst:2288 +#: library/os.rst:2291 msgid "Return a list containing the volumes in the system." msgstr "" -#: library/os.rst:2290 +#: library/os.rst:2293 msgid "" "Volumes are typically represented as a GUID path that looks like ``\\\\?" "\\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\\``. Files can usually be " @@ -2474,50 +2486,50 @@ msgid "" "function is to retrieve mount points using :func:`os.listmounts`." msgstr "" -#: library/os.rst:2297 +#: library/os.rst:2300 msgid "May raise :exc:`OSError` if an error occurs collecting the volumes." msgstr "" -#: library/os.rst:2299 +#: library/os.rst:2302 msgid "" "Raises an :ref:`auditing event ` ``os.listvolumes`` with no " "arguments." msgstr "" -#: library/os.rst:2308 +#: library/os.rst:2311 msgid "" "Perform the equivalent of an :c:func:`!lstat` system call on the given path. " "Similar to :func:`~os.stat`, but does not follow symbolic links. Return a :" "class:`stat_result` object." msgstr "" -#: library/os.rst:2312 +#: library/os.rst:2315 msgid "" "On platforms that do not support symbolic links, this is an alias for :func:" "`~os.stat`." msgstr "" -#: library/os.rst:2315 +#: library/os.rst:2318 msgid "" "As of Python 3.3, this is equivalent to ``os.stat(path, dir_fd=dir_fd, " "follow_symlinks=False)``." msgstr "" -#: library/os.rst:2356 library/os.rst:2449 library/os.rst:2523 +#: library/os.rst:2359 library/os.rst:2452 library/os.rst:2526 msgid "" "This function can also support :ref:`paths relative to directory descriptors " "`." msgstr "" -#: library/os.rst:2532 library/os.rst:3380 +#: library/os.rst:2535 library/os.rst:3383 msgid "Added support for Windows 6.0 (Vista) symbolic links." msgstr "" -#: library/os.rst:2328 +#: library/os.rst:2331 msgid "Added the *dir_fd* parameter." msgstr "" -#: library/os.rst:2334 +#: library/os.rst:2337 msgid "" "On Windows, now opens reparse points that represent another path (name " "surrogates), including symbolic links and directory junctions. Other kinds " @@ -2525,18 +2537,18 @@ msgid "" "stat`." msgstr "" -#: library/os.rst:2343 +#: library/os.rst:2346 msgid "Create a directory named *path* with numeric mode *mode*." msgstr "" -#: library/os.rst:2345 +#: library/os.rst:2348 msgid "" "If the directory already exists, :exc:`FileExistsError` is raised. If a " "parent directory in the path does not exist, :exc:`FileNotFoundError` is " "raised." msgstr "" -#: library/os.rst:2350 +#: library/os.rst:2353 msgid "" "On some systems, *mode* is ignored. Where it is used, the current umask " "value is first masked out. If bits other than the last 9 (i.e. the last 3 " @@ -2545,25 +2557,25 @@ msgid "" "call :func:`chmod` explicitly to set them." msgstr "" -#: library/os.rst:2359 +#: library/os.rst:2362 msgid "" "It is also possible to create temporary directories; see the :mod:`tempfile` " "module's :func:`tempfile.mkdtemp` function." msgstr "" -#: library/os.rst:2396 +#: library/os.rst:2399 msgid "" "Raises an :ref:`auditing event ` ``os.mkdir`` with arguments " "``path``, ``mode``, ``dir_fd``." msgstr "" -#: library/os.rst:2377 +#: library/os.rst:2380 msgid "" "Recursive directory creation function. Like :func:`mkdir`, but makes all " "intermediate-level directories needed to contain the leaf directory." msgstr "" -#: library/os.rst:2380 +#: library/os.rst:2383 msgid "" "The *mode* parameter is passed to :func:`mkdir` for creating the leaf " "directory; see :ref:`the mkdir() description ` for how it is " @@ -2572,27 +2584,27 @@ msgid "" "file permission bits of existing parent directories are not changed." msgstr "" -#: library/os.rst:2386 +#: library/os.rst:2389 msgid "" "If *exist_ok* is ``False`` (the default), a :exc:`FileExistsError` is raised " "if the target directory already exists." msgstr "" -#: library/os.rst:2391 +#: library/os.rst:2394 msgid "" ":func:`makedirs` will become confused if the path elements to create " "include :data:`pardir` (eg. \"..\" on UNIX systems)." msgstr "" -#: library/os.rst:2394 +#: library/os.rst:2397 msgid "This function handles UNC paths correctly." msgstr "" -#: library/os.rst:2398 +#: library/os.rst:2401 msgid "The *exist_ok* parameter." msgstr "" -#: library/os.rst:2403 +#: library/os.rst:2406 msgid "" "Before Python 3.4.1, if *exist_ok* was ``True`` and the directory existed, :" "func:`makedirs` would still raise an error if *mode* did not match the mode " @@ -2600,19 +2612,19 @@ msgid "" "safely, it was removed in Python 3.4.1. See :issue:`21082`." msgstr "" -#: library/os.rst:2411 +#: library/os.rst:2414 msgid "" "The *mode* argument no longer affects the file permission bits of newly " "created intermediate-level directories." msgstr "" -#: library/os.rst:2418 +#: library/os.rst:2421 msgid "" "Create a FIFO (a named pipe) named *path* with numeric mode *mode*. The " "current umask value is first masked out from the mode." msgstr "" -#: library/os.rst:2424 +#: library/os.rst:2427 msgid "" "FIFOs are pipes that can be accessed like regular files. FIFOs exist until " "they are deleted (for example with :func:`os.unlink`). Generally, FIFOs are " @@ -2622,7 +2634,7 @@ msgid "" "rendezvous point." msgstr "" -#: library/os.rst:2441 +#: library/os.rst:2444 msgid "" "Create a filesystem node (file, device special file or named pipe) named " "*path*. *mode* specifies both the permissions to use and the type of node to " @@ -2633,23 +2645,23 @@ msgid "" "`os.makedev`), otherwise it is ignored." msgstr "" -#: library/os.rst:2463 +#: library/os.rst:2466 msgid "" "Extract the device major number from a raw device number (usually the :attr:" "`st_dev` or :attr:`st_rdev` field from :c:struct:`stat`)." msgstr "" -#: library/os.rst:2469 +#: library/os.rst:2472 msgid "" "Extract the device minor number from a raw device number (usually the :attr:" "`st_dev` or :attr:`st_rdev` field from :c:struct:`stat`)." msgstr "" -#: library/os.rst:2475 +#: library/os.rst:2478 msgid "Compose a raw device number from the major and minor device numbers." msgstr "" -#: library/os.rst:2480 +#: library/os.rst:2483 msgid "" "Return system configuration information relevant to a named file. *name* " "specifies the configuration value to retrieve; it may be a string which is " @@ -2660,19 +2672,19 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:3239 library/os.rst:3408 +#: library/os.rst:3242 library/os.rst:3411 msgid "" "This function can support :ref:`specifying a file descriptor `." msgstr "" -#: library/os.rst:2504 +#: library/os.rst:2507 msgid "" "Dictionary mapping names accepted by :func:`pathconf` and :func:`fpathconf` " "to the integer values defined for those names by the host operating system. " "This can be used to determine the set of names known to the system." msgstr "" -#: library/os.rst:2513 +#: library/os.rst:2516 msgid "" "Return a string representing the path to which the symbolic link points. " "The result may be either an absolute or relative pathname; if it is " @@ -2680,7 +2692,7 @@ msgid "" "join(os.path.dirname(path), result)``." msgstr "" -#: library/os.rst:2518 +#: library/os.rst:2521 msgid "" "If the *path* is a string object (directly or indirectly through a :class:" "`PathLike` interface), the result will also be a string object, and the call " @@ -2688,41 +2700,41 @@ msgid "" "indirectly), the result will be a bytes object." msgstr "" -#: library/os.rst:2526 +#: library/os.rst:2529 msgid "" "When trying to resolve a path that may contain links, use :func:`~os.path." "realpath` to properly handle recursion and platform differences." msgstr "" -#: library/os.rst:2538 +#: library/os.rst:2541 msgid "Accepts a :term:`path-like object` on Unix." msgstr "" -#: library/os.rst:2541 +#: library/os.rst:2544 msgid "Accepts a :term:`path-like object` and a bytes object on Windows." msgstr "" -#: library/os.rst:2544 +#: library/os.rst:2547 msgid "" "Added support for directory junctions, and changed to return the " "substitution path (which typically includes ``\\\\?\\`` prefix) rather than " "the optional \"print name\" field that was previously returned." msgstr "" -#: library/os.rst:2551 +#: library/os.rst:2554 msgid "" "Remove (delete) the file *path*. If *path* is a directory, an :exc:" "`OSError` is raised. Use :func:`rmdir` to remove directories. If the file " "does not exist, a :exc:`FileNotFoundError` is raised." msgstr "" -#: library/os.rst:2668 library/os.rst:3359 +#: library/os.rst:2671 library/os.rst:3362 msgid "" "This function can support :ref:`paths relative to directory descriptors " "`." msgstr "" -#: library/os.rst:2558 +#: library/os.rst:2561 msgid "" "On Windows, attempting to remove a file that is in use causes an exception " "to be raised; on Unix, the directory entry is removed but the storage " @@ -2730,17 +2742,17 @@ msgid "" "longer in use." msgstr "" -#: library/os.rst:2562 +#: library/os.rst:2565 msgid "This function is semantically identical to :func:`unlink`." msgstr "" -#: library/os.rst:2586 library/os.rst:3430 +#: library/os.rst:2589 library/os.rst:3433 msgid "" "Raises an :ref:`auditing event ` ``os.remove`` with arguments " "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:2577 +#: library/os.rst:2580 msgid "" "Remove directories recursively. Works like :func:`rmdir` except that, if " "the leaf directory is successfully removed, :func:`removedirs` tries to " @@ -2752,20 +2764,20 @@ msgid "" "could not be successfully removed." msgstr "" -#: library/os.rst:2594 +#: library/os.rst:2597 msgid "" "Rename the file or directory *src* to *dst*. If *dst* exists, the operation " "will fail with an :exc:`OSError` subclass in a number of cases:" msgstr "" -#: library/os.rst:2597 +#: library/os.rst:2600 msgid "" "On Windows, if *dst* exists a :exc:`FileExistsError` is always raised. The " "operation may fail if *src* and *dst* are on different filesystems. Use :" "func:`shutil.move` to support moves to a different filesystem." msgstr "" -#: library/os.rst:2601 +#: library/os.rst:2604 msgid "" "On Unix, if *src* is a file and *dst* is a directory or vice-versa, an :exc:" "`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised " @@ -2777,29 +2789,29 @@ msgid "" "operation (this is a POSIX requirement)." msgstr "" -#: library/os.rst:2650 +#: library/os.rst:2653 msgid "" "This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to " "supply :ref:`paths relative to directory descriptors `." msgstr "" -#: library/os.rst:2613 +#: library/os.rst:2616 msgid "" "If you want cross-platform overwriting of the destination, use :func:" "`replace`." msgstr "" -#: library/os.rst:2636 library/os.rst:2653 +#: library/os.rst:2639 library/os.rst:2656 msgid "" "Raises an :ref:`auditing event ` ``os.rename`` with arguments " "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: library/os.rst:2617 +#: library/os.rst:2620 msgid "The *src_dir_fd* and *dst_dir_fd* arguments." msgstr "" -#: library/os.rst:2626 +#: library/os.rst:2629 msgid "" "Recursive directory or file renaming function. Works like :func:`rename`, " "except creation of any intermediate directories needed to make the new " @@ -2808,17 +2820,17 @@ msgid "" "using :func:`removedirs`." msgstr "" -#: library/os.rst:2633 +#: library/os.rst:2636 msgid "" "This function can fail with the new directory structure made if you lack " "permissions needed to remove the leaf directory or file." msgstr "" -#: library/os.rst:2638 +#: library/os.rst:2641 msgid "Accepts a :term:`path-like object` for *old* and *new*." msgstr "" -#: library/os.rst:2644 +#: library/os.rst:2647 msgid "" "Rename the file or directory *src* to *dst*. If *dst* is a non-empty " "directory, :exc:`OSError` will be raised. If *dst* exists and is a file, it " @@ -2827,7 +2839,7 @@ msgid "" "renaming will be an atomic operation (this is a POSIX requirement)." msgstr "" -#: library/os.rst:2663 +#: library/os.rst:2666 msgid "" "Remove (delete) the directory *path*. If the directory does not exist or is " "not empty, a :exc:`FileNotFoundError` or an :exc:`OSError` is raised " @@ -2835,17 +2847,17 @@ msgid "" "rmtree` can be used." msgstr "" -#: library/os.rst:2671 +#: library/os.rst:2674 msgid "" "Raises an :ref:`auditing event ` ``os.rmdir`` with arguments " "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:3432 +#: library/os.rst:3435 msgid "The *dir_fd* parameter." msgstr "" -#: library/os.rst:2682 +#: library/os.rst:2685 msgid "" "Return an iterator of :class:`os.DirEntry` objects corresponding to the " "entries in the directory given by *path*. The entries are yielded in " @@ -2855,7 +2867,7 @@ msgid "" "unspecified." msgstr "" -#: library/os.rst:2689 +#: library/os.rst:2692 msgid "" "Using :func:`scandir` instead of :func:`listdir` can significantly increase " "the performance of code that also needs file type or file attribute " @@ -2867,7 +2879,7 @@ msgid "" "Unix but only requires one for symbolic links on Windows." msgstr "" -#: library/os.rst:2699 +#: library/os.rst:2702 msgid "" "*path* may be a :term:`path-like object`. If *path* is of type ``bytes`` " "(directly or indirectly through the :class:`PathLike` interface), the type " @@ -2876,30 +2888,30 @@ msgid "" "they will be of type ``str``." msgstr "" -#: library/os.rst:2708 +#: library/os.rst:2711 msgid "" "Raises an :ref:`auditing event ` ``os.scandir`` with argument " "``path``." msgstr "" -#: library/os.rst:2710 +#: library/os.rst:2713 msgid "" "The :func:`scandir` iterator supports the :term:`context manager` protocol " "and has the following method:" msgstr "" -#: library/os.rst:2715 +#: library/os.rst:2718 msgid "Close the iterator and free acquired resources." msgstr "" -#: library/os.rst:2717 +#: library/os.rst:2720 msgid "" "This is called automatically when the iterator is exhausted or garbage " "collected, or when an error happens during iterating. However it is " "advisable to call it explicitly or use the :keyword:`with` statement." msgstr "" -#: library/os.rst:2724 +#: library/os.rst:2727 msgid "" "The following example shows a simple use of :func:`scandir` to display all " "the files (excluding directories) in the given *path* that don't start with " @@ -2907,7 +2919,7 @@ msgid "" "system call::" msgstr "" -#: library/os.rst:2736 +#: library/os.rst:2739 msgid "" "On Unix-based systems, :func:`scandir` uses the system's `opendir() `_ and " @@ -2918,7 +2930,7 @@ msgid "" "desktop/aa364428(v=vs.85).aspx>`_ functions." msgstr "" -#: library/os.rst:2748 +#: library/os.rst:2751 msgid "" "Added support for the :term:`context manager` protocol and the :func:" "`~scandir.close()` method. If a :func:`scandir` iterator is neither " @@ -2926,28 +2938,28 @@ msgid "" "its destructor." msgstr "" -#: library/os.rst:2754 +#: library/os.rst:2757 msgid "The function accepts a :term:`path-like object`." msgstr "" -#: library/os.rst:2756 +#: library/os.rst:2759 msgid "Added support for :ref:`file descriptors ` on Unix." msgstr "" -#: library/os.rst:2762 +#: library/os.rst:2765 msgid "" "Object yielded by :func:`scandir` to expose the file path and other file " "attributes of a directory entry." msgstr "" -#: library/os.rst:2765 +#: library/os.rst:2768 msgid "" ":func:`scandir` will provide as much of this information as possible without " "making additional system calls. When a ``stat()`` or ``lstat()`` system call " "is made, the ``os.DirEntry`` object will cache the result." msgstr "" -#: library/os.rst:2769 +#: library/os.rst:2772 msgid "" "``os.DirEntry`` instances are not intended to be stored in long-lived data " "structures; if you know the file metadata has changed or if a long time has " @@ -2955,7 +2967,7 @@ msgid "" "up-to-date information." msgstr "" -#: library/os.rst:2774 +#: library/os.rst:2777 msgid "" "Because the ``os.DirEntry`` methods can make operating system calls, they " "may also raise :exc:`OSError`. If you need very fine-grained control over " @@ -2963,29 +2975,29 @@ msgid "" "methods and handle as appropriate." msgstr "" -#: library/os.rst:2779 +#: library/os.rst:2782 msgid "" "To be directly usable as a :term:`path-like object`, ``os.DirEntry`` " "implements the :class:`PathLike` interface." msgstr "" -#: library/os.rst:2782 +#: library/os.rst:2785 msgid "Attributes and methods on a ``os.DirEntry`` instance are as follows:" msgstr "" -#: library/os.rst:2786 +#: library/os.rst:2789 msgid "" "The entry's base filename, relative to the :func:`scandir` *path* argument." msgstr "" -#: library/os.rst:2789 +#: library/os.rst:2792 msgid "" "The :attr:`name` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." "fsdecode` to decode byte filenames." msgstr "" -#: library/os.rst:2795 +#: library/os.rst:2798 msgid "" "The entry's full path name: equivalent to ``os.path.join(scandir_path, entry." "name)`` where *scandir_path* is the :func:`scandir` *path* argument. The " @@ -2995,51 +3007,51 @@ msgid "" "attribute." msgstr "" -#: library/os.rst:2802 +#: library/os.rst:2805 msgid "" "The :attr:`path` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." "fsdecode` to decode byte filenames." msgstr "" -#: library/os.rst:2808 +#: library/os.rst:2811 msgid "Return the inode number of the entry." msgstr "" -#: library/os.rst:2810 +#: library/os.rst:2813 msgid "" "The result is cached on the ``os.DirEntry`` object. Use ``os.stat(entry." "path, follow_symlinks=False).st_ino`` to fetch up-to-date information." msgstr "" -#: library/os.rst:2814 +#: library/os.rst:2817 msgid "" "On the first, uncached call, a system call is required on Windows but not on " "Unix." msgstr "" -#: library/os.rst:2819 +#: library/os.rst:2822 msgid "" "Return ``True`` if this entry is a directory or a symbolic link pointing to " "a directory; return ``False`` if the entry is or points to any other kind of " "file, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2823 +#: library/os.rst:2826 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "directory (without following symlinks); return ``False`` if the entry is any " "other kind of file or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2827 +#: library/os.rst:2830 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` along " "with :func:`stat.S_ISDIR` to fetch up-to-date information." msgstr "" -#: library/os.rst:2831 +#: library/os.rst:2834 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, for non-symlinks, neither Windows or Unix require a system " @@ -3049,46 +3061,46 @@ msgid "" "is ``False``." msgstr "" -#: library/os.rst:2868 +#: library/os.rst:2871 msgid "" "This method can raise :exc:`OSError`, such as :exc:`PermissionError`, but :" "exc:`FileNotFoundError` is caught and not raised." msgstr "" -#: library/os.rst:2843 +#: library/os.rst:2846 msgid "" "Return ``True`` if this entry is a file or a symbolic link pointing to a " "file; return ``False`` if the entry is or points to a directory or other non-" "file entry, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2847 +#: library/os.rst:2850 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "file (without following symlinks); return ``False`` if the entry is a " "directory or other non-file entry, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2851 +#: library/os.rst:2854 msgid "" "The result is cached on the ``os.DirEntry`` object. Caching, system calls " "made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`." msgstr "" -#: library/os.rst:2856 +#: library/os.rst:2859 msgid "" "Return ``True`` if this entry is a symbolic link (even if broken); return " "``False`` if the entry points to a directory or any kind of file, or if it " "doesn't exist anymore." msgstr "" -#: library/os.rst:2860 +#: library/os.rst:2863 msgid "" "The result is cached on the ``os.DirEntry`` object. Call :func:`os.path." "islink` to fetch up-to-date information." msgstr "" -#: library/os.rst:2863 +#: library/os.rst:2866 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, neither Windows or Unix require a system call, except on " @@ -3096,48 +3108,48 @@ msgid "" "``dirent.d_type == DT_UNKNOWN``." msgstr "" -#: library/os.rst:2873 +#: library/os.rst:2876 msgid "" "Return ``True`` if this entry is a junction (even if broken); return " "``False`` if the entry points to a regular directory, any kind of file, a " "symlink, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2877 +#: library/os.rst:2880 msgid "" "The result is cached on the ``os.DirEntry`` object. Call :func:`os.path." "isjunction` to fetch up-to-date information." msgstr "" -#: library/os.rst:2884 +#: library/os.rst:2887 msgid "" "Return a :class:`stat_result` object for this entry. This method follows " "symbolic links by default; to stat a symbolic link add the " "``follow_symlinks=False`` argument." msgstr "" -#: library/os.rst:2888 +#: library/os.rst:2891 msgid "" "On Unix, this method always requires a system call. On Windows, it only " "requires a system call if *follow_symlinks* is ``True`` and the entry is a " "reparse point (for example, a symbolic link or directory junction)." msgstr "" -#: library/os.rst:2893 +#: library/os.rst:2896 msgid "" "On Windows, the ``st_ino``, ``st_dev`` and ``st_nlink`` attributes of the :" "class:`stat_result` are always set to zero. Call :func:`os.stat` to get " "these attributes." msgstr "" -#: library/os.rst:2897 +#: library/os.rst:2900 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` to fetch " "up-to-date information." msgstr "" -#: library/os.rst:2901 +#: library/os.rst:2904 msgid "" "Note that there is a nice correspondence between several attributes and " "methods of ``os.DirEntry`` and of :class:`pathlib.Path`. In particular, the " @@ -3145,13 +3157,13 @@ msgid "" "``is_file()``, ``is_symlink()``, ``is_junction()``, and ``stat()`` methods." msgstr "" -#: library/os.rst:2909 +#: library/os.rst:2912 msgid "" "Added support for the :class:`~os.PathLike` interface. Added support for :" "class:`bytes` paths on Windows." msgstr "" -#: library/os.rst:2913 +#: library/os.rst:2916 msgid "" "The ``st_ctime`` attribute of a stat result is deprecated on Windows. The " "file creation time is properly available as ``st_birthtime``, and in the " @@ -3159,7 +3171,7 @@ msgid "" "time, if available." msgstr "" -#: library/os.rst:2922 +#: library/os.rst:2925 msgid "" "Get the status of a file or a file descriptor. Perform the equivalent of a :" "c:func:`stat` system call on the given path. *path* may be specified as " @@ -3168,19 +3180,19 @@ msgid "" "`stat_result` object." msgstr "" -#: library/os.rst:2928 +#: library/os.rst:2931 msgid "" "This function normally follows symlinks; to stat a symlink add the argument " "``follow_symlinks=False``, or use :func:`lstat`." msgstr "" -#: library/os.rst:3798 library/os.rst:3830 library/os.rst:3850 +#: library/os.rst:3801 library/os.rst:3833 library/os.rst:3853 msgid "" "This function can support :ref:`specifying a file descriptor ` and :" "ref:`not following symlinks `." msgstr "" -#: library/os.rst:2934 +#: library/os.rst:2937 msgid "" "On Windows, passing ``follow_symlinks=False`` will disable following all " "name-surrogate reparse points, which includes symlinks and directory " @@ -3194,21 +3206,21 @@ msgid "" "junction points, which will raise the usual exceptions." msgstr "" -#: library/os.rst:3718 +#: library/os.rst:3721 msgid "Example::" msgstr "" -#: library/os.rst:2960 +#: library/os.rst:2963 msgid ":func:`fstat` and :func:`lstat` functions." msgstr "" -#: library/os.rst:2962 +#: library/os.rst:2965 msgid "" "Added the *dir_fd* and *follow_symlinks* arguments, specifying a file " "descriptor instead of a path." msgstr "" -#: library/os.rst:2969 +#: library/os.rst:2972 msgid "" "On Windows, all reparse points that can be resolved by the operating system " "are now followed, and passing ``follow_symlinks=False`` disables following " @@ -3218,122 +3230,122 @@ msgid "" "of raising an error." msgstr "" -#: library/os.rst:2980 +#: library/os.rst:2983 msgid "" "Object whose attributes correspond roughly to the members of the :c:struct:" "`stat` structure. It is used for the result of :func:`os.stat`, :func:`os." "fstat` and :func:`os.lstat`." msgstr "" -#: library/os.rst:2984 +#: library/os.rst:2987 msgid "Attributes:" msgstr "" -#: library/os.rst:2988 +#: library/os.rst:2991 msgid "File mode: file type and file mode bits (permissions)." msgstr "" -#: library/os.rst:2992 +#: library/os.rst:2995 msgid "" "Platform dependent, but if non-zero, uniquely identifies the file for a " "given value of ``st_dev``. Typically:" msgstr "" -#: library/os.rst:2995 +#: library/os.rst:2998 msgid "the inode number on Unix," msgstr "" -#: library/os.rst:2996 +#: library/os.rst:2999 msgid "" "the `file index `_ on " "Windows" msgstr "" -#: library/os.rst:3002 +#: library/os.rst:3005 msgid "Identifier of the device on which this file resides." msgstr "" -#: library/os.rst:3006 +#: library/os.rst:3009 msgid "Number of hard links." msgstr "" -#: library/os.rst:3010 +#: library/os.rst:3013 msgid "User identifier of the file owner." msgstr "" -#: library/os.rst:3014 +#: library/os.rst:3017 msgid "Group identifier of the file owner." msgstr "" -#: library/os.rst:3018 +#: library/os.rst:3021 msgid "" "Size of the file in bytes, if it is a regular file or a symbolic link. The " "size of a symbolic link is the length of the pathname it contains, without a " "terminating null byte." msgstr "" -#: library/os.rst:3022 +#: library/os.rst:3025 msgid "Timestamps:" msgstr "" -#: library/os.rst:3026 +#: library/os.rst:3029 msgid "Time of most recent access expressed in seconds." msgstr "" -#: library/os.rst:3030 +#: library/os.rst:3033 msgid "Time of most recent content modification expressed in seconds." msgstr "" -#: library/os.rst:3034 +#: library/os.rst:3037 msgid "Time of most recent metadata change expressed in seconds." msgstr "" -#: library/os.rst:3036 +#: library/os.rst:3039 msgid "" "``st_ctime`` is deprecated on Windows. Use ``st_birthtime`` for the file " "creation time. In the future, ``st_ctime`` will contain the time of the most " "recent metadata change, as for other platforms." msgstr "" -#: library/os.rst:3043 +#: library/os.rst:3046 msgid "Time of most recent access expressed in nanoseconds as an integer." msgstr "" -#: library/os.rst:3047 +#: library/os.rst:3050 msgid "" "Time of most recent content modification expressed in nanoseconds as an " "integer." msgstr "" -#: library/os.rst:3052 +#: library/os.rst:3055 msgid "" "Time of most recent metadata change expressed in nanoseconds as an integer." msgstr "" -#: library/os.rst:3055 +#: library/os.rst:3058 msgid "" "``st_ctime_ns`` is deprecated on Windows. Use ``st_birthtime_ns`` for the " "file creation time. In the future, ``st_ctime`` will contain the time of the " "most recent metadata change, as for other platforms." msgstr "" -#: library/os.rst:3062 +#: library/os.rst:3065 msgid "" "Time of file creation expressed in seconds. This attribute is not always " "available, and may raise :exc:`AttributeError`." msgstr "" -#: library/os.rst:3065 +#: library/os.rst:3068 msgid "``st_birthtime`` is now available on Windows." msgstr "" -#: library/os.rst:3070 +#: library/os.rst:3073 msgid "" "Time of file creation expressed in nanoseconds as an integer. This attribute " "is not always available, and may raise :exc:`AttributeError`." msgstr "" -#: library/os.rst:3078 +#: library/os.rst:3081 msgid "" "The exact meaning and resolution of the :attr:`st_atime`, :attr:`st_mtime`, :" "attr:`st_ctime` and :attr:`st_birthtime` attributes depend on the operating " @@ -3343,7 +3355,7 @@ msgid "" "details." msgstr "" -#: library/os.rst:3085 +#: library/os.rst:3088 msgid "" "Similarly, although :attr:`st_atime_ns`, :attr:`st_mtime_ns`, :attr:" "`st_ctime_ns` and :attr:`st_birthtime_ns` are always expressed in " @@ -3356,74 +3368,74 @@ msgid "" "`st_birthtime_ns`." msgstr "" -#: library/os.rst:3095 +#: library/os.rst:3098 msgid "" "On some Unix systems (such as Linux), the following attributes may also be " "available:" msgstr "" -#: library/os.rst:3100 +#: library/os.rst:3103 msgid "" "Number of 512-byte blocks allocated for file. This may be smaller than :attr:" "`st_size`/512 when the file has holes." msgstr "" -#: library/os.rst:3105 +#: library/os.rst:3108 msgid "" "\"Preferred\" blocksize for efficient file system I/O. Writing to a file in " "smaller chunks may cause an inefficient read-modify-rewrite." msgstr "" -#: library/os.rst:3110 +#: library/os.rst:3113 msgid "Type of device if an inode device." msgstr "" -#: library/os.rst:3114 +#: library/os.rst:3117 msgid "User defined flags for file." msgstr "" -#: library/os.rst:3116 +#: library/os.rst:3119 msgid "" "On other Unix systems (such as FreeBSD), the following attributes may be " "available (but may be only filled out if root tries to use them):" msgstr "" -#: library/os.rst:3121 +#: library/os.rst:3124 msgid "File generation number." msgstr "" -#: library/os.rst:3123 +#: library/os.rst:3126 msgid "" "On Solaris and derivatives, the following attributes may also be available:" msgstr "" -#: library/os.rst:3128 +#: library/os.rst:3131 msgid "" "String that uniquely identifies the type of the filesystem that contains the " "file." msgstr "" -#: library/os.rst:3131 +#: library/os.rst:3134 msgid "On macOS systems, the following attributes may also be available:" msgstr "" -#: library/os.rst:3135 +#: library/os.rst:3138 msgid "Real size of the file." msgstr "" -#: library/os.rst:3139 +#: library/os.rst:3142 msgid "Creator of the file." msgstr "" -#: library/os.rst:3143 +#: library/os.rst:3146 msgid "File type." msgstr "" -#: library/os.rst:3145 +#: library/os.rst:3148 msgid "On Windows systems, the following attributes are also available:" msgstr "" -#: library/os.rst:3149 +#: library/os.rst:3152 msgid "" "Windows file attributes: ``dwFileAttributes`` member of the " "``BY_HANDLE_FILE_INFORMATION`` structure returned by :c:func:`!" @@ -3431,7 +3443,7 @@ msgid "" "FILE_ATTRIBUTE_ARCHIVE>` constants in the :mod:`stat` module." msgstr "" -#: library/os.rst:3157 +#: library/os.rst:3160 msgid "" "When :attr:`st_file_attributes` has the :const:`~stat." "FILE_ATTRIBUTE_REPARSE_POINT` set, this field contains the tag identifying " @@ -3439,14 +3451,14 @@ msgid "" "IO_REPARSE_TAG_SYMLINK>` constants in the :mod:`stat` module." msgstr "" -#: library/os.rst:3162 +#: library/os.rst:3165 msgid "" "The standard module :mod:`stat` defines functions and constants that are " "useful for extracting information from a :c:struct:`stat` structure. (On " "Windows, some items are filled with dummy values.)" msgstr "" -#: library/os.rst:3166 +#: library/os.rst:3169 msgid "" "For backward compatibility, a :class:`stat_result` instance is also " "accessible as a tuple of at least 10 integers giving the most important (and " @@ -3458,59 +3470,59 @@ msgid "" "class:`stat_result` as a tuple always returns integers." msgstr "" -#: library/os.rst:3175 +#: library/os.rst:3178 msgid "" "Added the :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:`st_ctime_ns` " "members." msgstr "" -#: library/os.rst:3179 +#: library/os.rst:3182 msgid "Added the :attr:`st_file_attributes` member on Windows." msgstr "" -#: library/os.rst:3182 +#: library/os.rst:3185 msgid "Windows now returns the file index as :attr:`st_ino` when available." msgstr "" -#: library/os.rst:3186 +#: library/os.rst:3189 msgid "Added the :attr:`st_fstype` member to Solaris/derivatives." msgstr "" -#: library/os.rst:3189 +#: library/os.rst:3192 msgid "Added the :attr:`st_reparse_tag` member on Windows." msgstr "" -#: library/os.rst:3192 +#: library/os.rst:3195 msgid "" "On Windows, the :attr:`st_mode` member now identifies special files as :" "const:`S_IFCHR`, :const:`S_IFIFO` or :const:`S_IFBLK` as appropriate." msgstr "" -#: library/os.rst:3197 +#: library/os.rst:3200 msgid "" "On Windows, :attr:`st_ctime` is deprecated. Eventually, it will contain the " "last metadata change time, for consistency with other platforms, but for now " "still contains creation time. Use :attr:`st_birthtime` for the creation time." msgstr "" -#: library/os.rst:3203 +#: library/os.rst:3206 msgid "" "On Windows, :attr:`st_ino` may now be up to 128 bits, depending on the file " "system. Previously it would not be above 64 bits, and larger file " "identifiers would be arbitrarily packed." msgstr "" -#: library/os.rst:3208 +#: library/os.rst:3211 msgid "" "On Windows, :attr:`st_rdev` no longer returns a value. Previously it would " "contain the same as :attr:`st_dev`, which was incorrect." msgstr "" -#: library/os.rst:3212 +#: library/os.rst:3215 msgid "Added the :attr:`st_birthtime` member on Windows." msgstr "" -#: library/os.rst:3218 +#: library/os.rst:3221 msgid "" "Perform a :c:func:`!statvfs` system call on the given path. The return " "value is an object whose attributes describe the filesystem on the given " @@ -3520,7 +3532,7 @@ msgid "" "`f_favail`, :attr:`f_flag`, :attr:`f_namemax`, :attr:`f_fsid`." msgstr "" -#: library/os.rst:3225 +#: library/os.rst:3228 msgid "" "Two module-level constants are defined for the :attr:`f_flag` attribute's " "bit-flags: if :const:`ST_RDONLY` is set, the filesystem is mounted read-" @@ -3528,7 +3540,7 @@ msgid "" "are disabled or not supported." msgstr "" -#: library/os.rst:3230 +#: library/os.rst:3233 msgid "" "Additional module-level constants are defined for GNU/glibc based systems. " "These are :const:`ST_NODEV` (disallow access to device special files), :" @@ -3541,11 +3553,11 @@ msgid "" "relative to mtime/ctime)." msgstr "" -#: library/os.rst:3243 +#: library/os.rst:3246 msgid "The :const:`ST_RDONLY` and :const:`ST_NOSUID` constants were added." msgstr "" -#: library/os.rst:3249 +#: library/os.rst:3252 msgid "" "The :const:`ST_NODEV`, :const:`ST_NOEXEC`, :const:`ST_SYNCHRONOUS`, :const:" "`ST_MANDLOCK`, :const:`ST_WRITE`, :const:`ST_APPEND`, :const:" @@ -3553,11 +3565,11 @@ msgid "" "`ST_RELATIME` constants were added." msgstr "" -#: library/os.rst:3258 +#: library/os.rst:3261 msgid "Added :attr:`f_fsid`." msgstr "" -#: library/os.rst:3264 +#: library/os.rst:3267 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "accept an open file descriptor for their *dir_fd* parameter. Different " @@ -3569,7 +3581,7 @@ msgid "" "(Specifying ``None`` for *dir_fd* is always supported on all platforms.)" msgstr "" -#: library/os.rst:3274 +#: library/os.rst:3277 msgid "" "To check whether a particular function accepts an open file descriptor for " "its *dir_fd* parameter, use the ``in`` operator on ``supports_dir_fd``. As " @@ -3577,13 +3589,13 @@ msgid "" "open file descriptors for *dir_fd* on the local platform::" msgstr "" -#: library/os.rst:3281 +#: library/os.rst:3284 msgid "" "Currently *dir_fd* parameters only work on Unix platforms; none of them work " "on Windows." msgstr "" -#: library/os.rst:3289 +#: library/os.rst:3292 msgid "" "A :class:`set` object indicating whether :func:`os.access` permits " "specifying ``True`` for its *effective_ids* parameter on the local platform. " @@ -3592,19 +3604,19 @@ msgid "" "func:`os.access`; otherwise it will be empty." msgstr "" -#: library/os.rst:3295 +#: library/os.rst:3298 msgid "" "This expression evaluates to ``True`` if :func:`os.access` supports " "``effective_ids=True`` on the local platform::" msgstr "" -#: library/os.rst:3300 +#: library/os.rst:3303 msgid "" "Currently *effective_ids* is only supported on Unix platforms; it does not " "work on Windows." msgstr "" -#: library/os.rst:3308 +#: library/os.rst:3311 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "permit specifying their *path* parameter as an open file descriptor on the " @@ -3613,7 +3625,7 @@ msgid "" "*path* arguments is not available on all platforms Python supports." msgstr "" -#: library/os.rst:3315 +#: library/os.rst:3318 msgid "" "To determine whether a particular function permits specifying an open file " "descriptor for its *path* parameter, use the ``in`` operator on " @@ -3622,7 +3634,7 @@ msgid "" "platform::" msgstr "" -#: library/os.rst:3328 +#: library/os.rst:3331 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "accept ``False`` for their *follow_symlinks* parameter on the local " @@ -3635,7 +3647,7 @@ msgid "" "on all platforms.)" msgstr "" -#: library/os.rst:3338 +#: library/os.rst:3341 msgid "" "To check whether a particular function accepts ``False`` for its " "*follow_symlinks* parameter, use the ``in`` operator on " @@ -3644,11 +3656,11 @@ msgid "" "stat` on the local platform::" msgstr "" -#: library/os.rst:3351 +#: library/os.rst:3354 msgid "Create a symbolic link pointing to *src* named *dst*." msgstr "" -#: library/os.rst:3353 +#: library/os.rst:3356 msgid "" "On Windows, a symlink represents either a file or a directory, and does not " "morph to the target dynamically. If the target is present, the type of the " @@ -3658,7 +3670,7 @@ msgid "" "ignored." msgstr "" -#: library/os.rst:3364 +#: library/os.rst:3367 msgid "" "On newer versions of Windows 10, unprivileged accounts can create symlinks " "if Developer Mode is enabled. When Developer Mode is not available/enabled, " @@ -3666,83 +3678,83 @@ msgid "" "must be run as an administrator." msgstr "" -#: library/os.rst:3370 +#: library/os.rst:3373 msgid "" ":exc:`OSError` is raised when the function is called by an unprivileged user." msgstr "" -#: library/os.rst:3373 +#: library/os.rst:3376 msgid "" "Raises an :ref:`auditing event ` ``os.symlink`` with arguments " "``src``, ``dst``, ``dir_fd``." msgstr "" -#: library/os.rst:3383 +#: library/os.rst:3386 msgid "" "Added the *dir_fd* argument, and now allow *target_is_directory* on non-" "Windows platforms." msgstr "" -#: library/os.rst:3390 +#: library/os.rst:3393 msgid "Added support for unelevated symlinks on Windows with Developer Mode." msgstr "" -#: library/os.rst:3396 +#: library/os.rst:3399 msgid "Force write of everything to disk." msgstr "" -#: library/os.rst:3405 +#: library/os.rst:3408 msgid "" "Truncate the file corresponding to *path*, so that it is at most *length* " "bytes in size." msgstr "" -#: library/os.rst:3410 +#: library/os.rst:3413 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``path``, ``length``." msgstr "" -#: library/os.rst:3425 +#: library/os.rst:3428 msgid "" "Remove (delete) the file *path*. This function is semantically identical " "to :func:`remove`; the ``unlink`` name is its traditional Unix name. Please " "see the documentation for :func:`remove` for further information." msgstr "" -#: library/os.rst:3441 +#: library/os.rst:3444 msgid "Set the access and modified times of the file specified by *path*." msgstr "" -#: library/os.rst:3443 +#: library/os.rst:3446 msgid "" ":func:`utime` takes two optional parameters, *times* and *ns*. These specify " "the times set on *path* and are used as follows:" msgstr "" -#: library/os.rst:3446 +#: library/os.rst:3449 msgid "" "If *ns* is specified, it must be a 2-tuple of the form ``(atime_ns, " "mtime_ns)`` where each member is an int expressing nanoseconds." msgstr "" -#: library/os.rst:3449 +#: library/os.rst:3452 msgid "" "If *times* is not ``None``, it must be a 2-tuple of the form ``(atime, " "mtime)`` where each member is an int or float expressing seconds." msgstr "" -#: library/os.rst:3452 +#: library/os.rst:3455 msgid "" "If *times* is ``None`` and *ns* is unspecified, this is equivalent to " "specifying ``ns=(atime_ns, mtime_ns)`` where both times are the current time." msgstr "" -#: library/os.rst:3456 +#: library/os.rst:3459 msgid "It is an error to specify tuples for both *times* and *ns*." msgstr "" -#: library/os.rst:3458 +#: library/os.rst:3461 msgid "" "Note that the exact times you set here may not be returned by a subsequent :" "func:`~os.stat` call, depending on the resolution with which your operating " @@ -3752,19 +3764,19 @@ msgid "" "func:`utime`." msgstr "" -#: library/os.rst:3469 +#: library/os.rst:3472 msgid "" "Raises an :ref:`auditing event ` ``os.utime`` with arguments " "``path``, ``times``, ``ns``, ``dir_fd``." msgstr "" -#: library/os.rst:3471 +#: library/os.rst:3474 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd*, *follow_symlinks*, and *ns* parameters." msgstr "" -#: library/os.rst:3485 +#: library/os.rst:3488 msgid "" "Generate the file names in a directory tree by walking the tree either top-" "down or bottom-up. For each directory in the tree rooted at directory *top* " @@ -3772,7 +3784,7 @@ msgid "" "filenames)``." msgstr "" -#: library/os.rst:3490 +#: library/os.rst:3493 msgid "" "*dirpath* is a string, the path to the directory. *dirnames* is a list of " "the names of the subdirectories in *dirpath* (including symlinks to " @@ -3786,7 +3798,7 @@ msgid "" "unspecified." msgstr "" -#: library/os.rst:3501 +#: library/os.rst:3504 msgid "" "If optional argument *topdown* is ``True`` or not specified, the triple for " "a directory is generated before the triples for any of its subdirectories " @@ -3797,7 +3809,7 @@ msgid "" "its subdirectories are generated." msgstr "" -#: library/os.rst:3509 +#: library/os.rst:3512 msgid "" "When *topdown* is ``True``, the caller can modify the *dirnames* list in-" "place (perhaps using :keyword:`del` or slice assignment), and :func:`walk` " @@ -3810,7 +3822,7 @@ msgid "" "itself is generated." msgstr "" -#: library/os.rst:3518 +#: library/os.rst:3521 msgid "" "By default, errors from the :func:`scandir` call are ignored. If optional " "argument *onerror* is specified, it should be a function; it will be called " @@ -3820,66 +3832,66 @@ msgid "" "object." msgstr "" -#: library/os.rst:3524 +#: library/os.rst:3527 msgid "" "By default, :func:`walk` will not walk down into symbolic links that resolve " "to directories. Set *followlinks* to ``True`` to visit directories pointed " "to by symlinks, on systems that support them." msgstr "" -#: library/os.rst:3530 +#: library/os.rst:3533 msgid "" "Be aware that setting *followlinks* to ``True`` can lead to infinite " "recursion if a link points to a parent directory of itself. :func:`walk` " "does not keep track of the directories it visited already." msgstr "" -#: library/os.rst:3536 +#: library/os.rst:3539 msgid "" "If you pass a relative pathname, don't change the current working directory " "between resumptions of :func:`walk`. :func:`walk` never changes the current " "directory, and assumes that its caller doesn't either." msgstr "" -#: library/os.rst:3601 +#: library/os.rst:3604 msgid "" "This example displays the number of bytes taken by non-directory files in " "each directory under the starting directory, except that it doesn't look " "under any CVS subdirectory::" msgstr "" -#: library/os.rst:3553 +#: library/os.rst:3556 msgid "" "In the next example (simple implementation of :func:`shutil.rmtree`), " "walking the tree bottom-up is essential, :func:`rmdir` doesn't allow " "deleting a directory before the directory is empty::" msgstr "" -#: library/os.rst:3568 +#: library/os.rst:3571 msgid "" "Raises an :ref:`auditing event ` ``os.walk`` with arguments " "``top``, ``topdown``, ``onerror``, ``followlinks``." msgstr "" -#: library/os.rst:3570 +#: library/os.rst:3573 msgid "" "This function now calls :func:`os.scandir` instead of :func:`os.listdir`, " "making it faster by reducing the number of calls to :func:`os.stat`." msgstr "" -#: library/os.rst:3584 +#: library/os.rst:3587 msgid "" "This behaves exactly like :func:`walk`, except that it yields a 4-tuple " "``(dirpath, dirnames, filenames, dirfd)``, and it supports ``dir_fd``." msgstr "" -#: library/os.rst:3587 +#: library/os.rst:3590 msgid "" "*dirpath*, *dirnames* and *filenames* are identical to :func:`walk` output, " "and *dirfd* is a file descriptor referring to the directory *dirpath*." msgstr "" -#: library/os.rst:3590 +#: library/os.rst:3593 msgid "" "This function always supports :ref:`paths relative to directory descriptors " "` and :ref:`not following symlinks `. Note however " @@ -3887,30 +3899,30 @@ msgid "" "*follow_symlinks* is ``False``." msgstr "" -#: library/os.rst:3597 +#: library/os.rst:3600 msgid "" "Since :func:`fwalk` yields file descriptors, those are only valid until the " "next iteration step, so you should duplicate them (e.g. with :func:`dup`) if " "you want to keep them longer." msgstr "" -#: library/os.rst:3614 +#: library/os.rst:3617 msgid "" "In the next example, walking the tree bottom-up is essential: :func:`rmdir` " "doesn't allow deleting a directory before the directory is empty::" msgstr "" -#: library/os.rst:3629 +#: library/os.rst:3632 msgid "" "Raises an :ref:`auditing event ` ``os.fwalk`` with arguments " "``top``, ``topdown``, ``onerror``, ``follow_symlinks``, ``dir_fd``." msgstr "" -#: library/os.rst:3638 +#: library/os.rst:3641 msgid "Added support for :class:`bytes` paths." msgstr "" -#: library/os.rst:3644 +#: library/os.rst:3647 msgid "" "Create an anonymous file and return a file descriptor that refers to it. " "*flags* must be one of the ``os.MFD_*`` constants available on the system " @@ -3918,7 +3930,7 @@ msgid "" "descriptor is :ref:`non-inheritable `." msgstr "" -#: library/os.rst:3649 +#: library/os.rst:3652 msgid "" "The name supplied in *name* is used as a filename and will be displayed as " "the target of the corresponding symbolic link in the directory ``/proc/self/" @@ -3928,23 +3940,23 @@ msgid "" "side effects." msgstr "" -#: library/os.rst:3656 +#: library/os.rst:3659 msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27." msgstr "" -#: library/os.rst:3679 +#: library/os.rst:3682 msgid "These flags can be passed to :func:`memfd_create`." msgstr "" -#: library/os.rst:3681 +#: library/os.rst:3684 msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27" msgstr "" -#: library/os.rst:3683 +#: library/os.rst:3686 msgid "The ``MFD_HUGE*`` flags are only available since Linux 4.14." msgstr "" -#: library/os.rst:3690 +#: library/os.rst:3693 msgid "" "Create and return an event file descriptor. The file descriptors supports " "raw :func:`read` and :func:`write` with a buffer size of 8, :func:`~select." @@ -3953,7 +3965,7 @@ msgid "" "ref:`non-inheritable `." msgstr "" -#: library/os.rst:3696 +#: library/os.rst:3699 msgid "" "*initval* is the initial value of the event counter. The initial value must " "be an 32 bit unsigned integer. Please note that the initial value is limited " @@ -3961,86 +3973,86 @@ msgid "" "integer with a maximum value of 2\\ :sup:`64`\\ -\\ 2." msgstr "" -#: library/os.rst:3701 +#: library/os.rst:3704 msgid "" "*flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, " "and :const:`EFD_SEMAPHORE`." msgstr "" -#: library/os.rst:3704 +#: library/os.rst:3707 msgid "" "If :const:`EFD_SEMAPHORE` is specified and the event counter is non-zero, :" "func:`eventfd_read` returns 1 and decrements the counter by one." msgstr "" -#: library/os.rst:3707 +#: library/os.rst:3710 msgid "" "If :const:`EFD_SEMAPHORE` is not specified and the event counter is non-" "zero, :func:`eventfd_read` returns the current event counter value and " "resets the counter to zero." msgstr "" -#: library/os.rst:3711 +#: library/os.rst:3714 msgid "" "If the event counter is zero and :const:`EFD_NONBLOCK` is not specified, :" "func:`eventfd_read` blocks." msgstr "" -#: library/os.rst:3714 +#: library/os.rst:3717 msgid "" ":func:`eventfd_write` increments the event counter. Write blocks if the " "write operation would increment the counter to a value larger than 2\\ :sup:" "`64`\\ -\\ 2." msgstr "" -#: library/os.rst:3735 +#: library/os.rst:3738 msgid ":ref:`Availability `: Linux >= 2.6.27 with glibc >= 2.8" msgstr "" -#: library/os.rst:3741 +#: library/os.rst:3744 msgid "" "Read value from an :func:`eventfd` file descriptor and return a 64 bit " "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." msgstr "" -#: library/os.rst:3753 library/os.rst:3770 +#: library/os.rst:3756 library/os.rst:3773 msgid ":ref:`Availability `: Linux >= 2.6.27" msgstr "" -#: library/os.rst:3750 +#: library/os.rst:3753 msgid "" "Add value to an :func:`eventfd` file descriptor. *value* must be a 64 bit " "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." msgstr "" -#: library/os.rst:3759 +#: library/os.rst:3762 msgid "Set close-on-exec flag for new :func:`eventfd` file descriptor." msgstr "" -#: library/os.rst:3767 +#: library/os.rst:3770 msgid "" "Set :const:`O_NONBLOCK` status flag for new :func:`eventfd` file descriptor." msgstr "" -#: library/os.rst:3776 +#: library/os.rst:3779 msgid "" "Provide semaphore-like semantics for reads from a :func:`eventfd` file " "descriptor. On read the internal counter is decremented by one." msgstr "" -#: library/os.rst:3779 +#: library/os.rst:3782 msgid ":ref:`Availability `: Linux >= 2.6.30" msgstr "" -#: library/os.rst:3785 +#: library/os.rst:3788 msgid "Linux extended attributes" msgstr "" -#: library/os.rst:3789 +#: library/os.rst:3792 msgid "These functions are all available on Linux only." msgstr "" -#: library/os.rst:3793 +#: library/os.rst:3796 msgid "" "Return the value of the extended filesystem attribute *attribute* for " "*path*. *attribute* can be bytes or str (directly or indirectly through the :" @@ -4048,17 +4060,17 @@ msgid "" "encoding." msgstr "" -#: library/os.rst:3801 +#: library/os.rst:3804 msgid "" "Raises an :ref:`auditing event ` ``os.getxattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3835 library/os.rst:3860 +#: library/os.rst:3838 library/os.rst:3863 msgid "Accepts a :term:`path-like object` for *path* and *attribute*." msgstr "" -#: library/os.rst:3809 +#: library/os.rst:3812 msgid "" "Return a list of the extended filesystem attributes on *path*. The " "attributes in the list are represented as strings decoded with the " @@ -4066,13 +4078,13 @@ msgid "" "the current directory." msgstr "" -#: library/os.rst:3817 +#: library/os.rst:3820 msgid "" "Raises an :ref:`auditing event ` ``os.listxattr`` with argument " "``path``." msgstr "" -#: library/os.rst:3825 +#: library/os.rst:3828 msgid "" "Removes the extended filesystem attribute *attribute* from *path*. " "*attribute* should be bytes or str (directly or indirectly through the :" @@ -4080,13 +4092,13 @@ msgid "" "`filesystem encoding and error handler`." msgstr "" -#: library/os.rst:3833 +#: library/os.rst:3836 msgid "" "Raises an :ref:`auditing event ` ``os.removexattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3841 +#: library/os.rst:3844 msgid "" "Set the extended filesystem attribute *attribute* on *path* to *value*. " "*attribute* must be a bytes or str with no embedded NULs (directly or " @@ -4098,45 +4110,45 @@ msgid "" "will not be created and ``EEXISTS`` will be raised." msgstr "" -#: library/os.rst:3855 +#: library/os.rst:3858 msgid "" "A bug in Linux kernel versions less than 2.6.39 caused the flags argument to " "be ignored on some filesystems." msgstr "" -#: library/os.rst:3858 +#: library/os.rst:3861 msgid "" "Raises an :ref:`auditing event ` ``os.setxattr`` with arguments " "``path``, ``attribute``, ``value``, ``flags``." msgstr "" -#: library/os.rst:3866 +#: library/os.rst:3869 msgid "" "The maximum size the value of an extended attribute can be. Currently, this " "is 64 KiB on Linux." msgstr "" -#: library/os.rst:3872 +#: library/os.rst:3875 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must create an attribute." msgstr "" -#: library/os.rst:3878 +#: library/os.rst:3881 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must replace an existing attribute." msgstr "" -#: library/os.rst:3885 +#: library/os.rst:3888 msgid "Process Management" msgstr "" -#: library/os.rst:3887 +#: library/os.rst:3890 msgid "These functions may be used to create and manage processes." msgstr "" -#: library/os.rst:3889 +#: library/os.rst:3892 msgid "" "The various :func:`exec\\* ` functions take a list of arguments for " "the new program loaded into the process. In each case, the first of these " @@ -4147,7 +4159,7 @@ msgid "" "standard output; ``foo`` will seem to be ignored." msgstr "" -#: library/os.rst:3900 +#: library/os.rst:3903 msgid "" "Generate a :const:`SIGABRT` signal to the current process. On Unix, the " "default behavior is to produce a core dump; on Windows, the process " @@ -4156,37 +4168,37 @@ msgid "" "`SIGABRT` with :func:`signal.signal`." msgstr "" -#: library/os.rst:3909 +#: library/os.rst:3912 msgid "Add a path to the DLL search path." msgstr "" -#: library/os.rst:3911 +#: library/os.rst:3914 msgid "" "This search path is used when resolving dependencies for imported extension " "modules (the module itself is resolved through :data:`sys.path`), and also " "by :mod:`ctypes`." msgstr "" -#: library/os.rst:3915 +#: library/os.rst:3918 msgid "" "Remove the directory by calling **close()** on the returned object or using " "it in a :keyword:`with` statement." msgstr "" -#: library/os.rst:3918 +#: library/os.rst:3921 msgid "" "See the `Microsoft documentation `_ for more information about how " "DLLs are loaded." msgstr "" -#: library/os.rst:3922 +#: library/os.rst:3925 msgid "" "Raises an :ref:`auditing event ` ``os.add_dll_directory`` with " "argument ``path``." msgstr "" -#: library/os.rst:3926 +#: library/os.rst:3929 msgid "" "Previous versions of CPython would resolve DLLs using the default behavior " "for the current process. This led to inconsistencies, such as only sometimes " @@ -4194,14 +4206,14 @@ msgid "" "such as ``AddDllDirectory`` having no effect." msgstr "" -#: library/os.rst:3933 +#: library/os.rst:3936 msgid "" "In 3.8, the two primary ways DLLs are loaded now explicitly override the " "process-wide behavior to ensure consistency. See the :ref:`porting notes " "` for information on updating libraries." msgstr "" -#: library/os.rst:3948 +#: library/os.rst:3951 msgid "" "These functions all execute a new program, replacing the current process; " "they do not return. On Unix, the new executable is loaded into the current " @@ -4209,7 +4221,7 @@ msgid "" "reported as :exc:`OSError` exceptions." msgstr "" -#: library/os.rst:3953 +#: library/os.rst:3956 msgid "" "The current process is replaced immediately. Open file objects and " "descriptors are not flushed, so if there may be data buffered on these open " @@ -4217,20 +4229,20 @@ msgid "" "fsync` before calling an :func:`exec\\* ` function." msgstr "" -#: library/os.rst:3959 +#: library/os.rst:3962 msgid "" "The \"l\" and \"v\" variants of the :func:`exec\\* ` functions differ " "in how command-line arguments are passed. The \"l\" variants are perhaps " "the easiest to work with if the number of parameters is fixed when the code " "is written; the individual parameters simply become additional parameters to " -"the :func:`execl\\*` functions. The \"v\" variants are good when the number " -"of parameters is variable, with the arguments being passed in a list or " -"tuple as the *args* parameter. In either case, the arguments to the child " -"process should start with the name of the command being run, but this is not " -"enforced." +"the :func:`!execl\\*` functions. The \"v\" variants are good when the " +"number of parameters is variable, with the arguments being passed in a list " +"or tuple as the *args* parameter. In either case, the arguments to the " +"child process should start with the name of the command being run, but this " +"is not enforced." msgstr "" -#: library/os.rst:3968 +#: library/os.rst:3971 msgid "" "The variants which include a \"p\" near the end (:func:`execlp`, :func:" "`execlpe`, :func:`execvp`, and :func:`execvpe`) will use the :envvar:`PATH` " @@ -4244,7 +4256,7 @@ msgid "" "even on Windows, as plain names will not be resolved." msgstr "" -#: library/os.rst:3979 +#: library/os.rst:3982 msgid "" "For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -4254,7 +4266,7 @@ msgid "" "process to inherit the environment of the current process." msgstr "" -#: library/os.rst:3986 +#: library/os.rst:3989 msgid "" "For :func:`execve` on some platforms, *path* may also be specified as an " "open file descriptor. This functionality may not be supported on your " @@ -4263,31 +4275,31 @@ msgid "" "`NotImplementedError`." msgstr "" -#: library/os.rst:3991 +#: library/os.rst:3994 msgid "" "Raises an :ref:`auditing event ` ``os.exec`` with arguments " "``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:3995 +#: library/os.rst:3998 msgid "" "Added support for specifying *path* as an open file descriptor for :func:" "`execve`." msgstr "" -#: library/os.rst:4004 +#: library/os.rst:4007 msgid "" "Exit the process with status *n*, without calling cleanup handlers, flushing " "stdio buffers, etc." msgstr "" -#: library/os.rst:4009 +#: library/os.rst:4012 msgid "" "The standard way to exit is :func:`sys.exit(n) `. :func:`!_exit` " "should normally only be used in the child process after a :func:`fork`." msgstr "" -#: library/os.rst:4012 +#: library/os.rst:4015 msgid "" "The following exit codes are defined and can be used with :func:`_exit`, " "although they are not required. These are typically used for system " @@ -4295,133 +4307,139 @@ msgid "" "delivery program." msgstr "" -#: library/os.rst:4018 +#: library/os.rst:4021 msgid "" "Some of these may not be available on all Unix platforms, since there is " "some variation. These constants are defined where they are defined by the " "underlying platform." msgstr "" -#: library/os.rst:4025 +#: library/os.rst:4028 msgid "" "Exit code that means no error occurred. May be taken from the defined value " "of ``EXIT_SUCCESS`` on some platforms. Generally has a value of zero." msgstr "" -#: library/os.rst:4033 +#: library/os.rst:4036 msgid "" "Exit code that means the command was used incorrectly, such as when the " "wrong number of arguments are given." msgstr "" -#: library/os.rst:4041 +#: library/os.rst:4044 msgid "Exit code that means the input data was incorrect." msgstr "" -#: library/os.rst:4048 +#: library/os.rst:4051 msgid "Exit code that means an input file did not exist or was not readable." msgstr "" -#: library/os.rst:4055 +#: library/os.rst:4058 msgid "Exit code that means a specified user did not exist." msgstr "" -#: library/os.rst:4062 +#: library/os.rst:4065 msgid "Exit code that means a specified host did not exist." msgstr "" -#: library/os.rst:4069 +#: library/os.rst:4072 msgid "Exit code that means that a required service is unavailable." msgstr "" -#: library/os.rst:4076 +#: library/os.rst:4079 msgid "Exit code that means an internal software error was detected." msgstr "" -#: library/os.rst:4083 +#: library/os.rst:4086 msgid "" "Exit code that means an operating system error was detected, such as the " "inability to fork or create a pipe." msgstr "" -#: library/os.rst:4091 +#: library/os.rst:4094 msgid "" "Exit code that means some system file did not exist, could not be opened, or " "had some other kind of error." msgstr "" -#: library/os.rst:4099 +#: library/os.rst:4102 msgid "Exit code that means a user specified output file could not be created." msgstr "" -#: library/os.rst:4106 +#: library/os.rst:4109 msgid "" "Exit code that means that an error occurred while doing I/O on some file." msgstr "" -#: library/os.rst:4113 +#: library/os.rst:4116 msgid "" "Exit code that means a temporary failure occurred. This indicates something " "that may not really be an error, such as a network connection that couldn't " "be made during a retryable operation." msgstr "" -#: library/os.rst:4122 +#: library/os.rst:4125 msgid "" "Exit code that means that a protocol exchange was illegal, invalid, or not " "understood." msgstr "" -#: library/os.rst:4130 +#: library/os.rst:4133 msgid "" "Exit code that means that there were insufficient permissions to perform the " "operation (but not intended for file system problems)." msgstr "" -#: library/os.rst:4138 +#: library/os.rst:4141 msgid "Exit code that means that some kind of configuration error occurred." msgstr "" -#: library/os.rst:4145 +#: library/os.rst:4148 msgid "Exit code that means something like \"an entry was not found\"." msgstr "" -#: library/os.rst:4152 +#: library/os.rst:4155 msgid "" "Fork a child process. Return ``0`` in the child and the child's process id " "in the parent. If an error occurs :exc:`OSError` is raised." msgstr "" -#: library/os.rst:4155 +#: library/os.rst:4158 msgid "" "Note that some platforms including FreeBSD <= 6.3 and Cygwin have known " "issues when using ``fork()`` from a thread." msgstr "" -#: library/os.rst:4158 +#: library/os.rst:4161 msgid "" "Raises an :ref:`auditing event ` ``os.fork`` with no arguments." msgstr "" -#: library/os.rst:4162 +#: library/os.rst:4165 msgid "" "If you use TLS sockets in an application calling ``fork()``, see the warning " "in the :mod:`ssl` documentation." msgstr "" -#: library/os.rst:4165 +#: library/os.rst:4214 +msgid "" +"On macOS the use of this function is unsafe when mixed with using higher-" +"level system APIs, and that includes using :mod:`urllib.request`." +msgstr "" + +#: library/os.rst:4173 msgid "" "Calling ``fork()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:4169 +#: library/os.rst:4177 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 +#: library/os.rst:4181 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 " @@ -4432,25 +4450,25 @@ msgid "" "``free``)." msgstr "" -#: library/os.rst:4182 +#: library/os.rst:4190 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 +#: library/os.rst:4194 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 +#: library/os.rst:4446 msgid ":ref:`Availability `: POSIX, not Emscripten, not WASI." msgstr "" -#: library/os.rst:4196 +#: library/os.rst:4204 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, " @@ -4459,31 +4477,31 @@ msgid "" "the :mod:`pty` module. If an error occurs :exc:`OSError` is raised." msgstr "" -#: library/os.rst:4202 +#: library/os.rst:4210 msgid "" "Raises an :ref:`auditing event ` ``os.forkpty`` with no arguments." msgstr "" -#: library/os.rst:4204 +#: library/os.rst:4217 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 +#: library/os.rst:4222 msgid "" "Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:4222 +#: library/os.rst:4235 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:4225 +#: library/os.rst:4238 msgid "" "Windows: The :const:`signal.CTRL_C_EVENT` and :const:`signal." "CTRL_BREAK_EVENT` signals are special signals which can only be sent to " @@ -4494,51 +4512,51 @@ msgid "" "process handles to be killed." msgstr "" -#: library/os.rst:4233 +#: library/os.rst:4246 msgid "See also :func:`signal.pthread_kill`." msgstr "" -#: library/os.rst:4235 +#: library/os.rst:4248 msgid "" "Raises an :ref:`auditing event ` ``os.kill`` with arguments " "``pid``, ``sig``." msgstr "" -#: library/os.rst:4239 +#: library/os.rst:4252 msgid "Windows support." msgstr "" -#: library/os.rst:4249 +#: library/os.rst:4262 msgid "Send the signal *sig* to the process group *pgid*." msgstr "" -#: library/os.rst:4251 +#: library/os.rst:4264 msgid "" "Raises an :ref:`auditing event ` ``os.killpg`` with arguments " "``pgid``, ``sig``." msgstr "" -#: library/os.rst:4258 +#: library/os.rst:4271 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" -#: library/os.rst:4265 +#: library/os.rst:4278 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:4269 +#: library/os.rst:4282 msgid "See the :manpage:`pidfd_open(2)` man page for more details." msgstr "" -#: library/os.rst:4271 +#: library/os.rst:4284 msgid ":ref:`Availability `: Linux >= 5.3" msgstr "" -#: library/os.rst:4276 +#: library/os.rst:4289 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 " @@ -4546,17 +4564,17 @@ msgid "" "immediately return the error :const:`~errno.EAGAIN` rather than blocking." msgstr "" -#: library/os.rst:4281 +#: library/os.rst:4294 msgid ":ref:`Availability `: Linux >= 5.10" msgstr "" -#: library/os.rst:4287 +#: library/os.rst:4300 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." msgstr "" -#: library/os.rst:4295 +#: library/os.rst:4308 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 " @@ -4566,7 +4584,7 @@ msgid "" "rather than bytes." msgstr "" -#: library/os.rst:4303 +#: library/os.rst:4316 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -4578,60 +4596,60 @@ msgid "" "contains the signed integer return code from the child process." msgstr "" -#: library/os.rst:4313 +#: library/os.rst:4326 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:4318 +#: library/os.rst:4331 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:4322 +#: library/os.rst:4335 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" -#: library/os.rst:4325 +#: library/os.rst:4338 msgid "" "The :ref:`Python UTF-8 Mode ` affects encodings used for *cmd* " "and pipe contents." msgstr "" -#: library/os.rst:4328 +#: library/os.rst:4341 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:4337 +#: library/os.rst:4350 msgid "Wraps the :c:func:`!posix_spawn` C library API for use from Python." msgstr "" -#: library/os.rst:4339 +#: library/os.rst:4352 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" -#: library/os.rst:4341 +#: library/os.rst:4354 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar to :func:" "`execve`." msgstr "" -#: library/os.rst:4344 +#: library/os.rst:4357 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:4348 +#: library/os.rst:4361 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 " @@ -4640,31 +4658,31 @@ msgid "" "describing the remaining tuple elements:" msgstr "" -#: library/os.rst:4356 +#: library/os.rst:4369 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "" -#: library/os.rst:4358 +#: library/os.rst:4371 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "" -#: library/os.rst:4362 +#: library/os.rst:4375 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "" -#: library/os.rst:4364 +#: library/os.rst:4377 msgid "Performs ``os.close(fd)``." msgstr "" -#: library/os.rst:4368 +#: library/os.rst:4381 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "" -#: library/os.rst:4370 +#: library/os.rst:4383 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "" -#: library/os.rst:4372 +#: library/os.rst:4385 msgid "" "These tuples correspond to the C library :c:func:`!" "posix_spawn_file_actions_addopen`, :c:func:`!" @@ -4673,7 +4691,7 @@ msgid "" "`!posix_spawn` call itself." msgstr "" -#: library/os.rst:4378 +#: library/os.rst:4391 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 " @@ -4682,7 +4700,7 @@ msgid "" "corresponds to the C library :c:macro:`!POSIX_SPAWN_SETPGROUP` flag." msgstr "" -#: library/os.rst:4384 +#: library/os.rst:4397 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 " @@ -4693,7 +4711,7 @@ msgid "" "library :c:macro:`!POSIX_SPAWN_RESETIDS` flag." msgstr "" -#: library/os.rst:4392 +#: library/os.rst:4405 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:" @@ -4701,7 +4719,7 @@ msgid "" "is raised." msgstr "" -#: library/os.rst:4397 +#: library/os.rst:4410 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 " @@ -4709,14 +4727,14 @@ msgid "" "POSIX_SPAWN_SETSIGMASK` flag." msgstr "" -#: library/os.rst:4402 +#: library/os.rst:4415 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:4406 +#: library/os.rst:4419 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -4726,78 +4744,78 @@ msgid "" "POSIX_SPAWN_SETSCHEDULER` flags." msgstr "" -#: library/os.rst:4429 +#: library/os.rst:4442 msgid "" "Raises an :ref:`auditing event ` ``os.posix_spawn`` with arguments " "``path``, ``argv``, ``env``." msgstr "" -#: library/os.rst:4423 +#: library/os.rst:4436 msgid "Wraps the :c:func:`!posix_spawnp` C library API for use from Python." msgstr "" -#: library/os.rst:4425 +#: library/os.rst:4438 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:4435 +#: library/os.rst:4448 msgid "See :func:`posix_spawn` documentation." msgstr "" -#: library/os.rst:4441 +#: library/os.rst:4454 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:4446 +#: library/os.rst:4459 msgid "*before* is a function called before forking a child process." msgstr "" -#: library/os.rst:4447 +#: library/os.rst:4460 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." msgstr "" -#: library/os.rst:4449 +#: library/os.rst:4462 msgid "*after_in_child* is a function called from the child process." msgstr "" -#: library/os.rst:4451 +#: library/os.rst:4464 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:4455 +#: library/os.rst:4468 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:4460 +#: library/os.rst:4473 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:4464 +#: library/os.rst:4477 msgid "There is no way to unregister a function." msgstr "" -#: library/os.rst:4480 +#: library/os.rst:4493 msgid "Execute the program *path* in a new process." msgstr "" -#: library/os.rst:4482 +#: library/os.rst:4495 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -4805,7 +4823,7 @@ msgid "" "`subprocess-replacements` section.)" msgstr "" -#: library/os.rst:4487 +#: library/os.rst:4500 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 " @@ -4814,25 +4832,25 @@ msgid "" "handle, so can be used with the :func:`waitpid` function." msgstr "" -#: library/os.rst:4493 +#: library/os.rst:4506 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:4496 +#: library/os.rst:4509 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " "perhaps the easiest to work with if the number of parameters is fixed when " "the code is written; the individual parameters simply become additional " -"parameters to the :func:`spawnl\\*` functions. The \"v\" variants are good " +"parameters to the :func:`!spawnl\\*` functions. The \"v\" variants are good " "when the number of parameters is variable, with the arguments being passed " "in a list or tuple as the *args* parameter. In either case, the arguments " "to the child process must start with the name of the command being run." msgstr "" -#: library/os.rst:4505 +#: library/os.rst:4518 msgid "" "The variants which include a second \"p\" near the end (:func:`spawnlp`, :" "func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:" @@ -4845,7 +4863,7 @@ msgid "" "appropriate absolute or relative path." msgstr "" -#: library/os.rst:4515 +#: library/os.rst:4528 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 " @@ -4857,19 +4875,19 @@ msgid "" "values will cause the function to fail, with a return value of ``127``." msgstr "" -#: library/os.rst:4524 +#: library/os.rst:4537 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" msgstr "" -#: library/os.rst:4533 +#: library/os.rst:4546 msgid "" "Raises an :ref:`auditing event ` ``os.spawn`` with arguments " "``mode``, ``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:4537 +#: library/os.rst:4550 msgid "" ":func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are " "not available on Windows. :func:`spawnle` and :func:`spawnve` are not " @@ -4877,24 +4895,24 @@ msgid "" "instead." msgstr "" -#: library/os.rst:4549 +#: library/os.rst:4562 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, the :func:" -"`spawn\\*` functions will return as soon as the new process has been " -"created, with the process id as the return value." +"`spawn\\* ` functions will return as soon as the new process has " +"been created, with the process id as the return value." msgstr "" -#: library/os.rst:4559 +#: library/os.rst:4572 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " -"family of functions. If this is given as *mode*, the :func:`spawn\\*` " -"functions will not return until the new process has run to completion and " -"will return the exit code of the process the run is successful, or ``-" -"signal`` if a signal kills the process." +"family of functions. If this is given as *mode*, the :func:`spawn\\* " +"` functions will not return until the new process has run to " +"completion and will return the exit code of the process the run is " +"successful, or ``-signal`` if a signal kills the process." msgstr "" -#: library/os.rst:4571 +#: library/os.rst:4584 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed above. :" @@ -4904,11 +4922,11 @@ msgid "" "function will not return." msgstr "" -#: library/os.rst:4582 +#: library/os.rst:4595 msgid "Start a file with its associated application." msgstr "" -#: library/os.rst:4584 +#: library/os.rst:4597 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:" @@ -4916,7 +4934,7 @@ msgid "" "whatever application (if any) its extension is associated." msgstr "" -#: library/os.rst:4589 +#: library/os.rst:4602 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 " @@ -4924,28 +4942,28 @@ msgid "" "as well as ``'explore'`` and ``'find'`` (to be used on directories)." msgstr "" -#: library/os.rst:4594 +#: library/os.rst:4607 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:4598 +#: library/os.rst:4611 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:4602 +#: library/os.rst:4615 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:4606 +#: library/os.rst:4619 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 " @@ -4956,32 +4974,32 @@ msgid "" "encoded for Win32." msgstr "" -#: library/os.rst:4614 +#: library/os.rst:4627 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:4618 +#: library/os.rst:4631 msgid "" "Raises an :ref:`auditing event ` ``os.startfile`` with arguments " "``path``, ``operation``." msgstr "" -#: library/os.rst:4620 +#: library/os.rst:4633 msgid "" "Raises an :ref:`auditing event ` ``os.startfile/2`` with arguments " "``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``." msgstr "" -#: library/os.rst:4624 +#: library/os.rst:4637 msgid "" "Added the *arguments*, *cwd* and *show_cmd* arguments, and the ``os." "startfile/2`` audit event." msgstr "" -#: library/os.rst:4631 +#: library/os.rst:4644 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 " @@ -4992,13 +5010,13 @@ msgid "" "value of the Python function is system-dependent." msgstr "" -#: library/os.rst:4639 +#: library/os.rst:4652 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:4642 +#: library/os.rst:4655 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 :" @@ -5007,7 +5025,7 @@ msgid "" "shell documentation." msgstr "" -#: library/os.rst:4648 +#: library/os.rst:4661 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is preferable " @@ -5015,53 +5033,53 @@ msgid "" "the :mod:`subprocess` documentation for some helpful recipes." msgstr "" -#: library/os.rst:4653 +#: library/os.rst:4666 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:4657 +#: library/os.rst:4670 msgid "" "Raises an :ref:`auditing event ` ``os.system`` with argument " "``command``." msgstr "" -#: library/os.rst:4664 +#: library/os.rst:4677 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" msgstr "" -#: library/os.rst:4667 +#: library/os.rst:4680 msgid ":attr:`!user` - user time" msgstr "" -#: library/os.rst:4668 +#: library/os.rst:4681 msgid ":attr:`!system` - system time" msgstr "" -#: library/os.rst:4669 +#: library/os.rst:4682 msgid ":attr:`!children_user` - user time of all child processes" msgstr "" -#: library/os.rst:4670 +#: library/os.rst:4683 msgid ":attr:`!children_system` - system time of all child processes" msgstr "" -#: library/os.rst:4671 +#: library/os.rst:4684 msgid ":attr:`!elapsed` - elapsed real time since a fixed point in the past" msgstr "" -#: library/os.rst:4673 +#: library/os.rst:4686 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:4677 +#: library/os.rst:4690 msgid "" "See the Unix manual page :manpage:`times(2)` and `times(3) `_ manual page on Unix or `the " @@ -5071,7 +5089,7 @@ msgid "" "attributes are zero." msgstr "" -#: library/os.rst:4691 +#: library/os.rst:4704 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 " @@ -5080,83 +5098,87 @@ msgid "" "if a core file was produced." msgstr "" -#: library/os.rst:4697 +#: library/os.rst:4710 msgid "" "If there are no children that could be waited for, :exc:`ChildProcessError` " "is raised." msgstr "" -#: library/os.rst:4772 +#: library/os.rst:4788 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exit code." msgstr "" -#: library/os.rst:4707 +#: library/os.rst:4720 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:4714 +#: library/os.rst:4727 msgid "Wait for the completion of a child process." msgstr "" -#: library/os.rst:4716 +#: library/os.rst:4729 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:4719 +#: library/os.rst:4732 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:4723 +#: library/os.rst:4736 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:4726 +#: library/os.rst:4739 msgid ":attr:`!si_pid` (process ID)" msgstr "" -#: library/os.rst:4727 +#: library/os.rst:4740 msgid ":attr:`!si_uid` (real user ID of the child)" msgstr "" -#: library/os.rst:4728 +#: library/os.rst:4741 msgid ":attr:`!si_signo` (always :const:`~signal.SIGCHLD`)" msgstr "" -#: library/os.rst:4729 +#: library/os.rst:4742 msgid "" ":attr:`!si_status` (the exit status or signal number, depending on :attr:`!" "si_code`)" msgstr "" -#: library/os.rst:4730 +#: library/os.rst:4743 msgid ":attr:`!si_code` (see :data:`CLD_EXITED` for possible values)" msgstr "" -#: library/os.rst:4732 +#: library/os.rst:4745 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:4744 +#: library/os.rst:4753 +msgid "This function is not available on macOS." +msgstr "" + +#: library/os.rst:4760 msgid "The details of this function differ on Unix and Windows." msgstr "" -#: library/os.rst:4746 +#: library/os.rst:4762 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 " @@ -5165,7 +5187,7 @@ msgid "" "operation." msgstr "" -#: library/os.rst:4751 +#: library/os.rst:4767 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 " @@ -5175,7 +5197,7 @@ msgid "" "group ``-pid`` (the absolute value of *pid*)." msgstr "" -#: library/os.rst:4758 +#: library/os.rst:4774 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 " @@ -5184,7 +5206,7 @@ msgid "" "are :data:`WUNTRACED` and :data:`WCONTINUED`." msgstr "" -#: library/os.rst:4764 +#: library/os.rst:4780 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 " @@ -5196,7 +5218,7 @@ msgid "" "process handles." msgstr "" -#: library/os.rst:4785 +#: library/os.rst:4801 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 " @@ -5205,13 +5227,13 @@ msgid "" "same as that provided to :func:`waitpid` and :func:`wait4`." msgstr "" -#: library/os.rst:4806 +#: library/os.rst:4822 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exitcode." msgstr "" -#: library/os.rst:4800 +#: library/os.rst:4816 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -5220,118 +5242,118 @@ msgid "" "to :func:`waitpid`." msgstr "" -#: library/os.rst:4817 +#: library/os.rst:4833 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted:" msgstr "" -#: library/os.rst:4820 +#: library/os.rst:4836 msgid ":data:`!P_PID` - wait for the child whose PID is *id*." msgstr "" -#: library/os.rst:4821 +#: library/os.rst:4837 msgid ":data:`!P_PGID` - wait for any child whose progress group ID is *id*." msgstr "" -#: library/os.rst:4822 +#: library/os.rst:4838 msgid ":data:`!P_ALL` - wait for any child; *id* is ignored." msgstr "" -#: library/os.rst:4823 +#: library/os.rst:4839 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:4828 +#: library/os.rst:4844 msgid ":data:`!P_PIDFD` is only available on Linux >= 5.4." msgstr "" -#: library/os.rst:4831 +#: library/os.rst:4847 msgid "The :data:`!P_PIDFD` constant." msgstr "" -#: library/os.rst:4837 +#: library/os.rst:4853 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:4846 +#: library/os.rst:4862 msgid "" "This *options* flag for :func:`waitid` causes child processes that have " "terminated to be reported." msgstr "" -#: library/os.rst:4849 +#: library/os.rst:4865 msgid "" "The other ``wait*`` functions always report children that have terminated, " "so this option is not available for them." msgstr "" -#: library/os.rst:4859 +#: library/os.rst:4875 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:4894 +#: library/os.rst:4910 msgid "This option is not available for the other ``wait*`` functions." msgstr "" -#: library/os.rst:4871 +#: library/os.rst:4887 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:4875 +#: library/os.rst:4891 msgid "This option is not available for :func:`waitid`." msgstr "" -#: library/os.rst:4882 +#: library/os.rst:4898 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:4891 +#: library/os.rst:4907 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:4906 +#: library/os.rst:4922 msgid "" "These are the possible values for :attr:`!si_code` in the result returned " "by :func:`waitid`." msgstr "" -#: library/os.rst:4913 +#: library/os.rst:4929 msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values." msgstr "" -#: library/os.rst:4919 +#: library/os.rst:4935 msgid "Convert a wait status to an exit code." msgstr "" -#: library/os.rst:4921 +#: library/os.rst:4937 msgid "On Unix:" msgstr "" -#: library/os.rst:4923 +#: library/os.rst:4939 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:4926 +#: library/os.rst:4942 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 " @@ -5339,15 +5361,15 @@ msgid "" "than 0." msgstr "" -#: library/os.rst:4930 +#: library/os.rst:4946 msgid "Otherwise, raise a :exc:`ValueError`." msgstr "" -#: library/os.rst:4932 +#: library/os.rst:4948 msgid "On Windows, return *status* shifted right by 8 bits." msgstr "" -#: library/os.rst:4934 +#: library/os.rst:4950 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 " @@ -5355,221 +5377,221 @@ msgid "" "``WIFSTOPPED(status)`` is true." msgstr "" -#: library/os.rst:4941 +#: library/os.rst:4957 msgid "" ":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:" "`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` functions." msgstr "" -#: library/os.rst:4949 +#: library/os.rst:4965 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:4955 +#: library/os.rst:4971 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." msgstr "" -#: library/os.rst:5024 +#: library/os.rst:5040 msgid "This function should be employed only if :func:`WIFSIGNALED` is true." msgstr "" -#: library/os.rst:4965 +#: library/os.rst:4981 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:4969 +#: library/os.rst:4985 msgid "See :data:`WCONTINUED` option." msgstr "" -#: library/os.rst:4976 +#: library/os.rst:4992 msgid "" "Return ``True`` if the process was stopped by delivery of a signal, " "otherwise return ``False``." msgstr "" -#: library/os.rst:4979 +#: library/os.rst:4995 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:4987 +#: library/os.rst:5003 msgid "" "Return ``True`` if the process was terminated by a signal, otherwise return " "``False``." msgstr "" -#: library/os.rst:4995 +#: library/os.rst:5011 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:5004 +#: library/os.rst:5020 msgid "Return the process exit status." msgstr "" -#: library/os.rst:5006 +#: library/os.rst:5022 msgid "This function should be employed only if :func:`WIFEXITED` is true." msgstr "" -#: library/os.rst:5013 +#: library/os.rst:5029 msgid "Return the signal which caused the process to stop." msgstr "" -#: library/os.rst:5015 +#: library/os.rst:5031 msgid "This function should be employed only if :func:`WIFSTOPPED` is true." msgstr "" -#: library/os.rst:5022 +#: library/os.rst:5038 msgid "Return the number of the signal that caused the process to terminate." msgstr "" -#: library/os.rst:5030 +#: library/os.rst:5046 msgid "Interface to the scheduler" msgstr "" -#: library/os.rst:5032 +#: library/os.rst:5048 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:5038 +#: library/os.rst:5054 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." msgstr "" -#: library/os.rst:5043 +#: library/os.rst:5059 msgid "The default scheduling policy." msgstr "" -#: library/os.rst:5047 +#: library/os.rst:5063 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." msgstr "" -#: library/os.rst:5052 +#: library/os.rst:5068 msgid "Scheduling policy for extremely low priority background tasks." msgstr "" -#: library/os.rst:5056 +#: library/os.rst:5072 msgid "Scheduling policy for sporadic server programs." msgstr "" -#: library/os.rst:5060 +#: library/os.rst:5076 msgid "A First In First Out scheduling policy." msgstr "" -#: library/os.rst:5064 +#: library/os.rst:5080 msgid "A round-robin scheduling policy." msgstr "" -#: library/os.rst:5068 +#: library/os.rst:5084 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:5075 +#: library/os.rst:5091 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:5079 +#: library/os.rst:5095 msgid "At the moment, there is only one possible parameter:" msgstr "" -#: library/os.rst:5083 +#: library/os.rst:5099 msgid "The scheduling priority for a scheduling policy." msgstr "" -#: library/os.rst:5088 +#: library/os.rst:5104 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:5094 +#: library/os.rst:5110 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:5100 +#: library/os.rst:5116 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:5107 +#: library/os.rst:5123 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:5114 +#: library/os.rst:5130 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:5120 +#: library/os.rst:5136 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:5126 +#: library/os.rst:5142 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:5132 +#: library/os.rst:5148 msgid "Voluntarily relinquish the CPU." msgstr "" -#: library/os.rst:5137 +#: library/os.rst:5153 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:5144 +#: library/os.rst:5160 msgid "Return the set of CPUs the process with PID *pid* is restricted to." msgstr "" -#: library/os.rst:5146 +#: library/os.rst:5162 msgid "" "If *pid* is zero, return the set of CPUs the calling thread of the current " "process is restricted to." msgstr "" -#: library/os.rst:5153 +#: library/os.rst:5169 msgid "Miscellaneous System Information" msgstr "" -#: library/os.rst:5158 +#: library/os.rst:5174 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 " @@ -5580,13 +5602,13 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:5166 +#: library/os.rst:5182 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." msgstr "" -#: library/os.rst:5169 +#: library/os.rst:5185 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 " @@ -5594,34 +5616,34 @@ msgid "" "`errno.EINVAL` for the error number." msgstr "" -#: library/os.rst:5179 +#: library/os.rst:5195 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:5188 +#: library/os.rst:5204 msgid "" "Return the number of logical CPUs in the system. Returns ``None`` if " "undetermined." msgstr "" -#: library/os.rst:5191 +#: library/os.rst:5207 msgid "" "This number is not equivalent to the number of logical CPUs the current " "process can use. ``len(os.sched_getaffinity(0))`` gets the number of logical " "CPUs the calling thread of the current process is restricted to" msgstr "" -#: library/os.rst:5200 +#: library/os.rst:5216 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:5209 +#: library/os.rst:5225 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -5630,44 +5652,44 @@ msgid "" "``sysconf_names``." msgstr "" -#: library/os.rst:5219 +#: library/os.rst:5235 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:5225 +#: library/os.rst:5241 msgid "Add ``'SC_MINSIGSTKSZ'`` name." msgstr "" -#: library/os.rst:5228 +#: library/os.rst:5244 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." msgstr "" -#: library/os.rst:5231 +#: library/os.rst:5247 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." msgstr "" -#: library/os.rst:5237 +#: library/os.rst:5253 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:5245 +#: library/os.rst:5261 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:5254 +#: library/os.rst:5270 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -5676,7 +5698,7 @@ msgid "" "useful. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:5264 +#: library/os.rst:5280 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -5684,27 +5706,27 @@ msgid "" "via :mod:`os.path`." msgstr "" -#: library/os.rst:5273 +#: library/os.rst:5289 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:5281 +#: library/os.rst:5297 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:5288 +#: library/os.rst:5304 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:5295 +#: library/os.rst:5311 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 " @@ -5713,36 +5735,36 @@ msgid "" "default); use a single ``'\\n'`` instead, on all platforms." msgstr "" -#: library/os.rst:5304 +#: library/os.rst:5320 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:5315 +#: library/os.rst:5331 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:5323 +#: library/os.rst:5339 msgid "Random numbers" msgstr "" -#: library/os.rst:5328 +#: library/os.rst:5344 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." msgstr "" -#: library/os.rst:5331 +#: library/os.rst:5347 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." msgstr "" -#: library/os.rst:5334 +#: library/os.rst:5350 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -5750,36 +5772,36 @@ msgid "" "``/dev/urandom`` devices." msgstr "" -#: library/os.rst:5339 +#: library/os.rst:5355 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:5343 +#: library/os.rst:5359 msgid "" "See also the `Linux getrandom() manual page `_." msgstr "" -#: library/os.rst:5346 +#: library/os.rst:5362 msgid ":ref:`Availability `: Linux >= 3.17." msgstr "" -#: library/os.rst:5352 +#: library/os.rst:5368 msgid "" "Return a bytestring of *size* random bytes suitable for cryptographic use." msgstr "" -#: library/os.rst:5354 +#: library/os.rst:5370 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:5358 +#: library/os.rst:5374 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -5789,63 +5811,63 @@ msgid "" "to poll until the system urandom entropy pool is initialized." msgstr "" -#: library/os.rst:5365 +#: library/os.rst:5381 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:5369 +#: library/os.rst:5385 msgid "On Windows, it will use ``BCryptGenRandom()``." msgstr "" -#: library/os.rst:5372 +#: library/os.rst:5388 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:5376 +#: library/os.rst:5392 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." msgstr "" -#: library/os.rst:5380 +#: library/os.rst:5396 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:5384 +#: library/os.rst:5400 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:5390 +#: library/os.rst:5406 msgid "" "On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()`` " "which is deprecated." msgstr "" -#: library/os.rst:5396 +#: library/os.rst:5412 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:5400 +#: library/os.rst:5416 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:5407 +#: library/os.rst:5423 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." @@ -5859,7 +5881,7 @@ msgstr "" msgid "effective id" msgstr "" -#: library/os.rst:438 library/os.rst:456 library/os.rst:666 library/os.rst:4245 +#: library/os.rst:438 library/os.rst:456 library/os.rst:666 library/os.rst:4258 msgid "process" msgstr "" @@ -5899,11 +5921,11 @@ msgstr "" msgid "gethostbyaddr() (in module socket)" msgstr "" -#: library/os.rst:2575 +#: library/os.rst:2578 msgid "deleting" msgstr "" -#: library/os.rst:2945 +#: library/os.rst:2948 msgid "module" msgstr "" @@ -5911,7 +5933,7 @@ msgstr "" msgid "pty" msgstr "" -#: library/os.rst:2373 library/os.rst:3481 library/os.rst:3580 +#: library/os.rst:2376 library/os.rst:3484 library/os.rst:3583 msgid "directory" msgstr "" @@ -5919,70 +5941,70 @@ msgstr "" msgid "changing" msgstr "" -#: library/os.rst:2373 +#: library/os.rst:2376 msgid "creating" msgstr "" -#: library/os.rst:2373 +#: library/os.rst:2376 msgid "UNC paths" msgstr "" -#: library/os.rst:2373 +#: library/os.rst:2376 msgid "and os.makedirs()" msgstr "" -#: library/os.rst:2945 +#: library/os.rst:2948 msgid "stat" msgstr "" -#: library/os.rst:3580 +#: library/os.rst:3583 msgid "walking" msgstr "" -#: library/os.rst:3580 +#: library/os.rst:3583 msgid "traversal" msgstr "" -#: library/os.rst:4245 +#: library/os.rst:4258 msgid "killing" msgstr "" -#: library/os.rst:4245 +#: library/os.rst:4258 msgid "signalling" msgstr "" -#: library/os.rst:5270 +#: library/os.rst:5286 msgid ". (dot)" msgstr "" -#: library/os.rst:5242 library/os.rst:5261 library/os.rst:5270 +#: library/os.rst:5258 library/os.rst:5277 library/os.rst:5286 msgid "in pathnames" msgstr "" -#: library/os.rst:5242 +#: library/os.rst:5258 msgid ".." msgstr "" -#: library/os.rst:5261 +#: library/os.rst:5277 msgid "/ (slash)" msgstr "" -#: library/os.rst:5251 +#: library/os.rst:5267 msgid "\\ (backslash)" msgstr "" -#: library/os.rst:5251 +#: library/os.rst:5267 msgid "in pathnames (Windows)" msgstr "" -#: library/os.rst:5277 +#: library/os.rst:5293 msgid ": (colon)" msgstr "" -#: library/os.rst:5277 +#: library/os.rst:5293 msgid "path separator (POSIX)" msgstr "" -#: library/os.rst:5277 +#: library/os.rst:5293 msgid "; (semicolon)" msgstr "" diff --git a/library/pathlib.po b/library/pathlib.po index 5a62a7875..4b97393ae 100644 --- a/library/pathlib.po +++ b/library/pathlib.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -168,7 +168,7 @@ msgid "" "filesystem paths::" msgstr "" -#: library/pathlib.rst:180 library/pathlib.rst:749 library/pathlib.rst:759 +#: library/pathlib.rst:180 library/pathlib.rst:752 library/pathlib.rst:762 msgid "*pathsegments* is specified similarly to :class:`PurePath`." msgstr "" @@ -425,25 +425,29 @@ msgid "" msgstr "" #: library/pathlib.rst:579 +msgid "Accepts an object implementing the :class:`os.PathLike` interface." +msgstr "" + +#: library/pathlib.rst:582 msgid "As with other methods, case-sensitivity follows platform defaults::" msgstr "" -#: library/pathlib.rst:586 +#: library/pathlib.rst:589 msgid "" "Set *case_sensitive* to ``True`` or ``False`` to override this behaviour." msgstr "" -#: library/pathlib.rst:931 library/pathlib.rst:1344 +#: library/pathlib.rst:934 library/pathlib.rst:1347 msgid "The *case_sensitive* parameter was added." msgstr "" -#: library/pathlib.rst:594 +#: library/pathlib.rst:597 msgid "" "Compute a version of this path relative to the path represented by *other*. " "If it's impossible, :exc:`ValueError` is raised::" msgstr "" -#: library/pathlib.rst:609 +#: library/pathlib.rst:612 msgid "" "When *walk_up* is False (the default), the path must start with *other*. " "When the argument is True, ``..`` entries may be added to form the relative " @@ -451,7 +455,7 @@ msgid "" "exc:`ValueError` is raised.::" msgstr "" -#: library/pathlib.rst:624 +#: library/pathlib.rst:627 msgid "" "This function is part of :class:`PurePath` and works with strings. It does " "not check or access the underlying file structure. This can impact the " @@ -459,38 +463,38 @@ msgid "" "call :meth:`~Path.resolve` first if necessary to resolve symlinks." msgstr "" -#: library/pathlib.rst:630 +#: library/pathlib.rst:633 msgid "" "The *walk_up* parameter was added (old behavior is the same as " "``walk_up=False``)." msgstr "" -#: library/pathlib.rst:635 +#: library/pathlib.rst:638 msgid "" "Passing additional positional arguments is deprecated; if supplied, they are " "joined with *other*." msgstr "" -#: library/pathlib.rst:640 +#: library/pathlib.rst:643 msgid "" "Return a new path with the :attr:`name` changed. If the original path " "doesn't have a name, ValueError is raised::" msgstr "" -#: library/pathlib.rst:657 +#: library/pathlib.rst:660 msgid "" "Return a new path with the :attr:`stem` changed. If the original path " "doesn't have a name, ValueError is raised::" msgstr "" -#: library/pathlib.rst:681 +#: library/pathlib.rst:684 msgid "" "Return a new path with the :attr:`suffix` changed. If the original path " "doesn't have a suffix, the new *suffix* is appended instead. If the " "*suffix* is an empty string, the original suffix is removed::" msgstr "" -#: library/pathlib.rst:698 +#: library/pathlib.rst:701 msgid "" "Create a new path object of the same type by combining the given " "*pathsegments*. This method is called whenever a derivative path is created, " @@ -498,55 +502,55 @@ msgid "" "this method to pass information to derivative paths, for example::" msgstr "" -#: library/pathlib.rst:724 +#: library/pathlib.rst:727 msgid "Concrete paths" msgstr "" -#: library/pathlib.rst:726 +#: library/pathlib.rst:729 msgid "" "Concrete paths are subclasses of the pure path classes. In addition to " "operations provided by the latter, they also provide methods to do system " "calls on path objects. There are three ways to instantiate concrete paths:" msgstr "" -#: library/pathlib.rst:732 +#: library/pathlib.rst:735 msgid "" "A subclass of :class:`PurePath`, this class represents concrete paths of the " "system's path flavour (instantiating it creates either a :class:`PosixPath` " "or a :class:`WindowsPath`)::" msgstr "" -#: library/pathlib.rst:743 +#: library/pathlib.rst:746 msgid "" "A subclass of :class:`Path` and :class:`PurePosixPath`, this class " "represents concrete non-Windows filesystem paths::" msgstr "" -#: library/pathlib.rst:753 +#: library/pathlib.rst:756 msgid "" "A subclass of :class:`Path` and :class:`PureWindowsPath`, this class " "represents concrete Windows filesystem paths::" msgstr "" -#: library/pathlib.rst:761 +#: library/pathlib.rst:764 msgid "" "You can only instantiate the class flavour that corresponds to your system " "(allowing system calls on non-compatible path flavours could lead to bugs or " "failures in your application)::" msgstr "" -#: library/pathlib.rst:781 +#: library/pathlib.rst:784 msgid "Methods" msgstr "" -#: library/pathlib.rst:783 +#: library/pathlib.rst:786 msgid "" "Concrete paths provide the following methods in addition to pure paths " "methods. Many of these methods can raise an :exc:`OSError` if a system call " "fails (for example because the path doesn't exist)." msgstr "" -#: library/pathlib.rst:789 +#: library/pathlib.rst:792 msgid "" ":meth:`~Path.exists()`, :meth:`~Path.is_dir()`, :meth:`~Path.is_file()`, :" "meth:`~Path.is_mount()`, :meth:`~Path.is_symlink()`, :meth:`~Path." @@ -556,78 +560,78 @@ msgid "" "the OS level." msgstr "" -#: library/pathlib.rst:799 +#: library/pathlib.rst:802 msgid "" "Return a new path object representing the current directory (as returned by :" "func:`os.getcwd`)::" msgstr "" -#: library/pathlib.rst:808 +#: library/pathlib.rst:811 msgid "" "Return a new path object representing the user's home directory (as returned " "by :func:`os.path.expanduser` with ``~`` construct). If the home directory " "can't be resolved, :exc:`RuntimeError` is raised." msgstr "" -#: library/pathlib.rst:822 +#: library/pathlib.rst:825 msgid "" "Return a :class:`os.stat_result` object containing information about this " "path, like :func:`os.stat`. The result is looked up at each call to this " "method." msgstr "" -#: library/pathlib.rst:825 +#: library/pathlib.rst:828 msgid "" "This method normally follows symlinks; to stat a symlink add the argument " "``follow_symlinks=False``, or use :meth:`~Path.lstat`." msgstr "" -#: library/pathlib.rst:856 library/pathlib.rst:877 +#: library/pathlib.rst:859 library/pathlib.rst:880 msgid "The *follow_symlinks* parameter was added." msgstr "" -#: library/pathlib.rst:841 +#: library/pathlib.rst:844 msgid "Change the file mode and permissions, like :func:`os.chmod`." msgstr "" -#: library/pathlib.rst:843 +#: library/pathlib.rst:846 msgid "" "This method normally follows symlinks. Some Unix flavours support changing " "permissions on the symlink itself; on these platforms you may add the " "argument ``follow_symlinks=False``, or use :meth:`~Path.lchmod`." msgstr "" -#: library/pathlib.rst:861 +#: library/pathlib.rst:864 msgid "Return ``True`` if the path points to an existing file or directory." msgstr "" -#: library/pathlib.rst:863 +#: library/pathlib.rst:866 msgid "" "This method normally follows symlinks; to check if a symlink exists, add the " "argument ``follow_symlinks=False``." msgstr "" -#: library/pathlib.rst:882 +#: library/pathlib.rst:885 msgid "" "Return a new path with expanded ``~`` and ``~user`` constructs, as returned " "by :meth:`os.path.expanduser`. If a home directory can't be resolved, :exc:" "`RuntimeError` is raised." msgstr "" -#: library/pathlib.rst:897 +#: library/pathlib.rst:900 msgid "" "Glob the given relative *pattern* in the directory represented by this path, " "yielding all matching files (of any kind)::" msgstr "" -#: library/pathlib.rst:905 +#: library/pathlib.rst:908 msgid "" "Patterns are the same as for :mod:`fnmatch`, with the addition of \"``**``\" " "which means \"this directory and all subdirectories, recursively\". In " "other words, it enables recursive globbing::" msgstr "" -#: library/pathlib.rst:1333 +#: library/pathlib.rst:1336 msgid "" "By default, or when the *case_sensitive* keyword-only argument is set to " "``None``, this method matches paths using platform-specific casing rules: " @@ -635,55 +639,55 @@ msgid "" "*case_sensitive* to ``True`` or ``False`` to override this behaviour." msgstr "" -#: library/pathlib.rst:922 +#: library/pathlib.rst:925 msgid "" "Using the \"``**``\" pattern in large directory trees may consume an " "inordinate amount of time." msgstr "" -#: library/pathlib.rst:925 +#: library/pathlib.rst:928 msgid "" "Raises an :ref:`auditing event ` ``pathlib.Path.glob`` with " "arguments ``self``, ``pattern``." msgstr "" -#: library/pathlib.rst:1340 +#: library/pathlib.rst:1343 msgid "" "Return only directories if *pattern* ends with a pathname components " "separator (:data:`~os.sep` or :data:`~os.altsep`)." msgstr "" -#: library/pathlib.rst:937 +#: library/pathlib.rst:940 msgid "" "Return the name of the group owning the file. :exc:`KeyError` is raised if " "the file's gid isn't found in the system database." msgstr "" -#: library/pathlib.rst:943 +#: library/pathlib.rst:946 msgid "" "Return ``True`` if the path points to a directory (or a symbolic link " "pointing to a directory), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:955 library/pathlib.rst:1006 library/pathlib.rst:1024 +#: library/pathlib.rst:958 library/pathlib.rst:1009 library/pathlib.rst:1027 msgid "" "``False`` is also returned if the path doesn't exist or is a broken symlink; " "other errors (such as permission errors) are propagated." msgstr "" -#: library/pathlib.rst:952 +#: library/pathlib.rst:955 msgid "" "Return ``True`` if the path points to a regular file (or a symbolic link " "pointing to a regular file), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:961 +#: library/pathlib.rst:964 msgid "" "Return ``True`` if the path points to a junction, and ``False`` for any " "other type of file. Currently only Windows supports junctions." msgstr "" -#: library/pathlib.rst:969 +#: library/pathlib.rst:972 msgid "" "Return ``True`` if the path is a :dfn:`mount point`: a point in a file " "system where a different file system has been mounted. On POSIX, the " @@ -695,53 +699,53 @@ msgid "" "mounted filesystem directory." msgstr "" -#: library/pathlib.rst:980 +#: library/pathlib.rst:983 msgid "Windows support was added." msgstr "" -#: library/pathlib.rst:986 +#: library/pathlib.rst:989 msgid "" "Return ``True`` if the path points to a symbolic link, ``False`` otherwise." msgstr "" -#: library/pathlib.rst:988 +#: library/pathlib.rst:991 msgid "" "``False`` is also returned if the path doesn't exist; other errors (such as " "permission errors) are propagated." msgstr "" -#: library/pathlib.rst:994 +#: library/pathlib.rst:997 msgid "" "Return ``True`` if the path points to a Unix socket (or a symbolic link " "pointing to a Unix socket), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:1003 +#: library/pathlib.rst:1006 msgid "" "Return ``True`` if the path points to a FIFO (or a symbolic link pointing to " "a FIFO), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:1012 +#: library/pathlib.rst:1015 msgid "" "Return ``True`` if the path points to a block device (or a symbolic link " "pointing to a block device), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:1021 +#: library/pathlib.rst:1024 msgid "" "Return ``True`` if the path points to a character device (or a symbolic link " "pointing to a character device), ``False`` if it points to another kind of " "file." msgstr "" -#: library/pathlib.rst:1030 +#: library/pathlib.rst:1033 msgid "" "When the path points to a directory, yield path objects of the directory " "contents::" msgstr "" -#: library/pathlib.rst:1044 +#: library/pathlib.rst:1047 msgid "" "The children are yielded in arbitrary order, and the special entries ``'.'`` " "and ``'..'`` are not included. If a file is removed from or added to the " @@ -749,20 +753,20 @@ msgid "" "be included is unspecified." msgstr "" -#: library/pathlib.rst:1051 +#: library/pathlib.rst:1054 msgid "" "Generate the file names in a directory tree by walking the tree either top-" "down or bottom-up." msgstr "" -#: library/pathlib.rst:1054 +#: library/pathlib.rst:1057 msgid "" "For each directory in the directory tree rooted at *self* (including *self* " "but excluding '.' and '..'), the method yields a 3-tuple of ``(dirpath, " "dirnames, filenames)``." msgstr "" -#: library/pathlib.rst:1058 +#: library/pathlib.rst:1061 msgid "" "*dirpath* is a :class:`Path` to the directory currently being walked, " "*dirnames* is a list of strings for the names of subdirectories in *dirpath* " @@ -772,7 +776,7 @@ msgid "" "name``. Whether or not the lists are sorted is file system-dependent." msgstr "" -#: library/pathlib.rst:1066 +#: library/pathlib.rst:1069 msgid "" "If the optional argument *top_down* is true (which is the default), the " "triple for a directory is generated before the triples for any of its " @@ -783,7 +787,7 @@ msgid "" "the directory and its subdirectories are walked." msgstr "" -#: library/pathlib.rst:1074 +#: library/pathlib.rst:1077 msgid "" "When *top_down* is true, the caller can modify the *dirnames* list in-place " "(for example, using :keyword:`del` or slice assignment), and :meth:`Path." @@ -796,7 +800,7 @@ msgid "" "generated by the time *dirnames* is yielded to the caller." msgstr "" -#: library/pathlib.rst:1084 +#: library/pathlib.rst:1087 msgid "" "By default, errors from :func:`os.scandir` are ignored. If the optional " "argument *on_error* is specified, it should be a callable; it will be called " @@ -805,7 +809,7 @@ msgid "" "filename is available as the ``filename`` attribute of the exception object." msgstr "" -#: library/pathlib.rst:1090 +#: library/pathlib.rst:1093 msgid "" "By default, :meth:`Path.walk` does not follow symbolic links, and instead " "adds them to the *filenames* list. Set *follow_symlinks* to true to resolve " @@ -814,14 +818,14 @@ msgid "" "(where supported)." msgstr "" -#: library/pathlib.rst:1097 +#: library/pathlib.rst:1100 msgid "" "Be aware that setting *follow_symlinks* to true can lead to infinite " "recursion if a link points to a parent directory of itself. :meth:`Path." "walk` does not keep track of the directories it has already visited." msgstr "" -#: library/pathlib.rst:1102 +#: library/pathlib.rst:1105 msgid "" ":meth:`Path.walk` assumes the directories it walks are not modified during " "execution. For example, if a directory from *dirnames* has been replaced " @@ -830,107 +834,107 @@ msgid "" "*dirnames* as appropriate." msgstr "" -#: library/pathlib.rst:1110 +#: library/pathlib.rst:1113 msgid "" "Unlike :func:`os.walk`, :meth:`Path.walk` lists symlinks to directories in " "*filenames* if *follow_symlinks* is false." msgstr "" -#: library/pathlib.rst:1113 +#: library/pathlib.rst:1116 msgid "" "This example displays the number of bytes used by all files in each " "directory, while ignoring ``__pycache__`` directories::" msgstr "" -#: library/pathlib.rst:1129 +#: library/pathlib.rst:1132 msgid "" "This next example is a simple implementation of :func:`shutil.rmtree`. " "Walking the tree bottom-up is essential as :func:`rmdir` doesn't allow " "deleting a directory before it is empty::" msgstr "" -#: library/pathlib.rst:1146 +#: library/pathlib.rst:1149 msgid "" "Like :meth:`Path.chmod` but, if the path points to a symbolic link, the " "symbolic link's mode is changed rather than its target's." msgstr "" -#: library/pathlib.rst:1152 +#: library/pathlib.rst:1155 msgid "" "Like :meth:`Path.stat` but, if the path points to a symbolic link, return " "the symbolic link's information rather than its target's." msgstr "" -#: library/pathlib.rst:1158 +#: library/pathlib.rst:1161 msgid "" "Create a new directory at this given path. If *mode* is given, it is " "combined with the process' ``umask`` value to determine the file mode and " "access flags. If the path already exists, :exc:`FileExistsError` is raised." msgstr "" -#: library/pathlib.rst:1163 +#: library/pathlib.rst:1166 msgid "" "If *parents* is true, any missing parents of this path are created as " "needed; they are created with the default permissions without taking *mode* " "into account (mimicking the POSIX ``mkdir -p`` command)." msgstr "" -#: library/pathlib.rst:1167 +#: library/pathlib.rst:1170 msgid "" "If *parents* is false (the default), a missing parent raises :exc:" "`FileNotFoundError`." msgstr "" -#: library/pathlib.rst:1170 +#: library/pathlib.rst:1173 msgid "" "If *exist_ok* is false (the default), :exc:`FileExistsError` is raised if " "the target directory already exists." msgstr "" -#: library/pathlib.rst:1173 +#: library/pathlib.rst:1176 msgid "" "If *exist_ok* is true, :exc:`FileExistsError` exceptions will be ignored " "(same behavior as the POSIX ``mkdir -p`` command), but only if the last path " "component is not an existing non-directory file." msgstr "" -#: library/pathlib.rst:1177 +#: library/pathlib.rst:1180 msgid "The *exist_ok* parameter was added." msgstr "" -#: library/pathlib.rst:1183 +#: library/pathlib.rst:1186 msgid "" "Open the file pointed to by the path, like the built-in :func:`open` " "function does::" msgstr "" -#: library/pathlib.rst:1195 +#: library/pathlib.rst:1198 msgid "" "Return the name of the user owning the file. :exc:`KeyError` is raised if " "the file's uid isn't found in the system database." msgstr "" -#: library/pathlib.rst:1201 +#: library/pathlib.rst:1204 msgid "Return the binary contents of the pointed-to file as a bytes object::" msgstr "" -#: library/pathlib.rst:1214 +#: library/pathlib.rst:1217 msgid "Return the decoded contents of the pointed-to file as a string::" msgstr "" -#: library/pathlib.rst:1222 +#: library/pathlib.rst:1225 msgid "" "The file is opened and then closed. The optional parameters have the same " "meaning as in :func:`open`." msgstr "" -#: library/pathlib.rst:1230 +#: library/pathlib.rst:1233 msgid "" "Return the path to which the symbolic link points (as returned by :func:`os." "readlink`)::" msgstr "" -#: library/pathlib.rst:1243 +#: library/pathlib.rst:1246 msgid "" "Rename this file or directory to the given *target*, and return a new Path " "instance pointing to *target*. On Unix, if *target* exists and is a file, " @@ -939,49 +943,49 @@ msgid "" "either a string or another path object::" msgstr "" -#: library/pathlib.rst:1274 +#: library/pathlib.rst:1277 msgid "" "The target path may be absolute or relative. Relative paths are interpreted " "relative to the current working directory, *not* the directory of the Path " "object." msgstr "" -#: library/pathlib.rst:1262 +#: library/pathlib.rst:1265 msgid "" "It is implemented in terms of :func:`os.rename` and gives the same " "guarantees." msgstr "" -#: library/pathlib.rst:1278 +#: library/pathlib.rst:1281 msgid "Added return value, return the new Path instance." msgstr "" -#: library/pathlib.rst:1270 +#: library/pathlib.rst:1273 msgid "" "Rename this file or directory to the given *target*, and return a new Path " "instance pointing to *target*. If *target* points to an existing file or " "empty directory, it will be unconditionally replaced." msgstr "" -#: library/pathlib.rst:1284 +#: library/pathlib.rst:1287 msgid "" "Make the path absolute, without normalization or resolving symlinks. Returns " "a new path object::" msgstr "" -#: library/pathlib.rst:1296 +#: library/pathlib.rst:1299 msgid "" "Make the path absolute, resolving any symlinks. A new path object is " "returned::" msgstr "" -#: library/pathlib.rst:1305 +#: library/pathlib.rst:1308 msgid "" "\"``..``\" components are also eliminated (this is the only method to do " "so)::" msgstr "" -#: library/pathlib.rst:1311 +#: library/pathlib.rst:1314 msgid "" "If the path doesn't exist and *strict* is ``True``, :exc:`FileNotFoundError` " "is raised. If *strict* is ``False``, the path is resolved as far as " @@ -990,62 +994,62 @@ msgid "" "`RuntimeError` is raised." msgstr "" -#: library/pathlib.rst:1317 +#: library/pathlib.rst:1320 msgid "The *strict* parameter was added (pre-3.6 behavior is strict)." msgstr "" -#: library/pathlib.rst:1322 +#: library/pathlib.rst:1325 msgid "" "Glob the given relative *pattern* recursively. This is like calling :func:" "`Path.glob` with \"``**/``\" added in front of the *pattern*, where " "*patterns* are the same as for :mod:`fnmatch`::" msgstr "" -#: library/pathlib.rst:1338 +#: library/pathlib.rst:1341 msgid "" "Raises an :ref:`auditing event ` ``pathlib.Path.rglob`` with " "arguments ``self``, ``pattern``." msgstr "" -#: library/pathlib.rst:1350 +#: library/pathlib.rst:1353 msgid "Remove this directory. The directory must be empty." msgstr "" -#: library/pathlib.rst:1355 +#: library/pathlib.rst:1358 msgid "" "Return whether this path points to the same file as *other_path*, which can " "be either a Path object, or a string. The semantics are similar to :func:" "`os.path.samefile` and :func:`os.path.samestat`." msgstr "" -#: library/pathlib.rst:1359 +#: library/pathlib.rst:1362 msgid "" "An :exc:`OSError` can be raised if either file cannot be accessed for some " "reason." msgstr "" -#: library/pathlib.rst:1376 +#: library/pathlib.rst:1379 msgid "" "Make this path a symbolic link to *target*. Under Windows, " "*target_is_directory* must be true (default ``False``) if the link's target " "is a directory. Under POSIX, *target_is_directory*'s value is ignored." msgstr "" -#: library/pathlib.rst:1392 +#: library/pathlib.rst:1395 msgid "" "The order of arguments (link, target) is the reverse of :func:`os.symlink`'s." msgstr "" -#: library/pathlib.rst:1397 +#: library/pathlib.rst:1400 msgid "Make this path a hard link to the same file as *target*." msgstr "" -#: library/pathlib.rst:1400 +#: library/pathlib.rst:1403 msgid "" "The order of arguments (link, target) is the reverse of :func:`os.link`'s." msgstr "" -#: library/pathlib.rst:1408 +#: library/pathlib.rst:1411 msgid "" "Create a file at this given path. If *mode* is given, it is combined with " "the process' ``umask`` value to determine the file mode and access flags. " @@ -1054,65 +1058,65 @@ msgid "" "`FileExistsError` is raised." msgstr "" -#: library/pathlib.rst:1417 +#: library/pathlib.rst:1420 msgid "" "Remove this file or symbolic link. If the path points to a directory, use :" "func:`Path.rmdir` instead." msgstr "" -#: library/pathlib.rst:1420 +#: library/pathlib.rst:1423 msgid "" "If *missing_ok* is false (the default), :exc:`FileNotFoundError` is raised " "if the path does not exist." msgstr "" -#: library/pathlib.rst:1423 +#: library/pathlib.rst:1426 msgid "" "If *missing_ok* is true, :exc:`FileNotFoundError` exceptions will be ignored " "(same behavior as the POSIX ``rm -f`` command)." msgstr "" -#: library/pathlib.rst:1426 +#: library/pathlib.rst:1429 msgid "The *missing_ok* parameter was added." msgstr "" -#: library/pathlib.rst:1432 +#: library/pathlib.rst:1435 msgid "" "Open the file pointed to in bytes mode, write *data* to it, and close the " "file::" msgstr "" -#: library/pathlib.rst:1441 +#: library/pathlib.rst:1444 msgid "An existing file of the same name is overwritten." msgstr "" -#: library/pathlib.rst:1448 +#: library/pathlib.rst:1451 msgid "" "Open the file pointed to in text mode, write *data* to it, and close the " "file::" msgstr "" -#: library/pathlib.rst:1457 +#: library/pathlib.rst:1460 msgid "" "An existing file of the same name is overwritten. The optional parameters " "have the same meaning as in :func:`open`." msgstr "" -#: library/pathlib.rst:1462 +#: library/pathlib.rst:1465 msgid "The *newline* parameter was added." msgstr "" -#: library/pathlib.rst:1466 +#: library/pathlib.rst:1469 msgid "Correspondence to tools in the :mod:`os` module" msgstr "" -#: library/pathlib.rst:1468 +#: library/pathlib.rst:1471 msgid "" "Below is a table mapping various :mod:`os` functions to their corresponding :" "class:`PurePath`/:class:`Path` equivalent." msgstr "" -#: library/pathlib.rst:1473 +#: library/pathlib.rst:1476 msgid "" "Not all pairs of functions/methods below are equivalent. Some of them, " "despite having some overlapping use-cases, have different semantics. They " @@ -1120,245 +1124,245 @@ msgid "" "relpath` and :meth:`PurePath.relative_to`." msgstr "" -#: library/pathlib.rst:1479 +#: library/pathlib.rst:1482 msgid ":mod:`os` and :mod:`os.path`" msgstr "" -#: library/pathlib.rst:1479 +#: library/pathlib.rst:1482 msgid ":mod:`pathlib`" msgstr "" -#: library/pathlib.rst:1481 +#: library/pathlib.rst:1484 msgid ":func:`os.path.abspath`" msgstr "" -#: library/pathlib.rst:1481 +#: library/pathlib.rst:1484 msgid ":meth:`Path.absolute` [#]_" msgstr "" -#: library/pathlib.rst:1482 +#: library/pathlib.rst:1485 msgid ":func:`os.path.realpath`" msgstr "" -#: library/pathlib.rst:1482 +#: library/pathlib.rst:1485 msgid ":meth:`Path.resolve`" msgstr "" -#: library/pathlib.rst:1483 +#: library/pathlib.rst:1486 msgid ":func:`os.chmod`" msgstr "" -#: library/pathlib.rst:1483 +#: library/pathlib.rst:1486 msgid ":meth:`Path.chmod`" msgstr "" -#: library/pathlib.rst:1484 +#: library/pathlib.rst:1487 msgid ":func:`os.mkdir`" msgstr "" -#: library/pathlib.rst:1485 +#: library/pathlib.rst:1488 msgid ":meth:`Path.mkdir`" msgstr "" -#: library/pathlib.rst:1485 +#: library/pathlib.rst:1488 msgid ":func:`os.makedirs`" msgstr "" -#: library/pathlib.rst:1486 +#: library/pathlib.rst:1489 msgid ":func:`os.rename`" msgstr "" -#: library/pathlib.rst:1486 +#: library/pathlib.rst:1489 msgid ":meth:`Path.rename`" msgstr "" -#: library/pathlib.rst:1487 +#: library/pathlib.rst:1490 msgid ":func:`os.replace`" msgstr "" -#: library/pathlib.rst:1487 +#: library/pathlib.rst:1490 msgid ":meth:`Path.replace`" msgstr "" -#: library/pathlib.rst:1488 +#: library/pathlib.rst:1491 msgid ":func:`os.rmdir`" msgstr "" -#: library/pathlib.rst:1488 +#: library/pathlib.rst:1491 msgid ":meth:`Path.rmdir`" msgstr "" -#: library/pathlib.rst:1489 +#: library/pathlib.rst:1492 msgid ":func:`os.remove`, :func:`os.unlink`" msgstr "" -#: library/pathlib.rst:1489 +#: library/pathlib.rst:1492 msgid ":meth:`Path.unlink`" msgstr "" -#: library/pathlib.rst:1490 +#: library/pathlib.rst:1493 msgid ":func:`os.getcwd`" msgstr "" -#: library/pathlib.rst:1490 +#: library/pathlib.rst:1493 msgid ":func:`Path.cwd`" msgstr "" -#: library/pathlib.rst:1491 +#: library/pathlib.rst:1494 msgid ":func:`os.path.exists`" msgstr "" -#: library/pathlib.rst:1491 +#: library/pathlib.rst:1494 msgid ":meth:`Path.exists`" msgstr "" -#: library/pathlib.rst:1492 +#: library/pathlib.rst:1495 msgid ":func:`os.path.expanduser`" msgstr "" -#: library/pathlib.rst:1492 +#: library/pathlib.rst:1495 msgid ":meth:`Path.expanduser` and :meth:`Path.home`" msgstr "" -#: library/pathlib.rst:1494 +#: library/pathlib.rst:1497 msgid ":func:`os.listdir`" msgstr "" -#: library/pathlib.rst:1494 +#: library/pathlib.rst:1497 msgid ":meth:`Path.iterdir`" msgstr "" -#: library/pathlib.rst:1495 +#: library/pathlib.rst:1498 msgid ":func:`os.walk`" msgstr "" -#: library/pathlib.rst:1495 +#: library/pathlib.rst:1498 msgid ":meth:`Path.walk`" msgstr "" -#: library/pathlib.rst:1496 +#: library/pathlib.rst:1499 msgid ":func:`os.path.isdir`" msgstr "" -#: library/pathlib.rst:1496 +#: library/pathlib.rst:1499 msgid ":meth:`Path.is_dir`" msgstr "" -#: library/pathlib.rst:1497 +#: library/pathlib.rst:1500 msgid ":func:`os.path.isfile`" msgstr "" -#: library/pathlib.rst:1497 +#: library/pathlib.rst:1500 msgid ":meth:`Path.is_file`" msgstr "" -#: library/pathlib.rst:1498 +#: library/pathlib.rst:1501 msgid ":func:`os.path.islink`" msgstr "" -#: library/pathlib.rst:1498 +#: library/pathlib.rst:1501 msgid ":meth:`Path.is_symlink`" msgstr "" -#: library/pathlib.rst:1499 +#: library/pathlib.rst:1502 msgid ":func:`os.link`" msgstr "" -#: library/pathlib.rst:1499 +#: library/pathlib.rst:1502 msgid ":meth:`Path.hardlink_to`" msgstr "" -#: library/pathlib.rst:1500 +#: library/pathlib.rst:1503 msgid ":func:`os.symlink`" msgstr "" -#: library/pathlib.rst:1500 +#: library/pathlib.rst:1503 msgid ":meth:`Path.symlink_to`" msgstr "" -#: library/pathlib.rst:1501 +#: library/pathlib.rst:1504 msgid ":func:`os.readlink`" msgstr "" -#: library/pathlib.rst:1501 +#: library/pathlib.rst:1504 msgid ":meth:`Path.readlink`" msgstr "" -#: library/pathlib.rst:1502 +#: library/pathlib.rst:1505 msgid ":func:`os.path.relpath`" msgstr "" -#: library/pathlib.rst:1502 +#: library/pathlib.rst:1505 msgid ":meth:`PurePath.relative_to` [#]_" msgstr "" -#: library/pathlib.rst:1503 +#: library/pathlib.rst:1506 msgid ":func:`os.stat`" msgstr "" -#: library/pathlib.rst:1503 +#: library/pathlib.rst:1506 msgid ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`" msgstr "" -#: library/pathlib.rst:1506 +#: library/pathlib.rst:1509 msgid ":func:`os.path.isabs`" msgstr "" -#: library/pathlib.rst:1506 +#: library/pathlib.rst:1509 msgid ":meth:`PurePath.is_absolute`" msgstr "" -#: library/pathlib.rst:1507 +#: library/pathlib.rst:1510 msgid ":func:`os.path.join`" msgstr "" -#: library/pathlib.rst:1507 +#: library/pathlib.rst:1510 msgid ":func:`PurePath.joinpath`" msgstr "" -#: library/pathlib.rst:1508 +#: library/pathlib.rst:1511 msgid ":func:`os.path.basename`" msgstr "" -#: library/pathlib.rst:1508 +#: library/pathlib.rst:1511 msgid ":attr:`PurePath.name`" msgstr "" -#: library/pathlib.rst:1509 +#: library/pathlib.rst:1512 msgid ":func:`os.path.dirname`" msgstr "" -#: library/pathlib.rst:1509 +#: library/pathlib.rst:1512 msgid ":attr:`PurePath.parent`" msgstr "" -#: library/pathlib.rst:1510 +#: library/pathlib.rst:1513 msgid ":func:`os.path.samefile`" msgstr "" -#: library/pathlib.rst:1510 +#: library/pathlib.rst:1513 msgid ":meth:`Path.samefile`" msgstr "" -#: library/pathlib.rst:1511 +#: library/pathlib.rst:1514 msgid ":func:`os.path.splitext`" msgstr "" -#: library/pathlib.rst:1511 +#: library/pathlib.rst:1514 msgid ":attr:`PurePath.stem` and :attr:`PurePath.suffix`" msgstr "" -#: library/pathlib.rst:1516 +#: library/pathlib.rst:1519 msgid "Footnotes" msgstr "" -#: library/pathlib.rst:1517 +#: library/pathlib.rst:1520 msgid "" ":func:`os.path.abspath` normalizes the resulting path, which may change its " "meaning in the presence of symlinks, while :meth:`Path.absolute` does not." msgstr "" -#: library/pathlib.rst:1518 +#: library/pathlib.rst:1521 msgid "" ":meth:`PurePath.relative_to` requires ``self`` to be the subpath of the " "argument, but :func:`os.path.relpath` does not." diff --git a/library/pty.po b/library/pty.po index 7ed6870aa..065713fca 100644 --- a/library/pty.po +++ b/library/pty.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -55,14 +55,20 @@ msgid "" "the child's standard input and output)." msgstr "" -#: library/pty.rst:39 +#: library/pty.rst:36 +msgid "" +"On macOS the use of this function is unsafe when mixed with using higher-" +"level system APIs, and that includes using :mod:`urllib.request`." +msgstr "" + +#: library/pty.rst:42 msgid "" "Open a new pseudo-terminal pair, using :func:`os.openpty` if possible, or " "emulation code for generic Unix systems. Return a pair of file descriptors " "``(master, slave)``, for the master and the slave end, respectively." msgstr "" -#: library/pty.rst:46 +#: library/pty.rst:49 msgid "" "Spawn a process, and connect its controlling terminal with the current " "process's standard io. This is often used to baffle programs which insist on " @@ -71,14 +77,14 @@ msgid "" "will return." msgstr "" -#: library/pty.rst:52 +#: library/pty.rst:55 msgid "" "A loop copies STDIN of the current process to the child and data received " "from the child to STDOUT of the current process. It is not signaled to the " "child if STDIN of the current process closes down." msgstr "" -#: library/pty.rst:56 +#: library/pty.rst:59 msgid "" "The functions *master_read* and *stdin_read* are passed a file descriptor " "which they should read from, and they should always return a byte string. In " @@ -86,7 +92,7 @@ msgid "" "array should be returned to signal end of file." msgstr "" -#: library/pty.rst:61 +#: library/pty.rst:64 msgid "" "The default implementation for both functions will read and return up to " "1024 bytes each time the function is called. The *master_read* callback is " @@ -95,7 +101,7 @@ msgid "" "the parent process's standard input." msgstr "" -#: library/pty.rst:67 +#: library/pty.rst:70 msgid "" "Returning an empty byte string from either callback is interpreted as an end-" "of-file (EOF) condition, and that callback will not be called after that. If " @@ -105,34 +111,34 @@ msgid "" "signals EOF the same behavior results (on linux at least)." msgstr "" -#: library/pty.rst:74 +#: library/pty.rst:77 msgid "" "Return the exit status value from :func:`os.waitpid` on the child process." msgstr "" -#: library/pty.rst:76 +#: library/pty.rst:79 msgid "" ":func:`os.waitstatus_to_exitcode` can be used to convert the exit status " "into an exit code." msgstr "" -#: library/pty.rst:79 +#: library/pty.rst:82 msgid "" "Raises an :ref:`auditing event ` ``pty.spawn`` with argument " "``argv``." msgstr "" -#: library/pty.rst:81 +#: library/pty.rst:84 msgid "" ":func:`spawn` now returns the status value from :func:`os.waitpid` on the " "child process." msgstr "" -#: library/pty.rst:86 +#: library/pty.rst:89 msgid "Example" msgstr "" -#: library/pty.rst:90 +#: library/pty.rst:93 msgid "" "The following program acts like the Unix command :manpage:`script(1)`, using " "a pseudo-terminal to record all input and output of a terminal session in a " diff --git a/library/random.po b/library/random.po index eecb2f5c2..51fce0721 100644 --- a/library/random.po +++ b/library/random.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -67,49 +67,46 @@ msgstr "" #: library/random.rst:36 msgid "" "Class :class:`Random` can also be subclassed if you want to use a different " -"basic generator of your own devising: in that case, override the :meth:" -"`~Random.random`, :meth:`~Random.seed`, :meth:`~Random.getstate`, and :meth:" -"`~Random.setstate` methods. Optionally, a new generator can supply a :meth:" -"`~Random.getrandbits` method --- this allows :meth:`randrange` to produce " -"selections over an arbitrarily large range." +"basic generator of your own devising: see the documentation on that class " +"for more details." msgstr "" -#: library/random.rst:42 +#: library/random.rst:40 msgid "" "The :mod:`random` module also provides the :class:`SystemRandom` class which " "uses the system function :func:`os.urandom` to generate random numbers from " "sources provided by the operating system." msgstr "" -#: library/random.rst:48 +#: library/random.rst:46 msgid "" "The pseudo-random generators of this module should not be used for security " "purposes. For security or cryptographic uses, see the :mod:`secrets` module." msgstr "" -#: library/random.rst:54 +#: library/random.rst:52 msgid "" "M. Matsumoto and T. Nishimura, \"Mersenne Twister: A 623-dimensionally " "equidistributed uniform pseudorandom number generator\", ACM Transactions on " "Modeling and Computer Simulation Vol. 8, No. 1, January pp.3--30 1998." msgstr "" -#: library/random.rst:59 +#: library/random.rst:57 msgid "" "`Complementary-Multiply-with-Carry recipe `_ for a compatible alternative random number generator with " "a long period and comparatively simple update operations." msgstr "" -#: library/random.rst:66 +#: library/random.rst:64 msgid "Bookkeeping functions" msgstr "" -#: library/random.rst:70 +#: library/random.rst:68 msgid "Initialize the random number generator." msgstr "" -#: library/random.rst:72 +#: library/random.rst:70 msgid "" "If *a* is omitted or ``None``, the current system time is used. If " "randomness sources are provided by the operating system, they are used " @@ -117,108 +114,108 @@ msgid "" "on availability)." msgstr "" -#: library/random.rst:77 +#: library/random.rst:75 msgid "If *a* is an int, it is used directly." msgstr "" -#: library/random.rst:79 +#: library/random.rst:77 msgid "" "With version 2 (the default), a :class:`str`, :class:`bytes`, or :class:" "`bytearray` object gets converted to an :class:`int` and all of its bits are " "used." msgstr "" -#: library/random.rst:82 +#: library/random.rst:80 msgid "" "With version 1 (provided for reproducing random sequences from older " "versions of Python), the algorithm for :class:`str` and :class:`bytes` " "generates a narrower range of seeds." msgstr "" -#: library/random.rst:86 +#: library/random.rst:84 msgid "" "Moved to the version 2 scheme which uses all of the bits in a string seed." msgstr "" -#: library/random.rst:89 +#: library/random.rst:87 msgid "" -"The *seed* must be one of the following types: *NoneType*, :class:`int`, :" +"The *seed* must be one of the following types: ``None``, :class:`int`, :" "class:`float`, :class:`str`, :class:`bytes`, or :class:`bytearray`." msgstr "" -#: library/random.rst:96 +#: library/random.rst:94 msgid "" "Return an object capturing the current internal state of the generator. " "This object can be passed to :func:`setstate` to restore the state." msgstr "" -#: library/random.rst:102 +#: library/random.rst:100 msgid "" "*state* should have been obtained from a previous call to :func:`getstate`, " "and :func:`setstate` restores the internal state of the generator to what it " "was at the time :func:`getstate` was called." msgstr "" -#: library/random.rst:108 +#: library/random.rst:106 msgid "Functions for bytes" msgstr "" -#: library/random.rst:112 +#: library/random.rst:110 msgid "Generate *n* random bytes." msgstr "" -#: library/random.rst:114 +#: library/random.rst:112 msgid "" "This method should not be used for generating security tokens. Use :func:" "`secrets.token_bytes` instead." msgstr "" -#: library/random.rst:121 +#: library/random.rst:119 msgid "Functions for integers" msgstr "" -#: library/random.rst:126 +#: library/random.rst:124 msgid "Return a randomly selected element from ``range(start, stop, step)``." msgstr "" -#: library/random.rst:128 +#: library/random.rst:126 msgid "" "This is roughly equivalent to ``choice(range(start, stop, step))`` but " "supports arbitrarily large ranges and is optimized for common cases." msgstr "" -#: library/random.rst:131 +#: library/random.rst:129 msgid "The positional argument pattern matches the :func:`range` function." msgstr "" -#: library/random.rst:133 +#: library/random.rst:131 msgid "" "Keyword arguments should not be used because they can be interpreted in " "unexpected ways. For example ``randrange(start=100)`` is interpreted as " "``randrange(0, 100, 1)``." msgstr "" -#: library/random.rst:137 +#: library/random.rst:135 msgid "" ":meth:`randrange` is more sophisticated about producing equally distributed " "values. Formerly it used a style like ``int(random()*n)`` which could " "produce slightly uneven distributions." msgstr "" -#: library/random.rst:142 +#: library/random.rst:140 msgid "" "Automatic conversion of non-integer types is no longer supported. Calls such " "as ``randrange(10.0)`` and ``randrange(Fraction(10, 1))`` now raise a :exc:" "`TypeError`." msgstr "" -#: library/random.rst:149 +#: library/random.rst:147 msgid "" "Return a random integer *N* such that ``a <= N <= b``. Alias for " "``randrange(a, b+1)``." msgstr "" -#: library/random.rst:154 +#: library/random.rst:152 msgid "" "Returns a non-negative Python integer with *k* random bits. This method is " "supplied with the Mersenne Twister generator and some other generators may " @@ -226,27 +223,27 @@ msgid "" "`getrandbits` enables :meth:`randrange` to handle arbitrarily large ranges." msgstr "" -#: library/random.rst:160 +#: library/random.rst:158 msgid "This method now accepts zero for *k*." msgstr "" -#: library/random.rst:165 +#: library/random.rst:163 msgid "Functions for sequences" msgstr "" -#: library/random.rst:169 +#: library/random.rst:167 msgid "" "Return a random element from the non-empty sequence *seq*. If *seq* is " "empty, raises :exc:`IndexError`." msgstr "" -#: library/random.rst:174 +#: library/random.rst:172 msgid "" "Return a *k* sized list of elements chosen from the *population* with " "replacement. If the *population* is empty, raises :exc:`IndexError`." msgstr "" -#: library/random.rst:177 +#: library/random.rst:175 msgid "" "If a *weights* sequence is specified, selections are made according to the " "relative weights. Alternatively, if a *cum_weights* sequence is given, the " @@ -257,7 +254,7 @@ msgid "" "before making selections, so supplying the cumulative weights saves work." msgstr "" -#: library/random.rst:186 +#: library/random.rst:184 msgid "" "If neither *weights* nor *cum_weights* are specified, selections are made " "with equal probability. If a weights sequence is supplied, it must be the " @@ -265,7 +262,7 @@ msgid "" "specify both *weights* and *cum_weights*." msgstr "" -#: library/random.rst:191 +#: library/random.rst:189 msgid "" "The *weights* or *cum_weights* can use any numeric type that interoperates " "with the :class:`float` values returned by :func:`random` (that includes " @@ -274,7 +271,7 @@ msgid "" "are zero." msgstr "" -#: library/random.rst:197 +#: library/random.rst:195 msgid "" "For a given seed, the :func:`choices` function with equal weighting " "typically produces a different sequence than repeated calls to :func:" @@ -284,21 +281,21 @@ msgid "" "small biases from round-off error." msgstr "" -#: library/random.rst:206 +#: library/random.rst:204 msgid "Raises a :exc:`ValueError` if all weights are zero." msgstr "" -#: library/random.rst:212 +#: library/random.rst:210 msgid "Shuffle the sequence *x* in place." msgstr "" -#: library/random.rst:214 +#: library/random.rst:212 msgid "" "To shuffle an immutable sequence and return a new shuffled list, use " "``sample(x, k=len(x))`` instead." msgstr "" -#: library/random.rst:217 +#: library/random.rst:215 msgid "" "Note that even for small ``len(x)``, the total number of permutations of *x* " "can quickly grow larger than the period of most random number generators. " @@ -307,17 +304,17 @@ msgid "" "fit within the period of the Mersenne Twister random number generator." msgstr "" -#: library/random.rst:224 -msgid "The optional parameter *random*." +#: library/random.rst:221 +msgid "Removed the optional parameter *random*." msgstr "" -#: library/random.rst:229 +#: library/random.rst:227 msgid "" "Return a *k* length list of unique elements chosen from the population " "sequence. Used for random sampling without replacement." msgstr "" -#: library/random.rst:232 +#: library/random.rst:230 msgid "" "Returns a new list containing elements from the population while leaving the " "original population unchanged. The resulting list is in selection order so " @@ -326,14 +323,14 @@ msgid "" "winners (the subslices)." msgstr "" -#: library/random.rst:238 +#: library/random.rst:236 msgid "" "Members of the population need not be :term:`hashable` or unique. If the " "population contains repeats, then each occurrence is a possible selection in " "the sample." msgstr "" -#: library/random.rst:241 +#: library/random.rst:239 msgid "" "Repeated elements can be specified one at a time or with the optional " "keyword-only *counts* parameter. For example, ``sample(['red', 'blue'], " @@ -341,60 +338,60 @@ msgid "" "'blue', 'blue'], k=5)``." msgstr "" -#: library/random.rst:246 +#: library/random.rst:244 msgid "" "To choose a sample from a range of integers, use a :func:`range` object as " "an argument. This is especially fast and space efficient for sampling from " "a large population: ``sample(range(10000000), k=60)``." msgstr "" -#: library/random.rst:250 +#: library/random.rst:248 msgid "" "If the sample size is larger than the population size, a :exc:`ValueError` " "is raised." msgstr "" -#: library/random.rst:253 +#: library/random.rst:251 msgid "Added the *counts* parameter." msgstr "" -#: library/random.rst:258 +#: library/random.rst:256 msgid "" "The *population* must be a sequence. Automatic conversion of sets to lists " "is no longer supported." msgstr "" -#: library/random.rst:262 +#: library/random.rst:260 msgid "Discrete distributions" msgstr "" -#: library/random.rst:264 +#: library/random.rst:262 msgid "The following function generates a discrete distribution." msgstr "" -#: library/random.rst:268 +#: library/random.rst:266 msgid "" "`Binomial distribution `_. Return the number of successes for *n* independent trials with the " "probability of success in each trial being *p*:" msgstr "" -#: library/random.rst:273 +#: library/random.rst:271 msgid "Mathematically equivalent to::" msgstr "" -#: library/random.rst:277 +#: library/random.rst:275 msgid "" "The number of trials *n* should be a non-negative integer. The probability " "of success *p* should be between ``0.0 <= p <= 1.0``. The result is an " "integer in the range ``0 <= X <= n``." msgstr "" -#: library/random.rst:287 +#: library/random.rst:285 msgid "Real-valued distributions" msgstr "" -#: library/random.rst:289 +#: library/random.rst:287 msgid "" "The following functions generate specific real-valued distributions. " "Function parameters are named after the corresponding variables in the " @@ -402,24 +399,24 @@ msgid "" "these equations can be found in any statistics text." msgstr "" -#: library/random.rst:297 +#: library/random.rst:295 msgid "" "Return the next random floating point number in the range ``0.0 <= X < 1.0``" msgstr "" -#: library/random.rst:302 +#: library/random.rst:300 msgid "" "Return a random floating point number *N* such that ``a <= N <= b`` for ``a " "<= b`` and ``b <= N <= a`` for ``b < a``." msgstr "" -#: library/random.rst:305 +#: library/random.rst:303 msgid "" "The end-point value ``b`` may or may not be included in the range depending " "on floating-point rounding in the equation ``a + (b-a) * random()``." msgstr "" -#: library/random.rst:311 +#: library/random.rst:309 msgid "" "Return a random floating point number *N* such that ``low <= N <= high`` and " "with the specified *mode* between those bounds. The *low* and *high* bounds " @@ -427,13 +424,13 @@ msgid "" "between the bounds, giving a symmetric distribution." msgstr "" -#: library/random.rst:319 +#: library/random.rst:317 msgid "" "Beta distribution. Conditions on the parameters are ``alpha > 0`` and " "``beta > 0``. Returned values range between 0 and 1." msgstr "" -#: library/random.rst:325 +#: library/random.rst:323 msgid "" "Exponential distribution. *lambd* is 1.0 divided by the desired mean. It " "should be nonzero. (The parameter would be called \"lambda\", but that is a " @@ -442,29 +439,29 @@ msgid "" "negative." msgstr "" -#: library/random.rst:331 +#: library/random.rst:329 msgid "Added the default value for ``lambd``." msgstr "" -#: library/random.rst:337 +#: library/random.rst:335 msgid "" "Gamma distribution. (*Not* the gamma function!) The shape and scale " "parameters, *alpha* and *beta*, must have positive values. (Calling " "conventions vary and some sources define 'beta' as the inverse of the scale)." msgstr "" -#: library/random.rst:342 +#: library/random.rst:340 msgid "The probability distribution function is::" msgstr "" -#: library/random.rst:351 +#: library/random.rst:349 msgid "" "Normal distribution, also called the Gaussian distribution. *mu* is the " "mean, and *sigma* is the standard deviation. This is slightly faster than " "the :func:`normalvariate` function defined below." msgstr "" -#: library/random.rst:356 +#: library/random.rst:354 msgid "" "Multithreading note: When two threads call this function simultaneously, it " "is possible that they will receive the same return value. This can be " @@ -473,11 +470,11 @@ msgid "" "but thread-safe :func:`normalvariate` function instead." msgstr "" -#: library/random.rst:379 +#: library/random.rst:377 msgid "*mu* and *sigma* now have default arguments." msgstr "" -#: library/random.rst:369 +#: library/random.rst:367 msgid "" "Log normal distribution. If you take the natural logarithm of this " "distribution, you'll get a normal distribution with mean *mu* and standard " @@ -485,13 +482,13 @@ msgid "" "than zero." msgstr "" -#: library/random.rst:377 +#: library/random.rst:375 msgid "" "Normal distribution. *mu* is the mean, and *sigma* is the standard " "deviation." msgstr "" -#: library/random.rst:385 +#: library/random.rst:383 msgid "" "*mu* is the mean angle, expressed in radians between 0 and 2\\*\\ *pi*, and " "*kappa* is the concentration parameter, which must be greater than or equal " @@ -499,34 +496,75 @@ msgid "" "uniform random angle over the range 0 to 2\\*\\ *pi*." msgstr "" -#: library/random.rst:393 +#: library/random.rst:391 msgid "Pareto distribution. *alpha* is the shape parameter." msgstr "" -#: library/random.rst:398 +#: library/random.rst:396 msgid "" "Weibull distribution. *alpha* is the scale parameter and *beta* is the " "shape parameter." msgstr "" -#: library/random.rst:403 +#: library/random.rst:401 msgid "Alternative Generator" msgstr "" -#: library/random.rst:407 +#: library/random.rst:405 msgid "" "Class that implements the default pseudo-random number generator used by " "the :mod:`random` module." msgstr "" +#: library/random.rst:408 +msgid "" +"Formerly the *seed* could be any hashable object. Now it is limited to: " +"``None``, :class:`int`, :class:`float`, :class:`str`, :class:`bytes`, or :" +"class:`bytearray`." +msgstr "" + #: library/random.rst:413 msgid "" -"Formerly the *seed* could be any hashable object. Now it is limited to: :" -"class:`NoneType`, :class:`int`, :class:`float`, :class:`str`, :class:" -"`bytes`, or :class:`bytearray`." +"Subclasses of :class:`!Random` should override the following methods if they " +"wish to make use of a different basic generator:" msgstr "" -#: library/random.rst:417 +#: library/random.rst:418 +msgid "" +"Override this method in subclasses to customise the :meth:`~random.seed` " +"behaviour of :class:`!Random` instances." +msgstr "" + +#: library/random.rst:423 +msgid "" +"Override this method in subclasses to customise the :meth:`~random.getstate` " +"behaviour of :class:`!Random` instances." +msgstr "" + +#: library/random.rst:428 +msgid "" +"Override this method in subclasses to customise the :meth:`~random.setstate` " +"behaviour of :class:`!Random` instances." +msgstr "" + +#: library/random.rst:433 +msgid "" +"Override this method in subclasses to customise the :meth:`~random.random` " +"behaviour of :class:`!Random` instances." +msgstr "" + +#: library/random.rst:436 +msgid "" +"Optionally, a custom generator subclass can also supply the following method:" +msgstr "" + +#: library/random.rst:440 +msgid "" +"Override this method in subclasses to customise the :meth:`~random." +"getrandbits` behaviour of :class:`!Random` instances." +msgstr "" + +#: library/random.rst:446 msgid "" "Class that uses the :func:`os.urandom` function for generating random " "numbers from sources provided by the operating system. Not available on all " @@ -536,11 +574,11 @@ msgid "" "`NotImplementedError` if called." msgstr "" -#: library/random.rst:426 +#: library/random.rst:455 msgid "Notes on Reproducibility" msgstr "" -#: library/random.rst:428 +#: library/random.rst:457 msgid "" "Sometimes it is useful to be able to reproduce the sequences given by a " "pseudo-random number generator. By reusing a seed value, the same sequence " @@ -548,44 +586,44 @@ msgid "" "running." msgstr "" -#: library/random.rst:432 +#: library/random.rst:461 msgid "" "Most of the random module's algorithms and seeding functions are subject to " "change across Python versions, but two aspects are guaranteed not to change:" msgstr "" -#: library/random.rst:435 +#: library/random.rst:464 msgid "" "If a new seeding method is added, then a backward compatible seeder will be " "offered." msgstr "" -#: library/random.rst:438 +#: library/random.rst:467 msgid "" "The generator's :meth:`~Random.random` method will continue to produce the " "same sequence when the compatible seeder is given the same seed." msgstr "" -#: library/random.rst:444 +#: library/random.rst:473 msgid "Examples" msgstr "" -#: library/random.rst:446 +#: library/random.rst:475 msgid "Basic examples::" msgstr "" -#: library/random.rst:474 +#: library/random.rst:503 msgid "Simulations::" msgstr "" -#: library/random.rst:499 +#: library/random.rst:528 msgid "" "Example of `statistical bootstrapping `_ using resampling with replacement to estimate " "a confidence interval for the mean of a sample::" msgstr "" -#: library/random.rst:512 +#: library/random.rst:541 msgid "" "Example of a `resampling permutation test `_ to determine the statistical " @@ -593,12 +631,12 @@ msgid "" "observed difference between the effects of a drug versus a placebo::" msgstr "" -#: library/random.rst:539 +#: library/random.rst:568 msgid "" "Simulation of arrival times and service deliveries for a multiserver queue::" msgstr "" -#: library/random.rst:568 +#: library/random.rst:597 msgid "" "`Statistics for Hackers `_ a " "video tutorial by `Jake Vanderplas `_ a simulation of a marketplace by `Peter Norvig `_ that shows effective use of many of the tools and " -"distributions provided by this module (gauss, uniform, sample, betavariate, " -"choice, triangular, and randrange)." +"`Economics Simulation `_ a simulation of a marketplace by `Peter Norvig `_ that shows effective use of many of the tools and distributions " +"provided by this module (gauss, uniform, sample, betavariate, choice, " +"triangular, and randrange)." msgstr "" -#: library/random.rst:581 +#: library/random.rst:610 msgid "" -"`A Concrete Introduction to Probability (using Python) `_ a tutorial by `Peter " -"Norvig `_ covering the basics of probability " -"theory, how to write simulations, and how to perform data analysis using " -"Python." +"`A Concrete Introduction to Probability (using Python) `_ a tutorial by `Peter Norvig " +"`_ covering the basics of probability theory, " +"how to write simulations, and how to perform data analysis using Python." msgstr "" -#: library/random.rst:589 +#: library/random.rst:618 msgid "Recipes" msgstr "" -#: library/random.rst:591 +#: library/random.rst:620 msgid "" "These recipes show how to efficiently make random selections from the " "combinatoric iterators in the :mod:`itertools` module:" msgstr "" -#: library/random.rst:623 +#: library/random.rst:652 msgid "" "The default :func:`.random` returns multiples of 2⁻⁵³ in the range *0.0 ≤ x " "< 1.0*. All such numbers are evenly spaced and are exactly representable as " @@ -643,7 +680,7 @@ msgid "" "integer multiple of 2⁻⁵³." msgstr "" -#: library/random.rst:629 +#: library/random.rst:658 msgid "" "The following recipe takes a different approach. All floats in the interval " "are possible selections. The mantissa comes from a uniform distribution of " @@ -652,13 +689,13 @@ msgid "" "often as the next larger exponent." msgstr "" -#: library/random.rst:651 +#: library/random.rst:680 msgid "" "All :ref:`real valued distributions ` in the " "class will use the new method::" msgstr "" -#: library/random.rst:660 +#: library/random.rst:689 msgid "" "The recipe is conceptually equivalent to an algorithm that chooses from all " "the multiples of 2⁻¹⁰⁷⁴ in the range *0.0 ≤ x < 1.0*. All such numbers are " @@ -667,7 +704,7 @@ msgid "" "and is equal to ``math.ulp(0.0)``.)" msgstr "" -#: library/random.rst:669 +#: library/random.rst:698 msgid "" "`Generating Pseudo-random Floating-Point Values `_ a paper by Allen B. Downey describing " diff --git a/library/readline.po b/library/readline.po index ed8cedb1c..c0eba2163 100644 --- a/library/readline.po +++ b/library/readline.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -234,11 +234,11 @@ msgid "" "of the library that supports it." msgstr "" -#: library/readline.rst:217 +#: library/readline.rst:219 msgid "Completion" msgstr "" -#: library/readline.rst:219 +#: library/readline.rst:221 msgid "" "The following functions relate to implementing a custom word completion " "function. This is typically operated by the Tab key, and can suggest and " @@ -248,7 +248,7 @@ msgid "" "custom completer, a different set of word delimiters should be set." msgstr "" -#: library/readline.rst:229 +#: library/readline.rst:231 msgid "" "Set or remove the completer function. If *function* is specified, it will " "be used as the new completer function; if omitted or ``None``, any completer " @@ -258,7 +258,7 @@ msgid "" "starting with *text*." msgstr "" -#: library/readline.rst:236 +#: library/readline.rst:238 msgid "" "The installed completer function is invoked by the *entry_func* callback " "passed to :c:func:`rl_completion_matches` in the underlying library. The " @@ -266,19 +266,19 @@ msgid "" "`rl_attempted_completion_function` callback of the underlying library." msgstr "" -#: library/readline.rst:245 +#: library/readline.rst:247 msgid "" "Get the completer function, or ``None`` if no completer function has been " "set." msgstr "" -#: library/readline.rst:250 +#: library/readline.rst:252 msgid "" "Get the type of completion being attempted. This returns the :c:data:" "`rl_completion_type` variable in the underlying library as an integer." msgstr "" -#: library/readline.rst:258 +#: library/readline.rst:260 msgid "" "Get the beginning or ending index of the completion scope. These indexes are " "the *start* and *end* arguments passed to the :c:data:" @@ -288,7 +288,7 @@ msgid "" "differently than libreadline." msgstr "" -#: library/readline.rst:269 +#: library/readline.rst:271 msgid "" "Set or get the word delimiters for completion. These determine the start of " "the word to be considered for completion (the completion scope). These " @@ -296,7 +296,7 @@ msgid "" "in the underlying library." msgstr "" -#: library/readline.rst:277 +#: library/readline.rst:279 msgid "" "Set or remove the completion display function. If *function* is specified, " "it will be used as the new completion display function; if omitted or " @@ -307,11 +307,11 @@ msgid "" "each time matches need to be displayed." msgstr "" -#: library/readline.rst:290 +#: library/readline.rst:292 msgid "Example" msgstr "" -#: library/readline.rst:292 +#: library/readline.rst:294 msgid "" "The following example demonstrates how to use the :mod:`readline` module's " "history reading and writing functions to automatically load and save a " @@ -320,19 +320,19 @@ msgid "" "sessions from the user's :envvar:`PYTHONSTARTUP` file. ::" msgstr "" -#: library/readline.rst:312 +#: library/readline.rst:314 msgid "" "This code is actually automatically run when Python is run in :ref:" "`interactive mode ` (see :ref:`rlcompleter-config`)." msgstr "" -#: library/readline.rst:315 +#: library/readline.rst:317 msgid "" "The following example achieves the same goal but supports concurrent " "interactive sessions, by only appending the new history. ::" msgstr "" -#: library/readline.rst:336 +#: library/readline.rst:338 msgid "" "The following example extends the :class:`code.InteractiveConsole` class to " "support history save/restore. ::" diff --git a/library/reprlib.po b/library/reprlib.po index 0f1d1fce4..f0cd574ed 100644 --- a/library/reprlib.po +++ b/library/reprlib.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,7 @@ msgstr "" #: library/reprlib.rst:13 msgid "" -"The :mod:`reprlib` module provides a means for producing object " +"The :mod:`!reprlib` module provides a means for producing object " "representations with limits on the size of the resulting strings. This is " "used in the Python debugger and may be useful in other contexts as well." msgstr "" @@ -81,53 +81,53 @@ msgstr "" #: library/reprlib.rst:60 msgid "" "In addition to size-limiting tools, the module also provides a decorator for " -"detecting recursive calls to :meth:`__repr__` and substituting a placeholder " -"string instead." +"detecting recursive calls to :meth:`~object.__repr__` and substituting a " +"placeholder string instead." msgstr "" #: library/reprlib.rst:69 msgid "" -"Decorator for :meth:`__repr__` methods to detect recursive calls within the " -"same thread. If a recursive call is made, the *fillvalue* is returned, " -"otherwise, the usual :meth:`__repr__` call is made. For example:" +"Decorator for :meth:`~object.__repr__` methods to detect recursive calls " +"within the same thread. If a recursive call is made, the *fillvalue* is " +"returned, otherwise, the usual :meth:`!__repr__` call is made. For example:" msgstr "" -#: library/reprlib.rst:91 +#: library/reprlib.rst:93 msgid "Repr Objects" msgstr "" -#: library/reprlib.rst:93 +#: library/reprlib.rst:95 msgid "" ":class:`Repr` instances provide several attributes which can be used to " "provide size limits for the representations of different object types, and " "methods which format specific object types." msgstr "" -#: library/reprlib.rst:100 +#: library/reprlib.rst:102 msgid "" "This string is displayed for recursive references. It defaults to ``...``." msgstr "" -#: library/reprlib.rst:108 +#: library/reprlib.rst:110 msgid "" "Depth limit on the creation of recursive representations. The default is " "``6``." msgstr "" -#: library/reprlib.rst:119 +#: library/reprlib.rst:121 msgid "" "Limits on the number of entries represented for the named object type. The " "default is ``4`` for :attr:`maxdict`, ``5`` for :attr:`maxarray`, and ``6`` " "for the others." msgstr "" -#: library/reprlib.rst:126 +#: library/reprlib.rst:128 msgid "" "Maximum number of characters in the representation for an integer. Digits " "are dropped from the middle. The default is ``40``." msgstr "" -#: library/reprlib.rst:132 +#: library/reprlib.rst:134 msgid "" "Limit on the number of characters in the representation of the string. Note " "that the \"normal\" representation of the string is used as the character " @@ -135,39 +135,39 @@ msgid "" "mangled when the representation is shortened. The default is ``30``." msgstr "" -#: library/reprlib.rst:140 +#: library/reprlib.rst:142 msgid "" "This limit is used to control the size of object types for which no specific " "formatting method is available on the :class:`Repr` object. It is applied in " "a similar manner as :attr:`maxstring`. The default is ``20``." msgstr "" -#: library/reprlib.rst:147 +#: library/reprlib.rst:149 msgid "" "If this attribute is set to ``None`` (the default), the output is formatted " "with no line breaks or indentation, like the standard :func:`repr`. For " "example:" msgstr "" -#: library/reprlib.rst:160 +#: library/reprlib.rst:162 msgid "" "If :attr:`~Repr.indent` is set to a string, each recursion level is placed " "on its own line, indented by that string:" msgstr "" -#: library/reprlib.rst:181 +#: library/reprlib.rst:183 msgid "" "Setting :attr:`~Repr.indent` to a positive integer value behaves as if it " "was set to a string with that number of spaces:" msgstr "" -#: library/reprlib.rst:207 +#: library/reprlib.rst:209 msgid "" "The equivalent to the built-in :func:`repr` that uses the formatting imposed " "by the instance." msgstr "" -#: library/reprlib.rst:213 +#: library/reprlib.rst:215 msgid "" "Recursive implementation used by :meth:`.repr`. This uses the type of *obj* " "to determine which formatting method to call, passing it *obj* and *level*. " @@ -176,7 +176,7 @@ msgid "" "call." msgstr "" -#: library/reprlib.rst:222 +#: library/reprlib.rst:224 msgid "" "Formatting methods for specific types are implemented as methods with a name " "based on the type name. In the method name, **TYPE** is replaced by ``'_'." @@ -185,16 +185,16 @@ msgid "" "should call ``self.repr1(subobj, level - 1)``." msgstr "" -#: library/reprlib.rst:232 +#: library/reprlib.rst:234 msgid "Subclassing Repr Objects" msgstr "" -#: library/reprlib.rst:234 +#: library/reprlib.rst:236 msgid "" "The use of dynamic dispatching by :meth:`Repr.repr1` allows subclasses of :" "class:`Repr` to add support for additional built-in object types or to " "modify the handling of types already supported. This example shows how " -"special support for file objects could be added::" +"special support for file objects could be added:" msgstr "" #: library/reprlib.rst:65 diff --git a/library/resource.po b/library/resource.po index 577b0d0da..efb73e453 100644 --- a/library/resource.po +++ b/library/resource.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -306,7 +306,7 @@ msgid "" "This function returns an object that describes the resources consumed by " "either the current process or its children, as specified by the *who* " "parameter. The *who* parameter should be specified using one of the :const:" -"`RUSAGE_\\*` constants described below." +"`!RUSAGE_\\*` constants described below." msgstr "" #: library/resource.rst:283 @@ -557,7 +557,7 @@ msgstr "" #: library/resource.rst:356 msgid "" -"The following :const:`RUSAGE_\\*` symbols are passed to the :func:" +"The following :const:`!RUSAGE_\\*` symbols are passed to the :func:" "`getrusage` function to specify which processes information should be " "provided for." msgstr "" diff --git a/library/rlcompleter.po b/library/rlcompleter.po index 1b82d9a72..bb8326276 100644 --- a/library/rlcompleter.po +++ b/library/rlcompleter.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,62 +26,65 @@ msgstr "" #: library/rlcompleter.rst:13 msgid "" -"The :mod:`rlcompleter` module defines a completion function suitable for " -"the :mod:`readline` module by completing valid Python identifiers and " -"keywords." +"The :mod:`!rlcompleter` module defines a completion function suitable to be " +"passed to :func:`~readline.set_completer` in the :mod:`readline` module." msgstr "" #: library/rlcompleter.rst:16 msgid "" "When this module is imported on a Unix platform with the :mod:`readline` " "module available, an instance of the :class:`Completer` class is " -"automatically created and its :meth:`complete` method is set as the :mod:" -"`readline` completer." +"automatically created and its :meth:`~Completer.complete` method is set as " +"the :ref:`readline completer `. The method provides " +"completion of valid Python :ref:`identifiers and keywords `." msgstr "" -#: library/rlcompleter.rst:20 +#: library/rlcompleter.rst:22 msgid "Example::" msgstr "" -#: library/rlcompleter.rst:31 +#: library/rlcompleter.rst:33 msgid "" -"The :mod:`rlcompleter` module is designed for use with Python's :ref:" +"The :mod:`!rlcompleter` module is designed for use with Python's :ref:" "`interactive mode `. Unless Python is run with the :option:" "`-S` option, the module is automatically imported and configured (see :ref:" "`rlcompleter-config`)." msgstr "" -#: library/rlcompleter.rst:36 +#: library/rlcompleter.rst:38 msgid "" "On platforms without :mod:`readline`, the :class:`Completer` class defined " "by this module can still be used for custom purposes." msgstr "" -#: library/rlcompleter.rst:43 -msgid "Completer Objects" -msgstr "" - -#: library/rlcompleter.rst:45 +#: library/rlcompleter.rst:46 msgid "Completer objects have the following method:" msgstr "" #: library/rlcompleter.rst:50 -msgid "Return the *state*\\ th completion for *text*." +msgid "Return the next possible completion for *text*." msgstr "" #: library/rlcompleter.rst:52 msgid "" +"When called by the :mod:`readline` module, this method is called " +"successively with ``state == 0, 1, 2, ...`` until the method returns " +"``None``." +msgstr "" + +#: library/rlcompleter.rst:56 +msgid "" "If called for *text* that doesn't include a period character (``'.'``), it " "will complete from names currently defined in :mod:`__main__`, :mod:" "`builtins` and keywords (as defined by the :mod:`keyword` module)." msgstr "" -#: library/rlcompleter.rst:56 +#: library/rlcompleter.rst:60 msgid "" "If called for a dotted name, it will try to evaluate anything without " "obvious side-effects (functions will not be evaluated, but it can generate " -"calls to :meth:`__getattr__`) up to the last part, and find matches for the " -"rest via the :func:`dir` function. Any exception raised during the " +"calls to :meth:`~object.__getattr__`) up to the last part, and find matches " +"for the rest via the :func:`dir` function. Any exception raised during the " "evaluation of the expression is caught, silenced and :const:`None` is " "returned." msgstr "" diff --git a/library/shelve.po b/library/shelve.po index 66e5ef402..91dc19462 100644 --- a/library/shelve.po +++ b/library/shelve.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -66,7 +66,7 @@ msgid "" "mutated)." msgstr "" -#: library/shelve.rst:145 +#: library/shelve.rst:148 msgid "" ":const:`pickle.DEFAULT_PROTOCOL` is now used as the default pickle protocol." msgstr "" @@ -147,13 +147,19 @@ msgid "" "implementation used." msgstr "" -#: library/shelve.rst:119 +#: library/shelve.rst:116 +msgid "" +"On macOS :mod:`dbm.ndbm` can silently corrupt the database file on updates, " +"which can cause hard crashes when trying to read from the database." +msgstr "" + +#: library/shelve.rst:122 msgid "" "A subclass of :class:`collections.abc.MutableMapping` which stores pickled " "values in the *dict* object." msgstr "" -#: library/shelve.rst:122 +#: library/shelve.rst:125 msgid "" "By default, pickles created with :const:`pickle.DEFAULT_PROTOCOL` are used " "to serialize values. The version of the pickle protocol can be specified " @@ -161,7 +167,7 @@ msgid "" "discussion of the pickle protocols." msgstr "" -#: library/shelve.rst:127 +#: library/shelve.rst:130 msgid "" "If the *writeback* parameter is ``True``, the object will hold a cache of " "all entries accessed and write them back to the *dict* at sync and close " @@ -169,42 +175,42 @@ msgid "" "much more memory and make sync and close take a long time." msgstr "" -#: library/shelve.rst:132 +#: library/shelve.rst:135 msgid "" "The *keyencoding* parameter is the encoding used to encode keys before they " "are used with the underlying dict." msgstr "" -#: library/shelve.rst:135 +#: library/shelve.rst:138 msgid "" "A :class:`Shelf` object can also be used as a context manager, in which case " "it will be automatically closed when the :keyword:`with` block ends." msgstr "" -#: library/shelve.rst:138 +#: library/shelve.rst:141 msgid "" "Added the *keyencoding* parameter; previously, keys were always encoded in " "UTF-8." msgstr "" -#: library/shelve.rst:142 +#: library/shelve.rst:145 msgid "Added context manager support." msgstr "" -#: library/shelve.rst:152 +#: library/shelve.rst:155 msgid "" -"A subclass of :class:`Shelf` which exposes :meth:`first`, :meth:`!next`, :" -"meth:`previous`, :meth:`last` and :meth:`set_location` which are available " -"in the third-party :mod:`bsddb` module from `pybsddb `_ but not in other database modules. The *dict* " -"object passed to the constructor must support those methods. This is " -"generally accomplished by calling one of :func:`bsddb.hashopen`, :func:" -"`bsddb.btopen` or :func:`bsddb.rnopen`. The optional *protocol*, " +"A subclass of :class:`Shelf` which exposes :meth:`!first`, :meth:`!next`, :" +"meth:`!previous`, :meth:`!last` and :meth:`!set_location` methods. These are " +"available in the third-party :mod:`!bsddb` module from `pybsddb `_ but not in other database modules. The " +"*dict* object passed to the constructor must support those methods. This is " +"generally accomplished by calling one of :func:`!bsddb.hashopen`, :func:`!" +"bsddb.btopen` or :func:`!bsddb.rnopen`. The optional *protocol*, " "*writeback*, and *keyencoding* parameters have the same interpretation as " "for the :class:`Shelf` class." msgstr "" -#: library/shelve.rst:165 +#: library/shelve.rst:169 msgid "" "A subclass of :class:`Shelf` which accepts a *filename* instead of a dict-" "like object. The underlying file will be opened using :func:`dbm.open`. By " @@ -214,29 +220,29 @@ msgid "" "same interpretation as for the :class:`Shelf` class." msgstr "" -#: library/shelve.rst:176 +#: library/shelve.rst:180 msgid "Example" msgstr "" -#: library/shelve.rst:178 +#: library/shelve.rst:182 msgid "" "To summarize the interface (``key`` is a string, ``data`` is an arbitrary " "object)::" msgstr "" -#: library/shelve.rst:215 +#: library/shelve.rst:219 msgid "Module :mod:`dbm`" msgstr "" -#: library/shelve.rst:215 +#: library/shelve.rst:219 msgid "Generic interface to ``dbm``-style databases." msgstr "" -#: library/shelve.rst:217 +#: library/shelve.rst:221 msgid "Module :mod:`pickle`" msgstr "" -#: library/shelve.rst:218 +#: library/shelve.rst:222 msgid "Object serialization used by :mod:`shelve`." msgstr "" diff --git a/library/signal.po b/library/signal.po index a1f6ed9bd..8feefce55 100644 --- a/library/signal.po +++ b/library/signal.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -150,14 +150,14 @@ msgid "" "`SIG_UNBLOCK` and :const:`SIG_SETMASK`." msgstr "" -#: library/signal.rst:136 library/signal.rst:154 library/signal.rst:178 -#: library/signal.rst:204 library/signal.rst:236 library/signal.rst:349 -#: library/signal.rst:435 library/signal.rst:499 library/signal.rst:559 -#: library/signal.rst:616 library/signal.rst:662 +#: library/signal.rst:136 library/signal.rst:154 library/signal.rst:180 +#: library/signal.rst:206 library/signal.rst:238 library/signal.rst:351 +#: library/signal.rst:437 library/signal.rst:501 library/signal.rst:561 +#: library/signal.rst:618 library/signal.rst:664 msgid ":ref:`Availability `: Unix." msgstr "" -#: library/signal.rst:471 +#: library/signal.rst:473 msgid "" "See the man page :manpage:`sigprocmask(2)` and :manpage:`pthread_sigmask(3)` " "for further information." @@ -193,7 +193,7 @@ msgstr "" msgid "Interrupt from keyboard (CTRL + BREAK)." msgstr "" -#: library/signal.rst:260 library/signal.rst:270 +#: library/signal.rst:262 library/signal.rst:272 msgid ":ref:`Availability `: Windows." msgstr "" @@ -209,90 +209,94 @@ msgstr "" msgid "Alias to :data:`SIGCHLD`." msgstr "" -#: library/signal.rst:162 +#: library/signal.rst:160 +msgid ":ref:`Availability `: not macOS." +msgstr "" + +#: library/signal.rst:164 msgid "Continue the process if it is currently stopped" msgstr "" -#: library/signal.rst:168 +#: library/signal.rst:170 msgid "Floating-point exception. For example, division by zero." msgstr "" -#: library/signal.rst:171 +#: library/signal.rst:173 msgid "" ":exc:`ZeroDivisionError` is raised when the second argument of a division or " "modulo operation is zero." msgstr "" -#: library/signal.rst:176 +#: library/signal.rst:178 msgid "" "Hangup detected on controlling terminal or death of controlling process." msgstr "" -#: library/signal.rst:182 +#: library/signal.rst:184 msgid "Illegal instruction." msgstr "" -#: library/signal.rst:186 +#: library/signal.rst:188 msgid "Interrupt from keyboard (CTRL + C)." msgstr "" -#: library/signal.rst:188 +#: library/signal.rst:190 msgid "Default action is to raise :exc:`KeyboardInterrupt`." msgstr "" -#: library/signal.rst:192 +#: library/signal.rst:194 msgid "Kill signal." msgstr "" -#: library/signal.rst:194 +#: library/signal.rst:196 msgid "It cannot be caught, blocked, or ignored." msgstr "" -#: library/signal.rst:200 +#: library/signal.rst:202 msgid "Broken pipe: write to pipe with no readers." msgstr "" -#: library/signal.rst:202 +#: library/signal.rst:204 msgid "Default action is to ignore the signal." msgstr "" -#: library/signal.rst:208 +#: library/signal.rst:210 msgid "Segmentation fault: invalid memory reference." msgstr "" -#: library/signal.rst:212 +#: library/signal.rst:214 msgid "" "Stack fault on coprocessor. The Linux kernel does not raise this signal: it " "can only be raised in user space." msgstr "" -#: library/signal.rst:215 +#: library/signal.rst:217 msgid ":ref:`Availability `: Linux." msgstr "" -#: library/signal.rst:217 +#: library/signal.rst:219 msgid "" "On architectures where the signal is available. See the man page :manpage:" "`signal(7)` for further information." msgstr "" -#: library/signal.rst:224 +#: library/signal.rst:226 msgid "Termination signal." msgstr "" -#: library/signal.rst:228 +#: library/signal.rst:230 msgid "User-defined signal 1." msgstr "" -#: library/signal.rst:234 +#: library/signal.rst:236 msgid "User-defined signal 2." msgstr "" -#: library/signal.rst:240 +#: library/signal.rst:242 msgid "Window resize signal." msgstr "" -#: library/signal.rst:246 +#: library/signal.rst:248 msgid "" "All the signal numbers are defined symbolically. For example, the hangup " "signal is defined as :const:`signal.SIGHUP`; the variable names are " @@ -303,37 +307,37 @@ msgid "" "only those names defined by the system are defined by this module." msgstr "" -#: library/signal.rst:257 +#: library/signal.rst:259 msgid "" "The signal corresponding to the :kbd:`Ctrl+C` keystroke event. This signal " "can only be used with :func:`os.kill`." msgstr "" -#: library/signal.rst:267 +#: library/signal.rst:269 msgid "" "The signal corresponding to the :kbd:`Ctrl+Break` keystroke event. This " "signal can only be used with :func:`os.kill`." msgstr "" -#: library/signal.rst:277 +#: library/signal.rst:279 msgid "" "One more than the number of the highest signal number. Use :func:" "`valid_signals` to get valid signal numbers." msgstr "" -#: library/signal.rst:283 +#: library/signal.rst:285 msgid "" "Decrements interval timer in real time, and delivers :const:`SIGALRM` upon " "expiration." msgstr "" -#: library/signal.rst:289 +#: library/signal.rst:291 msgid "" "Decrements interval timer only when the process is executing, and delivers " "SIGVTALRM upon expiration." msgstr "" -#: library/signal.rst:295 +#: library/signal.rst:297 msgid "" "Decrements interval timer both when the process executes and when the system " "is executing on behalf of the process. Coupled with ITIMER_VIRTUAL, this " @@ -341,29 +345,29 @@ msgid "" "and kernel space. SIGPROF is delivered upon expiration." msgstr "" -#: library/signal.rst:303 +#: library/signal.rst:305 msgid "" "A possible value for the *how* parameter to :func:`pthread_sigmask` " "indicating that signals are to be blocked." msgstr "" -#: library/signal.rst:310 +#: library/signal.rst:312 msgid "" "A possible value for the *how* parameter to :func:`pthread_sigmask` " "indicating that signals are to be unblocked." msgstr "" -#: library/signal.rst:317 +#: library/signal.rst:319 msgid "" "A possible value for the *how* parameter to :func:`pthread_sigmask` " "indicating that the signal mask is to be replaced." msgstr "" -#: library/signal.rst:323 +#: library/signal.rst:325 msgid "The :mod:`signal` module defines one exception:" msgstr "" -#: library/signal.rst:327 +#: library/signal.rst:329 msgid "" "Raised to signal an error from the underlying :func:`setitimer` or :func:" "`getitimer` implementation. Expect this error if an invalid interval timer " @@ -371,17 +375,17 @@ msgid "" "of :exc:`OSError`." msgstr "" -#: library/signal.rst:332 +#: library/signal.rst:334 msgid "" "This error used to be a subtype of :exc:`IOError`, which is now an alias of :" "exc:`OSError`." msgstr "" -#: library/signal.rst:337 +#: library/signal.rst:339 msgid "The :mod:`signal` module defines the following functions:" msgstr "" -#: library/signal.rst:342 +#: library/signal.rst:344 msgid "" "If *time* is non-zero, this function requests that a :const:`SIGALRM` signal " "be sent to the process in *time* seconds. Any previously scheduled alarm is " @@ -392,11 +396,11 @@ msgid "" "scheduled." msgstr "" -#: library/signal.rst:351 +#: library/signal.rst:353 msgid "See the man page :manpage:`alarm(2)` for further information." msgstr "" -#: library/signal.rst:356 +#: library/signal.rst:358 msgid "" "Return the current signal handler for the signal *signalnum*. The returned " "value may be a callable Python object, or one of the special values :const:" @@ -407,41 +411,41 @@ msgid "" "not installed from Python." msgstr "" -#: library/signal.rst:367 +#: library/signal.rst:369 msgid "" "Returns the description of signal *signalnum*, such as \"Interrupt\" for :" "const:`SIGINT`. Returns :const:`None` if *signalnum* has no description. " "Raises :exc:`ValueError` if *signalnum* is invalid." msgstr "" -#: library/signal.rst:376 +#: library/signal.rst:378 msgid "" "Return the set of valid signal numbers on this platform. This can be less " "than ``range(1, NSIG)`` if some signals are reserved by the system for " "internal use." msgstr "" -#: library/signal.rst:385 +#: library/signal.rst:387 msgid "" "Cause the process to sleep until a signal is received; the appropriate " "handler will then be called. Returns nothing." msgstr "" -#: library/signal.rst:390 +#: library/signal.rst:392 msgid "See the man page :manpage:`signal(2)` for further information." msgstr "" -#: library/signal.rst:392 +#: library/signal.rst:394 msgid "" "See also :func:`sigwait`, :func:`sigwaitinfo`, :func:`sigtimedwait` and :" "func:`sigpending`." msgstr "" -#: library/signal.rst:398 +#: library/signal.rst:400 msgid "Sends a signal to the calling process. Returns nothing." msgstr "" -#: library/signal.rst:405 +#: library/signal.rst:407 msgid "" "Send signal *sig* to the process referred to by file descriptor *pidfd*. " "Python does not currently support the *siginfo* parameter; it must be " @@ -449,15 +453,15 @@ msgid "" "values are currently defined." msgstr "" -#: library/signal.rst:410 +#: library/signal.rst:412 msgid "See the :manpage:`pidfd_send_signal(2)` man page for more information." msgstr "" -#: library/signal.rst:412 +#: library/signal.rst:414 msgid ":ref:`Availability `: Linux >= 5.1" msgstr "" -#: library/signal.rst:418 +#: library/signal.rst:420 msgid "" "Send the signal *signalnum* to the thread *thread_id*, another thread in the " "same process as the caller. The target thread can be executing any code " @@ -468,86 +472,86 @@ msgid "" "running system call to fail with :exc:`InterruptedError`." msgstr "" -#: library/signal.rst:426 +#: library/signal.rst:428 msgid "" "Use :func:`threading.get_ident()` or the :attr:`~threading.Thread.ident` " "attribute of :class:`threading.Thread` objects to get a suitable value for " "*thread_id*." msgstr "" -#: library/signal.rst:430 +#: library/signal.rst:432 msgid "" "If *signalnum* is 0, then no signal is sent, but error checking is still " "performed; this can be used to check if the target thread is still running." msgstr "" -#: library/signal.rst:433 +#: library/signal.rst:435 msgid "" "Raises an :ref:`auditing event ` ``signal.pthread_kill`` with " "arguments ``thread_id``, ``signalnum``." msgstr "" -#: library/signal.rst:437 +#: library/signal.rst:439 msgid "See the man page :manpage:`pthread_kill(3)` for further information." msgstr "" -#: library/signal.rst:439 +#: library/signal.rst:441 msgid "See also :func:`os.kill`." msgstr "" -#: library/signal.rst:446 +#: library/signal.rst:448 msgid "" "Fetch and/or change the signal mask of the calling thread. The signal mask " "is the set of signals whose delivery is currently blocked for the caller. " "Return the old signal mask as a set of signals." msgstr "" -#: library/signal.rst:450 +#: library/signal.rst:452 msgid "" "The behavior of the call is dependent on the value of *how*, as follows." msgstr "" -#: library/signal.rst:452 +#: library/signal.rst:454 msgid "" ":data:`SIG_BLOCK`: The set of blocked signals is the union of the current " "set and the *mask* argument." msgstr "" -#: library/signal.rst:454 +#: library/signal.rst:456 msgid "" ":data:`SIG_UNBLOCK`: The signals in *mask* are removed from the current set " "of blocked signals. It is permissible to attempt to unblock a signal which " "is not blocked." msgstr "" -#: library/signal.rst:457 +#: library/signal.rst:459 msgid "" ":data:`SIG_SETMASK`: The set of blocked signals is set to the *mask* " "argument." msgstr "" -#: library/signal.rst:460 +#: library/signal.rst:462 msgid "" "*mask* is a set of signal numbers (e.g. {:const:`signal.SIGINT`, :const:" "`signal.SIGTERM`}). Use :func:`~signal.valid_signals` for a full mask " "including all signals." msgstr "" -#: library/signal.rst:464 +#: library/signal.rst:466 msgid "" "For example, ``signal.pthread_sigmask(signal.SIG_BLOCK, [])`` reads the " "signal mask of the calling thread." msgstr "" -#: library/signal.rst:467 +#: library/signal.rst:469 msgid ":data:`SIGKILL` and :data:`SIGSTOP` cannot be blocked." msgstr "" -#: library/signal.rst:474 +#: library/signal.rst:476 msgid "See also :func:`pause`, :func:`sigpending` and :func:`sigwait`." msgstr "" -#: library/signal.rst:481 +#: library/signal.rst:483 msgid "" "Sets given interval timer (one of :const:`signal.ITIMER_REAL`, :const:" "`signal.ITIMER_VIRTUAL` or :const:`signal.ITIMER_PROF`) specified by *which* " @@ -557,7 +561,7 @@ msgid "" "zero." msgstr "" -#: library/signal.rst:488 +#: library/signal.rst:490 msgid "" "When an interval timer fires, a signal is sent to the process. The signal " "sent is dependent on the timer being used; :const:`signal.ITIMER_REAL` will " @@ -565,21 +569,21 @@ msgid "" "`SIGVTALRM`, and :const:`signal.ITIMER_PROF` will deliver :const:`SIGPROF`." msgstr "" -#: library/signal.rst:494 +#: library/signal.rst:496 msgid "The old values are returned as a tuple: (delay, interval)." msgstr "" -#: library/signal.rst:496 +#: library/signal.rst:498 msgid "" "Attempting to pass an invalid interval timer will cause an :exc:" "`ItimerError`." msgstr "" -#: library/signal.rst:504 +#: library/signal.rst:506 msgid "Returns current value of a given interval timer specified by *which*." msgstr "" -#: library/signal.rst:511 +#: library/signal.rst:513 msgid "" "Set the wakeup file descriptor to *fd*. When a signal is received, the " "signal number is written as a single byte into the fd. This can be used by " @@ -587,7 +591,7 @@ msgid "" "processed." msgstr "" -#: library/signal.rst:516 +#: library/signal.rst:518 msgid "" "The old wakeup fd is returned (or -1 if file descriptor wakeup was not " "enabled). If *fd* is -1, file descriptor wakeup is disabled. If not -1, " @@ -595,7 +599,7 @@ msgid "" "*fd* before calling poll or select again." msgstr "" -#: library/signal.rst:576 +#: library/signal.rst:578 msgid "" "When threads are enabled, this function can only be called from :ref:`the " "main thread of the main interpreter `; attempting to " @@ -603,14 +607,14 @@ msgid "" "raised." msgstr "" -#: library/signal.rst:526 +#: library/signal.rst:528 msgid "" "There are two common ways to use this function. In both approaches, you use " "the fd to wake up when a signal arrives, but then they differ in how they " "determine *which* signal or signals have arrived." msgstr "" -#: library/signal.rst:531 +#: library/signal.rst:533 msgid "" "In the first approach, we read the data out of the fd's buffer, and the byte " "values give you the signal numbers. This is simple, but in rare cases it can " @@ -621,7 +625,7 @@ msgid "" "warning to be printed to stderr when signals are lost." msgstr "" -#: library/signal.rst:540 +#: library/signal.rst:542 msgid "" "In the second approach, we use the wakeup fd *only* for wakeups, and ignore " "the actual byte values. In this case, all we care about is whether the fd's " @@ -631,33 +635,33 @@ msgid "" "spurious warning messages." msgstr "" -#: library/signal.rst:547 +#: library/signal.rst:549 msgid "On Windows, the function now also supports socket handles." msgstr "" -#: library/signal.rst:550 +#: library/signal.rst:552 msgid "Added ``warn_on_full_buffer`` parameter." msgstr "" -#: library/signal.rst:555 +#: library/signal.rst:557 msgid "" "Change system call restart behaviour: if *flag* is :const:`False`, system " "calls will be restarted when interrupted by signal *signalnum*, otherwise " "system calls will be interrupted. Returns nothing." msgstr "" -#: library/signal.rst:561 +#: library/signal.rst:563 msgid "See the man page :manpage:`siginterrupt(3)` for further information." msgstr "" -#: library/signal.rst:563 +#: library/signal.rst:565 msgid "" "Note that installing a signal handler with :func:`signal` will reset the " "restart behaviour to interruptible by implicitly calling :c:func:`!" "siginterrupt` with a true *flag* value for the given signal." msgstr "" -#: library/signal.rst:570 +#: library/signal.rst:572 msgid "" "Set the handler for signal *signalnum* to the function *handler*. *handler* " "can be a callable Python object taking two arguments (see below), or one of " @@ -667,7 +671,7 @@ msgid "" "information.)" msgstr "" -#: library/signal.rst:581 +#: library/signal.rst:583 msgid "" "The *handler* is called with two arguments: the signal number and the " "current stack frame (``None`` or a frame object; for a description of frame " @@ -675,7 +679,7 @@ msgid "" "see the attribute descriptions in the :mod:`inspect` module)." msgstr "" -#: library/signal.rst:586 +#: library/signal.rst:588 msgid "" "On Windows, :func:`signal` can only be called with :const:`SIGABRT`, :const:" "`SIGFPE`, :const:`SIGILL`, :const:`SIGINT`, :const:`SIGSEGV`, :const:" @@ -685,22 +689,22 @@ msgid "" "``SIG*`` module level constant." msgstr "" -#: library/signal.rst:597 +#: library/signal.rst:599 msgid "" "Examine the set of signals that are pending for delivery to the calling " "thread (i.e., the signals which have been raised while blocked). Return the " "set of the pending signals." msgstr "" -#: library/signal.rst:603 +#: library/signal.rst:605 msgid "See the man page :manpage:`sigpending(2)` for further information." msgstr "" -#: library/signal.rst:605 +#: library/signal.rst:607 msgid "See also :func:`pause`, :func:`pthread_sigmask` and :func:`sigwait`." msgstr "" -#: library/signal.rst:612 +#: library/signal.rst:614 msgid "" "Suspend execution of the calling thread until the delivery of one of the " "signals specified in the signal set *sigset*. The function accepts the " @@ -708,17 +712,17 @@ msgid "" "number." msgstr "" -#: library/signal.rst:618 +#: library/signal.rst:620 msgid "See the man page :manpage:`sigwait(3)` for further information." msgstr "" -#: library/signal.rst:620 +#: library/signal.rst:622 msgid "" "See also :func:`pause`, :func:`pthread_sigmask`, :func:`sigpending`, :func:" "`sigwaitinfo` and :func:`sigtimedwait`." msgstr "" -#: library/signal.rst:628 +#: library/signal.rst:630 msgid "" "Suspend execution of the calling thread until the delivery of one of the " "signals specified in the signal set *sigset*. The function accepts the " @@ -729,7 +733,7 @@ msgid "" "`InterruptedError` if it is interrupted by a signal that is not in *sigset*." msgstr "" -#: library/signal.rst:637 +#: library/signal.rst:639 msgid "" "The return value is an object representing the data contained in the :c:type:" "`siginfo_t` structure, namely: :attr:`si_signo`, :attr:`si_code`, :attr:" @@ -737,48 +741,48 @@ msgid "" "`si_band`." msgstr "" -#: library/signal.rst:644 +#: library/signal.rst:646 msgid "See the man page :manpage:`sigwaitinfo(2)` for further information." msgstr "" -#: library/signal.rst:646 +#: library/signal.rst:648 msgid "See also :func:`pause`, :func:`sigwait` and :func:`sigtimedwait`." msgstr "" -#: library/signal.rst:650 +#: library/signal.rst:652 msgid "" "The function is now retried if interrupted by a signal not in *sigset* and " "the signal handler does not raise an exception (see :pep:`475` for the " "rationale)." msgstr "" -#: library/signal.rst:658 +#: library/signal.rst:660 msgid "" "Like :func:`sigwaitinfo`, but takes an additional *timeout* argument " "specifying a timeout. If *timeout* is specified as ``0``, a poll is " "performed. Returns :const:`None` if a timeout occurs." msgstr "" -#: library/signal.rst:664 +#: library/signal.rst:666 msgid "See the man page :manpage:`sigtimedwait(2)` for further information." msgstr "" -#: library/signal.rst:666 +#: library/signal.rst:668 msgid "See also :func:`pause`, :func:`sigwait` and :func:`sigwaitinfo`." msgstr "" -#: library/signal.rst:670 +#: library/signal.rst:672 msgid "" "The function is now retried with the recomputed *timeout* if interrupted by " "a signal not in *sigset* and the signal handler does not raise an exception " "(see :pep:`475` for the rationale)." msgstr "" -#: library/signal.rst:679 +#: library/signal.rst:681 msgid "Examples" msgstr "" -#: library/signal.rst:681 +#: library/signal.rst:683 msgid "" "Here is a minimal example program. It uses the :func:`alarm` function to " "limit the time spent waiting to open a file; this is useful if the file is " @@ -788,11 +792,11 @@ msgid "" "signal will be sent, and the handler raises an exception. ::" msgstr "" -#: library/signal.rst:705 +#: library/signal.rst:707 msgid "Note on SIGPIPE" msgstr "" -#: library/signal.rst:707 +#: library/signal.rst:709 msgid "" "Piping output of your program to tools like :manpage:`head(1)` will cause a :" "const:`SIGPIPE` signal to be sent to your process when the receiver of its " @@ -801,7 +805,7 @@ msgid "" "entry point to catch this exception as follows::" msgstr "" -#: library/signal.rst:734 +#: library/signal.rst:736 msgid "" "Do not set :const:`SIGPIPE`'s disposition to :const:`SIG_DFL` in order to " "avoid :exc:`BrokenPipeError`. Doing that would cause your program to exit " @@ -809,11 +813,11 @@ msgid "" "program is still writing to it." msgstr "" -#: library/signal.rst:743 +#: library/signal.rst:745 msgid "Note on Signal Handlers and Exceptions" msgstr "" -#: library/signal.rst:745 +#: library/signal.rst:747 msgid "" "If a signal handler raises an exception, the exception will be propagated to " "the main thread and may be raised after any :term:`bytecode` instruction. " @@ -824,11 +828,11 @@ msgid "" "program in an unexpected state." msgstr "" -#: library/signal.rst:752 +#: library/signal.rst:754 msgid "To illustrate this issue, consider the following code::" msgstr "" -#: library/signal.rst:769 +#: library/signal.rst:771 msgid "" "For many programs, especially those that merely want to exit on :exc:" "`KeyboardInterrupt`, this is not a problem, but applications that are " diff --git a/library/socket.po b/library/socket.po index 0b01ed8e5..da4cd3376 100644 --- a/library/socket.po +++ b/library/socket.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -516,7 +516,7 @@ msgid "" "value is a pair ``(error, string)`` representing an error returned by a " "library call. *string* represents the description of *error*, as returned " "by the :c:func:`gai_strerror` C function. The numeric *error* value will " -"match one of the :const:`EAI_\\*` constants defined in this module." +"match one of the :const:`!EAI_\\*` constants defined in this module." msgstr "" #: library/socket.rst:322 @@ -1720,13 +1720,14 @@ msgstr "" #: library/socket.rst:1519 msgid "" "Return the value of the given socket option (see the Unix man page :manpage:" -"`getsockopt(2)`). The needed symbolic constants (:const:`SO_\\*` etc.) are " -"defined in this module. If *buflen* is absent, an integer option is assumed " -"and its integer value is returned by the function. If *buflen* is present, " -"it specifies the maximum length of the buffer used to receive the option in, " -"and this buffer is returned as a bytes object. It is up to the caller to " -"decode the contents of the buffer (see the optional built-in module :mod:" -"`struct` for a way to decode C structures encoded as byte strings)." +"`getsockopt(2)`). The needed symbolic constants (:ref:`SO_\\* etc. `) are defined in this module. If *buflen* is absent, an " +"integer option is assumed and its integer value is returned by the " +"function. If *buflen* is present, it specifies the maximum length of the " +"buffer used to receive the option in, and this buffer is returned as a bytes " +"object. It is up to the caller to decode the contents of the buffer (see " +"the optional built-in module :mod:`struct` for a way to decode C structures " +"encoded as byte strings)." msgstr "" #: library/socket.rst:1533 @@ -2102,8 +2103,8 @@ msgstr "" #: library/socket.rst:1939 msgid "" "Set the value of the given socket option (see the Unix manual page :manpage:" -"`setsockopt(2)`). The needed symbolic constants are defined in the :mod:" -"`socket` module (:const:`SO_\\*` etc.). The value can be an integer, " +"`setsockopt(2)`). The needed symbolic constants are defined in this module " +"(:ref:`!SO_\\* etc. `). The value can be an integer, " "``None`` or a :term:`bytes-like object` representing a buffer. In the later " "case it is up to the caller to ensure that the bytestring contains the " "proper bits (see the optional built-in module :mod:`struct` for a way to " diff --git a/library/ssl.po b/library/ssl.po index 37b4bc713..b87f72016 100644 --- a/library/ssl.po +++ b/library/ssl.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -38,8 +38,8 @@ msgstr "" msgid "" "Some behavior may be platform dependent, since calls are made to the " "operating system socket APIs. The installed version of OpenSSL may also " -"cause variations in behavior. For example, TLSv1.3 with OpenSSL version " -"1.1.1." +"cause variations in behavior. For example, TLSv1.3 comes with OpenSSL " +"version 1.1.1." msgstr "" #: library/ssl.rst:32 diff --git a/library/stdtypes.po b/library/stdtypes.po index b14d666a1..71d554a99 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: 2023-02-01 18:55-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -78,21 +78,21 @@ msgstr "" #, fuzzy msgid "" "By default, an object is considered true unless its class defines either a :" -"meth:`~object.__bool__` method that returns ``False`` or a :meth:`__len__` " -"method that returns zero, when called with the object. [1]_ Here are most " -"of the built-in objects considered false:" +"meth:`~object.__bool__` method that returns ``False`` or a :meth:`~object." +"__len__` method that returns zero, when called with the object. [1]_ Here " +"are most of the built-in objects considered false:" msgstr "" "Varsayılan olarak, bir nesne, sınıfı \"False\" döndüren bir :meth:`__bool__` " "metodunu veya nesneyle birlikte çağrıldığında sıfır döndüren bir :meth:" "`__len__` metodunu tanımlamadıkça doğru kabul edilir. [1]_ Yanlış olarak " "kabul edilen yerleşik nesnelerin çoğu:" -#: library/stdtypes.rst:55 +#: library/stdtypes.rst:56 #, fuzzy msgid "constants defined to be false: ``None`` and ``False``" msgstr "false olarak tanımlanan sabitler: ``None`` ve ``False``." -#: library/stdtypes.rst:57 +#: library/stdtypes.rst:58 msgid "" "zero of any numeric type: ``0``, ``0.0``, ``0j``, ``Decimal(0)``, " "``Fraction(0, 1)``" @@ -100,7 +100,7 @@ msgstr "" "herhangi bir sayısal türden sıfır: ``0``, ``0.0``, ``0j``, ``Decimal(0)``, " "``Fraction(0, 1)``" -#: library/stdtypes.rst:60 +#: library/stdtypes.rst:61 msgid "" "empty sequences and collections: ``''``, ``()``, ``[]``, ``{}``, ``set()``, " "``range(0)``" @@ -108,7 +108,7 @@ msgstr "" "boş diziler ve koleksiyonlar: ``''``, ``()``, ``[]``, ``{}``, ``set()``, " "``range(0)``" -#: library/stdtypes.rst:69 +#: library/stdtypes.rst:70 msgid "" "Operations and built-in functions that have a Boolean result always return " "``0`` or ``False`` for false and ``1`` or ``True`` for true, unless " @@ -120,73 +120,73 @@ msgstr "" "döndürür. (Önemli istisna: Boolean işlemleri \"or\" ve \"and\" her zaman " "işlenenlerinden birini döndürür.)" -#: library/stdtypes.rst:78 +#: library/stdtypes.rst:79 msgid "Boolean Operations --- :keyword:`!and`, :keyword:`!or`, :keyword:`!not`" msgstr "Boolean İşlemleri --- :keyword:`!and`, :keyword:`!or`, :keyword:`!not`" -#: library/stdtypes.rst:82 +#: library/stdtypes.rst:83 msgid "These are the Boolean operations, ordered by ascending priority:" msgstr "Bunlar artan önceliğe göre sıralanmış Boolean işlemleridir:" -#: library/stdtypes.rst:143 library/stdtypes.rst:365 library/stdtypes.rst:964 -#: library/stdtypes.rst:1169 +#: library/stdtypes.rst:144 library/stdtypes.rst:366 library/stdtypes.rst:965 +#: library/stdtypes.rst:1170 msgid "Operation" msgstr "İşlem" -#: library/stdtypes.rst:275 library/stdtypes.rst:415 library/stdtypes.rst:1169 +#: library/stdtypes.rst:276 library/stdtypes.rst:416 library/stdtypes.rst:1170 msgid "Result" msgstr "Sonuç" -#: library/stdtypes.rst:275 library/stdtypes.rst:964 library/stdtypes.rst:2419 -#: library/stdtypes.rst:3637 +#: library/stdtypes.rst:276 library/stdtypes.rst:965 library/stdtypes.rst:2420 +#: library/stdtypes.rst:3638 msgid "Notes" msgstr "Notlar" -#: library/stdtypes.rst:87 +#: library/stdtypes.rst:88 msgid "``x or y``" msgstr "``x or y``" -#: library/stdtypes.rst:87 +#: library/stdtypes.rst:88 msgid "if *x* is true, then *x*, else *y*" msgstr "*x* doğruysa, *x*, aksi halde *y*" -#: library/stdtypes.rst:966 library/stdtypes.rst:1180 library/stdtypes.rst:3643 +#: library/stdtypes.rst:967 library/stdtypes.rst:1181 library/stdtypes.rst:3644 msgid "\\(1)" msgstr "\\(1)" -#: library/stdtypes.rst:90 +#: library/stdtypes.rst:91 msgid "``x and y``" msgstr "``x and y``" -#: library/stdtypes.rst:90 +#: library/stdtypes.rst:91 msgid "if *x* is false, then *x*, else *y*" msgstr "*x* yanlışsa, *x*, aksi halde *y*" -#: library/stdtypes.rst:288 library/stdtypes.rst:1208 library/stdtypes.rst:2431 -#: library/stdtypes.rst:3649 +#: library/stdtypes.rst:289 library/stdtypes.rst:1209 library/stdtypes.rst:2432 +#: library/stdtypes.rst:3650 msgid "\\(2)" msgstr "\\(2)" -#: library/stdtypes.rst:93 +#: library/stdtypes.rst:94 msgid "``not x``" msgstr "``not x``" -#: library/stdtypes.rst:93 +#: library/stdtypes.rst:94 msgid "if *x* is false, then ``True``, else ``False``" msgstr "*x* yanlışsa, ``True``, aksi halde ``False``" -#: library/stdtypes.rst:978 library/stdtypes.rst:2433 library/stdtypes.rst:2437 -#: library/stdtypes.rst:3651 library/stdtypes.rst:3655 -#: library/stdtypes.rst:3657 +#: library/stdtypes.rst:979 library/stdtypes.rst:2434 library/stdtypes.rst:2438 +#: library/stdtypes.rst:3652 library/stdtypes.rst:3656 +#: library/stdtypes.rst:3658 msgid "\\(3)" msgstr "\\(3)" -#: library/stdtypes.rst:319 library/stdtypes.rst:1015 library/stdtypes.rst:2465 -#: library/stdtypes.rst:3687 +#: library/stdtypes.rst:320 library/stdtypes.rst:1016 library/stdtypes.rst:2466 +#: library/stdtypes.rst:3688 msgid "Notes:" msgstr "Notlar:" -#: library/stdtypes.rst:105 +#: library/stdtypes.rst:106 msgid "" "This is a short-circuit operator, so it only evaluates the second argument " "if the first one is false." @@ -194,7 +194,7 @@ msgstr "" "Bu bir kısa devre operatörüdür, bu nedenle ikinci argümanı yalnızca " "birincisi yanlışsa değerlendirir." -#: library/stdtypes.rst:109 +#: library/stdtypes.rst:110 msgid "" "This is a short-circuit operator, so it only evaluates the second argument " "if the first one is true." @@ -202,7 +202,7 @@ msgstr "" "Bu bir kısa devre operatörüdür, bu nedenle sadece ilki doğruysa ikinci " "argümanı değerlendirir." -#: library/stdtypes.rst:113 +#: library/stdtypes.rst:114 msgid "" "``not`` has a lower priority than non-Boolean operators, so ``not a == b`` " "is interpreted as ``not (a == b)``, and ``a == not b`` is a syntax error." @@ -211,11 +211,11 @@ msgstr "" "nedenle ``not a == b``, ``not (a == b)`` olarak yorumlanır bu sebeple ``a == " "not b`` bir söz dizimi hatasıdır." -#: library/stdtypes.rst:120 +#: library/stdtypes.rst:121 msgid "Comparisons" msgstr "Karşılaştırmalar" -#: library/stdtypes.rst:134 +#: library/stdtypes.rst:135 msgid "" "There are eight comparison operations in Python. They all have the same " "priority (which is higher than that of the Boolean operations). Comparisons " @@ -229,80 +229,80 @@ msgstr "" "değerdir, ancak *y* yalnızca bir kez değerlendirilir (ancak her iki durumda " "da ``x < y`` yanlış olduğu tespit edildiğinde *z* hiç değerlendirilmez)." -#: library/stdtypes.rst:140 +#: library/stdtypes.rst:141 msgid "This table summarizes the comparison operations:" msgstr "Bu tablo karşılaştırma operatörlerini özetlemektedir:" -#: library/stdtypes.rst:2396 library/stdtypes.rst:3614 -#: library/stdtypes.rst:3637 +#: library/stdtypes.rst:2397 library/stdtypes.rst:3615 +#: library/stdtypes.rst:3638 msgid "Meaning" msgstr "Anlamı" -#: library/stdtypes.rst:145 +#: library/stdtypes.rst:146 msgid "``<``" msgstr "``<``" -#: library/stdtypes.rst:145 +#: library/stdtypes.rst:146 msgid "strictly less than" msgstr "kesinlikle daha az" -#: library/stdtypes.rst:147 +#: library/stdtypes.rst:148 msgid "``<=``" msgstr "``<=``" -#: library/stdtypes.rst:147 +#: library/stdtypes.rst:148 msgid "less than or equal" msgstr "daha az veya eşit" -#: library/stdtypes.rst:149 +#: library/stdtypes.rst:150 msgid "``>``" msgstr "``>``" -#: library/stdtypes.rst:149 +#: library/stdtypes.rst:150 msgid "strictly greater than" msgstr "kesinlikle daha büyük" -#: library/stdtypes.rst:151 +#: library/stdtypes.rst:152 msgid "``>=``" msgstr "``>=``" -#: library/stdtypes.rst:151 +#: library/stdtypes.rst:152 msgid "greater than or equal" msgstr "daha büyük veya eşit" -#: library/stdtypes.rst:153 +#: library/stdtypes.rst:154 msgid "``==``" msgstr "``==``" -#: library/stdtypes.rst:153 +#: library/stdtypes.rst:154 msgid "equal" msgstr "eşit" -#: library/stdtypes.rst:155 +#: library/stdtypes.rst:156 msgid "``!=``" msgstr "``!=``" -#: library/stdtypes.rst:155 +#: library/stdtypes.rst:156 msgid "not equal" msgstr "eşit değil" -#: library/stdtypes.rst:157 +#: library/stdtypes.rst:158 msgid "``is``" msgstr "``is``" -#: library/stdtypes.rst:157 +#: library/stdtypes.rst:158 msgid "object identity" msgstr "nesne kimliği" -#: library/stdtypes.rst:159 +#: library/stdtypes.rst:160 msgid "``is not``" msgstr "``is not``" -#: library/stdtypes.rst:159 +#: library/stdtypes.rst:160 msgid "negated object identity" msgstr "olumsuz nesne kimliği" -#: library/stdtypes.rst:166 +#: library/stdtypes.rst:167 msgid "" "Objects of different types, except different numeric types, never compare " "equal. The ``==`` operator is always defined but for some object types (for " @@ -318,7 +318,7 @@ msgstr "" "tanımlanır; örneğin, argümanlardan biri karmaşık bir sayı olduğunda bir :exc:" "`TypeError` hatası oluştururlar." -#: library/stdtypes.rst:180 +#: library/stdtypes.rst:181 msgid "" "Non-identical instances of a class normally compare as non-equal unless the " "class defines the :meth:`~object.__eq__` method." @@ -326,7 +326,7 @@ msgstr "" "Normalde, bir sınıfın özdeş olmayan örnekleri, sınıf :meth:`~object.__eq__` " "metodunu tanımlamadığı sürece eşit olmayan olarak karşılaştırılır." -#: library/stdtypes.rst:183 +#: library/stdtypes.rst:184 msgid "" "Instances of a class cannot be ordered with respect to other instances of " "the same class, or other types of object, unless the class defines enough of " @@ -342,7 +342,7 @@ msgstr "" "meth:`~object.__lt__` ve :meth:`~object.__eq__` genellikle yeterli " "olacaktır)." -#: library/stdtypes.rst:190 +#: library/stdtypes.rst:191 msgid "" "The behavior of the :keyword:`is` and :keyword:`is not` operators cannot be " "customized; also they can be applied to any two objects and never raise an " @@ -352,21 +352,22 @@ msgstr "" "özelleştirilemez; ayrıca herhangi iki nesneye uygulanabilirler ve asla bir " "hata oluşturmazlar." -#: library/stdtypes.rst:198 +#: library/stdtypes.rst:199 +#, fuzzy msgid "" "Two more operations with the same syntactic priority, :keyword:`in` and :" "keyword:`not in`, are supported by types that are :term:`iterable` or " -"implement the :meth:`__contains__` method." +"implement the :meth:`~object.__contains__` method." msgstr "" "Aynı söz dizimsel önceliğe sahip iki işlem daha, :keyword:`in` ve :keyword:" "`not in`, :term:`iterable` olan veya :meth:`__contains__` metodunu uygulayan " "türler tarafından desteklenir." -#: library/stdtypes.rst:205 +#: library/stdtypes.rst:206 msgid "Numeric Types --- :class:`int`, :class:`float`, :class:`complex`" msgstr "Sayısal Türler --- :class:`int`, :class:`float`, :class:`complex`" -#: library/stdtypes.rst:215 +#: library/stdtypes.rst:216 msgid "" "There are three distinct numeric types: :dfn:`integers`, :dfn:`floating " "point numbers`, and :dfn:`complex numbers`. In addition, Booleans are a " @@ -392,7 +393,7 @@ msgstr "" "Fraction` ve kullanıcı tarafından tanımlanabilen hassasiyete sahip gerçel " "sayılar için :mod:`decimal.Decimal` ek sayısal türlerini içerir.)" -#: library/stdtypes.rst:237 +#: library/stdtypes.rst:238 msgid "" "Numbers are created by numeric literals or as the result of built-in " "functions and operators. Unadorned integer literals (including hex, octal " @@ -410,7 +411,7 @@ msgstr "" "hayali kısımları olan bir karmaşık sayı ortaya çıkaran, hayali bir sayı " "üretir." -#: library/stdtypes.rst:262 +#: library/stdtypes.rst:263 msgid "" "Python fully supports mixed arithmetic: when a binary arithmetic operator " "has operands of different numeric types, the operand with the \"narrower\" " @@ -426,7 +427,7 @@ msgstr "" "karşılaştırılması, bu sayıların tam değerleri karşılaştırılıyormuş gibi " "davranır. [2]_" -#: library/stdtypes.rst:268 +#: library/stdtypes.rst:269 msgid "" "The constructors :func:`int`, :func:`float`, and :func:`complex` can be used " "to produce numbers of a specific type." @@ -434,7 +435,7 @@ msgstr "" ":func:`int`, :func:`float` ve :func:`complex` yapıcıları belirli bir türde " "sayılar üretmek için kullanılabilir." -#: library/stdtypes.rst:271 +#: library/stdtypes.rst:272 msgid "" "All numeric types (except complex) support the following operations (for " "priorities of the operations, see :ref:`operator-summary`):" @@ -442,128 +443,128 @@ msgstr "" "Tüm sayısal türler (karmaşık sayılar hariç) aşağıdaki işlemleri destekler " "(işlemlerin öncelikleri için bkz. :ref:`operator-summary`):" -#: library/stdtypes.rst:275 +#: library/stdtypes.rst:276 msgid "Full documentation" msgstr "Tam dokümantasyon" -#: library/stdtypes.rst:277 +#: library/stdtypes.rst:278 msgid "``x + y``" msgstr "``x + y``" -#: library/stdtypes.rst:277 +#: library/stdtypes.rst:278 msgid "sum of *x* and *y*" msgstr "*x* ve *y* 'nin toplamı" -#: library/stdtypes.rst:279 +#: library/stdtypes.rst:280 msgid "``x - y``" msgstr "``x - y``" -#: library/stdtypes.rst:279 +#: library/stdtypes.rst:280 msgid "difference of *x* and *y*" msgstr "*x* ve *y* 'nin farkı" -#: library/stdtypes.rst:281 +#: library/stdtypes.rst:282 msgid "``x * y``" msgstr "``x * y``" -#: library/stdtypes.rst:281 +#: library/stdtypes.rst:282 msgid "product of *x* and *y*" msgstr "*x* ve *y* 'nin çarpımı" -#: library/stdtypes.rst:283 +#: library/stdtypes.rst:284 msgid "``x / y``" msgstr "``x / y``" -#: library/stdtypes.rst:283 +#: library/stdtypes.rst:284 msgid "quotient of *x* and *y*" msgstr "*x* 'in *y* 'ye bölümü" -#: library/stdtypes.rst:285 +#: library/stdtypes.rst:286 msgid "``x // y``" msgstr "``x // y``" -#: library/stdtypes.rst:285 +#: library/stdtypes.rst:286 msgid "floored quotient of *x* and *y*" msgstr "*x* ve *y* 'nin kat bölümü" -#: library/stdtypes.rst:285 +#: library/stdtypes.rst:286 #, fuzzy msgid "\\(1)\\(2)" msgstr "\\(1)" -#: library/stdtypes.rst:288 +#: library/stdtypes.rst:289 msgid "``x % y``" msgstr "``x % y``" -#: library/stdtypes.rst:288 +#: library/stdtypes.rst:289 msgid "remainder of ``x / y``" msgstr "``x / y`` işleminde kalan" -#: library/stdtypes.rst:290 +#: library/stdtypes.rst:291 msgid "``-x``" msgstr "``-x``" -#: library/stdtypes.rst:290 +#: library/stdtypes.rst:291 msgid "*x* negated" msgstr "*x* 'in negatifi" -#: library/stdtypes.rst:292 +#: library/stdtypes.rst:293 msgid "``+x``" msgstr "``+x``" -#: library/stdtypes.rst:292 +#: library/stdtypes.rst:293 msgid "*x* unchanged" msgstr "*x* 'in değişmemişi" -#: library/stdtypes.rst:294 +#: library/stdtypes.rst:295 msgid "``abs(x)``" msgstr "``abs(x)``" -#: library/stdtypes.rst:294 +#: library/stdtypes.rst:295 msgid "absolute value or magnitude of *x*" msgstr "*x* 'in mutlak değeri" -#: library/stdtypes.rst:294 +#: library/stdtypes.rst:295 msgid ":func:`abs`" msgstr ":func:`abs`" -#: library/stdtypes.rst:297 +#: library/stdtypes.rst:298 msgid "``int(x)``" msgstr "``int(x)``" -#: library/stdtypes.rst:297 +#: library/stdtypes.rst:298 msgid "*x* converted to integer" msgstr "*x* 'in integer tam sayıya (integer) dönüştürülmüş hali" -#: library/stdtypes.rst:297 +#: library/stdtypes.rst:298 msgid "\\(3)\\(6)" msgstr "\\(3)\\(6)" -#: library/stdtypes.rst:297 +#: library/stdtypes.rst:298 msgid ":func:`int`" msgstr ":func:`int`" -#: library/stdtypes.rst:299 +#: library/stdtypes.rst:300 msgid "``float(x)``" msgstr "``float(x)``" -#: library/stdtypes.rst:299 +#: library/stdtypes.rst:300 msgid "*x* converted to floating point" msgstr "*x* 'in gerçel sayıya (float) dönüştürülmüş hali" -#: library/stdtypes.rst:299 +#: library/stdtypes.rst:300 msgid "\\(4)\\(6)" msgstr "\\(4)\\(6)" -#: library/stdtypes.rst:299 +#: library/stdtypes.rst:300 msgid ":func:`float`" msgstr ":func:`float`" -#: library/stdtypes.rst:301 +#: library/stdtypes.rst:302 msgid "``complex(re, im)``" msgstr "``complex(re, im)``" -#: library/stdtypes.rst:301 +#: library/stdtypes.rst:302 msgid "" "a complex number with real part *re*, imaginary part *im*. *im* defaults to " "zero." @@ -571,56 +572,56 @@ msgstr "" "gerçek kısmı *re*, sanal kısmı *im* olan bir karmaşık sayı. *im* varsayılan " "olarak sıfırdır." -#: library/stdtypes.rst:1201 library/stdtypes.rst:3674 +#: library/stdtypes.rst:1202 library/stdtypes.rst:3675 msgid "\\(6)" msgstr "\\(6)" -#: library/stdtypes.rst:301 +#: library/stdtypes.rst:302 msgid ":func:`complex`" msgstr ":func:`complex`" -#: library/stdtypes.rst:305 +#: library/stdtypes.rst:306 msgid "``c.conjugate()``" msgstr "``c.conjugate()``" -#: library/stdtypes.rst:305 +#: library/stdtypes.rst:306 msgid "conjugate of the complex number *c*" msgstr "*c* karmaşık sayısının eşleniği" -#: library/stdtypes.rst:308 +#: library/stdtypes.rst:309 msgid "``divmod(x, y)``" msgstr "``divmod(x, y)``" -#: library/stdtypes.rst:308 +#: library/stdtypes.rst:309 msgid "the pair ``(x // y, x % y)``" msgstr "``(x // y, x % y)`` ifadesinin ikilisi" -#: library/stdtypes.rst:308 +#: library/stdtypes.rst:309 msgid ":func:`divmod`" msgstr ":func:`divmod`" -#: library/stdtypes.rst:310 +#: library/stdtypes.rst:311 msgid "``pow(x, y)``" msgstr "``pow(x, y)``" -#: library/stdtypes.rst:312 +#: library/stdtypes.rst:313 msgid "*x* to the power *y*" msgstr "*x* üzeri *y*" -#: library/stdtypes.rst:312 library/stdtypes.rst:1193 library/stdtypes.rst:2455 -#: library/stdtypes.rst:3670 library/stdtypes.rst:3677 +#: library/stdtypes.rst:313 library/stdtypes.rst:1194 library/stdtypes.rst:2456 +#: library/stdtypes.rst:3671 library/stdtypes.rst:3678 msgid "\\(5)" msgstr "\\(5)" -#: library/stdtypes.rst:310 +#: library/stdtypes.rst:311 msgid ":func:`pow`" msgstr ":func:`pow`" -#: library/stdtypes.rst:312 +#: library/stdtypes.rst:313 msgid "``x ** y``" msgstr "``x ** y``" -#: library/stdtypes.rst:322 +#: library/stdtypes.rst:323 #, fuzzy msgid "" "Also referred to as integer division. For operands of type :class:`int`, " @@ -635,7 +636,7 @@ msgstr "" "sonsuza yuvarlanır: ``1//2`` = ``0``, ``(-1)//2`` = ``-1``, ``1//(-2)`` = " "``-1``, ve ``(-1)//(-2)`` = ``0``." -#: library/stdtypes.rst:330 +#: library/stdtypes.rst:331 msgid "" "Not for complex numbers. Instead convert to floats using :func:`abs` if " "appropriate." @@ -643,7 +644,7 @@ msgstr "" "Karmaşık sayılar için değil. Bunun yerine uygunsa :func:`abs` kullanarak " "gerçel sayılara dönüştürün." -#: library/stdtypes.rst:341 +#: library/stdtypes.rst:342 #, fuzzy msgid "" "Conversion from :class:`float` to :class:`int` truncates, discarding the " @@ -655,7 +656,7 @@ msgstr "" "tanımlanmış dönüşümler için :func:`math.floor` ve :func:`math.ceil` " "fonksiyonlarına bakın." -#: library/stdtypes.rst:346 +#: library/stdtypes.rst:347 msgid "" "float also accepts the strings \"nan\" and \"inf\" with an optional prefix " "\"+\" or \"-\" for Not a Number (NaN) and positive or negative infinity." @@ -664,7 +665,7 @@ msgstr "" "NaN) ve pozitif veya negatif sonsuzluk için isteğe bağlı bir \"+\" veya \"-" "\" ön ekiyle kabul eder." -#: library/stdtypes.rst:350 +#: library/stdtypes.rst:351 msgid "" "Python defines ``pow(0, 0)`` and ``0 ** 0`` to be ``1``, as is common for " "programming languages." @@ -672,7 +673,7 @@ msgstr "" "Python, diğer programlama dillerinde de olduğu gibi ``pow(0, 0)`` = ``1`` ve " "``0 ** 0`` = ``1`` şeklinde tanımlar." -#: library/stdtypes.rst:354 +#: library/stdtypes.rst:355 msgid "" "The numeric literals accepted include the digits ``0`` to ``9`` or any " "Unicode equivalent (code points with the ``Nd`` property)." @@ -681,7 +682,7 @@ msgstr "" "herhangi bir Unicode eş değerini (\"Nd\" özelliğine sahip kod noktaları) " "içerir." -#: library/stdtypes.rst:357 +#: library/stdtypes.rst:358 #, fuzzy msgid "" "See `the Unicode Standard `" msgstr ":func:`math.trunc(\\ x) `" -#: library/stdtypes.rst:367 +#: library/stdtypes.rst:368 msgid "*x* truncated to :class:`~numbers.Integral`" msgstr "*x* :class:`~numbers.Integral` şeklinde kısaltıldı" -#: library/stdtypes.rst:370 +#: library/stdtypes.rst:371 msgid ":func:`round(x[, n]) `" msgstr ":func:`round(x[, n]) `" -#: library/stdtypes.rst:370 +#: library/stdtypes.rst:371 msgid "" "*x* rounded to *n* digits, rounding half to even. If *n* is omitted, it " "defaults to 0." @@ -720,34 +721,34 @@ msgstr "" "*x* *n* haneye yuvarlanır, yarıdan çifte yuvarlanır. *n* atlanırsa, *n* " "varsayılan olarak 0 olur." -#: library/stdtypes.rst:374 +#: library/stdtypes.rst:375 msgid ":func:`math.floor(\\ x) `" msgstr ":func:`math.floor(\\ x) `" -#: library/stdtypes.rst:374 +#: library/stdtypes.rst:375 msgid "the greatest :class:`~numbers.Integral` <= *x*" msgstr "en büyük :class:`~numbers.Integral` <= *x*" -#: library/stdtypes.rst:377 +#: library/stdtypes.rst:378 msgid ":func:`math.ceil(x) `" msgstr ":func:`math.ceil(x) `" -#: library/stdtypes.rst:377 +#: library/stdtypes.rst:378 msgid "the least :class:`~numbers.Integral` >= *x*" msgstr "en küçük :class:`~numbers.Integral` >= *x*" -#: library/stdtypes.rst:381 +#: library/stdtypes.rst:382 msgid "" "For additional numeric operations see the :mod:`math` and :mod:`cmath` " "modules." msgstr "" "Ek sayısal işlemler için :mod:`math` ve :mod:`cmath` modüllerine bakın." -#: library/stdtypes.rst:390 +#: library/stdtypes.rst:391 msgid "Bitwise Operations on Integer Types" msgstr "Tam sayı Türlerinde Bit Düzeyinde İşlemler" -#: library/stdtypes.rst:404 +#: library/stdtypes.rst:405 msgid "" "Bitwise operations only make sense for integers. The result of bitwise " "operations is calculated as though carried out in two's complement with an " @@ -757,7 +758,7 @@ msgstr "" "işlemlerin sonucu, sonsuz sayıda işaret biti ile ikiye tümleyende " "gerçekleştiriliyormuş gibi hesaplanır." -#: library/stdtypes.rst:408 +#: library/stdtypes.rst:409 msgid "" "The priorities of the binary bitwise operations are all lower than the " "numeric operations and higher than the comparisons; the unary operation " @@ -768,91 +769,91 @@ msgstr "" "ve karşılaştırmalardan daha yüksektir; ``~`` tekli işlemidiğer tekli sayısal " "işlemlerle (``+`` ve ``-``) aynı önceliğe sahiptir." -#: library/stdtypes.rst:412 +#: library/stdtypes.rst:413 msgid "This table lists the bitwise operations sorted in ascending priority:" msgstr "" "Bu tablo, artan önceliğe göre sıralanmış bit düzeyinde işlemleri listeler:" -#: library/stdtypes.rst:417 +#: library/stdtypes.rst:418 msgid "``x | y``" msgstr "``x | y``" -#: library/stdtypes.rst:417 +#: library/stdtypes.rst:418 msgid "bitwise :dfn:`or` of *x* and *y*" msgstr "bit düzeyinde *x* :dfn:`or` *y*" -#: library/stdtypes.rst:420 library/stdtypes.rst:1214 library/stdtypes.rst:2445 -#: library/stdtypes.rst:3663 +#: library/stdtypes.rst:421 library/stdtypes.rst:1215 library/stdtypes.rst:2446 +#: library/stdtypes.rst:3664 msgid "\\(4)" msgstr "\\(4)" -#: library/stdtypes.rst:420 +#: library/stdtypes.rst:421 msgid "``x ^ y``" msgstr "``x ^ y``" -#: library/stdtypes.rst:420 +#: library/stdtypes.rst:421 msgid "bitwise :dfn:`exclusive or` of *x* and *y*" msgstr "bit düzeyinde *x* :dfn:`exclusive or` *y*" -#: library/stdtypes.rst:423 +#: library/stdtypes.rst:424 msgid "``x & y``" msgstr "``x & y``" -#: library/stdtypes.rst:423 +#: library/stdtypes.rst:424 msgid "bitwise :dfn:`and` of *x* and *y*" msgstr "bit düzeyinde *x* :dfn:`and` *y*" -#: library/stdtypes.rst:426 +#: library/stdtypes.rst:427 msgid "``x << n``" msgstr "``x << n``" -#: library/stdtypes.rst:426 +#: library/stdtypes.rst:427 msgid "*x* shifted left by *n* bits" msgstr "*x*, *n* bit kadar sola kaydırıldı" -#: library/stdtypes.rst:426 +#: library/stdtypes.rst:427 msgid "(1)(2)" msgstr "(1)(2)" -#: library/stdtypes.rst:428 +#: library/stdtypes.rst:429 msgid "``x >> n``" msgstr "``x >> n``" -#: library/stdtypes.rst:428 +#: library/stdtypes.rst:429 msgid "*x* shifted right by *n* bits" msgstr "*x*, *n* bit kadar sağa kaydırıldı" -#: library/stdtypes.rst:428 +#: library/stdtypes.rst:429 msgid "(1)(3)" msgstr "(1)(3)" -#: library/stdtypes.rst:430 +#: library/stdtypes.rst:431 msgid "``~x``" msgstr "``~x``" -#: library/stdtypes.rst:430 +#: library/stdtypes.rst:431 msgid "the bits of *x* inverted" msgstr "*x* 'in bitleri ters çevrildi" -#: library/stdtypes.rst:436 +#: library/stdtypes.rst:437 msgid "" "Negative shift counts are illegal and cause a :exc:`ValueError` to be raised." msgstr "" "Negatif kaydırma sayıları geçersizdir ve :exc:`ValueError` hatasına sebep " "olur." -#: library/stdtypes.rst:439 +#: library/stdtypes.rst:440 msgid "" "A left shift by *n* bits is equivalent to multiplication by ``pow(2, n)``." msgstr "*n* bitlik sola kaydırma, ``pow(2, n)`` ile çarpmaya eş değerdir." -#: library/stdtypes.rst:442 +#: library/stdtypes.rst:443 msgid "" "A right shift by *n* bits is equivalent to floor division by ``pow(2, n)``." msgstr "" "*n* bitlik sağa kaydırma, ``pow(2, n)`` ile kat bölümü işlemine eş değerdir." -#: library/stdtypes.rst:445 +#: library/stdtypes.rst:446 msgid "" "Performing these calculations with at least one extra sign extension bit in " "a finite two's complement representation (a working bit-width of ``1 + max(x." @@ -864,11 +865,11 @@ msgstr "" "daha fazla çalışan bit genişliği), sonsuz sayıda işaret biti varmış gibi " "aynı sonucu elde etmek için yeterlidir." -#: library/stdtypes.rst:452 +#: library/stdtypes.rst:453 msgid "Additional Methods on Integer Types" msgstr "Integer (Tam sayı) Türlerinde Ek Metotlar" -#: library/stdtypes.rst:454 +#: library/stdtypes.rst:455 msgid "" "The int type implements the :class:`numbers.Integral` :term:`abstract base " "class`. In addition, it provides a few more methods:" @@ -876,7 +877,7 @@ msgstr "" "Int türü, :class:`numbers.Integral` :term:`abstract base class` 'ı uygular. " "Ek olarak, birkaç metot daha sağlar:" -#: library/stdtypes.rst:459 +#: library/stdtypes.rst:460 msgid "" "Return the number of bits necessary to represent an integer in binary, " "excluding the sign and leading zeros::" @@ -884,7 +885,7 @@ msgstr "" "İşaret ve baştaki sıfırlar hariç, ikili sistemde bir tam sayıyı (integer) " "temsil etmek için gereken bit sayısını döndürür::" -#: library/stdtypes.rst:468 +#: library/stdtypes.rst:469 msgid "" "More precisely, if ``x`` is nonzero, then ``x.bit_length()`` is the unique " "positive integer ``k`` such that ``2**(k-1) <= abs(x) < 2**k``. " @@ -898,11 +899,11 @@ msgstr "" "kadar küçük olduğunda, ``k = 1 + int(log(abs(x), 2))`` olur. ``x`` sıfır " "ise, ``x.bit_length()``, ``0`` döndürür." -#: library/stdtypes.rst:497 library/stdtypes.rst:586 +#: library/stdtypes.rst:498 library/stdtypes.rst:587 msgid "Equivalent to::" msgstr "Eşittir::" -#: library/stdtypes.rst:485 +#: library/stdtypes.rst:486 msgid "" "Return the number of ones in the binary representation of the absolute value " "of the integer. This is also known as the population count. Example::" @@ -910,11 +911,11 @@ msgstr "" "Tam sayının mutlak değerinin ikili gösterimindeki birlerin sayısını " "döndürür. Buna nüfus sayımı da denir. Örneğin::" -#: library/stdtypes.rst:506 +#: library/stdtypes.rst:507 msgid "Return an array of bytes representing an integer." msgstr "Bir tam sayıyı temsil eden bir bayt dizisi döndürür." -#: library/stdtypes.rst:518 +#: library/stdtypes.rst:519 msgid "" "The integer is represented using *length* bytes, and defaults to 1. An :exc:" "`OverflowError` is raised if the integer is not representable with the given " @@ -924,7 +925,7 @@ msgstr "" "birdir. Tam sayı verilen bayt sayısıyla gösterilemezse :exc:`OverflowError` " "hatası ortaya çıkar." -#: library/stdtypes.rst:522 +#: library/stdtypes.rst:523 msgid "" "The *byteorder* argument determines the byte order used to represent the " "integer, and defaults to ``\"big\"``. If *byteorder* is ``\"big\"``, the " @@ -936,7 +937,7 @@ msgstr "" "ise, en önemli bayt, bayt dizisinin başındadır. *byteorder* ``\"little\"`` " "ise, en önemli bayt, bayt dizisinin sonundadır." -#: library/stdtypes.rst:528 +#: library/stdtypes.rst:529 msgid "" "The *signed* argument determines whether two's complement is used to " "represent the integer. If *signed* is ``False`` and a negative integer is " @@ -948,27 +949,27 @@ msgstr "" "bir tam sayı verilirse, bir :exc:`OverflowError` hatası ortaya çıkar. " "*signed* için varsayılan değer ``False`` şeklindedir." -#: library/stdtypes.rst:533 +#: library/stdtypes.rst:534 msgid "" "The default values can be used to conveniently turn an integer into a single " "byte object::" msgstr "" -#: library/stdtypes.rst:539 +#: library/stdtypes.rst:540 msgid "" "However, when using the default arguments, don't try to convert a value " "greater than 255 or you'll get an :exc:`OverflowError`." msgstr "" -#: library/stdtypes.rst:555 +#: library/stdtypes.rst:556 msgid "Added default argument values for ``length`` and ``byteorder``." msgstr "" -#: library/stdtypes.rst:560 +#: library/stdtypes.rst:561 msgid "Return the integer represented by the given array of bytes." msgstr "Verilen bayt dizisi tarafından temsil edilen tam sayıyı döndürür." -#: library/stdtypes.rst:573 +#: library/stdtypes.rst:574 #, fuzzy msgid "" "The argument *bytes* must either be a :term:`bytes-like object` or an " @@ -977,7 +978,7 @@ msgstr "" "*bytes* argümanı ya bir :term:`bytes-like object` ya da yinelenebilir üreten " "bayt olabilir." -#: library/stdtypes.rst:576 +#: library/stdtypes.rst:577 #, fuzzy msgid "" "The *byteorder* argument determines the byte order used to represent the " @@ -993,7 +994,7 @@ msgstr "" "sonundadır. Ana sistemin yerel bayt sırasını istemek için bayt sırası değeri " "olarak :data:`sys.byteorder` kullanın." -#: library/stdtypes.rst:583 +#: library/stdtypes.rst:584 msgid "" "The *signed* argument indicates whether two's complement is used to " "represent the integer." @@ -1001,11 +1002,11 @@ msgstr "" "*signed* argümanı, tam sayıyı temsil etmek için ikinin tümleyeninin " "kullanılıp kullanılmadığını gösterir." -#: library/stdtypes.rst:603 +#: library/stdtypes.rst:604 msgid "Added default argument value for ``byteorder``." msgstr "" -#: library/stdtypes.rst:608 +#: library/stdtypes.rst:609 #, fuzzy msgid "" "Return a pair of integers whose ratio is equal to the original integer and " @@ -1016,17 +1017,17 @@ msgstr "" "tam sayı çifti döndürür. Integerlerin tam sayı oranı her zaman pay olarak " "tam sayı ve payda olarak ``1`` dir." -#: library/stdtypes.rst:617 +#: library/stdtypes.rst:618 msgid "" "Returns ``True``. Exists for duck type compatibility with :meth:`float." "is_integer`." msgstr "" -#: library/stdtypes.rst:622 +#: library/stdtypes.rst:623 msgid "Additional Methods on Float" msgstr "Gerçel Sayılarda Ek Metotlar" -#: library/stdtypes.rst:624 +#: library/stdtypes.rst:625 msgid "" "The float type implements the :class:`numbers.Real` :term:`abstract base " "class`. float also has the following additional methods." @@ -1034,7 +1035,7 @@ msgstr "" "Float türü, :class:`numbers.Real` :term:`abstract base class` 'ı uygular. " "Float ayrıca aşağıdaki ek metotlara sahiptir." -#: library/stdtypes.rst:629 +#: library/stdtypes.rst:630 #, fuzzy msgid "" "Return a pair of integers whose ratio is exactly equal to the original " @@ -1045,7 +1046,7 @@ msgstr "" "bir çift tam sayı döndürür. Sonsuzluklarda :exc:`OverflowError` ve NaN'lerde " "(SayıDeğil) :exc:`ValueError` hataları ortaya çıkar." -#: library/stdtypes.rst:636 +#: library/stdtypes.rst:637 msgid "" "Return ``True`` if the float instance is finite with integral value, and " "``False`` otherwise::" @@ -1053,7 +1054,7 @@ msgstr "" "Float örneği integral değeriyle sonluysa ``True``, aksi takdirde ``False`` " "döndürür::" -#: library/stdtypes.rst:644 +#: library/stdtypes.rst:645 msgid "" "Two methods support conversion to and from hexadecimal strings. Since " "Python's floats are stored internally as binary numbers, converting a float " @@ -1070,7 +1071,7 @@ msgstr "" "belirtilmesine izin verir. Bu, hata ayıklama sırasında ve sayısal " "çalışmalarda yararlı olabilir." -#: library/stdtypes.rst:655 +#: library/stdtypes.rst:656 msgid "" "Return a representation of a floating-point number as a hexadecimal string. " "For finite floating-point numbers, this representation will always include a " @@ -1080,7 +1081,7 @@ msgstr "" "gerçel sayılar için, bu gösterim her zaman başında bir ``0x`` ve sonunda bir " "``p`` ve üs içerecektir." -#: library/stdtypes.rst:663 +#: library/stdtypes.rst:664 msgid "" "Class method to return the float represented by a hexadecimal string *s*. " "The string *s* may have leading and trailing whitespace." @@ -1088,7 +1089,7 @@ msgstr "" "Gerçel sayıyı temsil eden bir onaltılık dize *s*'yi döndüren için sınıf " "(class) metodu. *s* dizesinin başında ve sonunda boşluk olabilir." -#: library/stdtypes.rst:668 +#: library/stdtypes.rst:669 msgid "" "Note that :meth:`float.hex` is an instance method, while :meth:`float." "fromhex` is a class method." @@ -1096,11 +1097,11 @@ msgstr "" ":meth:`float.hex` 'in bir örnek (instance) metodu olduğunu, :meth:`float." "fromhex` 'in ise bir sınıf (class) metodu olduğunu unutmayın." -#: library/stdtypes.rst:671 +#: library/stdtypes.rst:672 msgid "A hexadecimal string takes the form::" msgstr "Onaltılık bir dize şu biçimi alır::" -#: library/stdtypes.rst:675 +#: library/stdtypes.rst:676 #, fuzzy msgid "" "where the optional ``sign`` may by either ``+`` or ``-``, ``integer`` and " @@ -1125,7 +1126,7 @@ msgstr "" "toHexString`` 'i tarafından üretilen onaltılık dizeler :meth:`float.fromhex` " "tarafından kabul edilir." -#: library/stdtypes.rst:688 +#: library/stdtypes.rst:689 msgid "" "Note that the exponent is written in decimal rather than hexadecimal, and " "that it gives the power of 2 by which to multiply the coefficient. For " @@ -1137,7 +1138,7 @@ msgstr "" "``(3 + 10./16 + 7./16**2) * 2.0**10`` veya ``3740.0`` gerçel sayısını temsil " "eder::" -#: library/stdtypes.rst:698 +#: library/stdtypes.rst:699 msgid "" "Applying the reverse conversion to ``3740.0`` gives a different hexadecimal " "string representing the same number::" @@ -1145,11 +1146,12 @@ msgstr "" "``3740.0`` 'a ters dönüştürme uygulamak, aynı sayıyı temsil eden farklı bir " "onaltılık dize verir::" -#: library/stdtypes.rst:708 +#: library/stdtypes.rst:709 msgid "Hashing of numeric types" msgstr "Sayısal türlerin hashlemesi" -#: library/stdtypes.rst:710 +#: library/stdtypes.rst:711 +#, fuzzy msgid "" "For numbers ``x`` and ``y``, possibly of different types, it's a requirement " "that ``hash(x) == hash(y)`` whenever ``x == y`` (see the :meth:`~object." @@ -1161,8 +1163,8 @@ msgid "" "instances of :class:`int` and :class:`fractions.Fraction`, and all finite " "instances of :class:`float` and :class:`decimal.Decimal`. Essentially, this " "function is given by reduction modulo ``P`` for a fixed prime ``P``. The " -"value of ``P`` is made available to Python as the :attr:`modulus` attribute " -"of :data:`sys.hash_info`." +"value of ``P`` is made available to Python as the :attr:`~sys.hash_info." +"modulus` attribute of :data:`sys.hash_info`." msgstr "" "Muhtemelen farklı türlerdeki ``x`` ve ``y`` sayıları için, ``x == y`` " "olduğunda ``hash(x) == hash(y)`` olması bir gerekliliktir (bkz. :meth:" @@ -1176,7 +1178,7 @@ msgstr "" "``P`` için ``reduction modulo`` ``P`` ile verilir. ``P`` değeri Python'a :" "data:`sys.hash_info` 'nun :attr:`modulus` özelliği olarak sunulur." -#: library/stdtypes.rst:725 +#: library/stdtypes.rst:726 msgid "" "Currently, the prime used is ``P = 2**31 - 1`` on machines with 32-bit C " "longs and ``P = 2**61 - 1`` on machines with 64-bit C longs." @@ -1184,11 +1186,11 @@ msgstr "" "Şu anda kullanılan asal sayı, 32 bit C uzunluğundaki makinelerde ``P = 2**31 " "- 1`` ve 64-bit C uzunluğundaki makinelerde ``P = 2**61 - 1`` şeklindedir." -#: library/stdtypes.rst:728 +#: library/stdtypes.rst:729 msgid "Here are the rules in detail:" msgstr "İşte ayrıntılı kurallar:" -#: library/stdtypes.rst:730 +#: library/stdtypes.rst:731 msgid "" "If ``x = m / n`` is a nonnegative rational number and ``n`` is not divisible " "by ``P``, define ``hash(x)`` as ``m * invmod(n, P) % P``, where ``invmod(n, " @@ -1198,7 +1200,7 @@ msgstr "" "bölünemiyorsa, ``hash(x)`` 'i ``m * invmod(n, P) % P`` olarak tanımlayın, bu " "durumda ``invmod(n, P)``, ``n`` modül ``P`` 'nin tersini verir." -#: library/stdtypes.rst:734 +#: library/stdtypes.rst:735 msgid "" "If ``x = m / n`` is a nonnegative rational number and ``n`` is divisible by " "``P`` (but ``m`` is not) then ``n`` has no inverse modulo ``P`` and the rule " @@ -1210,7 +1212,7 @@ msgstr "" "ters modülü yoktur ve yukarıdaki kural geçerli değildir; bu durumda " "``hash(x)`` i ``sys.hash_info.inf`` olarak tanımlayın." -#: library/stdtypes.rst:739 +#: library/stdtypes.rst:740 msgid "" "If ``x = m / n`` is a negative rational number define ``hash(x)`` as ``-" "hash(-x)``. If the resulting hash is ``-1``, replace it with ``-2``." @@ -1219,7 +1221,7 @@ msgstr "" "olarak tanımlayın. Elde edilen ``hash`` ``-1`` ise, bunu ``-2`` ile " "değiştirin." -#: library/stdtypes.rst:743 +#: library/stdtypes.rst:744 msgid "" "The particular values ``sys.hash_info.inf`` and ``-sys.hash_info.inf`` are " "used as hash values for positive infinity or negative infinity " @@ -1228,7 +1230,7 @@ msgstr "" "``sys.hash_info.inf`` ve ``-sys.hash_info.inf``, pozitif sonsuz veya negatif " "sonsuz (sırasıyla) için ``hash`` değerleri olarak kullanılır." -#: library/stdtypes.rst:747 +#: library/stdtypes.rst:748 #, fuzzy msgid "" "For a :class:`complex` number ``z``, the hash values of the real and " @@ -1243,7 +1245,7 @@ msgstr "" "``range(-2**(sys.hash_info.width - 1), 2**(sys.hash_info.width - 1))`` 'de " "bulunur. Yine sonuç ``-1`` ise, ``-2`` ile değiştirilir." -#: library/stdtypes.rst:755 +#: library/stdtypes.rst:756 msgid "" "To clarify the above rules, here's some example Python code, equivalent to " "the built-in hash, for computing the hash of a rational number, :class:" @@ -1253,24 +1255,24 @@ msgstr "" "`complex` olan rasyonel bir sayının ``hash`` 'ini hesaplamak için gömülü " "``hash`` 'e eş değer örnek Python kodu::" -#: library/stdtypes.rst:811 +#: library/stdtypes.rst:812 #, fuzzy msgid "Boolean Type - :class:`bool`" msgstr "Mapping Types --- :class:`dict`" -#: library/stdtypes.rst:813 +#: library/stdtypes.rst:814 msgid "" "Booleans represent truth values. The :class:`bool` type has exactly two " "constant instances: ``True`` and ``False``." msgstr "" -#: library/stdtypes.rst:821 +#: library/stdtypes.rst:822 msgid "" "The built-in function :func:`bool` converts any value to a boolean, if the " "value can be interpreted as a truth value (see section :ref:`truth` above)." msgstr "" -#: library/stdtypes.rst:824 +#: library/stdtypes.rst:825 msgid "" "For logical operations, use the :ref:`boolean operators ` ``and``, " "``or`` and ``not``. When applying the bitwise operators ``&``, ``|``, ``^`` " @@ -1279,13 +1281,13 @@ msgid "" "``!=`` should be preferred over ``&``, ``|`` and ``^``." msgstr "" -#: library/stdtypes.rst:833 +#: library/stdtypes.rst:834 msgid "" "The use of the bitwise inversion operator ``~`` is deprecated and will raise " "an error in Python 3.14." msgstr "" -#: library/stdtypes.rst:836 +#: library/stdtypes.rst:837 msgid "" ":class:`bool` is a subclass of :class:`int` (see :ref:`typesnumeric`). In " "many numeric contexts, ``False`` and ``True`` behave like the integers 0 and " @@ -1293,11 +1295,11 @@ msgid "" "using :func:`int` instead." msgstr "" -#: library/stdtypes.rst:844 +#: library/stdtypes.rst:845 msgid "Iterator Types" msgstr "Yineleyici Türleri" -#: library/stdtypes.rst:852 +#: library/stdtypes.rst:853 msgid "" "Python supports a concept of iteration over containers. This is implemented " "using two distinct methods; these are used to allow user-defined classes to " @@ -1309,7 +1311,7 @@ msgstr "" "yinelemeyi desteklemesine izin vermek için kullanılır. Aşağıda daha " "ayrıntılı olarak açıklanan diziler, her zaman yineleme metotlarını destekler." -#: library/stdtypes.rst:857 +#: library/stdtypes.rst:858 msgid "" "One method needs to be defined for container objects to provide :term:" "`iterable` support:" @@ -1317,7 +1319,7 @@ msgstr "" "Container nesnelerinin :term:`iterable` desteği sağlaması için bir metodun " "tanımlanması gerekir:" -#: library/stdtypes.rst:864 +#: library/stdtypes.rst:865 msgid "" "Return an :term:`iterator` object. The object is required to support the " "iterator protocol described below. If a container supports different types " @@ -1337,7 +1339,7 @@ msgstr "" "C API'sindeki Python nesneleri için tür yapısının :c:member:`~PyTypeObject." "tp_iter` yuvasına karşılık gelir." -#: library/stdtypes.rst:873 +#: library/stdtypes.rst:874 msgid "" "The iterator objects themselves are required to support the following two " "methods, which together form the :dfn:`iterator protocol`:" @@ -1345,7 +1347,7 @@ msgstr "" "Yineleyici nesnelerinin kendilerinin, birlikte :dfn:`iterator protocol` 'ü " "oluşturan aşağıdaki iki metodu desteklemesi gerekir:" -#: library/stdtypes.rst:879 +#: library/stdtypes.rst:880 msgid "" "Return the :term:`iterator` object itself. This is required to allow both " "containers and iterators to be used with the :keyword:`for` and :keyword:" @@ -1358,7 +1360,7 @@ msgstr "" "Python nesneleri için tür yapısının :c:member:`~PyTypeObject.tp_iter` " "yuvasına karşılık gelir." -#: library/stdtypes.rst:888 +#: library/stdtypes.rst:889 msgid "" "Return the next item from the :term:`iterator`. If there are no further " "items, raise the :exc:`StopIteration` exception. This method corresponds to " @@ -1370,7 +1372,7 @@ msgstr "" "nesneleri için tür yapısının :c:member:`~PyTypeObject.tp_iternext` yuvasına " "karşılık gelir." -#: library/stdtypes.rst:893 +#: library/stdtypes.rst:894 msgid "" "Python defines several iterator objects to support iteration over general " "and specific sequence types, dictionaries, and other more specialized " @@ -1382,7 +1384,7 @@ msgstr "" "Belirli türler, yineleyici protokolünün uygulanmasının ötesinde önemli " "değildir." -#: library/stdtypes.rst:898 +#: library/stdtypes.rst:899 msgid "" "Once an iterator's :meth:`~iterator.__next__` method raises :exc:" "`StopIteration`, it must continue to do so on subsequent calls. " @@ -1392,18 +1394,20 @@ msgstr "" "hatasını verdiğinde, sonraki çağrılarda bunu yapmaya devam etmelidir. Bu " "özelliğe uymayan uygulamalar bozuk sayılır." -#: library/stdtypes.rst:906 +#: library/stdtypes.rst:907 msgid "Generator Types" msgstr "Oluşturucu Tipleri" -#: library/stdtypes.rst:908 +#: library/stdtypes.rst:909 +#, fuzzy msgid "" "Python's :term:`generator`\\s provide a convenient way to implement the " -"iterator protocol. If a container object's :meth:`__iter__` method is " -"implemented as a generator, it will automatically return an iterator object " -"(technically, a generator object) supplying the :meth:`__iter__` and :meth:" -"`~generator.__next__` methods. More information about generators can be " -"found in :ref:`the documentation for the yield expression `." +"iterator protocol. If a container object's :meth:`~iterator.__iter__` " +"method is implemented as a generator, it will automatically return an " +"iterator object (technically, a generator object) supplying the :meth:`!" +"__iter__` and :meth:`~generator.__next__` methods. More information about " +"generators can be found in :ref:`the documentation for the yield expression " +"`." msgstr "" "Python'un :term:`generator`\\s, yineleyici protokolünü uygulamak için uygun " "bir yol sağlar. Bir container nesnesinin :meth:`__iter__` metodu bir " @@ -1413,11 +1417,11 @@ msgstr "" "bilgi :ref:`the documentation for the yield expression ` " "adresinde bulunabilir." -#: library/stdtypes.rst:920 +#: library/stdtypes.rst:921 msgid "Sequence Types --- :class:`list`, :class:`tuple`, :class:`range`" msgstr "Dizi Tipleri --- :class:`list`, :class:`tuple`, :class:`range`" -#: library/stdtypes.rst:922 +#: library/stdtypes.rst:923 msgid "" "There are three basic sequence types: lists, tuples, and range objects. " "Additional sequence types tailored for processing of :ref:`binary data " @@ -1428,11 +1432,11 @@ msgstr "" "`binary data ` ve :ref:`text strings ` 'in işlenmesi " "için uyarlanmış ek dizi türleri, özel bölümlerde açıklanmıştır." -#: library/stdtypes.rst:931 +#: library/stdtypes.rst:932 msgid "Common Sequence Operations" msgstr "Yaygın Dizi İşlemleri" -#: library/stdtypes.rst:935 +#: library/stdtypes.rst:936 msgid "" "The operations in the following table are supported by most sequence types, " "both mutable and immutable. The :class:`collections.abc.Sequence` ABC is " @@ -1444,7 +1448,7 @@ msgstr "" "Sequence` ABC, bu işlemleri özel dize türlerinde doğru şekilde uygulamayı " "kolaylaştırmak için sağlanmıştır." -#: library/stdtypes.rst:940 +#: library/stdtypes.rst:941 msgid "" "This table lists the sequence operations sorted in ascending priority. In " "the table, *s* and *t* are sequences of the same type, *n*, *i*, *j* and *k* " @@ -1456,7 +1460,7 @@ msgstr "" "*x*, *s* tarafından dayatılan her tür ve değer kısıtlamasını karşılayan " "isteğe bağlı bir nesnedir." -#: library/stdtypes.rst:945 +#: library/stdtypes.rst:946 msgid "" "The ``in`` and ``not in`` operations have the same priorities as the " "comparison operations. The ``+`` (concatenation) and ``*`` (repetition) " @@ -1467,109 +1471,109 @@ msgstr "" "sahiptir. ``+`` (birleştirme) ve ``*`` (yineleme) işlemleri, karşılık gelen " "sayısal işlemlerle aynı önceliğe sahiptir. [3]_" -#: library/stdtypes.rst:966 +#: library/stdtypes.rst:967 msgid "``x in s``" msgstr "``x in s``" -#: library/stdtypes.rst:966 +#: library/stdtypes.rst:967 msgid "``True`` if an item of *s* is equal to *x*, else ``False``" msgstr "*s* 'nin bir öğesi *x* 'e eşitse ``True``, aksi takdirde ``False``" -#: library/stdtypes.rst:969 +#: library/stdtypes.rst:970 msgid "``x not in s``" msgstr "``x not in s``" -#: library/stdtypes.rst:969 +#: library/stdtypes.rst:970 msgid "``False`` if an item of *s* is equal to *x*, else ``True``" msgstr "*s* 'nin bir öğesi *x* 'e eşitse ``False``, aksi taktirde ``True``" -#: library/stdtypes.rst:972 +#: library/stdtypes.rst:973 msgid "``s + t``" msgstr "``s + t``" -#: library/stdtypes.rst:972 +#: library/stdtypes.rst:973 msgid "the concatenation of *s* and *t*" msgstr "*s* ve *t* 'nin birleşimi" -#: library/stdtypes.rst:972 +#: library/stdtypes.rst:973 msgid "(6)(7)" msgstr "(6)(7)" -#: library/stdtypes.rst:975 +#: library/stdtypes.rst:976 msgid "``s * n`` or ``n * s``" msgstr "``s * n`` veya ``n * s``" -#: library/stdtypes.rst:975 +#: library/stdtypes.rst:976 msgid "equivalent to adding *s* to itself *n* times" msgstr "*s* 'yi kendisine *n* kez eklemeye eş değer" -#: library/stdtypes.rst:975 +#: library/stdtypes.rst:976 msgid "(2)(7)" msgstr "(2)(7)" -#: library/stdtypes.rst:978 +#: library/stdtypes.rst:979 msgid "``s[i]``" msgstr "``s[i]``" -#: library/stdtypes.rst:978 +#: library/stdtypes.rst:979 msgid "*i*\\ th item of *s*, origin 0" msgstr "*s* 'nin *i*\\ 'inci öğesi, orijin 0" -#: library/stdtypes.rst:980 +#: library/stdtypes.rst:981 msgid "``s[i:j]``" msgstr "``s[i:j]``" -#: library/stdtypes.rst:980 +#: library/stdtypes.rst:981 msgid "slice of *s* from *i* to *j*" msgstr "*s* 'nin *i* 'den *j* 'ye kadar olan dilimi" -#: library/stdtypes.rst:980 +#: library/stdtypes.rst:981 msgid "(3)(4)" msgstr "(3)(4)" -#: library/stdtypes.rst:982 +#: library/stdtypes.rst:983 msgid "``s[i:j:k]``" msgstr "``s[i:j:k]``" -#: library/stdtypes.rst:982 +#: library/stdtypes.rst:983 msgid "slice of *s* from *i* to *j* with step *k*" msgstr "" "*s* 'nin *i* 'den *j* 'ye kadar olan dilimi, *k* 'lik adımlarla (örneğin *k* " "= 2 ise, ikişer ikişer)" -#: library/stdtypes.rst:982 +#: library/stdtypes.rst:983 msgid "(3)(5)" msgstr "(3)(5)" -#: library/stdtypes.rst:985 +#: library/stdtypes.rst:986 msgid "``len(s)``" msgstr "``len(s)``" -#: library/stdtypes.rst:985 +#: library/stdtypes.rst:986 msgid "length of *s*" msgstr "*s* 'nin uzunluğu" -#: library/stdtypes.rst:987 +#: library/stdtypes.rst:988 msgid "``min(s)``" msgstr "``min(s)``" -#: library/stdtypes.rst:987 +#: library/stdtypes.rst:988 msgid "smallest item of *s*" msgstr "*s* 'nin en küçük öğesi" -#: library/stdtypes.rst:989 +#: library/stdtypes.rst:990 msgid "``max(s)``" msgstr "``max(s)``" -#: library/stdtypes.rst:989 +#: library/stdtypes.rst:990 msgid "largest item of *s*" msgstr "*s* 'nin en büyük öğesi" -#: library/stdtypes.rst:991 +#: library/stdtypes.rst:992 msgid "``s.index(x[, i[, j]])``" msgstr "``s.index(x[, i[, j]])``" -#: library/stdtypes.rst:991 +#: library/stdtypes.rst:992 msgid "" "index of the first occurrence of *x* in *s* (at or after index *i* and " "before index *j*)" @@ -1577,19 +1581,19 @@ msgstr "" "*x* 'in *s* içindeki ilk görüldüğü dizini (*i* dizininde veya sonrasında ve " "*j* dizininden önce)" -#: library/stdtypes.rst:3645 +#: library/stdtypes.rst:3646 msgid "\\(8)" msgstr "\\(8)" -#: library/stdtypes.rst:995 +#: library/stdtypes.rst:996 msgid "``s.count(x)``" msgstr "``s.count(x)``" -#: library/stdtypes.rst:995 +#: library/stdtypes.rst:996 msgid "total number of occurrences of *x* in *s*" msgstr "*s* 'de *x*'in toplam görülme sayısı" -#: library/stdtypes.rst:999 +#: library/stdtypes.rst:1000 msgid "" "Sequences of the same type also support comparisons. In particular, tuples " "and lists are compared lexicographically by comparing corresponding " @@ -1604,7 +1608,7 @@ msgstr "" "gerektiği anlamına gelir. (Tüm ayrıntılar için dil referansındaki :ref:" "`comparisons` bölümüne bakın.)" -#: library/stdtypes.rst:1009 +#: library/stdtypes.rst:1010 msgid "" "Forward and reversed iterators over mutable sequences access values using an " "index. That index will continue to march forward (or backward) even if the " @@ -1613,7 +1617,7 @@ msgid "" "drops below zero)." msgstr "" -#: library/stdtypes.rst:1018 +#: library/stdtypes.rst:1019 msgid "" "While the ``in`` and ``not in`` operations are used only for simple " "containment testing in the general case, some specialised sequences (such " @@ -1624,7 +1628,7 @@ msgstr "" "için kullanılırken, bazı özel diziler (örneğin: :class:`str`, :class:`bytes` " "ve :class:`bytearray`) bunları sonraki dizi testi için de kullanır:" -#: library/stdtypes.rst:1027 +#: library/stdtypes.rst:1028 msgid "" "Values of *n* less than ``0`` are treated as ``0`` (which yields an empty " "sequence of the same type as *s*). Note that items in the sequence *s* are " @@ -1636,7 +1640,7 @@ msgstr "" "birden çok kez referans gösterilir (kullanılır). Bu, çoğunlukla yeni Python " "programcılarına musallat olur; şunu düşünün::" -#: library/stdtypes.rst:1039 +#: library/stdtypes.rst:1040 msgid "" "What has happened is that ``[[]]`` is a one-element list containing an empty " "list, so all three elements of ``[[]] * 3`` are references to this single " @@ -1648,7 +1652,7 @@ msgstr "" "``lists`` öğelerinin herhangi birinin değiştirilmesi bu listeyi değiştirir. " "Bu şekilde farklı listelerin bir listesini oluşturabilirsiniz::" -#: library/stdtypes.rst:1051 +#: library/stdtypes.rst:1052 msgid "" "Further explanation is available in the FAQ entry :ref:`faq-multidimensional-" "list`." @@ -1656,7 +1660,7 @@ msgstr "" "Daha fazla açıklama SSS gönderisinde mevcuttur: :ref:`faq-multidimensional-" "list`." -#: library/stdtypes.rst:1055 +#: library/stdtypes.rst:1056 msgid "" "If *i* or *j* is negative, the index is relative to the end of sequence *s*: " "``len(s) + i`` or ``len(s) + j`` is substituted. But note that ``-0`` is " @@ -1666,7 +1670,7 @@ msgstr "" "veya ``len(s) + j`` değiştirilir. Ancak ``-0`` 'ın hala ``0`` olduğuna " "dikkat edin." -#: library/stdtypes.rst:1060 +#: library/stdtypes.rst:1061 msgid "" "The slice of *s* from *i* to *j* is defined as the sequence of items with " "index *k* such that ``i <= k < j``. If *i* or *j* is greater than " @@ -1680,7 +1684,7 @@ msgstr "" "kullanın. *j* atlanırsa veya ``None`` ise, ``len(s)`` kullanın. *i*, *j* " "'den büyük veya ona eşitse, dilim boştur." -#: library/stdtypes.rst:1067 +#: library/stdtypes.rst:1068 msgid "" "The slice of *s* from *i* to *j* with step *k* is defined as the sequence of " "items with index ``x = i + n*k`` such that ``0 <= n < (j-i)/k``. In other " @@ -1693,7 +1697,7 @@ msgid "" "``None``, it is treated like ``1``." msgstr "" -#: library/stdtypes.rst:1078 +#: library/stdtypes.rst:1079 msgid "" "Concatenating immutable sequences always results in a new object. This " "means that building up a sequence by repeated concatenation will have a " @@ -1706,7 +1710,7 @@ msgstr "" "olacağı anlamına gelir. Doğrusal bir çalışma zamanı maliyeti elde etmek " "için aşağıdaki alternatiflerden birine geçmelisiniz:" -#: library/stdtypes.rst:1083 +#: library/stdtypes.rst:1084 msgid "" "if concatenating :class:`str` objects, you can build a list and use :meth:" "`str.join` at the end or else write to an :class:`io.StringIO` instance and " @@ -1716,7 +1720,7 @@ msgstr "" "sonunda :meth:`str.join` kullanabilir veya bir :class:`io.StringIO` örneğine " "yazabilir ve tamamlandığında değerini alabilirsiniz" -#: library/stdtypes.rst:1087 +#: library/stdtypes.rst:1088 msgid "" "if concatenating :class:`bytes` objects, you can similarly use :meth:`bytes." "join` or :class:`io.BytesIO`, or you can do in-place concatenation with a :" @@ -1728,17 +1732,17 @@ msgstr "" "nesnesiyle yerinde birleştirme yapabilirsiniz. :class:`bytearray` nesneleri " "değiştirilebilirdir ve verimli bir aşırı tahsis mekanizmasına sahiptir" -#: library/stdtypes.rst:1092 +#: library/stdtypes.rst:1093 msgid "if concatenating :class:`tuple` objects, extend a :class:`list` instead" msgstr "" ":class:`tuple` nesneleri birleştiriyorsanız, bunun yerine bir :class:`list` " "öğesini genişletin" -#: library/stdtypes.rst:1094 +#: library/stdtypes.rst:1095 msgid "for other types, investigate the relevant class documentation" msgstr "diğer türler için ilgili sınıf dokümantasyonunu inceleyin" -#: library/stdtypes.rst:1098 +#: library/stdtypes.rst:1099 msgid "" "Some sequence types (such as :class:`range`) only support item sequences " "that follow specific patterns, and hence don't support sequence " @@ -1748,7 +1752,7 @@ msgstr "" "eden öğe dizilerini destekler ve bu nedenle dizi birleştirmeyi veya " "tekrarlamayı desteklemez." -#: library/stdtypes.rst:1103 +#: library/stdtypes.rst:1104 msgid "" "``index`` raises :exc:`ValueError` when *x* is not found in *s*. Not all " "implementations support passing the additional arguments *i* and *j*. These " @@ -1764,11 +1768,11 @@ msgstr "" "değerdir, yalnızca herhangi bir veri kopyalamadan ve döndürülen index " "dilimin başlangıcından ziyade dizinin başlangıcına göredir." -#: library/stdtypes.rst:1114 +#: library/stdtypes.rst:1115 msgid "Immutable Sequence Types" msgstr "Değiştirilemez Dizi Tipleri" -#: library/stdtypes.rst:1121 +#: library/stdtypes.rst:1122 msgid "" "The only operation that immutable sequence types generally implement that is " "not also implemented by mutable sequence types is support for the :func:" @@ -1778,7 +1782,7 @@ msgstr "" "değişken dizi türleri tarafından uygulanmayan tek işlem, gömülü :func:`hash` " "desteğidir." -#: library/stdtypes.rst:1125 +#: library/stdtypes.rst:1126 msgid "" "This support allows immutable sequences, such as :class:`tuple` instances, " "to be used as :class:`dict` keys and stored in :class:`set` and :class:" @@ -1788,7 +1792,7 @@ msgstr "" "`dict` anahtarları olarak kullanılmasına, :class:`set` ve :class:`frozenset` " "örneklerinde saklanmasına izin verir." -#: library/stdtypes.rst:1129 +#: library/stdtypes.rst:1130 #, fuzzy msgid "" "Attempting to hash an immutable sequence that contains unhashable values " @@ -1797,11 +1801,11 @@ msgstr "" "Hash edilemez değerler içeren değiştirilemez bir diziyi hashlemeye çalışmak :" "exc:`TypeError` ile sonuçlanır." -#: library/stdtypes.rst:1136 +#: library/stdtypes.rst:1137 msgid "Mutable Sequence Types" msgstr "Değiştirilebilir Dizi Tipleri" -#: library/stdtypes.rst:1143 +#: library/stdtypes.rst:1144 msgid "" "The operations in the following table are defined on mutable sequence types. " "The :class:`collections.abc.MutableSequence` ABC is provided to make it " @@ -1812,7 +1816,7 @@ msgstr "" "özel dizi türlerinde doğru şekilde uygulamayı kolaylaştırmak için " "sağlanmıştır." -#: library/stdtypes.rst:1147 +#: library/stdtypes.rst:1148 msgid "" "In the table *s* is an instance of a mutable sequence type, *t* is any " "iterable object and *x* is an arbitrary object that meets any type and value " @@ -1825,79 +1829,79 @@ msgstr "" "(örneğin, :class:`bytearray` yalnızca ``0 <= x <= 255`` değer kısıtlamasını " "karşılayan tam sayıları kabul eder)." -#: library/stdtypes.rst:1171 +#: library/stdtypes.rst:1172 msgid "``s[i] = x``" msgstr "``s[i] = x``" -#: library/stdtypes.rst:1171 +#: library/stdtypes.rst:1172 msgid "item *i* of *s* is replaced by *x*" msgstr "*s* 'nin *i* öğesi *x* ile değiştirilir" -#: library/stdtypes.rst:1174 +#: library/stdtypes.rst:1175 msgid "``s[i:j] = t``" msgstr "``s[i:j] = t``" -#: library/stdtypes.rst:1174 +#: library/stdtypes.rst:1175 msgid "" "slice of *s* from *i* to *j* is replaced by the contents of the iterable *t*" msgstr "" "*s* 'nin *i* ile *j* arasındaki dilimi, yinelenebilir *t* içeriğiyle " "değiştirilir" -#: library/stdtypes.rst:1178 +#: library/stdtypes.rst:1179 msgid "``del s[i:j]``" msgstr "``del s[i:j]``" -#: library/stdtypes.rst:1178 +#: library/stdtypes.rst:1179 msgid "same as ``s[i:j] = []``" msgstr "``s[i:j] = []`` ile eş değerdir" -#: library/stdtypes.rst:1180 +#: library/stdtypes.rst:1181 msgid "``s[i:j:k] = t``" msgstr "``s[i:j:k] = t``" -#: library/stdtypes.rst:1180 +#: library/stdtypes.rst:1181 msgid "the elements of ``s[i:j:k]`` are replaced by those of *t*" msgstr "``s[i:j:k]`` 'nin öğelerinin yerini *t* öğelerininkiler alır" -#: library/stdtypes.rst:1183 +#: library/stdtypes.rst:1184 msgid "``del s[i:j:k]``" msgstr "``del s[i:j:k]``" -#: library/stdtypes.rst:1183 +#: library/stdtypes.rst:1184 msgid "removes the elements of ``s[i:j:k]`` from the list" msgstr "``s[i:j:k]`` 'nin öğelerini listeden kaldırır" -#: library/stdtypes.rst:1186 +#: library/stdtypes.rst:1187 msgid "``s.append(x)``" msgstr "``s.append(x)``" -#: library/stdtypes.rst:1186 +#: library/stdtypes.rst:1187 msgid "" "appends *x* to the end of the sequence (same as ``s[len(s):len(s)] = [x]``)" msgstr "dizinin sonuna *x* ekler (``s[len(s):len(s)] = [x]`` ile eş değerdir)" -#: library/stdtypes.rst:1190 +#: library/stdtypes.rst:1191 msgid "``s.clear()``" msgstr "``s.clear()``" -#: library/stdtypes.rst:1190 +#: library/stdtypes.rst:1191 msgid "removes all items from *s* (same as ``del s[:]``)" msgstr "*s* içindeki tüm öğeleri kaldırır (``del s[:]`` ile eş değerdir)" -#: library/stdtypes.rst:1193 +#: library/stdtypes.rst:1194 msgid "``s.copy()``" msgstr "``s.copy()``" -#: library/stdtypes.rst:1193 +#: library/stdtypes.rst:1194 msgid "creates a shallow copy of *s* (same as ``s[:]``)" msgstr "*s*'nin sığ bir kopyasını oluşturur (``s[:]`` ile eş değerdir)" -#: library/stdtypes.rst:1196 +#: library/stdtypes.rst:1197 msgid "``s.extend(t)`` or ``s += t``" msgstr "``s.extend(t)`` veya ``s += t``" -#: library/stdtypes.rst:1196 +#: library/stdtypes.rst:1197 msgid "" "extends *s* with the contents of *t* (for the most part the same as " "``s[len(s):len(s)] = t``)" @@ -1905,55 +1909,55 @@ msgstr "" "*s* 'yi *t* 'nin içeriğiyle genişletir (çoğunlukla ``s[len(s):len(s)] = t`` " "ile eş değerdir)" -#: library/stdtypes.rst:1201 +#: library/stdtypes.rst:1202 msgid "``s *= n``" msgstr "``s *= n``" -#: library/stdtypes.rst:1201 +#: library/stdtypes.rst:1202 msgid "updates *s* with its contents repeated *n* times" msgstr "*n* kez tekrarlanan içeriğiyle *s* 'yi günceller" -#: library/stdtypes.rst:1204 +#: library/stdtypes.rst:1205 msgid "``s.insert(i, x)``" msgstr "``s.insert(i, x)``" -#: library/stdtypes.rst:1204 +#: library/stdtypes.rst:1205 msgid "" "inserts *x* into *s* at the index given by *i* (same as ``s[i:i] = [x]``)" msgstr "" "*i* tarafından verilen dizinde *s* 'nin içine *x* ekler (``s[i:i] = [x]`` " "ile eş değerdir)" -#: library/stdtypes.rst:1208 +#: library/stdtypes.rst:1209 msgid "``s.pop()`` or ``s.pop(i)``" msgstr "``s.pop()`` veya ``s.pop(i)``" -#: library/stdtypes.rst:1208 +#: library/stdtypes.rst:1209 msgid "retrieves the item at *i* and also removes it from *s*" msgstr "*i* noktasındaki öğeyi alır ve *s* öğesinden kaldırır" -#: library/stdtypes.rst:1211 +#: library/stdtypes.rst:1212 msgid "``s.remove(x)``" msgstr "``s.remove(x)``" -#: library/stdtypes.rst:1211 +#: library/stdtypes.rst:1212 #, fuzzy msgid "remove the first item from *s* where ``s[i]`` is equal to *x*" msgstr "``s[i]`` 'nin *x* 'e eşit olduğu *s* 'den ilk öğeyi kaldırır" -#: library/stdtypes.rst:1214 +#: library/stdtypes.rst:1215 msgid "``s.reverse()``" msgstr "``s.reverse()``" -#: library/stdtypes.rst:1214 +#: library/stdtypes.rst:1215 msgid "reverses the items of *s* in place" msgstr "*s* 'nin öğelerini yerinde tersine çevirir" -#: library/stdtypes.rst:1222 +#: library/stdtypes.rst:1223 msgid "*t* must have the same length as the slice it is replacing." msgstr "*t*, değiştirdiği dilimle aynı uzunlukta olmalıdır." -#: library/stdtypes.rst:1225 +#: library/stdtypes.rst:1226 msgid "" "The optional argument *i* defaults to ``-1``, so that by default the last " "item is removed and returned." @@ -1961,13 +1965,13 @@ msgstr "" "İsteğe bağlı *i* argümanı varsayılan olarak ``-1`` şeklindedir, böylece " "varsayılan olarak son öğe kaldırılır ve döndürülür." -#: library/stdtypes.rst:1229 +#: library/stdtypes.rst:1230 msgid ":meth:`remove` raises :exc:`ValueError` when *x* is not found in *s*." msgstr "" "*s* 'nin içinde *x* bulunmadığında :meth:`remove` işlemi :exc:`ValueError` " "hatasını verir." -#: library/stdtypes.rst:1232 +#: library/stdtypes.rst:1233 msgid "" "The :meth:`reverse` method modifies the sequence in place for economy of " "space when reversing a large sequence. To remind users that it operates by " @@ -1977,7 +1981,7 @@ msgstr "" "sağlamak için diziyi yerinde değiştirir. Kullanıcılara yan etki ile " "çalıştığını hatırlatmak için ters diziyi döndürmez." -#: library/stdtypes.rst:1237 +#: library/stdtypes.rst:1238 #, fuzzy msgid "" ":meth:`clear` and :meth:`!copy` are included for consistency with the " @@ -1992,11 +1996,11 @@ msgstr "" "`collections.abc.MutableSequence` ABC'nin bir parçası değildir, ancak çoğu " "somut değiştirilebilir dizi sınıfı bunu sağlar." -#: library/stdtypes.rst:1243 +#: library/stdtypes.rst:1244 msgid ":meth:`clear` and :meth:`!copy` methods." msgstr ":meth:`clear` ve :meth:`!copy` metotları." -#: library/stdtypes.rst:1247 +#: library/stdtypes.rst:1248 msgid "" "The value *n* is an integer, or an object implementing :meth:`~object." "__index__`. Zero and negative values of *n* clear the sequence. Items in " @@ -2008,11 +2012,11 @@ msgstr "" "öğeler kopyalanmaz; :ref:`typesseq-common` altında ``s * n`` için " "açıklandığı gibi, bunlara birden çok kez başvurulur." -#: library/stdtypes.rst:1256 +#: library/stdtypes.rst:1257 msgid "Lists" msgstr "Listeler" -#: library/stdtypes.rst:1260 +#: library/stdtypes.rst:1261 msgid "" "Lists are mutable sequences, typically used to store collections of " "homogeneous items (where the precise degree of similarity will vary by " @@ -2022,29 +2026,29 @@ msgstr "" "değişeceği) homojen öğelerin koleksiyonlarını depolamak için kullanılan " "değiştirilebilir dizilerdir." -#: library/stdtypes.rst:1266 +#: library/stdtypes.rst:1267 msgid "Lists may be constructed in several ways:" msgstr "Listeler birkaç şekilde oluşturulabilir:" -#: library/stdtypes.rst:1268 +#: library/stdtypes.rst:1269 msgid "Using a pair of square brackets to denote the empty list: ``[]``" msgstr "Boş listeyi belirtmek için bir çift köşeli parantez kullanma: ``[]``" -#: library/stdtypes.rst:1269 +#: library/stdtypes.rst:1270 msgid "" "Using square brackets, separating items with commas: ``[a]``, ``[a, b, c]``" msgstr "" "Köşeli parantez kullanarak, öğeleri virgülle ayırarak: ``[a]``, ``[a, b, c]``" -#: library/stdtypes.rst:1270 +#: library/stdtypes.rst:1271 msgid "Using a list comprehension: ``[x for x in iterable]``" msgstr "Liste kavrayışını kullanma: ``[x for x in iterable]``" -#: library/stdtypes.rst:1271 +#: library/stdtypes.rst:1272 msgid "Using the type constructor: ``list()`` or ``list(iterable)``" msgstr "Tür oluşturucuyu kullanma: ``list()`` veya ``list(iterable)``" -#: library/stdtypes.rst:1273 +#: library/stdtypes.rst:1274 msgid "" "The constructor builds a list whose items are the same and in the same order " "as *iterable*'s items. *iterable* may be either a sequence, a container " @@ -2062,7 +2066,7 @@ msgstr "" "3) )``, ``[ 1, 2, 3]``. Argüman verilmezse, yapıcı ``[]`` yeni bir boş liste " "oluşturur." -#: library/stdtypes.rst:1282 +#: library/stdtypes.rst:1283 msgid "" "Many other operations also produce lists, including the :func:`sorted` built-" "in." @@ -2070,7 +2074,7 @@ msgstr "" "Gömülü :func:`sorted` dahil olmak üzere diğer birçok işlem de listeler " "üretir." -#: library/stdtypes.rst:1285 +#: library/stdtypes.rst:1286 msgid "" "Lists implement all of the :ref:`common ` and :ref:`mutable " "` sequence operations. Lists also provide the following " @@ -2080,7 +2084,7 @@ msgstr "" "mutable>` dizi işlemlerini uygular. Listeler ayrıca aşağıdaki ek metodu da " "sağlar:" -#: library/stdtypes.rst:1291 +#: library/stdtypes.rst:1292 msgid "" "This method sorts the list in place, using only ``<`` comparisons between " "items. Exceptions are not suppressed - if any comparison operations fail, " @@ -2092,7 +2096,7 @@ msgstr "" "işlemi başarısız olursa, tüm sıralama işlemi başarısız olur (ve liste büyük " "olasılıkla kısmen değiştirilmiş durumda kalır)." -#: library/stdtypes.rst:1296 +#: library/stdtypes.rst:1297 msgid "" ":meth:`sort` accepts two arguments that can only be passed by keyword (:ref:" "`keyword-only arguments `):" @@ -2100,7 +2104,7 @@ msgstr "" ":meth:`sort` yalnızca anahtar kelime tarafından iletilebilen iki argümanı " "kabul eder (:ref:`keyword-only arguments `):" -#: library/stdtypes.rst:1299 +#: library/stdtypes.rst:1300 msgid "" "*key* specifies a function of one argument that is used to extract a " "comparison key from each list element (for example, ``key=str.lower``). The " @@ -2115,7 +2119,7 @@ msgstr "" "``None``, liste öğelerinin ayrı bir anahtar değeri hesaplamadan doğrudan " "sıralandığı anlamına gelir." -#: library/stdtypes.rst:1306 +#: library/stdtypes.rst:1307 msgid "" "The :func:`functools.cmp_to_key` utility is available to convert a 2.x style " "*cmp* function to a *key* function." @@ -2123,7 +2127,7 @@ msgstr "" ":func:`functools.cmp_to_key` yardımcı programı, 2.x stili *cmp* işlevini bir " "*key* işlevine dönüştürmek için kullanılabilir." -#: library/stdtypes.rst:1309 +#: library/stdtypes.rst:1310 msgid "" "*reverse* is a boolean value. If set to ``True``, then the list elements " "are sorted as if each comparison were reversed." @@ -2131,7 +2135,7 @@ msgstr "" "*reverse* bir boolean değeridir. ``True`` olarak ayarlanırsa, liste öğeleri, " "her karşılaştırma tersine çevrilmiş gibi sıralanır." -#: library/stdtypes.rst:1312 +#: library/stdtypes.rst:1313 msgid "" "This method modifies the sequence in place for economy of space when sorting " "a large sequence. To remind users that it operates by side effect, it does " @@ -2143,7 +2147,7 @@ msgstr "" "sıralanan diziyi döndürmez (açıkça yeni bir sıralanmış liste örneği istemek " "için :func:`sorted` kullanın)." -#: library/stdtypes.rst:1317 +#: library/stdtypes.rst:1318 msgid "" "The :meth:`sort` method is guaranteed to be stable. A sort is stable if it " "guarantees not to change the relative order of elements that compare equal " @@ -2155,14 +2159,14 @@ msgstr "" "ediyorsa kararlıdır --- bu, birden çok geçişte sıralama için yararlıdır " "(örneğin, departmana göre sıralama, ardından maaş derecesine göre)." -#: library/stdtypes.rst:1322 +#: library/stdtypes.rst:1323 msgid "" "For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`." msgstr "" "Sıralama örnekleri ve kısa bir sıralama eğitimi için bkz. :ref:" "`sortinghowto`." -#: library/stdtypes.rst:1326 +#: library/stdtypes.rst:1327 msgid "" "While a list is being sorted, the effect of attempting to mutate, or even " "inspect, the list is undefined. The C implementation of Python makes the " @@ -2174,11 +2178,11 @@ msgstr "" "görünmesini sağlar ve bir sıralama sırasında listenin mutasyona uğradığını " "algılayabilirse :exc:`ValueError` hatasını verir." -#: library/stdtypes.rst:1335 +#: library/stdtypes.rst:1336 msgid "Tuples" msgstr "Demetler" -#: library/stdtypes.rst:1339 +#: library/stdtypes.rst:1340 msgid "" "Tuples are immutable sequences, typically used to store collections of " "heterogeneous data (such as the 2-tuples produced by the :func:`enumerate` " @@ -2192,27 +2196,27 @@ msgstr "" "dizisinin gerekli olduğu durumlarda da kullanılır (bir :class:`set` veya :" "class:`dict` örneğinde depolamaya izin vermek gibi)." -#: library/stdtypes.rst:1347 +#: library/stdtypes.rst:1348 msgid "Tuples may be constructed in a number of ways:" msgstr "Tuple'lar çeşitli şekillerde oluşturulabilir:" -#: library/stdtypes.rst:1349 +#: library/stdtypes.rst:1350 msgid "Using a pair of parentheses to denote the empty tuple: ``()``" msgstr "Boş demeti belirtmek için bir çift parantez kullanma: ``()``" -#: library/stdtypes.rst:1350 +#: library/stdtypes.rst:1351 msgid "Using a trailing comma for a singleton tuple: ``a,`` or ``(a,)``" msgstr "Tekli bir tuple için sonunda virgül kullanma: ``a,`` veya ``(a,)``" -#: library/stdtypes.rst:1351 +#: library/stdtypes.rst:1352 msgid "Separating items with commas: ``a, b, c`` or ``(a, b, c)``" msgstr "Öğeleri virgülle ayırma: ``a, b, c`` veya ``(a, b, c)``" -#: library/stdtypes.rst:1352 +#: library/stdtypes.rst:1353 msgid "Using the :func:`tuple` built-in: ``tuple()`` or ``tuple(iterable)``" msgstr "Gömülü :func:`tuple` kullanmak: ``tuple()`` veya ``tuple(iterable)``" -#: library/stdtypes.rst:1354 +#: library/stdtypes.rst:1355 msgid "" "The constructor builds a tuple whose items are the same and in the same " "order as *iterable*'s items. *iterable* may be either a sequence, a " @@ -2229,7 +2233,7 @@ msgstr "" "``tuple( [1, 2, 3] )``, ``(1, 2, 3)`` 'yi döndürür. Herhangi bir argüman " "verilmezse, yapıcı yeni bir boş demet oluşturur ``()``." -#: library/stdtypes.rst:1362 +#: library/stdtypes.rst:1363 msgid "" "Note that it is actually the comma which makes a tuple, not the parentheses. " "The parentheses are optional, except in the empty tuple case, or when they " @@ -2243,14 +2247,14 @@ msgstr "" "fonksiyon çağrısı iken ``f((a, b, c))``, tek argüman olarak 3'lü bir tuple " "içeren bir fonksiyon çağrısıdır." -#: library/stdtypes.rst:1368 +#: library/stdtypes.rst:1369 msgid "" "Tuples implement all of the :ref:`common ` sequence " "operations." msgstr "" "Tuple'lar, tüm :ref:`common ` dizi işlemlerini uygular." -#: library/stdtypes.rst:1371 +#: library/stdtypes.rst:1372 msgid "" "For heterogeneous collections of data where access by name is clearer than " "access by index, :func:`collections.namedtuple` may be a more appropriate " @@ -2260,11 +2264,11 @@ msgstr "" "koleksiyonları için, :func:`collections.namedtuple` basit bir tuple " "nesnesinden daha uygun bir seçim olabilir." -#: library/stdtypes.rst:1379 +#: library/stdtypes.rst:1380 msgid "Ranges" msgstr "Aralıklar" -#: library/stdtypes.rst:1383 +#: library/stdtypes.rst:1384 msgid "" "The :class:`range` type represents an immutable sequence of numbers and is " "commonly used for looping a specific number of times in :keyword:`for` loops." @@ -2273,7 +2277,7 @@ msgstr "" "genellikle :keyword:`for` döngülerinde belirli sayıda döngü yapmak için " "kullanılır." -#: library/stdtypes.rst:1390 +#: library/stdtypes.rst:1391 msgid "" "The arguments to the range constructor must be integers (either built-in :" "class:`int` or any object that implements the :meth:`~object.__index__` " @@ -2287,7 +2291,7 @@ msgstr "" "atlanırsa, varsayılan olarak ``0`` olur. *step* sıfırsa, :exc:`ValueError` " "hatası ortaya çıkar." -#: library/stdtypes.rst:1396 +#: library/stdtypes.rst:1397 msgid "" "For a positive *step*, the contents of a range ``r`` are determined by the " "formula ``r[i] = start + step*i`` where ``i >= 0`` and ``r[i] < stop``." @@ -2295,7 +2299,7 @@ msgstr "" "Pozitif *step* için, ``r`` aralığının içeriği, ``i >= 0`` ve ``r[i] < stop`` " "olmak üzere ``r[i] = start + step*i`` formülüyle belirlenir." -#: library/stdtypes.rst:1400 +#: library/stdtypes.rst:1401 msgid "" "For a negative *step*, the contents of the range are still determined by the " "formula ``r[i] = start + step*i``, but the constraints are ``i >= 0`` and " @@ -2304,7 +2308,7 @@ msgstr "" "Negatif bir *step* için, aralığın içeriği hala ``r[i] = start + step*i`` " "formülüyle belirlenir, ancak kısıtlamalar ``i >= 0`` ve ``r[i] > stop`` 'dir." -#: library/stdtypes.rst:1404 +#: library/stdtypes.rst:1405 msgid "" "A range object will be empty if ``r[0]`` does not meet the value constraint. " "Ranges do support negative indices, but these are interpreted as indexing " @@ -2315,7 +2319,7 @@ msgstr "" "indeksler tarafından belirlenen dizinin sonundan indeksleme olarak " "yorumlanır." -#: library/stdtypes.rst:1409 +#: library/stdtypes.rst:1410 msgid "" "Ranges containing absolute values larger than :data:`sys.maxsize` are " "permitted but some features (such as :func:`len`) may raise :exc:" @@ -2325,11 +2329,11 @@ msgstr "" "verilir, ancak bazı özellikler (:func:`len` gibi), :exc:`OverflowError` " "hatasınının ortaya çıkmasını sağlayabilir." -#: library/stdtypes.rst:1413 +#: library/stdtypes.rst:1414 msgid "Range examples::" msgstr "Aralık örnekleri::" -#: library/stdtypes.rst:1430 +#: library/stdtypes.rst:1431 msgid "" "Ranges implement all of the :ref:`common ` sequence " "operations except concatenation and repetition (due to the fact that range " @@ -2341,23 +2345,23 @@ msgstr "" "izleyen dizileri temsil edebilmesi ve tekrarlama ve birleştirmenin " "genellikle bu kalıbı ihlal etmesi nedeniyle)." -#: library/stdtypes.rst:1437 +#: library/stdtypes.rst:1438 msgid "" "The value of the *start* parameter (or ``0`` if the parameter was not " "supplied)" msgstr "*start* parametresinin değeri (veya parametre sağlanmadıysa ``0``)" -#: library/stdtypes.rst:1442 +#: library/stdtypes.rst:1443 msgid "The value of the *stop* parameter" msgstr "*stop* parametresinin değeri" -#: library/stdtypes.rst:1446 +#: library/stdtypes.rst:1447 msgid "" "The value of the *step* parameter (or ``1`` if the parameter was not " "supplied)" msgstr "*step* parametresinin değeri (veya parametre sağlanmadıysa ``1``)" -#: library/stdtypes.rst:1449 +#: library/stdtypes.rst:1450 msgid "" "The advantage of the :class:`range` type over a regular :class:`list` or :" "class:`tuple` is that a :class:`range` object will always take the same " @@ -2371,7 +2375,7 @@ msgstr "" "(yalnızca ``start``, ``stop`` ve ``step`` değerlerini sakladığı için, tek " "tek öğeleri ve alt aralıkları gerektiği gibi hesaplar)." -#: library/stdtypes.rst:1455 +#: library/stdtypes.rst:1456 msgid "" "Range objects implement the :class:`collections.abc.Sequence` ABC, and " "provide features such as containment tests, element index lookup, slicing " @@ -2381,7 +2385,7 @@ msgstr "" "ve sınırlama testleri, eleman indeksi araması, dilimleme ve negatif " "indeksler için destek gibi özellikler sağlar (bkz. :ref:`typesseq`):" -#: library/stdtypes.rst:1475 +#: library/stdtypes.rst:1476 msgid "" "Testing range objects for equality with ``==`` and ``!=`` compares them as " "sequences. That is, two range objects are considered equal if they " @@ -2397,7 +2401,7 @@ msgstr "" "`~range.step` niteliklerine sahip olabileceğini unutmayın, örneğin " "``range(0) == range(2, 1, 3)`` veya ``range(0, 3, 2) == range(0, 4, 2)``.)" -#: library/stdtypes.rst:1482 +#: library/stdtypes.rst:1483 msgid "" "Implement the Sequence ABC. Support slicing and negative indices. Test :" "class:`int` objects for membership in constant time instead of iterating " @@ -2407,7 +2411,7 @@ msgstr "" "öğeleri yinelemek yerine sabit zamanda üyelik için :class:`int` nesnelerini " "test eder." -#: library/stdtypes.rst:1488 +#: library/stdtypes.rst:1489 msgid "" "Define '==' and '!=' to compare range objects based on the sequence of " "values they define (instead of comparing based on object identity)." @@ -2415,14 +2419,14 @@ msgstr "" "Aralık nesnelerini tanımladıkları değer sırasına göre karşılaştırmak için " "'==' ve '!=' tanımlayın (nesne kimliğine göre karşılaştırmak yerine)." -#: library/stdtypes.rst:1493 +#: library/stdtypes.rst:1494 msgid "" "The :attr:`~range.start`, :attr:`~range.stop` and :attr:`~range.step` " "attributes." msgstr "" ":attr:`~range.start`, :attr:`~range.stop` ve :attr:`~range.step` özellikleri." -#: library/stdtypes.rst:1499 +#: library/stdtypes.rst:1500 #, fuzzy msgid "" "The `linspace recipe `_ shows " @@ -2433,11 +2437,11 @@ msgstr "" "nokta uygulamaları için uygun olan tembel bir aralığın nasıl uygulanacağını " "gösterir." -#: library/stdtypes.rst:1511 +#: library/stdtypes.rst:1512 msgid "Text Sequence Type --- :class:`str`" msgstr "Metin Sırası Türü --- :class:`str`" -#: library/stdtypes.rst:1513 +#: library/stdtypes.rst:1514 msgid "" "Textual data in Python is handled with :class:`str` objects, or :dfn:" "`strings`. Strings are immutable :ref:`sequences ` of Unicode code " @@ -2447,21 +2451,21 @@ msgstr "" "işlenir. Dizeler, Unicode kod noktalarının değişmez :ref:`dizgeleridir " "`. Dize değişmezleri çeşitli şekillerde yazılır:" -#: library/stdtypes.rst:1518 +#: library/stdtypes.rst:1519 msgid "Single quotes: ``'allows embedded \"double\" quotes'``" msgstr "Tek tırnak: ``'katıştırılmış \"çift\" tırnaklara izin verir'``" -#: library/stdtypes.rst:1519 +#: library/stdtypes.rst:1520 msgid "Double quotes: ``\"allows embedded 'single' quotes\"``" msgstr "Çift tırnak: ``\"katıştırılmış 'tek' tırnaklara izin verir\"``" -#: library/stdtypes.rst:1520 +#: library/stdtypes.rst:1521 msgid "" "Triple quoted: ``'''Three single quotes'''``, ``\"\"\"Three double " "quotes\"\"\"``" msgstr "Üçlü tırnak: ``'''Üç tek tırnak'''``, ``\"\"\"Üç çift tırnak\"\"\"``" -#: library/stdtypes.rst:1522 +#: library/stdtypes.rst:1523 msgid "" "Triple quoted strings may span multiple lines - all associated whitespace " "will be included in the string literal." @@ -2469,7 +2473,7 @@ msgstr "" "Üçlü tırnak içine alınmış dizeler birden çok satıra yayılabilir - ilişkili " "tüm boşluklar dize değişmezine dahil edilecektir." -#: library/stdtypes.rst:1525 +#: library/stdtypes.rst:1526 msgid "" "String literals that are part of a single expression and have only " "whitespace between them will be implicitly converted to a single string " @@ -2479,7 +2483,7 @@ msgstr "" "değişmezleri, örtük olarak tek bir dize değişmezine dönüştürülür. Yani, " "``(\"spam\" \"yumurtalar\") == \"spam yumurtalar\"``." -#: library/stdtypes.rst:1529 +#: library/stdtypes.rst:1530 msgid "" "See :ref:`strings` for more about the various forms of string literal, " "including supported escape sequences, and the ``r`` (\"raw\") prefix that " @@ -2490,7 +2494,7 @@ msgstr "" "değişmezinin çeşitli biçimleri hakkında daha fazla bilgi için bkz. :ref:" "`strings`." -#: library/stdtypes.rst:1533 +#: library/stdtypes.rst:1534 msgid "" "Strings may also be created from other objects using the :class:`str` " "constructor." @@ -2498,7 +2502,7 @@ msgstr "" "Dizeler, :class:`str` yapıcısı kullanılarak diğer nesnelerden de " "oluşturulabilir." -#: library/stdtypes.rst:1536 +#: library/stdtypes.rst:1537 msgid "" "Since there is no separate \"character\" type, indexing a string produces " "strings of length 1. That is, for a non-empty string *s*, ``s[0] == s[0:1]``." @@ -2507,7 +2511,7 @@ msgstr "" "uzunluğunda dizeler üretir. Yani, boş olmayan bir *s* dizesi için ``s[0] == " "s[0:1]``." -#: library/stdtypes.rst:1542 +#: library/stdtypes.rst:1543 msgid "" "There is also no mutable string type, but :meth:`str.join` or :class:`io." "StringIO` can be used to efficiently construct strings from multiple " @@ -2517,7 +2521,7 @@ msgstr "" "`io.StringIO` birden çok parçadan dizeleri verimli bir şekilde oluşturmak " "için kullanılabilir." -#: library/stdtypes.rst:1546 +#: library/stdtypes.rst:1547 msgid "" "For backwards compatibility with the Python 2 series, the ``u`` prefix is " "once again permitted on string literals. It has no effect on the meaning of " @@ -2527,7 +2531,7 @@ msgstr "" "ön ekine izin verilir. Bunun dize değişmezlerinin anlamı üzerinde hiçbir " "etkisi yoktur ve ``r`` ön ekiyle birleştirilemez." -#: library/stdtypes.rst:1558 +#: library/stdtypes.rst:1559 #, fuzzy msgid "" "Return a :ref:`string ` version of *object*. If *object* is not " @@ -2538,7 +2542,7 @@ msgstr "" "boş dizeyi döndürür. Aksi takdirde, ``str()`` davranışı, aşağıdaki gibi " "*kodlama* veya *hatalar* 'ın verilmesine bağlıdır." -#: library/stdtypes.rst:1562 +#: library/stdtypes.rst:1563 #, fuzzy msgid "" "If neither *encoding* nor *errors* is given, ``str(object)`` returns :meth:" @@ -2554,7 +2558,7 @@ msgstr "" "kendisidir. *object*'in bir :meth:`~object.__str__` metodu yoksa, :func:" "`str`, :meth:`repr(object) ` döndürmeye geri döner." -#: library/stdtypes.rst:1574 +#: library/stdtypes.rst:1575 msgid "" "If at least one of *encoding* or *errors* is given, *object* should be a :" "term:`bytes-like object` (e.g. :class:`bytes` or :class:`bytearray`). In " @@ -2574,7 +2578,7 @@ msgstr "" "elde edilir. Arabellek nesneleri hakkında bilgi için bkz. :ref:`binaryseq` " "ve :ref:`bufferobjects`." -#: library/stdtypes.rst:1583 +#: library/stdtypes.rst:1584 msgid "" "Passing a :class:`bytes` object to :func:`str` without the *encoding* or " "*errors* arguments falls under the first case of returning the informal " @@ -2586,7 +2590,7 @@ msgstr "" "girer (ayrıca bkz. Python için :option:`-b` komut satırı seçeneği). " "Örneğin::" -#: library/stdtypes.rst:1591 +#: library/stdtypes.rst:1592 msgid "" "For more information on the ``str`` class and its methods, see :ref:" "`textseq` and the :ref:`string-methods` section below. To output formatted " @@ -2598,11 +2602,11 @@ msgstr "" "dizelerin çıktısını almak için :ref:`f-strings` ve :ref:`formatstrings` " "bölümlerine bakın. Ayrıca, :ref:`stringservices` bölümüne de bakın." -#: library/stdtypes.rst:1603 +#: library/stdtypes.rst:1604 msgid "String Methods" msgstr "String (Dize) Metotları" -#: library/stdtypes.rst:1608 +#: library/stdtypes.rst:1609 msgid "" "Strings implement all of the :ref:`common ` sequence " "operations, along with the additional methods described below." @@ -2610,7 +2614,7 @@ msgstr "" "Dizeler, aşağıda açıklanan ek yöntemlerle birlikte tüm :ref:`ortak ` dizi işlemlerini uygular." -#: library/stdtypes.rst:1611 +#: library/stdtypes.rst:1612 #, fuzzy msgid "" "Strings also support two styles of string formatting, one providing a large " @@ -2627,7 +2631,7 @@ msgstr "" "stilini destekler, ancak genellikle işleyebileceği durumlar için daha " "hızlıdır (:ref:`old-string-formatting`)." -#: library/stdtypes.rst:1618 +#: library/stdtypes.rst:1619 msgid "" "The :ref:`textservices` section of the standard library covers a number of " "other modules that provide various text related utilities (including regular " @@ -2637,7 +2641,7 @@ msgstr "" "yardımcı programlar sağlayan bir dizi başka modülü kapsar (:mod:`re` " "modülündeki normal ifade desteği dahil)." -#: library/stdtypes.rst:1624 +#: library/stdtypes.rst:1625 msgid "" "Return a copy of the string with its first character capitalized and the " "rest lowercased." @@ -2645,7 +2649,7 @@ msgstr "" "İlk karakteri büyük ve geri kalanı küçük harf ile, dizenin bir kopyasını " "döndürür." -#: library/stdtypes.rst:1627 +#: library/stdtypes.rst:1628 #, fuzzy msgid "" "The first character is now put into titlecase rather than uppercase. This " @@ -2656,7 +2660,7 @@ msgstr "" "digraf gibi karakterlerin, sadece ilk harflerinin büyütüleceği anlamına " "gelir." -#: library/stdtypes.rst:1634 +#: library/stdtypes.rst:1635 msgid "" "Return a casefolded copy of the string. Casefolded strings may be used for " "caseless matching." @@ -2664,7 +2668,7 @@ msgstr "" "Dizenin küçük harfe katlanmış bir kopyasını döndürür. Küçük harfe katlanmış " "dizeler, büyük/küçük harfsiz eşleştirme için kullanılabilir." -#: library/stdtypes.rst:1637 +#: library/stdtypes.rst:1638 msgid "" "Casefolding is similar to lowercasing but more aggressive because it is " "intended to remove all case distinctions in a string. For example, the " @@ -2678,7 +2682,7 @@ msgstr "" "Zaten küçük harf olduğundan, :meth:`lower` ``'ß'`` için hiçbir şey yapmaz; :" "meth:`casefold` onu ``\"ss\"`` biçimine dönüştürür." -#: library/stdtypes.rst:1643 +#: library/stdtypes.rst:1644 #, fuzzy msgid "" "The casefolding algorithm is `described in section 3.13 'Default Case " @@ -2687,7 +2691,7 @@ msgid "" msgstr "" "Casefolding algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:1652 +#: library/stdtypes.rst:1653 msgid "" "Return centered in a string of length *width*. Padding is done using the " "specified *fillchar* (default is an ASCII space). The original string is " @@ -2698,7 +2702,7 @@ msgstr "" "boşluğudur). *width*, ``len(s)`` değerinden küçük veya ona eşitse orijinal " "dize döndürülür." -#: library/stdtypes.rst:1660 +#: library/stdtypes.rst:1661 msgid "" "Return the number of non-overlapping occurrences of substring *sub* in the " "range [*start*, *end*]. Optional arguments *start* and *end* are " @@ -2708,23 +2712,23 @@ msgstr "" "sayısını döndürür. İsteğe bağlı bağımsız değişkenler *start* ve *end*, dilim " "notasyonunda olduğu gibi yorumlanır." -#: library/stdtypes.rst:1664 +#: library/stdtypes.rst:1665 msgid "" "If *sub* is empty, returns the number of empty strings between characters " "which is the length of the string plus one." msgstr "" -#: library/stdtypes.rst:1670 +#: library/stdtypes.rst:1671 msgid "Return the string encoded to :class:`bytes`." msgstr "" -#: library/stdtypes.rst:2811 +#: library/stdtypes.rst:2812 msgid "" "*encoding* defaults to ``'utf-8'``; see :ref:`standard-encodings` for " "possible values." msgstr "" -#: library/stdtypes.rst:1675 +#: library/stdtypes.rst:1676 msgid "" "*errors* controls how encoding errors are handled. If ``'strict'`` (the " "default), a :exc:`UnicodeError` exception is raised. Other possible values " @@ -2739,18 +2743,18 @@ msgstr "" "register_error` ile kaydedilen diğer isimlerdir. Ayrıntılar için :ref:`error-" "handlers` bölümüne bakınız." -#: library/stdtypes.rst:1682 +#: library/stdtypes.rst:1683 msgid "" "For performance reasons, the value of *errors* is not checked for validity " "unless an encoding error actually occurs, :ref:`devmode` is enabled or a :" "ref:`debug build ` is used." msgstr "" -#: library/stdtypes.rst:2830 +#: library/stdtypes.rst:2831 msgid "Added support for keyword arguments." msgstr "" -#: library/stdtypes.rst:2833 +#: library/stdtypes.rst:2834 msgid "" "The value of the *errors* argument is now checked in :ref:`devmode` and in :" "ref:`debug mode `." @@ -2758,7 +2762,7 @@ msgstr "" "*errors* şimdi :ref:`devmode` ve :ref:`hata ayıklama modunda ` " "kontrol edilir." -#: library/stdtypes.rst:1697 +#: library/stdtypes.rst:1698 msgid "" "Return ``True`` if the string ends with the specified *suffix*, otherwise " "return ``False``. *suffix* can also be a tuple of suffixes to look for. " @@ -2770,7 +2774,7 @@ msgstr "" "bağlı *start* ile, o konumdan başlayarak test edin. İsteğe bağlı *end* ile, " "o konumda karşılaştırmayı bırakın." -#: library/stdtypes.rst:1705 +#: library/stdtypes.rst:1706 msgid "" "Return a copy of the string where all tab characters are replaced by one or " "more spaces, depending on the current column and the given tab size. Tab " @@ -2797,7 +2801,7 @@ msgstr "" "karakter değiştirilmeden kopyalanır ve mevcut sütun, karakterin " "yazdırıldığında nasıl temsil edildiğine bakılmaksızın bir artırılır." -#: library/stdtypes.rst:1726 +#: library/stdtypes.rst:1727 msgid "" "Return the lowest index in the string where substring *sub* is found within " "the slice ``s[start:end]``. Optional arguments *start* and *end* are " @@ -2807,7 +2811,7 @@ msgstr "" "dizini döndür. İsteğe bağlı argümanlar *start* ve *end*, dilim notasyonunda " "olduğu gibi yorumlanır. *sub* bulunamazsa ``-1`` döndürür." -#: library/stdtypes.rst:1732 +#: library/stdtypes.rst:1733 msgid "" "The :meth:`~str.find` method should be used only if you need to know the " "position of *sub*. To check if *sub* is a substring or not, use the :" @@ -2817,7 +2821,7 @@ msgstr "" "gerekiyorsa kullanılmalıdır. *sub* 'ın bir alt dize olup olmadığını kontrol " "etmek için :keyword:`in` operatörünü kullanın::" -#: library/stdtypes.rst:1742 +#: library/stdtypes.rst:1743 msgid "" "Perform a string formatting operation. The string on which this method is " "called can contain literal text or replacement fields delimited by braces " @@ -2833,7 +2837,7 @@ msgstr "" "değiştirme alanının, karşılık gelen argümanın dize değeriyle değiştirildiği " "dizenin bir kopyasını döndürür." -#: library/stdtypes.rst:1752 +#: library/stdtypes.rst:1753 msgid "" "See :ref:`formatstrings` for a description of the various formatting options " "that can be specified in format strings." @@ -2841,7 +2845,7 @@ msgstr "" "Biçim dizelerinde (f string) belirtilebilecek çeşitli biçimlendirme " "seçeneklerinin açıklaması için bkz. :ref:`formatstrings`." -#: library/stdtypes.rst:1756 +#: library/stdtypes.rst:1757 msgid "" "When formatting a number (:class:`int`, :class:`float`, :class:`complex`, :" "class:`decimal.Decimal` and subclasses) with the ``n`` type (ex: ``'{:n}'." @@ -2859,7 +2863,7 @@ msgstr "" "için ``LC_CTYPE`` yerel ayarını geçici olarak ``LC_NUMERIC`` yerel ayarına " "ayarlar. Bu geçici değişiklik diğer iş parçacıklarını etkiler." -#: library/stdtypes.rst:1765 +#: library/stdtypes.rst:1766 msgid "" "When formatting a number with the ``n`` type, the function sets temporarily " "the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` locale in some cases." @@ -2868,7 +2872,7 @@ msgstr "" "``LC_CTYPE`` yerel ayarını geçici olarak ``LC_NUMERIC`` yerel ayarına " "ayarlar." -#: library/stdtypes.rst:1773 +#: library/stdtypes.rst:1774 msgid "" "Similar to ``str.format(**mapping)``, except that ``mapping`` is used " "directly and not copied to a :class:`dict`. This is useful if for example " @@ -2878,7 +2882,7 @@ msgstr "" "kullanılır ve bir :class:`dict` 'e kopyalanmaz. Örneğin, ``mapping`` bir " "dict alt sınıfı ise bu kullanışlıdır:" -#: library/stdtypes.rst:1789 +#: library/stdtypes.rst:1790 msgid "" "Like :meth:`~str.find`, but raise :exc:`ValueError` when the substring is " "not found." @@ -2886,7 +2890,7 @@ msgstr "" ":meth:`~str.find` gibi, ancak alt dize bulunamadığında :exc:`ValueError` " "yükseltir." -#: library/stdtypes.rst:1795 +#: library/stdtypes.rst:1796 msgid "" "Return ``True`` if all characters in the string are alphanumeric and there " "is at least one character, ``False`` otherwise. A character ``c`` is " @@ -2898,7 +2902,7 @@ msgstr "" "``True`` döndürüyorsa alfasayısaldır: ``c.isalpha()``, ``c.isdecimal()``, " "``c.isdigit()`` veya ``c.isnumeric()``." -#: library/stdtypes.rst:1803 +#: library/stdtypes.rst:1804 #, fuzzy msgid "" "Return ``True`` if all characters in the string are alphabetic and there is " @@ -2917,7 +2921,7 @@ msgstr "" "karakterlerdir. Bunun Unicode Standardında tanımlanan \"Alfabetik\" " "özelliğinden farklı olduğunu unutmayın." -#: library/stdtypes.rst:1814 +#: library/stdtypes.rst:1815 msgid "" "Return ``True`` if the string is empty or all characters in the string are " "ASCII, ``False`` otherwise. ASCII characters have code points in the range " @@ -2927,7 +2931,7 @@ msgstr "" "``False`` döndürür. ASCII karakterleri U+0000-U+007F aralığında kod " "noktalarına sahiptir." -#: library/stdtypes.rst:1823 +#: library/stdtypes.rst:1824 msgid "" "Return ``True`` if all characters in the string are decimal characters and " "there is at least one character, ``False`` otherwise. Decimal characters are " @@ -2941,7 +2945,7 @@ msgstr "" "ARAPÇA-HİNTÇE RAKAM SIFIR. Resmi olarak bir ondalık karakter Unicode Genel " "Kategorisi \"Nd\" içerisindeki bir karakterdir." -#: library/stdtypes.rst:1833 +#: library/stdtypes.rst:1834 msgid "" "Return ``True`` if all characters in the string are digits and there is at " "least one character, ``False`` otherwise. Digits include decimal characters " @@ -2957,7 +2961,7 @@ msgstr "" "rakamları kapsar. Resmi olarak rakam, Numeric_Type=Digit veya " "Numeric_Type=Decimal özellik değerine sahip bir karakterdir." -#: library/stdtypes.rst:1843 +#: library/stdtypes.rst:1844 msgid "" "Return ``True`` if the string is a valid identifier according to the " "language definition, section :ref:`identifiers`." @@ -2965,7 +2969,7 @@ msgstr "" ":ref:`identifiers` bölümüne göre dizge dil tanımına göre geçerli bir " "tanımlayıcı ise ``True`` döndürür." -#: library/stdtypes.rst:1846 +#: library/stdtypes.rst:1847 #, fuzzy msgid "" ":func:`keyword.iskeyword` can be used to test whether string ``s`` is a " @@ -2974,11 +2978,11 @@ msgstr "" ":func:`keyword.iskeyword` çağrısı yaparak ``s`` dizesinin :keyword:`def` ve :" "keyword:`class` gibi ayrılmış bir tanımlayıcı olup olmadığını test eder." -#: library/stdtypes.rst:1849 +#: library/stdtypes.rst:1850 msgid "Example: ::" msgstr "Örnek: ::" -#: library/stdtypes.rst:1862 +#: library/stdtypes.rst:1863 msgid "" "Return ``True`` if all cased characters [4]_ in the string are lowercase and " "there is at least one cased character, ``False`` otherwise." @@ -2986,7 +2990,7 @@ msgstr "" "Dizedeki tüm büyük harfli karakterler [4]_ küçük harfli ise ve en az bir " "büyük harfli karakter varsa ``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1868 +#: library/stdtypes.rst:1869 msgid "" "Return ``True`` if all characters in the string are numeric characters, and " "there is at least one character, ``False`` otherwise. Numeric characters " @@ -3002,7 +3006,7 @@ msgstr "" "karakterler Numeric_Type=Digit, Numeric_Type=Decimal veya " "Numeric_Type=Numeric özellik değerine sahip karakterlerdir." -#: library/stdtypes.rst:1878 +#: library/stdtypes.rst:1879 msgid "" "Return ``True`` if all characters in the string are printable or the string " "is empty, ``False`` otherwise. Nonprintable characters are those characters " @@ -3021,7 +3025,7 @@ msgstr "" "data:`sys.stdout` veya :data:`sys.stderr` dosyalarına yazılan dizelerin " "işlenmesiyle bir ilgisi yoktur)" -#: library/stdtypes.rst:1889 +#: library/stdtypes.rst:1890 msgid "" "Return ``True`` if there are only whitespace characters in the string and " "there is at least one character, ``False`` otherwise." @@ -3029,7 +3033,7 @@ msgstr "" "Dizede yalnızca boşluk karakterleri varsa ve en az bir karakter varsa " "``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1892 +#: library/stdtypes.rst:1893 msgid "" "A character is *whitespace* if in the Unicode character database (see :mod:" "`unicodedata`), either its general category is ``Zs`` (\"Separator, " @@ -3039,7 +3043,7 @@ msgstr "" "sınıfı ``WS``, ``B`` veya ``S``’den biri ise Unicode karakter veritabanında " "(bkz. :mod:`unicodedata`) *beyaz boşluk karakteri*’dir." -#: library/stdtypes.rst:1900 +#: library/stdtypes.rst:1901 msgid "" "Return ``True`` if the string is a titlecased string and there is at least " "one character, for example uppercase characters may only follow uncased " @@ -3051,7 +3055,7 @@ msgstr "" "karakterleri ve küçük harfli karakterler sadece büyük harfli karakterleri " "takip edebilir. Aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1907 +#: library/stdtypes.rst:1908 msgid "" "Return ``True`` if all cased characters [4]_ in the string are uppercase and " "there is at least one cased character, ``False`` otherwise." @@ -3059,7 +3063,7 @@ msgstr "" "Dizedeki tüm karakterler [4]_ büyük harfli ise ve en az bir büyük harfli " "karakter varsa ``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1925 +#: library/stdtypes.rst:1926 msgid "" "Return a string which is the concatenation of the strings in *iterable*. A :" "exc:`TypeError` will be raised if there are any non-string values in " @@ -3071,7 +3075,7 @@ msgstr "" "olmayan değerler varsa bir :exc:`TypeError` oluşacaktır. Öğeler arasındaki " "ayırıcı, bu yöntemi sağlayan dizedir." -#: library/stdtypes.rst:1933 +#: library/stdtypes.rst:1934 msgid "" "Return the string left justified in a string of length *width*. Padding is " "done using the specified *fillchar* (default is an ASCII space). The " @@ -3082,7 +3086,7 @@ msgstr "" "boşluğudur). *width*, ``len(s)`` değerinden küçük veya ona eşitse orijinal " "dize döndürülür." -#: library/stdtypes.rst:1940 +#: library/stdtypes.rst:1941 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "lowercase." @@ -3090,7 +3094,7 @@ msgstr "" "Dizenin tüm büyük harfli karakterlerini [4]_ küçük harfe dönüştürerek bir " "kopyasını döndürür." -#: library/stdtypes.rst:1943 +#: library/stdtypes.rst:1944 #, fuzzy msgid "" "The lowercasing algorithm used is `described in section 3.13 'Default Case " @@ -3099,7 +3103,7 @@ msgid "" msgstr "" "Harf küçültme algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:1950 +#: library/stdtypes.rst:1951 msgid "" "Return a copy of the string with leading characters removed. The *chars* " "argument is a string specifying the set of characters to be removed. If " @@ -3113,7 +3117,7 @@ msgstr "" "boşlukları kaldırır. *chars* bağımsız değişkeni bir ön ek değildir; bunun " "yerine, değerlerinin tüm kombinasyonları çıkarılır::" -#: library/stdtypes.rst:1960 +#: library/stdtypes.rst:1961 msgid "" "See :meth:`str.removeprefix` for a method that will remove a single prefix " "string rather than all of a set of characters. For example::" @@ -3122,7 +3126,7 @@ msgstr "" "kaldıracak bir yöntem için :meth:`str.removeprefix` bölümüne bakın. " "Örneğin::" -#: library/stdtypes.rst:1971 +#: library/stdtypes.rst:1972 msgid "" "This static method returns a translation table usable for :meth:`str." "translate`." @@ -3130,7 +3134,7 @@ msgstr "" "Bu statik yöntem :meth:`str.translate` için kullanılabilecek bir çeviri " "tablosu döndürür." -#: library/stdtypes.rst:1973 +#: library/stdtypes.rst:1974 msgid "" "If there is only one argument, it must be a dictionary mapping Unicode " "ordinals (integers) or characters (strings of length 1) to Unicode ordinals, " @@ -3143,7 +3147,7 @@ msgstr "" "sözlük olmalıdır. Karakter anahtarları daha sonra sıradanlara " "dönüştürülecektir." -#: library/stdtypes.rst:1978 +#: library/stdtypes.rst:1979 msgid "" "If there are two arguments, they must be strings of equal length, and in the " "resulting dictionary, each character in x will be mapped to the character at " @@ -3155,7 +3159,7 @@ msgstr "" "eşlenecektir. Üçüncü bir bağımsız değişken varsa, karakterleri sonuçta " "``None`` ile eşlenecek bir dizge olmalıdır." -#: library/stdtypes.rst:1986 +#: library/stdtypes.rst:1987 msgid "" "Split the string at the first occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself, and the part " @@ -3167,7 +3171,7 @@ msgstr "" "Ayırıcı bulunamazsa, dizenin kendisini ve ardından iki boş dizeyi içeren bir " "3'lü döndürür." -#: library/stdtypes.rst:1994 +#: library/stdtypes.rst:1995 msgid "" "If the string starts with the *prefix* string, return " "``string[len(prefix):]``. Otherwise, return a copy of the original string::" @@ -3175,7 +3179,7 @@ msgstr "" "Eğer dize *prefix* dizesi ile başlıyorsa, ``dize[len(prefix):]`` döndürür. " "Aksi takdirde, orijinal dizgenin bir kopyasını döndürür::" -#: library/stdtypes.rst:2008 +#: library/stdtypes.rst:2009 msgid "" "If the string ends with the *suffix* string and that *suffix* is not empty, " "return ``string[:-len(suffix)]``. Otherwise, return a copy of the original " @@ -3185,7 +3189,7 @@ msgstr "" "``dize[:-len(suffix)]`` döndürür. Aksi takdirde, orijinal dizenin bir " "kopyasını döndürür::" -#: library/stdtypes.rst:2022 +#: library/stdtypes.rst:2023 msgid "" "Return a copy of the string with all occurrences of substring *old* replaced " "by *new*. If the optional argument *count* is given, only the first *count* " @@ -3195,7 +3199,7 @@ msgstr "" "kopyasını döndürür. İsteğe bağlı olarak *count* bağımsız değişkeni " "verilirse, yalnızca ilk *count* oluşumu değiştirilir." -#: library/stdtypes.rst:2029 +#: library/stdtypes.rst:2030 msgid "" "Return the highest index in the string where substring *sub* is found, such " "that *sub* is contained within ``s[start:end]``. Optional arguments *start* " @@ -3206,7 +3210,7 @@ msgstr "" "*end* dilim gösterimindeki gibi yorumlanır. Başarısızlık durumunda ``-1`` " "döndürür." -#: library/stdtypes.rst:2036 +#: library/stdtypes.rst:2037 msgid "" "Like :meth:`rfind` but raises :exc:`ValueError` when the substring *sub* is " "not found." @@ -3214,7 +3218,7 @@ msgstr "" ":meth:`rfind` gibi, ancak *sub* alt dizesi bulunamadığında :exc:`ValueError` " "yükseltir." -#: library/stdtypes.rst:2042 +#: library/stdtypes.rst:2043 msgid "" "Return the string right justified in a string of length *width*. Padding is " "done using the specified *fillchar* (default is an ASCII space). The " @@ -3225,7 +3229,7 @@ msgstr "" "boşluğudur). *width*, ``len(s)`` değerinden küçük veya ona eşitse orijinal " "dize döndürülür." -#: library/stdtypes.rst:2049 +#: library/stdtypes.rst:2050 msgid "" "Split the string at the last occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself, and the part " @@ -3237,7 +3241,7 @@ msgstr "" "Ayırıcı bulunamazsa, dizenin kendisini ve ardından iki boş dizeyi içeren bir " "3'lü döndürür." -#: library/stdtypes.rst:2057 +#: library/stdtypes.rst:2058 msgid "" "Return a list of the words in the string, using *sep* as the delimiter " "string. If *maxsplit* is given, at most *maxsplit* splits are done, the " @@ -3251,7 +3255,7 @@ msgstr "" "herhangi bir boşluk dizesi ayırıcıdır. Sağdan bölme dışında, :meth:`rsplit` " "aşağıda ayrıntılı olarak açıklanan :meth:`split` gibi davranır." -#: library/stdtypes.rst:2066 +#: library/stdtypes.rst:2067 msgid "" "Return a copy of the string with trailing characters removed. The *chars* " "argument is a string specifying the set of characters to be removed. If " @@ -3265,7 +3269,7 @@ msgstr "" "boşlukları kaldırır. *chars* bağımsız değişkeni bir ön ek değildir; bunun " "yerine, değerlerinin tüm kombinasyonları çıkarılır::" -#: library/stdtypes.rst:2076 +#: library/stdtypes.rst:2077 msgid "" "See :meth:`str.removesuffix` for a method that will remove a single suffix " "string rather than all of a set of characters. For example::" @@ -3274,7 +3278,7 @@ msgstr "" "kaldıracak bir yöntem için :meth:`str.removeprefix` bölümüne bakın. " "Örneğin::" -#: library/stdtypes.rst:2086 +#: library/stdtypes.rst:2087 msgid "" "Return a list of the words in the string, using *sep* as the delimiter " "string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, " @@ -3288,7 +3292,7 @@ msgstr "" "Eğer *maxsplit* belirtilmemişse veya ``-1`` ise, bölme sayısında bir " "sınırlama yoktur (tüm olası bölmeler yapılır)." -#: library/stdtypes.rst:2092 +#: library/stdtypes.rst:2093 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns " @@ -3302,15 +3306,15 @@ msgstr "" "(örneğin, ``'1<>2<>3'.split('<>')``, ``['1', '2', '3']`` döndürür). Boş bir " "dizeyi belirtilen bir ayırıcıyla bölmek ``['']`` döndürür." -#: library/stdtypes.rst:2114 library/stdtypes.rst:2234 -#: library/stdtypes.rst:3149 library/stdtypes.rst:3256 -#: library/stdtypes.rst:3297 library/stdtypes.rst:3339 -#: library/stdtypes.rst:3371 library/stdtypes.rst:3421 -#: library/stdtypes.rst:3490 library/stdtypes.rst:3514 +#: library/stdtypes.rst:2115 library/stdtypes.rst:2235 +#: library/stdtypes.rst:3150 library/stdtypes.rst:3257 +#: library/stdtypes.rst:3298 library/stdtypes.rst:3340 +#: library/stdtypes.rst:3372 library/stdtypes.rst:3422 +#: library/stdtypes.rst:3491 library/stdtypes.rst:3515 msgid "For example::" msgstr "Örneğin: ::" -#: library/stdtypes.rst:2107 +#: library/stdtypes.rst:2108 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive whitespace are regarded as a single separator, " @@ -3325,7 +3329,7 @@ msgstr "" "dizeler olmaz. Dolayısıyla, boş bir dizeyi veya sadece beyaz boşluktan " "oluşan bir dizeyi ``None`` ayırıcısıyla bölmek ``[]`` döndürür." -#: library/stdtypes.rst:2129 +#: library/stdtypes.rst:2130 msgid "" "Return a list of the lines in the string, breaking at line boundaries. Line " "breaks are not included in the resulting list unless *keepends* is given and " @@ -3335,7 +3339,7 @@ msgstr "" "Satır sonları için *keepends* belirtilmediği ve true değerinde olmadığı " "sürece, satır sonları sonuç listesine dahil edilmez." -#: library/stdtypes.rst:2133 +#: library/stdtypes.rst:2134 msgid "" "This method splits on the following line boundaries. In particular, the " "boundaries are a superset of :term:`universal newlines`." @@ -3343,107 +3347,107 @@ msgstr "" "Bu yöntem aşağıdaki satır sınırlarında bölme yapar. Spesifik olarak, " "sınırlar :term:`universal newlines` 'ın bir üst kümesidir." -#: library/stdtypes.rst:2137 +#: library/stdtypes.rst:2138 msgid "Representation" msgstr "Temsil" -#: library/stdtypes.rst:2137 +#: library/stdtypes.rst:2138 msgid "Description" msgstr "Açıklama" -#: library/stdtypes.rst:2139 +#: library/stdtypes.rst:2140 msgid "``\\n``" msgstr "``\\n``" -#: library/stdtypes.rst:2139 +#: library/stdtypes.rst:2140 msgid "Line Feed" msgstr "Satır Atlama" -#: library/stdtypes.rst:2141 +#: library/stdtypes.rst:2142 msgid "``\\r``" msgstr "``\\r``" -#: library/stdtypes.rst:2141 +#: library/stdtypes.rst:2142 msgid "Carriage Return" msgstr "Satır Başına Alma" -#: library/stdtypes.rst:2143 +#: library/stdtypes.rst:2144 msgid "``\\r\\n``" msgstr "``\\r\\n``" -#: library/stdtypes.rst:2143 +#: library/stdtypes.rst:2144 msgid "Carriage Return + Line Feed" msgstr "Satır Başına Alma + Satır Atlama" -#: library/stdtypes.rst:2145 +#: library/stdtypes.rst:2146 msgid "``\\v`` or ``\\x0b``" msgstr "``\\v`` or ``\\x0b``" -#: library/stdtypes.rst:2145 +#: library/stdtypes.rst:2146 msgid "Line Tabulation" msgstr "Satır Tablolama" -#: library/stdtypes.rst:2147 +#: library/stdtypes.rst:2148 msgid "``\\f`` or ``\\x0c``" msgstr "``\\f`` or ``\\x0c``" -#: library/stdtypes.rst:2147 +#: library/stdtypes.rst:2148 msgid "Form Feed" msgstr "Form Besleme" -#: library/stdtypes.rst:2149 +#: library/stdtypes.rst:2150 msgid "``\\x1c``" msgstr "``\\x1c``" -#: library/stdtypes.rst:2149 +#: library/stdtypes.rst:2150 msgid "File Separator" msgstr "Dosya Ayırıcı" -#: library/stdtypes.rst:2151 +#: library/stdtypes.rst:2152 msgid "``\\x1d``" msgstr "``\\x1d``" -#: library/stdtypes.rst:2151 +#: library/stdtypes.rst:2152 msgid "Group Separator" msgstr "Grup Ayırıcı" -#: library/stdtypes.rst:2153 +#: library/stdtypes.rst:2154 msgid "``\\x1e``" msgstr "``\\x1e``" -#: library/stdtypes.rst:2153 +#: library/stdtypes.rst:2154 msgid "Record Separator" msgstr "Kayıt Ayırıcı" -#: library/stdtypes.rst:2155 +#: library/stdtypes.rst:2156 msgid "``\\x85``" msgstr "``\\x85``" -#: library/stdtypes.rst:2155 +#: library/stdtypes.rst:2156 msgid "Next Line (C1 Control Code)" msgstr "Yeni Satır (C1 Denetim Kodu)" -#: library/stdtypes.rst:2157 +#: library/stdtypes.rst:2158 msgid "``\\u2028``" msgstr "``\\u2028``" -#: library/stdtypes.rst:2157 +#: library/stdtypes.rst:2158 msgid "Line Separator" msgstr "Satır Ayrıcı" -#: library/stdtypes.rst:2159 +#: library/stdtypes.rst:2160 msgid "``\\u2029``" msgstr "``\\u2029``" -#: library/stdtypes.rst:2159 +#: library/stdtypes.rst:2160 msgid "Paragraph Separator" msgstr "Paragraf Ayırıcı" -#: library/stdtypes.rst:2164 +#: library/stdtypes.rst:2165 msgid "``\\v`` and ``\\f`` added to list of line boundaries." msgstr "``\\v`` ve ``\\f`` satır sınırlarına eklenir." -#: library/stdtypes.rst:2173 +#: library/stdtypes.rst:2174 msgid "" "Unlike :meth:`~str.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " @@ -3453,11 +3457,11 @@ msgstr "" "farklı olarak, bu yöntem boş dize için boş bir liste döndürür ve bir " "terminal satır sonu fazladan bir satır ile sonuçlanmaz::" -#: library/stdtypes.rst:2182 +#: library/stdtypes.rst:2183 msgid "For comparison, ``split('\\n')`` gives::" msgstr "Kıyaslayacak olursak ``split(‘\\n’)`` şu değeri verir::" -#: library/stdtypes.rst:2192 +#: library/stdtypes.rst:2193 msgid "" "Return ``True`` if string starts with the *prefix*, otherwise return " "``False``. *prefix* can also be a tuple of prefixes to look for. With " @@ -3469,7 +3473,7 @@ msgstr "" "İsteğe bağlı *start* ile, o konumdan başlayan dizeyi sınar. İsteğe bağlı " "*end* ile, dizeyi o konumda karşılaştırmayı durdurur." -#: library/stdtypes.rst:2200 +#: library/stdtypes.rst:2201 msgid "" "Return a copy of the string with the leading and trailing characters " "removed. The *chars* argument is a string specifying the set of characters " @@ -3484,7 +3488,7 @@ msgstr "" "veya son ek değildir; bunun yerine, değerlerinin tüm kombinasyonları " "çıkarılır::" -#: library/stdtypes.rst:2211 +#: library/stdtypes.rst:2212 msgid "" "The outermost leading and trailing *chars* argument values are stripped from " "the string. Characters are removed from the leading end until reaching a " @@ -3496,7 +3500,7 @@ msgstr "" "karakterine ulaşılana kadar önde gelen uçtan çıkarılır. Benzer bir işlem son " "uçta da gerçekleşir. Örneğin::" -#: library/stdtypes.rst:2224 +#: library/stdtypes.rst:2225 msgid "" "Return a copy of the string with uppercase characters converted to lowercase " "and vice versa. Note that it is not necessarily true that ``s.swapcase()." @@ -3506,7 +3510,7 @@ msgstr "" "dizenin bir kopyasını döndürür. ``s.swapcase().swapcase() == s`` ifadesinin " "mutlaka doğru olması gerekmediğine dikkat edin." -#: library/stdtypes.rst:2231 +#: library/stdtypes.rst:2232 msgid "" "Return a titlecased version of the string where words start with an " "uppercase character and the remaining characters are lowercase." @@ -3514,7 +3518,7 @@ msgstr "" "Sözcüklerin büyük harfle başladığı ve kalan karakterlerin küçük harf olduğu " "dizenin başlıklandırılmış bir sürümünü döndürür." -#: library/stdtypes.rst:3458 +#: library/stdtypes.rst:3459 msgid "" "The algorithm uses a simple language-independent definition of a word as " "groups of consecutive letters. The definition works in many contexts but it " @@ -3526,13 +3530,13 @@ msgstr "" "kısaltmalar ve iyeliklerdeki kesme işaretlerinin kelime sınırları " "oluşturduğu anlamına gelir ve bu istenen sonuç olmayabilir::" -#: library/stdtypes.rst:2247 +#: library/stdtypes.rst:2248 msgid "" "The :func:`string.capwords` function does not have this problem, as it " "splits words on spaces only." msgstr "" -#: library/stdtypes.rst:2250 +#: library/stdtypes.rst:2251 #, fuzzy msgid "" "Alternatively, a workaround for apostrophes can be constructed using regular " @@ -3541,7 +3545,7 @@ msgstr "" "Alternatif olarak, kesme işaretleri için geçici bir çözüm düzenli ifadeler " "kullanılarak oluşturulabilir::" -#: library/stdtypes.rst:2265 +#: library/stdtypes.rst:2266 #, fuzzy msgid "" "Return a copy of the string in which each character has been mapped through " @@ -3563,19 +3567,19 @@ msgstr "" "veya karakteri kendisiyle eşlemek için bir :exc:`LookupError` istisnası " "oluşturmak." -#: library/stdtypes.rst:2274 +#: library/stdtypes.rst:2275 msgid "" "You can use :meth:`str.maketrans` to create a translation map from character-" "to-character mappings in different formats." msgstr "" -#: library/stdtypes.rst:2277 +#: library/stdtypes.rst:2278 msgid "" "See also the :mod:`codecs` module for a more flexible approach to custom " "character mappings." msgstr "" -#: library/stdtypes.rst:2283 +#: library/stdtypes.rst:2284 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "uppercase. Note that ``s.upper().isupper()`` might be ``False`` if ``s`` " @@ -3584,7 +3588,7 @@ msgid "" "titlecase)." msgstr "" -#: library/stdtypes.rst:2289 +#: library/stdtypes.rst:2290 #, fuzzy msgid "" "The uppercasing algorithm used is `described in section 3.13 'Default Case " @@ -3593,7 +3597,7 @@ msgid "" msgstr "" "Harf büyütme algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:2296 +#: library/stdtypes.rst:2297 msgid "" "Return a copy of the string left filled with ASCII ``'0'`` digits to make a " "string of length *width*. A leading sign prefix (``'+'``/``'-'``) is handled " @@ -3601,11 +3605,11 @@ msgid "" "original string is returned if *width* is less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2314 +#: library/stdtypes.rst:2315 msgid "``printf``-style String Formatting" msgstr "" -#: library/stdtypes.rst:2327 +#: library/stdtypes.rst:2328 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -3616,7 +3620,7 @@ msgid "" "or extensibility." msgstr "" -#: library/stdtypes.rst:2335 +#: library/stdtypes.rst:2336 msgid "" "String objects have one unique built-in operation: the ``%`` operator " "(modulo). This is also known as the string *formatting* or *interpolation* " @@ -3626,7 +3630,7 @@ msgid "" "in the C language." msgstr "" -#: library/stdtypes.rst:2341 +#: library/stdtypes.rst:2342 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -3634,36 +3638,36 @@ msgid "" "example, a dictionary)." msgstr "" -#: library/stdtypes.rst:3569 +#: library/stdtypes.rst:3570 msgid "" "A conversion specifier contains two or more characters and has the following " "components, which must occur in this order:" msgstr "" -#: library/stdtypes.rst:3572 +#: library/stdtypes.rst:3573 msgid "The ``'%'`` character, which marks the start of the specifier." msgstr "" -#: library/stdtypes.rst:3574 +#: library/stdtypes.rst:3575 msgid "" "Mapping key (optional), consisting of a parenthesised sequence of characters " "(for example, ``(somename)``)." msgstr "" -#: library/stdtypes.rst:3577 +#: library/stdtypes.rst:3578 msgid "" "Conversion flags (optional), which affect the result of some conversion " "types." msgstr "" -#: library/stdtypes.rst:3580 +#: library/stdtypes.rst:3581 msgid "" "Minimum field width (optional). If specified as an ``'*'`` (asterisk), the " "actual width is read from the next element of the tuple in *values*, and the " "object to convert comes after the minimum field width and optional precision." msgstr "" -#: library/stdtypes.rst:3584 +#: library/stdtypes.rst:3585 msgid "" "Precision (optional), given as a ``'.'`` (dot) followed by the precision. " "If specified as ``'*'`` (an asterisk), the actual precision is read from the " @@ -3671,15 +3675,15 @@ msgid "" "the precision." msgstr "" -#: library/stdtypes.rst:3589 +#: library/stdtypes.rst:3590 msgid "Length modifier (optional)." msgstr "" -#: library/stdtypes.rst:3591 +#: library/stdtypes.rst:3592 msgid "Conversion type." msgstr "" -#: library/stdtypes.rst:2375 +#: library/stdtypes.rst:2376 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the string *must* include a parenthesised mapping key into that " @@ -3687,277 +3691,277 @@ msgid "" "selects the value to be formatted from the mapping. For example:" msgstr "" -#: library/stdtypes.rst:3602 +#: library/stdtypes.rst:3603 msgid "" "In this case no ``*`` specifiers may occur in a format (since they require a " "sequential parameter list)." msgstr "" -#: library/stdtypes.rst:3605 +#: library/stdtypes.rst:3606 msgid "The conversion flag characters are:" msgstr "" -#: library/stdtypes.rst:3614 +#: library/stdtypes.rst:3615 msgid "Flag" msgstr "" -#: library/stdtypes.rst:3616 +#: library/stdtypes.rst:3617 msgid "``'#'``" msgstr "" -#: library/stdtypes.rst:3616 +#: library/stdtypes.rst:3617 msgid "" "The value conversion will use the \"alternate form\" (where defined below)." msgstr "" -#: library/stdtypes.rst:3619 +#: library/stdtypes.rst:3620 msgid "``'0'``" msgstr "" -#: library/stdtypes.rst:3619 +#: library/stdtypes.rst:3620 msgid "The conversion will be zero padded for numeric values." msgstr "" -#: library/stdtypes.rst:3621 +#: library/stdtypes.rst:3622 msgid "``'-'``" msgstr "" -#: library/stdtypes.rst:3621 +#: library/stdtypes.rst:3622 msgid "" "The converted value is left adjusted (overrides the ``'0'`` conversion if " "both are given)." msgstr "" -#: library/stdtypes.rst:3624 +#: library/stdtypes.rst:3625 msgid "``' '``" msgstr "" -#: library/stdtypes.rst:3624 +#: library/stdtypes.rst:3625 msgid "" "(a space) A blank should be left before a positive number (or empty string) " "produced by a signed conversion." msgstr "" -#: library/stdtypes.rst:3627 +#: library/stdtypes.rst:3628 msgid "``'+'``" msgstr "" -#: library/stdtypes.rst:3627 +#: library/stdtypes.rst:3628 msgid "" "A sign character (``'+'`` or ``'-'``) will precede the conversion (overrides " "a \"space\" flag)." msgstr "" -#: library/stdtypes.rst:3631 +#: library/stdtypes.rst:3632 msgid "" "A length modifier (``h``, ``l``, or ``L``) may be present, but is ignored as " "it is not necessary for Python -- so e.g. ``%ld`` is identical to ``%d``." msgstr "" -#: library/stdtypes.rst:3634 +#: library/stdtypes.rst:3635 msgid "The conversion types are:" msgstr "" -#: library/stdtypes.rst:3637 +#: library/stdtypes.rst:3638 msgid "Conversion" msgstr "" -#: library/stdtypes.rst:3639 +#: library/stdtypes.rst:3640 msgid "``'d'``" msgstr "" -#: library/stdtypes.rst:2423 library/stdtypes.rst:3641 +#: library/stdtypes.rst:2424 library/stdtypes.rst:3642 msgid "Signed integer decimal." msgstr "" -#: library/stdtypes.rst:3641 +#: library/stdtypes.rst:3642 msgid "``'i'``" msgstr "" -#: library/stdtypes.rst:3643 +#: library/stdtypes.rst:3644 msgid "``'o'``" msgstr "" -#: library/stdtypes.rst:3643 +#: library/stdtypes.rst:3644 msgid "Signed octal value." msgstr "" -#: library/stdtypes.rst:3645 +#: library/stdtypes.rst:3646 msgid "``'u'``" msgstr "" -#: library/stdtypes.rst:3645 +#: library/stdtypes.rst:3646 msgid "Obsolete type -- it is identical to ``'d'``." msgstr "" -#: library/stdtypes.rst:3647 +#: library/stdtypes.rst:3648 msgid "``'x'``" msgstr "" -#: library/stdtypes.rst:3647 +#: library/stdtypes.rst:3648 msgid "Signed hexadecimal (lowercase)." msgstr "" -#: library/stdtypes.rst:3649 +#: library/stdtypes.rst:3650 msgid "``'X'``" msgstr "" -#: library/stdtypes.rst:3649 +#: library/stdtypes.rst:3650 msgid "Signed hexadecimal (uppercase)." msgstr "" -#: library/stdtypes.rst:3651 +#: library/stdtypes.rst:3652 msgid "``'e'``" msgstr "" -#: library/stdtypes.rst:3651 +#: library/stdtypes.rst:3652 msgid "Floating point exponential format (lowercase)." msgstr "" -#: library/stdtypes.rst:3653 +#: library/stdtypes.rst:3654 msgid "``'E'``" msgstr "" -#: library/stdtypes.rst:3653 +#: library/stdtypes.rst:3654 msgid "Floating point exponential format (uppercase)." msgstr "" -#: library/stdtypes.rst:3655 +#: library/stdtypes.rst:3656 msgid "``'f'``" msgstr "" -#: library/stdtypes.rst:2439 library/stdtypes.rst:3657 +#: library/stdtypes.rst:2440 library/stdtypes.rst:3658 msgid "Floating point decimal format." msgstr "" -#: library/stdtypes.rst:3657 +#: library/stdtypes.rst:3658 msgid "``'F'``" msgstr "" -#: library/stdtypes.rst:3659 +#: library/stdtypes.rst:3660 msgid "``'g'``" msgstr "" -#: library/stdtypes.rst:3659 +#: library/stdtypes.rst:3660 msgid "" "Floating point format. Uses lowercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." msgstr "" -#: library/stdtypes.rst:3663 +#: library/stdtypes.rst:3664 msgid "``'G'``" msgstr "" -#: library/stdtypes.rst:3663 +#: library/stdtypes.rst:3664 msgid "" "Floating point format. Uses uppercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." msgstr "" -#: library/stdtypes.rst:3667 +#: library/stdtypes.rst:3668 msgid "``'c'``" msgstr "" -#: library/stdtypes.rst:2449 +#: library/stdtypes.rst:2450 msgid "Single character (accepts integer or single character string)." msgstr "" -#: library/stdtypes.rst:3680 +#: library/stdtypes.rst:3681 msgid "``'r'``" msgstr "" -#: library/stdtypes.rst:2452 +#: library/stdtypes.rst:2453 msgid "String (converts any Python object using :func:`repr`)." msgstr "" -#: library/stdtypes.rst:3674 +#: library/stdtypes.rst:3675 msgid "``'s'``" msgstr "" -#: library/stdtypes.rst:2455 +#: library/stdtypes.rst:2456 msgid "String (converts any Python object using :func:`str`)." msgstr "" -#: library/stdtypes.rst:3677 +#: library/stdtypes.rst:3678 msgid "``'a'``" msgstr "" -#: library/stdtypes.rst:2458 +#: library/stdtypes.rst:2459 msgid "String (converts any Python object using :func:`ascii`)." msgstr "" -#: library/stdtypes.rst:3683 +#: library/stdtypes.rst:3684 msgid "``'%'``" msgstr "" -#: library/stdtypes.rst:3683 +#: library/stdtypes.rst:3684 msgid "No argument is converted, results in a ``'%'`` character in the result." msgstr "" -#: library/stdtypes.rst:3690 +#: library/stdtypes.rst:3691 msgid "" "The alternate form causes a leading octal specifier (``'0o'``) to be " "inserted before the first digit." msgstr "" -#: library/stdtypes.rst:3694 +#: library/stdtypes.rst:3695 msgid "" "The alternate form causes a leading ``'0x'`` or ``'0X'`` (depending on " "whether the ``'x'`` or ``'X'`` format was used) to be inserted before the " "first digit." msgstr "" -#: library/stdtypes.rst:3698 +#: library/stdtypes.rst:3699 msgid "" "The alternate form causes the result to always contain a decimal point, even " "if no digits follow it." msgstr "" -#: library/stdtypes.rst:3701 +#: library/stdtypes.rst:3702 msgid "" "The precision determines the number of digits after the decimal point and " "defaults to 6." msgstr "" -#: library/stdtypes.rst:3705 +#: library/stdtypes.rst:3706 msgid "" "The alternate form causes the result to always contain a decimal point, and " "trailing zeroes are not removed as they would otherwise be." msgstr "" -#: library/stdtypes.rst:3708 +#: library/stdtypes.rst:3709 msgid "" "The precision determines the number of significant digits before and after " "the decimal point and defaults to 6." msgstr "" -#: library/stdtypes.rst:3712 +#: library/stdtypes.rst:3713 msgid "If precision is ``N``, the output is truncated to ``N`` characters." msgstr "" -#: library/stdtypes.rst:3721 +#: library/stdtypes.rst:3722 msgid "See :pep:`237`." msgstr "" -#: library/stdtypes.rst:2495 +#: library/stdtypes.rst:2496 msgid "" "Since Python strings have an explicit length, ``%s`` conversions do not " "assume that ``'\\0'`` is the end of the string." msgstr "" -#: library/stdtypes.rst:2500 +#: library/stdtypes.rst:2501 msgid "" "``%f`` conversions for numbers whose absolute value is over 1e50 are no " "longer replaced by ``%g`` conversions." msgstr "" -#: library/stdtypes.rst:2511 +#: library/stdtypes.rst:2512 msgid "" "Binary Sequence Types --- :class:`bytes`, :class:`bytearray`, :class:" "`memoryview`" msgstr "" -#: library/stdtypes.rst:2519 +#: library/stdtypes.rst:2520 msgid "" "The core built-in types for manipulating binary data are :class:`bytes` and :" "class:`bytearray`. They are supported by :class:`memoryview` which uses the :" @@ -3965,17 +3969,17 @@ msgid "" "objects without needing to make a copy." msgstr "" -#: library/stdtypes.rst:2524 +#: library/stdtypes.rst:2525 msgid "" "The :mod:`array` module supports efficient storage of basic data types like " "32-bit integers and IEEE754 double-precision floating values." msgstr "" -#: library/stdtypes.rst:2530 +#: library/stdtypes.rst:2531 msgid "Bytes Objects" msgstr "" -#: library/stdtypes.rst:2534 +#: library/stdtypes.rst:2535 msgid "" "Bytes objects are immutable sequences of single bytes. Since many major " "binary protocols are based on the ASCII text encoding, bytes objects offer " @@ -3983,41 +3987,41 @@ msgid "" "and are closely related to string objects in a variety of other ways." msgstr "" -#: library/stdtypes.rst:2541 +#: library/stdtypes.rst:2542 msgid "" "Firstly, the syntax for bytes literals is largely the same as that for " "string literals, except that a ``b`` prefix is added:" msgstr "" -#: library/stdtypes.rst:2544 +#: library/stdtypes.rst:2545 msgid "Single quotes: ``b'still allows embedded \"double\" quotes'``" msgstr "" -#: library/stdtypes.rst:2545 +#: library/stdtypes.rst:2546 #, fuzzy msgid "Double quotes: ``b\"still allows embedded 'single' quotes\"``" msgstr "Çift tırnak: ``b\"katıştırılmış 'tek' tırnaklara izin verir\"``" -#: library/stdtypes.rst:2546 +#: library/stdtypes.rst:2547 msgid "" "Triple quoted: ``b'''3 single quotes'''``, ``b\"\"\"3 double quotes\"\"\"``" msgstr "" -#: library/stdtypes.rst:2548 +#: library/stdtypes.rst:2549 msgid "" "Only ASCII characters are permitted in bytes literals (regardless of the " "declared source code encoding). Any binary values over 127 must be entered " "into bytes literals using the appropriate escape sequence." msgstr "" -#: library/stdtypes.rst:2552 +#: library/stdtypes.rst:2553 msgid "" "As with string literals, bytes literals may also use a ``r`` prefix to " "disable processing of escape sequences. See :ref:`strings` for more about " "the various forms of bytes literal, including supported escape sequences." msgstr "" -#: library/stdtypes.rst:2556 +#: library/stdtypes.rst:2557 msgid "" "While bytes literals and representations are based on ASCII text, bytes " "objects actually behave like immutable sequences of integers, with each " @@ -4030,29 +4034,29 @@ msgid "" "compatible will usually lead to data corruption)." msgstr "" -#: library/stdtypes.rst:2566 +#: library/stdtypes.rst:2567 msgid "" "In addition to the literal forms, bytes objects can be created in a number " "of other ways:" msgstr "" -#: library/stdtypes.rst:2569 +#: library/stdtypes.rst:2570 msgid "A zero-filled bytes object of a specified length: ``bytes(10)``" msgstr "" -#: library/stdtypes.rst:2570 +#: library/stdtypes.rst:2571 msgid "From an iterable of integers: ``bytes(range(20))``" msgstr "" -#: library/stdtypes.rst:2571 +#: library/stdtypes.rst:2572 msgid "Copying existing binary data via the buffer protocol: ``bytes(obj)``" msgstr "" -#: library/stdtypes.rst:2573 +#: library/stdtypes.rst:2574 msgid "Also see the :ref:`bytes ` built-in." msgstr "" -#: library/stdtypes.rst:2575 +#: library/stdtypes.rst:2576 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4060,32 +4064,32 @@ msgid "" "that format:" msgstr "" -#: library/stdtypes.rst:2581 +#: library/stdtypes.rst:2582 msgid "" "This :class:`bytes` class method returns a bytes object, decoding the given " "string object. The string must contain two hexadecimal digits per byte, " "with ASCII whitespace being ignored." msgstr "" -#: library/stdtypes.rst:2588 +#: library/stdtypes.rst:2589 msgid "" ":meth:`bytes.fromhex` now skips all ASCII whitespace in the string, not just " "spaces." msgstr "" -#: library/stdtypes.rst:2592 +#: library/stdtypes.rst:2593 msgid "" "A reverse conversion function exists to transform a bytes object into its " "hexadecimal representation." msgstr "" -#: library/stdtypes.rst:2682 +#: library/stdtypes.rst:2683 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the instance." msgstr "" -#: library/stdtypes.rst:2603 +#: library/stdtypes.rst:2604 msgid "" "If you want to make the hex string easier to read, you can specify a single " "character separator *sep* parameter to include in the output. By default, " @@ -4094,13 +4098,13 @@ msgid "" "the separator position from the right, negative values from the left." msgstr "" -#: library/stdtypes.rst:2620 +#: library/stdtypes.rst:2621 msgid "" ":meth:`bytes.hex` now supports optional *sep* and *bytes_per_sep* parameters " "to insert separators between bytes in the hex output." msgstr "" -#: library/stdtypes.rst:2624 +#: library/stdtypes.rst:2625 msgid "" "Since bytes objects are sequences of integers (akin to a tuple), for a bytes " "object *b*, ``b[0]`` will be an integer, while ``b[0:1]`` will be a bytes " @@ -4108,58 +4112,58 @@ msgid "" "and slicing will produce a string of length 1)" msgstr "" -#: library/stdtypes.rst:2629 +#: library/stdtypes.rst:2630 msgid "" "The representation of bytes objects uses the literal format (``b'...'``) " "since it is often more useful than e.g. ``bytes([46, 46, 46])``. You can " "always convert a bytes object into a list of integers using ``list(b)``." msgstr "" -#: library/stdtypes.rst:2637 +#: library/stdtypes.rst:2638 msgid "Bytearray Objects" msgstr "" -#: library/stdtypes.rst:2641 +#: library/stdtypes.rst:2642 msgid "" ":class:`bytearray` objects are a mutable counterpart to :class:`bytes` " "objects." msgstr "" -#: library/stdtypes.rst:2646 +#: library/stdtypes.rst:2647 msgid "" "There is no dedicated literal syntax for bytearray objects, instead they are " "always created by calling the constructor:" msgstr "" -#: library/stdtypes.rst:2649 +#: library/stdtypes.rst:2650 msgid "Creating an empty instance: ``bytearray()``" msgstr "" -#: library/stdtypes.rst:2650 +#: library/stdtypes.rst:2651 msgid "Creating a zero-filled instance with a given length: ``bytearray(10)``" msgstr "" -#: library/stdtypes.rst:2651 +#: library/stdtypes.rst:2652 msgid "From an iterable of integers: ``bytearray(range(20))``" msgstr "" -#: library/stdtypes.rst:2652 +#: library/stdtypes.rst:2653 msgid "" "Copying existing binary data via the buffer protocol: ``bytearray(b'Hi!')``" msgstr "" -#: library/stdtypes.rst:2654 +#: library/stdtypes.rst:2655 msgid "" "As bytearray objects are mutable, they support the :ref:`mutable ` sequence operations in addition to the common bytes and bytearray " "operations described in :ref:`bytes-methods`." msgstr "" -#: library/stdtypes.rst:2658 +#: library/stdtypes.rst:2659 msgid "Also see the :ref:`bytearray ` built-in." msgstr "" -#: library/stdtypes.rst:2660 +#: library/stdtypes.rst:2661 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4167,33 +4171,33 @@ msgid "" "in that format:" msgstr "" -#: library/stdtypes.rst:2666 +#: library/stdtypes.rst:2667 msgid "" "This :class:`bytearray` class method returns bytearray object, decoding the " "given string object. The string must contain two hexadecimal digits per " "byte, with ASCII whitespace being ignored." msgstr "" -#: library/stdtypes.rst:2673 +#: library/stdtypes.rst:2674 msgid "" ":meth:`bytearray.fromhex` now skips all ASCII whitespace in the string, not " "just spaces." msgstr "" -#: library/stdtypes.rst:2677 +#: library/stdtypes.rst:2678 msgid "" "A reverse conversion function exists to transform a bytearray object into " "its hexadecimal representation." msgstr "" -#: library/stdtypes.rst:2690 +#: library/stdtypes.rst:2691 msgid "" "Similar to :meth:`bytes.hex`, :meth:`bytearray.hex` now supports optional " "*sep* and *bytes_per_sep* parameters to insert separators between bytes in " "the hex output." msgstr "" -#: library/stdtypes.rst:2695 +#: library/stdtypes.rst:2696 msgid "" "Since bytearray objects are sequences of integers (akin to a list), for a " "bytearray object *b*, ``b[0]`` will be an integer, while ``b[0:1]`` will be " @@ -4201,7 +4205,7 @@ msgid "" "both indexing and slicing will produce a string of length 1)" msgstr "" -#: library/stdtypes.rst:2700 +#: library/stdtypes.rst:2701 msgid "" "The representation of bytearray objects uses the bytes literal format " "(``bytearray(b'...')``) since it is often more useful than e.g. " @@ -4209,11 +4213,11 @@ msgid "" "a list of integers using ``list(b)``." msgstr "" -#: library/stdtypes.rst:2709 +#: library/stdtypes.rst:2710 msgid "Bytes and Bytearray Operations" msgstr "" -#: library/stdtypes.rst:2714 +#: library/stdtypes.rst:2715 msgid "" "Both bytes and bytearray objects support the :ref:`common ` " "sequence operations. They interoperate not just with operands of the same " @@ -4222,98 +4226,98 @@ msgid "" "return type of the result may depend on the order of operands." msgstr "" -#: library/stdtypes.rst:2722 +#: library/stdtypes.rst:2723 msgid "" "The methods on bytes and bytearray objects don't accept strings as their " "arguments, just as the methods on strings don't accept bytes as their " "arguments. For example, you have to write::" msgstr "" -#: library/stdtypes.rst:2729 +#: library/stdtypes.rst:2730 msgid "and::" msgstr "" -#: library/stdtypes.rst:2734 +#: library/stdtypes.rst:2735 msgid "" "Some bytes and bytearray operations assume the use of ASCII compatible " "binary formats, and hence should be avoided when working with arbitrary " "binary data. These restrictions are covered below." msgstr "" -#: library/stdtypes.rst:2739 +#: library/stdtypes.rst:2740 msgid "" "Using these ASCII based operations to manipulate binary data that is not " "stored in an ASCII based format may lead to data corruption." msgstr "" -#: library/stdtypes.rst:2742 +#: library/stdtypes.rst:2743 msgid "" "The following methods on bytes and bytearray objects can be used with " "arbitrary binary data." msgstr "" -#: library/stdtypes.rst:2748 +#: library/stdtypes.rst:2749 msgid "" "Return the number of non-overlapping occurrences of subsequence *sub* in the " "range [*start*, *end*]. Optional arguments *start* and *end* are " "interpreted as in slice notation." msgstr "" -#: library/stdtypes.rst:2857 library/stdtypes.rst:2945 -#: library/stdtypes.rst:2958 +#: library/stdtypes.rst:2858 library/stdtypes.rst:2946 +#: library/stdtypes.rst:2959 msgid "" "The subsequence to search for may be any :term:`bytes-like object` or an " "integer in the range 0 to 255." msgstr "" -#: library/stdtypes.rst:2755 +#: library/stdtypes.rst:2756 msgid "" "If *sub* is empty, returns the number of empty slices between characters " "which is the length of the bytes object plus one." msgstr "" -#: library/stdtypes.rst:2869 library/stdtypes.rst:2948 -#: library/stdtypes.rst:2961 +#: library/stdtypes.rst:2870 library/stdtypes.rst:2949 +#: library/stdtypes.rst:2962 msgid "Also accept an integer in the range 0 to 255 as the subsequence." msgstr "" -#: library/stdtypes.rst:2765 +#: library/stdtypes.rst:2766 msgid "" "If the binary data starts with the *prefix* string, return " "``bytes[len(prefix):]``. Otherwise, return a copy of the original binary " "data::" msgstr "" -#: library/stdtypes.rst:2774 +#: library/stdtypes.rst:2775 msgid "The *prefix* may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2800 library/stdtypes.rst:3026 -#: library/stdtypes.rst:3071 library/stdtypes.rst:3127 -#: library/stdtypes.rst:3215 library/stdtypes.rst:3382 -#: library/stdtypes.rst:3480 library/stdtypes.rst:3523 -#: library/stdtypes.rst:3725 +#: library/stdtypes.rst:2801 library/stdtypes.rst:3027 +#: library/stdtypes.rst:3072 library/stdtypes.rst:3128 +#: library/stdtypes.rst:3216 library/stdtypes.rst:3383 +#: library/stdtypes.rst:3481 library/stdtypes.rst:3524 +#: library/stdtypes.rst:3726 msgid "" "The bytearray version of this method does *not* operate in place - it always " "produces a new object, even if no changes were made." msgstr "" -#: library/stdtypes.rst:2787 +#: library/stdtypes.rst:2788 msgid "" "If the binary data ends with the *suffix* string and that *suffix* is not " "empty, return ``bytes[:-len(suffix)]``. Otherwise, return a copy of the " "original binary data::" msgstr "" -#: library/stdtypes.rst:2796 +#: library/stdtypes.rst:2797 msgid "The *suffix* may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2809 +#: library/stdtypes.rst:2810 msgid "Return the bytes decoded to a :class:`str`." msgstr "" -#: library/stdtypes.rst:2814 +#: library/stdtypes.rst:2815 msgid "" "*errors* controls how decoding errors are handled. If ``'strict'`` (the " "default), a :exc:`UnicodeError` exception is raised. Other possible values " @@ -4321,21 +4325,21 @@ msgid "" "`codecs.register_error`. See :ref:`error-handlers` for details." msgstr "" -#: library/stdtypes.rst:2820 +#: library/stdtypes.rst:2821 msgid "" "For performance reasons, the value of *errors* is not checked for validity " "unless a decoding error actually occurs, :ref:`devmode` is enabled or a :ref:" "`debug build ` is used." msgstr "" -#: library/stdtypes.rst:2826 +#: library/stdtypes.rst:2827 msgid "" "Passing the *encoding* argument to :class:`str` allows decoding any :term:" "`bytes-like object` directly, without needing to make a temporary :class:`!" "bytes` or :class:`!bytearray` object." msgstr "" -#: library/stdtypes.rst:2841 +#: library/stdtypes.rst:2842 msgid "" "Return ``True`` if the binary data ends with the specified *suffix*, " "otherwise return ``False``. *suffix* can also be a tuple of suffixes to " @@ -4343,11 +4347,11 @@ msgid "" "optional *end*, stop comparing at that position." msgstr "" -#: library/stdtypes.rst:2846 +#: library/stdtypes.rst:2847 msgid "The suffix(es) to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2852 +#: library/stdtypes.rst:2853 msgid "" "Return the lowest index in the data where the subsequence *sub* is found, " "such that *sub* is contained in the slice ``s[start:end]``. Optional " @@ -4355,20 +4359,20 @@ msgid "" "``-1`` if *sub* is not found." msgstr "" -#: library/stdtypes.rst:2862 +#: library/stdtypes.rst:2863 msgid "" "The :meth:`~bytes.find` method should be used only if you need to know the " "position of *sub*. To check if *sub* is a substring or not, use the :" "keyword:`in` operator::" msgstr "" -#: library/stdtypes.rst:2876 +#: library/stdtypes.rst:2877 msgid "" "Like :meth:`~bytes.find`, but raise :exc:`ValueError` when the subsequence " "is not found." msgstr "" -#: library/stdtypes.rst:2889 +#: library/stdtypes.rst:2890 msgid "" "Return a bytes or bytearray object which is the concatenation of the binary " "data sequences in *iterable*. A :exc:`TypeError` will be raised if there " @@ -4378,7 +4382,7 @@ msgid "" "method." msgstr "" -#: library/stdtypes.rst:2900 +#: library/stdtypes.rst:2901 msgid "" "This static method returns a translation table usable for :meth:`bytes." "translate` that will map each character in *from* into the character at the " @@ -4386,7 +4390,7 @@ msgid "" "objects ` and have the same length." msgstr "" -#: library/stdtypes.rst:2911 +#: library/stdtypes.rst:2912 msgid "" "Split the sequence at the first occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself or its " @@ -4395,24 +4399,24 @@ msgid "" "by two empty bytes or bytearray objects." msgstr "" -#: library/stdtypes.rst:2975 +#: library/stdtypes.rst:2976 msgid "The separator to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2924 +#: library/stdtypes.rst:2925 msgid "" "Return a copy of the sequence with all occurrences of subsequence *old* " "replaced by *new*. If the optional argument *count* is given, only the " "first *count* occurrences are replaced." msgstr "" -#: library/stdtypes.rst:2928 +#: library/stdtypes.rst:2929 msgid "" "The subsequence to search for and its replacement may be any :term:`bytes-" "like object`." msgstr "" -#: library/stdtypes.rst:2940 +#: library/stdtypes.rst:2941 msgid "" "Return the highest index in the sequence where the subsequence *sub* is " "found, such that *sub* is contained within ``s[start:end]``. Optional " @@ -4420,13 +4424,13 @@ msgid "" "``-1`` on failure." msgstr "" -#: library/stdtypes.rst:2955 +#: library/stdtypes.rst:2956 msgid "" "Like :meth:`~bytes.rfind` but raises :exc:`ValueError` when the subsequence " "*sub* is not found." msgstr "" -#: library/stdtypes.rst:2968 +#: library/stdtypes.rst:2969 msgid "" "Split the sequence at the last occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself or its " @@ -4435,7 +4439,7 @@ msgid "" "followed by a copy of the original sequence." msgstr "" -#: library/stdtypes.rst:2981 +#: library/stdtypes.rst:2982 msgid "" "Return ``True`` if the binary data starts with the specified *prefix*, " "otherwise return ``False``. *prefix* can also be a tuple of prefixes to " @@ -4443,11 +4447,11 @@ msgid "" "optional *end*, stop comparing at that position." msgstr "" -#: library/stdtypes.rst:2986 +#: library/stdtypes.rst:2987 msgid "The prefix(es) to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2992 +#: library/stdtypes.rst:2993 msgid "" "Return a copy of the bytes or bytearray object where all bytes occurring in " "the optional argument *delete* are removed, and the remaining bytes have " @@ -4455,22 +4459,22 @@ msgid "" "object of length 256." msgstr "" -#: library/stdtypes.rst:2997 +#: library/stdtypes.rst:2998 msgid "" "You can use the :func:`bytes.maketrans` method to create a translation table." msgstr "" -#: library/stdtypes.rst:3000 +#: library/stdtypes.rst:3001 msgid "" "Set the *table* argument to ``None`` for translations that only delete " "characters::" msgstr "" -#: library/stdtypes.rst:3006 +#: library/stdtypes.rst:3007 msgid "*delete* is now supported as a keyword argument." msgstr "" -#: library/stdtypes.rst:3010 +#: library/stdtypes.rst:3011 msgid "" "The following methods on bytes and bytearray objects have default behaviours " "that assume the use of ASCII compatible binary formats, but can still be " @@ -4479,7 +4483,7 @@ msgid "" "instead produce new objects." msgstr "" -#: library/stdtypes.rst:3019 +#: library/stdtypes.rst:3020 msgid "" "Return a copy of the object centered in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4487,7 +4491,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:3033 +#: library/stdtypes.rst:3034 msgid "" "Return a copy of the object left justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4495,7 +4499,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:3047 +#: library/stdtypes.rst:3048 msgid "" "Return a copy of the sequence with specified leading bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -4505,14 +4509,14 @@ msgid "" "all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3059 +#: library/stdtypes.rst:3060 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`. See :meth:`~bytes.removeprefix` for a method that will remove a " "single prefix string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:3078 +#: library/stdtypes.rst:3079 msgid "" "Return a copy of the object right justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4520,7 +4524,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:3092 +#: library/stdtypes.rst:3093 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are " @@ -4530,7 +4534,7 @@ msgid "" "described in detail below." msgstr "" -#: library/stdtypes.rst:3103 +#: library/stdtypes.rst:3104 msgid "" "Return a copy of the sequence with specified trailing bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -4540,14 +4544,14 @@ msgid "" "all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3115 +#: library/stdtypes.rst:3116 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`. See :meth:`~bytes.removesuffix` for a method that will remove a " "single suffix string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:3134 +#: library/stdtypes.rst:3135 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given and non-negative, at most " @@ -4556,7 +4560,7 @@ msgid "" "limit on the number of splits (all possible splits are made)." msgstr "" -#: library/stdtypes.rst:3140 +#: library/stdtypes.rst:3141 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty subsequences (for example, ``b'1,,2'.split(b',')`` " @@ -4567,7 +4571,7 @@ msgid "" "object being split. The *sep* argument may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:3158 +#: library/stdtypes.rst:3159 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive ASCII whitespace are regarded as a single " @@ -4577,7 +4581,7 @@ msgid "" "without a specified separator returns ``[]``." msgstr "" -#: library/stdtypes.rst:3179 +#: library/stdtypes.rst:3180 msgid "" "Return a copy of the sequence with specified leading and trailing bytes " "removed. The *chars* argument is a binary sequence specifying the set of " @@ -4587,13 +4591,13 @@ msgid "" "a prefix or suffix; rather, all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3192 +#: library/stdtypes.rst:3193 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`." msgstr "" -#: library/stdtypes.rst:3201 +#: library/stdtypes.rst:3202 msgid "" "The following methods on bytes and bytearray objects assume the use of ASCII " "compatible binary formats and should not be applied to arbitrary binary " @@ -4601,14 +4605,14 @@ msgid "" "operate in place, and instead produce new objects." msgstr "" -#: library/stdtypes.rst:3209 +#: library/stdtypes.rst:3210 msgid "" "Return a copy of the sequence with each byte interpreted as an ASCII " "character, and the first byte capitalized and the rest lowercased. Non-ASCII " "byte values are passed through unchanged." msgstr "" -#: library/stdtypes.rst:3222 +#: library/stdtypes.rst:3223 msgid "" "Return a copy of the sequence where all ASCII tab characters are replaced by " "one or more ASCII spaces, depending on the current column and the given tab " @@ -4624,7 +4628,7 @@ msgid "" "by one regardless of how the byte value is represented when printed::" msgstr "" -#: library/stdtypes.rst:3250 +#: library/stdtypes.rst:3251 msgid "" "Return ``True`` if all bytes in the sequence are alphabetical ASCII " "characters or ASCII decimal digits and the sequence is not empty, ``False`` " @@ -4633,7 +4637,7 @@ msgid "" "digits are those byte values in the sequence ``b'0123456789'``." msgstr "" -#: library/stdtypes.rst:3267 +#: library/stdtypes.rst:3268 msgid "" "Return ``True`` if all bytes in the sequence are alphabetic ASCII characters " "and the sequence is not empty, ``False`` otherwise. Alphabetic ASCII " @@ -4641,34 +4645,34 @@ msgid "" "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``." msgstr "" -#: library/stdtypes.rst:3283 +#: library/stdtypes.rst:3284 msgid "" "Return ``True`` if the sequence is empty or all bytes in the sequence are " "ASCII, ``False`` otherwise. ASCII bytes are in the range 0-0x7F." msgstr "" -#: library/stdtypes.rst:3293 +#: library/stdtypes.rst:3294 msgid "" "Return ``True`` if all bytes in the sequence are ASCII decimal digits and " "the sequence is not empty, ``False`` otherwise. ASCII decimal digits are " "those byte values in the sequence ``b'0123456789'``." msgstr "" -#: library/stdtypes.rst:3308 +#: library/stdtypes.rst:3309 msgid "" "Return ``True`` if there is at least one lowercase ASCII character in the " "sequence and no uppercase ASCII characters, ``False`` otherwise." msgstr "" -#: library/stdtypes.rst:3360 library/stdtypes.rst:3426 -#: library/stdtypes.rst:3495 +#: library/stdtypes.rst:3361 library/stdtypes.rst:3427 +#: library/stdtypes.rst:3496 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " "values in the sequence ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``." msgstr "" -#: library/stdtypes.rst:3326 +#: library/stdtypes.rst:3327 msgid "" "Return ``True`` if all bytes in the sequence are ASCII whitespace and the " "sequence is not empty, ``False`` otherwise. ASCII whitespace characters are " @@ -4676,27 +4680,27 @@ msgid "" "newline, carriage return, vertical tab, form feed)." msgstr "" -#: library/stdtypes.rst:3335 +#: library/stdtypes.rst:3336 msgid "" "Return ``True`` if the sequence is ASCII titlecase and the sequence is not " "empty, ``False`` otherwise. See :meth:`bytes.title` for more details on the " "definition of \"titlecase\"." msgstr "" -#: library/stdtypes.rst:3350 +#: library/stdtypes.rst:3351 msgid "" "Return ``True`` if there is at least one uppercase alphabetic ASCII " "character in the sequence and no lowercase ASCII characters, ``False`` " "otherwise." msgstr "" -#: library/stdtypes.rst:3368 +#: library/stdtypes.rst:3369 msgid "" "Return a copy of the sequence with all the uppercase ASCII characters " "converted to their corresponding lowercase counterpart." msgstr "" -#: library/stdtypes.rst:3393 +#: library/stdtypes.rst:3394 msgid "" "Return a list of the lines in the binary sequence, breaking at ASCII line " "boundaries. This method uses the :term:`universal newlines` approach to " @@ -4704,20 +4708,20 @@ msgid "" "*keepends* is given and true." msgstr "" -#: library/stdtypes.rst:3405 +#: library/stdtypes.rst:3406 msgid "" "Unlike :meth:`~bytes.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " "does not result in an extra line::" msgstr "" -#: library/stdtypes.rst:3418 +#: library/stdtypes.rst:3419 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart and vice-versa." msgstr "" -#: library/stdtypes.rst:3430 +#: library/stdtypes.rst:3431 msgid "" "Unlike :func:`str.swapcase()`, it is always the case that ``bin.swapcase()." "swapcase() == bin`` for the binary versions. Case conversions are " @@ -4725,14 +4729,14 @@ msgid "" "Unicode code points." msgstr "" -#: library/stdtypes.rst:3444 +#: library/stdtypes.rst:3445 msgid "" "Return a titlecased version of the binary sequence where words start with an " "uppercase ASCII character and the remaining characters are lowercase. " "Uncased byte values are left unmodified." msgstr "" -#: library/stdtypes.rst:3453 +#: library/stdtypes.rst:3454 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -4740,20 +4744,20 @@ msgid "" "values are uncased." msgstr "" -#: library/stdtypes.rst:3466 +#: library/stdtypes.rst:3467 msgid "" "A workaround for apostrophes can be constructed using regular expressions::" msgstr "" "Kesme işaretleri için geçici bir çözüm düzenli ifadeler kullanılarak " "oluşturulabilir::" -#: library/stdtypes.rst:3487 +#: library/stdtypes.rst:3488 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart." msgstr "" -#: library/stdtypes.rst:3508 +#: library/stdtypes.rst:3509 msgid "" "Return a copy of the sequence left filled with ASCII ``b'0'`` digits to make " "a sequence of length *width*. A leading sign prefix (``b'+'``/ ``b'-'``) is " @@ -4762,11 +4766,11 @@ msgid "" "*width* is less than or equal to ``len(seq)``." msgstr "" -#: library/stdtypes.rst:3530 +#: library/stdtypes.rst:3531 msgid "``printf``-style Bytes Formatting" msgstr "" -#: library/stdtypes.rst:3547 +#: library/stdtypes.rst:3548 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -4774,7 +4778,7 @@ msgid "" "dictionary, wrap it in a tuple." msgstr "" -#: library/stdtypes.rst:3552 +#: library/stdtypes.rst:3553 msgid "" "Bytes objects (``bytes``/``bytearray``) have one unique built-in operation: " "the ``%`` operator (modulo). This is also known as the bytes *formatting* or " @@ -4784,7 +4788,7 @@ msgid "" "func:`sprintf` in the C language." msgstr "" -#: library/stdtypes.rst:3559 +#: library/stdtypes.rst:3560 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -4792,7 +4796,7 @@ msgid "" "example, a dictionary)." msgstr "" -#: library/stdtypes.rst:3593 +#: library/stdtypes.rst:3594 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the bytes object *must* include a parenthesised mapping key into " @@ -4800,73 +4804,73 @@ msgid "" "mapping key selects the value to be formatted from the mapping. For example:" msgstr "" -#: library/stdtypes.rst:3667 +#: library/stdtypes.rst:3668 msgid "Single byte (accepts integer or single byte objects)." msgstr "" -#: library/stdtypes.rst:3670 +#: library/stdtypes.rst:3671 msgid "``'b'``" msgstr "" -#: library/stdtypes.rst:3670 +#: library/stdtypes.rst:3671 msgid "" "Bytes (any object that follows the :ref:`buffer protocol ` or " -"has :meth:`__bytes__`)." +"has :meth:`~object.__bytes__`)." msgstr "" -#: library/stdtypes.rst:3674 +#: library/stdtypes.rst:3675 msgid "" "``'s'`` is an alias for ``'b'`` and should only be used for Python2/3 code " "bases." msgstr "" -#: library/stdtypes.rst:3677 +#: library/stdtypes.rst:3678 msgid "" "Bytes (converts any Python object using ``repr(obj).encode('ascii', " "'backslashreplace')``)." msgstr "" -#: library/stdtypes.rst:3680 +#: library/stdtypes.rst:3681 msgid "" "``'r'`` is an alias for ``'a'`` and should only be used for Python2/3 code " "bases." msgstr "" -#: library/stdtypes.rst:3680 +#: library/stdtypes.rst:3681 msgid "\\(7)" msgstr "" -#: library/stdtypes.rst:3715 +#: library/stdtypes.rst:3716 msgid "``b'%s'`` is deprecated, but will not be removed during the 3.x series." msgstr "" -#: library/stdtypes.rst:3718 +#: library/stdtypes.rst:3719 msgid "``b'%r'`` is deprecated, but will not be removed during the 3.x series." msgstr "" -#: library/stdtypes.rst:3730 +#: library/stdtypes.rst:3731 msgid ":pep:`461` - Adding % formatting to bytes and bytearray" msgstr "" -#: library/stdtypes.rst:3737 +#: library/stdtypes.rst:3738 msgid "Memory Views" msgstr "" -#: library/stdtypes.rst:3739 +#: library/stdtypes.rst:3740 msgid "" ":class:`memoryview` objects allow Python code to access the internal data of " "an object that supports the :ref:`buffer protocol ` without " "copying." msgstr "" -#: library/stdtypes.rst:3745 +#: library/stdtypes.rst:3746 msgid "" "Create a :class:`memoryview` that references *object*. *object* must " "support the buffer protocol. Built-in objects that support the buffer " "protocol include :class:`bytes` and :class:`bytearray`." msgstr "" -#: library/stdtypes.rst:3749 +#: library/stdtypes.rst:3750 msgid "" "A :class:`memoryview` has the notion of an *element*, which is the atomic " "memory unit handled by the originating *object*. For many simple types such " @@ -4874,32 +4878,32 @@ msgid "" "other types such as :class:`array.array` may have bigger elements." msgstr "" -#: library/stdtypes.rst:3754 +#: library/stdtypes.rst:3755 msgid "" "``len(view)`` is equal to the length of :class:`~memoryview.tolist`, which " "is the nested list representation of the view. If ``view.ndim = 1``, this is " "equal to the number of elements in the view." msgstr "" -#: library/stdtypes.rst:3758 +#: library/stdtypes.rst:3759 msgid "" "If ``view.ndim == 0``, ``len(view)`` now raises :exc:`TypeError` instead of " "returning 1." msgstr "" -#: library/stdtypes.rst:3761 +#: library/stdtypes.rst:3762 msgid "" "The :class:`~memoryview.itemsize` attribute will give you the number of " "bytes in a single element." msgstr "" -#: library/stdtypes.rst:3764 +#: library/stdtypes.rst:3765 msgid "" "A :class:`memoryview` supports slicing and indexing to expose its data. One-" "dimensional slicing will result in a subview::" msgstr "" -#: library/stdtypes.rst:3777 +#: library/stdtypes.rst:3778 msgid "" "If :class:`~memoryview.format` is one of the native format specifiers from " "the :mod:`struct` module, indexing with an integer or a tuple of integers is " @@ -4910,82 +4914,82 @@ msgid "" "memoryviews can be indexed with the empty tuple." msgstr "" -#: library/stdtypes.rst:3786 +#: library/stdtypes.rst:3787 msgid "Here is an example with a non-byte format::" msgstr "" -#: library/stdtypes.rst:3798 +#: library/stdtypes.rst:3799 msgid "" "If the underlying object is writable, the memoryview supports one-" "dimensional slice assignment. Resizing is not allowed::" msgstr "" -#: library/stdtypes.rst:3819 +#: library/stdtypes.rst:3820 msgid "" "One-dimensional memoryviews of :term:`hashable` (read-only) types with " "formats 'B', 'b' or 'c' are also hashable. The hash is defined as ``hash(m) " "== hash(m.tobytes())``::" msgstr "" -#: library/stdtypes.rst:3831 +#: library/stdtypes.rst:3832 msgid "" "One-dimensional memoryviews can now be sliced. One-dimensional memoryviews " "with formats 'B', 'b' or 'c' are now :term:`hashable`." msgstr "" -#: library/stdtypes.rst:3835 +#: library/stdtypes.rst:3836 msgid "" "memoryview is now registered automatically with :class:`collections.abc." "Sequence`" msgstr "" -#: library/stdtypes.rst:3839 +#: library/stdtypes.rst:3840 msgid "memoryviews can now be indexed with tuple of integers." msgstr "" -#: library/stdtypes.rst:3842 +#: library/stdtypes.rst:3843 msgid ":class:`memoryview` has several methods:" msgstr "" -#: library/stdtypes.rst:3846 +#: library/stdtypes.rst:3847 msgid "" "A memoryview and a :pep:`3118` exporter are equal if their shapes are " "equivalent and if all corresponding values are equal when the operands' " "respective format codes are interpreted using :mod:`struct` syntax." msgstr "" -#: library/stdtypes.rst:3850 +#: library/stdtypes.rst:3851 msgid "" "For the subset of :mod:`struct` format strings currently supported by :meth:" "`tolist`, ``v`` and ``w`` are equal if ``v.tolist() == w.tolist()``::" msgstr "" -#: library/stdtypes.rst:3869 +#: library/stdtypes.rst:3870 msgid "" "If either format string is not supported by the :mod:`struct` module, then " "the objects will always compare as unequal (even if the format strings and " "buffer contents are identical)::" msgstr "" -#: library/stdtypes.rst:3885 +#: library/stdtypes.rst:3886 msgid "" "Note that, as with floating point numbers, ``v is w`` does *not* imply ``v " "== w`` for memoryview objects." msgstr "" -#: library/stdtypes.rst:3888 +#: library/stdtypes.rst:3889 msgid "" "Previous versions compared the raw memory disregarding the item format and " "the logical array structure." msgstr "" -#: library/stdtypes.rst:3894 +#: library/stdtypes.rst:3895 msgid "" "Return the data in the buffer as a bytestring. This is equivalent to " "calling the :class:`bytes` constructor on the memoryview. ::" msgstr "" -#: library/stdtypes.rst:3903 +#: library/stdtypes.rst:3904 msgid "" "For non-contiguous arrays the result is equal to the flattened list " "representation with all elements converted to bytes. :meth:`tobytes` " @@ -4993,7 +4997,7 @@ msgid "" "module syntax." msgstr "" -#: library/stdtypes.rst:3908 +#: library/stdtypes.rst:3909 msgid "" "*order* can be {'C', 'F', 'A'}. When *order* is 'C' or 'F', the data of the " "original array is converted to C or Fortran order. For contiguous views, 'A' " @@ -5002,36 +5006,36 @@ msgid "" "to C first. *order=None* is the same as *order='C'*." msgstr "" -#: library/stdtypes.rst:3917 +#: library/stdtypes.rst:3918 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the buffer. ::" msgstr "" -#: library/stdtypes.rst:3926 +#: library/stdtypes.rst:3927 msgid "" "Similar to :meth:`bytes.hex`, :meth:`memoryview.hex` now supports optional " "*sep* and *bytes_per_sep* parameters to insert separators between bytes in " "the hex output." msgstr "" -#: library/stdtypes.rst:3933 +#: library/stdtypes.rst:3934 msgid "Return the data in the buffer as a list of elements. ::" msgstr "" -#: library/stdtypes.rst:3943 +#: library/stdtypes.rst:3944 msgid "" ":meth:`tolist` now supports all single character native formats in :mod:" "`struct` module syntax as well as multi-dimensional representations." msgstr "" -#: library/stdtypes.rst:3950 +#: library/stdtypes.rst:3951 msgid "" "Return a readonly version of the memoryview object. The original memoryview " "object is unchanged. ::" msgstr "" -#: library/stdtypes.rst:3969 +#: library/stdtypes.rst:3970 msgid "" "Release the underlying buffer exposed by the memoryview object. Many " "objects take special actions when a view is held on them (for example, a :" @@ -5040,20 +5044,20 @@ msgid "" "resources) as soon as possible." msgstr "" -#: library/stdtypes.rst:3975 +#: library/stdtypes.rst:3976 msgid "" "After this method has been called, any further operation on the view raises " "a :class:`ValueError` (except :meth:`release()` itself which can be called " "multiple times)::" msgstr "" -#: library/stdtypes.rst:3986 +#: library/stdtypes.rst:3987 msgid "" "The context management protocol can be used for a similar effect, using the " "``with`` statement::" msgstr "" -#: library/stdtypes.rst:4002 +#: library/stdtypes.rst:4003 msgid "" "Cast a memoryview to a new format or shape. *shape* defaults to " "``[byte_length//new_itemsize]``, which means that the result view will be " @@ -5062,7 +5066,7 @@ msgid "" "contiguous -> 1D." msgstr "" -#: library/stdtypes.rst:4008 +#: library/stdtypes.rst:4009 msgid "" "The destination format is restricted to a single element native format in :" "mod:`struct` syntax. One of the formats must be a byte format ('B', 'b' or " @@ -5070,50 +5074,50 @@ msgid "" "Note that all byte lengths may depend on the operating system." msgstr "" -#: library/stdtypes.rst:4014 +#: library/stdtypes.rst:4015 msgid "Cast 1D/long to 1D/unsigned bytes::" msgstr "" -#: library/stdtypes.rst:4037 +#: library/stdtypes.rst:4038 msgid "Cast 1D/unsigned bytes to 1D/char::" msgstr "" -#: library/stdtypes.rst:4050 +#: library/stdtypes.rst:4051 msgid "Cast 1D/bytes to 3D/ints to 1D/signed char::" msgstr "" -#: library/stdtypes.rst:4076 +#: library/stdtypes.rst:4077 msgid "Cast 1D/unsigned long to 2D/unsigned long::" msgstr "" -#: library/stdtypes.rst:4090 +#: library/stdtypes.rst:4091 msgid "The source format is no longer restricted when casting to a byte view." msgstr "" -#: library/stdtypes.rst:4093 +#: library/stdtypes.rst:4094 msgid "There are also several readonly attributes available:" msgstr "" -#: library/stdtypes.rst:4097 +#: library/stdtypes.rst:4098 msgid "The underlying object of the memoryview::" msgstr "" -#: library/stdtypes.rst:4108 +#: library/stdtypes.rst:4109 msgid "" "``nbytes == product(shape) * itemsize == len(m.tobytes())``. This is the " "amount of space in bytes that the array would use in a contiguous " "representation. It is not necessarily equal to ``len(m)``::" msgstr "" -#: library/stdtypes.rst:4127 +#: library/stdtypes.rst:4128 msgid "Multi-dimensional arrays::" msgstr "" -#: library/stdtypes.rst:4144 +#: library/stdtypes.rst:4145 msgid "A bool indicating whether the memory is read only." msgstr "" -#: library/stdtypes.rst:4148 +#: library/stdtypes.rst:4149 msgid "" "A string containing the format (in :mod:`struct` module style) for each " "element in the view. A memoryview can be created from exporters with " @@ -5121,59 +5125,59 @@ msgid "" "restricted to native single element formats." msgstr "" -#: library/stdtypes.rst:4153 +#: library/stdtypes.rst:4154 msgid "" "format ``'B'`` is now handled according to the struct module syntax. This " "means that ``memoryview(b'abc')[0] == b'abc'[0] == 97``." msgstr "" -#: library/stdtypes.rst:4159 +#: library/stdtypes.rst:4160 msgid "The size in bytes of each element of the memoryview::" msgstr "" -#: library/stdtypes.rst:4172 +#: library/stdtypes.rst:4173 msgid "" "An integer indicating how many dimensions of a multi-dimensional array the " "memory represents." msgstr "" -#: library/stdtypes.rst:4177 +#: library/stdtypes.rst:4178 msgid "" "A tuple of integers the length of :attr:`ndim` giving the shape of the " "memory as an N-dimensional array." msgstr "" -#: library/stdtypes.rst:4188 +#: library/stdtypes.rst:4189 msgid "An empty tuple instead of ``None`` when ndim = 0." msgstr "" -#: library/stdtypes.rst:4185 +#: library/stdtypes.rst:4186 msgid "" "A tuple of integers the length of :attr:`ndim` giving the size in bytes to " "access each element for each dimension of the array." msgstr "" -#: library/stdtypes.rst:4193 +#: library/stdtypes.rst:4194 msgid "Used internally for PIL-style arrays. The value is informational only." msgstr "" -#: library/stdtypes.rst:4197 +#: library/stdtypes.rst:4198 msgid "A bool indicating whether the memory is C-:term:`contiguous`." msgstr "Belleğin C-:term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4203 +#: library/stdtypes.rst:4204 msgid "A bool indicating whether the memory is Fortran :term:`contiguous`." msgstr "Belleğin Fortran :term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4209 +#: library/stdtypes.rst:4210 msgid "A bool indicating whether the memory is :term:`contiguous`." msgstr "Belleğin :term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4217 +#: library/stdtypes.rst:4218 msgid "Set Types --- :class:`set`, :class:`frozenset`" msgstr "Set Türleri --- :class:`set`, :class:`frozenset`" -#: library/stdtypes.rst:4221 +#: library/stdtypes.rst:4222 msgid "" "A :dfn:`set` object is an unordered collection of distinct :term:`hashable` " "objects. Common uses include membership testing, removing duplicates from a " @@ -5189,7 +5193,7 @@ msgstr "" "için yerleşik :class:`dict`, :class:`list` ve :class:`tuple` sınıflarına ve :" "mod:`collections` modülüne bakın)" -#: library/stdtypes.rst:4228 +#: library/stdtypes.rst:4229 msgid "" "Like other collections, sets support ``x in set``, ``len(set)``, and ``for x " "in set``. Being an unordered collection, sets do not record element " @@ -5201,7 +5205,7 @@ msgstr "" "eleman konumunu veya ekleme sırasını kaydetmez. Buna göre, kümeler " "dizinleme, dilimleme veya sıra benzeri davranışları desteklemez." -#: library/stdtypes.rst:4233 +#: library/stdtypes.rst:4234 msgid "" "There are currently two built-in set types, :class:`set` and :class:" "`frozenset`. The :class:`set` type is mutable --- the contents can be " @@ -5220,7 +5224,7 @@ msgstr "" "term:`hashable` --- içeriği oluşturulduktan sonra değiştirilemez; bu nedenle " "bir sözlük anahtarı veya başka bir kümenin öğesi olarak kullanılabilir." -#: library/stdtypes.rst:4241 +#: library/stdtypes.rst:4242 msgid "" "Non-empty sets (not frozensets) can be created by placing a comma-separated " "list of elements within braces, for example: ``{'jack', 'sjoerd'}``, in " @@ -5230,11 +5234,11 @@ msgstr "" "parantez içine virgülle ayrılmış bir öğe listesi yerleştirilerek " "oluşturulabilir, örneğin: ``{'jack', 'sjoerd'}``." -#: library/stdtypes.rst:4245 +#: library/stdtypes.rst:4246 msgid "The constructors for both classes work the same:" msgstr "Her iki sınıfın kurucuları aynı şekilde çalışır:" -#: library/stdtypes.rst:4250 +#: library/stdtypes.rst:4251 msgid "" "Return a new set or frozenset object whose elements are taken from " "*iterable*. The elements of a set must be :term:`hashable`. To represent " @@ -5246,24 +5250,24 @@ msgstr "" "kümelerini temsil etmek için, iç kümeler :class:`frozenset` nesneleri " "olmalıdır. Eğer *iterable* belirtilmemişse, yeni bir boş küme döndürülür." -#: library/stdtypes.rst:4256 +#: library/stdtypes.rst:4257 msgid "Sets can be created by several means:" msgstr "Setler çeşitli yollarla oluşturulabilir:" -#: library/stdtypes.rst:4258 +#: library/stdtypes.rst:4259 msgid "" "Use a comma-separated list of elements within braces: ``{'jack', 'sjoerd'}``" msgstr "" "Parantez içinde virgülle ayrılmış bir öğe listesi kullanın: ``{'jack', " "'sjoerd'}``" -#: library/stdtypes.rst:4259 +#: library/stdtypes.rst:4260 msgid "" "Use a set comprehension: ``{c for c in 'abracadabra' if c not in 'abc'}``" msgstr "" "Bir küme kavrayışı kullanın: ``{c for c in 'abracadabra' if c not in 'abc'}``" -#: library/stdtypes.rst:4260 +#: library/stdtypes.rst:4261 msgid "" "Use the type constructor: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" @@ -5271,26 +5275,26 @@ msgstr "" "Tür kurucusunu kullanın: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" -#: library/stdtypes.rst:4262 +#: library/stdtypes.rst:4263 msgid "" "Instances of :class:`set` and :class:`frozenset` provide the following " "operations:" msgstr "" ":class:`set` ve :class:`frozenset` örnekleri aşağıdaki işlemleri sağlar:" -#: library/stdtypes.rst:4267 +#: library/stdtypes.rst:4268 msgid "Return the number of elements in set *s* (cardinality of *s*)." msgstr "*s* kümesindeki eleman sayısını döndürür (*s*'nin kardinalitesi)." -#: library/stdtypes.rst:4271 +#: library/stdtypes.rst:4272 msgid "Test *x* for membership in *s*." msgstr "*x*'i *s* üyeliği için test edin." -#: library/stdtypes.rst:4275 +#: library/stdtypes.rst:4276 msgid "Test *x* for non-membership in *s*." msgstr "*x*'in *s*'ye üye olup olmadığını test edin." -#: library/stdtypes.rst:4279 +#: library/stdtypes.rst:4280 msgid "" "Return ``True`` if the set has no elements in common with *other*. Sets are " "disjoint if and only if their intersection is the empty set." @@ -5298,11 +5302,11 @@ msgstr "" "Kümenin *other* kümelerle ortak hiçbir elemanı yoksa ``True`` döndürür. " "Kümeler, ancak ve ancak kesişimleri boş küme ise ayrıktır." -#: library/stdtypes.rst:4285 +#: library/stdtypes.rst:4286 msgid "Test whether every element in the set is in *other*." msgstr "Kümedeki her elemanın *other* içinde olup olmadığını test edin." -#: library/stdtypes.rst:4289 +#: library/stdtypes.rst:4290 msgid "" "Test whether the set is a proper subset of *other*, that is, ``set <= other " "and set != other``." @@ -5310,11 +5314,11 @@ msgstr "" "Kümenin *other* kümenin uygun bir alt kümesi olup olmadığını, yani ``set <= " "other and set != other`` olup olmadığını test eder." -#: library/stdtypes.rst:4295 +#: library/stdtypes.rst:4296 msgid "Test whether every element in *other* is in the set." msgstr "Kümedeki her elemanın *other* içinde olup olmadığını test edin." -#: library/stdtypes.rst:4299 +#: library/stdtypes.rst:4300 msgid "" "Test whether the set is a proper superset of *other*, that is, ``set >= " "other and set != other``." @@ -5322,33 +5326,33 @@ msgstr "" "Kümenin *other* kümenin uygun bir üst kümesi olup olmadığını, yani ``set >= " "other and set != other`` olup olmadığını test edin." -#: library/stdtypes.rst:4305 +#: library/stdtypes.rst:4306 msgid "Return a new set with elements from the set and all others." msgstr "" "Kümedeki ve diğer tüm kümelerdeki elemanları içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4310 +#: library/stdtypes.rst:4311 msgid "Return a new set with elements common to the set and all others." msgstr "" "Küme ve diğer tüm kümeler için ortak öğeler içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4315 +#: library/stdtypes.rst:4316 msgid "Return a new set with elements in the set that are not in the others." msgstr "" "Küme içinde diğerlerinde olmayan elemanlar içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4320 +#: library/stdtypes.rst:4321 msgid "" "Return a new set with elements in either the set or *other* but not both." msgstr "" "Elemanları ya kümede ya da *diğer* kümede olan ancak her ikisinde de olmayan " "yeni bir küme döndürür." -#: library/stdtypes.rst:4324 +#: library/stdtypes.rst:4325 msgid "Return a shallow copy of the set." msgstr "Kümenin yüzeysel bir kopyasını döndürür." -#: library/stdtypes.rst:4327 +#: library/stdtypes.rst:4328 msgid "" "Note, the non-operator versions of :meth:`union`, :meth:`intersection`, :" "meth:`difference`, :meth:`symmetric_difference`, :meth:`issubset`, and :meth:" @@ -5366,7 +5370,7 @@ msgstr "" "\n" "Translated with www.DeepL.com/Translator (free version)" -#: library/stdtypes.rst:4334 +#: library/stdtypes.rst:4335 msgid "" "Both :class:`set` and :class:`frozenset` support set to set comparisons. Two " "sets are equal if and only if every element of each set is contained in the " @@ -5385,7 +5389,7 @@ msgstr "" "\n" "Translated with www.DeepL.com/Translator (free version)" -#: library/stdtypes.rst:4341 +#: library/stdtypes.rst:4342 msgid "" "Instances of :class:`set` are compared to instances of :class:`frozenset` " "based on their members. For example, ``set('abc') == frozenset('abc')`` " @@ -5395,7 +5399,7 @@ msgstr "" "karşılaştırılır. Örneğin, ``set('abc') == frozenset('abc')`` ``True`` " "döndürür ve ``set('abc') in set([frozenset('abc')])`` de öyle." -#: library/stdtypes.rst:4345 +#: library/stdtypes.rst:4346 msgid "" "The subset and equality comparisons do not generalize to a total ordering " "function. For example, any two nonempty disjoint sets are not equal and are " @@ -5407,7 +5411,7 @@ msgstr "" "değildir ve birbirinin alt kümesi değildir, bu nedenle aşağıdakilerin *all* " "``Yanlış`` döndürür: ``ab``." -#: library/stdtypes.rst:4350 +#: library/stdtypes.rst:4351 msgid "" "Since sets only define partial ordering (subset relationships), the output " "of the :meth:`list.sort` method is undefined for lists of sets." @@ -5415,11 +5419,11 @@ msgstr "" "Kümeler yalnızca kısmi sıralama (alt küme ilişkileri) tanımladığından, :meth:" "`list.sort` yönteminin çıktısı küme listeleri için tanımsızdır." -#: library/stdtypes.rst:4353 +#: library/stdtypes.rst:4354 msgid "Set elements, like dictionary keys, must be :term:`hashable`." msgstr "Sözlük anahtarları gibi küme öğeleri de :term:`hashable` olmalıdır." -#: library/stdtypes.rst:4355 +#: library/stdtypes.rst:4356 msgid "" "Binary operations that mix :class:`set` instances with :class:`frozenset` " "return the type of the first operand. For example: ``frozenset('ab') | " @@ -5429,7 +5433,7 @@ msgstr "" "ilk işlenenin türünü döndürür. Örneğin: ``frozenset('ab') | set('bc')`` " "bir :class:`frozenset` örneği döndürür." -#: library/stdtypes.rst:4359 +#: library/stdtypes.rst:4360 msgid "" "The following table lists operations available for :class:`set` that do not " "apply to immutable instances of :class:`frozenset`:" @@ -5437,31 +5441,31 @@ msgstr "" "Aşağıdaki tabloda :class:`set` için kullanılabilen ve :class:`frozenset` 'in " "değişmez örneklerine uygulanmayan işlemler listelenmektedir:" -#: library/stdtypes.rst:4365 +#: library/stdtypes.rst:4366 msgid "Update the set, adding elements from all others." msgstr "Diğer tüm öğeleri ekleyerek seti güncelleyin." -#: library/stdtypes.rst:4370 +#: library/stdtypes.rst:4371 msgid "Update the set, keeping only elements found in it and all others." msgstr "" "Yalnızca içinde bulunan öğeleri ve diğerlerini koruyarak seti güncelleyin." -#: library/stdtypes.rst:4375 +#: library/stdtypes.rst:4376 msgid "Update the set, removing elements found in others." msgstr "Diğerlerinde bulunan öğeleri kaldırarak kümeyi güncelleyin." -#: library/stdtypes.rst:4380 +#: library/stdtypes.rst:4381 msgid "" "Update the set, keeping only elements found in either set, but not in both." msgstr "" "Kümeyi güncelleyin, yalnızca her iki kümede de bulunan öğeleri saklayın, " "ancak her ikisinde de bulunmayın." -#: library/stdtypes.rst:4384 +#: library/stdtypes.rst:4385 msgid "Add element *elem* to the set." msgstr "Kümeye *elem* öğesini ekleyin." -#: library/stdtypes.rst:4388 +#: library/stdtypes.rst:4389 msgid "" "Remove element *elem* from the set. Raises :exc:`KeyError` if *elem* is not " "contained in the set." @@ -5469,11 +5473,11 @@ msgstr "" "Kümeden *elem* elemanını kaldırır. Eğer *elem* kümede bulunmuyorsa :exc:" "`KeyError` değerini yükseltir." -#: library/stdtypes.rst:4393 +#: library/stdtypes.rst:4394 msgid "Remove element *elem* from the set if it is present." msgstr "Eğer varsa *elem* öğesini kümeden kaldırır." -#: library/stdtypes.rst:4397 +#: library/stdtypes.rst:4398 msgid "" "Remove and return an arbitrary element from the set. Raises :exc:`KeyError` " "if the set is empty." @@ -5481,11 +5485,11 @@ msgstr "" "Kümeden rastgele bir elemanı kaldırır ve döndürür. Küme boşsa :exc:" "`KeyError` değerini yükseltir." -#: library/stdtypes.rst:4402 +#: library/stdtypes.rst:4403 msgid "Remove all elements from the set." msgstr "Kümeden tüm öğeleri kaldırın." -#: library/stdtypes.rst:4405 +#: library/stdtypes.rst:4406 msgid "" "Note, the non-operator versions of the :meth:`update`, :meth:" "`intersection_update`, :meth:`difference_update`, and :meth:" @@ -5496,21 +5500,22 @@ msgstr "" "ve :meth:`symmetric_difference_update` metotlarının operatör olmayan " "versiyonları herhangi bir iterable'ı argüman olarak kabul edecektir." -#: library/stdtypes.rst:4410 +#: library/stdtypes.rst:4411 +#, fuzzy msgid "" -"Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and :" -"meth:`discard` methods may be a set. To support searching for an equivalent " -"frozenset, a temporary one is created from *elem*." +"Note, the *elem* argument to the :meth:`~object.__contains__`, :meth:" +"`remove`, and :meth:`discard` methods may be a set. To support searching " +"for an equivalent frozenset, a temporary one is created from *elem*." msgstr "" "Not: :meth:`__contains__`, :meth:`remove` ve :meth:`discard` yöntemlerinin " "*elem* argümanı bir küme olabilir. Eş değer bir frozenset aramayı " "desteklemek için, *elem*'den geçici bir tane oluşturulur." -#: library/stdtypes.rst:4418 +#: library/stdtypes.rst:4420 msgid "Mapping Types --- :class:`dict`" msgstr "Mapping Types --- :class:`dict`" -#: library/stdtypes.rst:4428 +#: library/stdtypes.rst:4430 msgid "" "A :term:`mapping` object maps :term:`hashable` values to arbitrary objects. " "Mappings are mutable objects. There is currently only one standard mapping " @@ -5524,7 +5529,7 @@ msgstr "" "class:`list`, :class:`set` ve :class:`tuple` sınıflarına ve :mod:" "`collections` modülüne bakın)." -#: library/stdtypes.rst:4434 +#: library/stdtypes.rst:4436 msgid "" "A dictionary's keys are *almost* arbitrary values. Values that are not :" "term:`hashable`, that is, values containing lists, dictionaries or other " @@ -5539,7 +5544,7 @@ msgstr "" "``True`` gibi) aynı sözlük girdisini indekslemek için birbirinin yerine " "kullanılabilir." -#: library/stdtypes.rst:4445 +#: library/stdtypes.rst:4447 msgid "" "Return a new dictionary initialized from an optional positional argument and " "a possibly empty set of keyword arguments." @@ -5547,27 +5552,27 @@ msgstr "" "İsteğe bağlı bir konumsal bağımsız değişken ve muhtemelen boş bir anahtar " "sözcük bağımsız değişken kümesinden başlatılan yeni bir sözlük döndürür." -#: library/stdtypes.rst:4448 +#: library/stdtypes.rst:4450 msgid "Dictionaries can be created by several means:" msgstr "Sözlükler çeşitli yollarla oluşturulabilir:" -#: library/stdtypes.rst:4450 +#: library/stdtypes.rst:4452 msgid "" "Use a comma-separated list of ``key: value`` pairs within braces: ``{'jack': " "4098, 'sjoerd': 4127}`` or ``{4098: 'jack', 4127: 'sjoerd'}``" msgstr "" -#: library/stdtypes.rst:4452 +#: library/stdtypes.rst:4454 msgid "Use a dict comprehension: ``{}``, ``{x: x ** 2 for x in range(10)}``" msgstr "" -#: library/stdtypes.rst:4453 +#: library/stdtypes.rst:4455 msgid "" "Use the type constructor: ``dict()``, ``dict([('foo', 100), ('bar', " "200)])``, ``dict(foo=100, bar=200)``" msgstr "" -#: library/stdtypes.rst:4456 +#: library/stdtypes.rst:4458 msgid "" "If no positional argument is given, an empty dictionary is created. If a " "positional argument is given and it is a mapping object, a dictionary is " @@ -5579,7 +5584,7 @@ msgid "" "value for that key becomes the corresponding value in the new dictionary." msgstr "" -#: library/stdtypes.rst:4466 +#: library/stdtypes.rst:4468 msgid "" "If keyword arguments are given, the keyword arguments and their values are " "added to the dictionary created from the positional argument. If a key " @@ -5587,39 +5592,39 @@ msgid "" "the value from the positional argument." msgstr "" -#: library/stdtypes.rst:4471 +#: library/stdtypes.rst:4473 msgid "" "To illustrate, the following examples all return a dictionary equal to " "``{\"one\": 1, \"two\": 2, \"three\": 3}``::" msgstr "" -#: library/stdtypes.rst:4483 +#: library/stdtypes.rst:4485 msgid "" "Providing keyword arguments as in the first example only works for keys that " "are valid Python identifiers. Otherwise, any valid keys can be used." msgstr "" -#: library/stdtypes.rst:4487 +#: library/stdtypes.rst:4489 msgid "" "These are the operations that dictionaries support (and therefore, custom " "mapping types should support too):" msgstr "" -#: library/stdtypes.rst:4492 +#: library/stdtypes.rst:4494 msgid "Return a list of all the keys used in the dictionary *d*." msgstr "" -#: library/stdtypes.rst:4496 +#: library/stdtypes.rst:4498 msgid "Return the number of items in the dictionary *d*." msgstr "" -#: library/stdtypes.rst:4500 +#: library/stdtypes.rst:4502 msgid "" "Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is " "not in the map." msgstr "" -#: library/stdtypes.rst:4505 +#: library/stdtypes.rst:4507 msgid "" "If a subclass of dict defines a method :meth:`__missing__` and *key* is not " "present, the ``d[key]`` operation calls that method with the key *key* as " @@ -5630,51 +5635,51 @@ msgid "" "an instance variable::" msgstr "" -#: library/stdtypes.rst:4524 +#: library/stdtypes.rst:4526 msgid "" "The example above shows part of the implementation of :class:`collections." "Counter`. A different ``__missing__`` method is used by :class:`collections." "defaultdict`." msgstr "" -#: library/stdtypes.rst:4530 +#: library/stdtypes.rst:4532 msgid "Set ``d[key]`` to *value*." msgstr "" -#: library/stdtypes.rst:4534 +#: library/stdtypes.rst:4536 msgid "" "Remove ``d[key]`` from *d*. Raises a :exc:`KeyError` if *key* is not in the " "map." msgstr "" -#: library/stdtypes.rst:4539 +#: library/stdtypes.rst:4541 msgid "Return ``True`` if *d* has a key *key*, else ``False``." msgstr "" -#: library/stdtypes.rst:4543 +#: library/stdtypes.rst:4545 msgid "Equivalent to ``not key in d``." msgstr "" -#: library/stdtypes.rst:4547 +#: library/stdtypes.rst:4549 msgid "" "Return an iterator over the keys of the dictionary. This is a shortcut for " "``iter(d.keys())``." msgstr "" -#: library/stdtypes.rst:4552 +#: library/stdtypes.rst:4554 msgid "Remove all items from the dictionary." msgstr "" -#: library/stdtypes.rst:4556 +#: library/stdtypes.rst:4558 msgid "Return a shallow copy of the dictionary." msgstr "" -#: library/stdtypes.rst:4560 +#: library/stdtypes.rst:4562 msgid "" "Create a new dictionary with keys from *iterable* and values set to *value*." msgstr "" -#: library/stdtypes.rst:4562 +#: library/stdtypes.rst:4564 msgid "" ":meth:`fromkeys` is a class method that returns a new dictionary. *value* " "defaults to ``None``. All of the values refer to just a single instance, so " @@ -5683,70 +5688,70 @@ msgid "" "` instead." msgstr "" -#: library/stdtypes.rst:4570 +#: library/stdtypes.rst:4572 msgid "" "Return the value for *key* if *key* is in the dictionary, else *default*. If " "*default* is not given, it defaults to ``None``, so that this method never " "raises a :exc:`KeyError`." msgstr "" -#: library/stdtypes.rst:4576 +#: library/stdtypes.rst:4578 msgid "" "Return a new view of the dictionary's items (``(key, value)`` pairs). See " "the :ref:`documentation of view objects `." msgstr "" -#: library/stdtypes.rst:4581 +#: library/stdtypes.rst:4583 msgid "" "Return a new view of the dictionary's keys. See the :ref:`documentation of " "view objects `." msgstr "" -#: library/stdtypes.rst:4586 +#: library/stdtypes.rst:4588 msgid "" "If *key* is in the dictionary, remove it and return its value, else return " "*default*. If *default* is not given and *key* is not in the dictionary, a :" "exc:`KeyError` is raised." msgstr "" -#: library/stdtypes.rst:4592 +#: library/stdtypes.rst:4594 msgid "" "Remove and return a ``(key, value)`` pair from the dictionary. Pairs are " "returned in :abbr:`LIFO (last-in, first-out)` order." msgstr "" -#: library/stdtypes.rst:4595 +#: library/stdtypes.rst:4597 msgid "" ":meth:`popitem` is useful to destructively iterate over a dictionary, as " "often used in set algorithms. If the dictionary is empty, calling :meth:" "`popitem` raises a :exc:`KeyError`." msgstr "" -#: library/stdtypes.rst:4599 +#: library/stdtypes.rst:4601 msgid "" "LIFO order is now guaranteed. In prior versions, :meth:`popitem` would " "return an arbitrary key/value pair." msgstr "" -#: library/stdtypes.rst:4605 +#: library/stdtypes.rst:4607 msgid "" "Return a reverse iterator over the keys of the dictionary. This is a " "shortcut for ``reversed(d.keys())``." msgstr "" -#: library/stdtypes.rst:4612 +#: library/stdtypes.rst:4614 msgid "" "If *key* is in the dictionary, return its value. If not, insert *key* with " "a value of *default* and return *default*. *default* defaults to ``None``." msgstr "" -#: library/stdtypes.rst:4618 +#: library/stdtypes.rst:4620 msgid "" "Update the dictionary with the key/value pairs from *other*, overwriting " "existing keys. Return ``None``." msgstr "" -#: library/stdtypes.rst:4621 +#: library/stdtypes.rst:4623 msgid "" ":meth:`update` accepts either another dictionary object or an iterable of " "key/value pairs (as tuples or other iterables of length two). If keyword " @@ -5754,71 +5759,71 @@ msgid "" "pairs: ``d.update(red=1, blue=2)``." msgstr "" -#: library/stdtypes.rst:4628 +#: library/stdtypes.rst:4630 msgid "" "Return a new view of the dictionary's values. See the :ref:`documentation " "of view objects `." msgstr "" -#: library/stdtypes.rst:4631 +#: library/stdtypes.rst:4633 msgid "" "An equality comparison between one ``dict.values()`` view and another will " "always return ``False``. This also applies when comparing ``dict.values()`` " "to itself::" msgstr "" -#: library/stdtypes.rst:4641 +#: library/stdtypes.rst:4643 msgid "" "Create a new dictionary with the merged keys and values of *d* and *other*, " "which must both be dictionaries. The values of *other* take priority when " "*d* and *other* share keys." msgstr "" -#: library/stdtypes.rst:4649 +#: library/stdtypes.rst:4651 msgid "" "Update the dictionary *d* with keys and values from *other*, which may be " "either a :term:`mapping` or an :term:`iterable` of key/value pairs. The " "values of *other* take priority when *d* and *other* share keys." msgstr "" -#: library/stdtypes.rst:4655 +#: library/stdtypes.rst:4657 msgid "" "Dictionaries compare equal if and only if they have the same ``(key, " "value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', " "'>') raise :exc:`TypeError`." msgstr "" -#: library/stdtypes.rst:4659 +#: library/stdtypes.rst:4661 msgid "" "Dictionaries preserve insertion order. Note that updating a key does not " "affect the order. Keys added after deletion are inserted at the end. ::" msgstr "" -#: library/stdtypes.rst:4677 +#: library/stdtypes.rst:4679 msgid "" "Dictionary order is guaranteed to be insertion order. This behavior was an " "implementation detail of CPython from 3.6." msgstr "" -#: library/stdtypes.rst:4681 +#: library/stdtypes.rst:4683 msgid "Dictionaries and dictionary views are reversible. ::" msgstr "" -#: library/stdtypes.rst:4693 +#: library/stdtypes.rst:4695 msgid "Dictionaries are now reversible." msgstr "" -#: library/stdtypes.rst:4698 +#: library/stdtypes.rst:4700 msgid "" ":class:`types.MappingProxyType` can be used to create a read-only view of a :" "class:`dict`." msgstr "" -#: library/stdtypes.rst:4705 +#: library/stdtypes.rst:4707 msgid "Dictionary view objects" msgstr "" -#: library/stdtypes.rst:4707 +#: library/stdtypes.rst:4709 msgid "" "The objects returned by :meth:`dict.keys`, :meth:`dict.values` and :meth:" "`dict.items` are *view objects*. They provide a dynamic view on the " @@ -5826,23 +5831,23 @@ msgid "" "reflects these changes." msgstr "" -#: library/stdtypes.rst:4712 +#: library/stdtypes.rst:4714 msgid "" "Dictionary views can be iterated over to yield their respective data, and " "support membership tests:" msgstr "" -#: library/stdtypes.rst:4717 +#: library/stdtypes.rst:4719 msgid "Return the number of entries in the dictionary." msgstr "" -#: library/stdtypes.rst:4721 +#: library/stdtypes.rst:4723 msgid "" "Return an iterator over the keys, values or items (represented as tuples of " "``(key, value)``) in the dictionary." msgstr "" -#: library/stdtypes.rst:4724 +#: library/stdtypes.rst:4726 msgid "" "Keys and values are iterated over in insertion order. This allows the " "creation of ``(value, key)`` pairs using :func:`zip`: ``pairs = zip(d." @@ -5850,39 +5855,39 @@ msgid "" "[(v, k) for (k, v) in d.items()]``." msgstr "" -#: library/stdtypes.rst:4729 +#: library/stdtypes.rst:4731 msgid "" "Iterating views while adding or deleting entries in the dictionary may raise " "a :exc:`RuntimeError` or fail to iterate over all entries." msgstr "" -#: library/stdtypes.rst:4732 +#: library/stdtypes.rst:4734 msgid "Dictionary order is guaranteed to be insertion order." msgstr "" -#: library/stdtypes.rst:4737 +#: library/stdtypes.rst:4739 msgid "" "Return ``True`` if *x* is in the underlying dictionary's keys, values or " "items (in the latter case, *x* should be a ``(key, value)`` tuple)." msgstr "" -#: library/stdtypes.rst:4742 +#: library/stdtypes.rst:4744 msgid "" "Return a reverse iterator over the keys, values or items of the dictionary. " "The view will be iterated in reverse order of the insertion." msgstr "" -#: library/stdtypes.rst:4745 +#: library/stdtypes.rst:4747 msgid "Dictionary views are now reversible." msgstr "" -#: library/stdtypes.rst:4750 +#: library/stdtypes.rst:4752 msgid "" "Return a :class:`types.MappingProxyType` that wraps the original dictionary " "to which the view refers." msgstr "" -#: library/stdtypes.rst:4755 +#: library/stdtypes.rst:4757 msgid "" "Keys views are set-like since their entries are unique and :term:`hashable`. " "Items views also have set-like operations since the (key, value) pairs are " @@ -5896,15 +5901,15 @@ msgid "" "input." msgstr "" -#: library/stdtypes.rst:4767 +#: library/stdtypes.rst:4769 msgid "An example of dictionary view usage::" msgstr "" -#: library/stdtypes.rst:4811 +#: library/stdtypes.rst:4813 msgid "Context Manager Types" msgstr "Bağlam Yöneticisi Türleri" -#: library/stdtypes.rst:4818 +#: library/stdtypes.rst:4820 msgid "" "Python's :keyword:`with` statement supports the concept of a runtime context " "defined by a context manager. This is implemented using a pair of methods " @@ -5912,7 +5917,7 @@ msgid "" "before the statement body is executed and exited when the statement ends:" msgstr "" -#: library/stdtypes.rst:4826 +#: library/stdtypes.rst:4828 msgid "" "Enter the runtime context and return either this object or another object " "related to the runtime context. The value returned by this method is bound " @@ -5920,14 +5925,14 @@ msgid "" "using this context manager." msgstr "" -#: library/stdtypes.rst:4831 +#: library/stdtypes.rst:4833 msgid "" "An example of a context manager that returns itself is a :term:`file " "object`. File objects return themselves from __enter__() to allow :func:" "`open` to be used as the context expression in a :keyword:`with` statement." msgstr "" -#: library/stdtypes.rst:4835 +#: library/stdtypes.rst:4837 msgid "" "An example of a context manager that returns a related object is the one " "returned by :func:`decimal.localcontext`. These managers set the active " @@ -5937,7 +5942,7 @@ msgid "" "the :keyword:`!with` statement." msgstr "" -#: library/stdtypes.rst:4845 +#: library/stdtypes.rst:4847 msgid "" "Exit the runtime context and return a Boolean flag indicating if any " "exception that occurred should be suppressed. If an exception occurred while " @@ -5946,7 +5951,7 @@ msgid "" "arguments are ``None``." msgstr "" -#: library/stdtypes.rst:4850 +#: library/stdtypes.rst:4852 msgid "" "Returning a true value from this method will cause the :keyword:`with` " "statement to suppress the exception and continue execution with the " @@ -5957,7 +5962,7 @@ msgid "" "statement." msgstr "" -#: library/stdtypes.rst:4857 +#: library/stdtypes.rst:4859 msgid "" "The exception passed in should never be reraised explicitly - instead, this " "method should return a false value to indicate that the method completed " @@ -5966,7 +5971,7 @@ msgid "" "__exit__` method has actually failed." msgstr "" -#: library/stdtypes.rst:4863 +#: library/stdtypes.rst:4865 msgid "" "Python defines several context managers to support easy thread " "synchronisation, prompt closure of files or other objects, and simpler " @@ -5975,7 +5980,7 @@ msgid "" "management protocol. See the :mod:`contextlib` module for some examples." msgstr "" -#: library/stdtypes.rst:4869 +#: library/stdtypes.rst:4871 msgid "" "Python's :term:`generator`\\s and the :class:`contextlib.contextmanager` " "decorator provide a convenient way to implement these protocols. If a " @@ -5985,7 +5990,7 @@ msgid "" "rather than the iterator produced by an undecorated generator function." msgstr "" -#: library/stdtypes.rst:4876 +#: library/stdtypes.rst:4878 msgid "" "Note that there is no specific slot for any of these methods in the type " "structure for Python objects in the Python/C API. Extension types wanting to " @@ -5994,23 +5999,23 @@ msgid "" "a single class dictionary lookup is negligible." msgstr "" -#: library/stdtypes.rst:4884 +#: library/stdtypes.rst:4886 msgid "" "Type Annotation Types --- :ref:`Generic Alias `, :ref:" "`Union `" msgstr "" -#: library/stdtypes.rst:4889 +#: library/stdtypes.rst:4891 msgid "" "The core built-in types for :term:`type annotations ` are :ref:" "`Generic Alias ` and :ref:`Union `." msgstr "" -#: library/stdtypes.rst:4896 +#: library/stdtypes.rst:4898 msgid "Generic Alias Type" msgstr "Genel Takma Ad Türü" -#: library/stdtypes.rst:4902 +#: library/stdtypes.rst:4904 msgid "" "``GenericAlias`` objects are generally created by :ref:`subscripting " "` a class. They are most often used with :ref:`container " @@ -6020,13 +6025,13 @@ msgid "" "are intended primarily for use with :term:`type annotations `." msgstr "" -#: library/stdtypes.rst:4912 +#: library/stdtypes.rst:4914 msgid "" "It is generally only possible to subscript a class if the class implements " "the special method :meth:`~object.__class_getitem__`." msgstr "" -#: library/stdtypes.rst:4915 +#: library/stdtypes.rst:4917 msgid "" "A ``GenericAlias`` object acts as a proxy for a :term:`generic type`, " "implementing *parameterized generics*." @@ -6034,7 +6039,7 @@ msgstr "" "Bir ``GenericAlias`` nesnesi, :term:`generic type` için bir vekil olarak " "hareket eder ve *parameterized generics* uygular." -#: library/stdtypes.rst:4918 +#: library/stdtypes.rst:4920 msgid "" "For a container class, the argument(s) supplied to a :ref:`subscription " "` of the class may indicate the type(s) of the elements an " @@ -6043,7 +6048,7 @@ msgid "" "`bytes`." msgstr "" -#: library/stdtypes.rst:4924 +#: library/stdtypes.rst:4926 msgid "" "For a class which defines :meth:`~object.__class_getitem__` but is not a " "container, the argument(s) supplied to a subscription of the class will " @@ -6052,7 +6057,7 @@ msgid "" "the :class:`str` data type and the :class:`bytes` data type:" msgstr "" -#: library/stdtypes.rst:4930 +#: library/stdtypes.rst:4932 msgid "" "If ``x = re.search('foo', 'foo')``, ``x`` will be a :ref:`re.Match ` object where the return values of ``x.group(0)`` and ``x[0]`` will " @@ -6060,7 +6065,7 @@ msgid "" "annotations with the ``GenericAlias`` ``re.Match[str]``." msgstr "" -#: library/stdtypes.rst:4936 +#: library/stdtypes.rst:4938 msgid "" "If ``y = re.search(b'bar', b'bar')``, (note the ``b`` for :class:`bytes`), " "``y`` will also be an instance of ``re.Match``, but the return values of ``y." @@ -6069,7 +6074,7 @@ msgid "" "objects>` objects with ``re.Match[bytes]``." msgstr "" -#: library/stdtypes.rst:4942 +#: library/stdtypes.rst:4944 msgid "" "``GenericAlias`` objects are instances of the class :class:`types." "GenericAlias`, which can also be used to create ``GenericAlias`` objects " @@ -6078,7 +6083,7 @@ msgstr "" "``GenericAlias`` nesneleri, doğrudan ``GenericAlias`` nesneleri oluşturmak " "için de kullanılabilen :class:`types.GenericAlias` sınıfının örnekleridir." -#: library/stdtypes.rst:4948 +#: library/stdtypes.rst:4950 msgid "" "Creates a ``GenericAlias`` representing a type ``T`` parameterized by types " "*X*, *Y*, and more depending on the ``T`` used. For example, a function " @@ -6089,7 +6094,7 @@ msgstr "" "Örneğin, :class:`float` elemanları içeren bir :class:`list` bekleyen bir " "fonksiyon::" -#: library/stdtypes.rst:4956 +#: library/stdtypes.rst:4958 msgid "" "Another example for :term:`mapping` objects, using a :class:`dict`, which is " "a generic type expecting two type parameters representing the key type and " @@ -6101,7 +6106,7 @@ msgstr "" "başka bir örnek. Bu örnekte, fonksiyon :class:`str` türünde anahtarları ve :" "class:`int` türünde değerleri olan bir ``dict`` bekler::" -#: library/stdtypes.rst:4964 +#: library/stdtypes.rst:4966 msgid "" "The builtin functions :func:`isinstance` and :func:`issubclass` do not " "accept ``GenericAlias`` types for their second argument::" @@ -6109,7 +6114,7 @@ msgstr "" "Yerleşik :func:`isinstance` ve :func:`issubclass` işlevleri ikinci " "argümanları için ``GenericAlias`` türlerini kabul etmez::" -#: library/stdtypes.rst:4972 +#: library/stdtypes.rst:4974 msgid "" "The Python runtime does not enforce :term:`type annotations `. " "This extends to generic types and their type parameters. When creating a " @@ -6123,7 +6128,7 @@ msgstr "" "elemanlar türlerine göre kontrol edilmez. Örneğin, aşağıdaki kod tavsiye " "edilmez, ancak hatasız çalışacaktır::" -#: library/stdtypes.rst:4982 +#: library/stdtypes.rst:4984 msgid "" "Furthermore, parameterized generics erase type parameters during object " "creation::" @@ -6131,7 +6136,7 @@ msgstr "" "Ayrıca, parametrelendirilmiş jenerikler nesne oluşturma sırasında tip " "parametrelerini siler::" -#: library/stdtypes.rst:4993 +#: library/stdtypes.rst:4995 msgid "" "Calling :func:`repr` or :func:`str` on a generic shows the parameterized " "type::" @@ -6139,7 +6144,7 @@ msgstr "" "Bir jenerik üzerinde :func:`repr` veya :func:`str` çağrısı " "parametrelendirilmiş türü gösterir::" -#: library/stdtypes.rst:5001 +#: library/stdtypes.rst:5003 msgid "" "The :meth:`~object.__getitem__` method of generic containers will raise an " "exception to disallow mistakes like ``dict[str][str]``::" @@ -6147,7 +6152,7 @@ msgstr "" "Genel kapsayıcıların :meth:`~object.__getitem__` metodu, ``dict[str][str]`` " "gibi hatalara izin vermemek için bir istisna oluşturacaktır::" -#: library/stdtypes.rst:5009 +#: library/stdtypes.rst:5011 msgid "" "However, such expressions are valid when :ref:`type variables ` " "are used. The index must have as many elements as there are type variable " @@ -6157,11 +6162,11 @@ msgstr "" "geçerlidir. Dizin, ``GenericAlias`` nesnesinin :attr:`~genericalias." "__args__` öğesindeki tür değişkeni öğeleri kadar öğeye sahip olmalıdır::" -#: library/stdtypes.rst:5020 +#: library/stdtypes.rst:5022 msgid "Standard Generic Classes" msgstr "Standart Jenerik Sınıflar" -#: library/stdtypes.rst:5022 +#: library/stdtypes.rst:5024 msgid "" "The following standard library classes support parameterized generics. This " "list is non-exhaustive." @@ -6169,235 +6174,235 @@ msgstr "" "Bu standart kütüphane sınıfları parametrelendirilmiş jenerikleri destekler. " "Bu liste kapsamlı değildir." -#: library/stdtypes.rst:5025 +#: library/stdtypes.rst:5027 msgid ":class:`tuple`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:5026 +#: library/stdtypes.rst:5028 msgid ":class:`list`" msgstr ":class:`list`" -#: library/stdtypes.rst:5027 +#: library/stdtypes.rst:5029 msgid ":class:`dict`" msgstr ":class:`dict`" -#: library/stdtypes.rst:5028 +#: library/stdtypes.rst:5030 msgid ":class:`set`" msgstr ":class:`set`" -#: library/stdtypes.rst:5029 +#: library/stdtypes.rst:5031 msgid ":class:`frozenset`" msgstr ":class:`frozenset`" -#: library/stdtypes.rst:5030 +#: library/stdtypes.rst:5032 msgid ":class:`type`" msgstr ":class:`type`" -#: library/stdtypes.rst:5031 +#: library/stdtypes.rst:5033 msgid ":class:`collections.deque`" msgstr ":class:`collections.deque`" -#: library/stdtypes.rst:5032 +#: library/stdtypes.rst:5034 msgid ":class:`collections.defaultdict`" msgstr ":class:`collections.defaultdict`" -#: library/stdtypes.rst:5033 +#: library/stdtypes.rst:5035 msgid ":class:`collections.OrderedDict`" msgstr ":class:`collections.OrderedDict`" -#: library/stdtypes.rst:5034 +#: library/stdtypes.rst:5036 msgid ":class:`collections.Counter`" msgstr ":class:`collections.Counter`" -#: library/stdtypes.rst:5035 +#: library/stdtypes.rst:5037 msgid ":class:`collections.ChainMap`" msgstr ":class:`collections.ChainMap`" -#: library/stdtypes.rst:5036 +#: library/stdtypes.rst:5038 msgid ":class:`collections.abc.Awaitable`" msgstr ":class:`collections.abc.Awaitable`" -#: library/stdtypes.rst:5037 +#: library/stdtypes.rst:5039 msgid ":class:`collections.abc.Coroutine`" msgstr ":class:`collections.abc.Coroutine`" -#: library/stdtypes.rst:5038 +#: library/stdtypes.rst:5040 msgid ":class:`collections.abc.AsyncIterable`" msgstr ":class:`collections.abc.AsyncIterable`" -#: library/stdtypes.rst:5039 +#: library/stdtypes.rst:5041 msgid ":class:`collections.abc.AsyncIterator`" msgstr ":class:`collections.abc.AsyncIterator`" -#: library/stdtypes.rst:5040 +#: library/stdtypes.rst:5042 msgid ":class:`collections.abc.AsyncGenerator`" msgstr ":class:`collections.abc.AsyncGenerator`" -#: library/stdtypes.rst:5041 +#: library/stdtypes.rst:5043 msgid ":class:`collections.abc.Iterable`" msgstr ":class:`collections.abc.Iterable`" -#: library/stdtypes.rst:5042 +#: library/stdtypes.rst:5044 msgid ":class:`collections.abc.Iterator`" msgstr ":class:`collections.abc.Iterator`" -#: library/stdtypes.rst:5043 +#: library/stdtypes.rst:5045 msgid ":class:`collections.abc.Generator`" msgstr ":class:`collections.abc.Generator`" -#: library/stdtypes.rst:5044 +#: library/stdtypes.rst:5046 msgid ":class:`collections.abc.Reversible`" msgstr ":class:`collections.abc.Reversible`" -#: library/stdtypes.rst:5045 +#: library/stdtypes.rst:5047 msgid ":class:`collections.abc.Container`" msgstr ":class:`collections.abc.Container`" -#: library/stdtypes.rst:5046 +#: library/stdtypes.rst:5048 msgid ":class:`collections.abc.Collection`" msgstr ":class:`collections.abc.Collection`" -#: library/stdtypes.rst:5047 +#: library/stdtypes.rst:5049 msgid ":class:`collections.abc.Callable`" msgstr ":class:`collections.abc.Callable`" -#: library/stdtypes.rst:5048 +#: library/stdtypes.rst:5050 msgid ":class:`collections.abc.Set`" msgstr ":class:`collections.abc.Set`" -#: library/stdtypes.rst:5049 +#: library/stdtypes.rst:5051 msgid ":class:`collections.abc.MutableSet`" msgstr ":class:`collections.abc.MutableSet`" -#: library/stdtypes.rst:5050 +#: library/stdtypes.rst:5052 msgid ":class:`collections.abc.Mapping`" msgstr ":class:`collections.abc.Mapping`" -#: library/stdtypes.rst:5051 +#: library/stdtypes.rst:5053 msgid ":class:`collections.abc.MutableMapping`" msgstr ":class:`collections.abc.MutableMapping`" -#: library/stdtypes.rst:5052 +#: library/stdtypes.rst:5054 msgid ":class:`collections.abc.Sequence`" msgstr ":class:`collections.abc.Sequence`" -#: library/stdtypes.rst:5053 +#: library/stdtypes.rst:5055 msgid ":class:`collections.abc.MutableSequence`" msgstr ":class:`collections.abc.MutableSequence`" -#: library/stdtypes.rst:5054 +#: library/stdtypes.rst:5056 msgid ":class:`collections.abc.ByteString`" msgstr ":class:`collections.abc.ByteString`" -#: library/stdtypes.rst:5055 +#: library/stdtypes.rst:5057 msgid ":class:`collections.abc.MappingView`" msgstr ":class:`collections.abc.MappingView`" -#: library/stdtypes.rst:5056 +#: library/stdtypes.rst:5058 msgid ":class:`collections.abc.KeysView`" msgstr ":class:`collections.abc.KeysView`" -#: library/stdtypes.rst:5057 +#: library/stdtypes.rst:5059 msgid ":class:`collections.abc.ItemsView`" msgstr ":class:`collections.abc.ItemsView`" -#: library/stdtypes.rst:5058 +#: library/stdtypes.rst:5060 msgid ":class:`collections.abc.ValuesView`" msgstr ":class:`collections.abc.ValuesView`" -#: library/stdtypes.rst:5059 +#: library/stdtypes.rst:5061 msgid ":class:`contextlib.AbstractContextManager`" msgstr ":class:`contextlib.AbstractContextManager`" -#: library/stdtypes.rst:5060 +#: library/stdtypes.rst:5062 msgid ":class:`contextlib.AbstractAsyncContextManager`" msgstr ":class:`contextlib.AbstractAsyncContextManager`" -#: library/stdtypes.rst:5061 +#: library/stdtypes.rst:5063 msgid ":class:`dataclasses.Field`" msgstr ":class:`dataclasses.Field`" -#: library/stdtypes.rst:5062 +#: library/stdtypes.rst:5064 msgid ":class:`functools.cached_property`" msgstr ":class:`functools.cached_property`" -#: library/stdtypes.rst:5063 +#: library/stdtypes.rst:5065 msgid ":class:`functools.partialmethod`" msgstr "" -#: library/stdtypes.rst:5064 +#: library/stdtypes.rst:5066 msgid ":class:`os.PathLike`" msgstr ":class:`os.PathLike`" -#: library/stdtypes.rst:5065 +#: library/stdtypes.rst:5067 msgid ":class:`queue.LifoQueue`" msgstr ":class:`queue.LifoQueue`" -#: library/stdtypes.rst:5066 +#: library/stdtypes.rst:5068 msgid ":class:`queue.Queue`" msgstr ":class:`queue.Queue`" -#: library/stdtypes.rst:5067 +#: library/stdtypes.rst:5069 msgid ":class:`queue.PriorityQueue`" msgstr ":class:`queue.PriorityQueue`" -#: library/stdtypes.rst:5068 +#: library/stdtypes.rst:5070 msgid ":class:`queue.SimpleQueue`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:5069 +#: library/stdtypes.rst:5071 msgid ":ref:`re.Pattern `" msgstr ":ref:`re.Pattern `" -#: library/stdtypes.rst:5070 +#: library/stdtypes.rst:5072 msgid ":ref:`re.Match `" msgstr ":ref:`re.Match `" -#: library/stdtypes.rst:5071 +#: library/stdtypes.rst:5073 msgid ":class:`shelve.BsdDbShelf`" msgstr ":class:`shelve.BsdDbShelf`" -#: library/stdtypes.rst:5072 +#: library/stdtypes.rst:5074 msgid ":class:`shelve.DbfilenameShelf`" msgstr ":class:`shelve.DbfilenameShelf`" -#: library/stdtypes.rst:5073 +#: library/stdtypes.rst:5075 msgid ":class:`shelve.Shelf`" msgstr ":class:`shelve.Shelf`" -#: library/stdtypes.rst:5074 +#: library/stdtypes.rst:5076 msgid ":class:`types.MappingProxyType`" msgstr ":class:`types.MappingProxyType`" -#: library/stdtypes.rst:5075 +#: library/stdtypes.rst:5077 msgid ":class:`weakref.WeakKeyDictionary`" msgstr "" -#: library/stdtypes.rst:5076 +#: library/stdtypes.rst:5078 msgid ":class:`weakref.WeakMethod`" msgstr "" -#: library/stdtypes.rst:5077 +#: library/stdtypes.rst:5079 msgid ":class:`weakref.WeakSet`" msgstr ":class:`weakref.WeakSet`" -#: library/stdtypes.rst:5078 +#: library/stdtypes.rst:5080 msgid ":class:`weakref.WeakValueDictionary`" msgstr "" -#: library/stdtypes.rst:5083 +#: library/stdtypes.rst:5085 msgid "Special Attributes of ``GenericAlias`` objects" msgstr "``GenericAlias`` objesinin Özel Öznitelikleri" -#: library/stdtypes.rst:5085 +#: library/stdtypes.rst:5087 msgid "All parameterized generics implement special read-only attributes." msgstr "Tüm parametreli jenerikler özel salt okunur öznitelikler uygular." -#: library/stdtypes.rst:5089 +#: library/stdtypes.rst:5091 msgid "This attribute points at the non-parameterized generic class::" msgstr "Bu öznitelik, parametrelendirilmemiş genel sınıfa işaret eder::" -#: library/stdtypes.rst:5097 +#: library/stdtypes.rst:5099 msgid "" "This attribute is a :class:`tuple` (possibly of length 1) of generic types " "passed to the original :meth:`~object.__class_getitem__` of the generic " @@ -6407,7 +6412,7 @@ msgstr "" "öğesine iletilen jenerik tiplerinden bir :class:`tuple` 'dır (muhtemelen 1 " "uzunluğunda)::" -#: library/stdtypes.rst:5107 +#: library/stdtypes.rst:5109 msgid "" "This attribute is a lazily computed tuple (possibly empty) of unique type " "variables found in ``__args__``::" @@ -6415,7 +6420,7 @@ msgstr "" "Bu öznitelik, ''__args__'' içinde bulunan benzersiz tür değişkenlerin tembel " "bir şekilde hesaplanmış bir demetidir (muhtemelen boş):" -#: library/stdtypes.rst:5118 +#: library/stdtypes.rst:5120 msgid "" "A ``GenericAlias`` object with :class:`typing.ParamSpec` parameters may not " "have correct ``__parameters__`` after substitution because :class:`typing." @@ -6425,49 +6430,49 @@ msgstr "" "değiştirildikten sonra doğru ``__parameters__`` olmayabilir çünkü :class:" "`typing.ParamSpec` öncelikle statik tip kontrolü için tasarlanmıştır." -#: library/stdtypes.rst:5125 +#: library/stdtypes.rst:5127 msgid "" "A boolean that is true if the alias has been unpacked using the ``*`` " "operator (see :data:`~typing.TypeVarTuple`)." msgstr "" -#: library/stdtypes.rst:5134 +#: library/stdtypes.rst:5136 msgid ":pep:`484` - Type Hints" msgstr "" -#: library/stdtypes.rst:5134 +#: library/stdtypes.rst:5136 msgid "Introducing Python's framework for type annotations." msgstr "" -#: library/stdtypes.rst:5139 +#: library/stdtypes.rst:5141 msgid ":pep:`585` - Type Hinting Generics In Standard Collections" msgstr "" ":pep:`585` - Standart Koleksiyonlarda Tip İma Etme (Type Hinting) Jenerikleri" -#: library/stdtypes.rst:5137 +#: library/stdtypes.rst:5139 msgid "" "Introducing the ability to natively parameterize standard-library classes, " "provided they implement the special class method :meth:`~object." "__class_getitem__`." msgstr "" -#: library/stdtypes.rst:5142 +#: library/stdtypes.rst:5144 msgid "" ":ref:`Generics`, :ref:`user-defined generics ` and :" "class:`typing.Generic`" msgstr "" -#: library/stdtypes.rst:5142 +#: library/stdtypes.rst:5144 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." msgstr "" -#: library/stdtypes.rst:5151 +#: library/stdtypes.rst:5153 msgid "Union Type" msgstr "Sendika Türü" -#: library/stdtypes.rst:5157 +#: library/stdtypes.rst:5159 msgid "" "A union object holds the value of the ``|`` (bitwise or) operation on " "multiple :ref:`type objects `. These types are intended " @@ -6481,7 +6486,7 @@ msgstr "" "Birleşim türü ifadesi, aşağıdakilere kıyasla daha temiz tür ipucu sözdizimi " "sağlar :data:`typing.Union`." -#: library/stdtypes.rst:5164 +#: library/stdtypes.rst:5166 msgid "" "Defines a union object which holds types *X*, *Y*, and so forth. ``X | Y`` " "means either X or Y. It is equivalent to ``typing.Union[X, Y]``. For " @@ -6492,7 +6497,7 @@ msgstr "" "anlamına gelir. Bu, ``typing.Union[X, Y]`` ile eş değerdir. Örneğin, " "aşağıdaki işlev :class:`int` veya :class:`float`::" -#: library/stdtypes.rst:5174 +#: library/stdtypes.rst:5176 msgid "" "The ``|`` operand cannot be used at runtime to define unions where one or " "more members is a forward reference. For example, ``int | \"Foo\"``, where " @@ -6501,34 +6506,34 @@ msgid "" "a string, e.g. ``\"int | Foo\"``." msgstr "" -#: library/stdtypes.rst:5182 +#: library/stdtypes.rst:5184 msgid "" "Union objects can be tested for equality with other union objects. Details:" msgstr "" "Birlik nesneleri, diğer birlik nesneleriyle eşitlik açısından test " "edilebilir. Detaylar:" -#: library/stdtypes.rst:5184 +#: library/stdtypes.rst:5186 msgid "Unions of unions are flattened::" msgstr "Birliklerin birlikleri düzleştirimiştir::" -#: library/stdtypes.rst:5188 +#: library/stdtypes.rst:5190 msgid "Redundant types are removed::" msgstr "Gereksiz türler kaldırılır::" -#: library/stdtypes.rst:5192 +#: library/stdtypes.rst:5194 msgid "When comparing unions, the order is ignored::" msgstr "Birlikleri karşılaştırırken, sipariş göz ardı edilir::" -#: library/stdtypes.rst:5196 +#: library/stdtypes.rst:5198 msgid "It is compatible with :data:`typing.Union`::" msgstr ":data:`typing.Union`:: ile uyumludur:" -#: library/stdtypes.rst:5200 +#: library/stdtypes.rst:5202 msgid "Optional types can be spelled as a union with ``None``::" msgstr "İsteğe bağlı türler ``None``:: ile bir birlik olarak yazılabilir:" -#: library/stdtypes.rst:5207 +#: library/stdtypes.rst:5209 msgid "" "Calls to :func:`isinstance` and :func:`issubclass` are also supported with a " "union object::" @@ -6536,14 +6541,14 @@ msgstr "" ":func:`isinstance` ve :func:`issubclass` çağrıları da bir birlik nesnesiyle " "desteklenir::" -#: library/stdtypes.rst:5213 +#: library/stdtypes.rst:5215 #, fuzzy msgid "" "However, :ref:`parameterized generics ` in union objects " "cannot be checked::" msgstr "Ancak, :ref:`types-genericalias` içeren union nesneleri kullanılamaz::" -#: library/stdtypes.rst:5223 +#: library/stdtypes.rst:5225 msgid "" "The user-exposed type for the union object can be accessed from :data:`types." "UnionType` and used for :func:`isinstance` checks. An object cannot be " @@ -6553,25 +6558,26 @@ msgstr "" "erişilebilir ve :func:`isinstance` kontrolleri için kullanılabilir. Bir " "nesne şu türden örneklenemez::" -#: library/stdtypes.rst:5236 +#: library/stdtypes.rst:5238 +#, fuzzy msgid "" -"The :meth:`__or__` method for type objects was added to support the syntax " -"``X | Y``. If a metaclass implements :meth:`__or__`, the Union may override " -"it::" +"The :meth:`!__or__` method for type objects was added to support the syntax " +"``X | Y``. If a metaclass implements :meth:`!__or__`, the Union may " +"override it:" msgstr "" "Tür nesneleri için :meth:`__or__` yöntemi, ``X | Y`` sözdizimini desteklemek " "için eklendi. Eğer bir metaclass :meth:`__or__` metodunu uygularsa, Union " "bunu geçersiz kılabilir::" -#: library/stdtypes.rst:5254 +#: library/stdtypes.rst:5258 msgid ":pep:`604` -- PEP proposing the ``X | Y`` syntax and the Union type." msgstr ":pep:`604` -- ``X | Y`` sözdizimini ve Birlik türünü öneren PEP." -#: library/stdtypes.rst:5262 +#: library/stdtypes.rst:5266 msgid "Other Built-in Types" msgstr "Diğer Yerleşik Tipler" -#: library/stdtypes.rst:5264 +#: library/stdtypes.rst:5268 msgid "" "The interpreter supports several other kinds of objects. Most of these " "support only one or two operations." @@ -6579,11 +6585,11 @@ msgstr "" "Yorumlayıcı başka nesne türlerini de destekler. Bunların çoğu yalnızca bir " "veya iki işlemi destekler." -#: library/stdtypes.rst:5271 +#: library/stdtypes.rst:5275 msgid "Modules" msgstr "Modüller" -#: library/stdtypes.rst:5273 +#: library/stdtypes.rst:5277 msgid "" "The only special operation on a module is attribute access: ``m.name``, " "where *m* is a module and *name* accesses a name defined in *m*'s symbol " @@ -6601,7 +6607,7 @@ msgstr "" "bunun yerine bir yerlerde *foo* adında bir modül için (harici) bir " "*tanımlama* gerektirir)" -#: library/stdtypes.rst:5280 +#: library/stdtypes.rst:5284 msgid "" "A special attribute of every module is :attr:`~object.__dict__`. This is the " "dictionary containing the module's symbol table. Modifying this dictionary " @@ -6619,7 +6625,7 @@ msgstr "" "`` yazamazsınız). :attr:`~object.__dict__` öğesinin doğrudan değiştirilmesi " "önerilmez." -#: library/stdtypes.rst:5288 +#: library/stdtypes.rst:5292 msgid "" "Modules built into the interpreter are written like this: ````. If loaded from a file, they are written as ````. Eğer bir dosyadan yüklenmişlerse, ```` şeklinde yazılırlar." -#: library/stdtypes.rst:5296 +#: library/stdtypes.rst:5300 msgid "Classes and Class Instances" msgstr "Sınıflar ve Sınıf Örnekleri" -#: library/stdtypes.rst:5298 +#: library/stdtypes.rst:5302 msgid "See :ref:`objects` and :ref:`class` for these." msgstr "Bunlar için :ref:`class` ve :ref:`objects` bakın." -#: library/stdtypes.rst:5304 +#: library/stdtypes.rst:5308 msgid "Functions" msgstr "Fonksiyonlar" -#: library/stdtypes.rst:5306 +#: library/stdtypes.rst:5310 msgid "" "Function objects are created by function definitions. The only operation on " "a function object is to call it: ``func(argument-list)``." @@ -6650,7 +6656,7 @@ msgstr "" "fonksiyon nesnesi üzerindeki tek işlem onu çağırmaktır: ``func(argument-" "list)``." -#: library/stdtypes.rst:5309 +#: library/stdtypes.rst:5313 msgid "" "There are really two flavors of function objects: built-in functions and " "user-defined functions. Both support the same operation (to call the " @@ -6662,35 +6668,38 @@ msgstr "" "çağırmak için), ancak uygulama farklıdır, dolayısıyla farklı nesne türleri " "vardır." -#: library/stdtypes.rst:5313 +#: library/stdtypes.rst:5317 msgid "See :ref:`function` for more information." msgstr "Daha fazla bilgi için :ref:`function` bölümüne bakınız." -#: library/stdtypes.rst:5319 +#: library/stdtypes.rst:5323 msgid "Methods" msgstr "Yöntemler" -#: library/stdtypes.rst:5323 +#: library/stdtypes.rst:5327 +#, fuzzy msgid "" "Methods are functions that are called using the attribute notation. There " -"are two flavors: built-in methods (such as :meth:`append` on lists) and " -"class instance methods. Built-in methods are described with the types that " -"support them." +"are two flavors: :ref:`built-in methods ` (such as :meth:" +"`append` on lists) and :ref:`class instance method `. " +"Built-in methods are described with the types that support them." msgstr "" "Yöntemler, nitelik gösterimi kullanılarak çağrılan işlevlerdir. İki çeşidi " "vardır: yerleşik yöntemler (listelerde :meth:`append` gibi) ve sınıf örneği " "yöntemleri. Yerleşik yöntemler, onları destekleyen türlerle birlikte " "tanımlanır." -#: library/stdtypes.rst:5328 +#: library/stdtypes.rst:5332 +#, fuzzy msgid "" "If you access a method (a function defined in a class namespace) through an " -"instance, you get a special object: a :dfn:`bound method` (also called :dfn:" -"`instance method`) object. When called, it will add the ``self`` argument to " -"the argument list. Bound methods have two special read-only attributes: ``m." -"__self__`` is the object on which the method operates, and ``m.__func__`` is " -"the function implementing the method. Calling ``m(arg-1, arg-2, ..., arg-" -"n)`` is completely equivalent to calling ``m.__func__(m.__self__, arg-1, " +"instance, you get a special object: a :dfn:`bound method` (also called :ref:" +"`instance method `) object. When called, it will add the " +"``self`` argument to the argument list. Bound methods have two special read-" +"only attributes: :attr:`m.__self__ ` is the object on which " +"the method operates, and :attr:`m.__func__ ` is the " +"function implementing the method. Calling ``m(arg-1, arg-2, ..., arg-n)`` " +"is completely equivalent to calling ``m.__func__(m.__self__, arg-1, " "arg-2, ..., arg-n)``." msgstr "" "Bir yönteme (bir sınıf ad alanında tanımlanmış bir fonksiyon) bir örnek " @@ -6702,14 +6711,16 @@ msgstr "" "``m(arg-1, arg-2, ..., arg-n)`` çağrısı tamamen ``m.__func__(m.__self__, " "arg-1, arg-2, ..., arg-n)`` çağrısına eş değerdir." -#: library/stdtypes.rst:5337 +#: library/stdtypes.rst:5343 +#, fuzzy msgid "" -"Like function objects, bound method objects support getting arbitrary " -"attributes. However, since method attributes are actually stored on the " -"underlying function object (``meth.__func__``), setting method attributes on " -"bound methods is disallowed. Attempting to set an attribute on a method " -"results in an :exc:`AttributeError` being raised. In order to set a method " -"attribute, you need to explicitly set it on the underlying function object::" +"Like :ref:`function objects `, bound method objects " +"support getting arbitrary attributes. However, since method attributes are " +"actually stored on the underlying function object (:attr:`method.__func__`), " +"setting method attributes on bound methods is disallowed. Attempting to set " +"an attribute on a method results in an :exc:`AttributeError` being raised. " +"In order to set a method attribute, you need to explicitly set it on the " +"underlying function object:" msgstr "" "Fonksiyon nesneleri gibi, bağlı metot nesneleri de keyfi nitelikler almayı " "destekler. Ancak, yöntem nitelikleri aslında temel işlev nesnesinde (``meth." @@ -6719,22 +6730,24 @@ msgstr "" "ayarlamak için, bunu temel işlev nesnesi üzerinde açıkça ayarlamanız " "gerekir::" -#: library/stdtypes.rst:5388 -msgid "See :ref:`types` for more information." +#: library/stdtypes.rst:5366 +#, fuzzy +msgid "See :ref:`instance-methods` for more information." msgstr "Daha fazla bilgi için :ref:`types` sayfasına bakın." -#: library/stdtypes.rst:5365 +#: library/stdtypes.rst:5374 msgid "Code Objects" msgstr "Kod Nesneleri" -#: library/stdtypes.rst:5371 +#: library/stdtypes.rst:5380 +#, fuzzy msgid "" "Code objects are used by the implementation to represent \"pseudo-compiled\" " "executable Python code such as a function body. They differ from function " "objects because they don't contain a reference to their global execution " "environment. Code objects are returned by the built-in :func:`compile` " "function and can be extracted from function objects through their :attr:" -"`__code__` attribute. See also the :mod:`code` module." +"`~function.__code__` attribute. See also the :mod:`code` module." msgstr "" "Kod nesneleri, uygulama tarafından bir fonksiyon gövdesi gibi \"sözde " "derlenmiş\" çalıştırılabilir Python kodunu temsil etmek için kullanılır. " @@ -6743,15 +6756,17 @@ msgstr "" "tarafından döndürülür ve :attr:`__code__` niteliği aracılığıyla işlev " "nesnelerinden çıkarılabilir. Ayrıca :mod:`code` modülüne de bakınız." -#: library/stdtypes.rst:5378 +#: library/stdtypes.rst:5387 +#, fuzzy msgid "" -"Accessing ``__code__`` raises an :ref:`auditing event ` ``object." -"__getattr__`` with arguments ``obj`` and ``\"__code__\"``." +"Accessing :attr:`~function.__code__` raises an :ref:`auditing event " +"` ``object.__getattr__`` with arguments ``obj`` and " +"``\"__code__\"``." msgstr "" "``__code__`` 'e erişmek,``obj`` ve ``\"__code__\"`` argümanlarıyla :ref:" "`denetim etkinliği ` ``object.__getattr__`` oluşturur." -#: library/stdtypes.rst:5385 +#: library/stdtypes.rst:5394 msgid "" "A code object can be executed or evaluated by passing it (instead of a " "source string) to the :func:`exec` or :func:`eval` built-in functions." @@ -6759,11 +6774,15 @@ msgstr "" "Bir kod nesnesi (kaynak dize yerine) :func:`exec` veya :func:`eval` yerleşik " "işlevlerine geçirilerek yürütülebilir veya değerlendirilebilir." -#: library/stdtypes.rst:5394 +#: library/stdtypes.rst:5397 +msgid "See :ref:`types` for more information." +msgstr "Daha fazla bilgi için :ref:`types` sayfasına bakın." + +#: library/stdtypes.rst:5403 msgid "Type Objects" msgstr "Type Objects" -#: library/stdtypes.rst:5400 +#: library/stdtypes.rst:5409 msgid "" "Type objects represent the various object types. An object's type is " "accessed by the built-in function :func:`type`. There are no special " @@ -6775,15 +6794,15 @@ msgstr "" "işlem yoktur. Standart modül :mod:`types` tüm standart yerleşik türler için " "isimleri tanımlar." -#: library/stdtypes.rst:5405 +#: library/stdtypes.rst:5414 msgid "Types are written like this: ````." msgstr "Türler şu şekilde yazılır: ````." -#: library/stdtypes.rst:5411 +#: library/stdtypes.rst:5420 msgid "The Null Object" msgstr "Null Nesne" -#: library/stdtypes.rst:5413 +#: library/stdtypes.rst:5422 msgid "" "This object is returned by functions that don't explicitly return a value. " "It supports no special operations. There is exactly one null object, named " @@ -6793,15 +6812,15 @@ msgstr "" "operasyonları desteklemez. Tam olarak ``None`` (yerleşik bir ad) adlı bir " "null nesne vardır. ``type(None)()`` aynı singleton'u üretir." -#: library/stdtypes.rst:5417 +#: library/stdtypes.rst:5426 msgid "It is written as ``None``." msgstr "''Yok'' olarak yazılmıştır." -#: library/stdtypes.rst:5424 +#: library/stdtypes.rst:5433 msgid "The Ellipsis Object" msgstr "Üç Nokta Nesnesi" -#: library/stdtypes.rst:5426 +#: library/stdtypes.rst:5435 msgid "" "This object is commonly used by slicing (see :ref:`slicings`). It supports " "no special operations. There is exactly one ellipsis object, named :const:" @@ -6813,15 +6832,15 @@ msgstr "" "ad) adında bir elips nesnesi vardır. ``type(Ellipsis)()``, :const:" "`Ellipsis` singletonunu üretir." -#: library/stdtypes.rst:5431 +#: library/stdtypes.rst:5440 msgid "It is written as ``Ellipsis`` or ``...``." msgstr "``Ellipsis`` veya ``...`` olarak yazılmıştır." -#: library/stdtypes.rst:5437 +#: library/stdtypes.rst:5446 msgid "The NotImplemented Object" msgstr "NotImplemented Nesnesi" -#: library/stdtypes.rst:5439 +#: library/stdtypes.rst:5448 msgid "" "This object is returned from comparisons and binary operations when they are " "asked to operate on types they don't support. See :ref:`comparisons` for " @@ -6833,27 +6852,29 @@ msgstr "" "ref:`comparisons` sayfasına bakın. Tam olarak bir ``NotImplemented`` " "nesnesi vardır. ``type(NotImplemented)()``, singleton örneğini üretir." -#: library/stdtypes.rst:5444 +#: library/stdtypes.rst:5453 msgid "It is written as ``NotImplemented``." msgstr "''NotImplemented'' olarak yazılmıştır." -#: library/stdtypes.rst:5450 +#: library/stdtypes.rst:5459 msgid "Internal Objects" msgstr "İç Nesneler" -#: library/stdtypes.rst:5452 +#: library/stdtypes.rst:5461 +#, fuzzy msgid "" -"See :ref:`types` for this information. It describes stack frame objects, " -"traceback objects, and slice objects." +"See :ref:`types` for this information. It describes :ref:`stack frame " +"objects `, :ref:`traceback objects `, and " +"slice objects." msgstr "" "Bu bilgi için :ref:`types` sayfasına bakın. Yığın çerçeve nesnelerini, geri " "izleme nesnelerini ve dilim nesnelerini açıklar." -#: library/stdtypes.rst:5459 +#: library/stdtypes.rst:5469 msgid "Special Attributes" msgstr "Özel Özellikler" -#: library/stdtypes.rst:5461 +#: library/stdtypes.rst:5471 msgid "" "The implementation adds a few special read-only attributes to several object " "types, where they are relevant. Some of these are not reported by the :func:" @@ -6863,7 +6884,7 @@ msgstr "" "öznitelik ekler. Bunlardan bazıları :func:`dir` yerleşik işlevi tarafından " "bildirilmez." -#: library/stdtypes.rst:5468 +#: library/stdtypes.rst:5478 msgid "" "A dictionary or other mapping object used to store an object's (writable) " "attributes." @@ -6871,20 +6892,20 @@ msgstr "" "Bir nesnenin (yazılabilir) özniteliklerini depolamak için kullanılan sözlük " "veya başka bir eşleme nesnesi." -#: library/stdtypes.rst:5474 +#: library/stdtypes.rst:5484 msgid "The class to which a class instance belongs." msgstr "Bir sınıf örneğinin ait olduğu sınıf." -#: library/stdtypes.rst:5479 +#: library/stdtypes.rst:5489 msgid "The tuple of base classes of a class object." msgstr "Bir sınıf elemanının temel sınıflarının kümesi." -#: library/stdtypes.rst:5484 +#: library/stdtypes.rst:5494 msgid "" "The name of the class, function, method, descriptor, or generator instance." msgstr "Sınıf, fonksiyon, yöntem, tanımlayıcı veya üretici örneğinin adı." -#: library/stdtypes.rst:5490 +#: library/stdtypes.rst:5500 msgid "" "The :term:`qualified name` of the class, function, method, descriptor, or " "generator instance." @@ -6892,13 +6913,13 @@ msgstr "" "Sınıf, fonksiyon, yöntem, tanımlayıcı veya üretici örneğinin :term:" "`qualified name`." -#: library/stdtypes.rst:5498 +#: library/stdtypes.rst:5508 msgid "" "The :ref:`type parameters ` of generic classes, functions, and :" "ref:`type aliases `." msgstr "" -#: library/stdtypes.rst:5506 +#: library/stdtypes.rst:5516 msgid "" "This attribute is a tuple of classes that are considered when looking for " "base classes during method resolution." @@ -6906,7 +6927,7 @@ msgstr "" "Bu öznitelik, yöntem çözümlemesi sırasında temel sınıfları ararken dikkate " "alınan bir sınıf kümesidir." -#: library/stdtypes.rst:5512 +#: library/stdtypes.rst:5522 msgid "" "This method can be overridden by a metaclass to customize the method " "resolution order for its instances. It is called at class instantiation, " @@ -6916,7 +6937,7 @@ msgstr "" "meta sınıf tarafından geçersiz kılınabilir. Sınıf örneğinde çağrılır ve " "sonucu :attr:`~class.__mro__` içinde depolanır." -#: library/stdtypes.rst:5519 +#: library/stdtypes.rst:5529 msgid "" "Each class keeps a list of weak references to its immediate subclasses. " "This method returns a list of all those references still alive. The list is " @@ -6926,11 +6947,11 @@ msgstr "" "tutar. Bu yöntem, hala var olan tüm bu başvuruların bir listesini " "döndürür. Liste tanım sırasına göredir. Örnek::" -#: library/stdtypes.rst:5530 +#: library/stdtypes.rst:5540 msgid "Integer string conversion length limitation" msgstr "" -#: library/stdtypes.rst:5532 +#: library/stdtypes.rst:5542 msgid "" "CPython has a global limit for converting between :class:`int` and :class:" "`str` to mitigate denial of service attacks. This limit *only* applies to " @@ -6938,7 +6959,7 @@ msgid "" "binary conversions are unlimited. The limit can be configured." msgstr "" -#: library/stdtypes.rst:5537 +#: library/stdtypes.rst:5547 msgid "" "The :class:`int` type in CPython is an arbitrary length number stored in " "binary form (commonly known as a \"bignum\"). There exists no algorithm that " @@ -6948,25 +6969,25 @@ msgid "" "value such as ``int('1' * 500_000)`` can take over a second on a fast CPU." msgstr "" -#: library/stdtypes.rst:5544 +#: library/stdtypes.rst:5554 msgid "" "Limiting conversion size offers a practical way to avoid `CVE-2020-10735 " "`_." msgstr "" -#: library/stdtypes.rst:5547 +#: library/stdtypes.rst:5557 msgid "" "The limit is applied to the number of digit characters in the input or " "output string when a non-linear conversion algorithm would be involved. " "Underscores and the sign are not counted towards the limit." msgstr "" -#: library/stdtypes.rst:5551 +#: library/stdtypes.rst:5561 msgid "" "When an operation would exceed the limit, a :exc:`ValueError` is raised:" msgstr "" -#: library/stdtypes.rst:5573 +#: library/stdtypes.rst:5583 msgid "" "The default limit is 4300 digits as provided in :data:`sys.int_info." "default_max_str_digits `. The lowest limit that can be " @@ -6974,95 +6995,95 @@ msgid "" "str_digits_check_threshold `." msgstr "" -#: library/stdtypes.rst:5578 +#: library/stdtypes.rst:5588 msgid "Verification:" msgstr "Doğrulama" -#: library/stdtypes.rst:5593 +#: library/stdtypes.rst:5603 msgid "Affected APIs" msgstr "" -#: library/stdtypes.rst:5595 +#: library/stdtypes.rst:5605 msgid "" "The limitation only applies to potentially slow conversions between :class:" "`int` and :class:`str` or :class:`bytes`:" msgstr "" -#: library/stdtypes.rst:5598 +#: library/stdtypes.rst:5608 msgid "``int(string)`` with default base 10." msgstr "" -#: library/stdtypes.rst:5599 +#: library/stdtypes.rst:5609 msgid "``int(string, base)`` for all bases that are not a power of 2." msgstr "" -#: library/stdtypes.rst:5600 +#: library/stdtypes.rst:5610 msgid "``str(integer)``." msgstr "" -#: library/stdtypes.rst:5601 +#: library/stdtypes.rst:5611 msgid "``repr(integer)``." msgstr "" -#: library/stdtypes.rst:5602 +#: library/stdtypes.rst:5612 msgid "" "any other string conversion to base 10, for example ``f\"{integer}\"``, " "``\"{}\".format(integer)``, or ``b\"%d\" % integer``." msgstr "" -#: library/stdtypes.rst:5605 +#: library/stdtypes.rst:5615 msgid "The limitations do not apply to functions with a linear algorithm:" msgstr "" -#: library/stdtypes.rst:5607 +#: library/stdtypes.rst:5617 msgid "``int(string, base)`` with base 2, 4, 8, 16, or 32." msgstr "" -#: library/stdtypes.rst:5608 +#: library/stdtypes.rst:5618 msgid ":func:`int.from_bytes` and :func:`int.to_bytes`." msgstr "" -#: library/stdtypes.rst:5609 +#: library/stdtypes.rst:5619 msgid ":func:`hex`, :func:`oct`, :func:`bin`." msgstr "" -#: library/stdtypes.rst:5610 +#: library/stdtypes.rst:5620 msgid ":ref:`formatspec` for hex, octal, and binary numbers." msgstr "" -#: library/stdtypes.rst:5611 +#: library/stdtypes.rst:5621 #, fuzzy msgid ":class:`str` to :class:`float`." msgstr ":class:`str` 'den :class:`float` 'a." -#: library/stdtypes.rst:5612 +#: library/stdtypes.rst:5622 msgid ":class:`str` to :class:`decimal.Decimal`." msgstr "" -#: library/stdtypes.rst:5615 +#: library/stdtypes.rst:5625 msgid "Configuring the limit" msgstr "" -#: library/stdtypes.rst:5617 +#: library/stdtypes.rst:5627 msgid "" "Before Python starts up you can use an environment variable or an " "interpreter command line flag to configure the limit:" msgstr "" -#: library/stdtypes.rst:5620 +#: library/stdtypes.rst:5630 msgid "" ":envvar:`PYTHONINTMAXSTRDIGITS`, e.g. ``PYTHONINTMAXSTRDIGITS=640 python3`` " "to set the limit to 640 or ``PYTHONINTMAXSTRDIGITS=0 python3`` to disable " "the limitation." msgstr "" -#: library/stdtypes.rst:5623 +#: library/stdtypes.rst:5633 msgid "" ":option:`-X int_max_str_digits <-X>`, e.g. ``python3 -X " "int_max_str_digits=640``" msgstr "" -#: library/stdtypes.rst:5625 +#: library/stdtypes.rst:5635 msgid "" ":data:`sys.flags.int_max_str_digits` contains the value of :envvar:" "`PYTHONINTMAXSTRDIGITS` or :option:`-X int_max_str_digits <-X>`. If both the " @@ -7071,38 +7092,38 @@ msgid "" "int_info.default_max_str_digits` was used during initialization." msgstr "" -#: library/stdtypes.rst:5631 +#: library/stdtypes.rst:5641 msgid "" "From code, you can inspect the current limit and set a new one using these :" "mod:`sys` APIs:" msgstr "" -#: library/stdtypes.rst:5634 +#: library/stdtypes.rst:5644 msgid "" ":func:`sys.get_int_max_str_digits` and :func:`sys.set_int_max_str_digits` " "are a getter and setter for the interpreter-wide limit. Subinterpreters have " "their own limit." msgstr "" -#: library/stdtypes.rst:5638 +#: library/stdtypes.rst:5648 msgid "" "Information about the default and minimum can be found in :data:`sys." "int_info`:" msgstr "" -#: library/stdtypes.rst:5640 +#: library/stdtypes.rst:5650 msgid "" ":data:`sys.int_info.default_max_str_digits ` is the compiled-" "in default limit." msgstr "" -#: library/stdtypes.rst:5642 +#: library/stdtypes.rst:5652 msgid "" ":data:`sys.int_info.str_digits_check_threshold ` is the lowest " "accepted value for the limit (other than 0 which disables it)." msgstr "" -#: library/stdtypes.rst:5649 +#: library/stdtypes.rst:5659 msgid "" "Setting a low limit *can* lead to problems. While rare, code exists that " "contains integer constants in decimal in their source that exceed the " @@ -7114,7 +7135,7 @@ msgid "" "constants is to convert them to ``0x`` hexadecimal form as it has no limit." msgstr "" -#: library/stdtypes.rst:5658 +#: library/stdtypes.rst:5668 msgid "" "Test your application thoroughly if you use a low limit. Ensure your tests " "run with the limit set early via the environment or flag so that it applies " @@ -7122,11 +7143,11 @@ msgid "" "to precompile ``.py`` sources to ``.pyc`` files." msgstr "" -#: library/stdtypes.rst:5664 +#: library/stdtypes.rst:5674 msgid "Recommended configuration" msgstr "" -#: library/stdtypes.rst:5666 +#: library/stdtypes.rst:5676 msgid "" "The default :data:`sys.int_info.default_max_str_digits` is expected to be " "reasonable for most applications. If your application requires a different " @@ -7134,19 +7155,19 @@ msgid "" "as these APIs were added in security patch releases in versions before 3.12." msgstr "" -#: library/stdtypes.rst:5671 +#: library/stdtypes.rst:5681 msgid "Example::" msgstr "Örnek::" -#: library/stdtypes.rst:5683 +#: library/stdtypes.rst:5693 msgid "If you need to disable it entirely, set it to ``0``." msgstr "" -#: library/stdtypes.rst:5687 +#: library/stdtypes.rst:5697 msgid "Footnotes" msgstr "Dipnotlar" -#: library/stdtypes.rst:5688 +#: library/stdtypes.rst:5698 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -7154,7 +7175,7 @@ msgstr "" "Bu özel yöntemler hakkında daha fazla bilgi Python Referans El Kitabında (:" "ref:`customization`) bulunabilir." -#: library/stdtypes.rst:5691 +#: library/stdtypes.rst:5701 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -7162,12 +7183,12 @@ msgstr "" "Sonuç olarak, ``[1, 2]`` listesi ``[1.0, 2.0]`` ve benzer şekilde demetler " "için eşit kabul edilir." -#: library/stdtypes.rst:5694 +#: library/stdtypes.rst:5704 msgid "They must have since the parser can't tell the type of the operands." msgstr "" "Ayrıştırıcı, işlenenlerin türünü söyleyemediğinden sahip olmaları gerekir." -#: library/stdtypes.rst:5696 +#: library/stdtypes.rst:5706 msgid "" "Cased characters are those with general category property being one of " "\"Lu\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -7177,7 +7198,7 @@ msgstr "" "\"Ll\" (Harf, küçük harf) veya \"Lt\" (Harf, başlık) karakterlerinden biri " "olan karakterlerdir." -#: library/stdtypes.rst:5699 +#: library/stdtypes.rst:5709 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." @@ -7190,12 +7211,12 @@ msgstr "" msgid "built-in" msgstr "Gömülü Türler" -#: library/stdtypes.rst:315 library/stdtypes.rst:949 library/stdtypes.rst:1138 -#: library/stdtypes.rst:4420 library/stdtypes.rst:5396 +#: library/stdtypes.rst:316 library/stdtypes.rst:950 library/stdtypes.rst:1139 +#: library/stdtypes.rst:4422 library/stdtypes.rst:5405 msgid "types" msgstr "" -#: library/stdtypes.rst:1153 library/stdtypes.rst:4420 +#: library/stdtypes.rst:1154 library/stdtypes.rst:4422 msgid "statement" msgstr "" @@ -7215,12 +7236,12 @@ msgstr "" msgid "value" msgstr "" -#: library/stdtypes.rst:80 library/stdtypes.rst:816 +#: library/stdtypes.rst:81 library/stdtypes.rst:817 #, fuzzy msgid "Boolean" msgstr "Boolean Değerleri" -#: library/stdtypes.rst:80 library/stdtypes.rst:392 +#: library/stdtypes.rst:81 library/stdtypes.rst:393 #, fuzzy msgid "operations" msgstr "İşlem" @@ -7233,708 +7254,708 @@ msgstr "" msgid "true" msgstr "" -#: library/stdtypes.rst:51 +#: library/stdtypes.rst:52 msgid "None (Built-in object)" msgstr "" -#: library/stdtypes.rst:51 +#: library/stdtypes.rst:52 msgid "False (Built-in object)" msgstr "" -#: library/stdtypes.rst:97 library/stdtypes.rst:194 library/stdtypes.rst:392 -#: library/stdtypes.rst:949 +#: library/stdtypes.rst:98 library/stdtypes.rst:195 library/stdtypes.rst:393 +#: library/stdtypes.rst:950 #, fuzzy msgid "operator" msgstr "İşlem" -#: library/stdtypes.rst:97 +#: library/stdtypes.rst:98 msgid "or" msgstr "" -#: library/stdtypes.rst:97 +#: library/stdtypes.rst:98 msgid "and" msgstr "" -#: library/stdtypes.rst:816 +#: library/stdtypes.rst:817 msgid "False" msgstr "" -#: library/stdtypes.rst:816 +#: library/stdtypes.rst:817 msgid "True" msgstr "" -#: library/stdtypes.rst:97 +#: library/stdtypes.rst:98 msgid "not" msgstr "" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 #, fuzzy msgid "chaining" msgstr "Anlamı" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 #, fuzzy msgid "comparisons" msgstr "Karşılaştırmalar" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 #, fuzzy msgid "comparison" msgstr "Karşılaştırmalar" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 msgid "==" msgstr "" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 msgid "< (less)" msgstr "" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 msgid "<=" msgstr "" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 msgid "> (greater)" msgstr "" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 msgid ">=" msgstr "" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 msgid "!=" msgstr "" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 msgid "is" msgstr "" -#: library/stdtypes.rst:122 +#: library/stdtypes.rst:123 #, fuzzy msgid "is not" msgstr "``is not``" -#: library/stdtypes.rst:207 library/stdtypes.rst:1116 library/stdtypes.rst:1258 -#: library/stdtypes.rst:1381 library/stdtypes.rst:1539 -#: library/stdtypes.rst:2532 library/stdtypes.rst:4219 -#: library/stdtypes.rst:4898 library/stdtypes.rst:5321 -#: library/stdtypes.rst:5360 +#: library/stdtypes.rst:208 library/stdtypes.rst:1117 library/stdtypes.rst:1259 +#: library/stdtypes.rst:1382 library/stdtypes.rst:1540 +#: library/stdtypes.rst:2533 library/stdtypes.rst:4220 +#: library/stdtypes.rst:4900 library/stdtypes.rst:5325 +#: library/stdtypes.rst:5369 #, fuzzy msgid "object" msgstr "Kod Nesneleri" -#: library/stdtypes.rst:207 library/stdtypes.rst:315 library/stdtypes.rst:334 +#: library/stdtypes.rst:208 library/stdtypes.rst:316 library/stdtypes.rst:335 msgid "numeric" msgstr "" -#: library/stdtypes.rst:162 +#: library/stdtypes.rst:163 #, fuzzy msgid "objects" msgstr "Kod Nesneleri" -#: library/stdtypes.rst:162 +#: library/stdtypes.rst:163 #, fuzzy msgid "comparing" msgstr "Karşılaştırmalar" -#: library/stdtypes.rst:172 +#: library/stdtypes.rst:173 msgid "__eq__() (instance method)" msgstr "" -#: library/stdtypes.rst:172 +#: library/stdtypes.rst:173 msgid "__ne__() (instance method)" msgstr "" -#: library/stdtypes.rst:172 +#: library/stdtypes.rst:173 msgid "__lt__() (instance method)" msgstr "" -#: library/stdtypes.rst:172 +#: library/stdtypes.rst:173 msgid "__le__() (instance method)" msgstr "" -#: library/stdtypes.rst:172 +#: library/stdtypes.rst:173 msgid "__gt__() (instance method)" msgstr "" -#: library/stdtypes.rst:172 +#: library/stdtypes.rst:173 msgid "__ge__() (instance method)" msgstr "" -#: library/stdtypes.rst:949 +#: library/stdtypes.rst:950 msgid "in" msgstr "" -#: library/stdtypes.rst:949 +#: library/stdtypes.rst:950 #, fuzzy msgid "not in" msgstr "``x not in s``" -#: library/stdtypes.rst:228 library/stdtypes.rst:392 +#: library/stdtypes.rst:229 library/stdtypes.rst:393 msgid "integer" msgstr "" -#: library/stdtypes.rst:228 +#: library/stdtypes.rst:229 #, fuzzy msgid "floating point" msgstr "*x* 'in gerçel sayıya (float) dönüştürülmüş hali" -#: library/stdtypes.rst:228 +#: library/stdtypes.rst:229 msgid "complex number" msgstr "" -#: library/stdtypes.rst:207 +#: library/stdtypes.rst:208 msgid "C" msgstr "" -#: library/stdtypes.rst:207 +#: library/stdtypes.rst:208 msgid "language" msgstr "" -#: library/stdtypes.rst:228 +#: library/stdtypes.rst:229 msgid "literals" msgstr "" -#: library/stdtypes.rst:228 +#: library/stdtypes.rst:229 msgid "hexadecimal" msgstr "" -#: library/stdtypes.rst:228 +#: library/stdtypes.rst:229 msgid "octal" msgstr "" -#: library/stdtypes.rst:228 +#: library/stdtypes.rst:229 msgid "binary" msgstr "" -#: library/stdtypes.rst:245 +#: library/stdtypes.rst:246 msgid "arithmetic" msgstr "" -#: library/stdtypes.rst:949 library/stdtypes.rst:4420 library/stdtypes.rst:5381 -#: library/stdtypes.rst:5396 +#: library/stdtypes.rst:950 library/stdtypes.rst:4422 library/stdtypes.rst:5390 +#: library/stdtypes.rst:5405 msgid "built-in function" msgstr "" -#: library/stdtypes.rst:245 +#: library/stdtypes.rst:246 msgid "int" msgstr "" -#: library/stdtypes.rst:245 +#: library/stdtypes.rst:246 msgid "float" msgstr "" -#: library/stdtypes.rst:245 +#: library/stdtypes.rst:246 #, fuzzy msgid "complex" msgstr ":func:`complex`" -#: library/stdtypes.rst:2389 library/stdtypes.rst:3607 +#: library/stdtypes.rst:2390 library/stdtypes.rst:3608 msgid "+ (plus)" msgstr "" -#: library/stdtypes.rst:245 +#: library/stdtypes.rst:246 #, fuzzy msgid "unary operator" msgstr "Grup Ayırıcı" -#: library/stdtypes.rst:245 +#: library/stdtypes.rst:246 #, fuzzy msgid "binary operator" msgstr "Satır Ayrıcı" -#: library/stdtypes.rst:2389 library/stdtypes.rst:3607 +#: library/stdtypes.rst:2390 library/stdtypes.rst:3608 msgid "- (minus)" msgstr "" -#: library/stdtypes.rst:2346 library/stdtypes.rst:3564 +#: library/stdtypes.rst:2347 library/stdtypes.rst:3565 msgid "* (asterisk)" msgstr "" -#: library/stdtypes.rst:245 +#: library/stdtypes.rst:246 msgid "/ (slash)" msgstr "" -#: library/stdtypes.rst:245 +#: library/stdtypes.rst:246 msgid "//" msgstr "" -#: library/stdtypes.rst:2316 library/stdtypes.rst:3532 +#: library/stdtypes.rst:2317 library/stdtypes.rst:3533 msgid "% (percent)" msgstr "" -#: library/stdtypes.rst:245 +#: library/stdtypes.rst:246 msgid "**" msgstr "" -#: library/stdtypes.rst:392 library/stdtypes.rst:1153 library/stdtypes.rst:4420 +#: library/stdtypes.rst:393 library/stdtypes.rst:1154 library/stdtypes.rst:4422 #, fuzzy msgid "operations on" msgstr "İşlem" -#: library/stdtypes.rst:315 +#: library/stdtypes.rst:316 #, fuzzy msgid "conjugate() (complex number method)" msgstr "*c* karmaşık sayısının eşleniği" -#: library/stdtypes.rst:1605 library/stdtypes.rst:5396 +#: library/stdtypes.rst:1606 library/stdtypes.rst:5405 #, fuzzy msgid "module" msgstr "Modüller" -#: library/stdtypes.rst:334 +#: library/stdtypes.rst:335 msgid "math" msgstr "" -#: library/stdtypes.rst:334 +#: library/stdtypes.rst:335 msgid "floor() (in module math)" msgstr "" -#: library/stdtypes.rst:334 +#: library/stdtypes.rst:335 msgid "ceil() (in module math)" msgstr "" -#: library/stdtypes.rst:334 +#: library/stdtypes.rst:335 msgid "trunc() (in module math)" msgstr "" -#: library/stdtypes.rst:334 +#: library/stdtypes.rst:335 msgid "conversions" msgstr "" -#: library/stdtypes.rst:392 +#: library/stdtypes.rst:393 msgid "bitwise" msgstr "" -#: library/stdtypes.rst:392 +#: library/stdtypes.rst:393 msgid "shifting" msgstr "" -#: library/stdtypes.rst:392 +#: library/stdtypes.rst:393 msgid "masking" msgstr "" -#: library/stdtypes.rst:392 +#: library/stdtypes.rst:393 msgid "| (vertical bar)" msgstr "" -#: library/stdtypes.rst:392 +#: library/stdtypes.rst:393 msgid "^ (caret)" msgstr "" -#: library/stdtypes.rst:392 +#: library/stdtypes.rst:393 msgid "& (ampersand)" msgstr "" -#: library/stdtypes.rst:392 +#: library/stdtypes.rst:393 msgid "<<" msgstr "" -#: library/stdtypes.rst:392 +#: library/stdtypes.rst:393 msgid ">>" msgstr "" -#: library/stdtypes.rst:392 +#: library/stdtypes.rst:393 msgid "~ (tilde)" msgstr "" -#: library/stdtypes.rst:816 +#: library/stdtypes.rst:817 msgid "values" msgstr "" -#: library/stdtypes.rst:846 +#: library/stdtypes.rst:847 msgid "iterator protocol" msgstr "" -#: library/stdtypes.rst:4813 +#: library/stdtypes.rst:4815 msgid "protocol" msgstr "" -#: library/stdtypes.rst:846 +#: library/stdtypes.rst:847 #, fuzzy msgid "iterator" msgstr "Yineleyici Türleri" -#: library/stdtypes.rst:933 library/stdtypes.rst:1116 library/stdtypes.rst:1153 +#: library/stdtypes.rst:934 library/stdtypes.rst:1117 library/stdtypes.rst:1154 msgid "sequence" msgstr "" -#: library/stdtypes.rst:846 +#: library/stdtypes.rst:847 #, fuzzy msgid "iteration" msgstr "İşlem" -#: library/stdtypes.rst:846 +#: library/stdtypes.rst:847 msgid "container" msgstr "" -#: library/stdtypes.rst:846 +#: library/stdtypes.rst:847 #, fuzzy msgid "iteration over" msgstr "İşlem" -#: library/stdtypes.rst:4420 +#: library/stdtypes.rst:4422 msgid "len" msgstr "" -#: library/stdtypes.rst:949 +#: library/stdtypes.rst:950 msgid "min" msgstr "" -#: library/stdtypes.rst:949 +#: library/stdtypes.rst:950 msgid "max" msgstr "" -#: library/stdtypes.rst:949 +#: library/stdtypes.rst:950 msgid "concatenation" msgstr "" -#: library/stdtypes.rst:949 +#: library/stdtypes.rst:950 #, fuzzy msgid "operation" msgstr "İşlem" -#: library/stdtypes.rst:949 +#: library/stdtypes.rst:950 #, fuzzy msgid "repetition" msgstr "Temsil" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 #, fuzzy msgid "subscript" msgstr "Açıklama" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "slice" msgstr "" -#: library/stdtypes.rst:949 +#: library/stdtypes.rst:950 msgid "count() (sequence method)" msgstr "" -#: library/stdtypes.rst:949 +#: library/stdtypes.rst:950 msgid "index() (sequence method)" msgstr "" -#: library/stdtypes.rst:1005 +#: library/stdtypes.rst:1006 msgid "loop" msgstr "" -#: library/stdtypes.rst:1005 +#: library/stdtypes.rst:1006 #, fuzzy msgid "over mutable sequence" msgstr "Değiştirilemez Dizi Tipleri" -#: library/stdtypes.rst:1005 +#: library/stdtypes.rst:1006 #, fuzzy msgid "mutable sequence" msgstr "Değiştirilemez Dizi Tipleri" -#: library/stdtypes.rst:1005 +#: library/stdtypes.rst:1006 msgid "loop over" msgstr "" -#: library/stdtypes.rst:1116 +#: library/stdtypes.rst:1117 msgid "immutable" msgstr "" -#: library/stdtypes.rst:1337 +#: library/stdtypes.rst:1338 #, fuzzy msgid "tuple" msgstr "Demetler" -#: library/stdtypes.rst:1116 +#: library/stdtypes.rst:1117 msgid "hash" msgstr "" -#: library/stdtypes.rst:1138 +#: library/stdtypes.rst:1139 msgid "mutable" msgstr "" -#: library/stdtypes.rst:1153 library/stdtypes.rst:1258 +#: library/stdtypes.rst:1154 library/stdtypes.rst:1259 msgid "list" msgstr "" -#: library/stdtypes.rst:2513 library/stdtypes.rst:2711 -#: library/stdtypes.rst:3532 +#: library/stdtypes.rst:2514 library/stdtypes.rst:2712 +#: library/stdtypes.rst:3533 msgid "bytearray" msgstr "" -#: library/stdtypes.rst:4420 library/stdtypes.rst:5396 +#: library/stdtypes.rst:4422 library/stdtypes.rst:5405 msgid "type" msgstr "" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "assignment" msgstr "" -#: library/stdtypes.rst:4420 +#: library/stdtypes.rst:4422 msgid "del" msgstr "" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "append() (sequence method)" msgstr "" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "clear() (sequence method)" msgstr "" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "copy() (sequence method)" msgstr "" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "extend() (sequence method)" msgstr "" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "insert() (sequence method)" msgstr "" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "pop() (sequence method)" msgstr "" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "remove() (sequence method)" msgstr "" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "reverse() (sequence method)" msgstr "" -#: library/stdtypes.rst:1381 +#: library/stdtypes.rst:1382 #, fuzzy msgid "range" msgstr "Aralıklar" -#: library/stdtypes.rst:1552 library/stdtypes.rst:2316 +#: library/stdtypes.rst:1553 library/stdtypes.rst:2317 msgid "string" msgstr "" -#: library/stdtypes.rst:1503 +#: library/stdtypes.rst:1504 #, fuzzy msgid "text sequence type" msgstr "Değiştirilebilir Dizi Tipleri" -#: library/stdtypes.rst:1552 library/stdtypes.rst:1570 +#: library/stdtypes.rst:1553 library/stdtypes.rst:1571 #, fuzzy msgid "str (built-in class)" msgstr "Diğer Yerleşik Tipler" -#: library/stdtypes.rst:1503 +#: library/stdtypes.rst:1504 msgid "(see also string)" msgstr "" -#: library/stdtypes.rst:1539 +#: library/stdtypes.rst:1540 msgid "io.StringIO" msgstr "" -#: library/stdtypes.rst:2505 +#: library/stdtypes.rst:2506 msgid "buffer protocol" msgstr "" -#: library/stdtypes.rst:2513 library/stdtypes.rst:2711 -#: library/stdtypes.rst:3532 +#: library/stdtypes.rst:2514 library/stdtypes.rst:2712 +#: library/stdtypes.rst:3533 msgid "bytes" msgstr "" -#: library/stdtypes.rst:2711 +#: library/stdtypes.rst:2712 #, fuzzy msgid "methods" msgstr "Yöntemler" -#: library/stdtypes.rst:1605 +#: library/stdtypes.rst:1606 msgid "re" msgstr "" -#: library/stdtypes.rst:3386 +#: library/stdtypes.rst:3387 msgid "universal newlines" msgstr "" -#: library/stdtypes.rst:2124 +#: library/stdtypes.rst:2125 msgid "str.splitlines method" msgstr "" -#: library/stdtypes.rst:2316 +#: library/stdtypes.rst:2317 msgid "formatting, string (%)" msgstr "" -#: library/stdtypes.rst:2316 +#: library/stdtypes.rst:2317 msgid "interpolation, string (%)" msgstr "" -#: library/stdtypes.rst:2316 +#: library/stdtypes.rst:2317 msgid "formatting, printf" msgstr "" -#: library/stdtypes.rst:2316 +#: library/stdtypes.rst:2317 msgid "interpolation, printf" msgstr "" -#: library/stdtypes.rst:3532 +#: library/stdtypes.rst:3533 msgid "printf-style formatting" msgstr "" -#: library/stdtypes.rst:3532 +#: library/stdtypes.rst:3533 msgid "sprintf-style formatting" msgstr "" -#: library/stdtypes.rst:3564 +#: library/stdtypes.rst:3565 msgid "() (parentheses)" msgstr "" -#: library/stdtypes.rst:2389 library/stdtypes.rst:3607 +#: library/stdtypes.rst:2390 library/stdtypes.rst:3608 msgid "in printf-style formatting" msgstr "" -#: library/stdtypes.rst:3564 +#: library/stdtypes.rst:3565 msgid ". (dot)" msgstr "" -#: library/stdtypes.rst:3607 +#: library/stdtypes.rst:3608 msgid "# (hash)" msgstr "" -#: library/stdtypes.rst:3607 +#: library/stdtypes.rst:3608 msgid "space" msgstr "" -#: library/stdtypes.rst:2505 +#: library/stdtypes.rst:2506 #, fuzzy msgid "binary sequence types" msgstr "Değiştirilebilir Dizi Tipleri" -#: library/stdtypes.rst:2513 +#: library/stdtypes.rst:2514 msgid "memoryview" msgstr "" -#: library/stdtypes.rst:2513 +#: library/stdtypes.rst:2514 msgid "array" msgstr "" -#: library/stdtypes.rst:3386 +#: library/stdtypes.rst:3387 msgid "bytes.splitlines method" msgstr "" -#: library/stdtypes.rst:3386 +#: library/stdtypes.rst:3387 msgid "bytearray.splitlines method" msgstr "" -#: library/stdtypes.rst:3532 +#: library/stdtypes.rst:3533 msgid "formatting" msgstr "" -#: library/stdtypes.rst:3532 +#: library/stdtypes.rst:3533 msgid "bytes (%)" msgstr "" -#: library/stdtypes.rst:3532 +#: library/stdtypes.rst:3533 msgid "bytearray (%)" msgstr "" -#: library/stdtypes.rst:3532 +#: library/stdtypes.rst:3533 #, fuzzy msgid "interpolation" msgstr "Satır Tablolama" -#: library/stdtypes.rst:4219 +#: library/stdtypes.rst:4220 msgid "set" msgstr "" -#: library/stdtypes.rst:4420 +#: library/stdtypes.rst:4422 msgid "mapping" msgstr "" -#: library/stdtypes.rst:4420 +#: library/stdtypes.rst:4422 msgid "dictionary" msgstr "" -#: library/stdtypes.rst:4503 +#: library/stdtypes.rst:4505 msgid "__missing__()" msgstr "" -#: library/stdtypes.rst:4813 +#: library/stdtypes.rst:4815 #, fuzzy msgid "context manager" msgstr "Bağlam Yöneticisi Türleri" -#: library/stdtypes.rst:4813 +#: library/stdtypes.rst:4815 msgid "context management protocol" msgstr "" -#: library/stdtypes.rst:4813 +#: library/stdtypes.rst:4815 #, fuzzy msgid "context management" msgstr "Bağlam Yöneticisi Türleri" -#: library/stdtypes.rst:4886 +#: library/stdtypes.rst:4888 msgid "annotation" msgstr "" -#: library/stdtypes.rst:4886 +#: library/stdtypes.rst:4888 msgid "type annotation; type hint" msgstr "" -#: library/stdtypes.rst:4898 +#: library/stdtypes.rst:4900 #, fuzzy msgid "GenericAlias" msgstr "Genel Takma Ad Türü" -#: library/stdtypes.rst:4898 +#: library/stdtypes.rst:4900 msgid "Generic" msgstr "" -#: library/stdtypes.rst:4898 +#: library/stdtypes.rst:4900 msgid "Alias" msgstr "" -#: library/stdtypes.rst:5153 +#: library/stdtypes.rst:5155 #, fuzzy msgid "Union" msgstr "Sendika Türü" -#: library/stdtypes.rst:5153 +#: library/stdtypes.rst:5155 msgid "union" msgstr "" -#: library/stdtypes.rst:5321 +#: library/stdtypes.rst:5325 #, fuzzy msgid "method" msgstr "Yöntemler" -#: library/stdtypes.rst:5360 +#: library/stdtypes.rst:5369 msgid "code" msgstr "" -#: library/stdtypes.rst:5360 +#: library/stdtypes.rst:5369 #, fuzzy msgid "code object" msgstr "Kod Nesneleri" -#: library/stdtypes.rst:5367 +#: library/stdtypes.rst:5376 msgid "compile" msgstr "" -#: library/stdtypes.rst:5367 +#: library/stdtypes.rst:5376 msgid "__code__ (function object attribute)" msgstr "" -#: library/stdtypes.rst:5381 +#: library/stdtypes.rst:5390 msgid "exec" msgstr "" -#: library/stdtypes.rst:5381 +#: library/stdtypes.rst:5390 msgid "eval" msgstr "" -#: library/stdtypes.rst:5420 +#: library/stdtypes.rst:5429 msgid "..." msgstr "" -#: library/stdtypes.rst:5420 +#: library/stdtypes.rst:5429 msgid "ellipsis literal" msgstr "" diff --git a/library/subprocess.po b/library/subprocess.po index a9348ee3f..5436fce10 100644 --- a/library/subprocess.po +++ b/library/subprocess.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -149,8 +149,8 @@ msgid "" "*universal_newlines*. Added the *capture_output* parameter." msgstr "" -#: library/subprocess.rst:503 library/subprocess.rst:1225 -#: library/subprocess.rst:1288 +#: library/subprocess.rst:503 library/subprocess.rst:1226 +#: library/subprocess.rst:1289 msgid "" "Changed Windows shell search order for ``shell=True``. The current directory " "and ``%PATH%`` are replaced with ``%COMSPEC%`` and ``%SystemRoot%" @@ -174,7 +174,7 @@ msgid "" "that it ran successfully." msgstr "" -#: library/subprocess.rst:932 +#: library/subprocess.rst:933 msgid "" "A negative value ``-N`` indicates that the child was terminated by signal " "``N`` (POSIX only)." @@ -790,7 +790,7 @@ msgstr "" msgid "*encoding* and *errors* were added." msgstr "" -#: library/subprocess.rst:1283 +#: library/subprocess.rst:1284 msgid "*text* was added as a more readable alias for *universal_newlines*." msgstr "" @@ -1004,17 +1004,18 @@ msgstr "" #: library/subprocess.rst:794 msgid "" -"The function is implemented using a busy loop (non-blocking call and short " -"sleeps). Use the :mod:`asyncio` module for an asynchronous wait: see :class:" -"`asyncio.create_subprocess_exec`." +"When the ``timeout`` parameter is not ``None``, then (on POSIX) the function " +"is implemented using a busy loop (non-blocking call and short sleeps). Use " +"the :mod:`asyncio` module for an asynchronous wait: see :class:`asyncio." +"create_subprocess_exec`." msgstr "" -#: library/subprocess.rst:839 library/subprocess.rst:1220 -#: library/subprocess.rst:1274 +#: library/subprocess.rst:840 library/subprocess.rst:1221 +#: library/subprocess.rst:1275 msgid "*timeout* was added." msgstr "" -#: library/subprocess.rst:803 +#: library/subprocess.rst:804 msgid "" "Interact with process: Send data to stdin. Read data from stdout and " "stderr, until end-of-file is reached. Wait for process to terminate and set " @@ -1024,13 +1025,13 @@ msgid "" "must be a string. Otherwise, it must be bytes." msgstr "" -#: library/subprocess.rst:810 +#: library/subprocess.rst:811 msgid "" ":meth:`communicate` returns a tuple ``(stdout_data, stderr_data)``. The data " "will be strings if streams were opened in text mode; otherwise, bytes." msgstr "" -#: library/subprocess.rst:814 +#: library/subprocess.rst:815 msgid "" "Note that if you want to send data to the process's stdin, you need to " "create the Popen object with ``stdin=PIPE``. Similarly, to get anything " @@ -1038,67 +1039,67 @@ msgid "" "and/or ``stderr=PIPE`` too." msgstr "" -#: library/subprocess.rst:819 +#: library/subprocess.rst:820 msgid "" "If the process does not terminate after *timeout* seconds, a :exc:" "`TimeoutExpired` exception will be raised. Catching this exception and " "retrying communication will not lose any output." msgstr "" -#: library/subprocess.rst:823 +#: library/subprocess.rst:824 msgid "" "The child process is not killed if the timeout expires, so in order to " "cleanup properly a well-behaved application should kill the child process " "and finish communication::" msgstr "" -#: library/subprocess.rst:836 +#: library/subprocess.rst:837 msgid "" "The data read is buffered in memory, so do not use this method if the data " "size is large or unlimited." msgstr "" -#: library/subprocess.rst:845 +#: library/subprocess.rst:846 msgid "Sends the signal *signal* to the child." msgstr "" -#: library/subprocess.rst:847 +#: library/subprocess.rst:848 msgid "Do nothing if the process completed." msgstr "" -#: library/subprocess.rst:851 +#: library/subprocess.rst:852 msgid "" "On Windows, SIGTERM is an alias for :meth:`terminate`. CTRL_C_EVENT and " "CTRL_BREAK_EVENT can be sent to processes started with a *creationflags* " "parameter which includes ``CREATE_NEW_PROCESS_GROUP``." msgstr "" -#: library/subprocess.rst:858 +#: library/subprocess.rst:859 msgid "" "Stop the child. On POSIX OSs the method sends SIGTERM to the child. On " "Windows the Win32 API function :c:func:`TerminateProcess` is called to stop " "the child." msgstr "" -#: library/subprocess.rst:865 +#: library/subprocess.rst:866 msgid "" "Kills the child. On POSIX OSs the function sends SIGKILL to the child. On " "Windows :meth:`kill` is an alias for :meth:`terminate`." msgstr "" -#: library/subprocess.rst:869 +#: library/subprocess.rst:870 msgid "" "The following attributes are also set by the class for you to access. " "Reassigning them to new values is unsupported:" msgstr "" -#: library/subprocess.rst:874 +#: library/subprocess.rst:875 msgid "" "The *args* argument as it was passed to :class:`Popen` -- a sequence of " "program arguments or else a single string." msgstr "" -#: library/subprocess.rst:881 +#: library/subprocess.rst:882 msgid "" "If the *stdin* argument was :data:`PIPE`, this attribute is a writeable " "stream object as returned by :func:`open`. If the *encoding* or *errors* " @@ -1107,7 +1108,7 @@ msgid "" "*stdin* argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: library/subprocess.rst:890 +#: library/subprocess.rst:891 msgid "" "If the *stdout* argument was :data:`PIPE`, this attribute is a readable " "stream object as returned by :func:`open`. Reading from the stream provides " @@ -1117,7 +1118,7 @@ msgid "" "argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: library/subprocess.rst:900 +#: library/subprocess.rst:901 msgid "" "If the *stderr* argument was :data:`PIPE`, this attribute is a readable " "stream object as returned by :func:`open`. Reading from the stream provides " @@ -1127,7 +1128,7 @@ msgid "" "argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: library/subprocess.rst:909 +#: library/subprocess.rst:910 msgid "" "Use :meth:`~Popen.communicate` rather than :attr:`.stdin.write `, :attr:`.stdout.read ` or :attr:`.stderr.read `__ structure is used for :class:`Popen` " @@ -1176,38 +1177,38 @@ msgid "" "only arguments." msgstr "" -#: library/subprocess.rst:950 +#: library/subprocess.rst:951 msgid "Keyword-only argument support was added." msgstr "" -#: library/subprocess.rst:955 +#: library/subprocess.rst:956 msgid "" "A bit field that determines whether certain :class:`STARTUPINFO` attributes " "are used when the process creates a window. ::" msgstr "" -#: library/subprocess.rst:963 +#: library/subprocess.rst:964 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute is " "the standard input handle for the process. If :data:`STARTF_USESTDHANDLES` " "is not specified, the default for standard input is the keyboard buffer." msgstr "" -#: library/subprocess.rst:970 +#: library/subprocess.rst:971 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute is " "the standard output handle for the process. Otherwise, this attribute is " "ignored and the default for standard output is the console window's buffer." msgstr "" -#: library/subprocess.rst:977 +#: library/subprocess.rst:978 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute is " "the standard error handle for the process. Otherwise, this attribute is " "ignored and the default for standard error is the console window's buffer." msgstr "" -#: library/subprocess.rst:983 +#: library/subprocess.rst:984 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this attribute " "can be any of the values that can be specified in the ``nCmdShow`` parameter " @@ -1216,34 +1217,34 @@ msgid "" "Otherwise, this attribute is ignored." msgstr "" -#: library/subprocess.rst:990 +#: library/subprocess.rst:991 msgid "" ":data:`SW_HIDE` is provided for this attribute. It is used when :class:" "`Popen` is called with ``shell=True``." msgstr "" -#: library/subprocess.rst:995 +#: library/subprocess.rst:996 msgid "" "A dictionary of additional attributes for process creation as given in " "``STARTUPINFOEX``, see `UpdateProcThreadAttribute `__." msgstr "" -#: library/subprocess.rst:999 +#: library/subprocess.rst:1000 msgid "Supported attributes:" msgstr "" -#: library/subprocess.rst:1017 +#: library/subprocess.rst:1018 msgid "**handle_list**" msgstr "" -#: library/subprocess.rst:1002 +#: library/subprocess.rst:1003 msgid "" "Sequence of handles that will be inherited. *close_fds* must be true if non-" "empty." msgstr "" -#: library/subprocess.rst:1005 +#: library/subprocess.rst:1006 msgid "" "The handles must be temporarily made inheritable by :func:`os." "set_handle_inheritable` when passed to the :class:`Popen` constructor, else :" @@ -1251,7 +1252,7 @@ msgid "" "``ERROR_INVALID_PARAMETER`` (87)." msgstr "" -#: library/subprocess.rst:1012 +#: library/subprocess.rst:1013 msgid "" "In a multithreaded process, use caution to avoid leaking handles that are " "marked inheritable when combining this feature with concurrent calls to " @@ -1260,97 +1261,97 @@ msgid "" "temporarily creates inheritable handles." msgstr "" -#: library/subprocess.rst:1022 +#: library/subprocess.rst:1023 msgid "Windows Constants" msgstr "" -#: library/subprocess.rst:1024 +#: library/subprocess.rst:1025 msgid "The :mod:`subprocess` module exposes the following constants." msgstr "" -#: library/subprocess.rst:1028 +#: library/subprocess.rst:1029 msgid "" "The standard input device. Initially, this is the console input buffer, " "``CONIN$``." msgstr "" -#: library/subprocess.rst:1033 +#: library/subprocess.rst:1034 msgid "" "The standard output device. Initially, this is the active console screen " "buffer, ``CONOUT$``." msgstr "" -#: library/subprocess.rst:1038 +#: library/subprocess.rst:1039 msgid "" "The standard error device. Initially, this is the active console screen " "buffer, ``CONOUT$``." msgstr "" -#: library/subprocess.rst:1043 +#: library/subprocess.rst:1044 msgid "Hides the window. Another window will be activated." msgstr "" -#: library/subprocess.rst:1047 +#: library/subprocess.rst:1048 msgid "" "Specifies that the :attr:`STARTUPINFO.hStdInput`, :attr:`STARTUPINFO." "hStdOutput`, and :attr:`STARTUPINFO.hStdError` attributes contain additional " "information." msgstr "" -#: library/subprocess.rst:1053 +#: library/subprocess.rst:1054 msgid "" "Specifies that the :attr:`STARTUPINFO.wShowWindow` attribute contains " "additional information." msgstr "" -#: library/subprocess.rst:1058 +#: library/subprocess.rst:1059 msgid "" "The new process has a new console, instead of inheriting its parent's " "console (the default)." msgstr "" -#: library/subprocess.rst:1063 +#: library/subprocess.rst:1064 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "group will be created. This flag is necessary for using :func:`os.kill` on " "the subprocess." msgstr "" -#: library/subprocess.rst:1067 +#: library/subprocess.rst:1068 msgid "This flag is ignored if :data:`CREATE_NEW_CONSOLE` is specified." msgstr "" -#: library/subprocess.rst:1071 +#: library/subprocess.rst:1072 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an above average priority." msgstr "" -#: library/subprocess.rst:1078 +#: library/subprocess.rst:1079 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have a below average priority." msgstr "" -#: library/subprocess.rst:1085 +#: library/subprocess.rst:1086 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have a high priority." msgstr "" -#: library/subprocess.rst:1092 +#: library/subprocess.rst:1093 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an idle (lowest) priority." msgstr "" -#: library/subprocess.rst:1099 +#: library/subprocess.rst:1100 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an normal priority. (default)" msgstr "" -#: library/subprocess.rst:1106 +#: library/subprocess.rst:1107 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have realtime priority. You should almost never use " @@ -1360,20 +1361,20 @@ msgid "" "perform brief tasks that should have limited interruptions." msgstr "" -#: library/subprocess.rst:1117 +#: library/subprocess.rst:1118 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will not create a window." msgstr "" -#: library/subprocess.rst:1124 +#: library/subprocess.rst:1125 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will not inherit its parent's console. This value cannot be used with " "CREATE_NEW_CONSOLE." msgstr "" -#: library/subprocess.rst:1132 +#: library/subprocess.rst:1133 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "does not inherit the error mode of the calling process. Instead, the new " @@ -1381,39 +1382,39 @@ msgid "" "multithreaded shell applications that run with hard errors disabled." msgstr "" -#: library/subprocess.rst:1142 +#: library/subprocess.rst:1143 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "is not associated with the job." msgstr "" -#: library/subprocess.rst:1150 +#: library/subprocess.rst:1151 msgid "Older high-level API" msgstr "" -#: library/subprocess.rst:1152 +#: library/subprocess.rst:1153 msgid "" "Prior to Python 3.5, these three functions comprised the high level API to " "subprocess. You can now use :func:`run` in many cases, but lots of existing " "code calls these functions." msgstr "" -#: library/subprocess.rst:1159 +#: library/subprocess.rst:1160 msgid "" "Run the command described by *args*. Wait for command to complete, then " "return the :attr:`~Popen.returncode` attribute." msgstr "" -#: library/subprocess.rst:1202 +#: library/subprocess.rst:1203 msgid "" "Code needing to capture stdout or stderr should use :func:`run` instead::" msgstr "" -#: library/subprocess.rst:1206 +#: library/subprocess.rst:1207 msgid "To suppress stdout or stderr, supply a value of :data:`DEVNULL`." msgstr "" -#: library/subprocess.rst:1208 +#: library/subprocess.rst:1209 msgid "" "The arguments shown above are merely some common ones. The full function " "signature is the same as that of the :class:`Popen` constructor - this " @@ -1421,14 +1422,14 @@ msgid "" "to that interface." msgstr "" -#: library/subprocess.rst:1215 +#: library/subprocess.rst:1216 msgid "" "Do not use ``stdout=PIPE`` or ``stderr=PIPE`` with this function. The child " "process will block if it generates enough output to a pipe to fill up the OS " "pipe buffer as the pipes are not being read from." msgstr "" -#: library/subprocess.rst:1195 +#: library/subprocess.rst:1196 msgid "" "Run command with arguments. Wait for command to complete. If the return " "code was zero then return, otherwise raise :exc:`CalledProcessError`. The :" @@ -1437,11 +1438,11 @@ msgid "" "to start the process it will propagate the exception that was raised." msgstr "" -#: library/subprocess.rst:1237 +#: library/subprocess.rst:1238 msgid "Run command with arguments and return its output." msgstr "" -#: library/subprocess.rst:1239 +#: library/subprocess.rst:1240 msgid "" "If the return code was non-zero it raises a :exc:`CalledProcessError`. The :" "exc:`CalledProcessError` object will have the return code in the :attr:" @@ -1449,11 +1450,11 @@ msgid "" "`~CalledProcessError.output` attribute." msgstr "" -#: library/subprocess.rst:1244 +#: library/subprocess.rst:1245 msgid "This is equivalent to::" msgstr "" -#: library/subprocess.rst:1248 +#: library/subprocess.rst:1249 msgid "" "The arguments shown above are merely some common ones. The full function " "signature is largely the same as that of :func:`run` - most arguments are " @@ -1463,52 +1464,52 @@ msgid "" "using the parent's standard input file handle." msgstr "" -#: library/subprocess.rst:1255 +#: library/subprocess.rst:1256 msgid "" "By default, this function will return the data as encoded bytes. The actual " "encoding of the output data may depend on the command being invoked, so the " "decoding to text will often need to be handled at the application level." msgstr "" -#: library/subprocess.rst:1259 +#: library/subprocess.rst:1260 msgid "" "This behaviour may be overridden by setting *text*, *encoding*, *errors*, or " "*universal_newlines* to ``True`` as described in :ref:`frequently-used-" "arguments` and :func:`run`." msgstr "" -#: library/subprocess.rst:1263 +#: library/subprocess.rst:1264 msgid "" "To also capture standard error in the result, use ``stderr=subprocess." "STDOUT``::" msgstr "" -#: library/subprocess.rst:1277 +#: library/subprocess.rst:1278 msgid "Support for the *input* keyword argument was added." msgstr "" -#: library/subprocess.rst:1280 +#: library/subprocess.rst:1281 msgid "*encoding* and *errors* were added. See :func:`run` for details." msgstr "" -#: library/subprocess.rst:1298 +#: library/subprocess.rst:1299 msgid "Replacing Older Functions with the :mod:`subprocess` Module" msgstr "" -#: library/subprocess.rst:1300 +#: library/subprocess.rst:1301 msgid "" "In this section, \"a becomes b\" means that b can be used as a replacement " "for a." msgstr "" -#: library/subprocess.rst:1304 +#: library/subprocess.rst:1305 msgid "" "All \"a\" functions in this section fail (more or less) silently if the " "executed program cannot be found; the \"b\" replacements raise :exc:" "`OSError` instead." msgstr "" -#: library/subprocess.rst:1308 +#: library/subprocess.rst:1309 msgid "" "In addition, the replacements using :func:`check_output` will fail with a :" "exc:`CalledProcessError` if the requested operation produces a non-zero " @@ -1516,133 +1517,133 @@ msgid "" "output` attribute of the raised exception." msgstr "" -#: library/subprocess.rst:1313 +#: library/subprocess.rst:1314 msgid "" "In the following examples, we assume that the relevant functions have " "already been imported from the :mod:`subprocess` module." msgstr "" -#: library/subprocess.rst:1318 +#: library/subprocess.rst:1319 msgid "Replacing :program:`/bin/sh` shell command substitution" msgstr "" -#: library/subprocess.rst:1335 library/subprocess.rst:1352 +#: library/subprocess.rst:1336 library/subprocess.rst:1353 msgid "becomes::" msgstr "" -#: library/subprocess.rst:1329 +#: library/subprocess.rst:1330 msgid "Replacing shell pipeline" msgstr "" -#: library/subprocess.rst:1342 +#: library/subprocess.rst:1343 msgid "" "The ``p1.stdout.close()`` call after starting the p2 is important in order " "for p1 to receive a SIGPIPE if p2 exits before p1." msgstr "" -#: library/subprocess.rst:1345 +#: library/subprocess.rst:1346 msgid "" "Alternatively, for trusted input, the shell's own pipeline support may still " "be used directly:" msgstr "" -#: library/subprocess.rst:1358 +#: library/subprocess.rst:1359 msgid "Replacing :func:`os.system`" msgstr "" -#: library/subprocess.rst:1366 +#: library/subprocess.rst:1367 msgid "Notes:" msgstr "" -#: library/subprocess.rst:1368 +#: library/subprocess.rst:1369 msgid "Calling the program through the shell is usually not required." msgstr "" -#: library/subprocess.rst:1369 +#: library/subprocess.rst:1370 msgid "" "The :func:`call` return value is encoded differently to that of :func:`os." "system`." msgstr "" -#: library/subprocess.rst:1372 +#: library/subprocess.rst:1373 msgid "" "The :func:`os.system` function ignores SIGINT and SIGQUIT signals while the " "command is running, but the caller must do this separately when using the :" "mod:`subprocess` module." msgstr "" -#: library/subprocess.rst:1376 +#: library/subprocess.rst:1377 msgid "A more realistic example would look like this::" msgstr "" -#: library/subprocess.rst:1389 +#: library/subprocess.rst:1390 msgid "Replacing the :func:`os.spawn ` family" msgstr "" -#: library/subprocess.rst:1391 +#: library/subprocess.rst:1392 msgid "P_NOWAIT example::" msgstr "" -#: library/subprocess.rst:1397 +#: library/subprocess.rst:1398 msgid "P_WAIT example::" msgstr "" -#: library/subprocess.rst:1403 +#: library/subprocess.rst:1404 msgid "Vector example::" msgstr "" -#: library/subprocess.rst:1409 +#: library/subprocess.rst:1410 msgid "Environment example::" msgstr "" -#: library/subprocess.rst:1418 +#: library/subprocess.rst:1419 msgid "Replacing :func:`os.popen`, :func:`os.popen2`, :func:`os.popen3`" msgstr "" -#: library/subprocess.rst:1448 +#: library/subprocess.rst:1449 msgid "Return code handling translates as follows::" msgstr "" -#: library/subprocess.rst:1464 +#: library/subprocess.rst:1465 msgid "Replacing functions from the :mod:`popen2` module" msgstr "" -#: library/subprocess.rst:1468 +#: library/subprocess.rst:1469 msgid "" "If the cmd argument to popen2 functions is a string, the command is executed " "through /bin/sh. If it is a list, the command is directly executed." msgstr "" -#: library/subprocess.rst:1487 +#: library/subprocess.rst:1488 msgid "" ":class:`popen2.Popen3` and :class:`popen2.Popen4` basically work as :class:" "`subprocess.Popen`, except that:" msgstr "" -#: library/subprocess.rst:1490 +#: library/subprocess.rst:1491 msgid ":class:`Popen` raises an exception if the execution fails." msgstr "" -#: library/subprocess.rst:1492 +#: library/subprocess.rst:1493 msgid "The *capturestderr* argument is replaced with the *stderr* argument." msgstr "" -#: library/subprocess.rst:1494 +#: library/subprocess.rst:1495 msgid "``stdin=PIPE`` and ``stdout=PIPE`` must be specified." msgstr "" -#: library/subprocess.rst:1496 +#: library/subprocess.rst:1497 msgid "" "popen2 closes all file descriptors by default, but you have to specify " "``close_fds=True`` with :class:`Popen` to guarantee this behavior on all " "platforms or past Python versions." msgstr "" -#: library/subprocess.rst:1502 +#: library/subprocess.rst:1503 msgid "Legacy Shell Invocation Functions" msgstr "" -#: library/subprocess.rst:1504 +#: library/subprocess.rst:1505 msgid "" "This module also provides the following legacy functions from the 2.x " "``commands`` module. These operations implicitly invoke the system shell and " @@ -1650,11 +1651,11 @@ msgid "" "handling consistency are valid for these functions." msgstr "" -#: library/subprocess.rst:1511 +#: library/subprocess.rst:1512 msgid "Return ``(exitcode, output)`` of executing *cmd* in a shell." msgstr "" -#: library/subprocess.rst:1513 +#: library/subprocess.rst:1514 msgid "" "Execute the string *cmd* in a shell with :meth:`Popen.check_output` and " "return a 2-tuple ``(exitcode, output)``. *encoding* and *errors* are used to " @@ -1662,85 +1663,85 @@ msgid "" "details." msgstr "" -#: library/subprocess.rst:1518 +#: library/subprocess.rst:1519 msgid "" "A trailing newline is stripped from the output. The exit code for the " "command can be interpreted as the return code of subprocess. Example::" msgstr "" -#: library/subprocess.rst:1553 +#: library/subprocess.rst:1554 msgid ":ref:`Availability `: Unix, Windows." msgstr "" -#: library/subprocess.rst:1533 +#: library/subprocess.rst:1534 msgid "Windows support was added." msgstr "" -#: library/subprocess.rst:1536 +#: library/subprocess.rst:1537 msgid "" "The function now returns (exitcode, output) instead of (status, output) as " "it did in Python 3.3.3 and earlier. exitcode has the same value as :attr:" "`~Popen.returncode`." msgstr "" -#: library/subprocess.rst:1558 +#: library/subprocess.rst:1559 msgid "Added *encoding* and *errors* arguments." msgstr "" -#: library/subprocess.rst:1545 +#: library/subprocess.rst:1546 msgid "Return output (stdout and stderr) of executing *cmd* in a shell." msgstr "" -#: library/subprocess.rst:1547 +#: library/subprocess.rst:1548 msgid "" "Like :func:`getstatusoutput`, except the exit code is ignored and the return " "value is a string containing the command's output. Example::" msgstr "" -#: library/subprocess.rst:1555 +#: library/subprocess.rst:1556 msgid "Windows support added" msgstr "" -#: library/subprocess.rst:1563 +#: library/subprocess.rst:1564 msgid "Notes" msgstr "" -#: library/subprocess.rst:1568 +#: library/subprocess.rst:1569 msgid "Converting an argument sequence to a string on Windows" msgstr "" -#: library/subprocess.rst:1570 +#: library/subprocess.rst:1571 msgid "" "On Windows, an *args* sequence is converted to a string that can be parsed " "using the following rules (which correspond to the rules used by the MS C " "runtime):" msgstr "" -#: library/subprocess.rst:1574 +#: library/subprocess.rst:1575 msgid "" "Arguments are delimited by white space, which is either a space or a tab." msgstr "" -#: library/subprocess.rst:1577 +#: library/subprocess.rst:1578 msgid "" "A string surrounded by double quotation marks is interpreted as a single " "argument, regardless of white space contained within. A quoted string can " "be embedded in an argument." msgstr "" -#: library/subprocess.rst:1582 +#: library/subprocess.rst:1583 msgid "" "A double quotation mark preceded by a backslash is interpreted as a literal " "double quotation mark." msgstr "" -#: library/subprocess.rst:1585 +#: library/subprocess.rst:1586 msgid "" "Backslashes are interpreted literally, unless they immediately precede a " "double quotation mark." msgstr "" -#: library/subprocess.rst:1588 +#: library/subprocess.rst:1589 msgid "" "If backslashes immediately precede a double quotation mark, every pair of " "backslashes is interpreted as a literal backslash. If the number of " @@ -1748,33 +1749,33 @@ msgid "" "mark as described in rule 3." msgstr "" -#: library/subprocess.rst:1597 +#: library/subprocess.rst:1598 msgid ":mod:`shlex`" msgstr "" -#: library/subprocess.rst:1598 +#: library/subprocess.rst:1599 msgid "Module which provides function to parse and escape command lines." msgstr "" -#: library/subprocess.rst:1605 +#: library/subprocess.rst:1606 msgid "Disabling use of ``vfork()`` or ``posix_spawn()``" msgstr "" -#: library/subprocess.rst:1607 +#: library/subprocess.rst:1608 msgid "" "On Linux, :mod:`subprocess` defaults to using the ``vfork()`` system call " "internally when it is safe to do so rather than ``fork()``. This greatly " "improves performance." msgstr "" -#: library/subprocess.rst:1611 +#: library/subprocess.rst:1612 msgid "" "If you ever encounter a presumed highly unusual situation where you need to " "prevent ``vfork()`` from being used by Python, you can set the :const:" "`subprocess._USE_VFORK` attribute to a false value." msgstr "" -#: library/subprocess.rst:1619 +#: library/subprocess.rst:1620 msgid "" "Setting this has no impact on use of ``posix_spawn()`` which could use " "``vfork()`` internally within its libc implementation. There is a similar :" @@ -1782,7 +1783,7 @@ msgid "" "that." msgstr "" -#: library/subprocess.rst:1628 +#: library/subprocess.rst:1629 msgid "" "It is safe to set these to false on any Python version. They will have no " "effect on older versions when unsupported. Do not assume the attributes are " @@ -1790,18 +1791,18 @@ msgid "" "the corresponding function will be used, only that it may be." msgstr "" -#: library/subprocess.rst:1633 +#: library/subprocess.rst:1634 msgid "" "Please file issues any time you have to use these private knobs with a way " "to reproduce the issue you were seeing. Link to that issue from a comment in " "your code." msgstr "" -#: library/subprocess.rst:1637 +#: library/subprocess.rst:1638 msgid "``_USE_POSIX_SPAWN``" msgstr "" -#: library/subprocess.rst:1638 +#: library/subprocess.rst:1639 msgid "``_USE_VFORK``" msgstr "" diff --git a/library/sys.po b/library/sys.po index e1ad03811..49670ef18 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-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -356,7 +356,7 @@ msgstr "" msgid "Integer specifying the handle of the Python DLL." msgstr "" -#: library/sys.rst:976 library/sys.rst:1966 +#: library/sys.rst:976 library/sys.rst:1967 msgid ":ref:`Availability `: Windows." msgstr "" @@ -1234,7 +1234,7 @@ msgstr "" msgid "See :pep:`525` for more details." msgstr "" -#: library/sys.rst:1662 +#: library/sys.rst:1663 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.)" @@ -1246,7 +1246,7 @@ msgid "" "`set_coroutine_origin_tracking_depth`." msgstr "" -#: library/sys.rst:1683 +#: library/sys.rst:1684 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.) Use it only for debugging purposes." @@ -1857,7 +1857,7 @@ msgid "" "function is called; *arg* is ``None``." msgstr "" -#: library/sys.rst:1595 +#: library/sys.rst:1596 msgid "``'return'``" msgstr "" @@ -1988,7 +1988,7 @@ msgid "" "trace function." msgstr "" -#: library/sys.rst:1589 +#: library/sys.rst:1590 msgid "``'line'``" msgstr "" @@ -1998,11 +1998,11 @@ msgid "" "condition of a loop. The local trace function is called; *arg* is ``None``; " "the return value specifies the new local trace function. See :file:`Objects/" "lnotab_notes.txt` for a detailed explanation of how this works. Per-line " -"events may be disabled for a frame by setting :attr:`!f_trace_lines` to :" -"const:`False` on that :ref:`frame `." +"events may be disabled for a frame by setting :attr:`~frame.f_trace_lines` " +"to :const:`False` on that :ref:`frame `." msgstr "" -#: library/sys.rst:1592 +#: library/sys.rst:1593 msgid "" "A function (or other code block) is about to return. The local trace " "function is called; *arg* is the value that will be returned, or ``None`` if " @@ -2010,37 +2010,38 @@ msgid "" "return value is ignored." msgstr "" -#: library/sys.rst:1600 +#: library/sys.rst:1601 msgid "``'exception'``" msgstr "" -#: library/sys.rst:1598 +#: library/sys.rst:1599 msgid "" "An exception has occurred. The local trace function is called; *arg* is a " "tuple ``(exception, value, traceback)``; the return value specifies the new " "local trace function." msgstr "" -#: library/sys.rst:1608 +#: library/sys.rst:1609 msgid "``'opcode'``" msgstr "" -#: library/sys.rst:1603 +#: library/sys.rst:1604 msgid "" "The interpreter is about to execute a new opcode (see :mod:`dis` for opcode " "details). The local trace function is called; *arg* is ``None``; the return " "value specifies the new local trace function. Per-opcode events are not " -"emitted by default: they must be explicitly requested by setting :attr:`!" -"f_trace_opcodes` to :const:`True` on the :ref:`frame `." +"emitted by default: they must be explicitly requested by setting :attr:" +"`~frame.f_trace_opcodes` to :const:`True` on the :ref:`frame `." msgstr "" -#: library/sys.rst:1610 +#: library/sys.rst:1611 msgid "" "Note that as an exception is propagated down the chain of callers, an " "``'exception'`` event is generated at each level." msgstr "" -#: library/sys.rst:1613 +#: library/sys.rst:1614 msgid "" "For more fine-grained usage, it's possible to set a trace function by " "assigning ``frame.f_trace = tracefunc`` explicitly, rather than relying on " @@ -2054,17 +2055,17 @@ msgid "" "on each frame)." msgstr "" -#: library/sys.rst:1624 +#: library/sys.rst:1625 msgid "For more information on code and frame objects, refer to :ref:`types`." msgstr "" -#: library/sys.rst:1626 +#: library/sys.rst:1627 msgid "" "Raises an :ref:`auditing event ` ``sys.settrace`` with no " "arguments." msgstr "" -#: library/sys.rst:1630 +#: library/sys.rst:1631 msgid "" "The :func:`settrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -2072,13 +2073,13 @@ msgid "" "thus may not be available in all Python implementations." msgstr "" -#: library/sys.rst:1637 +#: library/sys.rst:1638 msgid "" -"``'opcode'`` event type added; :attr:`!f_trace_lines` and :attr:`!" -"f_trace_opcodes` attributes added to frames" +"``'opcode'`` event type added; :attr:`~frame.f_trace_lines` and :attr:" +"`~frame.f_trace_opcodes` attributes added to frames" msgstr "" -#: library/sys.rst:1642 +#: library/sys.rst:1643 msgid "" "Accepts two optional keyword arguments which are callables that accept an :" "term:`asynchronous generator iterator` as an argument. The *firstiter* " @@ -2087,32 +2088,32 @@ msgid "" "about to be garbage collected." msgstr "" -#: library/sys.rst:1648 +#: library/sys.rst:1649 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_firstiter`` with no arguments." msgstr "" -#: library/sys.rst:1650 +#: library/sys.rst:1651 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_finalizer`` with no arguments." msgstr "" -#: library/sys.rst:1652 +#: library/sys.rst:1653 msgid "" "Two auditing events are raised because the underlying API consists of two " "calls, each of which must raise its own event." msgstr "" -#: library/sys.rst:1655 +#: library/sys.rst:1656 msgid "" "See :pep:`525` for more details, and for a reference example of a " "*finalizer* method see the implementation of ``asyncio.Loop." "shutdown_asyncgens`` in :source:`Lib/asyncio/base_events.py`" msgstr "" -#: library/sys.rst:1667 +#: library/sys.rst:1668 msgid "" "Allows enabling or disabling coroutine origin tracking. When enabled, the " "``cr_origin`` attribute on coroutine objects will contain a tuple of " @@ -2121,104 +2122,104 @@ msgid "" "disabled, ``cr_origin`` will be None." msgstr "" -#: library/sys.rst:1674 +#: library/sys.rst:1675 msgid "" "To enable, pass a *depth* value greater than zero; this sets the number of " "frames whose information will be captured. To disable, pass set *depth* to " "zero." msgstr "" -#: library/sys.rst:1678 +#: library/sys.rst:1679 msgid "This setting is thread-specific." msgstr "" -#: library/sys.rst:1688 +#: library/sys.rst:1689 msgid "" "Activate the stack profiler trampoline *backend*. The only supported backend " "is ``\"perf\"``." msgstr "" -#: library/sys.rst:1706 library/sys.rst:1714 +#: library/sys.rst:1707 library/sys.rst:1715 msgid ":ref:`Availability `: Linux." msgstr "" -#: library/sys.rst:1697 +#: library/sys.rst:1698 msgid ":ref:`perf_profiling`" msgstr "" -#: library/sys.rst:1698 +#: library/sys.rst:1699 msgid "https://perf.wiki.kernel.org" msgstr "" -#: library/sys.rst:1702 +#: library/sys.rst:1703 msgid "Deactivate the current stack profiler trampoline backend." msgstr "" -#: library/sys.rst:1704 +#: library/sys.rst:1705 msgid "If no stack profiler is activated, this function has no effect." msgstr "" -#: library/sys.rst:1712 +#: library/sys.rst:1713 msgid "Return ``True`` if a stack profiler trampoline is active." msgstr "" -#: library/sys.rst:1720 +#: library/sys.rst:1721 msgid "" "Changes the :term:`filesystem encoding and error handler` to 'mbcs' and " "'replace' respectively, for consistency with versions of Python prior to 3.6." msgstr "" -#: library/sys.rst:1724 +#: library/sys.rst:1725 msgid "" "This is equivalent to defining the :envvar:`PYTHONLEGACYWINDOWSFSENCODING` " "environment variable before launching Python." msgstr "" -#: library/sys.rst:1727 +#: library/sys.rst:1728 msgid "" "See also :func:`sys.getfilesystemencoding` and :func:`sys." "getfilesystemencodeerrors`." msgstr "" -#: library/sys.rst:1732 +#: library/sys.rst:1733 msgid "See :pep:`529` for more details." msgstr "" -#: library/sys.rst:1739 +#: library/sys.rst:1740 msgid "" ":term:`File objects ` used by the interpreter for standard " "input, output and errors:" msgstr "" -#: library/sys.rst:1742 +#: library/sys.rst:1743 msgid "" "``stdin`` is used for all interactive input (including calls to :func:" "`input`);" msgstr "" -#: library/sys.rst:1744 +#: library/sys.rst:1745 msgid "" "``stdout`` is used for the output of :func:`print` and :term:`expression` " "statements and for the prompts of :func:`input`;" msgstr "" -#: library/sys.rst:1746 +#: library/sys.rst:1747 msgid "The interpreter's own prompts and its error messages go to ``stderr``." msgstr "" -#: library/sys.rst:1748 +#: library/sys.rst:1749 msgid "" "These streams are regular :term:`text files ` like those returned " "by the :func:`open` function. Their parameters are chosen as follows:" msgstr "" -#: library/sys.rst:1752 +#: library/sys.rst:1753 msgid "" "The encoding and error handling are is initialized from :c:member:`PyConfig." "stdio_encoding` and :c:member:`PyConfig.stdio_errors`." msgstr "" -#: library/sys.rst:1755 +#: library/sys.rst:1756 msgid "" "On Windows, UTF-8 is used for the console device. Non-character devices " "such as disk files and pipes use the system locale encoding (i.e. the ANSI " @@ -2229,14 +2230,14 @@ msgid "" "initially attached to a console." msgstr "" -#: library/sys.rst:1764 +#: library/sys.rst:1765 msgid "" "The special behaviour of the console can be overridden by setting the " "environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In " "that case, the console codepages are used as for any other character device." msgstr "" -#: library/sys.rst:1769 +#: library/sys.rst:1770 msgid "" "Under all platforms, you can override the character encoding by setting the :" "envvar:`PYTHONIOENCODING` environment variable before starting Python or by " @@ -2245,7 +2246,7 @@ msgid "" "only applies when :envvar:`PYTHONLEGACYWINDOWSSTDIO` is also set." msgstr "" -#: library/sys.rst:1776 +#: library/sys.rst:1777 msgid "" "When interactive, the ``stdout`` stream is line-buffered. Otherwise, it is " "block-buffered like regular text files. The ``stderr`` stream is line-" @@ -2254,19 +2255,19 @@ msgid "" "`PYTHONUNBUFFERED` environment variable." msgstr "" -#: library/sys.rst:1782 +#: library/sys.rst:1783 msgid "" "Non-interactive ``stderr`` is now line-buffered instead of fully buffered." msgstr "" -#: library/sys.rst:1788 +#: library/sys.rst:1789 msgid "" "To write or read binary data from/to the standard streams, use the " "underlying binary :data:`~io.TextIOBase.buffer` object. For example, to " "write bytes to :data:`stdout`, use ``sys.stdout.buffer.write(b'abc')``." msgstr "" -#: library/sys.rst:1792 +#: library/sys.rst:1793 msgid "" "However, if you are writing a library (and do not control in which context " "its code will be executed), be aware that the standard streams may be " @@ -2274,7 +2275,7 @@ msgid "" "support the :attr:`!buffer` attribute." msgstr "" -#: library/sys.rst:1802 +#: library/sys.rst:1803 msgid "" "These objects contain the original values of ``stdin``, ``stderr`` and " "``stdout`` at the start of the program. They are used during finalization, " @@ -2282,7 +2283,7 @@ msgid "" "``sys.std*`` object has been redirected." msgstr "" -#: library/sys.rst:1807 +#: library/sys.rst:1808 msgid "" "It can also be used to restore the actual files to known working file " "objects in case they have been overwritten with a broken object. However, " @@ -2290,7 +2291,7 @@ msgid "" "before replacing it, and restore the saved object." msgstr "" -#: library/sys.rst:1813 +#: library/sys.rst:1814 msgid "" "Under some conditions ``stdin``, ``stdout`` and ``stderr`` as well as the " "original values ``__stdin__``, ``__stdout__`` and ``__stderr__`` can be " @@ -2298,12 +2299,12 @@ msgid "" "to a console and Python apps started with :program:`pythonw`." msgstr "" -#: library/sys.rst:1821 +#: library/sys.rst:1822 msgid "" "A frozenset of strings containing the names of standard library modules." msgstr "" -#: library/sys.rst:1823 +#: library/sys.rst:1824 msgid "" "It is the same on all platforms. Modules which are not available on some " "platforms and modules disabled at Python build are also listed. All module " @@ -2311,7 +2312,7 @@ msgid "" "modules are excluded." msgstr "" -#: library/sys.rst:1828 +#: library/sys.rst:1829 msgid "" "For packages, only the main package is listed: sub-packages and sub-modules " "are not listed. For example, the ``email`` package is listed, but the " @@ -2319,60 +2320,60 @@ msgid "" "listed." msgstr "" -#: library/sys.rst:1833 +#: library/sys.rst:1834 msgid "See also the :data:`sys.builtin_module_names` list." msgstr "" -#: library/sys.rst:1840 +#: library/sys.rst:1841 msgid "" "A :term:`named tuple` holding information about the thread implementation." msgstr "" -#: library/sys.rst:1845 +#: library/sys.rst:1846 msgid "The name of the thread implementation:" msgstr "" -#: library/sys.rst:1847 +#: library/sys.rst:1848 msgid "``\"nt\"``: Windows threads" msgstr "" -#: library/sys.rst:1848 +#: library/sys.rst:1849 msgid "``\"pthread\"``: POSIX threads" msgstr "" -#: library/sys.rst:1849 +#: library/sys.rst:1850 msgid "" "``\"pthread-stubs\"``: stub POSIX threads (on WebAssembly platforms without " "threading support)" msgstr "" -#: library/sys.rst:1851 +#: library/sys.rst:1852 msgid "``\"solaris\"``: Solaris threads" msgstr "" -#: library/sys.rst:1855 +#: library/sys.rst:1856 msgid "The name of the lock implementation:" msgstr "" -#: library/sys.rst:1857 +#: library/sys.rst:1858 msgid "``\"semaphore\"``: a lock uses a semaphore" msgstr "" -#: library/sys.rst:1858 +#: library/sys.rst:1859 msgid "``\"mutex+cond\"``: a lock uses a mutex and a condition variable" msgstr "" -#: library/sys.rst:1859 +#: library/sys.rst:1860 msgid "``None`` if this information is unknown" msgstr "" -#: library/sys.rst:1863 +#: library/sys.rst:1864 msgid "" "The name and version of the thread library. It is a string, or ``None`` if " "this information is unknown." msgstr "" -#: library/sys.rst:1871 +#: library/sys.rst:1872 msgid "" "When this variable is set to an integer value, it determines the maximum " "number of levels of traceback information printed when an unhandled " @@ -2381,79 +2382,79 @@ msgid "" "are printed." msgstr "" -#: library/sys.rst:1879 +#: library/sys.rst:1880 msgid "Handle an unraisable exception." msgstr "" -#: library/sys.rst:1881 +#: library/sys.rst:1882 msgid "" "Called when an exception has occurred but there is no way for Python to " "handle it. For example, when a destructor raises an exception or during " "garbage collection (:func:`gc.collect`)." msgstr "" -#: library/sys.rst:1885 +#: library/sys.rst:1886 msgid "The *unraisable* argument has the following attributes:" msgstr "" -#: library/sys.rst:1887 +#: library/sys.rst:1888 msgid ":attr:`!exc_type`: Exception type." msgstr "" -#: library/sys.rst:1888 +#: library/sys.rst:1889 msgid ":attr:`!exc_value`: Exception value, can be ``None``." msgstr "" -#: library/sys.rst:1889 +#: library/sys.rst:1890 msgid ":attr:`!exc_traceback`: Exception traceback, can be ``None``." msgstr "" -#: library/sys.rst:1890 +#: library/sys.rst:1891 msgid ":attr:`!err_msg`: Error message, can be ``None``." msgstr "" -#: library/sys.rst:1891 +#: library/sys.rst:1892 msgid ":attr:`!object`: Object causing the exception, can be ``None``." msgstr "" -#: library/sys.rst:1893 +#: library/sys.rst:1894 msgid "" "The default hook formats :attr:`!err_msg` and :attr:`!object` as: " "``f'{err_msg}: {object!r}'``; use \"Exception ignored in\" error message if :" "attr:`!err_msg` is ``None``." msgstr "" -#: library/sys.rst:1897 +#: library/sys.rst:1898 msgid "" ":func:`sys.unraisablehook` can be overridden to control how unraisable " "exceptions are handled." msgstr "" -#: library/sys.rst:1902 +#: library/sys.rst:1903 msgid ":func:`excepthook` which handles uncaught exceptions." msgstr "" -#: library/sys.rst:1906 +#: library/sys.rst:1907 msgid "" "Storing :attr:`!exc_value` using a custom hook can create a reference cycle. " "It should be cleared explicitly to break the reference cycle when the " "exception is no longer needed." msgstr "" -#: library/sys.rst:1910 +#: library/sys.rst:1911 msgid "" "Storing :attr:`!object` using a custom hook can resurrect it if it is set to " "an object which is being finalized. Avoid storing :attr:`!object` after the " "custom hook completes to avoid resurrecting objects." msgstr "" -#: library/sys.rst:1914 +#: library/sys.rst:1915 msgid "" "Raises an :ref:`auditing event ` ``sys.unraisablehook`` with " "arguments ``hook``, ``unraisable``." msgstr "" -#: library/sys.rst:1916 +#: library/sys.rst:1917 msgid "" "Raise an auditing event ``sys.unraisablehook`` with arguments *hook*, " "*unraisable* when an exception that cannot be handled occurs. The " @@ -2461,7 +2462,7 @@ msgid "" "hook has been set, *hook* may be ``None``." msgstr "" -#: library/sys.rst:1925 +#: library/sys.rst:1926 msgid "" "A string containing the version number of the Python interpreter plus " "additional information on the build number and compiler used. This string " @@ -2470,13 +2471,13 @@ msgid "" "functions provided by the :mod:`platform` module." msgstr "" -#: library/sys.rst:1934 +#: library/sys.rst:1935 msgid "" "The C API version for this interpreter. Programmers may find this useful " "when debugging version conflicts between Python and extension modules." msgstr "" -#: library/sys.rst:1940 +#: library/sys.rst:1941 msgid "" "A tuple containing the five components of the version number: *major*, " "*minor*, *micro*, *releaselevel*, and *serial*. All values except " @@ -2487,18 +2488,18 @@ msgid "" "version_info.major`` and so on." msgstr "" -#: library/sys.rst:1948 +#: library/sys.rst:1949 msgid "Added named component attributes." msgstr "" -#: library/sys.rst:1953 +#: library/sys.rst:1954 msgid "" "This is an implementation detail of the warnings framework; do not modify " "this value. Refer to the :mod:`warnings` module for more information on the " "warnings framework." msgstr "" -#: library/sys.rst:1960 +#: library/sys.rst:1961 msgid "" "The version number used to form registry keys on Windows platforms. This is " "stored as string resource 1000 in the Python DLL. The value is normally the " @@ -2507,31 +2508,31 @@ msgid "" "has no effect on the registry keys used by Python." msgstr "" -#: library/sys.rst:1972 +#: library/sys.rst:1973 msgid "" "Namespace containing functions and constants for register callbacks and " "controlling monitoring events. See :mod:`sys.monitoring` for details." msgstr "" -#: library/sys.rst:1978 +#: library/sys.rst:1979 msgid "" "A dictionary of the various implementation-specific flags passed through " "the :option:`-X` command-line option. Option names are either mapped to " "their values, if given explicitly, or to :const:`True`. Example:" msgstr "" -#: library/sys.rst:1994 +#: library/sys.rst:1995 msgid "" "This is a CPython-specific way of accessing options passed through :option:`-" "X`. Other implementations may export them through other means, or not at " "all." msgstr "" -#: library/sys.rst:2002 +#: library/sys.rst:2003 msgid "Citations" msgstr "" -#: library/sys.rst:2003 +#: library/sys.rst:2004 msgid "" "ISO/IEC 9899:1999. \"Programming languages -- C.\" A public draft of this " "standard is available at https://www.open-std.org/jtc1/sc22/wg14/www/docs/" diff --git a/library/tarfile.po b/library/tarfile.po index ee3666efc..fc91248b8 100644 --- a/library/tarfile.po +++ b/library/tarfile.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -253,266 +253,310 @@ msgid "" "[compression]'``. :func:`tarfile.open` will return a :class:`TarFile` " "object that processes its data as a stream of blocks. No random seeking " "will be done on the file. If given, *fileobj* may be any object that has a :" -"meth:`read` or :meth:`write` method (depending on the *mode*). *bufsize* " -"specifies the blocksize and defaults to ``20 * 512`` bytes. Use this variant " -"in combination with e.g. ``sys.stdin``, a socket :term:`file object` or a " -"tape device. However, such a :class:`TarFile` object is limited in that it " -"does not allow random access, see :ref:`tar-examples`. The currently " -"possible modes:" +"meth:`~io.RawIOBase.read` or :meth:`~io.RawIOBase.write` method (depending " +"on the *mode*) that works with bytes. *bufsize* specifies the blocksize and " +"defaults to ``20 * 512`` bytes. Use this variant in combination with e.g. " +"``sys.stdin.buffer``, a socket :term:`file object` or a tape device. " +"However, such a :class:`TarFile` object is limited in that it does not allow " +"random access, see :ref:`tar-examples`. The currently possible modes:" msgstr "" -#: library/tarfile.rst:127 +#: library/tarfile.rst:129 msgid "Mode" msgstr "" -#: library/tarfile.rst:127 +#: library/tarfile.rst:129 msgid "Action" msgstr "" -#: library/tarfile.rst:129 +#: library/tarfile.rst:131 msgid "``'r|*'``" msgstr "" -#: library/tarfile.rst:129 +#: library/tarfile.rst:131 msgid "Open a *stream* of tar blocks for reading with transparent compression." msgstr "" -#: library/tarfile.rst:132 +#: library/tarfile.rst:134 msgid "``'r|'``" msgstr "" -#: library/tarfile.rst:132 +#: library/tarfile.rst:134 msgid "Open a *stream* of uncompressed tar blocks for reading." msgstr "" -#: library/tarfile.rst:135 +#: library/tarfile.rst:137 msgid "``'r|gz'``" msgstr "" -#: library/tarfile.rst:135 +#: library/tarfile.rst:137 msgid "Open a gzip compressed *stream* for reading." msgstr "" -#: library/tarfile.rst:138 +#: library/tarfile.rst:140 msgid "``'r|bz2'``" msgstr "" -#: library/tarfile.rst:138 +#: library/tarfile.rst:140 msgid "Open a bzip2 compressed *stream* for reading." msgstr "" -#: library/tarfile.rst:141 +#: library/tarfile.rst:143 msgid "``'r|xz'``" msgstr "" -#: library/tarfile.rst:141 +#: library/tarfile.rst:143 msgid "Open an lzma compressed *stream* for reading." msgstr "" -#: library/tarfile.rst:144 +#: library/tarfile.rst:146 msgid "``'w|'``" msgstr "" -#: library/tarfile.rst:144 +#: library/tarfile.rst:146 msgid "Open an uncompressed *stream* for writing." msgstr "" -#: library/tarfile.rst:146 +#: library/tarfile.rst:148 msgid "``'w|gz'``" msgstr "" -#: library/tarfile.rst:146 +#: library/tarfile.rst:148 msgid "Open a gzip compressed *stream* for writing." msgstr "" -#: library/tarfile.rst:149 +#: library/tarfile.rst:151 msgid "``'w|bz2'``" msgstr "" -#: library/tarfile.rst:149 +#: library/tarfile.rst:151 msgid "Open a bzip2 compressed *stream* for writing." msgstr "" -#: library/tarfile.rst:152 +#: library/tarfile.rst:154 msgid "``'w|xz'``" msgstr "" -#: library/tarfile.rst:152 +#: library/tarfile.rst:154 msgid "Open an lzma compressed *stream* for writing." msgstr "" -#: library/tarfile.rst:375 +#: library/tarfile.rst:422 msgid "The ``'x'`` (exclusive creation) mode was added." msgstr "" -#: library/tarfile.rst:378 library/tarfile.rst:613 +#: library/tarfile.rst:425 library/tarfile.rst:660 msgid "The *name* parameter accepts a :term:`path-like object`." msgstr "" -#: library/tarfile.rst:162 +#: library/tarfile.rst:164 msgid "The *compresslevel* keyword argument also works for streams." msgstr "" -#: library/tarfile.rst:169 +#: library/tarfile.rst:171 msgid "" "Class for reading and writing tar archives. Do not use this class directly: " "use :func:`tarfile.open` instead. See :ref:`tarfile-objects`." msgstr "" -#: library/tarfile.rst:175 +#: library/tarfile.rst:177 msgid "" "Return :const:`True` if *name* is a tar archive file, that the :mod:" "`tarfile` module can read. *name* may be a :class:`str`, file, or file-like " "object." msgstr "" -#: library/tarfile.rst:178 +#: library/tarfile.rst:180 msgid "Support for file and file-like objects." msgstr "" -#: library/tarfile.rst:182 +#: library/tarfile.rst:184 msgid "The :mod:`tarfile` module defines the following exceptions:" msgstr "" -#: library/tarfile.rst:187 +#: library/tarfile.rst:189 msgid "Base class for all :mod:`tarfile` exceptions." msgstr "" -#: library/tarfile.rst:192 +#: library/tarfile.rst:194 msgid "" "Is raised when a tar archive is opened, that either cannot be handled by " "the :mod:`tarfile` module or is somehow invalid." msgstr "" -#: library/tarfile.rst:198 +#: library/tarfile.rst:200 msgid "" "Is raised when a compression method is not supported or when the data cannot " "be decoded properly." msgstr "" -#: library/tarfile.rst:204 +#: library/tarfile.rst:206 msgid "" "Is raised for the limitations that are typical for stream-like :class:" "`TarFile` objects." msgstr "" -#: library/tarfile.rst:210 +#: library/tarfile.rst:212 msgid "" "Is raised for *non-fatal* errors when using :meth:`TarFile.extract`, but " "only if :attr:`TarFile.errorlevel`\\ ``== 2``." msgstr "" -#: library/tarfile.rst:216 +#: library/tarfile.rst:218 msgid "Is raised by :meth:`TarInfo.frombuf` if the buffer it gets is invalid." msgstr "" -#: library/tarfile.rst:221 +#: library/tarfile.rst:223 msgid "" "Base class for members :ref:`refused ` by filters." msgstr "" -#: library/tarfile.rst:226 +#: library/tarfile.rst:228 msgid "" "Information about the member that the filter refused to extract, as :ref:" "`TarInfo `." msgstr "" -#: library/tarfile.rst:231 +#: library/tarfile.rst:233 msgid "Raised to refuse extracting a member with an absolute path." msgstr "" -#: library/tarfile.rst:235 +#: library/tarfile.rst:237 msgid "Raised to refuse extracting a member outside the destination directory." msgstr "" -#: library/tarfile.rst:239 +#: library/tarfile.rst:241 msgid "Raised to refuse extracting a special file (e.g. a device or pipe)." msgstr "" -#: library/tarfile.rst:243 +#: library/tarfile.rst:245 msgid "Raised to refuse extracting a symbolic link with an absolute path." msgstr "" -#: library/tarfile.rst:247 +#: library/tarfile.rst:249 msgid "" "Raised to refuse extracting a symbolic link pointing outside the destination " "directory." msgstr "" -#: library/tarfile.rst:251 +#: library/tarfile.rst:253 msgid "The following constants are available at the module level:" msgstr "" -#: library/tarfile.rst:255 +#: library/tarfile.rst:257 msgid "" "The default character encoding: ``'utf-8'`` on Windows, the value returned " "by :func:`sys.getfilesystemencoding` otherwise." msgstr "" -#: library/tarfile.rst:259 +#: library/tarfile.rst:263 +msgid "A regular file :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:267 +msgid "A link (inside tarfile) :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:271 +msgid "A symbolic link :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:275 +msgid "A character special device :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:279 +msgid "A block special device :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:283 +msgid "A directory :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:287 +msgid "A FIFO special device :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:291 +msgid "A contiguous file :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:295 +msgid "A GNU tar longname :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:299 +msgid "A GNU tar longlink :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:303 +msgid "A GNU tar sparse file :attr:`~TarInfo.type`." +msgstr "" + +#: library/tarfile.rst:306 msgid "" "Each of the following constants defines a tar archive format that the :mod:" "`tarfile` module is able to create. See section :ref:`tar-formats` for " "details." msgstr "" -#: library/tarfile.rst:266 +#: library/tarfile.rst:313 msgid "POSIX.1-1988 (ustar) format." msgstr "" -#: library/tarfile.rst:271 +#: library/tarfile.rst:318 msgid "GNU tar format." msgstr "" -#: library/tarfile.rst:276 +#: library/tarfile.rst:323 msgid "POSIX.1-2001 (pax) format." msgstr "" -#: library/tarfile.rst:281 +#: library/tarfile.rst:328 msgid "" "The default format for creating archives. This is currently :const:" "`PAX_FORMAT`." msgstr "" -#: library/tarfile.rst:283 +#: library/tarfile.rst:330 msgid "" "The default format for new archives was changed to :const:`PAX_FORMAT` from :" "const:`GNU_FORMAT`." msgstr "" -#: library/tarfile.rst:291 +#: library/tarfile.rst:338 msgid "Module :mod:`zipfile`" msgstr "" -#: library/tarfile.rst:291 +#: library/tarfile.rst:338 msgid "Documentation of the :mod:`zipfile` standard module." msgstr "" -#: library/tarfile.rst:295 +#: library/tarfile.rst:342 msgid ":ref:`archiving-operations`" msgstr "" -#: library/tarfile.rst:294 +#: library/tarfile.rst:341 msgid "" "Documentation of the higher-level archiving facilities provided by the " "standard :mod:`shutil` module." msgstr "" -#: library/tarfile.rst:297 +#: library/tarfile.rst:344 msgid "" "`GNU tar manual, Basic Tar Format `_" msgstr "" -#: library/tarfile.rst:298 +#: library/tarfile.rst:345 msgid "Documentation for tar archive files, including GNU tar extensions." msgstr "" -#: library/tarfile.rst:304 +#: library/tarfile.rst:351 msgid "TarFile Objects" msgstr "" -#: library/tarfile.rst:306 +#: library/tarfile.rst:353 msgid "" "The :class:`TarFile` object provides an interface to a tar archive. A tar " "archive is a sequence of blocks. An archive member (a stored file) is made " @@ -521,7 +565,7 @@ msgid "" "class:`TarInfo` object, see :ref:`tarinfo-objects` for details." msgstr "" -#: library/tarfile.rst:312 +#: library/tarfile.rst:359 msgid "" "A :class:`TarFile` object can be used as a context manager in a :keyword:" "`with` statement. It will automatically be closed when the block is " @@ -530,24 +574,24 @@ msgid "" "be closed. See the :ref:`tar-examples` section for a use case." msgstr "" -#: library/tarfile.rst:318 +#: library/tarfile.rst:365 msgid "Added support for the context management protocol." msgstr "" -#: library/tarfile.rst:323 +#: library/tarfile.rst:370 msgid "" "All following arguments are optional and can be accessed as instance " "attributes as well." msgstr "" -#: library/tarfile.rst:326 +#: library/tarfile.rst:373 msgid "" "*name* is the pathname of the archive. *name* may be a :term:`path-like " "object`. It can be omitted if *fileobj* is given. In this case, the file " -"object's :attr:`name` attribute is used if it exists." +"object's :attr:`!name` attribute is used if it exists." msgstr "" -#: library/tarfile.rst:330 +#: library/tarfile.rst:377 msgid "" "*mode* is either ``'r'`` to read from an existing archive, ``'a'`` to append " "data to an existing file, ``'w'`` to create a new file overwriting an " @@ -555,18 +599,18 @@ msgid "" "exist." msgstr "" -#: library/tarfile.rst:334 +#: library/tarfile.rst:381 msgid "" "If *fileobj* is given, it is used for reading or writing data. If it can be " "determined, *mode* is overridden by *fileobj*'s mode. *fileobj* will be used " "from position 0." msgstr "" -#: library/tarfile.rst:340 +#: library/tarfile.rst:387 msgid "*fileobj* is not closed, when :class:`TarFile` is closed." msgstr "" -#: library/tarfile.rst:342 +#: library/tarfile.rst:389 msgid "" "*format* controls the archive format for writing. It must be one of the " "constants :const:`USTAR_FORMAT`, :const:`GNU_FORMAT` or :const:`PAX_FORMAT` " @@ -574,20 +618,20 @@ msgid "" "detected, even if different formats are present in a single archive." msgstr "" -#: library/tarfile.rst:347 +#: library/tarfile.rst:394 msgid "" "The *tarinfo* argument can be used to replace the default :class:`TarInfo` " "class with a different one." msgstr "" -#: library/tarfile.rst:350 +#: library/tarfile.rst:397 msgid "" "If *dereference* is :const:`False`, add symbolic and hard links to the " "archive. If it is :const:`True`, add the content of the target files to the " "archive. This has no effect on systems that do not support symbolic links." msgstr "" -#: library/tarfile.rst:354 +#: library/tarfile.rst:401 msgid "" "If *ignore_zeros* is :const:`False`, treat an empty block as the end of the " "archive. If it is :const:`True`, skip empty (and invalid) blocks and try to " @@ -595,19 +639,19 @@ msgid "" "concatenated or damaged archives." msgstr "" -#: library/tarfile.rst:358 +#: library/tarfile.rst:405 msgid "" "*debug* can be set from ``0`` (no debug messages) up to ``3`` (all debug " "messages). The messages are written to ``sys.stderr``." msgstr "" -#: library/tarfile.rst:361 +#: library/tarfile.rst:408 msgid "" "*errorlevel* controls how extraction errors are handled, see :attr:`the " -"corresponding attribute <~TarFile.errorlevel>`." +"corresponding attribute `." msgstr "" -#: library/tarfile.rst:364 +#: library/tarfile.rst:411 msgid "" "The *encoding* and *errors* arguments define the character encoding to be " "used for reading or writing the archive and how conversion errors are going " @@ -615,47 +659,47 @@ msgid "" "ref:`tar-unicode` for in-depth information." msgstr "" -#: library/tarfile.rst:369 +#: library/tarfile.rst:416 msgid "" "The *pax_headers* argument is an optional dictionary of strings which will " "be added as a pax global header if *format* is :const:`PAX_FORMAT`." msgstr "" -#: library/tarfile.rst:681 +#: library/tarfile.rst:728 msgid "Use ``'surrogateescape'`` as the default for the *errors* argument." msgstr "" -#: library/tarfile.rst:384 +#: library/tarfile.rst:431 msgid "" "Alternative constructor. The :func:`tarfile.open` function is actually a " "shortcut to this classmethod." msgstr "" -#: library/tarfile.rst:390 +#: library/tarfile.rst:437 msgid "" "Return a :class:`TarInfo` object for member *name*. If *name* can not be " "found in the archive, :exc:`KeyError` is raised." msgstr "" -#: library/tarfile.rst:395 +#: library/tarfile.rst:442 msgid "" "If a member occurs more than once in the archive, its last occurrence is " "assumed to be the most up-to-date version." msgstr "" -#: library/tarfile.rst:401 +#: library/tarfile.rst:448 msgid "" "Return the members of the archive as a list of :class:`TarInfo` objects. The " "list has the same order as the members in the archive." msgstr "" -#: library/tarfile.rst:407 +#: library/tarfile.rst:454 msgid "" "Return the members as a list of their names. It has the same order as the " "list returned by :meth:`getmembers`." msgstr "" -#: library/tarfile.rst:413 +#: library/tarfile.rst:460 msgid "" "Print a table of contents to ``sys.stdout``. If *verbose* is :const:`False`, " "only the names of the members are printed. If it is :const:`True`, output " @@ -663,18 +707,18 @@ msgid "" "given, it must be a subset of the list returned by :meth:`getmembers`." msgstr "" -#: library/tarfile.rst:418 +#: library/tarfile.rst:465 msgid "Added the *members* parameter." msgstr "" -#: library/tarfile.rst:424 +#: library/tarfile.rst:471 msgid "" "Return the next member of the archive as a :class:`TarInfo` object, when :" "class:`TarFile` is opened for reading. Return :const:`None` if there is no " "more available." msgstr "" -#: library/tarfile.rst:431 +#: library/tarfile.rst:478 msgid "" "Extract all members from the archive to the current working directory or " "directory *path*. If optional *members* is given, it must be a subset of the " @@ -686,14 +730,14 @@ msgid "" "fail." msgstr "" -#: library/tarfile.rst:439 +#: library/tarfile.rst:486 msgid "" "If *numeric_owner* is :const:`True`, the uid and gid numbers from the " "tarfile are used to set the owner/group for the extracted files. Otherwise, " "the named values from the tarfile are used." msgstr "" -#: library/tarfile.rst:443 +#: library/tarfile.rst:490 msgid "" "The *filter* argument specifies how ``members`` are modified or rejected " "before extraction. See :ref:`tarfile-extraction-filter` for details. It is " @@ -701,7 +745,7 @@ msgid "" "need to support." msgstr "" -#: library/tarfile.rst:451 +#: library/tarfile.rst:498 msgid "" "Never extract archives from untrusted sources without prior inspection. It " "is possible that files are created outside of *path*, e.g. members that have " @@ -709,25 +753,25 @@ msgid "" "\"``." msgstr "" -#: library/tarfile.rst:489 +#: library/tarfile.rst:536 msgid "" "Set ``filter='data'`` to prevent the most dangerous security issues, and " "read the :ref:`tarfile-extraction-filter` section for details." msgstr "" -#: library/tarfile.rst:495 +#: library/tarfile.rst:542 msgid "Added the *numeric_owner* parameter." msgstr "" -#: library/tarfile.rst:498 +#: library/tarfile.rst:545 msgid "The *path* parameter accepts a :term:`path-like object`." msgstr "" -#: library/tarfile.rst:501 library/tarfile.rst:579 +#: library/tarfile.rst:548 library/tarfile.rst:626 msgid "Added the *filter* parameter." msgstr "" -#: library/tarfile.rst:471 +#: library/tarfile.rst:518 msgid "" "Extract a member from the archive to the current working directory, using " "its full name. Its file information is extracted as accurately as possible. " @@ -736,27 +780,27 @@ msgid "" "File attributes (owner, mtime, mode) are set unless *set_attrs* is false." msgstr "" -#: library/tarfile.rst:477 +#: library/tarfile.rst:524 msgid "" "The *numeric_owner* and *filter* arguments are the same as for :meth:" "`extractall`." msgstr "" -#: library/tarfile.rst:482 +#: library/tarfile.rst:529 msgid "" "The :meth:`extract` method does not take care of several extraction issues. " "In most cases you should consider using the :meth:`extractall` method." msgstr "" -#: library/tarfile.rst:487 +#: library/tarfile.rst:534 msgid "See the warning for :meth:`extractall`." msgstr "" -#: library/tarfile.rst:492 +#: library/tarfile.rst:539 msgid "Added the *set_attrs* parameter." msgstr "" -#: library/tarfile.rst:507 +#: library/tarfile.rst:554 msgid "" "Extract a member from the archive as a file object. *member* may be a " "filename or a :class:`TarInfo` object. If *member* is a regular file or a " @@ -765,11 +809,11 @@ msgid "" "the archive, :exc:`KeyError` is raised." msgstr "" -#: library/tarfile.rst:513 +#: library/tarfile.rst:560 msgid "Return an :class:`io.BufferedReader` object." msgstr "" -#: library/tarfile.rst:519 +#: library/tarfile.rst:566 msgid "" "If *errorlevel* is ``0``, errors are ignored when using :meth:`TarFile." "extract` and :meth:`TarFile.extractall`. Nevertheless, they appear as error " @@ -779,39 +823,39 @@ msgid "" "exc:`TarError` exceptions as well." msgstr "" -#: library/tarfile.rst:527 +#: library/tarfile.rst:574 msgid "" "Some exceptions, e.g. ones caused by wrong argument types or data " "corruption, are always raised." msgstr "" -#: library/tarfile.rst:530 +#: library/tarfile.rst:577 msgid "" "Custom :ref:`extraction filters ` should raise :" "exc:`FilterError` for *fatal* errors and :exc:`ExtractError` for *non-fatal* " "ones." msgstr "" -#: library/tarfile.rst:534 +#: library/tarfile.rst:581 msgid "" "Note that when an exception is raised, the archive may be partially " "extracted. It is the user’s responsibility to clean up." msgstr "" -#: library/tarfile.rst:541 +#: library/tarfile.rst:588 msgid "" "The :ref:`extraction filter ` used as a default " "for the *filter* argument of :meth:`~TarFile.extract` and :meth:`~TarFile." "extractall`." msgstr "" -#: library/tarfile.rst:545 +#: library/tarfile.rst:592 msgid "" "The attribute may be ``None`` or a callable. String names are not allowed " "for this attribute, unlike the *filter* argument to :meth:`~TarFile.extract`." msgstr "" -#: library/tarfile.rst:549 +#: library/tarfile.rst:596 msgid "" "If ``extraction_filter`` is ``None`` (the default), calling an extraction " "method without a *filter* argument will raise a ``DeprecationWarning``, and " @@ -819,13 +863,13 @@ msgid "" "dangerous behavior matches previous versions of Python." msgstr "" -#: library/tarfile.rst:555 +#: library/tarfile.rst:602 msgid "" "In Python 3.14+, leaving ``extraction_filter=None`` will cause extraction " "methods to use the :func:`data ` filter by default." msgstr "" -#: library/tarfile.rst:558 +#: library/tarfile.rst:605 msgid "" "The attribute may be set on instances or overridden in subclasses. It also " "is possible to set it on the ``TarFile`` class itself to set a global " @@ -836,7 +880,7 @@ msgid "" "argument." msgstr "" -#: library/tarfile.rst:568 +#: library/tarfile.rst:615 msgid "" "Add the file *name* to the archive. *name* may be any type of file " "(directory, fifo, symbolic link, etc.). If given, *arcname* specifies an " @@ -849,11 +893,11 @@ msgid "" "ref:`tar-examples` for an example." msgstr "" -#: library/tarfile.rst:582 +#: library/tarfile.rst:629 msgid "Recursion adds entries in sorted order." msgstr "" -#: library/tarfile.rst:588 +#: library/tarfile.rst:635 msgid "" "Add the :class:`TarInfo` object *tarinfo* to the archive. If *fileobj* is " "given, it should be a :term:`binary file`, and ``tarinfo.size`` bytes are " @@ -861,7 +905,7 @@ msgid "" "objects directly, or by using :meth:`gettarinfo`." msgstr "" -#: library/tarfile.rst:596 +#: library/tarfile.rst:643 msgid "" "Create a :class:`TarInfo` object from the result of :func:`os.stat` or " "equivalent on an existing file. The file is either named by *name*, or " @@ -872,7 +916,7 @@ msgid "" "The name should be a text string." msgstr "" -#: library/tarfile.rst:605 +#: library/tarfile.rst:652 msgid "" "You can modify some of the :class:`TarInfo`’s attributes before you add it " "using :meth:`addfile`. If the file object is not an ordinary file object " @@ -882,21 +926,21 @@ msgid "" "case *arcname* could be a dummy string." msgstr "" -#: library/tarfile.rst:619 +#: library/tarfile.rst:666 msgid "" "Close the :class:`TarFile`. In write mode, two finishing zero blocks are " "appended to the archive." msgstr "" -#: library/tarfile.rst:625 +#: library/tarfile.rst:672 msgid "A dictionary containing key-value pairs of pax global headers." msgstr "" -#: library/tarfile.rst:632 +#: library/tarfile.rst:679 msgid "TarInfo Objects" msgstr "" -#: library/tarfile.rst:634 +#: library/tarfile.rst:681 msgid "" "A :class:`TarInfo` object represents one member in a :class:`TarFile`. Aside " "from storing all required attributes of a file (like file type, size, time, " @@ -904,96 +948,96 @@ msgid "" "type. It does *not* contain the file's data itself." msgstr "" -#: library/tarfile.rst:639 +#: library/tarfile.rst:686 msgid "" ":class:`TarInfo` objects are returned by :class:`TarFile`'s methods :meth:" "`~TarFile.getmember`, :meth:`~TarFile.getmembers` and :meth:`~TarFile." "gettarinfo`." msgstr "" -#: library/tarfile.rst:643 +#: library/tarfile.rst:690 msgid "" -"Modifying the objects returned by :meth:`~!TarFile.getmember` or :meth:`~!" -"TarFile.getmembers` will affect all subsequent operations on the archive. " +"Modifying the objects returned by :meth:`~TarFile.getmember` or :meth:" +"`~TarFile.getmembers` will affect all subsequent operations on the archive. " "For cases where this is unwanted, you can use :mod:`copy.copy() ` or " "call the :meth:`~TarInfo.replace` method to create a modified copy in one " "step." msgstr "" -#: library/tarfile.rst:649 +#: library/tarfile.rst:696 msgid "" "Several attributes can be set to ``None`` to indicate that a piece of " "metadata is unused or unknown. Different :class:`TarInfo` methods handle " "``None`` differently:" msgstr "" -#: library/tarfile.rst:653 +#: library/tarfile.rst:700 msgid "" "The :meth:`~TarFile.extract` or :meth:`~TarFile.extractall` methods will " "ignore the corresponding metadata, leaving it set to a default." msgstr "" -#: library/tarfile.rst:655 +#: library/tarfile.rst:702 msgid ":meth:`~TarFile.addfile` will fail." msgstr "" -#: library/tarfile.rst:656 +#: library/tarfile.rst:703 msgid ":meth:`~TarFile.list` will print a placeholder string." msgstr "" -#: library/tarfile.rst:660 +#: library/tarfile.rst:707 msgid "Create a :class:`TarInfo` object." msgstr "" -#: library/tarfile.rst:665 +#: library/tarfile.rst:712 msgid "Create and return a :class:`TarInfo` object from string buffer *buf*." msgstr "" -#: library/tarfile.rst:667 +#: library/tarfile.rst:714 msgid "Raises :exc:`HeaderError` if the buffer is invalid." msgstr "" -#: library/tarfile.rst:672 +#: library/tarfile.rst:719 msgid "" "Read the next member from the :class:`TarFile` object *tarfile* and return " "it as a :class:`TarInfo` object." msgstr "" -#: library/tarfile.rst:678 +#: library/tarfile.rst:725 msgid "" "Create a string buffer from a :class:`TarInfo` object. For information on " "the arguments see the constructor of the :class:`TarFile` class." msgstr "" -#: library/tarfile.rst:685 +#: library/tarfile.rst:732 msgid "A ``TarInfo`` object has the following public data attributes:" msgstr "" -#: library/tarfile.rst:691 +#: library/tarfile.rst:738 msgid "Name of the archive member." msgstr "" -#: library/tarfile.rst:697 +#: library/tarfile.rst:744 msgid "Size in bytes." msgstr "" -#: library/tarfile.rst:703 +#: library/tarfile.rst:750 msgid "" "Time of last modification in seconds since the :ref:`epoch `, as in :" "attr:`os.stat_result.st_mtime`." msgstr "" -#: library/tarfile.rst:719 library/tarfile.rst:762 library/tarfile.rst:784 +#: library/tarfile.rst:766 library/tarfile.rst:809 library/tarfile.rst:831 msgid "" "Can be set to ``None`` for :meth:`~TarFile.extract` and :meth:`~TarFile." "extractall`, causing extraction to skip applying this attribute." msgstr "" -#: library/tarfile.rst:715 +#: library/tarfile.rst:762 msgid "Permission bits, as for :func:`os.chmod`." msgstr "" -#: library/tarfile.rst:725 +#: library/tarfile.rst:772 msgid "" "File type. *type* is usually one of these constants: :const:`REGTYPE`, :" "const:`AREGTYPE`, :const:`LNKTYPE`, :const:`SYMTYPE`, :const:`DIRTYPE`, :" @@ -1002,100 +1046,100 @@ msgid "" "more conveniently, use the ``is*()`` methods below." msgstr "" -#: library/tarfile.rst:735 +#: library/tarfile.rst:782 msgid "" "Name of the target file name, which is only present in :class:`TarInfo` " "objects of type :const:`LNKTYPE` and :const:`SYMTYPE`." msgstr "" -#: library/tarfile.rst:738 +#: library/tarfile.rst:785 msgid "" "For symbolic links (``SYMTYPE``), the *linkname* is relative to the " "directory that contains the link. For hard links (``LNKTYPE``), the " "*linkname* is relative to the root of the archive." msgstr "" -#: library/tarfile.rst:747 +#: library/tarfile.rst:794 msgid "User ID of the user who originally stored this member." msgstr "" -#: library/tarfile.rst:758 +#: library/tarfile.rst:805 msgid "Group ID of the user who originally stored this member." msgstr "" -#: library/tarfile.rst:769 +#: library/tarfile.rst:816 msgid "User name." msgstr "" -#: library/tarfile.rst:780 +#: library/tarfile.rst:827 msgid "Group name." msgstr "" -#: library/tarfile.rst:791 +#: library/tarfile.rst:838 msgid "" "A dictionary containing key-value pairs of an associated pax extended header." msgstr "" -#: library/tarfile.rst:799 +#: library/tarfile.rst:846 msgid "" "Return a *new* copy of the :class:`!TarInfo` object with the given " "attributes changed. For example, to return a ``TarInfo`` with the group name " "set to ``'staff'``, use::" msgstr "" -#: library/tarfile.rst:805 +#: library/tarfile.rst:852 msgid "" "By default, a deep copy is made. If *deep* is false, the copy is shallow, i." "e. ``pax_headers`` and any custom attributes are shared with the original " "``TarInfo`` object." msgstr "" -#: library/tarfile.rst:809 +#: library/tarfile.rst:856 msgid "A :class:`TarInfo` object also provides some convenient query methods:" msgstr "" -#: library/tarfile.rst:814 -msgid "Return :const:`True` if the :class:`Tarinfo` object is a regular file." +#: library/tarfile.rst:861 +msgid "Return :const:`True` if the :class:`TarInfo` object is a regular file." msgstr "" -#: library/tarfile.rst:819 +#: library/tarfile.rst:866 msgid "Same as :meth:`isfile`." msgstr "" -#: library/tarfile.rst:824 +#: library/tarfile.rst:871 msgid "Return :const:`True` if it is a directory." msgstr "" -#: library/tarfile.rst:829 +#: library/tarfile.rst:876 msgid "Return :const:`True` if it is a symbolic link." msgstr "" -#: library/tarfile.rst:834 +#: library/tarfile.rst:881 msgid "Return :const:`True` if it is a hard link." msgstr "" -#: library/tarfile.rst:839 +#: library/tarfile.rst:886 msgid "Return :const:`True` if it is a character device." msgstr "" -#: library/tarfile.rst:844 +#: library/tarfile.rst:891 msgid "Return :const:`True` if it is a block device." msgstr "" -#: library/tarfile.rst:849 +#: library/tarfile.rst:896 msgid "Return :const:`True` if it is a FIFO." msgstr "" -#: library/tarfile.rst:854 +#: library/tarfile.rst:901 msgid "" "Return :const:`True` if it is one of character device, block device or FIFO." msgstr "" -#: library/tarfile.rst:860 +#: library/tarfile.rst:907 msgid "Extraction filters" msgstr "" -#: library/tarfile.rst:864 +#: library/tarfile.rst:911 msgid "" "The *tar* format is designed to capture all details of a UNIX-like " "filesystem, which makes it very powerful. Unfortunately, the features make " @@ -1105,66 +1149,66 @@ msgid "" "components, or symlinks that affect later members)." msgstr "" -#: library/tarfile.rst:872 +#: library/tarfile.rst:919 msgid "" "In most cases, the full functionality is not needed. Therefore, *tarfile* " "supports extraction filters: a mechanism to limit functionality, and thus " "mitigate some of the security issues." msgstr "" -#: library/tarfile.rst:878 +#: library/tarfile.rst:925 msgid ":pep:`706`" msgstr "" -#: library/tarfile.rst:879 +#: library/tarfile.rst:926 msgid "Contains further motivation and rationale behind the design." msgstr "" -#: library/tarfile.rst:881 +#: library/tarfile.rst:928 msgid "" "The *filter* argument to :meth:`TarFile.extract` or :meth:`~TarFile." "extractall` can be:" msgstr "" -#: library/tarfile.rst:884 +#: library/tarfile.rst:931 msgid "" "the string ``'fully_trusted'``: Honor all metadata as specified in the " "archive. Should be used if the user trusts the archive completely, or " "implements their own complex verification." msgstr "" -#: library/tarfile.rst:889 +#: library/tarfile.rst:936 msgid "" "the string ``'tar'``: Honor most *tar*-specific features (i.e. features of " "UNIX-like filesystems), but block features that are very likely to be " "surprising or malicious. See :func:`tar_filter` for details." msgstr "" -#: library/tarfile.rst:893 +#: library/tarfile.rst:940 msgid "" "the string ``'data'``: Ignore or block most features specific to UNIX-like " "filesystems. Intended for extracting cross-platform data archives. See :func:" "`data_filter` for details." msgstr "" -#: library/tarfile.rst:897 +#: library/tarfile.rst:944 msgid "``None`` (default): Use :attr:`TarFile.extraction_filter`." msgstr "" -#: library/tarfile.rst:899 +#: library/tarfile.rst:946 msgid "" "If that is also ``None`` (the default), raise a ``DeprecationWarning``, and " "fall back to the ``'fully_trusted'`` filter, whose dangerous behavior " "matches previous versions of Python." msgstr "" -#: library/tarfile.rst:903 +#: library/tarfile.rst:950 msgid "" "In Python 3.14, the ``'data'`` filter will become the default instead. It's " "possible to switch earlier; see :attr:`TarFile.extraction_filter`." msgstr "" -#: library/tarfile.rst:906 +#: library/tarfile.rst:953 msgid "" "A callable which will be called for each extracted member with a :ref:" "`TarInfo ` describing the member and the destination path " @@ -1172,23 +1216,23 @@ msgid "" "members)::" msgstr "" -#: library/tarfile.rst:913 +#: library/tarfile.rst:960 msgid "" "The callable is called just before each member is extracted, so it can take " "the current state of the disk into account. It can:" msgstr "" -#: library/tarfile.rst:917 +#: library/tarfile.rst:964 msgid "" "return a :class:`TarInfo` object which will be used instead of the metadata " "in the archive, or" msgstr "" -#: library/tarfile.rst:919 +#: library/tarfile.rst:966 msgid "return ``None``, in which case the member will be skipped, or" msgstr "" -#: library/tarfile.rst:920 +#: library/tarfile.rst:967 msgid "" "raise an exception to abort the operation or skip the member, depending on :" "attr:`~TarFile.errorlevel`. Note that when extraction is aborted, :meth:" @@ -1196,118 +1240,118 @@ msgid "" "attempt to clean up." msgstr "" -#: library/tarfile.rst:926 +#: library/tarfile.rst:973 msgid "Default named filters" msgstr "" -#: library/tarfile.rst:928 +#: library/tarfile.rst:975 msgid "" "The pre-defined, named filters are available as functions, so they can be " "reused in custom filters:" msgstr "" -#: library/tarfile.rst:933 +#: library/tarfile.rst:980 msgid "Return *member* unchanged." msgstr "" -#: library/tarfile.rst:935 +#: library/tarfile.rst:982 msgid "This implements the ``'fully_trusted'`` filter." msgstr "" -#: library/tarfile.rst:939 +#: library/tarfile.rst:986 msgid "Implements the ``'tar'`` filter." msgstr "" -#: library/tarfile.rst:941 +#: library/tarfile.rst:988 msgid "Strip leading slashes (``/`` and :data:`os.sep`) from filenames." msgstr "" -#: library/tarfile.rst:942 +#: library/tarfile.rst:989 msgid "" ":ref:`Refuse ` to extract files with absolute " "paths (in case the name is absolute even after stripping slashes, e.g. ``C:/" "foo`` on Windows). This raises :class:`~tarfile.AbsolutePathError`." msgstr "" -#: library/tarfile.rst:946 +#: library/tarfile.rst:993 msgid "" ":ref:`Refuse ` to extract files whose absolute " "path (after following symlinks) would end up outside the destination. This " "raises :class:`~tarfile.OutsideDestinationError`." msgstr "" -#: library/tarfile.rst:949 +#: library/tarfile.rst:996 msgid "" "Clear high mode bits (setuid, setgid, sticky) and group/other write bits (:" -"const:`~stat.S_IWGRP`|:const:`~stat.S_IWOTH`)." +"const:`~stat.S_IWGRP` | :const:`~stat.S_IWOTH`)." msgstr "" -#: library/tarfile.rst:985 +#: library/tarfile.rst:1032 msgid "Return the modified ``TarInfo`` member." msgstr "" -#: library/tarfile.rst:956 +#: library/tarfile.rst:1003 msgid "" "Implements the ``'data'`` filter. In addition to what ``tar_filter`` does:" msgstr "" -#: library/tarfile.rst:959 +#: library/tarfile.rst:1006 msgid "" ":ref:`Refuse ` to extract links (hard or soft) " "that link to absolute paths, or ones that link outside the destination." msgstr "" -#: library/tarfile.rst:962 +#: library/tarfile.rst:1009 msgid "" "This raises :class:`~tarfile.AbsoluteLinkError` or :class:`~tarfile." "LinkOutsideDestinationError`." msgstr "" -#: library/tarfile.rst:965 +#: library/tarfile.rst:1012 msgid "" "Note that such files are refused even on platforms that do not support " "symbolic links." msgstr "" -#: library/tarfile.rst:968 +#: library/tarfile.rst:1015 msgid "" ":ref:`Refuse ` to extract device files (including " "pipes). This raises :class:`~tarfile.SpecialFileError`." msgstr "" -#: library/tarfile.rst:972 +#: library/tarfile.rst:1019 msgid "For regular files, including hard links:" msgstr "" -#: library/tarfile.rst:974 +#: library/tarfile.rst:1021 msgid "" -"Set the owner read and write permissions (:const:`~stat.S_IRUSR`|:const:" +"Set the owner read and write permissions (:const:`~stat.S_IRUSR` | :const:" "`~stat.S_IWUSR`)." msgstr "" -#: library/tarfile.rst:976 +#: library/tarfile.rst:1023 msgid "" -"Remove the group & other executable permission (:const:`~stat.S_IXGRP`|:" +"Remove the group & other executable permission (:const:`~stat.S_IXGRP` | :" "const:`~stat.S_IXOTH`) if the owner doesn’t have it (:const:`~stat.S_IXUSR`)." msgstr "" -#: library/tarfile.rst:980 +#: library/tarfile.rst:1027 msgid "" "For other files (directories), set ``mode`` to ``None``, so that extraction " "methods skip applying permission bits." msgstr "" -#: library/tarfile.rst:982 +#: library/tarfile.rst:1029 msgid "" "Set user and group info (``uid``, ``gid``, ``uname``, ``gname``) to " "``None``, so that extraction methods skip setting it." msgstr "" -#: library/tarfile.rst:991 +#: library/tarfile.rst:1038 msgid "Filter errors" msgstr "" -#: library/tarfile.rst:993 +#: library/tarfile.rst:1040 msgid "" "When a filter refuses to extract a file, it will raise an appropriate " "exception, a subclass of :class:`~tarfile.FilterError`. This will abort the " @@ -1316,11 +1360,11 @@ msgid "" "continue." msgstr "" -#: library/tarfile.rst:1001 +#: library/tarfile.rst:1048 msgid "Hints for further verification" msgstr "" -#: library/tarfile.rst:1003 +#: library/tarfile.rst:1050 msgid "" "Even with ``filter='data'``, *tarfile* is not suited for extracting " "untrusted files without prior inspection. Among other issues, the pre-" @@ -1328,69 +1372,69 @@ msgid "" "additional checks." msgstr "" -#: library/tarfile.rst:1008 +#: library/tarfile.rst:1055 msgid "Here is an incomplete list of things to consider:" msgstr "" -#: library/tarfile.rst:1010 +#: library/tarfile.rst:1057 msgid "" "Extract to a :func:`new temporary directory ` to prevent e." "g. exploiting pre-existing links, and to make it easier to clean up after a " "failed extraction." msgstr "" -#: library/tarfile.rst:1013 +#: library/tarfile.rst:1060 msgid "" "When working with untrusted data, use external (e.g. OS-level) limits on " "disk, memory and CPU usage." msgstr "" -#: library/tarfile.rst:1015 +#: library/tarfile.rst:1062 msgid "" "Check filenames against an allow-list of characters (to filter out control " "characters, confusables, foreign path separators, etc.)." msgstr "" -#: library/tarfile.rst:1018 +#: library/tarfile.rst:1065 msgid "" "Check that filenames have expected extensions (discouraging files that " "execute when you “click on them”, or extension-less files like Windows " "special device names)." msgstr "" -#: library/tarfile.rst:1020 +#: library/tarfile.rst:1067 msgid "" "Limit the number of extracted files, total size of extracted data, filename " "length (including symlink length), and size of individual files." msgstr "" -#: library/tarfile.rst:1022 +#: library/tarfile.rst:1069 msgid "Check for files that would be shadowed on case-insensitive filesystems." msgstr "" -#: library/tarfile.rst:1024 +#: library/tarfile.rst:1071 msgid "Also note that:" msgstr "" -#: library/tarfile.rst:1026 +#: library/tarfile.rst:1073 msgid "" "Tar files may contain multiple versions of the same file. Later ones are " "expected to overwrite any earlier ones. This feature is crucial to allow " "updating tape archives, but can be abused maliciously." msgstr "" -#: library/tarfile.rst:1030 +#: library/tarfile.rst:1077 msgid "" "*tarfile* does not protect against issues with “live” data, e.g. an attacker " "tinkering with the destination (or source) directory while extraction (or " "archiving) is in progress." msgstr "" -#: library/tarfile.rst:1036 +#: library/tarfile.rst:1083 msgid "Supporting older Python versions" msgstr "" -#: library/tarfile.rst:1038 +#: library/tarfile.rst:1085 msgid "" "Extraction filters were added to Python 3.12, but may be backported to older " "versions as security updates. To check whether the feature is available, use " @@ -1398,163 +1442,163 @@ msgid "" "version." msgstr "" -#: library/tarfile.rst:1043 +#: library/tarfile.rst:1090 msgid "" "The following examples show how to support Python versions with and without " "the feature. Note that setting ``extraction_filter`` will affect any " "subsequent operations." msgstr "" -#: library/tarfile.rst:1047 +#: library/tarfile.rst:1094 msgid "Fully trusted archive::" msgstr "" -#: library/tarfile.rst:1052 +#: library/tarfile.rst:1099 msgid "" "Use the ``'data'`` filter if available, but revert to Python 3.11 behavior " "(``'fully_trusted'``) if this feature is not available::" msgstr "" -#: library/tarfile.rst:1059 +#: library/tarfile.rst:1106 msgid "Use the ``'data'`` filter; *fail* if it is not available::" msgstr "" -#: library/tarfile.rst:1063 +#: library/tarfile.rst:1110 msgid "or::" msgstr "" -#: library/tarfile.rst:1068 +#: library/tarfile.rst:1115 msgid "Use the ``'data'`` filter; *warn* if it is not available::" msgstr "" -#: library/tarfile.rst:1079 +#: library/tarfile.rst:1126 msgid "Stateful extraction filter example" msgstr "" -#: library/tarfile.rst:1081 +#: library/tarfile.rst:1128 msgid "" "While *tarfile*'s extraction methods take a simple *filter* callable, custom " "filters may be more complex objects with an internal state. It may be useful " "to write these as context managers, to be used like this::" msgstr "" -#: library/tarfile.rst:1088 +#: library/tarfile.rst:1135 msgid "Such a filter can be written as, for example::" msgstr "" -#: library/tarfile.rst:1110 +#: library/tarfile.rst:1157 msgid "Command-Line Interface" msgstr "" -#: library/tarfile.rst:1114 +#: library/tarfile.rst:1161 msgid "" "The :mod:`tarfile` module provides a simple command-line interface to " "interact with tar archives." msgstr "" -#: library/tarfile.rst:1117 +#: library/tarfile.rst:1164 msgid "" "If you want to create a new tar archive, specify its name after the :option:" "`-c` option and then list the filename(s) that should be included:" msgstr "" -#: library/tarfile.rst:1124 +#: library/tarfile.rst:1171 msgid "Passing a directory is also acceptable:" msgstr "" -#: library/tarfile.rst:1130 +#: library/tarfile.rst:1177 msgid "" "If you want to extract a tar archive into the current directory, use the :" "option:`-e` option:" msgstr "" -#: library/tarfile.rst:1137 +#: library/tarfile.rst:1184 msgid "" "You can also extract a tar archive into a different directory by passing the " "directory's name:" msgstr "" -#: library/tarfile.rst:1144 +#: library/tarfile.rst:1191 msgid "For a list of the files in a tar archive, use the :option:`-l` option:" msgstr "" -#: library/tarfile.rst:1152 +#: library/tarfile.rst:1199 msgid "Command-line options" msgstr "" -#: library/tarfile.rst:1157 +#: library/tarfile.rst:1204 msgid "List files in a tarfile." msgstr "" -#: library/tarfile.rst:1162 +#: library/tarfile.rst:1209 msgid "Create tarfile from source files." msgstr "" -#: library/tarfile.rst:1167 +#: library/tarfile.rst:1214 msgid "" "Extract tarfile into the current directory if *output_dir* is not specified." msgstr "" -#: library/tarfile.rst:1172 +#: library/tarfile.rst:1219 msgid "Test whether the tarfile is valid or not." msgstr "" -#: library/tarfile.rst:1176 +#: library/tarfile.rst:1223 msgid "Verbose output." msgstr "" -#: library/tarfile.rst:1180 +#: library/tarfile.rst:1227 msgid "" "Specifies the *filter* for ``--extract``. See :ref:`tarfile-extraction-" "filter` for details. Only string names are accepted (that is, " "``fully_trusted``, ``tar``, and ``data``)." msgstr "" -#: library/tarfile.rst:1188 +#: library/tarfile.rst:1235 msgid "Examples" msgstr "" -#: library/tarfile.rst:1190 +#: library/tarfile.rst:1237 msgid "How to extract an entire tar archive to the current working directory::" msgstr "" -#: library/tarfile.rst:1197 +#: library/tarfile.rst:1244 msgid "" "How to extract a subset of a tar archive with :meth:`TarFile.extractall` " "using a generator function instead of a list::" msgstr "" -#: library/tarfile.rst:1212 +#: library/tarfile.rst:1259 msgid "How to create an uncompressed tar archive from a list of filenames::" msgstr "" -#: library/tarfile.rst:1220 +#: library/tarfile.rst:1267 msgid "The same example using the :keyword:`with` statement::" msgstr "" -#: library/tarfile.rst:1227 +#: library/tarfile.rst:1274 msgid "" "How to read a gzip compressed tar archive and display some member " "information::" msgstr "" -#: library/tarfile.rst:1241 +#: library/tarfile.rst:1288 msgid "" "How to create an archive and reset the user information using the *filter* " "parameter in :meth:`TarFile.add`::" msgstr "" -#: library/tarfile.rst:1257 +#: library/tarfile.rst:1304 msgid "Supported tar formats" msgstr "" -#: library/tarfile.rst:1259 +#: library/tarfile.rst:1306 msgid "" "There are three tar formats that can be created with the :mod:`tarfile` " "module:" msgstr "" -#: library/tarfile.rst:1261 +#: library/tarfile.rst:1308 msgid "" "The POSIX.1-1988 ustar format (:const:`USTAR_FORMAT`). It supports filenames " "up to a length of at best 256 characters and linknames up to 100 characters. " @@ -1562,7 +1606,7 @@ msgid "" "supported format." msgstr "" -#: library/tarfile.rst:1266 +#: library/tarfile.rst:1313 msgid "" "The GNU tar format (:const:`GNU_FORMAT`). It supports long filenames and " "linknames, files bigger than 8 GiB and sparse files. It is the de facto " @@ -1570,7 +1614,7 @@ msgid "" "extensions for long names, sparse file support is read-only." msgstr "" -#: library/tarfile.rst:1271 +#: library/tarfile.rst:1318 msgid "" "The POSIX.1-2001 pax format (:const:`PAX_FORMAT`). It is the most flexible " "format with virtually no limits. It supports long filenames and linknames, " @@ -1581,7 +1625,7 @@ msgid "" "*ustar* format. It is the current default format for new archives." msgstr "" -#: library/tarfile.rst:1279 +#: library/tarfile.rst:1326 msgid "" "It extends the existing *ustar* format with extra headers for information " "that cannot be stored otherwise. There are two flavours of pax headers: " @@ -1590,13 +1634,13 @@ msgid "" "in a pax header is encoded in *UTF-8* for portability reasons." msgstr "" -#: library/tarfile.rst:1285 +#: library/tarfile.rst:1332 msgid "" "There are some more variants of the tar format which can be read, but not " "created:" msgstr "" -#: library/tarfile.rst:1288 +#: library/tarfile.rst:1335 msgid "" "The ancient V7 format. This is the first tar format from Unix Seventh " "Edition, storing only regular files and directories. Names must not be " @@ -1605,17 +1649,17 @@ msgid "" "ASCII characters." msgstr "" -#: library/tarfile.rst:1293 +#: library/tarfile.rst:1340 msgid "" "The SunOS tar extended format. This format is a variant of the POSIX.1-2001 " "pax format, but is not compatible." msgstr "" -#: library/tarfile.rst:1299 +#: library/tarfile.rst:1346 msgid "Unicode issues" msgstr "" -#: library/tarfile.rst:1301 +#: library/tarfile.rst:1348 msgid "" "The tar format was originally conceived to make backups on tape drives with " "the main focus on preserving file system information. Nowadays tar archives " @@ -1630,13 +1674,13 @@ msgid "" "It stores non-ASCII metadata using the universal character encoding *UTF-8*." msgstr "" -#: library/tarfile.rst:1313 +#: library/tarfile.rst:1360 msgid "" "The details of character conversion in :mod:`tarfile` are controlled by the " "*encoding* and *errors* keyword arguments of the :class:`TarFile` class." msgstr "" -#: library/tarfile.rst:1316 +#: library/tarfile.rst:1363 msgid "" "*encoding* defines the character encoding to use for the metadata in the " "archive. The default value is :func:`sys.getfilesystemencoding` or " @@ -1645,7 +1689,7 @@ msgid "" "not set appropriately, this conversion may fail." msgstr "" -#: library/tarfile.rst:1322 +#: library/tarfile.rst:1369 msgid "" "The *errors* argument defines how characters are treated that cannot be " "converted. Possible values are listed in section :ref:`error-handlers`. The " @@ -1653,7 +1697,7 @@ msgid "" "system calls, see :ref:`os-filenames`." msgstr "" -#: library/tarfile.rst:1327 +#: library/tarfile.rst:1374 msgid "" "For :const:`PAX_FORMAT` archives (the default), *encoding* is generally not " "needed because all the metadata is stored using *UTF-8*. *encoding* is only " diff --git a/library/tempfile.po b/library/tempfile.po index 0f543a49e..d07b42d8a 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -29,9 +29,9 @@ msgid "" "This module creates temporary files and directories. It works on all " "supported platforms. :class:`TemporaryFile`, :class:`NamedTemporaryFile`, :" "class:`TemporaryDirectory`, and :class:`SpooledTemporaryFile` are high-level " -"interfaces which provide automatic cleanup and can be used as context " -"managers. :func:`mkstemp` and :func:`mkdtemp` are lower-level functions " -"which require manual cleanup." +"interfaces which provide automatic cleanup and can be used as :term:`context " +"managers `. :func:`mkstemp` and :func:`mkdtemp` are lower-" +"level functions which require manual cleanup." msgstr "" #: library/tempfile.rst:24 @@ -63,9 +63,9 @@ msgstr "" #: library/tempfile.rst:44 msgid "" -"The resulting object can be used as a context manager (see :ref:`tempfile-" -"examples`). On completion of the context or destruction of the file object " -"the temporary file will be removed from the filesystem." +"The resulting object can be used as a :term:`context manager` (see :ref:" +"`tempfile-examples`). On completion of the context or destruction of the " +"file object the temporary file will be removed from the filesystem." msgstr "" #: library/tempfile.rst:49 @@ -102,7 +102,7 @@ msgid "" "for NamedTemporaryFile." msgstr "" -#: library/tempfile.rst:137 library/tempfile.rst:258 +#: library/tempfile.rst:137 library/tempfile.rst:264 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkstemp`` with " "argument ``fullpath``." @@ -112,7 +112,7 @@ msgstr "" msgid "The :py:const:`os.O_TMPFILE` flag is now used if available." msgstr "" -#: library/tempfile.rst:139 library/tempfile.rst:167 +#: library/tempfile.rst:139 library/tempfile.rst:169 msgid "Added *errors* parameter." msgstr "" @@ -138,12 +138,12 @@ msgstr "" #: library/tempfile.rst:89 msgid "" "The returned object is always a :term:`file-like object` whose :attr:`!file` " -"attribute is the underlying true file object. This :term:`file-like object` " -"can be used in a :keyword:`with` statement, just like a normal file. The " -"name of the temporary file can be retrieved from the :attr:`name` attribute " -"of the returned file-like object. On Unix, unlike with the :func:" -"`TemporaryFile`, the directory entry does not get unlinked immediately after " -"the file creation." +"attribute is the underlying true file object. This file-like object can be " +"used in a :keyword:`with` statement, just like a normal file. The name of " +"the temporary file can be retrieved from the :attr:`!name` attribute of the " +"returned file-like object. On Unix, unlike with the :func:`TemporaryFile`, " +"the directory entry does not get unlinked immediately after the file " +"creation." msgstr "" #: library/tempfile.rst:97 @@ -230,62 +230,62 @@ msgid "" "`TemporaryFile`." msgstr "" -#: library/tempfile.rst:154 +#: library/tempfile.rst:156 msgid "" -"The resulting file has one additional method, :func:`rollover`, which causes " -"the file to roll over to an on-disk file regardless of its size." +"The resulting file has one additional method, :meth:`!rollover`, which " +"causes the file to roll over to an on-disk file regardless of its size." msgstr "" -#: library/tempfile.rst:157 +#: library/tempfile.rst:159 msgid "" -"The returned object is a file-like object whose :attr:`_file` attribute is " +"The returned object is a file-like object whose :attr:`!_file` attribute is " "either an :class:`io.BytesIO` or :class:`io.TextIOWrapper` object (depending " "on whether binary or text *mode* was specified) or a true file object, " -"depending on whether :func:`rollover` has been called. This file-like " +"depending on whether :meth:`rollover` has been called. This file-like " "object can be used in a :keyword:`with` statement, just like a normal file." msgstr "" -#: library/tempfile.rst:164 -msgid "the truncate method now accepts a ``size`` argument." +#: library/tempfile.rst:166 +msgid "the truncate method now accepts a *size* argument." msgstr "" -#: library/tempfile.rst:170 +#: library/tempfile.rst:172 msgid "" "Fully implements the :class:`io.BufferedIOBase` and :class:`io.TextIOBase` " "abstract base classes (depending on whether binary or text *mode* was " "specified)." msgstr "" -#: library/tempfile.rst:178 +#: library/tempfile.rst:180 msgid "" "This class securely creates a temporary directory using the same rules as :" -"func:`mkdtemp`. The resulting object can be used as a context manager (see :" -"ref:`tempfile-examples`). On completion of the context or destruction of " -"the temporary directory object, the newly created temporary directory and " -"all its contents are removed from the filesystem." +"func:`mkdtemp`. The resulting object can be used as a :term:`context " +"manager` (see :ref:`tempfile-examples`). On completion of the context or " +"destruction of the temporary directory object, the newly created temporary " +"directory and all its contents are removed from the filesystem." msgstr "" -#: library/tempfile.rst:184 +#: library/tempfile.rst:188 msgid "" -"The directory name can be retrieved from the :attr:`name` attribute of the " -"returned object. When the returned object is used as a context manager, " -"the :attr:`name` will be assigned to the target of the :keyword:`!as` clause " -"in the :keyword:`with` statement, if there is one." +"The directory name can be retrieved from the :attr:`!name` attribute of the " +"returned object. When the returned object is used as a :term:`context " +"manager`, the :attr:`!name` will be assigned to the target of the :keyword:`!" +"as` clause in the :keyword:`with` statement, if there is one." msgstr "" -#: library/tempfile.rst:189 +#: library/tempfile.rst:195 msgid "" -"The directory can be explicitly cleaned up by calling the :func:`cleanup` " +"The directory can be explicitly cleaned up by calling the :meth:`!cleanup` " "method. If *ignore_cleanup_errors* is true, any unhandled exceptions during " "explicit or implicit cleanup (such as a :exc:`PermissionError` removing open " "files on Windows) will be ignored, and the remaining removable items deleted " "on a \"best-effort\" basis. Otherwise, errors will be raised in whatever " -"context cleanup occurs (the :func:`cleanup` call, exiting the context " +"context cleanup occurs (the :meth:`!cleanup` call, exiting the context " "manager, when the object is garbage-collected or during interpreter " "shutdown)." msgstr "" -#: library/tempfile.rst:198 +#: library/tempfile.rst:204 msgid "" "The *delete* parameter can be used to disable cleanup of the directory tree " "upon exiting the context. While it may seem unusual for a context manager " @@ -294,21 +294,21 @@ msgid "" "based on other logic." msgstr "" -#: library/tempfile.rst:284 +#: library/tempfile.rst:290 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkdtemp`` with " "argument ``fullpath``." msgstr "" -#: library/tempfile.rst:208 +#: library/tempfile.rst:214 msgid "Added *ignore_cleanup_errors* parameter." msgstr "" -#: library/tempfile.rst:211 +#: library/tempfile.rst:217 msgid "Added the *delete* parameter." msgstr "" -#: library/tempfile.rst:217 +#: library/tempfile.rst:223 msgid "" "Creates a temporary file in the most secure manner possible. There are no " "race conditions in the file's creation, assuming that the platform properly " @@ -319,13 +319,13 @@ msgid "" "processes." msgstr "" -#: library/tempfile.rst:225 +#: library/tempfile.rst:231 msgid "" "Unlike :func:`TemporaryFile`, the user of :func:`mkstemp` is responsible for " "deleting the temporary file when done with it." msgstr "" -#: library/tempfile.rst:228 +#: library/tempfile.rst:234 msgid "" "If *suffix* is not ``None``, the file name will end with that suffix, " "otherwise there will be no suffix. :func:`mkstemp` does not put a dot " @@ -333,14 +333,14 @@ msgid "" "beginning of *suffix*." msgstr "" -#: library/tempfile.rst:233 +#: library/tempfile.rst:239 msgid "" "If *prefix* is not ``None``, the file name will begin with that prefix; " "otherwise, a default prefix is used. The default is the return value of :" "func:`gettempprefix` or :func:`gettempprefixb`, as appropriate." msgstr "" -#: library/tempfile.rst:237 +#: library/tempfile.rst:243 msgid "" "If *dir* is not ``None``, the file will be created in that directory; " "otherwise, a default directory is used. The default directory is chosen " @@ -351,7 +351,7 @@ msgid "" "commands via ``os.popen()``." msgstr "" -#: library/tempfile.rst:245 +#: library/tempfile.rst:251 msgid "" "If any of *suffix*, *prefix*, and *dir* are not ``None``, they must be the " "same type. If they are bytes, the returned name will be bytes instead of " @@ -359,20 +359,20 @@ msgid "" "behavior, pass ``suffix=b''``." msgstr "" -#: library/tempfile.rst:251 +#: library/tempfile.rst:257 msgid "" "If *text* is specified and true, the file is opened in text mode. Otherwise, " "(the default) the file is opened in binary mode." msgstr "" -#: library/tempfile.rst:254 +#: library/tempfile.rst:260 msgid "" ":func:`mkstemp` returns a tuple containing an OS-level handle to an open " "file (as would be returned by :func:`os.open`) and the absolute pathname of " "that file, in that order." msgstr "" -#: library/tempfile.rst:286 +#: library/tempfile.rst:292 msgid "" "*suffix*, *prefix*, and *dir* may now be supplied in bytes in order to " "obtain a bytes return value. Prior to this, only str was allowed. *suffix* " @@ -380,110 +380,110 @@ msgid "" "default value to be used." msgstr "" -#: library/tempfile.rst:292 +#: library/tempfile.rst:298 msgid "The *dir* parameter now accepts a :term:`path-like object`." msgstr "" -#: library/tempfile.rst:272 +#: library/tempfile.rst:278 msgid "" "Creates a temporary directory in the most secure manner possible. There are " "no race conditions in the directory's creation. The directory is readable, " "writable, and searchable only by the creating user ID." msgstr "" -#: library/tempfile.rst:276 +#: library/tempfile.rst:282 msgid "" "The user of :func:`mkdtemp` is responsible for deleting the temporary " "directory and its contents when done with it." msgstr "" -#: library/tempfile.rst:279 +#: library/tempfile.rst:285 msgid "" "The *prefix*, *suffix*, and *dir* arguments are the same as for :func:" "`mkstemp`." msgstr "" -#: library/tempfile.rst:282 +#: library/tempfile.rst:288 msgid ":func:`mkdtemp` returns the absolute pathname of the new directory." msgstr "" -#: library/tempfile.rst:295 +#: library/tempfile.rst:301 msgid "" ":func:`mkdtemp` now always returns an absolute path, even if *dir* is " "relative." msgstr "" -#: library/tempfile.rst:301 +#: library/tempfile.rst:307 msgid "" "Return the name of the directory used for temporary files. This defines the " "default value for the *dir* argument to all functions in this module." msgstr "" -#: library/tempfile.rst:305 +#: library/tempfile.rst:311 msgid "" "Python searches a standard list of directories to find one which the calling " "user can create files in. The list is:" msgstr "" -#: library/tempfile.rst:308 +#: library/tempfile.rst:314 msgid "The directory named by the :envvar:`TMPDIR` environment variable." msgstr "" -#: library/tempfile.rst:310 +#: library/tempfile.rst:316 msgid "The directory named by the :envvar:`TEMP` environment variable." msgstr "" -#: library/tempfile.rst:312 +#: library/tempfile.rst:318 msgid "The directory named by the :envvar:`TMP` environment variable." msgstr "" -#: library/tempfile.rst:314 +#: library/tempfile.rst:320 msgid "A platform-specific location:" msgstr "" -#: library/tempfile.rst:316 +#: library/tempfile.rst:322 msgid "" "On Windows, the directories :file:`C:\\\\TEMP`, :file:`C:\\\\TMP`, :file:`\\" "\\TEMP`, and :file:`\\\\TMP`, in that order." msgstr "" -#: library/tempfile.rst:319 +#: library/tempfile.rst:325 msgid "" "On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, and :" "file:`/usr/tmp`, in that order." msgstr "" -#: library/tempfile.rst:322 +#: library/tempfile.rst:328 msgid "As a last resort, the current working directory." msgstr "" -#: library/tempfile.rst:324 +#: library/tempfile.rst:330 msgid "" "The result of this search is cached, see the description of :data:`tempdir` " "below." msgstr "" -#: library/tempfile.rst:329 +#: library/tempfile.rst:335 msgid "" "Always returns a str. Previously it would return any :data:`tempdir` value " "regardless of type so long as it was not ``None``." msgstr "" -#: library/tempfile.rst:334 +#: library/tempfile.rst:340 msgid "Same as :func:`gettempdir` but the return value is in bytes." msgstr "" -#: library/tempfile.rst:340 +#: library/tempfile.rst:346 msgid "" "Return the filename prefix used to create temporary files. This does not " "contain the directory component." msgstr "" -#: library/tempfile.rst:345 +#: library/tempfile.rst:351 msgid "Same as :func:`gettempprefix` but the return value is in bytes." msgstr "" -#: library/tempfile.rst:349 +#: library/tempfile.rst:355 msgid "" "The module uses a global variable to store the name of the directory used " "for temporary files returned by :func:`gettempdir`. It can be set directly " @@ -493,21 +493,21 @@ msgid "" "unsuspecting code by changing global API behavior." msgstr "" -#: library/tempfile.rst:358 +#: library/tempfile.rst:364 msgid "" "When set to a value other than ``None``, this variable defines the default " "value for the *dir* argument to the functions defined in this module, " "including its type, bytes or str. It cannot be a :term:`path-like object`." msgstr "" -#: library/tempfile.rst:363 +#: library/tempfile.rst:369 msgid "" "If ``tempdir`` is ``None`` (the default) at any call to any of the above " "functions except :func:`gettempprefix` it is initialized following the " "algorithm described in :func:`gettempdir`." msgstr "" -#: library/tempfile.rst:369 +#: library/tempfile.rst:375 msgid "" "Beware that if you set ``tempdir`` to a bytes value, there is a nasty side " "effect: The global default return type of :func:`mkstemp` and :func:" @@ -517,19 +517,19 @@ msgid "" "compatibility with the historical implementation." msgstr "" -#: library/tempfile.rst:380 +#: library/tempfile.rst:386 msgid "Examples" msgstr "" -#: library/tempfile.rst:382 +#: library/tempfile.rst:388 msgid "Here are some examples of typical usage of the :mod:`tempfile` module::" msgstr "" -#: library/tempfile.rst:427 +#: library/tempfile.rst:433 msgid "Deprecated functions and variables" msgstr "" -#: library/tempfile.rst:429 +#: library/tempfile.rst:435 msgid "" "A historical way to create temporary files was to first generate a file name " "with the :func:`mktemp` function and then create a file using this name. " @@ -540,11 +540,11 @@ msgid "" "used by :func:`mkstemp` and the other functions described above." msgstr "" -#: library/tempfile.rst:440 +#: library/tempfile.rst:446 msgid "Use :func:`mkstemp` instead." msgstr "" -#: library/tempfile.rst:443 +#: library/tempfile.rst:449 msgid "" "Return an absolute pathname of a file that did not exist at the time the " "call is made. The *prefix*, *suffix*, and *dir* arguments are similar to " @@ -552,7 +552,7 @@ msgid "" "``prefix=None`` are not supported." msgstr "" -#: library/tempfile.rst:450 +#: library/tempfile.rst:456 msgid "" "Use of this function may introduce a security hole in your program. By the " "time you get around to doing anything with the file name it returns, someone " diff --git a/library/test.po b/library/test.po index 4f67a58ed..77fc5df36 100644 --- a/library/test.po +++ b/library/test.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -964,7 +964,7 @@ msgid "" "as part of the public API even though their names indicate otherwise." msgstr "" -#: library/test.rst:1575 +#: library/test.rst:1576 msgid "Example use::" msgstr "" @@ -1417,69 +1417,69 @@ msgstr "" #: library/test.rst:1411 msgid "" -"Simple :term:`path-like object`. It implements the :meth:`__fspath__` " -"method which just returns the *path* argument. If *path* is an exception, " -"it will be raised in :meth:`!__fspath__`." +"Simple :term:`path-like object`. It implements the :meth:`~os.PathLike." +"__fspath__` method which just returns the *path* argument. If *path* is an " +"exception, it will be raised in :meth:`!__fspath__`." msgstr "" -#: library/test.rst:1418 +#: library/test.rst:1419 msgid "" "Temporarily set the environment variable ``envvar`` to the value of " "``value``." msgstr "" -#: library/test.rst:1424 +#: library/test.rst:1425 msgid "Temporarily unset the environment variable ``envvar``." msgstr "" -#: library/test.rst:1429 +#: library/test.rst:1430 msgid "Return ``True`` if the OS supports symbolic links, ``False`` otherwise." msgstr "" -#: library/test.rst:1435 +#: library/test.rst:1436 msgid "Return ``True`` if the OS supports xattr, ``False`` otherwise." msgstr "" -#: library/test.rst:1441 +#: library/test.rst:1442 msgid "" "A context manager that temporarily changes the current working directory to " "*path* and yields the directory." msgstr "" -#: library/test.rst:1444 +#: library/test.rst:1445 msgid "" "If *quiet* is ``False``, the context manager raises an exception on error. " "Otherwise, it issues only a warning and keeps the current working directory " "the same." msgstr "" -#: library/test.rst:1451 +#: library/test.rst:1452 msgid "" "Create an empty file with *filename*. If it already exists, truncate it." msgstr "" -#: library/test.rst:1456 +#: library/test.rst:1457 msgid "Count the number of open file descriptors." msgstr "" -#: library/test.rst:1461 +#: library/test.rst:1462 msgid "Return ``True`` if the file system for *directory* is case-insensitive." msgstr "" -#: library/test.rst:1466 +#: library/test.rst:1467 msgid "" "Create an invalid file descriptor by opening and closing a temporary file, " "and returning its descriptor." msgstr "" -#: library/test.rst:1472 +#: library/test.rst:1473 msgid "" "Call :func:`os.rmdir` on *filename*. On Windows platforms, this is wrapped " "with a wait loop that checks for the existence of the file, which is needed " "due to antivirus programs that can hold files open and prevent deletion." msgstr "" -#: library/test.rst:1480 +#: library/test.rst:1481 msgid "" "Call :func:`shutil.rmtree` on *path* or call :func:`os.lstat` and :func:`os." "rmdir` to remove a path and its contents. As with :func:`rmdir`, on Windows " @@ -1487,21 +1487,21 @@ msgid "" "the files." msgstr "" -#: library/test.rst:1488 +#: library/test.rst:1489 msgid "A decorator for running tests that require support for symbolic links." msgstr "" -#: library/test.rst:1493 +#: library/test.rst:1494 msgid "A decorator for running tests that require support for xattr." msgstr "" -#: library/test.rst:1498 +#: library/test.rst:1499 msgid "" "A context manager that temporarily creates a new directory and changes the " "current working directory (CWD)." msgstr "" -#: library/test.rst:1501 +#: library/test.rst:1502 msgid "" "The context manager creates a temporary directory in the current directory " "with name *name* before temporarily changing the current working directory. " @@ -1509,20 +1509,20 @@ msgid "" "`tempfile.mkdtemp`." msgstr "" -#: library/test.rst:1506 +#: library/test.rst:1507 msgid "" "If *quiet* is ``False`` and it is not possible to create or change the CWD, " "an error is raised. Otherwise, only a warning is raised and the original " "CWD is used." msgstr "" -#: library/test.rst:1513 +#: library/test.rst:1514 msgid "" "A context manager that creates a temporary directory at *path* and yields " "the directory." msgstr "" -#: library/test.rst:1516 +#: library/test.rst:1517 msgid "" "If *path* is ``None``, the temporary directory is created using :func:" "`tempfile.mkdtemp`. If *quiet* is ``False``, the context manager raises an " @@ -1530,34 +1530,34 @@ msgid "" "created, only a warning is issued." msgstr "" -#: library/test.rst:1524 +#: library/test.rst:1525 msgid "A context manager that temporarily sets the process umask." msgstr "" -#: library/test.rst:1529 +#: library/test.rst:1530 msgid "" "Call :func:`os.unlink` on *filename*. As with :func:`rmdir`, on Windows " "platforms, this is wrapped with a wait loop that checks for the existence of " "the file." msgstr "" -#: library/test.rst:1535 +#: library/test.rst:1536 msgid ":mod:`test.support.import_helper` --- Utilities for import tests" msgstr "" -#: library/test.rst:1540 +#: library/test.rst:1541 msgid "" "The :mod:`test.support.import_helper` module provides support for import " "tests." msgstr "" -#: library/test.rst:1547 +#: library/test.rst:1548 msgid "" "Remove the module named *module_name* from ``sys.modules`` and delete any " "byte-compiled files of the module." msgstr "" -#: library/test.rst:1553 +#: library/test.rst:1554 msgid "" "This function imports and returns a fresh copy of the named Python module by " "removing the named module from ``sys.modules`` before doing the import. Note " @@ -1565,46 +1565,46 @@ msgid "" "operation." msgstr "" -#: library/test.rst:1558 +#: library/test.rst:1559 msgid "" "*fresh* is an iterable of additional module names that are also removed from " "the ``sys.modules`` cache before doing the import." msgstr "" -#: library/test.rst:1561 +#: library/test.rst:1562 msgid "" "*blocked* is an iterable of module names that are replaced with ``None`` in " "the module cache during the import to ensure that attempts to import them " "raise :exc:`ImportError`." msgstr "" -#: library/test.rst:1565 +#: library/test.rst:1566 msgid "" "The named module and any modules named in the *fresh* and *blocked* " "parameters are saved before starting the import and then reinserted into " "``sys.modules`` when the fresh import is complete." msgstr "" -#: library/test.rst:1569 +#: library/test.rst:1570 msgid "" "Module and package deprecation messages are suppressed during this import if " "*deprecated* is ``True``." msgstr "" -#: library/test.rst:1572 +#: library/test.rst:1573 msgid "" "This function will raise :exc:`ImportError` if the named module cannot be " "imported." msgstr "" -#: library/test.rst:1589 +#: library/test.rst:1590 msgid "" "This function imports and returns the named module. Unlike a normal import, " "this function raises :exc:`unittest.SkipTest` if the module cannot be " "imported." msgstr "" -#: library/test.rst:1593 +#: library/test.rst:1594 msgid "" "Module and package deprecation messages are suppressed during this import if " "*deprecated* is ``True``. If a module is required on a platform but " @@ -1612,21 +1612,21 @@ msgid "" "which will be compared against :data:`sys.platform`." msgstr "" -#: library/test.rst:1603 +#: library/test.rst:1604 msgid "Return a copy of :data:`sys.modules`." msgstr "" -#: library/test.rst:1608 +#: library/test.rst:1609 msgid "" "Remove modules except for *oldmodules* and ``encodings`` in order to " "preserve internal cache." msgstr "" -#: library/test.rst:1614 +#: library/test.rst:1615 msgid "Delete *name* from ``sys.modules``." msgstr "" -#: library/test.rst:1619 +#: library/test.rst:1620 msgid "" "Move a :pep:`3147`/:pep:`488` pyc file to its legacy pyc location and return " "the file system path to the legacy pyc file. The *source* value is the file " @@ -1634,42 +1634,42 @@ msgid "" "3147/488 pyc file must exist." msgstr "" -#: library/test.rst:1627 +#: library/test.rst:1628 msgid "" "A context manager to force import to return a new module reference. This is " "useful for testing module-level behaviors, such as the emission of a :exc:" "`DeprecationWarning` on import. Example usage::" msgstr "" -#: library/test.rst:1637 +#: library/test.rst:1638 msgid "A context manager to temporarily add directories to :data:`sys.path`." msgstr "" -#: library/test.rst:1639 +#: library/test.rst:1640 msgid "" "This makes a copy of :data:`sys.path`, appends any directories given as " "positional arguments, then reverts :data:`sys.path` to the copied settings " "when the context ends." msgstr "" -#: library/test.rst:1643 +#: library/test.rst:1644 msgid "" "Note that *all* :data:`sys.path` modifications in the body of the context " "manager, including replacement of the object, will be reverted at the end of " "the block." msgstr "" -#: library/test.rst:1649 +#: library/test.rst:1650 msgid ":mod:`test.support.warnings_helper` --- Utilities for warnings tests" msgstr "" -#: library/test.rst:1654 +#: library/test.rst:1655 msgid "" "The :mod:`test.support.warnings_helper` module provides support for warnings " "tests." msgstr "" -#: library/test.rst:1661 +#: library/test.rst:1662 msgid "" "Suppress warnings that are instances of *category*, which must be :exc:" "`Warning` or a subclass. Roughly equivalent to :func:`warnings." @@ -1677,14 +1677,14 @@ msgid "" "category=category) `. For example::" msgstr "" -#: library/test.rst:1676 +#: library/test.rst:1677 msgid "" "Context manager to check that no :exc:`ResourceWarning` was raised. You " "must remove the object which may emit :exc:`ResourceWarning` before the end " "of the context manager." msgstr "" -#: library/test.rst:1683 +#: library/test.rst:1684 msgid "" "Test for syntax warning in *statement* by attempting to compile *statement*. " "Test also that the :exc:`SyntaxWarning` is emitted only once, and that it " @@ -1696,7 +1696,7 @@ msgid "" "``None``, compares to the offset of the exception." msgstr "" -#: library/test.rst:1697 +#: library/test.rst:1698 msgid "" "A convenience wrapper for :func:`warnings.catch_warnings()` that makes it " "easier to test that a warning was correctly raised. It is approximately " @@ -1705,7 +1705,7 @@ msgid "" "automatically validate the results that are recorded." msgstr "" -#: library/test.rst:1703 +#: library/test.rst:1704 msgid "" "``check_warnings`` accepts 2-tuples of the form ``(\"message regexp\", " "WarningCategory)`` as positional arguments. If one or more *filters* are " @@ -1717,15 +1717,15 @@ msgid "" "*quiet* to ``True``." msgstr "" -#: library/test.rst:1712 +#: library/test.rst:1713 msgid "If no arguments are specified, it defaults to::" msgstr "" -#: library/test.rst:1716 +#: library/test.rst:1717 msgid "In this case all warnings are caught and no errors are raised." msgstr "" -#: library/test.rst:1718 +#: library/test.rst:1719 msgid "" "On entry to the context manager, a :class:`WarningRecorder` instance is " "returned. The underlying warnings list from :func:`~warnings.catch_warnings` " @@ -1737,39 +1737,39 @@ msgid "" "return ``None``." msgstr "" -#: library/test.rst:1727 +#: library/test.rst:1728 msgid "" "The recorder object also has a :meth:`reset` method, which clears the " "warnings list." msgstr "" -#: library/test.rst:1730 +#: library/test.rst:1731 msgid "The context manager is designed to be used like this::" msgstr "" -#: library/test.rst:1737 +#: library/test.rst:1738 msgid "" "In this case if either warning was not raised, or some other warning was " "raised, :func:`check_warnings` would raise an error." msgstr "" -#: library/test.rst:1740 +#: library/test.rst:1741 msgid "" "When a test needs to look more deeply into the warnings, rather than just " "checking whether or not they occurred, code like this can be used::" msgstr "" -#: library/test.rst:1754 +#: library/test.rst:1755 msgid "" "Here all warnings will be caught, and the test code tests the captured " "warnings directly." msgstr "" -#: library/test.rst:1757 +#: library/test.rst:1758 msgid "New optional arguments *filters* and *quiet*." msgstr "" -#: library/test.rst:1763 +#: library/test.rst:1764 msgid "" "Class used to record warnings for unit tests. See documentation of :func:" "`check_warnings` above for more details." diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index cf8c07fb5..0f36a0004 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1486,12 +1486,12 @@ msgid "" "Otherwise, sets the options to the corresponding values." msgstr "" -#: library/tkinter.ttk.rst:1042 +#: library/tkinter.ttk.rst:1042 library/tkinter.ttk.rst:1520 msgid "The valid options/values are:" msgstr "" #: library/tkinter.ttk.rst:989 -msgid "id" +msgid "*id*" msgstr "" #: library/tkinter.ttk.rst:990 @@ -1499,7 +1499,7 @@ msgid "Returns the column name. This is a read-only option." msgstr "" #: library/tkinter.ttk.rst:992 -msgid "anchor: One of the standard Tk anchor values." +msgid "*anchor*: One of the standard Tk anchor values." msgstr "" #: library/tkinter.ttk.rst:992 @@ -1509,7 +1509,7 @@ msgid "" msgstr "" #: library/tkinter.ttk.rst:996 -msgid "minwidth: width" +msgid "*minwidth*: width" msgstr "" #: library/tkinter.ttk.rst:995 @@ -1520,7 +1520,7 @@ msgid "" msgstr "" #: library/tkinter.ttk.rst:999 -msgid "stretch: ``True``/``False``" +msgid "*stretch*: ``True``/``False``" msgstr "" #: library/tkinter.ttk.rst:999 @@ -1530,7 +1530,7 @@ msgid "" msgstr "" #: library/tkinter.ttk.rst:1002 -msgid "width: width" +msgid "*width*: width" msgstr "" #: library/tkinter.ttk.rst:1002 @@ -1585,7 +1585,7 @@ msgid "" msgstr "" #: library/tkinter.ttk.rst:1044 -msgid "text: text" +msgid "*text*: text" msgstr "" #: library/tkinter.ttk.rst:1045 @@ -1593,7 +1593,7 @@ msgid "The text to display in the column heading." msgstr "" #: library/tkinter.ttk.rst:1046 -msgid "image: imageName" +msgid "*image*: imageName" msgstr "" #: library/tkinter.ttk.rst:1047 @@ -1601,7 +1601,7 @@ msgid "Specifies an image to display to the right of the column heading." msgstr "" #: library/tkinter.ttk.rst:1049 -msgid "anchor: anchor" +msgid "*anchor*: anchor" msgstr "" #: library/tkinter.ttk.rst:1049 @@ -1611,7 +1611,7 @@ msgid "" msgstr "" #: library/tkinter.ttk.rst:1052 -msgid "command: callback" +msgid "*command*: callback" msgstr "" #: library/tkinter.ttk.rst:1052 @@ -2089,43 +2089,43 @@ msgid "" "A layout can be just ``None``, if it takes no options, or a dict of options " "specifying how to arrange the element. The layout mechanism uses a " "simplified version of the pack geometry manager: given an initial cavity, " -"each element is allocated a parcel. Valid options/values are:" +"each element is allocated a parcel." msgstr "" -#: library/tkinter.ttk.rst:1524 -msgid "side: whichside" +#: library/tkinter.ttk.rst:1525 +msgid "*side*: whichside" msgstr "" -#: library/tkinter.ttk.rst:1522 +#: library/tkinter.ttk.rst:1523 msgid "" "Specifies which side of the cavity to place the element; one of top, right, " "bottom or left. If omitted, the element occupies the entire cavity." msgstr "" -#: library/tkinter.ttk.rst:1527 -msgid "sticky: nswe" +#: library/tkinter.ttk.rst:1528 +msgid "*sticky*: nswe" msgstr "" -#: library/tkinter.ttk.rst:1527 +#: library/tkinter.ttk.rst:1528 msgid "Specifies where the element is placed inside its allocated parcel." msgstr "" -#: library/tkinter.ttk.rst:1532 -msgid "unit: 0 or 1" +#: library/tkinter.ttk.rst:1533 +msgid "*unit*: 0 or 1" msgstr "" -#: library/tkinter.ttk.rst:1530 +#: library/tkinter.ttk.rst:1531 msgid "" "If set to 1, causes the element and all of its descendants to be treated as " "a single element for the purposes of :meth:`Widget.identify` et al. It's " "used for things like scrollbar thumbs with grips." msgstr "" -#: library/tkinter.ttk.rst:1537 -msgid "children: [sublayout... ]" +#: library/tkinter.ttk.rst:1538 +msgid "*children*: [sublayout... ]" msgstr "" -#: library/tkinter.ttk.rst:1535 +#: library/tkinter.ttk.rst:1536 msgid "" "Specifies a list of elements to place inside the element. Each element is a " "tuple (or other sequence type) where the first item is the layout name, and " diff --git a/library/tomllib.po b/library/tomllib.po index 50b8e030e..5780eca58 100644 --- a/library/tomllib.po +++ b/library/tomllib.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -111,10 +111,10 @@ msgid "Python" msgstr "" #: library/tomllib.rst:98 -msgid "table" +msgid "TOML document" msgstr "" -#: library/tomllib.rst:98 +#: library/tomllib.rst:118 library/tomllib.rst:120 msgid "dict" msgstr "" @@ -191,3 +191,19 @@ msgstr "" #: library/tomllib.rst:116 msgid "list" msgstr "" + +#: library/tomllib.rst:118 +msgid "table" +msgstr "" + +#: library/tomllib.rst:120 +msgid "inline table" +msgstr "" + +#: library/tomllib.rst:122 +msgid "array of tables" +msgstr "" + +#: library/tomllib.rst:122 +msgid "list of dicts" +msgstr "" diff --git a/library/traceback.po b/library/traceback.po index 1665122ea..cf9e298d7 100644 --- a/library/traceback.po +++ b/library/traceback.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -35,139 +35,143 @@ msgstr "" #: library/traceback.rst:19 msgid "" -"The module uses traceback objects --- these are objects of type :class:" -"`types.TracebackType`, which are assigned to the ``__traceback__`` field of :" -"class:`BaseException` instances." +"The module uses :ref:`traceback objects ` --- these are " +"objects of type :class:`types.TracebackType`, which are assigned to the :" +"attr:`~BaseException.__traceback__` field of :class:`BaseException` " +"instances." msgstr "" -#: library/traceback.rst:25 +#: library/traceback.rst:27 msgid "Module :mod:`faulthandler`" msgstr "" -#: library/traceback.rst:25 +#: library/traceback.rst:27 msgid "" "Used to dump Python tracebacks explicitly, on a fault, after a timeout, or " "on a user signal." msgstr "" -#: library/traceback.rst:27 +#: library/traceback.rst:29 msgid "Module :mod:`pdb`" msgstr "" -#: library/traceback.rst:28 +#: library/traceback.rst:30 msgid "Interactive source code debugger for Python programs." msgstr "" -#: library/traceback.rst:30 +#: library/traceback.rst:32 msgid "The module defines the following functions:" msgstr "" -#: library/traceback.rst:34 +#: library/traceback.rst:36 msgid "" -"Print up to *limit* stack trace entries from traceback object *tb* (starting " -"from the caller's frame) if *limit* is positive. Otherwise, print the last " -"``abs(limit)`` entries. If *limit* is omitted or ``None``, all entries are " -"printed. If *file* is omitted or ``None``, the output goes to ``sys." -"stderr``; otherwise it should be an open file or file-like object to receive " -"the output." +"Print up to *limit* stack trace entries from :ref:`traceback object " +"` *tb* (starting from the caller's frame) if *limit* is " +"positive. Otherwise, print the last ``abs(limit)`` entries. If *limit* is " +"omitted or ``None``, all entries are printed. If *file* is omitted or " +"``None``, the output goes to :data:`sys.stderr`; otherwise it should be an " +"open :term:`file ` or :term:`file-like object` to receive the " +"output." msgstr "" -#: library/traceback.rst:103 +#: library/traceback.rst:110 msgid "Added negative *limit* support." msgstr "" -#: library/traceback.rst:48 +#: library/traceback.rst:52 msgid "" -"Print exception information and stack trace entries from traceback object " -"*tb* to *file*. This differs from :func:`print_tb` in the following ways:" +"Print exception information and stack trace entries from :ref:`traceback " +"object ` *tb* to *file*. This differs from :func:" +"`print_tb` in the following ways:" msgstr "" -#: library/traceback.rst:52 +#: library/traceback.rst:57 msgid "" "if *tb* is not ``None``, it prints a header ``Traceback (most recent call " "last):``" msgstr "" -#: library/traceback.rst:55 +#: library/traceback.rst:60 msgid "it prints the exception type and *value* after the stack trace" msgstr "" -#: library/traceback.rst:59 +#: library/traceback.rst:64 msgid "" "if *type(value)* is :exc:`SyntaxError` and *value* has the appropriate " "format, it prints the line where the syntax error occurred with a caret " "indicating the approximate position of the error." msgstr "" -#: library/traceback.rst:63 +#: library/traceback.rst:68 msgid "" "Since Python 3.10, instead of passing *value* and *tb*, an exception object " "can be passed as the first argument. If *value* and *tb* are provided, the " "first argument is ignored in order to provide backwards compatibility." msgstr "" -#: library/traceback.rst:67 +#: library/traceback.rst:72 msgid "" "The optional *limit* argument has the same meaning as for :func:`print_tb`. " "If *chain* is true (the default), then chained exceptions (the :attr:" -"`__cause__` or :attr:`__context__` attributes of the exception) will be " -"printed as well, like the interpreter itself does when printing an unhandled " -"exception." +"`~BaseException.__cause__` or :attr:`~BaseException.__context__` attributes " +"of the exception) will be printed as well, like the interpreter itself does " +"when printing an unhandled exception." msgstr "" -#: library/traceback.rst:168 +#: library/traceback.rst:176 msgid "The *etype* argument is ignored and inferred from the type of *value*." msgstr "" -#: library/traceback.rst:152 +#: library/traceback.rst:159 msgid "" "The *etype* parameter has been renamed to *exc* and is now positional-only." msgstr "" -#: library/traceback.rst:83 +#: library/traceback.rst:89 msgid "" "This is a shorthand for ``print_exception(sys.exception(), limit, file, " "chain)``." msgstr "" -#: library/traceback.rst:89 +#: library/traceback.rst:95 msgid "" "This is a shorthand for ``print_exception(sys.last_exc, limit, file, " "chain)``. In general it will work only after an exception has reached an " "interactive prompt (see :data:`sys.last_exc`)." msgstr "" -#: library/traceback.rst:96 +#: library/traceback.rst:102 msgid "" "Print up to *limit* stack trace entries (starting from the invocation point) " "if *limit* is positive. Otherwise, print the last ``abs(limit)`` entries. " "If *limit* is omitted or ``None``, all entries are printed. The optional *f* " -"argument can be used to specify an alternate stack frame to start. The " -"optional *file* argument has the same meaning as for :func:`print_tb`." +"argument can be used to specify an alternate :ref:`stack frame ` to start. The optional *file* argument has the same meaning as " +"for :func:`print_tb`." msgstr "" -#: library/traceback.rst:109 +#: library/traceback.rst:116 msgid "" "Return a :class:`StackSummary` object representing a list of \"pre-" -"processed\" stack trace entries extracted from the traceback object *tb*. " -"It is useful for alternate formatting of stack traces. The optional *limit* " -"argument has the same meaning as for :func:`print_tb`. A \"pre-processed\" " -"stack trace entry is a :class:`FrameSummary` object containing attributes :" -"attr:`~FrameSummary.filename`, :attr:`~FrameSummary.lineno`, :attr:" -"`~FrameSummary.name`, and :attr:`~FrameSummary.line` representing the " -"information that is usually printed for a stack trace. The :attr:" -"`~FrameSummary.line` is a string with leading and trailing whitespace " -"stripped; if the source is not available it is ``None``." +"processed\" stack trace entries extracted from the :ref:`traceback object " +"` *tb*. It is useful for alternate formatting of stack " +"traces. The optional *limit* argument has the same meaning as for :func:" +"`print_tb`. A \"pre-processed\" stack trace entry is a :class:" +"`FrameSummary` object containing attributes :attr:`~FrameSummary.filename`, :" +"attr:`~FrameSummary.lineno`, :attr:`~FrameSummary.name`, and :attr:" +"`~FrameSummary.line` representing the information that is usually printed " +"for a stack trace." msgstr "" -#: library/traceback.rst:123 +#: library/traceback.rst:129 msgid "" -"Extract the raw traceback from the current stack frame. The return value " -"has the same format as for :func:`extract_tb`. The optional *f* and *limit* " -"arguments have the same meaning as for :func:`print_stack`." +"Extract the raw traceback from the current :ref:`stack frame `. The return value has the same format as for :func:`extract_tb`. " +"The optional *f* and *limit* arguments have the same meaning as for :func:" +"`print_stack`." msgstr "" -#: library/traceback.rst:130 +#: library/traceback.rst:137 msgid "" "Given a list of tuples or :class:`FrameSummary` objects as returned by :func:" "`extract_tb` or :func:`extract_stack`, return a list of strings ready for " @@ -177,29 +181,31 @@ msgid "" "text line is not ``None``." msgstr "" -#: library/traceback.rst:140 +#: library/traceback.rst:147 msgid "" "Format the exception part of a traceback using an exception value such as " -"given by ``sys.last_value``. The return value is a list of strings, each " -"ending in a newline. The list contains the exception's message, which is " -"normally a single string; however, for :exc:`SyntaxError` exceptions, it " +"given by :data:`sys.last_value`. The return value is a list of strings, " +"each ending in a newline. The list contains the exception's message, which " +"is normally a single string; however, for :exc:`SyntaxError` exceptions, it " "contains several lines that (when printed) display detailed information " "about where the syntax error occurred. Following the message, the list " "contains the exception's :attr:`notes `." msgstr "" -#: library/traceback.rst:148 +#: library/traceback.rst:155 msgid "" "Since Python 3.10, instead of passing *value*, an exception object can be " "passed as the first argument. If *value* is provided, the first argument is " "ignored in order to provide backwards compatibility." msgstr "" -#: library/traceback.rst:156 -msgid "The returned list now includes any notes attached to the exception." +#: library/traceback.rst:163 +msgid "" +"The returned list now includes any :attr:`notes ` " +"attached to the exception." msgstr "" -#: library/traceback.rst:162 +#: library/traceback.rst:170 msgid "" "Format a stack trace and the exception information. The arguments have the " "same meaning as the corresponding arguments to :func:`print_exception`. The " @@ -208,79 +214,81 @@ msgid "" "printed, exactly the same text is printed as does :func:`print_exception`." msgstr "" -#: library/traceback.rst:171 +#: library/traceback.rst:179 msgid "" "This function's behavior and signature were modified to match :func:" "`print_exception`." msgstr "" -#: library/traceback.rst:178 +#: library/traceback.rst:186 msgid "" "This is like ``print_exc(limit)`` but returns a string instead of printing " "to a file." msgstr "" -#: library/traceback.rst:184 +#: library/traceback.rst:192 msgid "A shorthand for ``format_list(extract_tb(tb, limit))``." msgstr "" -#: library/traceback.rst:189 +#: library/traceback.rst:197 msgid "A shorthand for ``format_list(extract_stack(f, limit))``." msgstr "" -#: library/traceback.rst:193 +#: library/traceback.rst:201 msgid "" -"Clears the local variables of all the stack frames in a traceback *tb* by " -"calling the :meth:`clear` method of each frame object." +"Clears the local variables of all the stack frames in a :ref:`traceback " +"` *tb* by calling the :meth:`~frame.clear` method of " +"each :ref:`frame object `." msgstr "" -#: library/traceback.rst:200 +#: library/traceback.rst:210 msgid "" -"Walk a stack following ``f.f_back`` from the given frame, yielding the frame " -"and line number for each frame. If *f* is ``None``, the current stack is " -"used. This helper is used with :meth:`StackSummary.extract`." +"Walk a stack following :attr:`f.f_back ` from the given frame, " +"yielding the frame and line number for each frame. If *f* is ``None``, the " +"current stack is used. This helper is used with :meth:`StackSummary.extract`." msgstr "" -#: library/traceback.rst:208 +#: library/traceback.rst:219 msgid "" -"Walk a traceback following ``tb_next`` yielding the frame and line number " -"for each frame. This helper is used with :meth:`StackSummary.extract`." +"Walk a traceback following :attr:`~traceback.tb_next` yielding the frame and " +"line number for each frame. This helper is used with :meth:`StackSummary." +"extract`." msgstr "" -#: library/traceback.rst:213 +#: library/traceback.rst:225 msgid "The module also defines the following classes:" msgstr "" -#: library/traceback.rst:216 -msgid ":class:`TracebackException` Objects" +#: library/traceback.rst:228 +msgid ":class:`!TracebackException` Objects" msgstr "" -#: library/traceback.rst:220 +#: library/traceback.rst:232 msgid "" -":class:`TracebackException` objects are created from actual exceptions to " +":class:`!TracebackException` objects are created from actual exceptions to " "capture data for later printing in a lightweight fashion." msgstr "" -#: library/traceback.rst:319 +#: library/traceback.rst:336 msgid "" "Capture an exception for later rendering. *limit*, *lookup_lines* and " "*capture_locals* are as for the :class:`StackSummary` class." msgstr "" -#: library/traceback.rst:228 +#: library/traceback.rst:240 msgid "" -"If *compact* is true, only data that is required by :class:" -"`TracebackException`'s ``format`` method is saved in the class attributes. " -"In particular, the ``__context__`` field is calculated only if ``__cause__`` " -"is ``None`` and ``__suppress_context__`` is false." +"If *compact* is true, only data that is required by :class:`!" +"TracebackException`'s :meth:`format` method is saved in the class " +"attributes. In particular, the :attr:`__context__` field is calculated only " +"if :attr:`__cause__` is ``None`` and :attr:`__suppress_context__` is false." msgstr "" -#: library/traceback.rst:322 +#: library/traceback.rst:339 msgid "" "Note that when locals are captured, they are also shown in the traceback." msgstr "" -#: library/traceback.rst:235 +#: library/traceback.rst:248 msgid "" "*max_group_width* and *max_group_depth* control the formatting of exception " "groups (see :exc:`BaseExceptionGroup`). The depth refers to the nesting " @@ -289,112 +297,118 @@ msgid "" "limit is exceeded." msgstr "" -#: library/traceback.rst:241 +#: library/traceback.rst:254 msgid "Added the *compact* parameter." msgstr "" -#: library/traceback.rst:244 +#: library/traceback.rst:257 msgid "Added the *max_group_width* and *max_group_depth* parameters." msgstr "" -#: library/traceback.rst:249 -msgid "A :class:`TracebackException` of the original ``__cause__``." +#: library/traceback.rst:262 +msgid "" +"A :class:`!TracebackException` of the original :attr:`~BaseException." +"__cause__`." msgstr "" -#: library/traceback.rst:253 -msgid "A :class:`TracebackException` of the original ``__context__``." +#: library/traceback.rst:267 +msgid "" +"A :class:`!TracebackException` of the original :attr:`~BaseException." +"__context__`." msgstr "" -#: library/traceback.rst:257 +#: library/traceback.rst:272 msgid "" "If ``self`` represents an :exc:`ExceptionGroup`, this field holds a list of :" -"class:`TracebackException` instances representing the nested exceptions. " +"class:`!TracebackException` instances representing the nested exceptions. " "Otherwise it is ``None``." msgstr "" -#: library/traceback.rst:265 -msgid "The ``__suppress_context__`` value from the original exception." +#: library/traceback.rst:280 +msgid "" +"The :attr:`~BaseException.__suppress_context__` value from the original " +"exception." msgstr "" -#: library/traceback.rst:269 +#: library/traceback.rst:285 msgid "" -"The ``__notes__`` value from the original exception, or ``None`` if the " -"exception does not have any notes. If it is not ``None`` is it formatted in " -"the traceback after the exception string." +"The :attr:`~BaseException.__notes__` value from the original exception, or " +"``None`` if the exception does not have any notes. If it is not ``None`` is " +"it formatted in the traceback after the exception string." msgstr "" -#: library/traceback.rst:277 +#: library/traceback.rst:294 msgid "A :class:`StackSummary` representing the traceback." msgstr "" -#: library/traceback.rst:281 +#: library/traceback.rst:298 msgid "The class of the original traceback." msgstr "" -#: library/traceback.rst:285 +#: library/traceback.rst:302 msgid "For syntax errors - the file name where the error occurred." msgstr "" -#: library/traceback.rst:289 +#: library/traceback.rst:306 msgid "For syntax errors - the line number where the error occurred." msgstr "" -#: library/traceback.rst:293 +#: library/traceback.rst:310 msgid "" "For syntax errors - the end line number where the error occurred. Can be " "``None`` if not present." msgstr "" -#: library/traceback.rst:300 +#: library/traceback.rst:317 msgid "For syntax errors - the text where the error occurred." msgstr "" -#: library/traceback.rst:304 +#: library/traceback.rst:321 msgid "For syntax errors - the offset into the text where the error occurred." msgstr "" -#: library/traceback.rst:308 +#: library/traceback.rst:325 msgid "" "For syntax errors - the end offset into the text where the error occurred. " "Can be ``None`` if not present." msgstr "" -#: library/traceback.rst:315 +#: library/traceback.rst:332 msgid "For syntax errors - the compiler error message." msgstr "" -#: library/traceback.rst:326 +#: library/traceback.rst:343 msgid "" "Print to *file* (default ``sys.stderr``) the exception information returned " "by :meth:`format`." msgstr "" -#: library/traceback.rst:333 +#: library/traceback.rst:350 msgid "Format the exception." msgstr "" -#: library/traceback.rst:335 +#: library/traceback.rst:352 msgid "" -"If *chain* is not ``True``, ``__cause__`` and ``__context__`` will not be " -"formatted." +"If *chain* is not ``True``, :attr:`__cause__` and :attr:`__context__` will " +"not be formatted." msgstr "" -#: library/traceback.rst:338 +#: library/traceback.rst:355 msgid "" "The return value is a generator of strings, each ending in a newline and " "some containing internal newlines. :func:`~traceback.print_exception` is a " "wrapper around this method which just prints the lines to a file." msgstr "" -#: library/traceback.rst:344 +#: library/traceback.rst:361 msgid "Format the exception part of the traceback." msgstr "" -#: library/traceback.rst:346 +#: library/traceback.rst:363 msgid "The return value is a generator of strings, each ending in a newline." msgstr "" -#: library/traceback.rst:348 +#: library/traceback.rst:365 msgid "" "The generator emits the exception's message followed by its notes (if it has " "any). The exception message is normally a single string; however, for :exc:" @@ -402,102 +416,133 @@ msgid "" "display detailed information about where the syntax error occurred." msgstr "" -#: library/traceback.rst:354 -msgid "The exception's notes are now included in the output." +#: library/traceback.rst:371 +msgid "" +"The exception's :attr:`notes ` are now included in " +"the output." msgstr "" -#: library/traceback.rst:360 -msgid ":class:`StackSummary` Objects" +#: library/traceback.rst:378 +msgid ":class:`!StackSummary` Objects" msgstr "" -#: library/traceback.rst:364 +#: library/traceback.rst:382 msgid "" -":class:`StackSummary` objects represent a call stack ready for formatting." +":class:`!StackSummary` objects represent a call stack ready for formatting." msgstr "" -#: library/traceback.rst:370 +#: library/traceback.rst:388 msgid "" -"Construct a :class:`StackSummary` object from a frame generator (such as is " +"Construct a :class:`!StackSummary` object from a frame generator (such as is " "returned by :func:`~traceback.walk_stack` or :func:`~traceback.walk_tb`)." msgstr "" -#: library/traceback.rst:374 +#: library/traceback.rst:392 msgid "" "If *limit* is supplied, only this many frames are taken from *frame_gen*. If " "*lookup_lines* is ``False``, the returned :class:`FrameSummary` objects will " -"not have read their lines in yet, making the cost of creating the :class:" -"`StackSummary` cheaper (which may be valuable if it may not actually get " +"not have read their lines in yet, making the cost of creating the :class:`!" +"StackSummary` cheaper (which may be valuable if it may not actually get " "formatted). If *capture_locals* is ``True`` the local variables in each :" -"class:`FrameSummary` are captured as object representations." +"class:`!FrameSummary` are captured as object representations." msgstr "" -#: library/traceback.rst:382 +#: library/traceback.rst:400 msgid "" "Exceptions raised from :func:`repr` on a local variable (when " "*capture_locals* is ``True``) are no longer propagated to the caller." msgstr "" -#: library/traceback.rst:388 +#: library/traceback.rst:406 msgid "" -"Construct a :class:`StackSummary` object from a supplied list of :class:" +"Construct a :class:`!StackSummary` object from a supplied list of :class:" "`FrameSummary` objects or old-style list of tuples. Each tuple should be a " -"4-tuple with filename, lineno, name, line as the elements." +"4-tuple with *filename*, *lineno*, *name*, *line* as the elements." msgstr "" -#: library/traceback.rst:394 +#: library/traceback.rst:413 msgid "" "Returns a list of strings ready for printing. Each string in the resulting " -"list corresponds to a single frame from the stack. Each string ends in a " -"newline; the strings may contain internal newlines as well, for those items " -"with source text lines." +"list corresponds to a single :ref:`frame ` from the stack. " +"Each string ends in a newline; the strings may contain internal newlines as " +"well, for those items with source text lines." msgstr "" -#: library/traceback.rst:399 +#: library/traceback.rst:419 msgid "" "For long sequences of the same frame and line, the first few repetitions are " "shown, followed by a summary line stating the exact number of further " "repetitions." msgstr "" -#: library/traceback.rst:403 +#: library/traceback.rst:423 msgid "Long sequences of repeated frames are now abbreviated." msgstr "" -#: library/traceback.rst:408 +#: library/traceback.rst:428 msgid "" -"Returns a string for printing one of the frames involved in the stack. This " -"method is called for each :class:`FrameSummary` object to be printed by :" -"meth:`StackSummary.format`. If it returns ``None``, the frame is omitted " -"from the output." +"Returns a string for printing one of the :ref:`frames ` " +"involved in the stack. This method is called for each :class:`FrameSummary` " +"object to be printed by :meth:`StackSummary.format`. If it returns ``None``, " +"the frame is omitted from the output." msgstr "" -#: library/traceback.rst:417 -msgid ":class:`FrameSummary` Objects" +#: library/traceback.rst:438 +msgid ":class:`!FrameSummary` Objects" msgstr "" -#: library/traceback.rst:421 +#: library/traceback.rst:442 msgid "" -"A :class:`FrameSummary` object represents a single frame in a traceback." +"A :class:`!FrameSummary` object represents a single :ref:`frame ` in a :ref:`traceback `." msgstr "" -#: library/traceback.rst:425 +#: library/traceback.rst:447 msgid "" -"Represent a single frame in the traceback or stack that is being formatted " -"or printed. It may optionally have a stringified version of the frames " -"locals included in it. If *lookup_line* is ``False``, the source code is not " -"looked up until the :class:`FrameSummary` has the :attr:`~FrameSummary.line` " -"attribute accessed (which also happens when casting it to a tuple). :attr:" +"Represents a single :ref:`frame ` in the :ref:`traceback " +"` or stack that is being formatted or printed. It may " +"optionally have a stringified version of the frame's locals included in it. " +"If *lookup_line* is ``False``, the source code is not looked up until the :" +"class:`!FrameSummary` has the :attr:`~FrameSummary.line` attribute accessed " +"(which also happens when casting it to a :class:`tuple`). :attr:" "`~FrameSummary.line` may be directly provided, and will prevent line lookups " "happening at all. *locals* is an optional local variable dictionary, and if " "supplied the variable representations are stored in the summary for later " "display." msgstr "" -#: library/traceback.rst:438 +#: library/traceback.rst:458 +msgid ":class:`!FrameSummary` instances have the following attributes:" +msgstr "" + +#: library/traceback.rst:462 +msgid "" +"The filename of the source code for this frame. Equivalent to accessing :" +"attr:`f.f_code.co_filename ` on a :ref:`frame object " +"` *f*." +msgstr "" + +#: library/traceback.rst:468 +msgid "The line number of the source code for this frame." +msgstr "" + +#: library/traceback.rst:472 +msgid "" +"Equivalent to accessing :attr:`f.f_code.co_name ` on a :" +"ref:`frame object ` *f*." +msgstr "" + +#: library/traceback.rst:477 +msgid "" +"A string representing the source code for this frame, with leading and " +"trailing whitespace stripped. If the source is not available, it is ``None``." +msgstr "" + +#: library/traceback.rst:484 msgid "Traceback Examples" msgstr "" -#: library/traceback.rst:440 +#: library/traceback.rst:486 msgid "" "This simple example implements a basic read-eval-print loop, similar to (but " "less useful than) the standard Python interactive interpreter loop. For a " @@ -505,23 +550,23 @@ msgid "" "`code` module. ::" msgstr "" -#: library/traceback.rst:462 +#: library/traceback.rst:508 msgid "" "The following example demonstrates the different ways to print and format " "the exception and traceback:" msgstr "" -#: library/traceback.rst:497 +#: library/traceback.rst:543 msgid "The output for the example would look similar to this:" msgstr "" -#: library/traceback.rst:539 +#: library/traceback.rst:585 msgid "" "The following example shows the different ways to print and format the " "stack::" msgstr "" -#: library/traceback.rst:565 +#: library/traceback.rst:611 msgid "This last example demonstrates the final few formatting functions:" msgstr "" @@ -533,10 +578,10 @@ msgstr "" msgid "traceback" msgstr "" -#: library/traceback.rst:57 +#: library/traceback.rst:62 msgid "^ (caret)" msgstr "" -#: library/traceback.rst:57 +#: library/traceback.rst:62 msgid "marker" msgstr "" diff --git a/library/types.po b/library/types.po index 34b069e08..c392a71d3 100644 --- a/library/types.po +++ b/library/types.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -413,25 +413,20 @@ msgstr "" #: library/types.rst:379 msgid "" -"The type of frame objects such as found in ``tb.tb_frame`` if ``tb`` is a " -"traceback object." +"The type of :ref:`frame objects ` such as found in :attr:`tb." +"tb_frame ` if ``tb`` is a traceback object." msgstr "" -#: library/types.rst:382 -msgid "" -"See :ref:`the language reference ` for details of the " -"available attributes and operations." -msgstr "" - -#: library/types.rst:388 +#: library/types.rst:385 msgid "" "The type of objects defined in extension modules with ``PyGetSetDef``, such " -"as ``FrameType.f_locals`` or ``array.array.typecode``. This type is used as " -"descriptor for object attributes; it has the same purpose as the :class:" -"`property` type, but for classes defined in extension modules." +"as :attr:`FrameType.f_locals ` or ``array.array.typecode``. " +"This type is used as descriptor for object attributes; it has the same " +"purpose as the :class:`property` type, but for classes defined in extension " +"modules." msgstr "" -#: library/types.rst:396 +#: library/types.rst:394 msgid "" "The type of objects defined in extension modules with ``PyMemberDef``, such " "as ``datetime.timedelta.days``. This type is used as descriptor for simple " @@ -440,117 +435,117 @@ msgid "" "modules." msgstr "" -#: library/types.rst:403 +#: library/types.rst:401 msgid "" "In other implementations of Python, this type may be identical to " "``GetSetDescriptorType``." msgstr "" -#: library/types.rst:408 +#: library/types.rst:406 msgid "" "Read-only proxy of a mapping. It provides a dynamic view on the mapping's " "entries, which means that when the mapping changes, the view reflects these " "changes." msgstr "" -#: library/types.rst:416 +#: library/types.rst:414 msgid "" "Updated to support the new union (``|``) operator from :pep:`584`, which " "simply delegates to the underlying mapping." msgstr "" -#: library/types.rst:421 +#: library/types.rst:419 msgid "" "Return ``True`` if the underlying mapping has a key *key*, else ``False``." msgstr "" -#: library/types.rst:426 +#: library/types.rst:424 msgid "" "Return the item of the underlying mapping with key *key*. Raises a :exc:" "`KeyError` if *key* is not in the underlying mapping." msgstr "" -#: library/types.rst:431 +#: library/types.rst:429 msgid "" "Return an iterator over the keys of the underlying mapping. This is a " "shortcut for ``iter(proxy.keys())``." msgstr "" -#: library/types.rst:436 +#: library/types.rst:434 msgid "Return the number of items in the underlying mapping." msgstr "" -#: library/types.rst:440 +#: library/types.rst:438 msgid "Return a shallow copy of the underlying mapping." msgstr "" -#: library/types.rst:444 +#: library/types.rst:442 msgid "" "Return the value for *key* if *key* is in the underlying mapping, else " "*default*. If *default* is not given, it defaults to ``None``, so that this " "method never raises a :exc:`KeyError`." msgstr "" -#: library/types.rst:450 +#: library/types.rst:448 msgid "" "Return a new view of the underlying mapping's items (``(key, value)`` pairs)." msgstr "" -#: library/types.rst:455 +#: library/types.rst:453 msgid "Return a new view of the underlying mapping's keys." msgstr "" -#: library/types.rst:459 +#: library/types.rst:457 msgid "Return a new view of the underlying mapping's values." msgstr "" -#: library/types.rst:463 +#: library/types.rst:461 msgid "Return a reverse iterator over the keys of the underlying mapping." msgstr "" -#: library/types.rst:469 +#: library/types.rst:467 msgid "Return a hash of the underlying mapping." msgstr "" -#: library/types.rst:475 +#: library/types.rst:473 msgid "Additional Utility Classes and Functions" msgstr "" -#: library/types.rst:479 +#: library/types.rst:477 msgid "" "A simple :class:`object` subclass that provides attribute access to its " "namespace, as well as a meaningful repr." msgstr "" -#: library/types.rst:482 +#: library/types.rst:480 msgid "" "Unlike :class:`object`, with ``SimpleNamespace`` you can add and remove " "attributes. If a ``SimpleNamespace`` object is initialized with keyword " "arguments, those are directly added to the underlying namespace." msgstr "" -#: library/types.rst:486 +#: library/types.rst:484 msgid "The type is roughly equivalent to the following code::" msgstr "" -#: library/types.rst:501 +#: library/types.rst:499 msgid "" "``SimpleNamespace`` may be useful as a replacement for ``class NS: pass``. " "However, for a structured record type use :func:`~collections.namedtuple` " "instead." msgstr "" -#: library/types.rst:507 +#: library/types.rst:505 msgid "" "Attribute order in the repr changed from alphabetical to insertion (like " "``dict``)." msgstr "" -#: library/types.rst:513 +#: library/types.rst:511 msgid "Route attribute access on a class to __getattr__." msgstr "" -#: library/types.rst:515 +#: library/types.rst:513 msgid "" "This is a descriptor, used to define attributes that act differently when " "accessed through an instance and through a class. Instance access remains " @@ -558,18 +553,18 @@ msgid "" "class's __getattr__ method; this is done by raising AttributeError." msgstr "" -#: library/types.rst:520 +#: library/types.rst:518 msgid "" "This allows one to have properties active on an instance, and have virtual " "attributes on the class with the same name (see :class:`enum.Enum` for an " "example)." msgstr "" -#: library/types.rst:527 +#: library/types.rst:525 msgid "Coroutine Utility Functions" msgstr "" -#: library/types.rst:531 +#: library/types.rst:529 msgid "" "This function transforms a :term:`generator` function into a :term:" "`coroutine function` which returns a generator-based coroutine. The " @@ -579,11 +574,11 @@ msgid "" "method." msgstr "" -#: library/types.rst:538 +#: library/types.rst:536 msgid "If *gen_func* is a generator function, it will be modified in-place." msgstr "" -#: library/types.rst:540 +#: library/types.rst:538 msgid "" "If *gen_func* is not a generator function, it will be wrapped. If it returns " "an instance of :class:`collections.abc.Generator`, the instance will be " diff --git a/library/typing.po b/library/typing.po index b23805f37..026ab32bd 100644 --- a/library/typing.po +++ b/library/typing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -403,7 +403,7 @@ msgid "" "of type :class:`int` and returns a :class:`str`." msgstr "" -#: library/typing.rst:2891 library/typing.rst:3033 +#: library/typing.rst:2890 library/typing.rst:3032 msgid "For example:" msgstr "" @@ -441,7 +441,7 @@ msgid "" "ReturnType]`` respectively." msgstr "" -#: library/typing.rst:3562 +#: library/typing.rst:3561 msgid "" "``Callable`` now supports :class:`ParamSpec` and :data:`Concatenate`. See :" "pep:`612` for more details." @@ -821,7 +821,7 @@ msgid "" msgstr "" #: library/typing.rst:934 library/typing.rst:1011 library/typing.rst:1234 -#: library/typing.rst:2831 +#: library/typing.rst:2830 msgid "For example::" msgstr "" @@ -1144,7 +1144,7 @@ msgid "" "scopes cannot be overridden in subclasses." msgstr "" -#: library/typing.rst:2847 +#: library/typing.rst:2846 msgid "" "There is no runtime checking of these properties. See :pep:`591` for more " "details." @@ -1803,7 +1803,7 @@ msgstr "" msgid "Typed version of :func:`collections.namedtuple`." msgstr "" -#: library/typing.rst:2107 library/typing.rst:3073 +#: library/typing.rst:2107 library/typing.rst:3072 msgid "Usage::" msgstr "" @@ -2277,13 +2277,13 @@ msgid "" msgstr "" #: library/typing.rst:2584 -msgid "Reveal the inferred static type of an expression." +msgid "Ask a static type checker to reveal the inferred type of an expression." msgstr "" #: library/typing.rst:2586 msgid "" "When a static type checker encounters a call to this function, it emits a " -"diagnostic with the type of the argument. For example::" +"diagnostic with the inferred type of the argument. For example::" msgstr "" #: library/typing.rst:2592 @@ -2294,30 +2294,32 @@ msgstr "" #: library/typing.rst:2595 msgid "" -"The function returns its argument unchanged, which allows using it within an " -"expression::" +"At runtime, this function prints the runtime type of its argument to :data:" +"`sys.stderr` and returns the argument unchanged (allowing the call to be " +"used within an expression)::" msgstr "" -#: library/typing.rst:2600 +#: library/typing.rst:2602 msgid "" -"Most type checkers support ``reveal_type()`` anywhere, even if the name is " -"not imported from ``typing``. Importing the name from ``typing`` allows your " -"code to run without runtime errors and communicates intent more clearly." +"Note that the runtime type may be different from (more or less specific " +"than) the type statically inferred by a type checker." msgstr "" #: library/typing.rst:2605 msgid "" -"At runtime, this function prints the runtime type of its argument to stderr " -"and returns it unchanged::" +"Most type checkers support ``reveal_type()`` anywhere, even if the name is " +"not imported from ``typing``. Importing the name from ``typing``, however, " +"allows your code to run without runtime errors and communicates intent more " +"clearly." msgstr "" -#: library/typing.rst:2617 +#: library/typing.rst:2616 msgid "" "Decorator to mark an object as providing :func:`dataclass `-like behavior." msgstr "" -#: library/typing.rst:2620 +#: library/typing.rst:2619 msgid "" "``dataclass_transform`` may be used to decorate a class, metaclass, or a " "function that is itself a decorator. The presence of " @@ -2326,19 +2328,19 @@ msgid "" "to :func:`@dataclasses.dataclass `." msgstr "" -#: library/typing.rst:2627 +#: library/typing.rst:2626 msgid "Example usage with a decorator function:" msgstr "" -#: library/typing.rst:2641 +#: library/typing.rst:2640 msgid "On a base class::" msgstr "" -#: library/typing.rst:2650 +#: library/typing.rst:2649 msgid "On a metaclass::" msgstr "" -#: library/typing.rst:2661 +#: library/typing.rst:2660 msgid "" "The ``CustomerModel`` classes defined above will be treated by type checkers " "similarly to classes created with :func:`@dataclasses.dataclass `-decorated definitions for " "*func*." msgstr "" -#: library/typing.rst:2801 +#: library/typing.rst:2800 msgid "" "*func* is the function object for the implementation of the overloaded " "function. For example, given the definition of ``process`` in the " @@ -2556,32 +2558,32 @@ msgid "" "returns an empty sequence." msgstr "" -#: library/typing.rst:2808 +#: library/typing.rst:2807 msgid "" "``get_overloads()`` can be used for introspecting an overloaded function at " "runtime." msgstr "" -#: library/typing.rst:2816 +#: library/typing.rst:2815 msgid "Clear all registered overloads in the internal registry." msgstr "" -#: library/typing.rst:2818 +#: library/typing.rst:2817 msgid "This can be used to reclaim the memory used by the registry." msgstr "" -#: library/typing.rst:2825 +#: library/typing.rst:2824 msgid "Decorator to indicate final methods and final classes." msgstr "" -#: library/typing.rst:2827 +#: library/typing.rst:2826 msgid "" "Decorating a method with ``@final`` indicates to a type checker that the " "method cannot be overridden in a subclass. Decorating a class with " "``@final`` indicates that it cannot be subclassed." msgstr "" -#: library/typing.rst:2852 +#: library/typing.rst:2851 msgid "" "The decorator will now attempt to set a ``__final__`` attribute to ``True`` " "on the decorated object. Thus, a check like ``if getattr(obj, \"__final__\", " @@ -2591,11 +2593,11 @@ msgid "" "exception." msgstr "" -#: library/typing.rst:2863 +#: library/typing.rst:2862 msgid "Decorator to indicate that annotations are not type hints." msgstr "" -#: library/typing.rst:2865 +#: library/typing.rst:2864 msgid "" "This works as a class or function :term:`decorator`. With a class, it " "applies recursively to all methods and classes defined in that class (but " @@ -2603,38 +2605,38 @@ msgid "" "will ignore all annotations in a function or class with this decorator." msgstr "" -#: library/typing.rst:2871 +#: library/typing.rst:2870 msgid "``@no_type_check`` mutates the decorated object in place." msgstr "" -#: library/typing.rst:2875 +#: library/typing.rst:2874 msgid "Decorator to give another decorator the :func:`no_type_check` effect." msgstr "" -#: library/typing.rst:2877 +#: library/typing.rst:2876 msgid "" "This wraps the decorator with something that wraps the decorated function " "in :func:`no_type_check`." msgstr "" -#: library/typing.rst:2883 +#: library/typing.rst:2882 msgid "" "Decorator to indicate that a method in a subclass is intended to override a " "method or attribute in a superclass." msgstr "" -#: library/typing.rst:2886 +#: library/typing.rst:2885 msgid "" "Type checkers should emit an error if a method decorated with ``@override`` " "does not, in fact, override anything. This helps prevent bugs that may occur " "when a base class is changed without an equivalent change to a child class." msgstr "" -#: library/typing.rst:2908 +#: library/typing.rst:2907 msgid "There is no runtime checking of this property." msgstr "" -#: library/typing.rst:2910 +#: library/typing.rst:2909 msgid "" "The decorator will attempt to set an ``__override__`` attribute to ``True`` " "on the decorated object. Thus, a check like ``if getattr(obj, " @@ -2644,38 +2646,38 @@ msgid "" "without raising an exception." msgstr "" -#: library/typing.rst:2917 +#: library/typing.rst:2916 msgid "See :pep:`698` for more details." msgstr "" -#: library/typing.rst:2924 +#: library/typing.rst:2923 msgid "Decorator to mark a class or function as unavailable at runtime." msgstr "" -#: library/typing.rst:2926 +#: library/typing.rst:2925 msgid "" "This decorator is itself not available at runtime. It is mainly intended to " "mark classes that are defined in type stub files if an implementation " "returns an instance of a private class::" msgstr "" -#: library/typing.rst:2937 +#: library/typing.rst:2936 msgid "" "Note that returning instances of private classes is not recommended. It is " "usually preferable to make such classes public." msgstr "" -#: library/typing.rst:2941 +#: library/typing.rst:2940 msgid "Introspection helpers" msgstr "" -#: library/typing.rst:2945 +#: library/typing.rst:2944 msgid "" "Return a dictionary containing type hints for a function, method, module or " "class object." msgstr "" -#: library/typing.rst:2948 +#: library/typing.rst:2947 msgid "" "This is often the same as ``obj.__annotations__``. In addition, forward " "references encoded as string literals are handled by evaluating them in " @@ -2684,40 +2686,40 @@ msgid "" "__mro__`` in reverse order." msgstr "" -#: library/typing.rst:2954 +#: library/typing.rst:2953 msgid "" "The function recursively replaces all ``Annotated[T, ...]`` with ``T``, " "unless ``include_extras`` is set to ``True`` (see :class:`Annotated` for " "more information). For example:" msgstr "" -#: library/typing.rst:2971 +#: library/typing.rst:2970 msgid "" ":func:`get_type_hints` does not work with imported :ref:`type aliases ` that include forward references. Enabling postponed evaluation of " "annotations (:pep:`563`) may remove the need for most forward references." msgstr "" -#: library/typing.rst:2976 +#: library/typing.rst:2975 msgid "" "Added ``include_extras`` parameter as part of :pep:`593`. See the " "documentation on :data:`Annotated` for more information." msgstr "" -#: library/typing.rst:2980 +#: library/typing.rst:2979 msgid "" "Previously, ``Optional[t]`` was added for function and method annotations if " "a default value equal to ``None`` was set. Now the annotation is returned " "unchanged." msgstr "" -#: library/typing.rst:2987 +#: library/typing.rst:2986 msgid "" "Get the unsubscripted version of a type: for a typing object of the form " "``X[Y, Z, ...]`` return ``X``." msgstr "" -#: library/typing.rst:2990 +#: library/typing.rst:2989 msgid "" "If ``X`` is a typing-module alias for a builtin or :mod:`collections` class, " "it will be normalized to the original class. If ``X`` is an instance of :" @@ -2725,17 +2727,17 @@ msgid "" "class:`ParamSpec`. Return ``None`` for unsupported objects." msgstr "" -#: library/typing.rst:3019 +#: library/typing.rst:3018 msgid "Examples:" msgstr "" -#: library/typing.rst:3011 +#: library/typing.rst:3010 msgid "" "Get type arguments with all substitutions performed: for a typing object of " "the form ``X[Y, Z, ...]`` return ``(Y, Z, ...)``." msgstr "" -#: library/typing.rst:3014 +#: library/typing.rst:3013 msgid "" "If ``X`` is a union or :class:`Literal` contained in another generic type, " "the order of ``(Y, Z, ...)`` may be different from the order of the original " @@ -2743,40 +2745,40 @@ msgid "" "objects." msgstr "" -#: library/typing.rst:3031 +#: library/typing.rst:3030 msgid "Check if a type is a :class:`TypedDict`." msgstr "" -#: library/typing.rst:3052 +#: library/typing.rst:3051 msgid "" "Class used for internal typing representation of string forward references." msgstr "" -#: library/typing.rst:3054 +#: library/typing.rst:3053 msgid "" "For example, ``List[\"SomeClass\"]`` is implicitly transformed into " "``List[ForwardRef(\"SomeClass\")]``. ``ForwardRef`` should not be " "instantiated by a user, but may be used by introspection tools." msgstr "" -#: library/typing.rst:3059 +#: library/typing.rst:3058 msgid "" ":pep:`585` generic types such as ``list[\"SomeClass\"]`` will not be " "implicitly transformed into ``list[ForwardRef(\"SomeClass\")]`` and thus " "will not automatically resolve to ``list[SomeClass]``." msgstr "" -#: library/typing.rst:3066 +#: library/typing.rst:3065 msgid "Constant" msgstr "" -#: library/typing.rst:3070 +#: library/typing.rst:3069 msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " "checkers. It is ``False`` at runtime." msgstr "" -#: library/typing.rst:3081 +#: library/typing.rst:3080 msgid "" "The first type annotation must be enclosed in quotes, making it a \"forward " "reference\", to hide the ``expensive_mod`` reference from the interpreter " @@ -2784,7 +2786,7 @@ msgid "" "second annotation does not need to be enclosed in quotes." msgstr "" -#: library/typing.rst:3088 +#: library/typing.rst:3087 msgid "" "If ``from __future__ import annotations`` is used, annotations are not " "evaluated at function definition time. Instead, they are stored as strings " @@ -2792,11 +2794,11 @@ msgid "" "annotation (see :pep:`563`)." msgstr "" -#: library/typing.rst:3100 +#: library/typing.rst:3099 msgid "Deprecated aliases" msgstr "" -#: library/typing.rst:3102 +#: library/typing.rst:3101 msgid "" "This module defines several deprecated aliases to pre-existing standard " "library classes. These were originally included in the typing module in " @@ -2805,7 +2807,7 @@ msgid "" "existing classes were enhanced to support ``[]`` (see :pep:`585`)." msgstr "" -#: library/typing.rst:3109 +#: library/typing.rst:3108 msgid "" "The redundant types are deprecated as of Python 3.9. However, while the " "aliases may be removed at some point, removal of these aliases is not " @@ -2813,7 +2815,7 @@ msgid "" "the interpreter for these aliases." msgstr "" -#: library/typing.rst:3114 +#: library/typing.rst:3113 msgid "" "If at some point it is decided to remove these deprecated aliases, a " "deprecation warning will be issued by the interpreter for at least two " @@ -2821,188 +2823,188 @@ msgid "" "typing module without deprecation warnings until at least Python 3.14." msgstr "" -#: library/typing.rst:3119 +#: library/typing.rst:3118 msgid "" "Type checkers are encouraged to flag uses of the deprecated types if the " "program they are checking targets a minimum Python version of 3.9 or newer." msgstr "" -#: library/typing.rst:3125 +#: library/typing.rst:3124 msgid "Aliases to built-in types" msgstr "" -#: library/typing.rst:3129 +#: library/typing.rst:3128 msgid "Deprecated alias to :class:`dict`." msgstr "" -#: library/typing.rst:3131 +#: library/typing.rst:3130 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`Mapping` rather than to use :class:`dict` " "or :class:`!typing.Dict`." msgstr "" -#: library/typing.rst:3377 +#: library/typing.rst:3376 msgid "This type can be used as follows::" msgstr "" -#: library/typing.rst:3140 +#: library/typing.rst:3139 msgid "" ":class:`builtins.dict ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3146 +#: library/typing.rst:3145 msgid "Deprecated alias to :class:`list`." msgstr "" -#: library/typing.rst:3148 +#: library/typing.rst:3147 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`Sequence` or :class:`Iterable` rather than " "to use :class:`list` or :class:`!typing.List`." msgstr "" -#: library/typing.rst:3152 +#: library/typing.rst:3151 msgid "This type may be used as follows::" msgstr "" -#: library/typing.rst:3160 +#: library/typing.rst:3159 msgid "" ":class:`builtins.list ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3166 +#: library/typing.rst:3165 msgid "Deprecated alias to :class:`builtins.set `." msgstr "" -#: library/typing.rst:3168 +#: library/typing.rst:3167 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`AbstractSet` rather than to use :class:`set` " "or :class:`!typing.Set`." msgstr "" -#: library/typing.rst:3172 +#: library/typing.rst:3171 msgid "" ":class:`builtins.set ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3178 +#: library/typing.rst:3177 msgid "Deprecated alias to :class:`builtins.frozenset `." msgstr "" -#: library/typing.rst:3180 +#: library/typing.rst:3179 msgid "" ":class:`builtins.frozenset ` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3187 +#: library/typing.rst:3186 msgid "Deprecated alias for :class:`tuple`." msgstr "" -#: library/typing.rst:3189 +#: library/typing.rst:3188 msgid "" ":class:`tuple` and ``Tuple`` are special-cased in the type system; see :ref:" "`annotating-tuples` for more details." msgstr "" -#: library/typing.rst:3192 +#: library/typing.rst:3191 msgid "" ":class:`builtins.tuple ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3198 +#: library/typing.rst:3197 msgid "Deprecated alias to :class:`type`." msgstr "" -#: library/typing.rst:3200 +#: library/typing.rst:3199 msgid "" "See :ref:`type-of-class-objects` for details on using :class:`type` or " "``typing.Type`` in type annotations." msgstr "" -#: library/typing.rst:3205 +#: library/typing.rst:3204 msgid "" ":class:`builtins.type ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3212 +#: library/typing.rst:3211 msgid "Aliases to types in :mod:`collections`" msgstr "" -#: library/typing.rst:3216 +#: library/typing.rst:3215 msgid "Deprecated alias to :class:`collections.defaultdict`." msgstr "" -#: library/typing.rst:3220 +#: library/typing.rst:3219 msgid "" ":class:`collections.defaultdict` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3226 +#: library/typing.rst:3225 msgid "Deprecated alias to :class:`collections.OrderedDict`." msgstr "" -#: library/typing.rst:3230 +#: library/typing.rst:3229 msgid "" ":class:`collections.OrderedDict` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3236 +#: library/typing.rst:3235 msgid "Deprecated alias to :class:`collections.ChainMap`." msgstr "" -#: library/typing.rst:3241 +#: library/typing.rst:3240 msgid "" ":class:`collections.ChainMap` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3247 +#: library/typing.rst:3246 msgid "Deprecated alias to :class:`collections.Counter`." msgstr "" -#: library/typing.rst:3252 +#: library/typing.rst:3251 msgid "" ":class:`collections.Counter` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3258 +#: library/typing.rst:3257 msgid "Deprecated alias to :class:`collections.deque`." msgstr "" -#: library/typing.rst:3263 +#: library/typing.rst:3262 msgid "" ":class:`collections.deque` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3270 +#: library/typing.rst:3269 msgid "Aliases to other concrete types" msgstr "" -#: library/typing.rst:3275 +#: library/typing.rst:3274 msgid "" "The ``typing.io`` namespace is deprecated and will be removed. These types " "should be directly imported from ``typing`` instead." msgstr "" -#: library/typing.rst:3279 +#: library/typing.rst:3278 msgid "" "Deprecated aliases corresponding to the return types from :func:`re.compile` " "and :func:`re.match`." msgstr "" -#: library/typing.rst:3282 +#: library/typing.rst:3281 msgid "" "These types (and the corresponding functions) are generic over :data:" "`AnyStr`. ``Pattern`` can be specialised as ``Pattern[str]`` or " @@ -3010,391 +3012,391 @@ msgid "" "``Match[bytes]``." msgstr "" -#: library/typing.rst:3290 +#: library/typing.rst:3289 msgid "" "The ``typing.re`` namespace is deprecated and will be removed. These types " "should be directly imported from ``typing`` instead." msgstr "" -#: library/typing.rst:3291 +#: library/typing.rst:3290 msgid "" "Classes ``Pattern`` and ``Match`` from :mod:`re` now support ``[]``. See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3297 +#: library/typing.rst:3296 msgid "Deprecated alias for :class:`str`." msgstr "" -#: library/typing.rst:3299 +#: library/typing.rst:3298 msgid "" "``Text`` is provided to supply a forward compatible path for Python 2 code: " "in Python 2, ``Text`` is an alias for ``unicode``." msgstr "" -#: library/typing.rst:3303 +#: library/typing.rst:3302 msgid "" "Use ``Text`` to indicate that a value must contain a unicode string in a " "manner that is compatible with both Python 2 and Python 3::" msgstr "" -#: library/typing.rst:3311 +#: library/typing.rst:3310 msgid "" "Python 2 is no longer supported, and most type checkers also no longer " "support type checking Python 2 code. Removal of the alias is not currently " "planned, but users are encouraged to use :class:`str` instead of ``Text``." msgstr "" -#: library/typing.rst:3321 +#: library/typing.rst:3320 msgid "Aliases to container ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3325 +#: library/typing.rst:3324 msgid "Deprecated alias to :class:`collections.abc.Set`." msgstr "" -#: library/typing.rst:3327 +#: library/typing.rst:3326 msgid "" ":class:`collections.abc.Set` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3333 +#: library/typing.rst:3332 msgid "" "This type represents the types :class:`bytes`, :class:`bytearray`, and :" "class:`memoryview` of byte sequences." msgstr "" -#: library/typing.rst:3337 +#: library/typing.rst:3336 msgid "" "Prefer :class:`collections.abc.Buffer`, or a union like ``bytes | bytearray " "| memoryview``." msgstr "" -#: library/typing.rst:3341 +#: library/typing.rst:3340 msgid "Deprecated alias to :class:`collections.abc.Collection`." msgstr "" -#: library/typing.rst:3345 +#: library/typing.rst:3344 msgid "" ":class:`collections.abc.Collection` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3351 +#: library/typing.rst:3350 msgid "Deprecated alias to :class:`collections.abc.Container`." msgstr "" -#: library/typing.rst:3353 +#: library/typing.rst:3352 msgid "" ":class:`collections.abc.Container` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3359 +#: library/typing.rst:3358 msgid "Deprecated alias to :class:`collections.abc.ItemsView`." msgstr "" -#: library/typing.rst:3361 +#: library/typing.rst:3360 msgid "" ":class:`collections.abc.ItemsView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3367 +#: library/typing.rst:3366 msgid "Deprecated alias to :class:`collections.abc.KeysView`." msgstr "" -#: library/typing.rst:3369 +#: library/typing.rst:3368 msgid "" ":class:`collections.abc.KeysView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3375 +#: library/typing.rst:3374 msgid "Deprecated alias to :class:`collections.abc.Mapping`." msgstr "" -#: library/typing.rst:3382 +#: library/typing.rst:3381 msgid "" ":class:`collections.abc.Mapping` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3388 +#: library/typing.rst:3387 msgid "Deprecated alias to :class:`collections.abc.MappingView`." msgstr "" -#: library/typing.rst:3390 +#: library/typing.rst:3389 msgid "" ":class:`collections.abc.MappingView` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3396 +#: library/typing.rst:3395 msgid "Deprecated alias to :class:`collections.abc.MutableMapping`." msgstr "" -#: library/typing.rst:3398 +#: library/typing.rst:3397 msgid "" ":class:`collections.abc.MutableMapping` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3405 +#: library/typing.rst:3404 msgid "Deprecated alias to :class:`collections.abc.MutableSequence`." msgstr "" -#: library/typing.rst:3407 +#: library/typing.rst:3406 msgid "" ":class:`collections.abc.MutableSequence` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3414 +#: library/typing.rst:3413 msgid "Deprecated alias to :class:`collections.abc.MutableSet`." msgstr "" -#: library/typing.rst:3416 +#: library/typing.rst:3415 msgid "" ":class:`collections.abc.MutableSet` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3422 +#: library/typing.rst:3421 msgid "Deprecated alias to :class:`collections.abc.Sequence`." msgstr "" -#: library/typing.rst:3424 +#: library/typing.rst:3423 msgid "" ":class:`collections.abc.Sequence` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3430 +#: library/typing.rst:3429 msgid "Deprecated alias to :class:`collections.abc.ValuesView`." msgstr "" -#: library/typing.rst:3432 +#: library/typing.rst:3431 msgid "" ":class:`collections.abc.ValuesView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3439 +#: library/typing.rst:3438 msgid "Aliases to asynchronous ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3443 +#: library/typing.rst:3442 msgid "Deprecated alias to :class:`collections.abc.Coroutine`." msgstr "" -#: library/typing.rst:3445 +#: library/typing.rst:3444 msgid "" "The variance and order of type variables correspond to those of :class:" "`Generator`, for example::" msgstr "" -#: library/typing.rst:3456 +#: library/typing.rst:3455 msgid "" ":class:`collections.abc.Coroutine` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3462 +#: library/typing.rst:3461 msgid "Deprecated alias to :class:`collections.abc.AsyncGenerator`." msgstr "" -#: library/typing.rst:3464 +#: library/typing.rst:3463 msgid "" "An async generator can be annotated by the generic type " "``AsyncGenerator[YieldType, SendType]``. For example::" msgstr "" -#: library/typing.rst:3473 +#: library/typing.rst:3472 msgid "" "Unlike normal generators, async generators cannot return a value, so there " "is no ``ReturnType`` type parameter. As with :class:`Generator`, the " "``SendType`` behaves contravariantly." msgstr "" -#: library/typing.rst:3477 +#: library/typing.rst:3476 msgid "" "If your generator will only yield values, set the ``SendType`` to ``None``::" msgstr "" -#: library/typing.rst:3485 +#: library/typing.rst:3484 msgid "" "Alternatively, annotate your generator as having a return type of either " "``AsyncIterable[YieldType]`` or ``AsyncIterator[YieldType]``::" msgstr "" -#: library/typing.rst:3495 +#: library/typing.rst:3494 msgid "" ":class:`collections.abc.AsyncGenerator` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3502 +#: library/typing.rst:3501 msgid "Deprecated alias to :class:`collections.abc.AsyncIterable`." msgstr "" -#: library/typing.rst:3506 +#: library/typing.rst:3505 msgid "" ":class:`collections.abc.AsyncIterable` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3512 +#: library/typing.rst:3511 msgid "Deprecated alias to :class:`collections.abc.AsyncIterator`." msgstr "" -#: library/typing.rst:3516 +#: library/typing.rst:3515 msgid "" ":class:`collections.abc.AsyncIterator` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3522 +#: library/typing.rst:3521 msgid "Deprecated alias to :class:`collections.abc.Awaitable`." msgstr "" -#: library/typing.rst:3526 +#: library/typing.rst:3525 msgid "" ":class:`collections.abc.Awaitable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3533 +#: library/typing.rst:3532 msgid "Aliases to other ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3537 +#: library/typing.rst:3536 msgid "Deprecated alias to :class:`collections.abc.Iterable`." msgstr "" -#: library/typing.rst:3539 +#: library/typing.rst:3538 msgid "" ":class:`collections.abc.Iterable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3545 +#: library/typing.rst:3544 msgid "Deprecated alias to :class:`collections.abc.Iterator`." msgstr "" -#: library/typing.rst:3547 +#: library/typing.rst:3546 msgid "" ":class:`collections.abc.Iterator` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3553 +#: library/typing.rst:3552 msgid "Deprecated alias to :class:`collections.abc.Callable`." msgstr "" -#: library/typing.rst:3555 +#: library/typing.rst:3554 msgid "" "See :ref:`annotating-callables` for details on how to use :class:" "`collections.abc.Callable` and ``typing.Callable`` in type annotations." msgstr "" -#: library/typing.rst:3558 +#: library/typing.rst:3557 msgid "" ":class:`collections.abc.Callable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3568 +#: library/typing.rst:3567 msgid "Deprecated alias to :class:`collections.abc.Generator`." msgstr "" -#: library/typing.rst:3570 +#: library/typing.rst:3569 msgid "" "A generator can be annotated by the generic type ``Generator[YieldType, " "SendType, ReturnType]``. For example::" msgstr "" -#: library/typing.rst:3579 +#: library/typing.rst:3578 msgid "" "Note that unlike many other generics in the typing module, the ``SendType`` " "of :class:`Generator` behaves contravariantly, not covariantly or " "invariantly." msgstr "" -#: library/typing.rst:3583 +#: library/typing.rst:3582 msgid "" "If your generator will only yield values, set the ``SendType`` and " "``ReturnType`` to ``None``::" msgstr "" -#: library/typing.rst:3591 +#: library/typing.rst:3590 msgid "" "Alternatively, annotate your generator as having a return type of either " "``Iterable[YieldType]`` or ``Iterator[YieldType]``::" msgstr "" -#: library/typing.rst:3599 +#: library/typing.rst:3598 msgid "" ":class:`collections.abc.Generator` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3605 +#: library/typing.rst:3604 msgid "Deprecated alias to :class:`collections.abc.Hashable`." msgstr "" -#: library/typing.rst:3607 +#: library/typing.rst:3606 msgid "Use :class:`collections.abc.Hashable` directly instead." msgstr "" -#: library/typing.rst:3612 +#: library/typing.rst:3611 msgid "Deprecated alias to :class:`collections.abc.Reversible`." msgstr "" -#: library/typing.rst:3614 +#: library/typing.rst:3613 msgid "" ":class:`collections.abc.Reversible` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3620 +#: library/typing.rst:3619 msgid "Deprecated alias to :class:`collections.abc.Sized`." msgstr "" -#: library/typing.rst:3622 +#: library/typing.rst:3621 msgid "Use :class:`collections.abc.Sized` directly instead." msgstr "" -#: library/typing.rst:3628 +#: library/typing.rst:3627 msgid "Aliases to :mod:`contextlib` ABCs" msgstr "" -#: library/typing.rst:3632 +#: library/typing.rst:3631 msgid "Deprecated alias to :class:`contextlib.AbstractContextManager`." msgstr "" -#: library/typing.rst:3637 +#: library/typing.rst:3636 msgid "" ":class:`contextlib.AbstractContextManager` now supports subscripting " "(``[]``). See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3644 +#: library/typing.rst:3643 msgid "Deprecated alias to :class:`contextlib.AbstractAsyncContextManager`." msgstr "" -#: library/typing.rst:3649 +#: library/typing.rst:3648 msgid "" ":class:`contextlib.AbstractAsyncContextManager` now supports subscripting " "(``[]``). See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3655 +#: library/typing.rst:3654 msgid "Deprecation Timeline of Major Features" msgstr "" -#: library/typing.rst:3657 +#: library/typing.rst:3656 msgid "" "Certain features in ``typing`` are deprecated and may be removed in a future " "version of Python. The following table summarizes major deprecations for " @@ -3402,98 +3404,98 @@ msgid "" "listed." msgstr "" -#: library/typing.rst:3664 +#: library/typing.rst:3663 msgid "Feature" msgstr "" -#: library/typing.rst:3665 +#: library/typing.rst:3664 msgid "Deprecated in" msgstr "" -#: library/typing.rst:3666 +#: library/typing.rst:3665 msgid "Projected removal" msgstr "" -#: library/typing.rst:3667 +#: library/typing.rst:3666 msgid "PEP/issue" msgstr "" -#: library/typing.rst:3668 +#: library/typing.rst:3667 msgid "``typing.io`` and ``typing.re`` submodules" msgstr "" -#: library/typing.rst:3669 +#: library/typing.rst:3668 msgid "3.8" msgstr "" -#: library/typing.rst:3670 +#: library/typing.rst:3669 msgid "3.13" msgstr "" -#: library/typing.rst:3671 +#: library/typing.rst:3670 msgid ":issue:`38291`" msgstr "" -#: library/typing.rst:3672 +#: library/typing.rst:3671 msgid "``typing`` versions of standard collections" msgstr "" -#: library/typing.rst:3677 +#: library/typing.rst:3676 msgid "3.9" msgstr "" -#: library/typing.rst:3674 +#: library/typing.rst:3673 msgid "Undecided (see :ref:`deprecated-aliases` for more information)" msgstr "" -#: library/typing.rst:3675 +#: library/typing.rst:3674 msgid ":pep:`585`" msgstr "" -#: library/typing.rst:3676 +#: library/typing.rst:3675 msgid ":class:`typing.ByteString`" msgstr "" -#: library/typing.rst:3678 +#: library/typing.rst:3677 msgid "3.14" msgstr "" -#: library/typing.rst:3679 +#: library/typing.rst:3678 msgid ":gh:`91896`" msgstr "" -#: library/typing.rst:3680 +#: library/typing.rst:3679 msgid ":data:`typing.Text`" msgstr "" -#: library/typing.rst:3681 +#: library/typing.rst:3680 msgid "3.11" msgstr "" -#: library/typing.rst:3686 library/typing.rst:3690 +#: library/typing.rst:3685 library/typing.rst:3689 msgid "Undecided" msgstr "" -#: library/typing.rst:3683 +#: library/typing.rst:3682 msgid ":gh:`92332`" msgstr "" -#: library/typing.rst:3684 +#: library/typing.rst:3683 msgid ":class:`typing.Hashable` and :class:`typing.Sized`" msgstr "" -#: library/typing.rst:3689 +#: library/typing.rst:3688 msgid "3.12" msgstr "" -#: library/typing.rst:3687 +#: library/typing.rst:3686 msgid ":gh:`94309`" msgstr "" -#: library/typing.rst:3688 +#: library/typing.rst:3687 msgid ":data:`typing.TypeAlias`" msgstr "" -#: library/typing.rst:3691 +#: library/typing.rst:3690 msgid ":pep:`695`" msgstr "" diff --git a/library/unittest.mock.po b/library/unittest.mock.po index 5cce870c1..b17eb0318 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -645,70 +645,71 @@ msgstr "" #: library/unittest.mock.rst:823 msgid "" -"A mock intended to be used as a property, or other descriptor, on a class. :" -"class:`PropertyMock` provides :meth:`__get__` and :meth:`__set__` methods so " -"you can specify a return value when it is fetched." +"A mock intended to be used as a :class:`property`, or other :term:" +"`descriptor`, on a class. :class:`PropertyMock` provides :meth:`~object." +"__get__` and :meth:`~object.__set__` methods so you can specify a return " +"value when it is fetched." msgstr "" -#: library/unittest.mock.rst:827 +#: library/unittest.mock.rst:828 msgid "" "Fetching a :class:`PropertyMock` instance from an object calls the mock, " "with no args. Setting it calls the mock with the value being set. ::" msgstr "" -#: library/unittest.mock.rst:848 +#: library/unittest.mock.rst:849 msgid "" "Because of the way mock attributes are stored you can't directly attach a :" "class:`PropertyMock` to a mock object. Instead you can attach it to the mock " "type object::" msgstr "" -#: library/unittest.mock.rst:862 +#: library/unittest.mock.rst:863 msgid "" "An asynchronous version of :class:`MagicMock`. The :class:`AsyncMock` object " "will behave so the object is recognized as an async function, and the result " "of a call is an awaitable." msgstr "" -#: library/unittest.mock.rst:872 +#: library/unittest.mock.rst:873 msgid "" "The result of ``mock()`` is an async function which will have the outcome of " "``side_effect`` or ``return_value`` after it has been awaited:" msgstr "" -#: library/unittest.mock.rst:875 +#: library/unittest.mock.rst:876 msgid "" "if ``side_effect`` is a function, the async function will return the result " "of that function," msgstr "" -#: library/unittest.mock.rst:877 +#: library/unittest.mock.rst:878 msgid "" "if ``side_effect`` is an exception, the async function will raise the " "exception," msgstr "" -#: library/unittest.mock.rst:879 +#: library/unittest.mock.rst:880 msgid "" "if ``side_effect`` is an iterable, the async function will return the next " "value of the iterable, however, if the sequence of result is exhausted, " "``StopAsyncIteration`` is raised immediately," msgstr "" -#: library/unittest.mock.rst:882 +#: library/unittest.mock.rst:883 msgid "" "if ``side_effect`` is not defined, the async function will return the value " "defined by ``return_value``, hence, by default, the async function returns a " "new :class:`AsyncMock` object." msgstr "" -#: library/unittest.mock.rst:887 +#: library/unittest.mock.rst:888 msgid "" "Setting the *spec* of a :class:`Mock` or :class:`MagicMock` to an async " "function will result in a coroutine object being returned after calling." msgstr "" -#: library/unittest.mock.rst:899 +#: library/unittest.mock.rst:900 msgid "" "Setting the *spec* of a :class:`Mock`, :class:`MagicMock`, or :class:" "`AsyncMock` to a class with asynchronous and synchronous functions will " @@ -718,82 +719,82 @@ msgid "" "functions will be :class:`AsyncMock`." msgstr "" -#: library/unittest.mock.rst:927 +#: library/unittest.mock.rst:928 msgid "" "Assert that the mock was awaited at least once. Note that this is separate " "from the object having been called, the ``await`` keyword must be used:" msgstr "" -#: library/unittest.mock.rst:946 +#: library/unittest.mock.rst:947 msgid "Assert that the mock was awaited exactly once." msgstr "" -#: library/unittest.mock.rst:962 +#: library/unittest.mock.rst:963 msgid "Assert that the last await was with the specified arguments." msgstr "" -#: library/unittest.mock.rst:979 +#: library/unittest.mock.rst:980 msgid "" "Assert that the mock was awaited exactly once and with the specified " "arguments." msgstr "" -#: library/unittest.mock.rst:996 +#: library/unittest.mock.rst:997 msgid "Assert the mock has ever been awaited with the specified arguments." msgstr "" -#: library/unittest.mock.rst:1012 +#: library/unittest.mock.rst:1013 msgid "" "Assert the mock has been awaited with the specified calls. The :attr:" "`await_args_list` list is checked for the awaits." msgstr "" -#: library/unittest.mock.rst:1015 +#: library/unittest.mock.rst:1016 msgid "" "If *any_order* is false then the awaits must be sequential. There can be " "extra calls before or after the specified awaits." msgstr "" -#: library/unittest.mock.rst:1019 +#: library/unittest.mock.rst:1020 msgid "" "If *any_order* is true then the awaits can be in any order, but they must " "all appear in :attr:`await_args_list`." msgstr "" -#: library/unittest.mock.rst:1039 +#: library/unittest.mock.rst:1040 msgid "Assert that the mock was never awaited." msgstr "" -#: library/unittest.mock.rst:1046 +#: library/unittest.mock.rst:1047 msgid "" "See :func:`Mock.reset_mock`. Also sets :attr:`await_count` to 0, :attr:" "`await_args` to None, and clears the :attr:`await_args_list`." msgstr "" -#: library/unittest.mock.rst:1051 +#: library/unittest.mock.rst:1052 msgid "" "An integer keeping track of how many times the mock object has been awaited." msgstr "" -#: library/unittest.mock.rst:1066 +#: library/unittest.mock.rst:1067 msgid "" "This is either ``None`` (if the mock hasn’t been awaited), or the arguments " "that the mock was last awaited with. Functions the same as :attr:`Mock." "call_args`." msgstr "" -#: library/unittest.mock.rst:1084 +#: library/unittest.mock.rst:1085 msgid "" "This is a list of all the awaits made to the mock object in sequence (so the " "length of the list is the number of times it has been awaited). Before any " "awaits have been made it is an empty list." msgstr "" -#: library/unittest.mock.rst:1103 +#: library/unittest.mock.rst:1104 msgid "Calling" msgstr "" -#: library/unittest.mock.rst:1105 +#: library/unittest.mock.rst:1106 msgid "" "Mock objects are callable. The call will return the value set as the :attr:" "`~Mock.return_value` attribute. The default return value is a new Mock " @@ -802,26 +803,26 @@ msgid "" "returned each time." msgstr "" -#: library/unittest.mock.rst:1111 +#: library/unittest.mock.rst:1112 msgid "" "Calls made to the object will be recorded in the attributes like :attr:" "`~Mock.call_args` and :attr:`~Mock.call_args_list`." msgstr "" -#: library/unittest.mock.rst:1114 +#: library/unittest.mock.rst:1115 msgid "" "If :attr:`~Mock.side_effect` is set then it will be called after the call " "has been recorded, so if :attr:`side_effect` raises an exception the call is " "still recorded." msgstr "" -#: library/unittest.mock.rst:1118 +#: library/unittest.mock.rst:1119 msgid "" "The simplest way to make a mock raise an exception when called is to make :" "attr:`~Mock.side_effect` an exception class or instance:" msgstr "" -#: library/unittest.mock.rst:1136 +#: library/unittest.mock.rst:1137 msgid "" "If :attr:`side_effect` is a function then whatever that function returns is " "what calls to the mock return. The :attr:`side_effect` function is called " @@ -829,7 +830,7 @@ msgid "" "value of the call dynamically, based on the input:" msgstr "" -#: library/unittest.mock.rst:1152 +#: library/unittest.mock.rst:1153 msgid "" "If you want the mock to still return the default return value (a new mock), " "or any set return value, then there are two ways of doing this. Either " @@ -837,36 +838,36 @@ msgid "" "data:`DEFAULT`:" msgstr "" -#: library/unittest.mock.rst:1171 +#: library/unittest.mock.rst:1172 msgid "" "To remove a :attr:`side_effect`, and return to the default behaviour, set " "the :attr:`side_effect` to ``None``:" msgstr "" -#: library/unittest.mock.rst:1185 +#: library/unittest.mock.rst:1186 msgid "" "The :attr:`side_effect` can also be any iterable object. Repeated calls to " "the mock will return values from the iterable (until the iterable is " "exhausted and a :exc:`StopIteration` is raised):" msgstr "" -#: library/unittest.mock.rst:1201 +#: library/unittest.mock.rst:1202 msgid "" "If any members of the iterable are exceptions they will be raised instead of " "returned::" msgstr "" -#: library/unittest.mock.rst:1219 +#: library/unittest.mock.rst:1220 msgid "Deleting Attributes" msgstr "" -#: library/unittest.mock.rst:1221 +#: library/unittest.mock.rst:1222 msgid "" "Mock objects create attributes on demand. This allows them to pretend to be " "objects of any type." msgstr "" -#: library/unittest.mock.rst:1224 +#: library/unittest.mock.rst:1225 msgid "" "You may want a mock object to return ``False`` to a :func:`hasattr` call, or " "raise an :exc:`AttributeError` when an attribute is fetched. You can do this " @@ -874,17 +875,17 @@ msgid "" "convenient." msgstr "" -#: library/unittest.mock.rst:1228 +#: library/unittest.mock.rst:1229 msgid "" "You \"block\" attributes by deleting them. Once deleted, accessing an " "attribute will raise an :exc:`AttributeError`." msgstr "" -#: library/unittest.mock.rst:1245 +#: library/unittest.mock.rst:1246 msgid "Mock names and the name attribute" msgstr "" -#: library/unittest.mock.rst:1247 +#: library/unittest.mock.rst:1248 msgid "" "Since \"name\" is an argument to the :class:`Mock` constructor, if you want " "your mock object to have a \"name\" attribute you can't just pass it in at " @@ -892,17 +893,17 @@ msgid "" "configure_mock`::" msgstr "" -#: library/unittest.mock.rst:1257 +#: library/unittest.mock.rst:1258 msgid "" "A simpler option is to simply set the \"name\" attribute after mock " "creation::" msgstr "" -#: library/unittest.mock.rst:1264 +#: library/unittest.mock.rst:1265 msgid "Attaching Mocks as Attributes" msgstr "" -#: library/unittest.mock.rst:1266 +#: library/unittest.mock.rst:1267 msgid "" "When you attach a mock as an attribute of another mock (or as the return " "value) it becomes a \"child\" of that mock. Calls to the child are recorded " @@ -913,20 +914,20 @@ msgid "" "calls between mocks:" msgstr "" -#: library/unittest.mock.rst:1284 +#: library/unittest.mock.rst:1285 msgid "" "The exception to this is if the mock has a name. This allows you to prevent " "the \"parenting\" if for some reason you don't want it to happen." msgstr "" -#: library/unittest.mock.rst:1295 +#: library/unittest.mock.rst:1296 msgid "" "Mocks created for you by :func:`patch` are automatically given names. To " "attach mocks that have names to a parent you use the :meth:`~Mock." "attach_mock` method::" msgstr "" -#: library/unittest.mock.rst:1313 +#: library/unittest.mock.rst:1314 msgid "" "The only exceptions are magic methods and attributes (those that have " "leading and trailing double underscores). Mock doesn't create these but " @@ -936,11 +937,11 @@ msgid "" "support see :ref:`magic methods `." msgstr "" -#: library/unittest.mock.rst:1322 +#: library/unittest.mock.rst:1323 msgid "The patchers" msgstr "" -#: library/unittest.mock.rst:1324 +#: library/unittest.mock.rst:1325 msgid "" "The patch decorators are used for patching objects only within the scope of " "the function they decorate. They automatically handle the unpatching for " @@ -948,17 +949,17 @@ msgid "" "in with statements or as class decorators." msgstr "" -#: library/unittest.mock.rst:1331 +#: library/unittest.mock.rst:1332 msgid "patch" msgstr "" -#: library/unittest.mock.rst:1335 +#: library/unittest.mock.rst:1336 msgid "" "The key is to do the patching in the right namespace. See the section `where " "to patch`_." msgstr "" -#: library/unittest.mock.rst:1339 +#: library/unittest.mock.rst:1340 msgid "" ":func:`patch` acts as a function decorator, class decorator or a context " "manager. Inside the body of the function or with statement, the *target* is " @@ -966,7 +967,7 @@ msgid "" "patch is undone." msgstr "" -#: library/unittest.mock.rst:1344 +#: library/unittest.mock.rst:1345 msgid "" "If *new* is omitted, then the target is replaced with an :class:`AsyncMock` " "if the patched object is an async function or a :class:`MagicMock` " @@ -976,7 +977,7 @@ msgid "" "by the context manager." msgstr "" -#: library/unittest.mock.rst:1352 +#: library/unittest.mock.rst:1353 msgid "" "*target* should be a string in the form ``'package.module.ClassName'``. The " "*target* is imported and the specified object replaced with the *new* " @@ -985,26 +986,26 @@ msgid "" "function is executed, not at decoration time." msgstr "" -#: library/unittest.mock.rst:1358 +#: library/unittest.mock.rst:1359 msgid "" "The *spec* and *spec_set* keyword arguments are passed to the :class:" "`MagicMock` if patch is creating one for you." msgstr "" -#: library/unittest.mock.rst:1361 +#: library/unittest.mock.rst:1362 msgid "" "In addition you can pass ``spec=True`` or ``spec_set=True``, which causes " "patch to pass in the object being mocked as the spec/spec_set object." msgstr "" -#: library/unittest.mock.rst:1364 +#: library/unittest.mock.rst:1365 msgid "" "*new_callable* allows you to specify a different class, or callable object, " "that will be called to create the *new* object. By default :class:" "`AsyncMock` is used for async functions and :class:`MagicMock` for the rest." msgstr "" -#: library/unittest.mock.rst:1368 +#: library/unittest.mock.rst:1369 msgid "" "A more powerful form of *spec* is *autospec*. If you set ``autospec=True`` " "then the mock will be created with a spec from the object being replaced. " @@ -1016,13 +1017,13 @@ msgid "" "func:`create_autospec` function and :ref:`auto-speccing`." msgstr "" -#: library/unittest.mock.rst:1378 +#: library/unittest.mock.rst:1379 msgid "" "Instead of ``autospec=True`` you can pass ``autospec=some_object`` to use an " "arbitrary object as the spec instead of the one being replaced." msgstr "" -#: library/unittest.mock.rst:1381 +#: library/unittest.mock.rst:1382 msgid "" "By default :func:`patch` will fail to replace attributes that don't exist. " "If you pass in ``create=True``, and the attribute doesn't exist, patch will " @@ -1033,13 +1034,13 @@ msgid "" "write passing tests against APIs that don't actually exist!" msgstr "" -#: library/unittest.mock.rst:1391 +#: library/unittest.mock.rst:1392 msgid "" "If you are patching builtins in a module then you don't need to pass " "``create=True``, it will be added by default." msgstr "" -#: library/unittest.mock.rst:1395 +#: library/unittest.mock.rst:1396 msgid "" "Patch can be used as a :class:`TestCase` class decorator. It works by " "decorating each test method in the class. This reduces the boilerplate code " @@ -1050,7 +1051,7 @@ msgid "" "TEST_PREFIX``." msgstr "" -#: library/unittest.mock.rst:1402 +#: library/unittest.mock.rst:1403 msgid "" "Patch can be used as a context manager, with the with statement. Here the " "patching applies to the indented block after the with statement. If you use " @@ -1058,65 +1059,65 @@ msgid "" "very useful if :func:`patch` is creating a mock object for you." msgstr "" -#: library/unittest.mock.rst:1407 +#: library/unittest.mock.rst:1408 msgid "" ":func:`patch` takes arbitrary keyword arguments. These will be passed to :" "class:`AsyncMock` if the patched object is asynchronous, to :class:" "`MagicMock` otherwise or to *new_callable* if specified." msgstr "" -#: library/unittest.mock.rst:1411 +#: library/unittest.mock.rst:1412 msgid "" "``patch.dict(...)``, ``patch.multiple(...)`` and ``patch.object(...)`` are " "available for alternate use-cases." msgstr "" -#: library/unittest.mock.rst:1414 +#: library/unittest.mock.rst:1415 msgid "" ":func:`patch` as function decorator, creating the mock for you and passing " "it into the decorated function::" msgstr "" -#: library/unittest.mock.rst:1424 +#: library/unittest.mock.rst:1425 msgid "" "Patching a class replaces the class with a :class:`MagicMock` *instance*. If " "the class is instantiated in the code under test then it will be the :attr:" "`~Mock.return_value` of the mock that will be used." msgstr "" -#: library/unittest.mock.rst:1428 +#: library/unittest.mock.rst:1429 msgid "" "If the class is instantiated multiple times you could use :attr:`~Mock." "side_effect` to return a new mock each time. Alternatively you can set the " "*return_value* to be anything you want." msgstr "" -#: library/unittest.mock.rst:1432 +#: library/unittest.mock.rst:1433 msgid "" "To configure return values on methods of *instances* on the patched class " "you must do this on the :attr:`return_value`. For example::" msgstr "" -#: library/unittest.mock.rst:1446 +#: library/unittest.mock.rst:1447 msgid "" "If you use *spec* or *spec_set* and :func:`patch` is replacing a *class*, " "then the return value of the created mock will have the same spec. ::" msgstr "" -#: library/unittest.mock.rst:1456 +#: library/unittest.mock.rst:1457 msgid "" "The *new_callable* argument is useful where you want to use an alternative " "class to the default :class:`MagicMock` for the created mock. For example, " "if you wanted a :class:`NonCallableMock` to be used::" msgstr "" -#: library/unittest.mock.rst:1469 +#: library/unittest.mock.rst:1470 msgid "" "Another use case might be to replace an object with an :class:`io.StringIO` " "instance::" msgstr "" -#: library/unittest.mock.rst:1482 +#: library/unittest.mock.rst:1483 msgid "" "When :func:`patch` is creating a mock for you, it is common that the first " "thing you need to do is to configure the mock. Some of that configuration " @@ -1124,7 +1125,7 @@ msgid "" "call will be used to set attributes on the created mock::" msgstr "" -#: library/unittest.mock.rst:1494 +#: library/unittest.mock.rst:1495 msgid "" "As well as attributes on the created mock attributes, like the :attr:`~Mock." "return_value` and :attr:`~Mock.side_effect`, of child mocks can also be " @@ -1133,36 +1134,36 @@ msgid "" "func:`patch` call using ``**``::" msgstr "" -#: library/unittest.mock.rst:1510 +#: library/unittest.mock.rst:1511 msgid "" "By default, attempting to patch a function in a module (or a method or an " "attribute in a class) that does not exist will fail with :exc:" "`AttributeError`::" msgstr "" -#: library/unittest.mock.rst:1522 +#: library/unittest.mock.rst:1523 msgid "" "but adding ``create=True`` in the call to :func:`patch` will make the " "previous example work as expected::" msgstr "" -#: library/unittest.mock.rst:1533 +#: library/unittest.mock.rst:1534 msgid "" ":func:`patch` now returns an :class:`AsyncMock` if the target is an async " "function." msgstr "" -#: library/unittest.mock.rst:1537 +#: library/unittest.mock.rst:1538 msgid "patch.object" msgstr "" -#: library/unittest.mock.rst:1541 +#: library/unittest.mock.rst:1542 msgid "" "patch the named member (*attribute*) on an object (*target*) with a mock " "object." msgstr "" -#: library/unittest.mock.rst:1544 +#: library/unittest.mock.rst:1545 msgid "" ":func:`patch.object` can be used as a decorator, class decorator or a " "context manager. Arguments *new*, *spec*, *create*, *spec_set*, *autospec* " @@ -1171,132 +1172,133 @@ msgid "" "configuring the mock object it creates." msgstr "" -#: library/unittest.mock.rst:1550 +#: library/unittest.mock.rst:1551 msgid "" "When used as a class decorator :func:`patch.object` honours ``patch." "TEST_PREFIX`` for choosing which methods to wrap." msgstr "" -#: library/unittest.mock.rst:1553 +#: library/unittest.mock.rst:1554 msgid "" "You can either call :func:`patch.object` with three arguments or two " "arguments. The three argument form takes the object to be patched, the " "attribute name and the object to replace the attribute with." msgstr "" -#: library/unittest.mock.rst:1557 +#: library/unittest.mock.rst:1558 msgid "" "When calling with the two argument form you omit the replacement object, and " "a mock is created for you and passed in as an extra argument to the " "decorated function:" msgstr "" -#: library/unittest.mock.rst:1568 +#: library/unittest.mock.rst:1569 msgid "" "*spec*, *create* and the other arguments to :func:`patch.object` have the " "same meaning as they do for :func:`patch`." msgstr "" -#: library/unittest.mock.rst:1573 +#: library/unittest.mock.rst:1574 msgid "patch.dict" msgstr "" -#: library/unittest.mock.rst:1577 +#: library/unittest.mock.rst:1578 msgid "" "Patch a dictionary, or dictionary like object, and restore the dictionary to " "its original state after the test." msgstr "" -#: library/unittest.mock.rst:1580 +#: library/unittest.mock.rst:1581 msgid "" "*in_dict* can be a dictionary or a mapping like container. If it is a " "mapping then it must at least support getting, setting and deleting items " "plus iterating over keys." msgstr "" -#: library/unittest.mock.rst:1584 +#: library/unittest.mock.rst:1585 msgid "" "*in_dict* can also be a string specifying the name of the dictionary, which " "will then be fetched by importing it." msgstr "" -#: library/unittest.mock.rst:1587 +#: library/unittest.mock.rst:1588 msgid "" "*values* can be a dictionary of values to set in the dictionary. *values* " "can also be an iterable of ``(key, value)`` pairs." msgstr "" -#: library/unittest.mock.rst:1590 +#: library/unittest.mock.rst:1591 msgid "" "If *clear* is true then the dictionary will be cleared before the new values " "are set." msgstr "" -#: library/unittest.mock.rst:1593 +#: library/unittest.mock.rst:1594 msgid "" ":func:`patch.dict` can also be called with arbitrary keyword arguments to " "set values in the dictionary." msgstr "" -#: library/unittest.mock.rst:1598 +#: library/unittest.mock.rst:1599 msgid "" ":func:`patch.dict` now returns the patched dictionary when used as a context " "manager." msgstr "" -#: library/unittest.mock.rst:1601 +#: library/unittest.mock.rst:1602 msgid "" ":func:`patch.dict` can be used as a context manager, decorator or class " "decorator:" msgstr "" -#: library/unittest.mock.rst:1612 +#: library/unittest.mock.rst:1613 msgid "" "When used as a class decorator :func:`patch.dict` honours ``patch." "TEST_PREFIX`` (default to ``'test'``) for choosing which methods to wrap:" msgstr "" -#: library/unittest.mock.rst:1623 +#: library/unittest.mock.rst:1624 msgid "" "If you want to use a different prefix for your test, you can inform the " "patchers of the different prefix by setting ``patch.TEST_PREFIX``. For more " "details about how to change the value of see :ref:`test-prefix`." msgstr "" -#: library/unittest.mock.rst:1627 +#: library/unittest.mock.rst:1628 msgid "" ":func:`patch.dict` can be used to add members to a dictionary, or simply let " "a test change a dictionary, and ensure the dictionary is restored when the " "test ends." msgstr "" -#: library/unittest.mock.rst:1648 +#: library/unittest.mock.rst:1649 msgid "" "Keywords can be used in the :func:`patch.dict` call to set values in the " "dictionary:" msgstr "" -#: library/unittest.mock.rst:1658 +#: library/unittest.mock.rst:1659 msgid "" ":func:`patch.dict` can be used with dictionary like objects that aren't " "actually dictionaries. At the very minimum they must support item getting, " "setting, deleting and either iteration or membership test. This corresponds " -"to the magic methods :meth:`~object.__getitem__`, :meth:`__setitem__`, :meth:" -"`__delitem__` and either :meth:`__iter__` or :meth:`__contains__`." +"to the magic methods :meth:`~object.__getitem__`, :meth:`~object." +"__setitem__`, :meth:`~object.__delitem__` and either :meth:`~container." +"__iter__` or :meth:`~object.__contains__`." msgstr "" -#: library/unittest.mock.rst:1687 +#: library/unittest.mock.rst:1689 msgid "patch.multiple" msgstr "" -#: library/unittest.mock.rst:1691 +#: library/unittest.mock.rst:1693 msgid "" "Perform multiple patches in a single call. It takes the object to be patched " "(either as an object or a string to fetch the object by importing) and " "keyword arguments for the patches::" msgstr "" -#: library/unittest.mock.rst:1698 +#: library/unittest.mock.rst:1700 msgid "" "Use :data:`DEFAULT` as the value if you want :func:`patch.multiple` to " "create mocks for you. In this case the created mocks are passed into a " @@ -1304,7 +1306,7 @@ msgid "" "`patch.multiple` is used as a context manager." msgstr "" -#: library/unittest.mock.rst:1703 +#: library/unittest.mock.rst:1705 msgid "" ":func:`patch.multiple` can be used as a decorator, class decorator or a " "context manager. The arguments *spec*, *spec_set*, *create*, *autospec* and " @@ -1312,13 +1314,13 @@ msgid "" "will be applied to *all* patches done by :func:`patch.multiple`." msgstr "" -#: library/unittest.mock.rst:1708 +#: library/unittest.mock.rst:1710 msgid "" "When used as a class decorator :func:`patch.multiple` honours ``patch." "TEST_PREFIX`` for choosing which methods to wrap." msgstr "" -#: library/unittest.mock.rst:1711 +#: library/unittest.mock.rst:1713 msgid "" "If you want :func:`patch.multiple` to create mocks for you, then you can " "use :data:`DEFAULT` as the value. If you use :func:`patch.multiple` as a " @@ -1326,32 +1328,32 @@ msgid "" "keyword. ::" msgstr "" -#: library/unittest.mock.rst:1725 +#: library/unittest.mock.rst:1727 msgid "" ":func:`patch.multiple` can be nested with other ``patch`` decorators, but " "put arguments passed by keyword *after* any of the standard arguments " "created by :func:`patch`::" msgstr "" -#: library/unittest.mock.rst:1737 +#: library/unittest.mock.rst:1739 msgid "" "If :func:`patch.multiple` is used as a context manager, the value returned " "by the context manager is a dictionary where created mocks are keyed by " "name::" msgstr "" -#: library/unittest.mock.rst:1751 +#: library/unittest.mock.rst:1753 msgid "patch methods: start and stop" msgstr "" -#: library/unittest.mock.rst:1753 +#: library/unittest.mock.rst:1755 msgid "" "All the patchers have :meth:`start` and :meth:`stop` methods. These make it " "simpler to do patching in ``setUp`` methods or where you want to do multiple " "patches without nesting decorators or with statements." msgstr "" -#: library/unittest.mock.rst:1757 +#: library/unittest.mock.rst:1759 msgid "" "To use them call :func:`patch`, :func:`patch.object` or :func:`patch.dict` " "as normal and keep a reference to the returned ``patcher`` object. You can " @@ -1359,19 +1361,19 @@ msgid "" "it." msgstr "" -#: library/unittest.mock.rst:1761 +#: library/unittest.mock.rst:1763 msgid "" "If you are using :func:`patch` to create a mock for you then it will be " "returned by the call to ``patcher.start``. ::" msgstr "" -#: library/unittest.mock.rst:1775 +#: library/unittest.mock.rst:1777 msgid "" "A typical use case for this might be for doing multiple patches in the " "``setUp`` method of a :class:`TestCase`::" msgstr "" -#: library/unittest.mock.rst:1797 +#: library/unittest.mock.rst:1799 msgid "" "If you use this technique you must ensure that the patching is \"undone\" by " "calling ``stop``. This can be fiddlier than you might think, because if an " @@ -1379,37 +1381,37 @@ msgid "" "`unittest.TestCase.addCleanup` makes this easier::" msgstr "" -#: library/unittest.mock.rst:1812 +#: library/unittest.mock.rst:1814 msgid "" "As an added bonus you no longer need to keep a reference to the ``patcher`` " "object." msgstr "" -#: library/unittest.mock.rst:1815 +#: library/unittest.mock.rst:1817 msgid "" "It is also possible to stop all patches which have been started by using :" "func:`patch.stopall`." msgstr "" -#: library/unittest.mock.rst:1820 +#: library/unittest.mock.rst:1822 msgid "Stop all active patches. Only stops patches started with ``start``." msgstr "" -#: library/unittest.mock.rst:1826 +#: library/unittest.mock.rst:1828 msgid "patch builtins" msgstr "" -#: library/unittest.mock.rst:1827 +#: library/unittest.mock.rst:1829 msgid "" "You can patch any builtins within a module. The following example patches " "builtin :func:`ord`::" msgstr "" -#: library/unittest.mock.rst:1842 +#: library/unittest.mock.rst:1844 msgid "TEST_PREFIX" msgstr "" -#: library/unittest.mock.rst:1844 +#: library/unittest.mock.rst:1846 msgid "" "All of the patchers can be used as class decorators. When used in this way " "they wrap every test method on the class. The patchers recognise methods " @@ -1417,39 +1419,39 @@ msgid "" "the :class:`unittest.TestLoader` finds test methods by default." msgstr "" -#: library/unittest.mock.rst:1849 +#: library/unittest.mock.rst:1851 msgid "" "It is possible that you want to use a different prefix for your tests. You " "can inform the patchers of the different prefix by setting ``patch." "TEST_PREFIX``::" msgstr "" -#: library/unittest.mock.rst:1872 +#: library/unittest.mock.rst:1874 msgid "Nesting Patch Decorators" msgstr "" -#: library/unittest.mock.rst:1874 +#: library/unittest.mock.rst:1876 msgid "" "If you want to perform multiple patches then you can simply stack up the " "decorators." msgstr "" -#: library/unittest.mock.rst:1877 +#: library/unittest.mock.rst:1879 msgid "You can stack up multiple patch decorators using this pattern:" msgstr "" -#: library/unittest.mock.rst:1893 +#: library/unittest.mock.rst:1895 msgid "" "Note that the decorators are applied from the bottom upwards. This is the " "standard way that Python applies decorators. The order of the created mocks " "passed into your test function matches this order." msgstr "" -#: library/unittest.mock.rst:1901 +#: library/unittest.mock.rst:1903 msgid "Where to patch" msgstr "" -#: library/unittest.mock.rst:1903 +#: library/unittest.mock.rst:1905 msgid "" ":func:`patch` works by (temporarily) changing the object that a *name* " "points to with another one. There can be many names pointing to any " @@ -1457,19 +1459,19 @@ msgid "" "the name used by the system under test." msgstr "" -#: library/unittest.mock.rst:1908 +#: library/unittest.mock.rst:1910 msgid "" "The basic principle is that you patch where an object is *looked up*, which " "is not necessarily the same place as where it is defined. A couple of " "examples will help to clarify this." msgstr "" -#: library/unittest.mock.rst:1912 +#: library/unittest.mock.rst:1914 msgid "" "Imagine we have a project that we want to test with the following structure::" msgstr "" -#: library/unittest.mock.rst:1921 +#: library/unittest.mock.rst:1923 msgid "" "Now we want to test ``some_function`` but we want to mock out ``SomeClass`` " "using :func:`patch`. The problem is that when we import module b, which we " @@ -1479,7 +1481,7 @@ msgid "" "like our patching had no effect." msgstr "" -#: library/unittest.mock.rst:1928 +#: library/unittest.mock.rst:1930 msgid "" "The key is to patch out ``SomeClass`` where it is used (or where it is " "looked up). In this case ``some_function`` will actually look up " @@ -1487,7 +1489,7 @@ msgid "" "look like::" msgstr "" -#: library/unittest.mock.rst:1934 +#: library/unittest.mock.rst:1936 msgid "" "However, consider the alternative scenario where instead of ``from a import " "SomeClass`` module b does ``import a`` and ``some_function`` uses ``a." @@ -1496,11 +1498,11 @@ msgid "" "``a.SomeClass`` instead::" msgstr "" -#: library/unittest.mock.rst:1943 +#: library/unittest.mock.rst:1945 msgid "Patching Descriptors and Proxy Objects" msgstr "" -#: library/unittest.mock.rst:1945 +#: library/unittest.mock.rst:1947 msgid "" "Both patch_ and patch.object_ correctly patch and restore descriptors: class " "methods, static methods and properties. You should patch these on the " @@ -1510,22 +1512,22 @@ msgid "" "arch_d7_2010_12_04.shtml#e1198>`_." msgstr "" -#: library/unittest.mock.rst:1953 +#: library/unittest.mock.rst:1955 msgid "MagicMock and magic method support" msgstr "" -#: library/unittest.mock.rst:1958 +#: library/unittest.mock.rst:1960 msgid "Mocking Magic Methods" msgstr "" -#: library/unittest.mock.rst:1960 +#: library/unittest.mock.rst:1962 msgid "" ":class:`Mock` supports mocking the Python protocol methods, also known as " "\"magic methods\". This allows mock objects to replace containers or other " "objects that implement Python protocols." msgstr "" -#: library/unittest.mock.rst:1964 +#: library/unittest.mock.rst:1966 msgid "" "Because magic methods are looked up differently from normal methods [#]_, " "this support has been specially implemented. This means that only specific " @@ -1533,72 +1535,72 @@ msgid "" "them. If there are any missing that you need please let us know." msgstr "" -#: library/unittest.mock.rst:1969 +#: library/unittest.mock.rst:1971 msgid "" "You mock magic methods by setting the method you are interested in to a " "function or a mock instance. If you are using a function then it *must* take " "``self`` as the first argument [#]_." msgstr "" -#: library/unittest.mock.rst:1992 +#: library/unittest.mock.rst:1994 msgid "" "One use case for this is for mocking objects used as context managers in a :" "keyword:`with` statement:" msgstr "" -#: library/unittest.mock.rst:2004 +#: library/unittest.mock.rst:2006 msgid "" "Calls to magic methods do not appear in :attr:`~Mock.method_calls`, but they " "are recorded in :attr:`~Mock.mock_calls`." msgstr "" -#: library/unittest.mock.rst:2009 +#: library/unittest.mock.rst:2011 msgid "" "If you use the *spec* keyword argument to create a mock then attempting to " "set a magic method that isn't in the spec will raise an :exc:" "`AttributeError`." msgstr "" -#: library/unittest.mock.rst:2012 +#: library/unittest.mock.rst:2014 msgid "The full list of supported magic methods is:" msgstr "" -#: library/unittest.mock.rst:2014 +#: library/unittest.mock.rst:2016 msgid "``__hash__``, ``__sizeof__``, ``__repr__`` and ``__str__``" msgstr "" -#: library/unittest.mock.rst:2015 +#: library/unittest.mock.rst:2017 msgid "``__dir__``, ``__format__`` and ``__subclasses__``" msgstr "" -#: library/unittest.mock.rst:2016 +#: library/unittest.mock.rst:2018 msgid "``__round__``, ``__floor__``, ``__trunc__`` and ``__ceil__``" msgstr "" -#: library/unittest.mock.rst:2017 +#: library/unittest.mock.rst:2019 msgid "" "Comparisons: ``__lt__``, ``__gt__``, ``__le__``, ``__ge__``, ``__eq__`` and " "``__ne__``" msgstr "" -#: library/unittest.mock.rst:2019 +#: library/unittest.mock.rst:2021 msgid "" "Container methods: ``__getitem__``, ``__setitem__``, ``__delitem__``, " "``__contains__``, ``__len__``, ``__iter__``, ``__reversed__`` and " "``__missing__``" msgstr "" -#: library/unittest.mock.rst:2022 +#: library/unittest.mock.rst:2024 msgid "" "Context manager: ``__enter__``, ``__exit__``, ``__aenter__`` and " "``__aexit__``" msgstr "" -#: library/unittest.mock.rst:2023 +#: library/unittest.mock.rst:2025 msgid "Unary numeric methods: ``__neg__``, ``__pos__`` and ``__invert__``" msgstr "" -#: library/unittest.mock.rst:2024 +#: library/unittest.mock.rst:2026 msgid "" "The numeric methods (including right hand and in-place variants): " "``__add__``, ``__sub__``, ``__mul__``, ``__matmul__``, ``__truediv__``, " @@ -1606,100 +1608,100 @@ msgid "" "``__rshift__``, ``__and__``, ``__xor__``, ``__or__``, and ``__pow__``" msgstr "" -#: library/unittest.mock.rst:2028 +#: library/unittest.mock.rst:2030 msgid "" "Numeric conversion methods: ``__complex__``, ``__int__``, ``__float__`` and " "``__index__``" msgstr "" -#: library/unittest.mock.rst:2030 +#: library/unittest.mock.rst:2032 msgid "Descriptor methods: ``__get__``, ``__set__`` and ``__delete__``" msgstr "" -#: library/unittest.mock.rst:2031 +#: library/unittest.mock.rst:2033 msgid "" "Pickling: ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, " "``__getnewargs__``, ``__getstate__`` and ``__setstate__``" msgstr "" -#: library/unittest.mock.rst:2033 +#: library/unittest.mock.rst:2035 msgid "File system path representation: ``__fspath__``" msgstr "" -#: library/unittest.mock.rst:2034 +#: library/unittest.mock.rst:2036 msgid "Asynchronous iteration methods: ``__aiter__`` and ``__anext__``" msgstr "" -#: library/unittest.mock.rst:2036 +#: library/unittest.mock.rst:2038 msgid "Added support for :func:`os.PathLike.__fspath__`." msgstr "" -#: library/unittest.mock.rst:2039 +#: library/unittest.mock.rst:2041 msgid "" "Added support for ``__aenter__``, ``__aexit__``, ``__aiter__`` and " "``__anext__``." msgstr "" -#: library/unittest.mock.rst:2043 +#: library/unittest.mock.rst:2045 msgid "" "The following methods exist but are *not* supported as they are either in " "use by mock, can't be set dynamically, or can cause problems:" msgstr "" -#: library/unittest.mock.rst:2046 +#: library/unittest.mock.rst:2048 msgid "``__getattr__``, ``__setattr__``, ``__init__`` and ``__new__``" msgstr "" -#: library/unittest.mock.rst:2047 +#: library/unittest.mock.rst:2049 msgid "" "``__prepare__``, ``__instancecheck__``, ``__subclasscheck__``, ``__del__``" msgstr "" -#: library/unittest.mock.rst:2052 +#: library/unittest.mock.rst:2054 msgid "Magic Mock" msgstr "" -#: library/unittest.mock.rst:2054 +#: library/unittest.mock.rst:2056 msgid "" "There are two ``MagicMock`` variants: :class:`MagicMock` and :class:" "`NonCallableMagicMock`." msgstr "" -#: library/unittest.mock.rst:2059 +#: library/unittest.mock.rst:2061 msgid "" "``MagicMock`` is a subclass of :class:`Mock` with default implementations of " "most of the magic methods. You can use ``MagicMock`` without having to " "configure the magic methods yourself." msgstr "" -#: library/unittest.mock.rst:2063 +#: library/unittest.mock.rst:2065 msgid "The constructor parameters have the same meaning as for :class:`Mock`." msgstr "" -#: library/unittest.mock.rst:2065 +#: library/unittest.mock.rst:2067 msgid "" "If you use the *spec* or *spec_set* arguments then *only* magic methods that " "exist in the spec will be created." msgstr "" -#: library/unittest.mock.rst:2071 +#: library/unittest.mock.rst:2073 msgid "A non-callable version of :class:`MagicMock`." msgstr "" -#: library/unittest.mock.rst:2073 +#: library/unittest.mock.rst:2075 msgid "" "The constructor parameters have the same meaning as for :class:`MagicMock`, " "with the exception of *return_value* and *side_effect* which have no meaning " "on a non-callable mock." msgstr "" -#: library/unittest.mock.rst:2077 +#: library/unittest.mock.rst:2079 msgid "" "The magic methods are setup with :class:`MagicMock` objects, so you can " "configure them and use them in the usual way:" msgstr "" -#: library/unittest.mock.rst:2087 +#: library/unittest.mock.rst:2089 msgid "" "By default many of the protocol methods are required to return objects of a " "specific type. These methods are preconfigured with a default return value, " @@ -1708,186 +1710,186 @@ msgid "" "manually if you want to change the default." msgstr "" -#: library/unittest.mock.rst:2093 +#: library/unittest.mock.rst:2095 msgid "Methods and their defaults:" msgstr "" -#: library/unittest.mock.rst:2095 +#: library/unittest.mock.rst:2097 msgid "``__lt__``: ``NotImplemented``" msgstr "" -#: library/unittest.mock.rst:2096 +#: library/unittest.mock.rst:2098 msgid "``__gt__``: ``NotImplemented``" msgstr "" -#: library/unittest.mock.rst:2097 +#: library/unittest.mock.rst:2099 msgid "``__le__``: ``NotImplemented``" msgstr "" -#: library/unittest.mock.rst:2098 +#: library/unittest.mock.rst:2100 msgid "``__ge__``: ``NotImplemented``" msgstr "" -#: library/unittest.mock.rst:2099 +#: library/unittest.mock.rst:2101 msgid "``__int__``: ``1``" msgstr "" -#: library/unittest.mock.rst:2100 +#: library/unittest.mock.rst:2102 msgid "``__contains__``: ``False``" msgstr "" -#: library/unittest.mock.rst:2101 +#: library/unittest.mock.rst:2103 msgid "``__len__``: ``0``" msgstr "" -#: library/unittest.mock.rst:2102 +#: library/unittest.mock.rst:2104 msgid "``__iter__``: ``iter([])``" msgstr "" -#: library/unittest.mock.rst:2103 +#: library/unittest.mock.rst:2105 msgid "``__exit__``: ``False``" msgstr "" -#: library/unittest.mock.rst:2104 +#: library/unittest.mock.rst:2106 msgid "``__aexit__``: ``False``" msgstr "" -#: library/unittest.mock.rst:2105 +#: library/unittest.mock.rst:2107 msgid "``__complex__``: ``1j``" msgstr "" -#: library/unittest.mock.rst:2106 +#: library/unittest.mock.rst:2108 msgid "``__float__``: ``1.0``" msgstr "" -#: library/unittest.mock.rst:2107 +#: library/unittest.mock.rst:2109 msgid "``__bool__``: ``True``" msgstr "" -#: library/unittest.mock.rst:2108 +#: library/unittest.mock.rst:2110 msgid "``__index__``: ``1``" msgstr "" -#: library/unittest.mock.rst:2109 +#: library/unittest.mock.rst:2111 msgid "``__hash__``: default hash for the mock" msgstr "" -#: library/unittest.mock.rst:2110 +#: library/unittest.mock.rst:2112 msgid "``__str__``: default str for the mock" msgstr "" -#: library/unittest.mock.rst:2111 +#: library/unittest.mock.rst:2113 msgid "``__sizeof__``: default sizeof for the mock" msgstr "" -#: library/unittest.mock.rst:2113 +#: library/unittest.mock.rst:2115 msgid "For example:" msgstr "" -#: library/unittest.mock.rst:2125 +#: library/unittest.mock.rst:2127 msgid "" -"The two equality methods, :meth:`__eq__` and :meth:`__ne__`, are special. " +"The two equality methods, :meth:`!__eq__` and :meth:`!__ne__`, are special. " "They do the default equality comparison on identity, using the :attr:`~Mock." "side_effect` attribute, unless you change their return value to return " "something else::" msgstr "" -#: library/unittest.mock.rst:2139 +#: library/unittest.mock.rst:2141 msgid "" "The return value of :meth:`MagicMock.__iter__` can be any iterable object " "and isn't required to be an iterator:" msgstr "" -#: library/unittest.mock.rst:2149 +#: library/unittest.mock.rst:2151 msgid "" "If the return value *is* an iterator, then iterating over it once will " "consume it and subsequent iterations will result in an empty list:" msgstr "" -#: library/unittest.mock.rst:2158 +#: library/unittest.mock.rst:2160 msgid "" "``MagicMock`` has all of the supported magic methods configured except for " "some of the obscure and obsolete ones. You can still set these up if you " "want." msgstr "" -#: library/unittest.mock.rst:2161 +#: library/unittest.mock.rst:2163 msgid "" "Magic methods that are supported but not setup by default in ``MagicMock`` " "are:" msgstr "" -#: library/unittest.mock.rst:2163 +#: library/unittest.mock.rst:2165 msgid "``__subclasses__``" msgstr "" -#: library/unittest.mock.rst:2164 +#: library/unittest.mock.rst:2166 msgid "``__dir__``" msgstr "" -#: library/unittest.mock.rst:2165 +#: library/unittest.mock.rst:2167 msgid "``__format__``" msgstr "" -#: library/unittest.mock.rst:2166 +#: library/unittest.mock.rst:2168 msgid "``__get__``, ``__set__`` and ``__delete__``" msgstr "" -#: library/unittest.mock.rst:2167 +#: library/unittest.mock.rst:2169 msgid "``__reversed__`` and ``__missing__``" msgstr "" -#: library/unittest.mock.rst:2168 +#: library/unittest.mock.rst:2170 msgid "" "``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, ``__getnewargs__``, " "``__getstate__`` and ``__setstate__``" msgstr "" -#: library/unittest.mock.rst:2170 +#: library/unittest.mock.rst:2172 msgid "``__getformat__``" msgstr "" -#: library/unittest.mock.rst:2174 +#: library/unittest.mock.rst:2176 msgid "" "Magic methods *should* be looked up on the class rather than the instance. " "Different versions of Python are inconsistent about applying this rule. The " "supported protocol methods should work with all supported versions of Python." msgstr "" -#: library/unittest.mock.rst:2178 +#: library/unittest.mock.rst:2180 msgid "" "The function is basically hooked up to the class, but each ``Mock`` instance " "is kept isolated from the others." msgstr "" -#: library/unittest.mock.rst:2183 +#: library/unittest.mock.rst:2185 msgid "Helpers" msgstr "" -#: library/unittest.mock.rst:2186 +#: library/unittest.mock.rst:2188 msgid "sentinel" msgstr "" -#: library/unittest.mock.rst:2190 +#: library/unittest.mock.rst:2192 msgid "" "The ``sentinel`` object provides a convenient way of providing unique " "objects for your tests." msgstr "" -#: library/unittest.mock.rst:2193 +#: library/unittest.mock.rst:2195 msgid "" "Attributes are created on demand when you access them by name. Accessing the " "same attribute will always return the same object. The objects returned have " "a sensible repr so that test failure messages are readable." msgstr "" -#: library/unittest.mock.rst:2197 +#: library/unittest.mock.rst:2199 msgid "" "The ``sentinel`` attributes now preserve their identity when they are :mod:" "`copied ` or :mod:`pickled `." msgstr "" -#: library/unittest.mock.rst:2201 +#: library/unittest.mock.rst:2203 msgid "" "Sometimes when testing you need to test that a specific object is passed as " "an argument to another method, or returned. It can be common to create named " @@ -1895,28 +1897,28 @@ msgid "" "creating and testing the identity of objects like this." msgstr "" -#: library/unittest.mock.rst:2206 +#: library/unittest.mock.rst:2208 msgid "" "In this example we monkey patch ``method`` to return ``sentinel." "some_object``:" msgstr "" -#: library/unittest.mock.rst:2218 +#: library/unittest.mock.rst:2220 msgid "DEFAULT" msgstr "" -#: library/unittest.mock.rst:2223 +#: library/unittest.mock.rst:2225 msgid "" "The :data:`DEFAULT` object is a pre-created sentinel (actually ``sentinel." "DEFAULT``). It can be used by :attr:`~Mock.side_effect` functions to " "indicate that the normal return value should be used." msgstr "" -#: library/unittest.mock.rst:2229 +#: library/unittest.mock.rst:2231 msgid "call" msgstr "" -#: library/unittest.mock.rst:2233 +#: library/unittest.mock.rst:2235 msgid "" ":func:`call` is a helper object for making simpler assertions, for comparing " "with :attr:`~Mock.call_args`, :attr:`~Mock.call_args_list`, :attr:`~Mock." @@ -1924,13 +1926,13 @@ msgid "" "with :meth:`~Mock.assert_has_calls`." msgstr "" -#: library/unittest.mock.rst:2246 +#: library/unittest.mock.rst:2248 msgid "" "For a call object that represents multiple calls, :meth:`call_list` returns " "a list of all the intermediate calls as well as the final call." msgstr "" -#: library/unittest.mock.rst:2250 +#: library/unittest.mock.rst:2252 msgid "" "``call_list`` is particularly useful for making assertions on \"chained " "calls\". A chained call is multiple calls on a single line of code. This " @@ -1938,13 +1940,13 @@ msgid "" "constructing the sequence of calls can be tedious." msgstr "" -#: library/unittest.mock.rst:2255 +#: library/unittest.mock.rst:2257 msgid "" ":meth:`~call.call_list` can construct the sequence of calls from the same " "chained call:" msgstr "" -#: library/unittest.mock.rst:2272 +#: library/unittest.mock.rst:2274 msgid "" "A ``call`` object is either a tuple of (positional args, keyword args) or " "(name, positional args, keyword args) depending on how it was constructed. " @@ -1954,7 +1956,7 @@ msgid "" "to get at the individual arguments they contain." msgstr "" -#: library/unittest.mock.rst:2279 +#: library/unittest.mock.rst:2281 msgid "" "The ``call`` objects in :attr:`Mock.call_args` and :attr:`Mock." "call_args_list` are two-tuples of (positional args, keyword args) whereas " @@ -1963,7 +1965,7 @@ msgid "" "args)." msgstr "" -#: library/unittest.mock.rst:2284 +#: library/unittest.mock.rst:2286 msgid "" "You can use their \"tupleness\" to pull out the individual arguments for " "more complex introspection and assertions. The positional arguments are a " @@ -1971,29 +1973,29 @@ msgid "" "arguments are a dictionary:" msgstr "" -#: library/unittest.mock.rst:2317 +#: library/unittest.mock.rst:2319 msgid "create_autospec" msgstr "" -#: library/unittest.mock.rst:2321 +#: library/unittest.mock.rst:2323 msgid "" "Create a mock object using another object as a spec. Attributes on the mock " "will use the corresponding attribute on the *spec* object as their spec." msgstr "" -#: library/unittest.mock.rst:2325 +#: library/unittest.mock.rst:2327 msgid "" "Functions or methods being mocked will have their arguments checked to " "ensure that they are called with the correct signature." msgstr "" -#: library/unittest.mock.rst:2328 +#: library/unittest.mock.rst:2330 msgid "" "If *spec_set* is ``True`` then attempting to set attributes that don't exist " "on the spec object will raise an :exc:`AttributeError`." msgstr "" -#: library/unittest.mock.rst:2331 +#: library/unittest.mock.rst:2333 msgid "" "If a class is used as a spec then the return value of the mock (the instance " "of the class) will have the same spec. You can use a class as the spec for " @@ -2001,29 +2003,29 @@ msgid "" "be callable if instances of the mock are callable." msgstr "" -#: library/unittest.mock.rst:2336 +#: library/unittest.mock.rst:2338 msgid "" ":func:`create_autospec` also takes arbitrary keyword arguments that are " "passed to the constructor of the created mock." msgstr "" -#: library/unittest.mock.rst:2339 +#: library/unittest.mock.rst:2341 msgid "" "See :ref:`auto-speccing` for examples of how to use auto-speccing with :func:" "`create_autospec` and the *autospec* argument to :func:`patch`." msgstr "" -#: library/unittest.mock.rst:2345 +#: library/unittest.mock.rst:2347 msgid "" ":func:`create_autospec` now returns an :class:`AsyncMock` if the target is " "an async function." msgstr "" -#: library/unittest.mock.rst:2350 +#: library/unittest.mock.rst:2352 msgid "ANY" msgstr "" -#: library/unittest.mock.rst:2354 +#: library/unittest.mock.rst:2356 msgid "" "Sometimes you may need to make assertions about *some* of the arguments in a " "call to mock, but either not care about some of the arguments or want to " @@ -2031,24 +2033,24 @@ msgid "" "assertions on them." msgstr "" -#: library/unittest.mock.rst:2359 +#: library/unittest.mock.rst:2361 msgid "" "To ignore certain arguments you can pass in objects that compare equal to " "*everything*. Calls to :meth:`~Mock.assert_called_with` and :meth:`~Mock." "assert_called_once_with` will then succeed no matter what was passed in." msgstr "" -#: library/unittest.mock.rst:2368 +#: library/unittest.mock.rst:2370 msgid "" ":data:`ANY` can also be used in comparisons with call lists like :attr:" "`~Mock.mock_calls`:" msgstr "" -#: library/unittest.mock.rst:2381 +#: library/unittest.mock.rst:2383 msgid "FILTER_DIR" msgstr "" -#: library/unittest.mock.rst:2385 +#: library/unittest.mock.rst:2387 msgid "" ":data:`FILTER_DIR` is a module level variable that controls the way mock " "objects respond to :func:`dir`. The default is ``True``, which uses the " @@ -2057,7 +2059,7 @@ msgid "" "FILTER_DIR = False``." msgstr "" -#: library/unittest.mock.rst:2391 +#: library/unittest.mock.rst:2393 msgid "" "With filtering on, ``dir(some_mock)`` shows only useful attributes and will " "include any dynamically created attributes that wouldn't normally be shown. " @@ -2066,7 +2068,7 @@ msgid "" "yet:" msgstr "" -#: library/unittest.mock.rst:2418 +#: library/unittest.mock.rst:2420 msgid "" "Many of the not-very-useful (private to :class:`Mock` rather than the thing " "being mocked) underscore and double underscore prefixed attributes have been " @@ -2075,31 +2077,31 @@ msgid "" "switch :data:`FILTER_DIR`:" msgstr "" -#: library/unittest.mock.rst:2439 +#: library/unittest.mock.rst:2441 msgid "" "Alternatively you can just use ``vars(my_mock)`` (instance members) and " "``dir(type(my_mock))`` (type members) to bypass the filtering irrespective " "of :const:`mock.FILTER_DIR`." msgstr "" -#: library/unittest.mock.rst:2445 +#: library/unittest.mock.rst:2447 msgid "mock_open" msgstr "" -#: library/unittest.mock.rst:2449 +#: library/unittest.mock.rst:2451 msgid "" "A helper function to create a mock to replace the use of :func:`open`. It " "works for :func:`open` called directly or used as a context manager." msgstr "" -#: library/unittest.mock.rst:2452 +#: library/unittest.mock.rst:2454 msgid "" "The *mock* argument is the mock object to configure. If ``None`` (the " "default) then a :class:`MagicMock` will be created for you, with the API " "limited to methods or attributes available on standard file handles." msgstr "" -#: library/unittest.mock.rst:2456 +#: library/unittest.mock.rst:2458 msgid "" "*read_data* is a string for the :meth:`~io.IOBase.read`, :meth:`~io.IOBase." "readline`, and :meth:`~io.IOBase.readlines` methods of the file handle to " @@ -2112,51 +2114,51 @@ msgid "" "realistic filesystem for testing." msgstr "" -#: library/unittest.mock.rst:2466 +#: library/unittest.mock.rst:2468 msgid "" "Added :meth:`~io.IOBase.readline` and :meth:`~io.IOBase.readlines` support. " "The mock of :meth:`~io.IOBase.read` changed to consume *read_data* rather " "than returning it on each call." msgstr "" -#: library/unittest.mock.rst:2471 +#: library/unittest.mock.rst:2473 msgid "*read_data* is now reset on each call to the *mock*." msgstr "" -#: library/unittest.mock.rst:2474 +#: library/unittest.mock.rst:2476 msgid "" -"Added :meth:`__iter__` to implementation so that iteration (such as in for " -"loops) correctly consumes *read_data*." +"Added :meth:`~container.__iter__` to implementation so that iteration (such " +"as in for loops) correctly consumes *read_data*." msgstr "" -#: library/unittest.mock.rst:2478 +#: library/unittest.mock.rst:2480 msgid "" "Using :func:`open` as a context manager is a great way to ensure your file " "handles are closed properly and is becoming common::" msgstr "" -#: library/unittest.mock.rst:2484 +#: library/unittest.mock.rst:2486 msgid "" "The issue is that even if you mock out the call to :func:`open` it is the " "*returned object* that is used as a context manager (and has :meth:`~object." "__enter__` and :meth:`~object.__exit__` called)." msgstr "" -#: library/unittest.mock.rst:2488 +#: library/unittest.mock.rst:2490 msgid "" "Mocking context managers with a :class:`MagicMock` is common enough and " "fiddly enough that a helper function is useful. ::" msgstr "" -#: library/unittest.mock.rst:2505 +#: library/unittest.mock.rst:2507 msgid "And for reading files::" msgstr "" -#: library/unittest.mock.rst:2518 +#: library/unittest.mock.rst:2520 msgid "Autospeccing" msgstr "" -#: library/unittest.mock.rst:2520 +#: library/unittest.mock.rst:2522 msgid "" "Autospeccing is based on the existing :attr:`spec` feature of mock. It " "limits the api of mocks to the api of an original object (the spec), but it " @@ -2166,11 +2168,11 @@ msgid "" "`TypeError` if they are called incorrectly." msgstr "" -#: library/unittest.mock.rst:2527 +#: library/unittest.mock.rst:2529 msgid "Before I explain how auto-speccing works, here's why it is needed." msgstr "" -#: library/unittest.mock.rst:2529 +#: library/unittest.mock.rst:2531 msgid "" ":class:`Mock` is a very powerful and flexible object, but it suffers from " "two flaws when used to mock out objects from a system under test. One of " @@ -2178,25 +2180,25 @@ msgid "" "general problem with using mock objects." msgstr "" -#: library/unittest.mock.rst:2534 +#: library/unittest.mock.rst:2536 msgid "" "First the problem specific to :class:`Mock`. :class:`Mock` has two assert " "methods that are extremely handy: :meth:`~Mock.assert_called_with` and :meth:" "`~Mock.assert_called_once_with`." msgstr "" -#: library/unittest.mock.rst:2547 +#: library/unittest.mock.rst:2549 msgid "" "Because mocks auto-create attributes on demand, and allow you to call them " "with arbitrary arguments, if you misspell one of these assert methods then " "your assertion is gone:" msgstr "" -#: library/unittest.mock.rst:2557 +#: library/unittest.mock.rst:2559 msgid "Your tests can pass silently and incorrectly because of the typo." msgstr "" -#: library/unittest.mock.rst:2559 +#: library/unittest.mock.rst:2561 msgid "" "The second issue is more general to mocking. If you refactor some of your " "code, rename members and so on, any tests for code that is still using the " @@ -2204,7 +2206,7 @@ msgid "" "means your tests can all pass even though your code is broken." msgstr "" -#: library/unittest.mock.rst:2564 +#: library/unittest.mock.rst:2566 msgid "" "Note that this is another reason why you need integration tests as well as " "unit tests. Testing everything in isolation is all fine and dandy, but if " @@ -2212,20 +2214,20 @@ msgid "" "room for bugs that tests might have caught." msgstr "" -#: library/unittest.mock.rst:2569 +#: library/unittest.mock.rst:2571 msgid "" ":mod:`mock` already provides a feature to help with this, called speccing. " "If you use a class or instance as the :attr:`spec` for a mock then you can " "only access attributes on the mock that exist on the real class:" msgstr "" -#: library/unittest.mock.rst:2580 +#: library/unittest.mock.rst:2582 msgid "" "The spec only applies to the mock itself, so we still have the same issue " "with any methods on the mock:" msgstr "" -#: library/unittest.mock.rst:2589 +#: library/unittest.mock.rst:2591 msgid "" "Auto-speccing solves this problem. You can either pass ``autospec=True`` to :" "func:`patch` / :func:`patch.object` or use the :func:`create_autospec` " @@ -2237,24 +2239,24 @@ msgid "" "import modules) without a big performance hit." msgstr "" -#: library/unittest.mock.rst:2598 +#: library/unittest.mock.rst:2600 msgid "Here's an example of it in use::" msgstr "" -#: library/unittest.mock.rst:2608 +#: library/unittest.mock.rst:2610 msgid "" "You can see that :class:`request.Request` has a spec. :class:`request." "Request` takes two arguments in the constructor (one of which is *self*). " "Here's what happens if we try to call it incorrectly::" msgstr "" -#: library/unittest.mock.rst:2617 +#: library/unittest.mock.rst:2619 msgid "" "The spec also applies to instantiated classes (i.e. the return value of " "specced mocks)::" msgstr "" -#: library/unittest.mock.rst:2624 +#: library/unittest.mock.rst:2626 msgid "" ":class:`Request` objects are not callable, so the return value of " "instantiating our mocked out :class:`request.Request` is a non-callable " @@ -2262,20 +2264,20 @@ msgid "" "error::" msgstr "" -#: library/unittest.mock.rst:2636 +#: library/unittest.mock.rst:2638 msgid "" "In many cases you will just be able to add ``autospec=True`` to your " "existing :func:`patch` calls and then be protected against bugs due to typos " "and api changes." msgstr "" -#: library/unittest.mock.rst:2640 +#: library/unittest.mock.rst:2642 msgid "" "As well as using *autospec* through :func:`patch` there is a :func:" "`create_autospec` for creating autospecced mocks directly:" msgstr "" -#: library/unittest.mock.rst:2648 +#: library/unittest.mock.rst:2650 msgid "" "This isn't without caveats and limitations however, which is why it is not " "the default behaviour. In order to know what attributes are available on the " @@ -2287,15 +2289,15 @@ msgid "" "objects so that introspection is safe [#]_." msgstr "" -#: library/unittest.mock.rst:2657 +#: library/unittest.mock.rst:2659 msgid "" "A more serious problem is that it is common for instance attributes to be " -"created in the :meth:`__init__` method and not to exist on the class at all. " -"*autospec* can't know about any dynamically created attributes and restricts " -"the api to visible attributes. ::" +"created in the :meth:`~object.__init__` method and not to exist on the class " +"at all. *autospec* can't know about any dynamically created attributes and " +"restricts the api to visible attributes. ::" msgstr "" -#: library/unittest.mock.rst:2674 +#: library/unittest.mock.rst:2676 msgid "" "There are a few different ways of resolving this problem. The easiest, but " "not necessarily the least annoying, way is to simply set the required " @@ -2304,7 +2306,7 @@ msgid "" "setting them::" msgstr "" -#: library/unittest.mock.rst:2685 +#: library/unittest.mock.rst:2687 msgid "" "There is a more aggressive version of both *spec* and *autospec* that *does* " "prevent you setting non-existent attributes. This is useful if you want to " @@ -2312,16 +2314,16 @@ msgid "" "this particular scenario:" msgstr "" -#: library/unittest.mock.rst:2698 +#: library/unittest.mock.rst:2700 msgid "" "Probably the best way of solving the problem is to add class attributes as " -"default values for instance members initialised in :meth:`__init__`. Note " -"that if you are only setting default attributes in :meth:`__init__` then " -"providing them via class attributes (shared between instances of course) is " -"faster too. e.g." +"default values for instance members initialised in :meth:`~object.__init__`. " +"Note that if you are only setting default attributes in :meth:`!__init__` " +"then providing them via class attributes (shared between instances of " +"course) is faster too. e.g." msgstr "" -#: library/unittest.mock.rst:2708 +#: library/unittest.mock.rst:2711 msgid "" "This brings up another issue. It is relatively common to provide a default " "value of ``None`` for members that will later be an object of a different " @@ -2332,7 +2334,7 @@ msgid "" "These will just be ordinary mocks (well - MagicMocks):" msgstr "" -#: library/unittest.mock.rst:2723 +#: library/unittest.mock.rst:2726 msgid "" "If modifying your production classes to add defaults isn't to your liking " "then there are more options. One of these is simply to use an instance as " @@ -2343,25 +2345,25 @@ msgid "" "alternative object as the *autospec* argument::" msgstr "" -#: library/unittest.mock.rst:2744 +#: library/unittest.mock.rst:2747 msgid "" "This only applies to classes or already instantiated objects. Calling a " "mocked class to create a mock instance *does not* create a real instance. It " "is only attribute lookups - along with calls to :func:`dir` - that are done." msgstr "" -#: library/unittest.mock.rst:2749 +#: library/unittest.mock.rst:2752 msgid "Sealing mocks" msgstr "" -#: library/unittest.mock.rst:2758 +#: library/unittest.mock.rst:2761 msgid "" "Seal will disable the automatic creation of mocks when accessing an " "attribute of the mock being sealed or any of its attributes that are already " "mocks recursively." msgstr "" -#: library/unittest.mock.rst:2761 +#: library/unittest.mock.rst:2764 msgid "" "If a mock instance with a name or a spec is assigned to an attribute it " "won't be considered in the sealing chain. This allows one to prevent seal " diff --git a/library/unittest.po b/library/unittest.po index 260215883..dbff16e84 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -459,10 +459,10 @@ msgstr "" #: library/unittest.rst:348 msgid "" -"Python 3.11 dropped the :term:`namespace packages ` " -"support. It has been broken since Python 3.7. Start directory and " -"subdirectories containing tests must be regular package that have ``__init__." -"py`` file." +":mod:`unittest` dropped the :term:`namespace packages ` " +"support in Python 3.11. It has been broken since Python 3.7. Start directory " +"and subdirectories containing tests must be regular package that have " +"``__init__.py`` file." msgstr "" #: library/unittest.rst:354 @@ -501,11 +501,11 @@ msgstr "" #: library/unittest.rst:393 msgid "" -"Note that in order to test something, we use one of the :meth:`assert\\*` " -"methods provided by the :class:`TestCase` base class. If the test fails, an " -"exception will be raised with an explanatory message, and :mod:`unittest` " -"will identify the test case as a :dfn:`failure`. Any other exceptions will " -"be treated as :dfn:`errors`." +"Note that in order to test something, we use one of the :ref:`assert\\* " +"methods ` provided by the :class:`TestCase` base class. If " +"the test fails, an exception will be raised with an explanatory message, " +"and :mod:`unittest` will identify the test case as a :dfn:`failure`. Any " +"other exceptions will be treated as :dfn:`errors`." msgstr "" #: library/unittest.rst:399 @@ -1953,7 +1953,7 @@ msgstr "" #: library/unittest.rst:1727 msgid "" "Tests grouped by a :class:`TestSuite` are always accessed by iteration. " -"Subclasses can lazily provide tests by overriding :meth:`__iter__`. Note " +"Subclasses can lazily provide tests by overriding :meth:`!__iter__`. Note " "that this method may be called several times on a single suite (for example " "when counting tests or comparing for equality) so the tests returned by " "repeated iterations before :meth:`TestSuite.run` must be the same for each " @@ -1965,8 +1965,8 @@ msgstr "" #: library/unittest.rst:1737 msgid "" "In earlier versions the :class:`TestSuite` accessed tests directly rather " -"than through iteration, so overriding :meth:`__iter__` wasn't sufficient for " -"providing tests." +"than through iteration, so overriding :meth:`!__iter__` wasn't sufficient " +"for providing tests." msgstr "" #: library/unittest.rst:1742 @@ -2210,14 +2210,13 @@ msgstr "" #: library/unittest.rst:1935 msgid "" -"This affects :meth:`getTestCaseNames` and all the :meth:`loadTestsFrom\\*` " -"methods." +"This affects :meth:`getTestCaseNames` and all the ``loadTestsFrom*`` methods." msgstr "" #: library/unittest.rst:1941 msgid "" "Function to be used to compare method names when sorting them in :meth:" -"`getTestCaseNames` and all the :meth:`loadTestsFrom\\*` methods." +"`getTestCaseNames` and all the ``loadTestsFrom*`` methods." msgstr "" #: library/unittest.rst:1947 @@ -2228,7 +2227,7 @@ msgid "" msgstr "" #: library/unittest.rst:1964 -msgid "This affects all the :meth:`loadTestsFrom\\*` methods." +msgid "This affects all the ``loadTestsFrom*`` methods." msgstr "" #: library/unittest.rst:1955 @@ -2285,7 +2284,7 @@ msgstr "" msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents a test where a failure " -"was explicitly signalled using the :meth:`TestCase.assert\\*` methods." +"was explicitly signalled using the :ref:`assert\\* methods `." msgstr "" #: library/unittest.rst:2002 diff --git a/library/urllib.request.po b/library/urllib.request.po index bd98110b0..31f1221d8 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -37,6 +37,14 @@ msgid "" "recommended for a higher-level HTTP client interface." msgstr "" +#: library/urllib.request.rst:26 +msgid "" +"On macOS it is unsafe to use this module in programs using :func:`os.fork` " +"because the :func:`getproxies` implementation for macOS uses a higher-level " +"system API. Set the environment variable ``no_proxy`` to ``*`` to avoid this " +"problem (e.g. ``os.environ[\"no_proxy\"] = \"*\"``)." +msgstr "" + #: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -48,30 +56,30 @@ msgid "" "more information." msgstr "" -#: library/urllib.request.rst:26 +#: library/urllib.request.rst:34 msgid "The :mod:`urllib.request` module defines the following functions:" msgstr "" -#: library/urllib.request.rst:31 +#: library/urllib.request.rst:39 msgid "" "Open *url*, which can be either a string containing a valid, properly " "encoded URL, or a :class:`Request` object." msgstr "" -#: library/urllib.request.rst:34 +#: library/urllib.request.rst:42 msgid "" "*data* must be an object specifying additional data to be sent to the " "server, or ``None`` if no such data is needed. See :class:`Request` for " "details." msgstr "" -#: library/urllib.request.rst:38 +#: library/urllib.request.rst:46 msgid "" "urllib.request module uses HTTP/1.1 and includes ``Connection:close`` header " "in its HTTP requests." msgstr "" -#: library/urllib.request.rst:41 +#: library/urllib.request.rst:49 msgid "" "The optional *timeout* parameter specifies a timeout in seconds for blocking " "operations like the connection attempt (if not specified, the global default " @@ -79,14 +87,14 @@ msgid "" "FTP connections." msgstr "" -#: library/urllib.request.rst:46 +#: library/urllib.request.rst:54 msgid "" "If *context* is specified, it must be a :class:`ssl.SSLContext` instance " "describing the various SSL options. See :class:`~http.client." "HTTPSConnection` for more details." msgstr "" -#: library/urllib.request.rst:50 +#: library/urllib.request.rst:58 msgid "" "The optional *cafile* and *capath* parameters specify a set of trusted CA " "certificates for HTTPS requests. *cafile* should point to a single file " @@ -95,18 +103,18 @@ msgid "" "meth:`ssl.SSLContext.load_verify_locations`." msgstr "" -#: library/urllib.request.rst:56 +#: library/urllib.request.rst:64 msgid "The *cadefault* parameter is ignored." msgstr "" -#: library/urllib.request.rst:58 +#: library/urllib.request.rst:66 msgid "" "This function always returns an object which can work as a :term:`context " "manager` and has the properties *url*, *headers*, and *status*. See :class:" "`urllib.response.addinfourl` for more detail on these properties." msgstr "" -#: library/urllib.request.rst:62 +#: library/urllib.request.rst:70 msgid "" "For HTTP and HTTPS URLs, this function returns a :class:`http.client." "HTTPResponse` object slightly modified. In addition to the three new methods " @@ -116,25 +124,25 @@ msgid "" "documentation for :class:`~http.client.HTTPResponse`." msgstr "" -#: library/urllib.request.rst:70 +#: library/urllib.request.rst:78 msgid "" "For FTP, file, and data URLs and requests explicitly handled by legacy :" "class:`URLopener` and :class:`FancyURLopener` classes, this function returns " "a :class:`urllib.response.addinfourl` object." msgstr "" -#: library/urllib.request.rst:74 +#: library/urllib.request.rst:82 msgid "Raises :exc:`~urllib.error.URLError` on protocol errors." msgstr "" -#: library/urllib.request.rst:76 +#: library/urllib.request.rst:84 msgid "" "Note that ``None`` may be returned if no handler handles the request (though " "the default installed global :class:`OpenerDirector` uses :class:" "`UnknownHandler` to ensure this never happens)." msgstr "" -#: library/urllib.request.rst:80 +#: library/urllib.request.rst:88 msgid "" "In addition, if proxy settings are detected (for example, when a ``*_proxy`` " "environment variable like :envvar:`http_proxy` is set), :class:" @@ -142,7 +150,7 @@ msgid "" "through the proxy." msgstr "" -#: library/urllib.request.rst:85 +#: library/urllib.request.rst:93 msgid "" "The legacy ``urllib.urlopen`` function from Python 2.6 and earlier has been " "discontinued; :func:`urllib.request.urlopen` corresponds to the old " @@ -151,56 +159,56 @@ msgid "" "`ProxyHandler` objects." msgstr "" -#: library/urllib.request.rst:102 +#: library/urllib.request.rst:110 msgid "" "Raises an :ref:`auditing event ` ``urllib.Request`` with arguments " "``fullurl``, ``data``, ``headers``, ``method``." msgstr "" -#: library/urllib.request.rst:93 +#: library/urllib.request.rst:101 msgid "" "The default opener raises an :ref:`auditing event ` ``urllib." "Request`` with arguments ``fullurl``, ``data``, ``headers``, ``method`` " "taken from the request object." msgstr "" -#: library/urllib.request.rst:97 +#: library/urllib.request.rst:105 msgid "*cafile* and *capath* were added." msgstr "" -#: library/urllib.request.rst:100 +#: library/urllib.request.rst:108 msgid "" "HTTPS virtual hosts are now supported if possible (that is, if :const:`ssl." "HAS_SNI` is true)." msgstr "" -#: library/urllib.request.rst:104 +#: library/urllib.request.rst:112 msgid "*data* can be an iterable object." msgstr "" -#: library/urllib.request.rst:107 +#: library/urllib.request.rst:115 msgid "*cadefault* was added." msgstr "" -#: library/urllib.request.rst:110 +#: library/urllib.request.rst:118 msgid "*context* was added." msgstr "" -#: library/urllib.request.rst:113 +#: library/urllib.request.rst:121 msgid "" "HTTPS connection now send an ALPN extension with protocol indicator " "``http/1.1`` when no *context* is given. Custom *context* should set ALPN " "protocols with :meth:`~ssl.SSLContext.set_alpn_protocol`." msgstr "" -#: library/urllib.request.rst:120 +#: library/urllib.request.rst:128 msgid "" "*cafile*, *capath* and *cadefault* are deprecated in favor of *context*. " "Please use :meth:`ssl.SSLContext.load_cert_chain` instead, or let :func:`ssl." "create_default_context` select the system's trusted CA certificates for you." msgstr "" -#: library/urllib.request.rst:128 +#: library/urllib.request.rst:136 msgid "" "Install an :class:`OpenerDirector` instance as the default global opener. " "Installing an opener is only necessary if you want urlopen to use that " @@ -209,7 +217,7 @@ msgid "" "`OpenerDirector`, and any class with the appropriate interface will work." msgstr "" -#: library/urllib.request.rst:138 +#: library/urllib.request.rst:146 msgid "" "Return an :class:`OpenerDirector` instance, which chains the handlers in the " "order given. *handler*\\s can be either instances of :class:`BaseHandler`, " @@ -223,19 +231,19 @@ msgid "" "`HTTPErrorProcessor`." msgstr "" -#: library/urllib.request.rst:148 +#: library/urllib.request.rst:156 msgid "" "If the Python installation has SSL support (i.e., if the :mod:`ssl` module " "can be imported), :class:`HTTPSHandler` will also be added." msgstr "" -#: library/urllib.request.rst:151 +#: library/urllib.request.rst:159 msgid "" "A :class:`BaseHandler` subclass may also change its :attr:`handler_order` " "attribute to modify its position in the handlers list." msgstr "" -#: library/urllib.request.rst:157 +#: library/urllib.request.rst:165 msgid "" "Convert the pathname *path* from the local syntax for a path to the form " "used in the path component of a URL. This does not produce a complete URL. " @@ -243,14 +251,14 @@ msgid "" "quote` function." msgstr "" -#: library/urllib.request.rst:164 +#: library/urllib.request.rst:172 msgid "" "Convert the path component *path* from a percent-encoded URL to the local " "syntax for a path. This does not accept a complete URL. This function " "uses :func:`~urllib.parse.unquote` to decode *path*." msgstr "" -#: library/urllib.request.rst:170 +#: library/urllib.request.rst:178 msgid "" "This helper function returns a dictionary of scheme to proxy server URL " "mappings. It scans the environment for variables named ``_proxy``, " @@ -260,7 +268,7 @@ msgid "" "uppercase environment variables exist (and disagree), lowercase is preferred." msgstr "" -#: library/urllib.request.rst:180 +#: library/urllib.request.rst:188 msgid "" "If the environment variable ``REQUEST_METHOD`` is set, which usually " "indicates your script is running in a CGI environment, the environment " @@ -271,19 +279,19 @@ msgid "" "(or at least the ``_proxy`` suffix)." msgstr "" -#: library/urllib.request.rst:189 +#: library/urllib.request.rst:197 msgid "The following classes are provided:" msgstr "" -#: library/urllib.request.rst:193 +#: library/urllib.request.rst:201 msgid "This class is an abstraction of a URL request." msgstr "" -#: library/urllib.request.rst:195 +#: library/urllib.request.rst:203 msgid "*url* should be a string containing a valid, properly encoded URL." msgstr "" -#: library/urllib.request.rst:197 +#: library/urllib.request.rst:205 msgid "" "*data* must be an object specifying additional data to send to the server, " "or ``None`` if no such data is needed. Currently HTTP requests are the only " @@ -296,7 +304,7 @@ msgid "" "iterables." msgstr "" -#: library/urllib.request.rst:207 +#: library/urllib.request.rst:215 msgid "" "For an HTTP POST request method, *data* should be a buffer in the standard :" "mimetype:`application/x-www-form-urlencoded` format. The :func:`urllib." @@ -305,7 +313,7 @@ msgid "" "being used as the *data* parameter." msgstr "" -#: library/urllib.request.rst:213 +#: library/urllib.request.rst:221 msgid "" "*headers* should be a dictionary, and will be treated as if :meth:" "`add_header` was called with each key and value as arguments. This is often " @@ -318,7 +326,7 @@ msgid "" "case." msgstr "" -#: library/urllib.request.rst:224 +#: library/urllib.request.rst:232 msgid "" "An appropriate ``Content-Type`` header should be included if the *data* " "argument is present. If this header has not been provided and *data* is not " @@ -326,13 +334,13 @@ msgid "" "default." msgstr "" -#: library/urllib.request.rst:229 +#: library/urllib.request.rst:237 msgid "" "The next two arguments are only of interest for correct handling of third-" "party HTTP cookies:" msgstr "" -#: library/urllib.request.rst:232 +#: library/urllib.request.rst:240 msgid "" "*origin_req_host* should be the request-host of the origin transaction, as " "defined by :rfc:`2965`. It defaults to ``http.cookiejar." @@ -342,7 +350,7 @@ msgid "" "for the page containing the image." msgstr "" -#: library/urllib.request.rst:240 +#: library/urllib.request.rst:248 msgid "" "*unverifiable* should indicate whether the request is unverifiable, as " "defined by :rfc:`2965`. It defaults to ``False``. An unverifiable request " @@ -351,7 +359,7 @@ msgid "" "option to approve the automatic fetching of the image, this should be true." msgstr "" -#: library/urllib.request.rst:247 +#: library/urllib.request.rst:255 msgid "" "*method* should be a string that indicates the HTTP request method that will " "be used (e.g. ``'HEAD'``). If provided, its value is stored in the :attr:" @@ -361,7 +369,7 @@ msgid "" "attribute in the class itself." msgstr "" -#: library/urllib.request.rst:255 +#: library/urllib.request.rst:263 msgid "" "The request will not work as expected if the data object is unable to " "deliver its content more than once (e.g. a file or an iterable that can " @@ -371,49 +379,49 @@ msgid "" "library." msgstr "" -#: library/urllib.request.rst:262 +#: library/urllib.request.rst:270 msgid ":attr:`Request.method` argument is added to the Request class." msgstr "" -#: library/urllib.request.rst:265 +#: library/urllib.request.rst:273 msgid "Default :attr:`Request.method` may be indicated at the class level." msgstr "" -#: library/urllib.request.rst:268 +#: library/urllib.request.rst:276 msgid "" "Do not raise an error if the ``Content-Length`` has not been provided and " "*data* is neither ``None`` nor a bytes object. Fall back to use chunked " "transfer encoding instead." msgstr "" -#: library/urllib.request.rst:275 +#: library/urllib.request.rst:283 msgid "" "The :class:`OpenerDirector` class opens URLs via :class:`BaseHandler`\\ s " "chained together. It manages the chaining of handlers, and recovery from " "errors." msgstr "" -#: library/urllib.request.rst:281 +#: library/urllib.request.rst:289 msgid "" "This is the base class for all registered handlers --- and handles only the " "simple mechanics of registration." msgstr "" -#: library/urllib.request.rst:287 +#: library/urllib.request.rst:295 msgid "" "A class which defines a default handler for HTTP error responses; all " "responses are turned into :exc:`~urllib.error.HTTPError` exceptions." msgstr "" -#: library/urllib.request.rst:293 +#: library/urllib.request.rst:301 msgid "A class to handle redirections." msgstr "" -#: library/urllib.request.rst:298 +#: library/urllib.request.rst:306 msgid "A class to handle HTTP Cookies." msgstr "" -#: library/urllib.request.rst:303 +#: library/urllib.request.rst:311 msgid "" "Cause requests to go through a proxy. If *proxies* is given, it must be a " "dictionary mapping protocol names to URLs of proxies. The default is to read " @@ -424,11 +432,11 @@ msgid "" "Configuration Framework." msgstr "" -#: library/urllib.request.rst:311 +#: library/urllib.request.rst:319 msgid "To disable autodetected proxy pass an empty dictionary." msgstr "" -#: library/urllib.request.rst:313 +#: library/urllib.request.rst:321 msgid "" "The :envvar:`no_proxy` environment variable can be used to specify hosts " "which shouldn't be reached via proxy; if set, it should be a comma-separated " @@ -436,24 +444,24 @@ msgid "" "``cern.ch,ncsa.uiuc.edu,some.host:8080``." msgstr "" -#: library/urllib.request.rst:320 +#: library/urllib.request.rst:328 msgid "" "``HTTP_PROXY`` will be ignored if a variable ``REQUEST_METHOD`` is set; see " "the documentation on :func:`~urllib.request.getproxies`." msgstr "" -#: library/urllib.request.rst:326 +#: library/urllib.request.rst:334 msgid "Keep a database of ``(realm, uri) -> (user, password)`` mappings." msgstr "" -#: library/urllib.request.rst:331 +#: library/urllib.request.rst:339 msgid "" "Keep a database of ``(realm, uri) -> (user, password)`` mappings. A realm " "of ``None`` is considered a catch-all realm, which is searched if no other " "realm fits." msgstr "" -#: library/urllib.request.rst:338 +#: library/urllib.request.rst:346 msgid "" "A variant of :class:`HTTPPasswordMgrWithDefaultRealm` that also has a " "database of ``uri -> is_authenticated`` mappings. Can be used by a " @@ -461,7 +469,7 @@ msgid "" "immediately instead of waiting for a ``401`` response first." msgstr "" -#: library/urllib.request.rst:348 +#: library/urllib.request.rst:356 msgid "" "This is a mixin class that helps with HTTP authentication, both to the " "remote host and to a proxy. *password_mgr*, if given, should be something " @@ -480,11 +488,11 @@ msgid "" "will automatically include the authentication credentials." msgstr "" -#: library/urllib.request.rst:365 +#: library/urllib.request.rst:373 msgid "Added ``is_authenticated`` support." msgstr "" -#: library/urllib.request.rst:371 +#: library/urllib.request.rst:379 msgid "" "Handle authentication with the remote host. *password_mgr*, if given, should " "be something that is compatible with :class:`HTTPPasswordMgr`; refer to " @@ -493,7 +501,7 @@ msgid "" "presented with a wrong Authentication scheme." msgstr "" -#: library/urllib.request.rst:414 +#: library/urllib.request.rst:422 msgid "" "Handle authentication with the proxy. *password_mgr*, if given, should be " "something that is compatible with :class:`HTTPPasswordMgr`; refer to " @@ -501,7 +509,7 @@ msgid "" "be supported." msgstr "" -#: library/urllib.request.rst:388 +#: library/urllib.request.rst:396 msgid "" "This is a mixin class that helps with HTTP authentication, both to the " "remote host and to a proxy. *password_mgr*, if given, should be something " @@ -509,7 +517,7 @@ msgid "" "`http-password-mgr` for information on the interface that must be supported." msgstr "" -#: library/urllib.request.rst:397 +#: library/urllib.request.rst:405 msgid "" "Handle authentication with the remote host. *password_mgr*, if given, should " "be something that is compatible with :class:`HTTPPasswordMgr`; refer to " @@ -522,108 +530,108 @@ msgid "" "Digest or Basic." msgstr "" -#: library/urllib.request.rst:407 +#: library/urllib.request.rst:415 msgid "Raise :exc:`ValueError` on unsupported Authentication Scheme." msgstr "" -#: library/urllib.request.rst:422 +#: library/urllib.request.rst:430 msgid "A class to handle opening of HTTP URLs." msgstr "" -#: library/urllib.request.rst:427 +#: library/urllib.request.rst:435 msgid "" "A class to handle opening of HTTPS URLs. *context* and *check_hostname* " "have the same meaning as in :class:`http.client.HTTPSConnection`." msgstr "" -#: library/urllib.request.rst:430 +#: library/urllib.request.rst:438 msgid "*context* and *check_hostname* were added." msgstr "" -#: library/urllib.request.rst:436 +#: library/urllib.request.rst:444 msgid "Open local files." msgstr "" -#: library/urllib.request.rst:440 +#: library/urllib.request.rst:448 msgid "Open data URLs." msgstr "" -#: library/urllib.request.rst:446 +#: library/urllib.request.rst:454 msgid "Open FTP URLs." msgstr "" -#: library/urllib.request.rst:451 +#: library/urllib.request.rst:459 msgid "" "Open FTP URLs, keeping a cache of open FTP connections to minimize delays." msgstr "" -#: library/urllib.request.rst:456 +#: library/urllib.request.rst:464 msgid "A catch-all class to handle unknown URLs." msgstr "" -#: library/urllib.request.rst:1167 +#: library/urllib.request.rst:1175 msgid "Process HTTP error responses." msgstr "" -#: library/urllib.request.rst:467 +#: library/urllib.request.rst:475 msgid "Request Objects" msgstr "" -#: library/urllib.request.rst:469 +#: library/urllib.request.rst:477 msgid "" "The following methods describe :class:`Request`'s public interface, and so " "all may be overridden in subclasses. It also defines several public " "attributes that can be used by clients to inspect the parsed request." msgstr "" -#: library/urllib.request.rst:476 +#: library/urllib.request.rst:484 msgid "The original URL passed to the constructor." msgstr "" -#: library/urllib.request.rst:480 +#: library/urllib.request.rst:488 msgid "" "Request.full_url is a property with setter, getter and a deleter. Getting :" "attr:`~Request.full_url` returns the original request URL with the fragment, " "if it was present." msgstr "" -#: library/urllib.request.rst:486 +#: library/urllib.request.rst:494 msgid "The URI scheme." msgstr "" -#: library/urllib.request.rst:490 +#: library/urllib.request.rst:498 msgid "" "The URI authority, typically a host, but may also contain a port separated " "by a colon." msgstr "" -#: library/urllib.request.rst:495 +#: library/urllib.request.rst:503 msgid "The original host for the request, without port." msgstr "" -#: library/urllib.request.rst:499 +#: library/urllib.request.rst:507 msgid "" "The URI path. If the :class:`Request` uses a proxy, then selector will be " "the full URL that is passed to the proxy." msgstr "" -#: library/urllib.request.rst:504 +#: library/urllib.request.rst:512 msgid "The entity body for the request, or ``None`` if not specified." msgstr "" -#: library/urllib.request.rst:506 +#: library/urllib.request.rst:514 msgid "" "Changing value of :attr:`Request.data` now deletes \"Content-Length\" header " "if it was previously set or calculated." msgstr "" -#: library/urllib.request.rst:512 +#: library/urllib.request.rst:520 msgid "" "boolean, indicates whether the request is unverifiable as defined by :rfc:" "`2965`." msgstr "" -#: library/urllib.request.rst:517 +#: library/urllib.request.rst:525 msgid "" "The HTTP request method to use. By default its value is :const:`None`, " "which means that :meth:`~Request.get_method` will do its normal computation " @@ -634,13 +642,13 @@ msgid "" "argument." msgstr "" -#: library/urllib.request.rst:527 +#: library/urllib.request.rst:535 msgid "" "A default value can now be set in subclasses; previously it could only be " "set via the constructor argument." msgstr "" -#: library/urllib.request.rst:534 +#: library/urllib.request.rst:542 msgid "" "Return a string indicating the HTTP request method. If :attr:`Request." "method` is not ``None``, return its value, otherwise return ``'GET'`` if :" @@ -648,11 +656,11 @@ msgid "" "meaningful for HTTP requests." msgstr "" -#: library/urllib.request.rst:539 +#: library/urllib.request.rst:547 msgid "get_method now looks at the value of :attr:`Request.method`." msgstr "" -#: library/urllib.request.rst:545 +#: library/urllib.request.rst:553 msgid "" "Add another header to the request. Headers are currently ignored by all " "handlers except HTTP handlers, where they are added to the list of headers " @@ -664,64 +672,64 @@ msgid "" "headers added using this method are also added to redirected requests." msgstr "" -#: library/urllib.request.rst:557 +#: library/urllib.request.rst:565 msgid "Add a header that will not be added to a redirected request." msgstr "" -#: library/urllib.request.rst:562 +#: library/urllib.request.rst:570 msgid "" "Return whether the instance has the named header (checks both regular and " "unredirected)." msgstr "" -#: library/urllib.request.rst:568 +#: library/urllib.request.rst:576 msgid "" "Remove named header from the request instance (both from regular and " "unredirected headers)." msgstr "" -#: library/urllib.request.rst:576 +#: library/urllib.request.rst:584 msgid "Return the URL given in the constructor." msgstr "" -#: library/urllib.request.rst:580 +#: library/urllib.request.rst:588 msgid "Returns :attr:`Request.full_url`" msgstr "" -#: library/urllib.request.rst:585 +#: library/urllib.request.rst:593 msgid "" "Prepare the request by connecting to a proxy server. The *host* and *type* " "will replace those of the instance, and the instance's selector will be the " "original URL given in the constructor." msgstr "" -#: library/urllib.request.rst:592 +#: library/urllib.request.rst:600 msgid "" "Return the value of the given header. If the header is not present, return " "the default value." msgstr "" -#: library/urllib.request.rst:598 +#: library/urllib.request.rst:606 msgid "" "Return a list of tuples (header_name, header_value) of the Request headers." msgstr "" -#: library/urllib.request.rst:600 +#: library/urllib.request.rst:608 msgid "" "The request methods add_data, has_data, get_data, get_type, get_host, " "get_selector, get_origin_req_host and is_unverifiable that were deprecated " "since 3.3 have been removed." msgstr "" -#: library/urllib.request.rst:609 +#: library/urllib.request.rst:617 msgid "OpenerDirector Objects" msgstr "" -#: library/urllib.request.rst:611 +#: library/urllib.request.rst:619 msgid ":class:`OpenerDirector` instances have the following methods:" msgstr "" -#: library/urllib.request.rst:616 +#: library/urllib.request.rst:624 msgid "" "*handler* should be an instance of :class:`BaseHandler`. The following " "methods are searched, and added to the possible chains (note that HTTP " @@ -732,53 +740,53 @@ msgid "" "`http_error_404` would handle HTTP 404 errors." msgstr "" -#: library/urllib.request.rst:624 +#: library/urllib.request.rst:632 msgid "" ":meth:`_open` --- signal that the handler knows how to open " "*protocol* URLs." msgstr "" -#: library/urllib.request.rst:627 +#: library/urllib.request.rst:635 msgid "See |protocol_open|_ for more information." msgstr "" -#: library/urllib.request.rst:629 +#: library/urllib.request.rst:637 msgid "" ":meth:`http_error_\\` --- signal that the handler knows how to " "handle HTTP errors with HTTP error code *type*." msgstr "" -#: library/urllib.request.rst:632 +#: library/urllib.request.rst:640 msgid "See |http_error_nnn|_ for more information." msgstr "" -#: library/urllib.request.rst:634 +#: library/urllib.request.rst:642 msgid "" ":meth:`_error` --- signal that the handler knows how to handle " "errors from (non-\\ ``http``) *protocol*." msgstr "" -#: library/urllib.request.rst:637 +#: library/urllib.request.rst:645 msgid "" ":meth:`_request` --- signal that the handler knows how to pre-" "process *protocol* requests." msgstr "" -#: library/urllib.request.rst:640 +#: library/urllib.request.rst:648 msgid "See |protocol_request|_ for more information." msgstr "" -#: library/urllib.request.rst:642 +#: library/urllib.request.rst:650 msgid "" ":meth:`_response` --- signal that the handler knows how to post-" "process *protocol* responses." msgstr "" -#: library/urllib.request.rst:645 +#: library/urllib.request.rst:653 msgid "See |protocol_response|_ for more information." msgstr "" -#: library/urllib.request.rst:654 +#: library/urllib.request.rst:662 msgid "" "Open the given *url* (which can be a request object or a string), optionally " "passing the given *data*. Arguments, return values and exceptions raised are " @@ -790,7 +798,7 @@ msgid "" "HTTP, HTTPS and FTP connections." msgstr "" -#: library/urllib.request.rst:666 +#: library/urllib.request.rst:674 msgid "" "Handle an error of the given protocol. This will call the registered error " "handlers for the given protocol with the given arguments (which are protocol " @@ -799,28 +807,28 @@ msgid "" "`http_error_\\` methods of the handler classes." msgstr "" -#: library/urllib.request.rst:672 +#: library/urllib.request.rst:680 msgid "" "Return values and exceptions raised are the same as those of :func:`urlopen`." msgstr "" -#: library/urllib.request.rst:674 +#: library/urllib.request.rst:682 msgid "OpenerDirector objects open URLs in three stages:" msgstr "" -#: library/urllib.request.rst:676 +#: library/urllib.request.rst:684 msgid "" "The order in which these methods are called within each stage is determined " "by sorting the handler instances." msgstr "" -#: library/urllib.request.rst:679 +#: library/urllib.request.rst:687 msgid "" "Every handler with a method named like :meth:`_request` has that " "method called to pre-process the request." msgstr "" -#: library/urllib.request.rst:682 +#: library/urllib.request.rst:690 msgid "" "Handlers with a method named like :meth:`_open` are called to " "handle the request. This stage ends when a handler either returns a non-\\ :" @@ -828,7 +836,7 @@ msgid "" "`~urllib.error.URLError`). Exceptions are allowed to propagate." msgstr "" -#: library/urllib.request.rst:687 +#: library/urllib.request.rst:695 msgid "" "In fact, the above algorithm is first tried for methods named :meth:" "`default_open`. If all such methods return :const:`None`, the algorithm is " @@ -837,64 +845,64 @@ msgid "" "meth:`unknown_open`." msgstr "" -#: library/urllib.request.rst:693 +#: library/urllib.request.rst:701 msgid "" "Note that the implementation of these methods may involve calls of the " "parent :class:`OpenerDirector` instance's :meth:`~OpenerDirector.open` and :" "meth:`~OpenerDirector.error` methods." msgstr "" -#: library/urllib.request.rst:697 +#: library/urllib.request.rst:705 msgid "" "Every handler with a method named like :meth:`_response` has that " "method called to post-process the response." msgstr "" -#: library/urllib.request.rst:704 +#: library/urllib.request.rst:712 msgid "BaseHandler Objects" msgstr "" -#: library/urllib.request.rst:706 +#: library/urllib.request.rst:714 msgid "" ":class:`BaseHandler` objects provide a couple of methods that are directly " "useful, and others that are meant to be used by derived classes. These are " "intended for direct use:" msgstr "" -#: library/urllib.request.rst:713 +#: library/urllib.request.rst:721 msgid "Add a director as parent." msgstr "" -#: library/urllib.request.rst:718 +#: library/urllib.request.rst:726 msgid "Remove any parents." msgstr "" -#: library/urllib.request.rst:720 +#: library/urllib.request.rst:728 msgid "" "The following attribute and methods should only be used by classes derived " "from :class:`BaseHandler`." msgstr "" -#: library/urllib.request.rst:725 +#: library/urllib.request.rst:733 msgid "" -"The convention has been adopted that subclasses defining :meth:" -"`_request` or :meth:`_response` methods are named :class:" -"`\\*Processor`; all others are named :class:`\\*Handler`." +"The convention has been adopted that subclasses defining :meth:`!" +"_request` or :meth:`!_response` methods are named :class:" +"`!\\*Processor`; all others are named :class:`!\\*Handler`." msgstr "" -#: library/urllib.request.rst:732 +#: library/urllib.request.rst:740 msgid "" "A valid :class:`OpenerDirector`, which can be used to open using a different " "protocol, or handle errors." msgstr "" -#: library/urllib.request.rst:738 +#: library/urllib.request.rst:746 msgid "" "This method is *not* defined in :class:`BaseHandler`, but subclasses should " "define it if they want to catch all URLs." msgstr "" -#: library/urllib.request.rst:741 +#: library/urllib.request.rst:749 msgid "" "This method, if implemented, will be called by the parent :class:" "`OpenerDirector`. It should return a file-like object as described in the " @@ -904,38 +912,38 @@ msgid "" "`MemoryError` should not be mapped to :exc:`URLError`)." msgstr "" -#: library/urllib.request.rst:748 +#: library/urllib.request.rst:756 msgid "This method will be called before any protocol-specific open method." msgstr "" -#: library/urllib.request.rst:755 +#: library/urllib.request.rst:763 msgid "" "This method is *not* defined in :class:`BaseHandler`, but subclasses should " "define it if they want to handle URLs with the given protocol." msgstr "" -#: library/urllib.request.rst:758 +#: library/urllib.request.rst:766 msgid "" "This method, if defined, will be called by the parent :class:" "`OpenerDirector`. Return values should be the same as for :meth:" "`default_open`." msgstr "" -#: library/urllib.request.rst:764 +#: library/urllib.request.rst:772 msgid "" "This method is *not* defined in :class:`BaseHandler`, but subclasses should " "define it if they want to catch all URLs with no specific registered handler " "to open it." msgstr "" -#: library/urllib.request.rst:768 +#: library/urllib.request.rst:776 msgid "" "This method, if implemented, will be called by the :attr:`parent` :class:" "`OpenerDirector`. Return values should be the same as for :meth:" "`default_open`." msgstr "" -#: library/urllib.request.rst:775 +#: library/urllib.request.rst:783 msgid "" "This method is *not* defined in :class:`BaseHandler`, but subclasses should " "override it if they intend to provide a catch-all for otherwise unhandled " @@ -944,7 +952,7 @@ msgid "" "other circumstances." msgstr "" -#: library/urllib.request.rst:780 +#: library/urllib.request.rst:788 msgid "" "*req* will be a :class:`Request` object, *fp* will be a file-like object " "with the HTTP error body, *code* will be the three-digit code of the error, " @@ -952,49 +960,49 @@ msgid "" "mapping object with the headers of the error." msgstr "" -#: library/urllib.request.rst:785 +#: library/urllib.request.rst:793 msgid "" "Return values and exceptions raised should be the same as those of :func:" "`urlopen`." msgstr "" -#: library/urllib.request.rst:792 +#: library/urllib.request.rst:800 msgid "" "*nnn* should be a three-digit HTTP error code. This method is also not " "defined in :class:`BaseHandler`, but will be called, if it exists, on an " "instance of a subclass, when an HTTP error with code *nnn* occurs." msgstr "" -#: library/urllib.request.rst:796 +#: library/urllib.request.rst:804 msgid "Subclasses should override this method to handle specific HTTP errors." msgstr "" -#: library/urllib.request.rst:798 +#: library/urllib.request.rst:806 msgid "" "Arguments, return values and exceptions raised should be the same as for :" "meth:`http_error_default`." msgstr "" -#: library/urllib.request.rst:806 +#: library/urllib.request.rst:814 msgid "" "This method is *not* defined in :class:`BaseHandler`, but subclasses should " "define it if they want to pre-process requests of the given protocol." msgstr "" -#: library/urllib.request.rst:809 +#: library/urllib.request.rst:817 msgid "" "This method, if defined, will be called by the parent :class:" "`OpenerDirector`. *req* will be a :class:`Request` object. The return value " "should be a :class:`Request` object." msgstr "" -#: library/urllib.request.rst:818 +#: library/urllib.request.rst:826 msgid "" "This method is *not* defined in :class:`BaseHandler`, but subclasses should " "define it if they want to post-process responses of the given protocol." msgstr "" -#: library/urllib.request.rst:821 +#: library/urllib.request.rst:829 msgid "" "This method, if defined, will be called by the parent :class:" "`OpenerDirector`. *req* will be a :class:`Request` object. *response* will " @@ -1003,36 +1011,36 @@ msgid "" "return value of :func:`urlopen`." msgstr "" -#: library/urllib.request.rst:831 +#: library/urllib.request.rst:839 msgid "HTTPRedirectHandler Objects" msgstr "" -#: library/urllib.request.rst:835 +#: library/urllib.request.rst:843 msgid "" "Some HTTP redirections require action from this module's client code. If " "this is the case, :exc:`~urllib.error.HTTPError` is raised. See :rfc:`2616` " "for details of the precise meanings of the various redirection codes." msgstr "" -#: library/urllib.request.rst:839 +#: library/urllib.request.rst:847 msgid "" "An :class:`HTTPError` exception raised as a security consideration if the " "HTTPRedirectHandler is presented with a redirected URL which is not an HTTP, " "HTTPS or FTP URL." msgstr "" -#: library/urllib.request.rst:846 +#: library/urllib.request.rst:854 msgid "" "Return a :class:`Request` or ``None`` in response to a redirect. This is " -"called by the default implementations of the :meth:`http_error_30\\*` " +"called by the default implementations of the :meth:`!http_error_30\\*` " "methods when a redirection is received from the server. If a redirection " -"should take place, return a new :class:`Request` to allow :meth:" -"`http_error_30\\*` to perform the redirect to *newurl*. Otherwise, raise :" +"should take place, return a new :class:`Request` to allow :meth:`!" +"http_error_30\\*` to perform the redirect to *newurl*. Otherwise, raise :" "exc:`~urllib.error.HTTPError` if no other handler should try to handle this " "URL, or return ``None`` if you can't but another handler might." msgstr "" -#: library/urllib.request.rst:856 +#: library/urllib.request.rst:864 msgid "" "The default implementation of this method does not strictly follow :rfc:" "`2616`, which says that 301 and 302 responses to ``POST`` requests must not " @@ -1041,54 +1049,54 @@ msgid "" "POST to a ``GET``, and the default implementation reproduces this behavior." msgstr "" -#: library/urllib.request.rst:865 +#: library/urllib.request.rst:873 msgid "" "Redirect to the ``Location:`` or ``URI:`` URL. This method is called by the " "parent :class:`OpenerDirector` when getting an HTTP 'moved permanently' " "response." msgstr "" -#: library/urllib.request.rst:871 +#: library/urllib.request.rst:879 msgid "" "The same as :meth:`http_error_301`, but called for the 'found' response." msgstr "" -#: library/urllib.request.rst:876 +#: library/urllib.request.rst:884 msgid "" "The same as :meth:`http_error_301`, but called for the 'see other' response." msgstr "" -#: library/urllib.request.rst:881 +#: library/urllib.request.rst:889 msgid "" "The same as :meth:`http_error_301`, but called for the 'temporary redirect' " "response. It does not allow changing the request method from ``POST`` to " "``GET``." msgstr "" -#: library/urllib.request.rst:888 +#: library/urllib.request.rst:896 msgid "" "The same as :meth:`http_error_301`, but called for the 'permanent redirect' " "response. It does not allow changing the request method from ``POST`` to " "``GET``." msgstr "" -#: library/urllib.request.rst:898 +#: library/urllib.request.rst:906 msgid "HTTPCookieProcessor Objects" msgstr "" -#: library/urllib.request.rst:900 +#: library/urllib.request.rst:908 msgid ":class:`HTTPCookieProcessor` instances have one attribute:" msgstr "" -#: library/urllib.request.rst:904 +#: library/urllib.request.rst:912 msgid "The :class:`http.cookiejar.CookieJar` in which cookies are stored." msgstr "" -#: library/urllib.request.rst:910 +#: library/urllib.request.rst:918 msgid "ProxyHandler Objects" msgstr "" -#: library/urllib.request.rst:916 +#: library/urllib.request.rst:924 msgid "" "The :class:`ProxyHandler` will have a method :meth:`_open` for " "every *protocol* which has a proxy in the *proxies* dictionary given in the " @@ -1097,17 +1105,17 @@ msgid "" "actually execute the protocol." msgstr "" -#: library/urllib.request.rst:926 +#: library/urllib.request.rst:934 msgid "HTTPPasswordMgr Objects" msgstr "" -#: library/urllib.request.rst:928 +#: library/urllib.request.rst:936 msgid "" "These methods are available on :class:`HTTPPasswordMgr` and :class:" "`HTTPPasswordMgrWithDefaultRealm` objects." msgstr "" -#: library/urllib.request.rst:934 +#: library/urllib.request.rst:942 msgid "" "*uri* can be either a single URI, or a sequence of URIs. *realm*, *user* and " "*passwd* must be strings. This causes ``(user, passwd)`` to be used as " @@ -1115,30 +1123,30 @@ msgid "" "of the given URIs is given." msgstr "" -#: library/urllib.request.rst:942 +#: library/urllib.request.rst:950 msgid "" "Get user/password for given realm and URI, if any. This method will return " "``(None, None)`` if there is no matching user/password." msgstr "" -#: library/urllib.request.rst:945 +#: library/urllib.request.rst:953 msgid "" "For :class:`HTTPPasswordMgrWithDefaultRealm` objects, the realm ``None`` " "will be searched if the given *realm* has no matching user/password." msgstr "" -#: library/urllib.request.rst:952 +#: library/urllib.request.rst:960 msgid "HTTPPasswordMgrWithPriorAuth Objects" msgstr "" -#: library/urllib.request.rst:954 +#: library/urllib.request.rst:962 msgid "" "This password manager extends :class:`HTTPPasswordMgrWithDefaultRealm` to " "support tracking URIs for which authentication credentials should always be " "sent." msgstr "" -#: library/urllib.request.rst:961 +#: library/urllib.request.rst:969 msgid "" "*realm*, *uri*, *user*, *passwd* are as for :meth:`HTTPPasswordMgr." "add_password`. *is_authenticated* sets the initial value of the " @@ -1146,25 +1154,25 @@ msgid "" "*is_authenticated* is specified as ``True``, *realm* is ignored." msgstr "" -#: library/urllib.request.rst:969 +#: library/urllib.request.rst:977 msgid "Same as for :class:`HTTPPasswordMgrWithDefaultRealm` objects" msgstr "" -#: library/urllib.request.rst:975 +#: library/urllib.request.rst:983 msgid "" "Update the ``is_authenticated`` flag for the given *uri* or list of URIs." msgstr "" -#: library/urllib.request.rst:981 +#: library/urllib.request.rst:989 msgid "" "Returns the current state of the ``is_authenticated`` flag for the given URI." msgstr "" -#: library/urllib.request.rst:988 +#: library/urllib.request.rst:996 msgid "AbstractBasicAuthHandler Objects" msgstr "" -#: library/urllib.request.rst:993 +#: library/urllib.request.rst:1001 msgid "" "Handle an authentication request by getting a user/password pair, and re-" "trying the request. *authreq* should be the name of the header where the " @@ -1173,7 +1181,7 @@ msgid "" "`Request` object, and *headers* should be the error headers." msgstr "" -#: library/urllib.request.rst:999 +#: library/urllib.request.rst:1007 msgid "" "*host* is either an authority (e.g. ``\"python.org\"``) or a URL containing " "an authority component (e.g. ``\"http://python.org/\"``). In either case, " @@ -1181,24 +1189,24 @@ msgid "" "and ``\"python.org:80\"`` are fine, ``\"joe:password@python.org\"`` is not)." msgstr "" -#: library/urllib.request.rst:1008 +#: library/urllib.request.rst:1016 msgid "HTTPBasicAuthHandler Objects" msgstr "" -#: library/urllib.request.rst:1013 library/urllib.request.rst:1024 -#: library/urllib.request.rst:1049 library/urllib.request.rst:1060 +#: library/urllib.request.rst:1021 library/urllib.request.rst:1032 +#: library/urllib.request.rst:1057 library/urllib.request.rst:1068 msgid "Retry the request with authentication information, if available." msgstr "" -#: library/urllib.request.rst:1019 +#: library/urllib.request.rst:1027 msgid "ProxyBasicAuthHandler Objects" msgstr "" -#: library/urllib.request.rst:1030 +#: library/urllib.request.rst:1038 msgid "AbstractDigestAuthHandler Objects" msgstr "" -#: library/urllib.request.rst:1035 +#: library/urllib.request.rst:1043 msgid "" "*authreq* should be the name of the header where the information about the " "realm is included in the request, *host* should be the host to authenticate " @@ -1206,55 +1214,55 @@ msgid "" "should be the error headers." msgstr "" -#: library/urllib.request.rst:1044 +#: library/urllib.request.rst:1052 msgid "HTTPDigestAuthHandler Objects" msgstr "" -#: library/urllib.request.rst:1055 +#: library/urllib.request.rst:1063 msgid "ProxyDigestAuthHandler Objects" msgstr "" -#: library/urllib.request.rst:1066 +#: library/urllib.request.rst:1074 msgid "HTTPHandler Objects" msgstr "" -#: library/urllib.request.rst:1071 +#: library/urllib.request.rst:1079 msgid "" "Send an HTTP request, which can be either GET or POST, depending on ``req." "has_data()``." msgstr "" -#: library/urllib.request.rst:1078 +#: library/urllib.request.rst:1086 msgid "HTTPSHandler Objects" msgstr "" -#: library/urllib.request.rst:1083 +#: library/urllib.request.rst:1091 msgid "" "Send an HTTPS request, which can be either GET or POST, depending on ``req." "has_data()``." msgstr "" -#: library/urllib.request.rst:1090 +#: library/urllib.request.rst:1098 msgid "FileHandler Objects" msgstr "" -#: library/urllib.request.rst:1095 +#: library/urllib.request.rst:1103 msgid "" "Open the file locally, if there is no host name, or the host name is " "``'localhost'``." msgstr "" -#: library/urllib.request.rst:1098 +#: library/urllib.request.rst:1106 msgid "" "This method is applicable only for local hostnames. When a remote hostname " "is given, an :exc:`~urllib.error.URLError` is raised." msgstr "" -#: library/urllib.request.rst:1106 +#: library/urllib.request.rst:1114 msgid "DataHandler Objects" msgstr "" -#: library/urllib.request.rst:1110 +#: library/urllib.request.rst:1118 msgid "" "Read a data URL. This kind of URL contains the content encoded in the URL " "itself. The data URL syntax is specified in :rfc:`2397`. This implementation " @@ -1264,51 +1272,51 @@ msgid "" "implementation will raise an :exc:`ValueError` in that case." msgstr "" -#: library/urllib.request.rst:1121 +#: library/urllib.request.rst:1129 msgid "FTPHandler Objects" msgstr "" -#: library/urllib.request.rst:1126 +#: library/urllib.request.rst:1134 msgid "" "Open the FTP file indicated by *req*. The login is always done with empty " "username and password." msgstr "" -#: library/urllib.request.rst:1133 +#: library/urllib.request.rst:1141 msgid "CacheFTPHandler Objects" msgstr "" -#: library/urllib.request.rst:1135 +#: library/urllib.request.rst:1143 msgid "" ":class:`CacheFTPHandler` objects are :class:`FTPHandler` objects with the " "following additional methods:" msgstr "" -#: library/urllib.request.rst:1141 +#: library/urllib.request.rst:1149 msgid "Set timeout of connections to *t* seconds." msgstr "" -#: library/urllib.request.rst:1146 +#: library/urllib.request.rst:1154 msgid "Set maximum number of cached connections to *m*." msgstr "" -#: library/urllib.request.rst:1152 +#: library/urllib.request.rst:1160 msgid "UnknownHandler Objects" msgstr "" -#: library/urllib.request.rst:1157 +#: library/urllib.request.rst:1165 msgid "Raise a :exc:`~urllib.error.URLError` exception." msgstr "" -#: library/urllib.request.rst:1163 +#: library/urllib.request.rst:1171 msgid "HTTPErrorProcessor Objects" msgstr "" -#: library/urllib.request.rst:1169 +#: library/urllib.request.rst:1177 msgid "For 200 error codes, the response object is returned immediately." msgstr "" -#: library/urllib.request.rst:1171 +#: library/urllib.request.rst:1179 msgid "" "For non-200 error codes, this simply passes the job on to the :meth:" "`http_error_\\` handler methods, via :meth:`OpenerDirector.error`. " @@ -1316,31 +1324,31 @@ msgid "" "error.HTTPError` if no other handler handles the error." msgstr "" -#: library/urllib.request.rst:1179 +#: library/urllib.request.rst:1187 msgid "Process HTTPS error responses." msgstr "" -#: library/urllib.request.rst:1181 +#: library/urllib.request.rst:1189 msgid "The behavior is same as :meth:`http_response`." msgstr "" -#: library/urllib.request.rst:1187 +#: library/urllib.request.rst:1195 msgid "Examples" msgstr "" -#: library/urllib.request.rst:1189 +#: library/urllib.request.rst:1197 msgid "" "In addition to the examples below, more examples are given in :ref:`urllib-" "howto`." msgstr "" -#: library/urllib.request.rst:1192 +#: library/urllib.request.rst:1200 msgid "" "This example gets the python.org main page and displays the first 300 bytes " "of it. ::" msgstr "" -#: library/urllib.request.rst:1205 +#: library/urllib.request.rst:1213 msgid "" "Note that urlopen returns a bytes object. This is because there is no way " "for urlopen to automatically determine the encoding of the byte stream it " @@ -1349,45 +1357,45 @@ msgid "" "appropriate encoding." msgstr "" -#: library/urllib.request.rst:1211 +#: library/urllib.request.rst:1219 msgid "" "The following W3C document, https://www.w3.org/International/O-charset\\ , " "lists the various ways in which an (X)HTML or an XML document could have " "specified its encoding information." msgstr "" -#: library/urllib.request.rst:1215 +#: library/urllib.request.rst:1223 msgid "" "As the python.org website uses *utf-8* encoding as specified in its meta " "tag, we will use the same for decoding the bytes object. ::" msgstr "" -#: library/urllib.request.rst:1224 +#: library/urllib.request.rst:1232 msgid "" "It is also possible to achieve the same result without using the :term:" "`context manager` approach. ::" msgstr "" -#: library/urllib.request.rst:1233 +#: library/urllib.request.rst:1241 msgid "" "In the following example, we are sending a data-stream to the stdin of a CGI " "and reading the data it returns to us. Note that this example will only work " "when the Python installation supports SSL. ::" msgstr "" -#: library/urllib.request.rst:1245 +#: library/urllib.request.rst:1253 msgid "The code for the sample CGI used in the above example is::" msgstr "" -#: library/urllib.request.rst:1252 +#: library/urllib.request.rst:1260 msgid "Here is an example of doing a ``PUT`` request using :class:`Request`::" msgstr "" -#: library/urllib.request.rst:1262 +#: library/urllib.request.rst:1270 msgid "Use of Basic HTTP Authentication::" msgstr "" -#: library/urllib.request.rst:1276 +#: library/urllib.request.rst:1284 msgid "" ":func:`build_opener` provides many handlers by default, including a :class:" "`ProxyHandler`. By default, :class:`ProxyHandler` uses the environment " @@ -1396,71 +1404,71 @@ msgid "" "read to obtain the HTTP proxy's URL." msgstr "" -#: library/urllib.request.rst:1282 +#: library/urllib.request.rst:1290 msgid "" "This example replaces the default :class:`ProxyHandler` with one that uses " "programmatically supplied proxy URLs, and adds proxy authorization support " "with :class:`ProxyBasicAuthHandler`. ::" msgstr "" -#: library/urllib.request.rst:1294 +#: library/urllib.request.rst:1302 msgid "Adding HTTP headers:" msgstr "" -#: library/urllib.request.rst:1296 +#: library/urllib.request.rst:1304 msgid "Use the *headers* argument to the :class:`Request` constructor, or::" msgstr "" -#: library/urllib.request.rst:1305 +#: library/urllib.request.rst:1313 msgid "" ":class:`OpenerDirector` automatically adds a :mailheader:`User-Agent` header " "to every :class:`Request`. To change this::" msgstr "" -#: library/urllib.request.rst:1313 +#: library/urllib.request.rst:1321 msgid "" "Also, remember that a few standard headers (:mailheader:`Content-Length`, :" "mailheader:`Content-Type` and :mailheader:`Host`) are added when the :class:" "`Request` is passed to :func:`urlopen` (or :meth:`OpenerDirector.open`)." msgstr "" -#: library/urllib.request.rst:1320 +#: library/urllib.request.rst:1328 msgid "" "Here is an example session that uses the ``GET`` method to retrieve a URL " "containing parameters::" msgstr "" -#: library/urllib.request.rst:1331 +#: library/urllib.request.rst:1339 msgid "" "The following example uses the ``POST`` method instead. Note that params " "output from urlencode is encoded to bytes before it is sent to urlopen as " "data::" msgstr "" -#: library/urllib.request.rst:1342 +#: library/urllib.request.rst:1350 msgid "" "The following example uses an explicitly specified HTTP proxy, overriding " "environment settings::" msgstr "" -#: library/urllib.request.rst:1352 +#: library/urllib.request.rst:1360 msgid "" "The following example uses no proxies at all, overriding environment " "settings::" msgstr "" -#: library/urllib.request.rst:1362 +#: library/urllib.request.rst:1370 msgid "Legacy interface" msgstr "" -#: library/urllib.request.rst:1364 +#: library/urllib.request.rst:1372 msgid "" "The following functions and classes are ported from the Python 2 module " "``urllib`` (as opposed to ``urllib2``). They might become deprecated at " "some point in the future." msgstr "" -#: library/urllib.request.rst:1370 +#: library/urllib.request.rst:1378 msgid "" "Copy a network object denoted by a URL to a local file. If the URL points to " "a local file, the object will not be copied unless filename is supplied. " @@ -1470,7 +1478,7 @@ msgid "" "remote object). Exceptions are the same as for :func:`urlopen`." msgstr "" -#: library/urllib.request.rst:1377 +#: library/urllib.request.rst:1385 msgid "" "The second argument, if present, specifies the file location to copy to (if " "absent, the location will be a tempfile with a generated name). The third " @@ -1482,11 +1490,11 @@ msgid "" "file size in response to a retrieval request." msgstr "" -#: library/urllib.request.rst:1386 +#: library/urllib.request.rst:1394 msgid "The following example illustrates the most common usage scenario::" msgstr "" -#: library/urllib.request.rst:1393 +#: library/urllib.request.rst:1401 msgid "" "If the *url* uses the :file:`http:` scheme identifier, the optional *data* " "argument may be given to specify a ``POST`` request (normally the request " @@ -1495,7 +1503,7 @@ msgid "" "parse.urlencode` function." msgstr "" -#: library/urllib.request.rst:1399 +#: library/urllib.request.rst:1407 msgid "" ":func:`urlretrieve` will raise :exc:`ContentTooShortError` when it detects " "that the amount of data available was less than the expected amount (which " @@ -1503,40 +1511,40 @@ msgid "" "example, when the download is interrupted." msgstr "" -#: library/urllib.request.rst:1404 +#: library/urllib.request.rst:1412 msgid "" "The *Content-Length* is treated as a lower bound: if there's more data to " "read, urlretrieve reads more data, but if less data is available, it raises " "the exception." msgstr "" -#: library/urllib.request.rst:1408 +#: library/urllib.request.rst:1416 msgid "" "You can still retrieve the downloaded data in this case, it is stored in " "the :attr:`content` attribute of the exception instance." msgstr "" -#: library/urllib.request.rst:1411 +#: library/urllib.request.rst:1419 msgid "" "If no *Content-Length* header was supplied, urlretrieve can not check the " "size of the data it has downloaded, and just returns it. In this case you " "just have to assume that the download was successful." msgstr "" -#: library/urllib.request.rst:1417 +#: library/urllib.request.rst:1425 msgid "" "Cleans up temporary files that may have been left behind by previous calls " "to :func:`urlretrieve`." msgstr "" -#: library/urllib.request.rst:1424 +#: library/urllib.request.rst:1432 msgid "" "Base class for opening and reading URLs. Unless you need to support opening " "objects using schemes other than :file:`http:`, :file:`ftp:`, or :file:`file:" "`, you probably want to use :class:`FancyURLopener`." msgstr "" -#: library/urllib.request.rst:1428 +#: library/urllib.request.rst:1436 msgid "" "By default, the :class:`URLopener` class sends a :mailheader:`User-Agent` " "header of ``urllib/VVV``, where *VVV* is the :mod:`urllib` version number. " @@ -1546,7 +1554,7 @@ msgid "" "subclass definition." msgstr "" -#: library/urllib.request.rst:1434 +#: library/urllib.request.rst:1442 msgid "" "The optional *proxies* parameter should be a dictionary mapping scheme names " "to proxy URLs, where an empty dictionary turns proxies off completely. Its " @@ -1554,7 +1562,7 @@ msgid "" "be used if present, as discussed in the definition of :func:`urlopen`, above." msgstr "" -#: library/urllib.request.rst:1439 +#: library/urllib.request.rst:1447 msgid "" "Additional keyword parameters, collected in *x509*, may be used for " "authentication of the client when using the :file:`https:` scheme. The " @@ -1562,13 +1570,13 @@ msgid "" "certificate; both are needed to support client authentication." msgstr "" -#: library/urllib.request.rst:1444 +#: library/urllib.request.rst:1452 msgid "" ":class:`URLopener` objects will raise an :exc:`OSError` exception if the " "server returns an error code." msgstr "" -#: library/urllib.request.rst:1449 +#: library/urllib.request.rst:1457 msgid "" "Open *fullurl* using the appropriate protocol. This method sets up cache " "and proxy information, then calls the appropriate open method with its input " @@ -1577,15 +1585,15 @@ msgid "" "`urlopen`." msgstr "" -#: library/urllib.request.rst:1455 +#: library/urllib.request.rst:1463 msgid "This method always quotes *fullurl* using :func:`~urllib.parse.quote`." msgstr "" -#: library/urllib.request.rst:1459 +#: library/urllib.request.rst:1467 msgid "Overridable interface to open unknown URL types." msgstr "" -#: library/urllib.request.rst:1464 +#: library/urllib.request.rst:1472 msgid "" "Retrieves the contents of *url* and places it in *filename*. The return " "value is a tuple consisting of a local filename and either an :class:`email." @@ -1602,7 +1610,7 @@ msgid "" "*reporthook* is ignored for local URLs." msgstr "" -#: library/urllib.request.rst:1477 +#: library/urllib.request.rst:1485 msgid "" "If the *url* uses the :file:`http:` scheme identifier, the optional *data* " "argument may be given to specify a ``POST`` request (normally the request " @@ -1611,7 +1619,7 @@ msgid "" "urlencode` function." msgstr "" -#: library/urllib.request.rst:1486 +#: library/urllib.request.rst:1494 msgid "" "Variable that specifies the user agent of the opener object. To get :mod:" "`urllib` to tell servers that it is a particular user agent, set this in a " @@ -1619,7 +1627,7 @@ msgid "" "constructor." msgstr "" -#: library/urllib.request.rst:1496 +#: library/urllib.request.rst:1504 msgid "" ":class:`FancyURLopener` subclasses :class:`URLopener` providing default " "handling for the following HTTP response codes: 301, 302, 303, 307 and 401. " @@ -1630,14 +1638,14 @@ msgid "" "defaults to 10." msgstr "" -#: library/urllib.request.rst:1503 +#: library/urllib.request.rst:1511 msgid "" "For all other response codes, the method :meth:`http_error_default` is " "called which you can override in subclasses to handle the error " "appropriately." msgstr "" -#: library/urllib.request.rst:1508 +#: library/urllib.request.rst:1516 msgid "" "According to the letter of :rfc:`2616`, 301 and 302 responses to POST " "requests must not be automatically redirected without confirmation by the " @@ -1646,13 +1654,13 @@ msgid "" "behaviour." msgstr "" -#: library/urllib.request.rst:1513 +#: library/urllib.request.rst:1521 msgid "" "The parameters to the constructor are the same as those for :class:" "`URLopener`." msgstr "" -#: library/urllib.request.rst:1517 +#: library/urllib.request.rst:1525 msgid "" "When performing basic authentication, a :class:`FancyURLopener` instance " "calls its :meth:`prompt_user_passwd` method. The default implementation " @@ -1661,59 +1669,59 @@ msgid "" "needed." msgstr "" -#: library/urllib.request.rst:1522 +#: library/urllib.request.rst:1530 msgid "" "The :class:`FancyURLopener` class offers one additional method that should " "be overloaded to provide the appropriate behavior:" msgstr "" -#: library/urllib.request.rst:1527 +#: library/urllib.request.rst:1535 msgid "" "Return information needed to authenticate the user at the given host in the " "specified security realm. The return value should be a tuple, ``(user, " "password)``, which can be used for basic authentication." msgstr "" -#: library/urllib.request.rst:1531 +#: library/urllib.request.rst:1539 msgid "" "The implementation prompts for this information on the terminal; an " "application should override this method to use an appropriate interaction " "model in the local environment." msgstr "" -#: library/urllib.request.rst:1537 +#: library/urllib.request.rst:1545 msgid ":mod:`urllib.request` Restrictions" msgstr "" -#: library/urllib.request.rst:1543 +#: library/urllib.request.rst:1551 msgid "" "Currently, only the following protocols are supported: HTTP (versions 0.9 " "and 1.0), FTP, local files, and data URLs." msgstr "" -#: library/urllib.request.rst:1546 +#: library/urllib.request.rst:1554 msgid "Added support for data URLs." msgstr "" -#: library/urllib.request.rst:1548 +#: library/urllib.request.rst:1556 msgid "" "The caching feature of :func:`urlretrieve` has been disabled until someone " "finds the time to hack proper processing of Expiration time headers." msgstr "" -#: library/urllib.request.rst:1551 +#: library/urllib.request.rst:1559 msgid "" "There should be a function to query whether a particular URL is in the cache." msgstr "" -#: library/urllib.request.rst:1553 +#: library/urllib.request.rst:1561 msgid "" "For backward compatibility, if a URL appears to point to a local file but " "the file can't be opened, the URL is re-interpreted using the FTP protocol. " "This can sometimes cause confusing error messages." msgstr "" -#: library/urllib.request.rst:1557 +#: library/urllib.request.rst:1565 msgid "" "The :func:`urlopen` and :func:`urlretrieve` functions can cause arbitrarily " "long delays while waiting for a network connection to be set up. This means " @@ -1721,7 +1729,7 @@ msgid "" "functions without using threads." msgstr "" -#: library/urllib.request.rst:1566 +#: library/urllib.request.rst:1574 msgid "" "The data returned by :func:`urlopen` or :func:`urlretrieve` is the raw data " "returned by the server. This may be binary data (such as an image), plain " @@ -1731,7 +1739,7 @@ msgid "" "module :mod:`html.parser` to parse it." msgstr "" -#: library/urllib.request.rst:1575 +#: library/urllib.request.rst:1583 msgid "" "The code handling the FTP protocol cannot differentiate between a file and a " "directory. This can lead to unexpected behavior when attempting to read a " @@ -1749,11 +1757,11 @@ msgid "" "meet your needs." msgstr "" -#: library/urllib.request.rst:1592 +#: library/urllib.request.rst:1600 msgid ":mod:`urllib.response` --- Response classes used by urllib" msgstr "" -#: library/urllib.request.rst:1597 +#: library/urllib.request.rst:1605 msgid "" "The :mod:`urllib.response` module defines functions and classes which define " "a minimal file-like interface, including ``read()`` and ``readline()``. " @@ -1762,46 +1770,46 @@ msgid "" "addinfourl` instance:" msgstr "" -#: library/urllib.request.rst:1606 +#: library/urllib.request.rst:1614 msgid "" "URL of the resource retrieved, commonly used to determine if a redirect was " "followed." msgstr "" -#: library/urllib.request.rst:1610 +#: library/urllib.request.rst:1618 msgid "" "Returns the headers of the response in the form of an :class:`~email.message." "EmailMessage` instance." msgstr "" -#: library/urllib.request.rst:1616 +#: library/urllib.request.rst:1624 msgid "Status code returned by server." msgstr "" -#: library/urllib.request.rst:1620 +#: library/urllib.request.rst:1628 msgid "Deprecated in favor of :attr:`~addinfourl.url`." msgstr "" -#: library/urllib.request.rst:1625 +#: library/urllib.request.rst:1633 msgid "Deprecated in favor of :attr:`~addinfourl.headers`." msgstr "" -#: library/urllib.request.rst:1630 library/urllib.request.rst:1635 +#: library/urllib.request.rst:1638 library/urllib.request.rst:1643 msgid "Deprecated in favor of :attr:`~addinfourl.status`." msgstr "" -#: library/urllib.request.rst:1539 library/urllib.request.rst:1562 +#: library/urllib.request.rst:1547 library/urllib.request.rst:1570 msgid "HTTP" msgstr "" -#: library/urllib.request.rst:1539 library/urllib.request.rst:1562 +#: library/urllib.request.rst:1547 library/urllib.request.rst:1570 msgid "protocol" msgstr "" -#: library/urllib.request.rst:1539 library/urllib.request.rst:1573 +#: library/urllib.request.rst:1547 library/urllib.request.rst:1581 msgid "FTP" msgstr "" -#: library/urllib.request.rst:1562 +#: library/urllib.request.rst:1570 msgid "HTML" msgstr "" diff --git a/library/wsgiref.po b/library/wsgiref.po index f54e9c51b..5a25b8fcc 100644 --- a/library/wsgiref.po +++ b/library/wsgiref.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -159,7 +159,7 @@ msgid "" "actual WSGI servers or applications, since the data is fake!" msgstr "" -#: library/wsgiref.rst:170 library/wsgiref.rst:425 +#: library/wsgiref.rst:170 library/wsgiref.rst:426 msgid "Example usage::" msgstr "" @@ -216,16 +216,17 @@ msgstr "" #: library/wsgiref.rst:203 msgid "" ":class:`Headers` objects support typical mapping operations including :meth:" -"`~object.__getitem__`, :meth:`get`, :meth:`__setitem__`, :meth:" -"`setdefault`, :meth:`__delitem__` and :meth:`__contains__`. For each of " -"these methods, the key is the header name (treated case-insensitively), and " -"the value is the first value associated with that header name. Setting a " -"header deletes any existing values for that header, then adds a new value at " -"the end of the wrapped header list. Headers' existing order is generally " -"maintained, with new headers added to the end of the wrapped list." +"`~object.__getitem__`, :meth:`~dict.get`, :meth:`~object.__setitem__`, :meth:" +"`~dict.setdefault`, :meth:`~object.__delitem__` and :meth:`~object." +"__contains__`. For each of these methods, the key is the header name " +"(treated case-insensitively), and the value is the first value associated " +"with that header name. Setting a header deletes any existing values for " +"that header, then adds a new value at the end of the wrapped header list. " +"Headers' existing order is generally maintained, with new headers added to " +"the end of the wrapped list." msgstr "" -#: library/wsgiref.rst:212 +#: library/wsgiref.rst:213 msgid "" "Unlike a dictionary, :class:`Headers` objects do not raise an error when you " "try to get or delete a key that isn't in the wrapped header list. Getting a " @@ -233,7 +234,7 @@ msgid "" "does nothing." msgstr "" -#: library/wsgiref.rst:217 +#: library/wsgiref.rst:218 msgid "" ":class:`Headers` objects also support :meth:`keys`, :meth:`values`, and :" "meth:`items` methods. The lists returned by :meth:`keys` and :meth:`items` " @@ -244,7 +245,7 @@ msgid "" "list." msgstr "" -#: library/wsgiref.rst:224 +#: library/wsgiref.rst:225 msgid "" "Calling ``bytes()`` on a :class:`Headers` object returns a formatted " "bytestring suitable for transmission as HTTP response headers. Each header " @@ -253,18 +254,18 @@ msgid "" "terminated with a blank line." msgstr "" -#: library/wsgiref.rst:230 +#: library/wsgiref.rst:231 msgid "" "In addition to their mapping interface and formatting features, :class:" "`Headers` objects also have the following methods for querying and adding " "multi-valued headers, and for adding headers with MIME parameters:" msgstr "" -#: library/wsgiref.rst:237 +#: library/wsgiref.rst:238 msgid "Return a list of all the values for the named header." msgstr "" -#: library/wsgiref.rst:239 +#: library/wsgiref.rst:240 msgid "" "The returned list will be sorted in the order they appeared in the original " "header list or were added to this instance, and may contain duplicates. Any " @@ -272,13 +273,13 @@ msgid "" "no fields exist with the given name, returns an empty list." msgstr "" -#: library/wsgiref.rst:247 +#: library/wsgiref.rst:248 msgid "" "Add a (possibly multi-valued) header, with optional MIME parameters " "specified via keyword arguments." msgstr "" -#: library/wsgiref.rst:250 +#: library/wsgiref.rst:251 msgid "" "*name* is the header field to add. Keyword arguments can be used to set " "MIME parameters for the header field. Each parameter must be a string or " @@ -290,19 +291,19 @@ msgid "" "a value.) Example usage::" msgstr "" -#: library/wsgiref.rst:260 +#: library/wsgiref.rst:261 msgid "The above will add a header that looks like this::" msgstr "" -#: library/wsgiref.rst:265 +#: library/wsgiref.rst:266 msgid "*headers* parameter is optional." msgstr "" -#: library/wsgiref.rst:270 +#: library/wsgiref.rst:271 msgid ":mod:`wsgiref.simple_server` -- a simple WSGI HTTP server" msgstr "" -#: library/wsgiref.rst:276 +#: library/wsgiref.rst:277 msgid "" "This module implements a simple HTTP server (based on :mod:`http.server`) " "that serves WSGI applications. Each server instance serves a single WSGI " @@ -313,7 +314,7 @@ msgid "" "`wsgiref.util`.)" msgstr "" -#: library/wsgiref.rst:287 +#: library/wsgiref.rst:288 msgid "" "Create a new WSGI server listening on *host* and *port*, accepting " "connections for *app*. The return value is an instance of the supplied " @@ -322,7 +323,7 @@ msgid "" "pep:`3333`." msgstr "" -#: library/wsgiref.rst:308 +#: library/wsgiref.rst:309 msgid "" "This function is a small but complete WSGI application that returns a text " "page containing the message \"Hello world!\" and a list of the key/value " @@ -331,51 +332,51 @@ msgid "" "WSGI application correctly." msgstr "" -#: library/wsgiref.rst:317 +#: library/wsgiref.rst:318 msgid "" "Create a :class:`WSGIServer` instance. *server_address* should be a ``(host," "port)`` tuple, and *RequestHandlerClass* should be the subclass of :class:" "`http.server.BaseHTTPRequestHandler` that will be used to process requests." msgstr "" -#: library/wsgiref.rst:322 +#: library/wsgiref.rst:323 msgid "" "You do not normally need to call this constructor, as the :func:" "`make_server` function can handle all the details for you." msgstr "" -#: library/wsgiref.rst:325 +#: library/wsgiref.rst:326 msgid "" ":class:`WSGIServer` is a subclass of :class:`http.server.HTTPServer`, so all " "of its methods (such as :meth:`serve_forever` and :meth:`handle_request`) " "are available. :class:`WSGIServer` also provides these WSGI-specific methods:" msgstr "" -#: library/wsgiref.rst:332 +#: library/wsgiref.rst:333 msgid "" "Sets the callable *application* as the WSGI application that will receive " "requests." msgstr "" -#: library/wsgiref.rst:338 +#: library/wsgiref.rst:339 msgid "Returns the currently set application callable." msgstr "" -#: library/wsgiref.rst:340 +#: library/wsgiref.rst:341 msgid "" "Normally, however, you do not need to use these additional methods, as :meth:" "`set_app` is normally called by :func:`make_server`, and the :meth:`get_app` " "exists mainly for the benefit of request handler instances." msgstr "" -#: library/wsgiref.rst:347 +#: library/wsgiref.rst:348 msgid "" "Create an HTTP handler for the given *request* (i.e. a socket), " "*client_address* (a ``(host,port)`` tuple), and *server* (:class:" "`WSGIServer` instance)." msgstr "" -#: library/wsgiref.rst:350 +#: library/wsgiref.rst:351 msgid "" "You do not need to create instances of this class directly; they are " "automatically created as needed by :class:`WSGIServer` objects. You can, " @@ -384,7 +385,7 @@ msgid "" "subclasses:" msgstr "" -#: library/wsgiref.rst:359 +#: library/wsgiref.rst:360 msgid "" "Return a :data:`~wsgiref.types.WSGIEnvironment` dictionary for a request. " "The default implementation copies the contents of the :class:`WSGIServer` " @@ -394,24 +395,24 @@ msgid "" "variables as specified in :pep:`3333`." msgstr "" -#: library/wsgiref.rst:370 +#: library/wsgiref.rst:371 msgid "" "Return the object that should be used as the ``wsgi.errors`` stream. The " "default implementation just returns ``sys.stderr``." msgstr "" -#: library/wsgiref.rst:376 +#: library/wsgiref.rst:377 msgid "" "Process the HTTP request. The default implementation creates a handler " "instance using a :mod:`wsgiref.handlers` class to implement the actual WSGI " "application interface." msgstr "" -#: library/wsgiref.rst:382 +#: library/wsgiref.rst:383 msgid ":mod:`wsgiref.validate` --- WSGI conformance checker" msgstr "" -#: library/wsgiref.rst:388 +#: library/wsgiref.rst:389 msgid "" "When creating new WSGI application objects, frameworks, servers, or " "middleware, it can be useful to validate the new code's conformance using :" @@ -421,7 +422,7 @@ msgid "" "conformance." msgstr "" -#: library/wsgiref.rst:395 +#: library/wsgiref.rst:396 msgid "" "Note that this utility does not guarantee complete :pep:`3333` compliance; " "an absence of errors from this module does not necessarily mean that errors " @@ -430,13 +431,13 @@ msgid "" "compliant." msgstr "" -#: library/wsgiref.rst:400 +#: library/wsgiref.rst:401 msgid "" "This module is based on the :mod:`paste.lint` module from Ian Bicking's " "\"Python Paste\" library." msgstr "" -#: library/wsgiref.rst:406 +#: library/wsgiref.rst:407 msgid "" "Wrap *application* and return a new WSGI application object. The returned " "application will forward all requests to the original *application*, and " @@ -444,7 +445,7 @@ msgid "" "conforming to the WSGI specification and to :rfc:`2616`." msgstr "" -#: library/wsgiref.rst:411 +#: library/wsgiref.rst:412 msgid "" "Any detected nonconformance results in an :exc:`AssertionError` being " "raised; note, however, that how these errors are handled is server-" @@ -455,7 +456,7 @@ msgid "" "stream." msgstr "" -#: library/wsgiref.rst:418 +#: library/wsgiref.rst:419 msgid "" "This wrapper may also generate output using the :mod:`warnings` module to " "indicate behaviors that are questionable but which may not actually be " @@ -465,11 +466,11 @@ msgid "" "object)." msgstr "" -#: library/wsgiref.rst:450 +#: library/wsgiref.rst:451 msgid ":mod:`wsgiref.handlers` -- server/gateway base classes" msgstr "" -#: library/wsgiref.rst:456 +#: library/wsgiref.rst:457 msgid "" "This module provides base handler classes for implementing WSGI servers and " "gateways. These base classes handle most of the work of communicating with " @@ -477,7 +478,7 @@ msgid "" "with input, output, and error streams." msgstr "" -#: library/wsgiref.rst:464 +#: library/wsgiref.rst:465 msgid "" "CGI-based invocation via ``sys.stdin``, ``sys.stdout``, ``sys.stderr`` and " "``os.environ``. This is useful when you have a WSGI application and want to " @@ -485,7 +486,7 @@ msgid "" "``app`` is the WSGI application object you wish to invoke." msgstr "" -#: library/wsgiref.rst:469 +#: library/wsgiref.rst:470 msgid "" "This class is a subclass of :class:`BaseCGIHandler` that sets ``wsgi." "run_once`` to true, ``wsgi.multithread`` to false, and ``wsgi.multiprocess`` " @@ -493,21 +494,21 @@ msgid "" "CGI streams and environment." msgstr "" -#: library/wsgiref.rst:477 +#: library/wsgiref.rst:478 msgid "" "A specialized alternative to :class:`CGIHandler`, for use when deploying on " "Microsoft's IIS web server, without having set the config allowPathInfo " "option (IIS>=7) or metabase allowPathInfoForScriptMappings (IIS<7)." msgstr "" -#: library/wsgiref.rst:481 +#: library/wsgiref.rst:482 msgid "" "By default, IIS gives a ``PATH_INFO`` that duplicates the ``SCRIPT_NAME`` at " "the front, causing problems for WSGI applications that wish to implement " "routing. This handler strips any such duplicated path." msgstr "" -#: library/wsgiref.rst:485 +#: library/wsgiref.rst:486 msgid "" "IIS can be configured to pass the correct ``PATH_INFO``, but this causes " "another bug where ``PATH_TRANSLATED`` is wrong. Luckily this variable is " @@ -518,7 +519,7 @@ msgid "" "because there is still no UI for it.)." msgstr "" -#: library/wsgiref.rst:493 +#: library/wsgiref.rst:494 msgid "" "There is no way for CGI code to tell whether the option was set, so a " "separate handler class is provided. It is used in the same way as :class:" @@ -526,7 +527,7 @@ msgid "" "is the WSGI application object you wish to invoke." msgstr "" -#: library/wsgiref.rst:503 +#: library/wsgiref.rst:504 msgid "" "Similar to :class:`CGIHandler`, but instead of using the :mod:`sys` and :mod:" "`os` modules, the CGI environment and I/O streams are specified explicitly. " @@ -535,7 +536,7 @@ msgid "" "the handler instance." msgstr "" -#: library/wsgiref.rst:509 +#: library/wsgiref.rst:510 msgid "" "This class is a subclass of :class:`SimpleHandler` intended for use with " "software other than HTTP \"origin servers\". If you are writing a gateway " @@ -544,58 +545,59 @@ msgid "" "this instead of :class:`SimpleHandler`." msgstr "" -#: library/wsgiref.rst:518 +#: library/wsgiref.rst:519 msgid "" "Similar to :class:`BaseCGIHandler`, but designed for use with HTTP origin " "servers. If you are writing an HTTP server implementation, you will " "probably want to subclass this instead of :class:`BaseCGIHandler`." msgstr "" -#: library/wsgiref.rst:522 +#: library/wsgiref.rst:523 msgid "" -"This class is a subclass of :class:`BaseHandler`. It overrides the :meth:" -"`__init__`, :meth:`get_stdin`, :meth:`get_stderr`, :meth:`add_cgi_vars`, :" -"meth:`_write`, and :meth:`_flush` methods to support explicitly setting the " -"environment and streams via the constructor. The supplied environment and " -"streams are stored in the :attr:`stdin`, :attr:`stdout`, :attr:`stderr`, " -"and :attr:`environ` attributes." +"This class is a subclass of :class:`BaseHandler`. It overrides the :meth:`!" +"__init__`, :meth:`~BaseHandler.get_stdin`, :meth:`~BaseHandler.get_stderr`, :" +"meth:`~BaseHandler.add_cgi_vars`, :meth:`~BaseHandler._write`, and :meth:" +"`~BaseHandler._flush` methods to support explicitly setting the environment " +"and streams via the constructor. The supplied environment and streams are " +"stored in the :attr:`stdin`, :attr:`stdout`, :attr:`stderr`, and :attr:" +"`environ` attributes." msgstr "" -#: library/wsgiref.rst:529 +#: library/wsgiref.rst:532 msgid "" "The :meth:`~io.BufferedIOBase.write` method of *stdout* should write each " "chunk in full, like :class:`io.BufferedIOBase`." msgstr "" -#: library/wsgiref.rst:535 +#: library/wsgiref.rst:538 msgid "" "This is an abstract base class for running WSGI applications. Each instance " "will handle a single HTTP request, although in principle you could create a " "subclass that was reusable for multiple requests." msgstr "" -#: library/wsgiref.rst:539 +#: library/wsgiref.rst:542 msgid "" ":class:`BaseHandler` instances have only one method intended for external " "use:" msgstr "" -#: library/wsgiref.rst:544 +#: library/wsgiref.rst:547 msgid "Run the specified WSGI application, *app*." msgstr "" -#: library/wsgiref.rst:546 +#: library/wsgiref.rst:549 msgid "" "All of the other :class:`BaseHandler` methods are invoked by this method in " "the process of running the application, and thus exist primarily to allow " "customizing the process." msgstr "" -#: library/wsgiref.rst:550 +#: library/wsgiref.rst:553 msgid "The following methods MUST be overridden in a subclass:" msgstr "" -#: library/wsgiref.rst:555 +#: library/wsgiref.rst:558 msgid "" "Buffer the bytes *data* for transmission to the client. It's okay if this " "method actually transmits the data; :class:`BaseHandler` just separates " @@ -603,33 +605,33 @@ msgid "" "actually has such a distinction." msgstr "" -#: library/wsgiref.rst:563 +#: library/wsgiref.rst:566 msgid "" "Force buffered data to be transmitted to the client. It's okay if this " "method is a no-op (i.e., if :meth:`_write` actually sends the data)." msgstr "" -#: library/wsgiref.rst:569 +#: library/wsgiref.rst:572 msgid "" "Return an object compatible with :class:`~wsgiref.types.InputStream` " "suitable for use as the ``wsgi.input`` of the request currently being " "processed." msgstr "" -#: library/wsgiref.rst:576 +#: library/wsgiref.rst:579 msgid "" "Return an object compatible with :class:`~wsgiref.types.ErrorStream` " "suitable for use as the ``wsgi.errors`` of the request currently being " "processed." msgstr "" -#: library/wsgiref.rst:583 +#: library/wsgiref.rst:586 msgid "" "Insert CGI variables for the current request into the :attr:`environ` " "attribute." msgstr "" -#: library/wsgiref.rst:585 +#: library/wsgiref.rst:588 msgid "" "Here are some other methods and attributes you may wish to override. This " "list is only a summary, however, and does not include every method that can " @@ -638,32 +640,32 @@ msgid "" "`BaseHandler` subclass." msgstr "" -#: library/wsgiref.rst:591 +#: library/wsgiref.rst:594 msgid "Attributes and methods for customizing the WSGI environment:" msgstr "" -#: library/wsgiref.rst:596 +#: library/wsgiref.rst:599 msgid "" "The value to be used for the ``wsgi.multithread`` environment variable. It " "defaults to true in :class:`BaseHandler`, but may have a different default " "(or be set by the constructor) in the other subclasses." msgstr "" -#: library/wsgiref.rst:603 +#: library/wsgiref.rst:606 msgid "" "The value to be used for the ``wsgi.multiprocess`` environment variable. It " "defaults to true in :class:`BaseHandler`, but may have a different default " "(or be set by the constructor) in the other subclasses." msgstr "" -#: library/wsgiref.rst:610 +#: library/wsgiref.rst:613 msgid "" "The value to be used for the ``wsgi.run_once`` environment variable. It " "defaults to false in :class:`BaseHandler`, but :class:`CGIHandler` sets it " "to true by default." msgstr "" -#: library/wsgiref.rst:617 +#: library/wsgiref.rst:620 msgid "" "The default environment variables to be included in every request's WSGI " "environment. By default, this is a copy of ``os.environ`` at the time that :" @@ -673,7 +675,7 @@ msgid "" "classes and instances." msgstr "" -#: library/wsgiref.rst:627 +#: library/wsgiref.rst:630 msgid "" "If the :attr:`origin_server` attribute is set, this attribute's value is " "used to set the default ``SERVER_SOFTWARE`` WSGI environment variable, and " @@ -682,13 +684,13 @@ msgid "" "are not HTTP origin servers." msgstr "" -#: library/wsgiref.rst:633 +#: library/wsgiref.rst:636 msgid "" "The term \"Python\" is replaced with implementation specific term like " "\"CPython\", \"Jython\" etc." msgstr "" -#: library/wsgiref.rst:639 +#: library/wsgiref.rst:642 msgid "" "Return the URL scheme being used for the current request. The default " "implementation uses the :func:`guess_scheme` function from :mod:`wsgiref." @@ -696,7 +698,7 @@ msgid "" "the current request's :attr:`environ` variables." msgstr "" -#: library/wsgiref.rst:647 +#: library/wsgiref.rst:650 msgid "" "Set the :attr:`environ` attribute to a fully populated WSGI environment. " "The default implementation uses all of the above methods and attributes, " @@ -706,11 +708,11 @@ msgid "" "attribute is a true value and the :attr:`server_software` attribute is set." msgstr "" -#: library/wsgiref.rst:654 +#: library/wsgiref.rst:657 msgid "Methods and attributes for customizing exception handling:" msgstr "" -#: library/wsgiref.rst:659 +#: library/wsgiref.rst:662 msgid "" "Log the *exc_info* tuple in the server log. *exc_info* is a ``(type, value, " "traceback)`` tuple. The default implementation simply writes the traceback " @@ -720,33 +722,33 @@ msgid "" "suitable." msgstr "" -#: library/wsgiref.rst:668 +#: library/wsgiref.rst:671 msgid "" "The maximum number of frames to include in tracebacks output by the default :" "meth:`log_exception` method. If ``None``, all frames are included." msgstr "" -#: library/wsgiref.rst:674 +#: library/wsgiref.rst:677 msgid "" "This method is a WSGI application to generate an error page for the user. " "It is only invoked if an error occurs before headers are sent to the client." msgstr "" -#: library/wsgiref.rst:677 +#: library/wsgiref.rst:680 msgid "" "This method can access the current error using ``sys.exception()``, and " "should pass that information to *start_response* when calling it (as " "described in the \"Error Handling\" section of :pep:`3333`)." msgstr "" -#: library/wsgiref.rst:681 +#: library/wsgiref.rst:684 msgid "" "The default implementation just uses the :attr:`error_status`, :attr:" "`error_headers`, and :attr:`error_body` attributes to generate an output " "page. Subclasses can override this to produce more dynamic error output." msgstr "" -#: library/wsgiref.rst:685 +#: library/wsgiref.rst:688 msgid "" "Note, however, that it's not recommended from a security perspective to spit " "out diagnostics to any old user; ideally, you should have to do something " @@ -754,40 +756,40 @@ msgid "" "doesn't include any." msgstr "" -#: library/wsgiref.rst:693 +#: library/wsgiref.rst:696 msgid "" "The HTTP status used for error responses. This should be a status string as " "defined in :pep:`3333`; it defaults to a 500 code and message." msgstr "" -#: library/wsgiref.rst:699 +#: library/wsgiref.rst:702 msgid "" "The HTTP headers used for error responses. This should be a list of WSGI " "response headers (``(name, value)`` tuples), as described in :pep:`3333`. " "The default list just sets the content type to ``text/plain``." msgstr "" -#: library/wsgiref.rst:706 +#: library/wsgiref.rst:709 msgid "" "The error response body. This should be an HTTP response body bytestring. " "It defaults to the plain text, \"A server error occurred. Please contact " "the administrator.\"" msgstr "" -#: library/wsgiref.rst:710 +#: library/wsgiref.rst:713 msgid "" "Methods and attributes for :pep:`3333`'s \"Optional Platform-Specific File " "Handling\" feature:" msgstr "" -#: library/wsgiref.rst:716 +#: library/wsgiref.rst:719 msgid "" "A ``wsgi.file_wrapper`` factory, compatible with :class:`wsgiref.types." "FileWrapper`, or ``None``. The default value of this attribute is the :" "class:`wsgiref.util.FileWrapper` class." msgstr "" -#: library/wsgiref.rst:723 +#: library/wsgiref.rst:726 msgid "" "Override to implement platform-specific file transmission. This method is " "called only if the application's return value is an instance of the class " @@ -797,11 +799,11 @@ msgid "" "of this method just returns a false value." msgstr "" -#: library/wsgiref.rst:730 +#: library/wsgiref.rst:733 msgid "Miscellaneous methods and attributes:" msgstr "" -#: library/wsgiref.rst:735 +#: library/wsgiref.rst:738 msgid "" "This attribute should be set to a true value if the handler's :meth:`_write` " "and :meth:`_flush` are being used to communicate directly to the client, " @@ -809,19 +811,19 @@ msgid "" "special ``Status:`` header." msgstr "" -#: library/wsgiref.rst:740 +#: library/wsgiref.rst:743 msgid "" "This attribute's default value is true in :class:`BaseHandler`, but false " "in :class:`BaseCGIHandler` and :class:`CGIHandler`." msgstr "" -#: library/wsgiref.rst:746 +#: library/wsgiref.rst:749 msgid "" "If :attr:`origin_server` is true, this string attribute is used to set the " "HTTP version of the response set to the client. It defaults to ``\"1.0\"``." msgstr "" -#: library/wsgiref.rst:752 +#: library/wsgiref.rst:755 msgid "" "Transcode CGI variables from ``os.environ`` to :pep:`3333` \"bytes in " "unicode\" strings, returning a new dictionary. This function is used by :" @@ -833,65 +835,65 @@ msgid "" "than ISO-8859-1 (e.g. Unix systems using UTF-8)." msgstr "" -#: library/wsgiref.rst:761 +#: library/wsgiref.rst:764 msgid "" "If you are implementing a CGI-based handler of your own, you probably want " "to use this routine instead of just copying values out of ``os.environ`` " "directly." msgstr "" -#: library/wsgiref.rst:769 +#: library/wsgiref.rst:772 msgid ":mod:`wsgiref.types` -- WSGI types for static type checking" msgstr "" -#: library/wsgiref.rst:775 +#: library/wsgiref.rst:778 msgid "" "This module provides various types for static type checking as described in :" "pep:`3333`." msgstr "" -#: library/wsgiref.rst:783 +#: library/wsgiref.rst:786 msgid "" "A :class:`typing.Protocol` describing `start_response() `_ callables (:pep:`3333`)." msgstr "" -#: library/wsgiref.rst:789 +#: library/wsgiref.rst:792 msgid "A type alias describing a WSGI environment dictionary." msgstr "" -#: library/wsgiref.rst:793 +#: library/wsgiref.rst:796 msgid "A type alias describing a WSGI application callable." msgstr "" -#: library/wsgiref.rst:797 +#: library/wsgiref.rst:800 msgid "" "A :class:`typing.Protocol` describing a `WSGI Input Stream `_." msgstr "" -#: library/wsgiref.rst:802 +#: library/wsgiref.rst:805 msgid "" "A :class:`typing.Protocol` describing a `WSGI Error Stream `_." msgstr "" -#: library/wsgiref.rst:807 +#: library/wsgiref.rst:810 msgid "" "A :class:`typing.Protocol` describing a `file wrapper `_. See :class:" "`wsgiref.util.FileWrapper` for a concrete implementation of this protocol." msgstr "" -#: library/wsgiref.rst:814 +#: library/wsgiref.rst:817 msgid "Examples" msgstr "" -#: library/wsgiref.rst:816 +#: library/wsgiref.rst:819 msgid "This is a working \"Hello World\" WSGI application::" msgstr "" -#: library/wsgiref.rst:845 +#: library/wsgiref.rst:848 msgid "" "Example of a WSGI application serving the current directory, accept optional " "directory and port number (default: 8000) on the command line::" diff --git a/library/xml.dom.po b/library/xml.dom.po index 0e17708fe..0d30f072a 100644 --- a/library/xml.dom.po +++ b/library/xml.dom.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -901,8 +901,8 @@ msgstr "" #: library/xml.dom.rst:736 msgid "" "There are also experimental methods that give this class more mapping " -"behavior. You can use them or you can use the standardized :meth:" -"`getAttribute\\*` family of methods on the :class:`Element` objects." +"behavior. You can use them or you can use the standardized :meth:`!" +"getAttribute\\*` family of methods on the :class:`Element` objects." msgstr "" #: library/xml.dom.rst:744 diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index f48252738..33c2948c1 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -89,7 +89,7 @@ msgid "" "date/time values." msgstr "" -#: library/xmlrpc.client.rst:548 +#: library/xmlrpc.client.rst:549 msgid "The *use_builtin_types* flag was added." msgstr "" @@ -365,11 +365,11 @@ msgid "" "protocol for closing the underlying transport." msgstr "" -#: library/xmlrpc.client.rst:275 +#: library/xmlrpc.client.rst:276 msgid "A working example follows. The server code::" msgstr "" -#: library/xmlrpc.client.rst:290 library/xmlrpc.client.rst:506 +#: library/xmlrpc.client.rst:291 library/xmlrpc.client.rst:507 msgid "The client code for the preceding server::" msgstr "" @@ -397,138 +397,138 @@ msgstr "" #: library/xmlrpc.client.rst:272 msgid "" -"It also supports certain of Python's built-in operators through rich " -"comparison and :meth:`__repr__` methods." +"It also supports certain of Python's built-in operators through :meth:`rich " +"comparison ` and :meth:`~object.__repr__` methods." msgstr "" -#: library/xmlrpc.client.rst:305 +#: library/xmlrpc.client.rst:306 msgid "Binary Objects" msgstr "" -#: library/xmlrpc.client.rst:309 +#: library/xmlrpc.client.rst:310 msgid "" "This class may be initialized from bytes data (which may include NULs). The " "primary access to the content of a :class:`Binary` object is provided by an " "attribute:" msgstr "" -#: library/xmlrpc.client.rst:316 +#: library/xmlrpc.client.rst:317 msgid "" "The binary data encapsulated by the :class:`Binary` instance. The data is " "provided as a :class:`bytes` object." msgstr "" -#: library/xmlrpc.client.rst:319 +#: library/xmlrpc.client.rst:320 msgid "" ":class:`Binary` objects have the following methods, supported mainly for " "internal use by the marshalling/unmarshalling code:" msgstr "" -#: library/xmlrpc.client.rst:325 +#: library/xmlrpc.client.rst:326 msgid "" "Accept a base64 :class:`bytes` object and decode it as the instance's new " "data." msgstr "" -#: library/xmlrpc.client.rst:330 +#: library/xmlrpc.client.rst:331 msgid "" "Write the XML-RPC base 64 encoding of this binary item to the *out* stream " "object." msgstr "" -#: library/xmlrpc.client.rst:332 +#: library/xmlrpc.client.rst:333 msgid "" "The encoded data will have newlines every 76 characters as per :rfc:`RFC " "2045 section 6.8 <2045#section-6.8>`, which was the de facto standard base64 " "specification when the XML-RPC spec was written." msgstr "" -#: library/xmlrpc.client.rst:337 +#: library/xmlrpc.client.rst:338 msgid "" "It also supports certain of Python's built-in operators through :meth:" -"`__eq__` and :meth:`__ne__` methods." +"`~object.__eq__` and :meth:`~object.__ne__` methods." msgstr "" -#: library/xmlrpc.client.rst:340 +#: library/xmlrpc.client.rst:341 msgid "" "Example usage of the binary objects. We're going to transfer an image over " "XMLRPC::" msgstr "" -#: library/xmlrpc.client.rst:356 +#: library/xmlrpc.client.rst:357 msgid "The client gets the image and saves it to a file::" msgstr "" -#: library/xmlrpc.client.rst:367 +#: library/xmlrpc.client.rst:368 msgid "Fault Objects" msgstr "" -#: library/xmlrpc.client.rst:371 +#: library/xmlrpc.client.rst:372 msgid "" "A :class:`Fault` object encapsulates the content of an XML-RPC fault tag. " "Fault objects have the following attributes:" msgstr "" -#: library/xmlrpc.client.rst:377 +#: library/xmlrpc.client.rst:378 msgid "An int indicating the fault type." msgstr "" -#: library/xmlrpc.client.rst:382 +#: library/xmlrpc.client.rst:383 msgid "A string containing a diagnostic message associated with the fault." msgstr "" -#: library/xmlrpc.client.rst:384 +#: library/xmlrpc.client.rst:385 msgid "" "In the following example we're going to intentionally cause a :exc:`Fault` " "by returning a complex type object. The server code::" msgstr "" -#: library/xmlrpc.client.rst:417 +#: library/xmlrpc.client.rst:418 msgid "ProtocolError Objects" msgstr "" -#: library/xmlrpc.client.rst:421 +#: library/xmlrpc.client.rst:422 msgid "" "A :class:`ProtocolError` object describes a protocol error in the underlying " "transport layer (such as a 404 'not found' error if the server named by the " "URI does not exist). It has the following attributes:" msgstr "" -#: library/xmlrpc.client.rst:428 +#: library/xmlrpc.client.rst:429 msgid "The URI or URL that triggered the error." msgstr "" -#: library/xmlrpc.client.rst:433 +#: library/xmlrpc.client.rst:434 msgid "The error code." msgstr "" -#: library/xmlrpc.client.rst:438 +#: library/xmlrpc.client.rst:439 msgid "The error message or diagnostic string." msgstr "" -#: library/xmlrpc.client.rst:443 +#: library/xmlrpc.client.rst:444 msgid "" "A dict containing the headers of the HTTP/HTTPS request that triggered the " "error." msgstr "" -#: library/xmlrpc.client.rst:446 +#: library/xmlrpc.client.rst:447 msgid "" "In the following example we're going to intentionally cause a :exc:" "`ProtocolError` by providing an invalid URI::" msgstr "" -#: library/xmlrpc.client.rst:464 +#: library/xmlrpc.client.rst:465 msgid "MultiCall Objects" msgstr "" -#: library/xmlrpc.client.rst:466 +#: library/xmlrpc.client.rst:467 msgid "" "The :class:`MultiCall` object provides a way to encapsulate multiple calls " "to a remote server into a single request [#]_." msgstr "" -#: library/xmlrpc.client.rst:472 +#: library/xmlrpc.client.rst:473 msgid "" "Create an object used to boxcar method calls. *server* is the eventual " "target of the call. Calls can be made to the result object, but they will " @@ -539,15 +539,15 @@ msgid "" "the individual results." msgstr "" -#: library/xmlrpc.client.rst:480 +#: library/xmlrpc.client.rst:481 msgid "A usage example of this class follows. The server code::" msgstr "" -#: library/xmlrpc.client.rst:522 +#: library/xmlrpc.client.rst:523 msgid "Convenience Functions" msgstr "" -#: library/xmlrpc.client.rst:526 +#: library/xmlrpc.client.rst:527 msgid "" "Convert *params* into an XML-RPC request. or into a response if " "*methodresponse* is true. *params* can be either a tuple of arguments or an " @@ -559,7 +559,7 @@ msgid "" "*allow_none*." msgstr "" -#: library/xmlrpc.client.rst:537 +#: library/xmlrpc.client.rst:538 msgid "" "Convert an XML-RPC request or response into Python objects, a ``(params, " "methodname)``. *params* is a tuple of argument; *methodname* is a string, " @@ -570,35 +570,35 @@ msgid "" "to be presented as :class:`bytes` objects; this flag is false by default." msgstr "" -#: library/xmlrpc.client.rst:545 +#: library/xmlrpc.client.rst:546 msgid "" "The obsolete *use_datetime* flag is similar to *use_builtin_types* but it " "applies only to date/time values." msgstr "" -#: library/xmlrpc.client.rst:555 +#: library/xmlrpc.client.rst:556 msgid "Example of Client Usage" msgstr "" -#: library/xmlrpc.client.rst:572 +#: library/xmlrpc.client.rst:573 msgid "" "To access an XML-RPC server through a HTTP proxy, you need to define a " "custom transport. The following example shows how::" msgstr "" -#: library/xmlrpc.client.rst:597 +#: library/xmlrpc.client.rst:598 msgid "Example of Client and Server Usage" msgstr "" -#: library/xmlrpc.client.rst:599 +#: library/xmlrpc.client.rst:600 msgid "See :ref:`simplexmlrpcserver-example`." msgstr "" -#: library/xmlrpc.client.rst:603 +#: library/xmlrpc.client.rst:604 msgid "Footnotes" msgstr "" -#: library/xmlrpc.client.rst:604 +#: library/xmlrpc.client.rst:605 msgid "" "This approach has been first presented in `a discussion on xmlrpc.com " "\n" @@ -105,8 +105,8 @@ msgstr "" #: library/xmlrpc.server.rst:299 msgid "" "Register a function that can respond to XML-RPC requests. If *name* is " -"given, it will be the method name associated with *function*, otherwise " -"``function.__name__`` will be used. *name* is a string, and may contain " +"given, it will be the method name associated with *function*, otherwise :" +"attr:`function.__name__` will be used. *name* is a string, and may contain " "characters not legal in Python identifiers, including the period character." msgstr "" @@ -114,7 +114,7 @@ msgstr "" msgid "" "This method can also be used as a decorator. When used as a decorator, " "*name* can only be given as a keyword argument to register *function* under " -"*name*. If no *name* is given, ``function.__name__`` will be used." +"*name*. If no *name* is given, :attr:`function.__name__` will be used." msgstr "" #: library/xmlrpc.server.rst:308 diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index d7c5509fd..62fce8c3a 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -447,13 +447,13 @@ msgid "" "the normal location for the kind of exit that was taken." msgstr "" -#: reference/compound_stmts.rst:525 reference/compound_stmts.rst:1536 -#: reference/compound_stmts.rst:1577 +#: reference/compound_stmts.rst:525 reference/compound_stmts.rst:1537 +#: reference/compound_stmts.rst:1578 msgid "The following code::" msgstr "" #: reference/compound_stmts.rst:530 reference/compound_stmts.rst:555 -#: reference/compound_stmts.rst:1582 +#: reference/compound_stmts.rst:1583 msgid "is semantically equivalent to::" msgstr "" @@ -1284,7 +1284,7 @@ msgstr "" msgid ":class:`int`" msgstr "" -#: reference/compound_stmts.rst:1159 reference/compound_stmts.rst:1852 +#: reference/compound_stmts.rst:1159 reference/compound_stmts.rst:1853 msgid ":class:`list`" msgstr "" @@ -1296,7 +1296,7 @@ msgstr "" msgid ":class:`str`" msgstr "" -#: reference/compound_stmts.rst:1162 reference/compound_stmts.rst:1855 +#: reference/compound_stmts.rst:1162 reference/compound_stmts.rst:1856 msgid ":class:`tuple`" msgstr "" @@ -1372,7 +1372,7 @@ msgid "" "example, the following code ::" msgstr "" -#: reference/compound_stmts.rst:1249 reference/compound_stmts.rst:1435 +#: reference/compound_stmts.rst:1249 reference/compound_stmts.rst:1436 msgid "is roughly equivalent to ::" msgstr "" @@ -1395,15 +1395,15 @@ msgid "" "brackets between the function's name and the opening parenthesis for its " "parameter list. This indicates to static type checkers that the function is " "generic. At runtime, the type parameters can be retrieved from the " -"function's ``__type_params__`` attribute. See :ref:`generic-functions` for " -"more." +"function's :attr:`~function.__type_params__` attribute. See :ref:`generic-" +"functions` for more." msgstr "" -#: reference/compound_stmts.rst:1267 reference/compound_stmts.rst:1454 +#: reference/compound_stmts.rst:1268 reference/compound_stmts.rst:1455 msgid "Type parameter lists are new in Python 3.12." msgstr "" -#: reference/compound_stmts.rst:1275 +#: reference/compound_stmts.rst:1276 msgid "" "When one or more :term:`parameters ` have the form *parameter* " "``=`` *expression*, the function is said to have \"default parameter values." @@ -1414,7 +1414,7 @@ msgid "" "syntactic restriction that is not expressed by the grammar." msgstr "" -#: reference/compound_stmts.rst:1283 +#: reference/compound_stmts.rst:1284 msgid "" "**Default parameter values are evaluated from left to right when the " "function definition is executed.** This means that the expression is " @@ -1427,7 +1427,7 @@ msgid "" "the default, and explicitly test for it in the body of the function, e.g.::" msgstr "" -#: reference/compound_stmts.rst:1304 +#: reference/compound_stmts.rst:1305 msgid "" "Function call semantics are described in more detail in section :ref:" "`calls`. A function call always assigns values to all parameters mentioned " @@ -1443,13 +1443,13 @@ msgid "" "positional arguments." msgstr "" -#: reference/compound_stmts.rst:1316 +#: reference/compound_stmts.rst:1317 msgid "" "The ``/`` function parameter syntax may be used to indicate positional-only " "parameters. See :pep:`570` for details." msgstr "" -#: reference/compound_stmts.rst:1325 +#: reference/compound_stmts.rst:1326 msgid "" "Parameters may have an :term:`annotation ` of the form " "\"``: expression``\" following the parameter name. Any parameter may have " @@ -1466,7 +1466,7 @@ msgid "" "different order than they appear in the source code." msgstr "" -#: reference/compound_stmts.rst:1340 +#: reference/compound_stmts.rst:1341 msgid "" "It is also possible to create anonymous functions (functions not bound to a " "name), for immediate use in expressions. This uses lambda expressions, " @@ -1478,7 +1478,7 @@ msgid "" "execution of multiple statements and annotations." msgstr "" -#: reference/compound_stmts.rst:1348 +#: reference/compound_stmts.rst:1349 msgid "" "**Programmer's note:** Functions are first-class objects. A \"``def``\" " "statement executed inside a function definition defines a local function " @@ -1487,51 +1487,51 @@ msgid "" "See section :ref:`naming` for details." msgstr "" -#: reference/compound_stmts.rst:1357 +#: reference/compound_stmts.rst:1358 msgid ":pep:`3107` - Function Annotations" msgstr "" -#: reference/compound_stmts.rst:1357 +#: reference/compound_stmts.rst:1358 msgid "The original specification for function annotations." msgstr "" -#: reference/compound_stmts.rst:1360 +#: reference/compound_stmts.rst:1361 msgid ":pep:`484` - Type Hints" msgstr "" -#: reference/compound_stmts.rst:1360 +#: reference/compound_stmts.rst:1361 msgid "Definition of a standard meaning for annotations: type hints." msgstr "" -#: reference/compound_stmts.rst:1364 +#: reference/compound_stmts.rst:1365 msgid ":pep:`526` - Syntax for Variable Annotations" msgstr "" -#: reference/compound_stmts.rst:1363 +#: reference/compound_stmts.rst:1364 msgid "" "Ability to type hint variable declarations, including class variables and " "instance variables" msgstr "" -#: reference/compound_stmts.rst:1367 +#: reference/compound_stmts.rst:1368 msgid ":pep:`563` - Postponed Evaluation of Annotations" msgstr "" -#: reference/compound_stmts.rst:1367 +#: reference/compound_stmts.rst:1368 msgid "" "Support for forward references within annotations by preserving annotations " "in a string form at runtime instead of eager evaluation." msgstr "" -#: reference/compound_stmts.rst:1374 +#: reference/compound_stmts.rst:1375 msgid "Class definitions" msgstr "" -#: reference/compound_stmts.rst:1389 +#: reference/compound_stmts.rst:1390 msgid "A class definition defines a class object (see section :ref:`types`):" msgstr "" -#: reference/compound_stmts.rst:1396 +#: reference/compound_stmts.rst:1397 msgid "" "A class definition is an executable statement. The inheritance list usually " "gives a list of base classes (see :ref:`metaclasses` for more advanced " @@ -1540,11 +1540,11 @@ msgid "" "default, from the base class :class:`object`; hence, ::" msgstr "" -#: reference/compound_stmts.rst:1405 +#: reference/compound_stmts.rst:1406 msgid "is equivalent to ::" msgstr "" -#: reference/compound_stmts.rst:1410 +#: reference/compound_stmts.rst:1411 msgid "" "The class's suite is then executed in a new execution frame (see :ref:" "`naming`), using a newly created local namespace and the original global " @@ -1556,7 +1556,7 @@ msgid "" "original local namespace." msgstr "" -#: reference/compound_stmts.rst:1419 +#: reference/compound_stmts.rst:1420 msgid "" "The order in which attributes are defined in the class body is preserved in " "the new class's ``__dict__``. Note that this is reliable only right after " @@ -1564,30 +1564,30 @@ msgid "" "definition syntax." msgstr "" -#: reference/compound_stmts.rst:1424 +#: reference/compound_stmts.rst:1425 msgid "" "Class creation can be customized heavily using :ref:`metaclasses " "`." msgstr "" -#: reference/compound_stmts.rst:1429 +#: reference/compound_stmts.rst:1430 msgid "Classes can also be decorated: just like when decorating functions, ::" msgstr "" -#: reference/compound_stmts.rst:1440 +#: reference/compound_stmts.rst:1441 msgid "" "The evaluation rules for the decorator expressions are the same as for " "function decorators. The result is then bound to the class name." msgstr "" -#: reference/compound_stmts.rst:1443 +#: reference/compound_stmts.rst:1444 msgid "" "Classes may be decorated with any valid :token:`~python-grammar:" "assignment_expression`. Previously, the grammar was much more restrictive; " "see :pep:`614` for details." msgstr "" -#: reference/compound_stmts.rst:1448 +#: reference/compound_stmts.rst:1449 msgid "" "A list of :ref:`type parameters ` may be given in square " "brackets immediately after the class's name. This indicates to static type " @@ -1596,7 +1596,7 @@ msgid "" "classes` for more." msgstr "" -#: reference/compound_stmts.rst:1457 +#: reference/compound_stmts.rst:1458 msgid "" "**Programmer's note:** Variables defined in the class definition are class " "attributes; they are shared by instances. Instance attributes can be set in " @@ -1609,35 +1609,35 @@ msgid "" "implementation details." msgstr "" -#: reference/compound_stmts.rst:1472 +#: reference/compound_stmts.rst:1473 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/compound_stmts.rst:1470 +#: reference/compound_stmts.rst:1471 msgid "" "The proposal that changed the declaration of metaclasses to the current " "syntax, and the semantics for how classes with metaclasses are constructed." msgstr "" -#: reference/compound_stmts.rst:1475 +#: reference/compound_stmts.rst:1476 msgid ":pep:`3129` - Class Decorators" msgstr "" -#: reference/compound_stmts.rst:1475 +#: reference/compound_stmts.rst:1476 msgid "" "The proposal that added class decorators. Function and method decorators " "were introduced in :pep:`318`." msgstr "" -#: reference/compound_stmts.rst:1482 +#: reference/compound_stmts.rst:1483 msgid "Coroutines" msgstr "" -#: reference/compound_stmts.rst:1490 +#: reference/compound_stmts.rst:1491 msgid "Coroutine function definition" msgstr "" -#: reference/compound_stmts.rst:1500 +#: reference/compound_stmts.rst:1501 msgid "" "Execution of Python coroutines can be suspended and resumed at many points " "(see :term:`coroutine`). :keyword:`await` expressions, :keyword:`async for` " @@ -1645,104 +1645,104 @@ msgid "" "function." msgstr "" -#: reference/compound_stmts.rst:1504 +#: reference/compound_stmts.rst:1505 msgid "" "Functions defined with ``async def`` syntax are always coroutine functions, " "even if they do not contain ``await`` or ``async`` keywords." msgstr "" -#: reference/compound_stmts.rst:1507 +#: reference/compound_stmts.rst:1508 msgid "" "It is a :exc:`SyntaxError` to use a ``yield from`` expression inside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1510 +#: reference/compound_stmts.rst:1511 msgid "An example of a coroutine function::" msgstr "" -#: reference/compound_stmts.rst:1516 +#: reference/compound_stmts.rst:1517 msgid "" "``await`` and ``async`` are now keywords; previously they were only treated " "as such inside the body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1524 +#: reference/compound_stmts.rst:1525 msgid "The :keyword:`!async for` statement" msgstr "" -#: reference/compound_stmts.rst:1529 +#: reference/compound_stmts.rst:1530 msgid "" "An :term:`asynchronous iterable` provides an ``__aiter__`` method that " "directly returns an :term:`asynchronous iterator`, which can call " "asynchronous code in its ``__anext__`` method." msgstr "" -#: reference/compound_stmts.rst:1533 +#: reference/compound_stmts.rst:1534 msgid "" "The ``async for`` statement allows convenient iteration over asynchronous " "iterables." msgstr "" -#: reference/compound_stmts.rst:1543 +#: reference/compound_stmts.rst:1544 msgid "Is semantically equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1559 +#: reference/compound_stmts.rst:1560 msgid "" "See also :meth:`~object.__aiter__` and :meth:`~object.__anext__` for details." msgstr "" -#: reference/compound_stmts.rst:1561 +#: reference/compound_stmts.rst:1562 msgid "" "It is a :exc:`SyntaxError` to use an ``async for`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1569 +#: reference/compound_stmts.rst:1570 msgid "The :keyword:`!async with` statement" msgstr "" -#: reference/compound_stmts.rst:1574 +#: reference/compound_stmts.rst:1575 msgid "" "An :term:`asynchronous context manager` is a :term:`context manager` that is " "able to suspend execution in its *enter* and *exit* methods." msgstr "" -#: reference/compound_stmts.rst:1601 +#: reference/compound_stmts.rst:1602 msgid "" "See also :meth:`~object.__aenter__` and :meth:`~object.__aexit__` for " "details." msgstr "" -#: reference/compound_stmts.rst:1603 +#: reference/compound_stmts.rst:1604 msgid "" "It is a :exc:`SyntaxError` to use an ``async with`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1609 +#: reference/compound_stmts.rst:1610 msgid ":pep:`492` - Coroutines with async and await syntax" msgstr "" -#: reference/compound_stmts.rst:1609 +#: reference/compound_stmts.rst:1610 msgid "" "The proposal that made coroutines a proper standalone concept in Python, and " "added supporting syntax." msgstr "" -#: reference/compound_stmts.rst:1615 +#: reference/compound_stmts.rst:1616 msgid "Type parameter lists" msgstr "" -#: reference/compound_stmts.rst:1629 +#: reference/compound_stmts.rst:1630 msgid "" ":ref:`Functions ` (including :ref:`coroutines `), :ref:" "`classes ` and :ref:`type aliases ` may contain a type " "parameter list::" msgstr "" -#: reference/compound_stmts.rst:1648 +#: reference/compound_stmts.rst:1649 msgid "" "Semantically, this indicates that the function, class, or type alias is " "generic over a type variable. This information is primarily used by static " @@ -1750,7 +1750,7 @@ msgid "" "generic counterparts." msgstr "" -#: reference/compound_stmts.rst:1653 +#: reference/compound_stmts.rst:1654 msgid "" "Type parameters are declared in square brackets (``[]``) immediately after " "the name of the function, class, or type alias. The type parameters are " @@ -1762,36 +1762,36 @@ msgid "" "wraps the creation of the generic object." msgstr "" -#: reference/compound_stmts.rst:1662 +#: reference/compound_stmts.rst:1663 msgid "" "Generic functions, classes, and type aliases have a :attr:`!__type_params__` " "attribute listing their type parameters." msgstr "" -#: reference/compound_stmts.rst:1665 +#: reference/compound_stmts.rst:1666 msgid "Type parameters come in three kinds:" msgstr "" -#: reference/compound_stmts.rst:1667 +#: reference/compound_stmts.rst:1668 msgid "" ":data:`typing.TypeVar`, introduced by a plain name (e.g., ``T``). " "Semantically, this represents a single type to a type checker." msgstr "" -#: reference/compound_stmts.rst:1669 +#: reference/compound_stmts.rst:1670 msgid "" ":data:`typing.TypeVarTuple`, introduced by a name prefixed with a single " "asterisk (e.g., ``*Ts``). Semantically, this stands for a tuple of any " "number of types." msgstr "" -#: reference/compound_stmts.rst:1672 +#: reference/compound_stmts.rst:1673 msgid "" ":data:`typing.ParamSpec`, introduced by a name prefixed with two asterisks " "(e.g., ``**P``). Semantically, this stands for the parameters of a callable." msgstr "" -#: reference/compound_stmts.rst:1675 +#: reference/compound_stmts.rst:1676 msgid "" ":data:`typing.TypeVar` declarations can define *bounds* and *constraints* " "with a colon (``:``) followed by an expression. A single expression after " @@ -1803,7 +1803,7 @@ msgid "" "variables can only take on one of the types in the list of constraints." msgstr "" -#: reference/compound_stmts.rst:1684 +#: reference/compound_stmts.rst:1685 msgid "" "For :data:`!typing.TypeVar`\\ s declared using the type parameter list " "syntax, the bound and constraints are not evaluated when the generic object " @@ -1813,31 +1813,31 @@ msgid "" "`." msgstr "" -#: reference/compound_stmts.rst:1690 +#: reference/compound_stmts.rst:1691 msgid "" ":data:`typing.TypeVarTuple`\\ s and :data:`typing.ParamSpec`\\ s cannot have " "bounds or constraints." msgstr "" -#: reference/compound_stmts.rst:1693 +#: reference/compound_stmts.rst:1694 msgid "" "The following example indicates the full set of allowed type parameter " "declarations::" msgstr "" -#: reference/compound_stmts.rst:1711 +#: reference/compound_stmts.rst:1712 msgid "Generic functions" msgstr "" -#: reference/compound_stmts.rst:1713 +#: reference/compound_stmts.rst:1714 msgid "Generic functions are declared as follows::" msgstr "" -#: reference/compound_stmts.rst:1717 reference/compound_stmts.rst:1777 +#: reference/compound_stmts.rst:1718 reference/compound_stmts.rst:1778 msgid "This syntax is equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1726 +#: reference/compound_stmts.rst:1727 msgid "" "Here ``annotation-def`` indicates an :ref:`annotation scope `, which is not actually bound to any name at runtime. (One other " @@ -1846,47 +1846,47 @@ msgid "" "data:`typing.TypeVar` directly.)" msgstr "" -#: reference/compound_stmts.rst:1732 +#: reference/compound_stmts.rst:1733 msgid "" "The annotations of generic functions are evaluated within the annotation " "scope used for declaring the type parameters, but the function's defaults " "and decorators are not." msgstr "" -#: reference/compound_stmts.rst:1736 +#: reference/compound_stmts.rst:1737 msgid "" "The following example illustrates the scoping rules for these cases, as well " "as for additional flavors of type parameters::" msgstr "" -#: reference/compound_stmts.rst:1743 +#: reference/compound_stmts.rst:1744 msgid "" "Except for the :ref:`lazy evaluation ` of the :class:" "`~typing.TypeVar` bound, this is equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1765 +#: reference/compound_stmts.rst:1766 msgid "" "The capitalized names like ``DEFAULT_OF_arg`` are not actually bound at " "runtime." msgstr "" -#: reference/compound_stmts.rst:1771 +#: reference/compound_stmts.rst:1772 msgid "Generic classes" msgstr "" -#: reference/compound_stmts.rst:1773 +#: reference/compound_stmts.rst:1774 msgid "Generic classes are declared as follows::" msgstr "" -#: reference/compound_stmts.rst:1787 +#: reference/compound_stmts.rst:1788 msgid "" "Here again ``annotation-def`` (not a real keyword) indicates an :ref:" "`annotation scope `, and the name ``TYPE_PARAMS_OF_Bag`` " "is not actually bound at runtime." msgstr "" -#: reference/compound_stmts.rst:1791 +#: reference/compound_stmts.rst:1792 msgid "" "Generic classes implicitly inherit from :data:`typing.Generic`. The base " "classes and keyword arguments of generic classes are evaluated within the " @@ -1894,124 +1894,124 @@ msgid "" "that scope. This is illustrated by this example::" msgstr "" -#: reference/compound_stmts.rst:1800 +#: reference/compound_stmts.rst:1801 msgid "This is equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1813 +#: reference/compound_stmts.rst:1814 msgid "Generic type aliases" msgstr "" -#: reference/compound_stmts.rst:1815 +#: reference/compound_stmts.rst:1816 msgid "" "The :keyword:`type` statement can also be used to create a generic type " "alias::" msgstr "" -#: reference/compound_stmts.rst:1819 +#: reference/compound_stmts.rst:1820 msgid "" "Except for the :ref:`lazy evaluation ` of the value, this " "is equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1831 +#: reference/compound_stmts.rst:1832 msgid "" "Here, ``annotation-def`` (not a real keyword) indicates an :ref:`annotation " "scope `. The capitalized names like " "``TYPE_PARAMS_OF_ListOrSet`` are not actually bound at runtime." msgstr "" -#: reference/compound_stmts.rst:1836 +#: reference/compound_stmts.rst:1837 msgid "Footnotes" msgstr "" -#: reference/compound_stmts.rst:1837 +#: reference/compound_stmts.rst:1838 msgid "" "The exception is propagated to the invocation stack unless there is a :" "keyword:`finally` clause which happens to raise another exception. That new " "exception causes the old one to be lost." msgstr "" -#: reference/compound_stmts.rst:1841 +#: reference/compound_stmts.rst:1842 msgid "In pattern matching, a sequence is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1843 +#: reference/compound_stmts.rst:1844 msgid "a class that inherits from :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1844 +#: reference/compound_stmts.rst:1845 msgid "" "a Python class that has been registered as :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1845 +#: reference/compound_stmts.rst:1846 msgid "" "a builtin class that has its (CPython) :c:macro:`Py_TPFLAGS_SEQUENCE` bit set" msgstr "" -#: reference/compound_stmts.rst:1846 reference/compound_stmts.rst:1865 +#: reference/compound_stmts.rst:1847 reference/compound_stmts.rst:1866 msgid "a class that inherits from any of the above" msgstr "" -#: reference/compound_stmts.rst:1848 +#: reference/compound_stmts.rst:1849 msgid "The following standard library classes are sequences:" msgstr "" -#: reference/compound_stmts.rst:1850 +#: reference/compound_stmts.rst:1851 msgid ":class:`array.array`" msgstr "" -#: reference/compound_stmts.rst:1851 +#: reference/compound_stmts.rst:1852 msgid ":class:`collections.deque`" msgstr "" -#: reference/compound_stmts.rst:1853 +#: reference/compound_stmts.rst:1854 msgid ":class:`memoryview`" msgstr "" -#: reference/compound_stmts.rst:1854 +#: reference/compound_stmts.rst:1855 msgid ":class:`range`" msgstr "" -#: reference/compound_stmts.rst:1857 +#: reference/compound_stmts.rst:1858 msgid "" "Subject values of type ``str``, ``bytes``, and ``bytearray`` do not match " "sequence patterns." msgstr "" -#: reference/compound_stmts.rst:1860 +#: reference/compound_stmts.rst:1861 msgid "In pattern matching, a mapping is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1862 +#: reference/compound_stmts.rst:1863 msgid "a class that inherits from :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1863 +#: reference/compound_stmts.rst:1864 msgid "" "a Python class that has been registered as :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1864 +#: reference/compound_stmts.rst:1865 msgid "" "a builtin class that has its (CPython) :c:macro:`Py_TPFLAGS_MAPPING` bit set" msgstr "" -#: reference/compound_stmts.rst:1867 +#: reference/compound_stmts.rst:1868 msgid "" "The standard library classes :class:`dict` and :class:`types." "MappingProxyType` are mappings." msgstr "" -#: reference/compound_stmts.rst:1870 +#: reference/compound_stmts.rst:1871 msgid "" "A string literal appearing as the first statement in the function body is " -"transformed into the function's ``__doc__`` attribute and therefore the " -"function's :term:`docstring`." +"transformed into the function's :attr:`~function.__doc__` attribute and " +"therefore the function's :term:`docstring`." msgstr "" -#: reference/compound_stmts.rst:1874 +#: reference/compound_stmts.rst:1875 msgid "" "A string literal appearing as the first statement in the class body is " "transformed into the namespace's ``__doc__`` item and therefore the class's :" @@ -2027,9 +2027,9 @@ msgstr "" #: reference/compound_stmts.rst:169 reference/compound_stmts.rst:207 #: reference/compound_stmts.rst:389 reference/compound_stmts.rst:436 #: reference/compound_stmts.rst:470 reference/compound_stmts.rst:587 -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1376 -#: reference/compound_stmts.rst:1486 reference/compound_stmts.rst:1520 -#: reference/compound_stmts.rst:1565 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1487 reference/compound_stmts.rst:1521 +#: reference/compound_stmts.rst:1566 msgid "statement" msgstr "" @@ -2071,7 +2071,7 @@ msgstr "" #: reference/compound_stmts.rst:144 reference/compound_stmts.rst:207 #: reference/compound_stmts.rst:328 reference/compound_stmts.rst:389 #: reference/compound_stmts.rst:407 reference/compound_stmts.rst:470 -#: reference/compound_stmts.rst:587 reference/compound_stmts.rst:1496 +#: reference/compound_stmts.rst:587 reference/compound_stmts.rst:1497 msgid "keyword" msgstr "" @@ -2082,15 +2082,15 @@ msgstr "" #: reference/compound_stmts.rst:86 reference/compound_stmts.rst:111 #: reference/compound_stmts.rst:144 reference/compound_stmts.rst:207 #: reference/compound_stmts.rst:470 reference/compound_stmts.rst:587 -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1320 -#: reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1321 +#: reference/compound_stmts.rst:1377 msgid ": (colon)" msgstr "" #: reference/compound_stmts.rst:86 reference/compound_stmts.rst:111 #: reference/compound_stmts.rst:144 reference/compound_stmts.rst:207 #: reference/compound_stmts.rst:470 reference/compound_stmts.rst:587 -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 msgid "compound statement" msgstr "" @@ -2129,7 +2129,7 @@ msgid "list" msgstr "" #: reference/compound_stmts.rst:144 reference/compound_stmts.rst:299 -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 msgid "object" msgstr "" @@ -2195,7 +2195,7 @@ msgid "with statement" msgstr "" #: reference/compound_stmts.rst:470 reference/compound_stmts.rst:1194 -#: reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1377 msgid ", (comma)" msgstr "" @@ -2235,13 +2235,13 @@ msgstr "" msgid "AS pattern, OR pattern, capture pattern, wildcard pattern" msgstr "" -#: reference/compound_stmts.rst:1185 reference/compound_stmts.rst:1270 +#: reference/compound_stmts.rst:1185 reference/compound_stmts.rst:1271 msgid "parameter" msgstr "" #: reference/compound_stmts.rst:1185 reference/compound_stmts.rst:1194 -#: reference/compound_stmts.rst:1235 reference/compound_stmts.rst:1270 -#: reference/compound_stmts.rst:1299 +#: reference/compound_stmts.rst:1235 reference/compound_stmts.rst:1271 +#: reference/compound_stmts.rst:1300 msgid "function definition" msgstr "" @@ -2249,19 +2249,19 @@ msgstr "" msgid "def" msgstr "" -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1320 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1321 msgid "function" msgstr "" -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 msgid "definition" msgstr "" -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 msgid "name" msgstr "" -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 msgid "binding" msgstr "" @@ -2269,7 +2269,7 @@ msgstr "" msgid "user-defined function" msgstr "" -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 msgid "() (parentheses)" msgstr "" @@ -2277,106 +2277,106 @@ msgstr "" msgid "parameter list" msgstr "" -#: reference/compound_stmts.rst:1235 reference/compound_stmts.rst:1426 +#: reference/compound_stmts.rst:1235 reference/compound_stmts.rst:1427 msgid "@ (at)" msgstr "" -#: reference/compound_stmts.rst:1270 +#: reference/compound_stmts.rst:1271 msgid "default" msgstr "" -#: reference/compound_stmts.rst:1270 +#: reference/compound_stmts.rst:1271 msgid "value" msgstr "" -#: reference/compound_stmts.rst:1270 +#: reference/compound_stmts.rst:1271 msgid "argument" msgstr "" -#: reference/compound_stmts.rst:1270 +#: reference/compound_stmts.rst:1271 msgid "= (equals)" msgstr "" -#: reference/compound_stmts.rst:1299 +#: reference/compound_stmts.rst:1300 msgid "/ (slash)" msgstr "" -#: reference/compound_stmts.rst:1299 +#: reference/compound_stmts.rst:1300 msgid "* (asterisk)" msgstr "" -#: reference/compound_stmts.rst:1299 +#: reference/compound_stmts.rst:1300 msgid "**" msgstr "" -#: reference/compound_stmts.rst:1320 +#: reference/compound_stmts.rst:1321 msgid "annotations" msgstr "" -#: reference/compound_stmts.rst:1320 +#: reference/compound_stmts.rst:1321 msgid "->" msgstr "" -#: reference/compound_stmts.rst:1320 +#: reference/compound_stmts.rst:1321 msgid "function annotations" msgstr "" -#: reference/compound_stmts.rst:1338 +#: reference/compound_stmts.rst:1339 msgid "lambda" msgstr "" -#: reference/compound_stmts.rst:1338 +#: reference/compound_stmts.rst:1339 msgid "expression" msgstr "" -#: reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1377 msgid "class" msgstr "" -#: reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1377 msgid "execution" msgstr "" -#: reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1377 msgid "frame" msgstr "" -#: reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1377 msgid "inheritance" msgstr "" -#: reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1377 msgid "docstring" msgstr "" -#: reference/compound_stmts.rst:1376 reference/compound_stmts.rst:1426 +#: reference/compound_stmts.rst:1377 reference/compound_stmts.rst:1427 msgid "class definition" msgstr "" -#: reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1377 msgid "expression list" msgstr "" -#: reference/compound_stmts.rst:1486 +#: reference/compound_stmts.rst:1487 msgid "async def" msgstr "" -#: reference/compound_stmts.rst:1496 +#: reference/compound_stmts.rst:1497 msgid "async" msgstr "" -#: reference/compound_stmts.rst:1496 +#: reference/compound_stmts.rst:1497 msgid "await" msgstr "" -#: reference/compound_stmts.rst:1520 +#: reference/compound_stmts.rst:1521 msgid "async for" msgstr "" -#: reference/compound_stmts.rst:1565 +#: reference/compound_stmts.rst:1566 msgid "async with" msgstr "" -#: reference/compound_stmts.rst:1619 +#: reference/compound_stmts.rst:1620 msgid "type parameters" msgstr "" diff --git a/reference/datamodel.po b/reference/datamodel.po index d0542bc24..844bf34f5 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -103,7 +103,7 @@ msgid "" "or windows. It is understood that these resources are freed when the object " "is garbage-collected, but since garbage collection is not guaranteed to " "happen, such objects also provide an explicit way to release the external " -"resource, usually a :meth:`close` method. Programs are strongly recommended " +"resource, usually a :meth:`!close` method. Programs are strongly recommended " "to explicitly close such objects. The ':keyword:`try`...\\ :keyword:" "`finally`' statement and the ':keyword:`with`' statement provide convenient " "ways to do this." @@ -585,264 +585,250 @@ msgid "" "`calls`) can be applied:" msgstr "" -#: reference/datamodel.rst:523 +#: reference/datamodel.rst:525 msgid "User-defined functions" msgstr "" -#: reference/datamodel.rst:530 +#: reference/datamodel.rst:532 msgid "" "A user-defined function object is created by a function definition (see " "section :ref:`function`). It should be called with an argument list " "containing the same number of items as the function's formal parameter list." msgstr "" -#: reference/datamodel.rst:926 -msgid "Special attributes:" +#: reference/datamodel.rst:1127 reference/datamodel.rst:1279 +msgid "Special read-only attributes" msgstr "" -#: reference/datamodel.rst:554 +#: reference/datamodel.rst:582 msgid "Attribute" msgstr "" -#: reference/datamodel.rst:554 +#: reference/datamodel.rst:583 msgid "Meaning" msgstr "" -#: reference/datamodel.rst:843 reference/datamodel.rst:942 -msgid ":attr:`__doc__`" +#: reference/datamodel.rst:552 +msgid "" +"A reference to the :class:`dictionary ` that holds the function's :ref:" +"`global variables ` -- the global namespace of the module in which " +"the function was defined." msgstr "" -#: reference/datamodel.rst:556 +#: reference/datamodel.rst:557 msgid "" -"The function's documentation string, or ``None`` if unavailable; not " -"inherited by subclasses." +"``None`` or a :class:`tuple` of cells that contain bindings for the " +"function's free variables." msgstr "" -#: reference/datamodel.rst:561 reference/datamodel.rst:569 -#: reference/datamodel.rst:579 reference/datamodel.rst:600 -#: reference/datamodel.rst:613 -msgid "Writable" +#: reference/datamodel.rst:560 +msgid "" +"A cell object has the attribute ``cell_contents``. This can be used to get " +"the value of the cell, as well as set the value." msgstr "" -#: reference/datamodel.rst:561 -msgid ":attr:`~definition.\\ __name__`" +#: reference/datamodel.rst:1316 +msgid "Special writable attributes" msgstr "" -#: reference/datamodel.rst:561 -msgid "The function's name." +#: reference/datamodel.rst:577 +msgid "Most of these attributes check the type of the assigned value:" msgstr "" -#: reference/datamodel.rst:564 -msgid ":attr:`~definition.\\ __qualname__`" +#: reference/datamodel.rst:586 +msgid "" +"The function's documentation string, or ``None`` if unavailable. Not " +"inherited by subclasses." msgstr "" -#: reference/datamodel.rst:564 -msgid "The function's :term:`qualified name`." +#: reference/datamodel.rst:590 +msgid "" +"The function's name. See also: :attr:`__name__ attributes `." msgstr "" -#: reference/datamodel.rst:932 -msgid ":attr:`__module__`" +#: reference/datamodel.rst:594 +msgid "" +"The function's :term:`qualified name`. See also: :attr:`__qualname__ " +"attributes `." msgstr "" -#: reference/datamodel.rst:569 +#: reference/datamodel.rst:600 msgid "" "The name of the module the function was defined in, or ``None`` if " "unavailable." msgstr "" -#: reference/datamodel.rst:573 -msgid ":attr:`__defaults__`" -msgstr "" - -#: reference/datamodel.rst:573 +#: reference/datamodel.rst:604 msgid "" -"A tuple containing default argument values for those arguments that have " -"defaults, or ``None`` if no arguments have a default value." -msgstr "" - -#: reference/datamodel.rst:579 -msgid ":attr:`__code__`" -msgstr "" - -#: reference/datamodel.rst:579 -msgid "The code object representing the compiled function body." -msgstr "" - -#: reference/datamodel.rst:582 -msgid ":attr:`__globals__`" +"A :class:`tuple` containing default :term:`parameter` values for those " +"parameters that have defaults, or ``None`` if no parameters have a default " +"value." msgstr "" -#: reference/datamodel.rst:582 +#: reference/datamodel.rst:609 msgid "" -"A reference to the dictionary that holds the function's global variables --- " -"the global namespace of the module in which the function was defined." -msgstr "" - -#: reference/datamodel.rst:593 -msgid "Read-only" -msgstr "" - -#: reference/datamodel.rst:935 -msgid ":attr:`~object.__dict__`" +"The :ref:`code object ` representing the compiled function " +"body." msgstr "" -#: reference/datamodel.rst:589 -msgid "The namespace supporting arbitrary function attributes." +#: reference/datamodel.rst:613 +msgid "" +"The namespace supporting arbitrary function attributes. See also: :attr:" +"`__dict__ attributes `." msgstr "" -#: reference/datamodel.rst:593 -msgid ":attr:`__closure__`" +#: reference/datamodel.rst:617 +msgid "" +"A :class:`dictionary ` containing annotations of :term:`parameters " +"`. The keys of the dictionary are the parameter names, and " +"``'return'`` for the return annotation, if provided. See also: :ref:" +"`annotations-howto`." msgstr "" -#: reference/datamodel.rst:593 +#: reference/datamodel.rst:624 msgid "" -"``None`` or a tuple of cells that contain bindings for the function's free " -"variables. See below for information on the ``cell_contents`` attribute." +"A :class:`dictionary ` containing defaults for keyword-only :term:" +"`parameters `." msgstr "" -#: reference/datamodel.rst:858 reference/datamodel.rst:949 -msgid ":attr:`__annotations__`" +#: reference/datamodel.rst:628 +msgid "" +"A :class:`tuple` containing the :ref:`type parameters ` of a :" +"ref:`generic function `." msgstr "" -#: reference/datamodel.rst:600 +#: reference/datamodel.rst:633 msgid "" -"A dict containing annotations of parameters. The keys of the dict are the " -"parameter names, and ``'return'`` for the return annotation, if provided. " -"For more information on working with this attribute, see :ref:`annotations-" -"howto`." +"Function objects also support getting and setting arbitrary attributes, " +"which can be used, for example, to attach metadata to functions. Regular " +"attribute dot-notation is used to get and set such attributes." msgstr "" -#: reference/datamodel.rst:610 -msgid ":attr:`__kwdefaults__`" +#: reference/datamodel.rst:639 +msgid "" +"CPython's current implementation only supports function attributes on user-" +"defined functions. Function attributes on :ref:`built-in functions ` may be supported in the future." msgstr "" -#: reference/datamodel.rst:610 -msgid "A dict containing defaults for keyword-only parameters." +#: reference/datamodel.rst:644 +msgid "" +"Additional information about a function's definition can be retrieved from " +"its :ref:`code object ` (accessible via the :attr:`~function." +"__code__` attribute)." msgstr "" -#: reference/datamodel.rst:954 -msgid ":attr:`__type_params__`" +#: reference/datamodel.rst:652 +msgid "Instance methods" msgstr "" -#: reference/datamodel.rst:613 +#: reference/datamodel.rst:659 msgid "" -"A tuple containing the :ref:`type parameters ` of a :ref:" -"`generic function `." +"An instance method object combines a class, a class instance and any " +"callable object (normally a user-defined function)." msgstr "" -#: reference/datamodel.rst:620 -msgid "" -"Most of the attributes labelled \"Writable\" check the type of the assigned " -"value." +#: reference/datamodel.rst:1407 +msgid "Special read-only attributes:" msgstr "" -#: reference/datamodel.rst:622 +#: reference/datamodel.rst:674 msgid "" -"Function objects also support getting and setting arbitrary attributes, " -"which can be used, for example, to attach metadata to functions. Regular " -"attribute dot-notation is used to get and set such attributes. *Note that " -"the current implementation only supports function attributes on user-defined " -"functions. Function attributes on built-in functions may be supported in the " -"future.*" +"Refers to the class instance object to which the method is :ref:`bound " +"`" msgstr "" -#: reference/datamodel.rst:628 -msgid "" -"A cell object has the attribute ``cell_contents``. This can be used to get " -"the value of the cell, as well as set the value." +#: reference/datamodel.rst:678 +msgid "Refers to the original :ref:`function object `" msgstr "" -#: reference/datamodel.rst:631 +#: reference/datamodel.rst:681 msgid "" -"Additional information about a function's definition can be retrieved from " -"its code object; see the description of internal types below. The :data:" -"`cell ` type can be accessed in the :mod:`types` module." -msgstr "" - -#: reference/datamodel.rst:638 -msgid "Instance methods" +"The method's documentation (same as :attr:`method.__func__.__doc__ `). A :class:`string ` if the original function had a " +"docstring, else ``None``." msgstr "" -#: reference/datamodel.rst:645 +#: reference/datamodel.rst:687 msgid "" -"An instance method object combines a class, a class instance and any " -"callable object (normally a user-defined function)." +"The name of the method (same as :attr:`method.__func__.__name__ `)" msgstr "" -#: reference/datamodel.rst:655 +#: reference/datamodel.rst:691 msgid "" -"Special read-only attributes: :attr:`__self__` is the class instance " -"object, :attr:`__func__` is the function object; :attr:`__doc__` is the " -"method's documentation (same as ``__func__.__doc__``); :attr:`~definition." -"__name__` is the method name (same as ``__func__.__name__``); :attr:" -"`__module__` is the name of the module the method was defined in, or " -"``None`` if unavailable." +"The name of the module the method was defined in, or ``None`` if unavailable." msgstr "" -#: reference/datamodel.rst:661 +#: reference/datamodel.rst:694 msgid "" "Methods also support accessing (but not setting) the arbitrary function " -"attributes on the underlying function object." +"attributes on the underlying :ref:`function object `." msgstr "" -#: reference/datamodel.rst:664 +#: reference/datamodel.rst:697 msgid "" "User-defined method objects may be created when getting an attribute of a " "class (perhaps via an instance of that class), if that attribute is a user-" -"defined function object or a class method object." +"defined :ref:`function object ` or a :class:" +"`classmethod` object." msgstr "" -#: reference/datamodel.rst:668 +#: reference/datamodel.rst:704 msgid "" -"When an instance method object is created by retrieving a user-defined " -"function object from a class via one of its instances, its :attr:`__self__` " -"attribute is the instance, and the method object is said to be bound. The " -"new method's :attr:`__func__` attribute is the original function object." +"When an instance method object is created by retrieving a user-defined :ref:" +"`function object ` from a class via one of its " +"instances, its :attr:`~method.__self__` attribute is the instance, and the " +"method object is said to be *bound*. The new method's :attr:`~method." +"__func__` attribute is the original function object." msgstr "" -#: reference/datamodel.rst:674 +#: reference/datamodel.rst:710 msgid "" -"When an instance method object is created by retrieving a class method " -"object from a class or instance, its :attr:`__self__` attribute is the class " -"itself, and its :attr:`__func__` attribute is the function object underlying " -"the class method." +"When an instance method object is created by retrieving a :class:" +"`classmethod` object from a class or instance, its :attr:`~method.__self__` " +"attribute is the class itself, and its :attr:`~method.__func__` attribute is " +"the function object underlying the class method." msgstr "" -#: reference/datamodel.rst:679 +#: reference/datamodel.rst:715 msgid "" "When an instance method object is called, the underlying function (:attr:" -"`__func__`) is called, inserting the class instance (:attr:`__self__`) in " -"front of the argument list. For instance, when :class:`C` is a class which " -"contains a definition for a function :meth:`f`, and ``x`` is an instance of :" -"class:`C`, calling ``x.f(1)`` is equivalent to calling ``C.f(x, 1)``." +"`~method.__func__`) is called, inserting the class instance (:attr:`~method." +"__self__`) in front of the argument list. For instance, when :class:`!C` is " +"a class which contains a definition for a function :meth:`!f`, and ``x`` is " +"an instance of :class:`!C`, calling ``x.f(1)`` is equivalent to calling ``C." +"f(x, 1)``." msgstr "" -#: reference/datamodel.rst:686 +#: reference/datamodel.rst:722 msgid "" -"When an instance method object is derived from a class method object, the " -"\"class instance\" stored in :attr:`__self__` will actually be the class " -"itself, so that calling either ``x.f(1)`` or ``C.f(1)`` is equivalent to " -"calling ``f(C,1)`` where ``f`` is the underlying function." +"When an instance method object is derived from a :class:`classmethod` " +"object, the \"class instance\" stored in :attr:`~method.__self__` will " +"actually be the class itself, so that calling either ``x.f(1)`` or ``C." +"f(1)`` is equivalent to calling ``f(C,1)`` where ``f`` is the underlying " +"function." msgstr "" -#: reference/datamodel.rst:691 +#: reference/datamodel.rst:727 msgid "" -"Note that the transformation from function object to instance method object " -"happens each time the attribute is retrieved from the instance. In some " -"cases, a fruitful optimization is to assign the attribute to a local " -"variable and call that local variable. Also notice that this transformation " -"only happens for user-defined functions; other callable objects (and all non-" -"callable objects) are retrieved without transformation. It is also " -"important to note that user-defined functions which are attributes of a " -"class instance are not converted to bound methods; this *only* happens when " -"the function is an attribute of the class." +"Note that the transformation from :ref:`function object ` to instance method object happens each time the attribute is " +"retrieved from the instance. In some cases, a fruitful optimization is to " +"assign the attribute to a local variable and call that local variable. Also " +"notice that this transformation only happens for user-defined functions; " +"other callable objects (and all non-callable objects) are retrieved without " +"transformation. It is also important to note that user-defined functions " +"which are attributes of a class instance are not converted to bound methods; " +"this *only* happens when the function is an attribute of the class." msgstr "" -#: reference/datamodel.rst:704 +#: reference/datamodel.rst:741 msgid "Generator functions" msgstr "" -#: reference/datamodel.rst:710 +#: reference/datamodel.rst:747 msgid "" "A function or method which uses the :keyword:`yield` statement (see section :" "ref:`yield`) is called a :dfn:`generator function`. Such a function, when " @@ -855,11 +841,11 @@ msgid "" "values to be returned." msgstr "" -#: reference/datamodel.rst:722 +#: reference/datamodel.rst:759 msgid "Coroutine functions" msgstr "" -#: reference/datamodel.rst:727 +#: reference/datamodel.rst:764 msgid "" "A function or method which is defined using :keyword:`async def` is called " "a :dfn:`coroutine function`. Such a function, when called, returns a :term:" @@ -868,11 +854,11 @@ msgid "" "ref:`coroutine-objects` section." msgstr "" -#: reference/datamodel.rst:735 +#: reference/datamodel.rst:772 msgid "Asynchronous generator functions" msgstr "" -#: reference/datamodel.rst:741 +#: reference/datamodel.rst:778 msgid "" "A function or method which is defined using :keyword:`async def` and which " "uses the :keyword:`yield` statement is called a :dfn:`asynchronous generator " @@ -881,7 +867,7 @@ msgid "" "execute the body of the function." msgstr "" -#: reference/datamodel.rst:747 +#: reference/datamodel.rst:784 msgid "" "Calling the asynchronous iterator's :meth:`aiterator.__anext__ ` method will return an :term:`awaitable` which when awaited will " @@ -892,103 +878,127 @@ msgid "" "yielded." msgstr "" -#: reference/datamodel.rst:758 +#: reference/datamodel.rst:797 msgid "Built-in functions" msgstr "" -#: reference/datamodel.rst:765 +#: reference/datamodel.rst:804 msgid "" "A built-in function object is a wrapper around a C function. Examples of " "built-in functions are :func:`len` and :func:`math.sin` (:mod:`math` is a " "standard built-in module). The number and type of the arguments are " -"determined by the C function. Special read-only attributes: :attr:`__doc__` " -"is the function's documentation string, or ``None`` if unavailable; :attr:" -"`~definition.__name__` is the function's name; :attr:`__self__` is set to " -"``None`` (but see the next item); :attr:`__module__` is the name of the " -"module the function was defined in or ``None`` if unavailable." +"determined by the C function. Special read-only attributes:" +msgstr "" + +#: reference/datamodel.rst:809 +msgid "" +":attr:`!__doc__` is the function's documentation string, or ``None`` if " +"unavailable. See :attr:`function.__doc__`." +msgstr "" + +#: reference/datamodel.rst:811 +msgid "" +":attr:`!__name__` is the function's name. See :attr:`function.__name__`." msgstr "" -#: reference/datamodel.rst:776 +#: reference/datamodel.rst:812 +msgid ":attr:`!__self__` is set to ``None`` (but see the next item)." +msgstr "" + +#: reference/datamodel.rst:813 +msgid "" +":attr:`!__module__` is the name of the module the function was defined in or " +"``None`` if unavailable. See :attr:`function.__module__`." +msgstr "" + +#: reference/datamodel.rst:821 msgid "Built-in methods" msgstr "" -#: reference/datamodel.rst:783 +#: reference/datamodel.rst:828 msgid "" "This is really a different disguise of a built-in function, this time " "containing an object passed to the C function as an implicit extra " "argument. An example of a built-in method is ``alist.append()``, assuming " "*alist* is a list object. In this case, the special read-only attribute :" -"attr:`__self__` is set to the object denoted by *alist*." +"attr:`!__self__` is set to the object denoted by *alist*. (The attribute has " +"the same semantics as it does with :attr:`other instance methods `.)" msgstr "" -#: reference/datamodel.rst:791 +#: reference/datamodel.rst:837 msgid "Classes" msgstr "" -#: reference/datamodel.rst:793 +#: reference/datamodel.rst:839 msgid "" "Classes are callable. These objects normally act as factories for new " "instances of themselves, but variations are possible for class types that " "override :meth:`~object.__new__`. The arguments of the call are passed to :" -"meth:`__new__` and, in the typical case, to :meth:`~object.__init__` to " +"meth:`!__new__` and, in the typical case, to :meth:`~object.__init__` to " "initialize the new instance." msgstr "" -#: reference/datamodel.rst:801 +#: reference/datamodel.rst:847 msgid "Class Instances" msgstr "" -#: reference/datamodel.rst:803 +#: reference/datamodel.rst:849 msgid "" "Instances of arbitrary classes can be made callable by defining a :meth:" "`~object.__call__` method in their class." msgstr "" -#: reference/datamodel.rst:808 +#: reference/datamodel.rst:854 msgid "Modules" msgstr "" -#: reference/datamodel.rst:814 +#: reference/datamodel.rst:860 msgid "" "Modules are a basic organizational unit of Python code, and are created by " "the :ref:`import system ` as invoked either by the :keyword:" "`import` statement, or by calling functions such as :func:`importlib." "import_module` and built-in :func:`__import__`. A module object has a " -"namespace implemented by a dictionary object (this is the dictionary " -"referenced by the ``__globals__`` attribute of functions defined in the " -"module). Attribute references are translated to lookups in this dictionary, " -"e.g., ``m.x`` is equivalent to ``m.__dict__[\"x\"]``. A module object does " -"not contain the code object used to initialize the module (since it isn't " -"needed once the initialization is done)." +"namespace implemented by a :class:`dictionary ` object (this is the " +"dictionary referenced by the :attr:`~function.__globals__` attribute of " +"functions defined in the module). Attribute references are translated to " +"lookups in this dictionary, e.g., ``m.x`` is equivalent to ``m." +"__dict__[\"x\"]``. A module object does not contain the code object used to " +"initialize the module (since it isn't needed once the initialization is " +"done)." msgstr "" -#: reference/datamodel.rst:826 +#: reference/datamodel.rst:873 msgid "" "Attribute assignment updates the module's namespace dictionary, e.g., ``m.x " "= 1`` is equivalent to ``m.__dict__[\"x\"] = 1``." msgstr "" -#: reference/datamodel.rst:836 +#: reference/datamodel.rst:883 msgid "Predefined (writable) attributes:" msgstr "" -#: reference/datamodel.rst:839 +#: reference/datamodel.rst:886 msgid ":attr:`__name__`" msgstr "" -#: reference/datamodel.rst:839 +#: reference/datamodel.rst:886 msgid "The module's name." msgstr "" -#: reference/datamodel.rst:842 +#: reference/datamodel.rst:990 +msgid ":attr:`__doc__`" +msgstr "" + +#: reference/datamodel.rst:889 msgid "The module's documentation string, or ``None`` if unavailable." msgstr "" -#: reference/datamodel.rst:852 +#: reference/datamodel.rst:899 msgid ":attr:`__file__`" msgstr "" -#: reference/datamodel.rst:846 +#: reference/datamodel.rst:893 msgid "" "The pathname of the file from which the module was loaded, if it was loaded " "from a file. The :attr:`__file__` attribute may be missing for certain types " @@ -997,20 +1007,24 @@ msgid "" "library, it's the pathname of the shared library file." msgstr "" -#: reference/datamodel.rst:855 +#: reference/datamodel.rst:997 +msgid ":attr:`__annotations__`" +msgstr "" + +#: reference/datamodel.rst:902 msgid "" "A dictionary containing :term:`variable annotations ` " "collected during module body execution. For best practices on working with :" "attr:`__annotations__`, please see :ref:`annotations-howto`." msgstr "" -#: reference/datamodel.rst:862 +#: reference/datamodel.rst:909 msgid "" "Special read-only attribute: :attr:`~object.__dict__` is the module's " "namespace as a dictionary object." msgstr "" -#: reference/datamodel.rst:867 +#: reference/datamodel.rst:914 msgid "" "Because of the way CPython clears module dictionaries, the module dictionary " "will be cleared when the module falls out of scope even if the dictionary " @@ -1018,11 +1032,11 @@ msgid "" "module around while using its dictionary directly." msgstr "" -#: reference/datamodel.rst:874 +#: reference/datamodel.rst:921 msgid "Custom classes" msgstr "" -#: reference/datamodel.rst:876 +#: reference/datamodel.rst:923 msgid "" "Custom class types are typically created by class definitions (see section :" "ref:`class`). A class has a namespace implemented by a dictionary object. " @@ -1038,77 +1052,93 @@ msgid "" "python.org/download/releases/2.3/mro/." msgstr "" -#: reference/datamodel.rst:900 +#: reference/datamodel.rst:947 msgid "" -"When a class attribute reference (for class :class:`C`, say) would yield a " +"When a class attribute reference (for class :class:`!C`, say) would yield a " "class method object, it is transformed into an instance method object whose :" -"attr:`__self__` attribute is :class:`C`. When it would yield a static " -"method object, it is transformed into the object wrapped by the static " -"method object. See section :ref:`descriptors` for another way in which " -"attributes retrieved from a class may differ from those actually contained " -"in its :attr:`~object.__dict__`." +"attr:`~method.__self__` attribute is :class:`!C`. When it would yield a :" +"class:`staticmethod` object, it is transformed into the object wrapped by " +"the static method object. See section :ref:`descriptors` for another way in " +"which attributes retrieved from a class may differ from those actually " +"contained in its :attr:`~object.__dict__`." msgstr "" -#: reference/datamodel.rst:910 +#: reference/datamodel.rst:958 msgid "" "Class attribute assignments update the class's dictionary, never the " "dictionary of a base class." msgstr "" -#: reference/datamodel.rst:915 +#: reference/datamodel.rst:963 msgid "" "A class object can be called (see above) to yield a class instance (see " "below)." msgstr "" -#: reference/datamodel.rst:929 +#: reference/datamodel.rst:974 +msgid "Special attributes:" +msgstr "" + +#: reference/datamodel.rst:977 msgid ":attr:`~definition.__name__`" msgstr "" -#: reference/datamodel.rst:929 +#: reference/datamodel.rst:977 msgid "The class name." msgstr "" -#: reference/datamodel.rst:932 +#: reference/datamodel.rst:980 +msgid ":attr:`__module__`" +msgstr "" + +#: reference/datamodel.rst:980 msgid "The name of the module in which the class was defined." msgstr "" -#: reference/datamodel.rst:935 +#: reference/datamodel.rst:983 +msgid ":attr:`~object.__dict__`" +msgstr "" + +#: reference/datamodel.rst:983 msgid "The dictionary containing the class's namespace." msgstr "" -#: reference/datamodel.rst:939 +#: reference/datamodel.rst:987 msgid ":attr:`~class.__bases__`" msgstr "" -#: reference/datamodel.rst:938 +#: reference/datamodel.rst:986 msgid "" "A tuple containing the base classes, in the order of their occurrence in the " "base class list." msgstr "" -#: reference/datamodel.rst:942 +#: reference/datamodel.rst:990 msgid "The class's documentation string, or ``None`` if undefined." msgstr "" -#: reference/datamodel.rst:945 +#: reference/datamodel.rst:993 msgid "" "A dictionary containing :term:`variable annotations ` " "collected during class body execution. For best practices on working with :" "attr:`__annotations__`, please see :ref:`annotations-howto`." msgstr "" -#: reference/datamodel.rst:952 +#: reference/datamodel.rst:1002 +msgid ":attr:`__type_params__`" +msgstr "" + +#: reference/datamodel.rst:1000 msgid "" "A tuple containing the :ref:`type parameters ` of a :ref:" "`generic class `." msgstr "" -#: reference/datamodel.rst:957 +#: reference/datamodel.rst:1005 msgid "Class instances" msgstr "" -#: reference/datamodel.rst:965 +#: reference/datamodel.rst:1013 msgid "" "A class instance is created by calling a class object (see above). A class " "instance has a namespace implemented as a dictionary which is the first " @@ -1116,8 +1146,8 @@ msgid "" "found there, and the instance's class has an attribute by that name, the " "search continues with the class attributes. If a class attribute is found " "that is a user-defined function object, it is transformed into an instance " -"method object whose :attr:`__self__` attribute is the instance. Static " -"method and class method objects are also transformed; see above under " +"method object whose :attr:`~method.__self__` attribute is the instance. " +"Static method and class method objects are also transformed; see above under " "\"Classes\". See section :ref:`descriptors` for another way in which " "attributes of a class retrieved via its instances may differ from the " "objects actually stored in the class's :attr:`~object.__dict__`. If no " @@ -1125,7 +1155,7 @@ msgid "" "__getattr__` method, that is called to satisfy the lookup." msgstr "" -#: reference/datamodel.rst:981 +#: reference/datamodel.rst:1029 msgid "" "Attribute assignments and deletions update the instance's dictionary, never " "a class's dictionary. If the class has a :meth:`~object.__setattr__` or :" @@ -1133,23 +1163,23 @@ msgid "" "instance dictionary directly." msgstr "" -#: reference/datamodel.rst:991 +#: reference/datamodel.rst:1039 msgid "" "Class instances can pretend to be numbers, sequences, or mappings if they " "have methods with certain special names. See section :ref:`specialnames`." msgstr "" -#: reference/datamodel.rst:998 +#: reference/datamodel.rst:1046 msgid "" "Special attributes: :attr:`~object.__dict__` is the attribute dictionary; :" "attr:`~instance.__class__` is the instance's class." msgstr "" -#: reference/datamodel.rst:1003 +#: reference/datamodel.rst:1051 msgid "I/O objects (also known as file objects)" msgstr "" -#: reference/datamodel.rst:1018 +#: reference/datamodel.rst:1066 msgid "" "A :term:`file object` represents an open file. Various shortcuts are " "available to create file objects: the :func:`open` built-in function, and " @@ -1158,7 +1188,7 @@ msgid "" "methods provided by extension modules)." msgstr "" -#: reference/datamodel.rst:1024 +#: reference/datamodel.rst:1072 msgid "" "The objects ``sys.stdin``, ``sys.stdout`` and ``sys.stderr`` are initialized " "to file objects corresponding to the interpreter's standard input, output " @@ -1166,22 +1196,22 @@ msgid "" "interface defined by the :class:`io.TextIOBase` abstract class." msgstr "" -#: reference/datamodel.rst:1032 +#: reference/datamodel.rst:1080 msgid "Internal types" msgstr "" -#: reference/datamodel.rst:1038 +#: reference/datamodel.rst:1086 msgid "" "A few types used internally by the interpreter are exposed to the user. " "Their definitions may change with future versions of the interpreter, but " "they are mentioned here for completeness." msgstr "" -#: reference/datamodel.rst:1046 +#: reference/datamodel.rst:1094 msgid "Code objects" msgstr "" -#: reference/datamodel.rst:1050 +#: reference/datamodel.rst:1098 msgid "" "Code objects represent *byte-compiled* executable Python code, or :term:" "`bytecode`. The difference between a code object and a function object is " @@ -1193,105 +1223,183 @@ msgid "" "no references (directly or indirectly) to mutable objects." msgstr "" -#: reference/datamodel.rst:1078 +#: reference/datamodel.rst:1132 +msgid "The function name" +msgstr "" + +#: reference/datamodel.rst:1135 +msgid "The fully qualified function name" +msgstr "" + +#: reference/datamodel.rst:1138 +msgid "" +"The total number of positional :term:`parameters ` (including " +"positional-only parameters and parameters with default values) that the " +"function has" +msgstr "" + +#: reference/datamodel.rst:1143 +msgid "" +"The number of positional-only :term:`parameters ` (including " +"arguments with default values) that the function has" +msgstr "" + +#: reference/datamodel.rst:1147 +msgid "" +"The number of keyword-only :term:`parameters ` (including " +"arguments with default values) that the function has" +msgstr "" + +#: reference/datamodel.rst:1151 +msgid "" +"The number of :ref:`local variables ` used by the function " +"(including parameters)" +msgstr "" + +#: reference/datamodel.rst:1155 +msgid "" +"A :class:`tuple` containing the names of the local variables in the function " +"(starting with the parameter names)" +msgstr "" + +#: reference/datamodel.rst:1159 +msgid "" +"A :class:`tuple` containing the names of :ref:`local variables ` " +"that are referenced by nested functions inside the function" +msgstr "" + +#: reference/datamodel.rst:1163 +msgid "A :class:`tuple` containing the names of free variables in the function" +msgstr "" + +#: reference/datamodel.rst:1166 +msgid "" +"A string representing the sequence of :term:`bytecode` instructions in the " +"function" +msgstr "" + +#: reference/datamodel.rst:1170 msgid "" -"Special read-only attributes: :attr:`co_name` gives the function name; :attr:" -"`co_qualname` gives the fully qualified function name; :attr:`co_argcount` " -"is the total number of positional arguments (including positional-only " -"arguments and arguments with default values); :attr:`co_posonlyargcount` is " -"the number of positional-only arguments (including arguments with default " -"values); :attr:`co_kwonlyargcount` is the number of keyword-only arguments " -"(including arguments with default values); :attr:`co_nlocals` is the number " -"of local variables used by the function (including arguments); :attr:" -"`co_varnames` is a tuple containing the names of the local variables " -"(starting with the argument names); :attr:`co_cellvars` is a tuple " -"containing the names of local variables that are referenced by nested " -"functions; :attr:`co_freevars` is a tuple containing the names of free " -"variables; :attr:`co_code` is a string representing the sequence of bytecode " -"instructions; :attr:`co_consts` is a tuple containing the literals used by " -"the bytecode; :attr:`co_names` is a tuple containing the names used by the " -"bytecode; :attr:`co_filename` is the filename from which the code was " -"compiled; :attr:`co_firstlineno` is the first line number of the function; :" -"attr:`co_lnotab` is a string encoding the mapping from bytecode offsets to " -"line numbers (for details see the source code of the interpreter, is " -"deprecated since 3.12 and may be removed in 3.14); :attr:`co_stacksize` is " -"the required stack size; :attr:`co_flags` is an integer encoding a number of " -"flags for the interpreter." +"A :class:`tuple` containing the literals used by the :term:`bytecode` in the " +"function" msgstr "" -#: reference/datamodel.rst:1104 +#: reference/datamodel.rst:1174 msgid "" -"The following flag bits are defined for :attr:`co_flags`: bit ``0x04`` is " -"set if the function uses the ``*arguments`` syntax to accept an arbitrary " -"number of positional arguments; bit ``0x08`` is set if the function uses the " -"``**keywords`` syntax to accept arbitrary keyword arguments; bit ``0x20`` is " -"set if the function is a generator." +"A :class:`tuple` containing the names used by the :term:`bytecode` in the " +"function" +msgstr "" + +#: reference/datamodel.rst:1178 +msgid "The name of the file from which the code was compiled" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1181 +msgid "The line number of the first line of the function" +msgstr "" + +#: reference/datamodel.rst:1184 +msgid "" +"A string encoding the mapping from :term:`bytecode` offsets to line numbers. " +"For details, see the source code of the interpreter." +msgstr "" + +#: reference/datamodel.rst:1187 +msgid "" +"This attribute of code objects is deprecated, and may be removed in Python " +"3.14." +msgstr "" + +#: reference/datamodel.rst:1192 +msgid "The required stack size of the code object" +msgstr "" + +#: reference/datamodel.rst:1195 +msgid "" +"An :class:`integer ` encoding a number of flags for the interpreter." +msgstr "" + +#: reference/datamodel.rst:1200 +msgid "" +"The following flag bits are defined for :attr:`~codeobject.co_flags`: bit " +"``0x04`` is set if the function uses the ``*arguments`` syntax to accept an " +"arbitrary number of positional arguments; bit ``0x08`` is set if the " +"function uses the ``**keywords`` syntax to accept arbitrary keyword " +"arguments; bit ``0x20`` is set if the function is a generator. See :ref:" +"`inspect-module-co-flags` for details on the semantics of each flags that " +"might be present." +msgstr "" + +#: reference/datamodel.rst:1208 msgid "" "Future feature declarations (``from __future__ import division``) also use " -"bits in :attr:`co_flags` to indicate whether a code object was compiled with " -"a particular feature enabled: bit ``0x2000`` is set if the function was " -"compiled with future division enabled; bits ``0x10`` and ``0x1000`` were " -"used in earlier versions of Python." +"bits in :attr:`~codeobject.co_flags` to indicate whether a code object was " +"compiled with a particular feature enabled: bit ``0x2000`` is set if the " +"function was compiled with future division enabled; bits ``0x10`` and " +"``0x1000`` were used in earlier versions of Python." msgstr "" -#: reference/datamodel.rst:1116 -msgid "Other bits in :attr:`co_flags` are reserved for internal use." +#: reference/datamodel.rst:1214 +msgid "" +"Other bits in :attr:`~codeobject.co_flags` are reserved for internal use." msgstr "" -#: reference/datamodel.rst:1120 +#: reference/datamodel.rst:1218 msgid "" -"If a code object represents a function, the first item in :attr:`co_consts` " -"is the documentation string of the function, or ``None`` if undefined." +"If a code object represents a function, the first item in :attr:`~codeobject." +"co_consts` is the documentation string of the function, or ``None`` if " +"undefined." msgstr "" -#: reference/datamodel.rst:1125 +#: reference/datamodel.rst:1223 +msgid "The :meth:`!co_positions` method" +msgstr "" + +#: reference/datamodel.rst:1227 msgid "" -"Returns an iterable over the source code positions of each bytecode " +"Returns an iterable over the source code positions of each :term:`bytecode` " "instruction in the code object." msgstr "" -#: reference/datamodel.rst:1128 +#: reference/datamodel.rst:1230 msgid "" -"The iterator returns tuples containing the ``(start_line, end_line, " -"start_column, end_column)``. The *i-th* tuple corresponds to the position of " -"the source code that compiled to the *i-th* instruction. Column information " -"is 0-indexed utf-8 byte offsets on the given source line." +"The iterator returns :class:`tuple`\\s containing the ``(start_line, " +"end_line, start_column, end_column)``. The *i-th* tuple corresponds to the " +"position of the source code that compiled to the *i-th* instruction. Column " +"information is 0-indexed utf-8 byte offsets on the given source line." msgstr "" -#: reference/datamodel.rst:1134 +#: reference/datamodel.rst:1236 msgid "" "This positional information can be missing. A non-exhaustive lists of cases " "where this may happen:" msgstr "" -#: reference/datamodel.rst:1137 +#: reference/datamodel.rst:1239 msgid "Running the interpreter with :option:`-X` ``no_debug_ranges``." msgstr "" -#: reference/datamodel.rst:1138 +#: reference/datamodel.rst:1240 msgid "" "Loading a pyc file compiled while using :option:`-X` ``no_debug_ranges``." msgstr "" -#: reference/datamodel.rst:1139 +#: reference/datamodel.rst:1241 msgid "Position tuples corresponding to artificial instructions." msgstr "" -#: reference/datamodel.rst:1140 +#: reference/datamodel.rst:1242 msgid "" "Line and column numbers that can't be represented due to implementation " "specific limitations." msgstr "" -#: reference/datamodel.rst:1143 +#: reference/datamodel.rst:1245 msgid "" "When this occurs, some or all of the tuple elements can be :const:`None`." msgstr "" -#: reference/datamodel.rst:1149 +#: reference/datamodel.rst:1251 msgid "" "This feature requires storing column positions in code objects which may " "result in a small increase of disk usage of compiled Python files or " @@ -1301,159 +1409,202 @@ msgid "" "environment variable can be used." msgstr "" -#: reference/datamodel.rst:1160 +#: reference/datamodel.rst:1262 msgid "Frame objects" msgstr "" -#: reference/datamodel.rst:1164 +#: reference/datamodel.rst:1266 msgid "" -"Frame objects represent execution frames. They may occur in traceback " -"objects (see below), and are also passed to registered trace functions." +"Frame objects represent execution frames. They may occur in :ref:`traceback " +"objects `, and are also passed to registered trace " +"functions." msgstr "" -#: reference/datamodel.rst:1175 +#: reference/datamodel.rst:1284 msgid "" -"Special read-only attributes: :attr:`f_back` is to the previous stack frame " -"(towards the caller), or ``None`` if this is the bottom stack frame; :attr:" -"`f_code` is the code object being executed in this frame; :attr:`f_locals` " -"is the dictionary used to look up local variables; :attr:`f_globals` is used " -"for global variables; :attr:`f_builtins` is used for built-in (intrinsic) " -"names; :attr:`f_lasti` gives the precise instruction (this is an index into " -"the bytecode string of the code object)." +"Points to the previous stack frame (towards the caller), or ``None`` if this " +"is the bottom stack frame" msgstr "" -#: reference/datamodel.rst:1183 +#: reference/datamodel.rst:1288 msgid "" -"Accessing ``f_code`` raises an :ref:`auditing event ` ``object." +"The :ref:`code object ` being executed in this frame. " +"Accessing this attribute raises an :ref:`auditing event ` ``object." "__getattr__`` with arguments ``obj`` and ``\"f_code\"``." msgstr "" -#: reference/datamodel.rst:1192 +#: reference/datamodel.rst:1293 +msgid "" +"The dictionary used by the frame to look up :ref:`local variables `" +msgstr "" + +#: reference/datamodel.rst:1297 +msgid "" +"The dictionary used by the frame to look up :ref:`global variables `" +msgstr "" + +#: reference/datamodel.rst:1301 +msgid "" +"The dictionary used by the frame to look up :ref:`built-in (intrinsic) names " +"`" +msgstr "" + +#: reference/datamodel.rst:1305 +msgid "" +"The \"precise instruction\" of the frame object (this is an index into the :" +"term:`bytecode` string of the :ref:`code object `)" +msgstr "" + +#: reference/datamodel.rst:1321 +msgid "" +"If not ``None``, this is a function called for various events during code " +"execution (this is used by debuggers). Normally an event is triggered for " +"each new source line (see :attr:`~frame.f_trace_lines`)." +msgstr "" + +#: reference/datamodel.rst:1326 msgid "" -"Special writable attributes: :attr:`f_trace`, if not ``None``, is a function " -"called for various events during code execution (this is used by the " -"debugger). Normally an event is triggered for each new source line - this " -"can be disabled by setting :attr:`f_trace_lines` to :const:`False`." +"Set this attribute to :const:`False` to disable triggering a tracing event " +"for each source line." msgstr "" -#: reference/datamodel.rst:1197 +#: reference/datamodel.rst:1330 msgid "" -"Implementations *may* allow per-opcode events to be requested by setting :" -"attr:`f_trace_opcodes` to :const:`True`. Note that this may lead to " -"undefined interpreter behaviour if exceptions raised by the trace function " -"escape to the function being traced." +"Set this attribute to :const:`True` to allow per-opcode events to be " +"requested. Note that this may lead to undefined interpreter behaviour if " +"exceptions raised by the trace function escape to the function being traced." msgstr "" -#: reference/datamodel.rst:1202 +#: reference/datamodel.rst:1336 msgid "" -":attr:`f_lineno` is the current line number of the frame --- writing to this " -"from within a trace function jumps to the given line (only for the bottom-" -"most frame). A debugger can implement a Jump command (aka Set Next " -"Statement) by writing to f_lineno." +"The current line number of the frame -- writing to this from within a trace " +"function jumps to the given line (only for the bottom-most frame). A " +"debugger can implement a Jump command (aka Set Next Statement) by writing to " +"this attribute." +msgstr "" + +#: reference/datamodel.rst:1342 +msgid "Frame object methods" msgstr "" -#: reference/datamodel.rst:1207 +#: reference/datamodel.rst:1344 msgid "Frame objects support one method:" msgstr "" -#: reference/datamodel.rst:1211 +#: reference/datamodel.rst:1348 msgid "" -"This method clears all references to local variables held by the frame. " -"Also, if the frame belonged to a generator, the generator is finalized. " -"This helps break reference cycles involving frame objects (for example when " -"catching an exception and storing its traceback for later use)." +"This method clears all references to :ref:`local variables ` held by " +"the frame. Also, if the frame belonged to a :term:`generator`, the " +"generator is finalized. This helps break reference cycles involving frame " +"objects (for example when catching an :ref:`exception ` " +"and storing its :ref:`traceback ` for later use)." msgstr "" -#: reference/datamodel.rst:1217 +#: reference/datamodel.rst:1354 msgid ":exc:`RuntimeError` is raised if the frame is currently executing." msgstr "" -#: reference/datamodel.rst:1225 +#: reference/datamodel.rst:1362 msgid "Traceback objects" msgstr "" -#: reference/datamodel.rst:1238 +#: reference/datamodel.rst:1375 msgid "" -"Traceback objects represent a stack trace of an exception. A traceback " -"object is implicitly created when an exception occurs, and may also be " -"explicitly created by calling :class:`types.TracebackType`." +"Traceback objects represent the stack trace of an :ref:`exception `. A traceback object is implicitly created when an exception occurs, " +"and may also be explicitly created by calling :class:`types.TracebackType`." msgstr "" -#: reference/datamodel.rst:1242 +#: reference/datamodel.rst:1380 +msgid "Traceback objects can now be explicitly instantiated from Python code." +msgstr "" + +#: reference/datamodel.rst:1383 msgid "" "For implicitly created tracebacks, when the search for an exception handler " "unwinds the execution stack, at each unwound level a traceback object is " "inserted in front of the current traceback. When an exception handler is " "entered, the stack trace is made available to the program. (See section :ref:" -"`try`.) It is accessible as the third item of the tuple returned by ``sys." -"exc_info()``, and as the ``__traceback__`` attribute of the caught exception." +"`try`.) It is accessible as the third item of the tuple returned by :func:" +"`sys.exc_info`, and as the :attr:`~BaseException.__traceback__` attribute of " +"the caught exception." msgstr "" -#: reference/datamodel.rst:1250 +#: reference/datamodel.rst:1392 msgid "" "When the program contains no suitable handler, the stack trace is written " "(nicely formatted) to the standard error stream; if the interpreter is " -"interactive, it is also made available to the user as ``sys.last_traceback``." +"interactive, it is also made available to the user as :data:`sys." +"last_traceback`." msgstr "" -#: reference/datamodel.rst:1255 +#: reference/datamodel.rst:1397 msgid "" "For explicitly created tracebacks, it is up to the creator of the traceback " -"to determine how the ``tb_next`` attributes should be linked to form a full " -"stack trace." +"to determine how the :attr:`~traceback.tb_next` attributes should be linked " +"to form a full stack trace." msgstr "" -#: reference/datamodel.rst:1265 +#: reference/datamodel.rst:1412 msgid "" -"Special read-only attributes: :attr:`tb_frame` points to the execution frame " -"of the current level; :attr:`tb_lineno` gives the line number where the " -"exception occurred; :attr:`tb_lasti` indicates the precise instruction. The " -"line number and last instruction in the traceback may differ from the line " -"number of its frame object if the exception occurred in a :keyword:`try` " -"statement with no matching except clause or with a finally clause." +"Points to the execution :ref:`frame ` of the current level." msgstr "" -#: reference/datamodel.rst:1274 +#: reference/datamodel.rst:1415 msgid "" -"Accessing ``tb_frame`` raises an :ref:`auditing event ` ``object." +"Accessing this attribute raises an :ref:`auditing event ` ``object." "__getattr__`` with arguments ``obj`` and ``\"tb_frame\"``." msgstr "" -#: reference/datamodel.rst:1280 +#: reference/datamodel.rst:1420 +msgid "Gives the line number where the exception occurred" +msgstr "" + +#: reference/datamodel.rst:1423 +msgid "Indicates the \"precise instruction\"." +msgstr "" + +#: reference/datamodel.rst:1425 msgid "" -"Special writable attribute: :attr:`tb_next` is the next level in the stack " -"trace (towards the frame where the exception occurred), or ``None`` if there " -"is no next level." +"The line number and last instruction in the traceback may differ from the " +"line number of its :ref:`frame object ` if the exception " +"occurred in a :keyword:`try` statement with no matching except clause or " +"with a :keyword:`finally` clause." msgstr "" -#: reference/datamodel.rst:1284 +#: reference/datamodel.rst:1436 msgid "" -"Traceback objects can now be explicitly instantiated from Python code, and " -"the ``tb_next`` attribute of existing instances can be updated." +"The special writable attribute :attr:`!tb_next` is the next level in the " +"stack trace (towards the frame where the exception occurred), or ``None`` if " +"there is no next level." +msgstr "" + +#: reference/datamodel.rst:1440 +msgid "This attribute is now writable" msgstr "" -#: reference/datamodel.rst:1290 +#: reference/datamodel.rst:1445 msgid "Slice objects" msgstr "" -#: reference/datamodel.rst:1294 +#: reference/datamodel.rst:1449 msgid "" "Slice objects are used to represent slices for :meth:`~object.__getitem__` " "methods. They are also created by the built-in :func:`slice` function." msgstr "" -#: reference/datamodel.rst:1303 +#: reference/datamodel.rst:1458 msgid "" "Special read-only attributes: :attr:`~slice.start` is the lower bound; :attr:" "`~slice.stop` is the upper bound; :attr:`~slice.step` is the step value; " "each is ``None`` if omitted. These attributes can have any type." msgstr "" -#: reference/datamodel.rst:1307 +#: reference/datamodel.rst:1462 msgid "Slice objects support one method:" msgstr "" -#: reference/datamodel.rst:1311 +#: reference/datamodel.rst:1466 msgid "" "This method takes a single integer argument *length* and computes " "information about the slice that the slice object would describe if applied " @@ -1463,11 +1614,11 @@ msgid "" "a manner consistent with regular slices." msgstr "" -#: reference/datamodel.rst:1320 +#: reference/datamodel.rst:1475 msgid "Static method objects" msgstr "" -#: reference/datamodel.rst:1322 +#: reference/datamodel.rst:1477 msgid "" "Static method objects provide a way of defeating the transformation of " "function objects to method objects described above. A static method object " @@ -1478,11 +1629,11 @@ msgid "" "method objects are created by the built-in :func:`staticmethod` constructor." msgstr "" -#: reference/datamodel.rst:1332 +#: reference/datamodel.rst:1487 msgid "Class method objects" msgstr "" -#: reference/datamodel.rst:1334 +#: reference/datamodel.rst:1489 msgid "" "A class method object, like a static method object, is a wrapper around " "another object that alters the way in which that object is retrieved from " @@ -1491,11 +1642,11 @@ msgid "" "objects are created by the built-in :func:`classmethod` constructor." msgstr "" -#: reference/datamodel.rst:1344 +#: reference/datamodel.rst:1499 msgid "Special method names" msgstr "" -#: reference/datamodel.rst:1350 +#: reference/datamodel.rst:1505 msgid "" "A class can implement certain operations that are invoked by special syntax " "(such as arithmetic operations or subscripting and slicing) by defining " @@ -1509,7 +1660,7 @@ msgid "" "`TypeError`)." msgstr "" -#: reference/datamodel.rst:1361 +#: reference/datamodel.rst:1516 msgid "" "Setting a special method to ``None`` indicates that the corresponding " "operation is not available. For example, if a class sets :meth:`~object." @@ -1518,7 +1669,7 @@ msgid "" "`~object.__getitem__`). [#]_" msgstr "" -#: reference/datamodel.rst:1367 +#: reference/datamodel.rst:1522 msgid "" "When implementing a class that emulates any built-in type, it is important " "that the emulation only be implemented to the degree that it makes sense for " @@ -1528,11 +1679,11 @@ msgid "" "the W3C's Document Object Model.)" msgstr "" -#: reference/datamodel.rst:1378 +#: reference/datamodel.rst:1533 msgid "Basic customization" msgstr "" -#: reference/datamodel.rst:1384 +#: reference/datamodel.rst:1539 msgid "" "Called to create a new instance of class *cls*. :meth:`__new__` is a static " "method (special-cased so you need not declare it as such) that takes the " @@ -1542,7 +1693,7 @@ msgid "" "new object instance (usually an instance of *cls*)." msgstr "" -#: reference/datamodel.rst:1391 +#: reference/datamodel.rst:1546 msgid "" "Typical implementations create a new instance of the class by invoking the " "superclass's :meth:`__new__` method using ``super().__new__(cls[, ...])`` " @@ -1550,7 +1701,7 @@ msgid "" "necessary before returning it." msgstr "" -#: reference/datamodel.rst:1396 +#: reference/datamodel.rst:1551 msgid "" "If :meth:`__new__` is invoked during object construction and it returns an " "instance of *cls*, then the new instance’s :meth:`__init__` method will be " @@ -1559,13 +1710,13 @@ msgid "" "constructor." msgstr "" -#: reference/datamodel.rst:1401 +#: reference/datamodel.rst:1556 msgid "" "If :meth:`__new__` does not return an instance of *cls*, then the new " "instance's :meth:`__init__` method will not be invoked." msgstr "" -#: reference/datamodel.rst:1404 +#: reference/datamodel.rst:1559 msgid "" ":meth:`__new__` is intended mainly to allow subclasses of immutable types " "(like int, str, or tuple) to customize instance creation. It is also " @@ -1573,7 +1724,7 @@ msgid "" "creation." msgstr "" -#: reference/datamodel.rst:1413 +#: reference/datamodel.rst:1568 msgid "" "Called after the instance has been created (by :meth:`__new__`), but before " "it is returned to the caller. The arguments are those passed to the class " @@ -1583,7 +1734,7 @@ msgid "" "example: ``super().__init__([args...])``." msgstr "" -#: reference/datamodel.rst:1420 +#: reference/datamodel.rst:1575 msgid "" "Because :meth:`__new__` and :meth:`__init__` work together in constructing " "objects (:meth:`__new__` to create it, and :meth:`__init__` to customize " @@ -1591,7 +1742,7 @@ msgid "" "will cause a :exc:`TypeError` to be raised at runtime." msgstr "" -#: reference/datamodel.rst:1433 +#: reference/datamodel.rst:1588 msgid "" "Called when the instance is about to be destroyed. This is also called a " "finalizer or (improperly) a destructor. If a base class has a :meth:" @@ -1600,7 +1751,7 @@ msgid "" "instance." msgstr "" -#: reference/datamodel.rst:1439 +#: reference/datamodel.rst:1594 msgid "" "It is possible (though not recommended!) for the :meth:`__del__` method to " "postpone destruction of the instance by creating a new reference to it. " @@ -1610,20 +1761,20 @@ msgid "" "it once." msgstr "" -#: reference/datamodel.rst:1446 +#: reference/datamodel.rst:1601 msgid "" "It is not guaranteed that :meth:`__del__` methods are called for objects " "that still exist when the interpreter exits." msgstr "" -#: reference/datamodel.rst:1451 +#: reference/datamodel.rst:1606 msgid "" "``del x`` doesn't directly call ``x.__del__()`` --- the former decrements " "the reference count for ``x`` by one, and the latter is only called when " "``x``'s reference count reaches zero." msgstr "" -#: reference/datamodel.rst:1456 +#: reference/datamodel.rst:1611 msgid "" "It is possible for a reference cycle to prevent the reference count of an " "object from going to zero. In this case, the cycle will be later detected " @@ -1634,18 +1785,18 @@ msgid "" "caught in the traceback." msgstr "" -#: reference/datamodel.rst:1466 +#: reference/datamodel.rst:1621 msgid "Documentation for the :mod:`gc` module." msgstr "" -#: reference/datamodel.rst:1470 +#: reference/datamodel.rst:1625 msgid "" "Due to the precarious circumstances under which :meth:`__del__` methods are " "invoked, exceptions that occur during their execution are ignored, and a " "warning is printed to ``sys.stderr`` instead. In particular:" msgstr "" -#: reference/datamodel.rst:1474 +#: reference/datamodel.rst:1629 msgid "" ":meth:`__del__` can be invoked when arbitrary code is being executed, " "including from any arbitrary thread. If :meth:`__del__` needs to take a " @@ -1654,7 +1805,7 @@ msgid "" "`__del__`." msgstr "" -#: reference/datamodel.rst:1480 +#: reference/datamodel.rst:1635 msgid "" ":meth:`__del__` can be executed during interpreter shutdown. As a " "consequence, the global variables it needs to access (including other " @@ -1665,7 +1816,7 @@ msgid "" "still available at the time when the :meth:`__del__` method is called." msgstr "" -#: reference/datamodel.rst:1495 +#: reference/datamodel.rst:1650 msgid "" "Called by the :func:`repr` built-in function to compute the \"official\" " "string representation of an object. If at all possible, this should look " @@ -1677,13 +1828,13 @@ msgid "" "an \"informal\" string representation of instances of that class is required." msgstr "" -#: reference/datamodel.rst:1504 +#: reference/datamodel.rst:1659 msgid "" "This is typically used for debugging, so it is important that the " "representation is information-rich and unambiguous." msgstr "" -#: reference/datamodel.rst:1515 +#: reference/datamodel.rst:1670 msgid "" "Called by :func:`str(object) ` and the built-in functions :func:" "`format` and :func:`print` to compute the \"informal\" or nicely printable " @@ -1691,26 +1842,26 @@ msgid "" "` object." msgstr "" -#: reference/datamodel.rst:1520 +#: reference/datamodel.rst:1675 msgid "" "This method differs from :meth:`object.__repr__` in that there is no " "expectation that :meth:`__str__` return a valid Python expression: a more " "convenient or concise representation can be used." msgstr "" -#: reference/datamodel.rst:1524 +#: reference/datamodel.rst:1679 msgid "" "The default implementation defined by the built-in type :class:`object` " "calls :meth:`object.__repr__`." msgstr "" -#: reference/datamodel.rst:1534 +#: reference/datamodel.rst:1689 msgid "" "Called by :ref:`bytes ` to compute a byte-string representation " "of an object. This should return a :class:`bytes` object." msgstr "" -#: reference/datamodel.rst:1545 +#: reference/datamodel.rst:1700 msgid "" "Called by the :func:`format` built-in function, and by extension, evaluation " "of :ref:`formatted string literals ` and the :meth:`str.format` " @@ -1722,28 +1873,28 @@ msgid "" "formatting option syntax." msgstr "" -#: reference/datamodel.rst:1555 +#: reference/datamodel.rst:1710 msgid "" "See :ref:`formatspec` for a description of the standard formatting syntax." msgstr "" -#: reference/datamodel.rst:1557 +#: reference/datamodel.rst:1712 msgid "The return value must be a string object." msgstr "" -#: reference/datamodel.rst:1559 +#: reference/datamodel.rst:1714 msgid "" "The __format__ method of ``object`` itself raises a :exc:`TypeError` if " "passed any non-empty string." msgstr "" -#: reference/datamodel.rst:1563 +#: reference/datamodel.rst:1718 msgid "" "``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than " "``format(str(x), '')``." msgstr "" -#: reference/datamodel.rst:1579 +#: reference/datamodel.rst:1734 msgid "" "These are the so-called \"rich comparison\" methods. The correspondence " "between operator symbols and method names is as follows: ``x.__hash__``." msgstr "" -#: reference/datamodel.rst:1668 +#: reference/datamodel.rst:1823 msgid "" "If a class that does not override :meth:`__eq__` wishes to suppress hash " "support, it should include ``__hash__ = None`` in the class definition. A " @@ -1862,7 +2013,7 @@ msgid "" "``isinstance(obj, collections.abc.Hashable)`` call." msgstr "" -#: reference/datamodel.rst:1677 +#: reference/datamodel.rst:1832 msgid "" "By default, the :meth:`__hash__` values of str and bytes objects are " "\"salted\" with an unpredictable random value. Although they remain " @@ -1870,7 +2021,7 @@ msgid "" "between repeated invocations of Python." msgstr "" -#: reference/datamodel.rst:1682 +#: reference/datamodel.rst:1837 msgid "" "This is intended to provide protection against a denial-of-service caused by " "carefully chosen inputs that exploit the worst case performance of a dict " @@ -1878,22 +2029,22 @@ msgid "" "ocert-2011-003.html for details." msgstr "" -#: reference/datamodel.rst:1687 +#: reference/datamodel.rst:1842 msgid "" "Changing hash values affects the iteration order of sets. Python has never " "made guarantees about this ordering (and it typically varies between 32-bit " "and 64-bit builds)." msgstr "" -#: reference/datamodel.rst:1691 +#: reference/datamodel.rst:1846 msgid "See also :envvar:`PYTHONHASHSEED`." msgstr "" -#: reference/datamodel.rst:1693 +#: reference/datamodel.rst:1848 msgid "Hash randomization is enabled by default." msgstr "" -#: reference/datamodel.rst:1701 +#: reference/datamodel.rst:1856 msgid "" "Called to implement truth value testing and the built-in operation " "``bool()``; should return ``False`` or ``True``. When this method is not " @@ -1902,18 +2053,18 @@ msgid "" "meth:`!__len__` nor :meth:`!__bool__`, all its instances are considered true." msgstr "" -#: reference/datamodel.rst:1712 +#: reference/datamodel.rst:1867 msgid "Customizing attribute access" msgstr "" -#: reference/datamodel.rst:1714 +#: reference/datamodel.rst:1869 msgid "" "The following methods can be defined to customize the meaning of attribute " "access (use of, assignment to, or deletion of ``x.name``) for class " "instances." msgstr "" -#: reference/datamodel.rst:1722 +#: reference/datamodel.rst:1877 msgid "" "Called when the default attribute access fails with an :exc:`AttributeError` " "(either :meth:`__getattribute__` raises an :exc:`AttributeError` because " @@ -1923,7 +2074,7 @@ msgid "" "attribute value or raise an :exc:`AttributeError` exception." msgstr "" -#: reference/datamodel.rst:1729 +#: reference/datamodel.rst:1884 msgid "" "Note that if the attribute is found through the normal mechanism, :meth:" "`__getattr__` is not called. (This is an intentional asymmetry between :" @@ -1936,7 +2087,7 @@ msgid "" "actually get total control over attribute access." msgstr "" -#: reference/datamodel.rst:1742 +#: reference/datamodel.rst:1897 msgid "" "Called unconditionally to implement attribute accesses for instances of the " "class. If the class also defines :meth:`__getattr__`, the latter will not be " @@ -1948,82 +2099,82 @@ msgid "" "example, ``object.__getattribute__(self, name)``." msgstr "" -#: reference/datamodel.rst:1753 +#: reference/datamodel.rst:1908 msgid "" "This method may still be bypassed when looking up special methods as the " -"result of implicit invocation via language syntax or built-in functions. " -"See :ref:`special-lookup`." +"result of implicit invocation via language syntax or :ref:`built-in " +"functions `. See :ref:`special-lookup`." msgstr "" -#: reference/datamodel.rst:1757 +#: reference/datamodel.rst:1913 msgid "" "Raises an :ref:`auditing event ` ``object.__getattr__`` with " "arguments ``obj``, ``name``." msgstr "" -#: reference/datamodel.rst:1759 +#: reference/datamodel.rst:1915 msgid "" "For certain sensitive attribute accesses, raises an :ref:`auditing event " "` ``object.__getattr__`` with arguments ``obj`` and ``name``." msgstr "" -#: reference/datamodel.rst:1766 +#: reference/datamodel.rst:1922 msgid "" "Called when an attribute assignment is attempted. This is called instead of " "the normal mechanism (i.e. store the value in the instance dictionary). " "*name* is the attribute name, *value* is the value to be assigned to it." msgstr "" -#: reference/datamodel.rst:1770 +#: reference/datamodel.rst:1926 msgid "" "If :meth:`__setattr__` wants to assign to an instance attribute, it should " "call the base class method with the same name, for example, ``object." "__setattr__(self, name, value)``." msgstr "" -#: reference/datamodel.rst:1774 +#: reference/datamodel.rst:1930 msgid "" "Raises an :ref:`auditing event ` ``object.__setattr__`` with " "arguments ``obj``, ``name``, ``value``." msgstr "" -#: reference/datamodel.rst:1776 +#: reference/datamodel.rst:1932 msgid "" "For certain sensitive attribute assignments, raises an :ref:`auditing event " "` ``object.__setattr__`` with arguments ``obj``, ``name``, " "``value``." msgstr "" -#: reference/datamodel.rst:1783 +#: reference/datamodel.rst:1939 msgid "" "Like :meth:`__setattr__` but for attribute deletion instead of assignment. " "This should only be implemented if ``del obj.name`` is meaningful for the " "object." msgstr "" -#: reference/datamodel.rst:1786 +#: reference/datamodel.rst:1942 msgid "" "Raises an :ref:`auditing event ` ``object.__delattr__`` with " "arguments ``obj``, ``name``." msgstr "" -#: reference/datamodel.rst:1788 +#: reference/datamodel.rst:1944 msgid "" "For certain sensitive attribute deletions, raises an :ref:`auditing event " "` ``object.__delattr__`` with arguments ``obj`` and ``name``." msgstr "" -#: reference/datamodel.rst:1795 +#: reference/datamodel.rst:1951 msgid "" "Called when :func:`dir` is called on the object. A sequence must be " "returned. :func:`dir` converts the returned sequence to a list and sorts it." msgstr "" -#: reference/datamodel.rst:1800 +#: reference/datamodel.rst:1956 msgid "Customizing module attribute access" msgstr "" -#: reference/datamodel.rst:1807 +#: reference/datamodel.rst:1963 msgid "" "Special names ``__getattr__`` and ``__dir__`` can be also used to customize " "access to module attributes. The ``__getattr__`` function at the module " @@ -2035,21 +2186,21 @@ msgid "" "with the attribute name and the result is returned." msgstr "" -#: reference/datamodel.rst:1816 +#: reference/datamodel.rst:1972 msgid "" "The ``__dir__`` function should accept no arguments, and return a sequence " "of strings that represents the names accessible on module. If present, this " "function overrides the standard :func:`dir` search on a module." msgstr "" -#: reference/datamodel.rst:1820 +#: reference/datamodel.rst:1976 msgid "" "For a more fine grained customization of the module behavior (setting " "attributes, properties, etc.), one can set the ``__class__`` attribute of a " "module object to a subclass of :class:`types.ModuleType`. For example::" msgstr "" -#: reference/datamodel.rst:1838 +#: reference/datamodel.rst:1994 msgid "" "Defining module ``__getattr__`` and setting module ``__class__`` only affect " "lookups made using the attribute access syntax -- directly accessing the " @@ -2057,27 +2208,27 @@ msgid "" "module's globals dictionary) is unaffected." msgstr "" -#: reference/datamodel.rst:1843 +#: reference/datamodel.rst:1999 msgid "``__class__`` module attribute is now writable." msgstr "" -#: reference/datamodel.rst:1846 +#: reference/datamodel.rst:2002 msgid "``__getattr__`` and ``__dir__`` module attributes." msgstr "" -#: reference/datamodel.rst:1851 +#: reference/datamodel.rst:2007 msgid ":pep:`562` - Module __getattr__ and __dir__" msgstr "" -#: reference/datamodel.rst:1852 +#: reference/datamodel.rst:2008 msgid "Describes the ``__getattr__`` and ``__dir__`` functions on modules." msgstr "" -#: reference/datamodel.rst:1858 +#: reference/datamodel.rst:2014 msgid "Implementing Descriptors" msgstr "" -#: reference/datamodel.rst:1860 +#: reference/datamodel.rst:2016 msgid "" "The following methods only apply when an instance of the class containing " "the method (a so-called *descriptor* class) appears in an *owner* class (the " @@ -2087,7 +2238,7 @@ msgid "" "the owner class' :attr:`~object.__dict__`." msgstr "" -#: reference/datamodel.rst:1870 +#: reference/datamodel.rst:2026 msgid "" "Called to get the attribute of the owner class (class attribute access) or " "of an instance of that class (instance attribute access). The optional " @@ -2096,13 +2247,13 @@ msgid "" "accessed through the *owner*." msgstr "" -#: reference/datamodel.rst:1876 +#: reference/datamodel.rst:2032 msgid "" "This method should return the computed attribute value or raise an :exc:" "`AttributeError` exception." msgstr "" -#: reference/datamodel.rst:1879 +#: reference/datamodel.rst:2035 msgid "" ":PEP:`252` specifies that :meth:`__get__` is callable with one or two " "arguments. Python's own built-in descriptors support this specification; " @@ -2112,27 +2263,33 @@ msgid "" "not." msgstr "" -#: reference/datamodel.rst:1888 +#: reference/datamodel.rst:2044 msgid "" "Called to set the attribute on an instance *instance* of the owner class to " "a new value, *value*." msgstr "" -#: reference/datamodel.rst:1891 +#: reference/datamodel.rst:2047 msgid "" "Note, adding :meth:`__set__` or :meth:`__delete__` changes the kind of " "descriptor to a \"data descriptor\". See :ref:`descriptor-invocation` for " "more details." msgstr "" -#: reference/datamodel.rst:1897 +#: reference/datamodel.rst:2053 msgid "" "Called to delete the attribute on an instance *instance* of the owner class." msgstr "" -#: reference/datamodel.rst:1900 +#: reference/datamodel.rst:2055 msgid "" -"The attribute :attr:`__objclass__` is interpreted by the :mod:`inspect` " +"Instances of descriptors may also have the :attr:`!__objclass__` attribute " +"present:" +msgstr "" + +#: reference/datamodel.rst:2060 +msgid "" +"The attribute :attr:`!__objclass__` is interpreted by the :mod:`inspect` " "module as specifying the class where this object was defined (setting this " "appropriately can assist in runtime introspection of dynamic class " "attributes). For callables, it may indicate that an instance of the given " @@ -2141,11 +2298,11 @@ msgid "" "are implemented in C)." msgstr "" -#: reference/datamodel.rst:1911 +#: reference/datamodel.rst:2071 msgid "Invoking Descriptors" msgstr "" -#: reference/datamodel.rst:1913 +#: reference/datamodel.rst:2073 msgid "" "In general, a descriptor is an object attribute with \"binding behavior\", " "one whose attribute access has been overridden by methods in the descriptor " @@ -2154,7 +2311,7 @@ msgid "" "is said to be a descriptor." msgstr "" -#: reference/datamodel.rst:1919 +#: reference/datamodel.rst:2079 msgid "" "The default behavior for attribute access is to get, set, or delete the " "attribute from an object's dictionary. For instance, ``a.x`` has a lookup " @@ -2162,7 +2319,7 @@ msgid "" "continuing through the base classes of ``type(a)`` excluding metaclasses." msgstr "" -#: reference/datamodel.rst:1924 +#: reference/datamodel.rst:2084 msgid "" "However, if the looked-up value is an object defining one of the descriptor " "methods, then Python may override the default behavior and invoke the " @@ -2170,71 +2327,72 @@ msgid "" "depends on which descriptor methods were defined and how they were called." msgstr "" -#: reference/datamodel.rst:1929 +#: reference/datamodel.rst:2089 msgid "" "The starting point for descriptor invocation is a binding, ``a.x``. How the " "arguments are assembled depends on ``a``:" msgstr "" -#: reference/datamodel.rst:1934 +#: reference/datamodel.rst:2094 msgid "Direct Call" msgstr "" -#: reference/datamodel.rst:1933 +#: reference/datamodel.rst:2093 msgid "" "The simplest and least common call is when user code directly invokes a " "descriptor method: ``x.__get__(a)``." msgstr "" -#: reference/datamodel.rst:1938 +#: reference/datamodel.rst:2098 msgid "Instance Binding" msgstr "" -#: reference/datamodel.rst:1937 +#: reference/datamodel.rst:2097 msgid "" "If binding to an object instance, ``a.x`` is transformed into the call: " "``type(a).__dict__['x'].__get__(a, type(a))``." msgstr "" -#: reference/datamodel.rst:1942 +#: reference/datamodel.rst:2102 msgid "Class Binding" msgstr "" -#: reference/datamodel.rst:1941 +#: reference/datamodel.rst:2101 msgid "" "If binding to a class, ``A.x`` is transformed into the call: ``A." "__dict__['x'].__get__(None, A)``." msgstr "" -#: reference/datamodel.rst:1948 +#: reference/datamodel.rst:2108 msgid "Super Binding" msgstr "" -#: reference/datamodel.rst:1945 +#: reference/datamodel.rst:2105 msgid "" "A dotted lookup such as ``super(A, a).x`` searches ``a.__class__.__mro__`` " "for a base class ``B`` following ``A`` and then returns ``B.__dict__['x']." "__get__(a, A)``. If not a descriptor, ``x`` is returned unchanged." msgstr "" -#: reference/datamodel.rst:1982 +#: reference/datamodel.rst:2142 msgid "" "For instance bindings, the precedence of descriptor invocation depends on " "which descriptor methods are defined. A descriptor can define any " "combination of :meth:`~object.__get__`, :meth:`~object.__set__` and :meth:" -"`~object.__delete__`. If it does not define :meth:`__get__`, then accessing " -"the attribute will return the descriptor object itself unless there is a " -"value in the object's instance dictionary. If the descriptor defines :meth:" -"`__set__` and/or :meth:`__delete__`, it is a data descriptor; if it defines " -"neither, it is a non-data descriptor. Normally, data descriptors define " -"both :meth:`__get__` and :meth:`__set__`, while non-data descriptors have " -"just the :meth:`__get__` method. Data descriptors with :meth:`__get__` and :" -"meth:`__set__` (and/or :meth:`__delete__`) defined always override a " -"redefinition in an instance dictionary. In contrast, non-data descriptors " -"can be overridden by instances." +"`~object.__delete__`. If it does not define :meth:`!__get__`, then " +"accessing the attribute will return the descriptor object itself unless " +"there is a value in the object's instance dictionary. If the descriptor " +"defines :meth:`!__set__` and/or :meth:`!__delete__`, it is a data " +"descriptor; if it defines neither, it is a non-data descriptor. Normally, " +"data descriptors define both :meth:`!__get__` and :meth:`!__set__`, while " +"non-data descriptors have just the :meth:`!__get__` method. Data " +"descriptors with :meth:`!__get__` and :meth:`!__set__` (and/or :meth:`!" +"__delete__`) defined always override a redefinition in an instance " +"dictionary. In contrast, non-data descriptors can be overridden by " +"instances." msgstr "" -#: reference/datamodel.rst:1996 +#: reference/datamodel.rst:2157 msgid "" "Python methods (including those decorated with :func:`@staticmethod " "` and :func:`@classmethod `) are implemented as " @@ -2243,30 +2401,30 @@ msgid "" "from other instances of the same class." msgstr "" -#: reference/datamodel.rst:2002 +#: reference/datamodel.rst:2163 msgid "" "The :func:`property` function is implemented as a data descriptor. " "Accordingly, instances cannot override the behavior of a property." msgstr "" -#: reference/datamodel.rst:2009 +#: reference/datamodel.rst:2170 msgid "__slots__" msgstr "" -#: reference/datamodel.rst:2011 +#: reference/datamodel.rst:2172 msgid "" "*__slots__* allow us to explicitly declare data members (like properties) " "and deny the creation of :attr:`~object.__dict__` and *__weakref__* (unless " "explicitly declared in *__slots__* or available in a parent.)" msgstr "" -#: reference/datamodel.rst:2015 +#: reference/datamodel.rst:2176 msgid "" "The space saved over using :attr:`~object.__dict__` can be significant. " "Attribute lookup speed can be significantly improved as well." msgstr "" -#: reference/datamodel.rst:2020 +#: reference/datamodel.rst:2181 msgid "" "This class variable can be assigned a string, iterable, or sequence of " "strings with variable names used by instances. *__slots__* reserves space " @@ -2274,18 +2432,18 @@ msgid "" "`~object.__dict__` and *__weakref__* for each instance." msgstr "" -#: reference/datamodel.rst:2029 +#: reference/datamodel.rst:2190 msgid "Notes on using *__slots__*:" msgstr "" -#: reference/datamodel.rst:2031 +#: reference/datamodel.rst:2192 msgid "" "When inheriting from a class without *__slots__*, the :attr:`~object." "__dict__` and *__weakref__* attribute of the instances will always be " "accessible." msgstr "" -#: reference/datamodel.rst:2035 +#: reference/datamodel.rst:2196 msgid "" "Without a :attr:`~object.__dict__` variable, instances cannot be assigned " "new variables not listed in the *__slots__* definition. Attempts to assign " @@ -2294,7 +2452,7 @@ msgid "" "sequence of strings in the *__slots__* declaration." msgstr "" -#: reference/datamodel.rst:2042 +#: reference/datamodel.rst:2203 msgid "" "Without a *__weakref__* variable for each instance, classes defining " "*__slots__* do not support :mod:`weak references ` to its " @@ -2302,7 +2460,7 @@ msgid "" "to the sequence of strings in the *__slots__* declaration." msgstr "" -#: reference/datamodel.rst:2048 +#: reference/datamodel.rst:2209 msgid "" "*__slots__* are implemented at the class level by creating :ref:`descriptors " "` for each variable name. As a result, class attributes cannot " @@ -2310,7 +2468,7 @@ msgid "" "otherwise, the class attribute would overwrite the descriptor assignment." msgstr "" -#: reference/datamodel.rst:2054 +#: reference/datamodel.rst:2215 msgid "" "The action of a *__slots__* declaration is not limited to the class where it " "is defined. *__slots__* declared in parents are available in child classes. " @@ -2319,7 +2477,7 @@ msgid "" "names of any *additional* slots)." msgstr "" -#: reference/datamodel.rst:2060 +#: reference/datamodel.rst:2221 msgid "" "If a class defines a slot also defined in a base class, the instance " "variable defined by the base class slot is inaccessible (except by " @@ -2328,7 +2486,7 @@ msgid "" "prevent this." msgstr "" -#: reference/datamodel.rst:2065 +#: reference/datamodel.rst:2226 msgid "" ":exc:`TypeError` will be raised if nonempty *__slots__* are defined for a " "class derived from a :c:member:`\"variable-length\" built-in type " @@ -2336,11 +2494,11 @@ msgid "" "`tuple`." msgstr "" -#: reference/datamodel.rst:2070 +#: reference/datamodel.rst:2231 msgid "Any non-string :term:`iterable` may be assigned to *__slots__*." msgstr "" -#: reference/datamodel.rst:2072 +#: reference/datamodel.rst:2233 msgid "" "If a :class:`dictionary ` is used to assign *__slots__*, the " "dictionary keys will be used as the slot names. The values of the dictionary " @@ -2348,13 +2506,13 @@ msgid "" "func:`inspect.getdoc` and displayed in the output of :func:`help`." msgstr "" -#: reference/datamodel.rst:2077 +#: reference/datamodel.rst:2238 msgid "" ":attr:`~instance.__class__` assignment works only if both classes have the " "same *__slots__*." msgstr "" -#: reference/datamodel.rst:2080 +#: reference/datamodel.rst:2241 msgid "" ":ref:`Multiple inheritance ` with multiple slotted parent " "classes can be used, but only one parent is allowed to have attributes " @@ -2362,18 +2520,18 @@ msgid "" "raise :exc:`TypeError`." msgstr "" -#: reference/datamodel.rst:2086 +#: reference/datamodel.rst:2247 msgid "" "If an :term:`iterator` is used for *__slots__* then a :term:`descriptor` is " "created for each of the iterator's values. However, the *__slots__* " "attribute will be an empty iterator." msgstr "" -#: reference/datamodel.rst:2094 +#: reference/datamodel.rst:2255 msgid "Customizing class creation" msgstr "" -#: reference/datamodel.rst:2096 +#: reference/datamodel.rst:2257 msgid "" "Whenever a class inherits from another class, :meth:`~object." "__init_subclass__` is called on the parent class. This way, it is possible " @@ -2383,14 +2541,14 @@ msgid "" "future subclasses of the class defining the method." msgstr "" -#: reference/datamodel.rst:2105 +#: reference/datamodel.rst:2266 msgid "" "This method is called whenever the containing class is subclassed. *cls* is " "then the new subclass. If defined as a normal instance method, this method " "is implicitly converted to a class method." msgstr "" -#: reference/datamodel.rst:2109 +#: reference/datamodel.rst:2270 msgid "" "Keyword arguments which are given to a new class are passed to the parent's " "class ``__init_subclass__``. For compatibility with other classes using " @@ -2398,13 +2556,13 @@ msgid "" "pass the others over to the base class, as in::" msgstr "" -#: reference/datamodel.rst:2123 +#: reference/datamodel.rst:2284 msgid "" "The default implementation ``object.__init_subclass__`` does nothing, but " "raises an error if it is called with any arguments." msgstr "" -#: reference/datamodel.rst:2128 +#: reference/datamodel.rst:2289 msgid "" "The metaclass hint ``metaclass`` is consumed by the rest of the type " "machinery, and is never passed to ``__init_subclass__`` implementations. The " @@ -2412,41 +2570,41 @@ msgid "" "``type(cls)``." msgstr "" -#: reference/datamodel.rst:2136 +#: reference/datamodel.rst:2297 msgid "" "When a class is created, :meth:`type.__new__` scans the class variables and " "makes callbacks to those with a :meth:`~object.__set_name__` hook." msgstr "" -#: reference/datamodel.rst:2141 +#: reference/datamodel.rst:2302 msgid "" "Automatically called at the time the owning class *owner* is created. The " "object has been assigned to *name* in that class::" msgstr "" -#: reference/datamodel.rst:2147 +#: reference/datamodel.rst:2308 msgid "" "If the class variable is assigned after the class is created, :meth:" "`__set_name__` will not be called automatically. If needed, :meth:" "`__set_name__` can be called directly::" msgstr "" -#: reference/datamodel.rst:2158 +#: reference/datamodel.rst:2319 msgid "See :ref:`class-object-creation` for more details." msgstr "" -#: reference/datamodel.rst:2166 +#: reference/datamodel.rst:2327 msgid "Metaclasses" msgstr "" -#: reference/datamodel.rst:2173 +#: reference/datamodel.rst:2334 msgid "" "By default, classes are constructed using :func:`type`. The class body is " "executed in a new namespace and the class name is bound locally to the " "result of ``type(name, bases, namespace)``." msgstr "" -#: reference/datamodel.rst:2177 +#: reference/datamodel.rst:2338 msgid "" "The class creation process can be customized by passing the ``metaclass`` " "keyword argument in the class definition line, or by inheriting from an " @@ -2454,41 +2612,41 @@ msgid "" "both ``MyClass`` and ``MySubclass`` are instances of ``Meta``::" msgstr "" -#: reference/datamodel.rst:2191 +#: reference/datamodel.rst:2352 msgid "" "Any other keyword arguments that are specified in the class definition are " "passed through to all metaclass operations described below." msgstr "" -#: reference/datamodel.rst:2194 +#: reference/datamodel.rst:2355 msgid "When a class definition is executed, the following steps occur:" msgstr "" -#: reference/datamodel.rst:2196 +#: reference/datamodel.rst:2357 msgid "MRO entries are resolved;" msgstr "" -#: reference/datamodel.rst:2197 +#: reference/datamodel.rst:2358 msgid "the appropriate metaclass is determined;" msgstr "" -#: reference/datamodel.rst:2198 +#: reference/datamodel.rst:2359 msgid "the class namespace is prepared;" msgstr "" -#: reference/datamodel.rst:2199 +#: reference/datamodel.rst:2360 msgid "the class body is executed;" msgstr "" -#: reference/datamodel.rst:2200 +#: reference/datamodel.rst:2361 msgid "the class object is created." msgstr "" -#: reference/datamodel.rst:2204 +#: reference/datamodel.rst:2365 msgid "Resolving MRO entries" msgstr "" -#: reference/datamodel.rst:2208 +#: reference/datamodel.rst:2369 msgid "" "If a base that appears in a class definition is not an instance of :class:" "`type`, then an :meth:`!__mro_entries__` method is searched on the base. If " @@ -2500,59 +2658,59 @@ msgid "" "is ignored." msgstr "" -#: reference/datamodel.rst:2220 +#: reference/datamodel.rst:2381 msgid ":func:`types.resolve_bases`" msgstr "" -#: reference/datamodel.rst:2220 +#: reference/datamodel.rst:2381 msgid "Dynamically resolve bases that are not instances of :class:`type`." msgstr "" -#: reference/datamodel.rst:2224 +#: reference/datamodel.rst:2385 msgid ":func:`types.get_original_bases`" msgstr "" -#: reference/datamodel.rst:2223 +#: reference/datamodel.rst:2384 msgid "" "Retrieve a class's \"original bases\" prior to modifications by :meth:" "`~object.__mro_entries__`." msgstr "" -#: reference/datamodel.rst:2226 +#: reference/datamodel.rst:2387 msgid ":pep:`560`" msgstr "" -#: reference/datamodel.rst:2227 +#: reference/datamodel.rst:2388 msgid "Core support for typing module and generic types." msgstr "" -#: reference/datamodel.rst:2231 +#: reference/datamodel.rst:2392 msgid "Determining the appropriate metaclass" msgstr "" -#: reference/datamodel.rst:2235 +#: reference/datamodel.rst:2396 msgid "" "The appropriate metaclass for a class definition is determined as follows:" msgstr "" -#: reference/datamodel.rst:2237 +#: reference/datamodel.rst:2398 msgid "" "if no bases and no explicit metaclass are given, then :func:`type` is used;" msgstr "" -#: reference/datamodel.rst:2238 +#: reference/datamodel.rst:2399 msgid "" "if an explicit metaclass is given and it is *not* an instance of :func:" "`type`, then it is used directly as the metaclass;" msgstr "" -#: reference/datamodel.rst:2240 +#: reference/datamodel.rst:2401 msgid "" "if an instance of :func:`type` is given as the explicit metaclass, or bases " "are defined, then the most derived metaclass is used." msgstr "" -#: reference/datamodel.rst:2243 +#: reference/datamodel.rst:2404 msgid "" "The most derived metaclass is selected from the explicitly specified " "metaclass (if any) and the metaclasses (i.e. ``type(cls)``) of all specified " @@ -2561,11 +2719,11 @@ msgid "" "that criterion, then the class definition will fail with ``TypeError``." msgstr "" -#: reference/datamodel.rst:2253 +#: reference/datamodel.rst:2414 msgid "Preparing the class namespace" msgstr "" -#: reference/datamodel.rst:2258 +#: reference/datamodel.rst:2419 msgid "" "Once the appropriate metaclass has been identified, then the class namespace " "is prepared. If the metaclass has a ``__prepare__`` attribute, it is called " @@ -2577,25 +2735,25 @@ msgid "" "copied into a new ``dict``." msgstr "" -#: reference/datamodel.rst:2267 +#: reference/datamodel.rst:2428 msgid "" "If the metaclass has no ``__prepare__`` attribute, then the class namespace " "is initialised as an empty ordered mapping." msgstr "" -#: reference/datamodel.rst:2272 +#: reference/datamodel.rst:2433 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/datamodel.rst:2273 +#: reference/datamodel.rst:2434 msgid "Introduced the ``__prepare__`` namespace hook" msgstr "" -#: reference/datamodel.rst:2277 +#: reference/datamodel.rst:2438 msgid "Executing the class body" msgstr "" -#: reference/datamodel.rst:2282 +#: reference/datamodel.rst:2443 msgid "" "The class body is executed (approximately) as ``exec(body, globals(), " "namespace)``. The key difference from a normal call to :func:`exec` is that " @@ -2604,7 +2762,7 @@ msgid "" "inside a function." msgstr "" -#: reference/datamodel.rst:2288 +#: reference/datamodel.rst:2449 msgid "" "However, even when the class definition occurs inside the function, methods " "defined inside the class still cannot see names defined at the class scope. " @@ -2613,11 +2771,11 @@ msgid "" "reference described in the next section." msgstr "" -#: reference/datamodel.rst:2297 +#: reference/datamodel.rst:2458 msgid "Creating the class object" msgstr "" -#: reference/datamodel.rst:2304 +#: reference/datamodel.rst:2465 msgid "" "Once the class namespace has been populated by executing the class body, the " "class object is created by calling ``metaclass(name, bases, namespace, " @@ -2625,7 +2783,7 @@ msgid "" "to ``__prepare__``)." msgstr "" -#: reference/datamodel.rst:2309 +#: reference/datamodel.rst:2470 msgid "" "This class object is the one that will be referenced by the zero-argument " "form of :func:`super`. ``__class__`` is an implicit closure reference " @@ -2636,7 +2794,7 @@ msgid "" "is identified based on the first argument passed to the method." msgstr "" -#: reference/datamodel.rst:2319 +#: reference/datamodel.rst:2480 msgid "" "In CPython 3.6 and later, the ``__class__`` cell is passed to the metaclass " "as a ``__classcell__`` entry in the class namespace. If present, this must " @@ -2645,39 +2803,39 @@ msgid "" "in Python 3.8." msgstr "" -#: reference/datamodel.rst:2325 +#: reference/datamodel.rst:2486 msgid "" "When using the default metaclass :class:`type`, or any metaclass that " "ultimately calls ``type.__new__``, the following additional customization " "steps are invoked after creating the class object:" msgstr "" -#: reference/datamodel.rst:2329 +#: reference/datamodel.rst:2490 msgid "" "The ``type.__new__`` method collects all of the attributes in the class " "namespace that define a :meth:`~object.__set_name__` method;" msgstr "" -#: reference/datamodel.rst:2331 +#: reference/datamodel.rst:2492 msgid "" "Those ``__set_name__`` methods are called with the class being defined and " "the assigned name of that particular attribute;" msgstr "" -#: reference/datamodel.rst:2333 +#: reference/datamodel.rst:2494 msgid "" "The :meth:`~object.__init_subclass__` hook is called on the immediate parent " "of the new class in its method resolution order." msgstr "" -#: reference/datamodel.rst:2336 +#: reference/datamodel.rst:2497 msgid "" "After the class object is created, it is passed to the class decorators " "included in the class definition (if any) and the resulting object is bound " "in the local namespace as the defined class." msgstr "" -#: reference/datamodel.rst:2340 +#: reference/datamodel.rst:2501 msgid "" "When a new class is created by ``type.__new__``, the object provided as the " "namespace parameter is copied to a new ordered mapping and the original " @@ -2685,19 +2843,19 @@ msgid "" "becomes the :attr:`~object.__dict__` attribute of the class object." msgstr "" -#: reference/datamodel.rst:2347 +#: reference/datamodel.rst:2508 msgid ":pep:`3135` - New super" msgstr "" -#: reference/datamodel.rst:2348 +#: reference/datamodel.rst:2509 msgid "Describes the implicit ``__class__`` closure reference" msgstr "" -#: reference/datamodel.rst:2352 +#: reference/datamodel.rst:2513 msgid "Uses for metaclasses" msgstr "" -#: reference/datamodel.rst:2354 +#: reference/datamodel.rst:2515 msgid "" "The potential uses for metaclasses are boundless. Some ideas that have been " "explored include enum, logging, interface checking, automatic delegation, " @@ -2705,17 +2863,17 @@ msgid "" "locking/synchronization." msgstr "" -#: reference/datamodel.rst:2361 +#: reference/datamodel.rst:2522 msgid "Customizing instance and subclass checks" msgstr "" -#: reference/datamodel.rst:2363 +#: reference/datamodel.rst:2524 msgid "" "The following methods are used to override the default behavior of the :func:" "`isinstance` and :func:`issubclass` built-in functions." msgstr "" -#: reference/datamodel.rst:2366 +#: reference/datamodel.rst:2527 msgid "" "In particular, the metaclass :class:`abc.ABCMeta` implements these methods " "in order to allow the addition of Abstract Base Classes (ABCs) as \"virtual " @@ -2723,21 +2881,21 @@ msgid "" "other ABCs." msgstr "" -#: reference/datamodel.rst:2373 +#: reference/datamodel.rst:2534 msgid "" "Return true if *instance* should be considered a (direct or indirect) " "instance of *class*. If defined, called to implement ``isinstance(instance, " "class)``." msgstr "" -#: reference/datamodel.rst:2380 +#: reference/datamodel.rst:2541 msgid "" "Return true if *subclass* should be considered a (direct or indirect) " "subclass of *class*. If defined, called to implement ``issubclass(subclass, " "class)``." msgstr "" -#: reference/datamodel.rst:2385 +#: reference/datamodel.rst:2546 msgid "" "Note that these methods are looked up on the type (metaclass) of a class. " "They cannot be defined as class methods in the actual class. This is " @@ -2745,11 +2903,11 @@ msgid "" "only in this case the instance is itself a class." msgstr "" -#: reference/datamodel.rst:2396 +#: reference/datamodel.rst:2557 msgid ":pep:`3119` - Introducing Abstract Base Classes" msgstr "" -#: reference/datamodel.rst:2393 +#: reference/datamodel.rst:2554 msgid "" "Includes the specification for customizing :func:`isinstance` and :func:" "`issubclass` behavior through :meth:`~class.__instancecheck__` and :meth:" @@ -2758,11 +2916,11 @@ msgid "" "language." msgstr "" -#: reference/datamodel.rst:2401 +#: reference/datamodel.rst:2562 msgid "Emulating generic types" msgstr "" -#: reference/datamodel.rst:2403 +#: reference/datamodel.rst:2564 msgid "" "When using :term:`type annotations`, it is often useful to " "*parameterize* a :term:`generic type` using Python's square-brackets " @@ -2770,65 +2928,65 @@ msgid "" "a :class:`list` in which all the elements are of type :class:`int`." msgstr "" -#: reference/datamodel.rst:2411 +#: reference/datamodel.rst:2572 msgid ":pep:`484` - Type Hints" msgstr "" -#: reference/datamodel.rst:2411 +#: reference/datamodel.rst:2572 msgid "Introducing Python's framework for type annotations" msgstr "" -#: reference/datamodel.rst:2414 +#: reference/datamodel.rst:2575 msgid ":ref:`Generic Alias Types`" msgstr "" -#: reference/datamodel.rst:2414 +#: reference/datamodel.rst:2575 msgid "Documentation for objects representing parameterized generic classes" msgstr "" -#: reference/datamodel.rst:2417 +#: reference/datamodel.rst:2578 msgid "" ":ref:`Generics`, :ref:`user-defined generics` and :" "class:`typing.Generic`" msgstr "" -#: reference/datamodel.rst:2417 +#: reference/datamodel.rst:2578 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." msgstr "" -#: reference/datamodel.rst:2420 +#: reference/datamodel.rst:2581 msgid "" "A class can *generally* only be parameterized if it defines the special " "class method ``__class_getitem__()``." msgstr "" -#: reference/datamodel.rst:2425 +#: reference/datamodel.rst:2586 msgid "" "Return an object representing the specialization of a generic class by type " "arguments found in *key*." msgstr "" -#: reference/datamodel.rst:2428 +#: reference/datamodel.rst:2589 msgid "" "When defined on a class, ``__class_getitem__()`` is automatically a class " "method. As such, there is no need for it to be decorated with :func:" "`@classmethod` when it is defined." msgstr "" -#: reference/datamodel.rst:2434 +#: reference/datamodel.rst:2595 msgid "The purpose of *__class_getitem__*" msgstr "" -#: reference/datamodel.rst:2436 +#: reference/datamodel.rst:2597 msgid "" "The purpose of :meth:`~object.__class_getitem__` is to allow runtime " "parameterization of standard-library generic classes in order to more easily " "apply :term:`type hints` to these classes." msgstr "" -#: reference/datamodel.rst:2440 +#: reference/datamodel.rst:2601 msgid "" "To implement custom generic classes that can be parameterized at runtime and " "understood by static type-checkers, users should either inherit from a " @@ -2837,7 +2995,7 @@ msgid "" "own implementation of ``__class_getitem__()``." msgstr "" -#: reference/datamodel.rst:2446 +#: reference/datamodel.rst:2607 msgid "" "Custom implementations of :meth:`~object.__class_getitem__` on classes " "defined outside of the standard library may not be understood by third-party " @@ -2845,11 +3003,11 @@ msgid "" "purposes other than type hinting is discouraged." msgstr "" -#: reference/datamodel.rst:2456 +#: reference/datamodel.rst:2617 msgid "*__class_getitem__* versus *__getitem__*" msgstr "" -#: reference/datamodel.rst:2458 +#: reference/datamodel.rst:2619 msgid "" "Usually, the :ref:`subscription` of an object using square " "brackets will call the :meth:`~object.__getitem__` instance method defined " @@ -2859,14 +3017,14 @@ msgid "" "genericalias>` object if it is properly defined." msgstr "" -#: reference/datamodel.rst:2465 +#: reference/datamodel.rst:2626 msgid "" "Presented with the :term:`expression` ``obj[x]``, the Python interpreter " "follows something like the following process to decide whether :meth:" "`~object.__getitem__` or :meth:`~object.__class_getitem__` should be called::" msgstr "" -#: reference/datamodel.rst:2493 +#: reference/datamodel.rst:2654 msgid "" "In Python, all classes are themselves instances of other classes. The class " "of a class is known as that class's :term:`metaclass`, and most classes have " @@ -2876,40 +3034,40 @@ msgid "" "__class_getitem__` being called::" msgstr "" -#: reference/datamodel.rst:2512 +#: reference/datamodel.rst:2673 msgid "" "However, if a class has a custom metaclass that defines :meth:`~object." "__getitem__`, subscribing the class may result in different behaviour. An " "example of this can be found in the :mod:`enum` module::" msgstr "" -#: reference/datamodel.rst:2537 +#: reference/datamodel.rst:2698 msgid ":pep:`560` - Core Support for typing module and generic types" msgstr "" -#: reference/datamodel.rst:2536 +#: reference/datamodel.rst:2697 msgid "" "Introducing :meth:`~object.__class_getitem__`, and outlining when a :ref:" "`subscription` results in ``__class_getitem__()`` being " "called instead of :meth:`~object.__getitem__`" msgstr "" -#: reference/datamodel.rst:2544 +#: reference/datamodel.rst:2705 msgid "Emulating callable objects" msgstr "" -#: reference/datamodel.rst:2551 +#: reference/datamodel.rst:2712 msgid "" "Called when the instance is \"called\" as a function; if this method is " "defined, ``x(arg1, arg2, ...)`` roughly translates to ``type(x).__call__(x, " "arg1, ...)``." msgstr "" -#: reference/datamodel.rst:2558 +#: reference/datamodel.rst:2719 msgid "Emulating container types" msgstr "" -#: reference/datamodel.rst:2560 +#: reference/datamodel.rst:2721 msgid "" "The following methods can be defined to implement container objects. " "Containers usually are :term:`sequences ` (such as :class:`lists " @@ -2919,33 +3077,33 @@ msgid "" "a mapping; the difference is that for a sequence, the allowable keys should " "be the integers *k* for which ``0 <= k < N`` where *N* is the length of the " "sequence, or :class:`slice` objects, which define a range of items. It is " -"also recommended that mappings provide the methods :meth:`keys`, :meth:" -"`values`, :meth:`items`, :meth:`get`, :meth:`clear`, :meth:`setdefault`, :" -"meth:`pop`, :meth:`popitem`, :meth:`!copy`, and :meth:`update` behaving " +"also recommended that mappings provide the methods :meth:`!keys`, :meth:`!" +"values`, :meth:`!items`, :meth:`!get`, :meth:`!clear`, :meth:`!setdefault`, :" +"meth:`!pop`, :meth:`!popitem`, :meth:`!copy`, and :meth:`!update` behaving " "similar to those for Python's standard :class:`dictionary ` objects. " "The :mod:`collections.abc` module provides a :class:`~collections.abc." "MutableMapping` :term:`abstract base class` to help create those methods " "from a base set of :meth:`~object.__getitem__`, :meth:`~object." -"__setitem__`, :meth:`~object.__delitem__`, and :meth:`keys`. Mutable " -"sequences should provide methods :meth:`append`, :meth:`count`, :meth:" -"`index`, :meth:`extend`, :meth:`insert`, :meth:`pop`, :meth:`remove`, :meth:" -"`reverse` and :meth:`sort`, like Python standard :class:`list` objects. " -"Finally, sequence types should implement addition (meaning concatenation) " -"and multiplication (meaning repetition) by defining the methods :meth:" -"`~object.__add__`, :meth:`~object.__radd__`, :meth:`~object.__iadd__`, :meth:" -"`~object.__mul__`, :meth:`~object.__rmul__` and :meth:`~object.__imul__` " -"described below; they should not define other numerical operators. It is " -"recommended that both mappings and sequences implement the :meth:`~object." -"__contains__` method to allow efficient use of the ``in`` operator; for " -"mappings, ``in`` should search the mapping's keys; for sequences, it should " -"search through the values. It is further recommended that both mappings and " -"sequences implement the :meth:`~object.__iter__` method to allow efficient " -"iteration through the container; for mappings, :meth:`__iter__` should " -"iterate through the object's keys; for sequences, it should iterate through " -"the values." -msgstr "" - -#: reference/datamodel.rst:2600 +"__setitem__`, :meth:`~object.__delitem__`, and :meth:`!keys`. Mutable " +"sequences should provide methods :meth:`!append`, :meth:`!count`, :meth:`!" +"index`, :meth:`!extend`, :meth:`!insert`, :meth:`!pop`, :meth:`!remove`, :" +"meth:`!reverse` and :meth:`!sort`, like Python standard :class:`list` " +"objects. Finally, sequence types should implement addition (meaning " +"concatenation) and multiplication (meaning repetition) by defining the " +"methods :meth:`~object.__add__`, :meth:`~object.__radd__`, :meth:`~object." +"__iadd__`, :meth:`~object.__mul__`, :meth:`~object.__rmul__` and :meth:" +"`~object.__imul__` described below; they should not define other numerical " +"operators. It is recommended that both mappings and sequences implement " +"the :meth:`~object.__contains__` method to allow efficient use of the ``in`` " +"operator; for mappings, ``in`` should search the mapping's keys; for " +"sequences, it should search through the values. It is further recommended " +"that both mappings and sequences implement the :meth:`~object.__iter__` " +"method to allow efficient iteration through the container; for mappings, :" +"meth:`!__iter__` should iterate through the object's keys; for sequences, it " +"should iterate through the values." +msgstr "" + +#: reference/datamodel.rst:2762 msgid "" "Called to implement the built-in function :func:`len`. Should return the " "length of the object, an integer ``>=`` 0. Also, an object that doesn't " @@ -2953,7 +3111,7 @@ msgid "" "returns zero is considered to be false in a Boolean context." msgstr "" -#: reference/datamodel.rst:2607 +#: reference/datamodel.rst:2769 msgid "" "In CPython, the length is required to be at most :data:`sys.maxsize`. If the " "length is larger than :data:`!sys.maxsize` some features (such as :func:" @@ -2962,7 +3120,7 @@ msgid "" "`~object.__bool__` method." msgstr "" -#: reference/datamodel.rst:2616 +#: reference/datamodel.rst:2778 msgid "" "Called to implement :func:`operator.length_hint`. Should return an estimated " "length for the object (which may be greater or less than the actual length). " @@ -2972,46 +3130,45 @@ msgid "" "never required for correctness." msgstr "" -#: reference/datamodel.rst:2630 +#: reference/datamodel.rst:2792 msgid "" "Slicing is done exclusively with the following three methods. A call like ::" msgstr "" -#: reference/datamodel.rst:2634 +#: reference/datamodel.rst:2796 msgid "is translated to ::" msgstr "" -#: reference/datamodel.rst:2638 +#: reference/datamodel.rst:2800 msgid "and so forth. Missing slice items are always filled in with ``None``." msgstr "" -#: reference/datamodel.rst:2643 +#: reference/datamodel.rst:2805 msgid "" "Called to implement evaluation of ``self[key]``. For :term:`sequence` types, " -"the accepted keys should be integers and slice objects. Note that the " -"special interpretation of negative indexes (if the class wishes to emulate " -"a :term:`sequence` type) is up to the :meth:`__getitem__` method. If *key* " -"is of an inappropriate type, :exc:`TypeError` may be raised; if of a value " -"outside the set of indexes for the sequence (after any special " +"the accepted keys should be integers. Optionally, they may support :class:" +"`slice` objects as well. Negative index support is also optional. If *key* " +"is of an inappropriate type, :exc:`TypeError` may be raised; if *key* is a " +"value outside the set of indexes for the sequence (after any special " "interpretation of negative values), :exc:`IndexError` should be raised. For :" "term:`mapping` types, if *key* is missing (not in the container), :exc:" "`KeyError` should be raised." msgstr "" -#: reference/datamodel.rst:2655 +#: reference/datamodel.rst:2817 msgid "" ":keyword:`for` loops expect that an :exc:`IndexError` will be raised for " "illegal indexes to allow proper detection of the end of the sequence." msgstr "" -#: reference/datamodel.rst:2660 +#: reference/datamodel.rst:2822 msgid "" "When :ref:`subscripting` a *class*, the special class method :" "meth:`~object.__class_getitem__` may be called instead of ``__getitem__()``. " "See :ref:`classgetitem-versus-getitem` for more details." msgstr "" -#: reference/datamodel.rst:2668 +#: reference/datamodel.rst:2830 msgid "" "Called to implement assignment to ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -3020,7 +3177,7 @@ msgid "" "for improper *key* values as for the :meth:`__getitem__` method." msgstr "" -#: reference/datamodel.rst:2677 +#: reference/datamodel.rst:2839 msgid "" "Called to implement deletion of ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -3029,13 +3186,13 @@ msgid "" "values as for the :meth:`__getitem__` method." msgstr "" -#: reference/datamodel.rst:2686 +#: reference/datamodel.rst:2848 msgid "" "Called by :class:`dict`\\ .\\ :meth:`__getitem__` to implement ``self[key]`` " "for dict subclasses when key is not in the dictionary." msgstr "" -#: reference/datamodel.rst:2692 +#: reference/datamodel.rst:2854 msgid "" "This method is called when an :term:`iterator` is required for a container. " "This method should return a new iterator object that can iterate over all " @@ -3043,14 +3200,14 @@ msgid "" "of the container." msgstr "" -#: reference/datamodel.rst:2700 +#: reference/datamodel.rst:2862 msgid "" "Called (if present) by the :func:`reversed` built-in to implement reverse " "iteration. It should return a new iterator object that iterates over all " "the objects in the container in reverse order." msgstr "" -#: reference/datamodel.rst:2704 +#: reference/datamodel.rst:2866 msgid "" "If the :meth:`__reversed__` method is not provided, the :func:`reversed` " "built-in will fall back to using the sequence protocol (:meth:`__len__` and :" @@ -3059,7 +3216,7 @@ msgid "" "more efficient than the one provided by :func:`reversed`." msgstr "" -#: reference/datamodel.rst:2711 +#: reference/datamodel.rst:2873 msgid "" "The membership test operators (:keyword:`in` and :keyword:`not in`) are " "normally implemented as an iteration through a container. However, container " @@ -3067,14 +3224,14 @@ msgid "" "implementation, which also does not require the object be iterable." msgstr "" -#: reference/datamodel.rst:2718 +#: reference/datamodel.rst:2880 msgid "" "Called to implement membership test operators. Should return true if *item* " "is in *self*, false otherwise. For mapping objects, this should consider " "the keys of the mapping rather than the values or the key-item pairs." msgstr "" -#: reference/datamodel.rst:2722 +#: reference/datamodel.rst:2884 msgid "" "For objects that don't define :meth:`__contains__`, the membership test " "first tries iteration via :meth:`__iter__`, then the old sequence iteration " @@ -3082,11 +3239,11 @@ msgid "" "reference `." msgstr "" -#: reference/datamodel.rst:2731 +#: reference/datamodel.rst:2893 msgid "Emulating numeric types" msgstr "" -#: reference/datamodel.rst:2733 +#: reference/datamodel.rst:2895 msgid "" "The following methods can be defined to emulate numeric objects. Methods " "corresponding to operations that are not supported by the particular kind of " @@ -3094,7 +3251,7 @@ msgid "" "should be left undefined." msgstr "" -#: reference/datamodel.rst:2759 +#: reference/datamodel.rst:2921 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:" @@ -3108,13 +3265,13 @@ msgid "" "function is to be supported." msgstr "" -#: reference/datamodel.rst:2770 +#: reference/datamodel.rst:2932 msgid "" "If one of those methods does not support the operation with the supplied " "arguments, it should return ``NotImplemented``." msgstr "" -#: reference/datamodel.rst:2793 +#: reference/datamodel.rst:2955 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:" @@ -3127,13 +3284,13 @@ msgid "" "*NotImplemented*." msgstr "" -#: reference/datamodel.rst:2805 +#: reference/datamodel.rst:2967 msgid "" "Note that ternary :func:`pow` will not try calling :meth:`__rpow__` (the " "coercion rules would become too complicated)." msgstr "" -#: reference/datamodel.rst:2810 +#: reference/datamodel.rst:2972 msgid "" "If the right operand's type is a subclass of the left operand's type and " "that subclass provides a different implementation of the reflected method " @@ -3142,7 +3299,7 @@ msgid "" "ancestors' operations." msgstr "" -#: reference/datamodel.rst:2831 +#: reference/datamodel.rst:2993 msgid "" "These methods are called to implement the augmented arithmetic assignments " "(``+=``, ``-=``, ``*=``, ``@=``, ``/=``, ``//=``, ``%=``, ``**=``, ``<<=``, " @@ -3158,19 +3315,19 @@ msgid "" "fact part of the data model." msgstr "" -#: reference/datamodel.rst:2852 +#: reference/datamodel.rst:3014 msgid "" "Called to implement the unary arithmetic operations (``-``, ``+``, :func:" "`abs` and ``~``)." msgstr "" -#: reference/datamodel.rst:2865 +#: reference/datamodel.rst:3027 msgid "" "Called to implement the built-in functions :func:`complex`, :func:`int` and :" "func:`float`. Should return a value of the appropriate type." msgstr "" -#: reference/datamodel.rst:2872 +#: reference/datamodel.rst:3034 msgid "" "Called to implement :func:`operator.index`, and whenever Python needs to " "losslessly convert the numeric object to an integer object (such as in " @@ -3179,14 +3336,14 @@ msgid "" "integer type. Must return an integer." msgstr "" -#: reference/datamodel.rst:2878 +#: reference/datamodel.rst:3040 msgid "" "If :meth:`__int__`, :meth:`__float__` and :meth:`__complex__` are not " "defined then corresponding built-in functions :func:`int`, :func:`float` " "and :func:`complex` fall back to :meth:`__index__`." msgstr "" -#: reference/datamodel.rst:2890 +#: reference/datamodel.rst:3052 msgid "" "Called to implement the built-in function :func:`round` and :mod:`math` " "functions :func:`~math.trunc`, :func:`~math.floor` and :func:`~math.ceil`. " @@ -3195,21 +3352,21 @@ msgid "" "(typically an :class:`int`)." msgstr "" -#: reference/datamodel.rst:2896 +#: reference/datamodel.rst:3058 msgid "" "The built-in function :func:`int` falls back to :meth:`__trunc__` if " "neither :meth:`__int__` nor :meth:`__index__` is defined." msgstr "" -#: reference/datamodel.rst:2899 +#: reference/datamodel.rst:3061 msgid "The delegation of :func:`int` to :meth:`__trunc__` is deprecated." msgstr "" -#: reference/datamodel.rst:2906 +#: reference/datamodel.rst:3068 msgid "With Statement Context Managers" msgstr "" -#: reference/datamodel.rst:2908 +#: reference/datamodel.rst:3070 msgid "" "A :dfn:`context manager` is an object that defines the runtime context to be " "established when executing a :keyword:`with` statement. The context manager " @@ -3219,32 +3376,32 @@ msgid "" "can also be used by directly invoking their methods." msgstr "" -#: reference/datamodel.rst:2919 +#: reference/datamodel.rst:3081 msgid "" "Typical uses of context managers include saving and restoring various kinds " "of global state, locking and unlocking resources, closing opened files, etc." msgstr "" -#: reference/datamodel.rst:2922 +#: reference/datamodel.rst:3084 msgid "" "For more information on context managers, see :ref:`typecontextmanager`." msgstr "" -#: reference/datamodel.rst:2927 +#: reference/datamodel.rst:3089 msgid "" "Enter the runtime context related to this object. The :keyword:`with` " "statement will bind this method's return value to the target(s) specified in " "the :keyword:`!as` clause of the statement, if any." msgstr "" -#: reference/datamodel.rst:2934 +#: reference/datamodel.rst:3096 msgid "" "Exit the runtime context related to this object. The parameters describe the " "exception that caused the context to be exited. If the context was exited " "without an exception, all three arguments will be :const:`None`." msgstr "" -#: reference/datamodel.rst:2938 +#: reference/datamodel.rst:3100 msgid "" "If an exception is supplied, and the method wishes to suppress the exception " "(i.e., prevent it from being propagated), it should return a true value. " @@ -3252,27 +3409,27 @@ msgid "" "method." msgstr "" -#: reference/datamodel.rst:2942 +#: reference/datamodel.rst:3104 msgid "" "Note that :meth:`~object.__exit__` methods should not reraise the passed-in " "exception; this is the caller's responsibility." msgstr "" -#: reference/datamodel.rst:2949 +#: reference/datamodel.rst:3111 msgid ":pep:`343` - The \"with\" statement" msgstr "" -#: reference/datamodel.rst:2949 +#: reference/datamodel.rst:3111 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." msgstr "" -#: reference/datamodel.rst:2956 +#: reference/datamodel.rst:3118 msgid "Customizing positional arguments in class pattern matching" msgstr "" -#: reference/datamodel.rst:2958 +#: reference/datamodel.rst:3120 msgid "" "When using a class name in a pattern, positional arguments in the pattern " "are not allowed by default, i.e. ``case MyClass(x, y)`` is typically invalid " @@ -3280,7 +3437,7 @@ msgid "" "pattern, the class needs to define a *__match_args__* attribute." msgstr "" -#: reference/datamodel.rst:2965 +#: reference/datamodel.rst:3127 msgid "" "This class variable can be assigned a tuple of strings. When this class is " "used in a class pattern with positional arguments, each positional argument " @@ -3289,7 +3446,7 @@ msgid "" "to setting it to ``()``." msgstr "" -#: reference/datamodel.rst:2971 +#: reference/datamodel.rst:3133 msgid "" "For example, if ``MyClass.__match_args__`` is ``(\"left\", \"center\", " "\"right\")`` that means that ``case MyClass(x, y)`` is equivalent to ``case " @@ -3299,19 +3456,19 @@ msgid "" "exc:`TypeError`." msgstr "" -#: reference/datamodel.rst:2981 +#: reference/datamodel.rst:3143 msgid ":pep:`634` - Structural Pattern Matching" msgstr "" -#: reference/datamodel.rst:2982 +#: reference/datamodel.rst:3144 msgid "The specification for the Python ``match`` statement." msgstr "" -#: reference/datamodel.rst:2988 +#: reference/datamodel.rst:3150 msgid "Emulating buffer types" msgstr "" -#: reference/datamodel.rst:2990 +#: reference/datamodel.rst:3152 msgid "" "The :ref:`buffer protocol ` provides a way for Python objects " "to expose efficient access to a low-level memory array. This protocol is " @@ -3319,13 +3476,13 @@ msgid "" "and third-party libraries may define additional buffer types." msgstr "" -#: reference/datamodel.rst:2995 +#: reference/datamodel.rst:3157 msgid "" "While buffer types are usually implemented in C, it is also possible to " "implement the protocol in Python." msgstr "" -#: reference/datamodel.rst:3000 +#: reference/datamodel.rst:3162 msgid "" "Called when a buffer is requested from *self* (for example, by the :class:" "`memoryview` constructor). The *flags* argument is an integer representing " @@ -3335,7 +3492,7 @@ msgid "" "`memoryview` object." msgstr "" -#: reference/datamodel.rst:3009 +#: reference/datamodel.rst:3171 msgid "" "Called when a buffer is no longer needed. The *buffer* argument is a :class:" "`memoryview` object that was previously returned by :meth:`~object." @@ -3344,28 +3501,28 @@ msgid "" "to perform any cleanup are not required to implement this method." msgstr "" -#: reference/datamodel.rst:3021 +#: reference/datamodel.rst:3183 msgid ":pep:`688` - Making the buffer protocol accessible in Python" msgstr "" -#: reference/datamodel.rst:3021 +#: reference/datamodel.rst:3183 msgid "" "Introduces the Python ``__buffer__`` and ``__release_buffer__`` methods." msgstr "" -#: reference/datamodel.rst:3023 +#: reference/datamodel.rst:3185 msgid ":class:`collections.abc.Buffer`" msgstr "" -#: reference/datamodel.rst:3024 +#: reference/datamodel.rst:3186 msgid "ABC for buffer types." msgstr "" -#: reference/datamodel.rst:3029 +#: reference/datamodel.rst:3191 msgid "Special method lookup" msgstr "" -#: reference/datamodel.rst:3031 +#: reference/datamodel.rst:3193 msgid "" "For custom classes, implicit invocations of special methods are only " "guaranteed to work correctly if defined on an object's type, not in the " @@ -3373,7 +3530,7 @@ msgid "" "following code raises an exception::" msgstr "" -#: reference/datamodel.rst:3046 +#: reference/datamodel.rst:3208 msgid "" "The rationale behind this behaviour lies with a number of special methods " "such as :meth:`~object.__hash__` and :meth:`~object.__repr__` that are " @@ -3382,21 +3539,21 @@ msgid "" "invoked on the type object itself::" msgstr "" -#: reference/datamodel.rst:3060 +#: reference/datamodel.rst:3222 msgid "" "Incorrectly attempting to invoke an unbound method of a class in this way is " "sometimes referred to as 'metaclass confusion', and is avoided by bypassing " "the instance when looking up special methods::" msgstr "" -#: reference/datamodel.rst:3069 +#: reference/datamodel.rst:3231 msgid "" "In addition to bypassing any instance attributes in the interest of " "correctness, implicit special method lookup generally also bypasses the :" "meth:`~object.__getattribute__` method even of the object's metaclass::" msgstr "" -#: reference/datamodel.rst:3095 +#: reference/datamodel.rst:3257 msgid "" "Bypassing the :meth:`~object.__getattribute__` machinery in this fashion " "provides significant scope for speed optimisations within the interpreter, " @@ -3405,36 +3562,36 @@ msgid "" "consistently invoked by the interpreter)." msgstr "" -#: reference/datamodel.rst:3106 +#: reference/datamodel.rst:3268 msgid "Coroutines" msgstr "" -#: reference/datamodel.rst:3110 +#: reference/datamodel.rst:3272 msgid "Awaitable Objects" msgstr "" -#: reference/datamodel.rst:3112 +#: reference/datamodel.rst:3274 msgid "" "An :term:`awaitable` object generally implements an :meth:`~object." "__await__` method. :term:`Coroutine objects ` returned from :" "keyword:`async def` functions are awaitable." msgstr "" -#: reference/datamodel.rst:3118 +#: reference/datamodel.rst:3280 msgid "" "The :term:`generator iterator` objects returned from generators decorated " "with :func:`types.coroutine` are also awaitable, but they do not implement :" "meth:`~object.__await__`." msgstr "" -#: reference/datamodel.rst:3124 +#: reference/datamodel.rst:3286 msgid "" "Must return an :term:`iterator`. Should be used to implement :term:" "`awaitable` objects. For instance, :class:`asyncio.Future` implements this " "method to be compatible with the :keyword:`await` expression." msgstr "" -#: reference/datamodel.rst:3130 +#: reference/datamodel.rst:3292 msgid "" "The language doesn't place any restriction on the type or value of the " "objects yielded by the iterator returned by ``__await__``, as this is " @@ -3442,15 +3599,15 @@ msgid "" "g. :mod:`asyncio`) that will be managing the :term:`awaitable` object." msgstr "" -#: reference/datamodel.rst:3138 +#: reference/datamodel.rst:3300 msgid ":pep:`492` for additional information about awaitable objects." msgstr "" -#: reference/datamodel.rst:3144 +#: reference/datamodel.rst:3306 msgid "Coroutine Objects" msgstr "" -#: reference/datamodel.rst:3146 +#: reference/datamodel.rst:3308 msgid "" ":term:`Coroutine objects ` are :term:`awaitable` objects. A " "coroutine's execution can be controlled by calling :meth:`~object.__await__` " @@ -3461,29 +3618,29 @@ msgid "" "should not directly raise unhandled :exc:`StopIteration` exceptions." msgstr "" -#: reference/datamodel.rst:3154 +#: reference/datamodel.rst:3316 msgid "" "Coroutines also have the methods listed below, which are analogous to those " "of generators (see :ref:`generator-methods`). However, unlike generators, " "coroutines do not directly support iteration." msgstr "" -#: reference/datamodel.rst:3158 +#: reference/datamodel.rst:3320 msgid "It is a :exc:`RuntimeError` to await on a coroutine more than once." msgstr "" -#: reference/datamodel.rst:3164 +#: reference/datamodel.rst:3326 msgid "" "Starts or resumes execution of the coroutine. If *value* is ``None``, this " "is equivalent to advancing the iterator returned by :meth:`~object." "__await__`. If *value* is not ``None``, this method delegates to the :meth:" "`~generator.send` method of the iterator that caused the coroutine to " "suspend. The result (return value, :exc:`StopIteration`, or other " -"exception) is the same as when iterating over the :meth:`__await__` return " +"exception) is the same as when iterating over the :meth:`!__await__` return " "value, described above." msgstr "" -#: reference/datamodel.rst:3175 +#: reference/datamodel.rst:3337 msgid "" "Raises the specified exception in the coroutine. This method delegates to " "the :meth:`~generator.throw` method of the iterator that caused the " @@ -3494,13 +3651,13 @@ msgid "" "not caught in the coroutine, it propagates back to the caller." msgstr "" -#: reference/datamodel.rst:3186 +#: reference/datamodel.rst:3348 msgid "" "The second signature \\(type\\[, value\\[, traceback\\]\\]\\) is deprecated " "and may be removed in a future version of Python." msgstr "" -#: reference/datamodel.rst:3191 +#: reference/datamodel.rst:3353 msgid "" "Causes the coroutine to clean itself up and exit. If the coroutine is " "suspended, this method first delegates to the :meth:`~generator.close` " @@ -3510,99 +3667,99 @@ msgid "" "is marked as having finished executing, even if it was never started." msgstr "" -#: reference/datamodel.rst:3199 +#: reference/datamodel.rst:3361 msgid "" "Coroutine objects are automatically closed using the above process when they " "are about to be destroyed." msgstr "" -#: reference/datamodel.rst:3205 +#: reference/datamodel.rst:3367 msgid "Asynchronous Iterators" msgstr "" -#: reference/datamodel.rst:3207 +#: reference/datamodel.rst:3369 msgid "" "An *asynchronous iterator* can call asynchronous code in its ``__anext__`` " "method." msgstr "" -#: reference/datamodel.rst:3210 +#: reference/datamodel.rst:3372 msgid "" "Asynchronous iterators can be used in an :keyword:`async for` statement." msgstr "" -#: reference/datamodel.rst:3214 +#: reference/datamodel.rst:3376 msgid "Must return an *asynchronous iterator* object." msgstr "" -#: reference/datamodel.rst:3218 +#: reference/datamodel.rst:3380 msgid "" "Must return an *awaitable* resulting in a next value of the iterator. " "Should raise a :exc:`StopAsyncIteration` error when the iteration is over." msgstr "" -#: reference/datamodel.rst:3221 +#: reference/datamodel.rst:3383 msgid "An example of an asynchronous iterable object::" msgstr "" -#: reference/datamodel.rst:3238 +#: reference/datamodel.rst:3400 msgid "" "Prior to Python 3.7, :meth:`~object.__aiter__` could return an *awaitable* " "that would resolve to an :term:`asynchronous iterator `." msgstr "" -#: reference/datamodel.rst:3243 +#: reference/datamodel.rst:3405 msgid "" "Starting with Python 3.7, :meth:`~object.__aiter__` must return an " "asynchronous iterator object. Returning anything else will result in a :exc:" "`TypeError` error." msgstr "" -#: reference/datamodel.rst:3251 +#: reference/datamodel.rst:3413 msgid "Asynchronous Context Managers" msgstr "" -#: reference/datamodel.rst:3253 +#: reference/datamodel.rst:3415 msgid "" "An *asynchronous context manager* is a *context manager* that is able to " "suspend execution in its ``__aenter__`` and ``__aexit__`` methods." msgstr "" -#: reference/datamodel.rst:3256 +#: reference/datamodel.rst:3418 msgid "" "Asynchronous context managers can be used in an :keyword:`async with` " "statement." msgstr "" -#: reference/datamodel.rst:3260 +#: reference/datamodel.rst:3422 msgid "" "Semantically similar to :meth:`~object.__enter__`, the only difference being " "that it must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3265 +#: reference/datamodel.rst:3427 msgid "" "Semantically similar to :meth:`~object.__exit__`, the only difference being " "that it must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3268 +#: reference/datamodel.rst:3430 msgid "An example of an asynchronous context manager class::" msgstr "" -#: reference/datamodel.rst:3281 +#: reference/datamodel.rst:3443 msgid "Footnotes" msgstr "" -#: reference/datamodel.rst:3282 +#: reference/datamodel.rst:3444 msgid "" "It *is* possible in some cases to change an object's type, under certain " "controlled conditions. It generally isn't a good idea though, since it can " "lead to some very strange behaviour if it is handled incorrectly." msgstr "" -#: reference/datamodel.rst:3286 +#: reference/datamodel.rst:3448 msgid "" "The :meth:`~object.__hash__`, :meth:`~object.__iter__`, :meth:`~object." "__reversed__`, and :meth:`~object.__contains__` methods have special " @@ -3610,7 +3767,7 @@ msgid "" "by relying on the behavior that ``None`` is not callable." msgstr "" -#: reference/datamodel.rst:3292 +#: reference/datamodel.rst:3454 msgid "" "\"Does not support\" here means that the class has no such method, or the " "method returns ``NotImplemented``. Do not set the method to ``None`` if you " @@ -3618,7 +3775,7 @@ msgid "" "instead have the opposite effect of explicitly *blocking* such fallback." msgstr "" -#: reference/datamodel.rst:3298 +#: reference/datamodel.rst:3460 msgid "" "For operands of the same type, it is assumed that if the non-reflected " "method -- such as :meth:`~object.__add__` -- fails then the overall " @@ -3630,10 +3787,10 @@ msgstr "" #: reference/datamodel.rst:292 reference/datamodel.rst:356 #: reference/datamodel.rst:402 reference/datamodel.rst:440 #: reference/datamodel.rst:459 reference/datamodel.rst:512 -#: reference/datamodel.rst:640 reference/datamodel.rst:778 -#: reference/datamodel.rst:891 reference/datamodel.rst:986 -#: reference/datamodel.rst:1102 reference/datamodel.rst:1227 -#: reference/datamodel.rst:2626 +#: reference/datamodel.rst:654 reference/datamodel.rst:823 +#: reference/datamodel.rst:938 reference/datamodel.rst:1034 +#: reference/datamodel.rst:1198 reference/datamodel.rst:1364 +#: reference/datamodel.rst:2788 msgid "object" msgstr "" @@ -3642,10 +3799,10 @@ msgid "data" msgstr "" #: reference/datamodel.rst:292 reference/datamodel.rst:420 -#: reference/datamodel.rst:760 reference/datamodel.rst:1292 -#: reference/datamodel.rst:1537 reference/datamodel.rst:2168 -#: reference/datamodel.rst:2754 reference/datamodel.rst:2803 -#: reference/datamodel.rst:2860 reference/datamodel.rst:2888 +#: reference/datamodel.rst:799 reference/datamodel.rst:1447 +#: reference/datamodel.rst:1692 reference/datamodel.rst:2329 +#: reference/datamodel.rst:2916 reference/datamodel.rst:2965 +#: reference/datamodel.rst:3022 reference/datamodel.rst:3050 msgid "built-in function" msgstr "" @@ -3653,7 +3810,7 @@ msgstr "" msgid "id" msgstr "" -#: reference/datamodel.rst:122 reference/datamodel.rst:2168 +#: reference/datamodel.rst:122 reference/datamodel.rst:2329 msgid "type" msgstr "" @@ -3689,7 +3846,7 @@ msgstr "" msgid "unreachable object" msgstr "" -#: reference/datamodel.rst:891 +#: reference/datamodel.rst:938 msgid "container" msgstr "" @@ -3702,20 +3859,20 @@ msgid "extension" msgstr "" #: reference/datamodel.rst:393 reference/datamodel.rst:495 -#: reference/datamodel.rst:829 reference/datamodel.rst:1005 +#: reference/datamodel.rst:876 reference/datamodel.rst:1053 msgid "module" msgstr "" -#: reference/datamodel.rst:261 reference/datamodel.rst:760 +#: reference/datamodel.rst:261 reference/datamodel.rst:799 msgid "C" msgstr "" -#: reference/datamodel.rst:261 reference/datamodel.rst:760 +#: reference/datamodel.rst:261 reference/datamodel.rst:799 msgid "language" msgstr "" -#: reference/datamodel.rst:891 reference/datamodel.rst:959 -#: reference/datamodel.rst:979 +#: reference/datamodel.rst:938 reference/datamodel.rst:1007 +#: reference/datamodel.rst:1027 msgid "attribute" msgstr "" @@ -3735,7 +3892,7 @@ msgstr "" msgid "ellipsis literal" msgstr "" -#: reference/datamodel.rst:986 +#: reference/datamodel.rst:1034 msgid "numeric" msgstr "" @@ -3771,15 +3928,15 @@ msgstr "" msgid "Java" msgstr "" -#: reference/datamodel.rst:2860 +#: reference/datamodel.rst:3022 msgid "complex" msgstr "" -#: reference/datamodel.rst:420 reference/datamodel.rst:2596 +#: reference/datamodel.rst:420 reference/datamodel.rst:2758 msgid "len" msgstr "" -#: reference/datamodel.rst:986 +#: reference/datamodel.rst:1034 msgid "sequence" msgstr "" @@ -3807,7 +3964,7 @@ msgstr "" msgid "immutable" msgstr "" -#: reference/datamodel.rst:1507 reference/datamodel.rst:1537 +#: reference/datamodel.rst:1662 reference/datamodel.rst:1692 msgid "string" msgstr "" @@ -3843,7 +4000,7 @@ msgstr "" msgid "empty" msgstr "" -#: reference/datamodel.rst:1532 +#: reference/datamodel.rst:1687 msgid "bytes" msgstr "" @@ -3859,12 +4016,12 @@ msgstr "" msgid "mutable" msgstr "" -#: reference/datamodel.rst:908 reference/datamodel.rst:979 +#: reference/datamodel.rst:956 reference/datamodel.rst:1027 msgid "assignment" msgstr "" -#: reference/datamodel.rst:810 reference/datamodel.rst:1428 -#: reference/datamodel.rst:2915 +#: reference/datamodel.rst:856 reference/datamodel.rst:1583 +#: reference/datamodel.rst:3077 msgid "statement" msgstr "" @@ -3896,11 +4053,11 @@ msgstr "" msgid "frozenset" msgstr "" -#: reference/datamodel.rst:986 +#: reference/datamodel.rst:1034 msgid "mapping" msgstr "" -#: reference/datamodel.rst:891 reference/datamodel.rst:1618 +#: reference/datamodel.rst:938 reference/datamodel.rst:1773 msgid "dictionary" msgstr "" @@ -3916,12 +4073,12 @@ msgstr "" msgid "callable" msgstr "" -#: reference/datamodel.rst:525 reference/datamodel.rst:724 -#: reference/datamodel.rst:760 +#: reference/datamodel.rst:527 reference/datamodel.rst:761 +#: reference/datamodel.rst:799 msgid "function" msgstr "" -#: reference/datamodel.rst:891 reference/datamodel.rst:2549 +#: reference/datamodel.rst:938 reference/datamodel.rst:2710 msgid "call" msgstr "" @@ -3933,615 +4090,615 @@ msgstr "" msgid "argument" msgstr "" -#: reference/datamodel.rst:640 +#: reference/datamodel.rst:654 msgid "user-defined" msgstr "" -#: reference/datamodel.rst:525 +#: reference/datamodel.rst:527 msgid "user-defined function" msgstr "" -#: reference/datamodel.rst:539 +#: reference/datamodel.rst:540 +msgid "__closure__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:540 +msgid "__globals__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:540 +msgid "global" +msgstr "" + +#: reference/datamodel.rst:876 +msgid "namespace" +msgstr "" + +#: reference/datamodel.rst:566 msgid "__doc__ (function attribute)" msgstr "" -#: reference/datamodel.rst:539 +#: reference/datamodel.rst:566 msgid "__name__ (function attribute)" msgstr "" -#: reference/datamodel.rst:539 +#: reference/datamodel.rst:566 msgid "__module__ (function attribute)" msgstr "" -#: reference/datamodel.rst:539 +#: reference/datamodel.rst:566 msgid "__dict__ (function attribute)" msgstr "" -#: reference/datamodel.rst:539 +#: reference/datamodel.rst:566 msgid "__defaults__ (function attribute)" msgstr "" -#: reference/datamodel.rst:539 -msgid "__closure__ (function attribute)" -msgstr "" - -#: reference/datamodel.rst:539 +#: reference/datamodel.rst:566 msgid "__code__ (function attribute)" msgstr "" -#: reference/datamodel.rst:539 -msgid "__globals__ (function attribute)" -msgstr "" - -#: reference/datamodel.rst:539 +#: reference/datamodel.rst:566 msgid "__annotations__ (function attribute)" msgstr "" -#: reference/datamodel.rst:539 +#: reference/datamodel.rst:566 msgid "__kwdefaults__ (function attribute)" msgstr "" -#: reference/datamodel.rst:539 +#: reference/datamodel.rst:566 msgid "__type_params__ (function attribute)" msgstr "" -#: reference/datamodel.rst:539 -msgid "global" -msgstr "" - -#: reference/datamodel.rst:829 -msgid "namespace" -msgstr "" - -#: reference/datamodel.rst:778 +#: reference/datamodel.rst:823 msgid "method" msgstr "" -#: reference/datamodel.rst:640 +#: reference/datamodel.rst:654 msgid "user-defined method" msgstr "" -#: reference/datamodel.rst:648 +#: reference/datamodel.rst:662 msgid "__func__ (method attribute)" msgstr "" -#: reference/datamodel.rst:648 +#: reference/datamodel.rst:662 msgid "__self__ (method attribute)" msgstr "" -#: reference/datamodel.rst:648 +#: reference/datamodel.rst:662 msgid "__doc__ (method attribute)" msgstr "" -#: reference/datamodel.rst:648 +#: reference/datamodel.rst:662 msgid "__name__ (method attribute)" msgstr "" -#: reference/datamodel.rst:648 +#: reference/datamodel.rst:662 msgid "__module__ (method attribute)" msgstr "" -#: reference/datamodel.rst:1102 +#: reference/datamodel.rst:1198 msgid "generator" msgstr "" -#: reference/datamodel.rst:706 +#: reference/datamodel.rst:743 msgid "iterator" msgstr "" -#: reference/datamodel.rst:3102 +#: reference/datamodel.rst:3264 msgid "coroutine" msgstr "" -#: reference/datamodel.rst:737 +#: reference/datamodel.rst:774 msgid "asynchronous generator" msgstr "" -#: reference/datamodel.rst:737 +#: reference/datamodel.rst:774 msgid "asynchronous iterator" msgstr "" -#: reference/datamodel.rst:778 +#: reference/datamodel.rst:823 msgid "built-in method" msgstr "" -#: reference/datamodel.rst:778 +#: reference/datamodel.rst:823 msgid "built-in" msgstr "" -#: reference/datamodel.rst:810 +#: reference/datamodel.rst:856 msgid "import" msgstr "" -#: reference/datamodel.rst:829 +#: reference/datamodel.rst:876 msgid "__name__ (module attribute)" msgstr "" -#: reference/datamodel.rst:829 +#: reference/datamodel.rst:876 msgid "__doc__ (module attribute)" msgstr "" -#: reference/datamodel.rst:829 +#: reference/datamodel.rst:876 msgid "__file__ (module attribute)" msgstr "" -#: reference/datamodel.rst:829 +#: reference/datamodel.rst:876 msgid "__annotations__ (module attribute)" msgstr "" -#: reference/datamodel.rst:860 +#: reference/datamodel.rst:907 msgid "__dict__ (module attribute)" msgstr "" -#: reference/datamodel.rst:908 reference/datamodel.rst:1411 -#: reference/datamodel.rst:2279 +#: reference/datamodel.rst:956 reference/datamodel.rst:1566 +#: reference/datamodel.rst:2440 msgid "class" msgstr "" -#: reference/datamodel.rst:959 reference/datamodel.rst:979 +#: reference/datamodel.rst:1007 reference/datamodel.rst:1027 msgid "class instance" msgstr "" -#: reference/datamodel.rst:959 reference/datamodel.rst:2549 +#: reference/datamodel.rst:1007 reference/datamodel.rst:2710 msgid "instance" msgstr "" -#: reference/datamodel.rst:913 +#: reference/datamodel.rst:961 msgid "class object" msgstr "" -#: reference/datamodel.rst:917 +#: reference/datamodel.rst:965 msgid "__name__ (class attribute)" msgstr "" -#: reference/datamodel.rst:917 +#: reference/datamodel.rst:965 msgid "__module__ (class attribute)" msgstr "" -#: reference/datamodel.rst:917 +#: reference/datamodel.rst:965 msgid "__dict__ (class attribute)" msgstr "" -#: reference/datamodel.rst:917 +#: reference/datamodel.rst:965 msgid "__bases__ (class attribute)" msgstr "" -#: reference/datamodel.rst:917 +#: reference/datamodel.rst:965 msgid "__doc__ (class attribute)" msgstr "" -#: reference/datamodel.rst:917 +#: reference/datamodel.rst:965 msgid "__annotations__ (class attribute)" msgstr "" -#: reference/datamodel.rst:917 +#: reference/datamodel.rst:965 msgid "__type_params__ (class attribute)" msgstr "" -#: reference/datamodel.rst:994 +#: reference/datamodel.rst:1042 msgid "__dict__ (instance attribute)" msgstr "" -#: reference/datamodel.rst:994 +#: reference/datamodel.rst:1042 msgid "__class__ (instance attribute)" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "open" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "io" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "popen() (in module os)" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "makefile() (socket method)" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "sys.stdin" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "sys.stdout" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "sys.stderr" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "stdio" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "stdin (in module sys)" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "stdout (in module sys)" msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:1053 msgid "stderr (in module sys)" msgstr "" -#: reference/datamodel.rst:1034 +#: reference/datamodel.rst:1082 msgid "internal type" msgstr "" -#: reference/datamodel.rst:1034 +#: reference/datamodel.rst:1082 msgid "types, internal" msgstr "" -#: reference/datamodel.rst:1048 +#: reference/datamodel.rst:1096 msgid "bytecode" msgstr "" -#: reference/datamodel.rst:1048 +#: reference/datamodel.rst:1096 msgid "code" msgstr "" -#: reference/datamodel.rst:1048 +#: reference/datamodel.rst:1096 msgid "code object" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_argcount (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_posonlyargcount (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_kwonlyargcount (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_code (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_consts (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_filename (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_firstlineno (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_flags (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_lnotab (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_name (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_names (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_nlocals (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_stacksize (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_varnames (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_cellvars (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_freevars (code object attribute)" msgstr "" -#: reference/datamodel.rst:1059 +#: reference/datamodel.rst:1107 msgid "co_qualname (code object attribute)" msgstr "" -#: reference/datamodel.rst:1118 +#: reference/datamodel.rst:1216 msgid "documentation string" msgstr "" -#: reference/datamodel.rst:1162 +#: reference/datamodel.rst:1264 msgid "frame" msgstr "" -#: reference/datamodel.rst:1167 +#: reference/datamodel.rst:1270 msgid "f_back (frame attribute)" msgstr "" -#: reference/datamodel.rst:1167 +#: reference/datamodel.rst:1270 msgid "f_code (frame attribute)" msgstr "" -#: reference/datamodel.rst:1167 +#: reference/datamodel.rst:1270 msgid "f_globals (frame attribute)" msgstr "" -#: reference/datamodel.rst:1167 +#: reference/datamodel.rst:1270 msgid "f_locals (frame attribute)" msgstr "" -#: reference/datamodel.rst:1167 +#: reference/datamodel.rst:1270 msgid "f_lasti (frame attribute)" msgstr "" -#: reference/datamodel.rst:1167 +#: reference/datamodel.rst:1270 msgid "f_builtins (frame attribute)" msgstr "" -#: reference/datamodel.rst:1186 +#: reference/datamodel.rst:1309 msgid "f_trace (frame attribute)" msgstr "" -#: reference/datamodel.rst:1186 +#: reference/datamodel.rst:1309 msgid "f_trace_lines (frame attribute)" msgstr "" -#: reference/datamodel.rst:1186 +#: reference/datamodel.rst:1309 msgid "f_trace_opcodes (frame attribute)" msgstr "" -#: reference/datamodel.rst:1186 +#: reference/datamodel.rst:1309 msgid "f_lineno (frame attribute)" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "traceback" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "stack" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "trace" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "exception" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "handler" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "execution" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "exc_info (in module sys)" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "last_traceback (in module sys)" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "sys.exc_info" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "sys.exception" msgstr "" -#: reference/datamodel.rst:1227 +#: reference/datamodel.rst:1364 msgid "sys.last_traceback" msgstr "" -#: reference/datamodel.rst:1259 +#: reference/datamodel.rst:1401 msgid "tb_frame (traceback attribute)" msgstr "" -#: reference/datamodel.rst:1259 +#: reference/datamodel.rst:1401 msgid "tb_lineno (traceback attribute)" msgstr "" -#: reference/datamodel.rst:1259 +#: reference/datamodel.rst:1401 msgid "tb_lasti (traceback attribute)" msgstr "" -#: reference/datamodel.rst:1259 +#: reference/datamodel.rst:1401 msgid "try" msgstr "" -#: reference/datamodel.rst:1277 +#: reference/datamodel.rst:1431 msgid "tb_next (traceback attribute)" msgstr "" -#: reference/datamodel.rst:2626 +#: reference/datamodel.rst:2788 msgid "slice" msgstr "" -#: reference/datamodel.rst:1298 +#: reference/datamodel.rst:1453 msgid "start (slice object attribute)" msgstr "" -#: reference/datamodel.rst:1298 +#: reference/datamodel.rst:1453 msgid "stop (slice object attribute)" msgstr "" -#: reference/datamodel.rst:1298 +#: reference/datamodel.rst:1453 msgid "step (slice object attribute)" msgstr "" -#: reference/datamodel.rst:1346 +#: reference/datamodel.rst:1501 msgid "operator" msgstr "" -#: reference/datamodel.rst:1346 +#: reference/datamodel.rst:1501 msgid "overloading" msgstr "" -#: reference/datamodel.rst:1346 +#: reference/datamodel.rst:1501 msgid "__getitem__() (mapping object method)" msgstr "" -#: reference/datamodel.rst:1382 +#: reference/datamodel.rst:1537 msgid "subclassing" msgstr "" -#: reference/datamodel.rst:1382 +#: reference/datamodel.rst:1537 msgid "immutable types" msgstr "" -#: reference/datamodel.rst:1411 +#: reference/datamodel.rst:1566 msgid "constructor" msgstr "" -#: reference/datamodel.rst:1428 +#: reference/datamodel.rst:1583 msgid "destructor" msgstr "" -#: reference/datamodel.rst:1428 +#: reference/datamodel.rst:1583 msgid "finalizer" msgstr "" -#: reference/datamodel.rst:1428 +#: reference/datamodel.rst:1583 msgid "del" msgstr "" -#: reference/datamodel.rst:1490 +#: reference/datamodel.rst:1645 msgid "repr() (built-in function)" msgstr "" -#: reference/datamodel.rst:1490 +#: reference/datamodel.rst:1645 msgid "__repr__() (object method)" msgstr "" -#: reference/datamodel.rst:1507 +#: reference/datamodel.rst:1662 msgid "__str__() (object method)" msgstr "" -#: reference/datamodel.rst:1507 +#: reference/datamodel.rst:1662 msgid "format() (built-in function)" msgstr "" -#: reference/datamodel.rst:1507 +#: reference/datamodel.rst:1662 msgid "print() (built-in function)" msgstr "" -#: reference/datamodel.rst:1537 +#: reference/datamodel.rst:1692 msgid "__format__() (object method)" msgstr "" -#: reference/datamodel.rst:1537 +#: reference/datamodel.rst:1692 msgid "conversion" msgstr "" -#: reference/datamodel.rst:1537 +#: reference/datamodel.rst:1692 msgid "print" msgstr "" -#: reference/datamodel.rst:1576 +#: reference/datamodel.rst:1731 msgid "comparisons" msgstr "" -#: reference/datamodel.rst:1618 +#: reference/datamodel.rst:1773 msgid "hash" msgstr "" -#: reference/datamodel.rst:1699 +#: reference/datamodel.rst:1854 msgid "__len__() (mapping object method)" msgstr "" -#: reference/datamodel.rst:1802 +#: reference/datamodel.rst:1958 msgid "__getattr__ (module attribute)" msgstr "" -#: reference/datamodel.rst:1802 +#: reference/datamodel.rst:1958 msgid "__dir__ (module attribute)" msgstr "" -#: reference/datamodel.rst:1802 +#: reference/datamodel.rst:1958 msgid "__class__ (module attribute)" msgstr "" -#: reference/datamodel.rst:2168 +#: reference/datamodel.rst:2329 msgid "metaclass" msgstr "" -#: reference/datamodel.rst:2168 +#: reference/datamodel.rst:2329 msgid "= (equals)" msgstr "" -#: reference/datamodel.rst:2168 +#: reference/datamodel.rst:2329 msgid "class definition" msgstr "" -#: reference/datamodel.rst:2232 +#: reference/datamodel.rst:2393 msgid "metaclass hint" msgstr "" -#: reference/datamodel.rst:2255 +#: reference/datamodel.rst:2416 msgid "__prepare__ (metaclass method)" msgstr "" -#: reference/datamodel.rst:2279 +#: reference/datamodel.rst:2440 msgid "body" msgstr "" -#: reference/datamodel.rst:2299 +#: reference/datamodel.rst:2460 msgid "__class__ (method cell)" msgstr "" -#: reference/datamodel.rst:2299 +#: reference/datamodel.rst:2460 msgid "__classcell__ (class namespace entry)" msgstr "" -#: reference/datamodel.rst:2596 +#: reference/datamodel.rst:2758 msgid "__bool__() (object method)" msgstr "" -#: reference/datamodel.rst:2789 +#: reference/datamodel.rst:2951 msgid "divmod" msgstr "" -#: reference/datamodel.rst:2789 reference/datamodel.rst:2803 +#: reference/datamodel.rst:2951 reference/datamodel.rst:2965 msgid "pow" msgstr "" -#: reference/datamodel.rst:2850 +#: reference/datamodel.rst:3012 msgid "abs" msgstr "" -#: reference/datamodel.rst:2860 +#: reference/datamodel.rst:3022 msgid "int" msgstr "" -#: reference/datamodel.rst:2860 +#: reference/datamodel.rst:3022 msgid "float" msgstr "" -#: reference/datamodel.rst:2888 +#: reference/datamodel.rst:3050 msgid "round" msgstr "" -#: reference/datamodel.rst:2915 +#: reference/datamodel.rst:3077 msgid "with" msgstr "" -#: reference/datamodel.rst:2915 +#: reference/datamodel.rst:3077 msgid "context manager" msgstr "" diff --git a/reference/grammar.po b/reference/grammar.po index e28bfd149..02d869bd5 100644 --- a/reference/grammar.po +++ b/reference/grammar.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -16,18 +16,18 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: reference/grammar.rst:2 +#: reference/grammar.rst:4 msgid "Full Grammar specification" msgstr "" -#: reference/grammar.rst:4 +#: reference/grammar.rst:6 msgid "" "This is the full Python grammar, derived directly from the grammar used to " "generate the CPython parser (see :source:`Grammar/python.gram`). The version " "here omits details related to code generation and error recovery." msgstr "" -#: reference/grammar.rst:9 +#: reference/grammar.rst:11 msgid "" "The notation is a mixture of `EBNF `_ and `PEG \n" @@ -896,11 +896,11 @@ msgid "" "with plain string literals." msgstr "" -#: reference/lexical_analysis.rst:714 -msgid "Formatted string literals" +#: reference/lexical_analysis.rst:716 +msgid "f-strings" msgstr "" -#: reference/lexical_analysis.rst:718 +#: reference/lexical_analysis.rst:720 msgid "" "A :dfn:`formatted string literal` or :dfn:`f-string` is a string literal " "that is prefixed with ``'f'`` or ``'F'``. These strings may contain " @@ -909,14 +909,14 @@ msgid "" "are really expressions evaluated at run time." msgstr "" -#: reference/lexical_analysis.rst:724 +#: reference/lexical_analysis.rst:726 msgid "" "Escape sequences are decoded like in ordinary string literals (except when a " "literal is also marked as a raw string). After decoding, the grammar for " "the contents of the string is:" msgstr "" -#: reference/lexical_analysis.rst:738 +#: reference/lexical_analysis.rst:740 msgid "" "The parts of the string outside curly braces are treated literally, except " "that any doubled curly braces ``'{{'`` or ``'}}'`` are replaced with the " @@ -929,7 +929,7 @@ msgid "" "replacement field ends with a closing curly bracket ``'}'``." msgstr "" -#: reference/lexical_analysis.rst:748 +#: reference/lexical_analysis.rst:750 msgid "" "Expressions in formatted string literals are treated like regular Python " "expressions surrounded by parentheses, with a few exceptions. An empty " @@ -943,20 +943,20 @@ msgid "" "replacement fields must be closed in a different line." msgstr "" -#: reference/lexical_analysis.rst:765 +#: reference/lexical_analysis.rst:767 msgid "" "Prior to Python 3.7, an :keyword:`await` expression and comprehensions " "containing an :keyword:`async for` clause were illegal in the expressions in " "formatted string literals due to a problem with the implementation." msgstr "" -#: reference/lexical_analysis.rst:770 +#: reference/lexical_analysis.rst:772 msgid "" "Prior to Python 3.12, comments were not allowed inside f-string replacement " "fields." msgstr "" -#: reference/lexical_analysis.rst:774 +#: reference/lexical_analysis.rst:776 msgid "" "When the equal sign ``'='`` is provided, the output will have the expression " "text, the ``'='`` and the evaluated value. Spaces after the opening brace " @@ -967,18 +967,18 @@ msgid "" "r'`` is declared." msgstr "" -#: reference/lexical_analysis.rst:782 +#: reference/lexical_analysis.rst:784 msgid "The equal sign ``'='``." msgstr "" -#: reference/lexical_analysis.rst:785 +#: reference/lexical_analysis.rst:787 msgid "" "If a conversion is specified, the result of evaluating the expression is " "converted before formatting. Conversion ``'!s'`` calls :func:`str` on the " "result, ``'!r'`` calls :func:`repr`, and ``'!a'`` calls :func:`ascii`." msgstr "" -#: reference/lexical_analysis.rst:789 +#: reference/lexical_analysis.rst:791 msgid "" "The result is then formatted using the :func:`format` protocol. The format " "specifier is passed to the :meth:`~object.__format__` method of the " @@ -987,7 +987,7 @@ msgid "" "value of the whole string." msgstr "" -#: reference/lexical_analysis.rst:795 +#: reference/lexical_analysis.rst:797 msgid "" "Top-level format specifiers may include nested replacement fields. These " "nested fields may include their own conversion fields and :ref:`format " @@ -996,116 +996,116 @@ msgid "" "as that used by the :meth:`str.format` method." msgstr "" -#: reference/lexical_analysis.rst:801 +#: reference/lexical_analysis.rst:803 msgid "" "Formatted string literals may be concatenated, but replacement fields cannot " "be split across literals." msgstr "" -#: reference/lexical_analysis.rst:804 +#: reference/lexical_analysis.rst:806 msgid "Some examples of formatted string literals::" msgstr "" -#: reference/lexical_analysis.rst:836 +#: reference/lexical_analysis.rst:838 msgid "" "Reusing the outer f-string quoting type inside a replacement field is " "permitted::" msgstr "" -#: reference/lexical_analysis.rst:843 +#: reference/lexical_analysis.rst:845 msgid "" "Prior to Python 3.12, reuse of the same quoting type of the outer f-string " "inside a replacement field was not possible." msgstr "" -#: reference/lexical_analysis.rst:847 +#: reference/lexical_analysis.rst:849 msgid "" "Backslashes are also allowed in replacement fields and are evaluated the " "same way as in any other context::" msgstr "" -#: reference/lexical_analysis.rst:857 +#: reference/lexical_analysis.rst:859 msgid "" "Prior to Python 3.12, backslashes were not permitted inside an f-string " "replacement field." msgstr "" -#: reference/lexical_analysis.rst:861 +#: reference/lexical_analysis.rst:863 msgid "" "Formatted string literals cannot be used as docstrings, even if they do not " "include expressions." msgstr "" -#: reference/lexical_analysis.rst:872 +#: reference/lexical_analysis.rst:874 msgid "" "See also :pep:`498` for the proposal that added formatted string literals, " "and :meth:`str.format`, which uses a related format string mechanism." msgstr "" -#: reference/lexical_analysis.rst:879 +#: reference/lexical_analysis.rst:881 msgid "Numeric literals" msgstr "" -#: reference/lexical_analysis.rst:885 +#: reference/lexical_analysis.rst:887 msgid "" "There are three types of numeric literals: integers, floating point numbers, " "and imaginary numbers. There are no complex literals (complex numbers can " "be formed by adding a real number and an imaginary number)." msgstr "" -#: reference/lexical_analysis.rst:889 +#: reference/lexical_analysis.rst:891 msgid "" "Note that numeric literals do not include a sign; a phrase like ``-1`` is " "actually an expression composed of the unary operator '``-``' and the " "literal ``1``." msgstr "" -#: reference/lexical_analysis.rst:903 +#: reference/lexical_analysis.rst:905 msgid "Integer literals" msgstr "" -#: reference/lexical_analysis.rst:905 +#: reference/lexical_analysis.rst:907 msgid "Integer literals are described by the following lexical definitions:" msgstr "" -#: reference/lexical_analysis.rst:919 +#: reference/lexical_analysis.rst:921 msgid "" "There is no limit for the length of integer literals apart from what can be " "stored in available memory." msgstr "" -#: reference/lexical_analysis.rst:922 +#: reference/lexical_analysis.rst:924 msgid "" "Underscores are ignored for determining the numeric value of the literal. " "They can be used to group digits for enhanced readability. One underscore " "can occur between digits, and after base specifiers like ``0x``." msgstr "" -#: reference/lexical_analysis.rst:926 +#: reference/lexical_analysis.rst:928 msgid "" "Note that leading zeros in a non-zero decimal number are not allowed. This " "is for disambiguation with C-style octal literals, which Python used before " "version 3.0." msgstr "" -#: reference/lexical_analysis.rst:930 +#: reference/lexical_analysis.rst:932 msgid "Some examples of integer literals::" msgstr "" -#: reference/lexical_analysis.rst:936 reference/lexical_analysis.rst:968 +#: reference/lexical_analysis.rst:938 reference/lexical_analysis.rst:970 msgid "Underscores are now allowed for grouping purposes in literals." msgstr "" -#: reference/lexical_analysis.rst:947 +#: reference/lexical_analysis.rst:949 msgid "Floating point literals" msgstr "" -#: reference/lexical_analysis.rst:949 +#: reference/lexical_analysis.rst:951 msgid "" "Floating point literals are described by the following lexical definitions:" msgstr "" -#: reference/lexical_analysis.rst:959 +#: reference/lexical_analysis.rst:961 msgid "" "Note that the integer and exponent parts are always interpreted using radix " "10. For example, ``077e010`` is legal, and denotes the same number as " @@ -1114,19 +1114,19 @@ msgid "" "grouping." msgstr "" -#: reference/lexical_analysis.rst:964 +#: reference/lexical_analysis.rst:966 msgid "Some examples of floating point literals::" msgstr "" -#: reference/lexical_analysis.rst:977 +#: reference/lexical_analysis.rst:979 msgid "Imaginary literals" msgstr "" -#: reference/lexical_analysis.rst:979 +#: reference/lexical_analysis.rst:981 msgid "Imaginary literals are described by the following lexical definitions:" msgstr "" -#: reference/lexical_analysis.rst:984 +#: reference/lexical_analysis.rst:986 msgid "" "An imaginary literal yields a complex number with a real part of 0.0. " "Complex numbers are represented as a pair of floating point numbers and have " @@ -1135,23 +1135,23 @@ msgid "" "Some examples of imaginary literals::" msgstr "" -#: reference/lexical_analysis.rst:996 +#: reference/lexical_analysis.rst:998 msgid "Operators" msgstr "" -#: reference/lexical_analysis.rst:1000 +#: reference/lexical_analysis.rst:1002 msgid "The following tokens are operators:" msgstr "" -#: reference/lexical_analysis.rst:1013 +#: reference/lexical_analysis.rst:1015 msgid "Delimiters" msgstr "" -#: reference/lexical_analysis.rst:1017 +#: reference/lexical_analysis.rst:1019 msgid "The following tokens serve as delimiters in the grammar:" msgstr "" -#: reference/lexical_analysis.rst:1026 +#: reference/lexical_analysis.rst:1028 msgid "" "The period can also occur in floating-point and imaginary literals. A " "sequence of three periods has a special meaning as an ellipsis literal. The " @@ -1159,23 +1159,23 @@ msgid "" "as delimiters, but also perform an operation." msgstr "" -#: reference/lexical_analysis.rst:1031 +#: reference/lexical_analysis.rst:1033 msgid "" "The following printing ASCII characters have special meaning as part of " "other tokens or are otherwise significant to the lexical analyzer:" msgstr "" -#: reference/lexical_analysis.rst:1038 +#: reference/lexical_analysis.rst:1040 msgid "" "The following printing ASCII characters are not used in Python. Their " "occurrence outside string literals and comments is an unconditional error:" msgstr "" -#: reference/lexical_analysis.rst:1047 +#: reference/lexical_analysis.rst:1049 msgid "Footnotes" msgstr "" -#: reference/lexical_analysis.rst:1048 +#: reference/lexical_analysis.rst:1050 msgid "https://www.unicode.org/Public/15.0.0/ucd/NameAliases.txt" msgstr "" @@ -1512,83 +1512,83 @@ msgstr "" msgid "for help in debugging using string literals" msgstr "" -#: reference/lexical_analysis.rst:881 +#: reference/lexical_analysis.rst:883 msgid "number" msgstr "" -#: reference/lexical_analysis.rst:881 +#: reference/lexical_analysis.rst:883 msgid "numeric literal" msgstr "" -#: reference/lexical_analysis.rst:881 reference/lexical_analysis.rst:894 +#: reference/lexical_analysis.rst:883 reference/lexical_analysis.rst:896 msgid "integer literal" msgstr "" -#: reference/lexical_analysis.rst:881 +#: reference/lexical_analysis.rst:883 msgid "floating point literal" msgstr "" -#: reference/lexical_analysis.rst:881 +#: reference/lexical_analysis.rst:883 msgid "hexadecimal literal" msgstr "" -#: reference/lexical_analysis.rst:881 +#: reference/lexical_analysis.rst:883 msgid "octal literal" msgstr "" -#: reference/lexical_analysis.rst:881 +#: reference/lexical_analysis.rst:883 msgid "binary literal" msgstr "" -#: reference/lexical_analysis.rst:881 +#: reference/lexical_analysis.rst:883 msgid "decimal literal" msgstr "" -#: reference/lexical_analysis.rst:881 +#: reference/lexical_analysis.rst:883 msgid "imaginary literal" msgstr "" -#: reference/lexical_analysis.rst:881 +#: reference/lexical_analysis.rst:883 msgid "complex literal" msgstr "" -#: reference/lexical_analysis.rst:894 +#: reference/lexical_analysis.rst:896 msgid "0b" msgstr "" -#: reference/lexical_analysis.rst:894 +#: reference/lexical_analysis.rst:896 msgid "0o" msgstr "" -#: reference/lexical_analysis.rst:894 +#: reference/lexical_analysis.rst:896 msgid "0x" msgstr "" -#: reference/lexical_analysis.rst:894 reference/lexical_analysis.rst:940 +#: reference/lexical_analysis.rst:896 reference/lexical_analysis.rst:942 msgid "_ (underscore)" msgstr "" -#: reference/lexical_analysis.rst:894 reference/lexical_analysis.rst:940 -#: reference/lexical_analysis.rst:972 +#: reference/lexical_analysis.rst:896 reference/lexical_analysis.rst:942 +#: reference/lexical_analysis.rst:974 msgid "in numeric literal" msgstr "" -#: reference/lexical_analysis.rst:940 +#: reference/lexical_analysis.rst:942 msgid ". (dot)" msgstr "" -#: reference/lexical_analysis.rst:940 +#: reference/lexical_analysis.rst:942 msgid "e" msgstr "" -#: reference/lexical_analysis.rst:972 +#: reference/lexical_analysis.rst:974 msgid "j" msgstr "" -#: reference/lexical_analysis.rst:998 +#: reference/lexical_analysis.rst:1000 msgid "operators" msgstr "" -#: reference/lexical_analysis.rst:1015 +#: reference/lexical_analysis.rst:1017 msgid "delimiters" msgstr "" diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index c208fa9aa..330571e8d 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -211,8 +211,8 @@ msgstr "" #: reference/simple_stmts.rst:217 msgid "" -"For user-defined objects, the :meth:`__setitem__` method is called with " -"appropriate arguments." +"For user-defined objects, the :meth:`~object.__setitem__` method is called " +"with appropriate arguments." msgstr "" #: reference/simple_stmts.rst:222 @@ -356,8 +356,8 @@ msgid "" "If the right hand side is present, an annotated assignment performs the " "actual assignment before evaluating annotations (where applicable). If the " "right hand side is not present for an expression target, then the " -"interpreter evaluates the target except for the last :meth:`__setitem__` or :" -"meth:`__setattr__` call." +"interpreter evaluates the target except for the last :meth:`~object." +"__setitem__` or :meth:`~object.__setattr__` call." msgstr "" #: reference/simple_stmts.rst:361 @@ -579,9 +579,9 @@ msgstr "" #: reference/simple_stmts.rst:580 msgid "" "A traceback object is normally created automatically when an exception is " -"raised and attached to it as the :attr:`__traceback__` attribute, which is " -"writable. You can create an exception and set your own traceback in one step " -"using the :meth:`~BaseException.with_traceback` exception method (which " +"raised and attached to it as the :attr:`~BaseException.__traceback__` " +"attribute. You can create an exception and set your own traceback in one " +"step using the :meth:`~BaseException.with_traceback` exception method (which " "returns the same exception instance, with its traceback set to its " "argument), like so::" msgstr "" @@ -591,46 +591,46 @@ msgid "" "The ``from`` clause is used for exception chaining: if given, the second " "*expression* must be another exception class or instance. If the second " "expression is an exception instance, it will be attached to the raised " -"exception as the :attr:`__cause__` attribute (which is writable). If the " -"expression is an exception class, the class will be instantiated and the " -"resulting exception instance will be attached to the raised exception as " -"the :attr:`__cause__` attribute. If the raised exception is not handled, " -"both exceptions will be printed::" +"exception as the :attr:`~BaseException.__cause__` attribute (which is " +"writable). If the expression is an exception class, the class will be " +"instantiated and the resulting exception instance will be attached to the " +"raised exception as the :attr:`!__cause__` attribute. If the raised " +"exception is not handled, both exceptions will be printed:" msgstr "" -#: reference/simple_stmts.rst:616 +#: reference/simple_stmts.rst:621 msgid "" "A similar mechanism works implicitly if a new exception is raised when an " "exception is already being handled. An exception may be handled when an :" "keyword:`except` or :keyword:`finally` clause, or a :keyword:`with` " "statement, is used. The previous exception is then attached as the new " -"exception's :attr:`__context__` attribute::" +"exception's :attr:`~BaseException.__context__` attribute:" msgstr "" -#: reference/simple_stmts.rst:637 +#: reference/simple_stmts.rst:647 msgid "" "Exception chaining can be explicitly suppressed by specifying :const:`None` " -"in the ``from`` clause::" +"in the ``from`` clause:" msgstr "" -#: reference/simple_stmts.rst:649 +#: reference/simple_stmts.rst:661 msgid "" "Additional information on exceptions can be found in section :ref:" "`exceptions`, and information about handling exceptions is in section :ref:" "`try`." msgstr "" -#: reference/simple_stmts.rst:652 +#: reference/simple_stmts.rst:664 msgid ":const:`None` is now permitted as ``Y`` in ``raise X from Y``." msgstr "" -#: reference/simple_stmts.rst:655 +#: reference/simple_stmts.rst:667 msgid "" -"The ``__suppress_context__`` attribute to suppress automatic display of the " -"exception context." +"The :attr:`~BaseException.__suppress_context__` attribute to suppress " +"automatic display of the exception context." msgstr "" -#: reference/simple_stmts.rst:659 +#: reference/simple_stmts.rst:671 msgid "" "If the traceback of the active exception is modified in an :keyword:`except` " "clause, a subsequent ``raise`` statement re-raises the exception with the " @@ -638,41 +638,41 @@ msgid "" "traceback it had when it was caught." msgstr "" -#: reference/simple_stmts.rst:668 +#: reference/simple_stmts.rst:680 msgid "The :keyword:`!break` statement" msgstr "" -#: reference/simple_stmts.rst:679 +#: reference/simple_stmts.rst:691 msgid "" ":keyword:`break` may only occur syntactically nested in a :keyword:`for` or :" "keyword:`while` loop, but not nested in a function or class definition " "within that loop." msgstr "" -#: reference/simple_stmts.rst:686 +#: reference/simple_stmts.rst:698 msgid "" "It terminates the nearest enclosing loop, skipping the optional :keyword:`!" "else` clause if the loop has one." msgstr "" -#: reference/simple_stmts.rst:689 +#: reference/simple_stmts.rst:701 msgid "" "If a :keyword:`for` loop is terminated by :keyword:`break`, the loop control " "target keeps its current value." msgstr "" -#: reference/simple_stmts.rst:694 +#: reference/simple_stmts.rst:706 msgid "" "When :keyword:`break` passes control out of a :keyword:`try` statement with " "a :keyword:`finally` clause, that :keyword:`!finally` clause is executed " "before really leaving the loop." msgstr "" -#: reference/simple_stmts.rst:702 +#: reference/simple_stmts.rst:714 msgid "The :keyword:`!continue` statement" msgstr "" -#: reference/simple_stmts.rst:714 +#: reference/simple_stmts.rst:726 msgid "" ":keyword:`continue` may only occur syntactically nested in a :keyword:`for` " "or :keyword:`while` loop, but not nested in a function or class definition " @@ -680,41 +680,41 @@ msgid "" "loop." msgstr "" -#: reference/simple_stmts.rst:718 +#: reference/simple_stmts.rst:730 msgid "" "When :keyword:`continue` passes control out of a :keyword:`try` statement " "with a :keyword:`finally` clause, that :keyword:`!finally` clause is " "executed before really starting the next loop cycle." msgstr "" -#: reference/simple_stmts.rst:727 +#: reference/simple_stmts.rst:739 msgid "The :keyword:`!import` statement" msgstr "" -#: reference/simple_stmts.rst:748 +#: reference/simple_stmts.rst:760 msgid "" "The basic import statement (no :keyword:`from` clause) is executed in two " "steps:" msgstr "" -#: reference/simple_stmts.rst:751 +#: reference/simple_stmts.rst:763 msgid "find a module, loading and initializing it if necessary" msgstr "" -#: reference/simple_stmts.rst:752 +#: reference/simple_stmts.rst:764 msgid "" "define a name or names in the local namespace for the scope where the :" "keyword:`import` statement occurs." msgstr "" -#: reference/simple_stmts.rst:755 +#: reference/simple_stmts.rst:767 msgid "" "When the statement contains multiple clauses (separated by commas) the two " "steps are carried out separately for each clause, just as though the clauses " "had been separated out into individual import statements." msgstr "" -#: reference/simple_stmts.rst:760 +#: reference/simple_stmts.rst:772 msgid "" "The details of the first step, finding and loading modules, are described in " "greater detail in the section on the :ref:`import system `, " @@ -725,26 +725,26 @@ msgid "" "module, which includes execution of the module's code." msgstr "" -#: reference/simple_stmts.rst:768 +#: reference/simple_stmts.rst:780 msgid "" "If the requested module is retrieved successfully, it will be made available " "in the local namespace in one of three ways:" msgstr "" -#: reference/simple_stmts.rst:773 +#: reference/simple_stmts.rst:785 msgid "" "If the module name is followed by :keyword:`!as`, then the name following :" "keyword:`!as` is bound directly to the imported module." msgstr "" -#: reference/simple_stmts.rst:775 +#: reference/simple_stmts.rst:787 msgid "" "If no other name is specified, and the module being imported is a top level " "module, the module's name is bound in the local namespace as a reference to " "the imported module" msgstr "" -#: reference/simple_stmts.rst:778 +#: reference/simple_stmts.rst:790 msgid "" "If the module being imported is *not* a top level module, then the name of " "the top level package that contains the module is bound in the local " @@ -752,53 +752,53 @@ msgid "" "be accessed using its full qualified name rather than directly" msgstr "" -#: reference/simple_stmts.rst:788 +#: reference/simple_stmts.rst:800 msgid "The :keyword:`from` form uses a slightly more complex process:" msgstr "" -#: reference/simple_stmts.rst:790 +#: reference/simple_stmts.rst:802 msgid "" "find the module specified in the :keyword:`from` clause, loading and " "initializing it if necessary;" msgstr "" -#: reference/simple_stmts.rst:792 +#: reference/simple_stmts.rst:804 msgid "for each of the identifiers specified in the :keyword:`import` clauses:" msgstr "" -#: reference/simple_stmts.rst:794 +#: reference/simple_stmts.rst:806 msgid "check if the imported module has an attribute by that name" msgstr "" -#: reference/simple_stmts.rst:795 +#: reference/simple_stmts.rst:807 msgid "" "if not, attempt to import a submodule with that name and then check the " "imported module again for that attribute" msgstr "" -#: reference/simple_stmts.rst:797 +#: reference/simple_stmts.rst:809 msgid "if the attribute is not found, :exc:`ImportError` is raised." msgstr "" -#: reference/simple_stmts.rst:798 +#: reference/simple_stmts.rst:810 msgid "" "otherwise, a reference to that value is stored in the local namespace, using " "the name in the :keyword:`!as` clause if it is present, otherwise using the " "attribute name" msgstr "" -#: reference/simple_stmts.rst:802 +#: reference/simple_stmts.rst:814 msgid "Examples::" msgstr "" -#: reference/simple_stmts.rst:812 +#: reference/simple_stmts.rst:824 msgid "" "If the list of identifiers is replaced by a star (``'*'``), all public names " "defined in the module are bound in the local namespace for the scope where " "the :keyword:`import` statement occurs." msgstr "" -#: reference/simple_stmts.rst:818 +#: reference/simple_stmts.rst:830 msgid "" "The *public names* defined by a module are determined by checking the " "module's namespace for a variable named ``__all__``; if defined, it must be " @@ -811,14 +811,14 @@ msgid "" "API (such as library modules which were imported and used within the module)." msgstr "" -#: reference/simple_stmts.rst:828 +#: reference/simple_stmts.rst:840 msgid "" "The wild card form of import --- ``from module import *`` --- is only " "allowed at the module level. Attempting to use it in class or function " "definitions will raise a :exc:`SyntaxError`." msgstr "" -#: reference/simple_stmts.rst:835 +#: reference/simple_stmts.rst:847 msgid "" "When specifying what module to import you do not have to specify the " "absolute name of the module. When a module or package is contained within " @@ -835,31 +835,31 @@ msgid "" "the :ref:`relativeimports` section." msgstr "" -#: reference/simple_stmts.rst:849 +#: reference/simple_stmts.rst:861 msgid "" ":func:`importlib.import_module` is provided to support applications that " "determine dynamically the modules to be loaded." msgstr "" -#: reference/simple_stmts.rst:852 +#: reference/simple_stmts.rst:864 msgid "" "Raises an :ref:`auditing event ` ``import`` with arguments " "``module``, ``filename``, ``sys.path``, ``sys.meta_path``, ``sys." "path_hooks``." msgstr "" -#: reference/simple_stmts.rst:857 +#: reference/simple_stmts.rst:869 msgid "Future statements" msgstr "" -#: reference/simple_stmts.rst:863 +#: reference/simple_stmts.rst:875 msgid "" "A :dfn:`future statement` is a directive to the compiler that a particular " "module should be compiled using syntax or semantics that will be available " "in a specified future release of Python where the feature becomes standard." msgstr "" -#: reference/simple_stmts.rst:867 +#: reference/simple_stmts.rst:879 msgid "" "The future statement is intended to ease migration to future versions of " "Python that introduce incompatible changes to the language. It allows use " @@ -867,35 +867,35 @@ msgid "" "feature becomes standard." msgstr "" -#: reference/simple_stmts.rst:879 +#: reference/simple_stmts.rst:891 msgid "" "A future statement must appear near the top of the module. The only lines " "that can appear before a future statement are:" msgstr "" -#: reference/simple_stmts.rst:882 +#: reference/simple_stmts.rst:894 msgid "the module docstring (if any)," msgstr "" -#: reference/simple_stmts.rst:883 +#: reference/simple_stmts.rst:895 msgid "comments," msgstr "" -#: reference/simple_stmts.rst:884 +#: reference/simple_stmts.rst:896 msgid "blank lines, and" msgstr "" -#: reference/simple_stmts.rst:885 +#: reference/simple_stmts.rst:897 msgid "other future statements." msgstr "" -#: reference/simple_stmts.rst:887 +#: reference/simple_stmts.rst:899 msgid "" "The only feature that requires using the future statement is ``annotations`` " "(see :pep:`563`)." msgstr "" -#: reference/simple_stmts.rst:890 +#: reference/simple_stmts.rst:902 msgid "" "All historical features enabled by the future statement are still recognized " "by Python 3. The list includes ``absolute_import``, ``division``, " @@ -905,7 +905,7 @@ msgid "" "compatibility." msgstr "" -#: reference/simple_stmts.rst:897 +#: reference/simple_stmts.rst:909 msgid "" "A future statement is recognized and treated specially at compile time: " "Changes to the semantics of core constructs are often implemented by " @@ -915,46 +915,46 @@ msgid "" "cannot be pushed off until runtime." msgstr "" -#: reference/simple_stmts.rst:904 +#: reference/simple_stmts.rst:916 msgid "" "For any given release, the compiler knows which feature names have been " "defined, and raises a compile-time error if a future statement contains a " "feature not known to it." msgstr "" -#: reference/simple_stmts.rst:908 +#: reference/simple_stmts.rst:920 msgid "" "The direct runtime semantics are the same as for any import statement: there " "is a standard module :mod:`__future__`, described later, and it will be " "imported in the usual way at the time the future statement is executed." msgstr "" -#: reference/simple_stmts.rst:912 +#: reference/simple_stmts.rst:924 msgid "" "The interesting runtime semantics depend on the specific feature enabled by " "the future statement." msgstr "" -#: reference/simple_stmts.rst:915 +#: reference/simple_stmts.rst:927 msgid "Note that there is nothing special about the statement::" msgstr "" -#: reference/simple_stmts.rst:919 +#: reference/simple_stmts.rst:931 msgid "" "That is not a future statement; it's an ordinary import statement with no " "special semantics or syntax restrictions." msgstr "" -#: reference/simple_stmts.rst:922 +#: reference/simple_stmts.rst:934 msgid "" "Code compiled by calls to the built-in functions :func:`exec` and :func:" -"`compile` that occur in a module :mod:`M` containing a future statement " +"`compile` that occur in a module :mod:`!M` containing a future statement " "will, by default, use the new syntax or semantics associated with the future " "statement. This can be controlled by optional arguments to :func:`compile` " "--- see the documentation of that function for details." msgstr "" -#: reference/simple_stmts.rst:928 +#: reference/simple_stmts.rst:940 msgid "" "A future statement typed at an interactive interpreter prompt will take " "effect for the rest of the interpreter session. If an interpreter is " @@ -963,19 +963,19 @@ msgid "" "interactive session started after the script is executed." msgstr "" -#: reference/simple_stmts.rst:936 +#: reference/simple_stmts.rst:948 msgid ":pep:`236` - Back to the __future__" msgstr "" -#: reference/simple_stmts.rst:937 +#: reference/simple_stmts.rst:949 msgid "The original proposal for the __future__ mechanism." msgstr "" -#: reference/simple_stmts.rst:943 +#: reference/simple_stmts.rst:955 msgid "The :keyword:`!global` statement" msgstr "" -#: reference/simple_stmts.rst:953 +#: reference/simple_stmts.rst:965 msgid "" "The :keyword:`global` statement is a declaration which holds for the entire " "current code block. It means that the listed identifiers are to be " @@ -984,13 +984,13 @@ msgid "" "globals without being declared global." msgstr "" -#: reference/simple_stmts.rst:959 +#: reference/simple_stmts.rst:971 msgid "" "Names listed in a :keyword:`global` statement must not be used in the same " "code block textually preceding that :keyword:`!global` statement." msgstr "" -#: reference/simple_stmts.rst:962 +#: reference/simple_stmts.rst:974 msgid "" "Names listed in a :keyword:`global` statement must not be defined as formal " "parameters, or as targets in :keyword:`with` statements or :keyword:`except` " @@ -998,14 +998,14 @@ msgid "" "function definition, :keyword:`import` statement, or variable annotation." msgstr "" -#: reference/simple_stmts.rst:969 +#: reference/simple_stmts.rst:981 msgid "" "The current implementation does not enforce some of these restrictions, but " "programs should not abuse this freedom, as future implementations may " "enforce them or silently change the meaning of the program." msgstr "" -#: reference/simple_stmts.rst:978 +#: reference/simple_stmts.rst:990 msgid "" "**Programmer's note:** :keyword:`global` is a directive to the parser. It " "applies only to code parsed at the same time as the :keyword:`!global` " @@ -1017,11 +1017,11 @@ msgid "" "func:`compile` functions." msgstr "" -#: reference/simple_stmts.rst:990 +#: reference/simple_stmts.rst:1002 msgid "The :keyword:`!nonlocal` statement" msgstr "" -#: reference/simple_stmts.rst:998 +#: reference/simple_stmts.rst:1010 msgid "" "The :keyword:`nonlocal` statement causes the listed identifiers to refer to " "previously bound variables in the nearest enclosing scope excluding globals. " @@ -1030,7 +1030,7 @@ msgid "" "variables outside of the local scope besides the global (module) scope." msgstr "" -#: reference/simple_stmts.rst:1004 +#: reference/simple_stmts.rst:1016 msgid "" "Names listed in a :keyword:`nonlocal` statement, unlike those listed in a :" "keyword:`global` statement, must refer to pre-existing bindings in an " @@ -1038,45 +1038,45 @@ msgid "" "be determined unambiguously)." msgstr "" -#: reference/simple_stmts.rst:1009 +#: reference/simple_stmts.rst:1021 msgid "" "Names listed in a :keyword:`nonlocal` statement must not collide with pre-" "existing bindings in the local scope." msgstr "" -#: reference/simple_stmts.rst:1014 +#: reference/simple_stmts.rst:1026 msgid ":pep:`3104` - Access to Names in Outer Scopes" msgstr "" -#: reference/simple_stmts.rst:1015 +#: reference/simple_stmts.rst:1027 msgid "The specification for the :keyword:`nonlocal` statement." msgstr "" -#: reference/simple_stmts.rst:1020 +#: reference/simple_stmts.rst:1032 msgid "The :keyword:`!type` statement" msgstr "" -#: reference/simple_stmts.rst:1027 +#: reference/simple_stmts.rst:1039 msgid "" "The :keyword:`!type` statement declares a type alias, which is an instance " "of :class:`typing.TypeAliasType`." msgstr "" -#: reference/simple_stmts.rst:1030 +#: reference/simple_stmts.rst:1042 msgid "For example, the following statement creates a type alias::" msgstr "" -#: reference/simple_stmts.rst:1034 +#: reference/simple_stmts.rst:1046 msgid "This code is roughly equivalent to::" msgstr "" -#: reference/simple_stmts.rst:1040 +#: reference/simple_stmts.rst:1052 msgid "" "``annotation-def`` indicates an :ref:`annotation scope `, " "which behaves mostly like a function, but with several small differences." msgstr "" -#: reference/simple_stmts.rst:1043 +#: reference/simple_stmts.rst:1055 msgid "" "The value of the type alias is evaluated in the annotation scope. It is not " "evaluated when the type alias is created, but only when the value is " @@ -1085,21 +1085,21 @@ msgid "" "not yet defined." msgstr "" -#: reference/simple_stmts.rst:1049 +#: reference/simple_stmts.rst:1061 msgid "" "Type aliases may be made generic by adding a :ref:`type parameter list ` after the name. See :ref:`generic-type-aliases` for more." msgstr "" -#: reference/simple_stmts.rst:1052 +#: reference/simple_stmts.rst:1064 msgid ":keyword:`!type` is a :ref:`soft keyword `." msgstr "" -#: reference/simple_stmts.rst:1059 +#: reference/simple_stmts.rst:1071 msgid ":pep:`695` - Type Parameter Syntax" msgstr "" -#: reference/simple_stmts.rst:1059 +#: reference/simple_stmts.rst:1071 msgid "" "Introduced the :keyword:`!type` statement and syntax for generic classes and " "functions." @@ -1112,8 +1112,8 @@ msgstr "" #: reference/simple_stmts.rst:39 reference/simple_stmts.rst:263 #: reference/simple_stmts.rst:379 reference/simple_stmts.rst:444 #: reference/simple_stmts.rst:483 reference/simple_stmts.rst:556 -#: reference/simple_stmts.rst:704 reference/simple_stmts.rst:859 -#: reference/simple_stmts.rst:992 reference/simple_stmts.rst:1022 +#: reference/simple_stmts.rst:716 reference/simple_stmts.rst:871 +#: reference/simple_stmts.rst:1004 reference/simple_stmts.rst:1034 msgid "statement" msgstr "" @@ -1126,7 +1126,7 @@ msgstr "" msgid "list" msgstr "" -#: reference/simple_stmts.rst:973 +#: reference/simple_stmts.rst:985 msgid "built-in function" msgstr "" @@ -1188,12 +1188,12 @@ msgstr "" msgid "assignment" msgstr "" -#: reference/simple_stmts.rst:729 reference/simple_stmts.rst:945 +#: reference/simple_stmts.rst:741 reference/simple_stmts.rst:957 msgid "binding" msgstr "" -#: reference/simple_stmts.rst:457 reference/simple_stmts.rst:784 -#: reference/simple_stmts.rst:945 +#: reference/simple_stmts.rst:457 reference/simple_stmts.rst:796 +#: reference/simple_stmts.rst:957 msgid "name" msgstr "" @@ -1209,12 +1209,12 @@ msgstr "" msgid "attribute" msgstr "" -#: reference/simple_stmts.rst:116 reference/simple_stmts.rst:683 +#: reference/simple_stmts.rst:116 reference/simple_stmts.rst:695 msgid "target" msgstr "" -#: reference/simple_stmts.rst:379 reference/simple_stmts.rst:945 -#: reference/simple_stmts.rst:992 +#: reference/simple_stmts.rst:379 reference/simple_stmts.rst:957 +#: reference/simple_stmts.rst:1004 msgid ", (comma)" msgstr "" @@ -1222,7 +1222,7 @@ msgstr "" msgid "in target list" msgstr "" -#: reference/simple_stmts.rst:810 +#: reference/simple_stmts.rst:822 msgid "* (asterisk)" msgstr "" @@ -1359,7 +1359,7 @@ msgid "__debug__" msgstr "" #: reference/simple_stmts.rst:520 reference/simple_stmts.rst:588 -#: reference/simple_stmts.rst:729 +#: reference/simple_stmts.rst:741 msgid "exception" msgstr "" @@ -1387,7 +1387,7 @@ msgstr "" msgid "deletion" msgstr "" -#: reference/simple_stmts.rst:945 +#: reference/simple_stmts.rst:957 msgid "global" msgstr "" @@ -1411,12 +1411,12 @@ msgstr "" msgid "class" msgstr "" -#: reference/simple_stmts.rst:683 reference/simple_stmts.rst:704 -#: reference/simple_stmts.rst:729 +#: reference/simple_stmts.rst:695 reference/simple_stmts.rst:716 +#: reference/simple_stmts.rst:741 msgid "keyword" msgstr "" -#: reference/simple_stmts.rst:692 reference/simple_stmts.rst:704 +#: reference/simple_stmts.rst:704 reference/simple_stmts.rst:716 msgid "finally" msgstr "" @@ -1464,102 +1464,102 @@ msgstr "" msgid "__context__ (exception attribute)" msgstr "" -#: reference/simple_stmts.rst:670 +#: reference/simple_stmts.rst:682 msgid "break" msgstr "" -#: reference/simple_stmts.rst:704 +#: reference/simple_stmts.rst:716 msgid "for" msgstr "" -#: reference/simple_stmts.rst:704 +#: reference/simple_stmts.rst:716 msgid "while" msgstr "" -#: reference/simple_stmts.rst:704 +#: reference/simple_stmts.rst:716 msgid "loop" msgstr "" -#: reference/simple_stmts.rst:683 +#: reference/simple_stmts.rst:695 msgid "else" msgstr "" -#: reference/simple_stmts.rst:683 +#: reference/simple_stmts.rst:695 msgid "loop control" msgstr "" -#: reference/simple_stmts.rst:704 +#: reference/simple_stmts.rst:716 msgid "continue" msgstr "" -#: reference/simple_stmts.rst:832 +#: reference/simple_stmts.rst:844 msgid "import" msgstr "" -#: reference/simple_stmts.rst:729 +#: reference/simple_stmts.rst:741 msgid "module" msgstr "" -#: reference/simple_stmts.rst:729 +#: reference/simple_stmts.rst:741 msgid "importing" msgstr "" -#: reference/simple_stmts.rst:784 +#: reference/simple_stmts.rst:796 msgid "from" msgstr "" -#: reference/simple_stmts.rst:771 +#: reference/simple_stmts.rst:783 msgid "as" msgstr "" -#: reference/simple_stmts.rst:729 +#: reference/simple_stmts.rst:741 msgid "ImportError" msgstr "" -#: reference/simple_stmts.rst:771 reference/simple_stmts.rst:810 +#: reference/simple_stmts.rst:783 reference/simple_stmts.rst:822 msgid "import statement" msgstr "" -#: reference/simple_stmts.rst:816 +#: reference/simple_stmts.rst:828 msgid "__all__ (optional module attribute)" msgstr "" -#: reference/simple_stmts.rst:832 +#: reference/simple_stmts.rst:844 msgid "relative" msgstr "" -#: reference/simple_stmts.rst:859 +#: reference/simple_stmts.rst:871 msgid "future" msgstr "" -#: reference/simple_stmts.rst:859 +#: reference/simple_stmts.rst:871 msgid "__future__" msgstr "" -#: reference/simple_stmts.rst:859 +#: reference/simple_stmts.rst:871 msgid "future statement" msgstr "" -#: reference/simple_stmts.rst:992 +#: reference/simple_stmts.rst:1004 msgid "identifier list" msgstr "" -#: reference/simple_stmts.rst:973 +#: reference/simple_stmts.rst:985 msgid "exec" msgstr "" -#: reference/simple_stmts.rst:973 +#: reference/simple_stmts.rst:985 msgid "eval" msgstr "" -#: reference/simple_stmts.rst:973 +#: reference/simple_stmts.rst:985 msgid "compile" msgstr "" -#: reference/simple_stmts.rst:992 +#: reference/simple_stmts.rst:1004 msgid "nonlocal" msgstr "" -#: reference/simple_stmts.rst:1022 +#: reference/simple_stmts.rst:1034 msgid "type" msgstr "" diff --git a/sphinx.po b/sphinx.po index 16541bc8e..d31368267 100644 --- a/sphinx.po +++ b/sphinx.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: 2022-12-28 16:25-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -45,34 +45,78 @@ msgstr "" "Sürüm {deprecated} 'den beri kullanım dışı, sürüm {removed} 'da kaldırıldı" #: tools/templates/dummy.html:12 +#, fuzzy +msgid " Part of the " +msgstr "Belgelerin bölümleri:" + +#: tools/templates/dummy.html:13 +msgid "Limited API" +msgstr "" + +#: tools/templates/dummy.html:14 +#, fuzzy +msgid "Stable ABI" +msgstr "Kararlı" + +#: tools/templates/dummy.html:15 +msgid " (as an opaque struct)" +msgstr "" + +#: tools/templates/dummy.html:16 +msgid " (including all members)" +msgstr "" + +#: tools/templates/dummy.html:17 +#, fuzzy +msgid " since version %s" +msgstr "Tüm sürümler" + +#: tools/templates/dummy.html:18 +msgid " (Only some members are part of the stable ABI.)" +msgstr "" + +#: tools/templates/dummy.html:19 +msgid "This is " +msgstr "" + +#: tools/templates/dummy.html:20 +#, fuzzy +msgid "Unstable API" +msgstr "kararlı" + +#: tools/templates/dummy.html:21 +msgid ". It may change without warning in minor releases." +msgstr "" + +#: tools/templates/dummy.html:22 msgid "Return value: Always NULL." msgstr "" -#: tools/templates/dummy.html:13 +#: tools/templates/dummy.html:23 msgid "Return value: New reference." msgstr "" -#: tools/templates/dummy.html:14 +#: tools/templates/dummy.html:24 msgid "Return value: Borrowed reference." msgstr "" -#: tools/templates/dummy.html:18 +#: tools/templates/dummy.html:28 msgid "in development" msgstr "geliştirme aşamasında" -#: tools/templates/dummy.html:19 +#: tools/templates/dummy.html:29 msgid "pre-release" msgstr "önsürüm" -#: tools/templates/dummy.html:20 +#: tools/templates/dummy.html:30 msgid "stable" msgstr "kararlı" -#: tools/templates/dummy.html:21 +#: tools/templates/dummy.html:31 msgid "security-fixes" msgstr "güvenlik düzeltmeleri" -#: tools/templates/dummy.html:22 +#: tools/templates/dummy.html:32 msgid "EOL" msgstr "EOL" diff --git a/tutorial/classes.po b/tutorial/classes.po index a2a842f1d..61cc9b009 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: 2023-02-02 02:32+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1197,19 +1197,20 @@ msgstr "" #: tutorial/classes.rst:772 #, fuzzy msgid "" -"Instance method objects have attributes, too: ``m.__self__`` is the instance " -"object with the method :meth:`!m`, and ``m.__func__`` is the function object " -"corresponding to the method." +":ref:`Instance method objects ` have attributes, too: :" +"attr:`m.__self__ ` is the instance object with the method :" +"meth:`!m`, and :attr:`m.__func__ ` is the :ref:`function " +"object ` corresponding to the method." msgstr "" "Örnek yöntem nesnelerinin de nitelikleri vardır: ``m.__self__`` yöntemi olan " "örnek nesnedir :meth:`m`, ve ``m.__func__`` yönteme karşılık gelen fonksiyon " "nesnesidir." -#: tutorial/classes.rst:780 +#: tutorial/classes.rst:782 msgid "Iterators" msgstr "Yineleyiciler" -#: tutorial/classes.rst:782 +#: tutorial/classes.rst:784 msgid "" "By now you have probably noticed that most container objects can be looped " "over using a :keyword:`for` statement::" @@ -1217,7 +1218,7 @@ msgstr "" "Şimdiye kadar büyük olasılıkla çoğu kapsayıcı nesnenin bir :keyword:`for` " "deyimi kullanılarak döngüye alınabileceğini fark etmişsinizdir::" -#: tutorial/classes.rst:796 +#: tutorial/classes.rst:798 msgid "" "This style of access is clear, concise, and convenient. The use of " "iterators pervades and unifies Python. Behind the scenes, the :keyword:" @@ -1239,7 +1240,7 @@ msgstr "" "fonksiyonunu kullanarak :meth:`~iterator.__next__` yöntemini " "çağırabilirsiniz; Bu örnek, her şeyin nasıl çalıştığını gösterir::" -#: tutorial/classes.rst:821 +#: tutorial/classes.rst:823 #, fuzzy msgid "" "Having seen the mechanics behind the iterator protocol, it is easy to add " @@ -1253,11 +1254,11 @@ msgstr "" "bir nesne döndüren :meth:`__iter__` metodunu tanımlayın. Sınıf :meth:" "`__next__` tanımlarsa, :meth:`__iter__` sadece ``self`` döndürebilir::" -#: tutorial/classes.rst:858 +#: tutorial/classes.rst:860 msgid "Generators" msgstr "Üreteçler" -#: tutorial/classes.rst:860 +#: tutorial/classes.rst:862 msgid "" ":term:`Generators ` are a simple and powerful tool for creating " "iterators. They are written like regular functions but use the :keyword:" @@ -1273,7 +1274,7 @@ msgstr "" "değerlerini ve hangi deyimin en son yürütüldüğını hatırlar). Bu örnek, " "üreteçlerin oluşturulmasının ne kadar da kolay olabileceğini gösterir::" -#: tutorial/classes.rst:881 +#: tutorial/classes.rst:883 #, fuzzy msgid "" "Anything that can be done with generators can also be done with class-based " @@ -1286,7 +1287,7 @@ msgstr "" "şey: :meth:`__iter__` ve :meth:`~generator.__next__` yöntemlerinin otomatik " "olarak oluşturulmasıdır." -#: tutorial/classes.rst:886 +#: tutorial/classes.rst:888 msgid "" "Another key feature is that the local variables and execution state are " "automatically saved between calls. This made the function easier to write " @@ -1298,7 +1299,7 @@ msgstr "" "kolaylaştırdı ve ``self.index`` ve ``self.data`` gibi değişkenleri " "kullanmaya kıyasla çok daha net hale getirdi." -#: tutorial/classes.rst:891 +#: tutorial/classes.rst:893 msgid "" "In addition to automatic method creation and saving program state, when " "generators terminate, they automatically raise :exc:`StopIteration`. In " @@ -1310,11 +1311,11 @@ msgstr "" "Birlikte, bu özellikler normal bir işlev yazmaktan daha fazla çaba " "harcamadan yinelemeler oluşturmayı kolaylaştırır." -#: tutorial/classes.rst:900 +#: tutorial/classes.rst:902 msgid "Generator Expressions" msgstr "Üreteç İfadeleri" -#: tutorial/classes.rst:902 +#: tutorial/classes.rst:904 msgid "" "Some simple generators can be coded succinctly as expressions using a syntax " "similar to list comprehensions but with parentheses instead of square " @@ -1330,15 +1331,15 @@ msgstr "" "ancak daha az çok yönlüdür ve aynı özellikle liste anlamalarından daha " "bellek dostu olma eğilimindedir." -#: tutorial/classes.rst:909 +#: tutorial/classes.rst:911 msgid "Examples::" msgstr "Örnekler::" -#: tutorial/classes.rst:930 +#: tutorial/classes.rst:932 msgid "Footnotes" msgstr "Dipnotlar" -#: tutorial/classes.rst:931 +#: tutorial/classes.rst:933 msgid "" "Except for one thing. Module objects have a secret read-only attribute " "called :attr:`~object.__dict__` which returns the dictionary used to " diff --git a/tutorial/floatingpoint.po b/tutorial/floatingpoint.po index 12aba4cd9..d37489079 100644 --- a/tutorial/floatingpoint.po +++ b/tutorial/floatingpoint.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: 2022-12-28 22:25+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -236,8 +236,8 @@ msgid "" "`_ for " "a pleasant summary of how binary floating-point works and the kinds of " "problems commonly encountered in practice. Also see `The Perils of Floating " -"Point `_ for a more complete account of " -"other common surprises." +"Point `_ for a more complete " +"account of other common surprises." msgstr "" "İkili kayan noktalı aritmetik bunun gibi birçok sürpriz barındırır. \"0.1\" " "ile ilgili sorun aşağıda \"Temsil Hatası\" bölümünde ayrıntılı olarak " diff --git a/tutorial/modules.po b/tutorial/modules.po index 6491ddcd6..e9841898c 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: 2022-12-29 00:15+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -586,11 +586,12 @@ msgstr "" #, fuzzy msgid "" "The :file:`__init__.py` files are required to make Python treat directories " -"containing the file as packages. This prevents directories with a common " -"name, such as ``string``, from unintentionally hiding valid modules that " -"occur later on the module search path. In the simplest case, :file:`__init__." -"py` can just be an empty file, but it can also execute initialization code " -"for the package or set the ``__all__`` variable, described later." +"containing the file as packages (unless using a :term:`namespace package`, a " +"relatively advanced feature). This prevents directories with a common name, " +"such as ``string``, from unintentionally hiding valid modules that occur " +"later on the module search path. In the simplest case, :file:`__init__.py` " +"can just be an empty file, but it can also execute initialization code for " +"the package or set the ``__all__`` variable, described later." msgstr "" "Python'un dosyayı içeren dizinleri paketler olarak ele alması için :file:" "`__init__.py` dosyaları gereklidir. Bu, ``string`` gibi ortak bir ada sahip " @@ -600,7 +601,7 @@ msgstr "" "çalıştırabilir veya daha sonra açıklanacak olan ``__all__`` değişkenini " "ayarlayabilir." -#: tutorial/modules.rst:446 +#: tutorial/modules.rst:447 msgid "" "Users of the package can import individual modules from the package, for " "example::" @@ -608,7 +609,7 @@ msgstr "" "Paketin kullanıcıları, paketin içindeki ayrı modülleri içe aktarabilir, " "örneğin::" -#: tutorial/modules.rst:451 +#: tutorial/modules.rst:452 #, fuzzy msgid "" "This loads the submodule :mod:`!sound.effects.echo`. It must be referenced " @@ -617,11 +618,11 @@ msgstr "" "Bu, :mod:`sound.effects.echo` alt modülünü yükler. Tam adı ile referans " "gösterilmelidir. ::" -#: tutorial/modules.rst:456 +#: tutorial/modules.rst:457 msgid "An alternative way of importing the submodule is::" msgstr "Alt modülü içe aktarmanın alternatif bir yolu::" -#: tutorial/modules.rst:460 +#: tutorial/modules.rst:461 #, fuzzy msgid "" "This also loads the submodule :mod:`!echo`, and makes it available without " @@ -630,7 +631,7 @@ msgstr "" "Bu ayrıca :mod:`echo` alt modülünü yükler ve paket öneki olmadan " "kullanılabilir hale getirir, böylece aşağıdaki gibi kullanılabilir::" -#: tutorial/modules.rst:465 +#: tutorial/modules.rst:466 msgid "" "Yet another variation is to import the desired function or variable " "directly::" @@ -638,7 +639,7 @@ msgstr "" "Yine başka bir varyasyon, istenen işlevi veya değişkeni doğrudan içe " "aktarmaktır::" -#: tutorial/modules.rst:469 +#: tutorial/modules.rst:470 #, fuzzy msgid "" "Again, this loads the submodule :mod:`!echo`, but this makes its function :" @@ -647,7 +648,7 @@ msgstr "" "Yine, bu, :mod:`echo` alt modülünü yükler, ancak bu, :func:`echofilter` " "fonksiyonunu doğrudan kullanılabilir hale getirir::" -#: tutorial/modules.rst:474 +#: tutorial/modules.rst:475 msgid "" "Note that when using ``from package import item``, the item can be either a " "submodule (or subpackage) of the package, or some other name defined in the " @@ -663,7 +664,7 @@ msgstr "" "varsayar ve yüklemeye çalışır. Onu bulamazsa, bir :exc:`ImportError` " "istisnası ortaya çıkar." -#: tutorial/modules.rst:481 +#: tutorial/modules.rst:482 msgid "" "Contrarily, when using syntax like ``import item.subitem.subsubitem``, each " "item except for the last must be a package; the last item can be a module or " @@ -675,11 +676,11 @@ msgstr "" "olabilir, ancak önceki öğede tanımlanan bir sınıf, fonksiyon veya değişken " "olamaz." -#: tutorial/modules.rst:490 +#: tutorial/modules.rst:491 msgid "Importing \\* From a Package" msgstr "Bir Paketten \\* İçe Aktarma" -#: tutorial/modules.rst:494 +#: tutorial/modules.rst:495 msgid "" "Now what happens when the user writes ``from sound.effects import *``? " "Ideally, one would hope that this somehow goes out to the filesystem, finds " @@ -694,7 +695,7 @@ msgstr "" "içe aktarıldığında gerçekleşmesi gereken istenmeyen yan etkilere neden " "olabilir." -#: tutorial/modules.rst:500 +#: tutorial/modules.rst:501 msgid "" "The only solution is for the package author to provide an explicit index of " "the package. The :keyword:`import` statement uses the following convention: " @@ -716,7 +717,7 @@ msgstr "" "verebilirler. Örneğin, :file:`sound/effects/__init__.py` dosyası şu kodu " "içerebilir::" -#: tutorial/modules.rst:512 +#: tutorial/modules.rst:513 #, fuzzy msgid "" "This would mean that ``from sound.effects import *`` would import the three " @@ -725,7 +726,7 @@ msgstr "" "Bu, ``from sound.effects import *`` öğesinin :mod:`sound` paketinin " "adlandırılmış üç alt modülünü içe aktaracağı anlamına gelir." -#: tutorial/modules.rst:515 +#: tutorial/modules.rst:516 msgid "" "Be aware that submodules might become shadowed by locally defined names. For " "example, if you added a ``reverse`` function to the :file:`sound/effects/" @@ -735,7 +736,7 @@ msgid "" "function::" msgstr "" -#: tutorial/modules.rst:531 +#: tutorial/modules.rst:532 #, fuzzy msgid "" "If ``__all__`` is not defined, the statement ``from sound.effects import *`` " @@ -757,7 +758,7 @@ msgstr "" "Ayrıca, önceki :keyword:`import` ifadeleri tarafından açıkça yüklenen " "paketin tüm alt modüllerini de içerir. Bu kodu dikkate alın ::" -#: tutorial/modules.rst:544 +#: tutorial/modules.rst:545 #, fuzzy msgid "" "In this example, the :mod:`!echo` and :mod:`!surround` modules are imported " @@ -770,7 +771,7 @@ msgstr "" "effects` paketinde tanımlanmışlardır. (Bu aynı zamanda ``__all__`` " "tanımlandığında da çalışır.)" -#: tutorial/modules.rst:549 +#: tutorial/modules.rst:550 msgid "" "Although certain modules are designed to export only names that follow " "certain patterns when you use ``import *``, it is still considered bad " @@ -780,7 +781,7 @@ msgstr "" "eden adları dışa aktarmak üzere tasarlanmış olsa da, üretim kodunda yine de " "kötü uygulama olarak kabul edilir." -#: tutorial/modules.rst:553 +#: tutorial/modules.rst:554 msgid "" "Remember, there is nothing wrong with using ``from package import " "specific_submodule``! In fact, this is the recommended notation unless the " @@ -791,11 +792,11 @@ msgstr "" "tarafı yok! Aslında, içe aktarma modülünün farklı paketlerden aynı ada sahip " "alt modülleri kullanması gerekmedikçe, önerilen gösterim budur." -#: tutorial/modules.rst:562 +#: tutorial/modules.rst:563 msgid "Intra-package References" msgstr "Paket İçi Referanslar" -#: tutorial/modules.rst:564 +#: tutorial/modules.rst:565 #, fuzzy msgid "" "When packages are structured into subpackages (as with the :mod:`!sound` " @@ -810,7 +811,7 @@ msgstr "" "vocoder` modülünün :mod:`sound.effects` paketindeki :mod:`echo` modülünü " "kullanması gerekiyorsa, ``from sound.effects import echo`` 'yu kullanabilir." -#: tutorial/modules.rst:570 +#: tutorial/modules.rst:571 #, fuzzy msgid "" "You can also write relative imports, with the ``from module import name`` " @@ -823,7 +824,7 @@ msgstr "" "yer alan mevcut ve ana paketleri belirtmek için baştaki noktaları kullanır. " "Örneğin :mod:`surround` modülünden şunları kullanabilirsiniz::" -#: tutorial/modules.rst:579 +#: tutorial/modules.rst:580 msgid "" "Note that relative imports are based on the name of the current module. " "Since the name of the main module is always ``\"__main__\"``, modules " @@ -835,11 +836,11 @@ msgstr "" "ana modülü olarak kullanılması amaçlanan modüller her zaman mutlak içe " "aktarma kullanmalıdır." -#: tutorial/modules.rst:585 +#: tutorial/modules.rst:586 msgid "Packages in Multiple Directories" msgstr "Birden Çok Dizindeki Paketler" -#: tutorial/modules.rst:587 +#: tutorial/modules.rst:588 msgid "" "Packages support one more special attribute, :attr:`__path__`. This is " "initialized to be a list containing the name of the directory holding the " @@ -853,7 +854,7 @@ msgstr "" "değiştirilebilir; bunu yapmak, pakette bulunan modüller ve alt paketler için " "gelecekteki aramaları etkiler." -#: tutorial/modules.rst:593 +#: tutorial/modules.rst:594 msgid "" "While this feature is not often needed, it can be used to extend the set of " "modules found in a package." @@ -861,11 +862,11 @@ msgstr "" "Bu özelliğe sıklıkla ihtiyaç duyulmasa da, bir pakette bulunan modül " "dizisini genişletmek için kullanılabilir." -#: tutorial/modules.rst:598 +#: tutorial/modules.rst:599 msgid "Footnotes" msgstr "Dipnotlar" -#: tutorial/modules.rst:599 +#: tutorial/modules.rst:600 msgid "" "In fact function definitions are also 'statements' that are 'executed'; the " "execution of a module-level function definition adds the function name to " @@ -896,6 +897,6 @@ msgstr "" msgid "builtins" msgstr "" -#: tutorial/modules.rst:492 +#: tutorial/modules.rst:493 msgid "__all__" msgstr "" diff --git a/using/cmdline.po b/using/cmdline.po index 87d4edbcc..e3f7d5174 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -497,7 +497,7 @@ msgid "" "`sys.path`." msgstr "" -#: using/cmdline.rst:807 using/cmdline.rst:819 +#: using/cmdline.rst:805 using/cmdline.rst:817 msgid ":pep:`370` -- Per user site-packages directory" msgstr "" @@ -547,7 +547,7 @@ msgid "" "messages to :data:`sys.stderr`." msgstr "" -#: using/cmdline.rst:835 +#: using/cmdline.rst:833 msgid "" "The simplest settings apply a particular action unconditionally to all " "warnings emitted by a process (even those that are otherwise ignored by " @@ -620,7 +620,7 @@ msgid "" "can be used to use a regular expression on the warning message." msgstr "" -#: using/cmdline.rst:846 +#: using/cmdline.rst:844 msgid "" "See :ref:`warning-filter` and :ref:`describing-warning-filters` for more " "details." @@ -777,42 +777,39 @@ msgid "The ``-X showalloccount`` option has been removed." msgstr "" #: using/cmdline.rst:578 -msgid "The ``-X warn_default_encoding`` option." -msgstr "" - -#: using/cmdline.rst:583 -msgid "The ``-X oldparser`` option." +msgid "" +"The ``-X warn_default_encoding`` option. Removed the ``-X oldparser`` option." msgstr "" -#: using/cmdline.rst:584 +#: using/cmdline.rst:582 msgid "The ``-X no_debug_ranges`` option." msgstr "" -#: using/cmdline.rst:587 +#: using/cmdline.rst:585 msgid "The ``-X frozen_modules`` option." msgstr "" -#: using/cmdline.rst:590 +#: using/cmdline.rst:588 msgid "The ``-X int_max_str_digits`` option." msgstr "" -#: using/cmdline.rst:593 +#: using/cmdline.rst:591 msgid "The ``-X perf`` option." msgstr "" -#: using/cmdline.rst:598 +#: using/cmdline.rst:596 msgid "Options you shouldn't use" msgstr "" -#: using/cmdline.rst:602 +#: using/cmdline.rst:600 msgid "Reserved for use by Jython_." msgstr "" -#: using/cmdline.rst:610 +#: using/cmdline.rst:608 msgid "Environment variables" msgstr "" -#: using/cmdline.rst:612 +#: using/cmdline.rst:610 msgid "" "These environment variables influence Python's behavior, they are processed " "before the command-line switches other than -E or -I. It is customary that " @@ -820,7 +817,7 @@ msgid "" "conflict." msgstr "" -#: using/cmdline.rst:619 +#: using/cmdline.rst:617 msgid "" "Change the location of the standard Python libraries. By default, the " "libraries are searched in :file:`{prefix}/lib/python{version}` and :file:" @@ -829,14 +826,14 @@ msgid "" "file:`/usr/local`." msgstr "" -#: using/cmdline.rst:625 +#: using/cmdline.rst:623 msgid "" "When :envvar:`PYTHONHOME` is set to a single directory, its value replaces " "both :file:`{prefix}` and :file:`{exec_prefix}`. To specify different " "values for these, set :envvar:`PYTHONHOME` to :file:`{prefix}:{exec_prefix}`." msgstr "" -#: using/cmdline.rst:632 +#: using/cmdline.rst:630 msgid "" "Augment the default search path for module files. The format is the same as " "the shell's :envvar:`PATH`: one or more directory pathnames separated by :" @@ -844,21 +841,21 @@ msgid "" "existent directories are silently ignored." msgstr "" -#: using/cmdline.rst:637 +#: using/cmdline.rst:635 msgid "" "In addition to normal directories, individual :envvar:`PYTHONPATH` entries " "may refer to zipfiles containing pure Python modules (in either source or " "compiled form). Extension modules cannot be imported from zipfiles." msgstr "" -#: using/cmdline.rst:641 +#: using/cmdline.rst:639 msgid "" "The default search path is installation dependent, but generally begins " "with :file:`{prefix}/lib/python{version}` (see :envvar:`PYTHONHOME` above). " "It is *always* appended to :envvar:`PYTHONPATH`." msgstr "" -#: using/cmdline.rst:645 +#: using/cmdline.rst:643 msgid "" "An additional directory will be inserted in the search path in front of :" "envvar:`PYTHONPATH` as described above under :ref:`using-on-interface-" @@ -866,19 +863,19 @@ msgid "" "the variable :data:`sys.path`." msgstr "" -#: using/cmdline.rst:653 +#: using/cmdline.rst:651 msgid "" "If this is set to a non-empty string, don't prepend a potentially unsafe " "path to :data:`sys.path`: see the :option:`-P` option for details." msgstr "" -#: using/cmdline.rst:661 +#: using/cmdline.rst:659 msgid "" "If this is set to a non-empty string, it overrides the :data:`sys." "platlibdir` value." msgstr "" -#: using/cmdline.rst:669 +#: using/cmdline.rst:667 msgid "" "If this is the name of a readable file, the Python commands in that file are " "executed before the first prompt is displayed in interactive mode. The file " @@ -889,26 +886,26 @@ msgid "" "file." msgstr "" -#: using/cmdline.rst:676 +#: using/cmdline.rst:674 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_startup`` with " "argument ``filename``." msgstr "" -#: using/cmdline.rst:678 +#: using/cmdline.rst:676 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_startup`` with the " "filename as the argument when called on startup." msgstr "" -#: using/cmdline.rst:684 +#: using/cmdline.rst:682 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-O` option. If set to an integer, it is equivalent to specifying :" "option:`-O` multiple times." msgstr "" -#: using/cmdline.rst:691 +#: using/cmdline.rst:689 msgid "" "If this is set, it names a callable using dotted-path notation. The module " "containing the callable will be imported and then the callable will be run " @@ -919,58 +916,58 @@ msgid "" "breakpointhook` to do nothing but return immediately." msgstr "" -#: using/cmdline.rst:703 +#: using/cmdline.rst:701 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-d` option. If set to an integer, it is equivalent to specifying :" "option:`-d` multiple times." msgstr "" -#: using/cmdline.rst:707 +#: using/cmdline.rst:705 msgid "" "This environment variable requires a :ref:`debug build of Python `, otherwise it's ignored." msgstr "" -#: using/cmdline.rst:713 +#: using/cmdline.rst:711 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-i` option." msgstr "" -#: using/cmdline.rst:716 +#: using/cmdline.rst:714 msgid "" "This variable can also be modified by Python code using :data:`os.environ` " "to force inspect mode on program termination." msgstr "" -#: using/cmdline.rst:722 +#: using/cmdline.rst:720 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-u` option." msgstr "" -#: using/cmdline.rst:728 +#: using/cmdline.rst:726 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-v` option. If set to an integer, it is equivalent to specifying :" "option:`-v` multiple times." msgstr "" -#: using/cmdline.rst:735 +#: using/cmdline.rst:733 msgid "" "If this is set, Python ignores case in :keyword:`import` statements. This " "only works on Windows and macOS." msgstr "" -#: using/cmdline.rst:741 +#: using/cmdline.rst:739 msgid "" "If this is set to a non-empty string, Python won't try to write ``.pyc`` " "files on the import of source modules. This is equivalent to specifying " "the :option:`-B` option." msgstr "" -#: using/cmdline.rst:748 +#: using/cmdline.rst:746 msgid "" "If this is set, Python will write ``.pyc`` files in a mirror directory tree " "at this path, instead of in ``__pycache__`` directories within the source " @@ -978,40 +975,40 @@ msgid "" "``pycache_prefix=PATH`` option." msgstr "" -#: using/cmdline.rst:758 +#: using/cmdline.rst:756 msgid "" "If this variable is not set or set to ``random``, a random value is used to " "seed the hashes of str and bytes objects." msgstr "" -#: using/cmdline.rst:761 +#: using/cmdline.rst:759 msgid "" "If :envvar:`PYTHONHASHSEED` is set to an integer value, it is used as a " "fixed seed for generating the hash() of the types covered by the hash " "randomization." msgstr "" -#: using/cmdline.rst:765 +#: using/cmdline.rst:763 msgid "" "Its purpose is to allow repeatable hashing, such as for selftests for the " "interpreter itself, or to allow a cluster of python processes to share hash " "values." msgstr "" -#: using/cmdline.rst:769 +#: using/cmdline.rst:767 msgid "" "The integer must be a decimal number in the range [0,4294967295]. " "Specifying the value 0 will disable hash randomization." msgstr "" -#: using/cmdline.rst:776 +#: using/cmdline.rst:774 msgid "" "If this variable is set to an integer, it is used to configure the " "interpreter's global :ref:`integer string conversion length limitation " "`." msgstr "" -#: using/cmdline.rst:784 +#: using/cmdline.rst:782 msgid "" "If this is set before running the interpreter, it overrides the encoding " "used for stdin/stdout/stderr, in the syntax ``encodingname:errorhandler``. " @@ -1019,17 +1016,17 @@ msgid "" "have the same meaning as in :func:`str.encode`." msgstr "" -#: using/cmdline.rst:789 +#: using/cmdline.rst:787 msgid "" "For stderr, the ``:errorhandler`` part is ignored; the handler will always " "be ``'backslashreplace'``." msgstr "" -#: using/cmdline.rst:792 +#: using/cmdline.rst:790 msgid "The ``encodingname`` part is now optional." msgstr "" -#: using/cmdline.rst:795 +#: using/cmdline.rst:793 msgid "" "On Windows, the encoding specified by this variable is ignored for " "interactive console buffers unless :envvar:`PYTHONLEGACYWINDOWSSTDIO` is " @@ -1037,13 +1034,13 @@ msgid "" "not affected." msgstr "" -#: using/cmdline.rst:802 +#: using/cmdline.rst:800 msgid "" "If this is set, Python won't add the :data:`user site-packages directory " "` to :data:`sys.path`." msgstr "" -#: using/cmdline.rst:812 +#: using/cmdline.rst:810 msgid "" "Defines the :data:`user base directory `, which is used to " "compute the path of the :data:`user site-packages directory ` of the :mod:`asyncio` module." msgstr "" -#: using/cmdline.rst:894 +#: using/cmdline.rst:892 msgid "Set the Python memory allocators and/or install debug hooks." msgstr "" -#: using/cmdline.rst:896 +#: using/cmdline.rst:894 msgid "Set the family of memory allocators used by Python:" msgstr "" -#: using/cmdline.rst:898 +#: using/cmdline.rst:896 msgid "" "``default``: use the :ref:`default memory allocators `." msgstr "" -#: using/cmdline.rst:900 +#: using/cmdline.rst:898 msgid "" "``malloc``: use the :c:func:`malloc` function of the C library for all " "domains (:c:macro:`PYMEM_DOMAIN_RAW`, :c:macro:`PYMEM_DOMAIN_MEM`, :c:macro:" "`PYMEM_DOMAIN_OBJ`)." msgstr "" -#: using/cmdline.rst:903 +#: using/cmdline.rst:901 msgid "" "``pymalloc``: use the :ref:`pymalloc allocator ` for :c:macro:" "`PYMEM_DOMAIN_MEM` and :c:macro:`PYMEM_DOMAIN_OBJ` domains and use the :c:" "func:`malloc` function for the :c:macro:`PYMEM_DOMAIN_RAW` domain." msgstr "" -#: using/cmdline.rst:907 +#: using/cmdline.rst:905 msgid "Install :ref:`debug hooks `:" msgstr "" -#: using/cmdline.rst:909 +#: using/cmdline.rst:907 msgid "" "``debug``: install debug hooks on top of the :ref:`default memory allocators " "`." msgstr "" -#: using/cmdline.rst:911 +#: using/cmdline.rst:909 msgid "``malloc_debug``: same as ``malloc`` but also install debug hooks." msgstr "" -#: using/cmdline.rst:912 +#: using/cmdline.rst:910 msgid "``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks." msgstr "" -#: using/cmdline.rst:914 +#: using/cmdline.rst:912 msgid "Added the ``\"default\"`` allocator." msgstr "" -#: using/cmdline.rst:922 +#: using/cmdline.rst:920 msgid "" "If set to a non-empty string, Python will print statistics of the :ref:" "`pymalloc memory allocator ` every time a new pymalloc object " "arena is created, and on shutdown." msgstr "" -#: using/cmdline.rst:926 +#: using/cmdline.rst:924 msgid "" "This variable is ignored if the :envvar:`PYTHONMALLOC` environment variable " "is used to force the :c:func:`malloc` allocator of the C library, or if " "Python is configured without ``pymalloc`` support." msgstr "" -#: using/cmdline.rst:930 +#: using/cmdline.rst:928 msgid "" "This variable can now also be used on Python compiled in release mode. It " "now has no effect if set to an empty string." msgstr "" -#: using/cmdline.rst:937 +#: using/cmdline.rst:935 msgid "" "If set to a non-empty string, the default :term:`filesystem encoding and " "error handler` mode will revert to their pre-3.6 values of 'mbcs' and " @@ -1174,41 +1171,41 @@ msgid "" "'surrogatepass' are used." msgstr "" -#: using/cmdline.rst:942 +#: using/cmdline.rst:940 msgid "" "This may also be enabled at runtime with :func:`sys." "_enablelegacywindowsfsencoding()`." msgstr "" -#: using/cmdline.rst:959 +#: using/cmdline.rst:957 msgid ":ref:`Availability `: Windows." msgstr "" -#: using/cmdline.rst:947 +#: using/cmdline.rst:945 msgid "See :pep:`529` for more details." msgstr "" -#: using/cmdline.rst:952 +#: using/cmdline.rst:950 msgid "" "If set to a non-empty string, does not use the new console reader and " "writer. This means that Unicode characters will be encoded according to the " "active console code page, rather than using utf-8." msgstr "" -#: using/cmdline.rst:956 +#: using/cmdline.rst:954 msgid "" "This variable is ignored if the standard streams are redirected (to files or " "pipes) rather than referring to console buffers." msgstr "" -#: using/cmdline.rst:966 +#: using/cmdline.rst:964 msgid "" "If set to the value ``0``, causes the main Python command line application " "to skip coercing the legacy ASCII-based C and POSIX locales to a more " "capable UTF-8 based alternative." msgstr "" -#: using/cmdline.rst:970 +#: using/cmdline.rst:968 msgid "" "If this variable is *not* set (or is set to a value other than ``0``), the " "``LC_ALL`` locale override environment variable is also not set, and the " @@ -1219,19 +1216,19 @@ msgid "" "runtime:" msgstr "" -#: using/cmdline.rst:978 +#: using/cmdline.rst:976 msgid "``C.UTF-8``" msgstr "" -#: using/cmdline.rst:979 +#: using/cmdline.rst:977 msgid "``C.utf8``" msgstr "" -#: using/cmdline.rst:980 +#: using/cmdline.rst:978 msgid "``UTF-8``" msgstr "" -#: using/cmdline.rst:982 +#: using/cmdline.rst:980 msgid "" "If setting one of these locale categories succeeds, then the ``LC_CTYPE`` " "environment variable will also be set accordingly in the current process " @@ -1244,7 +1241,7 @@ msgid "" "(such as Python's own :func:`locale.getdefaultlocale`)." msgstr "" -#: using/cmdline.rst:992 +#: using/cmdline.rst:990 msgid "" "Configuring one of these locales (either explicitly or via the above " "implicit locale coercion) automatically enables the ``surrogateescape`` :ref:" @@ -1254,7 +1251,7 @@ msgid "" "envvar:`PYTHONIOENCODING` as usual." msgstr "" -#: using/cmdline.rst:999 +#: using/cmdline.rst:997 msgid "" "For debugging purposes, setting ``PYTHONCOERCECLOCALE=warn`` will cause " "Python to emit warning messages on ``stderr`` if either the locale coercion " @@ -1262,7 +1259,7 @@ msgid "" "active when the Python runtime is initialized." msgstr "" -#: using/cmdline.rst:1004 +#: using/cmdline.rst:1002 msgid "" "Also note that even when locale coercion is disabled, or when it fails to " "find a suitable target locale, :envvar:`PYTHONUTF8` will still activate by " @@ -1271,15 +1268,15 @@ msgid "" "system interfaces." msgstr "" -#: using/cmdline.rst:1010 +#: using/cmdline.rst:1008 msgid ":ref:`Availability `: Unix." msgstr "" -#: using/cmdline.rst:1012 +#: using/cmdline.rst:1010 msgid "See :pep:`538` for more details." msgstr "" -#: using/cmdline.rst:1018 +#: using/cmdline.rst:1016 msgid "" "If this environment variable is set to a non-empty string, enable :ref:" "`Python Development Mode `, introducing additional runtime checks " @@ -1287,31 +1284,31 @@ msgid "" "setting the :option:`-X` ``dev`` option." msgstr "" -#: using/cmdline.rst:1027 +#: using/cmdline.rst:1025 msgid "If set to ``1``, enable the :ref:`Python UTF-8 Mode `." msgstr "" -#: using/cmdline.rst:1029 +#: using/cmdline.rst:1027 msgid "If set to ``0``, disable the :ref:`Python UTF-8 Mode `." msgstr "" -#: using/cmdline.rst:1031 +#: using/cmdline.rst:1029 msgid "" "Setting any other non-empty string causes an error during interpreter " "initialisation." msgstr "" -#: using/cmdline.rst:1038 +#: using/cmdline.rst:1036 msgid "" "If this environment variable is set to a non-empty string, issue a :class:" "`EncodingWarning` when the locale-specific default encoding is used." msgstr "" -#: using/cmdline.rst:1041 +#: using/cmdline.rst:1039 msgid "See :ref:`io-encoding-warning` for details." msgstr "" -#: using/cmdline.rst:1047 +#: using/cmdline.rst:1045 msgid "" "If this variable is set, it disables the inclusion of the tables mapping " "extra location information (end line, start column offset and end column " @@ -1320,38 +1317,38 @@ msgid "" "visual location indicators when the interpreter displays tracebacks." msgstr "" -#: using/cmdline.rst:1057 +#: using/cmdline.rst:1055 msgid "" "If this variable is set to a nonzero value, it enables support for the Linux " "``perf`` profiler so Python calls can be detected by it." msgstr "" -#: using/cmdline.rst:1060 +#: using/cmdline.rst:1058 msgid "If set to ``0``, disable Linux ``perf`` profiler support." msgstr "" -#: using/cmdline.rst:1062 +#: using/cmdline.rst:1060 msgid "" "See also the :option:`-X perf <-X>` command-line option and :ref:" "`perf_profiling`." msgstr "" -#: using/cmdline.rst:1069 +#: using/cmdline.rst:1067 msgid "Debug-mode variables" msgstr "" -#: using/cmdline.rst:1073 +#: using/cmdline.rst:1071 msgid "" "If set, Python will dump objects and reference counts still alive after " "shutting down the interpreter." msgstr "" -#: using/cmdline.rst:1083 +#: using/cmdline.rst:1081 msgid "" "Need Python configured with the :option:`--with-trace-refs` build option." msgstr "" -#: using/cmdline.rst:1080 +#: using/cmdline.rst:1078 msgid "" "If set, Python will dump objects and reference counts still alive after " "shutting down the interpreter into a file called *FILENAME*." diff --git a/whatsnew/2.0.po b/whatsnew/2.0.po index db1655d01..890a2babf 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-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1244,10 +1244,10 @@ msgstr "" msgid "" "Lots of improvements and bugfixes were made to Python's extensive standard " "library; some of the affected modules include :mod:`readline`, :mod:" -"`ConfigParser`, :mod:`cgi`, :mod:`calendar`, :mod:`posix`, :mod:`readline`, :" -"mod:`xmllib`, :mod:`aifc`, :mod:`chunk, wave`, :mod:`random`, :mod:`shelve`, " -"and :mod:`nntplib`. Consult the CVS logs for the exact patch-by-patch " -"details." +"`ConfigParser `, :mod:`cgi`, :mod:`calendar`, :mod:`posix`, :" +"mod:`readline`, :mod:`xmllib`, :mod:`aifc`, :mod:`chunk, wave`, :mod:" +"`random`, :mod:`shelve`, and :mod:`nntplib`. Consult the CVS logs for the " +"exact patch-by-patch details." msgstr "" #: whatsnew/2.0.rst:1037 diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index 769bc6ae4..6debb1a35 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -475,7 +475,7 @@ msgstr "" msgid ":pep:`229` - Using Distutils to Build Python" msgstr "" -#: whatsnew/2.1.rst:574 +#: whatsnew/2.1.rst:575 msgid "Written and implemented by A.M. Kuchling." msgstr "" @@ -559,23 +559,23 @@ msgstr "" msgid "" "In Python 2.1, functions can now have arbitrary information attached to " "them. People were often using docstrings to hold information about functions " -"and methods, because the ``__doc__`` attribute was the only way of attaching " -"any information to a function. For example, in the Zope web application " -"server, functions are marked as safe for public access by having a " -"docstring, and in John Aycock's SPARK parsing framework, docstrings hold " -"parts of the BNF grammar to be parsed. This overloading is unfortunate, " -"since docstrings are really intended to hold a function's documentation; for " -"example, it means you can't properly document functions intended for private " -"use in Zope." +"and methods, because the :attr:`~function.__doc__` attribute was the only " +"way of attaching any information to a function. For example, in the Zope " +"web application server, functions are marked as safe for public access by " +"having a docstring, and in John Aycock's SPARK parsing framework, docstrings " +"hold parts of the BNF grammar to be parsed. This overloading is " +"unfortunate, since docstrings are really intended to hold a function's " +"documentation; for example, it means you can't properly document functions " +"intended for private use in Zope." msgstr "" -#: whatsnew/2.1.rst:435 +#: whatsnew/2.1.rst:436 msgid "" "Arbitrary attributes can now be set and retrieved on functions using the " "regular Python syntax::" msgstr "" -#: whatsnew/2.1.rst:444 +#: whatsnew/2.1.rst:445 msgid "" "The dictionary containing attributes can be accessed as the function's :attr:" "`~object.__dict__`. Unlike the :attr:`~object.__dict__` attribute of class " @@ -585,19 +585,19 @@ msgid "" "instance, or any other random object that behaves like a mapping." msgstr "" -#: whatsnew/2.1.rst:454 +#: whatsnew/2.1.rst:455 msgid ":pep:`232` - Function Attributes" msgstr "" -#: whatsnew/2.1.rst:455 +#: whatsnew/2.1.rst:456 msgid "Written and implemented by Barry Warsaw." msgstr "" -#: whatsnew/2.1.rst:461 +#: whatsnew/2.1.rst:462 msgid "PEP 235: Importing Modules on Case-Insensitive Platforms" msgstr "" -#: whatsnew/2.1.rst:463 +#: whatsnew/2.1.rst:464 msgid "" "Some operating systems have filesystems that are case-insensitive, MacOS and " "Windows being the primary examples; on these systems, it's impossible to " @@ -605,7 +605,7 @@ msgid "" "store the file's name in its original case (they're case-preserving, too)." msgstr "" -#: whatsnew/2.1.rst:468 +#: whatsnew/2.1.rst:469 msgid "" "In Python 2.1, the :keyword:`import` statement will work to simulate case-" "sensitivity on case-insensitive platforms. Python will now search for the " @@ -615,11 +615,11 @@ msgid "" "`PYTHONCASEOK` environment variable before starting the Python interpreter." msgstr "" -#: whatsnew/2.1.rst:479 +#: whatsnew/2.1.rst:480 msgid "PEP 217: Interactive Display Hook" msgstr "" -#: whatsnew/2.1.rst:481 +#: whatsnew/2.1.rst:482 msgid "" "When using the Python interpreter interactively, the output of commands is " "displayed using the built-in :func:`repr` function. In Python 2.1, the " @@ -628,26 +628,26 @@ msgid "" "pretty-printing function::" msgstr "" -#: whatsnew/2.1.rst:502 +#: whatsnew/2.1.rst:503 msgid ":pep:`217` - Display Hook for Interactive Use" msgstr "" -#: whatsnew/2.1.rst:503 +#: whatsnew/2.1.rst:504 msgid "Written and implemented by Moshe Zadka." msgstr "" -#: whatsnew/2.1.rst:509 +#: whatsnew/2.1.rst:510 msgid "PEP 208: New Coercion Model" msgstr "" -#: whatsnew/2.1.rst:511 +#: whatsnew/2.1.rst:512 msgid "" "How numeric coercion is done at the C level was significantly modified. " "This will only affect the authors of C extensions to Python, allowing them " "more flexibility in writing extension types that support numeric operations." msgstr "" -#: whatsnew/2.1.rst:515 +#: whatsnew/2.1.rst:516 msgid "" "Extension types can now set the type flag ``Py_TPFLAGS_CHECKTYPES`` in their " "``PyTypeObject`` structure to indicate that they support the new coercion " @@ -665,22 +665,22 @@ msgid "" "object's numeric methods)." msgstr "" -#: whatsnew/2.1.rst:534 +#: whatsnew/2.1.rst:535 msgid ":pep:`208` - Reworking the Coercion Model" msgstr "" -#: whatsnew/2.1.rst:533 +#: whatsnew/2.1.rst:534 msgid "" "Written and implemented by Neil Schemenauer, heavily based upon earlier work " "by Marc-André Lemburg. Read this to understand the fine points of how " "numeric operations will now be processed at the C level." msgstr "" -#: whatsnew/2.1.rst:541 +#: whatsnew/2.1.rst:542 msgid "PEP 241: Metadata in Python Packages" msgstr "" -#: whatsnew/2.1.rst:543 +#: whatsnew/2.1.rst:544 msgid "" "A common complaint from Python users is that there's no single catalog of " "all the Python modules in existence. T. Middleton's Vaults of Parnassus at " @@ -691,7 +691,7 @@ msgid "" "bother." msgstr "" -#: whatsnew/2.1.rst:551 +#: whatsnew/2.1.rst:552 msgid "" "As a first small step toward fixing the problem, Python software packaged " "using the Distutils :command:`sdist` command will include a file named :file:" @@ -707,7 +707,7 @@ msgid "" "would automatically upload your package to a catalog server." msgstr "" -#: whatsnew/2.1.rst:564 +#: whatsnew/2.1.rst:565 msgid "" "You can start creating packages containing :file:`PKG-INFO` even if you're " "not using Python 2.1, since a new release of the Distutils will be made for " @@ -717,25 +717,25 @@ msgid "" "python.org/community/sigs/current/distutils-sig/." msgstr "" -#: whatsnew/2.1.rst:574 +#: whatsnew/2.1.rst:575 msgid ":pep:`241` - Metadata for Python Software Packages" msgstr "" -#: whatsnew/2.1.rst:577 +#: whatsnew/2.1.rst:578 msgid ":pep:`243` - Module Repository Upload Mechanism" msgstr "" -#: whatsnew/2.1.rst:577 +#: whatsnew/2.1.rst:578 msgid "" "Written by Sean Reifschneider, this draft PEP describes a proposed mechanism " "for uploading Python packages to a central server." msgstr "" -#: whatsnew/2.1.rst:584 +#: whatsnew/2.1.rst:585 msgid "New and Improved Modules" msgstr "" -#: whatsnew/2.1.rst:586 +#: whatsnew/2.1.rst:587 msgid "" "Ka-Ping Yee contributed two new modules: :mod:`inspect.py`, a module for " "getting information about live Python code, and :mod:`pydoc.py`, a module " @@ -745,13 +745,13 @@ msgid "" "name. For example, ``pydoc xml.dom`` displays the following::" msgstr "" -#: whatsnew/2.1.rst:608 +#: whatsnew/2.1.rst:609 msgid "" ":file:`pydoc` also includes a Tk-based interactive help browser. :file:" "`pydoc` quickly becomes addictive; try it out!" msgstr "" -#: whatsnew/2.1.rst:611 +#: whatsnew/2.1.rst:612 msgid "" "Two different modules for unit testing were added to the standard library. " "The :mod:`doctest` module, contributed by Tim Peters, provides a testing " @@ -762,7 +762,7 @@ msgid "" "sourceforge.net/ for more information about PyUnit." msgstr "" -#: whatsnew/2.1.rst:619 +#: whatsnew/2.1.rst:620 msgid "" "The :mod:`difflib` module contains a class, :class:`SequenceMatcher`, which " "compares two sequences and computes the changes required to transform one " @@ -772,7 +772,7 @@ msgid "" "script." msgstr "" -#: whatsnew/2.1.rst:625 +#: whatsnew/2.1.rst:626 msgid "" ":mod:`curses.panel`, a wrapper for the panel library, part of ncurses and of " "SYSV curses, was contributed by Thomas Gellekum. The panel library provides " @@ -781,7 +781,7 @@ msgid "" "overlap and which sections are visible." msgstr "" -#: whatsnew/2.1.rst:631 +#: whatsnew/2.1.rst:632 msgid "" "The PyXML package has gone through a few releases since Python 2.0, and " "Python 2.1 includes an updated version of the :mod:`xml` package. Some of " @@ -790,7 +790,7 @@ msgid "" "Python, and various bugfixes for SAX, DOM, and the :mod:`minidom` module." msgstr "" -#: whatsnew/2.1.rst:637 +#: whatsnew/2.1.rst:638 msgid "" "Ping also contributed another hook for handling uncaught exceptions. :func:" "`sys.excepthook` can be set to a callable object. When an exception isn't " @@ -802,7 +802,7 @@ msgid "" "each frame." msgstr "" -#: whatsnew/2.1.rst:645 +#: whatsnew/2.1.rst:646 msgid "" "Various functions in the :mod:`time` module, such as :func:`asctime` and :" "func:`localtime`, require a floating point argument containing the time in " @@ -814,11 +814,11 @@ msgid "" "``time.asctime(time.localtime(time.time()))`` that was previously required." msgstr "" -#: whatsnew/2.1.rst:654 +#: whatsnew/2.1.rst:655 msgid "This change was proposed and implemented by Thomas Wouters." msgstr "" -#: whatsnew/2.1.rst:656 +#: whatsnew/2.1.rst:657 msgid "" "The :mod:`ftplib` module now defaults to retrieving files in passive mode, " "because passive mode is more likely to work from behind a firewall. This " @@ -830,20 +830,20 @@ msgid "" "``set_pasv(0)`` on FTP objects to disable passive mode." msgstr "" -#: whatsnew/2.1.rst:665 +#: whatsnew/2.1.rst:666 msgid "" "Support for raw socket access has been added to the :mod:`socket` module, " "contributed by Grant Edwards." msgstr "" -#: whatsnew/2.1.rst:668 +#: whatsnew/2.1.rst:669 msgid "" "The :mod:`pstats` module now contains a simple interactive statistics " "browser for displaying timing profiles for Python programs, invoked when the " "module is run as a script. Contributed by Eric S. Raymond." msgstr "" -#: whatsnew/2.1.rst:672 +#: whatsnew/2.1.rst:673 msgid "" "A new implementation-dependent function, ``sys._getframe([depth])``, has " "been added to return a given frame object from the current call stack. :func:" @@ -853,18 +853,18 @@ msgid "" "_getframe(1)`` returns the caller's frame object." msgstr "" -#: whatsnew/2.1.rst:679 +#: whatsnew/2.1.rst:680 msgid "" "This function is only present in CPython, not in Jython or the .NET " "implementation. Use it for debugging, and resist the temptation to put it " "into production code." msgstr "" -#: whatsnew/2.1.rst:687 +#: whatsnew/2.1.rst:688 msgid "Other Changes and Fixes" msgstr "" -#: whatsnew/2.1.rst:689 +#: whatsnew/2.1.rst:690 msgid "" "There were relatively few smaller changes made in Python 2.1 due to the " "shorter release cycle. A search through the CVS change logs turns up 117 " @@ -872,7 +872,7 @@ msgid "" "underestimates. Some of the more notable changes are:" msgstr "" -#: whatsnew/2.1.rst:694 +#: whatsnew/2.1.rst:695 msgid "" "A specialized object allocator is now optionally available, that should be " "faster than the system :c:func:`malloc` and have less memory overhead. The " @@ -883,7 +883,7 @@ msgid "" "details." msgstr "" -#: whatsnew/2.1.rst:701 +#: whatsnew/2.1.rst:702 msgid "" "Authors of C extension modules should test their code with the object " "allocator enabled, because some incorrect code may break, causing core dumps " @@ -900,11 +900,11 @@ msgid "" "same problem." msgstr "" -#: whatsnew/2.1.rst:714 +#: whatsnew/2.1.rst:715 msgid "The object allocator was contributed by Vladimir Marangozov." msgstr "" -#: whatsnew/2.1.rst:716 +#: whatsnew/2.1.rst:717 msgid "" "The speed of line-oriented file I/O has been improved because people often " "complain about its lack of speed, and because it's often been used as a " @@ -916,7 +916,7 @@ msgid "" "this change, motivated by a discussion in comp.lang.python." msgstr "" -#: whatsnew/2.1.rst:725 +#: whatsnew/2.1.rst:726 msgid "" "A new module and method for file objects was also added, contributed by Jeff " "Epler. The new method, :meth:`xreadlines`, is similar to the existing :func:" @@ -926,14 +926,14 @@ msgid "" "`readlines` method does. You'd use it like this::" msgstr "" -#: whatsnew/2.1.rst:736 +#: whatsnew/2.1.rst:737 msgid "" "For a fuller discussion of the line I/O changes, see the python-dev summary " "for January 1--15, 2001 at https://mail.python.org/pipermail/python-dev/2001-" "January/." msgstr "" -#: whatsnew/2.1.rst:739 +#: whatsnew/2.1.rst:740 msgid "" "A new method, :meth:`popitem`, was added to dictionaries to enable " "destructively iterating through the contents of a dictionary; this can be " @@ -944,7 +944,7 @@ msgid "" "suggestion and preliminary patch by Moshe Zadka." msgstr "" -#: whatsnew/2.1.rst:747 +#: whatsnew/2.1.rst:748 msgid "" "Modules can now control which names are imported when ``from module import " "*`` is used, by defining an ``__all__`` attribute containing a list of names " @@ -954,14 +954,14 @@ msgid "" "the public names in ``__all__``::" msgstr "" -#: whatsnew/2.1.rst:757 +#: whatsnew/2.1.rst:758 msgid "" "A stricter version of this patch was first suggested and implemented by Ben " "Wolfson, but after some python-dev discussion, a weaker final version was " "checked in." msgstr "" -#: whatsnew/2.1.rst:761 +#: whatsnew/2.1.rst:762 msgid "" "Applying :func:`repr` to strings previously used octal escapes for non-" "printable characters; for example, a newline was ``'\\012'``. This was a " @@ -971,14 +971,14 @@ msgid "" "characters, and implemented this new formatting." msgstr "" -#: whatsnew/2.1.rst:768 +#: whatsnew/2.1.rst:769 msgid "" "Syntax errors detected at compile-time can now raise exceptions containing " "the filename and line number of the error, a pleasant side effect of the " "compiler reorganization done by Jeremy Hylton." msgstr "" -#: whatsnew/2.1.rst:772 +#: whatsnew/2.1.rst:773 msgid "" "C extensions which import other modules have been changed to use :c:func:" "`PyImport_ImportModule`, which means that they will use any import hooks " @@ -986,31 +986,31 @@ msgid "" "extensions that need to import some other module from C code." msgstr "" -#: whatsnew/2.1.rst:777 +#: whatsnew/2.1.rst:778 msgid "" "The size of the Unicode character database was shrunk by another 340K thanks " "to Fredrik Lundh." msgstr "" -#: whatsnew/2.1.rst:780 +#: whatsnew/2.1.rst:781 msgid "" "Some new ports were contributed: MacOS X (by Steven Majewski), Cygwin (by " "Jason Tishler); RISCOS (by Dietmar Schwertberger); Unixware 7 (by Billy G. " "Allie)." msgstr "" -#: whatsnew/2.1.rst:784 +#: whatsnew/2.1.rst:785 msgid "" "And there's the usual list of minor bugfixes, minor memory leaks, docstring " "edits, and other tweaks, too lengthy to be worth itemizing; see the CVS logs " "for the full details if you want them." msgstr "" -#: whatsnew/2.1.rst:792 +#: whatsnew/2.1.rst:793 msgid "Acknowledgements" msgstr "" -#: whatsnew/2.1.rst:794 +#: whatsnew/2.1.rst:795 msgid "" "The author would like to thank the following people for offering suggestions " "on various drafts of this article: Graeme Cross, David Goodger, Jay Graves, " diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index 8ccf65b91..c3243f29c 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-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -72,10 +72,10 @@ msgstr "" #: whatsnew/2.3.rst:43 msgid "" -"The new :mod:`sets` module contains an implementation of a set datatype. " +"The new :mod:`!sets` module contains an implementation of a set datatype. " "The :class:`Set` class is for mutable sets, sets that can have members added " -"and removed. The :class:`ImmutableSet` class is for sets that can't be " -"modified, and instances of :class:`ImmutableSet` can therefore be used as " +"and removed. The :class:`!ImmutableSet` class is for sets that can't be " +"modified, and instances of :class:`!ImmutableSet` can therefore be used as " "dictionary keys. Sets are built on top of dictionaries, so the elements " "within a set must be hashable." msgstr "" @@ -86,10 +86,11 @@ msgstr "" #: whatsnew/2.3.rst:66 msgid "" -"The union and intersection of sets can be computed with the :meth:`union` " -"and :meth:`intersection` methods; an alternative notation uses the bitwise " -"operators ``&`` and ``|``. Mutable sets also have in-place versions of these " -"methods, :meth:`union_update` and :meth:`intersection_update`. ::" +"The union and intersection of sets can be computed with the :meth:" +"`~frozenset.union` and :meth:`~frozenset.intersection` methods; an " +"alternative notation uses the bitwise operators ``&`` and ``|``. Mutable " +"sets also have in-place versions of these methods, :meth:`!union_update` " +"and :meth:`~frozenset.intersection_update`. ::" msgstr "" #: whatsnew/2.3.rst:86 @@ -99,13 +100,13 @@ msgid "" "Another way of putting it is that the symmetric difference contains all " "elements that are in exactly one set. Again, there's an alternative " "notation (``^``), and an in-place version with the ungainly name :meth:" -"`symmetric_difference_update`. ::" +"`~frozenset.symmetric_difference_update`. ::" msgstr "" #: whatsnew/2.3.rst:100 msgid "" -"There are also :meth:`issubset` and :meth:`issuperset` methods for checking " -"whether one set is a subset or superset of another::" +"There are also :meth:`!issubset` and :meth:`!issuperset` methods for " +"checking whether one set is a subset or superset of another::" msgstr "" #: whatsnew/2.3.rst:117 @@ -175,7 +176,7 @@ msgid "" msgstr "" #: whatsnew/2.3.rst:169 -msgid "Here's a sample usage of the :func:`generate_ints` generator::" +msgid "Here's a sample usage of the :func:`!generate_ints` generator::" msgstr "" #: whatsnew/2.3.rst:186 @@ -229,11 +230,12 @@ msgstr "" #: whatsnew/2.3.rst:230 msgid "" -"In Icon the :func:`find` function returns the indexes at which the substring " -"\"or\" is found: 3, 23, 33. In the :keyword:`if` statement, ``i`` is first " -"assigned a value of 3, but 3 is less than 5, so the comparison fails, and " -"Icon retries it with the second value of 23. 23 is greater than 5, so the " -"comparison now succeeds, and the code prints the value 23 to the screen." +"In Icon the :func:`!find` function returns the indexes at which the " +"substring \"or\" is found: 3, 23, 33. In the :keyword:`if` statement, ``i`` " +"is first assigned a value of 3, but 3 is less than 5, so the comparison " +"fails, and Icon retries it with the second value of 23. 23 is greater than " +"5, so the comparison now succeeds, and the code prints the value 23 to the " +"screen." msgstr "" #: whatsnew/2.3.rst:236 @@ -356,7 +358,7 @@ msgid "" "the file system) for all functions that expect file names, most notably the :" "func:`open` built-in function. If a Unicode string is passed to :func:`os." "listdir`, Python now returns a list of Unicode strings. A new function, :" -"func:`os.getcwdu`, returns the current directory as a Unicode string." +"func:`!os.getcwdu`, returns the current directory as a Unicode string." msgstr "" #: whatsnew/2.3.rst:350 @@ -409,15 +411,15 @@ msgid "" "the mode ``'U'`` or ``'rU'`` will open a file for reading in :term:" "`universal newlines` mode. All three line ending conventions will be " "translated to a ``'\\n'`` in the strings returned by the various file " -"methods such as :meth:`read` and :meth:`readline`." +"methods such as :meth:`!read` and :meth:`!readline`." msgstr "" #: whatsnew/2.3.rst:391 msgid "" "Universal newline support is also used when importing modules and when " -"executing a file with the :func:`execfile` function. This means that Python " -"modules can be shared between all three operating systems without needing to " -"convert the line-endings." +"executing a file with the :func:`!execfile` function. This means that " +"Python modules can be shared between all three operating systems without " +"needing to convert the line-endings." msgstr "" #: whatsnew/2.3.rst:396 @@ -481,17 +483,17 @@ msgstr "" #: whatsnew/2.3.rst:453 msgid "" -"The :class:`Logger` class is the primary class. Most application code will " -"deal with one or more :class:`Logger` objects, each one used by a particular " -"subsystem of the application. Each :class:`Logger` is identified by a name, " -"and names are organized into a hierarchy using ``.`` as the component " -"separator. For example, you might have :class:`Logger` instances named " -"``server``, ``server.auth`` and ``server.network``. The latter two " -"instances are below ``server`` in the hierarchy. This means that if you " -"turn up the verbosity for ``server`` or direct ``server`` messages to a " -"different handler, the changes will also apply to records logged to ``server." -"auth`` and ``server.network``. There's also a root :class:`Logger` that's " -"the parent of all other loggers." +"The :class:`~logging.Logger` class is the primary class. Most application " +"code will deal with one or more :class:`~logging.Logger` objects, each one " +"used by a particular subsystem of the application. Each :class:`~logging." +"Logger` is identified by a name, and names are organized into a hierarchy " +"using ``.`` as the component separator. For example, you might have :class:" +"`~logging.Logger` instances named ``server``, ``server.auth`` and ``server." +"network``. The latter two instances are below ``server`` in the hierarchy. " +"This means that if you turn up the verbosity for ``server`` or direct " +"``server`` messages to a different handler, the changes will also apply to " +"records logged to ``server.auth`` and ``server.network``. There's also a " +"root :class:`~logging.Logger` that's the parent of all other loggers." msgstr "" #: whatsnew/2.3.rst:464 @@ -509,21 +511,22 @@ msgid "" "In the default configuration, informational and debugging messages are " "suppressed and the output is sent to standard error. You can enable the " "display of informational and debugging messages by calling the :meth:" -"`setLevel` method on the root logger." +"`~logging.Logger.setLevel` method on the root logger." msgstr "" #: whatsnew/2.3.rst:486 msgid "" -"Notice the :func:`warning` call's use of string formatting operators; all of " -"the functions for logging messages take the arguments ``(msg, arg1, " -"arg2, ...)`` and log the string resulting from ``msg % (arg1, arg2, ...)``." +"Notice the :func:`~logging.warning` call's use of string formatting " +"operators; all of the functions for logging messages take the arguments " +"``(msg, arg1, arg2, ...)`` and log the string resulting from ``msg % (arg1, " +"arg2, ...)``." msgstr "" #: whatsnew/2.3.rst:490 msgid "" -"There's also an :func:`exception` function that records the most recent " -"traceback. Any of the other functions will also record the traceback if you " -"specify a true value for the keyword argument *exc_info*. ::" +"There's also an :func:`~logging.exception` function that records the most " +"recent traceback. Any of the other functions will also record the traceback " +"if you specify a true value for the keyword argument *exc_info*. ::" msgstr "" #: whatsnew/2.3.rst:508 @@ -538,21 +541,22 @@ msgstr "" msgid "" "Log records are usually propagated up the hierarchy, so a message logged to " "``server.auth`` is also seen by ``server`` and ``root``, but a :class:" -"`Logger` can prevent this by setting its :attr:`propagate` attribute to :" -"const:`False`." +"`~logging.Logger` can prevent this by setting its :attr:`~logging.Logger." +"propagate` attribute to :const:`False`." msgstr "" #: whatsnew/2.3.rst:523 msgid "" "There are more classes provided by the :mod:`logging` package that can be " -"customized. When a :class:`Logger` instance is told to log a message, it " -"creates a :class:`LogRecord` instance that is sent to any number of " -"different :class:`Handler` instances. Loggers and handlers can also have an " -"attached list of filters, and each filter can cause the :class:`LogRecord` " -"to be ignored or can modify the record before passing it along. When " -"they're finally output, :class:`LogRecord` instances are converted to text " -"by a :class:`Formatter` class. All of these classes can be replaced by your " -"own specially written classes." +"customized. When a :class:`~logging.Logger` instance is told to log a " +"message, it creates a :class:`~logging.LogRecord` instance that is sent to " +"any number of different :class:`~logging.Handler` instances. Loggers and " +"handlers can also have an attached list of filters, and each filter can " +"cause the :class:`~logging.LogRecord` to be ignored or can modify the record " +"before passing it along. When they're finally output, :class:`~logging." +"LogRecord` instances are converted to text by a :class:`~logging.Formatter` " +"class. All of these classes can be replaced by your own specially written " +"classes." msgstr "" #: whatsnew/2.3.rst:533 @@ -579,7 +583,7 @@ msgstr "" #: whatsnew/2.3.rst:552 msgid "" "A Boolean type was added to Python 2.3. Two new constants were added to " -"the :mod:`__builtin__` module, :const:`True` and :const:`False`. (:const:" +"the :mod:`!__builtin__` module, :const:`True` and :const:`False`. (:const:" "`True` and :const:`False` constants were added to the built-ins in Python " "2.2.1, but the 2.2.1 versions are simply set to integer values of 1 and 0 " "and aren't a different type.)" @@ -702,7 +706,7 @@ msgstr "" #: whatsnew/2.3.rst:664 msgid "" "To make the catalog a bit more useful, a new optional *classifiers* keyword " -"argument has been added to the Distutils :func:`setup` function. A list of " +"argument has been added to the Distutils :func:`!setup` function. A list of " "`Trove `_-style strings can be supplied to help " "classify the software." msgstr "" @@ -733,18 +737,18 @@ msgstr "" #: whatsnew/2.3.rst:705 msgid "" -"While it's been possible to write custom import hooks ever since the :mod:" -"`ihooks` module was introduced in Python 1.3, no one has ever been really " +"While it's been possible to write custom import hooks ever since the :mod:`!" +"ihooks` module was introduced in Python 1.3, no one has ever been really " "happy with it because writing new import hooks is difficult and messy. " -"There have been various proposed alternatives such as the :mod:`imputil` " -"and :mod:`iu` modules, but none of them has ever gained much acceptance, and " -"none of them were easily usable from C code." +"There have been various proposed alternatives such as the :mod:`!imputil` " +"and :mod:`!iu` modules, but none of them has ever gained much acceptance, " +"and none of them were easily usable from C code." msgstr "" #: whatsnew/2.3.rst:712 msgid "" ":pep:`302` borrows ideas from its predecessors, especially from Gordon " -"McMillan's :mod:`iu` module. Three new items are added to the :mod:`sys` " +"McMillan's :mod:`!iu` module. Three new items are added to the :mod:`sys` " "module:" msgstr "" @@ -823,9 +827,9 @@ msgstr "" #: whatsnew/2.3.rst:793 msgid "" -"The :func:`reader` function takes a number of different options. The field " -"separator isn't limited to the comma and can be changed to any character, " -"and so can the quoting and line-ending characters." +"The :func:`~csv.reader` function takes a number of different options. The " +"field separator isn't limited to the comma and can be changed to any " +"character, and so can the quoting and line-ending characters." msgstr "" #: whatsnew/2.3.rst:797 @@ -852,7 +856,7 @@ msgstr "" #: whatsnew/2.3.rst:817 msgid "" -"The :mod:`pickle` and :mod:`cPickle` modules received some attention during " +"The :mod:`pickle` and :mod:`!cPickle` modules received some attention during " "the 2.3 development cycle. In 2.2, new-style classes could be pickled " "without difficulty, but they weren't pickled very compactly; :pep:`307` " "quotes a trivial example where a new-style class results in a pickled string " @@ -873,7 +877,7 @@ msgstr "" msgid "" "Unpickling is no longer considered a safe operation. 2.2's :mod:`pickle` " "provided hooks for trying to prevent unsafe classes from being unpickled " -"(specifically, a :attr:`__safe_for_unpickling__` attribute), but none of " +"(specifically, a :attr:`!__safe_for_unpickling__` attribute), but none of " "this code was ever audited and therefore it's all been ripped out in 2.3. " "You should not unpickle untrusted data in any version of Python." msgstr "" @@ -881,9 +885,10 @@ msgstr "" #: whatsnew/2.3.rst:836 msgid "" "To reduce the pickling overhead for new-style classes, a new interface for " -"customizing pickling was added using three special methods: :meth:" -"`__getstate__`, :meth:`__setstate__`, and :meth:`__getnewargs__`. Consult :" -"pep:`307` for the full semantics of these methods." +"customizing pickling was added using three special methods: :meth:`~object." +"__getstate__`, :meth:`~object.__setstate__`, and :meth:`~object." +"__getnewargs__`. Consult :pep:`307` for the full semantics of these " +"methods." msgstr "" #: whatsnew/2.3.rst:841 @@ -966,10 +971,10 @@ msgid "" "To simplify implementing sequences that support extended slicing, slice " "objects now have a method ``indices(length)`` which, given the length of a " "sequence, returns a ``(start, stop, step)`` tuple that can be passed " -"directly to :func:`range`. :meth:`indices` handles omitted and out-of-bounds " -"indices in a manner consistent with regular slices (and this innocuous " -"phrase hides a welter of confusing details!). The method is intended to be " -"used like this::" +"directly to :func:`range`. :meth:`!indices` handles omitted and out-of-" +"bounds indices in a manner consistent with regular slices (and this " +"innocuous phrase hides a welter of confusing details!). The method is " +"intended to be used like this::" msgstr "" #: whatsnew/2.3.rst:957 @@ -1088,7 +1093,7 @@ msgstr "" msgid "" "Most type objects are now callable, so you can use them to create new " "objects such as functions, classes, and modules. (This means that the :mod:" -"`new` module can be deprecated in a future Python version, because you can " +"`!new` module can be deprecated in a future Python version, because you can " "now use the type objects available in the :mod:`types` module.) For example, " "you can create a new module object with the following code:" msgstr "" @@ -1119,11 +1124,11 @@ msgstr "" #: whatsnew/2.3.rst:1072 msgid "" -"The :meth:`xreadlines` method of file objects, introduced in Python 2.1, is " -"no longer necessary because files now behave as their own iterator. :meth:" -"`xreadlines` was originally introduced as a faster way to loop over all the " +"The :meth:`!xreadlines` method of file objects, introduced in Python 2.1, is " +"no longer necessary because files now behave as their own iterator. :meth:`!" +"xreadlines` was originally introduced as a faster way to loop over all the " "lines in a file, but now you can simply write ``for line in file_obj``. File " -"objects also have a new read-only :attr:`encoding` attribute that gives the " +"objects also have a new read-only :attr:`!encoding` attribute that gives the " "encoding used by the file; Unicode strings written to the file will be " "automatically converted to bytes using the given encoding." msgstr "" @@ -1152,7 +1157,7 @@ msgid "" "switching overhead. Some multithreaded applications may suffer slower " "response time, but that's easily fixed by setting the limit back to a lower " "number using ``sys.setcheckinterval(N)``. The limit can be retrieved with " -"the new :func:`sys.getcheckinterval` function." +"the new :func:`!sys.getcheckinterval` function." msgstr "" #: whatsnew/2.3.rst:1101 @@ -1160,7 +1165,7 @@ msgid "" "One minor but far-reaching change is that the names of extension types " "defined by the modules included with Python now contain the module and a " "``'.'`` in front of the type name. For example, in Python 2.2, if you " -"created a socket and printed its :attr:`__class__`, you'd get this output::" +"created a socket and printed its :attr:`!__class__`, you'd get this output::" msgstr "" #: whatsnew/2.3.rst:1110 @@ -1193,14 +1198,14 @@ msgstr "" #: whatsnew/2.3.rst:1140 msgid "" "Note that this doesn't tell you where the substring starts; if you need that " -"information, use the :meth:`find` string method." +"information, use the :meth:`~str.find` string method." msgstr "" #: whatsnew/2.3.rst:1143 msgid "" -"The :meth:`strip`, :meth:`lstrip`, and :meth:`rstrip` string methods now " -"have an optional argument for specifying the characters to strip. The " -"default is still to remove all whitespace characters::" +"The :meth:`~str.strip`, :meth:`~str.lstrip`, and :meth:`~str.rstrip` string " +"methods now have an optional argument for specifying the characters to " +"strip. The default is still to remove all whitespace characters::" msgstr "" #: whatsnew/2.3.rst:1157 @@ -1209,16 +1214,16 @@ msgstr "" #: whatsnew/2.3.rst:1159 msgid "" -"The :meth:`startswith` and :meth:`endswith` string methods now accept " -"negative numbers for the *start* and *end* parameters." +"The :meth:`~str.startswith` and :meth:`~str.endswith` string methods now " +"accept negative numbers for the *start* and *end* parameters." msgstr "" #: whatsnew/2.3.rst:1162 msgid "" -"Another new string method is :meth:`zfill`, originally a function in the :" -"mod:`string` module. :meth:`zfill` pads a numeric string with zeros on the " -"left until it's the specified width. Note that the ``%`` operator is still " -"more flexible and powerful than :meth:`zfill`. ::" +"Another new string method is :meth:`~str.zfill`, originally a function in " +"the :mod:`string` module. :meth:`~str.zfill` pads a numeric string with " +"zeros on the left until it's the specified width. Note that the ``%`` " +"operator is still more flexible and powerful than :meth:`~str.zfill`. ::" msgstr "" #: whatsnew/2.3.rst:1174 @@ -1227,10 +1232,10 @@ msgstr "" #: whatsnew/2.3.rst:1176 msgid "" -"A new type object, :class:`basestring`, has been added. Both 8-bit strings " +"A new type object, :class:`!basestring`, has been added. Both 8-bit strings " "and Unicode strings inherit from this type, so ``isinstance(obj, " "basestring)`` will return :const:`True` for either kind of string. It's a " -"completely abstract type, so you can't create :class:`basestring` instances." +"completely abstract type, so you can't create :class:`!basestring` instances." msgstr "" #: whatsnew/2.3.rst:1181 @@ -1252,8 +1257,8 @@ msgstr "" #: whatsnew/2.3.rst:1194 msgid "" -"The :meth:`sort` method of list objects has been extensively rewritten by " -"Tim Peters, and the implementation is significantly faster." +"The :meth:`~list.sort` method of list objects has been extensively rewritten " +"by Tim Peters, and the implementation is significantly faster." msgstr "" #: whatsnew/2.3.rst:1197 @@ -1274,7 +1279,7 @@ msgstr "" #: whatsnew/2.3.rst:1206 msgid "" -":func:`xrange` objects now have their own iterator, making ``for i in " +":func:`!xrange` objects now have their own iterator, making ``for i in " "xrange(n)`` slightly faster than ``for i in range(n)``. (Patch by Raymond " "Hettinger.)" msgstr "" @@ -1316,16 +1321,16 @@ msgstr "" #: whatsnew/2.3.rst:1233 msgid "" -"The :mod:`bsddb` module has been replaced by version 4.1.6 of the `PyBSDDB " +"The :mod:`!bsddb` module has been replaced by version 4.1.6 of the `PyBSDDB " "`_ package, providing a more complete " "interface to the transactional features of the BerkeleyDB library." msgstr "" #: whatsnew/2.3.rst:1237 msgid "" -"The old version of the module has been renamed to :mod:`bsddb185` and is no " -"longer built automatically; you'll have to edit :file:`Modules/Setup` to " -"enable it. Note that the new :mod:`bsddb` package is intended to be " +"The old version of the module has been renamed to :mod:`!bsddb185` and is " +"no longer built automatically; you'll have to edit :file:`Modules/Setup` to " +"enable it. Note that the new :mod:`!bsddb` package is intended to be " "compatible with the old module, so be sure to file bugs if you discover any " "incompatibilities. When upgrading to Python 2.3, if the new interpreter is " "compiled with a new version of the underlying BerkeleyDB library, you will " @@ -1333,8 +1338,8 @@ msgid "" "You can do this fairly easily with the new scripts :file:`db2pickle.py` and :" "file:`pickle2db.py` which you will find in the distribution's :file:`Tools/" "scripts` directory. If you've already been using the PyBSDDB package and " -"importing it as :mod:`bsddb3`, you will have to change your ``import`` " -"statements to import it as :mod:`bsddb`." +"importing it as :mod:`!bsddb3`, you will have to change your ``import`` " +"statements to import it as :mod:`!bsddb`." msgstr "" #: whatsnew/2.3.rst:1249 @@ -1352,12 +1357,12 @@ msgstr "" #: whatsnew/2.3.rst:1256 msgid "" -"The Distutils :class:`Extension` class now supports an extra constructor " +"The Distutils :class:`!Extension` class now supports an extra constructor " "argument named *depends* for listing additional source files that an " "extension depends on. This lets Distutils recompile the module if any of " "the dependency files are modified. For example, if :file:`sampmodule.c` " -"includes the header file :file:`sample.h`, you would create the :class:" -"`Extension` object like this::" +"includes the header file :file:`sample.h`, you would create the :class:`!" +"Extension` object like this::" msgstr "" #: whatsnew/2.3.rst:1267 @@ -1369,7 +1374,7 @@ msgstr "" #: whatsnew/2.3.rst:1270 msgid "" "Other minor changes to Distutils: it now checks for the :envvar:`CC`, :" -"envvar:`CFLAGS`, :envvar:`CPP`, :envvar:`LDFLAGS`, and :envvar:`CPPFLAGS` " +"envvar:`CFLAGS`, :envvar:`!CPP`, :envvar:`LDFLAGS`, and :envvar:`CPPFLAGS` " "environment variables, using them to override the settings in Python's " "configuration (contributed by Robert Weber)." msgstr "" @@ -1378,8 +1383,8 @@ msgstr "" msgid "" "Previously the :mod:`doctest` module would only search the docstrings of " "public methods and functions for test cases, but it now also examines " -"private ones as well. The :func:`DocTestSuite` function creates a :class:" -"`unittest.TestSuite` object from a set of :mod:`doctest` tests." +"private ones as well. The :func:`~doctest.DocTestSuite` function creates a :" +"class:`unittest.TestSuite` object from a set of :mod:`doctest` tests." msgstr "" #: whatsnew/2.3.rst:1280 @@ -1390,12 +1395,12 @@ msgstr "" #: whatsnew/2.3.rst:1283 msgid "" -"The :mod:`getopt` module gained a new function, :func:`gnu_getopt`, that " -"supports the same arguments as the existing :func:`getopt` function but uses " -"GNU-style scanning mode. The existing :func:`getopt` stops processing " -"options as soon as a non-option argument is encountered, but in GNU-style " -"mode processing continues, meaning that options and arguments can be mixed. " -"For example::" +"The :mod:`getopt` module gained a new function, :func:`~getopt.gnu_getopt`, " +"that supports the same arguments as the existing :func:`~getopt.getopt` " +"function but uses GNU-style scanning mode. The existing :func:`~getopt." +"getopt` stops processing options as soon as a non-option argument is " +"encountered, but in GNU-style mode processing continues, meaning that " +"options and arguments can be mixed. For example::" msgstr "" #: whatsnew/2.3.rst:1294 @@ -1425,10 +1430,10 @@ msgstr "" #: whatsnew/2.3.rst:1314 msgid "" -"The :mod:`heapq` module provides :func:`heappush` and :func:`heappop` " -"functions for adding and removing items while maintaining the heap property " -"on top of some other mutable Python sequence type. Here's an example that " -"uses a Python list::" +"The :mod:`heapq` module provides :func:`~heapq.heappush` and :func:`~heapq." +"heappop` functions for adding and removing items while maintaining the heap " +"property on top of some other mutable Python sequence type. Here's an " +"example that uses a Python list::" msgstr "" #: whatsnew/2.3.rst:1332 @@ -1456,7 +1461,7 @@ msgid "" "The :mod:`itertools` contains a number of useful functions for use with " "iterators, inspired by various functions provided by the ML and Haskell " "languages. For example, ``itertools.ifilter(predicate, iterator)`` returns " -"all elements in the iterator for which the function :func:`predicate` " +"all elements in the iterator for which the function :func:`!predicate` " "returns :const:`True`, and ``itertools.repeat(obj, N)`` returns ``obj`` *N* " "times. There are a number of other functions in the module; see the " "package's reference documentation for details. (Contributed by Raymond " @@ -1476,16 +1481,16 @@ msgstr "" #: whatsnew/2.3.rst:1359 msgid "" -"Several new POSIX functions (:func:`getpgid`, :func:`killpg`, :func:" -"`lchown`, :func:`loadavg`, :func:`major`, :func:`makedev`, :func:`minor`, " -"and :func:`mknod`) were added to the :mod:`posix` module that underlies the :" -"mod:`os` module. (Contributed by Gustavo Niemeyer, Geert Jansen, and Denis " -"S. Otkidach.)" +"Several new POSIX functions (:func:`!getpgid`, :func:`!killpg`, :func:`!" +"lchown`, :func:`!loadavg`, :func:`!major`, :func:`!makedev`, :func:`!minor`, " +"and :func:`!mknod`) were added to the :mod:`posix` module that underlies " +"the :mod:`os` module. (Contributed by Gustavo Niemeyer, Geert Jansen, and " +"Denis S. Otkidach.)" msgstr "" #: whatsnew/2.3.rst:1365 msgid "" -"In the :mod:`os` module, the :func:`\\*stat` family of functions can now " +"In the :mod:`os` module, the :func:`!\\*stat` family of functions can now " "report fractions of a second in a timestamp. Such time stamps are " "represented as floats, similar to the value returned by :func:`time.time`." msgstr "" @@ -1494,10 +1499,10 @@ msgstr "" msgid "" "During testing, it was found that some applications will break if time " "stamps are floats. For compatibility, when using the tuple interface of " -"the :class:`stat_result` time stamps will be represented as integers. When " -"using named fields (a feature first introduced in Python 2.2), time stamps " -"are still represented as integers, unless :func:`os.stat_float_times` is " -"invoked to enable float return values::" +"the :class:`~os.stat_result` time stamps will be represented as integers. " +"When using named fields (a feature first introduced in Python 2.2), time " +"stamps are still represented as integers, unless :func:`!os." +"stat_float_times` is invoked to enable float return values::" msgstr "" #: whatsnew/2.3.rst:1382 @@ -1522,7 +1527,7 @@ msgstr "" #: whatsnew/2.3.rst:1394 msgid "" -"The old and never-documented :mod:`linuxaudiodev` module has been " +"The old and never-documented :mod:`!linuxaudiodev` module has been " "deprecated, and a new version named :mod:`ossaudiodev` has been added. The " "module was renamed because the OSS sound drivers can be used on platforms " "other than Linux, and the interface has also been tidied and brought up to " @@ -1539,19 +1544,20 @@ msgstr "" #: whatsnew/2.3.rst:1405 msgid "" -"The parser objects provided by the :mod:`pyexpat` module can now optionally " -"buffer character data, resulting in fewer calls to your character data " -"handler and therefore faster performance. Setting the parser object's :attr:" -"`buffer_text` attribute to :const:`True` will enable buffering." +"The parser objects provided by the :mod:`pyexpat ` module " +"can now optionally buffer character data, resulting in fewer calls to your " +"character data handler and therefore faster performance. Setting the parser " +"object's :attr:`~xml.parsers.expat.xmlparser.buffer_text` attribute to :" +"const:`True` will enable buffering." msgstr "" #: whatsnew/2.3.rst:1410 msgid "" "The ``sample(population, k)`` function was added to the :mod:`random` " -"module. *population* is a sequence or :class:`xrange` object containing the " -"elements of a population, and :func:`sample` chooses *k* elements from the " -"population without replacing chosen elements. *k* can be any value up to " -"``len(population)``. For example::" +"module. *population* is a sequence or :class:`!xrange` object containing " +"the elements of a population, and :func:`~random.sample` chooses *k* " +"elements from the population without replacing chosen elements. *k* can be " +"any value up to ``len(population)``. For example::" msgstr "" #: whatsnew/2.3.rst:1432 @@ -1568,30 +1574,30 @@ msgstr "" #: whatsnew/2.3.rst:1438 msgid "" "The :mod:`readline` module also gained a number of new functions: :func:" -"`get_history_item`, :func:`get_current_history_length`, and :func:" -"`redisplay`." +"`~readline.get_history_item`, :func:`~readline.get_current_history_length`, " +"and :func:`~readline.redisplay`." msgstr "" #: whatsnew/2.3.rst:1442 msgid "" -"The :mod:`rexec` and :mod:`Bastion` modules have been declared dead, and " +"The :mod:`!rexec` and :mod:`!Bastion` modules have been declared dead, and " "attempts to import them will fail with a :exc:`RuntimeError`. New-style " "classes provide new ways to break out of the restricted execution " -"environment provided by :mod:`rexec`, and no one has interest in fixing them " -"or time to do so. If you have applications using :mod:`rexec`, rewrite them " -"to use something else." +"environment provided by :mod:`!rexec`, and no one has interest in fixing " +"them or time to do so. If you have applications using :mod:`!rexec`, " +"rewrite them to use something else." msgstr "" #: whatsnew/2.3.rst:1448 msgid "" "(Sticking with Python 2.2 or 2.1 will not make your applications any safer " -"because there are known bugs in the :mod:`rexec` module in those versions. " -"To repeat: if you're using :mod:`rexec`, stop using it immediately.)" +"because there are known bugs in the :mod:`!rexec` module in those versions. " +"To repeat: if you're using :mod:`!rexec`, stop using it immediately.)" msgstr "" #: whatsnew/2.3.rst:1452 msgid "" -"The :mod:`rotor` module has been deprecated because the algorithm it uses " +"The :mod:`!rotor` module has been deprecated because the algorithm it uses " "for encryption is not believed to be secure. If you need encryption, use " "one of the several AES Python modules that are available separately." msgstr "" @@ -1634,9 +1640,9 @@ msgstr "" #: whatsnew/2.3.rst:1477 msgid "" -"The value of the C :c:macro:`PYTHON_API_VERSION` macro is now exposed at the " -"Python level as ``sys.api_version``. The current exception can be cleared " -"by calling the new :func:`sys.exc_clear` function." +"The value of the C :c:macro:`!PYTHON_API_VERSION` macro is now exposed at " +"the Python level as ``sys.api_version``. The current exception can be " +"cleared by calling the new :func:`!sys.exc_clear` function." msgstr "" #: whatsnew/2.3.rst:1481 @@ -1652,23 +1658,25 @@ msgid "" "string and returns a list containing the text split into lines of no more " "than the chosen width. The ``fill(text, width)`` function returns a single " "string, reformatted to fit into lines no longer than the chosen width. (As " -"you can guess, :func:`fill` is built on top of :func:`wrap`. For example::" +"you can guess, :func:`~textwrap.fill` is built on top of :func:`~textwrap." +"wrap`. For example::" msgstr "" #: whatsnew/2.3.rst:1506 msgid "" -"The module also contains a :class:`TextWrapper` class that actually " -"implements the text wrapping strategy. Both the :class:`TextWrapper` class " -"and the :func:`wrap` and :func:`fill` functions support a number of " -"additional keyword arguments for fine-tuning the formatting; consult the " -"module's documentation for details. (Contributed by Greg Ward.)" +"The module also contains a :class:`~textwrap.TextWrapper` class that " +"actually implements the text wrapping strategy. Both the :class:`~textwrap." +"TextWrapper` class and the :func:`~textwrap.wrap` and :func:`~textwrap.fill` " +"functions support a number of additional keyword arguments for fine-tuning " +"the formatting; consult the module's documentation for details. (Contributed " +"by Greg Ward.)" msgstr "" #: whatsnew/2.3.rst:1512 msgid "" -"The :mod:`thread` and :mod:`threading` modules now have companion modules, :" -"mod:`dummy_thread` and :mod:`dummy_threading`, that provide a do-nothing " -"implementation of the :mod:`thread` module's interface for platforms where " +"The :mod:`!thread` and :mod:`threading` modules now have companion modules, :" +"mod:`!dummy_thread` and :mod:`!dummy_threading`, that provide a do-nothing " +"implementation of the :mod:`!thread` module's interface for platforms where " "threads are not supported. The intention is to simplify thread-aware " "modules (ones that *don't* rely on threads to run) by putting the following " "code at the top::" @@ -1676,10 +1684,10 @@ msgstr "" #: whatsnew/2.3.rst:1524 msgid "" -"In this example, :mod:`_threading` is used as the module name to make it " +"In this example, :mod:`!_threading` is used as the module name to make it " "clear that the module being used is not necessarily the actual :mod:" -"`threading` module. Code can call functions and use classes in :mod:" -"`_threading` whether or not threads are supported, avoiding an :keyword:`if` " +"`threading` module. Code can call functions and use classes in :mod:`!" +"_threading` whether or not threads are supported, avoiding an :keyword:`if` " "statement and making the code slightly clearer. This module will not " "magically make multithreaded code run without threads; code that waits for " "another thread to return or to do something will simply hang forever." @@ -1687,8 +1695,8 @@ msgstr "" #: whatsnew/2.3.rst:1532 msgid "" -"The :mod:`time` module's :func:`strptime` function has long been an " -"annoyance because it uses the platform C library's :func:`strptime` " +"The :mod:`time` module's :func:`~time.strptime` function has long been an " +"annoyance because it uses the platform C library's :func:`~time.strptime` " "implementation, and different platforms sometimes have odd bugs. Brett " "Cannon contributed a portable implementation that's written in pure Python " "and should behave identically on all platforms." @@ -1698,27 +1706,27 @@ msgstr "" msgid "" "The new :mod:`timeit` module helps measure how long snippets of Python code " "take to execute. The :file:`timeit.py` file can be run directly from the " -"command line, or the module's :class:`Timer` class can be imported and used " -"directly. Here's a short example that figures out whether it's faster to " -"convert an 8-bit string to Unicode by appending an empty Unicode string to " -"it or by using the :func:`unicode` function::" +"command line, or the module's :class:`~timeit.Timer` class can be imported " +"and used directly. Here's a short example that figures out whether it's " +"faster to convert an 8-bit string to Unicode by appending an empty Unicode " +"string to it or by using the :func:`!unicode` function::" msgstr "" #: whatsnew/2.3.rst:1558 msgid "" -"The :mod:`Tix` module has received various bug fixes and updates for the " +"The :mod:`!Tix` module has received various bug fixes and updates for the " "current version of the Tix package." msgstr "" #: whatsnew/2.3.rst:1561 msgid "" -"The :mod:`Tkinter` module now works with a thread-enabled version of Tcl. " +"The :mod:`!Tkinter` module now works with a thread-enabled version of Tcl. " "Tcl's threading model requires that widgets only be accessed from the thread " "in which they're created; accesses from another thread can cause Tcl to " -"panic. For certain Tcl interfaces, :mod:`Tkinter` will now automatically " +"panic. For certain Tcl interfaces, :mod:`!Tkinter` will now automatically " "avoid this when a widget is accessed from a different thread by marshalling " "a command, passing it to the correct thread, and waiting for the results. " -"Other interfaces can't be handled automatically but :mod:`Tkinter` will now " +"Other interfaces can't be handled automatically but :mod:`!Tkinter` will now " "raise an exception on such an access so that you can at least find out about " "the problem. See https://mail.python.org/pipermail/python-dev/2002-" "December/031107.html for a more detailed explanation of this change. " @@ -1727,16 +1735,17 @@ msgstr "" #: whatsnew/2.3.rst:1572 msgid "" -"Calling Tcl methods through :mod:`_tkinter` no longer returns only strings. " -"Instead, if Tcl returns other objects those objects are converted to their " -"Python equivalent, if one exists, or wrapped with a :class:`_tkinter." -"Tcl_Obj` object if no Python equivalent exists. This behavior can be " -"controlled through the :meth:`wantobjects` method of :class:`tkapp` objects." +"Calling Tcl methods through :mod:`!_tkinter` no longer returns only " +"strings. Instead, if Tcl returns other objects those objects are converted " +"to their Python equivalent, if one exists, or wrapped with a :class:`!" +"_tkinter.Tcl_Obj` object if no Python equivalent exists. This behavior can " +"be controlled through the :meth:`!wantobjects` method of :class:`!tkapp` " +"objects." msgstr "" #: whatsnew/2.3.rst:1578 msgid "" -"When using :mod:`_tkinter` through the :mod:`Tkinter` module (as most " +"When using :mod:`!_tkinter` through the :mod:`!Tkinter` module (as most " "Tkinter applications will), this feature is always activated. It should not " "cause compatibility problems, since Tkinter would always convert string " "results to Python types where possible." @@ -1745,8 +1754,8 @@ msgstr "" #: whatsnew/2.3.rst:1583 msgid "" "If any incompatibilities are found, the old behavior can be restored by " -"setting the :attr:`wantobjects` variable in the :mod:`Tkinter` module to " -"false before creating the first :class:`tkapp` object. ::" +"setting the :attr:`!wantobjects` variable in the :mod:`!Tkinter` module to " +"false before creating the first :class:`!tkapp` object. ::" msgstr "" #: whatsnew/2.3.rst:1590 @@ -1755,9 +1764,9 @@ msgstr "" #: whatsnew/2.3.rst:1592 msgid "" -"The :mod:`UserDict` module has a new :class:`DictMixin` class which defines " -"all dictionary methods for classes that already have a minimum mapping " -"interface. This greatly simplifies writing classes that need to be " +"The :mod:`!UserDict` module has a new :class:`!DictMixin` class which " +"defines all dictionary methods for classes that already have a minimum " +"mapping interface. This greatly simplifies writing classes that need to be " "substitutable for dictionaries, such as the classes in the :mod:`shelve` " "module." msgstr "" @@ -1765,8 +1774,8 @@ msgstr "" #: whatsnew/2.3.rst:1598 msgid "" "Adding the mix-in as a superclass provides the full dictionary interface " -"whenever the class defines :meth:`~object.__getitem__`, :meth:" -"`__setitem__`, :meth:`__delitem__`, and :meth:`keys`. For example::" +"whenever the class defines :meth:`~object.__getitem__`, :meth:`~object." +"__setitem__`, :meth:`~object.__delitem__`, and :meth:`!keys`. For example::" msgstr "" #: whatsnew/2.3.rst:1639 @@ -1777,21 +1786,22 @@ msgstr "" msgid "" "The DOM implementation in :mod:`xml.dom.minidom` can now generate XML output " "in a particular encoding by providing an optional encoding argument to the :" -"meth:`toxml` and :meth:`toprettyxml` methods of DOM nodes." +"meth:`~xml.dom.minidom.Node.toxml` and :meth:`~xml.dom.minidom.Node." +"toprettyxml` methods of DOM nodes." msgstr "" #: whatsnew/2.3.rst:1645 msgid "" -"The :mod:`xmlrpclib` module now supports an XML-RPC extension for handling " +"The :mod:`!xmlrpclib` module now supports an XML-RPC extension for handling " "nil data values such as Python's ``None``. Nil values are always supported " "on unmarshalling an XML-RPC response. To generate requests containing " "``None``, you must supply a true value for the *allow_none* parameter when " -"creating a :class:`Marshaller` instance." +"creating a :class:`!Marshaller` instance." msgstr "" #: whatsnew/2.3.rst:1651 msgid "" -"The new :mod:`DocXMLRPCServer` module allows writing self-documenting XML-" +"The new :mod:`!DocXMLRPCServer` module allows writing self-documenting XML-" "RPC servers. Run it in demo mode (as a program) to see it in action. " "Pointing the web browser to the RPC server produces pydoc-style " "documentation; pointing xmlrpclib to the server allows invoking the actual " @@ -1809,8 +1819,8 @@ msgstr "" msgid "" "The :mod:`socket` module has also been extended to transparently convert " "Unicode hostnames to the ACE version before passing them to the C library. " -"Modules that deal with hostnames such as :mod:`httplib` and :mod:`ftplib`) " -"also support Unicode host names; :mod:`httplib` also sends HTTP ``Host`` " +"Modules that deal with hostnames such as :mod:`!httplib` and :mod:`ftplib`) " +"also support Unicode host names; :mod:`!httplib` also sends HTTP ``Host`` " "headers using the ACE version of the domain name. :mod:`urllib` supports " "Unicode URLs with non-ASCII host names as long as the ``path`` part of the " "URL is ASCII only." @@ -1835,21 +1845,22 @@ msgstr "" #: whatsnew/2.3.rst:1685 msgid "" -"The three primary types are: :class:`date`, representing a day, month, and " -"year; :class:`~datetime.time`, consisting of hour, minute, and second; and :" -"class:`~datetime.datetime`, which contains all the attributes of both :class:" -"`date` and :class:`~datetime.time`. There's also a :class:`timedelta` class " -"representing differences between two points in time, and time zone logic is " -"implemented by classes inheriting from the abstract :class:`tzinfo` class." +"The three primary types are: :class:`~datetime.date`, representing a day, " +"month, and year; :class:`~datetime.time`, consisting of hour, minute, and " +"second; and :class:`~datetime.datetime`, which contains all the attributes " +"of both :class:`~datetime.date` and :class:`~datetime.time`. There's also a :" +"class:`~datetime.timedelta` class representing differences between two " +"points in time, and time zone logic is implemented by classes inheriting " +"from the abstract :class:`~datetime.tzinfo` class." msgstr "" #: whatsnew/2.3.rst:1692 msgid "" -"You can create instances of :class:`date` and :class:`~datetime.time` by " -"either supplying keyword arguments to the appropriate constructor, e.g. " -"``datetime.date(year=1972, month=10, day=15)``, or by using one of a number " -"of class methods. For example, the :meth:`date.today` class method returns " -"the current local date." +"You can create instances of :class:`~datetime.date` and :class:`~datetime." +"time` by either supplying keyword arguments to the appropriate constructor, " +"e.g. ``datetime.date(year=1972, month=10, day=15)``, or by using one of a " +"number of class methods. For example, the :meth:`~datetime.date.today` " +"class method returns the current local date." msgstr "" #: whatsnew/2.3.rst:1698 @@ -1860,18 +1871,20 @@ msgstr "" #: whatsnew/2.3.rst:1710 msgid "" -"The :meth:`replace` method allows modifying one or more fields of a :class:" -"`date` or :class:`~datetime.datetime` instance, returning a new instance::" +"The :meth:`~datetime.datetime.replace` method allows modifying one or more " +"fields of a :class:`~datetime.date` or :class:`~datetime.datetime` " +"instance, returning a new instance::" msgstr "" #: whatsnew/2.3.rst:1720 msgid "" "Instances can be compared, hashed, and converted to strings (the result is " -"the same as that of :meth:`isoformat`). :class:`date` and :class:`~datetime." -"datetime` instances can be subtracted from each other, and added to :class:" -"`timedelta` instances. The largest missing feature is that there's no " -"standard library support for parsing strings and getting back a :class:" -"`date` or :class:`~datetime.datetime`." +"the same as that of :meth:`~datetime.datetime.isoformat`). :class:" +"`~datetime.date` and :class:`~datetime.datetime` instances can be subtracted " +"from each other, and added to :class:`~datetime.timedelta` instances. The " +"largest missing feature is that there's no standard library support for " +"parsing strings and getting back a :class:`~datetime.date` or :class:" +"`~datetime.datetime`." msgstr "" #: whatsnew/2.3.rst:1727 @@ -1895,14 +1908,14 @@ msgstr "" #: whatsnew/2.3.rst:1742 msgid "" -"You start by creating an instance of :class:`OptionParser` and telling it " -"what your program's options are. ::" +"You start by creating an instance of :class:`~optparse.OptionParser` and " +"telling it what your program's options are. ::" msgstr "" #: whatsnew/2.3.rst:1756 msgid "" -"Parsing a command line is then done by calling the :meth:`parse_args` " -"method. ::" +"Parsing a command line is then done by calling the :meth:`~optparse." +"OptionParser.parse_args` method. ::" msgstr "" #: whatsnew/2.3.rst:1762 @@ -2126,7 +2139,7 @@ msgstr "" #: whatsnew/2.3.rst:1927 msgid "" "If you dynamically allocate type objects in your extension, you should be " -"aware of a change in the rules relating to the :attr:`__module__` and :attr:" +"aware of a change in the rules relating to the :attr:`!__module__` and :attr:" "`~definition.__name__` attributes. In summary, you will want to ensure the " "type's dictionary contains a ``'__module__'`` key; making the module name " "the part of the type name leading up to the final period will no longer have " @@ -2144,10 +2157,11 @@ msgid "" "merged into the main Python source tree. EMX is a POSIX emulation layer " "over the OS/2 system APIs. The Python port for EMX tries to support all the " "POSIX-like capability exposed by the EMX runtime, and mostly succeeds; :func:" -"`fork` and :func:`fcntl` are restricted by the limitations of the underlying " -"emulation layer. The standard OS/2 port, which uses IBM's Visual Age " -"compiler, also gained support for case-sensitive import semantics as part of " -"the integration of the EMX port into CVS. (Contributed by Andrew MacIntyre.)" +"`!fork` and :func:`fcntl` are restricted by the limitations of the " +"underlying emulation layer. The standard OS/2 port, which uses IBM's Visual " +"Age compiler, also gained support for case-sensitive import semantics as " +"part of the integration of the EMX port into CVS. (Contributed by Andrew " +"MacIntyre.)" msgstr "" #: whatsnew/2.3.rst:1949 @@ -2230,16 +2244,16 @@ msgstr "" #: whatsnew/2.3.rst:2001 msgid "" -"C extensions that access the :attr:`f_lineno` field of frame objects should " -"instead call ``PyCode_Addr2Line(f->f_code, f->f_lasti)``. This will have the " -"added effect of making the code work as desired under \"python -O\" in " -"earlier versions of Python." +"C extensions that access the :attr:`~frame.f_lineno` field of frame objects " +"should instead call ``PyCode_Addr2Line(f->f_code, f->f_lasti)``. This will " +"have the added effect of making the code work as desired under \"python -O\" " +"in earlier versions of Python." msgstr "" #: whatsnew/2.3.rst:2006 msgid "" "A nifty new feature is that trace functions can now assign to the :attr:" -"`f_lineno` attribute of frame objects, changing the line that will be " +"`~frame.f_lineno` attribute of frame objects, changing the line that will be " "executed next. A ``jump`` command has been added to the :mod:`pdb` debugger " "taking advantage of this new feature. (Implemented by Richie Hindle.)" msgstr "" @@ -2282,10 +2296,10 @@ msgstr "" #: whatsnew/2.3.rst:2034 msgid "" -"Calling Tcl methods through :mod:`_tkinter` no longer returns only strings. " -"Instead, if Tcl returns other objects those objects are converted to their " -"Python equivalent, if one exists, or wrapped with a :class:`_tkinter." -"Tcl_Obj` object if no Python equivalent exists." +"Calling Tcl methods through :mod:`!_tkinter` no longer returns only " +"strings. Instead, if Tcl returns other objects those objects are converted " +"to their Python equivalent, if one exists, or wrapped with a :class:`!" +"_tkinter.Tcl_Obj` object if no Python equivalent exists." msgstr "" #: whatsnew/2.3.rst:2039 @@ -2311,10 +2325,10 @@ msgstr "" #: whatsnew/2.3.rst:2052 msgid "" -"The Distutils :func:`setup` function has gained various new keyword " +"The Distutils :func:`!setup` function has gained various new keyword " "arguments such as *depends*. Old versions of the Distutils will abort if " "passed unknown keywords. A solution is to check for the presence of the " -"new :func:`get_distutil_options` function in your :file:`setup.py` and only " +"new :func:`!get_distutil_options` function in your :file:`setup.py` and only " "uses the new keywords with a version of the Distutils that supports them::" msgstr "" diff --git a/whatsnew/2.4.po b/whatsnew/2.4.po index b699e5e15..3e2414971 100644 --- a/whatsnew/2.4.po +++ b/whatsnew/2.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 19:05+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -341,67 +341,67 @@ msgstr "" #: whatsnew/2.4.rst:327 msgid "" -"A small related change makes the :attr:`func_name` attribute of functions " -"writable. This attribute is used to display function names in tracebacks, " -"so decorators should change the name of any new function that's constructed " -"and returned." +"A small related change makes the :attr:`func_name ` " +"attribute of functions writable. This attribute is used to display function " +"names in tracebacks, so decorators should change the name of any new " +"function that's constructed and returned." msgstr "" -#: whatsnew/2.4.rst:338 +#: whatsnew/2.4.rst:339 msgid ":pep:`318` - Decorators for Functions, Methods and Classes" msgstr "" -#: whatsnew/2.4.rst:336 +#: whatsnew/2.4.rst:337 msgid "" "Written by Kevin D. Smith, Jim Jewett, and Skip Montanaro. Several people " "wrote patches implementing function decorators, but the one that was " "actually checked in was patch #979728, written by Mark Russell." msgstr "" -#: whatsnew/2.4.rst:340 +#: whatsnew/2.4.rst:341 msgid "https://wiki.python.org/moin/PythonDecoratorLibrary" msgstr "" -#: whatsnew/2.4.rst:341 +#: whatsnew/2.4.rst:342 msgid "This Wiki page contains several examples of decorators." msgstr "" -#: whatsnew/2.4.rst:347 +#: whatsnew/2.4.rst:348 msgid "PEP 322: Reverse Iteration" msgstr "" -#: whatsnew/2.4.rst:349 +#: whatsnew/2.4.rst:350 msgid "" "A new built-in function, ``reversed(seq)``, takes a sequence and returns an " "iterator that loops over the elements of the sequence in reverse order. ::" msgstr "" -#: whatsnew/2.4.rst:359 +#: whatsnew/2.4.rst:360 msgid "" "Compared to extended slicing, such as ``range(1,4)[::-1]``, :func:`reversed` " "is easier to read, runs faster, and uses substantially less memory." msgstr "" -#: whatsnew/2.4.rst:362 +#: whatsnew/2.4.rst:363 msgid "" "Note that :func:`reversed` only accepts sequences, not arbitrary iterators. " "If you want to reverse an iterator, first convert it to a list with :func:" "`list`. ::" msgstr "" -#: whatsnew/2.4.rst:376 +#: whatsnew/2.4.rst:377 msgid ":pep:`322` - Reverse Iteration" msgstr "" -#: whatsnew/2.4.rst:377 +#: whatsnew/2.4.rst:378 msgid "Written and implemented by Raymond Hettinger." msgstr "" -#: whatsnew/2.4.rst:383 +#: whatsnew/2.4.rst:384 msgid "PEP 324: New subprocess Module" msgstr "" -#: whatsnew/2.4.rst:385 +#: whatsnew/2.4.rst:386 msgid "" "The standard library provides a number of ways to execute a subprocess, " "offering different features and different levels of complexity. ``os." @@ -413,14 +413,14 @@ msgid "" "providing a unified interface that offers all the features you might need." msgstr "" -#: whatsnew/2.4.rst:394 +#: whatsnew/2.4.rst:395 msgid "" "Instead of :mod:`popen2`'s collection of classes, :mod:`subprocess` contains " "a single class called :class:`Popen` whose constructor supports a number of " "different keyword arguments. ::" msgstr "" -#: whatsnew/2.4.rst:404 +#: whatsnew/2.4.rst:405 msgid "" "*args* is commonly a sequence of strings that will be the arguments to the " "program executed as the subprocess. (If the *shell* argument is true, " @@ -428,7 +428,7 @@ msgid "" "interpretation, just as :func:`os.system` does.)" msgstr "" -#: whatsnew/2.4.rst:409 +#: whatsnew/2.4.rst:410 msgid "" "*stdin*, *stdout*, and *stderr* specify what the subprocess's input, output, " "and error streams will be. You can provide a file object or a file " @@ -436,38 +436,38 @@ msgid "" "between the subprocess and the parent." msgstr "" -#: whatsnew/2.4.rst:417 +#: whatsnew/2.4.rst:418 msgid "The constructor has a number of handy options:" msgstr "" -#: whatsnew/2.4.rst:419 +#: whatsnew/2.4.rst:420 msgid "" "*close_fds* requests that all file descriptors be closed before running the " "subprocess." msgstr "" -#: whatsnew/2.4.rst:422 +#: whatsnew/2.4.rst:423 msgid "" "*cwd* specifies the working directory in which the subprocess will be " "executed (defaulting to whatever the parent's working directory is)." msgstr "" -#: whatsnew/2.4.rst:425 +#: whatsnew/2.4.rst:426 msgid "*env* is a dictionary specifying environment variables." msgstr "" -#: whatsnew/2.4.rst:427 +#: whatsnew/2.4.rst:428 msgid "" "*preexec_fn* is a function that gets called before the child is started." msgstr "" -#: whatsnew/2.4.rst:429 +#: whatsnew/2.4.rst:430 msgid "" "*universal_newlines* opens the child's input and output using Python's :term:" "`universal newlines` feature." msgstr "" -#: whatsnew/2.4.rst:432 +#: whatsnew/2.4.rst:433 msgid "" "Once you've created the :class:`Popen` instance, you can call its :meth:" "`wait` method to pause until the subprocess has exited, :meth:`poll` to " @@ -477,7 +477,7 @@ msgid "" "standard error, returning a tuple ``(stdout_data, stderr_data)``." msgstr "" -#: whatsnew/2.4.rst:439 +#: whatsnew/2.4.rst:440 msgid "" ":func:`call` is a shortcut that passes its arguments along to the :class:" "`Popen` constructor, waits for the command to complete, and returns the " @@ -485,35 +485,35 @@ msgid "" "system`::" msgstr "" -#: whatsnew/2.4.rst:451 +#: whatsnew/2.4.rst:452 msgid "" "The command is invoked without use of the shell. If you really do want to " "use the shell, you can add ``shell=True`` as a keyword argument and provide " "a string instead of a sequence::" msgstr "" -#: whatsnew/2.4.rst:457 +#: whatsnew/2.4.rst:458 msgid "" "The PEP takes various examples of shell and Python code and shows how they'd " "be translated into Python code that uses :mod:`subprocess`. Reading this " "section of the PEP is highly recommended." msgstr "" -#: whatsnew/2.4.rst:465 +#: whatsnew/2.4.rst:466 msgid ":pep:`324` - subprocess - New process module" msgstr "" -#: whatsnew/2.4.rst:465 +#: whatsnew/2.4.rst:466 msgid "" "Written and implemented by Peter Åstrand, with assistance from Fredrik Lundh " "and others." msgstr "" -#: whatsnew/2.4.rst:472 +#: whatsnew/2.4.rst:473 msgid "PEP 327: Decimal Data Type" msgstr "" -#: whatsnew/2.4.rst:474 +#: whatsnew/2.4.rst:475 msgid "" "Python has always supported floating-point (FP) numbers, based on the " "underlying C :c:expr:`double` type, as a data type. However, while most " @@ -523,34 +523,34 @@ msgid "" "these fractions accurately, up to a user-specified precision limit." msgstr "" -#: whatsnew/2.4.rst:483 +#: whatsnew/2.4.rst:484 msgid "Why is Decimal needed?" msgstr "" -#: whatsnew/2.4.rst:485 +#: whatsnew/2.4.rst:486 msgid "" "The limitations arise from the representation used for floating-point " "numbers. FP numbers are made up of three components:" msgstr "" -#: whatsnew/2.4.rst:488 +#: whatsnew/2.4.rst:489 msgid "The sign, which is positive or negative." msgstr "" -#: whatsnew/2.4.rst:490 +#: whatsnew/2.4.rst:491 msgid "" "The mantissa, which is a single-digit binary number followed by a " "fractional part. For example, ``1.01`` in base-2 notation is ``1 + 0/2 + " "1/4``, or 1.25 in decimal notation." msgstr "" -#: whatsnew/2.4.rst:494 +#: whatsnew/2.4.rst:495 msgid "" "The exponent, which tells where the decimal point is located in the number " "represented." msgstr "" -#: whatsnew/2.4.rst:497 +#: whatsnew/2.4.rst:498 msgid "" "For example, the number 1.25 has positive sign, a mantissa value of 1.01 (in " "binary), and an exponent of 0 (the decimal point doesn't need to be " @@ -559,7 +559,7 @@ msgid "" "1.25 \\* 4 equals 5." msgstr "" -#: whatsnew/2.4.rst:503 +#: whatsnew/2.4.rst:504 msgid "" "Modern systems usually provide floating-point support that conforms to a " "standard called IEEE 754. C's :c:expr:`double` type is usually implemented " @@ -574,11 +574,11 @@ msgid "" "after 52 digits, so the representation is slightly inaccurate." msgstr "" -#: whatsnew/2.4.rst:515 +#: whatsnew/2.4.rst:516 msgid "Sometimes you can see this inaccuracy when the number is printed::" msgstr "" -#: whatsnew/2.4.rst:520 +#: whatsnew/2.4.rst:521 msgid "" "The inaccuracy isn't always visible when you print the number because the FP-" "to-decimal-string conversion is provided by the C library, and most C " @@ -587,7 +587,7 @@ msgid "" "the error." msgstr "" -#: whatsnew/2.4.rst:525 +#: whatsnew/2.4.rst:526 msgid "" "For many applications this doesn't matter. If I'm plotting points and " "displaying them on my monitor, the difference between 1.1 and " @@ -598,15 +598,15 @@ msgid "" "own custom arithmetic routines." msgstr "" -#: whatsnew/2.4.rst:533 +#: whatsnew/2.4.rst:534 msgid "Hence, the :class:`Decimal` type was created." msgstr "" -#: whatsnew/2.4.rst:537 +#: whatsnew/2.4.rst:538 msgid "The :class:`Decimal` type" msgstr "" -#: whatsnew/2.4.rst:539 +#: whatsnew/2.4.rst:540 msgid "" "A new module, :mod:`decimal`, was added to Python's standard library. It " "contains two classes, :class:`Decimal` and :class:`Context`. :class:" @@ -615,7 +615,7 @@ msgid "" "mode." msgstr "" -#: whatsnew/2.4.rst:544 +#: whatsnew/2.4.rst:545 msgid "" ":class:`Decimal` instances are immutable, like regular Python integers and " "FP numbers; once it's been created, you can't change the value an instance " @@ -623,19 +623,19 @@ msgid "" "strings::" msgstr "" -#: whatsnew/2.4.rst:555 +#: whatsnew/2.4.rst:556 msgid "" "You can also provide tuples containing the sign, the mantissa represented " "as a tuple of decimal digits, and the exponent::" msgstr "" -#: whatsnew/2.4.rst:561 +#: whatsnew/2.4.rst:562 msgid "" "Cautionary note: the sign bit is a Boolean value, so 0 is positive and 1 is " "negative." msgstr "" -#: whatsnew/2.4.rst:564 +#: whatsnew/2.4.rst:565 msgid "" "Converting from floating-point numbers poses a bit of a problem: should the " "FP number representing 1.1 turn into the decimal number for exactly 1.1, or " @@ -645,20 +645,20 @@ msgid "" "and pass the string to the :class:`Decimal` constructor::" msgstr "" -#: whatsnew/2.4.rst:577 +#: whatsnew/2.4.rst:578 msgid "" "Once you have :class:`Decimal` instances, you can perform the usual " "mathematical operations on them. One limitation: exponentiation requires an " "integer exponent::" msgstr "" -#: whatsnew/2.4.rst:598 +#: whatsnew/2.4.rst:599 msgid "" "You can combine :class:`Decimal` instances with integers, but not with " "floating-point numbers::" msgstr "" -#: whatsnew/2.4.rst:609 +#: whatsnew/2.4.rst:610 msgid "" ":class:`Decimal` numbers can be used with the :mod:`math` and :mod:`cmath` " "modules, but note that they'll be immediately converted to floating-point " @@ -667,35 +667,35 @@ msgid "" "number and not a :class:`Decimal`. ::" msgstr "" -#: whatsnew/2.4.rst:622 +#: whatsnew/2.4.rst:623 msgid "" ":class:`Decimal` instances have a :meth:`sqrt` method that returns a :class:" "`Decimal`, but if you need other things such as trigonometric functions " "you'll have to implement them. ::" msgstr "" -#: whatsnew/2.4.rst:631 +#: whatsnew/2.4.rst:632 msgid "The :class:`Context` type" msgstr "" -#: whatsnew/2.4.rst:633 +#: whatsnew/2.4.rst:634 msgid "" "Instances of the :class:`Context` class encapsulate several settings for " "decimal operations:" msgstr "" -#: whatsnew/2.4.rst:636 +#: whatsnew/2.4.rst:637 msgid ":attr:`prec` is the precision, the number of decimal places." msgstr "" -#: whatsnew/2.4.rst:638 +#: whatsnew/2.4.rst:639 msgid "" ":attr:`rounding` specifies the rounding mode. The :mod:`decimal` module has " "constants for the various possibilities: :const:`ROUND_DOWN`, :const:" "`ROUND_CEILING`, :const:`ROUND_HALF_EVEN`, and various others." msgstr "" -#: whatsnew/2.4.rst:642 +#: whatsnew/2.4.rst:643 msgid "" ":attr:`traps` is a dictionary specifying what happens on encountering " "certain error conditions: either an exception is raised or a value is " @@ -703,7 +703,7 @@ msgid "" "precision, and overflow." msgstr "" -#: whatsnew/2.4.rst:647 +#: whatsnew/2.4.rst:648 msgid "" "There's a thread-local default context available by calling :func:" "`getcontext`; you can change the properties of this context to alter the " @@ -711,50 +711,50 @@ msgid "" "the effect of changing the precision of the default context::" msgstr "" -#: whatsnew/2.4.rst:660 +#: whatsnew/2.4.rst:661 msgid "" "The default action for error conditions is selectable; the module can either " "return a special value such as infinity or not-a-number, or exceptions can " "be raised::" msgstr "" -#: whatsnew/2.4.rst:673 +#: whatsnew/2.4.rst:674 msgid "" "The :class:`Context` instance also has various methods for formatting " "numbers such as :meth:`to_eng_string` and :meth:`to_sci_string`." msgstr "" -#: whatsnew/2.4.rst:676 +#: whatsnew/2.4.rst:677 msgid "" "For more information, see the documentation for the :mod:`decimal` module, " "which includes a quick-start tutorial and a reference." msgstr "" -#: whatsnew/2.4.rst:684 +#: whatsnew/2.4.rst:685 msgid ":pep:`327` - Decimal Data Type" msgstr "" -#: whatsnew/2.4.rst:683 +#: whatsnew/2.4.rst:684 msgid "" "Written by Facundo Batista and implemented by Facundo Batista, Eric Price, " "Raymond Hettinger, Aahz, and Tim Peters." msgstr "" -#: whatsnew/2.4.rst:688 +#: whatsnew/2.4.rst:689 msgid "http://www.lahey.com/float.htm" msgstr "" -#: whatsnew/2.4.rst:687 +#: whatsnew/2.4.rst:688 msgid "" "The article uses Fortran code to illustrate many of the problems that " "floating-point inaccuracy can cause." msgstr "" -#: whatsnew/2.4.rst:692 +#: whatsnew/2.4.rst:693 msgid "http://speleotrove.com/decimal/" msgstr "" -#: whatsnew/2.4.rst:691 +#: whatsnew/2.4.rst:692 msgid "" "A description of a decimal-based representation. This representation is " "being proposed as a standard, and underlies the new Python decimal type. " @@ -762,11 +762,11 @@ msgid "" "language." msgstr "" -#: whatsnew/2.4.rst:699 +#: whatsnew/2.4.rst:700 msgid "PEP 328: Multi-line Imports" msgstr "" -#: whatsnew/2.4.rst:701 +#: whatsnew/2.4.rst:702 msgid "" "One language change is a small syntactic tweak aimed at making it easier to " "import many names from a module. In a ``from module import names`` " @@ -775,14 +775,14 @@ msgid "" "module, or you can use backslashes to escape the line endings like this::" msgstr "" -#: whatsnew/2.4.rst:712 +#: whatsnew/2.4.rst:713 msgid "" "The syntactic change in Python 2.4 simply allows putting the names within " "parentheses. Python ignores newlines within a parenthesized expression, so " "the backslashes are no longer needed::" msgstr "" -#: whatsnew/2.4.rst:721 +#: whatsnew/2.4.rst:722 msgid "" "The PEP also proposes that all :keyword:`import` statements be absolute " "imports, with a leading ``.`` character to indicate a relative import. This " @@ -790,19 +790,19 @@ msgid "" "Python 2.5." msgstr "" -#: whatsnew/2.4.rst:728 +#: whatsnew/2.4.rst:729 msgid ":pep:`328` - Imports: Multi-Line and Absolute/Relative" msgstr "" -#: whatsnew/2.4.rst:729 +#: whatsnew/2.4.rst:730 msgid "Written by Aahz. Multi-line imports were implemented by Dima Dorfman." msgstr "" -#: whatsnew/2.4.rst:735 +#: whatsnew/2.4.rst:736 msgid "PEP 331: Locale-Independent Float/String Conversions" msgstr "" -#: whatsnew/2.4.rst:737 +#: whatsnew/2.4.rst:738 msgid "" "The :mod:`locale` modules lets Python software select various conversions " "and display conventions that are localized to a particular country or " @@ -812,7 +812,7 @@ msgid "" "code was using the C library's :c:func:`atof` function." msgstr "" -#: whatsnew/2.4.rst:744 +#: whatsnew/2.4.rst:745 msgid "" "Not setting the numeric locale caused trouble for extensions that used third-" "party C libraries, however, because they wouldn't have the correct locale " @@ -820,25 +820,25 @@ msgid "" "displaying numbers in the current locale." msgstr "" -#: whatsnew/2.4.rst:749 +#: whatsnew/2.4.rst:750 msgid "" "The solution described in the PEP is to add three new functions to the " "Python API that perform ASCII-only conversions, ignoring the locale setting:" msgstr "" -#: whatsnew/2.4.rst:752 +#: whatsnew/2.4.rst:753 msgid "" "``PyOS_ascii_strtod(str, ptr)`` and ``PyOS_ascii_atof(str, ptr)`` both " "convert a string to a C :c:expr:`double`." msgstr "" -#: whatsnew/2.4.rst:755 +#: whatsnew/2.4.rst:756 msgid "" "``PyOS_ascii_formatd(buffer, buf_len, format, d)`` converts a :c:expr:" "`double` to an ASCII string." msgstr "" -#: whatsnew/2.4.rst:758 +#: whatsnew/2.4.rst:759 msgid "" "The code for these functions came from the GLib library (https://developer-" "old.gnome.org/glib/2.26/), whose developers kindly relicensed the relevant " @@ -847,79 +847,79 @@ msgid "" "as GTK+ produce the correct results." msgstr "" -#: whatsnew/2.4.rst:767 +#: whatsnew/2.4.rst:768 msgid ":pep:`331` - Locale-Independent Float/String Conversions" msgstr "" -#: whatsnew/2.4.rst:768 +#: whatsnew/2.4.rst:769 msgid "Written by Christian R. Reis, and implemented by Gustavo Carneiro." msgstr "" -#: whatsnew/2.4.rst:774 +#: whatsnew/2.4.rst:775 msgid "Other Language Changes" msgstr "" -#: whatsnew/2.4.rst:776 +#: whatsnew/2.4.rst:777 msgid "" "Here are all of the changes that Python 2.4 makes to the core Python " "language." msgstr "" -#: whatsnew/2.4.rst:778 +#: whatsnew/2.4.rst:779 msgid "Decorators for functions and methods were added (:pep:`318`)." msgstr "" -#: whatsnew/2.4.rst:780 +#: whatsnew/2.4.rst:781 msgid "" "Built-in :func:`set` and :func:`frozenset` types were added (:pep:`218`). " "Other new built-ins include the ``reversed(seq)`` function (:pep:`322`)." msgstr "" -#: whatsnew/2.4.rst:783 +#: whatsnew/2.4.rst:784 msgid "Generator expressions were added (:pep:`289`)." msgstr "" -#: whatsnew/2.4.rst:785 +#: whatsnew/2.4.rst:786 msgid "" "Certain numeric expressions no longer return values restricted to 32 or 64 " "bits (:pep:`237`)." msgstr "" -#: whatsnew/2.4.rst:788 +#: whatsnew/2.4.rst:789 msgid "" "You can now put parentheses around the list of names in a ``from module " "import names`` statement (:pep:`328`)." msgstr "" -#: whatsnew/2.4.rst:791 +#: whatsnew/2.4.rst:792 msgid "" "The :meth:`dict.update` method now accepts the same argument forms as the :" "class:`dict` constructor. This includes any mapping, any iterable of key/" "value pairs, and keyword arguments. (Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:795 +#: whatsnew/2.4.rst:796 msgid "" "The string methods :meth:`ljust`, :meth:`rjust`, and :meth:`center` now take " "an optional argument for specifying a fill character other than a space. " "(Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:799 +#: whatsnew/2.4.rst:800 msgid "" "Strings also gained an :meth:`rsplit` method that works like the :meth:" "`split` method but splits from the end of the string. (Contributed by Sean " "Reifschneider.) ::" msgstr "" -#: whatsnew/2.4.rst:808 +#: whatsnew/2.4.rst:809 msgid "" "Three keyword parameters, *cmp*, *key*, and *reverse*, were added to the :" "meth:`sort` method of lists. These parameters make some common usages of :" "meth:`sort` simpler. All of these parameters are optional." msgstr "" -#: whatsnew/2.4.rst:812 +#: whatsnew/2.4.rst:813 msgid "" "For the *cmp* parameter, the value should be a comparison function that " "takes two parameters and returns -1, 0, or +1 depending on how the " @@ -928,14 +928,14 @@ msgid "" "`sort`." msgstr "" -#: whatsnew/2.4.rst:817 +#: whatsnew/2.4.rst:818 msgid "" "*key* should be a single-parameter function that takes a list element and " "returns a comparison key for the element. The list is then sorted using the " "comparison keys. The following example sorts a list case-insensitively::" msgstr "" -#: whatsnew/2.4.rst:834 +#: whatsnew/2.4.rst:835 msgid "" "The last example, which uses the *cmp* parameter, is the old way to perform " "a case-insensitive sort. It works but is slower than using a *key* " @@ -944,21 +944,21 @@ msgid "" "*key* saves on invocations of the :meth:`lower` method." msgstr "" -#: whatsnew/2.4.rst:840 +#: whatsnew/2.4.rst:841 msgid "" "For simple key functions and comparison functions, it is often possible to " "avoid a :keyword:`lambda` expression by using an unbound method instead. " "For example, the above case-insensitive sort is best written as::" msgstr "" -#: whatsnew/2.4.rst:848 +#: whatsnew/2.4.rst:849 msgid "" "Finally, the *reverse* parameter takes a Boolean value. If the value is " "true, the list will be sorted into reverse order. Instead of ``L.sort(); L." "reverse()``, you can now write ``L.sort(reverse=True)``." msgstr "" -#: whatsnew/2.4.rst:852 +#: whatsnew/2.4.rst:853 msgid "" "The results of sorting are now guaranteed to be stable. This means that two " "entries with equal keys will be returned in the same order as they were " @@ -967,40 +967,40 @@ msgid "" "age are in name-sorted order." msgstr "" -#: whatsnew/2.4.rst:858 +#: whatsnew/2.4.rst:859 msgid "(All changes to :meth:`sort` contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:860 +#: whatsnew/2.4.rst:861 msgid "" "There is a new built-in function ``sorted(iterable)`` that works like the in-" "place :meth:`list.sort` method but can be used in expressions. The " "differences are:" msgstr "" -#: whatsnew/2.4.rst:864 +#: whatsnew/2.4.rst:865 msgid "the input may be any iterable;" msgstr "" -#: whatsnew/2.4.rst:866 +#: whatsnew/2.4.rst:867 msgid "a newly formed copy is sorted, leaving the original intact; and" msgstr "" -#: whatsnew/2.4.rst:868 +#: whatsnew/2.4.rst:869 msgid "the expression returns the new sorted copy" msgstr "" -#: whatsnew/2.4.rst:919 whatsnew/2.4.rst:1212 +#: whatsnew/2.4.rst:920 whatsnew/2.4.rst:1213 msgid "(Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:1519 +#: whatsnew/2.4.rst:1520 msgid "" "Integer operations will no longer trigger an :exc:`OverflowWarning`. The :" "exc:`OverflowWarning` warning will disappear in Python 2.5." msgstr "" -#: whatsnew/2.4.rst:896 +#: whatsnew/2.4.rst:897 msgid "" "The interpreter gained a new switch, :option:`-m`, that takes a name, " "searches for the corresponding module on ``sys.path``, and runs the module " @@ -1008,7 +1008,7 @@ msgid "" "-m profile``. (Contributed by Nick Coghlan.)" msgstr "" -#: whatsnew/2.4.rst:901 +#: whatsnew/2.4.rst:902 msgid "" "The ``eval(expr, globals, locals)`` and ``execfile(filename, globals, " "locals)`` functions and the ``exec`` statement now accept any mapping type " @@ -1016,7 +1016,7 @@ msgid "" "dictionary. (Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:906 +#: whatsnew/2.4.rst:907 msgid "" "The :func:`zip` built-in function and :func:`itertools.izip` now return an " "empty list if called with no arguments. Previously they raised a :exc:" @@ -1024,7 +1024,7 @@ msgid "" "length argument lists::" msgstr "" -#: whatsnew/2.4.rst:921 +#: whatsnew/2.4.rst:922 msgid "" "Encountering a failure while importing a module no longer leaves a partially " "initialized module object in ``sys.modules``. The incomplete module object " @@ -1032,17 +1032,17 @@ msgid "" "leading to confusing errors. (Fixed by Tim Peters.)" msgstr "" -#: whatsnew/2.4.rst:926 +#: whatsnew/2.4.rst:927 msgid "" ":const:`None` is now a constant; code that binds a new value to the name " "``None`` is now a syntax error. (Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:933 +#: whatsnew/2.4.rst:934 msgid "Optimizations" msgstr "" -#: whatsnew/2.4.rst:935 +#: whatsnew/2.4.rst:936 msgid "" "The inner loops for list and tuple slicing were optimized and now run about " "one-third faster. The inner loops for dictionaries were also optimized, " @@ -1051,7 +1051,7 @@ msgid "" "(Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:941 +#: whatsnew/2.4.rst:942 msgid "" "The machinery for growing and shrinking lists was optimized for speed and " "for space efficiency. Appending and popping from lists now runs faster due " @@ -1061,14 +1061,14 @@ msgid "" "before extending the base list. (Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:948 +#: whatsnew/2.4.rst:949 msgid "" ":func:`list`, :func:`tuple`, :func:`map`, :func:`filter`, and :func:`zip` " "now run several times faster with non-sequence arguments that supply a :meth:" "`__len__` method. (Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:952 +#: whatsnew/2.4.rst:953 msgid "" "The methods :meth:`list.__getitem__`, :meth:`dict.__getitem__`, and :meth:" "`dict.__contains__` are now implemented as :class:`method_descriptor` " @@ -1078,21 +1078,21 @@ msgid "" "by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:959 +#: whatsnew/2.4.rst:960 msgid "" "Added a new opcode, ``LIST_APPEND``, that simplifies the generated bytecode " "for list comprehensions and speeds them up by about a third. (Contributed " "by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:963 +#: whatsnew/2.4.rst:964 msgid "" "The peephole bytecode optimizer has been improved to produce shorter, " "faster bytecode; remarkably, the resulting bytecode is more readable. " "(Enhanced by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:967 +#: whatsnew/2.4.rst:968 msgid "" "String concatenations in statements of the form ``s = s + \"abc\"`` and ``s " "+= \"abc\"`` are now performed more efficiently in certain circumstances. " @@ -1102,7 +1102,7 @@ msgid "" "number of strings together. (Contributed by Armin Rigo.)" msgstr "" -#: whatsnew/2.4.rst:974 +#: whatsnew/2.4.rst:975 msgid "" "The net result of the 2.4 optimizations is that Python 2.4 runs the pystone " "benchmark around 5% faster than Python 2.3 and 35% faster than Python 2.2. " @@ -1111,11 +1111,11 @@ msgid "" "greater or smaller benefits from Python 2.4.)" msgstr "" -#: whatsnew/2.4.rst:990 +#: whatsnew/2.4.rst:991 msgid "New, Improved, and Deprecated Modules" msgstr "" -#: whatsnew/2.4.rst:992 +#: whatsnew/2.4.rst:993 msgid "" "As usual, Python's standard library received a number of enhancements and " "bug fixes. Here's a partial list of the most notable changes, sorted " @@ -1124,61 +1124,61 @@ msgid "" "logs for all the details." msgstr "" -#: whatsnew/2.4.rst:997 +#: whatsnew/2.4.rst:998 msgid "" "The :mod:`asyncore` module's :func:`loop` function now has a *count* " "parameter that lets you perform a limited number of passes through the " "polling loop. The default is still to loop forever." msgstr "" -#: whatsnew/2.4.rst:1001 +#: whatsnew/2.4.rst:1002 msgid "" "The :mod:`base64` module now has more complete :rfc:`3548` support for " "Base64, Base32, and Base16 encoding and decoding, including optional case " "folding and optional alternative alphabets. (Contributed by Barry Warsaw.)" msgstr "" -#: whatsnew/2.4.rst:1005 +#: whatsnew/2.4.rst:1006 msgid "" "The :mod:`bisect` module now has an underlying C implementation for improved " "performance. (Contributed by Dmitry Vasiliev.)" msgstr "" -#: whatsnew/2.4.rst:1008 +#: whatsnew/2.4.rst:1009 msgid "" "The CJKCodecs collections of East Asian codecs, maintained by Hye-Shik " "Chang, was integrated into 2.4. The new encodings are:" msgstr "" -#: whatsnew/2.4.rst:1011 +#: whatsnew/2.4.rst:1012 msgid "Chinese (PRC): gb2312, gbk, gb18030, big5hkscs, hz" msgstr "" -#: whatsnew/2.4.rst:1013 +#: whatsnew/2.4.rst:1014 msgid "Chinese (ROC): big5, cp950" msgstr "" -#: whatsnew/2.4.rst:1017 +#: whatsnew/2.4.rst:1018 msgid "Japanese: cp932, euc-jis-2004, euc-jp, euc-jisx0213, iso-2022-jp," msgstr "" -#: whatsnew/2.4.rst:1016 +#: whatsnew/2.4.rst:1017 msgid "" "iso-2022-jp-1, iso-2022-jp-2, iso-2022-jp-3, iso-2022-jp-ext, iso-2022-" "jp-2004, shift-jis, shift-jisx0213, shift-jis-2004" msgstr "" -#: whatsnew/2.4.rst:1019 +#: whatsnew/2.4.rst:1020 msgid "Korean: cp949, euc-kr, johab, iso-2022-kr" msgstr "" -#: whatsnew/2.4.rst:1021 +#: whatsnew/2.4.rst:1022 msgid "" "Some other new encodings were added: HP Roman8, ISO_8859-11, ISO_8859-16, " "PCTP-154, and TIS-620." msgstr "" -#: whatsnew/2.4.rst:1024 +#: whatsnew/2.4.rst:1025 msgid "" "The UTF-8 and UTF-16 codecs now cope better with receiving partial input. " "Previously the :class:`StreamReader` class would try to read more data, " @@ -1187,7 +1187,7 @@ msgid "" "decoding where previous ones left off. (Implemented by Walter Dörwald.)" msgstr "" -#: whatsnew/2.4.rst:1030 +#: whatsnew/2.4.rst:1031 msgid "" "There is a new :mod:`collections` module for various specialized collection " "datatypes. Currently it contains just one type, :class:`deque`, a double-" @@ -1195,23 +1195,24 @@ msgid "" "either end::" msgstr "" -#: whatsnew/2.4.rst:1050 +#: whatsnew/2.4.rst:1051 msgid "" "Several modules, such as the :mod:`Queue` and :mod:`threading` modules, now " "take advantage of :class:`collections.deque` for improved performance. " "(Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:1054 +#: whatsnew/2.4.rst:1055 msgid "" -"The :mod:`ConfigParser` classes have been enhanced slightly. The :meth:" -"`read` method now returns a list of the files that were successfully parsed, " -"and the :meth:`set` method raises :exc:`TypeError` if passed a *value* " +"The :mod:`ConfigParser ` classes have been enhanced slightly. " +"The :meth:`~configparser.ConfigParser.read` method now returns a list of the " +"files that were successfully parsed, and the :meth:`~configparser." +"ConfigParser.set` method raises :exc:`TypeError` if passed a *value* " "argument that isn't a string. (Contributed by John Belmonte and David " "Goodger.)" msgstr "" -#: whatsnew/2.4.rst:1059 +#: whatsnew/2.4.rst:1060 msgid "" "The :mod:`curses` module now supports the ncurses extension :func:" "`use_default_colors`. On platforms where the terminal supports " @@ -1219,14 +1220,14 @@ msgid "" "(Contributed by Jörg Lehmann.)" msgstr "" -#: whatsnew/2.4.rst:1064 +#: whatsnew/2.4.rst:1065 msgid "" "The :mod:`difflib` module now includes an :class:`HtmlDiff` class that " "creates an HTML table showing a side by side comparison of two versions of a " "text. (Contributed by Dan Gass.)" msgstr "" -#: whatsnew/2.4.rst:1068 +#: whatsnew/2.4.rst:1069 msgid "" "The :mod:`email` package was updated to version 3.0, which dropped various " "deprecated APIs and removes support for Python versions earlier than 2.3. " @@ -1238,7 +1239,7 @@ msgid "" "Barry Warsaw, Thomas Wouters, and others.)" msgstr "" -#: whatsnew/2.4.rst:1077 +#: whatsnew/2.4.rst:1078 msgid "" "The :mod:`heapq` module has been converted to C. The resulting tenfold " "improvement in speed makes the module suitable for handling high volumes of " @@ -1248,7 +1249,7 @@ msgid "" "Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:1083 +#: whatsnew/2.4.rst:1084 msgid "" "The :mod:`httplib` module now contains constants for HTTP status codes " "defined in various HTTP-related RFC documents. Constants have names such " @@ -1257,14 +1258,14 @@ msgid "" "Eland.)" msgstr "" -#: whatsnew/2.4.rst:1089 +#: whatsnew/2.4.rst:1090 msgid "" "The :mod:`imaplib` module now supports IMAP's THREAD command (contributed by " "Yves Dionne) and new :meth:`deleteacl` and :meth:`myrights` methods " "(contributed by Arnaud Mazin)." msgstr "" -#: whatsnew/2.4.rst:1093 +#: whatsnew/2.4.rst:1094 msgid "" "The :mod:`itertools` module gained a ``groupby(iterable[, *func*])`` " "function. *iterable* is something that can be iterated over to return a " @@ -1275,32 +1276,32 @@ msgid "" "containing the key value and an iterator over the subsequence." msgstr "" -#: whatsnew/2.4.rst:1101 +#: whatsnew/2.4.rst:1102 msgid "" "Here's an example to make this clearer. The *key* function simply returns " "whether a number is even or odd, so the result of :func:`groupby` is to " "return consecutive runs of odd or even numbers. ::" msgstr "" -#: whatsnew/2.4.rst:1117 +#: whatsnew/2.4.rst:1118 msgid "" ":func:`groupby` is typically used with sorted input. The logic for :func:" "`groupby` is similar to the Unix ``uniq`` filter which makes it handy for " "eliminating, counting, or identifying duplicate elements::" msgstr "" -#: whatsnew/2.4.rst:1140 +#: whatsnew/2.4.rst:1141 msgid "(Contributed by Hye-Shik Chang.)" msgstr "" -#: whatsnew/2.4.rst:1142 +#: whatsnew/2.4.rst:1143 msgid "" ":mod:`itertools` also gained a function named ``tee(iterator, N)`` that " "returns *N* independent iterators that replicate *iterator*. If *N* is " "omitted, the default is 2. ::" msgstr "" -#: whatsnew/2.4.rst:1155 +#: whatsnew/2.4.rst:1156 msgid "" "Note that :func:`tee` has to keep copies of the values returned by the " "iterator; in the worst case, it may need to keep all of them. This should " @@ -1312,15 +1313,15 @@ msgid "" "Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:1164 +#: whatsnew/2.4.rst:1165 msgid "" "A number of functions were added to the :mod:`locale` module, such as :func:" "`bind_textdomain_codeset` to specify a particular encoding and a family of :" -"func:`l\\*gettext` functions that return messages in the chosen encoding. " +"func:`!l\\*gettext` functions that return messages in the chosen encoding. " "(Contributed by Gustavo Niemeyer.)" msgstr "" -#: whatsnew/2.4.rst:1169 +#: whatsnew/2.4.rst:1170 msgid "" "Some keyword arguments were added to the :mod:`logging` package's :func:" "`basicConfig` function to simplify log configuration. The default behavior " @@ -1329,7 +1330,7 @@ msgid "" "logging level. For example::" msgstr "" -#: whatsnew/2.4.rst:1180 +#: whatsnew/2.4.rst:1181 msgid "" "Other additions to the :mod:`logging` package include a ``log(level, msg)`` " "convenience method, as well as a :class:`TimedRotatingFileHandler` class " @@ -1339,11 +1340,11 @@ msgid "" "class that can be used to implement other rotating handlers." msgstr "" -#: whatsnew/2.4.rst:1187 +#: whatsnew/2.4.rst:1188 msgid "(Changes implemented by Vinay Sajip.)" msgstr "" -#: whatsnew/2.4.rst:1189 +#: whatsnew/2.4.rst:1190 msgid "" "The :mod:`marshal` module now shares interned strings on unpacking a data " "structure. This may shrink the size of certain pickle strings, but the " @@ -1351,14 +1352,14 @@ msgid "" "(Contributed by Martin von Löwis.)" msgstr "" -#: whatsnew/2.4.rst:1194 +#: whatsnew/2.4.rst:1195 msgid "" "The :mod:`nntplib` module's :class:`NNTP` class gained :meth:`description` " "and :meth:`descriptions` methods to retrieve newsgroup descriptions for a " "single group or for a range of groups. (Contributed by Jürgen A. Erhard.)" msgstr "" -#: whatsnew/2.4.rst:1198 +#: whatsnew/2.4.rst:1199 msgid "" "Two new functions were added to the :mod:`operator` module, " "``attrgetter(attr)`` and ``itemgetter(index)``. Both functions return " @@ -1367,7 +1368,7 @@ msgid "" "`map` or :func:`sorted`. For example::" msgstr "" -#: whatsnew/2.4.rst:1214 +#: whatsnew/2.4.rst:1215 msgid "" "The :mod:`optparse` module was updated in various ways. The module now " "passes its messages through :func:`gettext.gettext`, making it possible to " @@ -1376,7 +1377,7 @@ msgid "" "option's default value. (Contributed by Greg Ward.)" msgstr "" -#: whatsnew/2.4.rst:1220 +#: whatsnew/2.4.rst:1221 msgid "" "The long-term plan is to deprecate the :mod:`rfc822` module in some future " "Python release in favor of the :mod:`email` package. To this end, the :func:" @@ -1385,7 +1386,7 @@ msgid "" "processing code with this in mind. (Change implemented by Anthony Baxter.)" msgstr "" -#: whatsnew/2.4.rst:1226 +#: whatsnew/2.4.rst:1227 msgid "" "A new ``urandom(n)`` function was added to the :mod:`os` module, returning a " "string containing *n* bytes of random data. This function provides access " @@ -1393,7 +1394,7 @@ msgid "" "Linux or the Windows CryptoAPI. (Contributed by Trevor Perrin.)" msgstr "" -#: whatsnew/2.4.rst:1231 +#: whatsnew/2.4.rst:1232 msgid "" "Another new function: ``os.path.lexists(path)`` returns true if the file " "specified by *path* exists, whether or not it's a symbolic link. This " @@ -1402,25 +1403,25 @@ msgid "" "exist. (Contributed by Beni Cherniavsky.)" msgstr "" -#: whatsnew/2.4.rst:1237 +#: whatsnew/2.4.rst:1238 msgid "" "A new :func:`getsid` function was added to the :mod:`posix` module that " "underlies the :mod:`os` module. (Contributed by J. Raynor.)" msgstr "" -#: whatsnew/2.4.rst:1240 +#: whatsnew/2.4.rst:1241 msgid "" "The :mod:`poplib` module now supports POP over SSL. (Contributed by Hector " "Urtubia.)" msgstr "" -#: whatsnew/2.4.rst:1243 +#: whatsnew/2.4.rst:1244 msgid "" "The :mod:`profile` module can now profile C extension functions. " "(Contributed by Nick Bastin.)" msgstr "" -#: whatsnew/2.4.rst:1246 +#: whatsnew/2.4.rst:1247 msgid "" "The :mod:`random` module has a new method called ``getrandbits(N)`` that " "returns a long integer *N* bits in length. The existing :meth:`randrange` " @@ -1429,7 +1430,7 @@ msgid "" "Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:1252 +#: whatsnew/2.4.rst:1253 msgid "" "The regular expression language accepted by the :mod:`re` module was " "extended with simple conditional expressions, written as ``(?(group)A|B)``. " @@ -1440,7 +1441,7 @@ msgid "" "Gustavo Niemeyer.)" msgstr "" -#: whatsnew/2.4.rst:1259 +#: whatsnew/2.4.rst:1260 msgid "" "The :mod:`re` module is also no longer recursive, thanks to a massive amount " "of work by Gustavo Niemeyer. In a recursive regular expression engine, " @@ -1454,7 +1455,7 @@ msgid "" "problems." msgstr "" -#: whatsnew/2.4.rst:1269 +#: whatsnew/2.4.rst:1270 msgid "" "The :mod:`signal` module now performs tighter error-checking on the " "parameters to the :func:`signal.signal` function. For example, you can't " @@ -1463,7 +1464,7 @@ msgid "" "exception." msgstr "" -#: whatsnew/2.4.rst:1274 +#: whatsnew/2.4.rst:1275 msgid "" "Two new functions were added to the :mod:`socket` module. :func:`socketpair` " "returns a pair of connected sockets and ``getservbyport(port)`` looks up the " @@ -1471,7 +1472,7 @@ msgid "" "Warsaw.)" msgstr "" -#: whatsnew/2.4.rst:1279 +#: whatsnew/2.4.rst:1280 msgid "" "The :func:`sys.exitfunc` function has been deprecated. Code should be using " "the existing :mod:`atexit` module, which correctly handles calling multiple " @@ -1479,34 +1480,34 @@ msgid "" "internal interface, accessed only by :mod:`atexit`." msgstr "" -#: whatsnew/2.4.rst:1284 +#: whatsnew/2.4.rst:1285 msgid "" "The :mod:`tarfile` module now generates GNU-format tar files by default. " "(Contributed by Lars Gustäbel.)" msgstr "" -#: whatsnew/2.4.rst:1287 +#: whatsnew/2.4.rst:1288 msgid "" "The :mod:`threading` module now has an elegantly simple way to support " "thread-local data. The module contains a :class:`local` class whose " "attribute values are local to different threads. ::" msgstr "" -#: whatsnew/2.4.rst:1297 +#: whatsnew/2.4.rst:1298 msgid "" "Other threads can assign and retrieve their own values for the :attr:" "`number` and :attr:`url` attributes. You can subclass :class:`local` to " "initialize attributes or to add methods. (Contributed by Jim Fulton.)" msgstr "" -#: whatsnew/2.4.rst:1301 +#: whatsnew/2.4.rst:1302 msgid "" "The :mod:`timeit` module now automatically disables periodic garbage " "collection during the timing loop. This change makes consecutive timings " "more comparable. (Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:1305 +#: whatsnew/2.4.rst:1306 msgid "" "The :mod:`weakref` module now supports a wider variety of objects including " "Python functions, class instances, sets, frozensets, deques, arrays, files, " @@ -1514,24 +1515,24 @@ msgid "" "Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:1310 +#: whatsnew/2.4.rst:1311 msgid "" "The :mod:`xmlrpclib` module now supports a multi-call extension for " "transmitting multiple XML-RPC calls in a single HTTP operation. (Contributed " "by Brian Quinlan.)" msgstr "" -#: whatsnew/2.4.rst:1314 +#: whatsnew/2.4.rst:1315 msgid "" "The :mod:`mpz`, :mod:`rotor`, and :mod:`xreadlines` modules have been " "removed." msgstr "" -#: whatsnew/2.4.rst:1323 +#: whatsnew/2.4.rst:1324 msgid "cookielib" msgstr "" -#: whatsnew/2.4.rst:1325 +#: whatsnew/2.4.rst:1326 msgid "" "The :mod:`cookielib` library supports client-side handling for HTTP cookies, " "mirroring the :mod:`Cookie` module's server-side cookie support. Cookies are " @@ -1541,7 +1542,7 @@ msgid "" "cookies are accepted or not." msgstr "" -#: whatsnew/2.4.rst:1332 +#: whatsnew/2.4.rst:1333 msgid "" "In order to store cookies across sessions, two implementations of cookie " "jars are provided: one that stores cookies in the Netscape format so " @@ -1549,21 +1550,21 @@ msgid "" "cookies in the same format as the Perl libwww library." msgstr "" -#: whatsnew/2.4.rst:1337 +#: whatsnew/2.4.rst:1338 msgid "" ":mod:`urllib2` has been changed to interact with :mod:`cookielib`: :class:" "`HTTPCookieProcessor` manages a cookie jar that is used when accessing URLs." msgstr "" -#: whatsnew/2.4.rst:1341 +#: whatsnew/2.4.rst:1342 msgid "This module was contributed by John J. Lee." msgstr "" -#: whatsnew/2.4.rst:1347 +#: whatsnew/2.4.rst:1348 msgid "doctest" msgstr "" -#: whatsnew/2.4.rst:1349 +#: whatsnew/2.4.rst:1350 msgid "" "The :mod:`doctest` module underwent considerable refactoring thanks to " "Edward Loper and Tim Peters. Testing can still be as simple as running :" @@ -1571,23 +1572,23 @@ msgid "" "operation in various ways" msgstr "" -#: whatsnew/2.4.rst:1354 +#: whatsnew/2.4.rst:1355 msgid "" "The new :class:`DocTestFinder` class extracts the tests from a given " "object's docstrings::" msgstr "" -#: whatsnew/2.4.rst:1370 +#: whatsnew/2.4.rst:1371 msgid "" "The new :class:`DocTestRunner` class then runs individual tests and can " "produce a summary of the results::" msgstr "" -#: whatsnew/2.4.rst:1379 +#: whatsnew/2.4.rst:1380 msgid "The above example produces the following output::" msgstr "" -#: whatsnew/2.4.rst:1387 +#: whatsnew/2.4.rst:1388 msgid "" ":class:`DocTestRunner` uses an instance of the :class:`OutputChecker` class " "to compare the expected output with the actual output. This class takes a " @@ -1595,7 +1596,7 @@ msgid "" "also write a completely new subclass of :class:`OutputChecker`." msgstr "" -#: whatsnew/2.4.rst:1392 +#: whatsnew/2.4.rst:1393 msgid "" "The default output checker provides a number of handy features. For example, " "with the :const:`doctest.ELLIPSIS` option flag, an ellipsis (``...``) in the " @@ -1603,11 +1604,11 @@ msgid "" "outputs that vary in minor ways::" msgstr "" -#: whatsnew/2.4.rst:1403 +#: whatsnew/2.4.rst:1404 msgid "Another special string, ````, matches a blank line::" msgstr "" -#: whatsnew/2.4.rst:1411 +#: whatsnew/2.4.rst:1412 msgid "" "Another new capability is producing a diff-style display of the output by " "specifying the :const:`doctest.REPORT_UDIFF` (unified diffs), :const:" @@ -1615,54 +1616,54 @@ msgid "" "(delta-style) option flags. For example::" msgstr "" -#: whatsnew/2.4.rst:1427 +#: whatsnew/2.4.rst:1428 msgid "" "Running the above function's tests with :const:`doctest.REPORT_UDIFF` " "specified, you get the following output:" msgstr "" -#: whatsnew/2.4.rst:1448 +#: whatsnew/2.4.rst:1449 msgid "Build and C API Changes" msgstr "" -#: whatsnew/2.4.rst:1450 +#: whatsnew/2.4.rst:1451 msgid "Some of the changes to Python's build process and to the C API are:" msgstr "" -#: whatsnew/2.4.rst:1452 +#: whatsnew/2.4.rst:1453 msgid "" "Three new convenience macros were added for common return values from " "extension functions: :c:macro:`Py_RETURN_NONE`, :c:macro:`Py_RETURN_TRUE`, " "and :c:macro:`Py_RETURN_FALSE`. (Contributed by Brett Cannon.)" msgstr "" -#: whatsnew/2.4.rst:1456 +#: whatsnew/2.4.rst:1457 msgid "" "Another new macro, :c:macro:`Py_CLEAR`, decreases the reference count of " "*obj* and sets *obj* to the null pointer. (Contributed by Jim Fulton.)" msgstr "" -#: whatsnew/2.4.rst:1459 +#: whatsnew/2.4.rst:1460 msgid "" "A new function, ``PyTuple_Pack(N, obj1, obj2, ..., objN)``, constructs " "tuples from a variable length argument list of Python objects. (Contributed " "by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:1463 +#: whatsnew/2.4.rst:1464 msgid "" "A new function, ``PyDict_Contains(d, k)``, implements fast dictionary " "lookups without masking exceptions raised during the look-up process. " "(Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:1467 +#: whatsnew/2.4.rst:1468 msgid "" "The :c:expr:`Py_IS_NAN(X)` macro returns 1 if its float or double argument " "*X* is a NaN. (Contributed by Tim Peters.)" msgstr "" -#: whatsnew/2.4.rst:1470 +#: whatsnew/2.4.rst:1471 msgid "" "C code can avoid unnecessary locking by using the new :c:func:`!" "PyEval_ThreadsInitialized` function to tell if any thread operations have " @@ -1670,14 +1671,14 @@ msgid "" "needed. (Contributed by Nick Coghlan.)" msgstr "" -#: whatsnew/2.4.rst:1475 +#: whatsnew/2.4.rst:1476 msgid "" "A new function, :c:func:`PyArg_VaParseTupleAndKeywords`, is the same as :c:" "func:`PyArg_ParseTupleAndKeywords` but takes a :c:type:`va_list` instead of " "a number of arguments. (Contributed by Greg Chapman.)" msgstr "" -#: whatsnew/2.4.rst:1479 +#: whatsnew/2.4.rst:1480 msgid "" "A new method flag, :c:macro:`METH_COEXIST`, allows a function defined in " "slots to co-exist with a :c:type:`PyCFunction` having the same name. This " @@ -1685,7 +1686,7 @@ msgid "" "(Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.4.rst:1484 +#: whatsnew/2.4.rst:1485 msgid "" "Python can now be built with additional profiling for the interpreter " "itself, intended as an aid to people developing the Python core. Providing :" @@ -1698,47 +1699,47 @@ msgid "" "register\". (Contributed by Jeremy Hylton.)" msgstr "" -#: whatsnew/2.4.rst:1494 +#: whatsnew/2.4.rst:1495 msgid "" "The :c:type:`!tracebackobject` type has been renamed to :c:type:" "`PyTracebackObject`." msgstr "" -#: whatsnew/2.4.rst:1501 +#: whatsnew/2.4.rst:1502 msgid "Port-Specific Changes" msgstr "" -#: whatsnew/2.4.rst:1503 +#: whatsnew/2.4.rst:1504 msgid "" "The Windows port now builds under MSVC++ 7.1 as well as version 6. " "(Contributed by Martin von Löwis.)" msgstr "" -#: whatsnew/2.4.rst:1510 +#: whatsnew/2.4.rst:1511 msgid "Porting to Python 2.4" msgstr "" -#: whatsnew/2.4.rst:1512 +#: whatsnew/2.4.rst:1513 msgid "" "This section lists previously described changes that may require changes to " "your code:" msgstr "" -#: whatsnew/2.4.rst:1515 +#: whatsnew/2.4.rst:1516 msgid "" "Left shifts and hexadecimal/octal constants that are too large no longer " "trigger a :exc:`FutureWarning` and return a value limited to 32 or 64 bits; " "instead they return a long integer." msgstr "" -#: whatsnew/2.4.rst:1522 +#: whatsnew/2.4.rst:1523 msgid "" "The :func:`zip` built-in function and :func:`itertools.izip` now return an " "empty list instead of raising a :exc:`TypeError` exception if called with no " "arguments." msgstr "" -#: whatsnew/2.4.rst:1526 +#: whatsnew/2.4.rst:1527 msgid "" "You can no longer compare the :class:`date` and :class:`~datetime.datetime` " "instances provided by the :mod:`datetime` module. Two instances of " @@ -1746,43 +1747,43 @@ msgid "" "(``<``, ``>``) will raise a :exc:`TypeError`." msgstr "" -#: whatsnew/2.4.rst:1531 +#: whatsnew/2.4.rst:1532 msgid "" ":func:`dircache.listdir` now passes exceptions to the caller instead of " "returning empty lists." msgstr "" -#: whatsnew/2.4.rst:1534 +#: whatsnew/2.4.rst:1535 msgid "" ":func:`LexicalHandler.startDTD` used to receive the public and system IDs in " "the wrong order. This has been corrected; applications relying on the wrong " "order need to be fixed." msgstr "" -#: whatsnew/2.4.rst:1538 +#: whatsnew/2.4.rst:1539 msgid "" ":func:`fcntl.ioctl` now warns if the *mutate* argument is omitted and " "relevant." msgstr "" -#: whatsnew/2.4.rst:1541 +#: whatsnew/2.4.rst:1542 msgid "" "The :mod:`tarfile` module now generates GNU-format tar files by default." msgstr "" -#: whatsnew/2.4.rst:1543 +#: whatsnew/2.4.rst:1544 msgid "" "Encountering a failure while importing a module no longer leaves a partially " "initialized module object in ``sys.modules``." msgstr "" -#: whatsnew/2.4.rst:1546 +#: whatsnew/2.4.rst:1547 msgid "" ":const:`None` is now a constant; code that binds a new value to the name " "``None`` is now a syntax error." msgstr "" -#: whatsnew/2.4.rst:1549 +#: whatsnew/2.4.rst:1550 msgid "" "The :func:`signals.signal` function now raises a :exc:`RuntimeError` " "exception for certain illegal values; previously these errors would pass " @@ -1790,11 +1791,11 @@ msgid "" "`SIGKILL` signal." msgstr "" -#: whatsnew/2.4.rst:1559 +#: whatsnew/2.4.rst:1560 msgid "Acknowledgements" msgstr "" -#: whatsnew/2.4.rst:1561 +#: whatsnew/2.4.rst:1562 msgid "" "The author would like to thank the following people for offering " "suggestions, corrections and assistance with various drafts of this article: " @@ -1802,10 +1803,10 @@ msgid "" "Hamish Lawson, Fredrik Lundh, Sean Reifschneider, Sadruddin Rejeb." msgstr "" -#: whatsnew/2.4.rst:414 +#: whatsnew/2.4.rst:415 msgid "universal newlines" msgstr "" -#: whatsnew/2.4.rst:414 +#: whatsnew/2.4.rst:415 msgid "What's new" msgstr "" diff --git a/whatsnew/2.5.po b/whatsnew/2.5.po index c7a1f5b83..a6b732e03 100644 --- a/whatsnew/2.5.po +++ b/whatsnew/2.5.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1339,11 +1339,11 @@ msgstr "" msgid "" "It's now illegal to mix iterating over a file with ``for line in file`` and " "calling the file object's :meth:`read`/:meth:`readline`/:meth:`readlines` " -"methods. Iteration uses an internal buffer and the :meth:`read\\*` methods " -"don't use that buffer. Instead they would return the data following the " -"buffer, causing the data to appear out of order. Mixing iteration and these " -"methods will now trigger a :exc:`ValueError` from the :meth:`read\\*` " -"method. (Implemented by Thomas Wouters.)" +"methods. Iteration uses an internal buffer and the :meth:`!read\\*` " +"methods don't use that buffer. Instead they would return the data " +"following the buffer, causing the data to appear out of order. Mixing " +"iteration and these methods will now trigger a :exc:`ValueError` from the :" +"meth:`!read\\*` method. (Implemented by Thomas Wouters.)" msgstr "" #: whatsnew/2.5.rst:1178 diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index c97142684..e374a5293 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-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1700,7 +1700,7 @@ msgid "" "`update`, :meth:`difference` and :meth:`difference_update`." msgstr "" -#: whatsnew/2.6.rst:1880 whatsnew/2.6.rst:1901 +#: whatsnew/2.6.rst:1881 whatsnew/2.6.rst:1902 msgid "(Contributed by Raymond Hettinger.)" msgstr "" @@ -1809,12 +1809,13 @@ msgstr "" #: whatsnew/2.6.rst:1679 msgid "" "Instance method objects have new attributes for the object and function " -"comprising the method; the new synonym for :attr:`im_self` is :attr:" -"`__self__`, and :attr:`im_func` is also available as :attr:`__func__`. The " -"old names are still supported in Python 2.6, but are gone in 3.0." +"comprising the method; the new synonym for :attr:`!im_self` is :attr:" +"`~method.__self__`, and :attr:`!im_func` is also available as :attr:`~method." +"__func__`. The old names are still supported in Python 2.6, but are gone in " +"3.0." msgstr "" -#: whatsnew/2.6.rst:1684 +#: whatsnew/2.6.rst:1685 msgid "" "An obscure change: when you use the :func:`locals` function inside a :" "keyword:`class` statement, the resulting dictionary no longer returns free " @@ -1822,11 +1823,11 @@ msgid "" "keyword:`!class` statement that aren't attributes of the class.)" msgstr "" -#: whatsnew/2.6.rst:1693 +#: whatsnew/2.6.rst:1694 msgid "Optimizations" msgstr "" -#: whatsnew/2.6.rst:1695 +#: whatsnew/2.6.rst:1696 msgid "" "The :mod:`warnings` module has been rewritten in C. This makes it possible " "to invoke warnings from the parser, and may also make the interpreter's " @@ -1834,7 +1835,7 @@ msgid "" "`1631171`.)" msgstr "" -#: whatsnew/2.6.rst:1700 +#: whatsnew/2.6.rst:1701 msgid "" "Type objects now have a cache of methods that can reduce the work required " "to find the correct method implementation for a particular class; once " @@ -1845,7 +1846,7 @@ msgid "" "updated for Python 2.6 by Kevin Jacobs; :issue:`1700288`.)" msgstr "" -#: whatsnew/2.6.rst:1710 +#: whatsnew/2.6.rst:1711 msgid "" "By default, this change is only applied to types that are included with the " "Python core. Extension modules may not necessarily be compatible with this " @@ -1857,7 +1858,7 @@ msgid "" "interpreter to determine that. See :issue:`1878` for some discussion.)" msgstr "" -#: whatsnew/2.6.rst:1721 +#: whatsnew/2.6.rst:1722 msgid "" "Function calls that use keyword arguments are significantly faster by doing " "a quick pointer comparison, usually saving the time of a full string " @@ -1865,21 +1866,21 @@ msgid "" "implementation by Antoine Pitrou; :issue:`1819`.)" msgstr "" -#: whatsnew/2.6.rst:1726 +#: whatsnew/2.6.rst:1727 msgid "" "All of the functions in the :mod:`struct` module have been rewritten in C, " "thanks to work at the Need For Speed sprint. (Contributed by Raymond " "Hettinger.)" msgstr "" -#: whatsnew/2.6.rst:1730 +#: whatsnew/2.6.rst:1731 msgid "" "Some of the standard built-in types now set a bit in their type objects. " "This speeds up checking whether an object is a subclass of one of these " "types. (Contributed by Neal Norwitz.)" msgstr "" -#: whatsnew/2.6.rst:1734 +#: whatsnew/2.6.rst:1735 msgid "" "Unicode strings now use faster code for detecting whitespace and line " "breaks; this speeds up the :meth:`split` method by about 25% and :meth:" @@ -1887,24 +1888,24 @@ msgid "" "reduced by using pymalloc for the Unicode string's data." msgstr "" -#: whatsnew/2.6.rst:1740 +#: whatsnew/2.6.rst:1741 msgid "" "The ``with`` statement now stores the :meth:`~object.__exit__` method on the " "stack, producing a small speedup. (Implemented by Jeffrey Yasskin.)" msgstr "" -#: whatsnew/2.6.rst:1743 +#: whatsnew/2.6.rst:1744 msgid "" "To reduce memory usage, the garbage collector will now clear internal free " "lists when garbage-collecting the highest generation of objects. This may " "return memory to the operating system sooner." msgstr "" -#: whatsnew/2.6.rst:1752 +#: whatsnew/2.6.rst:1753 msgid "Interpreter Changes" msgstr "" -#: whatsnew/2.6.rst:1754 +#: whatsnew/2.6.rst:1755 msgid "" "Two command-line options have been reserved for use by other Python " "implementations. The :option:`-J` switch has been reserved for use by " @@ -1915,7 +1916,7 @@ msgid "" "the option isn't currently used." msgstr "" -#: whatsnew/2.6.rst:1762 +#: whatsnew/2.6.rst:1763 msgid "" "Python can now be prevented from writing :file:`.pyc` or :file:`.pyo` files " "by supplying the :option:`-B` switch to the Python interpreter, or by " @@ -1926,7 +1927,7 @@ msgid "" "and Georg Brandl.)" msgstr "" -#: whatsnew/2.6.rst:1770 +#: whatsnew/2.6.rst:1771 msgid "" "The encoding used for standard input, output, and standard error can be " "specified by setting the :envvar:`PYTHONIOENCODING` environment variable " @@ -1938,11 +1939,11 @@ msgid "" "\"replace\". (Contributed by Martin von Löwis.)" msgstr "" -#: whatsnew/2.6.rst:1783 +#: whatsnew/2.6.rst:1784 msgid "New and Improved Modules" msgstr "" -#: whatsnew/2.6.rst:1785 +#: whatsnew/2.6.rst:1786 msgid "" "As in every release, Python's standard library received a number of " "enhancements and bug fixes. Here's a partial list of the most notable " @@ -1951,14 +1952,14 @@ msgid "" "the Subversion logs for all the details." msgstr "" -#: whatsnew/2.6.rst:1791 +#: whatsnew/2.6.rst:1792 msgid "" "The :mod:`asyncore` and :mod:`asynchat` modules are being actively " "maintained again, and a number of patches and bugfixes were applied. " "(Maintained by Josiah Carlson; see :issue:`1736190` for one patch.)" msgstr "" -#: whatsnew/2.6.rst:1796 +#: whatsnew/2.6.rst:1797 msgid "" "The :mod:`bsddb` module also has a new maintainer, Jesús Cea Avión, and the " "package is now available as a standalone package. The web page for the " @@ -1968,14 +1969,14 @@ msgid "" "frequent than Python's." msgstr "" -#: whatsnew/2.6.rst:1804 +#: whatsnew/2.6.rst:1805 msgid "" "The :mod:`bsddb.dbshelve` module now uses the highest pickling protocol " "available, instead of restricting itself to protocol 1. (Contributed by W. " "Barnes.)" msgstr "" -#: whatsnew/2.6.rst:1808 +#: whatsnew/2.6.rst:1809 msgid "" "The :mod:`cgi` module will now read variables from the query string of an " "HTTP POST request. This makes it possible to use form actions with URLs " @@ -1983,7 +1984,7 @@ msgid "" "(Contributed by Alexandre Fiori and Nubis; :issue:`1817`.)" msgstr "" -#: whatsnew/2.6.rst:1814 +#: whatsnew/2.6.rst:1815 msgid "" "The :func:`parse_qs` and :func:`parse_qsl` functions have been relocated " "from the :mod:`cgi` module to the :mod:`urlparse` module. The versions still " @@ -1991,43 +1992,43 @@ msgid "" "`PendingDeprecationWarning` messages in 2.6 (:issue:`600362`)." msgstr "" -#: whatsnew/2.6.rst:1820 +#: whatsnew/2.6.rst:1821 msgid "" "The :mod:`cmath` module underwent extensive revision, contributed by Mark " "Dickinson and Christian Heimes. Five new functions were added:" msgstr "" -#: whatsnew/2.6.rst:1824 +#: whatsnew/2.6.rst:1825 msgid "" ":func:`polar` converts a complex number to polar form, returning the modulus " "and argument of the complex number." msgstr "" -#: whatsnew/2.6.rst:1827 +#: whatsnew/2.6.rst:1828 msgid "" ":func:`rect` does the opposite, turning a modulus, argument pair back into " "the corresponding complex number." msgstr "" -#: whatsnew/2.6.rst:1830 +#: whatsnew/2.6.rst:1831 msgid "" ":func:`phase` returns the argument (also called the angle) of a complex " "number." msgstr "" -#: whatsnew/2.6.rst:1833 +#: whatsnew/2.6.rst:1834 msgid "" ":func:`isnan` returns True if either the real or imaginary part of its " "argument is a NaN." msgstr "" -#: whatsnew/2.6.rst:1836 +#: whatsnew/2.6.rst:1837 msgid "" ":func:`isinf` returns True if either the real or imaginary part of its " "argument is infinite." msgstr "" -#: whatsnew/2.6.rst:1839 +#: whatsnew/2.6.rst:1840 msgid "" "The revisions also improved the numerical soundness of the :mod:`cmath` " "module. For all functions, the real and imaginary parts of the results are " @@ -2036,27 +2037,27 @@ msgid "" "`atanh`: and :func:`atan` have also been corrected." msgstr "" -#: whatsnew/2.6.rst:1846 +#: whatsnew/2.6.rst:1847 msgid "" "The tests for the module have been greatly expanded; nearly 2000 new test " "cases exercise the algebraic functions." msgstr "" -#: whatsnew/2.6.rst:1849 +#: whatsnew/2.6.rst:1850 msgid "" "On IEEE 754 platforms, the :mod:`cmath` module now handles IEEE 754 special " "values and floating-point exceptions in a manner consistent with Annex 'G' " "of the C99 standard." msgstr "" -#: whatsnew/2.6.rst:1853 +#: whatsnew/2.6.rst:1854 msgid "" "A new data type in the :mod:`collections` module: ``namedtuple(typename, " "fieldnames)`` is a factory function that creates subclasses of the standard " "tuple whose fields are accessible by name as well as index. For example::" msgstr "" -#: whatsnew/2.6.rst:1875 +#: whatsnew/2.6.rst:1876 msgid "" "Several places in the standard library that returned tuples have been " "modified to return :func:`namedtuple` instances. For example, the :meth:" @@ -2064,7 +2065,7 @@ msgid "" "`digits`, and :attr:`exponent` fields." msgstr "" -#: whatsnew/2.6.rst:1882 +#: whatsnew/2.6.rst:1883 msgid "" "Another change to the :mod:`collections` module is that the :class:`deque` " "type now supports an optional *maxlen* parameter; if supplied, the deque's " @@ -2072,7 +2073,7 @@ msgid "" "to a full deque causes old items to be discarded." msgstr "" -#: whatsnew/2.6.rst:1903 +#: whatsnew/2.6.rst:1904 msgid "" "The :mod:`Cookie` module's :class:`Morsel` objects now support an :attr:" "`httponly` attribute. In some browsers. cookies with this attribute set " @@ -2080,14 +2081,14 @@ msgid "" "Schnell; :issue:`1638033`.)" msgstr "" -#: whatsnew/2.6.rst:1908 +#: whatsnew/2.6.rst:1909 msgid "" "A new window method in the :mod:`curses` module, :meth:`chgat`, changes the " "display attributes for a certain number of characters on a single line. " "(Contributed by Fabian Kreutz.)" msgstr "" -#: whatsnew/2.6.rst:1918 +#: whatsnew/2.6.rst:1919 msgid "" "The :class:`Textbox` class in the :mod:`curses.textpad` module now supports " "editing in insert mode as well as overwrite mode. Insert mode is enabled by " @@ -2095,7 +2096,7 @@ msgid "" "class:`Textbox` instance." msgstr "" -#: whatsnew/2.6.rst:1923 +#: whatsnew/2.6.rst:1924 msgid "" "The :mod:`datetime` module's :meth:`strftime` methods now support a ``%f`` " "format code that expands to the number of microseconds in the object, zero-" @@ -2103,7 +2104,7 @@ msgid "" "`1158`.)" msgstr "" -#: whatsnew/2.6.rst:1928 +#: whatsnew/2.6.rst:1929 msgid "" "The :mod:`decimal` module was updated to version 1.66 of `the General " "Decimal Specification `__. " @@ -2111,26 +2112,26 @@ msgid "" "as :meth:`exp` and :meth:`log10`::" msgstr "" -#: whatsnew/2.6.rst:1940 +#: whatsnew/2.6.rst:1941 msgid "" "The :meth:`as_tuple` method of :class:`Decimal` objects now returns a named " "tuple with :attr:`sign`, :attr:`digits`, and :attr:`exponent` fields." msgstr "" -#: whatsnew/2.6.rst:1943 +#: whatsnew/2.6.rst:1944 msgid "" "(Implemented by Facundo Batista and Mark Dickinson. Named tuple support " "added by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.6.rst:1946 +#: whatsnew/2.6.rst:1947 msgid "" "The :mod:`difflib` module's :class:`SequenceMatcher` class now returns named " "tuples representing matches, with :attr:`a`, :attr:`b`, and :attr:`size` " "attributes. (Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.6.rst:1951 +#: whatsnew/2.6.rst:1952 msgid "" "An optional ``timeout`` parameter, specifying a timeout measured in seconds, " "was added to the :class:`ftplib.FTP` class constructor as well as the :meth:" @@ -2140,7 +2141,7 @@ msgid "" "data has been sent. (Contributed by Phil Schwartz; :issue:`1221598`.)" msgstr "" -#: whatsnew/2.6.rst:1959 +#: whatsnew/2.6.rst:1960 msgid "" "The :func:`reduce` built-in function is also available in the :mod:" "`functools` module. In Python 3.0, the builtin has been dropped and :func:" @@ -2149,7 +2150,7 @@ msgid "" "issue:`1739906`.)" msgstr "" -#: whatsnew/2.6.rst:1965 +#: whatsnew/2.6.rst:1966 msgid "" "When possible, the :mod:`getpass` module will now use :file:`/dev/tty` to " "print a prompt message and read the password, falling back to standard error " @@ -2158,14 +2159,14 @@ msgid "" "P. Smith.)" msgstr "" -#: whatsnew/2.6.rst:1971 +#: whatsnew/2.6.rst:1972 msgid "" "The :func:`glob.glob` function can now return Unicode filenames if a Unicode " "path was used and Unicode filenames are matched within the directory. (:" "issue:`1001604`)" msgstr "" -#: whatsnew/2.6.rst:1975 +#: whatsnew/2.6.rst:1976 msgid "" "A new function in the :mod:`heapq` module, ``merge(iter1, iter2, ...)``, " "takes any number of iterables returning data in sorted order, and returns a " @@ -2173,14 +2174,14 @@ msgid "" "order. For example::" msgstr "" -#: whatsnew/2.6.rst:1983 +#: whatsnew/2.6.rst:1984 msgid "" "Another new function, ``heappushpop(heap, item)``, pushes *item* onto " "*heap*, then pops off and returns the smallest item. This is more efficient " "than making a call to :func:`heappush` and then :func:`heappop`." msgstr "" -#: whatsnew/2.6.rst:1988 +#: whatsnew/2.6.rst:1989 msgid "" ":mod:`heapq` is now implemented to only use less-than comparison, instead of " "the less-than-or-equal comparison it previously used. This makes :mod:" @@ -2188,14 +2189,14 @@ msgid "" "by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.6.rst:1994 +#: whatsnew/2.6.rst:1995 msgid "" "An optional ``timeout`` parameter, specifying a timeout measured in seconds, " "was added to the :class:`httplib.HTTPConnection` and :class:" "`HTTPSConnection` class constructors. (Added by Facundo Batista.)" msgstr "" -#: whatsnew/2.6.rst:1999 +#: whatsnew/2.6.rst:2000 msgid "" "Most of the :mod:`inspect` module's functions, such as :func:`getmoduleinfo` " "and :func:`getargs`, now return named tuples. In addition to behaving like " @@ -2203,55 +2204,55 @@ msgid "" "attributes. (Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.6.rst:2005 +#: whatsnew/2.6.rst:2006 msgid "" "Some new functions in the module include :func:`isgenerator`, :func:" "`isgeneratorfunction`, and :func:`isabstract`." msgstr "" -#: whatsnew/2.6.rst:2009 +#: whatsnew/2.6.rst:2010 msgid "The :mod:`itertools` module gained several new functions." msgstr "" -#: whatsnew/2.6.rst:2011 +#: whatsnew/2.6.rst:2012 msgid "" "``izip_longest(iter1, iter2, ...[, fillvalue])`` makes tuples from each of " "the elements; if some of the iterables are shorter than others, the missing " "values are set to *fillvalue*. For example::" msgstr "" -#: whatsnew/2.6.rst:2018 +#: whatsnew/2.6.rst:2019 msgid "" "``product(iter1, iter2, ..., [repeat=N])`` returns the Cartesian product of " "the supplied iterables, a set of tuples containing every possible " "combination of the elements returned from each iterable. ::" msgstr "" -#: whatsnew/2.6.rst:2027 +#: whatsnew/2.6.rst:2028 msgid "" "The optional *repeat* keyword argument is used for taking the product of an " "iterable or a set of iterables with themselves, repeated *N* times. With a " "single iterable argument, *N*-tuples are returned::" msgstr "" -#: whatsnew/2.6.rst:2036 +#: whatsnew/2.6.rst:2037 msgid "With two iterables, *2N*-tuples are returned. ::" msgstr "" -#: whatsnew/2.6.rst:2044 +#: whatsnew/2.6.rst:2045 msgid "" "``combinations(iterable, r)`` returns sub-sequences of length *r* from the " "elements of *iterable*. ::" msgstr "" -#: whatsnew/2.6.rst:2055 +#: whatsnew/2.6.rst:2056 msgid "" "``permutations(iter[, r])`` returns all the permutations of length *r* of " "the iterable's elements. If *r* is not specified, it will default to the " "number of elements produced by the iterable. ::" msgstr "" -#: whatsnew/2.6.rst:2065 +#: whatsnew/2.6.rst:2066 msgid "" "``itertools.chain(*iterables)`` is an existing function in :mod:`itertools` " "that gained a new constructor in Python 2.6. ``itertools.chain." @@ -2260,11 +2261,11 @@ msgid "" "iterable, then all the elements of the second, and so on. ::" msgstr "" -#: whatsnew/2.6.rst:2075 +#: whatsnew/2.6.rst:2076 msgid "(All contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.6.rst:2077 +#: whatsnew/2.6.rst:2078 msgid "" "The :mod:`logging` module's :class:`FileHandler` class and its subclasses :" "class:`WatchedFileHandler`, :class:`RotatingFileHandler`, and :class:" @@ -2273,68 +2274,68 @@ msgid "" "the first :meth:`emit` call is made. (Contributed by Vinay Sajip.)" msgstr "" -#: whatsnew/2.6.rst:2084 +#: whatsnew/2.6.rst:2085 msgid "" ":class:`TimedRotatingFileHandler` also has a *utc* constructor parameter. " "If the argument is true, UTC time will be used in determining when midnight " "occurs and in generating filenames; otherwise local time will be used." msgstr "" -#: whatsnew/2.6.rst:2089 +#: whatsnew/2.6.rst:2090 msgid "Several new functions were added to the :mod:`math` module:" msgstr "" -#: whatsnew/2.6.rst:2091 +#: whatsnew/2.6.rst:2092 msgid "" ":func:`~math.isinf` and :func:`~math.isnan` determine whether a given float " "is a (positive or negative) infinity or a NaN (Not a Number), respectively." msgstr "" -#: whatsnew/2.6.rst:2094 +#: whatsnew/2.6.rst:2095 msgid "" ":func:`~math.copysign` copies the sign bit of an IEEE 754 number, returning " "the absolute value of *x* combined with the sign bit of *y*. For example, " "``math.copysign(1, -0.0)`` returns -1.0. (Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:2099 +#: whatsnew/2.6.rst:2100 msgid "" ":func:`~math.factorial` computes the factorial of a number. (Contributed by " "Raymond Hettinger; :issue:`2138`.)" msgstr "" -#: whatsnew/2.6.rst:2102 +#: whatsnew/2.6.rst:2103 msgid "" ":func:`~math.fsum` adds up the stream of numbers from an iterable, and is " "careful to avoid loss of precision through using partial sums. (Contributed " "by Jean Brouwers, Raymond Hettinger, and Mark Dickinson; :issue:`2819`.)" msgstr "" -#: whatsnew/2.6.rst:2107 +#: whatsnew/2.6.rst:2108 msgid "" ":func:`~math.acosh`, :func:`~math.asinh` and :func:`~math.atanh` compute the " "inverse hyperbolic functions." msgstr "" -#: whatsnew/2.6.rst:2110 +#: whatsnew/2.6.rst:2111 msgid ":func:`~math.log1p` returns the natural logarithm of *1+x* (base *e*)." msgstr "" -#: whatsnew/2.6.rst:2113 +#: whatsnew/2.6.rst:2114 msgid "" ":func:`trunc` rounds a number toward zero, returning the closest :class:" "`Integral` that's between the function's argument and zero. Added as part of " "the backport of `PEP 3141's type hierarchy for numbers <#pep-3141>`__." msgstr "" -#: whatsnew/2.6.rst:2118 +#: whatsnew/2.6.rst:2119 msgid "" "The :mod:`math` module has been improved to give more consistent behaviour " "across platforms, especially with respect to handling of floating-point " "exceptions and IEEE 754 special values." msgstr "" -#: whatsnew/2.6.rst:2122 +#: whatsnew/2.6.rst:2123 msgid "" "Whenever possible, the module follows the recommendations of the C99 " "standard about 754's special values. For example, ``sqrt(-1.)`` should now " @@ -2346,11 +2347,11 @@ msgid "" "`OverflowError`. (See :issue:`711019` and :issue:`1640`.)" msgstr "" -#: whatsnew/2.6.rst:2132 +#: whatsnew/2.6.rst:2133 msgid "(Contributed by Christian Heimes and Mark Dickinson.)" msgstr "" -#: whatsnew/2.6.rst:2134 +#: whatsnew/2.6.rst:2135 msgid "" ":class:`~mmap.mmap` objects now have a :meth:`rfind` method that searches " "for a substring beginning at the end of the string and searching backwards. " @@ -2358,28 +2359,28 @@ msgid "" "which to stop searching. (Contributed by John Lenton.)" msgstr "" -#: whatsnew/2.6.rst:2140 +#: whatsnew/2.6.rst:2141 msgid "" "The :mod:`operator` module gained a :func:`methodcaller` function that takes " "a name and an optional set of arguments, returning a callable that will call " "the named function on any arguments passed to it. For example::" msgstr "" -#: whatsnew/2.6.rst:2150 +#: whatsnew/2.6.rst:2151 msgid "(Contributed by Georg Brandl, after a suggestion by Gregory Petrosyan.)" msgstr "" -#: whatsnew/2.6.rst:2152 +#: whatsnew/2.6.rst:2153 msgid "" "The :func:`attrgetter` function now accepts dotted names and performs the " "corresponding attribute lookups::" msgstr "" -#: whatsnew/2.6.rst:2162 +#: whatsnew/2.6.rst:2163 msgid "(Contributed by Georg Brandl, after a suggestion by Barry Warsaw.)" msgstr "" -#: whatsnew/2.6.rst:2164 +#: whatsnew/2.6.rst:2165 msgid "" "The :mod:`os` module now wraps several new system calls. ``fchmod(fd, " "mode)`` and ``fchown(fd, uid, gid)`` change the mode and ownership of an " @@ -2387,7 +2388,7 @@ msgid "" "(Contributed by Georg Brandl and Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:2170 +#: whatsnew/2.6.rst:2171 msgid "" ":func:`chflags` and :func:`lchflags` are wrappers for the corresponding " "system calls (where they're available), changing the flags set on a file. " @@ -2397,7 +2398,7 @@ msgid "" "the file. (Contributed by M. Levinson.)" msgstr "" -#: whatsnew/2.6.rst:2178 +#: whatsnew/2.6.rst:2179 msgid "" "``os.closerange(low, high)`` efficiently closes all file descriptors from " "*low* to *high*, ignoring any errors and not including *high* itself. This " @@ -2405,14 +2406,14 @@ msgid "" "processes faster. (Contributed by Georg Brandl; :issue:`1663329`.)" msgstr "" -#: whatsnew/2.6.rst:2183 +#: whatsnew/2.6.rst:2184 msgid "" "The ``os.environ`` object's :meth:`clear` method will now unset the " "environment variables using :func:`os.unsetenv` in addition to clearing the " "object's keys. (Contributed by Martin Horcicka; :issue:`1181`.)" msgstr "" -#: whatsnew/2.6.rst:2187 +#: whatsnew/2.6.rst:2188 msgid "" "The :func:`os.walk` function now has a ``followlinks`` parameter. If set to " "True, it will follow symlinks pointing to directories and visit the " @@ -2421,7 +2422,7 @@ msgid "" "if there's a symlink that points to a parent directory. (:issue:`1273829`)" msgstr "" -#: whatsnew/2.6.rst:2194 +#: whatsnew/2.6.rst:2195 msgid "" "In the :mod:`os.path` module, the :func:`splitext` function has been changed " "to not split on leading period characters. This produces better results when " @@ -2430,7 +2431,7 @@ msgid "" "`1115886`)" msgstr "" -#: whatsnew/2.6.rst:2201 +#: whatsnew/2.6.rst:2202 msgid "" "A new function, ``os.path.relpath(path, start='.')``, returns a relative " "path from the ``start`` path, if it's supplied, or from the current working " @@ -2438,14 +2439,14 @@ msgid "" "issue:`1339796`.)" msgstr "" -#: whatsnew/2.6.rst:2206 +#: whatsnew/2.6.rst:2207 msgid "" "On Windows, :func:`os.path.expandvars` will now expand environment variables " "given in the form \"%var%\", and \"~user\" will be expanded into the user's " "home directory path. (Contributed by Josiah Carlson; :issue:`957650`.)" msgstr "" -#: whatsnew/2.6.rst:2211 +#: whatsnew/2.6.rst:2212 msgid "" "The Python debugger provided by the :mod:`pdb` module gained a new command: " "\"run\" restarts the Python program being debugged and can optionally take " @@ -2453,14 +2454,14 @@ msgid "" "Bernstein; :issue:`1393667`.)" msgstr "" -#: whatsnew/2.6.rst:2216 +#: whatsnew/2.6.rst:2217 msgid "" "The :func:`pdb.post_mortem` function, used to begin debugging a traceback, " "will now use the traceback returned by :func:`sys.exc_info` if no traceback " "is supplied. (Contributed by Facundo Batista; :issue:`1106316`.)" msgstr "" -#: whatsnew/2.6.rst:2221 +#: whatsnew/2.6.rst:2222 msgid "" "The :mod:`pickletools` module now has an :func:`optimize` function that " "takes a string containing a pickle and removes some unused opcodes, " @@ -2468,25 +2469,25 @@ msgid "" "(Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.6.rst:2226 +#: whatsnew/2.6.rst:2227 msgid "" "A :func:`get_data` function was added to the :mod:`pkgutil` module that " "returns the contents of resource files included with an installed Python " "package. For example::" msgstr "" -#: whatsnew/2.6.rst:2241 +#: whatsnew/2.6.rst:2242 msgid "(Contributed by Paul Moore; :issue:`2439`.)" msgstr "" -#: whatsnew/2.6.rst:2243 +#: whatsnew/2.6.rst:2244 msgid "" "The :mod:`pyexpat` module's :class:`Parser` objects now allow setting their :" "attr:`buffer_size` attribute to change the size of the buffer used to hold " "character data. (Contributed by Achim Gaedke; :issue:`1137`.)" msgstr "" -#: whatsnew/2.6.rst:2248 +#: whatsnew/2.6.rst:2249 msgid "" "The :mod:`Queue` module now provides queue variants that retrieve entries in " "different orders. The :class:`PriorityQueue` class stores queued items in a " @@ -2495,7 +2496,7 @@ msgid "" "(Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/2.6.rst:2255 +#: whatsnew/2.6.rst:2256 msgid "" "The :mod:`random` module's :class:`Random` objects can now be pickled on a " "32-bit system and unpickled on a 64-bit system, and vice versa. " @@ -2504,7 +2505,7 @@ msgid "" "(Contributed by Shawn Ligocki; :issue:`1727780`.)" msgstr "" -#: whatsnew/2.6.rst:2262 +#: whatsnew/2.6.rst:2263 msgid "" "The new ``triangular(low, high, mode)`` function returns random numbers " "following a triangular distribution. The returned values are between *low* " @@ -2513,14 +2514,14 @@ msgid "" "der Laan and Raymond Hettinger; :issue:`1681432`.)" msgstr "" -#: whatsnew/2.6.rst:2269 +#: whatsnew/2.6.rst:2270 msgid "" "Long regular expression searches carried out by the :mod:`re` module will " "check for signals being delivered, so time-consuming searches can now be " "interrupted. (Contributed by Josh Hoyt and Ralf Schmitt; :issue:`846388`.)" msgstr "" -#: whatsnew/2.6.rst:2274 +#: whatsnew/2.6.rst:2275 msgid "" "The regular expression module is implemented by compiling bytecodes for a " "tiny regex-specific virtual machine. Untrusted code could create malicious " @@ -2529,14 +2530,14 @@ msgid "" "for Google App Engine; :issue:`3487`.)" msgstr "" -#: whatsnew/2.6.rst:2281 +#: whatsnew/2.6.rst:2282 msgid "" "The :mod:`rlcompleter` module's :meth:`Completer.complete()` method will now " "ignore exceptions triggered while evaluating a name. (Fixed by Lorenz " "Quack; :issue:`2250`.)" msgstr "" -#: whatsnew/2.6.rst:2285 +#: whatsnew/2.6.rst:2286 msgid "" "The :mod:`sched` module's :class:`scheduler` instances now have a read-only :" "attr:`queue` attribute that returns the contents of the scheduler's queue, " @@ -2544,7 +2545,7 @@ msgid "" "action, argument)``. (Contributed by Raymond Hettinger; :issue:`1861`.)" msgstr "" -#: whatsnew/2.6.rst:2291 +#: whatsnew/2.6.rst:2292 msgid "" "The :mod:`select` module now has wrapper functions for the Linux :c:func:`!" "epoll` and BSD :c:func:`!kqueue` system calls. :meth:`modify` method was " @@ -2554,7 +2555,7 @@ msgid "" "Heimes; :issue:`1657`.)" msgstr "" -#: whatsnew/2.6.rst:2299 +#: whatsnew/2.6.rst:2300 msgid "" "The :func:`shutil.copytree` function now has an optional *ignore* argument " "that takes a callable object. This callable will receive each directory " @@ -2562,7 +2563,7 @@ msgid "" "that will be ignored, not copied." msgstr "" -#: whatsnew/2.6.rst:2304 +#: whatsnew/2.6.rst:2305 msgid "" "The :mod:`shutil` module also provides an :func:`ignore_patterns` function " "for use with this new parameter. :func:`ignore_patterns` takes an arbitrary " @@ -2572,11 +2573,11 @@ msgid "" "Emacs backup files, which have names ending with '~'::" msgstr "" -#: whatsnew/2.6.rst:2315 +#: whatsnew/2.6.rst:2316 msgid "(Contributed by Tarek Ziadé; :issue:`2663`.)" msgstr "" -#: whatsnew/2.6.rst:2317 +#: whatsnew/2.6.rst:2318 msgid "" "Integrating signal handling with GUI handling event loops like those used by " "Tkinter or GTk+ has long been a problem; most software ends up polling, " @@ -2588,7 +2589,7 @@ msgid "" "descriptor." msgstr "" -#: whatsnew/2.6.rst:2327 +#: whatsnew/2.6.rst:2328 msgid "" "Event loops will use this by opening a pipe to create two descriptors, one " "for reading and one for writing. The writable descriptor will be passed to :" @@ -2598,18 +2599,18 @@ msgid "" "loop will be woken up, avoiding the need to poll." msgstr "" -#: whatsnew/2.6.rst:2335 +#: whatsnew/2.6.rst:2336 msgid "(Contributed by Adam Olsen; :issue:`1583`.)" msgstr "" -#: whatsnew/2.6.rst:2337 +#: whatsnew/2.6.rst:2338 msgid "" "The :func:`siginterrupt` function is now available from Python code, and " "allows changing whether signals can interrupt system calls or not. " "(Contributed by Ralf Schmitt.)" msgstr "" -#: whatsnew/2.6.rst:2341 +#: whatsnew/2.6.rst:2342 msgid "" "The :func:`setitimer` and :func:`getitimer` functions have also been added " "(where they're available). :func:`setitimer` allows setting interval timers " @@ -2618,7 +2619,7 @@ msgid "" "process+system time. (Contributed by Guilherme Polo; :issue:`2240`.)" msgstr "" -#: whatsnew/2.6.rst:2348 +#: whatsnew/2.6.rst:2349 msgid "" "The :mod:`smtplib` module now supports SMTP over SSL thanks to the addition " "of the :class:`SMTP_SSL` class. This class supports an interface identical " @@ -2628,7 +2629,7 @@ msgid "" "seconds. (Contributed by Facundo Batista.)" msgstr "" -#: whatsnew/2.6.rst:2356 +#: whatsnew/2.6.rst:2357 msgid "" "An implementation of the LMTP protocol (:rfc:`2033`) was also added to the " "module. LMTP is used in place of SMTP when transferring e-mail between " @@ -2636,14 +2637,14 @@ msgid "" "issue:`957003`.)" msgstr "" -#: whatsnew/2.6.rst:2361 +#: whatsnew/2.6.rst:2362 msgid "" ":meth:`SMTP.starttls` now complies with :rfc:`3207` and forgets any " "knowledge obtained from the server not obtained from the TLS negotiation " "itself. (Patch contributed by Bill Fenner; :issue:`829951`.)" msgstr "" -#: whatsnew/2.6.rst:2366 +#: whatsnew/2.6.rst:2367 msgid "" "The :mod:`socket` module now supports TIPC (https://tipc.sourceforge.net/), " "a high-performance non-IP-based protocol designed for use in clustered " @@ -2651,7 +2652,7 @@ msgid "" "Bertogli; :issue:`1646`.)" msgstr "" -#: whatsnew/2.6.rst:2371 +#: whatsnew/2.6.rst:2372 msgid "" "A new function, :func:`create_connection`, takes an address and connects to " "it using an optional timeout value, returning the connected socket object. " @@ -2661,7 +2662,7 @@ msgid "" "make your code work with IPv6." msgstr "" -#: whatsnew/2.6.rst:2379 +#: whatsnew/2.6.rst:2380 msgid "" "The base classes in the :mod:`SocketServer` module now support calling a :" "meth:`handle_timeout` method after a span of inactivity specified by the " @@ -2672,19 +2673,19 @@ msgid "" "`742598`, :issue:`1193577`.)" msgstr "" -#: whatsnew/2.6.rst:2388 +#: whatsnew/2.6.rst:2389 msgid "" "The :mod:`sqlite3` module, maintained by Gerhard Häring, has been updated " "from version 2.3.2 in Python 2.5 to version 2.4.1." msgstr "" -#: whatsnew/2.6.rst:2392 +#: whatsnew/2.6.rst:2393 msgid "" "The :mod:`struct` module now supports the C99 :c:expr:`_Bool` type, using " "the format character ``'?'``. (Contributed by David Remahl.)" msgstr "" -#: whatsnew/2.6.rst:2396 +#: whatsnew/2.6.rst:2397 msgid "" "The :class:`Popen` objects provided by the :mod:`subprocess` module now " "have :meth:`terminate`, :meth:`kill`, and :meth:`send_signal` methods. On " @@ -2693,7 +2694,7 @@ msgid "" "`TerminateProcess`. (Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:2403 +#: whatsnew/2.6.rst:2404 msgid "" "A new variable in the :mod:`sys` module, :attr:`float_info`, is an object " "containing information derived from the :file:`float.h` file about the " @@ -2703,7 +2704,7 @@ msgid "" "several others. (Contributed by Christian Heimes; :issue:`1534`.)" msgstr "" -#: whatsnew/2.6.rst:2411 +#: whatsnew/2.6.rst:2412 msgid "" "Another new variable, :attr:`dont_write_bytecode`, controls whether Python " "writes any :file:`.pyc` or :file:`.pyo` files on importing a module. If this " @@ -2715,7 +2716,7 @@ msgid "" "written or not. (Contributed by Neal Norwitz and Georg Brandl.)" msgstr "" -#: whatsnew/2.6.rst:2422 +#: whatsnew/2.6.rst:2423 msgid "" "Information about the command-line arguments supplied to the Python " "interpreter is available by reading attributes of a named tuple available as " @@ -2724,7 +2725,7 @@ msgid "" "These attributes are all read-only. (Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:2430 +#: whatsnew/2.6.rst:2431 msgid "" "A new function, :func:`getsizeof`, takes a Python object and returns the " "amount of memory used by the object, measured in bytes. Built-in objects " @@ -2733,14 +2734,14 @@ msgid "" "Schuppenies; :issue:`2898`.)" msgstr "" -#: whatsnew/2.6.rst:2437 +#: whatsnew/2.6.rst:2438 msgid "" "It's now possible to determine the current profiler and tracer functions by " "calling :func:`sys.getprofile` and :func:`sys.gettrace`. (Contributed by " "Georg Brandl; :issue:`1648`.)" msgstr "" -#: whatsnew/2.6.rst:2441 +#: whatsnew/2.6.rst:2442 msgid "" "The :mod:`tarfile` module now supports POSIX.1-2001 (pax) tarfiles in " "addition to the POSIX.1-1988 (ustar) and GNU tar formats that were already " @@ -2748,7 +2749,7 @@ msgid "" "to open a file using a different format::" msgstr "" -#: whatsnew/2.6.rst:2449 +#: whatsnew/2.6.rst:2450 msgid "" "The new ``encoding`` and ``errors`` parameters specify an encoding and an " "error handling scheme for character conversions. ``'strict'``, " @@ -2758,7 +2759,7 @@ msgid "" "PAX format supports Unicode filenames, defaulting to UTF-8 encoding.)" msgstr "" -#: whatsnew/2.6.rst:2457 +#: whatsnew/2.6.rst:2458 msgid "" "The :meth:`TarFile.add` method now accepts an ``exclude`` argument that's a " "function that can be used to exclude certain filenames from an archive. The " @@ -2768,18 +2769,18 @@ msgid "" "added directories." msgstr "" -#: whatsnew/2.6.rst:2465 +#: whatsnew/2.6.rst:2466 msgid "(All changes contributed by Lars Gustäbel)." msgstr "" -#: whatsnew/2.6.rst:2467 +#: whatsnew/2.6.rst:2468 msgid "" "An optional ``timeout`` parameter was added to the :class:`telnetlib.Telnet` " "class constructor, specifying a timeout measured in seconds. (Added by " "Facundo Batista.)" msgstr "" -#: whatsnew/2.6.rst:2471 +#: whatsnew/2.6.rst:2472 msgid "" "The :class:`tempfile.NamedTemporaryFile` class usually deletes the temporary " "file it created when the file is closed. This behaviour can now be changed " @@ -2787,7 +2788,7 @@ msgid "" "Miller; :issue:`1537850`.)" msgstr "" -#: whatsnew/2.6.rst:2476 +#: whatsnew/2.6.rst:2477 msgid "" "A new class, :class:`SpooledTemporaryFile`, behaves like a temporary file " "but stores its data in memory until a maximum size is exceeded. On reaching " @@ -2795,7 +2796,7 @@ msgid "" "(Contributed by Dustin J. Mitchell.)" msgstr "" -#: whatsnew/2.6.rst:2481 +#: whatsnew/2.6.rst:2482 msgid "" "The :class:`NamedTemporaryFile` and :class:`SpooledTemporaryFile` classes " "both work as context managers, so you can write ``with tempfile." @@ -2803,7 +2804,7 @@ msgid "" "issue:`2021`.)" msgstr "" -#: whatsnew/2.6.rst:2486 +#: whatsnew/2.6.rst:2487 msgid "" "The :mod:`test.test_support` module gained a number of context managers " "useful for writing tests. :func:`EnvironmentVarGuard` is a context manager " @@ -2811,7 +2812,7 @@ msgid "" "them to their old values." msgstr "" -#: whatsnew/2.6.rst:2492 +#: whatsnew/2.6.rst:2493 msgid "" "Another context manager, :class:`TransientResource`, can surround calls to " "resources that may or may not be available; it will catch and ignore a " @@ -2819,29 +2820,29 @@ msgid "" "certain failures when connecting to an external web site::" msgstr "" -#: whatsnew/2.6.rst:2503 +#: whatsnew/2.6.rst:2504 msgid "" "Finally, :func:`check_warnings` resets the :mod:`warning` module's warning " "filters and returns an object that will record all warning messages " "triggered (:issue:`3781`)::" msgstr "" -#: whatsnew/2.6.rst:2513 +#: whatsnew/2.6.rst:2514 msgid "(Contributed by Brett Cannon.)" msgstr "" -#: whatsnew/2.6.rst:2515 +#: whatsnew/2.6.rst:2516 msgid "" "The :mod:`textwrap` module can now preserve existing whitespace at the " "beginnings and ends of the newly created lines by specifying " "``drop_whitespace=False`` as an argument::" msgstr "" -#: whatsnew/2.6.rst:2534 +#: whatsnew/2.6.rst:2535 msgid "(Contributed by Dwayne Bailey; :issue:`1581073`.)" msgstr "" -#: whatsnew/2.6.rst:2536 +#: whatsnew/2.6.rst:2537 msgid "" "The :mod:`threading` module API is being changed to use properties such as :" "attr:`daemon` instead of :meth:`setDaemon` and :meth:`isDaemon` methods, and " @@ -2854,14 +2855,14 @@ msgid "" "Peterson.)" msgstr "" -#: whatsnew/2.6.rst:2547 +#: whatsnew/2.6.rst:2548 msgid "" "The :mod:`threading` module's :class:`Thread` objects gained an :attr:" "`ident` property that returns the thread's identifier, a nonzero integer. " "(Contributed by Gregory P. Smith; :issue:`2871`.)" msgstr "" -#: whatsnew/2.6.rst:2552 +#: whatsnew/2.6.rst:2553 msgid "" "The :mod:`timeit` module now accepts callables as well as strings for the " "statement being timed and for the setup code. Two convenience functions were " @@ -2871,62 +2872,62 @@ msgid "" "issue:`1533909`.)" msgstr "" -#: whatsnew/2.6.rst:2561 +#: whatsnew/2.6.rst:2562 msgid "" "The :mod:`Tkinter` module now accepts lists and tuples for options, " "separating the elements by spaces before passing the resulting value to Tcl/" "Tk. (Contributed by Guilherme Polo; :issue:`2906`.)" msgstr "" -#: whatsnew/2.6.rst:2566 +#: whatsnew/2.6.rst:2567 msgid "" "The :mod:`turtle` module for turtle graphics was greatly enhanced by Gregor " "Lingl. New features in the module include:" msgstr "" -#: whatsnew/2.6.rst:2569 +#: whatsnew/2.6.rst:2570 msgid "Better animation of turtle movement and rotation." msgstr "" -#: whatsnew/2.6.rst:2570 +#: whatsnew/2.6.rst:2571 msgid "" "Control over turtle movement using the new :meth:`delay`, :meth:`tracer`, " "and :meth:`speed` methods." msgstr "" -#: whatsnew/2.6.rst:2572 +#: whatsnew/2.6.rst:2573 msgid "" "The ability to set new shapes for the turtle, and to define a new coordinate " "system." msgstr "" -#: whatsnew/2.6.rst:2574 +#: whatsnew/2.6.rst:2575 msgid "Turtles now have an :meth:`undo()` method that can roll back actions." msgstr "" -#: whatsnew/2.6.rst:2575 +#: whatsnew/2.6.rst:2576 msgid "" "Simple support for reacting to input events such as mouse and keyboard " "activity, making it possible to write simple games." msgstr "" -#: whatsnew/2.6.rst:2577 +#: whatsnew/2.6.rst:2578 msgid "" "A :file:`turtle.cfg` file can be used to customize the starting appearance " "of the turtle's screen." msgstr "" -#: whatsnew/2.6.rst:2579 +#: whatsnew/2.6.rst:2580 msgid "" "The module's docstrings can be replaced by new docstrings that have been " "translated into another language." msgstr "" -#: whatsnew/2.6.rst:2582 +#: whatsnew/2.6.rst:2583 msgid "(:issue:`1513695`)" msgstr "" -#: whatsnew/2.6.rst:2584 +#: whatsnew/2.6.rst:2585 msgid "" "An optional ``timeout`` parameter was added to the :func:`urllib.urlopen` " "function and the :class:`urllib.ftpwrapper` class constructor, as well as " @@ -2934,17 +2935,17 @@ msgid "" "measured in seconds. For example::" msgstr "" -#: whatsnew/2.6.rst:2597 +#: whatsnew/2.6.rst:2598 msgid "(Added by Facundo Batista.)" msgstr "" -#: whatsnew/2.6.rst:2599 +#: whatsnew/2.6.rst:2600 msgid "" "The Unicode database provided by the :mod:`unicodedata` module has been " "updated to version 5.1.0. (Updated by Martin von Löwis; :issue:`3811`.)" msgstr "" -#: whatsnew/2.6.rst:2603 +#: whatsnew/2.6.rst:2604 msgid "" "The :mod:`warnings` module's :func:`formatwarning` and :func:`showwarning` " "gained an optional *line* argument that can be used to supply the line of " @@ -2952,14 +2953,14 @@ msgid "" "of the :mod:`warnings` module in C code.)" msgstr "" -#: whatsnew/2.6.rst:2608 +#: whatsnew/2.6.rst:2609 msgid "" "A new function, :func:`catch_warnings`, is a context manager intended for " "testing purposes that lets you temporarily modify the warning filters and " "then restore their original values (:issue:`3781`)." msgstr "" -#: whatsnew/2.6.rst:2612 +#: whatsnew/2.6.rst:2613 msgid "" "The XML-RPC :class:`SimpleXMLRPCServer` and :class:`DocXMLRPCServer` classes " "can now be prevented from immediately opening and binding to their socket by " @@ -2970,7 +2971,7 @@ msgid "" "Peter Parente; :issue:`1599845`.)" msgstr "" -#: whatsnew/2.6.rst:2621 +#: whatsnew/2.6.rst:2622 msgid "" ":class:`SimpleXMLRPCServer` also has a :attr:`_send_traceback_header` " "attribute; if true, the exception and formatted traceback are returned as " @@ -2981,7 +2982,7 @@ msgid "" "Code 2007.)" msgstr "" -#: whatsnew/2.6.rst:2629 +#: whatsnew/2.6.rst:2630 msgid "" "The :mod:`xmlrpclib` module no longer automatically converts :class:" "`datetime.date` and :class:`datetime.time` to the :class:`xmlrpclib." @@ -2993,18 +2994,18 @@ msgid "" "by Riku Lindblad; :issue:`2985`)." msgstr "" -#: whatsnew/2.6.rst:2639 +#: whatsnew/2.6.rst:2640 msgid "" "The :mod:`zipfile` module's :class:`ZipFile` class now has :meth:`extract` " "and :meth:`extractall` methods that will unpack a single file or all the " "files in the archive to the current directory, or to a specified directory::" msgstr "" -#: whatsnew/2.6.rst:2653 +#: whatsnew/2.6.rst:2654 msgid "(Contributed by Alan McIntyre; :issue:`467924`.)" msgstr "" -#: whatsnew/2.6.rst:2655 +#: whatsnew/2.6.rst:2656 msgid "" "The :meth:`open`, :meth:`read` and :meth:`extract` methods can now take " "either a filename or a :class:`ZipInfo` object. This is useful when an " @@ -3012,17 +3013,17 @@ msgid "" "Horler; :issue:`1775025`.)" msgstr "" -#: whatsnew/2.6.rst:2660 +#: whatsnew/2.6.rst:2661 msgid "" "Finally, :mod:`zipfile` now supports using Unicode filenames for archived " "files. (Contributed by Alexey Borzenkov; :issue:`1734346`.)" msgstr "" -#: whatsnew/2.6.rst:2667 +#: whatsnew/2.6.rst:2668 msgid "The :mod:`ast` module" msgstr "" -#: whatsnew/2.6.rst:2669 +#: whatsnew/2.6.rst:2670 msgid "" "The :mod:`ast` module provides an Abstract Syntax Tree representation of " "Python code, and Armin Ronacher contributed a set of helper functions that " @@ -3030,17 +3031,17 @@ msgid "" "packages, code analyzers, and similar tools that process Python code." msgstr "" -#: whatsnew/2.6.rst:2676 +#: whatsnew/2.6.rst:2677 msgid "" "The :func:`parse` function takes an expression and returns an AST. The :func:" "`dump` function outputs a representation of a tree, suitable for debugging::" msgstr "" -#: whatsnew/2.6.rst:2690 +#: whatsnew/2.6.rst:2691 msgid "This outputs a deeply nested tree::" msgstr "" -#: whatsnew/2.6.rst:2723 +#: whatsnew/2.6.rst:2724 msgid "" "The :func:`literal_eval` method takes a string or an AST representing a " "literal expression, parses and evaluates it, and returns the resulting " @@ -3050,18 +3051,18 @@ msgid "" "an :func:`eval` call, :func:`literal_eval` will handle it safely::" msgstr "" -#: whatsnew/2.6.rst:2739 +#: whatsnew/2.6.rst:2740 msgid "" "The module also includes :class:`NodeVisitor` and :class:`NodeTransformer` " "classes for traversing and modifying an AST, and functions for common " "transformations such as changing line numbers." msgstr "" -#: whatsnew/2.6.rst:2747 +#: whatsnew/2.6.rst:2748 msgid "The :mod:`future_builtins` module" msgstr "" -#: whatsnew/2.6.rst:2749 +#: whatsnew/2.6.rst:2750 msgid "" "Python 3.0 makes many changes to the repertoire of built-in functions, and " "most of the changes can't be introduced in the Python 2.x series because " @@ -3070,24 +3071,24 @@ msgid "" "compatible code." msgstr "" -#: whatsnew/2.6.rst:2756 +#: whatsnew/2.6.rst:2757 msgid "The functions in this module currently include:" msgstr "" -#: whatsnew/2.6.rst:2758 +#: whatsnew/2.6.rst:2759 msgid "" "``ascii(obj)``: equivalent to :func:`repr`. In Python 3.0, :func:`repr` " "will return a Unicode string, while :func:`ascii` will return a pure ASCII " "bytestring." msgstr "" -#: whatsnew/2.6.rst:2762 +#: whatsnew/2.6.rst:2763 msgid "" "``filter(predicate, iterable)``, ``map(func, iterable1, ...)``: the 3.0 " "versions return iterators, unlike the 2.x builtins which return lists." msgstr "" -#: whatsnew/2.6.rst:2766 +#: whatsnew/2.6.rst:2767 msgid "" "``hex(value)``, ``oct(value)``: instead of calling the :meth:`__hex__` or :" "meth:`__oct__` methods, these versions will call the :meth:`__index__` " @@ -3095,11 +3096,11 @@ msgid "" "the new ``0o`` notation for its result." msgstr "" -#: whatsnew/2.6.rst:2775 +#: whatsnew/2.6.rst:2776 msgid "The :mod:`json` module: JavaScript Object Notation" msgstr "" -#: whatsnew/2.6.rst:2777 +#: whatsnew/2.6.rst:2778 msgid "" "The new :mod:`json` module supports the encoding and decoding of Python " "types in JSON (Javascript Object Notation). JSON is a lightweight " @@ -3107,34 +3108,34 @@ msgid "" "about JSON, see http://www.json.org." msgstr "" -#: whatsnew/2.6.rst:2782 +#: whatsnew/2.6.rst:2783 msgid "" ":mod:`json` comes with support for decoding and encoding most built-in " "Python types. The following example encodes and decodes a dictionary::" msgstr "" -#: whatsnew/2.6.rst:2793 +#: whatsnew/2.6.rst:2794 msgid "" "It's also possible to write your own decoders and encoders to support more " "types. Pretty-printing of the JSON strings is also supported." msgstr "" -#: whatsnew/2.6.rst:2796 +#: whatsnew/2.6.rst:2797 msgid ":mod:`json` (originally called simplejson) was written by Bob Ippolito." msgstr "" -#: whatsnew/2.6.rst:2803 +#: whatsnew/2.6.rst:2804 msgid "The :mod:`plistlib` module: A Property-List Parser" msgstr "" -#: whatsnew/2.6.rst:2805 +#: whatsnew/2.6.rst:2806 msgid "" "The ``.plist`` format is commonly used on Mac OS X to store basic data types " "(numbers, strings, lists, and dictionaries) by serializing them into an XML-" "based format. It resembles the XML-RPC serialization of data types." msgstr "" -#: whatsnew/2.6.rst:2810 +#: whatsnew/2.6.rst:2811 msgid "" "Despite being primarily used on Mac OS X, the format has nothing Mac-" "specific about it and the Python implementation works on any platform that " @@ -3142,33 +3143,33 @@ msgid "" "standard library." msgstr "" -#: whatsnew/2.6.rst:2815 +#: whatsnew/2.6.rst:2816 msgid "Using the module is simple::" msgstr "" -#: whatsnew/2.6.rst:2842 +#: whatsnew/2.6.rst:2843 msgid "ctypes Enhancements" msgstr "" -#: whatsnew/2.6.rst:2844 +#: whatsnew/2.6.rst:2845 msgid "" "Thomas Heller continued to maintain and enhance the :mod:`ctypes` module." msgstr "" -#: whatsnew/2.6.rst:2847 +#: whatsnew/2.6.rst:2848 msgid "" ":mod:`ctypes` now supports a :class:`c_bool` datatype that represents the " "C99 ``bool`` type. (Contributed by David Remahl; :issue:`1649190`.)" msgstr "" -#: whatsnew/2.6.rst:2851 +#: whatsnew/2.6.rst:2852 msgid "" "The :mod:`ctypes` string, buffer and array types have improved support for " "extended slicing syntax, where various combinations of ``(start, stop, " "step)`` are supplied. (Implemented by Thomas Wouters.)" msgstr "" -#: whatsnew/2.6.rst:2858 +#: whatsnew/2.6.rst:2859 msgid "" "All :mod:`ctypes` data types now support :meth:`from_buffer` and :meth:" "`from_buffer_copy` methods that create a ctypes instance based on a provided " @@ -3176,14 +3177,14 @@ msgid "" "while :meth:`from_buffer` will share the same memory area." msgstr "" -#: whatsnew/2.6.rst:2865 +#: whatsnew/2.6.rst:2866 msgid "" "A new calling convention tells :mod:`ctypes` to clear the ``errno`` or Win32 " "LastError variables at the outset of each wrapped call. (Implemented by " "Thomas Heller; :issue:`1798`.)" msgstr "" -#: whatsnew/2.6.rst:2869 +#: whatsnew/2.6.rst:2870 msgid "" "You can now retrieve the Unix ``errno`` variable after a function call. " "When creating a wrapped function, you can supply ``use_errno=True`` as a " @@ -3192,7 +3193,7 @@ msgid "" "error value." msgstr "" -#: whatsnew/2.6.rst:2875 +#: whatsnew/2.6.rst:2876 msgid "" "The Win32 LastError variable is similarly supported by the :func:`DLL`, :" "func:`OleDLL`, and :func:`WinDLL` functions. You supply " @@ -3200,18 +3201,18 @@ msgid "" "level methods :meth:`set_last_error` and :meth:`get_last_error`." msgstr "" -#: whatsnew/2.6.rst:2881 +#: whatsnew/2.6.rst:2882 msgid "" "The :func:`byref` function, used to retrieve a pointer to a ctypes instance, " "now has an optional *offset* parameter that is a byte count that will be " "added to the returned pointer." msgstr "" -#: whatsnew/2.6.rst:2888 +#: whatsnew/2.6.rst:2889 msgid "Improved SSL Support" msgstr "" -#: whatsnew/2.6.rst:2890 +#: whatsnew/2.6.rst:2891 msgid "" "Bill Janssen made extensive improvements to Python 2.6's support for the " "Secure Sockets Layer by adding a new module, :mod:`ssl`, that's built atop " @@ -3222,7 +3223,7 @@ msgid "" "removed and continues to work, though it will be removed in Python 3.0." msgstr "" -#: whatsnew/2.6.rst:2899 +#: whatsnew/2.6.rst:2900 msgid "" "To use the new module, you must first create a TCP connection in the usual " "way and then pass it to the :func:`ssl.wrap_socket` function. It's possible " @@ -3230,35 +3231,35 @@ msgid "" "by calling the :meth:`getpeercert` method." msgstr "" -#: whatsnew/2.6.rst:2906 +#: whatsnew/2.6.rst:2907 msgid "The documentation for the :mod:`ssl` module." msgstr "" -#: whatsnew/2.6.rst:2911 +#: whatsnew/2.6.rst:2912 msgid "Deprecations and Removals" msgstr "" -#: whatsnew/2.6.rst:3241 +#: whatsnew/2.6.rst:3242 msgid "" "String exceptions have been removed. Attempting to use them raises a :exc:" "`TypeError`." msgstr "" -#: whatsnew/2.6.rst:2916 +#: whatsnew/2.6.rst:2917 msgid "" "Changes to the :class:`Exception` interface as dictated by :pep:`352` " "continue to be made. For 2.6, the :attr:`message` attribute is being " "deprecated in favor of the :attr:`args` attribute." msgstr "" -#: whatsnew/2.6.rst:2921 +#: whatsnew/2.6.rst:2922 msgid "" "(3.0-warning mode) Python 3.0 will feature a reorganized standard library " "that will drop many outdated modules and rename others. Python 2.6 running " "in 3.0-warning mode will warn about these modules when they are imported." msgstr "" -#: whatsnew/2.6.rst:2926 +#: whatsnew/2.6.rst:2927 msgid "" "The list of deprecated modules is: :mod:`audiodev`, :mod:`bgenlocations`, :" "mod:`buildtools`, :mod:`bundlebuilder`, :mod:`Canvas`, :mod:`compiler`, :mod:" @@ -3268,59 +3269,59 @@ msgid "" "`statvfs`, :mod:`sunaudiodev`, :mod:`test.testall`, and :mod:`toaiff`." msgstr "" -#: whatsnew/2.6.rst:2951 +#: whatsnew/2.6.rst:2952 msgid "The :mod:`gopherlib` module has been removed." msgstr "" -#: whatsnew/2.6.rst:2953 +#: whatsnew/2.6.rst:2954 msgid "" "The :mod:`MimeWriter` module and :mod:`mimify` module have been deprecated; " "use the :mod:`email` package instead." msgstr "" -#: whatsnew/2.6.rst:2957 +#: whatsnew/2.6.rst:2958 msgid "" "The :mod:`md5` module has been deprecated; use the :mod:`hashlib` module " "instead." msgstr "" -#: whatsnew/2.6.rst:2960 +#: whatsnew/2.6.rst:2961 msgid "" "The :mod:`posixfile` module has been deprecated; :func:`fcntl.lockf` " "provides better locking." msgstr "" -#: whatsnew/2.6.rst:2963 +#: whatsnew/2.6.rst:2964 msgid "" "The :mod:`popen2` module has been deprecated; use the :mod:`subprocess` " "module." msgstr "" -#: whatsnew/2.6.rst:2966 +#: whatsnew/2.6.rst:2967 msgid "The :mod:`rgbimg` module has been removed." msgstr "" -#: whatsnew/2.6.rst:2968 +#: whatsnew/2.6.rst:2969 msgid "" "The :mod:`sets` module has been deprecated; it's better to use the built-in :" "class:`set` and :class:`frozenset` types." msgstr "" -#: whatsnew/2.6.rst:2971 +#: whatsnew/2.6.rst:2972 msgid "" "The :mod:`sha` module has been deprecated; use the :mod:`hashlib` module " "instead." msgstr "" -#: whatsnew/2.6.rst:2979 +#: whatsnew/2.6.rst:2980 msgid "Build and C API Changes" msgstr "" -#: whatsnew/2.6.rst:2981 +#: whatsnew/2.6.rst:2982 msgid "Changes to Python's build process and to the C API include:" msgstr "" -#: whatsnew/2.6.rst:2983 +#: whatsnew/2.6.rst:2984 msgid "" "Python now must be compiled with C89 compilers (after 19 years!). This " "means that the Python source tree has dropped its own implementations of :c:" @@ -3328,14 +3329,14 @@ msgid "" "library." msgstr "" -#: whatsnew/2.6.rst:2988 +#: whatsnew/2.6.rst:2989 msgid "" "Python 2.6 can be built with Microsoft Visual Studio 2008 (version 9.0), and " "this is the new default compiler. See the :file:`PCbuild` directory for the " "build files. (Implemented by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:2993 +#: whatsnew/2.6.rst:2994 msgid "" "On Mac OS X, Python 2.6 can be compiled as a 4-way universal build. The :" "program:`configure` script can take a :option:`!--with-universal-archs=[32-" @@ -3344,21 +3345,21 @@ msgid "" "(Contributed by Ronald Oussoren.)" msgstr "" -#: whatsnew/2.6.rst:3000 +#: whatsnew/2.6.rst:3001 msgid "" "The BerkeleyDB module now has a C API object, available as ``bsddb.db." "api``. This object can be used by other C extensions that wish to use the :" "mod:`bsddb` module for their own purposes. (Contributed by Duncan Grisby.)" msgstr "" -#: whatsnew/2.6.rst:3005 +#: whatsnew/2.6.rst:3006 msgid "" "The new buffer interface, previously described in `the PEP 3118 section " "<#pep-3118-revised-buffer-protocol>`__, adds :c:func:`PyObject_GetBuffer` " "and :c:func:`PyBuffer_Release`, as well as a few other functions." msgstr "" -#: whatsnew/2.6.rst:3010 +#: whatsnew/2.6.rst:3011 msgid "" "Python's use of the C stdio library is now thread-safe, or at least as " "thread-safe as the underlying library is. A long-standing potential bug " @@ -3373,7 +3374,7 @@ msgid "" "Gregory P. Smith.)" msgstr "" -#: whatsnew/2.6.rst:3023 +#: whatsnew/2.6.rst:3024 msgid "" "Importing modules simultaneously in two different threads no longer " "deadlocks; it will now raise an :exc:`ImportError`. A new API function, :c:" @@ -3383,7 +3384,7 @@ msgid "" "(Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:3031 +#: whatsnew/2.6.rst:3032 msgid "" "Several functions return information about the platform's floating-point " "support. :c:func:`PyFloat_GetMax` returns the maximum representable " @@ -3395,7 +3396,7 @@ msgid "" "by Christian Heimes; :issue:`1534`.)" msgstr "" -#: whatsnew/2.6.rst:3042 +#: whatsnew/2.6.rst:3043 msgid "" "C functions and methods that use :c:func:`PyComplex_AsCComplex` will now " "accept arguments that have a :meth:`__complex__` method. In particular, the " @@ -3404,14 +3405,14 @@ msgid "" "Dickinson; :issue:`1675423`.)" msgstr "" -#: whatsnew/2.6.rst:3049 +#: whatsnew/2.6.rst:3050 msgid "" "Python's C API now includes two functions for case-insensitive string " "comparisons, ``PyOS_stricmp(char*, char*)`` and ``PyOS_strnicmp(char*, " "char*, Py_ssize_t)``. (Contributed by Christian Heimes; :issue:`1635`.)" msgstr "" -#: whatsnew/2.6.rst:3054 +#: whatsnew/2.6.rst:3055 msgid "" "Many C extensions define their own little macro for adding integers and " "strings to the module's dictionary in the ``init*`` function. Python 2.6 " @@ -3420,7 +3421,7 @@ msgid "" "(Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:3061 +#: whatsnew/2.6.rst:3062 msgid "" "Some macros were renamed in both 3.0 and 2.6 to make it clearer that they " "are macros, not functions. :c:macro:`!Py_Size()` became :c:macro:" @@ -3429,14 +3430,14 @@ msgid "" "still available in Python 2.6 for backward compatibility. (:issue:`1629`)" msgstr "" -#: whatsnew/2.6.rst:3070 +#: whatsnew/2.6.rst:3071 msgid "" "Distutils now places C extensions it builds in a different directory when " "running on a debug version of Python. (Contributed by Collin Winter; :issue:" "`1530959`.)" msgstr "" -#: whatsnew/2.6.rst:3074 +#: whatsnew/2.6.rst:3075 msgid "" "Several basic data types, such as integers and strings, maintain internal " "free lists of objects that can be re-used. The data structures for these " @@ -3445,7 +3446,7 @@ msgid "" "``Py_MAXFREELIST`` is always defined." msgstr "" -#: whatsnew/2.6.rst:3081 +#: whatsnew/2.6.rst:3082 msgid "" "A new Makefile target, \"make patchcheck\", prepares the Python source tree " "for making a patch: it fixes trailing whitespace in all modified ``.py`` " @@ -3454,7 +3455,7 @@ msgid "" "(Contributed by Brett Cannon.)" msgstr "" -#: whatsnew/2.6.rst:3088 +#: whatsnew/2.6.rst:3089 msgid "" "Another new target, \"make profile-opt\", compiles a Python binary using " "GCC's profile-guided optimization. It compiles Python with profiling " @@ -3463,17 +3464,17 @@ msgid "" "Smith.)" msgstr "" -#: whatsnew/2.6.rst:3097 +#: whatsnew/2.6.rst:3098 msgid "Port-Specific Changes: Windows" msgstr "" -#: whatsnew/2.6.rst:3099 +#: whatsnew/2.6.rst:3100 msgid "" "The support for Windows 95, 98, ME and NT4 has been dropped. Python 2.6 " "requires at least Windows 2000 SP4." msgstr "" -#: whatsnew/2.6.rst:3102 +#: whatsnew/2.6.rst:3103 msgid "" "The new default compiler on Windows is Visual Studio 2008 (version 9.0). The " "build directories for Visual Studio 2003 (version 7.1) and 2005 (version " @@ -3484,7 +3485,7 @@ msgid "" "Martin von Löwis.)" msgstr "" -#: whatsnew/2.6.rst:3110 +#: whatsnew/2.6.rst:3111 msgid "" "The :mod:`msvcrt` module now supports both the normal and wide char variants " "of the console I/O API. The :func:`getwch` function reads a keypress and " @@ -3493,20 +3494,20 @@ msgid "" "(Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:3117 +#: whatsnew/2.6.rst:3118 msgid "" ":func:`os.path.expandvars` will now expand environment variables in the form " "\"%var%\", and \"~user\" will be expanded into the user's home directory " "path. (Contributed by Josiah Carlson; :issue:`957650`.)" msgstr "" -#: whatsnew/2.6.rst:3121 +#: whatsnew/2.6.rst:3122 msgid "" "The :mod:`socket` module's socket objects now have an :meth:`ioctl` method " "that provides a limited interface to the :c:func:`WSAIoctl` system interface." msgstr "" -#: whatsnew/2.6.rst:3125 +#: whatsnew/2.6.rst:3126 msgid "" "The :mod:`_winreg` module now has a function, :func:" "`ExpandEnvironmentStrings`, that expands environment variable references " @@ -3515,7 +3516,7 @@ msgid "" "`with` statements. (Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:3132 +#: whatsnew/2.6.rst:3133 msgid "" ":mod:`_winreg` also has better support for x64 systems, exposing the :func:" "`DisableReflectionKey`, :func:`EnableReflectionKey`, and :func:" @@ -3523,32 +3524,32 @@ msgid "" "for 32-bit processes running on 64-bit systems. (:issue:`1753245`)" msgstr "" -#: whatsnew/2.6.rst:3138 +#: whatsnew/2.6.rst:3139 msgid "" "The :mod:`msilib` module's :class:`Record` object gained :meth:`GetInteger` " "and :meth:`GetString` methods that return field values as an integer or a " "string. (Contributed by Floris Bruynooghe; :issue:`2125`.)" msgstr "" -#: whatsnew/2.6.rst:3146 +#: whatsnew/2.6.rst:3147 msgid "Port-Specific Changes: Mac OS X" msgstr "" -#: whatsnew/2.6.rst:3148 +#: whatsnew/2.6.rst:3149 msgid "" "When compiling a framework build of Python, you can now specify the " "framework name to be used by providing the :option:`!--with-framework-name=` " "option to the :program:`configure` script." msgstr "" -#: whatsnew/2.6.rst:3153 +#: whatsnew/2.6.rst:3154 msgid "" "The :mod:`macfs` module has been removed. This in turn required the :func:" "`macostools.touched` function to be removed because it depended on the :mod:" "`macfs` module. (:issue:`1490190`)" msgstr "" -#: whatsnew/2.6.rst:3157 +#: whatsnew/2.6.rst:3158 msgid "" "Many other Mac OS modules have been deprecated and will be removed in Python " "3.0: :mod:`_builtinSuites`, :mod:`aepack`, :mod:`aetools`, :mod:`aetypes`, :" @@ -3563,11 +3564,11 @@ msgid "" "`terminalcommand`." msgstr "" -#: whatsnew/2.6.rst:3200 +#: whatsnew/2.6.rst:3201 msgid "Port-Specific Changes: IRIX" msgstr "" -#: whatsnew/2.6.rst:3202 +#: whatsnew/2.6.rst:3203 msgid "" "A number of old IRIX-specific modules were deprecated and will be removed in " "Python 3.0: :mod:`al` and :mod:`AL`, :mod:`cd`, :mod:`cddb`, :mod:" @@ -3578,30 +3579,30 @@ msgid "" "`videoreader`, and :mod:`WAIT`." msgstr "" -#: whatsnew/2.6.rst:3232 +#: whatsnew/2.6.rst:3233 msgid "Porting to Python 2.6" msgstr "" -#: whatsnew/2.6.rst:3234 +#: whatsnew/2.6.rst:3235 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code:" msgstr "" -#: whatsnew/2.6.rst:3237 +#: whatsnew/2.6.rst:3238 msgid "" "Classes that aren't supposed to be hashable should set ``__hash__ = None`` " "in their definitions to indicate the fact." msgstr "" -#: whatsnew/2.6.rst:3244 +#: whatsnew/2.6.rst:3245 msgid "" "The :meth:`__init__` method of :class:`collections.deque` now clears any " "existing contents of the deque before adding elements from the iterable. " "This change makes the behavior match ``list.__init__()``." msgstr "" -#: whatsnew/2.6.rst:3249 +#: whatsnew/2.6.rst:3250 msgid "" ":meth:`object.__init__` previously accepted arbitrary arguments and keyword " "arguments, ignoring them. In Python 2.6, this is no longer allowed and will " @@ -3610,7 +3611,7 @@ msgid "" "through using :func:`super`). See :issue:`1683368` for discussion." msgstr "" -#: whatsnew/2.6.rst:3256 +#: whatsnew/2.6.rst:3257 msgid "" "The :class:`Decimal` constructor now accepts leading and trailing whitespace " "when passed a string. Previously it would raise an :exc:`InvalidOperation` " @@ -3619,7 +3620,7 @@ msgid "" "`ConversionSyntax` exception." msgstr "" -#: whatsnew/2.6.rst:3263 +#: whatsnew/2.6.rst:3264 msgid "" "Due to an implementation accident, if you passed a file path to the built-" "in :func:`__import__` function, it would actually import the specified " @@ -3627,20 +3628,20 @@ msgid "" "explicitly checks for this case and raises an :exc:`ImportError`." msgstr "" -#: whatsnew/2.6.rst:3269 +#: whatsnew/2.6.rst:3270 msgid "" "C API: the :c:func:`PyImport_Import` and :c:func:`PyImport_ImportModule` " "functions now default to absolute imports, not relative imports. This will " "affect C extensions that import other modules." msgstr "" -#: whatsnew/2.6.rst:3273 +#: whatsnew/2.6.rst:3274 msgid "" "C API: extension data types that shouldn't be hashable should define their " "``tp_hash`` slot to :c:func:`PyObject_HashNotImplemented`." msgstr "" -#: whatsnew/2.6.rst:3277 +#: whatsnew/2.6.rst:3278 msgid "" "The :mod:`socket` module exception :exc:`socket.error` now inherits from :" "exc:`IOError`. Previously it wasn't a subclass of :exc:`StandardError` but " @@ -3648,7 +3649,7 @@ msgid "" "`1706815`.)" msgstr "" -#: whatsnew/2.6.rst:3282 +#: whatsnew/2.6.rst:3283 msgid "" "The :mod:`xmlrpclib` module no longer automatically converts :class:" "`datetime.date` and :class:`datetime.time` to the :class:`xmlrpclib." @@ -3657,32 +3658,32 @@ msgid "" "and :class:`~datetime.time` instances. (:issue:`1330538`)" msgstr "" -#: whatsnew/2.6.rst:3289 +#: whatsnew/2.6.rst:3290 msgid "" "(3.0-warning mode) The :class:`Exception` class now warns when accessed " "using slicing or index access; having :class:`Exception` behave like a tuple " "is being phased out." msgstr "" -#: whatsnew/2.6.rst:3293 +#: whatsnew/2.6.rst:3294 msgid "" "(3.0-warning mode) inequality comparisons between two dictionaries or two " "objects that don't implement comparison methods are reported as warnings. " "``dict1 == dict2`` still works, but ``dict1 < dict2`` is being phased out." msgstr "" -#: whatsnew/2.6.rst:3298 +#: whatsnew/2.6.rst:3299 msgid "" "Comparisons between cells, which are an implementation detail of Python's " "scoping rules, also cause warnings because such comparisons are forbidden " "entirely in 3.0." msgstr "" -#: whatsnew/2.6.rst:3308 +#: whatsnew/2.6.rst:3309 msgid "Acknowledgements" msgstr "" -#: whatsnew/2.6.rst:3310 +#: whatsnew/2.6.rst:3311 msgid "" "The author would like to thank the following people for offering " "suggestions, corrections and assistance with various drafts of this article: " diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index aaa6ac594..ac9d242f7 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -343,8 +343,8 @@ msgstr "" #: whatsnew/2.7.rst:290 msgid "" -"The :mod:`ConfigParser` module uses them by default, meaning that " -"configuration files can now be read, modified, and then written back in " +"The :mod:`ConfigParser ` module uses them by default, meaning " +"that configuration files can now be read, modified, and then written back in " "their original order." msgstr "" @@ -870,20 +870,21 @@ msgstr "" #: whatsnew/2.7.rst:861 msgid "" -"When using ``@classmethod`` and ``@staticmethod`` to wrap methods as class " -"or static methods, the wrapper object now exposes the wrapped function as " -"their :attr:`__func__` attribute. (Contributed by Amaury Forgeot d'Arc, " -"after a suggestion by George Sakkis; :issue:`5982`.)" +"When using :class:`@classmethod ` and :class:`@staticmethod " +"` to wrap methods as class or static methods, the wrapper " +"object now exposes the wrapped function as their :attr:`~method.__func__` " +"attribute. (Contributed by Amaury Forgeot d'Arc, after a suggestion by " +"George Sakkis; :issue:`5982`.)" msgstr "" -#: whatsnew/2.7.rst:2463 +#: whatsnew/2.7.rst:2465 msgid "" "When a restricted set of attributes were set using ``__slots__``, deleting " "an unset attribute would not raise :exc:`AttributeError` as you would " "expect. Fixed by Benjamin Peterson; :issue:`7604`.)" msgstr "" -#: whatsnew/2.7.rst:871 +#: whatsnew/2.7.rst:873 msgid "" "Two new encodings are now supported: \"cp720\", used primarily for Arabic " "text; and \"cp858\", a variant of CP 850 that adds the euro symbol. (CP720 " @@ -891,7 +892,7 @@ msgid "" "`1616979`; CP858 contributed by Tim Hatch in :issue:`8016`.)" msgstr "" -#: whatsnew/2.7.rst:877 +#: whatsnew/2.7.rst:879 msgid "" "The :class:`file` object will now set the :attr:`filename` attribute on the :" "exc:`IOError` exception when trying to open a directory on POSIX platforms " @@ -900,7 +901,7 @@ msgid "" "to catch and report the error (fixed by Stefan Krah; :issue:`5677`)." msgstr "" -#: whatsnew/2.7.rst:884 +#: whatsnew/2.7.rst:886 msgid "" "The Python tokenizer now translates line endings itself, so the :func:" "`compile` built-in function now accepts code using any line-ending " @@ -908,7 +909,7 @@ msgid "" "newline." msgstr "" -#: whatsnew/2.7.rst:889 +#: whatsnew/2.7.rst:891 msgid "" "Extra parentheses in function definitions are illegal in Python 3.x, meaning " "that you get a syntax error from ``def f((x)): pass``. In Python3-warning " @@ -916,25 +917,25 @@ msgid "" "Lingard; :issue:`7362`.)" msgstr "" -#: whatsnew/2.7.rst:894 +#: whatsnew/2.7.rst:896 msgid "" "It's now possible to create weak references to old-style class objects. New-" "style classes were always weak-referenceable. (Fixed by Antoine Pitrou; :" "issue:`8268`.)" msgstr "" -#: whatsnew/2.7.rst:898 +#: whatsnew/2.7.rst:900 msgid "" "When a module object is garbage-collected, the module's dictionary is now " "only cleared if no one else is holding a reference to the dictionary (:issue:" "`7140`)." msgstr "" -#: whatsnew/2.7.rst:907 +#: whatsnew/2.7.rst:909 msgid "Interpreter Changes" msgstr "" -#: whatsnew/2.7.rst:909 +#: whatsnew/2.7.rst:911 msgid "" "A new environment variable, :envvar:`PYTHONWARNINGS`, allows controlling " "warnings. It should be set to a string containing warning settings, " @@ -942,7 +943,7 @@ msgid "" "(Contributed by Brian Curtin; :issue:`7301`.)" msgstr "" -#: whatsnew/2.7.rst:915 +#: whatsnew/2.7.rst:917 msgid "" "For example, the following setting will print warnings every time they " "occur, but turn warnings from the :mod:`Cookie` module into an error. (The " @@ -950,22 +951,22 @@ msgid "" "systems and shells.)" msgstr "" -#: whatsnew/2.7.rst:928 +#: whatsnew/2.7.rst:930 msgid "Optimizations" msgstr "" -#: whatsnew/2.7.rst:930 +#: whatsnew/2.7.rst:932 msgid "Several performance enhancements have been added:" msgstr "" -#: whatsnew/2.7.rst:932 +#: whatsnew/2.7.rst:934 msgid "" "A new opcode was added to perform the initial setup for :keyword:`with` " "statements, looking up the :meth:`~object.__enter__` and :meth:`~object." "__exit__` methods. (Contributed by Benjamin Peterson.)" msgstr "" -#: whatsnew/2.7.rst:936 +#: whatsnew/2.7.rst:938 msgid "" "The garbage collector now performs better for one common usage pattern: when " "many objects are being allocated without deallocating any of them. This " @@ -978,7 +979,7 @@ msgid "" "implemented by Antoine Pitrou; :issue:`4074`.)" msgstr "" -#: whatsnew/2.7.rst:947 +#: whatsnew/2.7.rst:949 msgid "" "The garbage collector tries to avoid tracking simple containers which can't " "be part of a cycle. In Python 2.7, this is now true for tuples and dicts " @@ -989,7 +990,7 @@ msgid "" "Pitrou; :issue:`4688`.)" msgstr "" -#: whatsnew/2.7.rst:956 +#: whatsnew/2.7.rst:958 msgid "" "Long integers are now stored internally either in base ``2**15`` or in base " "``2**30``, the base being determined at build time. Previously, they were " @@ -1001,7 +1002,7 @@ msgid "" "override this default." msgstr "" -#: whatsnew/2.7.rst:965 +#: whatsnew/2.7.rst:967 msgid "" "Apart from the performance improvements this change should be invisible to " "end users, with one exception: for testing and debugging purposes there's a " @@ -1010,18 +1011,18 @@ msgid "" "of the C type used to store each digit::" msgstr "" -#: whatsnew/2.7.rst:976 +#: whatsnew/2.7.rst:978 msgid "(Contributed by Mark Dickinson; :issue:`4258`.)" msgstr "" -#: whatsnew/2.7.rst:978 +#: whatsnew/2.7.rst:980 msgid "" "Another set of changes made long objects a few bytes smaller: 2 bytes " "smaller on 32-bit systems and 6 bytes on 64-bit. (Contributed by Mark " "Dickinson; :issue:`5260`.)" msgstr "" -#: whatsnew/2.7.rst:982 +#: whatsnew/2.7.rst:984 msgid "" "The division algorithm for long integers has been made faster by tightening " "the inner loop, doing shifts instead of multiplications, and fixing an " @@ -1031,7 +1032,7 @@ msgid "" "faster (initial patch by Gregory Smith; :issue:`1087418`)." msgstr "" -#: whatsnew/2.7.rst:991 +#: whatsnew/2.7.rst:993 msgid "" "The implementation of ``%`` checks for the left-side operand being a Python " "string and special-cases it; this results in a 1--3% performance increase " @@ -1039,21 +1040,21 @@ msgid "" "libraries. (Implemented by Collin Winter; :issue:`5176`.)" msgstr "" -#: whatsnew/2.7.rst:997 +#: whatsnew/2.7.rst:999 msgid "" "List comprehensions with an ``if`` condition are compiled into faster " "bytecode. (Patch by Antoine Pitrou, back-ported to 2.7 by Jeffrey Yasskin; :" "issue:`4715`.)" msgstr "" -#: whatsnew/2.7.rst:1001 +#: whatsnew/2.7.rst:1003 msgid "" "Converting an integer or long integer to a decimal string was made faster by " "special-casing base 10 instead of using a generalized conversion function " "that supports arbitrary bases. (Patch by Gawain Bolton; :issue:`6713`.)" msgstr "" -#: whatsnew/2.7.rst:1006 +#: whatsnew/2.7.rst:1008 msgid "" "The :meth:`split`, :meth:`replace`, :meth:`rindex`, :meth:`rpartition`, and :" "meth:`rsplit` methods of string-like types (strings, Unicode strings, and :" @@ -1062,24 +1063,24 @@ msgid "" "10. (Added by Florent Xicluna; :issue:`7462` and :issue:`7622`.)" msgstr "" -#: whatsnew/2.7.rst:1013 +#: whatsnew/2.7.rst:1015 msgid "" "The :mod:`pickle` and :mod:`cPickle` modules now automatically intern the " "strings used for attribute names, reducing memory usage of the objects " "resulting from unpickling. (Contributed by Jake McGuire; :issue:`5084`.)" msgstr "" -#: whatsnew/2.7.rst:1018 +#: whatsnew/2.7.rst:1020 msgid "" "The :mod:`cPickle` module now special-cases dictionaries, nearly halving the " "time required to pickle them. (Contributed by Collin Winter; :issue:`5670`.)" msgstr "" -#: whatsnew/2.7.rst:1025 +#: whatsnew/2.7.rst:1027 msgid "New and Improved Modules" msgstr "" -#: whatsnew/2.7.rst:1027 +#: whatsnew/2.7.rst:1029 msgid "" "As in every release, Python's standard library received a number of " "enhancements and bug fixes. Here's a partial list of the most notable " @@ -1088,7 +1089,7 @@ msgid "" "the Subversion logs for all the details." msgstr "" -#: whatsnew/2.7.rst:1033 +#: whatsnew/2.7.rst:1035 msgid "" "The :mod:`bdb` module's base debugging class :class:`~bdb.Bdb` gained a " "feature for skipping modules. The constructor now takes an iterable " @@ -1098,14 +1099,14 @@ msgid "" "`5142`.)" msgstr "" -#: whatsnew/2.7.rst:1041 +#: whatsnew/2.7.rst:1043 msgid "" "The :mod:`binascii` module now supports the buffer API, so it can be used " "with :class:`memoryview` instances and other similar buffer objects. " "(Backported from 3.x by Florent Xicluna; :issue:`7703`.)" msgstr "" -#: whatsnew/2.7.rst:1045 +#: whatsnew/2.7.rst:1047 msgid "" "Updated module: the :mod:`bsddb` module has been updated from 4.7.2devel9 to " "version 4.8.4 of `the pybsddb package ` module now take an *allow_no_value* parameter, defaulting to " +"false; if true, options without values will be allowed. For example::" msgstr "" -#: whatsnew/2.7.rst:1157 +#: whatsnew/2.7.rst:1159 msgid "(Contributed by Mats Kindahl; :issue:`7005`.)" msgstr "" -#: whatsnew/2.7.rst:1159 +#: whatsnew/2.7.rst:1161 msgid "" "Deprecated function: :func:`contextlib.nested`, which allows handling more " "than one context manager with a single :keyword:`with` statement, has been " @@ -1200,20 +1201,20 @@ msgid "" "context managers." msgstr "" -#: whatsnew/2.7.rst:1164 +#: whatsnew/2.7.rst:1166 msgid "" "The :mod:`cookielib` module now ignores cookies that have an invalid version " "field, one that doesn't contain an integer value. (Fixed by John J. Lee; :" "issue:`3924`.)" msgstr "" -#: whatsnew/2.7.rst:1168 +#: whatsnew/2.7.rst:1170 msgid "" "The :mod:`copy` module's :func:`~copy.deepcopy` function will now correctly " "copy bound instance methods. (Implemented by Robert Collins; :issue:`1515`.)" msgstr "" -#: whatsnew/2.7.rst:1172 +#: whatsnew/2.7.rst:1174 msgid "" "The :mod:`ctypes` module now always converts ``None`` to a C ``NULL`` " "pointer for arguments declared as pointers. (Changed by Thomas Heller; :" @@ -1222,7 +1223,7 @@ msgid "" "different platforms. (Updated by Matthias Klose; :issue:`8142`.)" msgstr "" -#: whatsnew/2.7.rst:1179 +#: whatsnew/2.7.rst:1181 msgid "" "New method: the :mod:`datetime` module's :class:`~datetime.timedelta` class " "gained a :meth:`~datetime.timedelta.total_seconds` method that returns the " @@ -1230,7 +1231,7 @@ msgid "" "`5788`.)" msgstr "" -#: whatsnew/2.7.rst:1183 +#: whatsnew/2.7.rst:1185 msgid "" "New method: the :class:`~decimal.Decimal` class gained a :meth:`~decimal." "Decimal.from_float` class method that performs an exact conversion of a " @@ -1243,7 +1244,7 @@ msgid "" "(Implemented by Raymond Hettinger; :issue:`4796`.)" msgstr "" -#: whatsnew/2.7.rst:1194 +#: whatsnew/2.7.rst:1196 msgid "" "Comparing instances of :class:`~decimal.Decimal` with floating-point numbers " "now produces sensible results based on the numeric values of the operands. " @@ -1255,7 +1256,7 @@ msgid "" "Dickinson; :issue:`2531`.)" msgstr "" -#: whatsnew/2.7.rst:1203 +#: whatsnew/2.7.rst:1205 msgid "" "The constructor for :class:`~decimal.Decimal` now accepts floating-point " "numbers (added by Raymond Hettinger; :issue:`8257`) and non-European Unicode " @@ -1263,7 +1264,7 @@ msgid "" "issue:`6595`)." msgstr "" -#: whatsnew/2.7.rst:1208 +#: whatsnew/2.7.rst:1210 msgid "" "Most of the methods of the :class:`~decimal.Context` class now accept " "integers as well as :class:`~decimal.Decimal` instances; the only exceptions " @@ -1271,7 +1272,7 @@ msgid "" "is_canonical` methods. (Patch by Juan José Conti; :issue:`7633`.)" msgstr "" -#: whatsnew/2.7.rst:1213 +#: whatsnew/2.7.rst:1215 msgid "" "When using :class:`~decimal.Decimal` instances with a string's :meth:`~str." "format` method, the default alignment was previously left-alignment. This " @@ -1279,7 +1280,7 @@ msgid "" "types. (Changed by Mark Dickinson; :issue:`6857`.)" msgstr "" -#: whatsnew/2.7.rst:1218 +#: whatsnew/2.7.rst:1220 msgid "" "Comparisons involving a signaling NaN value (or ``sNAN``) now signal :const:" "`InvalidOperation` instead of silently returning a true or false value " @@ -1287,7 +1288,7 @@ msgid "" "hashable. (Fixed by Mark Dickinson; :issue:`7279`.)" msgstr "" -#: whatsnew/2.7.rst:1224 +#: whatsnew/2.7.rst:1226 msgid "" "The :mod:`difflib` module now produces output that is more compatible with " "modern :command:`diff`/:command:`patch` tools through one small change, " @@ -1295,7 +1296,7 @@ msgid "" "the filename. (Fixed by Anatoly Techtonik; :issue:`7585`.)" msgstr "" -#: whatsnew/2.7.rst:1230 +#: whatsnew/2.7.rst:1232 msgid "" "The Distutils ``sdist`` command now always regenerates the :file:`MANIFEST` " "file, since even if the :file:`MANIFEST.in` or :file:`setup.py` files " @@ -1303,14 +1304,14 @@ msgid "" "should be included. (Fixed by Tarek Ziadé; :issue:`8688`.)" msgstr "" -#: whatsnew/2.7.rst:1236 +#: whatsnew/2.7.rst:1238 msgid "" "The :mod:`doctest` module's :const:`IGNORE_EXCEPTION_DETAIL` flag will now " "ignore the name of the module containing the exception being tested. (Patch " "by Lennart Regebro; :issue:`7490`.)" msgstr "" -#: whatsnew/2.7.rst:1240 +#: whatsnew/2.7.rst:1242 msgid "" "The :mod:`email` module's :class:`~email.message.Message` class will now " "accept a Unicode-valued payload, automatically converting the payload to the " @@ -1318,7 +1319,7 @@ msgid "" "issue:`1368247`.)" msgstr "" -#: whatsnew/2.7.rst:1245 +#: whatsnew/2.7.rst:1247 msgid "" "The :class:`~fractions.Fraction` class now accepts a single float or :class:" "`~decimal.Decimal` instance, or two rational numbers, as arguments to its " @@ -1326,14 +1327,14 @@ msgid "" "`5812`, and float/decimal in :issue:`8294`.)" msgstr "" -#: whatsnew/2.7.rst:1251 +#: whatsnew/2.7.rst:1253 msgid "" "Ordering comparisons (``<``, ``<=``, ``>``, ``>=``) between fractions and " "complex numbers now raise a :exc:`TypeError`. This fixes an oversight, " "making the :class:`~fractions.Fraction` match the other numeric types." msgstr "" -#: whatsnew/2.7.rst:1258 +#: whatsnew/2.7.rst:1260 msgid "" "New class: :class:`~ftplib.FTP_TLS` in the :mod:`ftplib` module provides " "secure FTP connections using TLS encapsulation of authentication as well as " @@ -1341,14 +1342,14 @@ msgid "" "issue:`2054`.)" msgstr "" -#: whatsnew/2.7.rst:1264 +#: whatsnew/2.7.rst:1266 msgid "" "The :meth:`~ftplib.FTP.storbinary` method for binary uploads can now restart " "uploads thanks to an added *rest* parameter (patch by Pablo Mouzo; :issue:" "`6845`.)" msgstr "" -#: whatsnew/2.7.rst:1268 +#: whatsnew/2.7.rst:1270 msgid "" "New class decorator: :func:`~functools.total_ordering` in the :mod:" "`functools` module takes a class that defines an :meth:`__eq__` method and " @@ -1358,7 +1359,7 @@ msgid "" "define ordered classes. (Added by Raymond Hettinger; :issue:`5479`.)" msgstr "" -#: whatsnew/2.7.rst:1276 +#: whatsnew/2.7.rst:1278 msgid "" "New function: :func:`~functools.cmp_to_key` will take an old-style " "comparison function that expects two arguments and return a new callable " @@ -1368,14 +1369,14 @@ msgid "" "Hettinger.)" msgstr "" -#: whatsnew/2.7.rst:1283 +#: whatsnew/2.7.rst:1285 msgid "" "New function: the :mod:`gc` module's :func:`~gc.is_tracked` returns true if " "a given instance is tracked by the garbage collector, false otherwise. " "(Contributed by Antoine Pitrou; :issue:`4688`.)" msgstr "" -#: whatsnew/2.7.rst:1287 +#: whatsnew/2.7.rst:1289 msgid "" "The :mod:`gzip` module's :class:`~gzip.GzipFile` now supports the context " "management protocol, so you can write ``with gzip.GzipFile(...) as f:`` " @@ -1387,14 +1388,14 @@ msgid "" "(Contributed by Jacques Frechet; :issue:`4272`.)" msgstr "" -#: whatsnew/2.7.rst:1297 +#: whatsnew/2.7.rst:1299 msgid "" "Files in gzip format can be padded with trailing zero bytes; the :mod:`gzip` " "module will now consume these trailing bytes. (Fixed by Tadek Pietraszek " "and Brian Curtin; :issue:`2846`.)" msgstr "" -#: whatsnew/2.7.rst:1301 +#: whatsnew/2.7.rst:1303 msgid "" "New attribute: the :mod:`hashlib` module now has an :attr:`~hashlib.hashlib." "algorithms` attribute containing a tuple naming the supported algorithms. In " @@ -1402,14 +1403,14 @@ msgid "" "'sha256', 'sha384', 'sha512')``. (Contributed by Carl Chenet; :issue:`7418`.)" msgstr "" -#: whatsnew/2.7.rst:1307 +#: whatsnew/2.7.rst:1309 msgid "" "The default :class:`~httplib.HTTPResponse` class used by the :mod:`httplib` " "module now supports buffering, resulting in much faster reading of HTTP " "responses. (Contributed by Kristján Valur Jónsson; :issue:`4879`.)" msgstr "" -#: whatsnew/2.7.rst:1311 +#: whatsnew/2.7.rst:1313 msgid "" "The :class:`~httplib.HTTPConnection` and :class:`~httplib.HTTPSConnection` " "classes now support a *source_address* parameter, a ``(host, port)`` 2-tuple " @@ -1417,7 +1418,7 @@ msgid "" "by Eldon Ziegler; :issue:`3972`.)" msgstr "" -#: whatsnew/2.7.rst:1316 +#: whatsnew/2.7.rst:1318 msgid "" "The :mod:`ihooks` module now supports relative imports. Note that :mod:" "`ihooks` is an older module for customizing imports, superseded by the :mod:" @@ -1425,13 +1426,13 @@ msgid "" "Schemenauer.)" msgstr "" -#: whatsnew/2.7.rst:1323 +#: whatsnew/2.7.rst:1325 msgid "" "The :mod:`imaplib` module now supports IPv6 addresses. (Contributed by Derek " "Morr; :issue:`1655`.)" msgstr "" -#: whatsnew/2.7.rst:1326 +#: whatsnew/2.7.rst:1328 msgid "" "New function: the :mod:`inspect` module's :func:`~inspect.getcallargs` takes " "a callable and its positional and keyword arguments, and figures out which " @@ -1439,11 +1440,11 @@ msgid "" "dictionary mapping argument names to their values. For example::" msgstr "" -#: whatsnew/2.7.rst:1344 +#: whatsnew/2.7.rst:1346 msgid "Contributed by George Sakkis; :issue:`3135`." msgstr "" -#: whatsnew/2.7.rst:1346 +#: whatsnew/2.7.rst:1348 msgid "" "Updated module: The :mod:`io` library has been upgraded to the version " "shipped with Python 3.1. For 3.1, the I/O library was entirely rewritten in " @@ -1451,14 +1452,14 @@ msgid "" "original Python version was renamed to the :mod:`_pyio` module." msgstr "" -#: whatsnew/2.7.rst:1351 +#: whatsnew/2.7.rst:1353 msgid "" "One minor resulting change: the :class:`io.TextIOBase` class now has an :" "attr:`errors` attribute giving the error setting used for encoding and " "decoding errors (one of ``'strict'``, ``'replace'``, ``'ignore'``)." msgstr "" -#: whatsnew/2.7.rst:1356 +#: whatsnew/2.7.rst:1358 msgid "" "The :class:`io.FileIO` class now raises an :exc:`OSError` when passed an " "invalid file descriptor. (Implemented by Benjamin Peterson; :issue:" @@ -1467,14 +1468,14 @@ msgid "" "file. (Fixed by Pascal Chambon; :issue:`6939`.)" msgstr "" -#: whatsnew/2.7.rst:1362 +#: whatsnew/2.7.rst:1364 msgid "" "New function: ``itertools.compress(data, selectors)`` takes two iterators. " "Elements of *data* are returned if the corresponding value in *selectors* is " "true::" msgstr "" -#: whatsnew/2.7.rst:1371 +#: whatsnew/2.7.rst:1373 msgid "" "New function: ``itertools.combinations_with_replacement(iter, r)`` returns " "all the possible *r*-length combinations of elements from the iterable " @@ -1482,13 +1483,13 @@ msgid "" "repeated in the generated combinations::" msgstr "" -#: whatsnew/2.7.rst:1380 +#: whatsnew/2.7.rst:1382 msgid "" "Note that elements are treated as unique depending on their position in the " "input, not their actual values." msgstr "" -#: whatsnew/2.7.rst:1383 +#: whatsnew/2.7.rst:1385 msgid "" "The :func:`itertools.count` function now has a *step* argument that allows " "incrementing by values other than 1. :func:`~itertools.count` also now " @@ -1497,7 +1498,7 @@ msgid "" "issue:`5032`.)" msgstr "" -#: whatsnew/2.7.rst:1389 +#: whatsnew/2.7.rst:1391 msgid "" ":func:`itertools.combinations` and :func:`itertools.product` previously " "raised :exc:`ValueError` for values of *r* larger than the input iterable. " @@ -1505,14 +1506,14 @@ msgid "" "iterator. (Fixed by Raymond Hettinger; :issue:`4816`.)" msgstr "" -#: whatsnew/2.7.rst:1394 +#: whatsnew/2.7.rst:1396 msgid "" "Updated module: The :mod:`json` module was upgraded to version 2.0.9 of the " "simplejson package, which includes a C extension that makes encoding and " "decoding faster. (Contributed by Bob Ippolito; :issue:`4136`.)" msgstr "" -#: whatsnew/2.7.rst:1399 +#: whatsnew/2.7.rst:1401 msgid "" "To support the new :class:`collections.OrderedDict` type, :func:`json.load` " "now has an optional *object_pairs_hook* parameter that will be called with " @@ -1520,7 +1521,7 @@ msgid "" "Hettinger; :issue:`5381`.)" msgstr "" -#: whatsnew/2.7.rst:1404 +#: whatsnew/2.7.rst:1406 msgid "" "The :mod:`mailbox` module's :class:`~mailbox.Maildir` class now records the " "timestamp on the directories it reads, and only re-reads them if the " @@ -1529,7 +1530,7 @@ msgid "" "Pitrou; :issue:`1607951`, :issue:`6896`.)" msgstr "" -#: whatsnew/2.7.rst:1410 +#: whatsnew/2.7.rst:1412 msgid "" "New functions: the :mod:`math` module gained :func:`~math.erf` and :func:" "`~math.erfc` for the error function and the complementary error function, :" @@ -1540,15 +1541,15 @@ msgid "" "`3366`.)" msgstr "" -#: whatsnew/2.7.rst:1418 +#: whatsnew/2.7.rst:1420 msgid "" -"The :mod:`multiprocessing` module's :class:`Manager*` classes can now be " +"The :mod:`multiprocessing` module's :class:`!Manager*` classes can now be " "passed a callable that will be called whenever a subprocess is started, " "along with a set of arguments that will be passed to the callable. " "(Contributed by lekma; :issue:`5585`.)" msgstr "" -#: whatsnew/2.7.rst:1424 +#: whatsnew/2.7.rst:1426 msgid "" "The :class:`~multiprocessing.Pool` class, which controls a pool of worker " "processes, now has an optional *maxtasksperchild* parameter. Worker " @@ -1558,13 +1559,13 @@ msgid "" "worker to become very large. (Contributed by Charles Cazabon; :issue:`6963`.)" msgstr "" -#: whatsnew/2.7.rst:1432 +#: whatsnew/2.7.rst:1434 msgid "" "The :mod:`nntplib` module now supports IPv6 addresses. (Contributed by Derek " "Morr; :issue:`1664`.)" msgstr "" -#: whatsnew/2.7.rst:1435 +#: whatsnew/2.7.rst:1437 msgid "" "New functions: the :mod:`os` module wraps the following POSIX system calls: :" "func:`~os.getresgid` and :func:`~os.getresuid`, which return the real, " @@ -1575,14 +1576,14 @@ msgid "" "`6508`. Support for initgroups added by Jean-Paul Calderone; :issue:`7333`.)" msgstr "" -#: whatsnew/2.7.rst:1445 +#: whatsnew/2.7.rst:1447 msgid "" "The :func:`os.fork` function now re-initializes the import lock in the child " "process; this fixes problems on Solaris when :func:`~os.fork` is called from " "a thread. (Fixed by Zsolt Cserna; :issue:`7242`.)" msgstr "" -#: whatsnew/2.7.rst:1449 +#: whatsnew/2.7.rst:1451 msgid "" "In the :mod:`os.path` module, the :func:`~os.path.normpath` and :func:`~os." "path.abspath` functions now preserve Unicode; if their input path is a " @@ -1591,21 +1592,21 @@ msgid "" "fixed by Ezio Melotti in :issue:`3426`.)" msgstr "" -#: whatsnew/2.7.rst:1455 +#: whatsnew/2.7.rst:1457 msgid "" "The :mod:`pydoc` module now has help for the various symbols that Python " "uses. You can now do ``help('<<')`` or ``help('@')``, for example. " "(Contributed by David Laban; :issue:`4739`.)" msgstr "" -#: whatsnew/2.7.rst:1459 +#: whatsnew/2.7.rst:1461 msgid "" "The :mod:`re` module's :func:`~re.split`, :func:`~re.sub`, and :func:`~re." "subn` now accept an optional *flags* argument, for consistency with the " "other functions in the module. (Added by Gregory P. Smith.)" msgstr "" -#: whatsnew/2.7.rst:1463 +#: whatsnew/2.7.rst:1465 msgid "" "New function: :func:`~runpy.run_path` in the :mod:`runpy` module will " "execute the code at a provided *path* argument. *path* can be the path of a " @@ -1620,7 +1621,7 @@ msgid "" "processes an explicit path name. (Added by Nick Coghlan; :issue:`6816`.)" msgstr "" -#: whatsnew/2.7.rst:1477 +#: whatsnew/2.7.rst:1479 msgid "" "New function: in the :mod:`shutil` module, :func:`~shutil.make_archive` " "takes a filename, archive type (zip or tar-format), and a directory path, " @@ -1628,7 +1629,7 @@ msgid "" "Ziadé.)" msgstr "" -#: whatsnew/2.7.rst:1482 +#: whatsnew/2.7.rst:1484 msgid "" ":mod:`shutil`'s :func:`~shutil.copyfile` and :func:`~shutil.copytree` " "functions now raise a :exc:`~shutil.SpecialFileError` exception when asked " @@ -1637,7 +1638,7 @@ msgid "" "indefinitely. (Fixed by Antoine Pitrou; :issue:`3002`.)" msgstr "" -#: whatsnew/2.7.rst:1488 +#: whatsnew/2.7.rst:1490 msgid "" "The :mod:`signal` module no longer re-installs the signal handler unless " "this is truly necessary, which fixes a bug that could make it impossible to " @@ -1645,7 +1646,7 @@ msgid "" "`8354`.)" msgstr "" -#: whatsnew/2.7.rst:1493 +#: whatsnew/2.7.rst:1495 msgid "" "New functions: in the :mod:`site` module, three new functions return various " "site- and user-specific paths. :func:`~site.getsitepackages` returns a list " @@ -1656,7 +1657,7 @@ msgid "" "store data. (Contributed by Tarek Ziadé; :issue:`6693`.)" msgstr "" -#: whatsnew/2.7.rst:1504 +#: whatsnew/2.7.rst:1506 msgid "" "The :mod:`site` module now reports exceptions occurring when the :mod:" "`sitecustomize` module is imported, and will no longer catch and swallow " @@ -1664,14 +1665,14 @@ msgid "" "`3137`.)" msgstr "" -#: whatsnew/2.7.rst:1509 +#: whatsnew/2.7.rst:1511 msgid "" "The :func:`~socket.create_connection` function gained a *source_address* " "parameter, a ``(host, port)`` 2-tuple giving the source address that will be " "used for the connection. (Contributed by Eldon Ziegler; :issue:`3972`.)" msgstr "" -#: whatsnew/2.7.rst:1514 +#: whatsnew/2.7.rst:1516 msgid "" "The :meth:`~socket.socket.recv_into` and :meth:`~socket.socket." "recvfrom_into` methods will now write into objects that support the buffer " @@ -1679,7 +1680,7 @@ msgid "" "(Implemented by Antoine Pitrou; :issue:`8104`.)" msgstr "" -#: whatsnew/2.7.rst:1519 +#: whatsnew/2.7.rst:1521 msgid "" "The :mod:`SocketServer` module's :class:`~SocketServer.TCPServer` class now " "supports socket timeouts and disabling the Nagle algorithm. The :attr:" @@ -1694,7 +1695,7 @@ msgid "" "Jónsson; :issue:`6192` and :issue:`6267`.)" msgstr "" -#: whatsnew/2.7.rst:1531 +#: whatsnew/2.7.rst:1533 msgid "" "Updated module: the :mod:`sqlite3` module has been updated to version 2.6.0 " "of the `pysqlite package `__. Version " @@ -1705,7 +1706,7 @@ msgid "" "Häring.)" msgstr "" -#: whatsnew/2.7.rst:1538 +#: whatsnew/2.7.rst:1540 msgid "" "The :mod:`ssl` module's :class:`~ssl.SSLSocket` objects now support the " "buffer API, which fixed a test suite failure (fix by Antoine Pitrou; :issue:" @@ -1714,7 +1715,7 @@ msgid "" "that trigger an SSL renegotiation (fix by Antoine Pitrou; :issue:`8222`)." msgstr "" -#: whatsnew/2.7.rst:1545 +#: whatsnew/2.7.rst:1547 msgid "" "The :func:`ssl.wrap_socket` constructor function now takes a *ciphers* " "argument that's a string listing the encryption algorithms to be allowed; " @@ -1723,7 +1724,7 @@ msgid "" "Pitrou; :issue:`8322`.)" msgstr "" -#: whatsnew/2.7.rst:1552 +#: whatsnew/2.7.rst:1554 msgid "" "Another change makes the extension load all of OpenSSL's ciphers and digest " "algorithms so that they're all available. Some SSL certificates couldn't be " @@ -1731,7 +1732,7 @@ msgid "" "Kosata, and fixed by Antoine Pitrou; :issue:`8484`.)" msgstr "" -#: whatsnew/2.7.rst:1558 +#: whatsnew/2.7.rst:1560 msgid "" "The version of OpenSSL being used is now available as the module attributes :" "const:`ssl.OPENSSL_VERSION` (a string), :const:`ssl.OPENSSL_VERSION_INFO` (a " @@ -1739,7 +1740,7 @@ msgid "" "Antoine Pitrou; :issue:`8321`.)" msgstr "" -#: whatsnew/2.7.rst:1564 +#: whatsnew/2.7.rst:1566 msgid "" "The :mod:`struct` module will no longer silently ignore overflow errors when " "a value is too large for a particular integer format code (one of " @@ -1750,7 +1751,7 @@ msgid "" "(Changed by Mark Dickinson; :issue:`8300`.)" msgstr "" -#: whatsnew/2.7.rst:1573 +#: whatsnew/2.7.rst:1575 msgid "" "New function: the :mod:`subprocess` module's :func:`~subprocess." "check_output` runs a command with a specified set of arguments and returns " @@ -1758,18 +1759,18 @@ msgid "" "raises a :exc:`~subprocess.CalledProcessError` exception otherwise." msgstr "" -#: whatsnew/2.7.rst:1588 +#: whatsnew/2.7.rst:1590 msgid "(Contributed by Gregory P. Smith.)" msgstr "" -#: whatsnew/2.7.rst:1590 +#: whatsnew/2.7.rst:1592 msgid "" "The :mod:`subprocess` module will now retry its internal system calls on " "receiving an :const:`EINTR` signal. (Reported by several people; final " "patch by Gregory P. Smith in :issue:`1068268`.)" msgstr "" -#: whatsnew/2.7.rst:1594 +#: whatsnew/2.7.rst:1596 msgid "" "New function: :func:`~symtable.Symbol.is_declared_global` in the :mod:" "`symtable` module returns true for variables that are explicitly declared to " @@ -1777,21 +1778,21 @@ msgid "" "Hylton.)" msgstr "" -#: whatsnew/2.7.rst:2497 +#: whatsnew/2.7.rst:2499 msgid "" "The :mod:`syslog` module will now use the value of ``sys.argv[0]`` as the " "identifier instead of the previous default value of ``'python'``. (Changed " "by Sean Reifschneider; :issue:`8451`.)" msgstr "" -#: whatsnew/2.7.rst:1603 +#: whatsnew/2.7.rst:1605 msgid "" "The ``sys.version_info`` value is now a named tuple, with attributes named :" "attr:`major`, :attr:`minor`, :attr:`micro`, :attr:`releaselevel`, and :attr:" "`serial`. (Contributed by Ross Light; :issue:`4285`.)" msgstr "" -#: whatsnew/2.7.rst:1608 +#: whatsnew/2.7.rst:1610 msgid "" ":func:`sys.getwindowsversion` also returns a named tuple, with attributes " "named :attr:`major`, :attr:`minor`, :attr:`build`, :attr:`platform`, :attr:" @@ -1800,7 +1801,7 @@ msgid "" "issue:`7766`.)" msgstr "" -#: whatsnew/2.7.rst:2501 +#: whatsnew/2.7.rst:2503 msgid "" "The :mod:`tarfile` module's default error handling has changed, to no longer " "suppress fatal errors. The default error level was previously 0, which " @@ -1810,7 +1811,7 @@ msgid "" "there's an error. (Changed by Lars Gustäbel; :issue:`7357`.)" msgstr "" -#: whatsnew/2.7.rst:1622 +#: whatsnew/2.7.rst:1624 msgid "" ":mod:`tarfile` now supports filtering the :class:`~tarfile.TarInfo` objects " "being added to a tar file. When you call :meth:`~tarfile.TarFile.add`, you " @@ -1824,7 +1825,7 @@ msgid "" "issue:`7232`.)" msgstr "" -#: whatsnew/2.7.rst:1634 +#: whatsnew/2.7.rst:1636 msgid "" "The :meth:`~threading.Event.wait` method of the :class:`threading.Event` " "class now returns the internal flag on exit. This means the method will " @@ -1834,7 +1835,7 @@ msgid "" "Tim Lesher; :issue:`1674032`.)" msgstr "" -#: whatsnew/2.7.rst:1641 +#: whatsnew/2.7.rst:1643 msgid "" "The Unicode database provided by the :mod:`unicodedata` module is now used " "internally to determine which characters are numeric, whitespace, or " @@ -1844,7 +1845,7 @@ msgid "" "Florent Xicluna; :issue:`8024`)." msgstr "" -#: whatsnew/2.7.rst:2509 +#: whatsnew/2.7.rst:2511 msgid "" "The :mod:`urlparse` module's :func:`~urlparse.urlsplit` now handles unknown " "URL schemes in a fashion compliant with :rfc:`3986`: if the URL is of the " @@ -1854,23 +1855,23 @@ msgid "" "For example, Python 2.6.4 or 2.5 will return the following:" msgstr "" -#: whatsnew/2.7.rst:2524 +#: whatsnew/2.7.rst:2526 msgid "Python 2.7 (and Python 2.6.5) will return:" msgstr "" -#: whatsnew/2.7.rst:2533 +#: whatsnew/2.7.rst:2535 msgid "" "(Python 2.7 actually produces slightly different output, since it returns a " "named tuple instead of a standard tuple.)" msgstr "" -#: whatsnew/2.7.rst:1676 +#: whatsnew/2.7.rst:1678 msgid "" "The :mod:`urlparse` module also supports IPv6 literal addresses as defined " "by :rfc:`2732` (contributed by Senthil Kumaran; :issue:`2987`)." msgstr "" -#: whatsnew/2.7.rst:1686 +#: whatsnew/2.7.rst:1688 msgid "" "New class: the :class:`~weakref.WeakSet` class in the :mod:`weakref` module " "is a set that only holds weak references to its elements; elements will be " @@ -1879,7 +1880,7 @@ msgid "" "Michael Foord.)" msgstr "" -#: whatsnew/2.7.rst:2487 +#: whatsnew/2.7.rst:2489 msgid "" "The ElementTree library, :mod:`xml.etree`, no longer escapes ampersands and " "angle brackets when outputting an XML processing instruction (which looks " @@ -1887,7 +1888,7 @@ msgid "" "````). (Patch by Neil Muller; :issue:`2746`.)" msgstr "" -#: whatsnew/2.7.rst:1698 +#: whatsnew/2.7.rst:1700 msgid "" "The XML-RPC client and server, provided by the :mod:`xmlrpclib` and :mod:" "`SimpleXMLRPCServer` modules, have improved performance by supporting " @@ -1898,14 +1899,14 @@ msgid "" "(Contributed by Kristján Valur Jónsson; :issue:`6267`.)" msgstr "" -#: whatsnew/2.7.rst:1707 +#: whatsnew/2.7.rst:1709 msgid "" "The :mod:`zipfile` module's :class:`~zipfile.ZipFile` now supports the " "context management protocol, so you can write ``with zipfile.ZipFile(...) as " "f:``. (Contributed by Brian Curtin; :issue:`5511`.)" msgstr "" -#: whatsnew/2.7.rst:1711 +#: whatsnew/2.7.rst:1713 msgid "" ":mod:`zipfile` now also supports archiving empty directories and extracts " "them correctly. (Fixed by Kuba Wieczorek; :issue:`4710`.) Reading files out " @@ -1914,14 +1915,14 @@ msgid "" "Aides; :issue:`7610`.)" msgstr "" -#: whatsnew/2.7.rst:1717 +#: whatsnew/2.7.rst:1719 msgid "" "The :func:`~zipfile.is_zipfile` function now accepts a file object, in " "addition to the path names accepted in earlier versions. (Contributed by " "Gabriel Genellina; :issue:`4756`.)" msgstr "" -#: whatsnew/2.7.rst:1721 +#: whatsnew/2.7.rst:1723 msgid "" "The :meth:`~zipfile.ZipFile.writestr` method now has an optional " "*compress_type* parameter that lets you override the default compression " @@ -1929,11 +1930,11 @@ msgid "" "by Ronald Oussoren; :issue:`6003`.)" msgstr "" -#: whatsnew/2.7.rst:1734 +#: whatsnew/2.7.rst:1736 msgid "New module: importlib" msgstr "" -#: whatsnew/2.7.rst:1736 +#: whatsnew/2.7.rst:1738 msgid "" "Python 3.1 includes the :mod:`importlib` package, a re-implementation of the " "logic underlying Python's :keyword:`import` statement. :mod:`importlib` is " @@ -1944,7 +1945,7 @@ msgid "" "import_module`." msgstr "" -#: whatsnew/2.7.rst:1744 +#: whatsnew/2.7.rst:1746 msgid "" "``import_module(name, package=None)`` imports a module. *name* is a string " "containing the module or package's name. It's possible to do relative " @@ -1955,21 +1956,21 @@ msgid "" "imported module into ``sys.modules`` and returns the module object." msgstr "" -#: whatsnew/2.7.rst:1753 +#: whatsnew/2.7.rst:1755 msgid "Here are some examples::" msgstr "" -#: whatsnew/2.7.rst:1764 +#: whatsnew/2.7.rst:1766 msgid "" ":mod:`importlib` was implemented by Brett Cannon and introduced in Python " "3.1." msgstr "" -#: whatsnew/2.7.rst:1769 +#: whatsnew/2.7.rst:1771 msgid "New module: sysconfig" msgstr "" -#: whatsnew/2.7.rst:1771 +#: whatsnew/2.7.rst:1773 msgid "" "The :mod:`sysconfig` module has been pulled out of the Distutils package, " "becoming a new top-level module in its own right. :mod:`sysconfig` provides " @@ -1978,42 +1979,42 @@ msgid "" "running from its source directory." msgstr "" -#: whatsnew/2.7.rst:1778 +#: whatsnew/2.7.rst:1780 msgid "Some of the functions in the module are:" msgstr "" -#: whatsnew/2.7.rst:1780 +#: whatsnew/2.7.rst:1782 msgid "" ":func:`~sysconfig.get_config_var` returns variables from Python's Makefile " "and the :file:`pyconfig.h` file." msgstr "" -#: whatsnew/2.7.rst:1782 +#: whatsnew/2.7.rst:1784 msgid "" ":func:`~sysconfig.get_config_vars` returns a dictionary containing all of " "the configuration variables." msgstr "" -#: whatsnew/2.7.rst:1784 +#: whatsnew/2.7.rst:1786 msgid "" ":func:`~sysconfig.get_path` returns the configured path for a particular " "type of module: the standard library, site-specific modules, platform-" "specific modules, etc." msgstr "" -#: whatsnew/2.7.rst:1787 +#: whatsnew/2.7.rst:1789 msgid "" ":func:`~sysconfig.is_python_build` returns true if you're running a binary " "from a Python source tree, and false otherwise." msgstr "" -#: whatsnew/2.7.rst:1790 +#: whatsnew/2.7.rst:1792 msgid "" "Consult the :mod:`sysconfig` documentation for more details and for a " "complete list of functions." msgstr "" -#: whatsnew/2.7.rst:1793 +#: whatsnew/2.7.rst:1795 msgid "" "The Distutils package and :mod:`sysconfig` are now maintained by Tarek " "Ziadé, who has also started a Distutils2 package (source repository at " @@ -2021,11 +2022,11 @@ msgid "" "of Distutils." msgstr "" -#: whatsnew/2.7.rst:1800 +#: whatsnew/2.7.rst:1802 msgid "ttk: Themed Widgets for Tk" msgstr "" -#: whatsnew/2.7.rst:1802 +#: whatsnew/2.7.rst:1804 msgid "" "Tcl/Tk 8.5 includes a set of themed widgets that re-implement basic Tk " "widgets but have a more customizable appearance and can therefore more " @@ -2034,7 +2035,7 @@ msgid "" "added to Tcl/Tck release 8.5." msgstr "" -#: whatsnew/2.7.rst:1808 +#: whatsnew/2.7.rst:1810 msgid "" "To learn more, read the :mod:`ttk` module documentation. You may also wish " "to read the Tcl/Tk manual page describing the Ttk theme engine, available at " @@ -2043,7 +2044,7 @@ msgid "" "wikis/Screenshots.wiki." msgstr "" -#: whatsnew/2.7.rst:1815 +#: whatsnew/2.7.rst:1817 msgid "" "The :mod:`ttk` module was written by Guilherme Polo and added in :issue:" "`2983`. An alternate version called ``Tile.py``, written by Martin Franklin " @@ -2051,11 +2052,11 @@ msgid "" "but the authors argued that Guilherme Polo's work was more comprehensive." msgstr "" -#: whatsnew/2.7.rst:1825 +#: whatsnew/2.7.rst:1827 msgid "Updated module: unittest" msgstr "" -#: whatsnew/2.7.rst:1827 +#: whatsnew/2.7.rst:1829 msgid "" "The :mod:`unittest` module was greatly enhanced; many new features were " "added. Most of these features were implemented by Michael Foord, unless " @@ -2064,7 +2065,7 @@ msgid "" "`unittest2` package, from https://pypi.org/project/unittest2." msgstr "" -#: whatsnew/2.7.rst:1834 +#: whatsnew/2.7.rst:1836 msgid "" "When used from the command line, the module can automatically discover " "tests. It's not as fancy as `py.test `__ or `nose " @@ -2074,17 +2075,17 @@ msgid "" "files named ``test*.py``::" msgstr "" -#: whatsnew/2.7.rst:1843 +#: whatsnew/2.7.rst:1845 msgid "" "Consult the :mod:`unittest` module documentation for more details. " "(Developed in :issue:`6001`.)" msgstr "" -#: whatsnew/2.7.rst:1846 +#: whatsnew/2.7.rst:1848 msgid "The :func:`~unittest.main` function supports some other new options:" msgstr "" -#: whatsnew/2.7.rst:1848 +#: whatsnew/2.7.rst:1850 msgid "" ":option:`-b ` or :option:`!--buffer` will buffer the standard " "output and standard error streams during each test. If the test passes, any " @@ -2092,7 +2093,7 @@ msgid "" "displayed." msgstr "" -#: whatsnew/2.7.rst:1853 +#: whatsnew/2.7.rst:1855 msgid "" ":option:`-c ` or :option:`!--catch` will cause the control-C " "interrupt to be handled more gracefully. Instead of interrupting the test " @@ -2101,7 +2102,7 @@ msgid "" "impatient, a second press of control-C will cause an immediate interruption." msgstr "" -#: whatsnew/2.7.rst:1860 +#: whatsnew/2.7.rst:1862 msgid "" "This control-C handler tries to avoid causing problems when the code being " "tested or the tests being run have defined a signal handler of their own, by " @@ -2111,7 +2112,7 @@ msgid "" "disabled." msgstr "" -#: whatsnew/2.7.rst:1867 +#: whatsnew/2.7.rst:1869 msgid "" ":option:`-f ` or :option:`!--failfast` makes test execution " "stop immediately when a test fails instead of continuing to execute further " @@ -2119,20 +2120,20 @@ msgid "" "`8074`.)" msgstr "" -#: whatsnew/2.7.rst:1872 +#: whatsnew/2.7.rst:1874 msgid "" "The progress messages now show 'x' for expected failures and 'u' for " "unexpected successes when run in verbose mode. (Contributed by Benjamin " "Peterson.)" msgstr "" -#: whatsnew/2.7.rst:1876 +#: whatsnew/2.7.rst:1878 msgid "" "Test cases can raise the :exc:`~unittest.SkipTest` exception to skip a test " "(:issue:`1034053`)." msgstr "" -#: whatsnew/2.7.rst:1879 +#: whatsnew/2.7.rst:1881 msgid "" "The error messages for :meth:`~unittest.TestCase.assertEqual`, :meth:" "`~unittest.TestCase.assertTrue`, and :meth:`~unittest.TestCase.assertFalse` " @@ -2143,18 +2144,18 @@ msgid "" "`5663`.)" msgstr "" -#: whatsnew/2.7.rst:1886 +#: whatsnew/2.7.rst:1888 msgid "" "The :meth:`~unittest.TestCase.assertRaises` method now returns a context " "handler when called without providing a callable object to run. For " "example, you can write this::" msgstr "" -#: whatsnew/2.7.rst:1893 +#: whatsnew/2.7.rst:1895 msgid "(Implemented by Antoine Pitrou; :issue:`4444`.)" msgstr "" -#: whatsnew/2.7.rst:1897 +#: whatsnew/2.7.rst:1899 msgid "" "Module- and class-level setup and teardown fixtures are now supported. " "Modules can contain :func:`~unittest.setUpModule` and :func:`~unittest." @@ -2165,7 +2166,7 @@ msgid "" "case in a different module or class." msgstr "" -#: whatsnew/2.7.rst:1905 +#: whatsnew/2.7.rst:1907 msgid "" "The methods :meth:`~unittest.TestCase.addCleanup` and :meth:`~unittest." "TestCase.doCleanups` were added. :meth:`~unittest.TestCase.addCleanup` lets " @@ -2175,7 +2176,7 @@ msgid "" "simpler resource allocation and deallocation during tests (:issue:`5679`)." msgstr "" -#: whatsnew/2.7.rst:1913 +#: whatsnew/2.7.rst:1915 msgid "" "A number of new methods were added that provide more specialized tests. " "Many of these methods were written by Google engineers for use in their test " @@ -2183,21 +2184,21 @@ msgid "" "Python's version of :mod:`unittest`." msgstr "" -#: whatsnew/2.7.rst:1918 +#: whatsnew/2.7.rst:1920 msgid "" ":meth:`~unittest.TestCase.assertIsNone` and :meth:`~unittest.TestCase." "assertIsNotNone` take one expression and verify that the result is or is not " "``None``." msgstr "" -#: whatsnew/2.7.rst:1921 +#: whatsnew/2.7.rst:1923 msgid "" ":meth:`~unittest.TestCase.assertIs` and :meth:`~unittest.TestCase." "assertIsNot` take two values and check whether the two values evaluate to " "the same object or not. (Added by Michael Foord; :issue:`2578`.)" msgstr "" -#: whatsnew/2.7.rst:1925 +#: whatsnew/2.7.rst:1927 msgid "" ":meth:`~unittest.TestCase.assertIsInstance` and :meth:`~unittest.TestCase." "assertNotIsInstance` check whether the resulting object is an instance of a " @@ -2205,14 +2206,14 @@ msgid "" "issue:`7031`.)" msgstr "" -#: whatsnew/2.7.rst:1930 +#: whatsnew/2.7.rst:1932 msgid "" ":meth:`~unittest.TestCase.assertGreater`, :meth:`~unittest.TestCase." "assertGreaterEqual`, :meth:`~unittest.TestCase.assertLess`, and :meth:" "`~unittest.TestCase.assertLessEqual` compare two quantities." msgstr "" -#: whatsnew/2.7.rst:1934 +#: whatsnew/2.7.rst:1936 msgid "" ":meth:`~unittest.TestCase.assertMultiLineEqual` compares two strings, and if " "they're not equal, displays a helpful comparison that highlights the " @@ -2220,7 +2221,7 @@ msgid "" "Unicode strings are compared with :meth:`~unittest.TestCase.assertEqual`." msgstr "" -#: whatsnew/2.7.rst:1939 +#: whatsnew/2.7.rst:1941 msgid "" ":meth:`~unittest.TestCase.assertRegexpMatches` and :meth:`~unittest.TestCase." "assertNotRegexpMatches` checks whether the first argument is a string " @@ -2228,32 +2229,32 @@ msgid "" "argument (:issue:`8038`)." msgstr "" -#: whatsnew/2.7.rst:1944 +#: whatsnew/2.7.rst:1946 msgid "" ":meth:`~unittest.TestCase.assertRaisesRegexp` checks whether a particular " "exception is raised, and then also checks that the string representation of " "the exception matches the provided regular expression." msgstr "" -#: whatsnew/2.7.rst:1948 +#: whatsnew/2.7.rst:1950 msgid "" ":meth:`~unittest.TestCase.assertIn` and :meth:`~unittest.TestCase." "assertNotIn` tests whether *first* is or is not in *second*." msgstr "" -#: whatsnew/2.7.rst:1951 +#: whatsnew/2.7.rst:1953 msgid "" ":meth:`~unittest.TestCase.assertItemsEqual` tests whether two provided " "sequences contain the same elements." msgstr "" -#: whatsnew/2.7.rst:1954 +#: whatsnew/2.7.rst:1956 msgid "" ":meth:`~unittest.TestCase.assertSetEqual` compares whether two sets are " "equal, and only reports the differences between the sets in case of error." msgstr "" -#: whatsnew/2.7.rst:1957 +#: whatsnew/2.7.rst:1959 msgid "" "Similarly, :meth:`~unittest.TestCase.assertListEqual` and :meth:`~unittest." "TestCase.assertTupleEqual` compare the specified types and explain any " @@ -2264,7 +2265,7 @@ msgid "" "both sequences are of a particular type." msgstr "" -#: whatsnew/2.7.rst:1965 +#: whatsnew/2.7.rst:1967 msgid "" ":meth:`~unittest.TestCase.assertDictEqual` compares two dictionaries and " "reports the differences; it's now used by default when you compare two " @@ -2273,7 +2274,7 @@ msgid "" "in *first* are found in *second*." msgstr "" -#: whatsnew/2.7.rst:1970 +#: whatsnew/2.7.rst:1972 msgid "" ":meth:`~unittest.TestCase.assertAlmostEqual` and :meth:`~unittest.TestCase." "assertNotAlmostEqual` test whether *first* and *second* are approximately " @@ -2282,14 +2283,14 @@ msgid "" "require the difference to be smaller than a supplied *delta* value." msgstr "" -#: whatsnew/2.7.rst:1976 +#: whatsnew/2.7.rst:1978 msgid "" ":meth:`~unittest.TestLoader.loadTestsFromName` properly honors the :attr:" "`~unittest.TestLoader.suiteClass` attribute of the :class:`~unittest." "TestLoader`. (Fixed by Mark Roddy; :issue:`6866`.)" msgstr "" -#: whatsnew/2.7.rst:1980 +#: whatsnew/2.7.rst:1982 msgid "" "A new hook lets you extend the :meth:`~unittest.TestCase.assertEqual` method " "to handle new data types. The :meth:`~unittest.TestCase." @@ -2301,7 +2302,7 @@ msgid "" "sequence comparison methods do." msgstr "" -#: whatsnew/2.7.rst:1989 +#: whatsnew/2.7.rst:1991 msgid "" ":func:`unittest.main` now takes an optional ``exit`` argument. If false, :" "func:`~unittest.main` doesn't call :func:`sys.exit`, allowing :func:" @@ -2309,7 +2310,7 @@ msgid "" "by J. Pablo Fernández; :issue:`3379`.)" msgstr "" -#: whatsnew/2.7.rst:1994 +#: whatsnew/2.7.rst:1996 msgid "" ":class:`~unittest.TestResult` has new :meth:`~unittest.TestResult." "startTestRun` and :meth:`~unittest.TestResult.stopTestRun` methods that are " @@ -2317,7 +2318,7 @@ msgid "" "Collins; :issue:`5728`.)" msgstr "" -#: whatsnew/2.7.rst:1998 +#: whatsnew/2.7.rst:2000 msgid "" "With all these changes, the :file:`unittest.py` was becoming awkwardly " "large, so the module was turned into a package and the code split into " @@ -2325,43 +2326,43 @@ msgid "" "imported or used." msgstr "" -#: whatsnew/2.7.rst:2006 +#: whatsnew/2.7.rst:2008 msgid "" "https://web.archive.org/web/20210619163128/http://www.voidspace.org.uk/" "python/articles/unittest2.shtml" msgstr "" -#: whatsnew/2.7.rst:2006 +#: whatsnew/2.7.rst:2008 msgid "" "Describes the new features, how to use them, and the rationale for various " "design decisions. (By Michael Foord.)" msgstr "" -#: whatsnew/2.7.rst:2012 +#: whatsnew/2.7.rst:2014 msgid "Updated module: ElementTree 1.3" msgstr "" -#: whatsnew/2.7.rst:2014 +#: whatsnew/2.7.rst:2016 msgid "" "The version of the ElementTree library included with Python was updated to " "version 1.3. Some of the new features are:" msgstr "" -#: whatsnew/2.7.rst:2017 +#: whatsnew/2.7.rst:2019 msgid "" "The various parsing functions now take a *parser* keyword argument giving " "an :class:`~xml.etree.ElementTree.XMLParser` instance that will be used. " "This makes it possible to override the file's internal encoding::" msgstr "" -#: whatsnew/2.7.rst:2024 +#: whatsnew/2.7.rst:2026 msgid "" "Errors in parsing XML now raise a :exc:`ParseError` exception, whose " "instances have a :attr:`position` attribute containing a (*line*, *column*) " "tuple giving the location of the problem." msgstr "" -#: whatsnew/2.7.rst:2028 +#: whatsnew/2.7.rst:2030 msgid "" "ElementTree's code for converting trees to a string has been significantly " "reworked, making it roughly twice as fast in many cases. The :meth:" @@ -2375,7 +2376,7 @@ msgid "" "to do more extensive rearrangement to remove a single element." msgstr "" -#: whatsnew/2.7.rst:2040 +#: whatsnew/2.7.rst:2042 msgid "" "Namespace handling has also been improved. All ``xmlns:`` " "declarations are now output on the root element, not scattered throughout " @@ -2385,7 +2386,7 @@ msgid "" "the true/false *xml_declaration* parameter to suppress the XML declaration." msgstr "" -#: whatsnew/2.7.rst:2048 +#: whatsnew/2.7.rst:2050 msgid "" "New :class:`~xml.etree.ElementTree.Element` method: :meth:`~xml.etree." "ElementTree.Element.extend` appends the items from a sequence to the " @@ -2393,7 +2394,7 @@ msgid "" "to move children from one element to another::" msgstr "" -#: whatsnew/2.7.rst:2065 +#: whatsnew/2.7.rst:2067 msgid "" "New :class:`Element` method: :meth:`~xml.etree.ElementTree.Element.iter` " "yields the children of the element as a generator. It's also possible to " @@ -2402,13 +2403,13 @@ msgid "" "`getchildren` which constructs and returns a list of children." msgstr "" -#: whatsnew/2.7.rst:2072 +#: whatsnew/2.7.rst:2074 msgid "" "New :class:`Element` method: :meth:`~xml.etree.ElementTree.Element.itertext` " "yields all chunks of text that are descendants of the element. For example::" msgstr "" -#: whatsnew/2.7.rst:2083 +#: whatsnew/2.7.rst:2085 msgid "" "Deprecated: using an element as a Boolean (i.e., ``if elem:``) would return " "true if the element had any children, or false if there were no children. " @@ -2418,7 +2419,7 @@ msgid "" "number of children, or ``elem is not None``." msgstr "" -#: whatsnew/2.7.rst:2091 +#: whatsnew/2.7.rst:2093 msgid "" "Fredrik Lundh develops ElementTree and produced the 1.3 version; you can " "read his article describing 1.3 at https://web.archive.org/" @@ -2427,15 +2428,15 @@ msgid "" "python-dev and in :issue:`6472`.)" msgstr "" -#: whatsnew/2.7.rst:2101 +#: whatsnew/2.7.rst:2103 msgid "Build and C API Changes" msgstr "" -#: whatsnew/2.7.rst:2103 +#: whatsnew/2.7.rst:2105 msgid "Changes to Python's build process and to the C API include:" msgstr "" -#: whatsnew/2.7.rst:2105 +#: whatsnew/2.7.rst:2107 msgid "" "The latest release of the GNU Debugger, GDB 7, can be `scripted using Python " "`_; discussed in :issue:`5753`, and fixed by " "Antoine Pitrou." msgstr "" -#: whatsnew/2.7.rst:2180 +#: whatsnew/2.7.rst:2182 msgid "" "New macros: the Python header files now define the following macros: :c:" "macro:`Py_ISALNUM`, :c:macro:`Py_ISALPHA`, :c:macro:`Py_ISDIGIT`, :c:macro:" @@ -2554,7 +2555,7 @@ msgid "" "Eric Smith; :issue:`5793`.)" msgstr "" -#: whatsnew/2.7.rst:2198 +#: whatsnew/2.7.rst:2200 msgid "" "Removed function: :c:func:`!PyEval_CallObject` is now only available as a " "macro. A function version was being kept around to preserve ABI linking " @@ -2562,7 +2563,7 @@ msgid "" "(Removed by Antoine Pitrou; :issue:`8276`.)" msgstr "" -#: whatsnew/2.7.rst:2203 +#: whatsnew/2.7.rst:2205 msgid "" "New format codes: the :c:func:`!PyString_FromFormat`, :c:func:`!" "PyString_FromFormatV`, and :c:func:`PyErr_Format` functions now accept " @@ -2570,7 +2571,7 @@ msgid "" "types. (Contributed by Mark Dickinson; :issue:`7228`.)" msgstr "" -#: whatsnew/2.7.rst:2209 +#: whatsnew/2.7.rst:2211 msgid "" "The complicated interaction between threads and process forking has been " "changed. Previously, the child process created by :func:`os.fork` might " @@ -2582,7 +2583,7 @@ msgid "" "replicated, and the child process would no longer be able to perform imports." msgstr "" -#: whatsnew/2.7.rst:2219 +#: whatsnew/2.7.rst:2221 msgid "" "Python 2.7 acquires the import lock before performing an :func:`os.fork`, " "and will also clean up any locks created using the :mod:`threading` module. " @@ -2590,38 +2591,38 @@ msgid "" "themselves, will not benefit from this clean-up." msgstr "" -#: whatsnew/2.7.rst:2225 +#: whatsnew/2.7.rst:2227 msgid "(Fixed by Thomas Wouters; :issue:`1590864`.)" msgstr "" -#: whatsnew/2.7.rst:2227 +#: whatsnew/2.7.rst:2229 msgid "" "The :c:func:`Py_Finalize` function now calls the internal :func:`threading." "_shutdown` function; this prevents some exceptions from being raised when an " "interpreter shuts down. (Patch by Adam Olsen; :issue:`1722344`.)" msgstr "" -#: whatsnew/2.7.rst:2232 +#: whatsnew/2.7.rst:2234 msgid "" "When using the :c:type:`PyMemberDef` structure to define attributes of a " "type, Python will no longer let you try to delete or set a :c:macro:" "`T_STRING_INPLACE` attribute." msgstr "" -#: whatsnew/2.7.rst:2238 +#: whatsnew/2.7.rst:2240 msgid "" "Global symbols defined by the :mod:`ctypes` module are now prefixed with " "``Py``, or with ``_ctypes``. (Implemented by Thomas Heller; :issue:`3102`.)" msgstr "" -#: whatsnew/2.7.rst:2242 +#: whatsnew/2.7.rst:2244 msgid "" "New configure option: the :option:`!--with-system-expat` switch allows " "building the :mod:`pyexpat` module to use the system Expat library. " "(Contributed by Arfrever Frehtes Taifersar Arahesis; :issue:`7609`.)" msgstr "" -#: whatsnew/2.7.rst:2246 +#: whatsnew/2.7.rst:2248 msgid "" "New configure option: the :option:`!--with-valgrind` option will now disable " "the pymalloc allocator, which is difficult for the Valgrind memory-error " @@ -2630,14 +2631,14 @@ msgid "" "issue:`2422`.)" msgstr "" -#: whatsnew/2.7.rst:2253 +#: whatsnew/2.7.rst:2255 msgid "" "New configure option: you can now supply an empty string to :option:`!--with-" "dbmliborder=` in order to disable all of the various DBM modules. (Added by " "Arfrever Frehtes Taifersar Arahesis; :issue:`6491`.)" msgstr "" -#: whatsnew/2.7.rst:2258 +#: whatsnew/2.7.rst:2260 msgid "" "The :program:`configure` script now checks for floating-point rounding bugs " "on certain 32-bit Intel chips and defines a :c:macro:`X87_DOUBLE_ROUNDING` " @@ -2646,30 +2647,30 @@ msgid "" "`2937`.)" msgstr "" -#: whatsnew/2.7.rst:2264 +#: whatsnew/2.7.rst:2266 msgid "" ":program:`configure` also now sets a :envvar:`LDCXXSHARED` Makefile variable " "for supporting C++ linking. (Contributed by Arfrever Frehtes Taifersar " "Arahesis; :issue:`1222585`.)" msgstr "" -#: whatsnew/2.7.rst:2268 +#: whatsnew/2.7.rst:2270 msgid "" "The build process now creates the necessary files for pkg-config support. " "(Contributed by Clinton Roy; :issue:`3585`.)" msgstr "" -#: whatsnew/2.7.rst:2271 +#: whatsnew/2.7.rst:2273 msgid "" "The build process now supports Subversion 1.7. (Contributed by Arfrever " "Frehtes Taifersar Arahesis; :issue:`6094`.)" msgstr "" -#: whatsnew/2.7.rst:2278 +#: whatsnew/2.7.rst:2280 msgid "Capsules" msgstr "" -#: whatsnew/2.7.rst:2280 +#: whatsnew/2.7.rst:2282 msgid "" "Python 3.1 adds a new C datatype, :c:type:`PyCapsule`, for providing a C API " "to an extension module. A capsule is essentially the holder of a C ``void " @@ -2681,7 +2682,7 @@ msgid "" "module's various API functions." msgstr "" -#: whatsnew/2.7.rst:2289 +#: whatsnew/2.7.rst:2291 msgid "" "There is an existing data type already used for this, :c:type:`!PyCObject`, " "but it doesn't provide type safety. Evil code written in pure Python could " @@ -2691,7 +2692,7 @@ msgid "" "name:" msgstr "" -#: whatsnew/2.7.rst:2307 +#: whatsnew/2.7.rst:2309 msgid "" "You are assured that ``vtable`` points to whatever you're expecting. If a " "different capsule was passed in, :c:func:`PyCapsule_IsValid` would detect " @@ -2699,7 +2700,7 @@ msgid "" "more information on using these objects." msgstr "" -#: whatsnew/2.7.rst:2312 +#: whatsnew/2.7.rst:2314 msgid "" "Python 2.7 now uses capsules internally to provide various extension-module " "APIs, but the :c:func:`!PyCObject_AsVoidPtr` was modified to handle " @@ -2708,17 +2709,17 @@ msgid "" "exc:`PendingDeprecationWarning`, which is silent by default." msgstr "" -#: whatsnew/2.7.rst:2319 +#: whatsnew/2.7.rst:2321 msgid "" "Implemented in Python 3.1 and backported to 2.7 by Larry Hastings; discussed " "in :issue:`5630`." msgstr "" -#: whatsnew/2.7.rst:2326 +#: whatsnew/2.7.rst:2328 msgid "Port-Specific Changes: Windows" msgstr "" -#: whatsnew/2.7.rst:2328 +#: whatsnew/2.7.rst:2330 msgid "" "The :mod:`msvcrt` module now contains some constants from the :file:" "`crtassem.h` header file: :data:`CRT_ASSEMBLY_VERSION`, :data:" @@ -2726,7 +2727,7 @@ msgid "" "(Contributed by David Cournapeau; :issue:`4365`.)" msgstr "" -#: whatsnew/2.7.rst:2335 +#: whatsnew/2.7.rst:2337 msgid "" "The :mod:`_winreg` module for accessing the registry now implements the :" "func:`~_winreg.CreateKeyEx` and :func:`~_winreg.DeleteKeyEx` functions, " @@ -2736,14 +2737,14 @@ msgid "" "tested and documented. (Implemented by Brian Curtin: :issue:`7347`.)" msgstr "" -#: whatsnew/2.7.rst:2343 +#: whatsnew/2.7.rst:2345 msgid "" "The new :c:func:`_beginthreadex` API is used to start threads, and the " "native thread-local storage functions are now used. (Contributed by Kristján " "Valur Jónsson; :issue:`3582`.)" msgstr "" -#: whatsnew/2.7.rst:2347 +#: whatsnew/2.7.rst:2349 msgid "" "The :func:`os.kill` function now works on Windows. The signal value can be " "the constants :const:`CTRL_C_EVENT`, :const:`CTRL_BREAK_EVENT`, or any " @@ -2753,23 +2754,23 @@ msgid "" "`1220212`.)" msgstr "" -#: whatsnew/2.7.rst:2354 +#: whatsnew/2.7.rst:2356 msgid "" "The :func:`os.listdir` function now correctly fails for an empty path. " "(Fixed by Hirokazu Yamamoto; :issue:`5913`.)" msgstr "" -#: whatsnew/2.7.rst:2357 +#: whatsnew/2.7.rst:2359 msgid "" "The :mod:`mimelib` module will now read the MIME database from the Windows " "registry when initializing. (Patch by Gabriel Genellina; :issue:`4969`.)" msgstr "" -#: whatsnew/2.7.rst:2364 +#: whatsnew/2.7.rst:2366 msgid "Port-Specific Changes: Mac OS X" msgstr "" -#: whatsnew/2.7.rst:2366 +#: whatsnew/2.7.rst:2368 msgid "" "The path ``/Library/Python/2.7/site-packages`` is now appended to ``sys." "path``, in order to share added packages between the system installation and " @@ -2777,7 +2778,7 @@ msgid "" "issue:`4865`.)" msgstr "" -#: whatsnew/2.7.rst:2373 +#: whatsnew/2.7.rst:2375 msgid "" "As of 2.7.13, this change was removed. ``/Library/Python/2.7/site-" "packages``, the site-packages directory used by the Apple-supplied system " @@ -2789,11 +2790,11 @@ msgid "" "Pythons. (:issue:`28440`)" msgstr "" -#: whatsnew/2.7.rst:2384 +#: whatsnew/2.7.rst:2386 msgid "Port-Specific Changes: FreeBSD" msgstr "" -#: whatsnew/2.7.rst:2386 +#: whatsnew/2.7.rst:2388 msgid "" "FreeBSD 7.1's :const:`SO_SETFIB` constant, used with the :func:`~socket." "socket` methods :func:`~socket.socket.getsockopt`/:func:`~socket.socket." @@ -2801,11 +2802,11 @@ msgid "" "mod:`socket` module. (Added by Kyle VanderBeek; :issue:`8235`.)" msgstr "" -#: whatsnew/2.7.rst:2392 +#: whatsnew/2.7.rst:2394 msgid "Other Changes and Fixes" msgstr "" -#: whatsnew/2.7.rst:2394 +#: whatsnew/2.7.rst:2396 msgid "" "Two benchmark scripts, :file:`iobench` and :file:`ccbench`, were added to " "the :file:`Tools` directory. :file:`iobench` measures the speed of the " @@ -2815,23 +2816,23 @@ msgid "" "bandwidth when performing several tasks using a varying number of threads." msgstr "" -#: whatsnew/2.7.rst:2402 +#: whatsnew/2.7.rst:2404 msgid "" "The :file:`Tools/i18n/msgfmt.py` script now understands plural forms in :" "file:`.po` files. (Fixed by Martin von Löwis; :issue:`5464`.)" msgstr "" -#: whatsnew/2.7.rst:2406 +#: whatsnew/2.7.rst:2408 msgid "" "When importing a module from a :file:`.pyc` or :file:`.pyo` file with an " -"existing :file:`.py` counterpart, the :attr:`co_filename` attributes of the " -"resulting code objects are overwritten when the original filename is " -"obsolete. This can happen if the file has been renamed, moved, or is " -"accessed through different paths. (Patch by Ziga Seilnacht and Jean-Paul " -"Calderone; :issue:`1180193`.)" +"existing :file:`.py` counterpart, the :attr:`~codeobject.co_filename` " +"attributes of the resulting code objects are overwritten when the original " +"filename is obsolete. This can happen if the file has been renamed, moved, " +"or is accessed through different paths. (Patch by Ziga Seilnacht and Jean-" +"Paul Calderone; :issue:`1180193`.)" msgstr "" -#: whatsnew/2.7.rst:2413 +#: whatsnew/2.7.rst:2415 msgid "" "The :file:`regrtest.py` script now takes a :option:`!--randseed=` switch " "that takes an integer that will be used as the random seed for the :option:" @@ -2839,7 +2840,7 @@ msgid "" "also reports the seed that was used (Added by Collin Winter.)" msgstr "" -#: whatsnew/2.7.rst:2419 +#: whatsnew/2.7.rst:2421 msgid "" "Another :file:`regrtest.py` switch is :option:`!-j`, which takes an integer " "specifying how many tests run in parallel. This allows reducing the total " @@ -2850,31 +2851,31 @@ msgid "" "they fail. (Added by Antoine Pitrou; :issue:`7312`.)" msgstr "" -#: whatsnew/2.7.rst:2428 +#: whatsnew/2.7.rst:2430 msgid "" "When executed as a script, the :file:`py_compile.py` module now accepts " "``'-'`` as an argument, which will read standard input for the list of " "filenames to be compiled. (Contributed by Piotr Ożarowski; :issue:`8233`.)" msgstr "" -#: whatsnew/2.7.rst:2436 +#: whatsnew/2.7.rst:2438 msgid "Porting to Python 2.7" msgstr "" -#: whatsnew/2.7.rst:2438 +#: whatsnew/2.7.rst:2440 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code:" msgstr "" -#: whatsnew/2.7.rst:2441 +#: whatsnew/2.7.rst:2443 msgid "" "The :func:`range` function processes its arguments more consistently; it " "will now call :meth:`__int__` on non-float, non-integer arguments that are " "supplied to it. (Fixed by Alexander Belopolsky; :issue:`1533`.)" msgstr "" -#: whatsnew/2.7.rst:2446 +#: whatsnew/2.7.rst:2448 msgid "" "The string :meth:`format` method changed the default precision used for " "floating-point and complex numbers from 6 decimal places to 12, which " @@ -2882,7 +2883,7 @@ msgid "" "`5920`.)" msgstr "" -#: whatsnew/2.7.rst:2451 +#: whatsnew/2.7.rst:2453 msgid "" "Because of an optimization for the :keyword:`with` statement, the special " "methods :meth:`~object.__enter__` and :meth:`~object.__exit__` must belong " @@ -2891,7 +2892,7 @@ msgid "" "C extension types. (:issue:`6101`.)" msgstr "" -#: whatsnew/2.7.rst:2457 +#: whatsnew/2.7.rst:2459 msgid "" "Due to a bug in Python 2.6, the *exc_value* parameter to :meth:`~object." "__exit__` methods was often the string representation of the exception, not " @@ -2899,11 +2900,11 @@ msgid "" "expected. (Fixed by Florent Xicluna; :issue:`7853`.)" msgstr "" -#: whatsnew/2.7.rst:2467 +#: whatsnew/2.7.rst:2469 msgid "In the standard library:" msgstr "" -#: whatsnew/2.7.rst:2469 +#: whatsnew/2.7.rst:2471 msgid "" "Operations with :class:`~datetime.datetime` instances that resulted in a " "year falling outside the supported range didn't always raise :exc:" @@ -2912,7 +2913,7 @@ msgid "" "Alexander Belopolsky; :issue:`7150`.)" msgstr "" -#: whatsnew/2.7.rst:2475 +#: whatsnew/2.7.rst:2477 msgid "" "When using :class:`~decimal.Decimal` instances with a string's :meth:" "`format` method, the default alignment was previously left-alignment. This " @@ -2920,7 +2921,7 @@ msgid "" "programs. (Changed by Mark Dickinson; :issue:`6857`.)" msgstr "" -#: whatsnew/2.7.rst:2481 +#: whatsnew/2.7.rst:2483 msgid "" "Comparisons involving a signaling NaN value (or ``sNAN``) now signal :const:" "`~decimal.InvalidOperation` instead of silently returning a true or false " @@ -2928,36 +2929,36 @@ msgid "" "are now hashable. (Fixed by Mark Dickinson; :issue:`7279`.)" msgstr "" -#: whatsnew/2.7.rst:2493 +#: whatsnew/2.7.rst:2495 msgid "" "The :meth:`~StringIO.StringIO.readline` method of :class:`~StringIO." "StringIO` objects now does nothing when a negative length is requested, as " "other file-like objects do. (:issue:`7348`)." msgstr "" -#: whatsnew/2.7.rst:2536 +#: whatsnew/2.7.rst:2538 msgid "For C extensions:" msgstr "" -#: whatsnew/2.7.rst:2538 +#: whatsnew/2.7.rst:2540 msgid "" "C extensions that use integer format codes with the ``PyArg_Parse*`` family " "of functions will now raise a :exc:`TypeError` exception instead of " "triggering a :exc:`DeprecationWarning` (:issue:`5080`)." msgstr "" -#: whatsnew/2.7.rst:2542 +#: whatsnew/2.7.rst:2544 msgid "" "Use the new :c:func:`PyOS_string_to_double` function instead of the old :c:" "func:`!PyOS_ascii_strtod` and :c:func:`!PyOS_ascii_atof` functions, which " "are now deprecated." msgstr "" -#: whatsnew/2.7.rst:2546 +#: whatsnew/2.7.rst:2548 msgid "For applications that embed Python:" msgstr "" -#: whatsnew/2.7.rst:2548 +#: whatsnew/2.7.rst:2550 msgid "" "The :c:func:`PySys_SetArgvEx` function was added, letting applications close " "a security hole when the existing :c:func:`PySys_SetArgv` function was " @@ -2966,11 +2967,11 @@ msgid "" "with *updatepath* set to false." msgstr "" -#: whatsnew/2.7.rst:2561 +#: whatsnew/2.7.rst:2563 msgid "New Features Added to Python 2.7 Maintenance Releases" msgstr "" -#: whatsnew/2.7.rst:2563 +#: whatsnew/2.7.rst:2565 msgid "" "New features may be added to Python 2.7 maintenance releases when the " "situation genuinely calls for it. Any such additions must go through the " @@ -2979,25 +2980,25 @@ msgid "" "Python 3, or else by publishing it on the Python Package Index." msgstr "" -#: whatsnew/2.7.rst:2569 +#: whatsnew/2.7.rst:2571 msgid "" "In addition to the specific proposals listed below, there is a general " "exemption allowing new ``-3`` warnings to be added in any Python 2.7 " "maintenance release." msgstr "" -#: whatsnew/2.7.rst:2575 +#: whatsnew/2.7.rst:2577 msgid "Two new environment variables for debug mode" msgstr "" -#: whatsnew/2.7.rst:2577 +#: whatsnew/2.7.rst:2579 msgid "" "In debug mode, the ``[xxx refs]`` statistic is not written by default, the :" "envvar:`PYTHONSHOWREFCOUNT` environment variable now must also be set. " "(Contributed by Victor Stinner; :issue:`31733`.)" msgstr "" -#: whatsnew/2.7.rst:2581 +#: whatsnew/2.7.rst:2583 msgid "" "When Python is compiled with ``COUNT_ALLOC`` defined, allocation counts are " "no longer dumped by default anymore: the :envvar:`PYTHONSHOWALLOCCOUNT` " @@ -3006,11 +3007,11 @@ msgid "" "issue:`31692`.)" msgstr "" -#: whatsnew/2.7.rst:2590 +#: whatsnew/2.7.rst:2592 msgid "PEP 434: IDLE Enhancement Exception for All Branches" msgstr "" -#: whatsnew/2.7.rst:2592 +#: whatsnew/2.7.rst:2594 msgid "" ":pep:`434` describes a general exemption for changes made to the IDLE " "development environment shipped along with Python. This exemption makes it " @@ -3018,62 +3019,62 @@ msgid "" "experience across all supported versions of Python 2 and 3." msgstr "" -#: whatsnew/2.7.rst:2597 +#: whatsnew/2.7.rst:2599 msgid "" "For details of any IDLE changes, refer to the NEWS file for the specific " "release." msgstr "" -#: whatsnew/2.7.rst:2602 +#: whatsnew/2.7.rst:2604 msgid "PEP 466: Network Security Enhancements for Python 2.7" msgstr "" -#: whatsnew/2.7.rst:2604 +#: whatsnew/2.7.rst:2606 msgid "" ":pep:`466` describes a number of network security enhancement proposals that " "have been approved for inclusion in Python 2.7 maintenance releases, with " "the first of those changes appearing in the Python 2.7.7 release." msgstr "" -#: whatsnew/2.7.rst:2608 +#: whatsnew/2.7.rst:2610 msgid ":pep:`466` related features added in Python 2.7.7:" msgstr "" -#: whatsnew/2.7.rst:2610 +#: whatsnew/2.7.rst:2612 msgid "" ":func:`hmac.compare_digest` was backported from Python 3 to make a timing " "attack resistant comparison operation available to Python 2 applications. " "(Contributed by Alex Gaynor; :issue:`21306`.)" msgstr "" -#: whatsnew/2.7.rst:2614 +#: whatsnew/2.7.rst:2616 msgid "" "OpenSSL 1.0.1g was upgraded in the official Windows installers published on " "python.org. (Contributed by Zachary Ware; :issue:`21462`.)" msgstr "" -#: whatsnew/2.7.rst:2617 +#: whatsnew/2.7.rst:2619 msgid ":pep:`466` related features added in Python 2.7.8:" msgstr "" -#: whatsnew/2.7.rst:2619 +#: whatsnew/2.7.rst:2621 msgid "" ":func:`hashlib.pbkdf2_hmac` was backported from Python 3 to make a hashing " "algorithm suitable for secure password storage broadly available to Python 2 " "applications. (Contributed by Alex Gaynor; :issue:`21304`.)" msgstr "" -#: whatsnew/2.7.rst:2623 +#: whatsnew/2.7.rst:2625 msgid "" "OpenSSL 1.0.1h was upgraded for the official Windows installers published on " "python.org. (contributed by Zachary Ware in :issue:`21671` for CVE-2014-0224)" msgstr "" -#: whatsnew/2.7.rst:2626 +#: whatsnew/2.7.rst:2628 msgid ":pep:`466` related features added in Python 2.7.9:" msgstr "" -#: whatsnew/2.7.rst:2628 +#: whatsnew/2.7.rst:2630 msgid "" "Most of Python 3.4's :mod:`ssl` module was backported. This means :mod:`ssl` " "now supports Server Name Indication, TLS1.x settings, access to the platform " @@ -3081,20 +3082,20 @@ msgid "" "(Contributed by Alex Gaynor and David Reid; :issue:`21308`.)" msgstr "" -#: whatsnew/2.7.rst:2633 +#: whatsnew/2.7.rst:2635 msgid "" "Refer to the \"Version added: 2.7.9\" notes in the module documentation for " "specific details." msgstr "" -#: whatsnew/2.7.rst:2636 +#: whatsnew/2.7.rst:2638 msgid "" ":func:`os.urandom` was changed to cache a file descriptor to ``/dev/" "urandom`` instead of reopening ``/dev/urandom`` on every call. (Contributed " "by Alex Gaynor; :issue:`21305`.)" msgstr "" -#: whatsnew/2.7.rst:2640 +#: whatsnew/2.7.rst:2642 msgid "" ":data:`hashlib.algorithms_guaranteed` and :data:`hashlib." "algorithms_available` were backported from Python 3 to make it easier for " @@ -3102,22 +3103,22 @@ msgid "" "(Contributed by Alex Gaynor in :issue:`21307`)" msgstr "" -#: whatsnew/2.7.rst:2647 +#: whatsnew/2.7.rst:2649 msgid "PEP 477: Backport ensurepip (PEP 453) to Python 2.7" msgstr "" -#: whatsnew/2.7.rst:2649 +#: whatsnew/2.7.rst:2651 msgid "" ":pep:`477` approves the inclusion of the :pep:`453` ensurepip module and the " "improved documentation that was enabled by it in the Python 2.7 maintenance " "releases, appearing first in the Python 2.7.9 release." msgstr "" -#: whatsnew/2.7.rst:2655 +#: whatsnew/2.7.rst:2657 msgid "Bootstrapping pip By Default" msgstr "" -#: whatsnew/2.7.rst:2657 +#: whatsnew/2.7.rst:2659 msgid "" "The new :mod:`ensurepip` module (defined in :pep:`453`) provides a standard " "cross-platform mechanism to bootstrap the pip installer into Python " @@ -3127,14 +3128,14 @@ msgid "" "the release candidate." msgstr "" -#: whatsnew/2.7.rst:2664 +#: whatsnew/2.7.rst:2666 msgid "" "By default, the commands ``pip``, ``pipX`` and ``pipX.Y`` will be installed " "on all platforms (where X.Y stands for the version of the Python " "installation), along with the ``pip`` Python package and its dependencies." msgstr "" -#: whatsnew/2.7.rst:2668 +#: whatsnew/2.7.rst:2670 msgid "" "For CPython :ref:`source builds on POSIX systems `, " "the ``make install`` and ``make altinstall`` commands do not bootstrap " @@ -3142,7 +3143,7 @@ msgid "" "options, and overridden through Makefile options." msgstr "" -#: whatsnew/2.7.rst:2673 +#: whatsnew/2.7.rst:2675 msgid "" "On Windows and Mac OS X, the CPython installers now default to installing " "``pip`` along with CPython itself (users may opt out of installing it during " @@ -3152,7 +3153,7 @@ msgid "" "Windows as ``py -m pip``." msgstr "" -#: whatsnew/2.7.rst:2680 +#: whatsnew/2.7.rst:2682 msgid "" "As `discussed in the PEP`__, platform packagers may choose not to install " "these commands by default, as long as, when invoked, they provide clear and " @@ -3160,11 +3161,11 @@ msgid "" "system package manager)." msgstr "" -#: whatsnew/2.7.rst:2689 +#: whatsnew/2.7.rst:2691 msgid "Documentation Changes" msgstr "" -#: whatsnew/2.7.rst:2691 +#: whatsnew/2.7.rst:2693 msgid "" "As part of this change, the :ref:`installing-index` and :ref:`distributing-" "index` sections of the documentation have been completely redesigned as " @@ -3174,29 +3175,29 @@ msgid "" "of the individual projects." msgstr "" -#: whatsnew/2.7.rst:2699 +#: whatsnew/2.7.rst:2701 msgid "" "However, as this migration is currently still incomplete, the legacy " "versions of those guides remaining available as :ref:`install-index` and :" "ref:`setuptools-index`." msgstr "" -#: whatsnew/2.7.rst:2706 +#: whatsnew/2.7.rst:2708 msgid ":pep:`453` -- Explicit bootstrapping of pip in Python installations" msgstr "" -#: whatsnew/2.7.rst:2706 +#: whatsnew/2.7.rst:2708 msgid "" "PEP written by Donald Stufft and Nick Coghlan, implemented by Donald Stufft, " "Nick Coghlan, Martin von Löwis and Ned Deily." msgstr "" -#: whatsnew/2.7.rst:2710 +#: whatsnew/2.7.rst:2712 msgid "" "PEP 476: Enabling certificate verification by default for stdlib http clients" msgstr "" -#: whatsnew/2.7.rst:2712 +#: whatsnew/2.7.rst:2714 msgid "" ":pep:`476` updated :mod:`httplib` and modules which use it, such as :mod:" "`urllib2` and :mod:`xmlrpclib`, to now verify that the server presents a " @@ -3206,17 +3207,17 @@ msgid "" "in the Python 2.7.9 release." msgstr "" -#: whatsnew/2.7.rst:2719 +#: whatsnew/2.7.rst:2721 msgid "" "For applications which require the old previous behavior, they can pass an " "alternate context::" msgstr "" -#: whatsnew/2.7.rst:2736 +#: whatsnew/2.7.rst:2738 msgid "PEP 493: HTTPS verification migration tools for Python 2.7" msgstr "" -#: whatsnew/2.7.rst:2738 +#: whatsnew/2.7.rst:2740 msgid "" ":pep:`493` provides additional migration tools to support a more incremental " "infrastructure upgrade process for environments containing applications and " @@ -3225,14 +3226,14 @@ msgid "" "were made in the Python 2.7.12 release." msgstr "" -#: whatsnew/2.7.rst:2744 +#: whatsnew/2.7.rst:2746 msgid "" "These tools are intended for use in cases where affected applications and " "services can't be modified to explicitly pass a more permissive SSL context " "when establishing the connection." msgstr "" -#: whatsnew/2.7.rst:2748 +#: whatsnew/2.7.rst:2750 msgid "" "For applications and services which can't be modified at all, the new " "``PYTHONHTTPSVERIFY`` environment variable may be set to ``0`` to revert an " @@ -3240,18 +3241,18 @@ msgid "" "2.7.8 and earlier." msgstr "" -#: whatsnew/2.7.rst:2753 +#: whatsnew/2.7.rst:2755 msgid "" "For cases where the connection establishment code can't be modified, but the " "overall application can be, the new :func:`ssl._https_verify_certificates` " "function can be used to adjust the default behaviour at runtime." msgstr "" -#: whatsnew/2.7.rst:2759 +#: whatsnew/2.7.rst:2761 msgid "New ``make regen-all`` build target" msgstr "" -#: whatsnew/2.7.rst:2761 +#: whatsnew/2.7.rst:2763 msgid "" "To simplify cross-compilation, and to ensure that CPython can reliably be " "compiled without requiring an existing version of Python to already be " @@ -3259,43 +3260,43 @@ msgid "" "recompile generated files based on file modification times." msgstr "" -#: whatsnew/2.7.rst:2766 +#: whatsnew/2.7.rst:2768 msgid "" "Instead, a new ``make regen-all`` command has been added to force " "regeneration of these files when desired (e.g. after an initial version of " "Python has already been built based on the pregenerated versions)." msgstr "" -#: whatsnew/2.7.rst:2770 +#: whatsnew/2.7.rst:2772 msgid "" "More selective regeneration targets are also defined - see :source:`Makefile." "pre.in` for details." msgstr "" -#: whatsnew/2.7.rst:2786 +#: whatsnew/2.7.rst:2788 msgid "(Contributed by Victor Stinner in :issue:`23404`.)" msgstr "" -#: whatsnew/2.7.rst:2779 +#: whatsnew/2.7.rst:2781 msgid "Removal of ``make touch`` build target" msgstr "" -#: whatsnew/2.7.rst:2781 +#: whatsnew/2.7.rst:2783 msgid "" "The ``make touch`` build target previously used to request implicit " "regeneration of generated files by updating their modification times has " "been removed." msgstr "" -#: whatsnew/2.7.rst:2784 +#: whatsnew/2.7.rst:2786 msgid "It has been replaced by the new ``make regen-all`` target." msgstr "" -#: whatsnew/2.7.rst:2795 +#: whatsnew/2.7.rst:2797 msgid "Acknowledgements" msgstr "" -#: whatsnew/2.7.rst:2797 +#: whatsnew/2.7.rst:2799 msgid "" "The author would like to thank the following people for offering " "suggestions, corrections and assistance with various drafts of this article: " diff --git a/whatsnew/3.0.po b/whatsnew/3.0.po index 73ef70df4..deb982498 100644 --- a/whatsnew/3.0.po +++ b/whatsnew/3.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1002,8 +1002,8 @@ msgid "" ":pep:`3109`: Raising exceptions. You must now use :samp:`raise {Exception}" "({args})` instead of :samp:`raise {Exception}, {args}`. Additionally, you " "can no longer explicitly specify a traceback; instead, if you *have* to do " -"this, you can assign directly to the :attr:`__traceback__` attribute (see " -"below)." +"this, you can assign directly to the :attr:`~BaseException.__traceback__` " +"attribute (see below)." msgstr "" #: whatsnew/3.0.rst:716 @@ -1021,59 +1021,60 @@ msgid "" "an :keyword:`except` or :keyword:`finally` handler block. This usually " "happens due to a bug in the handler block; we call this a *secondary* " "exception. In this case, the original exception (that was being handled) is " -"saved as the :attr:`__context__` attribute of the secondary exception. " -"Explicit chaining is invoked with this syntax::" +"saved as the :attr:`~BaseException.__context__` attribute of the secondary " +"exception. Explicit chaining is invoked with this syntax::" msgstr "" #: whatsnew/3.0.rst:733 msgid "" "(where *primary_exception* is any expression that produces an exception " "object, probably an exception that was previously caught). In this case, the " -"primary exception is stored on the :attr:`__cause__` attribute of the " -"secondary exception. The traceback printed when an unhandled exception " -"occurs walks the chain of :attr:`__cause__` and :attr:`__context__` " -"attributes and prints a separate traceback for each component of the chain, " -"with the primary exception at the top. (Java users may recognize this " -"behavior.)" +"primary exception is stored on the :attr:`~BaseException.__cause__` " +"attribute of the secondary exception. The traceback printed when an " +"unhandled exception occurs walks the chain of :attr:`!__cause__` and :attr:" +"`~BaseException.__context__` attributes and prints a separate traceback for " +"each component of the chain, with the primary exception at the top. (Java " +"users may recognize this behavior.)" msgstr "" -#: whatsnew/3.0.rst:742 +#: whatsnew/3.0.rst:743 msgid "" ":pep:`3134`: Exception objects now store their traceback as the :attr:" -"`__traceback__` attribute. This means that an exception object now contains " -"all the information pertaining to an exception, and there are fewer reasons " -"to use :func:`sys.exc_info` (though the latter is not removed)." +"`~BaseException.__traceback__` attribute. This means that an exception " +"object now contains all the information pertaining to an exception, and " +"there are fewer reasons to use :func:`sys.exc_info` (though the latter is " +"not removed)." msgstr "" -#: whatsnew/3.0.rst:748 +#: whatsnew/3.0.rst:749 msgid "" "A few exception messages are improved when Windows fails to load an " "extension module. For example, ``error code 193`` is now ``%1 is not a " "valid Win32 application``. Strings now deal with non-English locales." msgstr "" -#: whatsnew/3.0.rst:755 +#: whatsnew/3.0.rst:756 msgid "Miscellaneous Other Changes" msgstr "" -#: whatsnew/3.0.rst:758 +#: whatsnew/3.0.rst:759 msgid "Operators And Special Methods" msgstr "" -#: whatsnew/3.0.rst:760 +#: whatsnew/3.0.rst:761 msgid "" "``!=`` now returns the opposite of ``==``, unless ``==`` returns :data:" "`NotImplemented`." msgstr "" -#: whatsnew/3.0.rst:763 +#: whatsnew/3.0.rst:764 msgid "" "The concept of \"unbound methods\" has been removed from the language. When " "referencing a method as a class attribute, you now get a plain function " "object." msgstr "" -#: whatsnew/3.0.rst:767 +#: whatsnew/3.0.rst:768 msgid "" ":meth:`__getslice__`, :meth:`__setslice__` and :meth:`__delslice__` were " "killed. The syntax ``a[i:j]`` now translates to ``a.__getitem__(slice(i, " @@ -1081,43 +1082,44 @@ msgid "" "assignment or deletion target, respectively)." msgstr "" -#: whatsnew/3.0.rst:773 +#: whatsnew/3.0.rst:774 msgid "" ":pep:`3114`: the standard :meth:`next` method has been renamed to :meth:" "`~iterator.__next__`." msgstr "" -#: whatsnew/3.0.rst:776 +#: whatsnew/3.0.rst:777 msgid "" "The :meth:`__oct__` and :meth:`__hex__` special methods are removed -- :func:" "`oct` and :func:`hex` use :meth:`__index__` now to convert the argument to " "an integer." msgstr "" -#: whatsnew/3.0.rst:780 +#: whatsnew/3.0.rst:781 msgid "Removed support for :attr:`__members__` and :attr:`__methods__`." msgstr "" -#: whatsnew/3.0.rst:782 +#: whatsnew/3.0.rst:783 msgid "" -"The function attributes named :attr:`func_X` have been renamed to use the :" -"data:`__X__` form, freeing up these names in the function attribute " -"namespace for user-defined attributes. To wit, :attr:`func_closure`, :attr:" -"`func_code`, :attr:`func_defaults`, :attr:`func_dict`, :attr:`func_doc`, :" -"attr:`func_globals`, :attr:`func_name` were renamed to :attr:`__closure__`, :" -"attr:`__code__`, :attr:`__defaults__`, :attr:`~object.__dict__`, :attr:" -"`__doc__`, :attr:`__globals__`, :attr:`~definition.__name__`, respectively." +"The function attributes named :attr:`!func_X` have been renamed to use the :" +"attr:`!__X__` form, freeing up these names in the function attribute " +"namespace for user-defined attributes. To wit, :attr:`!func_closure`, :attr:" +"`!func_code`, :attr:`!func_defaults`, :attr:`!func_dict`, :attr:`!" +"func_doc`, :attr:`!func_globals`, :attr:`!func_name` were renamed to :attr:" +"`~function.__closure__`, :attr:`~function.__code__`, :attr:`~function." +"__defaults__`, :attr:`~function.__dict__`, :attr:`~function.__doc__`, :attr:" +"`~function.__globals__`, :attr:`~function.__name__`, respectively." msgstr "" -#: whatsnew/3.0.rst:792 +#: whatsnew/3.0.rst:794 msgid ":meth:`!__nonzero__` is now :meth:`~object.__bool__`." msgstr "" -#: whatsnew/3.0.rst:795 +#: whatsnew/3.0.rst:797 msgid "Builtins" msgstr "" -#: whatsnew/3.0.rst:797 +#: whatsnew/3.0.rst:799 msgid "" ":pep:`3135`: New :func:`super`. You can now invoke :func:`super` without " "arguments and (assuming this is in a regular instance method defined inside " @@ -1126,7 +1128,7 @@ msgid "" "unchanged." msgstr "" -#: whatsnew/3.0.rst:803 +#: whatsnew/3.0.rst:805 msgid "" ":pep:`3111`: :func:`raw_input` was renamed to :func:`input`. That is, the " "new :func:`input` function reads a line from :data:`sys.stdin` and returns " @@ -1135,13 +1137,13 @@ msgid "" "use ``eval(input())``." msgstr "" -#: whatsnew/3.0.rst:809 +#: whatsnew/3.0.rst:811 msgid "" "A new built-in function :func:`next` was added to call the :meth:`~iterator." "__next__` method on an object." msgstr "" -#: whatsnew/3.0.rst:812 +#: whatsnew/3.0.rst:814 msgid "" "The :func:`round` function rounding strategy and return type have changed. " "Exact halfway cases are now rounded to the nearest even result instead of " @@ -1152,118 +1154,118 @@ msgid "" "arguments." msgstr "" -#: whatsnew/3.0.rst:821 +#: whatsnew/3.0.rst:823 msgid "Moved :func:`intern` to :func:`sys.intern`." msgstr "" -#: whatsnew/3.0.rst:823 +#: whatsnew/3.0.rst:825 msgid "" "Removed: :func:`apply`. Instead of ``apply(f, args)`` use ``f(*args)``." msgstr "" -#: whatsnew/3.0.rst:826 +#: whatsnew/3.0.rst:828 msgid "" "Removed :func:`callable`. Instead of ``callable(f)`` you can use " "``isinstance(f, collections.Callable)``. The :func:`operator.isCallable` " "function is also gone." msgstr "" -#: whatsnew/3.0.rst:830 +#: whatsnew/3.0.rst:832 msgid "" "Removed :func:`coerce`. This function no longer serves a purpose now that " "classic classes are gone." msgstr "" -#: whatsnew/3.0.rst:833 +#: whatsnew/3.0.rst:835 msgid "" "Removed :func:`execfile`. Instead of ``execfile(fn)`` use ``exec(open(fn)." "read())``." msgstr "" -#: whatsnew/3.0.rst:836 +#: whatsnew/3.0.rst:838 msgid "" "Removed the :class:`file` type. Use :func:`open`. There are now several " "different kinds of streams that open can return in the :mod:`io` module." msgstr "" -#: whatsnew/3.0.rst:839 +#: whatsnew/3.0.rst:841 msgid "" "Removed :func:`reduce`. Use :func:`functools.reduce` if you really need it; " "however, 99 percent of the time an explicit :keyword:`for` loop is more " "readable." msgstr "" -#: whatsnew/3.0.rst:843 +#: whatsnew/3.0.rst:845 msgid "Removed :func:`reload`. Use :func:`!imp.reload`." msgstr "" -#: whatsnew/3.0.rst:845 +#: whatsnew/3.0.rst:847 msgid "" "Removed. :meth:`dict.has_key` -- use the :keyword:`in` operator instead." msgstr "" -#: whatsnew/3.0.rst:852 +#: whatsnew/3.0.rst:854 msgid "Build and C API Changes" msgstr "" -#: whatsnew/3.0.rst:854 +#: whatsnew/3.0.rst:856 msgid "" "Due to time constraints, here is a *very* incomplete list of changes to the " "C API." msgstr "" -#: whatsnew/3.0.rst:857 +#: whatsnew/3.0.rst:859 msgid "" "Support for several platforms was dropped, including but not limited to Mac " "OS 9, BeOS, RISCOS, Irix, and Tru64." msgstr "" -#: whatsnew/3.0.rst:860 +#: whatsnew/3.0.rst:862 msgid ":pep:`3118`: New Buffer API." msgstr "" -#: whatsnew/3.0.rst:862 +#: whatsnew/3.0.rst:864 msgid ":pep:`3121`: Extension Module Initialization & Finalization." msgstr "" -#: whatsnew/3.0.rst:864 +#: whatsnew/3.0.rst:866 msgid ":pep:`3123`: Making :c:macro:`PyObject_HEAD` conform to standard C." msgstr "" -#: whatsnew/3.0.rst:866 +#: whatsnew/3.0.rst:868 msgid "No more C API support for restricted execution." msgstr "" -#: whatsnew/3.0.rst:868 +#: whatsnew/3.0.rst:870 msgid "" ":c:func:`!PyNumber_Coerce`, :c:func:`!PyNumber_CoerceEx`, :c:func:`!" "PyMember_Get`, and :c:func:`!PyMember_Set` C APIs are removed." msgstr "" -#: whatsnew/3.0.rst:871 +#: whatsnew/3.0.rst:873 msgid "" "New C API :c:func:`PyImport_ImportModuleNoBlock`, works like :c:func:" "`PyImport_ImportModule` but won't block on the import lock (returning an " "error instead)." msgstr "" -#: whatsnew/3.0.rst:875 +#: whatsnew/3.0.rst:877 msgid "" "Renamed the boolean conversion C-level slot and method: ``nb_nonzero`` is " "now ``nb_bool``." msgstr "" -#: whatsnew/3.0.rst:878 +#: whatsnew/3.0.rst:880 msgid "" "Removed :c:macro:`!METH_OLDARGS` and :c:macro:`!WITH_CYCLE_GC` from the C " "API." msgstr "" -#: whatsnew/3.0.rst:884 +#: whatsnew/3.0.rst:886 msgid "Performance" msgstr "" -#: whatsnew/3.0.rst:886 +#: whatsnew/3.0.rst:888 msgid "" "The net result of the 3.0 generalizations is that Python 3.0 runs the " "pystone benchmark around 10% slower than Python 2.5. Most likely the " @@ -1271,27 +1273,27 @@ msgid "" "room for improvement, but it will happen after 3.0 is released!" msgstr "" -#: whatsnew/3.0.rst:896 +#: whatsnew/3.0.rst:898 msgid "Porting To Python 3.0" msgstr "" -#: whatsnew/3.0.rst:898 +#: whatsnew/3.0.rst:900 msgid "" "For porting existing Python 2.5 or 2.6 source code to Python 3.0, the best " "strategy is the following:" msgstr "" -#: whatsnew/3.0.rst:901 +#: whatsnew/3.0.rst:903 msgid "(Prerequisite:) Start with excellent test coverage." msgstr "" -#: whatsnew/3.0.rst:903 +#: whatsnew/3.0.rst:905 msgid "" "Port to Python 2.6. This should be no more work than the average port from " "Python 2.x to Python 2.(x+1). Make sure all your tests pass." msgstr "" -#: whatsnew/3.0.rst:907 +#: whatsnew/3.0.rst:909 msgid "" "(Still using 2.6:) Turn on the :option:`!-3` command line switch. This " "enables warnings about features that will be removed (or change) in 3.0. " @@ -1299,7 +1301,7 @@ msgid "" "there are no warnings left, and all your tests still pass." msgstr "" -#: whatsnew/3.0.rst:913 +#: whatsnew/3.0.rst:915 msgid "" "Run the ``2to3`` source-to-source translator over your source code tree. " "(See :ref:`2to3-reference` for more on this tool.) Run the result of the " @@ -1307,7 +1309,7 @@ msgid "" "problems until all tests pass again." msgstr "" -#: whatsnew/3.0.rst:918 +#: whatsnew/3.0.rst:920 msgid "" "It is not recommended to try to write source code that runs unchanged under " "both Python 2.6 and 3.0; you'd have to use a very contorted coding style, e." @@ -1318,7 +1320,7 @@ msgid "" "editing the 3.0 version of the source code." msgstr "" -#: whatsnew/3.0.rst:927 +#: whatsnew/3.0.rst:929 msgid "" "For porting C extensions to Python 3.0, please see :ref:`cporting-howto`." msgstr "" diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index aefa032c2..9efcac0fe 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-10-01 00:18+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -122,7 +122,7 @@ msgstr "" msgid ":pep:`597`, Add optional EncodingWarning" msgstr "" -#: whatsnew/3.10.rst:2042 +#: whatsnew/3.10.rst:2044 msgid "New Features" msgstr "" @@ -353,22 +353,22 @@ msgstr "" #: whatsnew/3.10.rst:402 msgid "" -"The ``f_lineno`` attribute of frame objects will always contain the expected " -"line number." +"The :attr:`~frame.f_lineno` attribute of frame objects will always contain " +"the expected line number." msgstr "" -#: whatsnew/3.10.rst:404 +#: whatsnew/3.10.rst:405 msgid "" -"The ``co_lnotab`` attribute of code objects is deprecated and will be " -"removed in 3.12. Code that needs to convert from offset to line number " -"should use the new ``co_lines()`` method instead." +"The :attr:`~codeobject.co_lnotab` attribute of code objects is deprecated " +"and will be removed in 3.12. Code that needs to convert from offset to line " +"number should use the new ``co_lines()`` method instead." msgstr "" -#: whatsnew/3.10.rst:408 +#: whatsnew/3.10.rst:410 msgid "PEP 634: Structural Pattern Matching" msgstr "" -#: whatsnew/3.10.rst:410 +#: whatsnew/3.10.rst:412 msgid "" "Structural pattern matching has been added in the form of a *match " "statement* and *case statements* of patterns with associated actions. " @@ -378,40 +378,40 @@ msgid "" "actions based on different forms of data." msgstr "" -#: whatsnew/3.10.rst:418 +#: whatsnew/3.10.rst:420 msgid "Syntax and operations" msgstr "" -#: whatsnew/3.10.rst:420 +#: whatsnew/3.10.rst:422 msgid "The generic syntax of pattern matching is::" msgstr "" -#: whatsnew/3.10.rst:432 +#: whatsnew/3.10.rst:434 msgid "" "A match statement takes an expression and compares its value to successive " "patterns given as one or more case blocks. Specifically, pattern matching " "operates by:" msgstr "" -#: whatsnew/3.10.rst:436 +#: whatsnew/3.10.rst:438 msgid "using data with type and shape (the ``subject``)" msgstr "" -#: whatsnew/3.10.rst:437 +#: whatsnew/3.10.rst:439 msgid "evaluating the ``subject`` in the ``match`` statement" msgstr "" -#: whatsnew/3.10.rst:438 +#: whatsnew/3.10.rst:440 msgid "" "comparing the subject with each pattern in a ``case`` statement from top to " "bottom until a match is confirmed." msgstr "" -#: whatsnew/3.10.rst:440 +#: whatsnew/3.10.rst:442 msgid "executing the action associated with the pattern of the confirmed match" msgstr "" -#: whatsnew/3.10.rst:442 +#: whatsnew/3.10.rst:444 msgid "" "If an exact match is not confirmed, the last case, a wildcard ``_``, if " "provided, will be used as the matching case. If an exact match is not " @@ -419,11 +419,11 @@ msgid "" "op." msgstr "" -#: whatsnew/3.10.rst:448 +#: whatsnew/3.10.rst:450 msgid "Declarative approach" msgstr "" -#: whatsnew/3.10.rst:450 +#: whatsnew/3.10.rst:452 msgid "" "Readers may be aware of pattern matching through the simple example of " "matching a subject (data object) to a literal (pattern) with the switch " @@ -432,7 +432,7 @@ msgid "" "case statements containing literals." msgstr "" -#: whatsnew/3.10.rst:456 +#: whatsnew/3.10.rst:458 msgid "" "More powerful examples of pattern matching can be found in languages such as " "Scala and Elixir. With structural pattern matching, the approach is " @@ -440,7 +440,7 @@ msgid "" "to match." msgstr "" -#: whatsnew/3.10.rst:460 +#: whatsnew/3.10.rst:462 msgid "" "While an \"imperative\" series of instructions using nested \"if\" " "statements could be used to accomplish something similar to structural " @@ -452,11 +452,11 @@ msgid "" "of the subject's type and shape." msgstr "" -#: whatsnew/3.10.rst:469 +#: whatsnew/3.10.rst:471 msgid "Simple pattern: match to a literal" msgstr "" -#: whatsnew/3.10.rst:471 +#: whatsnew/3.10.rst:473 msgid "" "Let's look at this example as pattern matching in its simplest form: a " "value, the subject, being matched to several literals, the patterns. In the " @@ -465,7 +465,7 @@ msgid "" "status codes. The associated action to the case is executed after a match::" msgstr "" -#: whatsnew/3.10.rst:488 +#: whatsnew/3.10.rst:490 msgid "" "If the above function is passed a ``status`` of 418, \"I'm a teapot\" is " "returned. If the above function is passed a ``status`` of 500, the case " @@ -475,40 +475,40 @@ msgid "" "``_`` is optional." msgstr "" -#: whatsnew/3.10.rst:495 +#: whatsnew/3.10.rst:497 msgid "" "You can combine several literals in a single pattern using ``|`` (\"or\")::" msgstr "" -#: whatsnew/3.10.rst:501 +#: whatsnew/3.10.rst:503 msgid "Behavior without the wildcard" msgstr "" -#: whatsnew/3.10.rst:503 +#: whatsnew/3.10.rst:505 msgid "" "If we modify the above example by removing the last case block, the example " "becomes::" msgstr "" -#: whatsnew/3.10.rst:515 +#: whatsnew/3.10.rst:517 msgid "" "Without the use of ``_`` in a case statement, a match may not exist. If no " "match exists, the behavior is a no-op. For example, if ``status`` of 500 is " "passed, a no-op occurs." msgstr "" -#: whatsnew/3.10.rst:520 +#: whatsnew/3.10.rst:522 msgid "Patterns with a literal and variable" msgstr "" -#: whatsnew/3.10.rst:522 +#: whatsnew/3.10.rst:524 msgid "" "Patterns can look like unpacking assignments, and a pattern may be used to " "bind variables. In this example, a data point can be unpacked to its x-" "coordinate and y-coordinate::" msgstr "" -#: whatsnew/3.10.rst:539 +#: whatsnew/3.10.rst:541 msgid "" "The first pattern has two literals, ``(0, 0)``, and may be thought of as an " "extension of the literal pattern shown above. The next two patterns combine " @@ -517,22 +517,22 @@ msgid "" "conceptually similar to the unpacking assignment ``(x, y) = point``." msgstr "" -#: whatsnew/3.10.rst:546 +#: whatsnew/3.10.rst:548 msgid "Patterns and classes" msgstr "" -#: whatsnew/3.10.rst:548 +#: whatsnew/3.10.rst:550 msgid "" "If you are using classes to structure your data, you can use as a pattern " "the class name followed by an argument list resembling a constructor. This " "pattern has the ability to capture class attributes into variables::" msgstr "" -#: whatsnew/3.10.rst:570 +#: whatsnew/3.10.rst:572 msgid "Patterns with positional parameters" msgstr "" -#: whatsnew/3.10.rst:572 +#: whatsnew/3.10.rst:574 msgid "" "You can use positional parameters with some builtin classes that provide an " "ordering for their attributes (e.g. dataclasses). You can also define a " @@ -542,53 +542,53 @@ msgid "" "attribute to the ``var`` variable)::" msgstr "" -#: whatsnew/3.10.rst:584 +#: whatsnew/3.10.rst:586 msgid "Nested patterns" msgstr "" -#: whatsnew/3.10.rst:586 +#: whatsnew/3.10.rst:588 msgid "" "Patterns can be arbitrarily nested. For example, if our data is a short " "list of points, it could be matched like this::" msgstr "" -#: whatsnew/3.10.rst:602 +#: whatsnew/3.10.rst:604 msgid "Complex patterns and the wildcard" msgstr "" -#: whatsnew/3.10.rst:604 +#: whatsnew/3.10.rst:606 msgid "" "To this point, the examples have used ``_`` alone in the last case " "statement. A wildcard can be used in more complex patterns, such as " "``('error', code, _)``. For example::" msgstr "" -#: whatsnew/3.10.rst:614 +#: whatsnew/3.10.rst:616 msgid "" "In the above case, ``test_variable`` will match for ('error', code, 100) and " "('error', code, 800)." msgstr "" -#: whatsnew/3.10.rst:618 +#: whatsnew/3.10.rst:620 msgid "Guard" msgstr "" -#: whatsnew/3.10.rst:620 +#: whatsnew/3.10.rst:622 msgid "" "We can add an ``if`` clause to a pattern, known as a \"guard\". If the " "guard is false, ``match`` goes on to try the next case block. Note that " "value capture happens before the guard is evaluated::" msgstr "" -#: whatsnew/3.10.rst:631 +#: whatsnew/3.10.rst:633 msgid "Other Key Features" msgstr "" -#: whatsnew/3.10.rst:633 +#: whatsnew/3.10.rst:635 msgid "Several other key features:" msgstr "" -#: whatsnew/3.10.rst:635 +#: whatsnew/3.10.rst:637 msgid "" "Like unpacking assignments, tuple and list patterns have exactly the same " "meaning and actually match arbitrary sequences. Technically, the subject " @@ -597,7 +597,7 @@ msgid "" "match strings." msgstr "" -#: whatsnew/3.10.rst:641 +#: whatsnew/3.10.rst:643 msgid "" "Sequence patterns support wildcards: ``[x, y, *rest]`` and ``(x, y, *rest)`` " "work similar to wildcards in unpacking assignments. The name after ``*`` " @@ -605,7 +605,7 @@ msgid "" "items without binding the remaining items." msgstr "" -#: whatsnew/3.10.rst:646 +#: whatsnew/3.10.rst:648 msgid "" "Mapping patterns: ``{\"bandwidth\": b, \"latency\": l}`` captures the " "``\"bandwidth\"`` and ``\"latency\"`` values from a dict. Unlike sequence " @@ -613,40 +613,40 @@ msgid "" "(But ``**_`` would be redundant, so is not allowed.)" msgstr "" -#: whatsnew/3.10.rst:651 +#: whatsnew/3.10.rst:653 msgid "Subpatterns may be captured using the ``as`` keyword::" msgstr "" -#: whatsnew/3.10.rst:655 +#: whatsnew/3.10.rst:657 msgid "" "This binds x1, y1, x2, y2 like you would expect without the ``as`` clause, " "and p2 to the entire second item of the subject." msgstr "" -#: whatsnew/3.10.rst:658 +#: whatsnew/3.10.rst:660 msgid "" "Most literals are compared by equality. However, the singletons ``True``, " "``False`` and ``None`` are compared by identity." msgstr "" -#: whatsnew/3.10.rst:661 +#: whatsnew/3.10.rst:663 msgid "" "Named constants may be used in patterns. These named constants must be " "dotted names to prevent the constant from being interpreted as a capture " "variable::" msgstr "" -#: whatsnew/3.10.rst:680 +#: whatsnew/3.10.rst:682 msgid "" "For the full specification see :pep:`634`. Motivation and rationale are in :" "pep:`635`, and a longer tutorial is in :pep:`636`." msgstr "" -#: whatsnew/3.10.rst:687 +#: whatsnew/3.10.rst:689 msgid "Optional ``EncodingWarning`` and ``encoding=\"locale\"`` option" msgstr "" -#: whatsnew/3.10.rst:689 +#: whatsnew/3.10.rst:691 msgid "" "The default encoding of :class:`TextIOWrapper` and :func:`open` is platform " "and locale dependent. Since UTF-8 is used on most Unix platforms, omitting " @@ -654,81 +654,81 @@ msgid "" "Markdown) is a very common bug. For example::" msgstr "" -#: whatsnew/3.10.rst:698 +#: whatsnew/3.10.rst:700 msgid "" "To find this type of bug, an optional ``EncodingWarning`` is added. It is " "emitted when :data:`sys.flags.warn_default_encoding ` is true and " "locale-specific default encoding is used." msgstr "" -#: whatsnew/3.10.rst:702 +#: whatsnew/3.10.rst:704 msgid "" "``-X warn_default_encoding`` option and :envvar:`PYTHONWARNDEFAULTENCODING` " "are added to enable the warning." msgstr "" -#: whatsnew/3.10.rst:705 +#: whatsnew/3.10.rst:707 msgid "See :ref:`io-text-encoding` for more information." msgstr "" -#: whatsnew/3.10.rst:710 +#: whatsnew/3.10.rst:712 msgid "New Features Related to Type Hints" msgstr "" -#: whatsnew/3.10.rst:712 +#: whatsnew/3.10.rst:714 msgid "" "This section covers major changes affecting :pep:`484` type hints and the :" "mod:`typing` module." msgstr "" -#: whatsnew/3.10.rst:717 +#: whatsnew/3.10.rst:719 msgid "PEP 604: New Type Union Operator" msgstr "" -#: whatsnew/3.10.rst:719 +#: whatsnew/3.10.rst:721 msgid "" "A new type union operator was introduced which enables the syntax ``X | Y``. " "This provides a cleaner way of expressing 'either type X or type Y' instead " "of using :data:`typing.Union`, especially in type hints." msgstr "" -#: whatsnew/3.10.rst:723 +#: whatsnew/3.10.rst:725 msgid "" "In previous versions of Python, to apply a type hint for functions accepting " "arguments of multiple types, :data:`typing.Union` was used::" msgstr "" -#: whatsnew/3.10.rst:730 +#: whatsnew/3.10.rst:732 msgid "Type hints can now be written in a more succinct manner::" msgstr "" -#: whatsnew/3.10.rst:736 +#: whatsnew/3.10.rst:738 msgid "" "This new syntax is also accepted as the second argument to :func:" "`isinstance` and :func:`issubclass`::" msgstr "" -#: whatsnew/3.10.rst:742 +#: whatsnew/3.10.rst:744 msgid "See :ref:`types-union` and :pep:`604` for more details." msgstr "" -#: whatsnew/3.10.rst:744 +#: whatsnew/3.10.rst:746 msgid "" "(Contributed by Maggie Moss and Philippe Prados in :issue:`41428`, with " "additions by Yurii Karabas and Serhiy Storchaka in :issue:`44490`.)" msgstr "" -#: whatsnew/3.10.rst:749 +#: whatsnew/3.10.rst:751 msgid "PEP 612: Parameter Specification Variables" msgstr "" -#: whatsnew/3.10.rst:751 +#: whatsnew/3.10.rst:753 msgid "" "Two new options to improve the information provided to static type checkers " "for :pep:`484`\\ 's ``Callable`` have been added to the :mod:`typing` module." msgstr "" -#: whatsnew/3.10.rst:754 +#: whatsnew/3.10.rst:756 msgid "" "The first is the parameter specification variable. They are used to forward " "the parameter types of one callable to another callable -- a pattern " @@ -737,7 +737,7 @@ msgid "" "to type annotate dependency of parameter types in such a precise manner." msgstr "" -#: whatsnew/3.10.rst:760 +#: whatsnew/3.10.rst:762 msgid "" "The second option is the new ``Concatenate`` operator. It's used in " "conjunction with parameter specification variables to type annotate a higher " @@ -745,24 +745,24 @@ msgid "" "Examples of usage can be found in :class:`typing.Concatenate`." msgstr "" -#: whatsnew/3.10.rst:765 +#: whatsnew/3.10.rst:767 msgid "" "See :class:`typing.Callable`, :class:`typing.ParamSpec`, :class:`typing." "Concatenate`, :class:`typing.ParamSpecArgs`, :class:`typing." "ParamSpecKwargs`, and :pep:`612` for more details." msgstr "" -#: whatsnew/3.10.rst:769 +#: whatsnew/3.10.rst:771 msgid "" "(Contributed by Ken Jin in :issue:`41559`, with minor enhancements by Jelle " "Zijlstra in :issue:`43783`. PEP written by Mark Mendoza.)" msgstr "" -#: whatsnew/3.10.rst:774 +#: whatsnew/3.10.rst:776 msgid "PEP 613: TypeAlias" msgstr "" -#: whatsnew/3.10.rst:776 +#: whatsnew/3.10.rst:778 msgid "" ":pep:`484` introduced the concept of type aliases, only requiring them to be " "top-level unannotated assignments. This simplicity sometimes made it " @@ -771,25 +771,25 @@ msgid "" "involved. Compare::" msgstr "" -#: whatsnew/3.10.rst:784 +#: whatsnew/3.10.rst:786 msgid "" "Now the :mod:`typing` module has a special value :data:`TypeAlias` which " "lets you declare type aliases more explicitly::" msgstr "" -#: whatsnew/3.10.rst:790 +#: whatsnew/3.10.rst:792 msgid "See :pep:`613` for more details." msgstr "" -#: whatsnew/3.10.rst:792 +#: whatsnew/3.10.rst:794 msgid "(Contributed by Mikhail Golubev in :issue:`41923`.)" msgstr "" -#: whatsnew/3.10.rst:795 +#: whatsnew/3.10.rst:797 msgid "PEP 647: User-Defined Type Guards" msgstr "" -#: whatsnew/3.10.rst:797 +#: whatsnew/3.10.rst:799 msgid "" ":data:`TypeGuard` has been added to the :mod:`typing` module to annotate " "type guard functions and improve information provided to static type " @@ -797,24 +797,24 @@ msgid "" "`TypeGuard`\\ 's documentation, and :pep:`647`." msgstr "" -#: whatsnew/3.10.rst:802 +#: whatsnew/3.10.rst:804 msgid "" "(Contributed by Ken Jin and Guido van Rossum in :issue:`43766`. PEP written " "by Eric Traut.)" msgstr "" -#: whatsnew/3.10.rst:806 +#: whatsnew/3.10.rst:808 msgid "Other Language Changes" msgstr "" -#: whatsnew/3.10.rst:808 +#: whatsnew/3.10.rst:810 msgid "" "The :class:`int` type has a new method :meth:`int.bit_count`, returning the " "number of ones in the binary expansion of a given integer, also known as the " "population count. (Contributed by Niklas Fiekas in :issue:`29882`.)" msgstr "" -#: whatsnew/3.10.rst:812 +#: whatsnew/3.10.rst:814 msgid "" "The views returned by :meth:`dict.keys`, :meth:`dict.values` and :meth:`dict." "items` now all have a ``mapping`` attribute that gives a :class:`types." @@ -822,13 +822,13 @@ msgid "" "Dennis Sweeney in :issue:`40890`.)" msgstr "" -#: whatsnew/3.10.rst:817 +#: whatsnew/3.10.rst:819 msgid "" ":pep:`618`: The :func:`zip` function now has an optional ``strict`` flag, " "used to require that all the iterables have an equal length." msgstr "" -#: whatsnew/3.10.rst:820 +#: whatsnew/3.10.rst:822 msgid "" "Builtin and extension functions that take integer arguments no longer " "accept :class:`~decimal.Decimal`\\ s, :class:`~fractions.Fraction`\\ s and " @@ -837,20 +837,20 @@ msgid "" "__index__` method). (Contributed by Serhiy Storchaka in :issue:`37999`.)" msgstr "" -#: whatsnew/3.10.rst:827 +#: whatsnew/3.10.rst:829 msgid "" "If :func:`object.__ipow__` returns :const:`NotImplemented`, the operator " "will correctly fall back to :func:`object.__pow__` and :func:`object." "__rpow__` as expected. (Contributed by Alex Shkop in :issue:`38302`.)" msgstr "" -#: whatsnew/3.10.rst:831 +#: whatsnew/3.10.rst:833 msgid "" "Assignment expressions can now be used unparenthesized within set literals " "and set comprehensions, as well as in sequence indexes (but not slices)." msgstr "" -#: whatsnew/3.10.rst:834 +#: whatsnew/3.10.rst:836 msgid "" "Functions have a new ``__builtins__`` attribute which is used to look for " "builtin symbols when a function is executed, instead of looking into " @@ -859,7 +859,7 @@ msgid "" "builtins. (Contributed by Mark Shannon in :issue:`42990`.)" msgstr "" -#: whatsnew/3.10.rst:840 +#: whatsnew/3.10.rst:842 msgid "" "Two new builtin functions -- :func:`aiter` and :func:`anext` have been added " "to provide asynchronous counterparts to :func:`iter` and :func:`next`, " @@ -867,7 +867,7 @@ msgid "" "in :issue:`31861`.)" msgstr "" -#: whatsnew/3.10.rst:845 +#: whatsnew/3.10.rst:847 msgid "" "Static methods (:func:`@staticmethod `) and class methods (:" "func:`@classmethod `) now inherit the method attributes " @@ -877,7 +877,7 @@ msgid "" "Stinner in :issue:`43682`.)" msgstr "" -#: whatsnew/3.10.rst:852 +#: whatsnew/3.10.rst:854 msgid "" "Annotations for complex targets (everything beside ``simple name`` targets " "defined by :pep:`526`) no longer cause any runtime effects with ``from " @@ -885,7 +885,7 @@ msgid "" "`42737`.)" msgstr "" -#: whatsnew/3.10.rst:856 +#: whatsnew/3.10.rst:858 msgid "" "Class and module objects now lazy-create empty annotations dicts on demand. " "The annotations dicts are stored in the object’s ``__dict__`` for backwards " @@ -894,7 +894,7 @@ msgid "" "howto`. (Contributed by Larry Hastings in :issue:`43901`.)" msgstr "" -#: whatsnew/3.10.rst:863 +#: whatsnew/3.10.rst:865 msgid "" "Annotations consist of ``yield``, ``yield from``, ``await`` or named " "expressions are now forbidden under ``from __future__ import annotations`` " @@ -902,7 +902,7 @@ msgid "" "`42725`.)" msgstr "" -#: whatsnew/3.10.rst:868 +#: whatsnew/3.10.rst:870 msgid "" "Usage of unbound variables, ``super()`` and other expressions that might " "alter the processing of symbol table as annotations are now rendered " @@ -910,7 +910,7 @@ msgid "" "Batuhan Taskaya in :issue:`42725`.)" msgstr "" -#: whatsnew/3.10.rst:873 +#: whatsnew/3.10.rst:875 msgid "" "Hashes of NaN values of both :class:`float` type and :class:`decimal." "Decimal` type now depend on object identity. Formerly, they always hashed to " @@ -920,121 +920,121 @@ msgid "" "Raymond Hettinger in :issue:`43475`.)" msgstr "" -#: whatsnew/3.10.rst:880 +#: whatsnew/3.10.rst:882 msgid "" "A :exc:`SyntaxError` (instead of a :exc:`NameError`) will be raised when " "deleting the :const:`__debug__` constant. (Contributed by Donghee Na in :" "issue:`45000`.)" msgstr "" -#: whatsnew/3.10.rst:883 +#: whatsnew/3.10.rst:885 msgid "" ":exc:`SyntaxError` exceptions now have ``end_lineno`` and ``end_offset`` " "attributes. They will be ``None`` if not determined. (Contributed by Pablo " "Galindo in :issue:`43914`.)" msgstr "" -#: whatsnew/3.10.rst:888 +#: whatsnew/3.10.rst:890 msgid "New Modules" msgstr "" -#: whatsnew/3.10.rst:890 +#: whatsnew/3.10.rst:892 msgid "None." msgstr "" -#: whatsnew/3.10.rst:894 +#: whatsnew/3.10.rst:896 msgid "Improved Modules" msgstr "" -#: whatsnew/3.10.rst:897 +#: whatsnew/3.10.rst:899 msgid "asyncio" msgstr "" -#: whatsnew/3.10.rst:899 +#: whatsnew/3.10.rst:901 msgid "" "Add missing :meth:`~asyncio.events.AbstractEventLoop." "connect_accepted_socket` method. (Contributed by Alex Grönholm in :issue:" "`41332`.)" msgstr "" -#: whatsnew/3.10.rst:904 +#: whatsnew/3.10.rst:906 msgid "argparse" msgstr "" -#: whatsnew/3.10.rst:906 +#: whatsnew/3.10.rst:908 msgid "" "Misleading phrase \"optional arguments\" was replaced with \"options\" in " "argparse help. Some tests might require adaptation if they rely on exact " "output match. (Contributed by Raymond Hettinger in :issue:`9694`.)" msgstr "" -#: whatsnew/3.10.rst:910 +#: whatsnew/3.10.rst:912 msgid "array" msgstr "" -#: whatsnew/3.10.rst:912 +#: whatsnew/3.10.rst:914 msgid "" "The :meth:`~array.array.index` method of :class:`array.array` now has " "optional *start* and *stop* parameters. (Contributed by Anders Lorentsen and " "Zackery Spytz in :issue:`31956`.)" msgstr "" -#: whatsnew/3.10.rst:917 +#: whatsnew/3.10.rst:919 msgid "asynchat, asyncore, smtpd" msgstr "" -#: whatsnew/3.10.rst:918 +#: whatsnew/3.10.rst:920 msgid "" "These modules have been marked as deprecated in their module documentation " "since Python 3.6. An import-time :class:`DeprecationWarning` has now been " "added to all three of these modules." msgstr "" -#: whatsnew/3.10.rst:923 +#: whatsnew/3.10.rst:925 msgid "base64" msgstr "" -#: whatsnew/3.10.rst:925 +#: whatsnew/3.10.rst:927 msgid "" "Add :func:`base64.b32hexencode` and :func:`base64.b32hexdecode` to support " "the Base32 Encoding with Extended Hex Alphabet." msgstr "" -#: whatsnew/3.10.rst:929 +#: whatsnew/3.10.rst:931 msgid "bdb" msgstr "" -#: whatsnew/3.10.rst:931 +#: whatsnew/3.10.rst:933 msgid "" "Add :meth:`~bdb.Breakpoint.clearBreakpoints` to reset all set breakpoints. " "(Contributed by Irit Katriel in :issue:`24160`.)" msgstr "" -#: whatsnew/3.10.rst:935 +#: whatsnew/3.10.rst:937 msgid "bisect" msgstr "" -#: whatsnew/3.10.rst:937 +#: whatsnew/3.10.rst:939 msgid "" "Added the possibility of providing a *key* function to the APIs in the :mod:" "`bisect` module. (Contributed by Raymond Hettinger in :issue:`4356`.)" msgstr "" -#: whatsnew/3.10.rst:941 +#: whatsnew/3.10.rst:943 msgid "codecs" msgstr "" -#: whatsnew/3.10.rst:943 +#: whatsnew/3.10.rst:945 msgid "" "Add a :func:`codecs.unregister` function to unregister a codec search " "function. (Contributed by Hai Shi in :issue:`41842`.)" msgstr "" -#: whatsnew/3.10.rst:947 +#: whatsnew/3.10.rst:949 msgid "collections.abc" msgstr "" -#: whatsnew/3.10.rst:949 +#: whatsnew/3.10.rst:951 msgid "" "The ``__args__`` of the :ref:`parameterized generic ` " "for :class:`collections.abc.Callable` are now consistent with :data:`typing." @@ -1050,34 +1050,34 @@ msgid "" "`42195`.)" msgstr "" -#: whatsnew/3.10.rst:962 +#: whatsnew/3.10.rst:964 msgid "contextlib" msgstr "" -#: whatsnew/3.10.rst:964 +#: whatsnew/3.10.rst:966 msgid "" "Add a :func:`contextlib.aclosing` context manager to safely close async " "generators and objects representing asynchronously released resources. " "(Contributed by Joongi Kim and John Belmonte in :issue:`41229`.)" msgstr "" -#: whatsnew/3.10.rst:968 +#: whatsnew/3.10.rst:970 msgid "" "Add asynchronous context manager support to :func:`contextlib.nullcontext`. " "(Contributed by Tom Gringauz in :issue:`41543`.)" msgstr "" -#: whatsnew/3.10.rst:971 +#: whatsnew/3.10.rst:973 msgid "" "Add :class:`AsyncContextDecorator`, for supporting usage of async context " "managers as decorators." msgstr "" -#: whatsnew/3.10.rst:975 +#: whatsnew/3.10.rst:977 msgid "curses" msgstr "" -#: whatsnew/3.10.rst:977 +#: whatsnew/3.10.rst:979 msgid "" "The extended color functions added in ncurses 6.1 will be used transparently " "by :func:`curses.color_content`, :func:`curses.init_color`, :func:`curses." @@ -1087,53 +1087,53 @@ msgid "" "Kintscher and Hans Petter Jansson in :issue:`36982`.)" msgstr "" -#: whatsnew/3.10.rst:984 +#: whatsnew/3.10.rst:986 msgid "" "The ``BUTTON5_*`` constants are now exposed in the :mod:`curses` module if " "they are provided by the underlying curses library. (Contributed by Zackery " "Spytz in :issue:`39273`.)" msgstr "" -#: whatsnew/3.10.rst:989 +#: whatsnew/3.10.rst:991 msgid "dataclasses" msgstr "" -#: whatsnew/3.10.rst:992 +#: whatsnew/3.10.rst:994 msgid "__slots__" msgstr "" -#: whatsnew/3.10.rst:994 +#: whatsnew/3.10.rst:996 msgid "" "Added ``slots`` parameter in :func:`dataclasses.dataclass` decorator. " "(Contributed by Yurii Karabas in :issue:`42269`)" msgstr "" -#: whatsnew/3.10.rst:998 +#: whatsnew/3.10.rst:1000 msgid "Keyword-only fields" msgstr "" -#: whatsnew/3.10.rst:1000 +#: whatsnew/3.10.rst:1002 msgid "" "dataclasses now supports fields that are keyword-only in the generated " "__init__ method. There are a number of ways of specifying keyword-only " "fields." msgstr "" -#: whatsnew/3.10.rst:1004 +#: whatsnew/3.10.rst:1006 msgid "You can say that every field is keyword-only:" msgstr "" -#: whatsnew/3.10.rst:1015 +#: whatsnew/3.10.rst:1017 msgid "" "Both ``name`` and ``birthday`` are keyword-only parameters to the generated " "__init__ method." msgstr "" -#: whatsnew/3.10.rst:1018 +#: whatsnew/3.10.rst:1020 msgid "You can specify keyword-only on a per-field basis:" msgstr "" -#: whatsnew/3.10.rst:1029 +#: whatsnew/3.10.rst:1031 msgid "" "Here only ``birthday`` is keyword-only. If you set ``kw_only`` on " "individual fields, be aware that there are rules about re-ordering fields " @@ -1141,23 +1141,23 @@ msgid "" "the full dataclasses documentation for details." msgstr "" -#: whatsnew/3.10.rst:1034 +#: whatsnew/3.10.rst:1036 msgid "" "You can also specify that all fields following a KW_ONLY marker are keyword-" "only. This will probably be the most common usage:" msgstr "" -#: whatsnew/3.10.rst:1049 +#: whatsnew/3.10.rst:1051 msgid "" "Here, ``z`` and ``t`` are keyword-only parameters, while ``x`` and ``y`` are " "not. (Contributed by Eric V. Smith in :issue:`43532`.)" msgstr "" -#: whatsnew/3.10.rst:1056 +#: whatsnew/3.10.rst:1058 msgid "distutils" msgstr "" -#: whatsnew/3.10.rst:1058 +#: whatsnew/3.10.rst:1060 msgid "" "The entire ``distutils`` package is deprecated, to be removed in Python " "3.12. Its functionality for specifying package builds has already been " @@ -1170,38 +1170,38 @@ msgid "" "`632` for discussion." msgstr "" -#: whatsnew/3.10.rst:1068 +#: whatsnew/3.10.rst:1070 msgid "" "The ``bdist_wininst`` command deprecated in Python 3.8 has been removed. The " "``bdist_wheel`` command is now recommended to distribute binary packages on " "Windows. (Contributed by Victor Stinner in :issue:`42802`.)" msgstr "" -#: whatsnew/3.10.rst:1074 +#: whatsnew/3.10.rst:1076 msgid "doctest" msgstr "" -#: whatsnew/3.10.rst:1211 whatsnew/3.10.rst:1337 +#: whatsnew/3.10.rst:1213 whatsnew/3.10.rst:1339 msgid "" "When a module does not define ``__loader__``, fall back to ``__spec__." "loader``. (Contributed by Brett Cannon in :issue:`42133`.)" msgstr "" -#: whatsnew/3.10.rst:1080 +#: whatsnew/3.10.rst:1082 msgid "encodings" msgstr "" -#: whatsnew/3.10.rst:1082 +#: whatsnew/3.10.rst:1084 msgid "" ":func:`encodings.normalize_encoding` now ignores non-ASCII characters. " "(Contributed by Hai Shi in :issue:`39337`.)" msgstr "" -#: whatsnew/3.10.rst:1086 +#: whatsnew/3.10.rst:1088 msgid "enum" msgstr "" -#: whatsnew/3.10.rst:1088 +#: whatsnew/3.10.rst:1090 msgid "" ":class:`Enum` :func:`__repr__` now returns ``enum_name.member_name`` and :" "func:`__str__` now returns ``member_name``. Stdlib enums available as " @@ -1209,106 +1209,106 @@ msgid "" "(Contributed by Ethan Furman in :issue:`40066`.)" msgstr "" -#: whatsnew/3.10.rst:1093 +#: whatsnew/3.10.rst:1095 msgid "" "Add :class:`enum.StrEnum` for enums where all members are strings. " "(Contributed by Ethan Furman in :issue:`41816`.)" msgstr "" -#: whatsnew/3.10.rst:1097 +#: whatsnew/3.10.rst:1099 msgid "fileinput" msgstr "" -#: whatsnew/3.10.rst:1099 +#: whatsnew/3.10.rst:1101 msgid "" "Add *encoding* and *errors* parameters in :func:`fileinput.input` and :class:" "`fileinput.FileInput`. (Contributed by Inada Naoki in :issue:`43712`.)" msgstr "" -#: whatsnew/3.10.rst:1103 +#: whatsnew/3.10.rst:1105 msgid "" ":func:`fileinput.hook_compressed` now returns :class:`TextIOWrapper` object " "when *mode* is \"r\" and file is compressed, like uncompressed files. " "(Contributed by Inada Naoki in :issue:`5758`.)" msgstr "" -#: whatsnew/3.10.rst:1108 +#: whatsnew/3.10.rst:1110 msgid "faulthandler" msgstr "" -#: whatsnew/3.10.rst:1110 +#: whatsnew/3.10.rst:1112 msgid "" "The :mod:`faulthandler` module now detects if a fatal error occurs during a " "garbage collector collection. (Contributed by Victor Stinner in :issue:" "`44466`.)" msgstr "" -#: whatsnew/3.10.rst:1115 +#: whatsnew/3.10.rst:1117 msgid "gc" msgstr "" -#: whatsnew/3.10.rst:1117 +#: whatsnew/3.10.rst:1119 msgid "" "Add audit hooks for :func:`gc.get_objects`, :func:`gc.get_referrers` and :" "func:`gc.get_referents`. (Contributed by Pablo Galindo in :issue:`43439`.)" msgstr "" -#: whatsnew/3.10.rst:1121 +#: whatsnew/3.10.rst:1123 msgid "glob" msgstr "" -#: whatsnew/3.10.rst:1123 +#: whatsnew/3.10.rst:1125 msgid "" "Add the *root_dir* and *dir_fd* parameters in :func:`~glob.glob` and :func:" "`~glob.iglob` which allow to specify the root directory for searching. " "(Contributed by Serhiy Storchaka in :issue:`38144`.)" msgstr "" -#: whatsnew/3.10.rst:1128 +#: whatsnew/3.10.rst:1130 msgid "hashlib" msgstr "" -#: whatsnew/3.10.rst:1130 +#: whatsnew/3.10.rst:1132 msgid "" "The hashlib module requires OpenSSL 1.1.1 or newer. (Contributed by " "Christian Heimes in :pep:`644` and :issue:`43669`.)" msgstr "" -#: whatsnew/3.10.rst:1133 +#: whatsnew/3.10.rst:1135 msgid "" "The hashlib module has preliminary support for OpenSSL 3.0.0. (Contributed " "by Christian Heimes in :issue:`38820` and other issues.)" msgstr "" -#: whatsnew/3.10.rst:1136 +#: whatsnew/3.10.rst:1138 msgid "" "The pure-Python fallback of :func:`~hashlib.pbkdf2_hmac` is deprecated. In " "the future PBKDF2-HMAC will only be available when Python has been built " "with OpenSSL support. (Contributed by Christian Heimes in :issue:`43880`.)" msgstr "" -#: whatsnew/3.10.rst:1142 +#: whatsnew/3.10.rst:1144 msgid "hmac" msgstr "" -#: whatsnew/3.10.rst:1144 +#: whatsnew/3.10.rst:1146 msgid "" "The hmac module now uses OpenSSL's HMAC implementation internally. " "(Contributed by Christian Heimes in :issue:`40645`.)" msgstr "" -#: whatsnew/3.10.rst:1148 +#: whatsnew/3.10.rst:1150 msgid "IDLE and idlelib" msgstr "" -#: whatsnew/3.10.rst:1150 +#: whatsnew/3.10.rst:1152 msgid "" "Make IDLE invoke :func:`sys.excepthook` (when started without '-n'). User " "hooks were previously ignored. (Contributed by Ken Hilton in :issue:" "`43008`.)" msgstr "" -#: whatsnew/3.10.rst:1154 +#: whatsnew/3.10.rst:1156 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 " @@ -1319,11 +1319,11 @@ msgid "" "`33962`.)" msgstr "" -#: whatsnew/3.10.rst:1162 +#: whatsnew/3.10.rst:1164 msgid "The changes above were backported to a 3.9 maintenance release." msgstr "" -#: whatsnew/3.10.rst:1164 +#: whatsnew/3.10.rst:1166 msgid "" "Add a Shell sidebar. Move the primary prompt ('>>>') to the sidebar. Add " "secondary prompts ('...') to the sidebar. Left click and optional drag " @@ -1334,7 +1334,7 @@ msgid "" "text. (Contributed by Tal Einat in :issue:`37903`.)" msgstr "" -#: whatsnew/3.10.rst:1173 +#: whatsnew/3.10.rst:1175 msgid "" "Use spaces instead of tabs to indent interactive code. This makes " "interactive code entries 'look right'. Making this feasible was a major " @@ -1342,7 +1342,7 @@ msgid "" "in :issue:`37892`.)" msgstr "" -#: whatsnew/3.10.rst:1178 +#: whatsnew/3.10.rst:1180 msgid "" "Highlight the new :ref:`soft keywords ` :keyword:`match`, :" "keyword:`case `, and :keyword:`_ ` in pattern-" @@ -1351,33 +1351,33 @@ msgid "" "(Contributed by Tal Einat in :issue:`44010`.)" msgstr "" -#: whatsnew/3.10.rst:1184 +#: whatsnew/3.10.rst:1186 msgid "New in 3.10 maintenance releases." msgstr "" -#: whatsnew/3.10.rst:1186 +#: whatsnew/3.10.rst:1188 msgid "" "Apply syntax highlighting to ``.pyi`` files. (Contributed by Alex Waygood " "and Terry Jan Reedy in :issue:`45447`.)" msgstr "" -#: whatsnew/3.10.rst:1189 +#: whatsnew/3.10.rst:1191 msgid "" "Include prompts when saving Shell with inputs and outputs. (Contributed by " "Terry Jan Reedy in :gh:`95191`.)" msgstr "" -#: whatsnew/3.10.rst:1193 +#: whatsnew/3.10.rst:1195 msgid "importlib.metadata" msgstr "" -#: whatsnew/3.10.rst:1195 +#: whatsnew/3.10.rst:1197 msgid "" "Feature parity with ``importlib_metadata`` 4.6 (`history `_)." msgstr "" -#: whatsnew/3.10.rst:1198 +#: whatsnew/3.10.rst:1200 msgid "" ":ref:`importlib.metadata entry points ` now provide a nicer " "experience for selecting entry points by group and name through a new :class:" @@ -1385,18 +1385,18 @@ msgid "" "docs for more info on the deprecation and usage." msgstr "" -#: whatsnew/3.10.rst:1204 +#: whatsnew/3.10.rst:1206 msgid "" "Added :func:`importlib.metadata.packages_distributions` for resolving top-" "level Python modules and packages to their :class:`importlib.metadata." "Distribution`." msgstr "" -#: whatsnew/3.10.rst:1209 +#: whatsnew/3.10.rst:1211 msgid "inspect" msgstr "" -#: whatsnew/3.10.rst:1214 +#: whatsnew/3.10.rst:1216 msgid "" "Add :func:`inspect.get_annotations`, which safely computes the annotations " "defined on an object. It works around the quirks of accessing the " @@ -1414,38 +1414,38 @@ msgid "" "`43817`.)" msgstr "" -#: whatsnew/3.10.rst:1230 +#: whatsnew/3.10.rst:1232 msgid "itertools" msgstr "" -#: whatsnew/3.10.rst:1232 +#: whatsnew/3.10.rst:1234 msgid "" "Add :func:`itertools.pairwise()`. (Contributed by Raymond Hettinger in :" "issue:`38200`.)" msgstr "" -#: whatsnew/3.10.rst:1236 +#: whatsnew/3.10.rst:1238 msgid "linecache" msgstr "" -#: whatsnew/3.10.rst:1242 +#: whatsnew/3.10.rst:1244 msgid "os" msgstr "" -#: whatsnew/3.10.rst:1244 +#: whatsnew/3.10.rst:1246 msgid "" "Add :func:`os.cpu_count()` support for VxWorks RTOS. (Contributed by Peixing " "Xin in :issue:`41440`.)" msgstr "" -#: whatsnew/3.10.rst:1247 +#: whatsnew/3.10.rst:1249 msgid "" "Add a new function :func:`os.eventfd` and related helpers to wrap the " "``eventfd2`` syscall on Linux. (Contributed by Christian Heimes in :issue:" "`41001`.)" msgstr "" -#: whatsnew/3.10.rst:1251 +#: whatsnew/3.10.rst:1253 msgid "" "Add :func:`os.splice()` that allows to move data between two file " "descriptors without copying between kernel address space and user address " @@ -1453,41 +1453,41 @@ msgid "" "by Pablo Galindo in :issue:`41625`.)" msgstr "" -#: whatsnew/3.10.rst:1256 +#: whatsnew/3.10.rst:1258 msgid "" "Add :const:`~os.O_EVTONLY`, :const:`~os.O_FSYNC`, :const:`~os.O_SYMLINK` " "and :const:`~os.O_NOFOLLOW_ANY` for macOS. (Contributed by Donghee Na in :" "issue:`43106`.)" msgstr "" -#: whatsnew/3.10.rst:1261 +#: whatsnew/3.10.rst:1263 msgid "os.path" msgstr "" -#: whatsnew/3.10.rst:1263 +#: whatsnew/3.10.rst:1265 msgid "" ":func:`os.path.realpath` now accepts a *strict* keyword-only argument. When " "set to ``True``, :exc:`OSError` is raised if a path doesn't exist or a " "symlink loop is encountered. (Contributed by Barney Gale in :issue:`43757`.)" msgstr "" -#: whatsnew/3.10.rst:1269 +#: whatsnew/3.10.rst:1271 msgid "pathlib" msgstr "" -#: whatsnew/3.10.rst:1271 +#: whatsnew/3.10.rst:1273 msgid "" "Add slice support to :attr:`PurePath.parents `. " "(Contributed by Joshua Cannon in :issue:`35498`.)" msgstr "" -#: whatsnew/3.10.rst:1274 +#: whatsnew/3.10.rst:1276 msgid "" "Add negative indexing support to :attr:`PurePath.parents `. (Contributed by Yaroslav Pankovych in :issue:`21041`.)" msgstr "" -#: whatsnew/3.10.rst:1278 +#: whatsnew/3.10.rst:1280 msgid "" "Add :meth:`Path.hardlink_to ` method that " "supersedes :meth:`~pathlib.Path.link_to`. The new method has the same " @@ -1495,7 +1495,7 @@ msgid "" "Gale in :issue:`39950`.)" msgstr "" -#: whatsnew/3.10.rst:1283 +#: whatsnew/3.10.rst:1285 msgid "" ":meth:`pathlib.Path.stat` and :meth:`~pathlib.Path.chmod` now accept a " "*follow_symlinks* keyword-only argument for consistency with corresponding " @@ -1503,11 +1503,11 @@ msgid "" "`39906`.)" msgstr "" -#: whatsnew/3.10.rst:1289 +#: whatsnew/3.10.rst:1291 msgid "platform" msgstr "" -#: whatsnew/3.10.rst:1291 +#: whatsnew/3.10.rst:1293 msgid "" "Add :func:`platform.freedesktop_os_release()` to retrieve operation system " "identification from `freedesktop.org os-release ` section for " "more information." msgstr "" -#: whatsnew/3.10.rst:1629 +#: whatsnew/3.10.rst:1631 msgid "" "Non-integer arguments to :func:`random.randrange` are deprecated. The :exc:" "`ValueError` is deprecated in favor of a :exc:`TypeError`. (Contributed by " "Serhiy Storchaka and Raymond Hettinger in :issue:`37319`.)" msgstr "" -#: whatsnew/3.10.rst:1633 +#: whatsnew/3.10.rst:1635 msgid "" "The various ``load_module()`` methods of :mod:`importlib` have been " "documented as deprecated since Python 3.6, but will now also trigger a :exc:" @@ -2022,21 +2022,21 @@ msgid "" "(Contributed by Brett Cannon in :issue:`26131`.)" msgstr "" -#: whatsnew/3.10.rst:1639 +#: whatsnew/3.10.rst:1641 msgid "" ":meth:`zimport.zipimporter.load_module` has been deprecated in preference " "for :meth:`~zipimport.zipimporter.exec_module`. (Contributed by Brett Cannon " "in :issue:`26131`.)" msgstr "" -#: whatsnew/3.10.rst:1643 +#: whatsnew/3.10.rst:1645 msgid "" "The use of :meth:`~importlib.abc.Loader.load_module` by the import system " "now triggers an :exc:`ImportWarning` as :meth:`~importlib.abc.Loader." "exec_module` is preferred. (Contributed by Brett Cannon in :issue:`26131`.)" msgstr "" -#: whatsnew/3.10.rst:1648 +#: whatsnew/3.10.rst:1650 msgid "" "The use of :meth:`!importlib.abc.MetaPathFinder.find_module` and :meth:`!" "importlib.abc.PathEntryFinder.find_module` by the import system now trigger " @@ -2046,7 +2046,7 @@ msgid "" "porting. (Contributed by Brett Cannon in :issue:`42134`.)" msgstr "" -#: whatsnew/3.10.rst:1657 +#: whatsnew/3.10.rst:1659 msgid "" "The use of :meth:`!importlib.abc.PathEntryFinder.find_loader` by the import " "system now triggers an :exc:`ImportWarning` as :meth:`importlib.abc." @@ -2055,7 +2055,7 @@ msgid "" "`43672`.)" msgstr "" -#: whatsnew/3.10.rst:1663 +#: whatsnew/3.10.rst:1665 msgid "" "The various implementations of :meth:`!importlib.abc.MetaPathFinder." "find_module` ( :meth:`!importlib.machinery.BuiltinImporter.find_module`, :" @@ -2070,7 +2070,7 @@ msgid "" "Python 3.4). (Contributed by Brett Cannon in :issue:`42135`.)" msgstr "" -#: whatsnew/3.10.rst:1678 +#: whatsnew/3.10.rst:1680 msgid "" ":class:`!importlib.abc.Finder` is deprecated (including its sole method, :" "meth:`!find_module`). Both :class:`importlib.abc.MetaPathFinder` and :class:" @@ -2079,7 +2079,7 @@ msgid "" "(Contributed by Brett Cannon in :issue:`42135`.)" msgstr "" -#: whatsnew/3.10.rst:1685 +#: whatsnew/3.10.rst:1687 msgid "" "The deprecations of :mod:`!imp`, :func:`!importlib.find_loader`, :func:`!" "importlib.util.set_package_wrapper`, :func:`!importlib.util." @@ -2090,7 +2090,7 @@ msgid "" "Brett Cannon in :issue:`43720`.)" msgstr "" -#: whatsnew/3.10.rst:1695 +#: whatsnew/3.10.rst:1697 msgid "" "The import system now uses the ``__spec__`` attribute on modules before " "falling back on :meth:`!module_repr` for a module's ``__repr__()`` method. " @@ -2098,7 +2098,7 @@ msgid "" "(Contributed by Brett Cannon in :issue:`42137`.)" msgstr "" -#: whatsnew/3.10.rst:1701 +#: whatsnew/3.10.rst:1703 msgid "" ":meth:`!importlib.abc.Loader.module_repr`, :meth:`!importlib.machinery." "FrozenLoader.module_repr`, and :meth:`!importlib.machinery.BuiltinLoader." @@ -2106,7 +2106,7 @@ msgid "" "(Contributed by Brett Cannon in :issue:`42136`.)" msgstr "" -#: whatsnew/3.10.rst:1707 +#: whatsnew/3.10.rst:1709 msgid "" "``sqlite3.OptimizedUnicode`` has been undocumented and obsolete since Python " "3.3, when it was made an alias to :class:`str`. It is now deprecated, " @@ -2114,7 +2114,7 @@ msgid "" "issue:`42264`.)" msgstr "" -#: whatsnew/3.10.rst:1712 +#: whatsnew/3.10.rst:1714 msgid "" "The undocumented built-in function ``sqlite3.enable_shared_cache`` is now " "deprecated, scheduled for removal in Python 3.12. Its use is strongly " @@ -2124,67 +2124,67 @@ msgid "" "query parameter. (Contributed by Erlend E. Aasland in :issue:`24464`.)" msgstr "" -#: whatsnew/3.10.rst:1720 +#: whatsnew/3.10.rst:1722 msgid "The following ``threading`` methods are now deprecated:" msgstr "" -#: whatsnew/3.10.rst:1722 +#: whatsnew/3.10.rst:1724 msgid "``threading.currentThread`` => :func:`threading.current_thread`" msgstr "" -#: whatsnew/3.10.rst:1724 +#: whatsnew/3.10.rst:1726 msgid "``threading.activeCount`` => :func:`threading.active_count`" msgstr "" -#: whatsnew/3.10.rst:1726 +#: whatsnew/3.10.rst:1728 msgid "" "``threading.Condition.notifyAll`` => :meth:`threading.Condition.notify_all`" msgstr "" -#: whatsnew/3.10.rst:1729 +#: whatsnew/3.10.rst:1731 msgid "``threading.Event.isSet`` => :meth:`threading.Event.is_set`" msgstr "" -#: whatsnew/3.10.rst:1731 +#: whatsnew/3.10.rst:1733 msgid "``threading.Thread.setName`` => :attr:`threading.Thread.name`" msgstr "" -#: whatsnew/3.10.rst:1733 +#: whatsnew/3.10.rst:1735 msgid "``threading.thread.getName`` => :attr:`threading.Thread.name`" msgstr "" -#: whatsnew/3.10.rst:1735 +#: whatsnew/3.10.rst:1737 msgid "``threading.Thread.isDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" -#: whatsnew/3.10.rst:1737 +#: whatsnew/3.10.rst:1739 msgid "``threading.Thread.setDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" -#: whatsnew/3.10.rst:1739 +#: whatsnew/3.10.rst:1741 msgid "(Contributed by Jelle Zijlstra in :gh:`87889`.)" msgstr "" -#: whatsnew/3.10.rst:1741 +#: whatsnew/3.10.rst:1743 msgid "" ":meth:`pathlib.Path.link_to` is deprecated and slated for removal in Python " "3.12. Use :meth:`pathlib.Path.hardlink_to` instead. (Contributed by Barney " "Gale in :issue:`39950`.)" msgstr "" -#: whatsnew/3.10.rst:1745 +#: whatsnew/3.10.rst:1747 msgid "" "``cgi.log()`` is deprecated and slated for removal in Python 3.12. " "(Contributed by Inada Naoki in :issue:`41139`.)" msgstr "" -#: whatsnew/3.10.rst:1748 +#: whatsnew/3.10.rst:1750 msgid "" "The following :mod:`ssl` features have been deprecated since Python 3.6, " "Python 3.7, or OpenSSL 1.1.0 and will be removed in 3.11:" msgstr "" -#: whatsnew/3.10.rst:1751 +#: whatsnew/3.10.rst:1753 msgid "" ":data:`~ssl.OP_NO_SSLv2`, :data:`~ssl.OP_NO_SSLv3`, :data:`~ssl." "OP_NO_TLSv1`, :data:`~ssl.OP_NO_TLSv1_1`, :data:`~ssl.OP_NO_TLSv1_2`, and :" @@ -2192,7 +2192,7 @@ msgid "" "minimum_version` and :attr:`sslSSLContext.maximum_version`." msgstr "" -#: whatsnew/3.10.rst:1757 +#: whatsnew/3.10.rst:1759 msgid "" ":data:`~ssl.PROTOCOL_SSLv2`, :data:`~ssl.PROTOCOL_SSLv3`, :data:`~ssl." "PROTOCOL_SSLv23`, :data:`~ssl.PROTOCOL_TLSv1`, :data:`~ssl." @@ -2201,26 +2201,26 @@ msgid "" "and :const:`~ssl.PROTOCOL_TLS_SERVER`" msgstr "" -#: whatsnew/3.10.rst:1763 +#: whatsnew/3.10.rst:1765 msgid "" ":func:`~ssl.wrap_socket` is replaced by :meth:`ssl.SSLContext.wrap_socket`" msgstr "" -#: whatsnew/3.10.rst:1765 +#: whatsnew/3.10.rst:1767 msgid ":func:`~ssl.match_hostname`" msgstr "" -#: whatsnew/3.10.rst:1767 +#: whatsnew/3.10.rst:1769 msgid ":func:`~ssl.RAND_pseudo_bytes`, :func:`~ssl.RAND_egd`" msgstr "" -#: whatsnew/3.10.rst:1769 +#: whatsnew/3.10.rst:1771 msgid "" "NPN features like :meth:`ssl.SSLSocket.selected_npn_protocol` and :meth:`ssl." "SSLContext.set_npn_protocols` are replaced by ALPN." msgstr "" -#: whatsnew/3.10.rst:1772 +#: whatsnew/3.10.rst:1774 msgid "" "The threading debug (:envvar:`PYTHONTHREADDEBUG` environment variable) is " "deprecated in Python 3.10 and will be removed in Python 3.12. This feature " @@ -2228,7 +2228,7 @@ msgid "" "Victor Stinner in :issue:`44584`.)" msgstr "" -#: whatsnew/3.10.rst:1777 +#: whatsnew/3.10.rst:1779 msgid "" "Importing from the ``typing.io`` and ``typing.re`` submodules will now emit :" "exc:`DeprecationWarning`. These submodules will be removed in a future " @@ -2237,11 +2237,11 @@ msgid "" "Rittau in :issue:`38291`.)" msgstr "" -#: whatsnew/3.10.rst:2209 +#: whatsnew/3.10.rst:2211 msgid "Removed" msgstr "" -#: whatsnew/3.10.rst:1788 +#: whatsnew/3.10.rst:1790 msgid "" "Removed special methods ``__int__``, ``__float__``, ``__floordiv__``, " "``__mod__``, ``__divmod__``, ``__rfloordiv__``, ``__rmod__`` and " @@ -2249,7 +2249,7 @@ msgid "" "`TypeError`. (Contributed by Serhiy Storchaka in :issue:`41974`.)" msgstr "" -#: whatsnew/3.10.rst:1794 +#: whatsnew/3.10.rst:1796 msgid "" "The ``ParserBase.error()`` method from the private and undocumented " "``_markupbase`` module has been removed. :class:`html.parser.HTMLParser` is " @@ -2258,7 +2258,7 @@ msgid "" "`31844`.)" msgstr "" -#: whatsnew/3.10.rst:1800 +#: whatsnew/3.10.rst:1802 msgid "" "Removed the ``unicodedata.ucnhash_CAPI`` attribute which was an internal " "PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` structure was " @@ -2266,7 +2266,7 @@ msgid "" "`42157`.)" msgstr "" -#: whatsnew/3.10.rst:1805 +#: whatsnew/3.10.rst:1807 msgid "" "Removed the ``parser`` module, which was deprecated in 3.9 due to the switch " "to the new PEG parser, as well as all the C source and header files that " @@ -2274,7 +2274,7 @@ msgid "" "``graminit.h`` and ``grammar.h``." msgstr "" -#: whatsnew/3.10.rst:1810 +#: whatsnew/3.10.rst:1812 msgid "" "Removed the Public C API functions ``PyParser_SimpleParseStringFlags``, " "``PyParser_SimpleParseStringFlagsFilename``, " @@ -2282,7 +2282,7 @@ msgid "" "deprecated in 3.9 due to the switch to the new PEG parser." msgstr "" -#: whatsnew/3.10.rst:1815 +#: whatsnew/3.10.rst:1817 msgid "" "Removed the ``formatter`` module, which was deprecated in Python 3.4. It is " "somewhat obsolete, little used, and not tested. It was originally scheduled " @@ -2291,71 +2291,71 @@ msgid "" "their code. (Contributed by Donghee Na and Terry J. Reedy in :issue:`42299`.)" msgstr "" -#: whatsnew/3.10.rst:1822 +#: whatsnew/3.10.rst:1824 msgid "" "Removed the :c:func:`!PyModule_GetWarningsModule` function that was useless " "now due to the :mod:`!_warnings` module was converted to a builtin module in " "2.6. (Contributed by Hai Shi in :issue:`42599`.)" msgstr "" -#: whatsnew/3.10.rst:1826 +#: whatsnew/3.10.rst:1828 msgid "" "Remove deprecated aliases to :ref:`collections-abstract-base-classes` from " "the :mod:`collections` module. (Contributed by Victor Stinner in :issue:" "`37324`.)" msgstr "" -#: whatsnew/3.10.rst:1830 +#: whatsnew/3.10.rst:1832 msgid "" "The ``loop`` parameter has been removed from most of :mod:`asyncio`\\ 's :" "doc:`high-level API <../library/asyncio-api-index>` following deprecation in " "Python 3.8. The motivation behind this change is multifold:" msgstr "" -#: whatsnew/3.10.rst:1834 +#: whatsnew/3.10.rst:1836 msgid "This simplifies the high-level API." msgstr "" -#: whatsnew/3.10.rst:1835 +#: whatsnew/3.10.rst:1837 msgid "" "The functions in the high-level API have been implicitly getting the current " "thread's running event loop since Python 3.7. There isn't a need to pass " "the event loop to the API in most normal use cases." msgstr "" -#: whatsnew/3.10.rst:1838 +#: whatsnew/3.10.rst:1840 msgid "" "Event loop passing is error-prone especially when dealing with loops running " "in different threads." msgstr "" -#: whatsnew/3.10.rst:1841 +#: whatsnew/3.10.rst:1843 msgid "" "Note that the low-level API will still accept ``loop``. See :ref:`changes-" "python-api` for examples of how to replace existing code." msgstr "" -#: whatsnew/3.10.rst:1916 +#: whatsnew/3.10.rst:1918 msgid "" "(Contributed by Yurii Karabas, Andrew Svetlov, Yury Selivanov and Kyle " "Stanley in :issue:`42392`.)" msgstr "" -#: whatsnew/3.10.rst:2136 +#: whatsnew/3.10.rst:2138 msgid "Porting to Python 3.10" msgstr "" -#: whatsnew/3.10.rst:1851 +#: whatsnew/3.10.rst:1853 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.10.rst:1856 +#: whatsnew/3.10.rst:1858 msgid "Changes in the Python syntax" msgstr "" -#: whatsnew/3.10.rst:1858 +#: whatsnew/3.10.rst:1860 msgid "" "Deprecation warning is now emitted when compiling previously valid syntax if " "the numeric literal is immediately followed by a keyword (like in ``0in " @@ -2365,11 +2365,11 @@ msgid "" "following keyword. (Contributed by Serhiy Storchaka in :issue:`43833`.)" msgstr "" -#: whatsnew/3.10.rst:1869 +#: whatsnew/3.10.rst:1871 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.10.rst:1871 +#: whatsnew/3.10.rst:1873 msgid "" "The *etype* parameters of the :func:`~traceback.format_exception`, :func:" "`~traceback.format_exception_only`, and :func:`~traceback.print_exception` " @@ -2377,7 +2377,7 @@ msgid "" "(Contributed by Zackery Spytz and Matthias Bussonnier in :issue:`26389`.)" msgstr "" -#: whatsnew/3.10.rst:1877 +#: whatsnew/3.10.rst:1879 msgid "" ":mod:`atexit`: At Python exit, if a callback registered with :func:`atexit." "register` fails, its exception is now logged. Previously, only some " @@ -2385,7 +2385,7 @@ msgid "" "(Contributed by Victor Stinner in :issue:`42639`.)" msgstr "" -#: whatsnew/3.10.rst:1883 +#: whatsnew/3.10.rst:1885 msgid "" ":class:`collections.abc.Callable` generic now flattens type parameters, " "similar to what :data:`typing.Callable` currently does. This means that " @@ -2398,7 +2398,7 @@ msgid "" "`42195`.)" msgstr "" -#: whatsnew/3.10.rst:1893 +#: whatsnew/3.10.rst:1895 msgid "" ":meth:`socket.htons` and :meth:`socket.ntohs` now raise :exc:`OverflowError` " "instead of :exc:`DeprecationWarning` if the given parameter will not fit in " @@ -2406,29 +2406,29 @@ msgid "" "`42393`.)" msgstr "" -#: whatsnew/3.10.rst:1898 +#: whatsnew/3.10.rst:1900 msgid "" "The ``loop`` parameter has been removed from most of :mod:`asyncio`\\ 's :" "doc:`high-level API <../library/asyncio-api-index>` following deprecation in " "Python 3.8." msgstr "" -#: whatsnew/3.10.rst:1902 +#: whatsnew/3.10.rst:1904 msgid "A coroutine that currently looks like this::" msgstr "" -#: whatsnew/3.10.rst:1907 +#: whatsnew/3.10.rst:1909 msgid "Should be replaced with this::" msgstr "" -#: whatsnew/3.10.rst:1912 +#: whatsnew/3.10.rst:1914 msgid "" "If ``foo()`` was specifically designed *not* to run in the current thread's " "running event loop (e.g. running in another thread's event loop), consider " "using :func:`asyncio.run_coroutine_threadsafe` instead." msgstr "" -#: whatsnew/3.10.rst:1919 +#: whatsnew/3.10.rst:1921 msgid "" "The :data:`types.FunctionType` constructor now inherits the current builtins " "if the *globals* dictionary has no ``\"__builtins__\"`` key, rather than " @@ -2439,11 +2439,11 @@ msgid "" "`42990`.)" msgstr "" -#: whatsnew/3.10.rst:1928 +#: whatsnew/3.10.rst:1930 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.10.rst:1930 +#: whatsnew/3.10.rst:1932 msgid "" "The C API functions ``PyParser_SimpleParseStringFlags``, " "``PyParser_SimpleParseStringFlagsFilename``, " @@ -2452,31 +2452,31 @@ msgid "" "PEG parser." msgstr "" -#: whatsnew/3.10.rst:1936 +#: whatsnew/3.10.rst:1938 msgid "" "Source should be now be compiled directly to a code object using, for " "example, :c:func:`Py_CompileString`. The resulting code object can then be " "evaluated using, for example, :c:func:`PyEval_EvalCode`." msgstr "" -#: whatsnew/3.10.rst:1940 +#: whatsnew/3.10.rst:1942 msgid "Specifically:" msgstr "" -#: whatsnew/3.10.rst:1942 +#: whatsnew/3.10.rst:1944 msgid "" "A call to ``PyParser_SimpleParseStringFlags`` followed by ``PyNode_Compile`` " "can be replaced by calling :c:func:`Py_CompileString`." msgstr "" -#: whatsnew/3.10.rst:1945 +#: whatsnew/3.10.rst:1947 msgid "" "There is no direct replacement for ``PyParser_SimpleParseFileFlags``. To " "compile code from a ``FILE *`` argument, you will need to read the file in C " "and pass the resulting buffer to :c:func:`Py_CompileString`." msgstr "" -#: whatsnew/3.10.rst:1949 +#: whatsnew/3.10.rst:1951 msgid "" "To compile a file given a ``char *`` filename, explicitly open the file, " "read it and compile the result. One way to do this is using the :py:mod:`io` " @@ -2485,63 +2485,64 @@ msgid "" "(Declarations and error handling are omitted.) ::" msgstr "" -#: whatsnew/3.10.rst:1962 +#: whatsnew/3.10.rst:1964 msgid "" -"For ``FrameObject`` objects, the ``f_lasti`` member now represents a " -"wordcode offset instead of a simple offset into the bytecode string. This " -"means that this number needs to be multiplied by 2 to be used with APIs that " -"expect a byte offset instead (like :c:func:`PyCode_Addr2Line` for example). " -"Notice as well that the ``f_lasti`` member of ``FrameObject`` objects is not " -"considered stable: please use :c:func:`PyFrame_GetLineNumber` instead." +"For ``FrameObject`` objects, the :attr:`~frame.f_lasti` member now " +"represents a wordcode offset instead of a simple offset into the bytecode " +"string. This means that this number needs to be multiplied by 2 to be used " +"with APIs that expect a byte offset instead (like :c:func:`PyCode_Addr2Line` " +"for example). Notice as well that the :attr:`!f_lasti` member of " +"``FrameObject`` objects is not considered stable: please use :c:func:" +"`PyFrame_GetLineNumber` instead." msgstr "" -#: whatsnew/3.10.rst:1970 +#: whatsnew/3.10.rst:1972 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.10.rst:1972 +#: whatsnew/3.10.rst:1974 msgid "" "The ``MAKE_FUNCTION`` instruction now accepts either a dict or a tuple of " "strings as the function's annotations. (Contributed by Yurii Karabas and " "Inada Naoki in :issue:`42202`.)" msgstr "" -#: whatsnew/3.10.rst:1977 +#: whatsnew/3.10.rst:1979 msgid "Build Changes" msgstr "" -#: whatsnew/3.10.rst:1979 +#: whatsnew/3.10.rst:1981 msgid "" ":pep:`644`: Python now requires OpenSSL 1.1.1 or newer. OpenSSL 1.0.2 is no " "longer supported. (Contributed by Christian Heimes in :issue:`43669`.)" msgstr "" -#: whatsnew/3.10.rst:1983 +#: whatsnew/3.10.rst:1985 msgid "" "The C99 functions :c:func:`snprintf` and :c:func:`vsnprintf` are now " "required to build Python. (Contributed by Victor Stinner in :issue:`36020`.)" msgstr "" -#: whatsnew/3.10.rst:1987 +#: whatsnew/3.10.rst:1989 msgid "" ":mod:`sqlite3` requires SQLite 3.7.15 or higher. (Contributed by Sergey " "Fedoseev and Erlend E. Aasland in :issue:`40744` and :issue:`40810`.)" msgstr "" -#: whatsnew/3.10.rst:1990 +#: whatsnew/3.10.rst:1992 msgid "" "The :mod:`atexit` module must now always be built as a built-in module. " "(Contributed by Victor Stinner in :issue:`42639`.)" msgstr "" -#: whatsnew/3.10.rst:1993 +#: whatsnew/3.10.rst:1995 msgid "" "Add :option:`--disable-test-modules` option to the ``configure`` script: " "don't build nor install test modules. (Contributed by Xavier de Gaye, Thomas " "Petazzoni and Peixing Xin in :issue:`27640`.)" msgstr "" -#: whatsnew/3.10.rst:1997 +#: whatsnew/3.10.rst:1999 msgid "" "Add :option:`--with-wheel-pkg-dir=PATH option <--with-wheel-pkg-dir>` to the " "``./configure`` script. If specified, the :mod:`ensurepip` module looks for " @@ -2550,7 +2551,7 @@ msgid "" "packages." msgstr "" -#: whatsnew/3.10.rst:2003 +#: whatsnew/3.10.rst:2005 msgid "" "Some Linux distribution packaging policies recommend against bundling " "dependencies. For example, Fedora installs wheel packages in the ``/usr/" @@ -2558,22 +2559,22 @@ msgid "" "_bundled`` package." msgstr "" -#: whatsnew/3.10.rst:2008 +#: whatsnew/3.10.rst:2010 msgid "(Contributed by Victor Stinner in :issue:`42856`.)" msgstr "" -#: whatsnew/3.10.rst:2010 +#: whatsnew/3.10.rst:2012 msgid "" "Add a new :option:`configure --without-static-libpython option <--without-" "static-libpython>` to not build the ``libpythonMAJOR.MINOR.a`` static " "library and not install the ``python.o`` object file." msgstr "" -#: whatsnew/3.10.rst:2014 +#: whatsnew/3.10.rst:2016 msgid "(Contributed by Victor Stinner in :issue:`43103`.)" msgstr "" -#: whatsnew/3.10.rst:2016 +#: whatsnew/3.10.rst:2018 msgid "" "The ``configure`` script now uses the ``pkg-config`` utility, if available, " "to detect the location of Tcl/Tk headers and libraries. As before, those " @@ -2582,7 +2583,7 @@ msgid "" "Stamatogiannakis in :issue:`42603`.)" msgstr "" -#: whatsnew/3.10.rst:2022 +#: whatsnew/3.10.rst:2024 msgid "" "Add :option:`--with-openssl-rpath` option to ``configure`` script. The " "option simplifies building Python with a custom OpenSSL installation, e.g. " @@ -2590,15 +2591,15 @@ msgid "" "(Contributed by Christian Heimes in :issue:`43466`.)" msgstr "" -#: whatsnew/3.10.rst:2029 +#: whatsnew/3.10.rst:2031 msgid "C API Changes" msgstr "" -#: whatsnew/3.10.rst:2032 +#: whatsnew/3.10.rst:2034 msgid "PEP 652: Maintaining the Stable ABI" msgstr "" -#: whatsnew/3.10.rst:2034 +#: whatsnew/3.10.rst:2036 msgid "" "The Stable ABI (Application Binary Interface) for extension modules or " "embedding Python is now explicitly defined. :ref:`stable` describes C API " @@ -2606,25 +2607,25 @@ msgid "" "ABI." msgstr "" -#: whatsnew/3.10.rst:2039 +#: whatsnew/3.10.rst:2041 msgid "(Contributed by Petr Viktorin in :pep:`652` and :issue:`43795`.)" msgstr "" -#: whatsnew/3.10.rst:2044 +#: whatsnew/3.10.rst:2046 msgid "" "The result of :c:func:`PyNumber_Index` now always has exact type :class:" "`int`. Previously, the result could have been an instance of a subclass of " "``int``. (Contributed by Serhiy Storchaka in :issue:`40792`.)" msgstr "" -#: whatsnew/3.10.rst:2048 +#: whatsnew/3.10.rst:2050 msgid "" "Add a new :c:member:`~PyConfig.orig_argv` member to the :c:type:`PyConfig` " "structure: the list of the original command line arguments passed to the " "Python executable. (Contributed by Victor Stinner in :issue:`23427`.)" msgstr "" -#: whatsnew/3.10.rst:2053 +#: whatsnew/3.10.rst:2055 msgid "" "The :c:func:`PyDateTime_DATE_GET_TZINFO` and :c:func:" "`PyDateTime_TIME_GET_TZINFO` macros have been added for accessing the " @@ -2632,72 +2633,72 @@ msgid "" "time` objects. (Contributed by Zackery Spytz in :issue:`30155`.)" msgstr "" -#: whatsnew/3.10.rst:2059 +#: whatsnew/3.10.rst:2061 msgid "" "Add a :c:func:`PyCodec_Unregister` function to unregister a codec search " "function. (Contributed by Hai Shi in :issue:`41842`.)" msgstr "" -#: whatsnew/3.10.rst:2063 +#: whatsnew/3.10.rst:2065 msgid "" "The :c:func:`PyIter_Send` function was added to allow sending value into " "iterator without raising ``StopIteration`` exception. (Contributed by " "Vladimir Matveev in :issue:`41756`.)" msgstr "" -#: whatsnew/3.10.rst:2067 +#: whatsnew/3.10.rst:2069 msgid "" "Add :c:func:`PyUnicode_AsUTF8AndSize` to the limited C API. (Contributed by " "Alex Gaynor in :issue:`41784`.)" msgstr "" -#: whatsnew/3.10.rst:2070 +#: whatsnew/3.10.rst:2072 msgid "" "Add :c:func:`PyModule_AddObjectRef` function: similar to :c:func:" "`PyModule_AddObject` but don't steal a reference to the value on success. " "(Contributed by Victor Stinner in :issue:`1635741`.)" msgstr "" -#: whatsnew/3.10.rst:2075 +#: whatsnew/3.10.rst:2077 msgid "" "Add :c:func:`Py_NewRef` and :c:func:`Py_XNewRef` functions to increment the " "reference count of an object and return the object. (Contributed by Victor " "Stinner in :issue:`42262`.)" msgstr "" -#: whatsnew/3.10.rst:2079 +#: whatsnew/3.10.rst:2081 msgid "" "The :c:func:`PyType_FromSpecWithBases` and :c:func:" "`PyType_FromModuleAndSpec` functions now accept a single class as the " "*bases* argument. (Contributed by Serhiy Storchaka in :issue:`42423`.)" msgstr "" -#: whatsnew/3.10.rst:2083 +#: whatsnew/3.10.rst:2085 msgid "" "The :c:func:`PyType_FromModuleAndSpec` function now accepts NULL ``tp_doc`` " "slot. (Contributed by Hai Shi in :issue:`41832`.)" msgstr "" -#: whatsnew/3.10.rst:2087 +#: whatsnew/3.10.rst:2089 msgid "" "The :c:func:`PyType_GetSlot` function can accept :ref:`static types `. (Contributed by Hai Shi and Petr Viktorin in :issue:`41073`.)" msgstr "" -#: whatsnew/3.10.rst:2091 +#: whatsnew/3.10.rst:2093 msgid "" "Add a new :c:func:`PySet_CheckExact` function to the C-API to check if an " "object is an instance of :class:`set` but not an instance of a subtype. " "(Contributed by Pablo Galindo in :issue:`43277`.)" msgstr "" -#: whatsnew/3.10.rst:2095 +#: whatsnew/3.10.rst:2097 msgid "" "Add :c:func:`PyErr_SetInterruptEx` which allows passing a signal number to " "simulate. (Contributed by Antoine Pitrou in :issue:`43356`.)" msgstr "" -#: whatsnew/3.10.rst:2099 +#: whatsnew/3.10.rst:2101 msgid "" "The limited C API is now supported if :ref:`Python is built in debug mode " "` (if the ``Py_DEBUG`` macro is defined). In the limited C API, " @@ -2710,14 +2711,14 @@ msgid "" "`36465`)." msgstr "" -#: whatsnew/3.10.rst:2109 +#: whatsnew/3.10.rst:2111 msgid "" "The limited C API is still not supported in the :option:`--with-trace-refs` " "special build (``Py_TRACE_REFS`` macro). (Contributed by Victor Stinner in :" "issue:`43688`.)" msgstr "" -#: whatsnew/3.10.rst:2113 +#: whatsnew/3.10.rst:2115 msgid "" "Add the :c:func:`Py_Is(x, y) ` function to test if the *x* object is " "the *y* object, the same as ``x is y`` in Python. Add also the :c:func:" @@ -2727,7 +2728,7 @@ msgid "" "`43753`.)" msgstr "" -#: whatsnew/3.10.rst:2120 +#: whatsnew/3.10.rst:2122 msgid "" "Add new functions to control the garbage collector from C code: :c:func:" "`PyGC_Enable()`, :c:func:`PyGC_Disable()`, :c:func:`PyGC_IsEnabled()`. These " @@ -2735,20 +2736,20 @@ msgid "" "collector from C code without having to import the :mod:`gc` module." msgstr "" -#: whatsnew/3.10.rst:2127 +#: whatsnew/3.10.rst:2129 msgid "" "Add a new :c:macro:`Py_TPFLAGS_DISALLOW_INSTANTIATION` type flag to disallow " "creating type instances. (Contributed by Victor Stinner in :issue:`43916`.)" msgstr "" -#: whatsnew/3.10.rst:2131 +#: whatsnew/3.10.rst:2133 msgid "" "Add a new :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` type flag for creating " "immutable type objects: type attributes cannot be set nor deleted. " "(Contributed by Victor Stinner and Erlend E. Aasland in :issue:`43908`.)" msgstr "" -#: whatsnew/3.10.rst:2138 +#: whatsnew/3.10.rst:2140 msgid "" "The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use :c:func:" "`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use ``#``: " @@ -2757,7 +2758,7 @@ msgid "" "`40943`.)" msgstr "" -#: whatsnew/3.10.rst:2144 +#: whatsnew/3.10.rst:2146 msgid "" "Since :c:func:`Py_REFCNT()` is changed to the inline static function, " "``Py_REFCNT(obj) = new_refcnt`` must be replaced with ``Py_SET_REFCNT(obj, " @@ -2765,18 +2766,18 @@ msgid "" "For backward compatibility, this macro can be used::" msgstr "" -#: whatsnew/3.10.rst:2153 +#: whatsnew/3.10.rst:2155 msgid "(Contributed by Victor Stinner in :issue:`39573`.)" msgstr "" -#: whatsnew/3.10.rst:2155 +#: whatsnew/3.10.rst:2157 msgid "" "Calling :c:func:`PyDict_GetItem` without :term:`GIL` held had been allowed " "for historical reason. It is no longer allowed. (Contributed by Victor " "Stinner in :issue:`40839`.)" msgstr "" -#: whatsnew/3.10.rst:2159 +#: whatsnew/3.10.rst:2161 msgid "" "``PyUnicode_FromUnicode(NULL, size)`` and " "``PyUnicode_FromStringAndSize(NULL, size)`` raise ``DeprecationWarning`` " @@ -2784,14 +2785,14 @@ msgid "" "data. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.10.rst:2164 +#: whatsnew/3.10.rst:2166 msgid "" "The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API " "``unicodedata.ucnhash_CAPI`` has been moved to the internal C API. " "(Contributed by Victor Stinner in :issue:`42157`.)" msgstr "" -#: whatsnew/3.10.rst:2168 +#: whatsnew/3.10.rst:2170 msgid "" ":c:func:`Py_GetPath`, :c:func:`Py_GetPrefix`, :c:func:`Py_GetExecPrefix`, :c:" "func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome` and :c:func:" @@ -2801,7 +2802,7 @@ msgid "" "Stinner in :issue:`42260`.)" msgstr "" -#: whatsnew/3.10.rst:2175 +#: whatsnew/3.10.rst:2177 msgid "" ":c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and :c:func:" "`PyCell_SET` macros can no longer be used as l-value or r-value. For " @@ -2811,7 +2812,7 @@ msgid "" "and Victor Stinner in :issue:`30459`.)" msgstr "" -#: whatsnew/3.10.rst:2182 +#: whatsnew/3.10.rst:2184 msgid "" "The non-limited API files ``odictobject.h``, ``parser_interface.h``, " "``picklebufobject.h``, ``pyarena.h``, ``pyctype.h``, ``pydebug.h``, ``pyfpe." @@ -2822,7 +2823,7 @@ msgid "" "issue:`35134`.)" msgstr "" -#: whatsnew/3.10.rst:2190 +#: whatsnew/3.10.rst:2192 msgid "" "Use the :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` type flag to create immutable " "type objects. Do not rely on :c:macro:`Py_TPFLAGS_HEAPTYPE` to decide if a " @@ -2831,85 +2832,85 @@ msgid "" "issue:`43908`.)" msgstr "" -#: whatsnew/3.10.rst:2196 +#: whatsnew/3.10.rst:2198 msgid "" "The undocumented function ``Py_FrozenMain`` has been removed from the " "limited API. The function is mainly useful for custom builds of Python. " "(Contributed by Petr Viktorin in :issue:`26241`.)" msgstr "" -#: whatsnew/3.10.rst:2203 +#: whatsnew/3.10.rst:2205 msgid "" "The ``PyUnicode_InternImmortal()`` function is now deprecated and will be " "removed in Python 3.12: use :c:func:`PyUnicode_InternInPlace` instead. " "(Contributed by Victor Stinner in :issue:`41692`.)" msgstr "" -#: whatsnew/3.10.rst:2211 +#: whatsnew/3.10.rst:2213 msgid "" "Removed ``Py_UNICODE_str*`` functions manipulating ``Py_UNICODE*`` strings. " "(Contributed by Inada Naoki in :issue:`41123`.)" msgstr "" -#: whatsnew/3.10.rst:2214 +#: whatsnew/3.10.rst:2216 msgid "" "``Py_UNICODE_strlen``: use :c:func:`PyUnicode_GetLength` or :c:macro:" "`PyUnicode_GET_LENGTH`" msgstr "" -#: whatsnew/3.10.rst:2216 +#: whatsnew/3.10.rst:2218 msgid "" "``Py_UNICODE_strcat``: use :c:func:`PyUnicode_CopyCharacters` or :c:func:" "`PyUnicode_FromFormat`" msgstr "" -#: whatsnew/3.10.rst:2218 +#: whatsnew/3.10.rst:2220 msgid "" "``Py_UNICODE_strcpy``, ``Py_UNICODE_strncpy``: use :c:func:" "`PyUnicode_CopyCharacters` or :c:func:`PyUnicode_Substring`" msgstr "" -#: whatsnew/3.10.rst:2220 +#: whatsnew/3.10.rst:2222 msgid "``Py_UNICODE_strcmp``: use :c:func:`PyUnicode_Compare`" msgstr "" -#: whatsnew/3.10.rst:2221 +#: whatsnew/3.10.rst:2223 msgid "``Py_UNICODE_strncmp``: use :c:func:`PyUnicode_Tailmatch`" msgstr "" -#: whatsnew/3.10.rst:2222 +#: whatsnew/3.10.rst:2224 msgid "" "``Py_UNICODE_strchr``, ``Py_UNICODE_strrchr``: use :c:func:" "`PyUnicode_FindChar`" msgstr "" -#: whatsnew/3.10.rst:2225 +#: whatsnew/3.10.rst:2227 msgid "" "Removed ``PyUnicode_GetMax()``. Please migrate to new (:pep:`393`) APIs. " "(Contributed by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2228 +#: whatsnew/3.10.rst:2230 msgid "" "Removed ``PyLong_FromUnicode()``. Please migrate to :c:func:" "`PyLong_FromUnicodeObject`. (Contributed by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2231 +#: whatsnew/3.10.rst:2233 msgid "" "Removed ``PyUnicode_AsUnicodeCopy()``. Please use :c:func:" "`PyUnicode_AsUCS4Copy` or :c:func:`PyUnicode_AsWideCharString` (Contributed " "by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2235 +#: whatsnew/3.10.rst:2237 msgid "" "Removed ``_Py_CheckRecursionLimit`` variable: it has been replaced by " "``ceval.recursion_limit`` of the :c:type:`PyInterpreterState` structure. " "(Contributed by Victor Stinner in :issue:`41834`.)" msgstr "" -#: whatsnew/3.10.rst:2239 +#: whatsnew/3.10.rst:2241 msgid "" "Removed undocumented macros ``Py_ALLOW_RECURSION`` and " "``Py_END_ALLOW_RECURSION`` and the ``recursion_critical`` field of the :c:" @@ -2917,14 +2918,14 @@ msgid "" "issue:`41936`.)" msgstr "" -#: whatsnew/3.10.rst:2244 +#: whatsnew/3.10.rst:2246 msgid "" "Removed the undocumented ``PyOS_InitInterrupts()`` function. Initializing " "Python already implicitly installs signal handlers: see :c:member:`PyConfig." "install_signal_handlers`. (Contributed by Victor Stinner in :issue:`41713`.)" msgstr "" -#: whatsnew/3.10.rst:2249 +#: whatsnew/3.10.rst:2251 msgid "" "Remove the ``PyAST_Validate()`` function. It is no longer possible to build " "a AST object (``mod_ty`` type) with the public C API. The function was " @@ -2932,48 +2933,48 @@ msgid "" "Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2254 +#: whatsnew/3.10.rst:2256 msgid "Remove the ``symtable.h`` header file and the undocumented functions:" msgstr "" -#: whatsnew/3.10.rst:2256 +#: whatsnew/3.10.rst:2258 msgid "``PyST_GetScope()``" msgstr "" -#: whatsnew/3.10.rst:2257 +#: whatsnew/3.10.rst:2259 msgid "``PySymtable_Build()``" msgstr "" -#: whatsnew/3.10.rst:2258 +#: whatsnew/3.10.rst:2260 msgid "``PySymtable_BuildObject()``" msgstr "" -#: whatsnew/3.10.rst:2259 +#: whatsnew/3.10.rst:2261 msgid "``PySymtable_Free()``" msgstr "" -#: whatsnew/3.10.rst:2260 +#: whatsnew/3.10.rst:2262 msgid "``Py_SymtableString()``" msgstr "" -#: whatsnew/3.10.rst:2261 +#: whatsnew/3.10.rst:2263 msgid "``Py_SymtableStringObject()``" msgstr "" -#: whatsnew/3.10.rst:2263 +#: whatsnew/3.10.rst:2265 msgid "" "The ``Py_SymtableString()`` function was part the stable ABI by mistake but " "it could not be used, because the ``symtable.h`` header file was excluded " "from the limited C API." msgstr "" -#: whatsnew/3.10.rst:2267 +#: whatsnew/3.10.rst:2269 msgid "" "Use Python :mod:`symtable` module instead. (Contributed by Victor Stinner " "in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2270 +#: whatsnew/3.10.rst:2272 msgid "" "Remove :c:func:`PyOS_ReadlineFunctionPointer` from the limited C API headers " "and from ``python3.dll``, the library that provides the stable ABI on " @@ -2981,7 +2982,7 @@ msgid "" "cannot be guaranteed. (Contributed by Petr Viktorin in :issue:`43868`.)" msgstr "" -#: whatsnew/3.10.rst:2276 +#: whatsnew/3.10.rst:2278 msgid "" "Remove ``ast.h``, ``asdl.h``, and ``Python-ast.h`` header files. These " "functions were undocumented and excluded from the limited C API. Most names " @@ -2992,86 +2993,86 @@ msgid "" "(Contributed by Victor Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2284 +#: whatsnew/3.10.rst:2286 msgid "" "Remove the compiler and parser functions using ``struct _mod`` type, because " "the public AST C API was removed:" msgstr "" -#: whatsnew/3.10.rst:2287 +#: whatsnew/3.10.rst:2289 msgid "``PyAST_Compile()``" msgstr "" -#: whatsnew/3.10.rst:2288 +#: whatsnew/3.10.rst:2290 msgid "``PyAST_CompileEx()``" msgstr "" -#: whatsnew/3.10.rst:2289 +#: whatsnew/3.10.rst:2291 msgid "``PyAST_CompileObject()``" msgstr "" -#: whatsnew/3.10.rst:2290 +#: whatsnew/3.10.rst:2292 msgid "``PyFuture_FromAST()``" msgstr "" -#: whatsnew/3.10.rst:2291 +#: whatsnew/3.10.rst:2293 msgid "``PyFuture_FromASTObject()``" msgstr "" -#: whatsnew/3.10.rst:2292 +#: whatsnew/3.10.rst:2294 msgid "``PyParser_ASTFromFile()``" msgstr "" -#: whatsnew/3.10.rst:2293 +#: whatsnew/3.10.rst:2295 msgid "``PyParser_ASTFromFileObject()``" msgstr "" -#: whatsnew/3.10.rst:2294 +#: whatsnew/3.10.rst:2296 msgid "``PyParser_ASTFromFilename()``" msgstr "" -#: whatsnew/3.10.rst:2295 +#: whatsnew/3.10.rst:2297 msgid "``PyParser_ASTFromString()``" msgstr "" -#: whatsnew/3.10.rst:2296 +#: whatsnew/3.10.rst:2298 msgid "``PyParser_ASTFromStringObject()``" msgstr "" -#: whatsnew/3.10.rst:2298 +#: whatsnew/3.10.rst:2300 msgid "" "These functions were undocumented and excluded from the limited C API. " "(Contributed by Victor Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2301 +#: whatsnew/3.10.rst:2303 msgid "Remove the ``pyarena.h`` header file with functions:" msgstr "" -#: whatsnew/3.10.rst:2303 +#: whatsnew/3.10.rst:2305 msgid "``PyArena_New()``" msgstr "" -#: whatsnew/3.10.rst:2304 +#: whatsnew/3.10.rst:2306 msgid "``PyArena_Free()``" msgstr "" -#: whatsnew/3.10.rst:2305 +#: whatsnew/3.10.rst:2307 msgid "``PyArena_Malloc()``" msgstr "" -#: whatsnew/3.10.rst:2306 +#: whatsnew/3.10.rst:2308 msgid "``PyArena_AddPyObject()``" msgstr "" -#: whatsnew/3.10.rst:2308 +#: whatsnew/3.10.rst:2310 msgid "" "These functions were undocumented, excluded from the limited C API, and were " "only used internally by the compiler. (Contributed by Victor Stinner in :" "issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2312 +#: whatsnew/3.10.rst:2314 msgid "" "The ``PyThreadState.use_tracing`` member has been removed to optimize " "Python. (Contributed by Mark Shannon in :issue:`43760`.)" diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index 201a6c5d3..98dfe7ec5 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-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2331,7 +2331,7 @@ msgid "" "POP_BLOCK`, :opcode:`!SETUP_FINALLY` and :opcode:`!YIELD_FROM`." msgstr "" -#: whatsnew/3.11.rst:2565 +#: whatsnew/3.11.rst:2566 msgid "Deprecated" msgstr "" @@ -2512,7 +2512,7 @@ msgid "the :attr:`!configparser.ParsingError.filename` property" msgstr "" #: whatsnew/3.11.rst:1776 -msgid "the :meth:`configparser.RawConfigParser.readfp` method" +msgid "the :meth:`!configparser.RawConfigParser.readfp` method" msgstr "" #: whatsnew/3.11.rst:1778 @@ -2682,7 +2682,7 @@ msgid "" "in 3.13. (Contributed by Carlos Damázio in :gh:`67048`.)" msgstr "" -#: whatsnew/3.11.rst:2593 +#: whatsnew/3.11.rst:2594 msgid "Pending Removal in Python 3.12" msgstr "" @@ -2944,7 +2944,7 @@ msgstr "" msgid "3.5" msgstr "" -#: whatsnew/3.11.rst:2619 +#: whatsnew/3.11.rst:2620 msgid "Removed" msgstr "" @@ -3758,86 +3758,86 @@ msgstr "" #: whatsnew/3.11.rst:2460 msgid "" -"The Python frame object is now created lazily. A side effect is that the " -"``f_back`` member must not be accessed directly, since its value is now also " -"computed lazily. The :c:func:`PyFrame_GetBack` function must be called " -"instead." +"The Python frame object is now created lazily. A side effect is that the :" +"attr:`~frame.f_back` member must not be accessed directly, since its value " +"is now also computed lazily. The :c:func:`PyFrame_GetBack` function must be " +"called instead." msgstr "" -#: whatsnew/3.11.rst:2465 +#: whatsnew/3.11.rst:2466 msgid "" -"Debuggers that accessed the ``f_locals`` directly *must* call :c:func:" -"`PyFrame_GetLocals` instead. They no longer need to call :c:func:" +"Debuggers that accessed the :attr:`~frame.f_locals` directly *must* call :c:" +"func:`PyFrame_GetLocals` instead. They no longer need to call :c:func:" "`PyFrame_FastToLocalsWithError` or :c:func:`PyFrame_LocalsToFast`, in fact " "they should not call those functions. The necessary updating of the frame is " "now managed by the virtual machine." msgstr "" -#: whatsnew/3.11.rst:2471 +#: whatsnew/3.11.rst:2472 msgid "Code defining ``PyFrame_GetCode()`` on Python 3.8 and older::" msgstr "" -#: whatsnew/3.11.rst:2481 +#: whatsnew/3.11.rst:2482 msgid "Code defining ``PyFrame_GetBack()`` on Python 3.8 and older::" msgstr "" -#: whatsnew/3.11.rst:2491 +#: whatsnew/3.11.rst:2492 msgid "" "Or use the `pythoncapi_compat project `__ to get these two functions on older Python versions." msgstr "" -#: whatsnew/3.11.rst:2495 +#: whatsnew/3.11.rst:2496 msgid "Changes of the :c:type:`PyThreadState` structure members:" msgstr "" -#: whatsnew/3.11.rst:2497 +#: whatsnew/3.11.rst:2498 msgid "" "``frame``: removed, use :c:func:`PyThreadState_GetFrame` (function added to " "Python 3.9 by :issue:`40429`). Warning: the function returns a :term:`strong " "reference`, need to call :c:func:`Py_XDECREF`." msgstr "" -#: whatsnew/3.11.rst:2501 +#: whatsnew/3.11.rst:2502 msgid "" "``tracing``: changed, use :c:func:`PyThreadState_EnterTracing` and :c:func:" "`PyThreadState_LeaveTracing` (functions added to Python 3.11 by :issue:" "`43760`)." msgstr "" -#: whatsnew/3.11.rst:2504 +#: whatsnew/3.11.rst:2505 msgid "" "``recursion_depth``: removed, use ``(tstate->recursion_limit - tstate-" ">recursion_remaining)`` instead." msgstr "" -#: whatsnew/3.11.rst:2506 +#: whatsnew/3.11.rst:2507 msgid "``stackcheck_counter``: removed." msgstr "" -#: whatsnew/3.11.rst:2508 +#: whatsnew/3.11.rst:2509 msgid "Code defining ``PyThreadState_GetFrame()`` on Python 3.8 and older::" msgstr "" -#: whatsnew/3.11.rst:2518 +#: whatsnew/3.11.rst:2519 msgid "" "Code defining ``PyThreadState_EnterTracing()`` and " "``PyThreadState_LeaveTracing()`` on Python 3.10 and older::" msgstr "" -#: whatsnew/3.11.rst:2544 +#: whatsnew/3.11.rst:2545 msgid "" "Or use `the pythoncapi-compat project `__ to get these functions on old Python functions." msgstr "" -#: whatsnew/3.11.rst:2548 +#: whatsnew/3.11.rst:2549 msgid "" "Distributors are encouraged to build Python with the optimized Blake2 " "library `libb2`_." msgstr "" -#: whatsnew/3.11.rst:2551 +#: whatsnew/3.11.rst:2552 msgid "" "The :c:member:`PyConfig.module_search_paths_set` field must now be set to 1 " "for initialization to use :c:member:`PyConfig.module_search_paths` to " @@ -3845,7 +3845,7 @@ msgid "" "path and replace any values added to ``module_search_paths``." msgstr "" -#: whatsnew/3.11.rst:2556 +#: whatsnew/3.11.rst:2557 msgid "" ":c:func:`PyConfig_Read` no longer calculates the initial search path, and " "will not fill any values into :c:member:`PyConfig.module_search_paths`. To " @@ -3854,177 +3854,177 @@ msgid "" "object and modify it directly." msgstr "" -#: whatsnew/3.11.rst:2567 +#: whatsnew/3.11.rst:2568 msgid "" "Deprecate the following functions to configure the Python initialization:" msgstr "" -#: whatsnew/3.11.rst:2569 +#: whatsnew/3.11.rst:2570 msgid ":c:func:`!PySys_AddWarnOptionUnicode`" msgstr "" -#: whatsnew/3.11.rst:2570 +#: whatsnew/3.11.rst:2571 msgid ":c:func:`!PySys_AddWarnOption`" msgstr "" -#: whatsnew/3.11.rst:2571 +#: whatsnew/3.11.rst:2572 msgid ":c:func:`!PySys_AddXOption`" msgstr "" -#: whatsnew/3.11.rst:2572 +#: whatsnew/3.11.rst:2573 msgid ":c:func:`!PySys_HasWarnOptions`" msgstr "" -#: whatsnew/3.11.rst:2573 +#: whatsnew/3.11.rst:2574 msgid ":c:func:`!PySys_SetArgvEx`" msgstr "" -#: whatsnew/3.11.rst:2574 +#: whatsnew/3.11.rst:2575 msgid ":c:func:`!PySys_SetArgv`" msgstr "" -#: whatsnew/3.11.rst:2575 +#: whatsnew/3.11.rst:2576 msgid ":c:func:`!PySys_SetPath`" msgstr "" -#: whatsnew/3.11.rst:2576 +#: whatsnew/3.11.rst:2577 msgid ":c:func:`!Py_SetPath`" msgstr "" -#: whatsnew/3.11.rst:2577 +#: whatsnew/3.11.rst:2578 msgid ":c:func:`!Py_SetProgramName`" msgstr "" -#: whatsnew/3.11.rst:2578 +#: whatsnew/3.11.rst:2579 msgid ":c:func:`!Py_SetPythonHome`" msgstr "" -#: whatsnew/3.11.rst:2579 +#: whatsnew/3.11.rst:2580 msgid ":c:func:`!Py_SetStandardStreamEncoding`" msgstr "" -#: whatsnew/3.11.rst:2580 +#: whatsnew/3.11.rst:2581 msgid ":c:func:`!_Py_SetProgramFullPath`" msgstr "" -#: whatsnew/3.11.rst:2582 +#: whatsnew/3.11.rst:2583 msgid "" "Use the new :c:type:`PyConfig` API of the :ref:`Python Initialization " "Configuration ` instead (:pep:`587`). (Contributed by Victor " "Stinner in :gh:`88279`.)" msgstr "" -#: whatsnew/3.11.rst:2586 +#: whatsnew/3.11.rst:2587 msgid "" "Deprecate the ``ob_shash`` member of the :c:type:`PyBytesObject`. Use :c:" "func:`PyObject_Hash` instead. (Contributed by Inada Naoki in :issue:`46864`.)" msgstr "" -#: whatsnew/3.11.rst:2595 +#: whatsnew/3.11.rst:2596 msgid "" "The following C APIs have been deprecated in earlier Python releases, and " "will be removed in Python 3.12." msgstr "" -#: whatsnew/3.11.rst:2598 +#: whatsnew/3.11.rst:2599 msgid ":c:func:`!PyUnicode_AS_DATA`" msgstr "" -#: whatsnew/3.11.rst:2599 +#: whatsnew/3.11.rst:2600 msgid ":c:func:`!PyUnicode_AS_UNICODE`" msgstr "" -#: whatsnew/3.11.rst:2600 +#: whatsnew/3.11.rst:2601 msgid ":c:func:`!PyUnicode_AsUnicodeAndSize`" msgstr "" -#: whatsnew/3.11.rst:2601 +#: whatsnew/3.11.rst:2602 msgid ":c:func:`!PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.11.rst:2602 +#: whatsnew/3.11.rst:2603 msgid ":c:func:`!PyUnicode_FromUnicode`" msgstr "" -#: whatsnew/3.11.rst:2603 +#: whatsnew/3.11.rst:2604 msgid ":c:func:`!PyUnicode_GET_DATA_SIZE`" msgstr "" -#: whatsnew/3.11.rst:2604 +#: whatsnew/3.11.rst:2605 msgid ":c:func:`!PyUnicode_GET_SIZE`" msgstr "" -#: whatsnew/3.11.rst:2605 +#: whatsnew/3.11.rst:2606 msgid ":c:func:`!PyUnicode_GetSize`" msgstr "" -#: whatsnew/3.11.rst:2606 +#: whatsnew/3.11.rst:2607 msgid ":c:func:`PyUnicode_IS_COMPACT`" msgstr "" -#: whatsnew/3.11.rst:2607 +#: whatsnew/3.11.rst:2608 msgid ":c:func:`PyUnicode_IS_READY`" msgstr "" -#: whatsnew/3.11.rst:2608 +#: whatsnew/3.11.rst:2609 msgid ":c:func:`PyUnicode_READY`" msgstr "" -#: whatsnew/3.11.rst:2609 +#: whatsnew/3.11.rst:2610 msgid ":c:func:`!PyUnicode_WSTR_LENGTH`" msgstr "" -#: whatsnew/3.11.rst:2610 +#: whatsnew/3.11.rst:2611 msgid ":c:func:`!_PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.11.rst:2611 +#: whatsnew/3.11.rst:2612 msgid ":c:macro:`!PyUnicode_WCHAR_KIND`" msgstr "" -#: whatsnew/3.11.rst:2612 +#: whatsnew/3.11.rst:2613 msgid ":c:type:`PyUnicodeObject`" msgstr "" -#: whatsnew/3.11.rst:2613 +#: whatsnew/3.11.rst:2614 msgid ":c:func:`!PyUnicode_InternImmortal`" msgstr "" -#: whatsnew/3.11.rst:2621 +#: whatsnew/3.11.rst:2622 msgid "" ":c:func:`!PyFrame_BlockSetup` and :c:func:`!PyFrame_BlockPop` have been " "removed. (Contributed by Mark Shannon in :issue:`40222`.)" msgstr "" -#: whatsnew/3.11.rst:2625 +#: whatsnew/3.11.rst:2626 msgid "Remove the following math macros using the ``errno`` variable:" msgstr "" -#: whatsnew/3.11.rst:2627 +#: whatsnew/3.11.rst:2628 msgid "``Py_ADJUST_ERANGE1()``" msgstr "" -#: whatsnew/3.11.rst:2628 +#: whatsnew/3.11.rst:2629 msgid "``Py_ADJUST_ERANGE2()``" msgstr "" -#: whatsnew/3.11.rst:2629 +#: whatsnew/3.11.rst:2630 msgid "``Py_OVERFLOWED()``" msgstr "" -#: whatsnew/3.11.rst:2630 +#: whatsnew/3.11.rst:2631 msgid "``Py_SET_ERANGE_IF_OVERFLOW()``" msgstr "" -#: whatsnew/3.11.rst:2631 +#: whatsnew/3.11.rst:2632 msgid "``Py_SET_ERRNO_ON_MATH_ERROR()``" msgstr "" -#: whatsnew/3.11.rst:2633 +#: whatsnew/3.11.rst:2634 msgid "(Contributed by Victor Stinner in :issue:`45412`.)" msgstr "" -#: whatsnew/3.11.rst:2635 +#: whatsnew/3.11.rst:2636 msgid "" "Remove ``Py_UNICODE_COPY()`` and ``Py_UNICODE_FILL()`` macros, deprecated " "since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or ``memcpy()`` " @@ -4032,62 +4032,62 @@ msgid "" "(Contributed by Victor Stinner in :issue:`41123`.)" msgstr "" -#: whatsnew/3.11.rst:2640 +#: whatsnew/3.11.rst:2641 msgid "" "Remove the ``pystrhex.h`` header file. It only contains private functions. C " "extensions should only include the main ```` header file. " "(Contributed by Victor Stinner in :issue:`45434`.)" msgstr "" -#: whatsnew/3.11.rst:2644 +#: whatsnew/3.11.rst:2645 msgid "" "Remove the ``Py_FORCE_DOUBLE()`` macro. It was used by the " "``Py_IS_INFINITY()`` macro. (Contributed by Victor Stinner in :issue:" "`45440`.)" msgstr "" -#: whatsnew/3.11.rst:2648 +#: whatsnew/3.11.rst:2649 msgid "" "The following items are no longer available when :c:macro:`Py_LIMITED_API` " "is defined:" msgstr "" -#: whatsnew/3.11.rst:2651 +#: whatsnew/3.11.rst:2652 msgid ":c:func:`PyMarshal_WriteLongToFile`" msgstr "" -#: whatsnew/3.11.rst:2652 +#: whatsnew/3.11.rst:2653 msgid ":c:func:`PyMarshal_WriteObjectToFile`" msgstr "" -#: whatsnew/3.11.rst:2653 +#: whatsnew/3.11.rst:2654 msgid ":c:func:`PyMarshal_ReadObjectFromString`" msgstr "" -#: whatsnew/3.11.rst:2654 +#: whatsnew/3.11.rst:2655 msgid ":c:func:`PyMarshal_WriteObjectToString`" msgstr "" -#: whatsnew/3.11.rst:2655 +#: whatsnew/3.11.rst:2656 msgid "the ``Py_MARSHAL_VERSION`` macro" msgstr "" -#: whatsnew/3.11.rst:2657 +#: whatsnew/3.11.rst:2658 msgid "These are not part of the :ref:`limited API `." msgstr "" -#: whatsnew/3.11.rst:2659 +#: whatsnew/3.11.rst:2660 msgid "(Contributed by Victor Stinner in :issue:`45474`.)" msgstr "" -#: whatsnew/3.11.rst:2661 +#: whatsnew/3.11.rst:2662 msgid "" "Exclude :c:func:`PyWeakref_GET_OBJECT` from the limited C API. It never " "worked since the :c:type:`PyWeakReference` structure is opaque in the " "limited C API. (Contributed by Victor Stinner in :issue:`35134`.)" msgstr "" -#: whatsnew/3.11.rst:2666 +#: whatsnew/3.11.rst:2667 msgid "" "Remove the ``PyHeapType_GET_MEMBERS()`` macro. It was exposed in the public " "C API by mistake, it must only be used by Python internally. Use the " @@ -4095,76 +4095,76 @@ msgid "" "in :issue:`40170`.)" msgstr "" -#: whatsnew/3.11.rst:2671 +#: whatsnew/3.11.rst:2672 msgid "" "Remove the ``HAVE_PY_SET_53BIT_PRECISION`` macro (moved to the internal C " "API). (Contributed by Victor Stinner in :issue:`45412`.)" msgstr "" -#: whatsnew/3.11.rst:2677 +#: whatsnew/3.11.rst:2678 msgid "" "Remove the :c:type:`Py_UNICODE` encoder APIs, as they have been deprecated " "since Python 3.3, are little used and are inefficient relative to the " "recommended alternatives." msgstr "" -#: whatsnew/3.11.rst:2682 +#: whatsnew/3.11.rst:2683 msgid "The removed functions are:" msgstr "" -#: whatsnew/3.11.rst:2684 +#: whatsnew/3.11.rst:2685 msgid ":func:`!PyUnicode_Encode`" msgstr "" -#: whatsnew/3.11.rst:2685 +#: whatsnew/3.11.rst:2686 msgid ":func:`!PyUnicode_EncodeASCII`" msgstr "" -#: whatsnew/3.11.rst:2686 +#: whatsnew/3.11.rst:2687 msgid ":func:`!PyUnicode_EncodeLatin1`" msgstr "" -#: whatsnew/3.11.rst:2687 +#: whatsnew/3.11.rst:2688 msgid ":func:`!PyUnicode_EncodeUTF7`" msgstr "" -#: whatsnew/3.11.rst:2688 +#: whatsnew/3.11.rst:2689 msgid ":func:`!PyUnicode_EncodeUTF8`" msgstr "" -#: whatsnew/3.11.rst:2689 +#: whatsnew/3.11.rst:2690 msgid ":func:`!PyUnicode_EncodeUTF16`" msgstr "" -#: whatsnew/3.11.rst:2690 +#: whatsnew/3.11.rst:2691 msgid ":func:`!PyUnicode_EncodeUTF32`" msgstr "" -#: whatsnew/3.11.rst:2691 +#: whatsnew/3.11.rst:2692 msgid ":func:`!PyUnicode_EncodeUnicodeEscape`" msgstr "" -#: whatsnew/3.11.rst:2692 +#: whatsnew/3.11.rst:2693 msgid ":func:`!PyUnicode_EncodeRawUnicodeEscape`" msgstr "" -#: whatsnew/3.11.rst:2693 +#: whatsnew/3.11.rst:2694 msgid ":func:`!PyUnicode_EncodeCharmap`" msgstr "" -#: whatsnew/3.11.rst:2694 +#: whatsnew/3.11.rst:2695 msgid ":func:`!PyUnicode_TranslateCharmap`" msgstr "" -#: whatsnew/3.11.rst:2695 +#: whatsnew/3.11.rst:2696 msgid ":func:`!PyUnicode_EncodeDecimal`" msgstr "" -#: whatsnew/3.11.rst:2696 +#: whatsnew/3.11.rst:2697 msgid ":func:`!PyUnicode_TransformDecimalToASCII`" msgstr "" -#: whatsnew/3.11.rst:2698 +#: whatsnew/3.11.rst:2699 msgid "" "See :pep:`624` for details and :pep:`migration guidance <624#alternative-" "apis>`. (Contributed by Inada Naoki in :issue:`44029`.)" diff --git a/whatsnew/3.12.po b/whatsnew/3.12.po index 9dad4a6c3..6d519abb8 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-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -255,7 +255,7 @@ msgid "" "`_." msgstr "" -#: whatsnew/3.12.rst:1943 +#: whatsnew/3.12.rst:1952 msgid "New Features" msgstr "" @@ -1092,18 +1092,18 @@ msgstr "" 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 " -"*(typ, val, tb)* triplet. *onerror* is deprecated and will be removed in " -"Python 3.14. (Contributed by Irit Katriel in :gh:`102828`.)" +"*(typ, val, tb)* triplet. *onerror* is deprecated. (Contributed by Irit " +"Katriel in :gh:`102828`.)" msgstr "" -#: whatsnew/3.12.rst:845 +#: whatsnew/3.12.rst:844 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:850 +#: whatsnew/3.12.rst:849 msgid "" ":func:`shutil.which` will call ``NeedCurrentDirectoryForExePathW`` when " "querying for executables on Windows to determine if the current working " @@ -1111,7 +1111,7 @@ msgid "" "Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:855 +#: whatsnew/3.12.rst:854 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 " @@ -1122,13 +1122,13 @@ msgstr "" msgid "sqlite3" msgstr "" -#: whatsnew/3.12.rst:863 +#: whatsnew/3.12.rst:862 msgid "" "Add a :ref:`command-line interface `. (Contributed by Erlend E. " "Aasland in :gh:`77617`.)" msgstr "" -#: whatsnew/3.12.rst:866 +#: whatsnew/3.12.rst:865 msgid "" "Add the :attr:`sqlite3.Connection.autocommit` attribute to :class:`sqlite3." "Connection` and the *autocommit* parameter to :func:`sqlite3.connect` to " @@ -1136,43 +1136,43 @@ msgid "" "control-autocommit>`. (Contributed by Erlend E. Aasland in :gh:`83638`.)" msgstr "" -#: whatsnew/3.12.rst:873 +#: whatsnew/3.12.rst:872 msgid "" "Add *entrypoint* keyword-only parameter to :meth:`sqlite3.Connection." "load_extension`, for overriding the SQLite extension entry point. " "(Contributed by Erlend E. Aasland in :gh:`103015`.)" msgstr "" -#: whatsnew/3.12.rst:878 +#: whatsnew/3.12.rst:877 msgid "" "Add :meth:`sqlite3.Connection.getconfig` and :meth:`sqlite3.Connection." "setconfig` to :class:`sqlite3.Connection` to make configuration changes to a " "database connection. (Contributed by Erlend E. Aasland in :gh:`103489`.)" msgstr "" -#: whatsnew/3.12.rst:884 +#: whatsnew/3.12.rst:883 msgid "statistics" msgstr "" -#: whatsnew/3.12.rst:886 +#: whatsnew/3.12.rst:885 msgid "" "Extend :func:`statistics.correlation` to include as a ``ranked`` method for " "computing the Spearman correlation of ranked data. (Contributed by Raymond " "Hettinger in :gh:`95861`.)" msgstr "" -#: whatsnew/3.12.rst:891 +#: whatsnew/3.12.rst:890 msgid "sys" msgstr "" -#: whatsnew/3.12.rst:893 +#: whatsnew/3.12.rst:892 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:897 +#: whatsnew/3.12.rst:896 msgid "" "Add :func:`sys.activate_stack_trampoline` and :func:`sys." "deactivate_stack_trampoline` for activating and deactivating stack profiler " @@ -1182,7 +1182,7 @@ msgid "" "Shannon in :gh:`96123`.)" msgstr "" -#: whatsnew/3.12.rst:906 +#: whatsnew/3.12.rst:905 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 " @@ -1198,7 +1198,7 @@ msgid "" "by Irit Katriel in :gh:`103176`.)" msgstr "" -#: whatsnew/3.12.rst:916 +#: whatsnew/3.12.rst:915 msgid "" ":func:`sys.setrecursionlimit` and :func:`sys.getrecursionlimit`. The " "recursion limit now applies only to Python code. Builtin functions do not " @@ -1206,27 +1206,27 @@ msgid "" "prevents recursion from causing a virtual machine crash." msgstr "" -#: whatsnew/3.12.rst:922 +#: whatsnew/3.12.rst:921 msgid "tempfile" msgstr "" -#: whatsnew/3.12.rst:924 +#: whatsnew/3.12.rst:923 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:926 +#: whatsnew/3.12.rst:925 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:932 +#: whatsnew/3.12.rst:931 msgid "threading" msgstr "" -#: whatsnew/3.12.rst:934 +#: whatsnew/3.12.rst:933 msgid "" "Add :func:`threading.settrace_all_threads` and :func:`threading." "setprofile_all_threads` that allow to set tracing and profiling functions in " @@ -1234,11 +1234,11 @@ msgid "" "Galindo in :gh:`93503`.)" msgstr "" -#: whatsnew/3.12.rst:940 +#: whatsnew/3.12.rst:939 msgid "tkinter" msgstr "" -#: whatsnew/3.12.rst:942 +#: whatsnew/3.12.rst:941 msgid "" "``tkinter.Canvas.coords()`` now flattens its arguments. It now accepts not " "only coordinates as separate arguments (``x1, y1, x2, y2, ...``) and a " @@ -1248,11 +1248,11 @@ msgid "" "in :gh:`94473`.)" msgstr "" -#: whatsnew/3.12.rst:951 +#: whatsnew/3.12.rst:950 msgid "tokenize" msgstr "" -#: whatsnew/3.12.rst:953 +#: whatsnew/3.12.rst:952 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 :" @@ -1260,22 +1260,22 @@ msgid "" "to the :mod:`tokenize` module." msgstr "" -#: whatsnew/3.12.rst:959 +#: whatsnew/3.12.rst:958 msgid "types" msgstr "" -#: whatsnew/3.12.rst:961 +#: whatsnew/3.12.rst:960 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:966 +#: whatsnew/3.12.rst:965 msgid "typing" msgstr "" -#: whatsnew/3.12.rst:968 +#: whatsnew/3.12.rst:967 msgid "" ":func:`isinstance` checks against :func:`runtime-checkable protocols ` now use :func:`inspect.getattr_static` rather than :func:" @@ -1288,7 +1288,7 @@ msgid "" "affected by this change. (Contributed by Alex Waygood in :gh:`102433`.)" msgstr "" -#: whatsnew/3.12.rst:979 +#: whatsnew/3.12.rst:978 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 " @@ -1296,13 +1296,13 @@ msgid "" "on :func:`isinstance` checks comparing objects to the protocol. For example::" msgstr "" -#: whatsnew/3.12.rst:1001 +#: whatsnew/3.12.rst:1000 msgid "" "This change was made in order to speed up ``isinstance()`` checks against " "runtime-checkable protocols." msgstr "" -#: whatsnew/3.12.rst:1004 +#: whatsnew/3.12.rst:1003 msgid "" "The performance profile of :func:`isinstance` checks against :func:`runtime-" "checkable protocols ` has changed significantly. " @@ -1313,24 +1313,24 @@ msgid "" "in :gh:`74690` and :gh:`103193`.)" msgstr "" -#: whatsnew/3.12.rst:1012 +#: whatsnew/3.12.rst:1011 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:1016 +#: whatsnew/3.12.rst:1015 msgid "" "Add ``frozen_default`` parameter to :func:`typing.dataclass_transform`. " "(Contributed by Erik De Bonte in :gh:`99957`.)" msgstr "" -#: whatsnew/3.12.rst:1020 +#: whatsnew/3.12.rst:1019 msgid "unicodedata" msgstr "" -#: whatsnew/3.12.rst:1022 +#: whatsnew/3.12.rst:1021 msgid "" "The Unicode database has been updated to version 15.0.0. (Contributed by " "Benjamin Peterson in :gh:`96734`)." @@ -1340,44 +1340,44 @@ msgstr "" msgid "unittest" msgstr "" -#: whatsnew/3.12.rst:1028 +#: whatsnew/3.12.rst:1027 msgid "" "Add a ``--durations`` command line option, showing the N slowest test cases::" msgstr "" -#: whatsnew/3.12.rst:1044 +#: whatsnew/3.12.rst:1043 msgid "(Contributed by Giampaolo Rodola in :gh:`48330`)" msgstr "" -#: whatsnew/3.12.rst:1047 +#: whatsnew/3.12.rst:1046 msgid "uuid" msgstr "" -#: whatsnew/3.12.rst:1049 +#: whatsnew/3.12.rst:1048 msgid "" "Add a :ref:`command-line interface `. (Contributed by Adam Chhina " "in :gh:`88597`.)" msgstr "" -#: whatsnew/3.12.rst:1054 +#: whatsnew/3.12.rst:1053 msgid "Optimizations" msgstr "" -#: whatsnew/3.12.rst:1056 +#: whatsnew/3.12.rst:1055 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:1060 +#: whatsnew/3.12.rst:1059 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:1064 +#: whatsnew/3.12.rst:1063 msgid "" "Speed up the regular expression substitution (functions :func:`re.sub` and :" "func:`re.subn` and corresponding :class:`!re.Pattern` methods) for " @@ -1385,13 +1385,13 @@ msgid "" "by Serhiy Storchaka in :gh:`91524`.)" msgstr "" -#: whatsnew/3.12.rst:1069 +#: whatsnew/3.12.rst:1068 msgid "" "Speed up :class:`asyncio.Task` creation by deferring expensive string " "formatting. (Contributed by Itamar Oren in :gh:`103793`.)" msgstr "" -#: whatsnew/3.12.rst:1072 +#: whatsnew/3.12.rst:1071 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:" @@ -1399,18 +1399,18 @@ msgid "" "Pablo Galindo in :gh:`102856`.)" msgstr "" -#: whatsnew/3.12.rst:1077 +#: whatsnew/3.12.rst:1076 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:1083 +#: whatsnew/3.12.rst:1082 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.12.rst:1085 +#: whatsnew/3.12.rst:1084 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:" @@ -1418,62 +1418,62 @@ msgid "" "by Ken Jin in :gh:`93429`.)" msgstr "" -#: whatsnew/3.12.rst:1090 +#: whatsnew/3.12.rst:1089 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:1093 +#: whatsnew/3.12.rst:1092 msgid "" "Remove the :opcode:`!PRECALL` instruction. (Contributed by Mark Shannon in :" "gh:`92925`.)" msgstr "" -#: whatsnew/3.12.rst:1096 +#: whatsnew/3.12.rst:1095 msgid "" "Add the :opcode:`BINARY_SLICE` and :opcode:`STORE_SLICE` instructions. " "(Contributed by Mark Shannon in :gh:`94163`.)" msgstr "" -#: whatsnew/3.12.rst:1099 +#: whatsnew/3.12.rst:1098 msgid "" "Add the :opcode:`CALL_INTRINSIC_1` instructions. (Contributed by Mark " "Shannon in :gh:`99005`.)" msgstr "" -#: whatsnew/3.12.rst:1102 +#: whatsnew/3.12.rst:1101 msgid "" "Add the :opcode:`CALL_INTRINSIC_2` instruction. (Contributed by Irit Katriel " "in :gh:`101799`.)" msgstr "" -#: whatsnew/3.12.rst:1105 +#: whatsnew/3.12.rst:1104 msgid "" "Add the :opcode:`CLEANUP_THROW` instruction. (Contributed by Brandt Bucher " "in :gh:`90997`.)" msgstr "" -#: whatsnew/3.12.rst:1108 +#: whatsnew/3.12.rst:1107 msgid "" "Add the :opcode:`!END_SEND` instruction. (Contributed by Mark Shannon in :gh:" "`103082`.)" msgstr "" -#: whatsnew/3.12.rst:1111 +#: whatsnew/3.12.rst:1110 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:1114 +#: whatsnew/3.12.rst:1113 msgid "" "Add the :opcode:`LOAD_FAST_CHECK` instruction. (Contributed by Dennis " "Sweeney in :gh:`93143`.)" msgstr "" -#: whatsnew/3.12.rst:1117 +#: whatsnew/3.12.rst:1116 msgid "" "Add the :opcode:`LOAD_FROM_DICT_OR_DEREF`, :opcode:" "`LOAD_FROM_DICT_OR_GLOBALS`, and :opcode:`LOAD_LOCALS` opcodes as part of " @@ -1482,48 +1482,48 @@ msgid "" "`LOAD_FROM_DICT_OR_DEREF`. (Contributed by Jelle Zijlstra in :gh:`103764`.)" msgstr "" -#: whatsnew/3.12.rst:1123 +#: whatsnew/3.12.rst:1122 msgid "" "Add the :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer " "and Vladimir Matveev in :gh:`103497`.)" msgstr "" -#: whatsnew/3.12.rst:1126 +#: whatsnew/3.12.rst:1125 msgid "" "Add the :opcode:`RETURN_CONST` instruction. (Contributed by Wenyang Wang in :" "gh:`101632`.)" msgstr "" -#: whatsnew/3.12.rst:1129 +#: whatsnew/3.12.rst:1128 msgid "Demos and Tools" msgstr "" -#: whatsnew/3.12.rst:1131 +#: whatsnew/3.12.rst:1130 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:1136 +#: whatsnew/3.12.rst:1135 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:2245 +#: whatsnew/3.12.rst:2254 msgid "Deprecated" msgstr "" -#: whatsnew/3.12.rst:1145 +#: whatsnew/3.12.rst:1144 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:1150 +#: whatsnew/3.12.rst:1149 msgid "" ":mod:`ast`: The following :mod:`ast` features have been deprecated in " "documentation since Python 3.8, now cause a :exc:`DeprecationWarning` to be " @@ -1551,7 +1551,7 @@ msgstr "" msgid ":class:`!ast.Ellipsis`" msgstr "" -#: whatsnew/3.12.rst:1160 +#: whatsnew/3.12.rst:1159 msgid "" "Use :class:`ast.Constant` instead. (Contributed by Serhiy Storchaka in :gh:" "`90953`.)" @@ -1561,7 +1561,7 @@ msgstr "" msgid ":mod:`asyncio`:" msgstr "" -#: whatsnew/3.12.rst:1165 +#: whatsnew/3.12.rst:1164 msgid "" "The child watcher classes :class:`asyncio.MultiLoopChildWatcher`, :class:" "`asyncio.FastChildWatcher`, :class:`asyncio.AbstractChildWatcher` and :class:" @@ -1569,7 +1569,7 @@ msgid "" "3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:1171 +#: whatsnew/3.12.rst:1170 msgid "" ":func:`asyncio.set_child_watcher`, :func:`asyncio.get_child_watcher`, :meth:" "`asyncio.AbstractEventLoopPolicy.set_child_watcher` and :meth:`asyncio." @@ -1577,7 +1577,7 @@ msgid "" "removed in Python 3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:1177 +#: whatsnew/3.12.rst:1176 msgid "" "The :meth:`~asyncio.get_event_loop` method of the default event loop policy " "now emits a :exc:`DeprecationWarning` if there is no current event loop set " @@ -1585,14 +1585,14 @@ msgid "" "Rossum in :gh:`100160`.)" msgstr "" -#: whatsnew/3.12.rst:1182 +#: whatsnew/3.12.rst:1181 msgid "" ":mod:`calendar`: ``calendar.January`` and ``calendar.February`` constants " "are deprecated and replaced by :data:`calendar.JANUARY` and :data:`calendar." "FEBRUARY`. (Contributed by Prince Roshan in :gh:`103636`.)" msgstr "" -#: whatsnew/3.12.rst:1186 +#: whatsnew/3.12.rst:1185 msgid "" ":mod:`collections.abc`: Deprecated :class:`collections.abc.ByteString`. " "Prefer :class:`Sequence` or :class:`collections.abc.Buffer`. For use in " @@ -1600,7 +1600,7 @@ msgid "" "abc.Buffer`. (Contributed by Shantanu Jain in :gh:`91896`.)" msgstr "" -#: whatsnew/3.12.rst:1191 +#: whatsnew/3.12.rst:1190 msgid "" ":mod:`datetime`: :class:`datetime.datetime`'s :meth:`~datetime.datetime." "utcnow` and :meth:`~datetime.datetime.utcfromtimestamp` are deprecated and " @@ -1610,13 +1610,13 @@ msgid "" "set to :const:`datetime.UTC`. (Contributed by Paul Ganssle in :gh:`103857`.)" msgstr "" -#: whatsnew/3.12.rst:1199 +#: whatsnew/3.12.rst:1198 msgid "" ":mod:`email`: Deprecate the *isdst* parameter in :func:`email.utils." "localtime`. (Contributed by Alan Williams in :gh:`72346`.)" msgstr "" -#: whatsnew/3.12.rst:1202 +#: whatsnew/3.12.rst:1201 msgid "" ":mod:`importlib.abc`: Deprecated the following classes, scheduled for " "removal in Python 3.14:" @@ -1634,23 +1634,23 @@ msgstr "" msgid ":class:`!importlib.abc.TraversableResources`" msgstr "" -#: whatsnew/3.12.rst:1209 +#: whatsnew/3.12.rst:1208 msgid "Use :mod:`importlib.resources.abc` classes instead:" msgstr "" -#: whatsnew/3.12.rst:1211 +#: whatsnew/3.12.rst:1210 msgid ":class:`importlib.resources.abc.Traversable`" msgstr "" -#: whatsnew/3.12.rst:1212 +#: whatsnew/3.12.rst:1211 msgid ":class:`importlib.resources.abc.TraversableResources`" msgstr "" -#: whatsnew/3.12.rst:1214 +#: whatsnew/3.12.rst:1213 msgid "(Contributed by Jason R. Coombs and Hugo van Kemenade in :gh:`93963`.)" msgstr "" -#: whatsnew/3.12.rst:1216 +#: whatsnew/3.12.rst:1215 msgid "" ":mod:`itertools`: Deprecate the support for copy, deepcopy, and pickle " "operations, which is undocumented, inefficient, historically buggy, and " @@ -1659,7 +1659,7 @@ msgid "" "`101588`.)" msgstr "" -#: whatsnew/3.12.rst:1222 +#: whatsnew/3.12.rst:1221 msgid "" ":mod:`multiprocessing`: In Python 3.14, the default :mod:`multiprocessing` " "start method will change to a safer one on Linux, BSDs, and other non-macOS " @@ -1671,14 +1671,14 @@ msgid "" "methods `." msgstr "" -#: whatsnew/3.12.rst:1232 +#: whatsnew/3.12.rst:1231 msgid "" ":mod:`pkgutil`: :func:`pkgutil.find_loader` and :func:`pkgutil.get_loader` " "are deprecated and will be removed in Python 3.14; use :func:`importlib.util." "find_spec` instead. (Contributed by Nikita Sobolev in :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1237 +#: whatsnew/3.12.rst:1236 msgid "" ":mod:`pty`: The module has two undocumented ``master_open()`` and " "``slave_open()`` functions that have been deprecated since Python 2 but only " @@ -1686,11 +1686,11 @@ msgid "" "(Contributed by Soumendra Ganguly and Gregory P. Smith in :gh:`85984`.)" msgstr "" -#: whatsnew/3.12.rst:1242 +#: whatsnew/3.12.rst:1241 msgid ":mod:`os`:" msgstr "" -#: whatsnew/3.12.rst:1244 +#: whatsnew/3.12.rst:1243 msgid "" "The ``st_ctime`` fields return by :func:`os.stat` and :func:`os.lstat` on " "Windows are deprecated. In a future release, they will contain the last " @@ -1699,7 +1699,7 @@ msgid "" "``st_birthtime`` field. (Contributed by Steve Dower in :gh:`99726`.)" msgstr "" -#: whatsnew/3.12.rst:1250 +#: whatsnew/3.12.rst:1249 msgid "" "On POSIX platforms, :func:`os.fork` can now raise a :exc:" "`DeprecationWarning` when it can detect being called from a multithreaded " @@ -1712,32 +1712,32 @@ msgid "" "longstanding platform compatibility problem to developers." msgstr "" -#: whatsnew/3.12.rst:1260 +#: whatsnew/3.12.rst:1259 msgid "" "When this warning appears due to usage of :mod:`multiprocessing` or :mod:" "`concurrent.futures` the fix is to use a different :mod:`multiprocessing` " "start method such as ``\"spawn\"`` or ``\"forkserver\"``." msgstr "" -#: whatsnew/3.12.rst:1264 +#: whatsnew/3.12.rst:1263 msgid "" -":mod:`shutil`: The *onerror* argument of :func:`shutil.rmtree` is deprecated " -"and will be removed in Python 3.14. Use *onexc* instead. (Contributed by " -"Irit Katriel in :gh:`102828`.)" +":mod:`shutil`: The *onerror* argument of :func:`shutil.rmtree` is " +"deprecated; use *onexc* instead. (Contributed by Irit Katriel in :gh:" +"`102828`.)" msgstr "" -#: whatsnew/3.12.rst:1267 +#: whatsnew/3.12.rst:1266 msgid ":mod:`sqlite3`:" msgstr "" -#: whatsnew/3.12.rst:1269 +#: whatsnew/3.12.rst:1268 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:1275 +#: whatsnew/3.12.rst:1274 msgid "" "In :meth:`~sqlite3.Cursor.execute`, :exc:`DeprecationWarning` is now emitted " "when :ref:`named placeholders ` are used together with " @@ -1747,39 +1747,39 @@ msgid "" "Erlend E. Aasland in :gh:`101698`.)" msgstr "" -#: whatsnew/3.12.rst:1282 +#: whatsnew/3.12.rst:1281 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:1286 +#: whatsnew/3.12.rst:1285 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:1290 +#: whatsnew/3.12.rst:1289 msgid ":mod:`typing`:" msgstr "" -#: whatsnew/3.12.rst:1292 +#: whatsnew/3.12.rst:1291 msgid "" ":class:`typing.Hashable` and :class:`typing.Sized`, aliases for :class:" "`collections.abc.Hashable` and :class:`collections.abc.Sized` respectively, " "are deprecated. (:gh:`94309`.)" msgstr "" -#: whatsnew/3.12.rst:1296 +#: whatsnew/3.12.rst:1295 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:1300 +#: whatsnew/3.12.rst:1299 msgid "" ":mod:`xml.etree.ElementTree`: The module now emits :exc:`DeprecationWarning` " "when testing the truth value of an :class:`xml.etree.ElementTree.Element`. " @@ -1787,7 +1787,7 @@ msgid "" "implementation emitted nothing. (Contributed by Jacob Walls in :gh:`83122`.)" msgstr "" -#: whatsnew/3.12.rst:1306 +#: whatsnew/3.12.rst:1305 msgid "" "The 3-arg signatures (type, value, traceback) of :meth:`coroutine throw() " "`, :meth:`generator throw() ` and :meth:" @@ -1796,21 +1796,21 @@ msgid "" "instead. (Contributed by Ofey Chan in :gh:`89874`.)" msgstr "" -#: whatsnew/3.12.rst:1312 +#: whatsnew/3.12.rst:1311 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:1317 +#: whatsnew/3.12.rst:1316 msgid "" "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:1321 +#: whatsnew/3.12.rst:1320 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. " @@ -1819,12 +1819,12 @@ msgid "" "Tim Hoffmann in :gh:`103487`.)" msgstr "" -#: whatsnew/3.12.rst:1327 +#: whatsnew/3.12.rst:1326 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`.)" +"Accessing :attr:`~codeobject.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:1333 @@ -1965,7 +1965,7 @@ msgstr "" msgid ":class:`classmethod` descriptor chaining (:gh:`89519`)" msgstr "" -#: whatsnew/3.12.rst:2332 +#: whatsnew/3.12.rst:2341 msgid "Pending Removal in Python 3.14" msgstr "" @@ -2075,10 +2075,10 @@ msgid "The ``__package__`` and ``__cached__`` attributes on module objects." msgstr "" #: whatsnew/3.12.rst:1434 -msgid "The ``co_lnotab`` attribute of code objects." +msgid "The :attr:`~codeobject.co_lnotab` attribute of code objects." msgstr "" -#: whatsnew/3.12.rst:2369 +#: whatsnew/3.12.rst:2378 msgid "Pending Removal in Python 3.15" msgstr "" @@ -2091,7 +2091,7 @@ msgstr "" msgid ":func:`locale.getdefaultlocale` (:gh:`90817`)" msgstr "" -#: whatsnew/3.12.rst:2387 +#: whatsnew/3.12.rst:2396 msgid "Pending Removal in Future Versions" msgstr "" @@ -2121,7 +2121,7 @@ msgid "" "syntax error. (:gh:`87999`)" msgstr "" -#: whatsnew/3.12.rst:2419 +#: whatsnew/3.12.rst:2428 msgid "Removed" msgstr "" @@ -2765,7 +2765,7 @@ msgid "" "`ctypes` module. (Contributed by Nikita Sobolev in :gh:`99285`.)" msgstr "" -#: whatsnew/3.12.rst:2105 +#: whatsnew/3.12.rst:2114 msgid "Porting to Python 3.12" msgstr "" @@ -2909,11 +2909,24 @@ msgid "" "anymore and will raise a :exc:`TabError`." msgstr "" -#: whatsnew/3.12.rst:1899 +#: whatsnew/3.12.rst:1898 +msgid "" +"The :mod:`threading` module now expects the :mod:`!_thread` module to have " +"an ``_is_main_interpreter`` attribute. It is a function with no arguments " +"that returns ``True`` if the current interpreter is the main interpreter." +msgstr "" + +#: whatsnew/3.12.rst:1903 +msgid "" +"Any library or application that provides a custom ``_thread`` module should " +"provide ``_is_main_interpreter()``. (See :gh:`112826`.)" +msgstr "" + +#: whatsnew/3.12.rst:1908 msgid "Build Changes" msgstr "" -#: whatsnew/3.12.rst:1901 +#: whatsnew/3.12.rst:1910 msgid "" "Python no longer uses :file:`setup.py` to build shared C extension modules. " "Build parameters like headers and libraries are detected in ``configure`` " @@ -2922,21 +2935,21 @@ msgid "" "in :gh:`93939`.)" msgstr "" -#: whatsnew/3.12.rst:1907 +#: whatsnew/3.12.rst:1916 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:1912 +#: whatsnew/3.12.rst:1921 msgid "" "CPython now uses the ThinLTO option as the default link time optimization " "policy if the Clang compiler accepts the flag. (Contributed by Donghee Na " "in :gh:`89536`.)" msgstr "" -#: whatsnew/3.12.rst:1916 +#: whatsnew/3.12.rst:1925 msgid "" "Add ``COMPILEALL_OPTS`` variable in :file:`Makefile` to override :mod:" "`compileall` options (default: ``-j0``) in ``make install``. Also merged the " @@ -2945,46 +2958,46 @@ msgid "" "`99289`.)" msgstr "" -#: whatsnew/3.12.rst:1922 +#: whatsnew/3.12.rst:1931 msgid "Add platform triplets for 64-bit LoongArch:" msgstr "" -#: whatsnew/3.12.rst:1924 +#: whatsnew/3.12.rst:1933 msgid "loongarch64-linux-gnusf" msgstr "" -#: whatsnew/3.12.rst:1925 +#: whatsnew/3.12.rst:1934 msgid "loongarch64-linux-gnuf32" msgstr "" -#: whatsnew/3.12.rst:1926 +#: whatsnew/3.12.rst:1935 msgid "loongarch64-linux-gnu" msgstr "" -#: whatsnew/3.12.rst:1928 +#: whatsnew/3.12.rst:1937 msgid "(Contributed by Zhang Na in :gh:`90656`.)" msgstr "" -#: whatsnew/3.12.rst:1930 +#: whatsnew/3.12.rst:1939 msgid "``PYTHON_FOR_REGEN`` now require Python 3.10 or newer." msgstr "" -#: whatsnew/3.12.rst:1932 +#: whatsnew/3.12.rst:1941 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:1936 +#: whatsnew/3.12.rst:1945 msgid "" "Windows builds and macOS installers from python.org now use OpenSSL 3.0." msgstr "" -#: whatsnew/3.12.rst:1940 +#: whatsnew/3.12.rst:1949 msgid "C API Changes" msgstr "" -#: whatsnew/3.12.rst:1947 +#: whatsnew/3.12.rst:1956 msgid "" ":pep:`697`: Introduce the :ref:`Unstable C API tier `, " "intended for low-level tools like debuggers and JIT compilers. This API may " @@ -2992,84 +3005,84 @@ msgid "" "contents are marked by the ``PyUnstable_`` prefix in names." msgstr "" -#: whatsnew/3.12.rst:1953 +#: whatsnew/3.12.rst:1962 msgid "Code object constructors:" msgstr "" -#: whatsnew/3.12.rst:1955 +#: whatsnew/3.12.rst:1964 msgid "``PyUnstable_Code_New()`` (renamed from ``PyCode_New``)" msgstr "" -#: whatsnew/3.12.rst:1956 +#: whatsnew/3.12.rst:1965 msgid "" "``PyUnstable_Code_NewWithPosOnlyArgs()`` (renamed from " "``PyCode_NewWithPosOnlyArgs``)" msgstr "" -#: whatsnew/3.12.rst:1958 +#: whatsnew/3.12.rst:1967 msgid "Extra storage for code objects (:pep:`523`):" msgstr "" -#: whatsnew/3.12.rst:1960 +#: whatsnew/3.12.rst:1969 msgid "" "``PyUnstable_Eval_RequestCodeExtraIndex()`` (renamed from " "``_PyEval_RequestCodeExtraIndex``)" msgstr "" -#: whatsnew/3.12.rst:1961 +#: whatsnew/3.12.rst:1970 msgid "``PyUnstable_Code_GetExtra()`` (renamed from ``_PyCode_GetExtra``)" msgstr "" -#: whatsnew/3.12.rst:1962 +#: whatsnew/3.12.rst:1971 msgid "``PyUnstable_Code_SetExtra()`` (renamed from ``_PyCode_SetExtra``)" msgstr "" -#: whatsnew/3.12.rst:1964 +#: whatsnew/3.12.rst:1973 msgid "" "The original names will continue to be available until the respective API " "changes." msgstr "" -#: whatsnew/3.12.rst:1967 +#: whatsnew/3.12.rst:1976 msgid "(Contributed by Petr Viktorin in :gh:`101101`.)" msgstr "" -#: whatsnew/3.12.rst:1969 +#: whatsnew/3.12.rst:1978 msgid "" ":pep:`697`: Add an API for extending types whose instance memory layout is " "opaque:" msgstr "" -#: whatsnew/3.12.rst:1972 +#: whatsnew/3.12.rst:1981 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:1974 +#: whatsnew/3.12.rst:1983 msgid "" ":c:func:`PyObject_GetTypeData` and :c:func:`PyType_GetTypeDataSize` added to " "allow access to subclass-specific instance data." msgstr "" -#: whatsnew/3.12.rst:1976 +#: whatsnew/3.12.rst:1985 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:1979 +#: whatsnew/3.12.rst:1988 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:1982 +#: whatsnew/3.12.rst:1991 msgid "(Contributed by Petr Viktorin in :gh:`103509`.)" msgstr "" -#: whatsnew/3.12.rst:1984 +#: whatsnew/3.12.rst:1993 msgid "" "Add the new :ref:`limited C API ` function :c:func:" "`PyType_FromMetaclass`, which generalizes the existing :c:func:" @@ -3077,29 +3090,29 @@ msgid "" "(Contributed by Wenzel Jakob in :gh:`93012`.)" msgstr "" -#: whatsnew/3.12.rst:1989 +#: whatsnew/3.12.rst:1998 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:1993 +#: whatsnew/3.12.rst:2002 msgid ":c:macro:`Py_TPFLAGS_HAVE_VECTORCALL`" msgstr "" -#: whatsnew/3.12.rst:1994 +#: whatsnew/3.12.rst:2003 msgid ":c:func:`PyVectorcall_NARGS`" msgstr "" -#: whatsnew/3.12.rst:1995 +#: whatsnew/3.12.rst:2004 msgid ":c:func:`PyVectorcall_Call`" msgstr "" -#: whatsnew/3.12.rst:1996 +#: whatsnew/3.12.rst:2005 msgid ":c:type:`vectorcallfunc`" msgstr "" -#: whatsnew/3.12.rst:1998 +#: whatsnew/3.12.rst:2007 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 " @@ -3110,7 +3123,7 @@ msgid "" "`93274`.)" msgstr "" -#: whatsnew/3.12.rst:2006 +#: whatsnew/3.12.rst:2015 msgid "" "The :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:macro:" "`Py_TPFLAGS_MANAGED_WEAKREF` flags have been added. This allows extensions " @@ -3118,32 +3131,32 @@ msgid "" "using less memory and with faster access." msgstr "" -#: whatsnew/3.12.rst:2011 +#: whatsnew/3.12.rst:2020 msgid "" "API for performing calls using :ref:`the vectorcall protocol ` " "was added to the :ref:`Limited API `:" msgstr "" -#: whatsnew/3.12.rst:2015 +#: whatsnew/3.12.rst:2024 msgid ":c:func:`PyObject_Vectorcall`" msgstr "" -#: whatsnew/3.12.rst:2016 +#: whatsnew/3.12.rst:2025 msgid ":c:func:`PyObject_VectorcallMethod`" msgstr "" -#: whatsnew/3.12.rst:2017 +#: whatsnew/3.12.rst:2026 msgid ":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`" msgstr "" -#: whatsnew/3.12.rst:2019 +#: whatsnew/3.12.rst:2028 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:2023 +#: whatsnew/3.12.rst:2032 msgid "" "Add two new public functions, :c:func:`PyEval_SetProfileAllThreads` and :c:" "func:`PyEval_SetTraceAllThreads`, that allow to set tracing and profiling " @@ -3151,14 +3164,14 @@ msgid "" "(Contributed by Pablo Galindo in :gh:`93503`.)" msgstr "" -#: whatsnew/3.12.rst:2029 +#: whatsnew/3.12.rst:2038 msgid "" "Add new function :c:func:`PyFunction_SetVectorcall` to the C API which sets " "the vectorcall field of a given :c:type:`PyFunctionObject`. (Contributed by " "Andrew Frost in :gh:`92257`.)" msgstr "" -#: whatsnew/3.12.rst:2033 +#: whatsnew/3.12.rst:2042 msgid "" "The C API now permits registering callbacks via :c:func:" "`PyDict_AddWatcher`, :c:func:`PyDict_Watch` and related APIs to be called " @@ -3167,28 +3180,28 @@ msgid "" "`91052`.)" msgstr "" -#: whatsnew/3.12.rst:2039 +#: whatsnew/3.12.rst:2048 msgid "" "Add :c:func:`PyType_AddWatcher` and :c:func:`PyType_Watch` API to register " "callbacks to receive notification on changes to a type. (Contributed by Carl " "Meyer in :gh:`91051`.)" msgstr "" -#: whatsnew/3.12.rst:2043 +#: whatsnew/3.12.rst:2052 msgid "" "Add :c:func:`PyCode_AddWatcher` and :c:func:`PyCode_ClearWatcher` APIs to " "register callbacks to receive notification on creation and destruction of " "code objects. (Contributed by Itamar Oren in :gh:`91054`.)" msgstr "" -#: whatsnew/3.12.rst:2048 +#: whatsnew/3.12.rst:2057 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:2052 +#: whatsnew/3.12.rst:2061 msgid "" "Add :c:func:`PyErr_GetRaisedException` and :c:func:" "`PyErr_SetRaisedException` for saving and restoring the current exception. " @@ -3198,14 +3211,14 @@ msgid "" "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2060 +#: whatsnew/3.12.rst:2069 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:2064 +#: whatsnew/3.12.rst:2073 msgid "" "Add :c:func:`PyException_GetArgs` and :c:func:`PyException_SetArgs` as " "convenience functions for retrieving and modifying the :attr:`~BaseException." @@ -3213,71 +3226,71 @@ msgid "" "in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2069 +#: whatsnew/3.12.rst:2078 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:2075 +#: whatsnew/3.12.rst:2084 msgid "" ":pep:`683`: Introduce *Immortal Objects*, which allows objects to bypass " "reference counts, and related changes to the C-API:" msgstr "" -#: whatsnew/3.12.rst:2078 +#: whatsnew/3.12.rst:2087 msgid "``_Py_IMMORTAL_REFCNT``: The reference count that defines an object" msgstr "" -#: whatsnew/3.12.rst:2079 +#: whatsnew/3.12.rst:2088 msgid "as immortal." msgstr "" -#: whatsnew/3.12.rst:2080 +#: whatsnew/3.12.rst:2089 msgid "" "``_Py_IsImmortal`` Checks if an object has the immortal reference count." msgstr "" -#: whatsnew/3.12.rst:2081 +#: whatsnew/3.12.rst:2090 msgid "``PyObject_HEAD_INIT`` This will now initialize reference count to" msgstr "" -#: whatsnew/3.12.rst:2082 +#: whatsnew/3.12.rst:2091 msgid "``_Py_IMMORTAL_REFCNT`` when used with ``Py_BUILD_CORE``." msgstr "" -#: whatsnew/3.12.rst:2083 +#: whatsnew/3.12.rst:2092 msgid "``SSTATE_INTERNED_IMMORTAL`` An identifier for interned unicode objects" msgstr "" -#: whatsnew/3.12.rst:2084 +#: whatsnew/3.12.rst:2093 msgid "that are immortal." msgstr "" -#: whatsnew/3.12.rst:2085 +#: whatsnew/3.12.rst:2094 msgid "``SSTATE_INTERNED_IMMORTAL_STATIC`` An identifier for interned unicode" msgstr "" -#: whatsnew/3.12.rst:2086 +#: whatsnew/3.12.rst:2095 msgid "objects that are immortal and static" msgstr "" -#: whatsnew/3.12.rst:2089 +#: whatsnew/3.12.rst:2098 msgid "``sys.getunicodeinternedsize`` This returns the total number of unicode" msgstr "" -#: whatsnew/3.12.rst:2088 +#: whatsnew/3.12.rst:2097 msgid "" "objects that have been interned. This is now needed for :file:`refleak.py` " "to correctly track reference counts and allocated blocks" msgstr "" -#: whatsnew/3.12.rst:2091 +#: whatsnew/3.12.rst:2100 msgid "(Contributed by Eddie Elizondo in :gh:`84436`.)" msgstr "" -#: whatsnew/3.12.rst:2093 +#: whatsnew/3.12.rst:2102 msgid "" ":pep:`684`: Add the new :c:func:`Py_NewInterpreterFromConfig` function and :" "c:type:`PyInterpreterConfig`, which may be used to create sub-interpreters " @@ -3285,27 +3298,27 @@ msgid "" "(Contributed by Eric Snow in :gh:`104110`.)" msgstr "" -#: whatsnew/3.12.rst:2099 +#: whatsnew/3.12.rst:2108 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:2107 +#: whatsnew/3.12.rst:2116 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:2110 +#: whatsnew/3.12.rst:2119 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:2114 +#: whatsnew/3.12.rst:2123 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 " @@ -3314,7 +3327,7 @@ msgid "" "necessary, the (internal-only) ``_PyObject_GET_WEAKREFS_LISTPTR()`` macro." msgstr "" -#: whatsnew/3.12.rst:2121 +#: whatsnew/3.12.rst:2130 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 " @@ -3322,13 +3335,13 @@ msgid "" "only field directly." msgstr "" -#: whatsnew/3.12.rst:2126 +#: whatsnew/3.12.rst:2135 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:2130 +#: whatsnew/3.12.rst:2139 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 " @@ -3337,7 +3350,7 @@ msgid "" "`98836`.)" msgstr "" -#: whatsnew/3.12.rst:2136 +#: whatsnew/3.12.rst:2145 msgid "" "An unrecognized format character in :c:func:`PyUnicode_FromFormat` and :c:" "func:`PyUnicode_FromFormatV` now sets a :exc:`SystemError`. In previous " @@ -3346,13 +3359,13 @@ msgid "" "Storchaka in :gh:`95781`.)" msgstr "" -#: whatsnew/3.12.rst:2142 +#: whatsnew/3.12.rst:2151 msgid "" "Fix wrong sign placement in :c:func:`PyUnicode_FromFormat` and :c:func:" "`PyUnicode_FromFormatV`. (Contributed by Philip Georgi in :gh:`95504`.)" msgstr "" -#: whatsnew/3.12.rst:2146 +#: whatsnew/3.12.rst:2155 msgid "" "Extension classes wanting to add a ``__dict__`` or weak reference slot " "should use :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:macro:" @@ -3366,7 +3379,7 @@ msgid "" "func:`PyObject_ClearWeakRefs`, as before." msgstr "" -#: whatsnew/3.12.rst:2158 +#: whatsnew/3.12.rst:2167 msgid "" "The :c:func:`PyUnicode_FSDecoder` function no longer accepts bytes-like " "paths, like :class:`bytearray` and :class:`memoryview` types: only the " @@ -3374,7 +3387,7 @@ msgid "" "Victor Stinner in :gh:`98393`.)" msgstr "" -#: whatsnew/3.12.rst:2163 +#: whatsnew/3.12.rst:2172 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 " @@ -3382,7 +3395,7 @@ msgid "" "Stinner in :gh:`98724`.)" msgstr "" -#: whatsnew/3.12.rst:2168 +#: whatsnew/3.12.rst:2177 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 " @@ -3390,7 +3403,7 @@ msgid "" "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2173 +#: whatsnew/3.12.rst:2182 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 " @@ -3398,25 +3411,25 @@ msgid "" "``_Py_GetGlobalRefTotal()``." msgstr "" -#: whatsnew/3.12.rst:2178 +#: whatsnew/3.12.rst:2187 msgid "" "The following functions now select an appropriate metaclass for the newly " "created type:" msgstr "" -#: whatsnew/3.12.rst:2181 +#: whatsnew/3.12.rst:2190 msgid ":c:func:`PyType_FromSpec`" msgstr "" -#: whatsnew/3.12.rst:2182 +#: whatsnew/3.12.rst:2191 msgid ":c:func:`PyType_FromSpecWithBases`" msgstr "" -#: whatsnew/3.12.rst:2183 +#: whatsnew/3.12.rst:2192 msgid ":c:func:`PyType_FromModuleAndSpec`" msgstr "" -#: whatsnew/3.12.rst:2185 +#: whatsnew/3.12.rst:2194 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 " @@ -3424,14 +3437,14 @@ msgid "" "initialization." msgstr "" -#: whatsnew/3.12.rst:2190 +#: whatsnew/3.12.rst:2199 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:2194 +#: whatsnew/3.12.rst:2203 msgid "" "Since ``tp_new`` overrides almost everything ``PyType_From*`` functions do, " "the two are incompatible with each other. The existing behavior -- ignoring " @@ -3440,17 +3453,17 @@ msgid "" "general workaround. One of the following may work for you:" msgstr "" -#: whatsnew/3.12.rst:2201 +#: whatsnew/3.12.rst:2210 msgid "If you control the metaclass, avoid using ``tp_new`` in it:" msgstr "" -#: whatsnew/3.12.rst:2203 +#: whatsnew/3.12.rst:2212 msgid "" "If initialization can be skipped, it can be done in :c:member:`~PyTypeObject." "tp_init` instead." msgstr "" -#: whatsnew/3.12.rst:2205 +#: whatsnew/3.12.rst:2214 msgid "" "If the metaclass doesn't need to be instantiated from Python, set its " "``tp_new`` to ``NULL`` using the :c:macro:" @@ -3458,20 +3471,20 @@ msgid "" "``PyType_From*`` functions." msgstr "" -#: whatsnew/3.12.rst:2210 +#: whatsnew/3.12.rst:2219 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:2214 +#: whatsnew/3.12.rst:2223 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:2217 +#: whatsnew/3.12.rst:2226 msgid "" ":c:var:`PyOS_InputHook` and :c:var:`PyOS_ReadlineFunctionPointer` are no " "longer called in :ref:`subinterpreters `. This is " @@ -3479,14 +3492,14 @@ msgid "" "callbacks have no way of recovering extension module state)." msgstr "" -#: whatsnew/3.12.rst:2222 +#: whatsnew/3.12.rst:2231 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:2226 +#: whatsnew/3.12.rst:2235 msgid "" ":c:struct:`PyLongObject` has had its internals changed for better " "performance. Although the internals of :c:struct:`PyLongObject` are private, " @@ -3497,15 +3510,15 @@ msgid "" "a single machine word:" msgstr "" -#: whatsnew/3.12.rst:2234 +#: whatsnew/3.12.rst:2243 msgid ":c:func:`PyUnstable_Long_IsCompact`" msgstr "" -#: whatsnew/3.12.rst:2235 +#: whatsnew/3.12.rst:2244 msgid ":c:func:`PyUnstable_Long_CompactValue`" msgstr "" -#: whatsnew/3.12.rst:2237 +#: whatsnew/3.12.rst:2246 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 " @@ -3514,7 +3527,7 @@ msgid "" "create a new GitHub issue and CC ``@ericsnowcurrently``." msgstr "" -#: whatsnew/3.12.rst:2247 +#: whatsnew/3.12.rst:2256 msgid "" "In accordance with :pep:`699`, the ``ma_version_tag`` field in :c:type:" "`PyDictObject` is deprecated for extension modules. Accessing this field " @@ -3523,444 +3536,444 @@ msgid "" "PEP by Ken Jin.)" msgstr "" -#: whatsnew/3.12.rst:2252 +#: whatsnew/3.12.rst:2261 msgid "Deprecate global configuration variable:" msgstr "" -#: whatsnew/3.12.rst:2339 +#: whatsnew/3.12.rst:2348 msgid ":c:var:`Py_DebugFlag`: use :c:member:`PyConfig.parser_debug`" msgstr "" -#: whatsnew/3.12.rst:2340 +#: whatsnew/3.12.rst:2349 msgid ":c:var:`Py_VerboseFlag`: use :c:member:`PyConfig.verbose`" msgstr "" -#: whatsnew/3.12.rst:2341 +#: whatsnew/3.12.rst:2350 msgid ":c:var:`Py_QuietFlag`: use :c:member:`PyConfig.quiet`" msgstr "" -#: whatsnew/3.12.rst:2342 +#: whatsnew/3.12.rst:2351 msgid ":c:var:`Py_InteractiveFlag`: use :c:member:`PyConfig.interactive`" msgstr "" -#: whatsnew/3.12.rst:2343 +#: whatsnew/3.12.rst:2352 msgid ":c:var:`Py_InspectFlag`: use :c:member:`PyConfig.inspect`" msgstr "" -#: whatsnew/3.12.rst:2344 +#: whatsnew/3.12.rst:2353 msgid ":c:var:`Py_OptimizeFlag`: use :c:member:`PyConfig.optimization_level`" msgstr "" -#: whatsnew/3.12.rst:2345 +#: whatsnew/3.12.rst:2354 msgid ":c:var:`Py_NoSiteFlag`: use :c:member:`PyConfig.site_import`" msgstr "" -#: whatsnew/3.12.rst:2346 +#: whatsnew/3.12.rst:2355 msgid ":c:var:`Py_BytesWarningFlag`: use :c:member:`PyConfig.bytes_warning`" msgstr "" -#: whatsnew/3.12.rst:2347 +#: whatsnew/3.12.rst:2356 msgid ":c:var:`Py_FrozenFlag`: use :c:member:`PyConfig.pathconfig_warnings`" msgstr "" -#: whatsnew/3.12.rst:2348 +#: whatsnew/3.12.rst:2357 msgid "" ":c:var:`Py_IgnoreEnvironmentFlag`: use :c:member:`PyConfig.use_environment`" msgstr "" -#: whatsnew/3.12.rst:2349 +#: whatsnew/3.12.rst:2358 msgid "" ":c:var:`Py_DontWriteBytecodeFlag`: use :c:member:`PyConfig.write_bytecode`" msgstr "" -#: whatsnew/3.12.rst:2350 +#: whatsnew/3.12.rst:2359 msgid "" ":c:var:`Py_NoUserSiteDirectory`: use :c:member:`PyConfig.user_site_directory`" msgstr "" -#: whatsnew/3.12.rst:2351 +#: whatsnew/3.12.rst:2360 msgid "" ":c:var:`Py_UnbufferedStdioFlag`: use :c:member:`PyConfig.buffered_stdio`" msgstr "" -#: whatsnew/3.12.rst:2352 +#: whatsnew/3.12.rst:2361 msgid "" ":c:var:`Py_HashRandomizationFlag`: use :c:member:`PyConfig.use_hash_seed` " "and :c:member:`PyConfig.hash_seed`" msgstr "" -#: whatsnew/3.12.rst:2354 +#: whatsnew/3.12.rst:2363 msgid ":c:var:`Py_IsolatedFlag`: use :c:member:`PyConfig.isolated`" msgstr "" -#: whatsnew/3.12.rst:2355 +#: whatsnew/3.12.rst:2364 msgid "" ":c:var:`Py_LegacyWindowsFSEncodingFlag`: use :c:member:`PyPreConfig." "legacy_windows_fs_encoding`" msgstr "" -#: whatsnew/3.12.rst:2356 +#: whatsnew/3.12.rst:2365 msgid "" ":c:var:`Py_LegacyWindowsStdioFlag`: use :c:member:`PyConfig." "legacy_windows_stdio`" msgstr "" -#: whatsnew/3.12.rst:2357 +#: whatsnew/3.12.rst:2366 msgid "" ":c:var:`!Py_FileSystemDefaultEncoding`: use :c:member:`PyConfig." "filesystem_encoding`" msgstr "" -#: whatsnew/3.12.rst:2358 +#: whatsnew/3.12.rst:2367 msgid "" ":c:var:`!Py_HasFileSystemDefaultEncoding`: use :c:member:`PyConfig." "filesystem_encoding`" msgstr "" -#: whatsnew/3.12.rst:2359 +#: whatsnew/3.12.rst:2368 msgid "" ":c:var:`!Py_FileSystemDefaultEncodeErrors`: use :c:member:`PyConfig." "filesystem_errors`" msgstr "" -#: whatsnew/3.12.rst:2360 +#: whatsnew/3.12.rst:2369 msgid "" ":c:var:`!Py_UTF8Mode`: use :c:member:`PyPreConfig.utf8_mode` (see :c:func:" "`Py_PreInitialize`)" msgstr "" -#: whatsnew/3.12.rst:2277 +#: whatsnew/3.12.rst:2286 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:2281 +#: whatsnew/3.12.rst:2290 msgid "" "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:2284 +#: whatsnew/3.12.rst:2293 msgid "" "The :file:`structmember.h` header is deprecated, though it continues to be " "available and there are no plans to remove it." msgstr "" -#: whatsnew/3.12.rst:2287 +#: whatsnew/3.12.rst:2296 msgid "" "Its contents are now available just by including :file:`Python.h`, with a " "``Py`` prefix added if it was missing:" msgstr "" -#: whatsnew/3.12.rst:2290 +#: whatsnew/3.12.rst:2299 msgid "" ":c:struct:`PyMemberDef`, :c:func:`PyMember_GetOne` and :c:func:" "`PyMember_SetOne`" msgstr "" -#: whatsnew/3.12.rst:2292 +#: whatsnew/3.12.rst:2301 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:2294 +#: whatsnew/3.12.rst:2303 msgid "" "The flags :c:macro:`Py_READONLY` (previously ``READONLY``) and :c:macro:" "`Py_AUDIT_READ` (previously all uppercase)" msgstr "" -#: whatsnew/3.12.rst:2297 +#: whatsnew/3.12.rst:2306 msgid "Several items are not exposed from :file:`Python.h`:" msgstr "" -#: whatsnew/3.12.rst:2299 +#: whatsnew/3.12.rst:2308 msgid ":c:macro:`T_OBJECT` (use :c:macro:`Py_T_OBJECT_EX`)" msgstr "" -#: whatsnew/3.12.rst:2300 +#: whatsnew/3.12.rst:2309 msgid ":c:macro:`T_NONE` (previously undocumented, and pretty quirky)" msgstr "" -#: whatsnew/3.12.rst:2301 +#: whatsnew/3.12.rst:2310 msgid "The macro ``WRITE_RESTRICTED`` which does nothing." msgstr "" -#: whatsnew/3.12.rst:2302 +#: whatsnew/3.12.rst:2311 msgid "" "The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of :c:macro:" "`Py_AUDIT_READ`." msgstr "" -#: whatsnew/3.12.rst:2304 +#: whatsnew/3.12.rst:2313 msgid "" "In some configurations, ```` is not included from :file:`Python." "h`. It should be included manually when using ``offsetof()``." msgstr "" -#: whatsnew/3.12.rst:2307 +#: whatsnew/3.12.rst:2316 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:2312 +#: whatsnew/3.12.rst:2321 msgid "" "(Contributed in :gh:`47146` by Petr Viktorin, based on earlier work by " "Alexander Belopolsky and Matthias Braun.)" msgstr "" -#: whatsnew/3.12.rst:2315 +#: whatsnew/3.12.rst:2324 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:2320 +#: whatsnew/3.12.rst:2329 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:2323 +#: whatsnew/3.12.rst:2332 msgid "" "``_PyErr_ChainExceptions`` is deprecated. Use ``_PyErr_ChainExceptions1`` " "instead. (Contributed by Irit Katriel in :gh:`102192`.)" msgstr "" -#: whatsnew/3.12.rst:2326 +#: whatsnew/3.12.rst:2335 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:2334 +#: whatsnew/3.12.rst:2343 msgid "" "The ``ma_version_tag`` field in :c:type:`PyDictObject` for extension modules " "(:pep:`699`; :gh:`101193`)." msgstr "" -#: whatsnew/3.12.rst:2337 +#: whatsnew/3.12.rst:2346 msgid "Global configuration variables:" msgstr "" -#: whatsnew/3.12.rst:2362 +#: whatsnew/3.12.rst:2371 msgid "" "The :c:func:`Py_InitializeFromConfig` API should be used with :c:type:" "`PyConfig` instead." msgstr "" -#: whatsnew/3.12.rst:2365 +#: whatsnew/3.12.rst:2374 msgid "" "Creating :c:data:`immutable types ` with mutable " "bases (:gh:`95388`)." msgstr "" -#: whatsnew/3.12.rst:2371 +#: whatsnew/3.12.rst:2380 msgid "" ":c:func:`PyImport_ImportModuleNoBlock`: use :c:func:`PyImport_ImportModule`" msgstr "" -#: whatsnew/3.12.rst:2372 +#: whatsnew/3.12.rst:2381 msgid ":c:type:`!Py_UNICODE_WIDE` type: use :c:type:`wchar_t`" msgstr "" -#: whatsnew/3.12.rst:2373 +#: whatsnew/3.12.rst:2382 msgid ":c:type:`Py_UNICODE` type: use :c:type:`wchar_t`" msgstr "" -#: whatsnew/3.12.rst:2374 +#: whatsnew/3.12.rst:2383 msgid "Python initialization functions:" msgstr "" -#: whatsnew/3.12.rst:2376 +#: whatsnew/3.12.rst:2385 msgid "" ":c:func:`PySys_ResetWarnOptions`: clear :data:`sys.warnoptions` and :data:`!" "warnings.filters`" msgstr "" -#: whatsnew/3.12.rst:2378 +#: whatsnew/3.12.rst:2387 msgid ":c:func:`Py_GetExecPrefix`: get :data:`sys.exec_prefix`" msgstr "" -#: whatsnew/3.12.rst:2379 +#: whatsnew/3.12.rst:2388 msgid ":c:func:`Py_GetPath`: get :data:`sys.path`" msgstr "" -#: whatsnew/3.12.rst:2380 +#: whatsnew/3.12.rst:2389 msgid ":c:func:`Py_GetPrefix`: get :data:`sys.prefix`" msgstr "" -#: whatsnew/3.12.rst:2381 +#: whatsnew/3.12.rst:2390 msgid ":c:func:`Py_GetProgramFullPath`: get :data:`sys.executable`" msgstr "" -#: whatsnew/3.12.rst:2382 +#: whatsnew/3.12.rst:2391 msgid ":c:func:`Py_GetProgramName`: get :data:`sys.executable`" msgstr "" -#: whatsnew/3.12.rst:2383 +#: whatsnew/3.12.rst:2392 msgid "" ":c:func:`Py_GetPythonHome`: get :c:member:`PyConfig.home` or the :envvar:" "`PYTHONHOME` environment variable" msgstr "" -#: whatsnew/3.12.rst:2389 +#: whatsnew/3.12.rst:2398 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:2392 +#: whatsnew/3.12.rst:2401 msgid ":c:macro:`Py_TPFLAGS_HAVE_FINALIZE`: unneeded since Python 3.8" msgstr "" -#: whatsnew/3.12.rst:2393 +#: whatsnew/3.12.rst:2402 msgid ":c:func:`PyErr_Fetch`: use :c:func:`PyErr_GetRaisedException`" msgstr "" -#: whatsnew/3.12.rst:2394 +#: whatsnew/3.12.rst:2403 msgid "" ":c:func:`PyErr_NormalizeException`: use :c:func:`PyErr_GetRaisedException`" msgstr "" -#: whatsnew/3.12.rst:2395 +#: whatsnew/3.12.rst:2404 msgid ":c:func:`PyErr_Restore`: use :c:func:`PyErr_SetRaisedException`" msgstr "" -#: whatsnew/3.12.rst:2396 +#: whatsnew/3.12.rst:2405 msgid "" ":c:func:`PyModule_GetFilename`: use :c:func:`PyModule_GetFilenameObject`" msgstr "" -#: whatsnew/3.12.rst:2397 +#: whatsnew/3.12.rst:2406 msgid ":c:func:`PyOS_AfterFork`: use :c:func:`PyOS_AfterFork_Child`" msgstr "" -#: whatsnew/3.12.rst:2398 +#: whatsnew/3.12.rst:2407 msgid "" ":c:func:`PySlice_GetIndicesEx`: use :c:func:`PySlice_Unpack` and :c:func:" "`PySlice_AdjustIndices`" msgstr "" -#: whatsnew/3.12.rst:2399 +#: whatsnew/3.12.rst:2408 msgid ":c:func:`!PyUnicode_AsDecodedObject`: use :c:func:`PyCodec_Decode`" msgstr "" -#: whatsnew/3.12.rst:2400 +#: whatsnew/3.12.rst:2409 msgid ":c:func:`!PyUnicode_AsDecodedUnicode`: use :c:func:`PyCodec_Decode`" msgstr "" -#: whatsnew/3.12.rst:2401 +#: whatsnew/3.12.rst:2410 msgid ":c:func:`!PyUnicode_AsEncodedObject`: use :c:func:`PyCodec_Encode`" msgstr "" -#: whatsnew/3.12.rst:2402 +#: whatsnew/3.12.rst:2411 msgid ":c:func:`!PyUnicode_AsEncodedUnicode`: use :c:func:`PyCodec_Encode`" msgstr "" -#: whatsnew/3.12.rst:2403 +#: whatsnew/3.12.rst:2412 msgid ":c:func:`PyUnicode_READY`: unneeded since Python 3.12" msgstr "" -#: whatsnew/3.12.rst:2404 +#: whatsnew/3.12.rst:2413 msgid ":c:func:`!PyErr_Display`: use :c:func:`PyErr_DisplayException`" msgstr "" -#: whatsnew/3.12.rst:2405 +#: whatsnew/3.12.rst:2414 msgid ":c:func:`!_PyErr_ChainExceptions`: use ``_PyErr_ChainExceptions1``" msgstr "" -#: whatsnew/3.12.rst:2406 +#: whatsnew/3.12.rst:2415 msgid "" ":c:member:`!PyBytesObject.ob_shash` member: call :c:func:`PyObject_Hash` " "instead" msgstr "" -#: whatsnew/3.12.rst:2408 +#: whatsnew/3.12.rst:2417 msgid ":c:member:`!PyDictObject.ma_version_tag` member" msgstr "" -#: whatsnew/3.12.rst:2409 +#: whatsnew/3.12.rst:2418 msgid "Thread Local Storage (TLS) API:" msgstr "" -#: whatsnew/3.12.rst:2411 +#: whatsnew/3.12.rst:2420 msgid ":c:func:`PyThread_create_key`: use :c:func:`PyThread_tss_alloc`" msgstr "" -#: whatsnew/3.12.rst:2412 +#: whatsnew/3.12.rst:2421 msgid ":c:func:`PyThread_delete_key`: use :c:func:`PyThread_tss_free`" msgstr "" -#: whatsnew/3.12.rst:2413 +#: whatsnew/3.12.rst:2422 msgid ":c:func:`PyThread_set_key_value`: use :c:func:`PyThread_tss_set`" msgstr "" -#: whatsnew/3.12.rst:2414 +#: whatsnew/3.12.rst:2423 msgid ":c:func:`PyThread_get_key_value`: use :c:func:`PyThread_tss_get`" msgstr "" -#: whatsnew/3.12.rst:2415 +#: whatsnew/3.12.rst:2424 msgid ":c:func:`PyThread_delete_key_value`: use :c:func:`PyThread_tss_delete`" msgstr "" -#: whatsnew/3.12.rst:2416 +#: whatsnew/3.12.rst:2425 msgid ":c:func:`PyThread_ReInitTLS`: unneeded since Python 3.7" msgstr "" -#: whatsnew/3.12.rst:2421 +#: whatsnew/3.12.rst:2430 msgid "" "Remove the :file:`token.h` header file. There was never any public tokenizer " "C API. The :file:`token.h` header file was only designed to be used by " "Python internals. (Contributed by Victor Stinner in :gh:`92651`.)" msgstr "" -#: whatsnew/3.12.rst:2426 +#: whatsnew/3.12.rst:2435 msgid "Legacy Unicode APIs have been removed. See :pep:`623` for detail." msgstr "" -#: whatsnew/3.12.rst:2428 +#: whatsnew/3.12.rst:2437 msgid ":c:macro:`!PyUnicode_WCHAR_KIND`" msgstr "" -#: whatsnew/3.12.rst:2429 +#: whatsnew/3.12.rst:2438 msgid ":c:func:`!PyUnicode_AS_UNICODE`" msgstr "" -#: whatsnew/3.12.rst:2430 +#: whatsnew/3.12.rst:2439 msgid ":c:func:`!PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.12.rst:2431 +#: whatsnew/3.12.rst:2440 msgid ":c:func:`!PyUnicode_AsUnicodeAndSize`" msgstr "" -#: whatsnew/3.12.rst:2432 +#: whatsnew/3.12.rst:2441 msgid ":c:func:`!PyUnicode_AS_DATA`" msgstr "" -#: whatsnew/3.12.rst:2433 +#: whatsnew/3.12.rst:2442 msgid ":c:func:`!PyUnicode_FromUnicode`" msgstr "" -#: whatsnew/3.12.rst:2434 +#: whatsnew/3.12.rst:2443 msgid ":c:func:`!PyUnicode_GET_SIZE`" msgstr "" -#: whatsnew/3.12.rst:2435 +#: whatsnew/3.12.rst:2444 msgid ":c:func:`!PyUnicode_GetSize`" msgstr "" -#: whatsnew/3.12.rst:2436 +#: whatsnew/3.12.rst:2445 msgid ":c:func:`!PyUnicode_GET_DATA_SIZE`" msgstr "" -#: whatsnew/3.12.rst:2438 +#: whatsnew/3.12.rst:2447 msgid "" "Remove the ``PyUnicode_InternImmortal()`` function macro. (Contributed by " "Victor Stinner in :gh:`85858`.)" diff --git a/whatsnew/3.2.po b/whatsnew/3.2.po index 46848e527..01147e0c0 100644 --- a/whatsnew/3.2.po +++ b/whatsnew/3.2.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -138,7 +138,7 @@ msgstr "" msgid "" "The :mod:`logging` module provided two kinds of configuration, one style " "with function calls for each option or another style driven by an external " -"file saved in a :mod:`ConfigParser` format. Those options did not provide " +"file saved in a :mod:`configparser` format. Those options did not provide " "the flexibility to create configurations from JSON or YAML files, nor did " "they support incremental configuration, which is needed for specifying " "logger options from a command line." @@ -873,87 +873,88 @@ msgstr "" msgid "" "The :func:`functools.wraps` decorator now adds a :attr:`__wrapped__` " "attribute pointing to the original callable function. This allows wrapped " -"functions to be introspected. It also copies :attr:`__annotations__` if " -"defined. And now it also gracefully skips over missing attributes such as :" -"attr:`__doc__` which might not be defined for the wrapped callable." +"functions to be introspected. It also copies :attr:`~function." +"__annotations__` if defined. And now it also gracefully skips over missing " +"attributes such as :attr:`~function.__doc__` which might not be defined for " +"the wrapped callable." msgstr "" -#: whatsnew/3.2.rst:798 +#: whatsnew/3.2.rst:799 msgid "" "In the above example, the cache can be removed by recovering the original " "function:" msgstr "" -#: whatsnew/3.2.rst:803 +#: whatsnew/3.2.rst:804 msgid "" "(By Nick Coghlan and Terrence Cole; :issue:`9567`, :issue:`3445`, and :issue:" "`8814`.)" msgstr "" -#: whatsnew/3.2.rst:806 +#: whatsnew/3.2.rst:807 msgid "" "To help write classes with rich comparison methods, a new decorator :func:" "`functools.total_ordering` will use existing equality and inequality methods " "to fill in the remaining methods." msgstr "" -#: whatsnew/3.2.rst:810 +#: whatsnew/3.2.rst:811 msgid "" "For example, supplying *__eq__* and *__lt__* will enable :func:`~functools." "total_ordering` to fill-in *__le__*, *__gt__* and *__ge__*::" msgstr "" -#: whatsnew/3.2.rst:823 +#: whatsnew/3.2.rst:824 msgid "" "With the *total_ordering* decorator, the remaining comparison methods are " "filled in automatically." msgstr "" -#: whatsnew/3.2.rst:838 whatsnew/3.2.rst:903 whatsnew/3.2.rst:1787 -#: whatsnew/3.2.rst:1831 +#: whatsnew/3.2.rst:839 whatsnew/3.2.rst:904 whatsnew/3.2.rst:1788 +#: whatsnew/3.2.rst:1832 msgid "(Contributed by Raymond Hettinger.)" msgstr "" -#: whatsnew/3.2.rst:828 +#: whatsnew/3.2.rst:829 msgid "" "To aid in porting programs from Python 2, the :func:`functools.cmp_to_key` " "function converts an old-style comparison function to modern :term:`key " "function`:" msgstr "" -#: whatsnew/3.2.rst:835 +#: whatsnew/3.2.rst:836 msgid "" "For sorting examples and a brief sorting tutorial, see the `Sorting HowTo " "`_ tutorial." msgstr "" -#: whatsnew/3.2.rst:841 +#: whatsnew/3.2.rst:842 msgid "itertools" msgstr "" -#: whatsnew/3.2.rst:843 +#: whatsnew/3.2.rst:844 msgid "" "The :mod:`itertools` module has a new :func:`~itertools.accumulate` function " "modeled on APL's *scan* operator and Numpy's *accumulate* function:" msgstr "" -#: whatsnew/3.2.rst:854 +#: whatsnew/3.2.rst:855 msgid "" "For an example using :func:`~itertools.accumulate`, see the :ref:`examples " "for the random module `." msgstr "" -#: whatsnew/3.2.rst:857 +#: whatsnew/3.2.rst:858 msgid "" "(Contributed by Raymond Hettinger and incorporating design suggestions from " "Mark Dickinson.)" msgstr "" -#: whatsnew/3.2.rst:861 +#: whatsnew/3.2.rst:862 msgid "collections" msgstr "" -#: whatsnew/3.2.rst:863 +#: whatsnew/3.2.rst:864 msgid "" "The :class:`collections.Counter` class now has two forms of in-place " "subtraction, the existing *-=* operator for `saturating subtraction `_ which is defined for only two threads." msgstr "" -#: whatsnew/3.2.rst:932 +#: whatsnew/3.2.rst:933 msgid "" "Implemented as a two-phase cyclic barrier, :class:`~threading.Barrier` " "objects are suitable for use in loops. The separate *filling* and " @@ -1020,11 +1021,11 @@ msgid "" "resets after each cycle." msgstr "" -#: whatsnew/3.2.rst:937 +#: whatsnew/3.2.rst:938 msgid "Example of using barriers::" msgstr "" -#: whatsnew/3.2.rst:951 +#: whatsnew/3.2.rst:952 msgid "" "In this example, the barrier enforces a rule that votes cannot be counted at " "any polling site until all polls are closed. Notice how a solution with a " @@ -1033,7 +1034,7 @@ msgid "" "barrier point is crossed." msgstr "" -#: whatsnew/3.2.rst:957 +#: whatsnew/3.2.rst:958 msgid "" "If any of the predecessor tasks can hang or be delayed, a barrier can be " "created with an optional *timeout* parameter. Then if the timeout period " @@ -1042,14 +1043,14 @@ msgid "" "exception is raised::" msgstr "" -#: whatsnew/3.2.rst:973 +#: whatsnew/3.2.rst:974 msgid "" "In this example, the barrier enforces a more robust rule. If some election " "sites do not finish before midnight, the barrier times-out and the ballots " "are sealed and deposited in a queue for later handling." msgstr "" -#: whatsnew/3.2.rst:977 +#: whatsnew/3.2.rst:978 msgid "" "See `Barrier Synchronization Patterns `_ for more examples " @@ -1059,17 +1060,17 @@ msgid "" "*section 3.6*." msgstr "" -#: whatsnew/3.2.rst:983 +#: whatsnew/3.2.rst:984 msgid "" "(Contributed by Kristján Valur Jónsson with an API review by Jeffrey Yasskin " "in :issue:`8777`.)" msgstr "" -#: whatsnew/3.2.rst:987 +#: whatsnew/3.2.rst:988 msgid "datetime and time" msgstr "" -#: whatsnew/3.2.rst:989 +#: whatsnew/3.2.rst:990 msgid "" "The :mod:`datetime` module has a new type :class:`~datetime.timezone` that " "implements the :class:`~datetime.tzinfo` interface by returning a fixed UTC " @@ -1077,20 +1078,20 @@ msgid "" "datetime objects::" msgstr "" -#: whatsnew/3.2.rst:1002 +#: whatsnew/3.2.rst:1003 msgid "" "Also, :class:`~datetime.timedelta` objects can now be multiplied by :class:" "`float` and divided by :class:`float` and :class:`int` objects. And :class:" "`~datetime.timedelta` objects can now divide one another." msgstr "" -#: whatsnew/3.2.rst:1006 +#: whatsnew/3.2.rst:1007 msgid "" "The :meth:`datetime.date.strftime` method is no longer restricted to years " "after 1900. The new supported year range is from 1000 to 9999 inclusive." msgstr "" -#: whatsnew/3.2.rst:1009 +#: whatsnew/3.2.rst:1010 msgid "" "Whenever a two-digit year is used in a time tuple, the interpretation has " "been governed by :data:`time.accept2dyear`. The default is ``True`` which " @@ -1098,7 +1099,7 @@ msgid "" "POSIX rules governing the ``%y`` strptime format." msgstr "" -#: whatsnew/3.2.rst:1014 +#: whatsnew/3.2.rst:1015 msgid "" "Starting with Py3.2, use of the century guessing heuristic will emit a :exc:" "`DeprecationWarning`. Instead, it is recommended that :data:`time." @@ -1106,7 +1107,7 @@ msgid "" "without guesswork::" msgstr "" -#: whatsnew/3.2.rst:1033 +#: whatsnew/3.2.rst:1034 msgid "" "Several functions now have significantly expanded date ranges. When :data:" "`time.accept2dyear` is false, the :func:`time.asctime` function will accept " @@ -1115,45 +1116,45 @@ msgid "" "corresponding operating system functions." msgstr "" -#: whatsnew/3.2.rst:1039 +#: whatsnew/3.2.rst:1040 msgid "" "(Contributed by Alexander Belopolsky and Victor Stinner in :issue:" "`1289118`, :issue:`5094`, :issue:`6641`, :issue:`2706`, :issue:`1777412`, :" "issue:`8013`, and :issue:`10827`.)" msgstr "" -#: whatsnew/3.2.rst:1046 +#: whatsnew/3.2.rst:1047 msgid "math" msgstr "" -#: whatsnew/3.2.rst:1048 +#: whatsnew/3.2.rst:1049 msgid "" "The :mod:`math` module has been updated with six new functions inspired by " "the C99 standard." msgstr "" -#: whatsnew/3.2.rst:1051 +#: whatsnew/3.2.rst:1052 msgid "" "The :func:`~math.isfinite` function provides a reliable and fast way to " "detect special values. It returns ``True`` for regular numbers and " "``False`` for *Nan* or *Infinity*:" msgstr "" -#: whatsnew/3.2.rst:1059 +#: whatsnew/3.2.rst:1060 msgid "" "The :func:`~math.expm1` function computes ``e**x-1`` for small values of *x* " "without incurring the loss of precision that usually accompanies the " "subtraction of nearly equal quantities:" msgstr "" -#: whatsnew/3.2.rst:1067 +#: whatsnew/3.2.rst:1068 msgid "" "The :func:`~math.erf` function computes a probability integral or `Gaussian " "error function `_. The " "complementary error function, :func:`~math.erfc`, is ``1 - erf(x)``:" msgstr "" -#: whatsnew/3.2.rst:1082 +#: whatsnew/3.2.rst:1083 msgid "" "The :func:`~math.gamma` function is a continuous extension of the factorial " "function. See https://en.wikipedia.org/wiki/Gamma_function for details. " @@ -1162,36 +1163,36 @@ msgid "" "computing the natural logarithm of the gamma function:" msgstr "" -#: whatsnew/3.2.rst:1094 +#: whatsnew/3.2.rst:1095 msgid "(Contributed by Mark Dickinson.)" msgstr "" -#: whatsnew/3.2.rst:1097 +#: whatsnew/3.2.rst:1098 msgid "abc" msgstr "" -#: whatsnew/3.2.rst:1099 +#: whatsnew/3.2.rst:1100 msgid "" "The :mod:`abc` module now supports :func:`~abc.abstractclassmethod` and :" "func:`~abc.abstractstaticmethod`." msgstr "" -#: whatsnew/3.2.rst:1102 +#: whatsnew/3.2.rst:1103 msgid "" "These tools make it possible to define an :term:`abstract base class` that " "requires a particular :func:`classmethod` or :func:`staticmethod` to be " "implemented::" msgstr "" -#: whatsnew/3.2.rst:1114 +#: whatsnew/3.2.rst:1115 msgid "(Patch submitted by Daniel Urban; :issue:`5867`.)" msgstr "" -#: whatsnew/3.2.rst:1117 +#: whatsnew/3.2.rst:1118 msgid "io" msgstr "" -#: whatsnew/3.2.rst:1119 +#: whatsnew/3.2.rst:1120 msgid "" "The :class:`io.BytesIO` has a new method, :meth:`~io.BytesIO.getbuffer`, " "which provides functionality similar to :func:`memoryview`. It creates an " @@ -1199,15 +1200,15 @@ msgid "" "and support for slice notation are well-suited to in-place editing::" msgstr "" -#: whatsnew/3.2.rst:1145 +#: whatsnew/3.2.rst:1146 msgid "(Contributed by Antoine Pitrou in :issue:`5506`.)" msgstr "" -#: whatsnew/3.2.rst:1148 +#: whatsnew/3.2.rst:1149 msgid "reprlib" msgstr "" -#: whatsnew/3.2.rst:1150 +#: whatsnew/3.2.rst:1151 msgid "" "When writing a :meth:`__repr__` method for a custom container, it is easy to " "forget to handle the case where a member refers back to the container " @@ -1216,28 +1217,28 @@ msgid "" "representation string." msgstr "" -#: whatsnew/3.2.rst:1156 +#: whatsnew/3.2.rst:1157 msgid "" "To help write such :meth:`__repr__` methods, the :mod:`reprlib` module has a " "new decorator, :func:`~reprlib.recursive_repr`, for detecting recursive " "calls to :meth:`__repr__` and substituting a placeholder string instead::" msgstr "" -#: whatsnew/3.2.rst:1171 +#: whatsnew/3.2.rst:1172 msgid "(Contributed by Raymond Hettinger in :issue:`9826` and :issue:`9840`.)" msgstr "" -#: whatsnew/3.2.rst:1174 +#: whatsnew/3.2.rst:1175 msgid "logging" msgstr "" -#: whatsnew/3.2.rst:1176 +#: whatsnew/3.2.rst:1177 msgid "" "In addition to dictionary-based configuration described above, the :mod:" "`logging` package has many other improvements." msgstr "" -#: whatsnew/3.2.rst:1179 +#: whatsnew/3.2.rst:1180 msgid "" "The logging documentation has been augmented by a :ref:`basic tutorial " "`\\, an :ref:`advanced tutorial ` for zipfiles, uncompressed tarfiles, " @@ -1662,7 +1663,7 @@ msgid "" "tarfiles or custom formats)." msgstr "" -#: whatsnew/3.2.rst:1560 +#: whatsnew/3.2.rst:1561 msgid "" "The principal functions are :func:`~shutil.make_archive` and :func:`~shutil." "unpack_archive`. By default, both operate on the current directory (which " @@ -1671,23 +1672,23 @@ msgid "" "non-destructive (the original files are left unchanged)." msgstr "" -#: whatsnew/3.2.rst:1594 +#: whatsnew/3.2.rst:1595 msgid "sqlite3" msgstr "" -#: whatsnew/3.2.rst:1596 +#: whatsnew/3.2.rst:1597 msgid "" "The :mod:`sqlite3` module was updated to pysqlite version 2.6.0. It has two " "new capabilities." msgstr "" -#: whatsnew/3.2.rst:1598 +#: whatsnew/3.2.rst:1599 msgid "" "The :attr:`sqlite3.Connection.in_transit` attribute is true if there is an " "active transaction for uncommitted changes." msgstr "" -#: whatsnew/3.2.rst:1601 +#: whatsnew/3.2.rst:1602 msgid "" "The :meth:`sqlite3.Connection.enable_load_extension` and :meth:`sqlite3." "Connection.load_extension` methods allows you to load SQLite extensions from " @@ -1695,30 +1696,30 @@ msgid "" "distributed with SQLite." msgstr "" -#: whatsnew/3.2.rst:1606 +#: whatsnew/3.2.rst:1607 msgid "(Contributed by R. David Murray and Shashwat Anand; :issue:`8845`.)" msgstr "" -#: whatsnew/3.2.rst:1609 +#: whatsnew/3.2.rst:1610 msgid "html" msgstr "" -#: whatsnew/3.2.rst:1611 +#: whatsnew/3.2.rst:1612 msgid "" "A new :mod:`html` module was introduced with only a single function, :func:" "`~html.escape`, which is used for escaping reserved characters from HTML " "markup:" msgstr "" -#: whatsnew/3.2.rst:1620 +#: whatsnew/3.2.rst:1621 msgid "socket" msgstr "" -#: whatsnew/3.2.rst:1622 +#: whatsnew/3.2.rst:1623 msgid "The :mod:`socket` module has two new improvements." msgstr "" -#: whatsnew/3.2.rst:1624 +#: whatsnew/3.2.rst:1625 msgid "" "Socket objects now have a :meth:`~socket.socket.detach()` method which puts " "the socket into closed state without actually closing the underlying file " @@ -1726,24 +1727,24 @@ msgid "" "Antoine Pitrou; :issue:`8524`.)" msgstr "" -#: whatsnew/3.2.rst:1629 +#: whatsnew/3.2.rst:1630 msgid "" ":func:`socket.create_connection` now supports the context management " "protocol to unconditionally consume :exc:`socket.error` exceptions and to " "close the socket when done. (Contributed by Giampaolo Rodolà; :issue:`9794`.)" msgstr "" -#: whatsnew/3.2.rst:1635 +#: whatsnew/3.2.rst:1636 msgid "ssl" msgstr "" -#: whatsnew/3.2.rst:1637 +#: whatsnew/3.2.rst:1638 msgid "" "The :mod:`ssl` module added a number of features to satisfy common " "requirements for secure (encrypted, authenticated) internet connections:" msgstr "" -#: whatsnew/3.2.rst:1640 +#: whatsnew/3.2.rst:1641 msgid "" "A new class, :class:`~ssl.SSLContext`, serves as a container for persistent " "SSL data, such as protocol settings, certificates, private keys, and various " @@ -1751,14 +1752,14 @@ msgid "" "creating an SSL socket from an SSL context." msgstr "" -#: whatsnew/3.2.rst:1645 +#: whatsnew/3.2.rst:1646 msgid "" "A new function, :func:`ssl.match_hostname`, supports server identity " "verification for higher-level protocols by implementing the rules of HTTPS " "(from :rfc:`2818`) which are also suitable for other protocols." msgstr "" -#: whatsnew/3.2.rst:1649 +#: whatsnew/3.2.rst:1650 msgid "" "The :func:`ssl.wrap_socket` constructor function now takes a *ciphers* " "argument. The *ciphers* string lists the allowed encryption algorithms " @@ -1766,7 +1767,7 @@ msgid "" "openssl.org/docs/man1.0.2/man1/ciphers.html#CIPHER-LIST-FORMAT>`__." msgstr "" -#: whatsnew/3.2.rst:1654 +#: whatsnew/3.2.rst:1655 msgid "" "When linked against recent versions of OpenSSL, the :mod:`ssl` module now " "supports the Server Name Indication extension to the TLS protocol, allowing " @@ -1775,20 +1776,20 @@ msgid "" "the *server_hostname* argument to :meth:`ssl.SSLContext.wrap_socket`." msgstr "" -#: whatsnew/3.2.rst:1660 +#: whatsnew/3.2.rst:1661 msgid "" "Various options have been added to the :mod:`ssl` module, such as :data:" "`~ssl.OP_NO_SSLv2` which disables the insecure and obsolete SSLv2 protocol." msgstr "" -#: whatsnew/3.2.rst:1664 +#: whatsnew/3.2.rst:1665 msgid "" "The extension now loads all the OpenSSL ciphers and digest algorithms. If " "some SSL certificates cannot be verified, they are reported as an \"unknown " "algorithm\" error." msgstr "" -#: whatsnew/3.2.rst:1668 +#: whatsnew/3.2.rst:1669 msgid "" "The version of OpenSSL being used is now accessible using the module " "attributes :const:`ssl.OPENSSL_VERSION` (a string), :const:`ssl." @@ -1796,17 +1797,17 @@ msgid "" "(an integer)." msgstr "" -#: whatsnew/3.2.rst:1673 +#: whatsnew/3.2.rst:1674 msgid "" "(Contributed by Antoine Pitrou in :issue:`8850`, :issue:`1589`, :issue:" "`8322`, :issue:`5639`, :issue:`4870`, :issue:`8484`, and :issue:`8321`.)" msgstr "" -#: whatsnew/3.2.rst:1677 +#: whatsnew/3.2.rst:1678 msgid "nntp" msgstr "" -#: whatsnew/3.2.rst:1679 +#: whatsnew/3.2.rst:1680 msgid "" "The :mod:`nntplib` module has a revamped implementation with better bytes " "and text semantics as well as more practical APIs. These improvements break " @@ -1814,24 +1815,24 @@ msgid "" "dysfunctional in itself." msgstr "" -#: whatsnew/3.2.rst:1684 +#: whatsnew/3.2.rst:1685 msgid "" "Support for secure connections through both implicit (using :class:`nntplib." "NNTP_SSL`) and explicit (using :meth:`nntplib.NNTP.starttls`) TLS has also " "been added." msgstr "" -#: whatsnew/3.2.rst:1688 +#: whatsnew/3.2.rst:1689 msgid "" "(Contributed by Antoine Pitrou in :issue:`9360` and Andrew Vant in :issue:" "`1926`.)" msgstr "" -#: whatsnew/3.2.rst:1691 +#: whatsnew/3.2.rst:1692 msgid "certificates" msgstr "" -#: whatsnew/3.2.rst:1693 +#: whatsnew/3.2.rst:1694 msgid "" ":class:`http.client.HTTPSConnection`, :class:`urllib.request.HTTPSHandler` " "and :func:`urllib.request.urlopen` now take optional arguments to allow for " @@ -1839,49 +1840,49 @@ msgid "" "recommended in public uses of HTTPS." msgstr "" -#: whatsnew/3.2.rst:1698 +#: whatsnew/3.2.rst:1699 msgid "(Added by Antoine Pitrou, :issue:`9003`.)" msgstr "" -#: whatsnew/3.2.rst:1701 +#: whatsnew/3.2.rst:1702 msgid "imaplib" msgstr "" -#: whatsnew/3.2.rst:1703 +#: whatsnew/3.2.rst:1704 msgid "" "Support for explicit TLS on standard IMAP4 connections has been added " "through the new :mod:`imaplib.IMAP4.starttls` method." msgstr "" -#: whatsnew/3.2.rst:1706 +#: whatsnew/3.2.rst:1707 msgid "(Contributed by Lorenzo M. Catucci and Antoine Pitrou, :issue:`4471`.)" msgstr "" -#: whatsnew/3.2.rst:1709 +#: whatsnew/3.2.rst:1710 msgid "http.client" msgstr "" -#: whatsnew/3.2.rst:1711 +#: whatsnew/3.2.rst:1712 msgid "" "There were a number of small API improvements in the :mod:`http.client` " "module. The old-style HTTP 0.9 simple responses are no longer supported and " "the *strict* parameter is deprecated in all classes." msgstr "" -#: whatsnew/3.2.rst:1715 +#: whatsnew/3.2.rst:1716 msgid "" "The :class:`~http.client.HTTPConnection` and :class:`~http.client." "HTTPSConnection` classes now have a *source_address* parameter for a (host, " "port) tuple indicating where the HTTP connection is made from." msgstr "" -#: whatsnew/3.2.rst:1720 +#: whatsnew/3.2.rst:1721 msgid "" "Support for certificate checking and HTTPS virtual hosts were added to :" "class:`~http.client.HTTPSConnection`." msgstr "" -#: whatsnew/3.2.rst:1723 +#: whatsnew/3.2.rst:1724 msgid "" "The :meth:`~http.client.HTTPConnection.request` method on connection objects " "allowed an optional *body* argument so that a :term:`file object` could be " @@ -1891,14 +1892,14 @@ msgid "" "flexible than before." msgstr "" -#: whatsnew/3.2.rst:1730 +#: whatsnew/3.2.rst:1731 msgid "" "To establish an HTTPS connection through a proxy server, there is a new :" "meth:`~http.client.HTTPConnection.set_tunnel` method that sets the host and " "port for HTTP Connect tunneling." msgstr "" -#: whatsnew/3.2.rst:1734 +#: whatsnew/3.2.rst:1735 msgid "" "To match the behavior of :mod:`http.server`, the HTTP client library now " "also encodes headers with ISO-8859-1 (Latin-1) encoding. It was already " @@ -1907,11 +1908,11 @@ msgid "" "`10980`.)" msgstr "" -#: whatsnew/3.2.rst:1740 +#: whatsnew/3.2.rst:1741 msgid "unittest" msgstr "" -#: whatsnew/3.2.rst:1742 +#: whatsnew/3.2.rst:1743 msgid "" "The unittest module has a number of improvements supporting test discovery " "for packages, easier experimentation at the interactive prompt, new testcase " @@ -1919,7 +1920,7 @@ msgid "" "names." msgstr "" -#: whatsnew/3.2.rst:1747 +#: whatsnew/3.2.rst:1748 msgid "" "The command-line call ``python -m unittest`` can now accept file paths " "instead of module names for running specific tests (:issue:`10620`). The " @@ -1929,28 +1930,28 @@ msgid "" "and a directory to start discovery with ``-s``:" msgstr "" -#: whatsnew/3.2.rst:1767 whatsnew/3.2.rst:1923 +#: whatsnew/3.2.rst:1768 whatsnew/3.2.rst:1924 msgid "(Contributed by Michael Foord.)" msgstr "" -#: whatsnew/3.2.rst:1760 +#: whatsnew/3.2.rst:1761 msgid "" "Experimentation at the interactive prompt is now easier because the :class:" "`unittest.case.TestCase` class can now be instantiated without arguments:" msgstr "" -#: whatsnew/3.2.rst:1769 +#: whatsnew/3.2.rst:1770 msgid "" "The :mod:`unittest` module has two new methods, :meth:`~unittest.TestCase." "assertWarns` and :meth:`~unittest.TestCase.assertWarnsRegex` to verify that " "a given warning type is triggered by the code under test::" msgstr "" -#: whatsnew/3.2.rst:1777 +#: whatsnew/3.2.rst:1778 msgid "(Contributed by Antoine Pitrou, :issue:`9754`.)" msgstr "" -#: whatsnew/3.2.rst:1779 +#: whatsnew/3.2.rst:1780 msgid "" "Another new method, :meth:`~unittest.TestCase.assertCountEqual` is used to " "compare two iterables to determine if their element counts are equal " @@ -1958,7 +1959,7 @@ msgid "" "regardless of order)::" msgstr "" -#: whatsnew/3.2.rst:1789 +#: whatsnew/3.2.rst:1790 msgid "" "A principal feature of the unittest module is an effort to produce " "meaningful diagnostics when a test fails. When possible, the failure is " @@ -1968,13 +1969,13 @@ msgid "" "that sets maximum length of diffs displayed." msgstr "" -#: whatsnew/3.2.rst:1796 +#: whatsnew/3.2.rst:1797 msgid "" "In addition, the method names in the module have undergone a number of clean-" "ups." msgstr "" -#: whatsnew/3.2.rst:1798 +#: whatsnew/3.2.rst:1799 msgid "" "For example, :meth:`~unittest.TestCase.assertRegex` is the new name for :" "meth:`~unittest.TestCase.assertRegexpMatches` which was misnamed because the " @@ -1985,75 +1986,75 @@ msgid "" "has unambiguous camel-casing." msgstr "" -#: whatsnew/3.2.rst:1806 +#: whatsnew/3.2.rst:1807 msgid "(Contributed by Raymond Hettinger and implemented by Ezio Melotti.)" msgstr "" -#: whatsnew/3.2.rst:1808 +#: whatsnew/3.2.rst:1809 msgid "" "To improve consistency, some long-standing method aliases are being " "deprecated in favor of the preferred names:" msgstr "" -#: whatsnew/3.2.rst:1812 +#: whatsnew/3.2.rst:1813 msgid "Old Name" msgstr "" -#: whatsnew/3.2.rst:1812 +#: whatsnew/3.2.rst:1813 msgid "Preferred Name" msgstr "" -#: whatsnew/3.2.rst:1814 +#: whatsnew/3.2.rst:1815 msgid ":meth:`assert_`" msgstr "" -#: whatsnew/3.2.rst:1814 +#: whatsnew/3.2.rst:1815 msgid ":meth:`.assertTrue`" msgstr "" -#: whatsnew/3.2.rst:1815 +#: whatsnew/3.2.rst:1816 msgid ":meth:`assertEquals`" msgstr "" -#: whatsnew/3.2.rst:1815 +#: whatsnew/3.2.rst:1816 msgid ":meth:`.assertEqual`" msgstr "" -#: whatsnew/3.2.rst:1816 +#: whatsnew/3.2.rst:1817 msgid ":meth:`assertNotEquals`" msgstr "" -#: whatsnew/3.2.rst:1816 +#: whatsnew/3.2.rst:1817 msgid ":meth:`.assertNotEqual`" msgstr "" -#: whatsnew/3.2.rst:1817 +#: whatsnew/3.2.rst:1818 msgid ":meth:`assertAlmostEquals`" msgstr "" -#: whatsnew/3.2.rst:1817 +#: whatsnew/3.2.rst:1818 msgid ":meth:`.assertAlmostEqual`" msgstr "" -#: whatsnew/3.2.rst:1818 +#: whatsnew/3.2.rst:1819 msgid ":meth:`assertNotAlmostEquals`" msgstr "" -#: whatsnew/3.2.rst:1818 +#: whatsnew/3.2.rst:1819 msgid ":meth:`.assertNotAlmostEqual`" msgstr "" -#: whatsnew/3.2.rst:1821 +#: whatsnew/3.2.rst:1822 msgid "" "Likewise, the ``TestCase.fail*`` methods deprecated in Python 3.1 are " "expected to be removed in Python 3.3." msgstr "" -#: whatsnew/3.2.rst:1824 +#: whatsnew/3.2.rst:1825 msgid "(Contributed by Ezio Melotti; :issue:`9424`.)" msgstr "" -#: whatsnew/3.2.rst:1826 +#: whatsnew/3.2.rst:1827 msgid "" "The :meth:`~unittest.TestCase.assertDictContainsSubset` method was " "deprecated because it was misimplemented with the arguments in the wrong " @@ -2061,11 +2062,11 @@ msgid "" "``TestCase().assertDictContainsSubset({'a':1, 'b':2}, {'a':1})`` would fail." msgstr "" -#: whatsnew/3.2.rst:1834 +#: whatsnew/3.2.rst:1835 msgid "random" msgstr "" -#: whatsnew/3.2.rst:1836 +#: whatsnew/3.2.rst:1837 msgid "" "The integer methods in the :mod:`random` module now do a better job of " "producing uniform distributions. Previously, they computed selections with " @@ -2077,15 +2078,15 @@ msgid "" "func:`~random.sample`." msgstr "" -#: whatsnew/3.2.rst:1845 +#: whatsnew/3.2.rst:1846 msgid "(Contributed by Raymond Hettinger; :issue:`9025`.)" msgstr "" -#: whatsnew/3.2.rst:1848 +#: whatsnew/3.2.rst:1849 msgid "poplib" msgstr "" -#: whatsnew/3.2.rst:1850 +#: whatsnew/3.2.rst:1851 msgid "" ":class:`~poplib.POP3_SSL` class now accepts a *context* parameter, which is " "a :class:`ssl.SSLContext` object allowing bundling SSL configuration " @@ -2093,15 +2094,15 @@ msgid "" "lived) structure." msgstr "" -#: whatsnew/3.2.rst:1855 +#: whatsnew/3.2.rst:1856 msgid "(Contributed by Giampaolo Rodolà; :issue:`8807`.)" msgstr "" -#: whatsnew/3.2.rst:1858 +#: whatsnew/3.2.rst:1859 msgid "asyncore" msgstr "" -#: whatsnew/3.2.rst:1860 +#: whatsnew/3.2.rst:1861 msgid "" ":class:`asyncore.dispatcher` now provides a :meth:`~asyncore.dispatcher." "handle_accepted()` method returning a ``(sock, addr)`` pair which is called " @@ -2111,41 +2112,41 @@ msgid "" "dispatcher.accept()` directly." msgstr "" -#: whatsnew/3.2.rst:1867 +#: whatsnew/3.2.rst:1868 msgid "(Contributed by Giampaolo Rodolà; :issue:`6706`.)" msgstr "" -#: whatsnew/3.2.rst:1870 +#: whatsnew/3.2.rst:1871 msgid "tempfile" msgstr "" -#: whatsnew/3.2.rst:1872 +#: whatsnew/3.2.rst:1873 msgid "" "The :mod:`tempfile` module has a new context manager, :class:`~tempfile." "TemporaryDirectory` which provides easy deterministic cleanup of temporary " "directories::" msgstr "" -#: whatsnew/3.2.rst:1879 +#: whatsnew/3.2.rst:1880 msgid "(Contributed by Neil Schemenauer and Nick Coghlan; :issue:`5178`.)" msgstr "" -#: whatsnew/3.2.rst:1882 +#: whatsnew/3.2.rst:1883 msgid "inspect" msgstr "" -#: whatsnew/3.2.rst:1884 +#: whatsnew/3.2.rst:1885 msgid "" "The :mod:`inspect` module has a new function :func:`~inspect." "getgeneratorstate` to easily identify the current state of a generator-" "iterator::" msgstr "" -#: whatsnew/3.2.rst:1903 +#: whatsnew/3.2.rst:1904 msgid "(Contributed by Rodolpho Eckhardt and Nick Coghlan, :issue:`10220`.)" msgstr "" -#: whatsnew/3.2.rst:1905 +#: whatsnew/3.2.rst:1906 msgid "" "To support lookups without the possibility of activating a dynamic " "attribute, the :mod:`inspect` module has a new function, :func:`~inspect." @@ -2153,26 +2154,26 @@ msgid "" "guaranteed not to change state while it is searching::" msgstr "" -#: whatsnew/3.2.rst:1926 +#: whatsnew/3.2.rst:1927 msgid "pydoc" msgstr "" -#: whatsnew/3.2.rst:1928 +#: whatsnew/3.2.rst:1929 msgid "" "The :mod:`pydoc` module now provides a much-improved web server interface, " "as well as a new command-line option ``-b`` to automatically open a browser " "window to display that server:" msgstr "" -#: whatsnew/3.2.rst:1936 +#: whatsnew/3.2.rst:1937 msgid "(Contributed by Ron Adam; :issue:`2001`.)" msgstr "" -#: whatsnew/3.2.rst:1939 +#: whatsnew/3.2.rst:1940 msgid "dis" msgstr "" -#: whatsnew/3.2.rst:1941 +#: whatsnew/3.2.rst:1942 msgid "" "The :mod:`dis` module gained two new functions for inspecting code, :func:" "`~dis.code_info` and :func:`~dis.show_code`. Both provide detailed code " @@ -2180,263 +2181,264 @@ msgid "" "code object. The former returns a string and the latter prints it::" msgstr "" -#: whatsnew/3.2.rst:1968 +#: whatsnew/3.2.rst:1969 msgid "" "In addition, the :func:`~dis.dis` function now accepts string arguments so " "that the common idiom ``dis(compile(s, '', 'eval'))`` can be shortened to " "``dis(s)``::" msgstr "" -#: whatsnew/3.2.rst:1990 +#: whatsnew/3.2.rst:1991 msgid "" "Taken together, these improvements make it easier to explore how CPython is " "implemented and to see for yourself what the language syntax does under-the-" "hood." msgstr "" -#: whatsnew/3.2.rst:1994 +#: whatsnew/3.2.rst:1995 msgid "(Contributed by Nick Coghlan in :issue:`9147`.)" msgstr "" -#: whatsnew/3.2.rst:1997 +#: whatsnew/3.2.rst:1998 msgid "dbm" msgstr "" -#: whatsnew/3.2.rst:1999 +#: whatsnew/3.2.rst:2000 msgid "" "All database modules now support the :meth:`get` and :meth:`setdefault` " "methods." msgstr "" -#: whatsnew/3.2.rst:2001 +#: whatsnew/3.2.rst:2002 msgid "(Suggested by Ray Allen in :issue:`9523`.)" msgstr "" -#: whatsnew/3.2.rst:2004 +#: whatsnew/3.2.rst:2005 msgid "ctypes" msgstr "" -#: whatsnew/3.2.rst:2006 +#: whatsnew/3.2.rst:2007 msgid "" "A new type, :class:`ctypes.c_ssize_t` represents the C :c:type:`ssize_t` " "datatype." msgstr "" -#: whatsnew/3.2.rst:2009 +#: whatsnew/3.2.rst:2010 msgid "site" msgstr "" -#: whatsnew/3.2.rst:2011 +#: whatsnew/3.2.rst:2012 msgid "" "The :mod:`site` module has three new functions useful for reporting on the " "details of a given Python installation." msgstr "" -#: whatsnew/3.2.rst:2014 +#: whatsnew/3.2.rst:2015 msgid "" ":func:`~site.getsitepackages` lists all global site-packages directories." msgstr "" -#: whatsnew/3.2.rst:2016 +#: whatsnew/3.2.rst:2017 msgid "" ":func:`~site.getuserbase` reports on the user's base directory where data " "can be stored." msgstr "" -#: whatsnew/3.2.rst:2019 +#: whatsnew/3.2.rst:2020 msgid "" ":func:`~site.getusersitepackages` reveals the user-specific site-packages " "directory path." msgstr "" -#: whatsnew/3.2.rst:2034 +#: whatsnew/3.2.rst:2035 msgid "" "Conveniently, some of site's functionality is accessible directly from the " "command-line:" msgstr "" -#: whatsnew/3.2.rst:2044 +#: whatsnew/3.2.rst:2045 msgid "(Contributed by Tarek Ziadé in :issue:`6693`.)" msgstr "" -#: whatsnew/3.2.rst:2047 +#: whatsnew/3.2.rst:2048 msgid "sysconfig" msgstr "" -#: whatsnew/3.2.rst:2049 +#: whatsnew/3.2.rst:2050 msgid "" "The new :mod:`sysconfig` module makes it straightforward to discover " "installation paths and configuration variables that vary across platforms " "and installations." msgstr "" -#: whatsnew/3.2.rst:2053 +#: whatsnew/3.2.rst:2054 msgid "" "The module offers access simple access functions for platform and version " "information:" msgstr "" -#: whatsnew/3.2.rst:2056 +#: whatsnew/3.2.rst:2057 msgid "" ":func:`~sysconfig.get_platform` returning values like *linux-i586* or " "*macosx-10.6-ppc*." msgstr "" -#: whatsnew/3.2.rst:2058 +#: whatsnew/3.2.rst:2059 msgid "" ":func:`~sysconfig.get_python_version` returns a Python version string such " "as \"3.2\"." msgstr "" -#: whatsnew/3.2.rst:2061 +#: whatsnew/3.2.rst:2062 msgid "" "It also provides access to the paths and variables corresponding to one of " "seven named schemes used by ``distutils``. Those include *posix_prefix*, " "*posix_home*, *posix_user*, *nt*, *nt_user*, *os2*, *os2_home*:" msgstr "" -#: whatsnew/3.2.rst:2065 +#: whatsnew/3.2.rst:2066 msgid "" ":func:`~sysconfig.get_paths` makes a dictionary containing installation " "paths for the current installation scheme." msgstr "" -#: whatsnew/3.2.rst:2067 +#: whatsnew/3.2.rst:2068 msgid "" ":func:`~sysconfig.get_config_vars` returns a dictionary of platform specific " "variables." msgstr "" -#: whatsnew/3.2.rst:2070 +#: whatsnew/3.2.rst:2071 msgid "There is also a convenient command-line interface:" msgstr "" -#: whatsnew/3.2.rst:2109 +#: whatsnew/3.2.rst:2110 msgid "(Moved out of Distutils by Tarek Ziadé.)" msgstr "" -#: whatsnew/3.2.rst:2112 +#: whatsnew/3.2.rst:2113 msgid "pdb" msgstr "" -#: whatsnew/3.2.rst:2114 +#: whatsnew/3.2.rst:2115 msgid "" "The :mod:`pdb` debugger module gained a number of usability improvements:" msgstr "" -#: whatsnew/3.2.rst:2116 +#: whatsnew/3.2.rst:2117 msgid "" ":file:`pdb.py` now has a ``-c`` option that executes commands as given in a :" "file:`.pdbrc` script file." msgstr "" -#: whatsnew/3.2.rst:2118 +#: whatsnew/3.2.rst:2119 msgid "" "A :file:`.pdbrc` script file can contain ``continue`` and ``next`` commands " "that continue debugging." msgstr "" -#: whatsnew/3.2.rst:2120 +#: whatsnew/3.2.rst:2121 msgid "The :class:`Pdb` class constructor now accepts a *nosigint* argument." msgstr "" -#: whatsnew/3.2.rst:2121 +#: whatsnew/3.2.rst:2122 msgid "" "New commands: ``l(list)``, ``ll(long list)`` and ``source`` for listing " "source code." msgstr "" -#: whatsnew/3.2.rst:2123 +#: whatsnew/3.2.rst:2124 msgid "" "New commands: ``display`` and ``undisplay`` for showing or hiding the value " "of an expression if it has changed." msgstr "" -#: whatsnew/3.2.rst:2125 +#: whatsnew/3.2.rst:2126 msgid "" "New command: ``interact`` for starting an interactive interpreter containing " "the global and local names found in the current scope." msgstr "" -#: whatsnew/3.2.rst:2127 +#: whatsnew/3.2.rst:2128 msgid "Breakpoints can be cleared by breakpoint number." msgstr "" -#: whatsnew/3.2.rst:2129 +#: whatsnew/3.2.rst:2130 msgid "(Contributed by Georg Brandl, Antonio Cuni and Ilya Sandler.)" msgstr "" -#: whatsnew/3.2.rst:2132 +#: whatsnew/3.2.rst:2133 msgid "configparser" msgstr "" -#: whatsnew/3.2.rst:2134 +#: whatsnew/3.2.rst:2135 msgid "" "The :mod:`configparser` module was modified to improve usability and " "predictability of the default parser and its supported INI syntax. The old :" -"class:`ConfigParser` class was removed in favor of :class:`SafeConfigParser` " -"which has in turn been renamed to :class:`~configparser.ConfigParser`. " -"Support for inline comments is now turned off by default and section or " -"option duplicates are not allowed in a single configuration source." +"class:`!ConfigParser` class was removed in favor of :class:`!" +"SafeConfigParser` which has in turn been renamed to :class:`~configparser." +"ConfigParser`. Support for inline comments is now turned off by default and " +"section or option duplicates are not allowed in a single configuration " +"source." msgstr "" -#: whatsnew/3.2.rst:2141 +#: whatsnew/3.2.rst:2142 msgid "Config parsers gained a new API based on the mapping protocol::" msgstr "" -#: whatsnew/3.2.rst:2169 +#: whatsnew/3.2.rst:2170 msgid "" "The new API is implemented on top of the classical API, so custom parser " "subclasses should be able to use it without modifications." msgstr "" -#: whatsnew/3.2.rst:2172 +#: whatsnew/3.2.rst:2173 msgid "" "The INI file structure accepted by config parsers can now be customized. " "Users can specify alternative option/value delimiters and comment prefixes, " "change the name of the *DEFAULT* section or switch the interpolation syntax." msgstr "" -#: whatsnew/3.2.rst:2176 +#: whatsnew/3.2.rst:2177 msgid "" "There is support for pluggable interpolation including an additional " "interpolation handler :class:`~configparser.ExtendedInterpolation`::" msgstr "" -#: whatsnew/3.2.rst:2209 +#: whatsnew/3.2.rst:2210 msgid "" "A number of smaller features were also introduced, like support for " "specifying encoding in read operations, specifying fallback values for get-" "functions, or reading directly from dictionaries and strings." msgstr "" -#: whatsnew/3.2.rst:2213 +#: whatsnew/3.2.rst:2214 msgid "(All changes contributed by Łukasz Langa.)" msgstr "" -#: whatsnew/3.2.rst:2218 +#: whatsnew/3.2.rst:2219 msgid "urllib.parse" msgstr "" -#: whatsnew/3.2.rst:2220 +#: whatsnew/3.2.rst:2221 msgid "" "A number of usability improvements were made for the :mod:`urllib.parse` " "module." msgstr "" -#: whatsnew/3.2.rst:2222 +#: whatsnew/3.2.rst:2223 msgid "" "The :func:`~urllib.parse.urlparse` function now supports `IPv6 `_ addresses as described in :rfc:`2732`:" msgstr "" -#: whatsnew/3.2.rst:2234 +#: whatsnew/3.2.rst:2235 msgid "" "The :func:`~urllib.parse.urldefrag` function now returns a :term:`named " "tuple`::" msgstr "" -#: whatsnew/3.2.rst:2244 +#: whatsnew/3.2.rst:2245 msgid "" "And, the :func:`~urllib.parse.urlencode` function is now much more flexible, " "accepting either a string or bytes type for the *query* argument. If it is " @@ -2444,7 +2446,7 @@ msgid "" "func:`~urllib.parse.quote_plus` for encoding::" msgstr "" -#: whatsnew/3.2.rst:2255 +#: whatsnew/3.2.rst:2256 msgid "" "As detailed in :ref:`parsing-ascii-encoded-bytes`, all the :mod:`urllib." "parse` functions now accept ASCII-encoded byte strings as input, so long as " @@ -2453,17 +2455,17 @@ msgid "" "strings:" msgstr "" -#: whatsnew/3.2.rst:2264 +#: whatsnew/3.2.rst:2265 msgid "" "(Work by Nick Coghlan, Dan Mahn, and Senthil Kumaran in :issue:`2987`, :" "issue:`5468`, and :issue:`9873`.)" msgstr "" -#: whatsnew/3.2.rst:2268 +#: whatsnew/3.2.rst:2269 msgid "mailbox" msgstr "" -#: whatsnew/3.2.rst:2270 +#: whatsnew/3.2.rst:2271 msgid "" "Thanks to a concerted effort by R. David Murray, the :mod:`mailbox` module " "has been fixed for Python 3.2. The challenge was that mailbox had been " @@ -2472,27 +2474,27 @@ msgid "" "different encodings." msgstr "" -#: whatsnew/3.2.rst:2275 +#: whatsnew/3.2.rst:2276 msgid "" "The solution harnessed the :mod:`email` package's binary support for parsing " "arbitrary email messages. In addition, the solution required a number of " "API changes." msgstr "" -#: whatsnew/3.2.rst:2279 +#: whatsnew/3.2.rst:2280 msgid "" "As expected, the :meth:`~mailbox.Mailbox.add` method for :class:`mailbox." "Mailbox` objects now accepts binary input." msgstr "" -#: whatsnew/3.2.rst:2282 +#: whatsnew/3.2.rst:2283 msgid "" ":class:`~io.StringIO` and text file input are deprecated. Also, string " "input will fail early if non-ASCII characters are used. Previously it would " "fail when the email was processed in a later step." msgstr "" -#: whatsnew/3.2.rst:2286 +#: whatsnew/3.2.rst:2287 msgid "" "There is also support for binary output. The :meth:`~mailbox.Mailbox." "get_file` method now returns a file in the binary mode (where it used to " @@ -2501,7 +2503,7 @@ msgid "" "message corresponding to a given *key*." msgstr "" -#: whatsnew/3.2.rst:2292 +#: whatsnew/3.2.rst:2293 msgid "" "It is still possible to get non-binary output using the old API's :meth:" "`~mailbox.Mailbox.get_string` method, but that approach is not very useful. " @@ -2509,17 +2511,17 @@ msgid "" "object or to load them from binary input." msgstr "" -#: whatsnew/3.2.rst:2297 +#: whatsnew/3.2.rst:2298 msgid "" "(Contributed by R. David Murray, with efforts from Steffen Daode Nurpmeso " "and an initial patch by Victor Stinner in :issue:`9124`.)" msgstr "" -#: whatsnew/3.2.rst:2301 +#: whatsnew/3.2.rst:2302 msgid "turtledemo" msgstr "" -#: whatsnew/3.2.rst:2303 +#: whatsnew/3.2.rst:2304 msgid "" "The demonstration code for the :mod:`turtle` module was moved from the " "*Demo* directory to main library. It includes over a dozen sample scripts " @@ -2527,16 +2529,16 @@ msgid "" "from the command-line:" msgstr "" -#: whatsnew/3.2.rst:2312 +#: whatsnew/3.2.rst:2313 msgid "" "(Moved from the Demo directory by Alexander Belopolsky in :issue:`10199`.)" msgstr "" -#: whatsnew/3.2.rst:2315 +#: whatsnew/3.2.rst:2316 msgid "Multi-threading" msgstr "" -#: whatsnew/3.2.rst:2317 +#: whatsnew/3.2.rst:2318 msgid "" "The mechanism for serializing execution of concurrently running Python " "threads (generally known as the :term:`GIL` or Global Interpreter Lock) has " @@ -2548,7 +2550,7 @@ msgid "" "setswitchinterval()`. It currently defaults to 5 milliseconds." msgstr "" -#: whatsnew/3.2.rst:2326 +#: whatsnew/3.2.rst:2327 msgid "" "Additional details about the implementation can be read from a `python-dev " "mailing-list message `_ used in :" "meth:`list.sort` and :func:`sorted` now runs faster and uses less memory " @@ -2632,35 +2634,35 @@ msgid "" "saves time lost to delegating comparisons." msgstr "" -#: whatsnew/3.2.rst:2381 +#: whatsnew/3.2.rst:2382 msgid "(Patch by Daniel Stutzbach in :issue:`9915`.)" msgstr "" -#: whatsnew/3.2.rst:2383 +#: whatsnew/3.2.rst:2384 msgid "" "JSON decoding performance is improved and memory consumption is reduced " "whenever the same string is repeated for multiple keys. Also, JSON encoding " "now uses the C speedups when the ``sort_keys`` argument is true." msgstr "" -#: whatsnew/3.2.rst:2387 +#: whatsnew/3.2.rst:2388 msgid "" "(Contributed by Antoine Pitrou in :issue:`7451` and by Raymond Hettinger and " "Antoine Pitrou in :issue:`10314`.)" msgstr "" -#: whatsnew/3.2.rst:2390 +#: whatsnew/3.2.rst:2391 msgid "" "Recursive locks (created with the :func:`threading.RLock` API) now benefit " "from a C implementation which makes them as fast as regular locks, and " "between 10x and 15x faster than their previous pure Python implementation." msgstr "" -#: whatsnew/3.2.rst:2394 +#: whatsnew/3.2.rst:2395 msgid "(Contributed by Antoine Pitrou; :issue:`3001`.)" msgstr "" -#: whatsnew/3.2.rst:2396 +#: whatsnew/3.2.rst:2397 msgid "" "The fast-search algorithm in stringlib is now used by the :meth:`split`, :" "meth:`rsplit`, :meth:`splitlines` and :meth:`replace` methods on :class:" @@ -2669,21 +2671,21 @@ msgid "" "meth:`rpartition`." msgstr "" -#: whatsnew/3.2.rst:2402 +#: whatsnew/3.2.rst:2403 msgid "(Patch by Florent Xicluna in :issue:`7622` and :issue:`7462`.)" msgstr "" -#: whatsnew/3.2.rst:2405 +#: whatsnew/3.2.rst:2406 msgid "" "Integer to string conversions now work two \"digits\" at a time, reducing " "the number of division and modulo operations." msgstr "" -#: whatsnew/3.2.rst:2408 +#: whatsnew/3.2.rst:2409 msgid "(:issue:`6713` by Gawain Bolton, Mark Dickinson, and Victor Stinner.)" msgstr "" -#: whatsnew/3.2.rst:2410 +#: whatsnew/3.2.rst:2411 msgid "" "There were several other minor optimizations. Set differencing now runs " "faster when one operand is much larger than the other (patch by Andress " @@ -2691,15 +2693,16 @@ msgid "" "implementation (:issue:`1569291` by Alexander Belopolsky). The :class:" "`BaseHTTPRequestHandler` has more efficient buffering (:issue:`3709` by " "Andrew Schaaf). The :func:`operator.attrgetter` function has been sped-up (:" -"issue:`10160` by Christos Georgiou). And :class:`ConfigParser` loads multi-" -"line arguments a bit faster (:issue:`7113` by Łukasz Langa)." +"issue:`10160` by Christos Georgiou). And :class:`~configparser." +"ConfigParser` loads multi-line arguments a bit faster (:issue:`7113` by " +"Łukasz Langa)." msgstr "" -#: whatsnew/3.2.rst:2421 +#: whatsnew/3.2.rst:2422 msgid "Unicode" msgstr "" -#: whatsnew/3.2.rst:2423 +#: whatsnew/3.2.rst:2424 msgid "" "Python has been updated to `Unicode 6.0.0 `_. The update to the standard adds over 2,000 new characters " @@ -2707,7 +2710,7 @@ msgid "" "important for mobile phones." msgstr "" -#: whatsnew/3.2.rst:2428 +#: whatsnew/3.2.rst:2429 msgid "" "In addition, the updated standard has altered the character properties for " "two Kannada characters (U+0CF1, U+0CF2) and one New Tai Lue numeric " @@ -2717,15 +2720,15 @@ msgid "" "#Database_Changes>`_." msgstr "" -#: whatsnew/3.2.rst:2436 +#: whatsnew/3.2.rst:2437 msgid "Codecs" msgstr "" -#: whatsnew/3.2.rst:2438 +#: whatsnew/3.2.rst:2439 msgid "Support was added for *cp720* Arabic DOS encoding (:issue:`1616979`)." msgstr "" -#: whatsnew/3.2.rst:2440 +#: whatsnew/3.2.rst:2441 msgid "" "MBCS encoding no longer ignores the error handler argument. In the default " "strict mode, it raises an :exc:`UnicodeDecodeError` when it encounters an " @@ -2733,40 +2736,40 @@ msgid "" "unencodable character." msgstr "" -#: whatsnew/3.2.rst:2445 +#: whatsnew/3.2.rst:2446 msgid "" "The MBCS codec supports ``'strict'`` and ``'ignore'`` error handlers for " "decoding, and ``'strict'`` and ``'replace'`` for encoding." msgstr "" -#: whatsnew/3.2.rst:2448 +#: whatsnew/3.2.rst:2449 msgid "" "To emulate Python3.1 MBCS encoding, select the ``'ignore'`` handler for " "decoding and the ``'replace'`` handler for encoding." msgstr "" -#: whatsnew/3.2.rst:2451 +#: whatsnew/3.2.rst:2452 msgid "" "On Mac OS X, Python decodes command line arguments with ``'utf-8'`` rather " "than the locale encoding." msgstr "" -#: whatsnew/3.2.rst:2454 +#: whatsnew/3.2.rst:2455 msgid "" "By default, :mod:`tarfile` uses ``'utf-8'`` encoding on Windows (instead of " "``'mbcs'``) and the ``'surrogateescape'`` error handler on all operating " "systems." msgstr "" -#: whatsnew/3.2.rst:2460 +#: whatsnew/3.2.rst:2461 msgid "Documentation" msgstr "" -#: whatsnew/3.2.rst:2462 +#: whatsnew/3.2.rst:2463 msgid "The documentation continues to be improved." msgstr "" -#: whatsnew/3.2.rst:2464 +#: whatsnew/3.2.rst:2465 msgid "" "A table of quick links has been added to the top of lengthy sections such " "as :ref:`built-in-funcs`. In the case of :mod:`itertools`, the links are " @@ -2774,7 +2777,7 @@ msgid "" "and memory jog without having to read all of the docs." msgstr "" -#: whatsnew/3.2.rst:2469 +#: whatsnew/3.2.rst:2470 msgid "" "In some cases, the pure Python source code can be a helpful adjunct to the " "documentation, so now many modules now feature quick links to the latest " @@ -2782,80 +2785,80 @@ msgid "" "documentation has a quick link at the top labeled:" msgstr "" -#: whatsnew/3.2.rst:2474 +#: whatsnew/3.2.rst:2475 msgid "**Source code** :source:`Lib/functools.py`." msgstr "" -#: whatsnew/3.2.rst:2476 +#: whatsnew/3.2.rst:2477 msgid "" "(Contributed by Raymond Hettinger; see `rationale `_.)" msgstr "" -#: whatsnew/3.2.rst:2479 +#: whatsnew/3.2.rst:2480 msgid "" "The docs now contain more examples and recipes. In particular, :mod:`re` " "module has an extensive section, :ref:`re-examples`. Likewise, the :mod:" "`itertools` module continues to be updated with new :ref:`itertools-recipes`." msgstr "" -#: whatsnew/3.2.rst:2484 +#: whatsnew/3.2.rst:2485 msgid "" "The :mod:`datetime` module now has an auxiliary implementation in pure " "Python. No functionality was changed. This just provides an easier-to-read " "alternate implementation." msgstr "" -#: whatsnew/3.2.rst:2488 +#: whatsnew/3.2.rst:2489 msgid "(Contributed by Alexander Belopolsky in :issue:`9528`.)" msgstr "" -#: whatsnew/3.2.rst:2490 +#: whatsnew/3.2.rst:2491 msgid "" "The unmaintained :file:`Demo` directory has been removed. Some demos were " "integrated into the documentation, some were moved to the :file:`Tools/demo` " "directory, and others were removed altogether." msgstr "" -#: whatsnew/3.2.rst:2494 +#: whatsnew/3.2.rst:2495 msgid "(Contributed by Georg Brandl in :issue:`7962`.)" msgstr "" -#: whatsnew/3.2.rst:2498 +#: whatsnew/3.2.rst:2499 msgid "IDLE" msgstr "" -#: whatsnew/3.2.rst:2500 +#: whatsnew/3.2.rst:2501 msgid "" "The format menu now has an option to clean source files by stripping " "trailing whitespace." msgstr "" -#: whatsnew/3.2.rst:2503 +#: whatsnew/3.2.rst:2504 msgid "(Contributed by Raymond Hettinger; :issue:`5150`.)" msgstr "" -#: whatsnew/3.2.rst:2505 +#: whatsnew/3.2.rst:2506 msgid "IDLE on Mac OS X now works with both Carbon AquaTk and Cocoa AquaTk." msgstr "" -#: whatsnew/3.2.rst:2507 +#: whatsnew/3.2.rst:2508 msgid "" "(Contributed by Kevin Walzer, Ned Deily, and Ronald Oussoren; :issue:`6075`.)" msgstr "" -#: whatsnew/3.2.rst:2510 +#: whatsnew/3.2.rst:2511 msgid "Code Repository" msgstr "" -#: whatsnew/3.2.rst:2512 +#: whatsnew/3.2.rst:2513 msgid "" "In addition to the existing Subversion code repository at https://svn.python." "org there is now a `Mercurial `_ repository " "at https://hg.python.org/\\ ." msgstr "" -#: whatsnew/3.2.rst:2516 +#: whatsnew/3.2.rst:2517 msgid "" "After the 3.2 release, there are plans to switch to Mercurial as the primary " "repository. This distributed version control system should make it easier " @@ -2863,28 +2866,28 @@ msgid "" "pep:`385` for details." msgstr "" -#: whatsnew/3.2.rst:2521 +#: whatsnew/3.2.rst:2522 msgid "" "To learn to use the new version control system, see the `Quick Start " "`_ or the `Guide to Mercurial " "Workflows `_." msgstr "" -#: whatsnew/3.2.rst:2527 +#: whatsnew/3.2.rst:2528 msgid "Build and C API Changes" msgstr "" -#: whatsnew/3.2.rst:2529 +#: whatsnew/3.2.rst:2530 msgid "Changes to Python's build process and to the C API include:" msgstr "" -#: whatsnew/3.2.rst:2531 +#: whatsnew/3.2.rst:2532 msgid "" "The *idle*, *pydoc* and *2to3* scripts are now installed with a version-" "specific suffix on ``make altinstall`` (:issue:`10679`)." msgstr "" -#: whatsnew/3.2.rst:2534 +#: whatsnew/3.2.rst:2535 msgid "" "The C functions that access the Unicode Database now accept and return " "characters from the full Unicode range, even on narrow unicode builds " @@ -2894,33 +2897,33 @@ msgid "" "characters as printable." msgstr "" -#: whatsnew/3.2.rst:2541 +#: whatsnew/3.2.rst:2542 msgid "" "(Reported by Bupjoe Lee and fixed by Amaury Forgeot D'Arc; :issue:`5127`.)" msgstr "" -#: whatsnew/3.2.rst:2543 +#: whatsnew/3.2.rst:2544 msgid "" "Computed gotos are now enabled by default on supported compilers (which are " "detected by the configure script). They can still be disabled selectively " "by specifying ``--without-computed-gotos``." msgstr "" -#: whatsnew/3.2.rst:2547 +#: whatsnew/3.2.rst:2548 msgid "(Contributed by Antoine Pitrou; :issue:`9203`.)" msgstr "" -#: whatsnew/3.2.rst:2549 +#: whatsnew/3.2.rst:2550 msgid "" "The option ``--with-wctype-functions`` was removed. The built-in unicode " "database is now used for all functions." msgstr "" -#: whatsnew/3.2.rst:2552 +#: whatsnew/3.2.rst:2553 msgid "(Contributed by Amaury Forgeot D'Arc; :issue:`9210`.)" msgstr "" -#: whatsnew/3.2.rst:2554 +#: whatsnew/3.2.rst:2555 msgid "" "Hash values are now values of a new type, :c:type:`Py_hash_t`, which is " "defined to be the same size as a pointer. Previously they were of type " @@ -2930,34 +2933,34 @@ msgid "" "grow to that size but their performance degraded catastrophically)." msgstr "" -#: whatsnew/3.2.rst:2561 +#: whatsnew/3.2.rst:2562 msgid "" "(Suggested by Raymond Hettinger and implemented by Benjamin Peterson; :issue:" "`9778`.)" msgstr "" -#: whatsnew/3.2.rst:2564 +#: whatsnew/3.2.rst:2565 msgid "" "A new macro :c:macro:`Py_VA_COPY` copies the state of the variable argument " "list. It is equivalent to C99 *va_copy* but available on all Python " "platforms (:issue:`2443`)." msgstr "" -#: whatsnew/3.2.rst:2568 +#: whatsnew/3.2.rst:2569 msgid "" "A new C API function :c:func:`PySys_SetArgvEx` allows an embedded " "interpreter to set :data:`sys.argv` without also modifying :data:`sys.path` " "(:issue:`5753`)." msgstr "" -#: whatsnew/3.2.rst:2572 +#: whatsnew/3.2.rst:2573 msgid "" ":c:func:`!PyEval_CallObject` is now only available in macro form. The " "function declaration, which was kept for backwards compatibility reasons, is " "now removed -- the macro was introduced in 1997 (:issue:`8276`)." msgstr "" -#: whatsnew/3.2.rst:2576 +#: whatsnew/3.2.rst:2577 msgid "" "There is a new function :c:func:`PyLong_AsLongLongAndOverflow` which is " "analogous to :c:func:`PyLong_AsLongAndOverflow`. They both serve to convert " @@ -2965,13 +2968,13 @@ msgid "" "of cases where the conversion won't fit (:issue:`7767`)." msgstr "" -#: whatsnew/3.2.rst:2581 +#: whatsnew/3.2.rst:2582 msgid "" "The :c:func:`PyUnicode_CompareWithASCIIString` function now returns *not " "equal* if the Python string is *NUL* terminated." msgstr "" -#: whatsnew/3.2.rst:2584 +#: whatsnew/3.2.rst:2585 msgid "" "There is a new function :c:func:`PyErr_NewExceptionWithDoc` that is like :c:" "func:`PyErr_NewException` but allows a docstring to be specified. This lets " @@ -2979,7 +2982,7 @@ msgid "" "Python counterparts (:issue:`7033`)." msgstr "" -#: whatsnew/3.2.rst:2589 +#: whatsnew/3.2.rst:2590 msgid "" "When compiled with the ``--with-valgrind`` option, the pymalloc allocator " "will be automatically disabled when running under Valgrind. This gives " @@ -2987,20 +2990,20 @@ msgid "" "advantage of pymalloc at other times (:issue:`2422`)." msgstr "" -#: whatsnew/3.2.rst:2594 +#: whatsnew/3.2.rst:2595 msgid "" "Removed the ``O?`` format from the *PyArg_Parse* functions. The format is " "no longer used and it had never been documented (:issue:`8837`)." msgstr "" -#: whatsnew/3.2.rst:2597 +#: whatsnew/3.2.rst:2598 msgid "" "There were a number of other small changes to the C-API. See the `Misc/NEWS " "`__ file for a " "complete list." msgstr "" -#: whatsnew/3.2.rst:2601 +#: whatsnew/3.2.rst:2602 msgid "" "Also, there were a number of updates to the Mac OS X build, see `Mac/" "BuildScript/README.txt `_.)" msgstr "" -#: whatsnew/3.2.rst:2698 +#: whatsnew/3.2.rst:2699 msgid "" ":func:`struct.pack` now only allows bytes for the ``s`` string pack code. " "Formerly, it would accept text arguments and implicitly encode them to bytes " @@ -3163,32 +3166,32 @@ msgid "" "writing to fixed length segment of a structure." msgstr "" -#: whatsnew/3.2.rst:2704 +#: whatsnew/3.2.rst:2705 msgid "" "Code such as ``struct.pack('<6sHHBBB', 'GIF87a', x, y)`` should be rewritten " "with to use bytes instead of text, ``struct.pack('<6sHHBBB', b'GIF87a', x, " "y)``." msgstr "" -#: whatsnew/3.2.rst:2707 +#: whatsnew/3.2.rst:2708 msgid "" "(Discovered by David Beazley and fixed by Victor Stinner; :issue:`10783`.)" msgstr "" -#: whatsnew/3.2.rst:2709 +#: whatsnew/3.2.rst:2710 msgid "" "The :class:`xml.etree.ElementTree` class now raises an :exc:`xml.etree." "ElementTree.ParseError` when a parse fails. Previously it raised an :exc:" "`xml.parsers.expat.ExpatError`." msgstr "" -#: whatsnew/3.2.rst:2713 +#: whatsnew/3.2.rst:2714 msgid "" "The new, longer :func:`str` value on floats may break doctests which rely on " "the old output format." msgstr "" -#: whatsnew/3.2.rst:2716 +#: whatsnew/3.2.rst:2717 msgid "" "In :class:`subprocess.Popen`, the default value for *close_fds* is now " "``True`` under Unix; under Windows, it is ``True`` if the three standard " @@ -3197,28 +3200,28 @@ msgid "" "race conditions when open file descriptors would leak into the child process." msgstr "" -#: whatsnew/3.2.rst:2723 +#: whatsnew/3.2.rst:2724 msgid "" "Support for legacy HTTP 0.9 has been removed from :mod:`urllib.request` and :" "mod:`http.client`. Such support is still present on the server side (in :" "mod:`http.server`)." msgstr "" -#: whatsnew/3.2.rst:2727 +#: whatsnew/3.2.rst:2728 msgid "(Contributed by Antoine Pitrou, :issue:`10711`.)" msgstr "" -#: whatsnew/3.2.rst:2729 +#: whatsnew/3.2.rst:2730 msgid "" "SSL sockets in timeout mode now raise :exc:`socket.timeout` when a timeout " "occurs, rather than a generic :exc:`~ssl.SSLError`." msgstr "" -#: whatsnew/3.2.rst:2732 +#: whatsnew/3.2.rst:2733 msgid "(Contributed by Antoine Pitrou, :issue:`10272`.)" msgstr "" -#: whatsnew/3.2.rst:2734 +#: whatsnew/3.2.rst:2735 msgid "" "The misleading functions :c:func:`!PyEval_AcquireLock` and :c:func:`!" "PyEval_ReleaseLock` have been officially deprecated. The thread-state aware " @@ -3226,18 +3229,18 @@ msgid "" "`PyEval_RestoreThread`) should be used instead." msgstr "" -#: whatsnew/3.2.rst:2739 +#: whatsnew/3.2.rst:2740 msgid "" "Due to security risks, :func:`asyncore.handle_accept` has been deprecated, " "and a new function, :func:`asyncore.handle_accepted`, was added to replace " "it." msgstr "" -#: whatsnew/3.2.rst:2742 +#: whatsnew/3.2.rst:2743 msgid "(Contributed by Giampaolo Rodola in :issue:`6706`.)" msgstr "" -#: whatsnew/3.2.rst:2744 +#: whatsnew/3.2.rst:2745 msgid "" "Due to the new :term:`GIL` implementation, :c:func:`!PyEval_InitThreads` " "cannot be called before :c:func:`Py_Initialize` anymore." diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index af5d863e4..8c3226ff2 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-10-01 00:18+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2627,7 +2627,7 @@ msgid "" "The :ref:`python ` command has a new :ref:`option `, ``-I``, which causes it to run in \"isolated mode\", " "which means that :data:`sys.path` contains neither the script's directory " -"nor the user's ``site-packages`` directory, and all :envvar:`PYTHON*` " +"nor the user's ``site-packages`` directory, and all :envvar:`!PYTHON*` " "environment variables are ignored (it implies both ``-s`` and ``-E``). " "Other restrictions may also be applied in the future, with the goal being to " "isolate the execution of a script from the user's environment. This is " @@ -3332,8 +3332,8 @@ msgstr "" #: whatsnew/3.4.rst:2407 msgid "" "Parameter names in ``__annotations__`` dicts are now mangled properly, " -"similarly to ``__kwdefaults__``. (Contributed by Yury Selivanov in :issue:" -"`20625`.)" +"similarly to :attr:`~function.__kwdefaults__`. (Contributed by Yury " +"Selivanov in :issue:`20625`.)" msgstr "" #: whatsnew/3.4.rst:2411 diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index 592d1e9ef..4348bd209 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2390,29 +2390,29 @@ msgstr "" #: whatsnew/3.5.rst:1949 msgid "" "New :func:`~traceback.walk_stack` and :func:`~traceback.walk_tb` functions " -"to conveniently traverse frame and traceback objects. (Contributed by Robert " -"Collins in :issue:`17911`.)" +"to conveniently traverse frame and :ref:`traceback objects `. (Contributed by Robert Collins in :issue:`17911`.)" msgstr "" -#: whatsnew/3.5.rst:1953 +#: whatsnew/3.5.rst:1954 msgid "" "New lightweight classes: :class:`~traceback.TracebackException`, :class:" "`~traceback.StackSummary`, and :class:`~traceback.FrameSummary`. " "(Contributed by Robert Collins in :issue:`17911`.)" msgstr "" -#: whatsnew/3.5.rst:1957 +#: whatsnew/3.5.rst:1958 msgid "" "Both the :func:`~traceback.print_tb` and :func:`~traceback.print_stack` " "functions now support negative values for the *limit* argument. (Contributed " "by Dmitry Kazakov in :issue:`22619`.)" msgstr "" -#: whatsnew/3.5.rst:1963 +#: whatsnew/3.5.rst:1964 msgid "types" msgstr "" -#: whatsnew/3.5.rst:1965 +#: whatsnew/3.5.rst:1966 msgid "" "A new :func:`~types.coroutine` function to transform :term:`generator " "` and :class:`generator-like `_." msgstr "" -#: whatsnew/3.5.rst:1984 +#: whatsnew/3.5.rst:1985 msgid "unittest" msgstr "" -#: whatsnew/3.5.rst:1986 +#: whatsnew/3.5.rst:1987 msgid "" "The :meth:`TestLoader.loadTestsFromModule() ` method now accepts a keyword-only argument *pattern* " @@ -2452,42 +2452,42 @@ msgid "" "`16662`.)" msgstr "" -#: whatsnew/3.5.rst:1993 +#: whatsnew/3.5.rst:1994 msgid "" "Unittest discovery errors now are exposed in the :data:`TestLoader.errors " "` attribute of the :class:`~unittest.TestLoader` " "instance. (Contributed by Robert Collins in :issue:`19746`.)" msgstr "" -#: whatsnew/3.5.rst:1998 +#: whatsnew/3.5.rst:1999 msgid "" "A new command line option ``--locals`` to show local variables in " "tracebacks. (Contributed by Robert Collins in :issue:`22936`.)" msgstr "" -#: whatsnew/3.5.rst:2003 +#: whatsnew/3.5.rst:2004 msgid "unittest.mock" msgstr "" -#: whatsnew/3.5.rst:2005 +#: whatsnew/3.5.rst:2006 msgid "The :class:`~unittest.mock.Mock` class has the following improvements:" msgstr "" -#: whatsnew/3.5.rst:2007 +#: whatsnew/3.5.rst:2008 msgid "" "The class constructor has a new *unsafe* parameter, which causes mock " "objects to raise :exc:`AttributeError` on attribute names starting with " "``\"assert\"``. (Contributed by Kushal Das in :issue:`21238`.)" msgstr "" -#: whatsnew/3.5.rst:2012 +#: whatsnew/3.5.rst:2013 msgid "" "A new :meth:`Mock.assert_not_called() ` method to check if the mock object was called. " "(Contributed by Kushal Das in :issue:`21262`.)" msgstr "" -#: whatsnew/3.5.rst:2016 +#: whatsnew/3.5.rst:2017 msgid "" "The :class:`~unittest.mock.MagicMock` class now supports :meth:" "`__truediv__`, :meth:`__divmod__` and :meth:`__matmul__` operators. " @@ -2495,18 +2495,18 @@ msgid "" "issue:`23581` and :issue:`23568`.)" msgstr "" -#: whatsnew/3.5.rst:2021 +#: whatsnew/3.5.rst:2022 msgid "" "It is no longer necessary to explicitly pass ``create=True`` to the :func:" "`~unittest.mock.patch` function when patching builtin names. (Contributed by " "Kushal Das in :issue:`17660`.)" msgstr "" -#: whatsnew/3.5.rst:2027 +#: whatsnew/3.5.rst:2028 msgid "urllib" msgstr "" -#: whatsnew/3.5.rst:2029 +#: whatsnew/3.5.rst:2030 msgid "" "A new :class:`request.HTTPPasswordMgrWithPriorAuth ` class allows HTTP Basic Authentication " @@ -2517,21 +2517,21 @@ msgid "" "Cepl in :issue:`19494` and Akshit Khurana in :issue:`7159`.)" msgstr "" -#: whatsnew/3.5.rst:2038 +#: whatsnew/3.5.rst:2039 msgid "" "A new *quote_via* argument for the :func:`parse.urlencode() ` function provides a way to control the encoding of query parts " "if needed. (Contributed by Samwyse and Arnon Yaari in :issue:`13866`.)" msgstr "" -#: whatsnew/3.5.rst:2043 +#: whatsnew/3.5.rst:2044 msgid "" "The :func:`request.urlopen() ` function accepts an :" "class:`ssl.SSLContext` object as a *context* argument, which will be used " "for the HTTPS connection. (Contributed by Alex Gaynor in :issue:`22366`.)" msgstr "" -#: whatsnew/3.5.rst:2047 +#: whatsnew/3.5.rst:2048 msgid "" "The :func:`parse.urljoin() ` was updated to use the :" "rfc:`3986` semantics for the resolution of relative URLs, rather than :rfc:" @@ -2539,74 +2539,74 @@ msgid "" "in :issue:`22118`.)" msgstr "" -#: whatsnew/3.5.rst:2054 +#: whatsnew/3.5.rst:2055 msgid "wsgiref" msgstr "" -#: whatsnew/3.5.rst:2056 +#: whatsnew/3.5.rst:2057 msgid "" "The *headers* argument of the :class:`headers.Headers ` class constructor is now optional. (Contributed by Pablo Torres " "Navarrete and SilentGhost in :issue:`5800`.)" msgstr "" -#: whatsnew/3.5.rst:2062 +#: whatsnew/3.5.rst:2063 msgid "xmlrpc" msgstr "" -#: whatsnew/3.5.rst:2064 +#: whatsnew/3.5.rst:2065 msgid "" "The :class:`client.ServerProxy ` class now " "supports the :term:`context manager` protocol. (Contributed by Claudiu Popa " "in :issue:`20627`.)" msgstr "" -#: whatsnew/3.5.rst:2068 +#: whatsnew/3.5.rst:2069 msgid "" "The :class:`client.ServerProxy ` constructor now " "accepts an optional :class:`ssl.SSLContext` instance. (Contributed by Alex " "Gaynor in :issue:`22960`.)" msgstr "" -#: whatsnew/3.5.rst:2074 +#: whatsnew/3.5.rst:2075 msgid "xml.sax" msgstr "" -#: whatsnew/3.5.rst:2076 +#: whatsnew/3.5.rst:2077 msgid "" "SAX parsers now support a character stream of the :class:`xmlreader." "InputSource ` object. (Contributed by Serhiy " "Storchaka in :issue:`2175`.)" msgstr "" -#: whatsnew/3.5.rst:2080 +#: whatsnew/3.5.rst:2081 msgid "" ":func:`~xml.sax.parseString` now accepts a :class:`str` instance. " "(Contributed by Serhiy Storchaka in :issue:`10590`.)" msgstr "" -#: whatsnew/3.5.rst:2085 +#: whatsnew/3.5.rst:2086 msgid "zipfile" msgstr "" -#: whatsnew/3.5.rst:2087 +#: whatsnew/3.5.rst:2088 msgid "" "ZIP output can now be written to unseekable streams. (Contributed by Serhiy " "Storchaka in :issue:`23252`.)" msgstr "" -#: whatsnew/3.5.rst:2090 +#: whatsnew/3.5.rst:2091 msgid "" "The *mode* argument of :meth:`ZipFile.open() ` method " "now accepts ``\"x\"`` to request exclusive creation. (Contributed by Serhiy " "Storchaka in :issue:`21717`.)" msgstr "" -#: whatsnew/3.5.rst:2096 +#: whatsnew/3.5.rst:2097 msgid "Other module-level changes" msgstr "" -#: whatsnew/3.5.rst:2098 +#: whatsnew/3.5.rst:2099 msgid "" "Many functions in the :mod:`mmap`, :mod:`ossaudiodev`, :mod:`socket`, :mod:" "`ssl`, and :mod:`codecs` modules now accept writable :term:`bytes-like " @@ -2614,11 +2614,11 @@ msgid "" "`23001`.)" msgstr "" -#: whatsnew/3.5.rst:2105 +#: whatsnew/3.5.rst:2106 msgid "Optimizations" msgstr "" -#: whatsnew/3.5.rst:2107 +#: whatsnew/3.5.rst:2108 msgid "" "The :func:`os.walk` function has been sped up by 3 to 5 times on POSIX " "systems, and by 7 to 20 times on Windows. This was done using the new :func:" @@ -2627,7 +2627,7 @@ msgid "" "(Contributed by Ben Hoyt with help from Victor Stinner in :issue:`23605`.)" msgstr "" -#: whatsnew/3.5.rst:2113 +#: whatsnew/3.5.rst:2114 msgid "" "Construction of ``bytes(int)`` (filled by zero bytes) is faster and uses " "less memory for large objects. ``calloc()`` is used instead of ``malloc()`` " @@ -2635,7 +2635,7 @@ msgid "" "issue:`21233`.)" msgstr "" -#: whatsnew/3.5.rst:2118 +#: whatsnew/3.5.rst:2119 msgid "" "Some operations on :mod:`ipaddress` :class:`~ipaddress.IPv4Network` and :" "class:`~ipaddress.IPv6Network` have been massively sped up, such as :meth:" @@ -2646,20 +2646,20 @@ msgid "" "`21487`, :issue:`20826`, :issue:`23266`.)" msgstr "" -#: whatsnew/3.5.rst:2126 +#: whatsnew/3.5.rst:2127 msgid "" "Pickling of :mod:`ipaddress` objects was optimized to produce significantly " "smaller output. (Contributed by Serhiy Storchaka in :issue:`23133`.)" msgstr "" -#: whatsnew/3.5.rst:2129 +#: whatsnew/3.5.rst:2130 msgid "" "Many operations on :class:`io.BytesIO` are now 50% to 100% faster. " "(Contributed by Serhiy Storchaka in :issue:`15381` and David Wilson in :" "issue:`22003`.)" msgstr "" -#: whatsnew/3.5.rst:2133 +#: whatsnew/3.5.rst:2134 msgid "" "The :func:`marshal.dumps` function is now faster: 65--85% with versions 3 " "and 4, 20--25% with versions 0 to 2 on typical data, and up to 5 times in " @@ -2667,26 +2667,26 @@ msgid "" "`23344`.)" msgstr "" -#: whatsnew/3.5.rst:2138 +#: whatsnew/3.5.rst:2139 msgid "" "The UTF-32 encoder is now 3 to 7 times faster. (Contributed by Serhiy " "Storchaka in :issue:`15027`.)" msgstr "" -#: whatsnew/3.5.rst:2141 +#: whatsnew/3.5.rst:2142 msgid "" "Regular expressions are now parsed up to 10% faster. (Contributed by Serhiy " "Storchaka in :issue:`19380`.)" msgstr "" -#: whatsnew/3.5.rst:2144 +#: whatsnew/3.5.rst:2145 msgid "" "The :func:`json.dumps` function was optimized to run with " "``ensure_ascii=False`` as fast as with ``ensure_ascii=True``. (Contributed " "by Naoki Inada in :issue:`23206`.)" msgstr "" -#: whatsnew/3.5.rst:2148 +#: whatsnew/3.5.rst:2149 msgid "" "The :c:func:`PyObject_IsInstance` and :c:func:`PyObject_IsSubclass` " "functions have been sped up in the common case that the second argument has :" @@ -2694,32 +2694,32 @@ msgid "" "`22540`.)" msgstr "" -#: whatsnew/3.5.rst:2153 +#: whatsnew/3.5.rst:2154 msgid "" "Method caching was slightly improved, yielding up to 5% performance " "improvement in some benchmarks. (Contributed by Antoine Pitrou in :issue:" "`22847`.)" msgstr "" -#: whatsnew/3.5.rst:2157 +#: whatsnew/3.5.rst:2158 msgid "" "Objects from the :mod:`random` module now use 50% less memory on 64-bit " "builds. (Contributed by Serhiy Storchaka in :issue:`23488`.)" msgstr "" -#: whatsnew/3.5.rst:2160 +#: whatsnew/3.5.rst:2161 msgid "" "The :func:`property` getter calls are up to 25% faster. (Contributed by Joe " "Jevnik in :issue:`23910`.)" msgstr "" -#: whatsnew/3.5.rst:2163 +#: whatsnew/3.5.rst:2164 msgid "" "Instantiation of :class:`fractions.Fraction` is now up to 30% faster. " "(Contributed by Stefan Behnel in :issue:`22464`.)" msgstr "" -#: whatsnew/3.5.rst:2166 +#: whatsnew/3.5.rst:2167 msgid "" "String methods :meth:`~str.find`, :meth:`~str.rfind`, :meth:`~str.split`, :" "meth:`~str.partition` and the :keyword:`in` string operator are now " @@ -2727,67 +2727,67 @@ msgid "" "Serhiy Storchaka in :issue:`23573`.)" msgstr "" -#: whatsnew/3.5.rst:2173 +#: whatsnew/3.5.rst:2174 msgid "Build and C API Changes" msgstr "" -#: whatsnew/3.5.rst:2175 +#: whatsnew/3.5.rst:2176 msgid "New ``calloc`` functions were added:" msgstr "" -#: whatsnew/3.5.rst:2177 +#: whatsnew/3.5.rst:2178 msgid ":c:func:`PyMem_RawCalloc`," msgstr "" -#: whatsnew/3.5.rst:2178 +#: whatsnew/3.5.rst:2179 msgid ":c:func:`PyMem_Calloc`," msgstr "" -#: whatsnew/3.5.rst:2179 +#: whatsnew/3.5.rst:2180 msgid ":c:func:`PyObject_Calloc`." msgstr "" -#: whatsnew/3.5.rst:2181 +#: whatsnew/3.5.rst:2182 msgid "(Contributed by Victor Stinner in :issue:`21233`.)" msgstr "" -#: whatsnew/3.5.rst:2183 +#: whatsnew/3.5.rst:2184 msgid "New encoding/decoding helper functions:" msgstr "" -#: whatsnew/3.5.rst:2185 +#: whatsnew/3.5.rst:2186 msgid ":c:func:`Py_DecodeLocale` (replaced ``_Py_char2wchar()``)," msgstr "" -#: whatsnew/3.5.rst:2186 +#: whatsnew/3.5.rst:2187 msgid ":c:func:`Py_EncodeLocale` (replaced ``_Py_wchar2char()``)." msgstr "" -#: whatsnew/3.5.rst:2188 +#: whatsnew/3.5.rst:2189 msgid "(Contributed by Victor Stinner in :issue:`18395`.)" msgstr "" -#: whatsnew/3.5.rst:2190 +#: whatsnew/3.5.rst:2191 msgid "" "A new :c:func:`PyCodec_NameReplaceErrors` function to replace the unicode " "encode error with ``\\N{...}`` escapes. (Contributed by Serhiy Storchaka in :" "issue:`19676`.)" msgstr "" -#: whatsnew/3.5.rst:2194 +#: whatsnew/3.5.rst:2195 msgid "" "A new :c:func:`PyErr_FormatV` function similar to :c:func:`PyErr_Format`, " "but accepts a :c:type:`va_list` argument. (Contributed by Antoine Pitrou in :" "issue:`18711`.)" msgstr "" -#: whatsnew/3.5.rst:2198 +#: whatsnew/3.5.rst:2199 msgid "" "A new :c:data:`PyExc_RecursionError` exception. (Contributed by Georg Brandl " "in :issue:`19235`.)" msgstr "" -#: whatsnew/3.5.rst:2201 +#: whatsnew/3.5.rst:2202 msgid "" "New :c:func:`PyModule_FromDefAndSpec`, :c:func:`PyModule_FromDefAndSpec2`, " "and :c:func:`PyModule_ExecDef` functions introduced by :pep:`489` -- multi-" @@ -2795,7 +2795,7 @@ msgid "" "issue:`24268`.)" msgstr "" -#: whatsnew/3.5.rst:2206 +#: whatsnew/3.5.rst:2207 msgid "" "New :c:func:`PyNumber_MatrixMultiply` and :c:func:" "`PyNumber_InPlaceMatrixMultiply` functions to perform matrix multiplication. " @@ -2803,19 +2803,19 @@ msgid "" "for details.)" msgstr "" -#: whatsnew/3.5.rst:2212 +#: whatsnew/3.5.rst:2213 msgid "" "The :c:member:`PyTypeObject.tp_finalize` slot is now part of the stable ABI." msgstr "" -#: whatsnew/3.5.rst:2214 +#: whatsnew/3.5.rst:2215 msgid "" "Windows builds now require Microsoft Visual C++ 14.0, which is available as " "part of `Visual Studio 2015 `_." msgstr "" -#: whatsnew/3.5.rst:2217 +#: whatsnew/3.5.rst:2218 msgid "" "Extension modules now include a platform information tag in their filename " "on some platforms (the tag is optional, and CPython will import extensions " @@ -2823,88 +2823,88 @@ msgid "" "won't be loaded):" msgstr "" -#: whatsnew/3.5.rst:2222 +#: whatsnew/3.5.rst:2223 msgid "" "On Linux, extension module filenames end with ``.cpython-m-" "-.pyd``:" msgstr "" -#: whatsnew/3.5.rst:2242 +#: whatsnew/3.5.rst:2243 msgid "" "```` is the major number of the Python version; for Python 3.5 this " "is ``3``." msgstr "" -#: whatsnew/3.5.rst:2245 +#: whatsnew/3.5.rst:2246 msgid "" "```` is the minor number of the Python version; for Python 3.5 this " "is ``5``." msgstr "" -#: whatsnew/3.5.rst:2231 +#: whatsnew/3.5.rst:2232 msgid "" "```` is the hardware architecture the extension module was " "built to run on. It's most commonly either ``i386`` for 32-bit Intel " "platforms or ``x86_64`` for 64-bit Intel (and AMD) platforms." msgstr "" -#: whatsnew/3.5.rst:2235 +#: whatsnew/3.5.rst:2236 msgid "" "```` is always ``linux-gnu``, except for extensions built to talk to the " "32-bit ABI on 64-bit platforms, in which case it is ``linux-gnu32`` (and " "```` will be ``x86_64``)." msgstr "" -#: whatsnew/3.5.rst:2239 +#: whatsnew/3.5.rst:2240 msgid "" "On Windows, extension module filenames end with ``.cp-" ".pyd``:" msgstr "" -#: whatsnew/3.5.rst:2248 +#: whatsnew/3.5.rst:2249 msgid "" "```` is the platform the extension module was built for, either " "``win32`` for Win32, ``win_amd64`` for Win64, ``win_ia64`` for Windows " "Itanium 64, and ``win_arm`` for Windows on ARM." msgstr "" -#: whatsnew/3.5.rst:2252 +#: whatsnew/3.5.rst:2253 msgid "" "If built in debug mode, ```` will be ``_d``, otherwise it will be " "blank." msgstr "" -#: whatsnew/3.5.rst:2255 +#: whatsnew/3.5.rst:2256 msgid "" "On OS X platforms, extension module filenames now end with ``-darwin.so``." msgstr "" -#: whatsnew/3.5.rst:2257 +#: whatsnew/3.5.rst:2258 msgid "" "On all other platforms, extension module filenames are the same as they were " "with Python 3.4." msgstr "" -#: whatsnew/3.5.rst:2262 +#: whatsnew/3.5.rst:2263 msgid "Deprecated" msgstr "" -#: whatsnew/3.5.rst:2265 +#: whatsnew/3.5.rst:2266 msgid "New Keywords" msgstr "" -#: whatsnew/3.5.rst:2267 +#: whatsnew/3.5.rst:2268 msgid "" "``async`` and ``await`` are not recommended to be used as variable, class, " "function or module names. Introduced by :pep:`492` in Python 3.5, they will " "become proper keywords in Python 3.7." msgstr "" -#: whatsnew/3.5.rst:2273 +#: whatsnew/3.5.rst:2274 msgid "Deprecated Python Behavior" msgstr "" -#: whatsnew/3.5.rst:2275 +#: whatsnew/3.5.rst:2276 msgid "" "Raising the :exc:`StopIteration` exception inside a generator will now " "generate a silent :exc:`PendingDeprecationWarning`, which will become a non-" @@ -2913,33 +2913,33 @@ msgid "" "handling inside generators ` for details." msgstr "" -#: whatsnew/3.5.rst:2283 +#: whatsnew/3.5.rst:2284 msgid "Unsupported Operating Systems" msgstr "" -#: whatsnew/3.5.rst:2285 +#: whatsnew/3.5.rst:2286 msgid "" "Windows XP is no longer supported by Microsoft, thus, per :PEP:`11`, CPython " "3.5 is no longer officially supported on this OS." msgstr "" -#: whatsnew/3.5.rst:2290 +#: whatsnew/3.5.rst:2291 msgid "Deprecated Python modules, functions and methods" msgstr "" -#: whatsnew/3.5.rst:2292 +#: whatsnew/3.5.rst:2293 msgid "" "The :mod:`formatter` module has now graduated to full deprecation and is " "still slated for removal in Python 3.6." msgstr "" -#: whatsnew/3.5.rst:2295 +#: whatsnew/3.5.rst:2296 msgid "" "The :func:`asyncio.async` function is deprecated in favor of :func:`~asyncio." "ensure_future`." msgstr "" -#: whatsnew/3.5.rst:2298 +#: whatsnew/3.5.rst:2299 msgid "" "The :mod:`smtpd` module has in the past always decoded the DATA portion of " "email messages using the ``utf-8`` codec. This can now be controlled by the " @@ -2948,7 +2948,7 @@ msgid "" "keyword with an appropriate value to avoid the deprecation warning." msgstr "" -#: whatsnew/3.5.rst:2304 +#: whatsnew/3.5.rst:2305 msgid "" "Directly assigning values to the :attr:`~http.cookies.Morsel.key`, :attr:" "`~http.cookies.Morsel.value` and :attr:`~http.cookies.Morsel.coded_value` " @@ -2958,14 +2958,14 @@ msgid "" "and is now ignored." msgstr "" -#: whatsnew/3.5.rst:2311 +#: whatsnew/3.5.rst:2312 msgid "" "Passing a format string as keyword argument *format_string* to the :meth:" "`~string.Formatter.format` method of the :class:`string.Formatter` class has " "been deprecated. (Contributed by Serhiy Storchaka in :issue:`23671`.)" msgstr "" -#: whatsnew/3.5.rst:2316 +#: whatsnew/3.5.rst:2317 msgid "" "The :func:`platform.dist` and :func:`platform.linux_distribution` functions " "are now deprecated. Linux distributions use too many different ways of " @@ -2973,7 +2973,7 @@ msgid "" "(Contributed by Vajrasky Kok and Berker Peksag in :issue:`1322`.)" msgstr "" -#: whatsnew/3.5.rst:2321 +#: whatsnew/3.5.rst:2322 msgid "" "The previously undocumented ``from_function`` and ``from_builtin`` methods " "of :class:`inspect.Signature` are deprecated. Use the new :meth:`Signature." @@ -2981,13 +2981,13 @@ msgid "" "(Contributed by Yury Selivanov in :issue:`24248`.)" msgstr "" -#: whatsnew/3.5.rst:2326 +#: whatsnew/3.5.rst:2327 msgid "" "The :func:`inspect.getargspec` function is deprecated and scheduled to be " "removed in Python 3.6. (See :issue:`20438` for details.)" msgstr "" -#: whatsnew/3.5.rst:2329 +#: whatsnew/3.5.rst:2330 msgid "" "The :mod:`inspect` :func:`~inspect.getfullargspec`, :func:`~inspect." "getcallargs`, and :func:`~inspect.formatargspec` functions are deprecated in " @@ -2995,19 +2995,19 @@ msgid "" "in :issue:`20438`.)" msgstr "" -#: whatsnew/3.5.rst:2334 +#: whatsnew/3.5.rst:2335 msgid "" ":func:`~inspect.getargvalues` and :func:`~inspect.formatargvalues` functions " "were inadvertently marked as deprecated with the release of Python 3.5.0." msgstr "" -#: whatsnew/3.5.rst:2337 +#: whatsnew/3.5.rst:2338 msgid "" "Use of :const:`re.LOCALE` flag with str patterns or :const:`re.ASCII` is now " "deprecated. (Contributed by Serhiy Storchaka in :issue:`22407`.)" msgstr "" -#: whatsnew/3.5.rst:2340 +#: whatsnew/3.5.rst:2341 msgid "" "Use of unrecognized special sequences consisting of ``'\\'`` and an ASCII " "letter in regular expression patterns and replacement patterns now raises a " @@ -3015,7 +3015,7 @@ msgid "" "Serhiy Storchaka in :issue:`23622`.)" msgstr "" -#: whatsnew/3.5.rst:2345 +#: whatsnew/3.5.rst:2346 msgid "" "The undocumented and unofficial *use_load_tests* default argument of the :" "meth:`unittest.TestLoader.loadTestsFromModule` method now is deprecated and " @@ -3023,82 +3023,82 @@ msgid "" "`16662`.)" msgstr "" -#: whatsnew/3.5.rst:2352 +#: whatsnew/3.5.rst:2353 msgid "Removed" msgstr "" -#: whatsnew/3.5.rst:2355 +#: whatsnew/3.5.rst:2356 msgid "API and Feature Removals" msgstr "" -#: whatsnew/3.5.rst:2357 +#: whatsnew/3.5.rst:2358 msgid "" "The following obsolete and previously deprecated APIs and features have been " "removed:" msgstr "" -#: whatsnew/3.5.rst:2360 +#: whatsnew/3.5.rst:2361 msgid "" "The ``__version__`` attribute has been dropped from the email package. The " "email code hasn't been shipped separately from the stdlib for a long time, " "and the ``__version__`` string was not updated in the last few releases." msgstr "" -#: whatsnew/3.5.rst:2364 +#: whatsnew/3.5.rst:2365 msgid "" "The internal ``Netrc`` class in the :mod:`ftplib` module was deprecated in " "3.4, and has now been removed. (Contributed by Matt Chaput in :issue:`6623`.)" msgstr "" -#: whatsnew/3.5.rst:2368 +#: whatsnew/3.5.rst:2369 msgid "The concept of ``.pyo`` files has been removed." msgstr "" -#: whatsnew/3.5.rst:2370 +#: whatsnew/3.5.rst:2371 msgid "" "The JoinableQueue class in the provisional :mod:`asyncio` module was " "deprecated in 3.4.4 and is now removed. (Contributed by A. Jesse Jiryu Davis " "in :issue:`23464`.)" msgstr "" -#: whatsnew/3.5.rst:2376 +#: whatsnew/3.5.rst:2377 msgid "Porting to Python 3.5" msgstr "" -#: whatsnew/3.5.rst:2378 +#: whatsnew/3.5.rst:2379 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.5.rst:2383 +#: whatsnew/3.5.rst:2384 msgid "Changes in Python behavior" msgstr "" -#: whatsnew/3.5.rst:2385 +#: whatsnew/3.5.rst:2386 msgid "" "Due to an oversight, earlier Python versions erroneously accepted the " "following syntax::" msgstr "" -#: whatsnew/3.5.rst:2391 +#: whatsnew/3.5.rst:2392 msgid "" "Python 3.5 now correctly raises a :exc:`SyntaxError`, as generator " "expressions must be put in parentheses if not a sole argument to a function." msgstr "" -#: whatsnew/3.5.rst:2396 +#: whatsnew/3.5.rst:2397 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.5.rst:2398 +#: whatsnew/3.5.rst:2399 msgid "" ":pep:`475`: System calls are now retried when interrupted by a signal " "instead of raising :exc:`InterruptedError` if the Python signal handler does " "not raise an exception." msgstr "" -#: whatsnew/3.5.rst:2402 +#: whatsnew/3.5.rst:2403 msgid "" "Before Python 3.5, a :class:`datetime.time` object was considered to be " "false if it represented midnight in UTC. This behavior was considered " @@ -3106,7 +3106,7 @@ msgid "" "`13936` for full details." msgstr "" -#: whatsnew/3.5.rst:2407 +#: whatsnew/3.5.rst:2408 msgid "" "The :meth:`ssl.SSLSocket.send()` method now raises either :exc:`ssl." "SSLWantReadError` or :exc:`ssl.SSLWantWriteError` on a non-blocking socket " @@ -3114,7 +3114,7 @@ msgid "" "(Contributed by Nikolaus Rath in :issue:`20951`.)" msgstr "" -#: whatsnew/3.5.rst:2412 +#: whatsnew/3.5.rst:2413 msgid "" "The ``__name__`` attribute of generators is now set from the function name, " "instead of being set from the code name. Use ``gen.gi_code.co_name`` to " @@ -3123,7 +3123,7 @@ msgid "" "generator (``repr(gen)``). (Contributed by Victor Stinner in :issue:`21205`.)" msgstr "" -#: whatsnew/3.5.rst:2419 +#: whatsnew/3.5.rst:2420 msgid "" "The deprecated \"strict\" mode and argument of :class:`~html.parser." "HTMLParser`, :meth:`HTMLParser.error`, and the :exc:`HTMLParserError` " @@ -3133,7 +3133,7 @@ msgid "" "issue:`21047`.)" msgstr "" -#: whatsnew/3.5.rst:2425 +#: whatsnew/3.5.rst:2426 msgid "" "Although it is not formally part of the API, it is worth noting for porting " "purposes (ie: fixing tests) that error messages that were previously of the " @@ -3142,7 +3142,7 @@ msgid "" "Ezio Melotti in :issue:`16518`.)" msgstr "" -#: whatsnew/3.5.rst:2431 +#: whatsnew/3.5.rst:2432 msgid "" "If the current directory is set to a directory that no longer exists then :" "exc:`FileNotFoundError` will no longer be raised and instead :meth:" @@ -3151,7 +3151,7 @@ msgid "" "the typical case (:issue:`22834`)." msgstr "" -#: whatsnew/3.5.rst:2437 +#: whatsnew/3.5.rst:2438 msgid "" "HTTP status code and messages from :mod:`http.client` and :mod:`http.server` " "were refactored into a common :class:`~http.HTTPStatus` enum. The values " @@ -3159,7 +3159,7 @@ msgid "" "compatibility. (Contributed by Demian Brecht in :issue:`21793`.)" msgstr "" -#: whatsnew/3.5.rst:2442 +#: whatsnew/3.5.rst:2443 msgid "" "When an import loader defines :meth:`importlib.machinery.Loader.exec_module` " "it is now expected to also define :meth:`~importlib.machinery.Loader." @@ -3170,7 +3170,7 @@ msgid "" "issue:`23014`.)" msgstr "" -#: whatsnew/3.5.rst:2450 +#: whatsnew/3.5.rst:2451 msgid "" "The :func:`re.split` function always ignored empty pattern matches, so the " "``\"x*\"`` pattern worked the same as ``\"x+\"``, and the ``\"\\b\"`` " @@ -3181,7 +3181,7 @@ msgid "" "error. (Contributed by Serhiy Storchaka in :issue:`22818`.)" msgstr "" -#: whatsnew/3.5.rst:2458 +#: whatsnew/3.5.rst:2459 msgid "" "The :class:`http.cookies.Morsel` dict-like interface has been made self " "consistent: morsel comparison now takes the :attr:`~http.cookies.Morsel." @@ -3194,7 +3194,7 @@ msgid "" "by Demian Brecht in :issue:`2211`.)" msgstr "" -#: whatsnew/3.5.rst:2468 +#: whatsnew/3.5.rst:2469 msgid "" ":pep:`488` has removed ``.pyo`` files from Python and introduced the " "optional ``opt-`` tag in ``.pyc`` file names. The :func:`importlib.util." @@ -3208,26 +3208,26 @@ msgid "" "this PEP." msgstr "" -#: whatsnew/3.5.rst:2479 +#: whatsnew/3.5.rst:2480 msgid "" "The :mod:`socket` module now exports the :const:`~socket.CAN_RAW_FD_FRAMES` " "constant on linux 3.6 and greater." msgstr "" -#: whatsnew/3.5.rst:2482 +#: whatsnew/3.5.rst:2483 msgid "" "The :func:`ssl.cert_time_to_seconds` function now interprets the input time " "as UTC and not as local time, per :rfc:`5280`. Additionally, the return " "value is always an :class:`int`. (Contributed by Akira Li in :issue:`19940`.)" msgstr "" -#: whatsnew/3.5.rst:2486 +#: whatsnew/3.5.rst:2487 msgid "" "The ``pygettext.py`` Tool now uses the standard +NNNN format for timezones " "in the POT-Creation-Date header." msgstr "" -#: whatsnew/3.5.rst:2489 +#: whatsnew/3.5.rst:2490 msgid "" "The :mod:`smtplib` module now uses :data:`sys.stderr` instead of the " "previous module-level :data:`stderr` variable for debug output. If your " @@ -3235,14 +3235,14 @@ msgid "" "debug output, you will need to update it to capture sys.stderr instead." msgstr "" -#: whatsnew/3.5.rst:2494 +#: whatsnew/3.5.rst:2495 msgid "" "The :meth:`str.startswith` and :meth:`str.endswith` methods no longer return " "``True`` when finding the empty string and the indexes are completely out of " "range. (Contributed by Serhiy Storchaka in :issue:`24284`.)" msgstr "" -#: whatsnew/3.5.rst:2498 +#: whatsnew/3.5.rst:2499 msgid "" "The :func:`inspect.getdoc` function now returns documentation strings " "inherited from base classes. Documentation strings no longer need to be " @@ -3253,7 +3253,7 @@ msgid "" "issue:`15582`.)" msgstr "" -#: whatsnew/3.5.rst:2506 +#: whatsnew/3.5.rst:2507 msgid "" "Nested :func:`functools.partial` calls are now flattened. If you were " "relying on the previous behavior, you can now either add an attribute to a :" @@ -3261,24 +3261,24 @@ msgid "" "`functools.partial`. (Contributed by Alexander Belopolsky in :issue:`7830`.)" msgstr "" -#: whatsnew/3.5.rst:2513 +#: whatsnew/3.5.rst:2514 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.5.rst:2515 +#: whatsnew/3.5.rst:2516 msgid "" "The undocumented :c:member:`!format` member of the (non-public) :c:type:" "`PyMemoryViewObject` structure has been removed. All extensions relying on " "the relevant parts in ``memoryobject.h`` must be rebuilt." msgstr "" -#: whatsnew/3.5.rst:2520 +#: whatsnew/3.5.rst:2521 msgid "" "The :c:type:`PyMemAllocator` structure was renamed to :c:type:" "`PyMemAllocatorEx` and a new ``calloc`` field was added." msgstr "" -#: whatsnew/3.5.rst:2523 +#: whatsnew/3.5.rst:2524 msgid "" "Removed non-documented macro :c:macro:`!PyObject_REPR()` which leaked " "references. Use format character ``%R`` in :c:func:`PyUnicode_FromFormat`-" @@ -3286,7 +3286,7 @@ msgid "" "Serhiy Storchaka in :issue:`22453`.)" msgstr "" -#: whatsnew/3.5.rst:2528 +#: whatsnew/3.5.rst:2529 msgid "" "Because the lack of the :attr:`__module__` attribute breaks pickling and " "introspection, a deprecation warning is now raised for builtin types without " @@ -3294,7 +3294,7 @@ msgid "" "future. (Contributed by Serhiy Storchaka in :issue:`20204`.)" msgstr "" -#: whatsnew/3.5.rst:2534 +#: whatsnew/3.5.rst:2535 msgid "" "As part of the :pep:`492` implementation, the ``tp_reserved`` slot of :c:" "type:`PyTypeObject` was replaced with a :c:member:`~PyTypeObject." @@ -3302,15 +3302,15 @@ msgid "" "and functions." msgstr "" -#: whatsnew/3.5.rst:2541 +#: whatsnew/3.5.rst:2542 msgid "Notable changes in Python 3.5.4" msgstr "" -#: whatsnew/3.5.rst:2544 +#: whatsnew/3.5.rst:2545 msgid "New ``make regen-all`` build target" msgstr "" -#: whatsnew/3.5.rst:2546 +#: whatsnew/3.5.rst:2547 msgid "" "To simplify cross-compilation, and to ensure that CPython can reliably be " "compiled without requiring an existing version of Python to already be " @@ -3318,34 +3318,34 @@ msgid "" "recompile generated files based on file modification times." msgstr "" -#: whatsnew/3.5.rst:2551 +#: whatsnew/3.5.rst:2552 msgid "" "Instead, a new ``make regen-all`` command has been added to force " "regeneration of these files when desired (e.g. after an initial version of " "Python has already been built based on the pregenerated versions)." msgstr "" -#: whatsnew/3.5.rst:2555 +#: whatsnew/3.5.rst:2556 msgid "" "More selective regeneration targets are also defined - see :source:`Makefile." "pre.in` for details." msgstr "" -#: whatsnew/3.5.rst:2571 +#: whatsnew/3.5.rst:2572 msgid "(Contributed by Victor Stinner in :issue:`23404`.)" msgstr "" -#: whatsnew/3.5.rst:2564 +#: whatsnew/3.5.rst:2565 msgid "Removal of ``make touch`` build target" msgstr "" -#: whatsnew/3.5.rst:2566 +#: whatsnew/3.5.rst:2567 msgid "" "The ``make touch`` build target previously used to request implicit " "regeneration of generated files by updating their modification times has " "been removed." msgstr "" -#: whatsnew/3.5.rst:2569 +#: whatsnew/3.5.rst:2570 msgid "It has been replaced by the new ``make regen-all`` target." msgstr "" diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index 99c26cac1..2592e5817 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.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 22:33+0300\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1141,7 +1141,7 @@ msgid "" "Hettinger in :issue:`17941`.)" msgstr "" -#: whatsnew/3.6.rst:2281 +#: whatsnew/3.6.rst:2282 msgid "" "The *verbose* and *rename* arguments for :func:`~collections.namedtuple` are " "now keyword-only. (Contributed by Raymond Hettinger in :issue:`25628`.)" @@ -2826,18 +2826,18 @@ msgstr "" #: whatsnew/3.6.rst:2163 msgid "" -"The format of the ``co_lnotab`` attribute of code objects changed to support " -"a negative line number delta. By default, Python does not emit bytecode with " -"a negative line number delta. Functions using ``frame.f_lineno``, " -"``PyFrame_GetLineNumber()`` or ``PyCode_Addr2Line()`` are not affected. " -"Functions directly decoding ``co_lnotab`` should be updated to use a signed " -"8-bit integer type for the line number delta, but this is only required to " -"support applications using a negative line number delta. See ``Objects/" -"lnotab_notes.txt`` for the ``co_lnotab`` format and how to decode it, and " -"see the :pep:`511` for the rationale." +"The format of the :attr:`~codeobject.co_lnotab` attribute of code objects " +"changed to support a negative line number delta. By default, Python does not " +"emit bytecode with a negative line number delta. Functions using :attr:" +"`frame.f_lineno`, ``PyFrame_GetLineNumber()`` or ``PyCode_Addr2Line()`` are " +"not affected. Functions directly decoding :attr:`!co_lnotab` should be " +"updated to use a signed 8-bit integer type for the line number delta, but " +"this is only required to support applications using a negative line number " +"delta. See ``Objects/lnotab_notes.txt`` for the :attr:`!co_lnotab` format " +"and how to decode it, and see the :pep:`511` for the rationale." msgstr "" -#: whatsnew/3.6.rst:2173 +#: whatsnew/3.6.rst:2174 msgid "" "The functions in the :mod:`compileall` module now return booleans instead of " "``1`` or ``0`` to represent success or failure, respectively. Thanks to " @@ -2845,7 +2845,7 @@ msgid "" "were doing identity checks for ``1`` or ``0``. See :issue:`25768`." msgstr "" -#: whatsnew/3.6.rst:2178 +#: whatsnew/3.6.rst:2179 msgid "" "Reading the :attr:`~urllib.parse.SplitResult.port` attribute of :func:" "`urllib.parse.urlsplit` and :func:`~urllib.parse.urlparse` results now " @@ -2853,13 +2853,13 @@ msgid "" "const:`None`. See :issue:`20059`." msgstr "" -#: whatsnew/3.6.rst:2183 +#: whatsnew/3.6.rst:2184 msgid "" "The :mod:`!imp` module now raises a :exc:`DeprecationWarning` instead of :" "exc:`PendingDeprecationWarning`." msgstr "" -#: whatsnew/3.6.rst:2186 +#: whatsnew/3.6.rst:2187 msgid "" "The following modules have had missing APIs added to their :attr:`__all__` " "attributes to match the documented APIs: :mod:`calendar`, :mod:`cgi`, :mod:" @@ -2871,21 +2871,21 @@ msgid "" "Kołodziej in :issue:`23883`.)" msgstr "" -#: whatsnew/3.6.rst:2197 +#: whatsnew/3.6.rst:2198 msgid "" "When performing a relative import, if ``__package__`` does not compare equal " "to ``__spec__.parent`` then :exc:`ImportWarning` is raised. (Contributed by " "Brett Cannon in :issue:`25791`.)" msgstr "" -#: whatsnew/3.6.rst:2201 +#: whatsnew/3.6.rst:2202 msgid "" "When a relative import is performed and no parent package is known, then :" "exc:`ImportError` will be raised. Previously, :exc:`SystemError` could be " "raised. (Contributed by Brett Cannon in :issue:`18018`.)" msgstr "" -#: whatsnew/3.6.rst:2205 +#: whatsnew/3.6.rst:2206 msgid "" "Servers based on the :mod:`socketserver` module, including those defined in :" "mod:`http.server`, :mod:`xmlrpc.server` and :mod:`wsgiref.simple_server`, " @@ -2896,20 +2896,20 @@ msgid "" "(Contributed by Martin Panter in :issue:`23430`.)" msgstr "" -#: whatsnew/3.6.rst:2214 +#: whatsnew/3.6.rst:2215 msgid "" ":func:`spwd.getspnam` now raises a :exc:`PermissionError` instead of :exc:" "`KeyError` if the user doesn't have privileges." msgstr "" -#: whatsnew/3.6.rst:2217 +#: whatsnew/3.6.rst:2218 msgid "" "The :meth:`socket.socket.close` method now raises an exception if an error " "(e.g. ``EBADF``) was reported by the underlying system call. (Contributed by " "Martin Panter in :issue:`26685`.)" msgstr "" -#: whatsnew/3.6.rst:2221 +#: whatsnew/3.6.rst:2222 msgid "" "The *decode_data* argument for the :class:`smtpd.SMTPChannel` and :class:" "`smtpd.SMTPServer` constructors is now ``False`` by default. This means that " @@ -2919,7 +2919,7 @@ msgid "" "deprecation warning generated by 3.5 will not be affected." msgstr "" -#: whatsnew/3.6.rst:2229 +#: whatsnew/3.6.rst:2230 msgid "" "All optional arguments of the :func:`~json.dump`, :func:`~json.dumps`, :func:" "`~json.load` and :func:`~json.loads` functions and :class:`~json." @@ -2928,13 +2928,13 @@ msgid "" "(Contributed by Serhiy Storchaka in :issue:`18726`.)" msgstr "" -#: whatsnew/3.6.rst:2236 +#: whatsnew/3.6.rst:2237 msgid "" "Subclasses of :class:`type` which don't override ``type.__new__`` may no " "longer use the one-argument form to get the type of an object." msgstr "" -#: whatsnew/3.6.rst:2239 +#: whatsnew/3.6.rst:2240 msgid "" "As part of :pep:`487`, the handling of keyword arguments passed to :class:" "`type` (other than the metaclass hint, ``metaclass``) is now consistently " @@ -2946,7 +2946,7 @@ msgid "" "__new__` (whether direct or via :class:`super`) accordingly." msgstr "" -#: whatsnew/3.6.rst:2248 +#: whatsnew/3.6.rst:2249 msgid "" "In ``distutils.command.sdist.sdist``, the ``default_format`` attribute has " "been removed and is no longer honored. Instead, the gzipped tarfile format " @@ -2956,13 +2956,13 @@ msgid "" "containing the following:" msgstr "" -#: whatsnew/3.6.rst:2261 +#: whatsnew/3.6.rst:2262 msgid "" "This behavior has also been backported to earlier Python versions by " "Setuptools 26.0.0." msgstr "" -#: whatsnew/3.6.rst:2264 +#: whatsnew/3.6.rst:2265 msgid "" "In the :mod:`urllib.request` module and the :meth:`http.client." "HTTPConnection.request` method, if no Content-Length header field has been " @@ -2973,47 +2973,47 @@ msgid "" "`12319`.)" msgstr "" -#: whatsnew/3.6.rst:2273 +#: whatsnew/3.6.rst:2274 msgid "" "The :class:`~csv.DictReader` now returns rows of type :class:`~collections." "OrderedDict`. (Contributed by Steve Holden in :issue:`27842`.)" msgstr "" -#: whatsnew/3.6.rst:2277 +#: whatsnew/3.6.rst:2278 msgid "" "The :const:`crypt.METHOD_CRYPT` will no longer be added to ``crypt.methods`` " "if unsupported by the platform. (Contributed by Victor Stinner in :issue:" "`25287`.)" msgstr "" -#: whatsnew/3.6.rst:2285 +#: whatsnew/3.6.rst:2286 msgid "" "On Linux, :func:`ctypes.util.find_library` now looks in ``LD_LIBRARY_PATH`` " "for shared libraries. (Contributed by Vinay Sajip in :issue:`9998`.)" msgstr "" -#: whatsnew/3.6.rst:2289 +#: whatsnew/3.6.rst:2290 msgid "" "The :class:`imaplib.IMAP4` class now handles flags containing the ``']'`` " "character in messages sent from the server to improve real-world " "compatibility. (Contributed by Lita Cho in :issue:`21815`.)" msgstr "" -#: whatsnew/3.6.rst:2294 +#: whatsnew/3.6.rst:2295 msgid "" "The :func:`mmap.write() ` function now returns the number of " "bytes written like other write methods. (Contributed by Jakub Stasiak in :" "issue:`26335`.)" msgstr "" -#: whatsnew/3.6.rst:2298 +#: whatsnew/3.6.rst:2299 msgid "" "The :func:`pkgutil.iter_modules` and :func:`pkgutil.walk_packages` functions " "now return :class:`~pkgutil.ModuleInfo` named tuples. (Contributed by " "Ramchandra Apte in :issue:`17211`.)" msgstr "" -#: whatsnew/3.6.rst:2302 +#: whatsnew/3.6.rst:2303 msgid "" ":func:`re.sub` now raises an error for invalid numerical group references in " "replacement templates even if the pattern is not found in the string. The " @@ -3022,7 +3022,7 @@ msgid "" "in :issue:`25953`.)" msgstr "" -#: whatsnew/3.6.rst:2308 +#: whatsnew/3.6.rst:2309 msgid "" ":class:`zipfile.ZipFile` will now raise :exc:`NotImplementedError` for " "unrecognized compression values. Previously a plain :exc:`RuntimeError` was " @@ -3032,7 +3032,7 @@ msgid "" "`RuntimeError` was raised in those scenarios." msgstr "" -#: whatsnew/3.6.rst:2315 +#: whatsnew/3.6.rst:2316 msgid "" "when custom metaclasses are combined with zero-argument :func:`super` or " "direct references from methods to the implicit ``__class__`` closure " @@ -3042,7 +3042,7 @@ msgid "" "Python 3.8." msgstr "" -#: whatsnew/3.6.rst:2322 +#: whatsnew/3.6.rst:2323 msgid "" "With the introduction of :exc:`ModuleNotFoundError`, import system consumers " "may start expecting import system replacements to raise that more specific " @@ -3055,11 +3055,11 @@ msgid "" "the default import system will raise the new subclass when appropriate." msgstr "" -#: whatsnew/3.6.rst:2334 +#: whatsnew/3.6.rst:2335 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.6.rst:2336 +#: whatsnew/3.6.rst:2337 msgid "" "The :c:func:`PyMem_Malloc` allocator family now uses the :ref:`pymalloc " "allocator ` rather than the system :c:func:`malloc`. Applications " @@ -3068,29 +3068,29 @@ msgid "" "usage of memory allocators in your application. See :issue:`26249`." msgstr "" -#: whatsnew/3.6.rst:2342 +#: whatsnew/3.6.rst:2343 msgid "" ":c:func:`Py_Exit` (and the main interpreter) now override the exit status " "with 120 if flushing buffered data failed. See :issue:`5319`." msgstr "" -#: whatsnew/3.6.rst:2347 +#: whatsnew/3.6.rst:2348 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.6.rst:2349 +#: whatsnew/3.6.rst:2350 msgid "" "There have been several major changes to the :term:`bytecode` in Python 3.6." msgstr "" -#: whatsnew/3.6.rst:2351 +#: whatsnew/3.6.rst:2352 msgid "" "The Python interpreter now uses a 16-bit wordcode instead of bytecode. " "(Contributed by Demur Rumed with input and reviews from Serhiy Storchaka and " "Victor Stinner in :issue:`26647` and :issue:`28050`.)" msgstr "" -#: whatsnew/3.6.rst:2355 +#: whatsnew/3.6.rst:2356 msgid "" "The new :opcode:`FORMAT_VALUE` and :opcode:`BUILD_STRING` opcodes as part of " "the :ref:`formatted string literal ` implementation. " @@ -3098,14 +3098,14 @@ msgid "" "`27078`.)" msgstr "" -#: whatsnew/3.6.rst:2360 +#: whatsnew/3.6.rst:2361 msgid "" "The new :opcode:`BUILD_CONST_KEY_MAP` opcode to optimize the creation of " "dictionaries with constant keys. (Contributed by Serhiy Storchaka in :issue:" "`27140`.)" msgstr "" -#: whatsnew/3.6.rst:2364 +#: whatsnew/3.6.rst:2365 msgid "" "The function call opcodes have been heavily reworked for better performance " "and simpler implementation. The :opcode:`MAKE_FUNCTION`, :opcode:" @@ -3117,22 +3117,22 @@ msgid "" "issue:`27095`, and Serhiy Storchaka in :issue:`27213`, :issue:`28257`.)" msgstr "" -#: whatsnew/3.6.rst:2375 +#: whatsnew/3.6.rst:2376 msgid "" "The new :opcode:`SETUP_ANNOTATIONS` and :opcode:`STORE_ANNOTATION` opcodes " "have been added to support the new :term:`variable annotation` syntax. " "(Contributed by Ivan Levkivskyi in :issue:`27985`.)" msgstr "" -#: whatsnew/3.6.rst:2381 +#: whatsnew/3.6.rst:2382 msgid "Notable changes in Python 3.6.2" msgstr "" -#: whatsnew/3.6.rst:2384 +#: whatsnew/3.6.rst:2385 msgid "New ``make regen-all`` build target" msgstr "" -#: whatsnew/3.6.rst:2386 +#: whatsnew/3.6.rst:2387 msgid "" "To simplify cross-compilation, and to ensure that CPython can reliably be " "compiled without requiring an existing version of Python to already be " @@ -3140,43 +3140,43 @@ msgid "" "recompile generated files based on file modification times." msgstr "" -#: whatsnew/3.6.rst:2391 +#: whatsnew/3.6.rst:2392 msgid "" "Instead, a new ``make regen-all`` command has been added to force " "regeneration of these files when desired (e.g. after an initial version of " "Python has already been built based on the pregenerated versions)." msgstr "" -#: whatsnew/3.6.rst:2395 +#: whatsnew/3.6.rst:2396 msgid "" "More selective regeneration targets are also defined - see :source:`Makefile." "pre.in` for details." msgstr "" -#: whatsnew/3.6.rst:2411 +#: whatsnew/3.6.rst:2412 msgid "(Contributed by Victor Stinner in :issue:`23404`.)" msgstr "" -#: whatsnew/3.6.rst:2404 +#: whatsnew/3.6.rst:2405 msgid "Removal of ``make touch`` build target" msgstr "" -#: whatsnew/3.6.rst:2406 +#: whatsnew/3.6.rst:2407 msgid "" "The ``make touch`` build target previously used to request implicit " "regeneration of generated files by updating their modification times has " "been removed." msgstr "" -#: whatsnew/3.6.rst:2409 +#: whatsnew/3.6.rst:2410 msgid "It has been replaced by the new ``make regen-all`` target." msgstr "" -#: whatsnew/3.6.rst:2417 +#: whatsnew/3.6.rst:2418 msgid "Notable changes in Python 3.6.4" msgstr "" -#: whatsnew/3.6.rst:2419 +#: whatsnew/3.6.rst:2420 msgid "" "The ``PyExc_RecursionErrorInst`` singleton that was part of the public API " "has been removed as its members being never cleared may cause a segfault " @@ -3184,22 +3184,22 @@ msgid "" "issue:`22898` and :issue:`30697`.)" msgstr "" -#: whatsnew/3.6.rst:2426 +#: whatsnew/3.6.rst:2427 msgid "Notable changes in Python 3.6.5" msgstr "" -#: whatsnew/3.6.rst:2428 +#: whatsnew/3.6.rst:2429 msgid "" "The :func:`locale.localeconv` function now sets temporarily the ``LC_CTYPE`` " "locale to the ``LC_NUMERIC`` locale in some cases. (Contributed by Victor " "Stinner in :issue:`31900`.)" msgstr "" -#: whatsnew/3.6.rst:2433 +#: whatsnew/3.6.rst:2434 msgid "Notable changes in Python 3.6.7" msgstr "" -#: whatsnew/3.6.rst:2435 +#: whatsnew/3.6.rst:2436 msgid "" "In 3.6.7 the :mod:`tokenize` module now implicitly emits a ``NEWLINE`` token " "when provided with input that does not have a trailing new line. This " @@ -3207,11 +3207,11 @@ msgid "" "Ammar Askar in :issue:`33899`.)" msgstr "" -#: whatsnew/3.6.rst:2441 +#: whatsnew/3.6.rst:2442 msgid "Notable changes in Python 3.6.10" msgstr "" -#: whatsnew/3.6.rst:2443 +#: whatsnew/3.6.rst:2444 msgid "" "Due to significant security concerns, the *reuse_address* parameter of :meth:" "`asyncio.loop.create_datagram_endpoint` is no longer supported. This is " @@ -3221,11 +3221,11 @@ msgid "" "`37228`.)" msgstr "" -#: whatsnew/3.6.rst:2451 +#: whatsnew/3.6.rst:2452 msgid "Notable changes in Python 3.6.13" msgstr "" -#: whatsnew/3.6.rst:2453 +#: whatsnew/3.6.rst:2454 msgid "" "Earlier Python versions allowed using both ``;`` and ``&`` as query " "parameter separators in :func:`urllib.parse.parse_qs` and :func:`urllib." diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index d88f5cfeb..df9f2546d 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.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: 2024-01-01 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -748,9 +748,9 @@ msgstr "" #: whatsnew/3.7.rst:526 msgid "" "In order to better support dynamic creation of stack traces, :class:`types." -"TracebackType` can now be instantiated from Python code, and the ``tb_next`` " -"attribute on :ref:`tracebacks ` is now writable. " -"(Contributed by Nathaniel J. Smith in :issue:`30579`.)" +"TracebackType` can now be instantiated from Python code, and the :attr:" +"`~traceback.tb_next` attribute on :ref:`tracebacks ` is " +"now writable. (Contributed by Nathaniel J. Smith in :issue:`30579`.)" msgstr "" #: whatsnew/3.7.rst:532 @@ -2702,9 +2702,9 @@ msgstr "" #: whatsnew/3.7.rst:1892 msgid "" "Trace hooks may now opt out of receiving the ``line`` and opt into receiving " -"the ``opcode`` events from the interpreter by setting the corresponding new " -"``f_trace_lines`` and ``f_trace_opcodes`` attributes on the frame being " -"traced. (Contributed by Nick Coghlan in :issue:`31344`.)" +"the ``opcode`` events from the interpreter by setting the corresponding new :" +"attr:`~frame.f_trace_lines` and :attr:`~frame.f_trace_opcodes` attributes on " +"the frame being traced. (Contributed by Nick Coghlan in :issue:`31344`.)" msgstr "" #: whatsnew/3.7.rst:1897 @@ -3020,9 +3020,8 @@ msgstr "" #: whatsnew/3.7.rst:2147 msgid "" -"The ``splitunc()`` function in the :mod:`ntpath` module was deprecated in " -"Python 3.1, and has now been removed. Use the :func:`~os.path.splitdrive` " -"function instead." +"The :func:`!ntpath.splitunc` function was deprecated in Python 3.1, and has " +"now been removed. Use :func:`~os.path.splitdrive` instead." msgstr "" #: whatsnew/3.7.rst:2151 diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index 5b2421c5e..68ca0b0d2 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-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-01 00:16+0000\n" "PO-Revision-Date: 2023-02-03 17:30+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -124,8 +124,8 @@ msgid "" "There is a new function parameter syntax ``/`` to indicate that some " "function parameters must be specified positionally and cannot be used as " "keyword arguments. This is the same notation shown by ``help()`` for C " -"functions annotated with Larry Hastings' `Argument Clinic `__ tool." +"functions annotated with Larry Hastings' `Argument Clinic `__ tool." msgstr "" "Bazı fonksiyon parametrelerinin konumsal olarak belirtilmesi gerektiğini ve " "anahtar kelime bağımsız değişkenleri olarak kullanılamayacağını belirtmek " From 437f07e5869f77795968b825daea858e998db5cc Mon Sep 17 00:00:00 2001 From: egeakman Date: Mon, 1 Jan 2024 23:55:25 +0300 Subject: [PATCH 2/5] Welcome 2024! Update Doc Use Doc's requirements --- .github/workflows/build.yml | 19 +++------ .github/workflows/pre-commit-ci.yml | 13 ++---- .github/workflows/translate.yaml | 4 +- .github/workflows/update_doc.yml | 4 +- .github/workflows/wrap_branch.yml | 8 +--- .readthedocs.yaml | 3 +- Makefile | 2 +- README.md | 2 +- about.po | 13 +++--- bugs.po | 2 +- c-api/abstract.po | 2 +- c-api/allocation.po | 2 +- c-api/apiabiversion.po | 2 +- c-api/arg.po | 2 +- c-api/bool.po | 2 +- c-api/buffer.po | 2 +- c-api/bytearray.po | 2 +- c-api/bytes.po | 2 +- c-api/call.po | 2 +- c-api/capsule.po | 2 +- c-api/cell.po | 2 +- c-api/code.po | 2 +- c-api/codec.po | 2 +- c-api/complex.po | 2 +- c-api/concrete.po | 2 +- c-api/contextvars.po | 2 +- c-api/conversion.po | 2 +- c-api/coro.po | 2 +- c-api/datetime.po | 2 +- c-api/descriptor.po | 2 +- c-api/dict.po | 2 +- c-api/exceptions.po | 2 +- c-api/file.po | 2 +- c-api/float.po | 2 +- c-api/frame.po | 2 +- c-api/function.po | 2 +- c-api/gcsupport.po | 2 +- c-api/gen.po | 2 +- c-api/import.po | 2 +- c-api/index.po | 2 +- c-api/init.po | 2 +- c-api/init_config.po | 2 +- c-api/intro.po | 2 +- c-api/iter.po | 2 +- c-api/iterator.po | 2 +- c-api/list.po | 2 +- c-api/long.po | 2 +- c-api/mapping.po | 2 +- c-api/marshal.po | 2 +- c-api/memory.po | 2 +- c-api/memoryview.po | 2 +- c-api/method.po | 2 +- c-api/module.po | 2 +- c-api/none.po | 2 +- c-api/number.po | 2 +- c-api/objbuffer.po | 2 +- c-api/object.po | 2 +- c-api/objimpl.po | 2 +- c-api/perfmaps.po | 2 +- c-api/refcounting.po | 2 +- c-api/reflection.po | 2 +- c-api/sequence.po | 2 +- c-api/set.po | 2 +- c-api/slice.po | 2 +- c-api/stable.po | 2 +- c-api/structures.po | 2 +- c-api/sys.po | 2 +- c-api/tuple.po | 2 +- c-api/type.po | 2 +- c-api/typehints.po | 2 +- c-api/typeobj.po | 2 +- c-api/unicode.po | 2 +- c-api/utilities.po | 2 +- c-api/veryhigh.po | 2 +- c-api/weakref.po | 2 +- contents.po | 2 +- copyright.po | 2 +- distributing/index.po | 2 +- extending/building.po | 2 +- extending/embedding.po | 2 +- extending/extending.po | 2 +- extending/index.po | 2 +- extending/newtypes.po | 2 +- extending/newtypes_tutorial.po | 2 +- extending/windows.po | 2 +- faq/design.po | 2 +- faq/extending.po | 2 +- faq/general.po | 2 +- faq/gui.po | 2 +- faq/index.po | 2 +- faq/installed.po | 2 +- faq/library.po | 2 +- faq/programming.po | 2 +- faq/windows.po | 2 +- glossary.po | 2 +- howto/annotations.po | 2 +- howto/argparse.po | 2 +- howto/clinic.po | 2 +- howto/cporting.po | 2 +- howto/curses.po | 2 +- howto/descriptor.po | 2 +- howto/enum.po | 2 +- howto/functional.po | 2 +- howto/index.po | 2 +- howto/instrumentation.po | 2 +- howto/ipaddress.po | 2 +- howto/isolating-extensions.po | 2 +- howto/logging-cookbook.po | 2 +- howto/logging.po | 2 +- howto/perf_profiling.po | 2 +- howto/pyporting.po | 2 +- howto/regex.po | 2 +- howto/sockets.po | 2 +- howto/sorting.po | 2 +- howto/unicode.po | 2 +- howto/urllib2.po | 2 +- installing/index.po | 2 +- library/2to3.po | 2 +- library/__future__.po | 2 +- library/__main__.po | 2 +- library/_thread.po | 2 +- library/abc.po | 2 +- library/aifc.po | 2 +- library/allos.po | 2 +- library/archiving.po | 2 +- library/argparse.po | 2 +- library/array.po | 2 +- library/ast.po | 2 +- library/asyncio-api-index.po | 2 +- library/asyncio-dev.po | 2 +- library/asyncio-eventloop.po | 2 +- library/asyncio-exceptions.po | 2 +- library/asyncio-extending.po | 2 +- library/asyncio-future.po | 2 +- library/asyncio-llapi-index.po | 2 +- library/asyncio-platforms.po | 2 +- library/asyncio-policy.po | 2 +- library/asyncio-protocol.po | 2 +- library/asyncio-queue.po | 2 +- library/asyncio-runner.po | 2 +- library/asyncio-stream.po | 2 +- library/asyncio-subprocess.po | 2 +- library/asyncio-sync.po | 2 +- library/asyncio-task.po | 2 +- library/asyncio.po | 2 +- library/atexit.po | 2 +- library/audioop.po | 2 +- library/audit_events.po | 2 +- library/base64.po | 2 +- library/bdb.po | 2 +- library/binary.po | 2 +- library/binascii.po | 2 +- library/bisect.po | 2 +- library/builtins.po | 2 +- library/bz2.po | 2 +- library/calendar.po | 2 +- library/cgi.po | 2 +- library/cgitb.po | 2 +- library/chunk.po | 2 +- library/cmath.po | 2 +- library/cmd.po | 2 +- library/cmdline.po | 2 +- library/code.po | 2 +- library/codecs.po | 2 +- library/codeop.po | 2 +- library/collections.abc.po | 2 +- library/collections.po | 2 +- library/colorsys.po | 2 +- library/compileall.po | 2 +- library/concurrency.po | 2 +- library/concurrent.futures.po | 2 +- library/concurrent.po | 2 +- library/configparser.po | 2 +- library/constants.po | 2 +- library/contextlib.po | 2 +- library/contextvars.po | 2 +- library/copy.po | 2 +- library/copyreg.po | 2 +- library/crypt.po | 2 +- library/crypto.po | 2 +- library/csv.po | 2 +- library/ctypes.po | 2 +- library/curses.ascii.po | 2 +- library/curses.panel.po | 2 +- library/curses.po | 2 +- library/custominterp.po | 2 +- library/dataclasses.po | 2 +- library/datatypes.po | 2 +- library/datetime.po | 2 +- library/dbm.po | 2 +- library/debug.po | 2 +- library/decimal.po | 2 +- library/development.po | 2 +- library/devmode.po | 2 +- library/dialog.po | 2 +- library/difflib.po | 2 +- library/dis.po | 2 +- library/distribution.po | 2 +- library/doctest.po | 2 +- library/email.charset.po | 2 +- library/email.compat32-message.po | 2 +- library/email.contentmanager.po | 2 +- library/email.encoders.po | 2 +- library/email.errors.po | 2 +- library/email.examples.po | 2 +- library/email.generator.po | 2 +- library/email.header.po | 2 +- library/email.headerregistry.po | 2 +- library/email.iterators.po | 2 +- library/email.message.po | 2 +- library/email.mime.po | 2 +- library/email.parser.po | 2 +- library/email.po | 2 +- library/email.policy.po | 2 +- library/email.utils.po | 2 +- library/ensurepip.po | 2 +- library/enum.po | 2 +- library/errno.po | 2 +- library/exceptions.po | 2 +- library/faulthandler.po | 2 +- library/fcntl.po | 2 +- library/filecmp.po | 2 +- library/fileformats.po | 2 +- library/fileinput.po | 2 +- library/filesys.po | 2 +- library/fnmatch.po | 2 +- library/fractions.po | 2 +- library/frameworks.po | 2 +- library/ftplib.po | 2 +- library/functional.po | 2 +- library/functions.po | 4 +- library/functools.po | 2 +- library/gc.po | 2 +- library/getopt.po | 2 +- library/getpass.po | 2 +- library/gettext.po | 2 +- library/glob.po | 2 +- library/graphlib.po | 2 +- library/grp.po | 2 +- library/gzip.po | 2 +- library/hashlib.po | 2 +- library/heapq.po | 2 +- library/hmac.po | 2 +- library/html.entities.po | 2 +- library/html.parser.po | 2 +- library/html.po | 2 +- library/http.client.po | 2 +- library/http.cookiejar.po | 2 +- library/http.cookies.po | 2 +- library/http.po | 2 +- library/http.server.po | 2 +- library/i18n.po | 2 +- library/idle.po | 2 +- library/imaplib.po | 2 +- library/imghdr.po | 2 +- library/importlib.metadata.po | 2 +- library/importlib.po | 2 +- library/importlib.resources.abc.po | 2 +- library/importlib.resources.po | 2 +- library/index.po | 2 +- library/inspect.po | 2 +- library/internet.po | 2 +- library/intro.po | 2 +- library/io.po | 2 +- library/ipaddress.po | 2 +- library/ipc.po | 2 +- library/itertools.po | 2 +- library/json.po | 2 +- library/keyword.po | 2 +- library/language.po | 2 +- library/linecache.po | 2 +- library/locale.po | 2 +- library/logging.config.po | 2 +- library/logging.handlers.po | 2 +- library/logging.po | 2 +- library/lzma.po | 2 +- library/mailbox.po | 2 +- library/mailcap.po | 2 +- library/markup.po | 2 +- library/marshal.po | 2 +- library/math.po | 2 +- library/mimetypes.po | 2 +- library/mm.po | 2 +- library/mmap.po | 2 +- library/modulefinder.po | 2 +- library/modules.po | 2 +- library/msilib.po | 2 +- library/msvcrt.po | 2 +- library/multiprocessing.po | 2 +- library/multiprocessing.shared_memory.po | 2 +- library/netdata.po | 2 +- library/netrc.po | 2 +- library/nis.po | 2 +- library/nntplib.po | 2 +- library/numbers.po | 2 +- library/numeric.po | 2 +- library/operator.po | 2 +- library/optparse.po | 2 +- library/os.path.po | 2 +- library/os.po | 2 +- library/ossaudiodev.po | 2 +- library/pathlib.po | 2 +- library/pdb.po | 2 +- library/persistence.po | 2 +- library/pickle.po | 2 +- library/pickletools.po | 2 +- library/pipes.po | 2 +- library/pkgutil.po | 2 +- library/platform.po | 2 +- library/plistlib.po | 2 +- library/poplib.po | 2 +- library/posix.po | 2 +- library/pprint.po | 2 +- library/profile.po | 2 +- library/pty.po | 2 +- library/pwd.po | 2 +- library/py_compile.po | 2 +- library/pyclbr.po | 2 +- library/pydoc.po | 2 +- library/pyexpat.po | 2 +- library/python.po | 2 +- library/queue.po | 2 +- library/quopri.po | 2 +- library/random.po | 2 +- library/re.po | 2 +- library/readline.po | 2 +- library/reprlib.po | 2 +- library/resource.po | 2 +- library/rlcompleter.po | 2 +- library/runpy.po | 2 +- library/sched.po | 2 +- library/secrets.po | 2 +- library/security_warnings.po | 2 +- library/select.po | 2 +- library/selectors.po | 2 +- library/shelve.po | 2 +- library/shlex.po | 2 +- library/shutil.po | 2 +- library/signal.po | 2 +- library/site.po | 2 +- library/smtplib.po | 2 +- library/sndhdr.po | 2 +- library/socket.po | 2 +- library/socketserver.po | 2 +- library/spwd.po | 2 +- library/sqlite3.po | 2 +- library/ssl.po | 2 +- library/stat.po | 2 +- library/statistics.po | 2 +- library/stdtypes.po | 2 +- library/string.po | 2 +- library/stringprep.po | 2 +- library/struct.po | 2 +- library/subprocess.po | 2 +- library/sunau.po | 2 +- library/superseded.po | 2 +- library/symtable.po | 2 +- library/sys.monitoring.po | 2 +- library/sys.po | 2 +- library/sys_path_init.po | 2 +- library/sysconfig.po | 2 +- library/syslog.po | 2 +- library/tabnanny.po | 2 +- library/tarfile.po | 2 +- library/telnetlib.po | 2 +- library/tempfile.po | 2 +- library/termios.po | 2 +- library/test.po | 2 +- library/text.po | 2 +- library/textwrap.po | 2 +- library/threading.po | 2 +- library/time.po | 2 +- library/timeit.po | 2 +- library/tk.po | 2 +- library/tkinter.colorchooser.po | 2 +- library/tkinter.dnd.po | 2 +- library/tkinter.font.po | 2 +- library/tkinter.messagebox.po | 2 +- library/tkinter.po | 2 +- library/tkinter.scrolledtext.po | 2 +- library/tkinter.tix.po | 2 +- library/tkinter.ttk.po | 2 +- library/token.po | 2 +- library/tokenize.po | 2 +- library/tomllib.po | 2 +- library/trace.po | 2 +- library/traceback.po | 2 +- library/tracemalloc.po | 2 +- library/tty.po | 2 +- library/turtle.po | 2 +- library/types.po | 2 +- library/typing.po | 2 +- library/unicodedata.po | 2 +- library/unittest.mock-examples.po | 2 +- library/unittest.mock.po | 2 +- library/unittest.po | 2 +- library/unix.po | 2 +- library/urllib.error.po | 2 +- library/urllib.parse.po | 2 +- library/urllib.po | 2 +- library/urllib.request.po | 2 +- library/urllib.robotparser.po | 2 +- library/uu.po | 2 +- library/uuid.po | 2 +- library/venv.po | 2 +- library/warnings.po | 2 +- library/wave.po | 2 +- library/weakref.po | 2 +- library/webbrowser.po | 2 +- library/windows.po | 2 +- library/winreg.po | 2 +- library/winsound.po | 2 +- library/wsgiref.po | 2 +- library/xdrlib.po | 2 +- library/xml.dom.minidom.po | 2 +- library/xml.dom.po | 2 +- library/xml.dom.pulldom.po | 2 +- library/xml.etree.elementtree.po | 2 +- library/xml.po | 2 +- library/xml.sax.handler.po | 2 +- library/xml.sax.po | 2 +- library/xml.sax.reader.po | 2 +- library/xml.sax.utils.po | 2 +- library/xmlrpc.client.po | 2 +- library/xmlrpc.po | 2 +- library/xmlrpc.server.po | 2 +- library/zipapp.po | 2 +- library/zipfile.po | 2 +- library/zipimport.po | 2 +- library/zlib.po | 2 +- library/zoneinfo.po | 2 +- license.po | 29 ++++++------- reference/compound_stmts.po | 2 +- reference/datamodel.po | 2 +- reference/executionmodel.po | 2 +- reference/expressions.po | 2 +- reference/grammar.po | 2 +- reference/import.po | 2 +- reference/index.po | 2 +- reference/introduction.po | 2 +- reference/lexical_analysis.po | 2 +- reference/simple_stmts.po | 2 +- reference/toplevel_components.po | 2 +- requirements.txt => requirements-dev.txt | 1 - sphinx.po | 54 +++++++++++------------- tutorial/appendix.po | 2 +- tutorial/appetite.po | 2 +- tutorial/classes.po | 2 +- tutorial/controlflow.po | 2 +- tutorial/datastructures.po | 2 +- tutorial/errors.po | 2 +- tutorial/floatingpoint.po | 2 +- tutorial/index.po | 2 +- tutorial/inputoutput.po | 2 +- tutorial/interactive.po | 2 +- tutorial/interpreter.po | 2 +- tutorial/introduction.po | 2 +- tutorial/modules.po | 2 +- tutorial/stdlib.po | 4 +- tutorial/stdlib2.po | 2 +- tutorial/venv.po | 2 +- tutorial/whatnow.po | 2 +- using/cmdline.po | 2 +- using/configure.po | 2 +- using/editors.po | 2 +- using/index.po | 2 +- using/mac.po | 2 +- using/unix.po | 2 +- using/windows.po | 2 +- whatsnew/2.0.po | 2 +- whatsnew/2.1.po | 2 +- whatsnew/2.2.po | 2 +- whatsnew/2.3.po | 2 +- whatsnew/2.4.po | 2 +- whatsnew/2.5.po | 2 +- whatsnew/2.6.po | 2 +- whatsnew/2.7.po | 2 +- whatsnew/3.0.po | 2 +- whatsnew/3.1.po | 2 +- whatsnew/3.10.po | 2 +- whatsnew/3.11.po | 2 +- whatsnew/3.12.po | 2 +- whatsnew/3.2.po | 2 +- whatsnew/3.3.po | 2 +- whatsnew/3.4.po | 2 +- whatsnew/3.5.po | 2 +- whatsnew/3.6.po | 2 +- whatsnew/3.7.po | 2 +- whatsnew/3.8.po | 2 +- whatsnew/3.9.po | 4 +- whatsnew/index.po | 2 +- 491 files changed, 544 insertions(+), 572 deletions(-) rename requirements.txt => requirements-dev.txt (86%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8287a61a..e517acbcc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,5 @@ name: Tests -on: - workflow_dispatch: - push: - branches: - - "**" - pull_request: - branches: - - "**" +on: [push, pull_request, workflow_dispatch] jobs: checks: @@ -28,15 +21,14 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - uses: actions/setup-python@v5 with: - python-version: "3.12-dev" + python-version: "3.12" - name: Install ${{ matrix.tool.package }} run: | if [ -n "${{ matrix.tool.apt_dependencies }}" ]; then sudo apt-get update && sudo apt-get install -y ${{ matrix.tool.apt_dependencies }} fi if [ -n "${{ matrix.tool.package }}" ]; then - python -m pip install --upgrade pip setuptools wheel - python -m pip install ${{ matrix.tool.package }} + pip install ${{ matrix.tool.package }} fi - name: Run ${{ matrix.tool.package }} env: @@ -62,13 +54,12 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.12-dev" + python-version: "3.12" - name: Prepare environment run: | pwd tree -L 2 git clone https://github.com/python/cpython.git venv/cpython/ - python -m pip install --upgrade pip setuptools wheel - python -m pip install -r requirements.txt -r venv/cpython/Doc/requirements.txt + pip install -r venv/cpython/Doc/requirements.txt - name: Make run: make diff --git a/.github/workflows/pre-commit-ci.yml b/.github/workflows/pre-commit-ci.yml index 59e89052e..33a035c0b 100644 --- a/.github/workflows/pre-commit-ci.yml +++ b/.github/workflows/pre-commit-ci.yml @@ -1,12 +1,5 @@ name: pre-commit-ci -on: - workflow_dispatch: - push: - branches: - - "**" - pull_request: - branches: - - "**" +on: [push, pull_request, workflow_dispatch] jobs: pre-commit: @@ -17,11 +10,11 @@ jobs: - uses: actions/setup-python@v5 id: setup_python with: - python-version: "3.12-dev" + python-version: "3.12" cache: pip - name: Install pre-commit - run: pip install --upgrade -r requirements.txt + run: pip install pre-commit - name: Cache pre-commit tools uses: actions/cache@v3 diff --git a/.github/workflows/translate.yaml b/.github/workflows/translate.yaml index 8fea826a5..c6fce8401 100644 --- a/.github/workflows/translate.yaml +++ b/.github/workflows/translate.yaml @@ -16,10 +16,10 @@ jobs: - name: Set Up Python 3.12 uses: actions/setup-python@v5 with: - python-version: "3.12-dev" + python-version: "3.12" - name: Install dependencies - run: pip install -r requirements.txt && sudo apt update && sudo apt install gettext -y + run: pip install polib deep_translator && sudo apt update && sudo apt install gettext -y - name: Run translate.py run: python scripts/translate.py ${{ github.event.inputs.file }} -t google -s diff --git a/.github/workflows/update_doc.yml b/.github/workflows/update_doc.yml index f64ecba41..c56e2350b 100644 --- a/.github/workflows/update_doc.yml +++ b/.github/workflows/update_doc.yml @@ -17,10 +17,10 @@ jobs: - name: Set Up Python 3.12 uses: actions/setup-python@v5 with: - python-version: "3.12-dev" + python-version: "3.12" - name: Install dependencies - run: pip install -r requirements.txt && sudo apt install gettext -y + run: pip install tqdm poutils -r venv/cpython/Doc/requirements.txt && sudo apt install gettext -y - name: Run merge.py run: python merge.py ${GITHUB_REF##*/} diff --git a/.github/workflows/wrap_branch.yml b/.github/workflows/wrap_branch.yml index 87b901a71..539aa4462 100644 --- a/.github/workflows/wrap_branch.yml +++ b/.github/workflows/wrap_branch.yml @@ -14,15 +14,11 @@ jobs: - name: Set Up Python 3.12 uses: actions/setup-python@v5 with: - python-version: "3.12-dev" - - # Upgrade pip - - name: Upgrade pip - run: python -m pip install --upgrade pip + python-version: "3.12" # Install dependencies - name: Install dependencies - run: python -m pip install --upgrade -r requirements.txt && sudo apt install -y gettext + run: pip install poutils && sudo apt install -y gettext # Wrap all po files - name: Wrap diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 56b476a8f..019d3345e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,8 +10,7 @@ build: commands: - git clone https://github.com/python/cpython.git venv/cpython/ - - python -m pip install --upgrade pip setuptools wheel - - python -m pip install --upgrade -r requirements.txt -r venv/cpython/Doc/requirements.txt + - python -m pip install -r venv/cpython/Doc/requirements.txt - make - mkdir -p _readthedocs/html/ - cp -r venv/cpython/Doc/build/html/* _readthedocs/html/ diff --git a/Makefile b/Makefile index c8ea1d7ea..f4d28b885 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ ensure_prerequisites: venv/cpython/.git/HEAD git -C venv/cpython/ checkout $(BRANCH); \ echo "You're missing dependencies please install:"; \ echo ""; \ - echo " python -m pip install -r requirements.txt -r venv/cpython/Doc/requirements.txt"; \ + echo " python -m pip install -r venv/cpython/Doc/requirements.txt"; \ exit 1; \ fi diff --git a/README.md b/README.md index 092f9a5e2..2f29650d5 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Bu proje gönüllü çevirmenler ve python-docs-tr ekibi iş birliğinde sürdü - Örneğin, ``library/functions.po`` dosyasını çevirmek istiyorsanız, ``library-functions`` adında bir branch oluşturun. - ``git checkout -b library-functions`` 4. Gerekli paketleri yükleyin. - - ``python -m pip install --upgrade -r requirements.txt`` + - ``python -m pip install --upgrade -r requirements-dev.txt`` 5. Syntax hatalarını commit öncesi otomatik kontrol eden ``pre-commit`` 'i kurun. - ``pre-commit install`` diff --git a/about.po b/about.po index b939feb3e..17b4e5894 100644 --- a/about.po +++ b/about.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" @@ -19,7 +19,7 @@ msgstr "" #: about.rst:3 msgid "About these documents" -msgstr "Dokümanlar hakkında" +msgstr "Bu dokümanlar hakkında" #: about.rst:6 msgid "" @@ -81,13 +81,14 @@ msgid "" "Python source distribution for a partial list of contributors." msgstr "" "Birçok kişi Python diline, Python standart kütüphanesine ve Python " -"belgelerine katkıda bulunmuştur. Katkıda bulunanların kısmi listesi için " -"Python kaynak dağıtımında :source:`Misc/ACKS` adresine bakın." +"dokümantasyonuna katkıda bulunmuştur. Katkıda bulunanların kısmi bir " +"listesi için Python kaynak dağıtımında :source:`Misc/ACKS` dosyasına " +"bakın." #: about.rst:37 msgid "" "It is only with the input and contributions of the Python community that " "Python has such wonderful documentation -- Thank You!" msgstr "" -"Python topluluğunun girdileri ve katkılarıyla Python böyle harika bir " -"dokümantasyona sahip -- Teşekkürler!" +"Python topluluğunun girdileri ve katkıları sayesinde böyle harika bir " +"dokümantasyona sahibiz -- Teşekkürler!" diff --git a/bugs.po b/bugs.po index 14bdde754..125c56f35 100644 --- a/bugs.po +++ b/bugs.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/c-api/abstract.po b/c-api/abstract.po index ce62ac954..d3fcee983 100644 --- a/c-api/abstract.po +++ b/c-api/abstract.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/allocation.po b/c-api/allocation.po index 437cb6621..8b43cf8ba 100644 --- a/c-api/allocation.po +++ b/c-api/allocation.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/apiabiversion.po b/c-api/apiabiversion.po index 6ceebed17..c3d660789 100644 --- a/c-api/apiabiversion.po +++ b/c-api/apiabiversion.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/arg.po b/c-api/arg.po index 52131fb01..0ad378d44 100644 --- a/c-api/arg.po +++ b/c-api/arg.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/bool.po b/c-api/bool.po index cfb54b499..8dbbde867 100644 --- a/c-api/bool.po +++ b/c-api/bool.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/buffer.po b/c-api/buffer.po index eff1647b0..a2da6d1cc 100644 --- a/c-api/buffer.po +++ b/c-api/buffer.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 52f14fe87..d890bd173 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/bytes.po b/c-api/bytes.po index 6747a3b39..92bad0a1c 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/call.po b/c-api/call.po index 4a25f685c..eb42d55ad 100644 --- a/c-api/call.po +++ b/c-api/call.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/capsule.po b/c-api/capsule.po index fa84bef94..bcd925fb1 100644 --- a/c-api/capsule.po +++ b/c-api/capsule.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/cell.po b/c-api/cell.po index d29974e5d..75acce7c8 100644 --- a/c-api/cell.po +++ b/c-api/cell.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/code.po b/c-api/code.po index de1e05ed1..7105aaa7d 100644 --- a/c-api/code.po +++ b/c-api/code.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/codec.po b/c-api/codec.po index bc44c4b24..526197328 100644 --- a/c-api/codec.po +++ b/c-api/codec.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/complex.po b/c-api/complex.po index c42e9fb8f..a3ac1fc9b 100644 --- a/c-api/complex.po +++ b/c-api/complex.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/concrete.po b/c-api/concrete.po index 7524beb2c..52add3c83 100644 --- a/c-api/concrete.po +++ b/c-api/concrete.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/contextvars.po b/c-api/contextvars.po index 79f3f0dd2..e6752ea5a 100644 --- a/c-api/contextvars.po +++ b/c-api/contextvars.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/conversion.po b/c-api/conversion.po index 8d9d107fb..320408a35 100644 --- a/c-api/conversion.po +++ b/c-api/conversion.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/coro.po b/c-api/coro.po index 38d13bf87..803907c38 100644 --- a/c-api/coro.po +++ b/c-api/coro.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/datetime.po b/c-api/datetime.po index 71375cc25..d9f151346 100644 --- a/c-api/datetime.po +++ b/c-api/datetime.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/descriptor.po b/c-api/descriptor.po index 9f1f91695..0cc5a6af7 100644 --- a/c-api/descriptor.po +++ b/c-api/descriptor.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/dict.po b/c-api/dict.po index 588cf5f82..3c0d031c0 100644 --- a/c-api/dict.po +++ b/c-api/dict.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/exceptions.po b/c-api/exceptions.po index 7b0be7838..8e01de222 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/file.po b/c-api/file.po index bb16694e3..bfdaaa669 100644 --- a/c-api/file.po +++ b/c-api/file.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/float.po b/c-api/float.po index f123c3b50..1c708d919 100644 --- a/c-api/float.po +++ b/c-api/float.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/frame.po b/c-api/frame.po index 383c32f6e..89b34e55a 100644 --- a/c-api/frame.po +++ b/c-api/frame.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/function.po b/c-api/function.po index 5dc8bff7f..455b19286 100644 --- a/c-api/function.po +++ b/c-api/function.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/gcsupport.po b/c-api/gcsupport.po index e927d5580..be6586e73 100644 --- a/c-api/gcsupport.po +++ b/c-api/gcsupport.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/gen.po b/c-api/gen.po index 02dad9612..f818bd8b2 100644 --- a/c-api/gen.po +++ b/c-api/gen.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/import.po b/c-api/import.po index f6241b144..19de349d0 100644 --- a/c-api/import.po +++ b/c-api/import.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/index.po b/c-api/index.po index fc79c1426..263c52168 100644 --- a/c-api/index.po +++ b/c-api/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/c-api/init.po b/c-api/init.po index b6789a146..f41067164 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/init_config.po b/c-api/init_config.po index beab58bd6..fbda4b7aa 100644 --- a/c-api/init_config.po +++ b/c-api/init_config.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/intro.po b/c-api/intro.po index eaf29b2dd..5ce9f0309 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/iter.po b/c-api/iter.po index 8e5ac06b7..3ec33b3a4 100644 --- a/c-api/iter.po +++ b/c-api/iter.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/iterator.po b/c-api/iterator.po index 416ce6b3b..5909c9634 100644 --- a/c-api/iterator.po +++ b/c-api/iterator.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/list.po b/c-api/list.po index 260561b9a..f7203cc03 100644 --- a/c-api/list.po +++ b/c-api/list.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/long.po b/c-api/long.po index 55c5ceda6..43e992dde 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/mapping.po b/c-api/mapping.po index d24acf124..1f38d656b 100644 --- a/c-api/mapping.po +++ b/c-api/mapping.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/marshal.po b/c-api/marshal.po index 581192b02..44d833938 100644 --- a/c-api/marshal.po +++ b/c-api/marshal.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/memory.po b/c-api/memory.po index 366ddaf85..9f63a3b00 100644 --- a/c-api/memory.po +++ b/c-api/memory.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/memoryview.po b/c-api/memoryview.po index 0bc2bf885..c5f02dc40 100644 --- a/c-api/memoryview.po +++ b/c-api/memoryview.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/method.po b/c-api/method.po index da805858a..8edfc49f7 100644 --- a/c-api/method.po +++ b/c-api/method.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/module.po b/c-api/module.po index 0ffc71b56..8c521178e 100644 --- a/c-api/module.po +++ b/c-api/module.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/none.po b/c-api/none.po index d72d7f045..9aa31e178 100644 --- a/c-api/none.po +++ b/c-api/none.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/number.po b/c-api/number.po index a091188f5..46a3b3ed6 100644 --- a/c-api/number.po +++ b/c-api/number.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/objbuffer.po b/c-api/objbuffer.po index 707d1248d..ae4d6f8b5 100644 --- a/c-api/objbuffer.po +++ b/c-api/objbuffer.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/object.po b/c-api/object.po index a2b5bb043..67b481d69 100644 --- a/c-api/object.po +++ b/c-api/object.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/objimpl.po b/c-api/objimpl.po index 5cb4e1115..5510a70cb 100644 --- a/c-api/objimpl.po +++ b/c-api/objimpl.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/perfmaps.po b/c-api/perfmaps.po index 6398d574e..340edc1db 100644 --- a/c-api/perfmaps.po +++ b/c-api/perfmaps.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/refcounting.po b/c-api/refcounting.po index 0cd8403f9..f934d18a2 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/reflection.po b/c-api/reflection.po index 4d6e68958..c34ebef53 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/sequence.po b/c-api/sequence.po index 1dd02d2cb..095b65fd3 100644 --- a/c-api/sequence.po +++ b/c-api/sequence.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/set.po b/c-api/set.po index c124df7cf..2a560e3ce 100644 --- a/c-api/set.po +++ b/c-api/set.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/slice.po b/c-api/slice.po index b47b0bff2..312f5d62e 100644 --- a/c-api/slice.po +++ b/c-api/slice.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/stable.po b/c-api/stable.po index 89636b533..a37007b8d 100644 --- a/c-api/stable.po +++ b/c-api/stable.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/structures.po b/c-api/structures.po index 4c3c4866f..0584c9dbb 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/sys.po b/c-api/sys.po index d8a35e38c..14fa70f99 100644 --- a/c-api/sys.po +++ b/c-api/sys.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/tuple.po b/c-api/tuple.po index 8fd415244..a95f523d5 100644 --- a/c-api/tuple.po +++ b/c-api/tuple.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/type.po b/c-api/type.po index e2d17aa94..caf70584f 100644 --- a/c-api/type.po +++ b/c-api/type.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/typehints.po b/c-api/typehints.po index 3d04cc4e1..7ff967f9b 100644 --- a/c-api/typehints.po +++ b/c-api/typehints.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/typeobj.po b/c-api/typeobj.po index c78f07939..2668ed2a7 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/unicode.po b/c-api/unicode.po index 290594859..23dccfc00 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/utilities.po b/c-api/utilities.po index cf018763b..6ebca76b3 100644 --- a/c-api/utilities.po +++ b/c-api/utilities.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/veryhigh.po b/c-api/veryhigh.po index 4c95413a0..2b5dd0e3f 100644 --- a/c-api/veryhigh.po +++ b/c-api/veryhigh.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/weakref.po b/c-api/weakref.po index 91e900e3f..26e2ee351 100644 --- a/c-api/weakref.po +++ b/c-api/weakref.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/contents.po b/contents.po index f4c035d16..880b34dff 100644 --- a/contents.po +++ b/contents.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/copyright.po b/copyright.po index b535a418f..29ffbb35f 100644 --- a/copyright.po +++ b/copyright.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/distributing/index.po b/distributing/index.po index 1d50455b4..87083a52c 100644 --- a/distributing/index.po +++ b/distributing/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/extending/building.po b/extending/building.po index 3c27de8a5..80292585d 100644 --- a/extending/building.po +++ b/extending/building.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/extending/embedding.po b/extending/embedding.po index 1831a6829..036242a2a 100644 --- a/extending/embedding.po +++ b/extending/embedding.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/extending/extending.po b/extending/extending.po index 7fbf0dd7b..fdad17487 100644 --- a/extending/extending.po +++ b/extending/extending.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/extending/index.po b/extending/index.po index 6efd0cc23..e75023f43 100644 --- a/extending/index.po +++ b/extending/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/extending/newtypes.po b/extending/newtypes.po index ce425244e..745decbfb 100644 --- a/extending/newtypes.po +++ b/extending/newtypes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/extending/newtypes_tutorial.po b/extending/newtypes_tutorial.po index b65a834ba..91baf7510 100644 --- a/extending/newtypes_tutorial.po +++ b/extending/newtypes_tutorial.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/extending/windows.po b/extending/windows.po index f37d55169..89e19bf2c 100644 --- a/extending/windows.po +++ b/extending/windows.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/faq/design.po b/faq/design.po index d837cd427..e38c9a019 100644 --- a/faq/design.po +++ b/faq/design.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/faq/extending.po b/faq/extending.po index 6a310ffe5..dd1fff4b8 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/faq/general.po b/faq/general.po index f309bd89f..739271d6d 100644 --- a/faq/general.po +++ b/faq/general.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/faq/gui.po b/faq/gui.po index 9e5b59aca..2c2c7b7ca 100644 --- a/faq/gui.po +++ b/faq/gui.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/faq/index.po b/faq/index.po index ccae5a100..72a5e2ca0 100644 --- a/faq/index.po +++ b/faq/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/faq/installed.po b/faq/installed.po index 3f9e05865..d131f32ed 100644 --- a/faq/installed.po +++ b/faq/installed.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/faq/library.po b/faq/library.po index 7b2b1f8b8..657a3c290 100644 --- a/faq/library.po +++ b/faq/library.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/faq/programming.po b/faq/programming.po index 2b01853bb..e4edad69d 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/faq/windows.po b/faq/windows.po index 0481aeece..cc96c27b7 100644 --- a/faq/windows.po +++ b/faq/windows.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/glossary.po b/glossary.po index ca0417558..c1a716e88 100644 --- a/glossary.po +++ b/glossary.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/howto/annotations.po b/howto/annotations.po index d55ea3977..bcda8c948 100644 --- a/howto/annotations.po +++ b/howto/annotations.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/argparse.po b/howto/argparse.po index c46e7f07a..136836708 100644 --- a/howto/argparse.po +++ b/howto/argparse.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/clinic.po b/howto/clinic.po index 30bea1fd3..0f285c46d 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/howto/cporting.po b/howto/cporting.po index ad70773d2..7a22cd66b 100644 --- a/howto/cporting.po +++ b/howto/cporting.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/curses.po b/howto/curses.po index a88d5cbb8..ef7a480d7 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/descriptor.po b/howto/descriptor.po index 893a07c51..7b94225f7 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/enum.po b/howto/enum.po index 767823977..e342f9af4 100644 --- a/howto/enum.po +++ b/howto/enum.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/functional.po b/howto/functional.po index c37285228..d2e8bc9b5 100644 --- a/howto/functional.po +++ b/howto/functional.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/index.po b/howto/index.po index 7a17ccfde..be0d97d2e 100644 --- a/howto/index.po +++ b/howto/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/howto/instrumentation.po b/howto/instrumentation.po index 52ca48699..b669cbc57 100644 --- a/howto/instrumentation.po +++ b/howto/instrumentation.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/ipaddress.po b/howto/ipaddress.po index 0bee1b19c..39c380a97 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/isolating-extensions.po b/howto/isolating-extensions.po index 35d555f03..ccc8eadad 100644 --- a/howto/isolating-extensions.po +++ b/howto/isolating-extensions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index 544058e45..236148216 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/logging.po b/howto/logging.po index 90997edb6..dfbdd69ff 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/perf_profiling.po b/howto/perf_profiling.po index 45682d6d0..cf94a6b84 100644 --- a/howto/perf_profiling.po +++ b/howto/perf_profiling.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/pyporting.po b/howto/pyporting.po index 36750106b..45af65b5d 100644 --- a/howto/pyporting.po +++ b/howto/pyporting.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/regex.po b/howto/regex.po index 13a9d0d94..5862146dd 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/sockets.po b/howto/sockets.po index cfcfbea65..b5aa87f85 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/sorting.po b/howto/sorting.po index f8dfd66a0..fa13d84e4 100644 --- a/howto/sorting.po +++ b/howto/sorting.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/howto/unicode.po b/howto/unicode.po index ff0d6f2c7..728e6fcbf 100644 --- a/howto/unicode.po +++ b/howto/unicode.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/urllib2.po b/howto/urllib2.po index 93006ca86..52406c37b 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/installing/index.po b/installing/index.po index 84cb95c2f..68b560829 100644 --- a/installing/index.po +++ b/installing/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/library/2to3.po b/library/2to3.po index 5f291d183..81613d412 100644 --- a/library/2to3.po +++ b/library/2to3.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/__future__.po b/library/__future__.po index a44d51885..a3b97d2e5 100644 --- a/library/__future__.po +++ b/library/__future__.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/__main__.po b/library/__main__.po index 6c47d7c22..db417e439 100644 --- a/library/__main__.po +++ b/library/__main__.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/_thread.po b/library/_thread.po index cd278bfd2..37c80e1f9 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/abc.po b/library/abc.po index 34528e4dd..17f260ca8 100644 --- a/library/abc.po +++ b/library/abc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/aifc.po b/library/aifc.po index ccb1a556b..83dfaee11 100644 --- a/library/aifc.po +++ b/library/aifc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/allos.po b/library/allos.po index 777681b8f..740958f46 100644 --- a/library/allos.po +++ b/library/allos.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/archiving.po b/library/archiving.po index 38e708aa6..36d696862 100644 --- a/library/archiving.po +++ b/library/archiving.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/argparse.po b/library/argparse.po index 27001399b..76ed06a07 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/array.po b/library/array.po index fbb23d00a..3055c22cb 100644 --- a/library/array.po +++ b/library/array.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ast.po b/library/ast.po index 0b922713a..1c4ba70f9 100644 --- a/library/ast.po +++ b/library/ast.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-api-index.po b/library/asyncio-api-index.po index c28c68fba..a33bc3d03 100644 --- a/library/asyncio-api-index.po +++ b/library/asyncio-api-index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-dev.po b/library/asyncio-dev.po index f2dffca1d..0a8a2c15a 100644 --- a/library/asyncio-dev.po +++ b/library/asyncio-dev.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 03b78ef58..f8468b964 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-exceptions.po b/library/asyncio-exceptions.po index 41aebd8cc..06d3a022e 100644 --- a/library/asyncio-exceptions.po +++ b/library/asyncio-exceptions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-extending.po b/library/asyncio-extending.po index b873fc8b2..7a1f4cf8e 100644 --- a/library/asyncio-extending.po +++ b/library/asyncio-extending.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-future.po b/library/asyncio-future.po index 0781c8f6d..9f1a5552c 100644 --- a/library/asyncio-future.po +++ b/library/asyncio-future.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-llapi-index.po b/library/asyncio-llapi-index.po index 1283101eb..84810aa09 100644 --- a/library/asyncio-llapi-index.po +++ b/library/asyncio-llapi-index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-platforms.po b/library/asyncio-platforms.po index 399d0752b..cefab21c6 100644 --- a/library/asyncio-platforms.po +++ b/library/asyncio-platforms.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index 91d3d9b6c..e47461ad2 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-protocol.po b/library/asyncio-protocol.po index fb848b2bb..e5bd40008 100644 --- a/library/asyncio-protocol.po +++ b/library/asyncio-protocol.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-queue.po b/library/asyncio-queue.po index d47d736ab..0b601c1bd 100644 --- a/library/asyncio-queue.po +++ b/library/asyncio-queue.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-runner.po b/library/asyncio-runner.po index f8c9252b3..46c1a6903 100644 --- a/library/asyncio-runner.po +++ b/library/asyncio-runner.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index 322b37588..6a692e080 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-subprocess.po b/library/asyncio-subprocess.po index a8ca07aa0..342fc6713 100644 --- a/library/asyncio-subprocess.po +++ b/library/asyncio-subprocess.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-sync.po b/library/asyncio-sync.po index 9bc091e57..2dd2ff5f8 100644 --- a/library/asyncio-sync.po +++ b/library/asyncio-sync.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-task.po b/library/asyncio-task.po index 5590a79f7..36657ac79 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio.po b/library/asyncio.po index 318398273..0ff866e57 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/atexit.po b/library/atexit.po index 8ff10f7d2..64251de1e 100644 --- a/library/atexit.po +++ b/library/atexit.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/audioop.po b/library/audioop.po index 5ee66651b..3b8999186 100644 --- a/library/audioop.po +++ b/library/audioop.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/audit_events.po b/library/audit_events.po index 1139f9505..998a13985 100644 --- a/library/audit_events.po +++ b/library/audit_events.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/base64.po b/library/base64.po index c37385557..c0ccef395 100644 --- a/library/base64.po +++ b/library/base64.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/bdb.po b/library/bdb.po index e02b84664..16166a3c1 100644 --- a/library/bdb.po +++ b/library/bdb.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/binary.po b/library/binary.po index b62e18f55..d6c06f510 100644 --- a/library/binary.po +++ b/library/binary.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/binascii.po b/library/binascii.po index 1f8c137b9..db6b779f4 100644 --- a/library/binascii.po +++ b/library/binascii.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/bisect.po b/library/bisect.po index c9d757302..d92df8e4c 100644 --- a/library/bisect.po +++ b/library/bisect.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/builtins.po b/library/builtins.po index 4886a2c5d..d86eff1d3 100644 --- a/library/builtins.po +++ b/library/builtins.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/bz2.po b/library/bz2.po index 45a5c0c4b..b249e12dd 100644 --- a/library/bz2.po +++ b/library/bz2.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/calendar.po b/library/calendar.po index 866df7460..430ce0a3e 100644 --- a/library/calendar.po +++ b/library/calendar.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/cgi.po b/library/cgi.po index dafa0e328..3f3425dff 100644 --- a/library/cgi.po +++ b/library/cgi.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/cgitb.po b/library/cgitb.po index 7a46c9ec0..90089b5a9 100644 --- a/library/cgitb.po +++ b/library/cgitb.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/chunk.po b/library/chunk.po index 051573833..3e790850c 100644 --- a/library/chunk.po +++ b/library/chunk.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/cmath.po b/library/cmath.po index a7c7e5aef..14851a7c8 100644 --- a/library/cmath.po +++ b/library/cmath.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/cmd.po b/library/cmd.po index b7a22383c..153cbb2e7 100644 --- a/library/cmd.po +++ b/library/cmd.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/cmdline.po b/library/cmdline.po index 657644c42..64081007a 100644 --- a/library/cmdline.po +++ b/library/cmdline.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/code.po b/library/code.po index 27d75a78d..565a1b342 100644 --- a/library/code.po +++ b/library/code.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/codecs.po b/library/codecs.po index 52a0ea98a..da81c180b 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/codeop.po b/library/codeop.po index 835e9c6a6..363cfa849 100644 --- a/library/codeop.po +++ b/library/codeop.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/collections.abc.po b/library/collections.abc.po index 533d4fe18..39b690a65 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/collections.po b/library/collections.po index 9297b25aa..60df0ba43 100644 --- a/library/collections.po +++ b/library/collections.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/colorsys.po b/library/colorsys.po index 66a22180c..867b4a4ea 100644 --- a/library/colorsys.po +++ b/library/colorsys.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/compileall.po b/library/compileall.po index 251c41bc3..06e937736 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/concurrency.po b/library/concurrency.po index d5bc3455d..19b4ff753 100644 --- a/library/concurrency.po +++ b/library/concurrency.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index 795b2b39d..a593913fc 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/concurrent.po b/library/concurrent.po index 43f836f79..92ae1d70a 100644 --- a/library/concurrent.po +++ b/library/concurrent.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/configparser.po b/library/configparser.po index bc70e609a..d273d90e7 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/constants.po b/library/constants.po index 679762d93..62d0af782 100644 --- a/library/constants.po +++ b/library/constants.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/contextlib.po b/library/contextlib.po index 99ddd57ae..c948d3204 100644 --- a/library/contextlib.po +++ b/library/contextlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/contextvars.po b/library/contextvars.po index 75468ecbd..efb3bac2b 100644 --- a/library/contextvars.po +++ b/library/contextvars.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/copy.po b/library/copy.po index f94abe56e..61d53cef6 100644 --- a/library/copy.po +++ b/library/copy.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/copyreg.po b/library/copyreg.po index a9ea6cdde..9f2106db3 100644 --- a/library/copyreg.po +++ b/library/copyreg.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/crypt.po b/library/crypt.po index c488972e1..552e91c84 100644 --- a/library/crypt.po +++ b/library/crypt.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/crypto.po b/library/crypto.po index 502f28c51..9533fde9f 100644 --- a/library/crypto.po +++ b/library/crypto.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/csv.po b/library/csv.po index 1563d8a02..872e9bc14 100644 --- a/library/csv.po +++ b/library/csv.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ctypes.po b/library/ctypes.po index aefd491a8..9e042f332 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/curses.ascii.po b/library/curses.ascii.po index b03b40072..751c93307 100644 --- a/library/curses.ascii.po +++ b/library/curses.ascii.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/curses.panel.po b/library/curses.panel.po index 9220e0854..981afc01e 100644 --- a/library/curses.panel.po +++ b/library/curses.panel.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/curses.po b/library/curses.po index 9dabfea8f..1f8c8d177 100644 --- a/library/curses.po +++ b/library/curses.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/custominterp.po b/library/custominterp.po index ef89cfcf5..8937a0a23 100644 --- a/library/custominterp.po +++ b/library/custominterp.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/dataclasses.po b/library/dataclasses.po index 6ec4e0410..3138d3f9e 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/datatypes.po b/library/datatypes.po index 01417ad56..16dcc3a1c 100644 --- a/library/datatypes.po +++ b/library/datatypes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/datetime.po b/library/datetime.po index 4e19025bf..fbeaf3701 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/library/dbm.po b/library/dbm.po index dbf5d2254..297c10f62 100644 --- a/library/dbm.po +++ b/library/dbm.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/debug.po b/library/debug.po index 9457d92d9..92f010d7f 100644 --- a/library/debug.po +++ b/library/debug.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/decimal.po b/library/decimal.po index eef80dcbf..2f80daef4 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/development.po b/library/development.po index 8c8d79f6f..5c7516dea 100644 --- a/library/development.po +++ b/library/development.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/devmode.po b/library/devmode.po index a7207fd42..fcf51fd3d 100644 --- a/library/devmode.po +++ b/library/devmode.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/dialog.po b/library/dialog.po index cc6f4add3..b18541f73 100644 --- a/library/dialog.po +++ b/library/dialog.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/difflib.po b/library/difflib.po index bcba67cab..205bad26e 100644 --- a/library/difflib.po +++ b/library/difflib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/dis.po b/library/dis.po index c8c2b3fbb..f1df4a623 100644 --- a/library/dis.po +++ b/library/dis.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/distribution.po b/library/distribution.po index a02681363..1c1f59183 100644 --- a/library/distribution.po +++ b/library/distribution.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/doctest.po b/library/doctest.po index 065fc7d0d..684a22c0a 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.charset.po b/library/email.charset.po index 8431fb4cd..a12f9886e 100644 --- a/library/email.charset.po +++ b/library/email.charset.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.compat32-message.po b/library/email.compat32-message.po index 35abc9ecd..71ba38499 100644 --- a/library/email.compat32-message.po +++ b/library/email.compat32-message.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.contentmanager.po b/library/email.contentmanager.po index afee3b080..d7526c623 100644 --- a/library/email.contentmanager.po +++ b/library/email.contentmanager.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.encoders.po b/library/email.encoders.po index 5cf4d64e2..1e7633282 100644 --- a/library/email.encoders.po +++ b/library/email.encoders.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.errors.po b/library/email.errors.po index 91f34050d..9c8af9763 100644 --- a/library/email.errors.po +++ b/library/email.errors.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.examples.po b/library/email.examples.po index 3806e5cac..45c3977b6 100644 --- a/library/email.examples.po +++ b/library/email.examples.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.generator.po b/library/email.generator.po index e9098fa13..9b38ee02d 100644 --- a/library/email.generator.po +++ b/library/email.generator.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.header.po b/library/email.header.po index 5d18c8465..375268572 100644 --- a/library/email.header.po +++ b/library/email.header.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.headerregistry.po b/library/email.headerregistry.po index 8b3e46a75..f3bc1ba53 100644 --- a/library/email.headerregistry.po +++ b/library/email.headerregistry.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.iterators.po b/library/email.iterators.po index b255aafd8..378ec5e32 100644 --- a/library/email.iterators.po +++ b/library/email.iterators.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.message.po b/library/email.message.po index 51ebe803a..e77462c74 100644 --- a/library/email.message.po +++ b/library/email.message.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.mime.po b/library/email.mime.po index bc91f8acb..66dc514cf 100644 --- a/library/email.mime.po +++ b/library/email.mime.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.parser.po b/library/email.parser.po index ce82fcc6a..310ee3c22 100644 --- a/library/email.parser.po +++ b/library/email.parser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.po b/library/email.po index 75174f56b..98852e1fb 100644 --- a/library/email.po +++ b/library/email.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.policy.po b/library/email.policy.po index ee17be8fe..de81e9d27 100644 --- a/library/email.policy.po +++ b/library/email.policy.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.utils.po b/library/email.utils.po index 9c51709a8..86d94cf98 100644 --- a/library/email.utils.po +++ b/library/email.utils.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ensurepip.po b/library/ensurepip.po index c0d5b2a5d..25621a3f2 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/enum.po b/library/enum.po index b43903bc2..84abd7b68 100644 --- a/library/enum.po +++ b/library/enum.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/errno.po b/library/errno.po index 1686a4031..29e750b9c 100644 --- a/library/errno.po +++ b/library/errno.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/exceptions.po b/library/exceptions.po index 7e1df5c7b..6a16d4368 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/faulthandler.po b/library/faulthandler.po index 52f400594..ff81b2e39 100644 --- a/library/faulthandler.po +++ b/library/faulthandler.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/fcntl.po b/library/fcntl.po index f407ec4e1..8f5255d10 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/filecmp.po b/library/filecmp.po index 7374fec59..cd00e6e94 100644 --- a/library/filecmp.po +++ b/library/filecmp.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/fileformats.po b/library/fileformats.po index da758ff72..dc439ebbe 100644 --- a/library/fileformats.po +++ b/library/fileformats.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/fileinput.po b/library/fileinput.po index e0c80b406..9da15f6b3 100644 --- a/library/fileinput.po +++ b/library/fileinput.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/filesys.po b/library/filesys.po index a2a284292..9456fd385 100644 --- a/library/filesys.po +++ b/library/filesys.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/fnmatch.po b/library/fnmatch.po index a4ab3c937..5c0dc4232 100644 --- a/library/fnmatch.po +++ b/library/fnmatch.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/fractions.po b/library/fractions.po index 4b1612baf..eee2f5379 100644 --- a/library/fractions.po +++ b/library/fractions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/frameworks.po b/library/frameworks.po index 32a71b6a4..e17d5e96d 100644 --- a/library/frameworks.po +++ b/library/frameworks.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ftplib.po b/library/ftplib.po index 6206986a9..f32bddbb2 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/functional.po b/library/functional.po index 809bb5f35..1b76f2fdc 100644 --- a/library/functional.po +++ b/library/functional.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/functions.po b/library/functions.po index c645b8e11..70571dfa6 100644 --- a/library/functions.po +++ b/library/functions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" @@ -1025,7 +1025,7 @@ msgid "" "See :class:`dict` and :ref:`typesmapping` for documentation about this class." msgstr "" "Yeni bir sözlük yaratır. :class:`dict` nesnesi bir sözlük sınıfıdır. Bu " -"sınıf hakkındaki dökümantasyon için :class:`dict` ve :ref:`typesmapping` 'e " +"sınıf hakkındaki dokümantasyon için :class:`dict` ve :ref:`typesmapping` 'e " "bakınız." #: library/functions.rst:426 diff --git a/library/functools.po b/library/functools.po index 05e46dcc4..5947dab75 100644 --- a/library/functools.po +++ b/library/functools.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/gc.po b/library/gc.po index 12a40ecf4..97486c8d7 100644 --- a/library/gc.po +++ b/library/gc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/getopt.po b/library/getopt.po index ce1bf534b..48b7371ab 100644 --- a/library/getopt.po +++ b/library/getopt.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/getpass.po b/library/getpass.po index d6ab06c88..919803d58 100644 --- a/library/getpass.po +++ b/library/getpass.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/gettext.po b/library/gettext.po index e5842f1a6..d9e940d0e 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/glob.po b/library/glob.po index 229623827..1484162ad 100644 --- a/library/glob.po +++ b/library/glob.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/graphlib.po b/library/graphlib.po index 620481113..e3b35d3a3 100644 --- a/library/graphlib.po +++ b/library/graphlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/grp.po b/library/grp.po index 08f041fce..0d4511aa3 100644 --- a/library/grp.po +++ b/library/grp.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/gzip.po b/library/gzip.po index 1ee996caa..1ef6a2577 100644 --- a/library/gzip.po +++ b/library/gzip.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/hashlib.po b/library/hashlib.po index e074a4ea2..ce6e5644c 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/heapq.po b/library/heapq.po index 0e4620939..92fd0731a 100644 --- a/library/heapq.po +++ b/library/heapq.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/hmac.po b/library/hmac.po index 686663c3f..931a76d6d 100644 --- a/library/hmac.po +++ b/library/hmac.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/html.entities.po b/library/html.entities.po index 4e8a06d5e..fa4c762b8 100644 --- a/library/html.entities.po +++ b/library/html.entities.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/html.parser.po b/library/html.parser.po index e50ff155c..3a4ced0e8 100644 --- a/library/html.parser.po +++ b/library/html.parser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/html.po b/library/html.po index 47500ca3b..b42d0dd92 100644 --- a/library/html.po +++ b/library/html.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/http.client.po b/library/http.client.po index cca5607a5..c1e2dea8e 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/http.cookiejar.po b/library/http.cookiejar.po index bc0726df1..914939dab 100644 --- a/library/http.cookiejar.po +++ b/library/http.cookiejar.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/http.cookies.po b/library/http.cookies.po index 136fc6b5a..0723ac404 100644 --- a/library/http.cookies.po +++ b/library/http.cookies.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/http.po b/library/http.po index b1e1f5f85..cbcb4a5cb 100644 --- a/library/http.po +++ b/library/http.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/http.server.po b/library/http.server.po index 8d78a8f40..b10fdf6c7 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/i18n.po b/library/i18n.po index 656e7d0f0..f02f9ed35 100644 --- a/library/i18n.po +++ b/library/i18n.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/idle.po b/library/idle.po index 279fe3570..9a3ce4a0a 100644 --- a/library/idle.po +++ b/library/idle.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/imaplib.po b/library/imaplib.po index a5c87d55b..79b46121e 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/imghdr.po b/library/imghdr.po index bb4e588b5..26e193c38 100644 --- a/library/imghdr.po +++ b/library/imghdr.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/importlib.metadata.po b/library/importlib.metadata.po index b999980cc..cbe18689a 100644 --- a/library/importlib.metadata.po +++ b/library/importlib.metadata.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/importlib.po b/library/importlib.po index 9ae409d53..3021cd390 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/importlib.resources.abc.po b/library/importlib.resources.abc.po index a964e9679..fa5ff6999 100644 --- a/library/importlib.resources.abc.po +++ b/library/importlib.resources.abc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/importlib.resources.po b/library/importlib.resources.po index 18c3e0163..8741c622f 100644 --- a/library/importlib.resources.po +++ b/library/importlib.resources.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/index.po b/library/index.po index fdb547663..fdc3195e9 100644 --- a/library/index.po +++ b/library/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/inspect.po b/library/inspect.po index b9a874f42..38401f633 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/internet.po b/library/internet.po index efc406b67..8f5cb088f 100644 --- a/library/internet.po +++ b/library/internet.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/intro.po b/library/intro.po index c428bf6ab..e8acf85e7 100644 --- a/library/intro.po +++ b/library/intro.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/io.po b/library/io.po index 95814eba6..a30514308 100644 --- a/library/io.po +++ b/library/io.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ipaddress.po b/library/ipaddress.po index c7b27280c..b23ab14ee 100644 --- a/library/ipaddress.po +++ b/library/ipaddress.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ipc.po b/library/ipc.po index 0068b6314..999f07604 100644 --- a/library/ipc.po +++ b/library/ipc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/itertools.po b/library/itertools.po index ad7423092..de9928f65 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/json.po b/library/json.po index 3fa416a16..e14f0cfe2 100644 --- a/library/json.po +++ b/library/json.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/keyword.po b/library/keyword.po index ddc1b6951..002487272 100644 --- a/library/keyword.po +++ b/library/keyword.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/language.po b/library/language.po index f7ec7dcce..831d272b7 100644 --- a/library/language.po +++ b/library/language.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/linecache.po b/library/linecache.po index b3d1066a1..e0675e46e 100644 --- a/library/linecache.po +++ b/library/linecache.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/locale.po b/library/locale.po index 12bac1409..e94ee6e08 100644 --- a/library/locale.po +++ b/library/locale.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/logging.config.po b/library/logging.config.po index d82987374..057047950 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/logging.handlers.po b/library/logging.handlers.po index e954a80cc..1b22df0ff 100644 --- a/library/logging.handlers.po +++ b/library/logging.handlers.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/logging.po b/library/logging.po index d3c2e2714..01292f99f 100644 --- a/library/logging.po +++ b/library/logging.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/lzma.po b/library/lzma.po index 678c39add..8ed9bde7a 100644 --- a/library/lzma.po +++ b/library/lzma.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/mailbox.po b/library/mailbox.po index 32c3f0e3d..260692375 100644 --- a/library/mailbox.po +++ b/library/mailbox.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/mailcap.po b/library/mailcap.po index 96ef972b1..96b57d365 100644 --- a/library/mailcap.po +++ b/library/mailcap.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/markup.po b/library/markup.po index eacad5388..d8269813c 100644 --- a/library/markup.po +++ b/library/markup.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/marshal.po b/library/marshal.po index 9255f5b8d..5016b6e0a 100644 --- a/library/marshal.po +++ b/library/marshal.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/math.po b/library/math.po index b622798ef..2508fe54b 100644 --- a/library/math.po +++ b/library/math.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/library/mimetypes.po b/library/mimetypes.po index 21aadb56f..ce97695b1 100644 --- a/library/mimetypes.po +++ b/library/mimetypes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/mm.po b/library/mm.po index c1f2d40ff..bb537c353 100644 --- a/library/mm.po +++ b/library/mm.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/mmap.po b/library/mmap.po index 54239efa4..9a0e760ad 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/modulefinder.po b/library/modulefinder.po index 1aff3db7a..517c1d510 100644 --- a/library/modulefinder.po +++ b/library/modulefinder.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/modules.po b/library/modules.po index 951e4297c..212937385 100644 --- a/library/modules.po +++ b/library/modules.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/msilib.po b/library/msilib.po index d9fefba41..e8c724c74 100644 --- a/library/msilib.po +++ b/library/msilib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/msvcrt.po b/library/msvcrt.po index 5e61e130b..29fa3b219 100644 --- a/library/msvcrt.po +++ b/library/msvcrt.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/multiprocessing.po b/library/multiprocessing.po index b4637dec8..842a84781 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/multiprocessing.shared_memory.po b/library/multiprocessing.shared_memory.po index c57868457..8f2133dd8 100644 --- a/library/multiprocessing.shared_memory.po +++ b/library/multiprocessing.shared_memory.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/netdata.po b/library/netdata.po index 79a1f4c44..607cf2c54 100644 --- a/library/netdata.po +++ b/library/netdata.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/netrc.po b/library/netrc.po index 02464490f..a1ecffef9 100644 --- a/library/netrc.po +++ b/library/netrc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/nis.po b/library/nis.po index a4fa34c3d..b242fc9f2 100644 --- a/library/nis.po +++ b/library/nis.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/nntplib.po b/library/nntplib.po index 556f2c0ad..c931e87b2 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/numbers.po b/library/numbers.po index 142502cff..b21318fc9 100644 --- a/library/numbers.po +++ b/library/numbers.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/numeric.po b/library/numeric.po index c1199eb9d..87941361d 100644 --- a/library/numeric.po +++ b/library/numeric.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/operator.po b/library/operator.po index 16805977a..81442199b 100644 --- a/library/operator.po +++ b/library/operator.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/optparse.po b/library/optparse.po index ee8890536..9f4d13574 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/os.path.po b/library/os.path.po index e6734289e..598f6401e 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/os.po b/library/os.po index 86fb3454a..09a8565e3 100644 --- a/library/os.po +++ b/library/os.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ossaudiodev.po b/library/ossaudiodev.po index 1c0f99cfe..c66324e04 100644 --- a/library/ossaudiodev.po +++ b/library/ossaudiodev.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pathlib.po b/library/pathlib.po index 4b97393ae..0bb2e8a9a 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pdb.po b/library/pdb.po index 106bcc7e3..7fa42fb3f 100644 --- a/library/pdb.po +++ b/library/pdb.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/persistence.po b/library/persistence.po index 08b3761fa..4dcf255c7 100644 --- a/library/persistence.po +++ b/library/persistence.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pickle.po b/library/pickle.po index 2ca5ded5b..2df9d5155 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pickletools.po b/library/pickletools.po index 7155fe6f1..c05601462 100644 --- a/library/pickletools.po +++ b/library/pickletools.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pipes.po b/library/pipes.po index 39eecf39b..c458932df 100644 --- a/library/pipes.po +++ b/library/pipes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pkgutil.po b/library/pkgutil.po index 2aba1fc75..f93c585a2 100644 --- a/library/pkgutil.po +++ b/library/pkgutil.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/platform.po b/library/platform.po index bd01d3e4e..dd5420743 100644 --- a/library/platform.po +++ b/library/platform.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/plistlib.po b/library/plistlib.po index a1509ba7e..8d22bafcd 100644 --- a/library/plistlib.po +++ b/library/plistlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/poplib.po b/library/poplib.po index 7903bd0c4..1424d0b41 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/posix.po b/library/posix.po index 0fcf81acb..cc1658054 100644 --- a/library/posix.po +++ b/library/posix.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pprint.po b/library/pprint.po index b03baf57d..2cad9f7d4 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/profile.po b/library/profile.po index 0e82b1c91..ad0ee525a 100644 --- a/library/profile.po +++ b/library/profile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pty.po b/library/pty.po index 065713fca..b8c9ac3fe 100644 --- a/library/pty.po +++ b/library/pty.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pwd.po b/library/pwd.po index 4dbaec078..c1dd58de2 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/py_compile.po b/library/py_compile.po index 321c9f4bc..9cc4a7188 100644 --- a/library/py_compile.po +++ b/library/py_compile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pyclbr.po b/library/pyclbr.po index 65e00d284..e58c45923 100644 --- a/library/pyclbr.po +++ b/library/pyclbr.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pydoc.po b/library/pydoc.po index b21def4f1..165ce2db7 100644 --- a/library/pydoc.po +++ b/library/pydoc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pyexpat.po b/library/pyexpat.po index 1ffbbd25c..f50884509 100644 --- a/library/pyexpat.po +++ b/library/pyexpat.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/python.po b/library/python.po index 43c08c54b..db8b5ddb8 100644 --- a/library/python.po +++ b/library/python.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/queue.po b/library/queue.po index 3e5c0647d..8b9c80e9e 100644 --- a/library/queue.po +++ b/library/queue.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/quopri.po b/library/quopri.po index e469c1f8c..363e7f856 100644 --- a/library/quopri.po +++ b/library/quopri.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/random.po b/library/random.po index 51fce0721..51282850c 100644 --- a/library/random.po +++ b/library/random.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/re.po b/library/re.po index d3ec6158f..1307cc056 100644 --- a/library/re.po +++ b/library/re.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/readline.po b/library/readline.po index c0eba2163..97f2ca72b 100644 --- a/library/readline.po +++ b/library/readline.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/reprlib.po b/library/reprlib.po index f0cd574ed..dc50c2874 100644 --- a/library/reprlib.po +++ b/library/reprlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/resource.po b/library/resource.po index efb73e453..cff94d77f 100644 --- a/library/resource.po +++ b/library/resource.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/rlcompleter.po b/library/rlcompleter.po index bb8326276..04dc4d927 100644 --- a/library/rlcompleter.po +++ b/library/rlcompleter.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/runpy.po b/library/runpy.po index 02a4907ec..074e81f77 100644 --- a/library/runpy.po +++ b/library/runpy.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sched.po b/library/sched.po index c531afbe4..ea829ff51 100644 --- a/library/sched.po +++ b/library/sched.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/secrets.po b/library/secrets.po index 7909852db..530d81e0d 100644 --- a/library/secrets.po +++ b/library/secrets.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/security_warnings.po b/library/security_warnings.po index c97d6ff86..ccb3abb4f 100644 --- a/library/security_warnings.po +++ b/library/security_warnings.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/select.po b/library/select.po index 7016bcf12..33883be60 100644 --- a/library/select.po +++ b/library/select.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/selectors.po b/library/selectors.po index 0a3cb9586..fd9c930e2 100644 --- a/library/selectors.po +++ b/library/selectors.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/shelve.po b/library/shelve.po index 91dc19462..752475641 100644 --- a/library/shelve.po +++ b/library/shelve.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/shlex.po b/library/shlex.po index 8d61904f9..8b76ac5b3 100644 --- a/library/shlex.po +++ b/library/shlex.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/shutil.po b/library/shutil.po index 58d27a9bd..fe4aaafdf 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/signal.po b/library/signal.po index 8feefce55..c4d80c35b 100644 --- a/library/signal.po +++ b/library/signal.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/site.po b/library/site.po index 17d3a1d21..ceb10ee3a 100644 --- a/library/site.po +++ b/library/site.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/smtplib.po b/library/smtplib.po index c09c4588d..3705f4ac6 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sndhdr.po b/library/sndhdr.po index 9dbc361ac..e0eb8440a 100644 --- a/library/sndhdr.po +++ b/library/sndhdr.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/socket.po b/library/socket.po index da4cd3376..1ad1c3b3c 100644 --- a/library/socket.po +++ b/library/socket.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/socketserver.po b/library/socketserver.po index 1e9d7008b..edbc70946 100644 --- a/library/socketserver.po +++ b/library/socketserver.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/spwd.po b/library/spwd.po index 564cc9e98..7a27bcc0d 100644 --- a/library/spwd.po +++ b/library/spwd.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sqlite3.po b/library/sqlite3.po index 301f3628d..e93d6865d 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ssl.po b/library/ssl.po index b87f72016..8debb590c 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/stat.po b/library/stat.po index 7aa1f556e..6f36c952f 100644 --- a/library/stat.po +++ b/library/stat.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/statistics.po b/library/statistics.po index 620f1123d..b8702c67c 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/stdtypes.po b/library/stdtypes.po index 71d554a99..406f1fccd 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/library/string.po b/library/string.po index 5a71119cd..87ee76288 100644 --- a/library/string.po +++ b/library/string.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/stringprep.po b/library/stringprep.po index ae7c5bd0e..fc80956eb 100644 --- a/library/stringprep.po +++ b/library/stringprep.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/struct.po b/library/struct.po index 590839bad..efc615291 100644 --- a/library/struct.po +++ b/library/struct.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/subprocess.po b/library/subprocess.po index 5436fce10..98507e8ab 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sunau.po b/library/sunau.po index b79f6cb8c..4fb94ecd2 100644 --- a/library/sunau.po +++ b/library/sunau.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/superseded.po b/library/superseded.po index e93615b6c..5ac28c30c 100644 --- a/library/superseded.po +++ b/library/superseded.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/symtable.po b/library/symtable.po index 7d3e8d6ee..5ffa349e6 100644 --- a/library/symtable.po +++ b/library/symtable.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sys.monitoring.po b/library/sys.monitoring.po index 3f1973c04..7938c52be 100644 --- a/library/sys.monitoring.po +++ b/library/sys.monitoring.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sys.po b/library/sys.po index 49670ef18..d3e4a6596 100644 --- a/library/sys.po +++ b/library/sys.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sys_path_init.po b/library/sys_path_init.po index 1f14197c3..70fd3c84f 100644 --- a/library/sys_path_init.po +++ b/library/sys_path_init.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sysconfig.po b/library/sysconfig.po index 2227ffaa4..d523e1d49 100644 --- a/library/sysconfig.po +++ b/library/sysconfig.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/syslog.po b/library/syslog.po index 0f9a12c11..2facd2615 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tabnanny.po b/library/tabnanny.po index e5e8315e4..7f4881b31 100644 --- a/library/tabnanny.po +++ b/library/tabnanny.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tarfile.po b/library/tarfile.po index fc91248b8..1604ec914 100644 --- a/library/tarfile.po +++ b/library/tarfile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/telnetlib.po b/library/telnetlib.po index b8a12dff8..33f3408b1 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tempfile.po b/library/tempfile.po index d07b42d8a..5cbb10762 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/termios.po b/library/termios.po index f6c563fa4..14809590b 100644 --- a/library/termios.po +++ b/library/termios.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/test.po b/library/test.po index 77fc5df36..708506e99 100644 --- a/library/test.po +++ b/library/test.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/text.po b/library/text.po index 27b0d7874..e5eb872d1 100644 --- a/library/text.po +++ b/library/text.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/textwrap.po b/library/textwrap.po index e9ab38420..f5137cd57 100644 --- a/library/textwrap.po +++ b/library/textwrap.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/threading.po b/library/threading.po index ff65d1ee9..a114146e7 100644 --- a/library/threading.po +++ b/library/threading.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/time.po b/library/time.po index 17be79724..d93e67bac 100644 --- a/library/time.po +++ b/library/time.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/library/timeit.po b/library/timeit.po index a62512e33..58d8b4d8e 100644 --- a/library/timeit.po +++ b/library/timeit.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tk.po b/library/tk.po index f74947a93..ae6b491dd 100644 --- a/library/tk.po +++ b/library/tk.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/library/tkinter.colorchooser.po b/library/tkinter.colorchooser.po index bc5324834..301b5ee72 100644 --- a/library/tkinter.colorchooser.po +++ b/library/tkinter.colorchooser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.dnd.po b/library/tkinter.dnd.po index b6176fa0d..1a614d84f 100644 --- a/library/tkinter.dnd.po +++ b/library/tkinter.dnd.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.font.po b/library/tkinter.font.po index 854913c8e..7cd680e5d 100644 --- a/library/tkinter.font.po +++ b/library/tkinter.font.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.messagebox.po b/library/tkinter.messagebox.po index 66c18df83..64f5dca16 100644 --- a/library/tkinter.messagebox.po +++ b/library/tkinter.messagebox.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.po b/library/tkinter.po index 733e3d3e1..4600c1c0b 100644 --- a/library/tkinter.po +++ b/library/tkinter.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.scrolledtext.po b/library/tkinter.scrolledtext.po index 3ed9c02fb..2c76aa512 100644 --- a/library/tkinter.scrolledtext.po +++ b/library/tkinter.scrolledtext.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.tix.po b/library/tkinter.tix.po index 1610d378a..d7104bf80 100644 --- a/library/tkinter.tix.po +++ b/library/tkinter.tix.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index 0f36a0004..07b720e65 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/token.po b/library/token.po index ac2a20a18..971726e77 100644 --- a/library/token.po +++ b/library/token.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tokenize.po b/library/tokenize.po index c0482bf62..b57502735 100644 --- a/library/tokenize.po +++ b/library/tokenize.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tomllib.po b/library/tomllib.po index 5780eca58..6b784a17c 100644 --- a/library/tomllib.po +++ b/library/tomllib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/trace.po b/library/trace.po index 36d5e7428..b73b3bcab 100644 --- a/library/trace.po +++ b/library/trace.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/traceback.po b/library/traceback.po index cf9e298d7..e3386545e 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tracemalloc.po b/library/tracemalloc.po index fe1347a90..aa194b540 100644 --- a/library/tracemalloc.po +++ b/library/tracemalloc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tty.po b/library/tty.po index ebfda94cc..220b37dff 100644 --- a/library/tty.po +++ b/library/tty.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/turtle.po b/library/turtle.po index c70ff5083..218be6e88 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/types.po b/library/types.po index c392a71d3..499cfd506 100644 --- a/library/types.po +++ b/library/types.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/typing.po b/library/typing.po index 026ab32bd..96453afcd 100644 --- a/library/typing.po +++ b/library/typing.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/unicodedata.po b/library/unicodedata.po index 8b9d6cb4d..0de26f770 100644 --- a/library/unicodedata.po +++ b/library/unicodedata.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/unittest.mock-examples.po b/library/unittest.mock-examples.po index df69bd9e4..ee0e88509 100644 --- a/library/unittest.mock-examples.po +++ b/library/unittest.mock-examples.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/unittest.mock.po b/library/unittest.mock.po index b17eb0318..3273d7a6a 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/unittest.po b/library/unittest.po index dbff16e84..5f771fd84 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/unix.po b/library/unix.po index 4c7336932..6c4228985 100644 --- a/library/unix.po +++ b/library/unix.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/urllib.error.po b/library/urllib.error.po index 8607d4633..6ad43e313 100644 --- a/library/urllib.error.po +++ b/library/urllib.error.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/urllib.parse.po b/library/urllib.parse.po index 09e573270..015686258 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/urllib.po b/library/urllib.po index 2ae85fe36..067032017 100644 --- a/library/urllib.po +++ b/library/urllib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/urllib.request.po b/library/urllib.request.po index 31f1221d8..827112536 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/urllib.robotparser.po b/library/urllib.robotparser.po index f2cc245a1..b5789609e 100644 --- a/library/urllib.robotparser.po +++ b/library/urllib.robotparser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/uu.po b/library/uu.po index d885fa406..436409ffa 100644 --- a/library/uu.po +++ b/library/uu.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/uuid.po b/library/uuid.po index 3a5dd6b82..e22197c47 100644 --- a/library/uuid.po +++ b/library/uuid.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/venv.po b/library/venv.po index a71e11ca4..55a6354ec 100644 --- a/library/venv.po +++ b/library/venv.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/warnings.po b/library/warnings.po index ae9edfa0b..38ea44656 100644 --- a/library/warnings.po +++ b/library/warnings.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/wave.po b/library/wave.po index 1a7c6edaa..dd0f57524 100644 --- a/library/wave.po +++ b/library/wave.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/weakref.po b/library/weakref.po index d21142603..bfd1c5434 100644 --- a/library/weakref.po +++ b/library/weakref.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/webbrowser.po b/library/webbrowser.po index 05772263c..d548075d7 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/windows.po b/library/windows.po index d4a967c4e..cb0d4a2e9 100644 --- a/library/windows.po +++ b/library/windows.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/winreg.po b/library/winreg.po index c84c6c2e1..b97cd1270 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/winsound.po b/library/winsound.po index 6860de9a6..ef5a67d04 100644 --- a/library/winsound.po +++ b/library/winsound.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/wsgiref.po b/library/wsgiref.po index 5a25b8fcc..84b45d4a6 100644 --- a/library/wsgiref.po +++ b/library/wsgiref.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xdrlib.po b/library/xdrlib.po index eb37b1d36..6218d715a 100644 --- a/library/xdrlib.po +++ b/library/xdrlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.dom.minidom.po b/library/xml.dom.minidom.po index 1b8f25a48..c79d3258b 100644 --- a/library/xml.dom.minidom.po +++ b/library/xml.dom.minidom.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.dom.po b/library/xml.dom.po index 0d30f072a..e172724f4 100644 --- a/library/xml.dom.po +++ b/library/xml.dom.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.dom.pulldom.po b/library/xml.dom.pulldom.po index 7e6149118..932f2206d 100644 --- a/library/xml.dom.pulldom.po +++ b/library/xml.dom.pulldom.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.etree.elementtree.po b/library/xml.etree.elementtree.po index 67c84299a..ef6f788c9 100644 --- a/library/xml.etree.elementtree.po +++ b/library/xml.etree.elementtree.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.po b/library/xml.po index 467bdae5e..4a4b5306f 100644 --- a/library/xml.po +++ b/library/xml.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.sax.handler.po b/library/xml.sax.handler.po index 6c5ab1e72..fe2d8285f 100644 --- a/library/xml.sax.handler.po +++ b/library/xml.sax.handler.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.sax.po b/library/xml.sax.po index 0505f18a7..91751273b 100644 --- a/library/xml.sax.po +++ b/library/xml.sax.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.sax.reader.po b/library/xml.sax.reader.po index 802f2d654..7541dd92c 100644 --- a/library/xml.sax.reader.po +++ b/library/xml.sax.reader.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.sax.utils.po b/library/xml.sax.utils.po index 062ef6bcc..df3955196 100644 --- a/library/xml.sax.utils.po +++ b/library/xml.sax.utils.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index 33c2948c1..97005b62f 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xmlrpc.po b/library/xmlrpc.po index 10eefa0c9..a26b921e8 100644 --- a/library/xmlrpc.po +++ b/library/xmlrpc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xmlrpc.server.po b/library/xmlrpc.server.po index 90340f47d..5c5ea6b0d 100644 --- a/library/xmlrpc.server.po +++ b/library/xmlrpc.server.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/zipapp.po b/library/zipapp.po index 79433c45e..91f15d3ce 100644 --- a/library/zipapp.po +++ b/library/zipapp.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/zipfile.po b/library/zipfile.po index a94e602f6..702d997d5 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/zipimport.po b/library/zipimport.po index 07b6d7274..e20c46ee7 100644 --- a/library/zipimport.po +++ b/library/zipimport.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/zlib.po b/library/zlib.po index 8ba5da111..95d438310 100644 --- a/library/zlib.po +++ b/library/zlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/zoneinfo.po b/library/zoneinfo.po index f89385d36..7810e695b 100644 --- a/library/zoneinfo.po +++ b/library/zoneinfo.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/license.po b/license.po index b3f02e831..3151b3b41 100644 --- a/license.po +++ b/license.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" @@ -305,31 +305,30 @@ msgid "Mersenne Twister" msgstr "Mersenne Twister'ı" #: license.rst:305 -#, fuzzy msgid "" "The :mod:`!_random` C extension underlying the :mod:`random` module includes " "code based on a download from http://www.math.sci.hiroshima-u.ac.jp/~m-mat/" "MT/MT2002/emt19937ar.html. The following are the verbatim comments from the " "original code::" msgstr "" -":mod:`_random` modülü, http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/" -"MT2002/emt19937ar.html adresinden indirilen kodu temel alır. Orijinal koddan " -"kelimesi kelimesine yorumlar aşağıdadır::" +":mod:`random` modülünün altyapsını oluşturan :mod:`!_random` C uzantısı, " +"http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html " +"adresinden indirilen kodu temel alır. Orijinal koddan kelimesi kelimesine " +"yorumlar aşağıdadır::" #: license.rst:353 msgid "Sockets" msgstr "Soketler" #: license.rst:355 -#, fuzzy msgid "" "The :mod:`socket` module uses the functions, :c:func:`!getaddrinfo`, and :c:" "func:`!getnameinfo`, which are coded in separate source files from the WIDE " "Project, https://www.wide.ad.jp/. ::" msgstr "" -":mod:`socket` modülü, https://www.wide.ad.jp adresindeki WIDE Projesi'nden " -"ayrı kaynak dosyalarında kodlanan :func:`getaddrinfo` ve :func:`getnameinfo` " -"fonksiyonlarını kullanır. /. ::" +":mod:`socket` modülü, https://www.wide.ad.jp/ adresindeki WIDE Projesi'nden " +"ayrı kaynak dosyalarında kodlanan :c:func:`!getaddrinfo` ve :c:func:`!getnameinfo` " +"fonksiyonlarını kullanır. ::" #: license.rst:388 msgid "Asynchronous socket services" @@ -380,9 +379,8 @@ msgid "test_epoll" msgstr "test_epoll" #: license.rst:542 -#, fuzzy msgid "The :mod:`!test.test_epoll` module contains the following notice::" -msgstr ":mod:`test_epoll` modülü aşağıdaki uyarıyı içerir::" +msgstr ":mod:`!test.test_epoll` modülü aşağıdaki uyarıyı içerir::" #: license.rst:566 msgid "Select kqueue" @@ -424,7 +422,7 @@ msgstr "" "archive.org/web/20220517033456/http://www.netlib.org/fp/dtoa.c 'den " "erişilebilen David M. Gay tarafından aynı adlı dosyadan türetilmiştir. 16 " "Mart 2009'da alınan orijinal dosya aşağıdaki telif hakkı ve lisans " -"bildirimini içerir:" +"bildirimini içerir::" #: license.rst:656 msgid "OpenSSL" @@ -466,15 +464,14 @@ msgid "libffi" msgstr "libffi" #: license.rst:876 -#, fuzzy msgid "" "The :mod:`!_ctypes` C extension underlying the :mod:`ctypes` module is built " "using an included copy of the libffi sources unless the build is configured " "``--with-system-libffi``::" msgstr "" -":mod:`_ctypes` uzantısı, yapı ``--with-system-libffi`` olarak " -"yapılandırılmadığı sürece libffi kaynaklarının dahil edildiği bir kopya " -"kullanılarak oluşturulur::" +":mod:`ctypes` modülünün altyapsını oluşturan :mod:`!_ctypes` C uzantısı, " +"``--with-system-libffi`` olarak yapılandırılmadığı sürece libffi " +"kaynaklarının dahil edildiği bir kopya kullanılarak oluşturulur::" #: license.rst:904 msgid "zlib" diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 62fce8c3a..95a277ca0 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/datamodel.po b/reference/datamodel.po index 844bf34f5..d2f6bdc6d 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/executionmodel.po b/reference/executionmodel.po index 82ffe695f..3b5a86b70 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/expressions.po b/reference/expressions.po index 0c19d78c4..53bf9fcbb 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/grammar.po b/reference/grammar.po index 02d869bd5..e8cb36380 100644 --- a/reference/grammar.po +++ b/reference/grammar.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/import.po b/reference/import.po index bc7ae9516..620265f05 100644 --- a/reference/import.po +++ b/reference/import.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/index.po b/reference/index.po index 6ace3fb6e..433a2f7bc 100644 --- a/reference/index.po +++ b/reference/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/introduction.po b/reference/introduction.po index 747610121..21196b86f 100644 --- a/reference/introduction.po +++ b/reference/introduction.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index 4f9962290..68ea1eafb 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 330571e8d..b57726531 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/toplevel_components.po b/reference/toplevel_components.po index 239a359d6..4e9d22ece 100644 --- a/reference/toplevel_components.po +++ b/reference/toplevel_components.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/requirements.txt b/requirements-dev.txt similarity index 86% rename from requirements.txt rename to requirements-dev.txt index e56fc0015..2eef180c1 100644 --- a/requirements.txt +++ b/requirements-dev.txt @@ -1,5 +1,4 @@ poutils -sphinx tqdm pre-commit polib diff --git a/sphinx.po b/sphinx.po index d31368267..1329c373d 100644 --- a/sphinx.po +++ b/sphinx.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" @@ -45,60 +45,56 @@ msgstr "" "Sürüm {deprecated} 'den beri kullanım dışı, sürüm {removed} 'da kaldırıldı" #: tools/templates/dummy.html:12 -#, fuzzy msgid " Part of the " -msgstr "Belgelerin bölümleri:" +msgstr " Bir parçası " #: tools/templates/dummy.html:13 msgid "Limited API" -msgstr "" +msgstr "Sınırlı API" #: tools/templates/dummy.html:14 -#, fuzzy msgid "Stable ABI" -msgstr "Kararlı" +msgstr "Kararlı ABI" #: tools/templates/dummy.html:15 msgid " (as an opaque struct)" -msgstr "" +msgstr " (bir opak yapı olarak)" #: tools/templates/dummy.html:16 msgid " (including all members)" -msgstr "" +msgstr " (tüm üyeler dahil)" #: tools/templates/dummy.html:17 -#, fuzzy msgid " since version %s" -msgstr "Tüm sürümler" +msgstr " %s sürümünden beri" #: tools/templates/dummy.html:18 msgid " (Only some members are part of the stable ABI.)" -msgstr "" +msgstr " (Sadece bazı üyeler kararlı ABI'ın bir parçasıdır.)" #: tools/templates/dummy.html:19 msgid "This is " -msgstr "" +msgstr "Bu" #: tools/templates/dummy.html:20 -#, fuzzy msgid "Unstable API" -msgstr "kararlı" +msgstr "Kararsız API" #: tools/templates/dummy.html:21 msgid ". It may change without warning in minor releases." -msgstr "" +msgstr ". Bu, küçük (minor) sürümlerde uyarı olmadan değişebilir." #: tools/templates/dummy.html:22 msgid "Return value: Always NULL." -msgstr "" +msgstr "Döndürdüğü değer: Her zaman NULL." #: tools/templates/dummy.html:23 msgid "Return value: New reference." -msgstr "" +msgstr "Döndürdüğü değer: Yeni referans." #: tools/templates/dummy.html:24 msgid "Return value: Borrowed reference." -msgstr "" +msgstr "Döndürdüğü değer: Ödünç alınmış referans." #: tools/templates/dummy.html:28 msgid "in development" @@ -128,7 +124,7 @@ msgstr "" #: tools/templates/indexcontent.html:10 msgid "Parts of the documentation:" -msgstr "Belgelerin bölümleri:" +msgstr "Dokümantasyonun bölümleri:" #: tools/templates/indexcontent.html:13 msgid "What's new in Python %(version)s?" @@ -138,7 +134,7 @@ msgstr "Python %(version)s sürümündeki yenilikler nelerdir?" msgid "" "or all \"What's new\" documents since 2.0" msgstr "" -"veya 2.0 'dan bu yana tüm \"Yenilikler\" " +"veya 2.0'dan bu yana tüm \"Yenilikler\" " "belgeleri" #: tools/templates/indexcontent.html:15 @@ -187,7 +183,7 @@ msgstr "Python Modüllerini Yükleme" #: tools/templates/indexcontent.html:27 msgid "installing from the Python Package Index & other sources" -msgstr "Python Paket Dizini 'nden yükleme & diğer kaynaklar" +msgstr "Python Paket Dizini'nden yükleme & diğer kaynaklar" #: tools/templates/indexcontent.html:28 msgid "Distributing Python Modules" @@ -247,7 +243,7 @@ msgstr "Sözlük" #: tools/templates/indexcontent.html:47 msgid "the most important terms explained" -msgstr "açıklanan en önemli terimler" +msgstr "en önemli terimler, açıklamalarıyla birlikte" #: tools/templates/indexcontent.html:49 msgid "Search page" @@ -275,7 +271,7 @@ msgstr "Hataları bildirme" #: tools/templates/indexcontent.html:60 msgid "Contributing to Docs" -msgstr "Dokümanlara Katkıda Bulunma" +msgstr "Dokümantasyona Katkıda Bulunma" #: tools/templates/indexcontent.html:61 msgid "About the documentation" @@ -292,7 +288,7 @@ msgstr "Telif Hakkı" #: tools/templates/indexcontent.html:65 #, fuzzy msgid "Download the documentation" -msgstr "Bu dokümanları indir" +msgstr "Bu dokümantasyonu indir" #: tools/templates/indexsidebar.html:1 msgid "Download" @@ -343,7 +339,6 @@ msgid "Python Developer’s Guide" msgstr "Python Geliştirici Rehberi" #: tools/templates/layout.html:6 -#, fuzzy msgid "" "This document is for an old version of Python that is no longer supported.\n" " You should upgrade, and read the" @@ -352,9 +347,8 @@ msgstr "" " Güncellemeli, ve" #: tools/templates/layout.html:8 -#, fuzzy msgid "Python documentation for the current stable release" -msgstr " Mevcut kararlı sürüm için olan Python dokümantasyonunu okumalısın" +msgstr "mevcut kararlı sürüm için olan Python dokümantasyonunu okumalısınız" #: tools/templates/layout.html:14 msgid "" @@ -362,8 +356,10 @@ msgid "" "%(pr_id)s\">pull request.\n" " For authoritative documentation, see" msgstr "" +"Bu, pull request'ten " +"oluşturulan bir dağıtım önizlemesidir.\n" +" Asıl dokümantasyon için, bkz." #: tools/templates/layout.html:16 -#, fuzzy msgid "the current stable release" -msgstr " Mevcut kararlı sürüm için olan Python dokümantasyonunu okumalısın" +msgstr "mevcut kararlı sürüm" diff --git a/tutorial/appendix.po b/tutorial/appendix.po index 22f202c1f..cda6c34a3 100644 --- a/tutorial/appendix.po +++ b/tutorial/appendix.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/appetite.po b/tutorial/appetite.po index 8c4df1468..b52694dde 100644 --- a/tutorial/appetite.po +++ b/tutorial/appetite.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/classes.po b/tutorial/classes.po index 61cc9b009..43e73f3f9 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/controlflow.po b/tutorial/controlflow.po index 2c0d499bb..f4e15b3b0 100644 --- a/tutorial/controlflow.po +++ b/tutorial/controlflow.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index 8063658fa..22b5b4aeb 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/errors.po b/tutorial/errors.po index 1f69ef5a4..e5f8f4a3f 100644 --- a/tutorial/errors.po +++ b/tutorial/errors.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/floatingpoint.po b/tutorial/floatingpoint.po index d37489079..73e419275 100644 --- a/tutorial/floatingpoint.po +++ b/tutorial/floatingpoint.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/index.po b/tutorial/index.po index 914802f2b..727d509dc 100644 --- a/tutorial/index.po +++ b/tutorial/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index 118e0ff0f..fedebc61b 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/interactive.po b/tutorial/interactive.po index b30fc6733..ee4f05cee 100644 --- a/tutorial/interactive.po +++ b/tutorial/interactive.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/interpreter.po b/tutorial/interpreter.po index dae4ad973..df02d12c2 100644 --- a/tutorial/interpreter.po +++ b/tutorial/interpreter.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 56e5b2e8b..3e2843b09 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/modules.po b/tutorial/modules.po index e9841898c..f05321f54 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/stdlib.po b/tutorial/stdlib.po index 04f39ff8b..8f0e0319f 100644 --- a/tutorial/stdlib.po +++ b/tutorial/stdlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" @@ -346,7 +346,7 @@ msgid "" "and header protocols." msgstr "" ":mod:`email` paketi e-mail mesajlarını işlemek için bir kütüphanedir.MIME ve " -"diğer :rfc:`2822`-tabanlı mesajların dökümanlarını içerir. Mesaj gönderip " +"diğer :rfc:`2822`-tabanlı mesajların dokümanlarını içerir. Mesaj gönderip " "alan :mod:`smtplib` ve :mod:`poplib` 'in aksine, e-mail paketinin derleme " "işlemini, kompleks mesaj yapılarının (ekler dahil) decode edilebilmesini " "sağlayan, internet encode işlemini ve header protokollerini uygulamak için " diff --git a/tutorial/stdlib2.po b/tutorial/stdlib2.po index 35aa45551..301231d40 100644 --- a/tutorial/stdlib2.po +++ b/tutorial/stdlib2.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/venv.po b/tutorial/venv.po index a52cbad5b..a673bbb75 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/whatnow.po b/tutorial/whatnow.po index fd69d0d84..4e4f73293 100644 --- a/tutorial/whatnow.po +++ b/tutorial/whatnow.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/using/cmdline.po b/using/cmdline.po index e3f7d5174..7a557a271 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/configure.po b/using/configure.po index ce5dc7952..722aa6f25 100644 --- a/using/configure.po +++ b/using/configure.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/editors.po b/using/editors.po index fa8b00136..f24415323 100644 --- a/using/editors.po +++ b/using/editors.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/index.po b/using/index.po index 62f6f9701..678362473 100644 --- a/using/index.po +++ b/using/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/mac.po b/using/mac.po index 1eda47906..0b174788f 100644 --- a/using/mac.po +++ b/using/mac.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/unix.po b/using/unix.po index 680534ec2..0acb312a1 100644 --- a/using/unix.po +++ b/using/unix.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/windows.po b/using/windows.po index ee0e977dd..30b8c875c 100644 --- a/using/windows.po +++ b/using/windows.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.0.po b/whatsnew/2.0.po index 890a2babf..cadbb29e1 100644 --- a/whatsnew/2.0.po +++ b/whatsnew/2.0.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index 6debb1a35..cbb583b6e 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.2.po b/whatsnew/2.2.po index 748b86364..bacb3f66e 100644 --- a/whatsnew/2.2.po +++ b/whatsnew/2.2.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index c3243f29c..53b6e5a7a 100644 --- a/whatsnew/2.3.po +++ b/whatsnew/2.3.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.4.po b/whatsnew/2.4.po index 3e2414971..7800b2cbe 100644 --- a/whatsnew/2.4.po +++ b/whatsnew/2.4.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.5.po b/whatsnew/2.5.po index a6b732e03..4733e011b 100644 --- a/whatsnew/2.5.po +++ b/whatsnew/2.5.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index e374a5293..5c04f3fab 100644 --- a/whatsnew/2.6.po +++ b/whatsnew/2.6.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index ac9d242f7..091bef675 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.0.po b/whatsnew/3.0.po index deb982498..4492f3d6a 100644 --- a/whatsnew/3.0.po +++ b/whatsnew/3.0.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.1.po b/whatsnew/3.1.po index 4a07d29b5..ac60c6311 100644 --- a/whatsnew/3.1.po +++ b/whatsnew/3.1.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index 9efcac0fe..9ec8f20f6 100644 --- a/whatsnew/3.10.po +++ b/whatsnew/3.10.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index 98dfe7ec5..b987583a6 100644 --- a/whatsnew/3.11.po +++ b/whatsnew/3.11.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.12.po b/whatsnew/3.12.po index 6d519abb8..e83de5568 100644 --- a/whatsnew/3.12.po +++ b/whatsnew/3.12.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.2.po b/whatsnew/3.2.po index 01147e0c0..359b38689 100644 --- a/whatsnew/3.2.po +++ b/whatsnew/3.2.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index c20f1866f..54500bddf 100644 --- a/whatsnew/3.3.po +++ b/whatsnew/3.3.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index 8c3226ff2..f7227f884 100644 --- a/whatsnew/3.4.po +++ b/whatsnew/3.4.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index 4348bd209..cfeb0f173 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index 2592e5817..b7bfddedf 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.6.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index df9f2546d..155717f0e 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index 68ca0b0d2..cfb6f9d4b 100644 --- a/whatsnew/3.8.po +++ b/whatsnew/3.8.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index 9d237f048..bdad4d36d 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" @@ -460,7 +460,7 @@ msgid "" "for the correspondent concrete type (``list`` in this case). (Contributed by " "Serhiy Storchaka in :issue:`40257`.)" msgstr "" -":mod:`typing` modülü için yardım iyileştirildi. döküman dizeleri artık tüm " +":mod:`typing` modülü için yardım iyileştirildi. doküman dizeleri artık tüm " "özel formlar ve özel genel takma adlar (``Union`` ve ``List`` gibi) için " "gösteriliyor. :func:`help` öğesini ``List[int]`` gibi genel takma adla " "kullanmak, karşılık gelen somut tür için yardımı gösterir (bu durumda " diff --git a/whatsnew/index.po b/whatsnew/index.po index 81e06bf00..de27ac346 100644 --- a/whatsnew/index.po +++ b/whatsnew/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation +# Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy From ac426f979d1bdf9be4718fb018b46bf954411466 Mon Sep 17 00:00:00 2001 From: egeakman Date: Tue, 2 Jan 2024 00:13:02 +0300 Subject: [PATCH 3/5] test --- sphinx.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx.po b/sphinx.po index 1329c373d..884acfff6 100644 --- a/sphinx.po +++ b/sphinx.po @@ -46,7 +46,7 @@ msgstr "" #: tools/templates/dummy.html:12 msgid " Part of the " -msgstr " Bir parçası " +msgstr " Bir parçası" #: tools/templates/dummy.html:13 msgid "Limited API" From 6b34e70e22b75bb4e5e3a48cade7f1d76cd25978 Mon Sep 17 00:00:00 2001 From: egeakman Date: Tue, 2 Jan 2024 00:42:56 +0300 Subject: [PATCH 4/5] Flag some entries as fuzzy until https://github.com/python/cpython/pull/107680#discussion_r1439087745 is resolved. Remove pip caching --- .github/workflows/pre-commit-ci.yml | 1 - sphinx.po | 8 ++++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre-commit-ci.yml b/.github/workflows/pre-commit-ci.yml index 33a035c0b..9d1d2fc72 100644 --- a/.github/workflows/pre-commit-ci.yml +++ b/.github/workflows/pre-commit-ci.yml @@ -11,7 +11,6 @@ jobs: id: setup_python with: python-version: "3.12" - cache: pip - name: Install pre-commit run: pip install pre-commit diff --git a/sphinx.po b/sphinx.po index 884acfff6..56d71a415 100644 --- a/sphinx.po +++ b/sphinx.po @@ -45,14 +45,17 @@ msgstr "" "Sürüm {deprecated} 'den beri kullanım dışı, sürüm {removed} 'da kaldırıldı" #: tools/templates/dummy.html:12 +#, fuzzy msgid " Part of the " -msgstr " Bir parçası" +msgstr " Bir parçası " #: tools/templates/dummy.html:13 +#, fuzzy msgid "Limited API" msgstr "Sınırlı API" #: tools/templates/dummy.html:14 +#, fuzzy msgid "Stable ABI" msgstr "Kararlı ABI" @@ -73,8 +76,9 @@ msgid " (Only some members are part of the stable ABI.)" msgstr " (Sadece bazı üyeler kararlı ABI'ın bir parçasıdır.)" #: tools/templates/dummy.html:19 +#, fuzzy msgid "This is " -msgstr "Bu" +msgstr "Bu " #: tools/templates/dummy.html:20 msgid "Unstable API" From 2b621da1fafe071f143888f844fb6cc374591b86 Mon Sep 17 00:00:00 2001 From: egeakman Date: Thu, 4 Jan 2024 05:19:45 +0300 Subject: [PATCH 5/5] Issue resolved + merge from upstream --- Makefile | 2 +- about.po | 5 +- c-api/typeobj.po | 16 +- faq/design.po | 4 +- glossary.po | 6 +- howto/annotations.po | 4 +- howto/curses.po | 4 +- howto/ipaddress.po | 4 +- howto/isolating-extensions.po | 4 +- howto/pyporting.po | 4 +- howto/regex.po | 4 +- howto/sockets.po | 4 +- library/argparse.po | 4 +- library/asyncio.po | 4 +- library/codecs.po | 4 +- library/dis.po | 557 +++++++-------- library/ensurepip.po | 4 +- library/ftplib.po | 6 +- library/functools.po | 4 +- library/hashlib.po | 4 +- library/http.client.po | 6 +- library/idle.po | 12 +- library/imaplib.po | 6 +- library/logging.po | 10 +- library/mmap.po | 4 +- library/nntplib.po | 6 +- library/poplib.po | 6 +- library/smtplib.po | 6 +- library/socket.po | 28 +- library/statistics.po | 4 +- library/string.po | 4 +- library/subprocess.po | 4 +- library/telnetlib.po | 6 +- library/time.po | 4 +- library/urllib.request.po | 4 +- library/venv.po | 4 +- library/webbrowser.po | 4 +- license.po | 12 +- reference/compound_stmts.po | 252 +++---- reference/datamodel.po | 946 ++++++++++++------------ sphinx.po | 35 +- whatsnew/2.4.po | 4 +- whatsnew/2.6.po | 4 +- whatsnew/3.10.po | 873 +++++++++++------------ whatsnew/3.11.po | 16 +- whatsnew/3.12.po | 1268 ++++++++++++++++----------------- whatsnew/3.2.po | 17 +- whatsnew/3.3.po | 4 +- whatsnew/3.4.po | 8 +- whatsnew/3.5.po | 55 +- whatsnew/3.6.po | 20 +- whatsnew/3.7.po | 17 +- whatsnew/3.8.po | 6 +- whatsnew/3.9.po | 5 +- 54 files changed, 2188 insertions(+), 2120 deletions(-) diff --git a/Makefile b/Makefile index f4d28b885..9c5004b57 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 := f3d3663a47f82de5ddf384ea1497bd3b36d795d7 +CPYTHON_CURRENT_COMMIT := d3f2051eec6039811ae42e4382e8b292a983edc1 LANGUAGE := tr BRANCH := 3.12 diff --git a/about.po b/about.po index 17b4e5894..d4535b6b1 100644 --- a/about.po +++ b/about.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: 2022-12-28 16:16-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -82,8 +82,7 @@ msgid "" msgstr "" "Birçok kişi Python diline, Python standart kütüphanesine ve Python " "dokümantasyonuna katkıda bulunmuştur. Katkıda bulunanların kısmi bir " -"listesi için Python kaynak dağıtımında :source:`Misc/ACKS` dosyasına " -"bakın." +"listesi için Python kaynak dağıtımında :source:`Misc/ACKS` dosyasına bakın." #: about.rst:37 msgid "" diff --git a/c-api/typeobj.po b/c-api/typeobj.po index 2668ed2a7..a96f3efa2 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -92,7 +92,7 @@ msgstr "" msgid " :c:member:`~PyTypeObject.tp_name`" msgstr "" -#: c-api/typeobj.rst:44 c-api/typeobj.rst:86 +#: c-api/typeobj.rst:86 c-api/typeobj.rst:0 msgid "const char *" msgstr "" @@ -113,7 +113,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_basicsize`" msgstr "" -#: c-api/typeobj.rst:46 c-api/typeobj.rst:52 c-api/typeobj.rst:120 +#: c-api/typeobj.rst:48 c-api/typeobj.rst:99 c-api/typeobj.rst:0 #: c-api/typeobj.rst:416 msgid ":c:type:`Py_ssize_t`" msgstr "" @@ -376,7 +376,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_base`" msgstr "" -#: c-api/typeobj.rst:111 +#: c-api/typeobj.rst:0 msgid ":c:type:`PyTypeObject` *" msgstr "" @@ -388,8 +388,8 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_dict`" msgstr "" -#: c-api/typeobj.rst:113 c-api/typeobj.rst:134 c-api/typeobj.rst:140 -#: c-api/typeobj.rst:346 c-api/typeobj.rst:368 c-api/typeobj.rst:381 +#: c-api/typeobj.rst:132 c-api/typeobj.rst:136 c-api/typeobj.rst:341 +#: c-api/typeobj.rst:0 c-api/typeobj.rst:368 c-api/typeobj.rst:381 #: c-api/typeobj.rst:404 c-api/typeobj.rst:412 c-api/typeobj.rst:416 #: c-api/typeobj.rst:431 c-api/typeobj.rst:440 c-api/typeobj.rst:446 msgid ":c:type:`PyObject` *" @@ -499,7 +499,7 @@ msgstr "" msgid "[:c:member:`~PyTypeObject.tp_subclasses`]" msgstr "" -#: c-api/typeobj.rst:138 c-api/typeobj.rst:348 +#: c-api/typeobj.rst:279 c-api/typeobj.rst:0 msgid "void *" msgstr "" @@ -1066,7 +1066,7 @@ msgstr "" msgid ":c:type:`visitproc`" msgstr "" -#: c-api/typeobj.rst:350 c-api/typeobj.rst:375 c-api/typeobj.rst:398 +#: c-api/typeobj.rst:362 c-api/typeobj.rst:386 c-api/typeobj.rst:0 #: c-api/typeobj.rst:429 c-api/typeobj.rst:457 c-api/typeobj.rst:462 msgid "int" msgstr "" diff --git a/faq/design.po b/faq/design.po index e38c9a019..7f13c343a 100644 --- a/faq/design.po +++ b/faq/design.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -258,7 +258,7 @@ msgid "" "write() method." msgstr "" -#: faq/design.rst:189 +#: faq/design.rst:207 msgid "https://mail.python.org/pipermail/python-3000/2006-November/004643.html" msgstr "" diff --git a/glossary.po b/glossary.po index c1a716e88..788d715f9 100644 --- a/glossary.po +++ b/glossary.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: 2022-12-28 16:12-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1143,7 +1143,7 @@ msgstr "" "aracılığıyla çöp toplama gerçekleştirir. Çöp toplayıcı :mod:`gc` modülü " "kullanılarak kontrol edilebilir." -#: glossary.rst:493 +#: glossary.rst:492 msgid "generator" msgstr "jeneratör" @@ -1189,7 +1189,7 @@ msgstr "" "*jeneratör yineleyici* devam ettiğinde, kaldığı yerden devam eder (her " "çağrıda yeniden başlayan işlevlerin aksine)." -#: glossary.rst:514 +#: glossary.rst:513 msgid "generator expression" msgstr "jeneratör ifadesi" diff --git a/howto/annotations.po b/howto/annotations.po index bcda8c948..359dc2d39 100644 --- a/howto/annotations.po +++ b/howto/annotations.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Larry Hastings" msgstr "" -#: howto/annotations.rst:-1 +#: howto/annotations.rst:None msgid "Abstract" msgstr "" diff --git a/howto/curses.po b/howto/curses.po index ef7a480d7..174ea27a7 100644 --- a/howto/curses.po +++ b/howto/curses.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -36,7 +36,7 @@ msgstr "" msgid "2.04" msgstr "" -#: howto/curses.rst:-1 +#: howto/curses.rst:None msgid "Abstract" msgstr "" diff --git a/howto/ipaddress.po b/howto/ipaddress.po index 39c380a97..e81fa55b2 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,7 +32,7 @@ msgstr "" msgid "Nick Coghlan" msgstr "" -#: howto/ipaddress.rst:-1 +#: howto/ipaddress.rst:None msgid "Overview" msgstr "" diff --git a/howto/isolating-extensions.po b/howto/isolating-extensions.po index ccc8eadad..6f730087a 100644 --- a/howto/isolating-extensions.po +++ b/howto/isolating-extensions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -20,7 +20,7 @@ msgstr "" msgid "Isolating Extension Modules" msgstr "" -#: howto/isolating-extensions.rst:-1 +#: howto/isolating-extensions.rst:None msgid "Abstract" msgstr "" diff --git a/howto/pyporting.po b/howto/pyporting.po index 45af65b5d..6d341e0a9 100644 --- a/howto/pyporting.po +++ b/howto/pyporting.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Brett Cannon" msgstr "" -#: howto/pyporting.rst:-1 +#: howto/pyporting.rst:None msgid "Abstract" msgstr "" diff --git a/howto/regex.po b/howto/regex.po index 5862146dd..961d02fac 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "A.M. Kuchling " msgstr "" -#: howto/regex.rst:-1 +#: howto/regex.rst:None msgid "Abstract" msgstr "" diff --git a/howto/sockets.po b/howto/sockets.po index b5aa87f85..436816f12 100644 --- a/howto/sockets.po +++ b/howto/sockets.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Gordon McMillan" msgstr "" -#: howto/sockets.rst:-1 +#: howto/sockets.rst:None msgid "Abstract" msgstr "" diff --git a/library/argparse.po b/library/argparse.po index 76ed06a07..5b4df320e 100644 --- a/library/argparse.po +++ b/library/argparse.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,7 @@ msgstr "" msgid "**Source code:** :source:`Lib/argparse.py`" msgstr "" -#: library/argparse.rst:-1 +#: library/argparse.rst:None msgid "Tutorial" msgstr "" diff --git a/library/asyncio.po b/library/asyncio.po index 0ff866e57..59d358a49 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,7 +32,7 @@ msgstr "" msgid ":mod:`asyncio` --- Asynchronous I/O" msgstr "" -#: library/asyncio.rst:-1 +#: library/asyncio.rst:None msgid "Hello World!" msgstr "" diff --git a/library/codecs.po b/library/codecs.po index da81c180b..772434cb1 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-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -456,7 +456,7 @@ msgid "" "In addition, the following error handler is specific to the given codecs:" msgstr "" -#: library/codecs.rst:393 +#: library/codecs.rst:13 msgid "Codecs" msgstr "" diff --git a/library/dis.po b/library/dis.po index f1df4a623..3b120a3bf 100644 --- a/library/dis.po +++ b/library/dis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -356,33 +356,34 @@ msgstr "" #: library/dis.rst:319 msgid "" -"This generator function uses the ``co_lines`` method of the code object " -"*code* to find the offsets which are starts of lines in the source code. " -"They are generated as ``(offset, lineno)`` pairs." +"This generator function uses the :meth:`~codeobject.co_lines` method of the :" +"ref:`code object ` *code* to find the offsets which are starts " +"of lines in the source code. They are generated as ``(offset, lineno)`` " +"pairs." msgstr "" -#: library/dis.rst:323 +#: library/dis.rst:324 msgid "Line numbers can be decreasing. Before, they were always increasing." msgstr "" -#: library/dis.rst:326 +#: library/dis.rst:327 msgid "" -"The :pep:`626` ``co_lines`` method is used instead of the :attr:`~codeobject." -"co_firstlineno` and :attr:`~codeobject.co_lnotab` attributes of the code " -"object." +"The :pep:`626` :meth:`~codeobject.co_lines` method is used instead of the :" +"attr:`~codeobject.co_firstlineno` and :attr:`~codeobject.co_lnotab` " +"attributes of the :ref:`code object `." msgstr "" -#: library/dis.rst:334 +#: library/dis.rst:335 msgid "" "Detect all offsets in the raw compiled bytecode string *code* which are jump " "targets, and return a list of these offsets." msgstr "" -#: library/dis.rst:340 +#: library/dis.rst:341 msgid "Compute the stack effect of *opcode* with argument *oparg*." msgstr "" -#: library/dis.rst:342 +#: library/dis.rst:343 msgid "" "If the code has a jump target and *jump* is ``True``, :func:`~stack_effect` " "will return the stack effect of jumping. If *jump* is ``False``, it will " @@ -390,122 +391,122 @@ msgid "" "it will return the maximal stack effect of both cases." msgstr "" -#: library/dis.rst:349 +#: library/dis.rst:350 msgid "Added *jump* parameter." msgstr "" -#: library/dis.rst:356 +#: library/dis.rst:357 msgid "Python Bytecode Instructions" msgstr "" -#: library/dis.rst:358 +#: library/dis.rst:359 msgid "" "The :func:`get_instructions` function and :class:`Bytecode` class provide " "details of bytecode instructions as :class:`Instruction` instances:" msgstr "" -#: library/dis.rst:363 +#: library/dis.rst:364 msgid "Details for a bytecode operation" msgstr "" -#: library/dis.rst:367 +#: library/dis.rst:368 msgid "" "numeric code for operation, corresponding to the opcode values listed below " "and the bytecode values in the :ref:`opcode_collections`." msgstr "" -#: library/dis.rst:373 +#: library/dis.rst:374 msgid "human readable name for operation" msgstr "" -#: library/dis.rst:378 +#: library/dis.rst:379 msgid "numeric argument to operation (if any), otherwise ``None``" msgstr "" -#: library/dis.rst:383 +#: library/dis.rst:384 msgid "resolved arg value (if any), otherwise ``None``" msgstr "" -#: library/dis.rst:388 +#: library/dis.rst:389 msgid "" "human readable description of operation argument (if any), otherwise an " "empty string." msgstr "" -#: library/dis.rst:394 +#: library/dis.rst:395 msgid "start index of operation within bytecode sequence" msgstr "" -#: library/dis.rst:399 +#: library/dis.rst:400 msgid "line started by this opcode (if any), otherwise ``None``" msgstr "" -#: library/dis.rst:404 +#: library/dis.rst:405 msgid "``True`` if other code jumps to here, otherwise ``False``" msgstr "" -#: library/dis.rst:409 +#: library/dis.rst:410 msgid "" ":class:`dis.Positions` object holding the start and end locations that are " "covered by this instruction." msgstr "" -#: library/dis.rst:416 +#: library/dis.rst:417 msgid "Field ``positions`` is added." msgstr "" -#: library/dis.rst:421 +#: library/dis.rst:422 msgid "" "In case the information is not available, some fields might be ``None``." msgstr "" -#: library/dis.rst:431 +#: library/dis.rst:432 msgid "" "The Python compiler currently generates the following bytecode instructions." msgstr "" -#: library/dis.rst:434 +#: library/dis.rst:435 msgid "**General instructions**" msgstr "" -#: library/dis.rst:436 +#: library/dis.rst:437 msgid "" "In the following, We will refer to the interpreter stack as ``STACK`` and " "describe operations on it as if it was a Python list. The top of the stack " "corresponds to ``STACK[-1]`` in this language." msgstr "" -#: library/dis.rst:442 +#: library/dis.rst:443 msgid "" "Do nothing code. Used as a placeholder by the bytecode optimizer, and to " "generate line tracing events." msgstr "" -#: library/dis.rst:448 +#: library/dis.rst:449 msgid "Removes the top-of-stack item::" msgstr "" -#: library/dis.rst:455 +#: library/dis.rst:456 msgid "" "Removes the top two values from the stack. Equivalent to ``POP_TOP``; " "``POP_TOP``. Used to clean up at the end of loops, hence the name." msgstr "" -#: library/dis.rst:464 +#: library/dis.rst:465 msgid "Implements ``del STACK[-2]``. Used to clean up when a generator exits." msgstr "" -#: library/dis.rst:472 +#: library/dis.rst:473 msgid "" "Push the i-th item to the top of the stack without removing it from its " "original location::" msgstr "" -#: library/dis.rst:483 +#: library/dis.rst:484 msgid "Swap the top of the stack with the i-th element::" msgstr "" -#: library/dis.rst:492 +#: library/dis.rst:493 msgid "" "Rather than being an actual instruction, this opcode is used to mark extra " "space for the interpreter to cache useful data directly in the bytecode " @@ -513,87 +514,87 @@ msgid "" "viewed with ``show_caches=True``." msgstr "" -#: library/dis.rst:497 +#: library/dis.rst:498 msgid "" "Logically, this space is part of the preceding instruction. Many opcodes " "expect to be followed by an exact number of caches, and will instruct the " "interpreter to skip over them at runtime." msgstr "" -#: library/dis.rst:501 +#: library/dis.rst:502 msgid "" "Populated caches can look like arbitrary instructions, so great care should " "be taken when reading or modifying raw, adaptive bytecode containing " "quickened data." msgstr "" -#: library/dis.rst:508 +#: library/dis.rst:509 msgid "**Unary operations**" msgstr "" -#: library/dis.rst:510 +#: library/dis.rst:511 msgid "" "Unary operations take the top of the stack, apply the operation, and push " "the result back on the stack." msgstr "" -#: library/dis.rst:516 +#: library/dis.rst:517 msgid "Implements ``STACK[-1] = -STACK[-1]``." msgstr "" -#: library/dis.rst:521 +#: library/dis.rst:522 msgid "Implements ``STACK[-1] = not STACK[-1]``." msgstr "" -#: library/dis.rst:526 +#: library/dis.rst:527 msgid "Implements ``STACK[-1] = ~STACK[-1]``." msgstr "" -#: library/dis.rst:531 +#: library/dis.rst:532 msgid "Implements ``STACK[-1] = iter(STACK[-1])``." msgstr "" -#: library/dis.rst:536 +#: library/dis.rst:537 msgid "" "If ``STACK[-1]`` is a :term:`generator iterator` or :term:`coroutine` object " "it is left as is. Otherwise, implements ``STACK[-1] = iter(STACK[-1])``." msgstr "" -#: library/dis.rst:542 +#: library/dis.rst:543 msgid "**Binary and in-place operations**" msgstr "" -#: library/dis.rst:544 +#: library/dis.rst:545 msgid "" "Binary operations remove the top two items from the stack (``STACK[-1]`` and " "``STACK[-2]``). They perform the operation, then put the result back on the " "stack." msgstr "" -#: library/dis.rst:547 +#: library/dis.rst:548 msgid "" "In-place operations are like binary operations, but the operation is done in-" "place when ``STACK[-2]`` supports it, and the resulting ``STACK[-1]`` may be " "(but does not have to be) the original ``STACK[-2]``." msgstr "" -#: library/dis.rst:554 +#: library/dis.rst:555 msgid "" "Implements the binary and in-place operators (depending on the value of " "*op*)::" msgstr "" -#: library/dis.rst:575 library/dis.rst:593 library/dis.rst:693 -#: library/dis.rst:713 library/dis.rst:944 library/dis.rst:1056 -#: library/dis.rst:1068 +#: library/dis.rst:576 library/dis.rst:594 library/dis.rst:694 +#: library/dis.rst:714 library/dis.rst:945 library/dis.rst:1057 +#: library/dis.rst:1069 msgid "Implements::" msgstr "" -#: library/dis.rst:616 +#: library/dis.rst:617 msgid "**Coroutine opcodes**" msgstr "" -#: library/dis.rst:620 +#: library/dis.rst:621 msgid "" "Implements ``STACK[-1] = get_awaitable(STACK[-1])``, where " "``get_awaitable(o)`` returns ``o`` if ``o`` is a coroutine object or a " @@ -601,39 +602,39 @@ msgid "" "resolves ``o.__await__``." msgstr "" -#: library/dis.rst:625 +#: library/dis.rst:626 msgid "" "If the ``where`` operand is nonzero, it indicates where the instruction " "occurs:" msgstr "" -#: library/dis.rst:628 +#: library/dis.rst:629 msgid "``1``: After a call to ``__aenter__``" msgstr "" -#: library/dis.rst:629 +#: library/dis.rst:630 msgid "``2``: After a call to ``__aexit__``" msgstr "" -#: library/dis.rst:633 +#: library/dis.rst:634 msgid "Previously, this instruction did not have an oparg." msgstr "" -#: library/dis.rst:639 +#: library/dis.rst:640 msgid "Implements ``STACK[-1] = STACK[-1].__aiter__()``." msgstr "" -#: library/dis.rst:642 +#: library/dis.rst:643 msgid "Returning awaitable objects from ``__aiter__`` is no longer supported." msgstr "" -#: library/dis.rst:649 +#: library/dis.rst:650 msgid "" "Implement ``STACK.append(get_awaitable(STACK[-1].__anext__()))`` to the " "stack. See ``GET_AWAITABLE`` for details about ``get_awaitable``." msgstr "" -#: library/dis.rst:657 +#: library/dis.rst:658 msgid "" "Terminates an :keyword:`async for` loop. Handles an exception raised when " "awaiting a next item. The stack contains the async iterable in ``STACK[-2]`` " @@ -641,12 +642,12 @@ msgid "" "is not :exc:`StopAsyncIteration`, it is re-raised." msgstr "" -#: library/dis.rst:769 library/dis.rst:780 +#: library/dis.rst:770 library/dis.rst:781 msgid "" "Exception representation on the stack now consist of one, not three, items." msgstr "" -#: library/dis.rst:670 +#: library/dis.rst:671 msgid "" "Handles an exception raised during a :meth:`~generator.throw` or :meth:" "`~generator.close` call through the current frame. If ``STACK[-1]`` is an " @@ -654,35 +655,35 @@ msgid "" "its ``value`` member. Otherwise, re-raise ``STACK[-1]``." msgstr "" -#: library/dis.rst:680 +#: library/dis.rst:681 msgid "" "Resolves ``__aenter__`` and ``__aexit__`` from ``STACK[-1]``. Pushes " "``__aexit__`` and result of ``__aenter__()`` to the stack::" msgstr "" -#: library/dis.rst:689 +#: library/dis.rst:690 msgid "**Miscellaneous opcodes**" msgstr "" -#: library/dis.rst:698 +#: library/dis.rst:699 msgid "Used to implement set comprehensions." msgstr "" -#: library/dis.rst:708 +#: library/dis.rst:709 msgid "Used to implement list comprehensions." msgstr "" -#: library/dis.rst:719 +#: library/dis.rst:720 msgid "Used to implement dict comprehensions." msgstr "" -#: library/dis.rst:722 +#: library/dis.rst:723 msgid "" "Map value is ``STACK[-1]`` and map key is ``STACK[-2]``. Before, those were " "reversed." msgstr "" -#: library/dis.rst:726 +#: library/dis.rst:727 msgid "" "For all of the :opcode:`SET_ADD`, :opcode:`LIST_APPEND` and :opcode:" "`MAP_ADD` instructions, while the added value or key/value pair is popped " @@ -690,29 +691,29 @@ msgid "" "further iterations of the loop." msgstr "" -#: library/dis.rst:734 +#: library/dis.rst:735 msgid "Returns with ``STACK[-1]`` to the caller of the function." msgstr "" -#: library/dis.rst:739 +#: library/dis.rst:740 msgid "Returns with ``co_consts[consti]`` to the caller of the function." msgstr "" -#: library/dis.rst:746 +#: library/dis.rst:747 msgid "Yields ``STACK.pop()`` from a :term:`generator`." msgstr "" -#: library/dis.rst:748 +#: library/dis.rst:749 msgid "oparg set to be the stack depth." msgstr "" -#: library/dis.rst:751 +#: library/dis.rst:752 msgid "" "oparg set to be the exception block depth, for efficient closing of " "generators." msgstr "" -#: library/dis.rst:757 +#: library/dis.rst:758 msgid "" "Checks whether ``__annotations__`` is defined in ``locals()``, if not it is " "set up to an empty ``dict``. This opcode is only emitted if a class or " @@ -720,39 +721,39 @@ msgid "" "statically." msgstr "" -#: library/dis.rst:767 +#: library/dis.rst:768 msgid "" "Pops a value from the stack, which is used to restore the exception state." msgstr "" -#: library/dis.rst:774 +#: library/dis.rst:775 msgid "" "Re-raises the exception currently on top of the stack. If oparg is non-zero, " "pops an additional value from the stack which is used to set :attr:`~frame." "f_lasti` of the current frame." msgstr "" -#: library/dis.rst:785 +#: library/dis.rst:786 msgid "" "Pops a value from the stack. Pushes the current exception to the top of the " "stack. Pushes the value originally popped back to the stack. Used in " "exception handlers." msgstr "" -#: library/dis.rst:793 +#: library/dis.rst:794 msgid "" "Performs exception matching for ``except``. Tests whether the ``STACK[-2]`` " "is an exception matching ``STACK[-1]``. Pops ``STACK[-1]`` and pushes the " "boolean result of the test." msgstr "" -#: library/dis.rst:801 +#: library/dis.rst:802 msgid "" "Performs exception matching for ``except*``. Applies ``split(STACK[-1])`` on " "the exception group representing ``STACK[-2]``." msgstr "" -#: library/dis.rst:804 +#: library/dis.rst:805 msgid "" "In case of a match, pops two items from the stack and pushes the non-" "matching subgroup (``None`` in case of full match) followed by the matching " @@ -760,7 +761,7 @@ msgid "" "``None``." msgstr "" -#: library/dis.rst:813 +#: library/dis.rst:814 msgid "" "Calls the function in position 4 on the stack with arguments (type, val, tb) " "representing the exception at the top of the stack. Used to implement the " @@ -768,25 +769,25 @@ msgid "" "occurred in a :keyword:`with` statement." msgstr "" -#: library/dis.rst:820 +#: library/dis.rst:821 msgid "" "The ``__exit__`` function is in position 4 of the stack rather than 7. " "Exception representation on the stack now consist of one, not three, items." msgstr "" -#: library/dis.rst:827 +#: library/dis.rst:828 msgid "" "Pushes :exc:`AssertionError` onto the stack. Used by the :keyword:`assert` " "statement." msgstr "" -#: library/dis.rst:835 +#: library/dis.rst:836 msgid "" "Pushes :func:`!builtins.__build_class__` onto the stack. It is later called " "to construct a class." msgstr "" -#: library/dis.rst:841 +#: library/dis.rst:842 msgid "" "This opcode performs several operations before a with block starts. First, " "it loads :meth:`~object.__exit__` from the context manager and pushes it " @@ -795,11 +796,11 @@ msgid "" "``__enter__()`` method is pushed onto the stack." msgstr "" -#: library/dis.rst:852 +#: library/dis.rst:853 msgid "Perform ``STACK.append(len(STACK[-1]))``." msgstr "" -#: library/dis.rst:859 +#: library/dis.rst:860 msgid "" "If ``STACK[-1]`` is an instance of :class:`collections.abc.Mapping` (or, " "more technically: if it has the :c:macro:`Py_TPFLAGS_MAPPING` flag set in " @@ -807,7 +808,7 @@ msgid "" "Otherwise, push ``False``." msgstr "" -#: library/dis.rst:869 +#: library/dis.rst:870 msgid "" "If ``STACK[-1]`` is an instance of :class:`collections.abc.Sequence` and is " "*not* an instance of :class:`str`/:class:`bytes`/:class:`bytearray` (or, " @@ -816,20 +817,20 @@ msgid "" "Otherwise, push ``False``." msgstr "" -#: library/dis.rst:879 +#: library/dis.rst:880 msgid "" "``STACK[-1]`` is a tuple of mapping keys, and ``STACK[-2]`` is the match " "subject. If ``STACK[-2]`` contains all of the keys in ``STACK[-1]``, push a :" "class:`tuple` containing the corresponding values. Otherwise, push ``None``." msgstr "" -#: library/dis.rst:1512 +#: library/dis.rst:1513 msgid "" "Previously, this instruction also pushed a boolean value indicating success " "(``True``) or failure (``False``)." msgstr "" -#: library/dis.rst:892 +#: library/dis.rst:893 msgid "" "Implements ``name = STACK.pop()``. *namei* is the index of *name* in the " "attribute :attr:`~codeobject.co_names` of the :ref:`code object `." msgstr "" -#: library/dis.rst:905 +#: library/dis.rst:906 msgid "" "Unpacks ``STACK[-1]`` into *count* individual values, which are put onto the " "stack right-to-left. Require there to be exactly *count* values.::" msgstr "" -#: library/dis.rst:914 +#: library/dis.rst:915 msgid "" "Implements assignment with a starred target: Unpacks an iterable in " "``STACK[-1]`` into individual values, where the total number of values can " @@ -857,11 +858,11 @@ msgid "" "will be a list of all leftover items." msgstr "" -#: library/dis.rst:919 +#: library/dis.rst:920 msgid "The number of values before and after the list value is limited to 255." msgstr "" -#: library/dis.rst:921 +#: library/dis.rst:922 msgid "" "The number of values before the list value is encoded in the argument of the " "opcode. The number of values after the list if any is encoded using an " @@ -870,50 +871,50 @@ msgid "" "list value, the high byte of *counts* the number of values after it." msgstr "" -#: library/dis.rst:927 +#: library/dis.rst:928 msgid "" "The extracted values are put onto the stack right-to-left, i.e. ``a, *b, c = " "d`` will be stored after execution as ``STACK.extend((a, b, c))``." msgstr "" -#: library/dis.rst:939 +#: library/dis.rst:940 msgid "" "where *namei* is the index of name in :attr:`~codeobject.co_names` of the :" "ref:`code object `." msgstr "" -#: library/dis.rst:949 +#: library/dis.rst:950 msgid "" "where *namei* is the index of name into :attr:`~codeobject.co_names` of the :" "ref:`code object `." msgstr "" -#: library/dis.rst:955 +#: library/dis.rst:956 msgid "Works as :opcode:`STORE_NAME`, but stores the name as a global." msgstr "" -#: library/dis.rst:960 +#: library/dis.rst:961 msgid "Works as :opcode:`DELETE_NAME`, but deletes a global name." msgstr "" -#: library/dis.rst:965 +#: library/dis.rst:966 msgid "Pushes ``co_consts[consti]`` onto the stack." msgstr "" -#: library/dis.rst:970 +#: library/dis.rst:971 msgid "" "Pushes the value associated with ``co_names[namei]`` onto the stack. The " "name is looked up within the locals, then the globals, then the builtins." msgstr "" -#: library/dis.rst:976 +#: library/dis.rst:977 msgid "" "Pushes a reference to the locals dictionary onto the stack. This is used to " "prepare namespace dictionaries for :opcode:`LOAD_FROM_DICT_OR_DEREF` and :" "opcode:`LOAD_FROM_DICT_OR_GLOBALS`." msgstr "" -#: library/dis.rst:985 +#: library/dis.rst:986 msgid "" "Pops a mapping off the stack and looks up the value for ``co_names[namei]``. " "If the name is not found there, looks it up in the globals and then the " @@ -922,69 +923,69 @@ msgid "" "bodies." msgstr "" -#: library/dis.rst:996 +#: library/dis.rst:997 msgid "" "Creates a tuple consuming *count* items from the stack, and pushes the " "resulting tuple onto the stack.::" msgstr "" -#: library/dis.rst:1006 +#: library/dis.rst:1007 msgid "Works as :opcode:`BUILD_TUPLE`, but creates a list." msgstr "" -#: library/dis.rst:1011 +#: library/dis.rst:1012 msgid "Works as :opcode:`BUILD_TUPLE`, but creates a set." msgstr "" -#: library/dis.rst:1016 +#: library/dis.rst:1017 msgid "" "Pushes a new dictionary object onto the stack. Pops ``2 * count`` items so " "that the dictionary holds *count* entries: ``{..., STACK[-4]: STACK[-3], " "STACK[-2]: STACK[-1]}``." msgstr "" -#: library/dis.rst:1020 +#: library/dis.rst:1021 msgid "" "The dictionary is created from stack items instead of creating an empty " "dictionary pre-sized to hold *count* items." msgstr "" -#: library/dis.rst:1027 +#: library/dis.rst:1028 msgid "" "The version of :opcode:`BUILD_MAP` specialized for constant keys. Pops the " "top element on the stack which contains a tuple of keys, then starting from " "``STACK[-2]``, pops *count* values to form values in the built dictionary." msgstr "" -#: library/dis.rst:1036 +#: library/dis.rst:1037 msgid "" "Concatenates *count* strings from the stack and pushes the resulting string " "onto the stack." msgstr "" -#: library/dis.rst:1049 +#: library/dis.rst:1050 msgid "Used to build lists." msgstr "" -#: library/dis.rst:1061 +#: library/dis.rst:1062 msgid "Used to build sets." msgstr "" -#: library/dis.rst:1073 +#: library/dis.rst:1074 msgid "Used to build dicts." msgstr "" -#: library/dis.rst:1080 +#: library/dis.rst:1081 msgid "Like :opcode:`DICT_UPDATE` but raises an exception for duplicate keys." msgstr "" -#: library/dis.rst:1087 +#: library/dis.rst:1088 msgid "" "If the low bit of ``namei`` is not set, this replaces ``STACK[-1]`` with " "``getattr(STACK[-1], co_names[namei>>1])``." msgstr "" -#: library/dis.rst:1090 +#: library/dis.rst:1091 msgid "" "If the low bit of ``namei`` is set, this will attempt to load a method named " "``co_names[namei>>1]`` from the ``STACK[-1]`` object. ``STACK[-1]`` is " @@ -995,60 +996,60 @@ msgid "" "the object returned by the attribute lookup are pushed." msgstr "" -#: library/dis.rst:1098 +#: library/dis.rst:1099 msgid "" "If the low bit of ``namei`` is set, then a ``NULL`` or ``self`` is pushed to " "the stack before the attribute or unbound method respectively." msgstr "" -#: library/dis.rst:1105 +#: library/dis.rst:1106 msgid "" "This opcode implements :func:`super`, both in its zero-argument and two-" "argument forms (e.g. ``super().method()``, ``super().attr`` and ``super(cls, " "self).method()``, ``super(cls, self).attr``)." msgstr "" -#: library/dis.rst:1109 +#: library/dis.rst:1110 msgid "" "It pops three values from the stack (from top of stack down): - ``self``: " "the first argument to the current method - ``cls``: the class within which " "the current method was defined - the global ``super``" msgstr "" -#: library/dis.rst:1114 +#: library/dis.rst:1115 msgid "" "With respect to its argument, it works similarly to :opcode:`LOAD_ATTR`, " "except that ``namei`` is shifted left by 2 bits instead of 1." msgstr "" -#: library/dis.rst:1117 +#: library/dis.rst:1118 msgid "" "The low bit of ``namei`` signals to attempt a method load, as with :opcode:" "`LOAD_ATTR`, which results in pushing ``None`` and the loaded method. When " "it is unset a single value is pushed to the stack." msgstr "" -#: library/dis.rst:1121 +#: library/dis.rst:1122 msgid "" "The second-low bit of ``namei``, if set, means that this was a two-argument " "call to :func:`super` (unset means zero-argument)." msgstr "" -#: library/dis.rst:1129 +#: library/dis.rst:1130 msgid "" "Performs a Boolean operation. The operation name can be found in " "``cmp_op[opname]``." msgstr "" -#: library/dis.rst:1135 +#: library/dis.rst:1136 msgid "Performs ``is`` comparison, or ``is not`` if ``invert`` is 1." msgstr "" -#: library/dis.rst:1142 +#: library/dis.rst:1143 msgid "Performs ``in`` comparison, or ``not in`` if ``invert`` is 1." msgstr "" -#: library/dis.rst:1149 +#: library/dis.rst:1150 msgid "" "Imports the module ``co_names[namei]``. ``STACK[-1]`` and ``STACK[-2]`` are " "popped and provide the *fromlist* and *level* arguments of :func:" @@ -1057,67 +1058,67 @@ msgid "" "opcode:`STORE_FAST` instruction modifies the namespace." msgstr "" -#: library/dis.rst:1157 +#: library/dis.rst:1158 msgid "" "Loads the attribute ``co_names[namei]`` from the module found in " "``STACK[-1]``. The resulting object is pushed onto the stack, to be " "subsequently stored by a :opcode:`STORE_FAST` instruction." msgstr "" -#: library/dis.rst:1164 +#: library/dis.rst:1165 msgid "Increments bytecode counter by *delta*." msgstr "" -#: library/dis.rst:1169 +#: library/dis.rst:1170 msgid "Decrements bytecode counter by *delta*. Checks for interrupts." msgstr "" -#: library/dis.rst:1176 +#: library/dis.rst:1177 msgid "Decrements bytecode counter by *delta*. Does not check for interrupts." msgstr "" -#: library/dis.rst:1183 +#: library/dis.rst:1184 msgid "" "If ``STACK[-1]`` is true, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." msgstr "" -#: library/dis.rst:1199 +#: library/dis.rst:1200 msgid "" "The oparg is now a relative delta rather than an absolute target. This " "opcode is a pseudo-instruction, replaced in final bytecode by the directed " "versions (forward/backward)." msgstr "" -#: library/dis.rst:1204 library/dis.rst:1231 +#: library/dis.rst:1205 library/dis.rst:1232 msgid "This is no longer a pseudo-instruction." msgstr "" -#: library/dis.rst:1196 +#: library/dis.rst:1197 msgid "" "If ``STACK[-1]`` is false, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." msgstr "" -#: library/dis.rst:1209 +#: library/dis.rst:1210 msgid "" "If ``STACK[-1]`` is not ``None``, increments the bytecode counter by " "*delta*. ``STACK[-1]`` is popped." msgstr "" -#: library/dis.rst:1226 +#: library/dis.rst:1227 msgid "" "This opcode is a pseudo-instruction, replaced in final bytecode by the " "directed versions (forward/backward)." msgstr "" -#: library/dis.rst:1223 +#: library/dis.rst:1224 msgid "" "If ``STACK[-1]`` is ``None``, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." msgstr "" -#: library/dis.rst:1236 +#: library/dis.rst:1237 msgid "" "``STACK[-1]`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` " "method. If this yields a new value, push it on the stack (leaving the " @@ -1125,87 +1126,87 @@ msgid "" "code counter is incremented by *delta*." msgstr "" -#: library/dis.rst:1241 +#: library/dis.rst:1242 msgid "Up until 3.11 the iterator was popped when it was exhausted." msgstr "" -#: library/dis.rst:1246 +#: library/dis.rst:1247 msgid "Loads the global named ``co_names[namei>>1]`` onto the stack." msgstr "" -#: library/dis.rst:1248 +#: library/dis.rst:1249 msgid "" "If the low bit of ``namei`` is set, then a ``NULL`` is pushed to the stack " "before the global variable." msgstr "" -#: library/dis.rst:1254 +#: library/dis.rst:1255 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack." msgstr "" -#: library/dis.rst:1256 +#: library/dis.rst:1257 msgid "" "This opcode is now only used in situations where the local variable is " "guaranteed to be initialized. It cannot raise :exc:`UnboundLocalError`." msgstr "" -#: library/dis.rst:1262 +#: library/dis.rst:1263 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack, " "raising an :exc:`UnboundLocalError` if the local variable has not been " "initialized." msgstr "" -#: library/dis.rst:1270 +#: library/dis.rst:1271 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack (or " "pushes ``NULL`` onto the stack if the local variable has not been " "initialized) and sets ``co_varnames[var_num]`` to ``NULL``." msgstr "" -#: library/dis.rst:1278 +#: library/dis.rst:1279 msgid "Stores ``STACK.pop()`` into the local ``co_varnames[var_num]``." msgstr "" -#: library/dis.rst:1283 +#: library/dis.rst:1284 msgid "Deletes local ``co_varnames[var_num]``." msgstr "" -#: library/dis.rst:1288 +#: library/dis.rst:1289 msgid "" "Creates a new cell in slot ``i``. If that slot is nonempty then that value " "is stored into the new cell." msgstr "" -#: library/dis.rst:1296 +#: library/dis.rst:1297 msgid "" "Pushes a reference to the cell contained in slot ``i`` of the \"fast " "locals\" storage. The name of the variable is ``co_fastlocalnames[i]``." msgstr "" -#: library/dis.rst:1299 +#: library/dis.rst:1300 msgid "" "Note that ``LOAD_CLOSURE`` is effectively an alias for ``LOAD_FAST``. It " "exists to keep bytecode a little more readable." msgstr "" -#: library/dis.rst:1302 +#: library/dis.rst:1303 msgid "``i`` is no longer offset by the length of ``co_varnames``." msgstr "" -#: library/dis.rst:1308 +#: library/dis.rst:1309 msgid "" "Loads the cell contained in slot ``i`` of the \"fast locals\" storage. " "Pushes a reference to the object the cell contains on the stack." msgstr "" -#: library/dis.rst:1333 library/dis.rst:1344 +#: library/dis.rst:1334 library/dis.rst:1345 msgid "" "``i`` is no longer offset by the length of :attr:`~codeobject.co_varnames`." msgstr "" -#: library/dis.rst:1317 +#: library/dis.rst:1318 msgid "" "Pops a mapping off the stack and looks up the name associated with slot " "``i`` of the \"fast locals\" storage in this mapping. If the name is not " @@ -1215,94 +1216,94 @@ msgid "" "scopes ` within class bodies." msgstr "" -#: library/dis.rst:1330 +#: library/dis.rst:1331 msgid "" "Stores ``STACK.pop()`` into the cell contained in slot ``i`` of the \"fast " "locals\" storage." msgstr "" -#: library/dis.rst:1339 +#: library/dis.rst:1340 msgid "" "Empties the cell contained in slot ``i`` of the \"fast locals\" storage. " "Used by the :keyword:`del` statement." msgstr "" -#: library/dis.rst:1350 +#: library/dis.rst:1351 msgid "" "Copies the ``n`` free variables from the closure into the frame. Removes the " "need for special code on the caller's side when calling closures." msgstr "" -#: library/dis.rst:1359 +#: library/dis.rst:1360 msgid "" "Raises an exception using one of the 3 forms of the ``raise`` statement, " "depending on the value of *argc*:" msgstr "" -#: library/dis.rst:1362 +#: library/dis.rst:1363 msgid "0: ``raise`` (re-raise previous exception)" msgstr "" -#: library/dis.rst:1363 +#: library/dis.rst:1364 msgid "" "1: ``raise STACK[-1]`` (raise exception instance or type at ``STACK[-1]``)" msgstr "" -#: library/dis.rst:1364 +#: library/dis.rst:1365 msgid "" "2: ``raise STACK[-2] from STACK[-1]`` (raise exception instance or type at " "``STACK[-2]`` with ``__cause__`` set to ``STACK[-1]``)" msgstr "" -#: library/dis.rst:1370 +#: library/dis.rst:1371 msgid "" "Calls a callable object with the number of arguments specified by ``argc``, " "including the named arguments specified by the preceding :opcode:`KW_NAMES`, " "if any. On the stack are (in ascending order), either:" msgstr "" -#: library/dis.rst:1375 +#: library/dis.rst:1376 msgid "NULL" msgstr "" -#: library/dis.rst:1382 +#: library/dis.rst:1383 msgid "The callable" msgstr "" -#: library/dis.rst:1377 +#: library/dis.rst:1378 msgid "The positional arguments" msgstr "" -#: library/dis.rst:1385 +#: library/dis.rst:1386 msgid "The named arguments" msgstr "" -#: library/dis.rst:1380 +#: library/dis.rst:1381 msgid "or:" msgstr "" -#: library/dis.rst:1383 +#: library/dis.rst:1384 msgid "``self``" msgstr "" -#: library/dis.rst:1384 +#: library/dis.rst:1385 msgid "The remaining positional arguments" msgstr "" -#: library/dis.rst:1387 +#: library/dis.rst:1388 msgid "" "``argc`` is the total of the positional and named arguments, excluding " "``self`` when a ``NULL`` is not present." msgstr "" -#: library/dis.rst:1390 +#: library/dis.rst:1391 msgid "" "``CALL`` pops all arguments and the callable object off the stack, calls the " "callable object with those arguments, and pushes the return value returned " "by the callable object." msgstr "" -#: library/dis.rst:1399 +#: library/dis.rst:1400 msgid "" "Calls a callable object with variable set of positional and keyword " "arguments. If the lowest bit of *flags* is set, the top of the stack " @@ -1314,70 +1315,70 @@ msgid "" "arguments, and pushes the return value returned by the callable object." msgstr "" -#: library/dis.rst:1414 +#: library/dis.rst:1415 msgid "" "Pushes a ``NULL`` to the stack. Used in the call sequence to match the " "``NULL`` pushed by :opcode:`LOAD_METHOD` for non-method calls." msgstr "" -#: library/dis.rst:1423 +#: library/dis.rst:1424 msgid "" "Prefixes :opcode:`CALL`. Stores a reference to ``co_consts[consti]`` into an " "internal variable for use by :opcode:`CALL`. ``co_consts[consti]`` must be a " "tuple of strings." msgstr "" -#: library/dis.rst:1432 +#: library/dis.rst:1433 msgid "" "Pushes a new function object on the stack. From bottom to top, the consumed " "stack must consist of values if the argument carries a specified flag value" msgstr "" -#: library/dis.rst:1435 +#: library/dis.rst:1436 msgid "" "``0x01`` a tuple of default values for positional-only and positional-or-" "keyword parameters in positional order" msgstr "" -#: library/dis.rst:1437 +#: library/dis.rst:1438 msgid "``0x02`` a dictionary of keyword-only parameters' default values" msgstr "" -#: library/dis.rst:1438 +#: library/dis.rst:1439 msgid "``0x04`` a tuple of strings containing parameters' annotations" msgstr "" -#: library/dis.rst:1439 +#: library/dis.rst:1440 msgid "``0x08`` a tuple containing cells for free variables, making a closure" msgstr "" -#: library/dis.rst:1440 +#: library/dis.rst:1441 msgid "the code associated with the function (at ``STACK[-1]``)" msgstr "" -#: library/dis.rst:1442 +#: library/dis.rst:1443 msgid "Flag value ``0x04`` is a tuple of strings instead of dictionary" msgstr "" -#: library/dis.rst:1445 +#: library/dis.rst:1446 msgid "Qualified name at ``STACK[-1]`` was removed." msgstr "" -#: library/dis.rst:1453 +#: library/dis.rst:1454 msgid "" "Pushes a slice object on the stack. *argc* must be 2 or 3. If it is 2, " "implements::" msgstr "" -#: library/dis.rst:1459 +#: library/dis.rst:1460 msgid "if it is 3, implements::" msgstr "" -#: library/dis.rst:1466 +#: library/dis.rst:1467 msgid "See the :func:`slice` built-in function for more information." msgstr "" -#: library/dis.rst:1471 +#: library/dis.rst:1472 msgid "" "Prefixes any opcode which has an argument too big to fit into the default " "one byte. *ext* holds an additional byte which act as higher bits in the " @@ -1385,54 +1386,54 @@ msgid "" "allowed, forming an argument from two-byte to four-byte." msgstr "" -#: library/dis.rst:1479 +#: library/dis.rst:1480 msgid "" "Used for implementing formatted literal strings (f-strings). Pops an " "optional *fmt_spec* from the stack, then a required *value*. *flags* is " "interpreted as follows:" msgstr "" -#: library/dis.rst:1483 +#: library/dis.rst:1484 msgid "``(flags & 0x03) == 0x00``: *value* is formatted as-is." msgstr "" -#: library/dis.rst:1484 +#: library/dis.rst:1485 msgid "" "``(flags & 0x03) == 0x01``: call :func:`str` on *value* before formatting it." msgstr "" -#: library/dis.rst:1486 +#: library/dis.rst:1487 msgid "" "``(flags & 0x03) == 0x02``: call :func:`repr` on *value* before formatting " "it." msgstr "" -#: library/dis.rst:1488 +#: library/dis.rst:1489 msgid "" "``(flags & 0x03) == 0x03``: call :func:`ascii` on *value* before formatting " "it." msgstr "" -#: library/dis.rst:1490 +#: library/dis.rst:1491 msgid "" "``(flags & 0x04) == 0x04``: pop *fmt_spec* from the stack and use it, else " "use an empty *fmt_spec*." msgstr "" -#: library/dis.rst:1493 +#: library/dis.rst:1494 msgid "" "Formatting is performed using :c:func:`PyObject_Format`. The result is " "pushed on the stack." msgstr "" -#: library/dis.rst:1501 +#: library/dis.rst:1502 msgid "" "``STACK[-1]`` is a tuple of keyword attribute names, ``STACK[-2]`` is the " "class being matched against, and ``STACK[-3]`` is the match subject. " "*count* is the number of positional sub-patterns." msgstr "" -#: library/dis.rst:1505 +#: library/dis.rst:1506 msgid "" "Pop ``STACK[-1]``, ``STACK[-2]``, and ``STACK[-3]``. If ``STACK[-3]`` is an " "instance of ``STACK[-2]`` and has the positional and keyword attributes " @@ -1440,257 +1441,257 @@ msgid "" "Otherwise, push ``None``." msgstr "" -#: library/dis.rst:1519 +#: library/dis.rst:1520 msgid "A no-op. Performs internal tracing, debugging and optimization checks." msgstr "" -#: library/dis.rst:1521 +#: library/dis.rst:1522 msgid "The ``where`` operand marks where the ``RESUME`` occurs:" msgstr "" -#: library/dis.rst:1523 +#: library/dis.rst:1524 msgid "" "``0`` The start of a function, which is neither a generator, coroutine nor " "an async generator" msgstr "" -#: library/dis.rst:1525 +#: library/dis.rst:1526 msgid "``1`` After a ``yield`` expression" msgstr "" -#: library/dis.rst:1526 +#: library/dis.rst:1527 msgid "``2`` After a ``yield from`` expression" msgstr "" -#: library/dis.rst:1527 +#: library/dis.rst:1528 msgid "``3`` After an ``await`` expression" msgstr "" -#: library/dis.rst:1534 +#: library/dis.rst:1535 msgid "" "Create a generator, coroutine, or async generator from the current frame. " "Used as first opcode of in code object for the above mentioned callables. " "Clear the current frame and return the newly created generator." msgstr "" -#: library/dis.rst:1543 +#: library/dis.rst:1544 msgid "" "Equivalent to ``STACK[-1] = STACK[-2].send(STACK[-1])``. Used in ``yield " "from`` and ``await`` statements." msgstr "" -#: library/dis.rst:1546 +#: library/dis.rst:1547 msgid "" "If the call raises :exc:`StopIteration`, pop the top value from the stack, " "push the exception's ``value`` attribute, and increment the bytecode counter " "by *delta*." msgstr "" -#: library/dis.rst:1555 +#: library/dis.rst:1556 msgid "" "This is not really an opcode. It identifies the dividing line between " "opcodes in the range [0,255] which don't use their argument and those that " "do (``< HAVE_ARGUMENT`` and ``>= HAVE_ARGUMENT``, respectively)." msgstr "" -#: library/dis.rst:1559 +#: library/dis.rst:1560 msgid "" "If your application uses pseudo instructions, use the :data:`hasarg` " "collection instead." msgstr "" -#: library/dis.rst:1562 +#: library/dis.rst:1563 msgid "" "Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT`` " "ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument." msgstr "" -#: library/dis.rst:1566 +#: library/dis.rst:1567 msgid "" "Pseudo instructions were added to the :mod:`dis` module, and for them it is " "not true that comparison with ``HAVE_ARGUMENT`` indicates whether they use " "their arg." msgstr "" -#: library/dis.rst:1574 +#: library/dis.rst:1575 msgid "" "Calls an intrinsic function with one argument. Passes ``STACK[-1]`` as the " "argument and sets ``STACK[-1]`` to the result. Used to implement " "functionality that is not performance critical." msgstr "" -#: library/dis.rst:1632 +#: library/dis.rst:1633 msgid "The operand determines which intrinsic function is called:" msgstr "" -#: library/dis.rst:1635 +#: library/dis.rst:1636 msgid "Operand" msgstr "" -#: library/dis.rst:1635 +#: library/dis.rst:1636 msgid "Description" msgstr "" -#: library/dis.rst:1583 +#: library/dis.rst:1584 msgid "``INTRINSIC_1_INVALID``" msgstr "" -#: library/dis.rst:1637 +#: library/dis.rst:1638 msgid "Not valid" msgstr "" -#: library/dis.rst:1585 +#: library/dis.rst:1586 msgid "``INTRINSIC_PRINT``" msgstr "" -#: library/dis.rst:1585 +#: library/dis.rst:1586 msgid "Prints the argument to standard out. Used in the REPL." msgstr "" -#: library/dis.rst:1588 +#: library/dis.rst:1589 msgid "``INTRINSIC_IMPORT_STAR``" msgstr "" -#: library/dis.rst:1588 +#: library/dis.rst:1589 msgid "Performs ``import *`` for the named module." msgstr "" -#: library/dis.rst:1591 +#: library/dis.rst:1592 msgid "``INTRINSIC_STOPITERATION_ERROR``" msgstr "" -#: library/dis.rst:1591 +#: library/dis.rst:1592 msgid "Extracts the return value from a ``StopIteration`` exception." msgstr "" -#: library/dis.rst:1594 +#: library/dis.rst:1595 msgid "``INTRINSIC_ASYNC_GEN_WRAP``" msgstr "" -#: library/dis.rst:1594 +#: library/dis.rst:1595 msgid "Wraps an aync generator value" msgstr "" -#: library/dis.rst:1596 +#: library/dis.rst:1597 msgid "``INTRINSIC_UNARY_POSITIVE``" msgstr "" -#: library/dis.rst:1596 +#: library/dis.rst:1597 msgid "Performs the unary ``+`` operation" msgstr "" -#: library/dis.rst:1599 +#: library/dis.rst:1600 msgid "``INTRINSIC_LIST_TO_TUPLE``" msgstr "" -#: library/dis.rst:1599 +#: library/dis.rst:1600 msgid "Converts a list to a tuple" msgstr "" -#: library/dis.rst:1601 +#: library/dis.rst:1602 msgid "``INTRINSIC_TYPEVAR``" msgstr "" -#: library/dis.rst:1601 +#: library/dis.rst:1602 msgid "Creates a :class:`typing.TypeVar`" msgstr "" -#: library/dis.rst:1603 +#: library/dis.rst:1604 msgid "``INTRINSIC_PARAMSPEC``" msgstr "" -#: library/dis.rst:1603 +#: library/dis.rst:1604 msgid "Creates a :class:`typing.ParamSpec`" msgstr "" -#: library/dis.rst:1606 +#: library/dis.rst:1607 msgid "``INTRINSIC_TYPEVARTUPLE``" msgstr "" -#: library/dis.rst:1606 +#: library/dis.rst:1607 msgid "Creates a :class:`typing.TypeVarTuple`" msgstr "" -#: library/dis.rst:1609 +#: library/dis.rst:1610 msgid "``INTRINSIC_SUBSCRIPT_GENERIC``" msgstr "" -#: library/dis.rst:1609 +#: library/dis.rst:1610 msgid "Returns :class:`typing.Generic` subscripted with the argument" msgstr "" -#: library/dis.rst:1612 +#: library/dis.rst:1613 msgid "``INTRINSIC_TYPEALIAS``" msgstr "" -#: library/dis.rst:1612 +#: library/dis.rst:1613 msgid "" "Creates a :class:`typing.TypeAliasType`; used in the :keyword:`type` " "statement. The argument is a tuple of the type alias's name, type " "parameters, and value." msgstr "" -#: library/dis.rst:1624 +#: library/dis.rst:1625 msgid "" "Calls an intrinsic function with two arguments. Used to implement " "functionality that is not performance critical::" msgstr "" -#: library/dis.rst:1637 +#: library/dis.rst:1638 msgid "``INTRINSIC_2_INVALID``" msgstr "" -#: library/dis.rst:1639 +#: library/dis.rst:1640 msgid "``INTRINSIC_PREP_RERAISE_STAR``" msgstr "" -#: library/dis.rst:1639 +#: library/dis.rst:1640 msgid "Calculates the :exc:`ExceptionGroup` to raise from a ``try-except*``." msgstr "" -#: library/dis.rst:1643 +#: library/dis.rst:1644 msgid "``INTRINSIC_TYPEVAR_WITH_BOUND``" msgstr "" -#: library/dis.rst:1643 +#: library/dis.rst:1644 msgid "Creates a :class:`typing.TypeVar` with a bound." msgstr "" -#: library/dis.rst:1646 +#: library/dis.rst:1647 msgid "``INTRINSIC_TYPEVAR_WITH_CONSTRAINTS``" msgstr "" -#: library/dis.rst:1646 +#: library/dis.rst:1647 msgid "Creates a :class:`typing.TypeVar` with constraints." msgstr "" -#: library/dis.rst:1650 +#: library/dis.rst:1651 msgid "``INTRINSIC_SET_FUNCTION_TYPE_PARAMS``" msgstr "" -#: library/dis.rst:1650 +#: library/dis.rst:1651 msgid "Sets the ``__type_params__`` attribute of a function." msgstr "" -#: library/dis.rst:1657 +#: library/dis.rst:1658 msgid "**Pseudo-instructions**" msgstr "" -#: library/dis.rst:1659 +#: library/dis.rst:1660 msgid "" "These opcodes do not appear in Python bytecode. They are used by the " "compiler but are replaced by real opcodes or removed before bytecode is " "generated." msgstr "" -#: library/dis.rst:1664 +#: library/dis.rst:1665 msgid "" "Set up an exception handler for the following code block. If an exception " "occurs, the value stack level is restored to its current state and control " "is transferred to the exception handler at ``target``." msgstr "" -#: library/dis.rst:1671 +#: library/dis.rst:1672 msgid "" "Like ``SETUP_FINALLY``, but in case of an exception also pushes the last " "instruction (``lasti``) to the stack so that ``RERAISE`` can restore it. If " @@ -1699,76 +1700,76 @@ msgid "" "exception handler at ``target``." msgstr "" -#: library/dis.rst:1680 +#: library/dis.rst:1681 msgid "" "Like ``SETUP_CLEANUP``, but in case of an exception one more item is popped " "from the stack before control is transferred to the exception handler at " "``target``." msgstr "" -#: library/dis.rst:1684 +#: library/dis.rst:1685 msgid "" "This variant is used in :keyword:`with` and :keyword:`async with` " "constructs, which push the return value of the context manager's :meth:" "`~object.__enter__` or :meth:`~object.__aenter__` to the stack." msgstr "" -#: library/dis.rst:1691 +#: library/dis.rst:1692 msgid "" "Marks the end of the code block associated with the last ``SETUP_FINALLY``, " "``SETUP_CLEANUP`` or ``SETUP_WITH``." msgstr "" -#: library/dis.rst:1697 +#: library/dis.rst:1698 msgid "" "Undirected relative jump instructions which are replaced by their directed " "(forward/backward) counterparts by the assembler." msgstr "" -#: library/dis.rst:1702 +#: library/dis.rst:1703 msgid "" "Optimized unbound method lookup. Emitted as a ``LOAD_ATTR`` opcode with a " "flag set in the arg." msgstr "" -#: library/dis.rst:1709 +#: library/dis.rst:1710 msgid "Opcode collections" msgstr "" -#: library/dis.rst:1711 +#: library/dis.rst:1712 msgid "" "These collections are provided for automatic introspection of bytecode " "instructions:" msgstr "" -#: library/dis.rst:1714 +#: library/dis.rst:1715 msgid "" "The collections now contain pseudo instructions and instrumented " "instructions as well. These are opcodes with values ``>= MIN_PSEUDO_OPCODE`` " "and ``>= MIN_INSTRUMENTED_OPCODE``." msgstr "" -#: library/dis.rst:1721 +#: library/dis.rst:1722 msgid "Sequence of operation names, indexable using the bytecode." msgstr "" -#: library/dis.rst:1726 +#: library/dis.rst:1727 msgid "Dictionary mapping operation names to bytecodes." msgstr "" -#: library/dis.rst:1731 +#: library/dis.rst:1732 msgid "Sequence of all compare operation names." msgstr "" -#: library/dis.rst:1736 +#: library/dis.rst:1737 msgid "Sequence of bytecodes that use their argument." msgstr "" -#: library/dis.rst:1743 +#: library/dis.rst:1744 msgid "Sequence of bytecodes that access a constant." msgstr "" -#: library/dis.rst:1748 +#: library/dis.rst:1749 msgid "" "Sequence of bytecodes that access a free variable. 'free' in this context " "refers to names in the current scope that are referenced by inner scopes or " @@ -1776,34 +1777,34 @@ msgid "" "include references to global or builtin scopes." msgstr "" -#: library/dis.rst:1756 +#: library/dis.rst:1757 msgid "Sequence of bytecodes that access an attribute by name." msgstr "" -#: library/dis.rst:1761 +#: library/dis.rst:1762 msgid "Sequence of bytecodes that have a relative jump target." msgstr "" -#: library/dis.rst:1766 +#: library/dis.rst:1767 msgid "Sequence of bytecodes that have an absolute jump target." msgstr "" -#: library/dis.rst:1771 +#: library/dis.rst:1772 msgid "Sequence of bytecodes that access a local variable." msgstr "" -#: library/dis.rst:1776 +#: library/dis.rst:1777 msgid "Sequence of bytecodes of Boolean operations." msgstr "" -#: library/dis.rst:1780 +#: library/dis.rst:1781 msgid "Sequence of bytecodes that set an exception handler." msgstr "" -#: library/dis.rst:1451 +#: library/dis.rst:1452 msgid "built-in function" msgstr "" -#: library/dis.rst:1451 +#: library/dis.rst:1452 msgid "slice" msgstr "" diff --git a/library/ensurepip.po b/library/ensurepip.po index 25621a3f2..d05b84c9c 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-10-01 00:18+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -206,7 +206,7 @@ msgid "" "bootstrapping operation." msgstr "" -#: library/ensurepip.rst:136 +#: library/ensurepip.rst:134 msgid "" "Raises an :ref:`auditing event ` ``ensurepip.bootstrap`` with " "argument ``root``." diff --git a/library/ftplib.po b/library/ftplib.po index f32bddbb2..a6b45a7fe 100644 --- a/library/ftplib.po +++ b/library/ftplib.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -197,7 +197,7 @@ msgid "" "port)`` for the socket to bind to as its source address before connecting." msgstr "" -#: library/ftplib.rst:216 +#: library/ftplib.rst:214 msgid "" "Raises an :ref:`auditing event ` ``ftplib.connect`` with arguments " "``self``, ``host``, ``port``." @@ -233,7 +233,7 @@ msgid "" "Send a simple command string to the server and return the response string." msgstr "" -#: library/ftplib.rst:260 +#: library/ftplib.rst:258 msgid "" "Raises an :ref:`auditing event ` ``ftplib.sendcmd`` with arguments " "``self``, ``cmd``." diff --git a/library/functools.po b/library/functools.po index 5947dab75..911d84bcc 100644 --- a/library/functools.po +++ b/library/functools.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: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -638,7 +638,7 @@ msgstr "" #: library/functools.rst:742 msgid "" ":class:`partial` objects are like :class:`function` objects in that they are " -"callable, weak referencable, and can have attributes. There are some " +"callable, weak referenceable, and can have attributes. There are some " "important differences. For instance, the :attr:`~definition.__name__` and :" "attr:`__doc__` attributes are not created automatically. Also, :class:" "`partial` objects defined in classes behave like static methods and do not " diff --git a/library/hashlib.po b/library/hashlib.po index ce6e5644c..82a63125f 100644 --- a/library/hashlib.po +++ b/library/hashlib.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -570,7 +570,7 @@ msgid "" "(``False`` for sequential mode)." msgstr "" -#: library/hashlib.rst:-1 +#: library/hashlib.rst:None msgid "Explanation of tree mode parameters." msgstr "" diff --git a/library/http.client.po b/library/http.client.po index c1e2dea8e..c16f7f235 100644 --- a/library/http.client.po +++ b/library/http.client.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -438,7 +438,7 @@ msgid "" "already have a connection." msgstr "" -#: library/http.client.rst:415 +#: library/http.client.rst:413 msgid "" "Raises an :ref:`auditing event ` ``http.client.connect`` with " "arguments ``self``, ``host``, ``port``." @@ -514,7 +514,7 @@ msgid "" "`endheaders` method has been called and before :meth:`getresponse` is called." msgstr "" -#: library/http.client.rst:486 +#: library/http.client.rst:484 msgid "" "Raises an :ref:`auditing event ` ``http.client.send`` with " "arguments ``self``, ``data``." diff --git a/library/idle.po b/library/idle.po index 9a3ce4a0a..d0e46b58d 100644 --- a/library/idle.po +++ b/library/idle.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -242,7 +242,7 @@ msgstr "" msgid "Select the entire contents of the current window." msgstr "" -#: library/idle.rst:355 library/idle.rst:370 +#: library/idle.rst:370 library/idle.rst:355 msgid "Cut" msgstr "" @@ -251,7 +251,7 @@ msgid "" "Copy selection into the system-wide clipboard; then delete the selection." msgstr "" -#: library/idle.rst:355 library/idle.rst:373 +#: library/idle.rst:373 library/idle.rst:355 msgid "Copy" msgstr "" @@ -259,7 +259,7 @@ msgstr "" msgid "Copy selection into the system-wide clipboard." msgstr "" -#: library/idle.rst:355 library/idle.rst:376 +#: library/idle.rst:376 library/idle.rst:355 msgid "Paste" msgstr "" @@ -734,7 +734,7 @@ msgid "" "directory." msgstr "" -#: library/idle.rst:384 +#: library/idle.rst:355 msgid "Set Breakpoint" msgstr "" @@ -742,7 +742,7 @@ msgstr "" msgid "Set a breakpoint on the current line." msgstr "" -#: library/idle.rst:387 +#: library/idle.rst:355 msgid "Clear Breakpoint" msgstr "" diff --git a/library/imaplib.po b/library/imaplib.po index 79b46121e..3c205db4b 100644 --- a/library/imaplib.po +++ b/library/imaplib.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -415,7 +415,7 @@ msgid "" "method." msgstr "" -#: library/imaplib.rst:382 +#: library/imaplib.rst:380 msgid "" "Raises an :ref:`auditing event ` ``imaplib.open`` with arguments " "``self``, ``host``, ``port``." @@ -487,7 +487,7 @@ msgstr "" msgid "Sends ``data`` to the remote server. You may override this method." msgstr "" -#: library/imaplib.rst:455 +#: library/imaplib.rst:453 msgid "" "Raises an :ref:`auditing event ` ``imaplib.send`` with arguments " "``self``, ``data``." diff --git a/library/logging.po b/library/logging.po index 01292f99f..7bcfde9bf 100644 --- a/library/logging.po +++ b/library/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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1124,7 +1124,7 @@ msgstr "" msgid "Description" msgstr "" -#: library/logging.rst:917 +#: library/logging.rst:0 msgid "args" msgstr "" @@ -1168,7 +1168,7 @@ msgid "" "time`)." msgstr "" -#: library/logging.rst:931 +#: library/logging.rst:0 msgid "exc_info" msgstr "" @@ -1281,7 +1281,7 @@ msgid "" "Millisecond portion of the time when the :class:`LogRecord` was created." msgstr "" -#: library/logging.rst:959 +#: library/logging.rst:0 msgid "msg" msgstr "" @@ -1292,7 +1292,7 @@ msgid "" "messages`)." msgstr "" -#: library/logging.rst:964 +#: library/logging.rst:0 msgid "name" msgstr "" diff --git a/library/mmap.po b/library/mmap.po index 9a0e760ad..3ec05b3df 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -117,7 +117,7 @@ msgid "" "`ALLOCATIONGRANULARITY`." msgstr "" -#: library/mmap.rst:174 +#: library/mmap.rst:172 msgid "" "Raises an :ref:`auditing event ` ``mmap.__new__`` with arguments " "``fileno``, ``length``, ``access``, ``offset``." diff --git a/library/nntplib.po b/library/nntplib.po index c931e87b2..75872bc7d 100644 --- a/library/nntplib.po +++ b/library/nntplib.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -81,13 +81,13 @@ msgid "" "close the NNTP connection when done, e.g.:" msgstr "" -#: library/nntplib.rst:148 +#: library/nntplib.rst:146 msgid "" "Raises an :ref:`auditing event ` ``nntplib.connect`` with " "arguments ``self``, ``host``, ``port``." msgstr "" -#: library/nntplib.rst:150 +#: library/nntplib.rst:148 msgid "" "Raises an :ref:`auditing event ` ``nntplib.putline`` with " "arguments ``self``, ``line``." diff --git a/library/poplib.po b/library/poplib.po index 1424d0b41..6dde642df 100644 --- a/library/poplib.po +++ b/library/poplib.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -73,13 +73,13 @@ msgid "" "timeout setting will be used)." msgstr "" -#: library/poplib.rst:77 +#: library/poplib.rst:75 msgid "" "Raises an :ref:`auditing event ` ``poplib.connect`` with arguments " "``self``, ``host``, ``port``." msgstr "" -#: library/poplib.rst:79 +#: library/poplib.rst:77 msgid "" "Raises an :ref:`auditing event ` ``poplib.putline`` with arguments " "``self``, ``line``." diff --git a/library/smtplib.po b/library/smtplib.po index 3705f4ac6..55fd66058 100644 --- a/library/smtplib.po +++ b/library/smtplib.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -76,7 +76,7 @@ msgid "" "keyword:`!with` statement exits. E.g.::" msgstr "" -#: library/smtplib.rst:70 +#: library/smtplib.rst:68 msgid "" "Raises an :ref:`auditing event ` ``smtplib.send`` with arguments " "``self``, ``data``." @@ -308,7 +308,7 @@ msgid "" "connection response." msgstr "" -#: library/smtplib.rst:264 +#: library/smtplib.rst:262 msgid "" "Raises an :ref:`auditing event ` ``smtplib.connect`` with " "arguments ``self``, ``host``, ``port``." diff --git a/library/socket.po b/library/socket.po index 1ad1c3b3c..489c291d8 100644 --- a/library/socket.po +++ b/library/socket.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -882,7 +882,7 @@ msgstr "" msgid "The newly created socket is :ref:`non-inheritable `." msgstr "" -#: library/socket.rst:742 +#: library/socket.rst:740 msgid "" "Raises an :ref:`auditing event ` ``socket.__new__`` with arguments " "``self``, ``family``, ``type``, ``protocol``." @@ -1114,7 +1114,7 @@ msgid "" "`AF_INET6`), and is meant to be passed to the :meth:`socket.connect` method." msgstr "" -#: library/socket.rst:953 +#: library/socket.rst:951 msgid "" "Raises an :ref:`auditing event ` ``socket.getaddrinfo`` with " "arguments ``host``, ``port``, ``family``, ``type``, ``protocol``." @@ -1158,7 +1158,7 @@ msgid "" "stack support." msgstr "" -#: library/socket.rst:1007 +#: library/socket.rst:1005 msgid "" "Raises an :ref:`auditing event ` ``socket.gethostbyname`` with " "argument ``hostname``." @@ -1188,7 +1188,7 @@ msgid "" "interpreter is currently executing." msgstr "" -#: library/socket.rst:1017 +#: library/socket.rst:1015 msgid "" "Raises an :ref:`auditing event ` ``socket.gethostname`` with no " "arguments." @@ -1211,7 +1211,7 @@ msgid "" "`gethostbyaddr` supports both IPv4 and IPv6." msgstr "" -#: library/socket.rst:1035 +#: library/socket.rst:1033 msgid "" "Raises an :ref:`auditing event ` ``socket.gethostbyaddr`` with " "argument ``ip_address``." @@ -1236,7 +1236,7 @@ msgid "" "For more information about *flags* you can consult :manpage:`getnameinfo(3)`." msgstr "" -#: library/socket.rst:1052 +#: library/socket.rst:1050 msgid "" "Raises an :ref:`auditing event ` ``socket.getnameinfo`` with " "argument ``sockaddr``." @@ -1258,7 +1258,7 @@ msgid "" "``'udp'``, otherwise any protocol will match." msgstr "" -#: library/socket.rst:1074 +#: library/socket.rst:1072 msgid "" "Raises an :ref:`auditing event ` ``socket.getservbyname`` with " "arguments ``servicename``, ``protocolname``." @@ -1271,7 +1271,7 @@ msgid "" "``'udp'``, otherwise any protocol will match." msgstr "" -#: library/socket.rst:1085 +#: library/socket.rst:1083 msgid "" "Raises an :ref:`auditing event ` ``socket.getservbyport`` with " "arguments ``port``, ``protocolname``." @@ -1459,7 +1459,7 @@ msgid "" "you don't have enough rights." msgstr "" -#: library/socket.rst:1272 +#: library/socket.rst:1270 msgid "" "Raises an :ref:`auditing event ` ``socket.sethostname`` with " "argument ``name``." @@ -1595,7 +1595,7 @@ msgid "" "format of *address* depends on the address family --- see above.)" msgstr "" -#: library/socket.rst:1409 +#: library/socket.rst:1407 msgid "" "Raises an :ref:`auditing event ` ``socket.bind`` with arguments " "``self``, ``address``." @@ -1647,7 +1647,7 @@ msgid "" "(or the exception raised by the signal handler)." msgstr "" -#: library/socket.rst:1470 +#: library/socket.rst:1468 msgid "" "Raises an :ref:`auditing event ` ``socket.connect`` with arguments " "``self``, ``address``." @@ -1983,7 +1983,7 @@ msgid "" "address family --- see above.)" msgstr "" -#: library/socket.rst:1825 +#: library/socket.rst:1823 msgid "" "Raises an :ref:`auditing event ` ``socket.sendto`` with arguments " "``self``, ``address``." @@ -2020,7 +2020,7 @@ msgstr "" msgid ":ref:`Availability `: Unix, not WASI." msgstr "" -#: library/socket.rst:1868 +#: library/socket.rst:1866 msgid "" "Raises an :ref:`auditing event ` ``socket.sendmsg`` with arguments " "``self``, ``address``." diff --git a/library/statistics.po b/library/statistics.po index b8702c67c..f3d10e717 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-05 21:24+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1162,6 +1162,6 @@ msgstr "" msgid "The points in ``xarr`` and ``yarr`` can be used to make a PDF plot:" msgstr "" -#: library/statistics.rst:-1 +#: library/statistics.rst:None msgid "Scatter plot of the estimated probability density function." msgstr "" diff --git a/library/string.po b/library/string.po index 87ee76288..e0751bcdd 100644 --- a/library/string.po +++ b/library/string.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -474,7 +474,7 @@ msgid "" "default behavior)." msgstr "" -#: library/string.rst:381 +#: library/string.rst:367 msgid "space" msgstr "" diff --git a/library/subprocess.po b/library/subprocess.po index 98507e8ab..0a1319403 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -868,7 +868,7 @@ msgid "" "waited for. ::" msgstr "" -#: library/subprocess.rst:708 +#: library/subprocess.rst:706 msgid "" "Raises an :ref:`auditing event ` ``subprocess.Popen`` with " "arguments ``executable``, ``args``, ``cwd``, ``env``." diff --git a/library/telnetlib.po b/library/telnetlib.po index 33f3408b1..0ed9acd52 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -189,7 +189,7 @@ msgstr "" msgid "Do not try to reopen an already connected instance." msgstr "" -#: library/telnetlib.rst:161 +#: library/telnetlib.rst:159 msgid "" "Raises an :ref:`auditing event ` ``telnetlib.Telnet.open`` with " "arguments ``self``, ``host``, ``port``." @@ -227,7 +227,7 @@ msgid "" "connection is closed." msgstr "" -#: library/telnetlib.rst:198 +#: library/telnetlib.rst:196 msgid "" "Raises an :ref:`auditing event ` ``telnetlib.Telnet.write`` with " "arguments ``self``, ``buffer``." diff --git a/library/time.po b/library/time.po index d93e67bac..1e16aa6b2 100644 --- a/library/time.po +++ b/library/time.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: 2023-03-01 11:44+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -195,7 +195,7 @@ msgstr "Karşı" msgid "Use" msgstr "Kullan" -#: library/time.rst:102 library/time.rst:108 library/time.rst:111 +#: library/time.rst:105 library/time.rst:111 library/time.rst:29 msgid "seconds since the epoch" msgstr "zamanın başlangıcından beri geçen saniye" diff --git a/library/urllib.request.po b/library/urllib.request.po index 827112536..bd1617f06 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -159,7 +159,7 @@ msgid "" "`ProxyHandler` objects." msgstr "" -#: library/urllib.request.rst:110 +#: library/urllib.request.rst:108 msgid "" "Raises an :ref:`auditing event ` ``urllib.Request`` with arguments " "``fullurl``, ``data``, ``headers``, ``method``." diff --git a/library/venv.po b/library/venv.po index 55a6354ec..c019629bf 100644 --- a/library/venv.po +++ b/library/venv.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -148,7 +148,7 @@ msgstr "" msgid "The command, if run with ``-h``, will show the available options::" msgstr "" -#: using/venv-create.inc:72 +#: library/venv.rst:313 msgid "``setuptools`` is no longer a core venv dependency." msgstr "" diff --git a/library/webbrowser.po b/library/webbrowser.po index d548075d7..dd80cdfa7 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -107,7 +107,7 @@ msgid "" "is neither supported nor portable." msgstr "" -#: library/webbrowser.rst:80 +#: library/webbrowser.rst:78 msgid "" "Raises an :ref:`auditing event ` ``webbrowser.open`` with argument " "``url``." diff --git a/license.po b/license.po index 3151b3b41..c94f4d5b3 100644 --- a/license.po +++ b/license.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: 2024-01-04 03:14+0300\n" "PO-Revision-Date: 2022-12-28 16:31-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -327,8 +327,8 @@ msgid "" "Project, https://www.wide.ad.jp/. ::" msgstr "" ":mod:`socket` modülü, https://www.wide.ad.jp/ adresindeki WIDE Projesi'nden " -"ayrı kaynak dosyalarında kodlanan :c:func:`!getaddrinfo` ve :c:func:`!getnameinfo` " -"fonksiyonlarını kullanır. ::" +"ayrı kaynak dosyalarında kodlanan :c:func:`!getaddrinfo` ve :c:func:`!" +"getnameinfo` fonksiyonlarını kullanır. ::" #: license.rst:388 msgid "Asynchronous socket services" @@ -469,9 +469,9 @@ msgid "" "using an included copy of the libffi sources unless the build is configured " "``--with-system-libffi``::" msgstr "" -":mod:`ctypes` modülünün altyapsını oluşturan :mod:`!_ctypes` C uzantısı, " -"``--with-system-libffi`` olarak yapılandırılmadığı sürece libffi " -"kaynaklarının dahil edildiği bir kopya kullanılarak oluşturulur::" +":mod:`ctypes` modülünün altyapsını oluşturan :mod:`!_ctypes` C uzantısı, ``--" +"with-system-libffi`` olarak yapılandırılmadığı sürece libffi kaynaklarının " +"dahil edildiği bir kopya kullanılarak oluşturulur::" #: license.rst:904 msgid "zlib" diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 95a277ca0..5824d17ad 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -447,13 +447,13 @@ msgid "" "the normal location for the kind of exit that was taken." msgstr "" -#: reference/compound_stmts.rst:525 reference/compound_stmts.rst:1537 -#: reference/compound_stmts.rst:1578 +#: reference/compound_stmts.rst:525 reference/compound_stmts.rst:1540 +#: reference/compound_stmts.rst:1581 msgid "The following code::" msgstr "" #: reference/compound_stmts.rst:530 reference/compound_stmts.rst:555 -#: reference/compound_stmts.rst:1583 +#: reference/compound_stmts.rst:1586 msgid "is semantically equivalent to::" msgstr "" @@ -1284,7 +1284,7 @@ msgstr "" msgid ":class:`int`" msgstr "" -#: reference/compound_stmts.rst:1159 reference/compound_stmts.rst:1853 +#: reference/compound_stmts.rst:1159 reference/compound_stmts.rst:1856 msgid ":class:`list`" msgstr "" @@ -1296,7 +1296,7 @@ msgstr "" msgid ":class:`str`" msgstr "" -#: reference/compound_stmts.rst:1162 reference/compound_stmts.rst:1856 +#: reference/compound_stmts.rst:1162 reference/compound_stmts.rst:1859 msgid ":class:`tuple`" msgstr "" @@ -1372,7 +1372,7 @@ msgid "" "example, the following code ::" msgstr "" -#: reference/compound_stmts.rst:1249 reference/compound_stmts.rst:1436 +#: reference/compound_stmts.rst:1249 reference/compound_stmts.rst:1439 msgid "is roughly equivalent to ::" msgstr "" @@ -1399,7 +1399,7 @@ msgid "" "functions` for more." msgstr "" -#: reference/compound_stmts.rst:1268 reference/compound_stmts.rst:1455 +#: reference/compound_stmts.rst:1268 reference/compound_stmts.rst:1458 msgid "Type parameter lists are new in Python 3.12." msgstr "" @@ -1510,10 +1510,10 @@ msgstr "" #: reference/compound_stmts.rst:1364 msgid "" "Ability to type hint variable declarations, including class variables and " -"instance variables" +"instance variables." msgstr "" -#: reference/compound_stmts.rst:1368 +#: reference/compound_stmts.rst:1369 msgid ":pep:`563` - Postponed Evaluation of Annotations" msgstr "" @@ -1523,15 +1523,25 @@ msgid "" "in a string form at runtime instead of eager evaluation." msgstr "" -#: reference/compound_stmts.rst:1375 +#: reference/compound_stmts.rst:1372 +msgid ":pep:`318` - Decorators for Functions and Methods" +msgstr "" + +#: reference/compound_stmts.rst:1372 +msgid "" +"Function and method decorators were introduced. Class decorators were " +"introduced in :pep:`3129`." +msgstr "" + +#: reference/compound_stmts.rst:1378 msgid "Class definitions" msgstr "" -#: reference/compound_stmts.rst:1390 +#: reference/compound_stmts.rst:1393 msgid "A class definition defines a class object (see section :ref:`types`):" msgstr "" -#: reference/compound_stmts.rst:1397 +#: reference/compound_stmts.rst:1400 msgid "" "A class definition is an executable statement. The inheritance list usually " "gives a list of base classes (see :ref:`metaclasses` for more advanced " @@ -1540,11 +1550,11 @@ msgid "" "default, from the base class :class:`object`; hence, ::" msgstr "" -#: reference/compound_stmts.rst:1406 +#: reference/compound_stmts.rst:1409 msgid "is equivalent to ::" msgstr "" -#: reference/compound_stmts.rst:1411 +#: reference/compound_stmts.rst:1414 msgid "" "The class's suite is then executed in a new execution frame (see :ref:" "`naming`), using a newly created local namespace and the original global " @@ -1556,7 +1566,7 @@ msgid "" "original local namespace." msgstr "" -#: reference/compound_stmts.rst:1420 +#: reference/compound_stmts.rst:1423 msgid "" "The order in which attributes are defined in the class body is preserved in " "the new class's ``__dict__``. Note that this is reliable only right after " @@ -1564,30 +1574,30 @@ msgid "" "definition syntax." msgstr "" -#: reference/compound_stmts.rst:1425 +#: reference/compound_stmts.rst:1428 msgid "" "Class creation can be customized heavily using :ref:`metaclasses " "`." msgstr "" -#: reference/compound_stmts.rst:1430 +#: reference/compound_stmts.rst:1433 msgid "Classes can also be decorated: just like when decorating functions, ::" msgstr "" -#: reference/compound_stmts.rst:1441 +#: reference/compound_stmts.rst:1444 msgid "" "The evaluation rules for the decorator expressions are the same as for " "function decorators. The result is then bound to the class name." msgstr "" -#: reference/compound_stmts.rst:1444 +#: reference/compound_stmts.rst:1447 msgid "" "Classes may be decorated with any valid :token:`~python-grammar:" "assignment_expression`. Previously, the grammar was much more restrictive; " "see :pep:`614` for details." msgstr "" -#: reference/compound_stmts.rst:1449 +#: reference/compound_stmts.rst:1452 msgid "" "A list of :ref:`type parameters ` may be given in square " "brackets immediately after the class's name. This indicates to static type " @@ -1596,7 +1606,7 @@ msgid "" "classes` for more." msgstr "" -#: reference/compound_stmts.rst:1458 +#: reference/compound_stmts.rst:1461 msgid "" "**Programmer's note:** Variables defined in the class definition are class " "attributes; they are shared by instances. Instance attributes can be set in " @@ -1609,35 +1619,35 @@ msgid "" "implementation details." msgstr "" -#: reference/compound_stmts.rst:1473 +#: reference/compound_stmts.rst:1476 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/compound_stmts.rst:1471 +#: reference/compound_stmts.rst:1474 msgid "" "The proposal that changed the declaration of metaclasses to the current " "syntax, and the semantics for how classes with metaclasses are constructed." msgstr "" -#: reference/compound_stmts.rst:1476 +#: reference/compound_stmts.rst:1479 msgid ":pep:`3129` - Class Decorators" msgstr "" -#: reference/compound_stmts.rst:1476 +#: reference/compound_stmts.rst:1479 msgid "" "The proposal that added class decorators. Function and method decorators " "were introduced in :pep:`318`." msgstr "" -#: reference/compound_stmts.rst:1483 +#: reference/compound_stmts.rst:1486 msgid "Coroutines" msgstr "" -#: reference/compound_stmts.rst:1491 +#: reference/compound_stmts.rst:1494 msgid "Coroutine function definition" msgstr "" -#: reference/compound_stmts.rst:1501 +#: reference/compound_stmts.rst:1504 msgid "" "Execution of Python coroutines can be suspended and resumed at many points " "(see :term:`coroutine`). :keyword:`await` expressions, :keyword:`async for` " @@ -1645,104 +1655,104 @@ msgid "" "function." msgstr "" -#: reference/compound_stmts.rst:1505 +#: reference/compound_stmts.rst:1508 msgid "" "Functions defined with ``async def`` syntax are always coroutine functions, " "even if they do not contain ``await`` or ``async`` keywords." msgstr "" -#: reference/compound_stmts.rst:1508 +#: reference/compound_stmts.rst:1511 msgid "" "It is a :exc:`SyntaxError` to use a ``yield from`` expression inside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1511 +#: reference/compound_stmts.rst:1514 msgid "An example of a coroutine function::" msgstr "" -#: reference/compound_stmts.rst:1517 +#: reference/compound_stmts.rst:1520 msgid "" "``await`` and ``async`` are now keywords; previously they were only treated " "as such inside the body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1525 +#: reference/compound_stmts.rst:1528 msgid "The :keyword:`!async for` statement" msgstr "" -#: reference/compound_stmts.rst:1530 +#: reference/compound_stmts.rst:1533 msgid "" "An :term:`asynchronous iterable` provides an ``__aiter__`` method that " "directly returns an :term:`asynchronous iterator`, which can call " "asynchronous code in its ``__anext__`` method." msgstr "" -#: reference/compound_stmts.rst:1534 +#: reference/compound_stmts.rst:1537 msgid "" "The ``async for`` statement allows convenient iteration over asynchronous " "iterables." msgstr "" -#: reference/compound_stmts.rst:1544 +#: reference/compound_stmts.rst:1547 msgid "Is semantically equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1560 +#: reference/compound_stmts.rst:1563 msgid "" "See also :meth:`~object.__aiter__` and :meth:`~object.__anext__` for details." msgstr "" -#: reference/compound_stmts.rst:1562 +#: reference/compound_stmts.rst:1565 msgid "" "It is a :exc:`SyntaxError` to use an ``async for`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1570 +#: reference/compound_stmts.rst:1573 msgid "The :keyword:`!async with` statement" msgstr "" -#: reference/compound_stmts.rst:1575 +#: reference/compound_stmts.rst:1578 msgid "" "An :term:`asynchronous context manager` is a :term:`context manager` that is " "able to suspend execution in its *enter* and *exit* methods." msgstr "" -#: reference/compound_stmts.rst:1602 +#: reference/compound_stmts.rst:1605 msgid "" "See also :meth:`~object.__aenter__` and :meth:`~object.__aexit__` for " "details." msgstr "" -#: reference/compound_stmts.rst:1604 +#: reference/compound_stmts.rst:1607 msgid "" "It is a :exc:`SyntaxError` to use an ``async with`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1610 +#: reference/compound_stmts.rst:1613 msgid ":pep:`492` - Coroutines with async and await syntax" msgstr "" -#: reference/compound_stmts.rst:1610 +#: reference/compound_stmts.rst:1613 msgid "" "The proposal that made coroutines a proper standalone concept in Python, and " "added supporting syntax." msgstr "" -#: reference/compound_stmts.rst:1616 +#: reference/compound_stmts.rst:1619 msgid "Type parameter lists" msgstr "" -#: reference/compound_stmts.rst:1630 +#: reference/compound_stmts.rst:1633 msgid "" ":ref:`Functions ` (including :ref:`coroutines `), :ref:" "`classes ` and :ref:`type aliases ` may contain a type " "parameter list::" msgstr "" -#: reference/compound_stmts.rst:1649 +#: reference/compound_stmts.rst:1652 msgid "" "Semantically, this indicates that the function, class, or type alias is " "generic over a type variable. This information is primarily used by static " @@ -1750,7 +1760,7 @@ msgid "" "generic counterparts." msgstr "" -#: reference/compound_stmts.rst:1654 +#: reference/compound_stmts.rst:1657 msgid "" "Type parameters are declared in square brackets (``[]``) immediately after " "the name of the function, class, or type alias. The type parameters are " @@ -1762,36 +1772,36 @@ msgid "" "wraps the creation of the generic object." msgstr "" -#: reference/compound_stmts.rst:1663 +#: reference/compound_stmts.rst:1666 msgid "" "Generic functions, classes, and type aliases have a :attr:`!__type_params__` " "attribute listing their type parameters." msgstr "" -#: reference/compound_stmts.rst:1666 +#: reference/compound_stmts.rst:1669 msgid "Type parameters come in three kinds:" msgstr "" -#: reference/compound_stmts.rst:1668 +#: reference/compound_stmts.rst:1671 msgid "" ":data:`typing.TypeVar`, introduced by a plain name (e.g., ``T``). " "Semantically, this represents a single type to a type checker." msgstr "" -#: reference/compound_stmts.rst:1670 +#: reference/compound_stmts.rst:1673 msgid "" ":data:`typing.TypeVarTuple`, introduced by a name prefixed with a single " "asterisk (e.g., ``*Ts``). Semantically, this stands for a tuple of any " "number of types." msgstr "" -#: reference/compound_stmts.rst:1673 +#: reference/compound_stmts.rst:1676 msgid "" ":data:`typing.ParamSpec`, introduced by a name prefixed with two asterisks " "(e.g., ``**P``). Semantically, this stands for the parameters of a callable." msgstr "" -#: reference/compound_stmts.rst:1676 +#: reference/compound_stmts.rst:1679 msgid "" ":data:`typing.TypeVar` declarations can define *bounds* and *constraints* " "with a colon (``:``) followed by an expression. A single expression after " @@ -1803,7 +1813,7 @@ msgid "" "variables can only take on one of the types in the list of constraints." msgstr "" -#: reference/compound_stmts.rst:1685 +#: reference/compound_stmts.rst:1688 msgid "" "For :data:`!typing.TypeVar`\\ s declared using the type parameter list " "syntax, the bound and constraints are not evaluated when the generic object " @@ -1813,31 +1823,31 @@ msgid "" "`." msgstr "" -#: reference/compound_stmts.rst:1691 +#: reference/compound_stmts.rst:1694 msgid "" ":data:`typing.TypeVarTuple`\\ s and :data:`typing.ParamSpec`\\ s cannot have " "bounds or constraints." msgstr "" -#: reference/compound_stmts.rst:1694 +#: reference/compound_stmts.rst:1697 msgid "" "The following example indicates the full set of allowed type parameter " "declarations::" msgstr "" -#: reference/compound_stmts.rst:1712 +#: reference/compound_stmts.rst:1715 msgid "Generic functions" msgstr "" -#: reference/compound_stmts.rst:1714 +#: reference/compound_stmts.rst:1717 msgid "Generic functions are declared as follows::" msgstr "" -#: reference/compound_stmts.rst:1718 reference/compound_stmts.rst:1778 +#: reference/compound_stmts.rst:1721 reference/compound_stmts.rst:1781 msgid "This syntax is equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1727 +#: reference/compound_stmts.rst:1730 msgid "" "Here ``annotation-def`` indicates an :ref:`annotation scope `, which is not actually bound to any name at runtime. (One other " @@ -1846,47 +1856,47 @@ msgid "" "data:`typing.TypeVar` directly.)" msgstr "" -#: reference/compound_stmts.rst:1733 +#: reference/compound_stmts.rst:1736 msgid "" "The annotations of generic functions are evaluated within the annotation " "scope used for declaring the type parameters, but the function's defaults " "and decorators are not." msgstr "" -#: reference/compound_stmts.rst:1737 +#: reference/compound_stmts.rst:1740 msgid "" "The following example illustrates the scoping rules for these cases, as well " "as for additional flavors of type parameters::" msgstr "" -#: reference/compound_stmts.rst:1744 +#: reference/compound_stmts.rst:1747 msgid "" "Except for the :ref:`lazy evaluation ` of the :class:" "`~typing.TypeVar` bound, this is equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1766 +#: reference/compound_stmts.rst:1769 msgid "" "The capitalized names like ``DEFAULT_OF_arg`` are not actually bound at " "runtime." msgstr "" -#: reference/compound_stmts.rst:1772 +#: reference/compound_stmts.rst:1775 msgid "Generic classes" msgstr "" -#: reference/compound_stmts.rst:1774 +#: reference/compound_stmts.rst:1777 msgid "Generic classes are declared as follows::" msgstr "" -#: reference/compound_stmts.rst:1788 +#: reference/compound_stmts.rst:1791 msgid "" "Here again ``annotation-def`` (not a real keyword) indicates an :ref:" "`annotation scope `, and the name ``TYPE_PARAMS_OF_Bag`` " "is not actually bound at runtime." msgstr "" -#: reference/compound_stmts.rst:1792 +#: reference/compound_stmts.rst:1795 msgid "" "Generic classes implicitly inherit from :data:`typing.Generic`. The base " "classes and keyword arguments of generic classes are evaluated within the " @@ -1894,124 +1904,124 @@ msgid "" "that scope. This is illustrated by this example::" msgstr "" -#: reference/compound_stmts.rst:1801 +#: reference/compound_stmts.rst:1804 msgid "This is equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1814 +#: reference/compound_stmts.rst:1817 msgid "Generic type aliases" msgstr "" -#: reference/compound_stmts.rst:1816 +#: reference/compound_stmts.rst:1819 msgid "" "The :keyword:`type` statement can also be used to create a generic type " "alias::" msgstr "" -#: reference/compound_stmts.rst:1820 +#: reference/compound_stmts.rst:1823 msgid "" "Except for the :ref:`lazy evaluation ` of the value, this " "is equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1832 +#: reference/compound_stmts.rst:1835 msgid "" "Here, ``annotation-def`` (not a real keyword) indicates an :ref:`annotation " "scope `. The capitalized names like " "``TYPE_PARAMS_OF_ListOrSet`` are not actually bound at runtime." msgstr "" -#: reference/compound_stmts.rst:1837 +#: reference/compound_stmts.rst:1840 msgid "Footnotes" msgstr "" -#: reference/compound_stmts.rst:1838 +#: reference/compound_stmts.rst:1841 msgid "" "The exception is propagated to the invocation stack unless there is a :" "keyword:`finally` clause which happens to raise another exception. That new " "exception causes the old one to be lost." msgstr "" -#: reference/compound_stmts.rst:1842 +#: reference/compound_stmts.rst:1845 msgid "In pattern matching, a sequence is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1844 +#: reference/compound_stmts.rst:1847 msgid "a class that inherits from :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1845 +#: reference/compound_stmts.rst:1848 msgid "" "a Python class that has been registered as :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1846 +#: reference/compound_stmts.rst:1849 msgid "" "a builtin class that has its (CPython) :c:macro:`Py_TPFLAGS_SEQUENCE` bit set" msgstr "" -#: reference/compound_stmts.rst:1847 reference/compound_stmts.rst:1866 +#: reference/compound_stmts.rst:1850 reference/compound_stmts.rst:1869 msgid "a class that inherits from any of the above" msgstr "" -#: reference/compound_stmts.rst:1849 +#: reference/compound_stmts.rst:1852 msgid "The following standard library classes are sequences:" msgstr "" -#: reference/compound_stmts.rst:1851 +#: reference/compound_stmts.rst:1854 msgid ":class:`array.array`" msgstr "" -#: reference/compound_stmts.rst:1852 +#: reference/compound_stmts.rst:1855 msgid ":class:`collections.deque`" msgstr "" -#: reference/compound_stmts.rst:1854 +#: reference/compound_stmts.rst:1857 msgid ":class:`memoryview`" msgstr "" -#: reference/compound_stmts.rst:1855 +#: reference/compound_stmts.rst:1858 msgid ":class:`range`" msgstr "" -#: reference/compound_stmts.rst:1858 +#: reference/compound_stmts.rst:1861 msgid "" "Subject values of type ``str``, ``bytes``, and ``bytearray`` do not match " "sequence patterns." msgstr "" -#: reference/compound_stmts.rst:1861 +#: reference/compound_stmts.rst:1864 msgid "In pattern matching, a mapping is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1863 +#: reference/compound_stmts.rst:1866 msgid "a class that inherits from :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1864 +#: reference/compound_stmts.rst:1867 msgid "" "a Python class that has been registered as :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1865 +#: reference/compound_stmts.rst:1868 msgid "" "a builtin class that has its (CPython) :c:macro:`Py_TPFLAGS_MAPPING` bit set" msgstr "" -#: reference/compound_stmts.rst:1868 +#: reference/compound_stmts.rst:1871 msgid "" "The standard library classes :class:`dict` and :class:`types." "MappingProxyType` are mappings." msgstr "" -#: reference/compound_stmts.rst:1871 +#: reference/compound_stmts.rst:1874 msgid "" "A string literal appearing as the first statement in the function body is " "transformed into the function's :attr:`~function.__doc__` attribute and " "therefore the function's :term:`docstring`." msgstr "" -#: reference/compound_stmts.rst:1875 +#: reference/compound_stmts.rst:1878 msgid "" "A string literal appearing as the first statement in the class body is " "transformed into the namespace's ``__doc__`` item and therefore the class's :" @@ -2027,9 +2037,9 @@ msgstr "" #: reference/compound_stmts.rst:169 reference/compound_stmts.rst:207 #: reference/compound_stmts.rst:389 reference/compound_stmts.rst:436 #: reference/compound_stmts.rst:470 reference/compound_stmts.rst:587 -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 -#: reference/compound_stmts.rst:1487 reference/compound_stmts.rst:1521 -#: reference/compound_stmts.rst:1566 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1380 +#: reference/compound_stmts.rst:1490 reference/compound_stmts.rst:1524 +#: reference/compound_stmts.rst:1569 msgid "statement" msgstr "" @@ -2071,7 +2081,7 @@ msgstr "" #: reference/compound_stmts.rst:144 reference/compound_stmts.rst:207 #: reference/compound_stmts.rst:328 reference/compound_stmts.rst:389 #: reference/compound_stmts.rst:407 reference/compound_stmts.rst:470 -#: reference/compound_stmts.rst:587 reference/compound_stmts.rst:1497 +#: reference/compound_stmts.rst:587 reference/compound_stmts.rst:1500 msgid "keyword" msgstr "" @@ -2083,14 +2093,14 @@ msgstr "" #: reference/compound_stmts.rst:144 reference/compound_stmts.rst:207 #: reference/compound_stmts.rst:470 reference/compound_stmts.rst:587 #: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1321 -#: reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1380 msgid ": (colon)" msgstr "" #: reference/compound_stmts.rst:86 reference/compound_stmts.rst:111 #: reference/compound_stmts.rst:144 reference/compound_stmts.rst:207 #: reference/compound_stmts.rst:470 reference/compound_stmts.rst:587 -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1380 msgid "compound statement" msgstr "" @@ -2129,7 +2139,7 @@ msgid "list" msgstr "" #: reference/compound_stmts.rst:144 reference/compound_stmts.rst:299 -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1380 msgid "object" msgstr "" @@ -2195,7 +2205,7 @@ msgid "with statement" msgstr "" #: reference/compound_stmts.rst:470 reference/compound_stmts.rst:1194 -#: reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1380 msgid ", (comma)" msgstr "" @@ -2253,15 +2263,15 @@ msgstr "" msgid "function" msgstr "" -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1380 msgid "definition" msgstr "" -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1380 msgid "name" msgstr "" -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1380 msgid "binding" msgstr "" @@ -2269,7 +2279,7 @@ msgstr "" msgid "user-defined function" msgstr "" -#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1380 msgid "() (parentheses)" msgstr "" @@ -2277,7 +2287,7 @@ msgstr "" msgid "parameter list" msgstr "" -#: reference/compound_stmts.rst:1235 reference/compound_stmts.rst:1427 +#: reference/compound_stmts.rst:1235 reference/compound_stmts.rst:1430 msgid "@ (at)" msgstr "" @@ -2329,54 +2339,54 @@ msgstr "" msgid "expression" msgstr "" -#: reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1380 msgid "class" msgstr "" -#: reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1380 msgid "execution" msgstr "" -#: reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1380 msgid "frame" msgstr "" -#: reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1380 msgid "inheritance" msgstr "" -#: reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1380 msgid "docstring" msgstr "" -#: reference/compound_stmts.rst:1377 reference/compound_stmts.rst:1427 +#: reference/compound_stmts.rst:1380 reference/compound_stmts.rst:1430 msgid "class definition" msgstr "" -#: reference/compound_stmts.rst:1377 +#: reference/compound_stmts.rst:1380 msgid "expression list" msgstr "" -#: reference/compound_stmts.rst:1487 +#: reference/compound_stmts.rst:1490 msgid "async def" msgstr "" -#: reference/compound_stmts.rst:1497 +#: reference/compound_stmts.rst:1500 msgid "async" msgstr "" -#: reference/compound_stmts.rst:1497 +#: reference/compound_stmts.rst:1500 msgid "await" msgstr "" -#: reference/compound_stmts.rst:1521 +#: reference/compound_stmts.rst:1524 msgid "async for" msgstr "" -#: reference/compound_stmts.rst:1566 +#: reference/compound_stmts.rst:1569 msgid "async with" msgstr "" -#: reference/compound_stmts.rst:1620 +#: reference/compound_stmts.rst:1623 msgid "type parameters" msgstr "" diff --git a/reference/datamodel.po b/reference/datamodel.po index d2f6bdc6d..8092bca82 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -596,7 +596,7 @@ msgid "" "containing the same number of items as the function's formal parameter list." msgstr "" -#: reference/datamodel.rst:1127 reference/datamodel.rst:1279 +#: reference/datamodel.rst:1127 reference/datamodel.rst:1314 msgid "Special read-only attributes" msgstr "" @@ -627,7 +627,7 @@ msgid "" "the value of the cell, as well as set the value." msgstr "" -#: reference/datamodel.rst:1316 +#: reference/datamodel.rst:1351 msgid "Special writable attributes" msgstr "" @@ -729,7 +729,7 @@ msgid "" "callable object (normally a user-defined function)." msgstr "" -#: reference/datamodel.rst:1407 +#: reference/datamodel.rst:1442 msgid "Special read-only attributes:" msgstr "" @@ -1352,7 +1352,7 @@ msgid "" msgstr "" #: reference/datamodel.rst:1223 -msgid "The :meth:`!co_positions` method" +msgid "Methods on code objects" msgstr "" #: reference/datamodel.rst:1227 @@ -1409,73 +1409,139 @@ msgid "" "environment variable can be used." msgstr "" -#: reference/datamodel.rst:1262 -msgid "Frame objects" +#: reference/datamodel.rst:1260 +msgid "" +"Returns an iterator that yields information about successive ranges of :term:" +"`bytecode`\\s. Each item yielded is a ``(start, end, lineno)`` :class:" +"`tuple`:" +msgstr "" + +#: reference/datamodel.rst:1264 +msgid "" +"``start`` (an :class:`int`) represents the offset (inclusive) of the start " +"of the :term:`bytecode` range" msgstr "" #: reference/datamodel.rst:1266 msgid "" +"``end`` (an :class:`int`) represents the offset (inclusive) of the end of " +"the :term:`bytecode` range" +msgstr "" + +#: reference/datamodel.rst:1268 +msgid "" +"``lineno`` is an :class:`int` representing the line number of the :term:" +"`bytecode` range, or ``None`` if the bytecodes in the given range have no " +"line number" +msgstr "" + +#: reference/datamodel.rst:1272 +msgid "The items yielded generated will have the following properties:" +msgstr "" + +#: reference/datamodel.rst:1274 +msgid "The first range yielded will have a ``start`` of 0." +msgstr "" + +#: reference/datamodel.rst:1275 +msgid "" +"The ``(start, end)`` ranges will be non-decreasing and consecutive. That is, " +"for any pair of :class:`tuple`\\s, the ``start`` of the second will be equal " +"to the ``end`` of the first." +msgstr "" + +#: reference/datamodel.rst:1278 +msgid "No range will be backwards: ``end >= start`` for all triples." +msgstr "" + +#: reference/datamodel.rst:1279 +msgid "" +"The :class:`tuple` yielded will have ``end`` equal to the size of the :term:" +"`bytecode`." +msgstr "" + +#: reference/datamodel.rst:1282 +msgid "" +"Zero-width ranges, where ``start == end``, are allowed. Zero-width ranges " +"are used for lines that are present in the source code, but have been " +"eliminated by the :term:`bytecode` compiler." +msgstr "" + +#: reference/datamodel.rst:1290 +msgid ":pep:`626` - Precise line numbers for debugging and other tools." +msgstr "" + +#: reference/datamodel.rst:1291 +msgid "The PEP that introduced the :meth:`!co_lines` method." +msgstr "" + +#: reference/datamodel.rst:1297 +msgid "Frame objects" +msgstr "" + +#: reference/datamodel.rst:1301 +msgid "" "Frame objects represent execution frames. They may occur in :ref:`traceback " "objects `, and are also passed to registered trace " "functions." msgstr "" -#: reference/datamodel.rst:1284 +#: reference/datamodel.rst:1319 msgid "" "Points to the previous stack frame (towards the caller), or ``None`` if this " "is the bottom stack frame" msgstr "" -#: reference/datamodel.rst:1288 +#: reference/datamodel.rst:1323 msgid "" "The :ref:`code object ` being executed in this frame. " "Accessing this attribute raises an :ref:`auditing event ` ``object." "__getattr__`` with arguments ``obj`` and ``\"f_code\"``." msgstr "" -#: reference/datamodel.rst:1293 +#: reference/datamodel.rst:1328 msgid "" "The dictionary used by the frame to look up :ref:`local variables `" msgstr "" -#: reference/datamodel.rst:1297 +#: reference/datamodel.rst:1332 msgid "" "The dictionary used by the frame to look up :ref:`global variables `" msgstr "" -#: reference/datamodel.rst:1301 +#: reference/datamodel.rst:1336 msgid "" "The dictionary used by the frame to look up :ref:`built-in (intrinsic) names " "`" msgstr "" -#: reference/datamodel.rst:1305 +#: reference/datamodel.rst:1340 msgid "" "The \"precise instruction\" of the frame object (this is an index into the :" "term:`bytecode` string of the :ref:`code object `)" msgstr "" -#: reference/datamodel.rst:1321 +#: reference/datamodel.rst:1356 msgid "" "If not ``None``, this is a function called for various events during code " "execution (this is used by debuggers). Normally an event is triggered for " "each new source line (see :attr:`~frame.f_trace_lines`)." msgstr "" -#: reference/datamodel.rst:1326 +#: reference/datamodel.rst:1361 msgid "" "Set this attribute to :const:`False` to disable triggering a tracing event " "for each source line." msgstr "" -#: reference/datamodel.rst:1330 +#: reference/datamodel.rst:1365 msgid "" "Set this attribute to :const:`True` to allow per-opcode events to be " "requested. Note that this may lead to undefined interpreter behaviour if " "exceptions raised by the trace function escape to the function being traced." msgstr "" -#: reference/datamodel.rst:1336 +#: reference/datamodel.rst:1371 msgid "" "The current line number of the frame -- writing to this from within a trace " "function jumps to the given line (only for the bottom-most frame). A " @@ -1483,15 +1549,15 @@ msgid "" "this attribute." msgstr "" -#: reference/datamodel.rst:1342 +#: reference/datamodel.rst:1377 msgid "Frame object methods" msgstr "" -#: reference/datamodel.rst:1344 +#: reference/datamodel.rst:1379 msgid "Frame objects support one method:" msgstr "" -#: reference/datamodel.rst:1348 +#: reference/datamodel.rst:1383 msgid "" "This method clears all references to :ref:`local variables ` held by " "the frame. Also, if the frame belonged to a :term:`generator`, the " @@ -1500,26 +1566,26 @@ msgid "" "and storing its :ref:`traceback ` for later use)." msgstr "" -#: reference/datamodel.rst:1354 +#: reference/datamodel.rst:1389 msgid ":exc:`RuntimeError` is raised if the frame is currently executing." msgstr "" -#: reference/datamodel.rst:1362 +#: reference/datamodel.rst:1397 msgid "Traceback objects" msgstr "" -#: reference/datamodel.rst:1375 +#: reference/datamodel.rst:1410 msgid "" "Traceback objects represent the stack trace of an :ref:`exception `. A traceback object is implicitly created when an exception occurs, " "and may also be explicitly created by calling :class:`types.TracebackType`." msgstr "" -#: reference/datamodel.rst:1380 +#: reference/datamodel.rst:1415 msgid "Traceback objects can now be explicitly instantiated from Python code." msgstr "" -#: reference/datamodel.rst:1383 +#: reference/datamodel.rst:1418 msgid "" "For implicitly created tracebacks, when the search for an exception handler " "unwinds the execution stack, at each unwound level a traceback object is " @@ -1530,7 +1596,7 @@ msgid "" "the caught exception." msgstr "" -#: reference/datamodel.rst:1392 +#: reference/datamodel.rst:1427 msgid "" "When the program contains no suitable handler, the stack trace is written " "(nicely formatted) to the standard error stream; if the interpreter is " @@ -1538,33 +1604,33 @@ msgid "" "last_traceback`." msgstr "" -#: reference/datamodel.rst:1397 +#: reference/datamodel.rst:1432 msgid "" "For explicitly created tracebacks, it is up to the creator of the traceback " "to determine how the :attr:`~traceback.tb_next` attributes should be linked " "to form a full stack trace." msgstr "" -#: reference/datamodel.rst:1412 +#: reference/datamodel.rst:1447 msgid "" "Points to the execution :ref:`frame ` of the current level." msgstr "" -#: reference/datamodel.rst:1415 +#: reference/datamodel.rst:1450 msgid "" "Accessing this attribute raises an :ref:`auditing event ` ``object." "__getattr__`` with arguments ``obj`` and ``\"tb_frame\"``." msgstr "" -#: reference/datamodel.rst:1420 +#: reference/datamodel.rst:1455 msgid "Gives the line number where the exception occurred" msgstr "" -#: reference/datamodel.rst:1423 +#: reference/datamodel.rst:1458 msgid "Indicates the \"precise instruction\"." msgstr "" -#: reference/datamodel.rst:1425 +#: reference/datamodel.rst:1460 msgid "" "The line number and last instruction in the traceback may differ from the " "line number of its :ref:`frame object ` if the exception " @@ -1572,39 +1638,39 @@ msgid "" "with a :keyword:`finally` clause." msgstr "" -#: reference/datamodel.rst:1436 +#: reference/datamodel.rst:1471 msgid "" "The special writable attribute :attr:`!tb_next` is the next level in the " "stack trace (towards the frame where the exception occurred), or ``None`` if " "there is no next level." msgstr "" -#: reference/datamodel.rst:1440 +#: reference/datamodel.rst:1475 msgid "This attribute is now writable" msgstr "" -#: reference/datamodel.rst:1445 +#: reference/datamodel.rst:1480 msgid "Slice objects" msgstr "" -#: reference/datamodel.rst:1449 +#: reference/datamodel.rst:1484 msgid "" "Slice objects are used to represent slices for :meth:`~object.__getitem__` " "methods. They are also created by the built-in :func:`slice` function." msgstr "" -#: reference/datamodel.rst:1458 +#: reference/datamodel.rst:1493 msgid "" "Special read-only attributes: :attr:`~slice.start` is the lower bound; :attr:" "`~slice.stop` is the upper bound; :attr:`~slice.step` is the step value; " "each is ``None`` if omitted. These attributes can have any type." msgstr "" -#: reference/datamodel.rst:1462 +#: reference/datamodel.rst:1497 msgid "Slice objects support one method:" msgstr "" -#: reference/datamodel.rst:1466 +#: reference/datamodel.rst:1501 msgid "" "This method takes a single integer argument *length* and computes " "information about the slice that the slice object would describe if applied " @@ -1614,11 +1680,11 @@ msgid "" "a manner consistent with regular slices." msgstr "" -#: reference/datamodel.rst:1475 +#: reference/datamodel.rst:1510 msgid "Static method objects" msgstr "" -#: reference/datamodel.rst:1477 +#: reference/datamodel.rst:1512 msgid "" "Static method objects provide a way of defeating the transformation of " "function objects to method objects described above. A static method object " @@ -1629,11 +1695,11 @@ msgid "" "method objects are created by the built-in :func:`staticmethod` constructor." msgstr "" -#: reference/datamodel.rst:1487 +#: reference/datamodel.rst:1522 msgid "Class method objects" msgstr "" -#: reference/datamodel.rst:1489 +#: reference/datamodel.rst:1524 msgid "" "A class method object, like a static method object, is a wrapper around " "another object that alters the way in which that object is retrieved from " @@ -1642,11 +1708,11 @@ msgid "" "objects are created by the built-in :func:`classmethod` constructor." msgstr "" -#: reference/datamodel.rst:1499 +#: reference/datamodel.rst:1534 msgid "Special method names" msgstr "" -#: reference/datamodel.rst:1505 +#: reference/datamodel.rst:1540 msgid "" "A class can implement certain operations that are invoked by special syntax " "(such as arithmetic operations or subscripting and slicing) by defining " @@ -1660,7 +1726,7 @@ msgid "" "`TypeError`)." msgstr "" -#: reference/datamodel.rst:1516 +#: reference/datamodel.rst:1551 msgid "" "Setting a special method to ``None`` indicates that the corresponding " "operation is not available. For example, if a class sets :meth:`~object." @@ -1669,7 +1735,7 @@ msgid "" "`~object.__getitem__`). [#]_" msgstr "" -#: reference/datamodel.rst:1522 +#: reference/datamodel.rst:1557 msgid "" "When implementing a class that emulates any built-in type, it is important " "that the emulation only be implemented to the degree that it makes sense for " @@ -1679,11 +1745,11 @@ msgid "" "the W3C's Document Object Model.)" msgstr "" -#: reference/datamodel.rst:1533 +#: reference/datamodel.rst:1568 msgid "Basic customization" msgstr "" -#: reference/datamodel.rst:1539 +#: reference/datamodel.rst:1574 msgid "" "Called to create a new instance of class *cls*. :meth:`__new__` is a static " "method (special-cased so you need not declare it as such) that takes the " @@ -1693,7 +1759,7 @@ msgid "" "new object instance (usually an instance of *cls*)." msgstr "" -#: reference/datamodel.rst:1546 +#: reference/datamodel.rst:1581 msgid "" "Typical implementations create a new instance of the class by invoking the " "superclass's :meth:`__new__` method using ``super().__new__(cls[, ...])`` " @@ -1701,7 +1767,7 @@ msgid "" "necessary before returning it." msgstr "" -#: reference/datamodel.rst:1551 +#: reference/datamodel.rst:1586 msgid "" "If :meth:`__new__` is invoked during object construction and it returns an " "instance of *cls*, then the new instance’s :meth:`__init__` method will be " @@ -1710,13 +1776,13 @@ msgid "" "constructor." msgstr "" -#: reference/datamodel.rst:1556 +#: reference/datamodel.rst:1591 msgid "" "If :meth:`__new__` does not return an instance of *cls*, then the new " "instance's :meth:`__init__` method will not be invoked." msgstr "" -#: reference/datamodel.rst:1559 +#: reference/datamodel.rst:1594 msgid "" ":meth:`__new__` is intended mainly to allow subclasses of immutable types " "(like int, str, or tuple) to customize instance creation. It is also " @@ -1724,7 +1790,7 @@ msgid "" "creation." msgstr "" -#: reference/datamodel.rst:1568 +#: reference/datamodel.rst:1603 msgid "" "Called after the instance has been created (by :meth:`__new__`), but before " "it is returned to the caller. The arguments are those passed to the class " @@ -1734,7 +1800,7 @@ msgid "" "example: ``super().__init__([args...])``." msgstr "" -#: reference/datamodel.rst:1575 +#: reference/datamodel.rst:1610 msgid "" "Because :meth:`__new__` and :meth:`__init__` work together in constructing " "objects (:meth:`__new__` to create it, and :meth:`__init__` to customize " @@ -1742,7 +1808,7 @@ msgid "" "will cause a :exc:`TypeError` to be raised at runtime." msgstr "" -#: reference/datamodel.rst:1588 +#: reference/datamodel.rst:1623 msgid "" "Called when the instance is about to be destroyed. This is also called a " "finalizer or (improperly) a destructor. If a base class has a :meth:" @@ -1751,7 +1817,7 @@ msgid "" "instance." msgstr "" -#: reference/datamodel.rst:1594 +#: reference/datamodel.rst:1629 msgid "" "It is possible (though not recommended!) for the :meth:`__del__` method to " "postpone destruction of the instance by creating a new reference to it. " @@ -1761,20 +1827,20 @@ msgid "" "it once." msgstr "" -#: reference/datamodel.rst:1601 +#: reference/datamodel.rst:1636 msgid "" "It is not guaranteed that :meth:`__del__` methods are called for objects " "that still exist when the interpreter exits." msgstr "" -#: reference/datamodel.rst:1606 +#: reference/datamodel.rst:1641 msgid "" "``del x`` doesn't directly call ``x.__del__()`` --- the former decrements " "the reference count for ``x`` by one, and the latter is only called when " "``x``'s reference count reaches zero." msgstr "" -#: reference/datamodel.rst:1611 +#: reference/datamodel.rst:1646 msgid "" "It is possible for a reference cycle to prevent the reference count of an " "object from going to zero. In this case, the cycle will be later detected " @@ -1785,18 +1851,18 @@ msgid "" "caught in the traceback." msgstr "" -#: reference/datamodel.rst:1621 +#: reference/datamodel.rst:1656 msgid "Documentation for the :mod:`gc` module." msgstr "" -#: reference/datamodel.rst:1625 +#: reference/datamodel.rst:1660 msgid "" "Due to the precarious circumstances under which :meth:`__del__` methods are " "invoked, exceptions that occur during their execution are ignored, and a " "warning is printed to ``sys.stderr`` instead. In particular:" msgstr "" -#: reference/datamodel.rst:1629 +#: reference/datamodel.rst:1664 msgid "" ":meth:`__del__` can be invoked when arbitrary code is being executed, " "including from any arbitrary thread. If :meth:`__del__` needs to take a " @@ -1805,7 +1871,7 @@ msgid "" "`__del__`." msgstr "" -#: reference/datamodel.rst:1635 +#: reference/datamodel.rst:1670 msgid "" ":meth:`__del__` can be executed during interpreter shutdown. As a " "consequence, the global variables it needs to access (including other " @@ -1816,7 +1882,7 @@ msgid "" "still available at the time when the :meth:`__del__` method is called." msgstr "" -#: reference/datamodel.rst:1650 +#: reference/datamodel.rst:1685 msgid "" "Called by the :func:`repr` built-in function to compute the \"official\" " "string representation of an object. If at all possible, this should look " @@ -1828,13 +1894,13 @@ msgid "" "an \"informal\" string representation of instances of that class is required." msgstr "" -#: reference/datamodel.rst:1659 +#: reference/datamodel.rst:1694 msgid "" "This is typically used for debugging, so it is important that the " "representation is information-rich and unambiguous." msgstr "" -#: reference/datamodel.rst:1670 +#: reference/datamodel.rst:1705 msgid "" "Called by :func:`str(object) ` and the built-in functions :func:" "`format` and :func:`print` to compute the \"informal\" or nicely printable " @@ -1842,26 +1908,26 @@ msgid "" "` object." msgstr "" -#: reference/datamodel.rst:1675 +#: reference/datamodel.rst:1710 msgid "" "This method differs from :meth:`object.__repr__` in that there is no " "expectation that :meth:`__str__` return a valid Python expression: a more " "convenient or concise representation can be used." msgstr "" -#: reference/datamodel.rst:1679 +#: reference/datamodel.rst:1714 msgid "" "The default implementation defined by the built-in type :class:`object` " "calls :meth:`object.__repr__`." msgstr "" -#: reference/datamodel.rst:1689 +#: reference/datamodel.rst:1724 msgid "" "Called by :ref:`bytes ` to compute a byte-string representation " "of an object. This should return a :class:`bytes` object." msgstr "" -#: reference/datamodel.rst:1700 +#: reference/datamodel.rst:1735 msgid "" "Called by the :func:`format` built-in function, and by extension, evaluation " "of :ref:`formatted string literals ` and the :meth:`str.format` " @@ -1873,28 +1939,28 @@ msgid "" "formatting option syntax." msgstr "" -#: reference/datamodel.rst:1710 +#: reference/datamodel.rst:1745 msgid "" "See :ref:`formatspec` for a description of the standard formatting syntax." msgstr "" -#: reference/datamodel.rst:1712 +#: reference/datamodel.rst:1747 msgid "The return value must be a string object." msgstr "" -#: reference/datamodel.rst:1714 +#: reference/datamodel.rst:1749 msgid "" "The __format__ method of ``object`` itself raises a :exc:`TypeError` if " "passed any non-empty string." msgstr "" -#: reference/datamodel.rst:1718 +#: reference/datamodel.rst:1753 msgid "" "``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than " "``format(str(x), '')``." msgstr "" -#: reference/datamodel.rst:1734 +#: reference/datamodel.rst:1769 msgid "" "These are the so-called \"rich comparison\" methods. The correspondence " "between operator symbols and method names is as follows: ``x.__hash__``." msgstr "" -#: reference/datamodel.rst:1823 +#: reference/datamodel.rst:1858 msgid "" "If a class that does not override :meth:`__eq__` wishes to suppress hash " "support, it should include ``__hash__ = None`` in the class definition. A " @@ -2013,7 +2079,7 @@ msgid "" "``isinstance(obj, collections.abc.Hashable)`` call." msgstr "" -#: reference/datamodel.rst:1832 +#: reference/datamodel.rst:1867 msgid "" "By default, the :meth:`__hash__` values of str and bytes objects are " "\"salted\" with an unpredictable random value. Although they remain " @@ -2021,7 +2087,7 @@ msgid "" "between repeated invocations of Python." msgstr "" -#: reference/datamodel.rst:1837 +#: reference/datamodel.rst:1872 msgid "" "This is intended to provide protection against a denial-of-service caused by " "carefully chosen inputs that exploit the worst case performance of a dict " @@ -2029,22 +2095,22 @@ msgid "" "ocert-2011-003.html for details." msgstr "" -#: reference/datamodel.rst:1842 +#: reference/datamodel.rst:1877 msgid "" "Changing hash values affects the iteration order of sets. Python has never " "made guarantees about this ordering (and it typically varies between 32-bit " "and 64-bit builds)." msgstr "" -#: reference/datamodel.rst:1846 +#: reference/datamodel.rst:1881 msgid "See also :envvar:`PYTHONHASHSEED`." msgstr "" -#: reference/datamodel.rst:1848 +#: reference/datamodel.rst:1883 msgid "Hash randomization is enabled by default." msgstr "" -#: reference/datamodel.rst:1856 +#: reference/datamodel.rst:1891 msgid "" "Called to implement truth value testing and the built-in operation " "``bool()``; should return ``False`` or ``True``. When this method is not " @@ -2053,18 +2119,18 @@ msgid "" "meth:`!__len__` nor :meth:`!__bool__`, all its instances are considered true." msgstr "" -#: reference/datamodel.rst:1867 +#: reference/datamodel.rst:1902 msgid "Customizing attribute access" msgstr "" -#: reference/datamodel.rst:1869 +#: reference/datamodel.rst:1904 msgid "" "The following methods can be defined to customize the meaning of attribute " "access (use of, assignment to, or deletion of ``x.name``) for class " "instances." msgstr "" -#: reference/datamodel.rst:1877 +#: reference/datamodel.rst:1912 msgid "" "Called when the default attribute access fails with an :exc:`AttributeError` " "(either :meth:`__getattribute__` raises an :exc:`AttributeError` because " @@ -2074,7 +2140,7 @@ msgid "" "attribute value or raise an :exc:`AttributeError` exception." msgstr "" -#: reference/datamodel.rst:1884 +#: reference/datamodel.rst:1919 msgid "" "Note that if the attribute is found through the normal mechanism, :meth:" "`__getattr__` is not called. (This is an intentional asymmetry between :" @@ -2087,7 +2153,7 @@ msgid "" "actually get total control over attribute access." msgstr "" -#: reference/datamodel.rst:1897 +#: reference/datamodel.rst:1932 msgid "" "Called unconditionally to implement attribute accesses for instances of the " "class. If the class also defines :meth:`__getattr__`, the latter will not be " @@ -2099,82 +2165,82 @@ msgid "" "example, ``object.__getattribute__(self, name)``." msgstr "" -#: reference/datamodel.rst:1908 +#: reference/datamodel.rst:1943 msgid "" "This method may still be bypassed when looking up special methods as the " "result of implicit invocation via language syntax or :ref:`built-in " "functions `. See :ref:`special-lookup`." msgstr "" -#: reference/datamodel.rst:1913 +#: reference/datamodel.rst:1948 msgid "" "Raises an :ref:`auditing event ` ``object.__getattr__`` with " "arguments ``obj``, ``name``." msgstr "" -#: reference/datamodel.rst:1915 +#: reference/datamodel.rst:1950 msgid "" "For certain sensitive attribute accesses, raises an :ref:`auditing event " "` ``object.__getattr__`` with arguments ``obj`` and ``name``." msgstr "" -#: reference/datamodel.rst:1922 +#: reference/datamodel.rst:1957 msgid "" "Called when an attribute assignment is attempted. This is called instead of " "the normal mechanism (i.e. store the value in the instance dictionary). " "*name* is the attribute name, *value* is the value to be assigned to it." msgstr "" -#: reference/datamodel.rst:1926 +#: reference/datamodel.rst:1961 msgid "" "If :meth:`__setattr__` wants to assign to an instance attribute, it should " "call the base class method with the same name, for example, ``object." "__setattr__(self, name, value)``." msgstr "" -#: reference/datamodel.rst:1930 +#: reference/datamodel.rst:1965 msgid "" "Raises an :ref:`auditing event ` ``object.__setattr__`` with " "arguments ``obj``, ``name``, ``value``." msgstr "" -#: reference/datamodel.rst:1932 +#: reference/datamodel.rst:1967 msgid "" "For certain sensitive attribute assignments, raises an :ref:`auditing event " "` ``object.__setattr__`` with arguments ``obj``, ``name``, " "``value``." msgstr "" -#: reference/datamodel.rst:1939 +#: reference/datamodel.rst:1974 msgid "" "Like :meth:`__setattr__` but for attribute deletion instead of assignment. " "This should only be implemented if ``del obj.name`` is meaningful for the " "object." msgstr "" -#: reference/datamodel.rst:1942 +#: reference/datamodel.rst:1977 msgid "" "Raises an :ref:`auditing event ` ``object.__delattr__`` with " "arguments ``obj``, ``name``." msgstr "" -#: reference/datamodel.rst:1944 +#: reference/datamodel.rst:1979 msgid "" "For certain sensitive attribute deletions, raises an :ref:`auditing event " "` ``object.__delattr__`` with arguments ``obj`` and ``name``." msgstr "" -#: reference/datamodel.rst:1951 +#: reference/datamodel.rst:1986 msgid "" "Called when :func:`dir` is called on the object. A sequence must be " "returned. :func:`dir` converts the returned sequence to a list and sorts it." msgstr "" -#: reference/datamodel.rst:1956 +#: reference/datamodel.rst:1991 msgid "Customizing module attribute access" msgstr "" -#: reference/datamodel.rst:1963 +#: reference/datamodel.rst:1998 msgid "" "Special names ``__getattr__`` and ``__dir__`` can be also used to customize " "access to module attributes. The ``__getattr__`` function at the module " @@ -2186,21 +2252,21 @@ msgid "" "with the attribute name and the result is returned." msgstr "" -#: reference/datamodel.rst:1972 +#: reference/datamodel.rst:2007 msgid "" "The ``__dir__`` function should accept no arguments, and return a sequence " "of strings that represents the names accessible on module. If present, this " "function overrides the standard :func:`dir` search on a module." msgstr "" -#: reference/datamodel.rst:1976 +#: reference/datamodel.rst:2011 msgid "" "For a more fine grained customization of the module behavior (setting " "attributes, properties, etc.), one can set the ``__class__`` attribute of a " "module object to a subclass of :class:`types.ModuleType`. For example::" msgstr "" -#: reference/datamodel.rst:1994 +#: reference/datamodel.rst:2029 msgid "" "Defining module ``__getattr__`` and setting module ``__class__`` only affect " "lookups made using the attribute access syntax -- directly accessing the " @@ -2208,27 +2274,27 @@ msgid "" "module's globals dictionary) is unaffected." msgstr "" -#: reference/datamodel.rst:1999 +#: reference/datamodel.rst:2034 msgid "``__class__`` module attribute is now writable." msgstr "" -#: reference/datamodel.rst:2002 +#: reference/datamodel.rst:2037 msgid "``__getattr__`` and ``__dir__`` module attributes." msgstr "" -#: reference/datamodel.rst:2007 +#: reference/datamodel.rst:2042 msgid ":pep:`562` - Module __getattr__ and __dir__" msgstr "" -#: reference/datamodel.rst:2008 +#: reference/datamodel.rst:2043 msgid "Describes the ``__getattr__`` and ``__dir__`` functions on modules." msgstr "" -#: reference/datamodel.rst:2014 +#: reference/datamodel.rst:2049 msgid "Implementing Descriptors" msgstr "" -#: reference/datamodel.rst:2016 +#: reference/datamodel.rst:2051 msgid "" "The following methods only apply when an instance of the class containing " "the method (a so-called *descriptor* class) appears in an *owner* class (the " @@ -2238,7 +2304,7 @@ msgid "" "the owner class' :attr:`~object.__dict__`." msgstr "" -#: reference/datamodel.rst:2026 +#: reference/datamodel.rst:2061 msgid "" "Called to get the attribute of the owner class (class attribute access) or " "of an instance of that class (instance attribute access). The optional " @@ -2247,13 +2313,13 @@ msgid "" "accessed through the *owner*." msgstr "" -#: reference/datamodel.rst:2032 +#: reference/datamodel.rst:2067 msgid "" "This method should return the computed attribute value or raise an :exc:" "`AttributeError` exception." msgstr "" -#: reference/datamodel.rst:2035 +#: reference/datamodel.rst:2070 msgid "" ":PEP:`252` specifies that :meth:`__get__` is callable with one or two " "arguments. Python's own built-in descriptors support this specification; " @@ -2263,31 +2329,31 @@ msgid "" "not." msgstr "" -#: reference/datamodel.rst:2044 +#: reference/datamodel.rst:2079 msgid "" "Called to set the attribute on an instance *instance* of the owner class to " "a new value, *value*." msgstr "" -#: reference/datamodel.rst:2047 +#: reference/datamodel.rst:2082 msgid "" "Note, adding :meth:`__set__` or :meth:`__delete__` changes the kind of " "descriptor to a \"data descriptor\". See :ref:`descriptor-invocation` for " "more details." msgstr "" -#: reference/datamodel.rst:2053 +#: reference/datamodel.rst:2088 msgid "" "Called to delete the attribute on an instance *instance* of the owner class." msgstr "" -#: reference/datamodel.rst:2055 +#: reference/datamodel.rst:2090 msgid "" "Instances of descriptors may also have the :attr:`!__objclass__` attribute " "present:" msgstr "" -#: reference/datamodel.rst:2060 +#: reference/datamodel.rst:2095 msgid "" "The attribute :attr:`!__objclass__` is interpreted by the :mod:`inspect` " "module as specifying the class where this object was defined (setting this " @@ -2298,11 +2364,11 @@ msgid "" "are implemented in C)." msgstr "" -#: reference/datamodel.rst:2071 +#: reference/datamodel.rst:2106 msgid "Invoking Descriptors" msgstr "" -#: reference/datamodel.rst:2073 +#: reference/datamodel.rst:2108 msgid "" "In general, a descriptor is an object attribute with \"binding behavior\", " "one whose attribute access has been overridden by methods in the descriptor " @@ -2311,7 +2377,7 @@ msgid "" "is said to be a descriptor." msgstr "" -#: reference/datamodel.rst:2079 +#: reference/datamodel.rst:2114 msgid "" "The default behavior for attribute access is to get, set, or delete the " "attribute from an object's dictionary. For instance, ``a.x`` has a lookup " @@ -2319,7 +2385,7 @@ msgid "" "continuing through the base classes of ``type(a)`` excluding metaclasses." msgstr "" -#: reference/datamodel.rst:2084 +#: reference/datamodel.rst:2119 msgid "" "However, if the looked-up value is an object defining one of the descriptor " "methods, then Python may override the default behavior and invoke the " @@ -2327,54 +2393,54 @@ msgid "" "depends on which descriptor methods were defined and how they were called." msgstr "" -#: reference/datamodel.rst:2089 +#: reference/datamodel.rst:2124 msgid "" "The starting point for descriptor invocation is a binding, ``a.x``. How the " "arguments are assembled depends on ``a``:" msgstr "" -#: reference/datamodel.rst:2094 +#: reference/datamodel.rst:2129 msgid "Direct Call" msgstr "" -#: reference/datamodel.rst:2093 +#: reference/datamodel.rst:2128 msgid "" "The simplest and least common call is when user code directly invokes a " "descriptor method: ``x.__get__(a)``." msgstr "" -#: reference/datamodel.rst:2098 +#: reference/datamodel.rst:2133 msgid "Instance Binding" msgstr "" -#: reference/datamodel.rst:2097 +#: reference/datamodel.rst:2132 msgid "" "If binding to an object instance, ``a.x`` is transformed into the call: " "``type(a).__dict__['x'].__get__(a, type(a))``." msgstr "" -#: reference/datamodel.rst:2102 +#: reference/datamodel.rst:2137 msgid "Class Binding" msgstr "" -#: reference/datamodel.rst:2101 +#: reference/datamodel.rst:2136 msgid "" "If binding to a class, ``A.x`` is transformed into the call: ``A." "__dict__['x'].__get__(None, A)``." msgstr "" -#: reference/datamodel.rst:2108 +#: reference/datamodel.rst:2143 msgid "Super Binding" msgstr "" -#: reference/datamodel.rst:2105 +#: reference/datamodel.rst:2140 msgid "" "A dotted lookup such as ``super(A, a).x`` searches ``a.__class__.__mro__`` " "for a base class ``B`` following ``A`` and then returns ``B.__dict__['x']." "__get__(a, A)``. If not a descriptor, ``x`` is returned unchanged." msgstr "" -#: reference/datamodel.rst:2142 +#: reference/datamodel.rst:2177 msgid "" "For instance bindings, the precedence of descriptor invocation depends on " "which descriptor methods are defined. A descriptor can define any " @@ -2392,7 +2458,7 @@ msgid "" "instances." msgstr "" -#: reference/datamodel.rst:2157 +#: reference/datamodel.rst:2192 msgid "" "Python methods (including those decorated with :func:`@staticmethod " "` and :func:`@classmethod `) are implemented as " @@ -2401,30 +2467,30 @@ msgid "" "from other instances of the same class." msgstr "" -#: reference/datamodel.rst:2163 +#: reference/datamodel.rst:2198 msgid "" "The :func:`property` function is implemented as a data descriptor. " "Accordingly, instances cannot override the behavior of a property." msgstr "" -#: reference/datamodel.rst:2170 +#: reference/datamodel.rst:2205 msgid "__slots__" msgstr "" -#: reference/datamodel.rst:2172 +#: reference/datamodel.rst:2207 msgid "" "*__slots__* allow us to explicitly declare data members (like properties) " "and deny the creation of :attr:`~object.__dict__` and *__weakref__* (unless " "explicitly declared in *__slots__* or available in a parent.)" msgstr "" -#: reference/datamodel.rst:2176 +#: reference/datamodel.rst:2211 msgid "" "The space saved over using :attr:`~object.__dict__` can be significant. " "Attribute lookup speed can be significantly improved as well." msgstr "" -#: reference/datamodel.rst:2181 +#: reference/datamodel.rst:2216 msgid "" "This class variable can be assigned a string, iterable, or sequence of " "strings with variable names used by instances. *__slots__* reserves space " @@ -2432,18 +2498,18 @@ msgid "" "`~object.__dict__` and *__weakref__* for each instance." msgstr "" -#: reference/datamodel.rst:2190 +#: reference/datamodel.rst:2225 msgid "Notes on using *__slots__*:" msgstr "" -#: reference/datamodel.rst:2192 +#: reference/datamodel.rst:2227 msgid "" "When inheriting from a class without *__slots__*, the :attr:`~object." "__dict__` and *__weakref__* attribute of the instances will always be " "accessible." msgstr "" -#: reference/datamodel.rst:2196 +#: reference/datamodel.rst:2231 msgid "" "Without a :attr:`~object.__dict__` variable, instances cannot be assigned " "new variables not listed in the *__slots__* definition. Attempts to assign " @@ -2452,7 +2518,7 @@ msgid "" "sequence of strings in the *__slots__* declaration." msgstr "" -#: reference/datamodel.rst:2203 +#: reference/datamodel.rst:2238 msgid "" "Without a *__weakref__* variable for each instance, classes defining " "*__slots__* do not support :mod:`weak references ` to its " @@ -2460,7 +2526,7 @@ msgid "" "to the sequence of strings in the *__slots__* declaration." msgstr "" -#: reference/datamodel.rst:2209 +#: reference/datamodel.rst:2244 msgid "" "*__slots__* are implemented at the class level by creating :ref:`descriptors " "` for each variable name. As a result, class attributes cannot " @@ -2468,7 +2534,7 @@ msgid "" "otherwise, the class attribute would overwrite the descriptor assignment." msgstr "" -#: reference/datamodel.rst:2215 +#: reference/datamodel.rst:2250 msgid "" "The action of a *__slots__* declaration is not limited to the class where it " "is defined. *__slots__* declared in parents are available in child classes. " @@ -2477,7 +2543,7 @@ msgid "" "names of any *additional* slots)." msgstr "" -#: reference/datamodel.rst:2221 +#: reference/datamodel.rst:2256 msgid "" "If a class defines a slot also defined in a base class, the instance " "variable defined by the base class slot is inaccessible (except by " @@ -2486,7 +2552,7 @@ msgid "" "prevent this." msgstr "" -#: reference/datamodel.rst:2226 +#: reference/datamodel.rst:2261 msgid "" ":exc:`TypeError` will be raised if nonempty *__slots__* are defined for a " "class derived from a :c:member:`\"variable-length\" built-in type " @@ -2494,11 +2560,11 @@ msgid "" "`tuple`." msgstr "" -#: reference/datamodel.rst:2231 +#: reference/datamodel.rst:2266 msgid "Any non-string :term:`iterable` may be assigned to *__slots__*." msgstr "" -#: reference/datamodel.rst:2233 +#: reference/datamodel.rst:2268 msgid "" "If a :class:`dictionary ` is used to assign *__slots__*, the " "dictionary keys will be used as the slot names. The values of the dictionary " @@ -2506,13 +2572,13 @@ msgid "" "func:`inspect.getdoc` and displayed in the output of :func:`help`." msgstr "" -#: reference/datamodel.rst:2238 +#: reference/datamodel.rst:2273 msgid "" ":attr:`~instance.__class__` assignment works only if both classes have the " "same *__slots__*." msgstr "" -#: reference/datamodel.rst:2241 +#: reference/datamodel.rst:2276 msgid "" ":ref:`Multiple inheritance ` with multiple slotted parent " "classes can be used, but only one parent is allowed to have attributes " @@ -2520,18 +2586,18 @@ msgid "" "raise :exc:`TypeError`." msgstr "" -#: reference/datamodel.rst:2247 +#: reference/datamodel.rst:2282 msgid "" "If an :term:`iterator` is used for *__slots__* then a :term:`descriptor` is " "created for each of the iterator's values. However, the *__slots__* " "attribute will be an empty iterator." msgstr "" -#: reference/datamodel.rst:2255 +#: reference/datamodel.rst:2290 msgid "Customizing class creation" msgstr "" -#: reference/datamodel.rst:2257 +#: reference/datamodel.rst:2292 msgid "" "Whenever a class inherits from another class, :meth:`~object." "__init_subclass__` is called on the parent class. This way, it is possible " @@ -2541,14 +2607,14 @@ msgid "" "future subclasses of the class defining the method." msgstr "" -#: reference/datamodel.rst:2266 +#: reference/datamodel.rst:2301 msgid "" "This method is called whenever the containing class is subclassed. *cls* is " "then the new subclass. If defined as a normal instance method, this method " "is implicitly converted to a class method." msgstr "" -#: reference/datamodel.rst:2270 +#: reference/datamodel.rst:2305 msgid "" "Keyword arguments which are given to a new class are passed to the parent's " "class ``__init_subclass__``. For compatibility with other classes using " @@ -2556,13 +2622,13 @@ msgid "" "pass the others over to the base class, as in::" msgstr "" -#: reference/datamodel.rst:2284 +#: reference/datamodel.rst:2319 msgid "" "The default implementation ``object.__init_subclass__`` does nothing, but " "raises an error if it is called with any arguments." msgstr "" -#: reference/datamodel.rst:2289 +#: reference/datamodel.rst:2324 msgid "" "The metaclass hint ``metaclass`` is consumed by the rest of the type " "machinery, and is never passed to ``__init_subclass__`` implementations. The " @@ -2570,41 +2636,41 @@ msgid "" "``type(cls)``." msgstr "" -#: reference/datamodel.rst:2297 +#: reference/datamodel.rst:2332 msgid "" "When a class is created, :meth:`type.__new__` scans the class variables and " "makes callbacks to those with a :meth:`~object.__set_name__` hook." msgstr "" -#: reference/datamodel.rst:2302 +#: reference/datamodel.rst:2337 msgid "" "Automatically called at the time the owning class *owner* is created. The " "object has been assigned to *name* in that class::" msgstr "" -#: reference/datamodel.rst:2308 +#: reference/datamodel.rst:2343 msgid "" "If the class variable is assigned after the class is created, :meth:" "`__set_name__` will not be called automatically. If needed, :meth:" "`__set_name__` can be called directly::" msgstr "" -#: reference/datamodel.rst:2319 +#: reference/datamodel.rst:2354 msgid "See :ref:`class-object-creation` for more details." msgstr "" -#: reference/datamodel.rst:2327 +#: reference/datamodel.rst:2362 msgid "Metaclasses" msgstr "" -#: reference/datamodel.rst:2334 +#: reference/datamodel.rst:2369 msgid "" "By default, classes are constructed using :func:`type`. The class body is " "executed in a new namespace and the class name is bound locally to the " "result of ``type(name, bases, namespace)``." msgstr "" -#: reference/datamodel.rst:2338 +#: reference/datamodel.rst:2373 msgid "" "The class creation process can be customized by passing the ``metaclass`` " "keyword argument in the class definition line, or by inheriting from an " @@ -2612,41 +2678,41 @@ msgid "" "both ``MyClass`` and ``MySubclass`` are instances of ``Meta``::" msgstr "" -#: reference/datamodel.rst:2352 +#: reference/datamodel.rst:2387 msgid "" "Any other keyword arguments that are specified in the class definition are " "passed through to all metaclass operations described below." msgstr "" -#: reference/datamodel.rst:2355 +#: reference/datamodel.rst:2390 msgid "When a class definition is executed, the following steps occur:" msgstr "" -#: reference/datamodel.rst:2357 +#: reference/datamodel.rst:2392 msgid "MRO entries are resolved;" msgstr "" -#: reference/datamodel.rst:2358 +#: reference/datamodel.rst:2393 msgid "the appropriate metaclass is determined;" msgstr "" -#: reference/datamodel.rst:2359 +#: reference/datamodel.rst:2394 msgid "the class namespace is prepared;" msgstr "" -#: reference/datamodel.rst:2360 +#: reference/datamodel.rst:2395 msgid "the class body is executed;" msgstr "" -#: reference/datamodel.rst:2361 +#: reference/datamodel.rst:2396 msgid "the class object is created." msgstr "" -#: reference/datamodel.rst:2365 +#: reference/datamodel.rst:2400 msgid "Resolving MRO entries" msgstr "" -#: reference/datamodel.rst:2369 +#: reference/datamodel.rst:2404 msgid "" "If a base that appears in a class definition is not an instance of :class:" "`type`, then an :meth:`!__mro_entries__` method is searched on the base. If " @@ -2658,59 +2724,59 @@ msgid "" "is ignored." msgstr "" -#: reference/datamodel.rst:2381 +#: reference/datamodel.rst:2416 msgid ":func:`types.resolve_bases`" msgstr "" -#: reference/datamodel.rst:2381 +#: reference/datamodel.rst:2416 msgid "Dynamically resolve bases that are not instances of :class:`type`." msgstr "" -#: reference/datamodel.rst:2385 +#: reference/datamodel.rst:2420 msgid ":func:`types.get_original_bases`" msgstr "" -#: reference/datamodel.rst:2384 +#: reference/datamodel.rst:2419 msgid "" "Retrieve a class's \"original bases\" prior to modifications by :meth:" "`~object.__mro_entries__`." msgstr "" -#: reference/datamodel.rst:2387 +#: reference/datamodel.rst:2422 msgid ":pep:`560`" msgstr "" -#: reference/datamodel.rst:2388 +#: reference/datamodel.rst:2423 msgid "Core support for typing module and generic types." msgstr "" -#: reference/datamodel.rst:2392 +#: reference/datamodel.rst:2427 msgid "Determining the appropriate metaclass" msgstr "" -#: reference/datamodel.rst:2396 +#: reference/datamodel.rst:2431 msgid "" "The appropriate metaclass for a class definition is determined as follows:" msgstr "" -#: reference/datamodel.rst:2398 +#: reference/datamodel.rst:2433 msgid "" "if no bases and no explicit metaclass are given, then :func:`type` is used;" msgstr "" -#: reference/datamodel.rst:2399 +#: reference/datamodel.rst:2434 msgid "" "if an explicit metaclass is given and it is *not* an instance of :func:" "`type`, then it is used directly as the metaclass;" msgstr "" -#: reference/datamodel.rst:2401 +#: reference/datamodel.rst:2436 msgid "" "if an instance of :func:`type` is given as the explicit metaclass, or bases " "are defined, then the most derived metaclass is used." msgstr "" -#: reference/datamodel.rst:2404 +#: reference/datamodel.rst:2439 msgid "" "The most derived metaclass is selected from the explicitly specified " "metaclass (if any) and the metaclasses (i.e. ``type(cls)``) of all specified " @@ -2719,11 +2785,11 @@ msgid "" "that criterion, then the class definition will fail with ``TypeError``." msgstr "" -#: reference/datamodel.rst:2414 +#: reference/datamodel.rst:2449 msgid "Preparing the class namespace" msgstr "" -#: reference/datamodel.rst:2419 +#: reference/datamodel.rst:2454 msgid "" "Once the appropriate metaclass has been identified, then the class namespace " "is prepared. If the metaclass has a ``__prepare__`` attribute, it is called " @@ -2735,25 +2801,25 @@ msgid "" "copied into a new ``dict``." msgstr "" -#: reference/datamodel.rst:2428 +#: reference/datamodel.rst:2463 msgid "" "If the metaclass has no ``__prepare__`` attribute, then the class namespace " "is initialised as an empty ordered mapping." msgstr "" -#: reference/datamodel.rst:2433 +#: reference/datamodel.rst:2468 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/datamodel.rst:2434 +#: reference/datamodel.rst:2469 msgid "Introduced the ``__prepare__`` namespace hook" msgstr "" -#: reference/datamodel.rst:2438 +#: reference/datamodel.rst:2473 msgid "Executing the class body" msgstr "" -#: reference/datamodel.rst:2443 +#: reference/datamodel.rst:2478 msgid "" "The class body is executed (approximately) as ``exec(body, globals(), " "namespace)``. The key difference from a normal call to :func:`exec` is that " @@ -2762,7 +2828,7 @@ msgid "" "inside a function." msgstr "" -#: reference/datamodel.rst:2449 +#: reference/datamodel.rst:2484 msgid "" "However, even when the class definition occurs inside the function, methods " "defined inside the class still cannot see names defined at the class scope. " @@ -2771,11 +2837,11 @@ msgid "" "reference described in the next section." msgstr "" -#: reference/datamodel.rst:2458 +#: reference/datamodel.rst:2493 msgid "Creating the class object" msgstr "" -#: reference/datamodel.rst:2465 +#: reference/datamodel.rst:2500 msgid "" "Once the class namespace has been populated by executing the class body, the " "class object is created by calling ``metaclass(name, bases, namespace, " @@ -2783,7 +2849,7 @@ msgid "" "to ``__prepare__``)." msgstr "" -#: reference/datamodel.rst:2470 +#: reference/datamodel.rst:2505 msgid "" "This class object is the one that will be referenced by the zero-argument " "form of :func:`super`. ``__class__`` is an implicit closure reference " @@ -2794,7 +2860,7 @@ msgid "" "is identified based on the first argument passed to the method." msgstr "" -#: reference/datamodel.rst:2480 +#: reference/datamodel.rst:2515 msgid "" "In CPython 3.6 and later, the ``__class__`` cell is passed to the metaclass " "as a ``__classcell__`` entry in the class namespace. If present, this must " @@ -2803,39 +2869,39 @@ msgid "" "in Python 3.8." msgstr "" -#: reference/datamodel.rst:2486 +#: reference/datamodel.rst:2521 msgid "" "When using the default metaclass :class:`type`, or any metaclass that " "ultimately calls ``type.__new__``, the following additional customization " "steps are invoked after creating the class object:" msgstr "" -#: reference/datamodel.rst:2490 +#: reference/datamodel.rst:2525 msgid "" "The ``type.__new__`` method collects all of the attributes in the class " "namespace that define a :meth:`~object.__set_name__` method;" msgstr "" -#: reference/datamodel.rst:2492 +#: reference/datamodel.rst:2527 msgid "" "Those ``__set_name__`` methods are called with the class being defined and " "the assigned name of that particular attribute;" msgstr "" -#: reference/datamodel.rst:2494 +#: reference/datamodel.rst:2529 msgid "" "The :meth:`~object.__init_subclass__` hook is called on the immediate parent " "of the new class in its method resolution order." msgstr "" -#: reference/datamodel.rst:2497 +#: reference/datamodel.rst:2532 msgid "" "After the class object is created, it is passed to the class decorators " "included in the class definition (if any) and the resulting object is bound " "in the local namespace as the defined class." msgstr "" -#: reference/datamodel.rst:2501 +#: reference/datamodel.rst:2536 msgid "" "When a new class is created by ``type.__new__``, the object provided as the " "namespace parameter is copied to a new ordered mapping and the original " @@ -2843,19 +2909,19 @@ msgid "" "becomes the :attr:`~object.__dict__` attribute of the class object." msgstr "" -#: reference/datamodel.rst:2508 +#: reference/datamodel.rst:2543 msgid ":pep:`3135` - New super" msgstr "" -#: reference/datamodel.rst:2509 +#: reference/datamodel.rst:2544 msgid "Describes the implicit ``__class__`` closure reference" msgstr "" -#: reference/datamodel.rst:2513 +#: reference/datamodel.rst:2548 msgid "Uses for metaclasses" msgstr "" -#: reference/datamodel.rst:2515 +#: reference/datamodel.rst:2550 msgid "" "The potential uses for metaclasses are boundless. Some ideas that have been " "explored include enum, logging, interface checking, automatic delegation, " @@ -2863,17 +2929,17 @@ msgid "" "locking/synchronization." msgstr "" -#: reference/datamodel.rst:2522 +#: reference/datamodel.rst:2557 msgid "Customizing instance and subclass checks" msgstr "" -#: reference/datamodel.rst:2524 +#: reference/datamodel.rst:2559 msgid "" "The following methods are used to override the default behavior of the :func:" "`isinstance` and :func:`issubclass` built-in functions." msgstr "" -#: reference/datamodel.rst:2527 +#: reference/datamodel.rst:2562 msgid "" "In particular, the metaclass :class:`abc.ABCMeta` implements these methods " "in order to allow the addition of Abstract Base Classes (ABCs) as \"virtual " @@ -2881,21 +2947,21 @@ msgid "" "other ABCs." msgstr "" -#: reference/datamodel.rst:2534 +#: reference/datamodel.rst:2569 msgid "" "Return true if *instance* should be considered a (direct or indirect) " "instance of *class*. If defined, called to implement ``isinstance(instance, " "class)``." msgstr "" -#: reference/datamodel.rst:2541 +#: reference/datamodel.rst:2576 msgid "" "Return true if *subclass* should be considered a (direct or indirect) " "subclass of *class*. If defined, called to implement ``issubclass(subclass, " "class)``." msgstr "" -#: reference/datamodel.rst:2546 +#: reference/datamodel.rst:2581 msgid "" "Note that these methods are looked up on the type (metaclass) of a class. " "They cannot be defined as class methods in the actual class. This is " @@ -2903,11 +2969,11 @@ msgid "" "only in this case the instance is itself a class." msgstr "" -#: reference/datamodel.rst:2557 +#: reference/datamodel.rst:2592 msgid ":pep:`3119` - Introducing Abstract Base Classes" msgstr "" -#: reference/datamodel.rst:2554 +#: reference/datamodel.rst:2589 msgid "" "Includes the specification for customizing :func:`isinstance` and :func:" "`issubclass` behavior through :meth:`~class.__instancecheck__` and :meth:" @@ -2916,11 +2982,11 @@ msgid "" "language." msgstr "" -#: reference/datamodel.rst:2562 +#: reference/datamodel.rst:2597 msgid "Emulating generic types" msgstr "" -#: reference/datamodel.rst:2564 +#: reference/datamodel.rst:2599 msgid "" "When using :term:`type annotations`, it is often useful to " "*parameterize* a :term:`generic type` using Python's square-brackets " @@ -2928,65 +2994,65 @@ msgid "" "a :class:`list` in which all the elements are of type :class:`int`." msgstr "" -#: reference/datamodel.rst:2572 +#: reference/datamodel.rst:2607 msgid ":pep:`484` - Type Hints" msgstr "" -#: reference/datamodel.rst:2572 +#: reference/datamodel.rst:2607 msgid "Introducing Python's framework for type annotations" msgstr "" -#: reference/datamodel.rst:2575 +#: reference/datamodel.rst:2610 msgid ":ref:`Generic Alias Types`" msgstr "" -#: reference/datamodel.rst:2575 +#: reference/datamodel.rst:2610 msgid "Documentation for objects representing parameterized generic classes" msgstr "" -#: reference/datamodel.rst:2578 +#: reference/datamodel.rst:2613 msgid "" ":ref:`Generics`, :ref:`user-defined generics` and :" "class:`typing.Generic`" msgstr "" -#: reference/datamodel.rst:2578 +#: reference/datamodel.rst:2613 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." msgstr "" -#: reference/datamodel.rst:2581 +#: reference/datamodel.rst:2616 msgid "" "A class can *generally* only be parameterized if it defines the special " "class method ``__class_getitem__()``." msgstr "" -#: reference/datamodel.rst:2586 +#: reference/datamodel.rst:2621 msgid "" "Return an object representing the specialization of a generic class by type " "arguments found in *key*." msgstr "" -#: reference/datamodel.rst:2589 +#: reference/datamodel.rst:2624 msgid "" "When defined on a class, ``__class_getitem__()`` is automatically a class " "method. As such, there is no need for it to be decorated with :func:" "`@classmethod` when it is defined." msgstr "" -#: reference/datamodel.rst:2595 +#: reference/datamodel.rst:2630 msgid "The purpose of *__class_getitem__*" msgstr "" -#: reference/datamodel.rst:2597 +#: reference/datamodel.rst:2632 msgid "" "The purpose of :meth:`~object.__class_getitem__` is to allow runtime " "parameterization of standard-library generic classes in order to more easily " "apply :term:`type hints` to these classes." msgstr "" -#: reference/datamodel.rst:2601 +#: reference/datamodel.rst:2636 msgid "" "To implement custom generic classes that can be parameterized at runtime and " "understood by static type-checkers, users should either inherit from a " @@ -2995,7 +3061,7 @@ msgid "" "own implementation of ``__class_getitem__()``." msgstr "" -#: reference/datamodel.rst:2607 +#: reference/datamodel.rst:2642 msgid "" "Custom implementations of :meth:`~object.__class_getitem__` on classes " "defined outside of the standard library may not be understood by third-party " @@ -3003,11 +3069,11 @@ msgid "" "purposes other than type hinting is discouraged." msgstr "" -#: reference/datamodel.rst:2617 +#: reference/datamodel.rst:2652 msgid "*__class_getitem__* versus *__getitem__*" msgstr "" -#: reference/datamodel.rst:2619 +#: reference/datamodel.rst:2654 msgid "" "Usually, the :ref:`subscription` of an object using square " "brackets will call the :meth:`~object.__getitem__` instance method defined " @@ -3017,14 +3083,14 @@ msgid "" "genericalias>` object if it is properly defined." msgstr "" -#: reference/datamodel.rst:2626 +#: reference/datamodel.rst:2661 msgid "" "Presented with the :term:`expression` ``obj[x]``, the Python interpreter " "follows something like the following process to decide whether :meth:" "`~object.__getitem__` or :meth:`~object.__class_getitem__` should be called::" msgstr "" -#: reference/datamodel.rst:2654 +#: reference/datamodel.rst:2689 msgid "" "In Python, all classes are themselves instances of other classes. The class " "of a class is known as that class's :term:`metaclass`, and most classes have " @@ -3034,40 +3100,40 @@ msgid "" "__class_getitem__` being called::" msgstr "" -#: reference/datamodel.rst:2673 +#: reference/datamodel.rst:2708 msgid "" "However, if a class has a custom metaclass that defines :meth:`~object." "__getitem__`, subscribing the class may result in different behaviour. An " "example of this can be found in the :mod:`enum` module::" msgstr "" -#: reference/datamodel.rst:2698 +#: reference/datamodel.rst:2733 msgid ":pep:`560` - Core Support for typing module and generic types" msgstr "" -#: reference/datamodel.rst:2697 +#: reference/datamodel.rst:2732 msgid "" "Introducing :meth:`~object.__class_getitem__`, and outlining when a :ref:" "`subscription` results in ``__class_getitem__()`` being " "called instead of :meth:`~object.__getitem__`" msgstr "" -#: reference/datamodel.rst:2705 +#: reference/datamodel.rst:2740 msgid "Emulating callable objects" msgstr "" -#: reference/datamodel.rst:2712 +#: reference/datamodel.rst:2747 msgid "" "Called when the instance is \"called\" as a function; if this method is " "defined, ``x(arg1, arg2, ...)`` roughly translates to ``type(x).__call__(x, " "arg1, ...)``." msgstr "" -#: reference/datamodel.rst:2719 +#: reference/datamodel.rst:2754 msgid "Emulating container types" msgstr "" -#: reference/datamodel.rst:2721 +#: reference/datamodel.rst:2756 msgid "" "The following methods can be defined to implement container objects. " "Containers usually are :term:`sequences ` (such as :class:`lists " @@ -3103,7 +3169,7 @@ msgid "" "should iterate through the values." msgstr "" -#: reference/datamodel.rst:2762 +#: reference/datamodel.rst:2797 msgid "" "Called to implement the built-in function :func:`len`. Should return the " "length of the object, an integer ``>=`` 0. Also, an object that doesn't " @@ -3111,7 +3177,7 @@ msgid "" "returns zero is considered to be false in a Boolean context." msgstr "" -#: reference/datamodel.rst:2769 +#: reference/datamodel.rst:2804 msgid "" "In CPython, the length is required to be at most :data:`sys.maxsize`. If the " "length is larger than :data:`!sys.maxsize` some features (such as :func:" @@ -3120,7 +3186,7 @@ msgid "" "`~object.__bool__` method." msgstr "" -#: reference/datamodel.rst:2778 +#: reference/datamodel.rst:2813 msgid "" "Called to implement :func:`operator.length_hint`. Should return an estimated " "length for the object (which may be greater or less than the actual length). " @@ -3130,20 +3196,20 @@ msgid "" "never required for correctness." msgstr "" -#: reference/datamodel.rst:2792 +#: reference/datamodel.rst:2827 msgid "" "Slicing is done exclusively with the following three methods. A call like ::" msgstr "" -#: reference/datamodel.rst:2796 +#: reference/datamodel.rst:2831 msgid "is translated to ::" msgstr "" -#: reference/datamodel.rst:2800 +#: reference/datamodel.rst:2835 msgid "and so forth. Missing slice items are always filled in with ``None``." msgstr "" -#: reference/datamodel.rst:2805 +#: reference/datamodel.rst:2840 msgid "" "Called to implement evaluation of ``self[key]``. For :term:`sequence` types, " "the accepted keys should be integers. Optionally, they may support :class:" @@ -3155,20 +3221,20 @@ msgid "" "`KeyError` should be raised." msgstr "" -#: reference/datamodel.rst:2817 +#: reference/datamodel.rst:2852 msgid "" ":keyword:`for` loops expect that an :exc:`IndexError` will be raised for " "illegal indexes to allow proper detection of the end of the sequence." msgstr "" -#: reference/datamodel.rst:2822 +#: reference/datamodel.rst:2857 msgid "" "When :ref:`subscripting` a *class*, the special class method :" "meth:`~object.__class_getitem__` may be called instead of ``__getitem__()``. " "See :ref:`classgetitem-versus-getitem` for more details." msgstr "" -#: reference/datamodel.rst:2830 +#: reference/datamodel.rst:2865 msgid "" "Called to implement assignment to ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -3177,7 +3243,7 @@ msgid "" "for improper *key* values as for the :meth:`__getitem__` method." msgstr "" -#: reference/datamodel.rst:2839 +#: reference/datamodel.rst:2874 msgid "" "Called to implement deletion of ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -3186,13 +3252,13 @@ msgid "" "values as for the :meth:`__getitem__` method." msgstr "" -#: reference/datamodel.rst:2848 +#: reference/datamodel.rst:2883 msgid "" "Called by :class:`dict`\\ .\\ :meth:`__getitem__` to implement ``self[key]`` " "for dict subclasses when key is not in the dictionary." msgstr "" -#: reference/datamodel.rst:2854 +#: reference/datamodel.rst:2889 msgid "" "This method is called when an :term:`iterator` is required for a container. " "This method should return a new iterator object that can iterate over all " @@ -3200,14 +3266,14 @@ msgid "" "of the container." msgstr "" -#: reference/datamodel.rst:2862 +#: reference/datamodel.rst:2897 msgid "" "Called (if present) by the :func:`reversed` built-in to implement reverse " "iteration. It should return a new iterator object that iterates over all " "the objects in the container in reverse order." msgstr "" -#: reference/datamodel.rst:2866 +#: reference/datamodel.rst:2901 msgid "" "If the :meth:`__reversed__` method is not provided, the :func:`reversed` " "built-in will fall back to using the sequence protocol (:meth:`__len__` and :" @@ -3216,7 +3282,7 @@ msgid "" "more efficient than the one provided by :func:`reversed`." msgstr "" -#: reference/datamodel.rst:2873 +#: reference/datamodel.rst:2908 msgid "" "The membership test operators (:keyword:`in` and :keyword:`not in`) are " "normally implemented as an iteration through a container. However, container " @@ -3224,14 +3290,14 @@ msgid "" "implementation, which also does not require the object be iterable." msgstr "" -#: reference/datamodel.rst:2880 +#: reference/datamodel.rst:2915 msgid "" "Called to implement membership test operators. Should return true if *item* " "is in *self*, false otherwise. For mapping objects, this should consider " "the keys of the mapping rather than the values or the key-item pairs." msgstr "" -#: reference/datamodel.rst:2884 +#: reference/datamodel.rst:2919 msgid "" "For objects that don't define :meth:`__contains__`, the membership test " "first tries iteration via :meth:`__iter__`, then the old sequence iteration " @@ -3239,11 +3305,11 @@ msgid "" "reference `." msgstr "" -#: reference/datamodel.rst:2893 +#: reference/datamodel.rst:2928 msgid "Emulating numeric types" msgstr "" -#: reference/datamodel.rst:2895 +#: reference/datamodel.rst:2930 msgid "" "The following methods can be defined to emulate numeric objects. Methods " "corresponding to operations that are not supported by the particular kind of " @@ -3251,7 +3317,7 @@ msgid "" "should be left undefined." msgstr "" -#: reference/datamodel.rst:2921 +#: reference/datamodel.rst:2956 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:" @@ -3265,13 +3331,13 @@ msgid "" "function is to be supported." msgstr "" -#: reference/datamodel.rst:2932 +#: reference/datamodel.rst:2967 msgid "" "If one of those methods does not support the operation with the supplied " "arguments, it should return ``NotImplemented``." msgstr "" -#: reference/datamodel.rst:2955 +#: reference/datamodel.rst:2990 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:" @@ -3284,13 +3350,13 @@ msgid "" "*NotImplemented*." msgstr "" -#: reference/datamodel.rst:2967 +#: reference/datamodel.rst:3002 msgid "" "Note that ternary :func:`pow` will not try calling :meth:`__rpow__` (the " "coercion rules would become too complicated)." msgstr "" -#: reference/datamodel.rst:2972 +#: reference/datamodel.rst:3007 msgid "" "If the right operand's type is a subclass of the left operand's type and " "that subclass provides a different implementation of the reflected method " @@ -3299,7 +3365,7 @@ msgid "" "ancestors' operations." msgstr "" -#: reference/datamodel.rst:2993 +#: reference/datamodel.rst:3028 msgid "" "These methods are called to implement the augmented arithmetic assignments " "(``+=``, ``-=``, ``*=``, ``@=``, ``/=``, ``//=``, ``%=``, ``**=``, ``<<=``, " @@ -3315,19 +3381,19 @@ msgid "" "fact part of the data model." msgstr "" -#: reference/datamodel.rst:3014 +#: reference/datamodel.rst:3049 msgid "" "Called to implement the unary arithmetic operations (``-``, ``+``, :func:" "`abs` and ``~``)." msgstr "" -#: reference/datamodel.rst:3027 +#: reference/datamodel.rst:3062 msgid "" "Called to implement the built-in functions :func:`complex`, :func:`int` and :" "func:`float`. Should return a value of the appropriate type." msgstr "" -#: reference/datamodel.rst:3034 +#: reference/datamodel.rst:3069 msgid "" "Called to implement :func:`operator.index`, and whenever Python needs to " "losslessly convert the numeric object to an integer object (such as in " @@ -3336,14 +3402,14 @@ msgid "" "integer type. Must return an integer." msgstr "" -#: reference/datamodel.rst:3040 +#: reference/datamodel.rst:3075 msgid "" "If :meth:`__int__`, :meth:`__float__` and :meth:`__complex__` are not " "defined then corresponding built-in functions :func:`int`, :func:`float` " "and :func:`complex` fall back to :meth:`__index__`." msgstr "" -#: reference/datamodel.rst:3052 +#: reference/datamodel.rst:3087 msgid "" "Called to implement the built-in function :func:`round` and :mod:`math` " "functions :func:`~math.trunc`, :func:`~math.floor` and :func:`~math.ceil`. " @@ -3352,21 +3418,21 @@ msgid "" "(typically an :class:`int`)." msgstr "" -#: reference/datamodel.rst:3058 +#: reference/datamodel.rst:3093 msgid "" "The built-in function :func:`int` falls back to :meth:`__trunc__` if " "neither :meth:`__int__` nor :meth:`__index__` is defined." msgstr "" -#: reference/datamodel.rst:3061 +#: reference/datamodel.rst:3096 msgid "The delegation of :func:`int` to :meth:`__trunc__` is deprecated." msgstr "" -#: reference/datamodel.rst:3068 +#: reference/datamodel.rst:3103 msgid "With Statement Context Managers" msgstr "" -#: reference/datamodel.rst:3070 +#: reference/datamodel.rst:3105 msgid "" "A :dfn:`context manager` is an object that defines the runtime context to be " "established when executing a :keyword:`with` statement. The context manager " @@ -3376,32 +3442,32 @@ msgid "" "can also be used by directly invoking their methods." msgstr "" -#: reference/datamodel.rst:3081 +#: reference/datamodel.rst:3116 msgid "" "Typical uses of context managers include saving and restoring various kinds " "of global state, locking and unlocking resources, closing opened files, etc." msgstr "" -#: reference/datamodel.rst:3084 +#: reference/datamodel.rst:3119 msgid "" "For more information on context managers, see :ref:`typecontextmanager`." msgstr "" -#: reference/datamodel.rst:3089 +#: reference/datamodel.rst:3124 msgid "" "Enter the runtime context related to this object. The :keyword:`with` " "statement will bind this method's return value to the target(s) specified in " "the :keyword:`!as` clause of the statement, if any." msgstr "" -#: reference/datamodel.rst:3096 +#: reference/datamodel.rst:3131 msgid "" "Exit the runtime context related to this object. The parameters describe the " "exception that caused the context to be exited. If the context was exited " "without an exception, all three arguments will be :const:`None`." msgstr "" -#: reference/datamodel.rst:3100 +#: reference/datamodel.rst:3135 msgid "" "If an exception is supplied, and the method wishes to suppress the exception " "(i.e., prevent it from being propagated), it should return a true value. " @@ -3409,27 +3475,27 @@ msgid "" "method." msgstr "" -#: reference/datamodel.rst:3104 +#: reference/datamodel.rst:3139 msgid "" "Note that :meth:`~object.__exit__` methods should not reraise the passed-in " "exception; this is the caller's responsibility." msgstr "" -#: reference/datamodel.rst:3111 +#: reference/datamodel.rst:3146 msgid ":pep:`343` - The \"with\" statement" msgstr "" -#: reference/datamodel.rst:3111 +#: reference/datamodel.rst:3146 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." msgstr "" -#: reference/datamodel.rst:3118 +#: reference/datamodel.rst:3153 msgid "Customizing positional arguments in class pattern matching" msgstr "" -#: reference/datamodel.rst:3120 +#: reference/datamodel.rst:3155 msgid "" "When using a class name in a pattern, positional arguments in the pattern " "are not allowed by default, i.e. ``case MyClass(x, y)`` is typically invalid " @@ -3437,7 +3503,7 @@ msgid "" "pattern, the class needs to define a *__match_args__* attribute." msgstr "" -#: reference/datamodel.rst:3127 +#: reference/datamodel.rst:3162 msgid "" "This class variable can be assigned a tuple of strings. When this class is " "used in a class pattern with positional arguments, each positional argument " @@ -3446,7 +3512,7 @@ msgid "" "to setting it to ``()``." msgstr "" -#: reference/datamodel.rst:3133 +#: reference/datamodel.rst:3168 msgid "" "For example, if ``MyClass.__match_args__`` is ``(\"left\", \"center\", " "\"right\")`` that means that ``case MyClass(x, y)`` is equivalent to ``case " @@ -3456,19 +3522,19 @@ msgid "" "exc:`TypeError`." msgstr "" -#: reference/datamodel.rst:3143 +#: reference/datamodel.rst:3178 msgid ":pep:`634` - Structural Pattern Matching" msgstr "" -#: reference/datamodel.rst:3144 +#: reference/datamodel.rst:3179 msgid "The specification for the Python ``match`` statement." msgstr "" -#: reference/datamodel.rst:3150 +#: reference/datamodel.rst:3185 msgid "Emulating buffer types" msgstr "" -#: reference/datamodel.rst:3152 +#: reference/datamodel.rst:3187 msgid "" "The :ref:`buffer protocol ` provides a way for Python objects " "to expose efficient access to a low-level memory array. This protocol is " @@ -3476,13 +3542,13 @@ msgid "" "and third-party libraries may define additional buffer types." msgstr "" -#: reference/datamodel.rst:3157 +#: reference/datamodel.rst:3192 msgid "" "While buffer types are usually implemented in C, it is also possible to " "implement the protocol in Python." msgstr "" -#: reference/datamodel.rst:3162 +#: reference/datamodel.rst:3197 msgid "" "Called when a buffer is requested from *self* (for example, by the :class:" "`memoryview` constructor). The *flags* argument is an integer representing " @@ -3492,7 +3558,7 @@ msgid "" "`memoryview` object." msgstr "" -#: reference/datamodel.rst:3171 +#: reference/datamodel.rst:3206 msgid "" "Called when a buffer is no longer needed. The *buffer* argument is a :class:" "`memoryview` object that was previously returned by :meth:`~object." @@ -3501,28 +3567,28 @@ msgid "" "to perform any cleanup are not required to implement this method." msgstr "" -#: reference/datamodel.rst:3183 +#: reference/datamodel.rst:3218 msgid ":pep:`688` - Making the buffer protocol accessible in Python" msgstr "" -#: reference/datamodel.rst:3183 +#: reference/datamodel.rst:3218 msgid "" "Introduces the Python ``__buffer__`` and ``__release_buffer__`` methods." msgstr "" -#: reference/datamodel.rst:3185 +#: reference/datamodel.rst:3220 msgid ":class:`collections.abc.Buffer`" msgstr "" -#: reference/datamodel.rst:3186 +#: reference/datamodel.rst:3221 msgid "ABC for buffer types." msgstr "" -#: reference/datamodel.rst:3191 +#: reference/datamodel.rst:3226 msgid "Special method lookup" msgstr "" -#: reference/datamodel.rst:3193 +#: reference/datamodel.rst:3228 msgid "" "For custom classes, implicit invocations of special methods are only " "guaranteed to work correctly if defined on an object's type, not in the " @@ -3530,7 +3596,7 @@ msgid "" "following code raises an exception::" msgstr "" -#: reference/datamodel.rst:3208 +#: reference/datamodel.rst:3243 msgid "" "The rationale behind this behaviour lies with a number of special methods " "such as :meth:`~object.__hash__` and :meth:`~object.__repr__` that are " @@ -3539,21 +3605,21 @@ msgid "" "invoked on the type object itself::" msgstr "" -#: reference/datamodel.rst:3222 +#: reference/datamodel.rst:3257 msgid "" "Incorrectly attempting to invoke an unbound method of a class in this way is " "sometimes referred to as 'metaclass confusion', and is avoided by bypassing " "the instance when looking up special methods::" msgstr "" -#: reference/datamodel.rst:3231 +#: reference/datamodel.rst:3266 msgid "" "In addition to bypassing any instance attributes in the interest of " "correctness, implicit special method lookup generally also bypasses the :" "meth:`~object.__getattribute__` method even of the object's metaclass::" msgstr "" -#: reference/datamodel.rst:3257 +#: reference/datamodel.rst:3292 msgid "" "Bypassing the :meth:`~object.__getattribute__` machinery in this fashion " "provides significant scope for speed optimisations within the interpreter, " @@ -3562,36 +3628,36 @@ msgid "" "consistently invoked by the interpreter)." msgstr "" -#: reference/datamodel.rst:3268 +#: reference/datamodel.rst:3303 msgid "Coroutines" msgstr "" -#: reference/datamodel.rst:3272 +#: reference/datamodel.rst:3307 msgid "Awaitable Objects" msgstr "" -#: reference/datamodel.rst:3274 +#: reference/datamodel.rst:3309 msgid "" "An :term:`awaitable` object generally implements an :meth:`~object." "__await__` method. :term:`Coroutine objects ` returned from :" "keyword:`async def` functions are awaitable." msgstr "" -#: reference/datamodel.rst:3280 +#: reference/datamodel.rst:3315 msgid "" "The :term:`generator iterator` objects returned from generators decorated " "with :func:`types.coroutine` are also awaitable, but they do not implement :" "meth:`~object.__await__`." msgstr "" -#: reference/datamodel.rst:3286 +#: reference/datamodel.rst:3321 msgid "" "Must return an :term:`iterator`. Should be used to implement :term:" "`awaitable` objects. For instance, :class:`asyncio.Future` implements this " "method to be compatible with the :keyword:`await` expression." msgstr "" -#: reference/datamodel.rst:3292 +#: reference/datamodel.rst:3327 msgid "" "The language doesn't place any restriction on the type or value of the " "objects yielded by the iterator returned by ``__await__``, as this is " @@ -3599,15 +3665,15 @@ msgid "" "g. :mod:`asyncio`) that will be managing the :term:`awaitable` object." msgstr "" -#: reference/datamodel.rst:3300 +#: reference/datamodel.rst:3335 msgid ":pep:`492` for additional information about awaitable objects." msgstr "" -#: reference/datamodel.rst:3306 +#: reference/datamodel.rst:3341 msgid "Coroutine Objects" msgstr "" -#: reference/datamodel.rst:3308 +#: reference/datamodel.rst:3343 msgid "" ":term:`Coroutine objects ` are :term:`awaitable` objects. A " "coroutine's execution can be controlled by calling :meth:`~object.__await__` " @@ -3618,18 +3684,18 @@ msgid "" "should not directly raise unhandled :exc:`StopIteration` exceptions." msgstr "" -#: reference/datamodel.rst:3316 +#: reference/datamodel.rst:3351 msgid "" "Coroutines also have the methods listed below, which are analogous to those " "of generators (see :ref:`generator-methods`). However, unlike generators, " "coroutines do not directly support iteration." msgstr "" -#: reference/datamodel.rst:3320 +#: reference/datamodel.rst:3355 msgid "It is a :exc:`RuntimeError` to await on a coroutine more than once." msgstr "" -#: reference/datamodel.rst:3326 +#: reference/datamodel.rst:3361 msgid "" "Starts or resumes execution of the coroutine. If *value* is ``None``, this " "is equivalent to advancing the iterator returned by :meth:`~object." @@ -3640,7 +3706,7 @@ msgid "" "value, described above." msgstr "" -#: reference/datamodel.rst:3337 +#: reference/datamodel.rst:3372 msgid "" "Raises the specified exception in the coroutine. This method delegates to " "the :meth:`~generator.throw` method of the iterator that caused the " @@ -3651,13 +3717,13 @@ msgid "" "not caught in the coroutine, it propagates back to the caller." msgstr "" -#: reference/datamodel.rst:3348 +#: reference/datamodel.rst:3383 msgid "" "The second signature \\(type\\[, value\\[, traceback\\]\\]\\) is deprecated " "and may be removed in a future version of Python." msgstr "" -#: reference/datamodel.rst:3353 +#: reference/datamodel.rst:3388 msgid "" "Causes the coroutine to clean itself up and exit. If the coroutine is " "suspended, this method first delegates to the :meth:`~generator.close` " @@ -3667,99 +3733,99 @@ msgid "" "is marked as having finished executing, even if it was never started." msgstr "" -#: reference/datamodel.rst:3361 +#: reference/datamodel.rst:3396 msgid "" "Coroutine objects are automatically closed using the above process when they " "are about to be destroyed." msgstr "" -#: reference/datamodel.rst:3367 +#: reference/datamodel.rst:3402 msgid "Asynchronous Iterators" msgstr "" -#: reference/datamodel.rst:3369 +#: reference/datamodel.rst:3404 msgid "" "An *asynchronous iterator* can call asynchronous code in its ``__anext__`` " "method." msgstr "" -#: reference/datamodel.rst:3372 +#: reference/datamodel.rst:3407 msgid "" "Asynchronous iterators can be used in an :keyword:`async for` statement." msgstr "" -#: reference/datamodel.rst:3376 +#: reference/datamodel.rst:3411 msgid "Must return an *asynchronous iterator* object." msgstr "" -#: reference/datamodel.rst:3380 +#: reference/datamodel.rst:3415 msgid "" "Must return an *awaitable* resulting in a next value of the iterator. " "Should raise a :exc:`StopAsyncIteration` error when the iteration is over." msgstr "" -#: reference/datamodel.rst:3383 +#: reference/datamodel.rst:3418 msgid "An example of an asynchronous iterable object::" msgstr "" -#: reference/datamodel.rst:3400 +#: reference/datamodel.rst:3435 msgid "" "Prior to Python 3.7, :meth:`~object.__aiter__` could return an *awaitable* " "that would resolve to an :term:`asynchronous iterator `." msgstr "" -#: reference/datamodel.rst:3405 +#: reference/datamodel.rst:3440 msgid "" "Starting with Python 3.7, :meth:`~object.__aiter__` must return an " "asynchronous iterator object. Returning anything else will result in a :exc:" "`TypeError` error." msgstr "" -#: reference/datamodel.rst:3413 +#: reference/datamodel.rst:3448 msgid "Asynchronous Context Managers" msgstr "" -#: reference/datamodel.rst:3415 +#: reference/datamodel.rst:3450 msgid "" "An *asynchronous context manager* is a *context manager* that is able to " "suspend execution in its ``__aenter__`` and ``__aexit__`` methods." msgstr "" -#: reference/datamodel.rst:3418 +#: reference/datamodel.rst:3453 msgid "" "Asynchronous context managers can be used in an :keyword:`async with` " "statement." msgstr "" -#: reference/datamodel.rst:3422 +#: reference/datamodel.rst:3457 msgid "" "Semantically similar to :meth:`~object.__enter__`, the only difference being " "that it must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3427 +#: reference/datamodel.rst:3462 msgid "" "Semantically similar to :meth:`~object.__exit__`, the only difference being " "that it must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3430 +#: reference/datamodel.rst:3465 msgid "An example of an asynchronous context manager class::" msgstr "" -#: reference/datamodel.rst:3443 +#: reference/datamodel.rst:3478 msgid "Footnotes" msgstr "" -#: reference/datamodel.rst:3444 +#: reference/datamodel.rst:3479 msgid "" "It *is* possible in some cases to change an object's type, under certain " "controlled conditions. It generally isn't a good idea though, since it can " "lead to some very strange behaviour if it is handled incorrectly." msgstr "" -#: reference/datamodel.rst:3448 +#: reference/datamodel.rst:3483 msgid "" "The :meth:`~object.__hash__`, :meth:`~object.__iter__`, :meth:`~object." "__reversed__`, and :meth:`~object.__contains__` methods have special " @@ -3767,7 +3833,7 @@ msgid "" "by relying on the behavior that ``None`` is not callable." msgstr "" -#: reference/datamodel.rst:3454 +#: reference/datamodel.rst:3489 msgid "" "\"Does not support\" here means that the class has no such method, or the " "method returns ``NotImplemented``. Do not set the method to ``None`` if you " @@ -3775,7 +3841,7 @@ msgid "" "instead have the opposite effect of explicitly *blocking* such fallback." msgstr "" -#: reference/datamodel.rst:3460 +#: reference/datamodel.rst:3495 msgid "" "For operands of the same type, it is assumed that if the non-reflected " "method -- such as :meth:`~object.__add__` -- fails then the overall " @@ -3789,8 +3855,8 @@ msgstr "" #: reference/datamodel.rst:459 reference/datamodel.rst:512 #: reference/datamodel.rst:654 reference/datamodel.rst:823 #: reference/datamodel.rst:938 reference/datamodel.rst:1034 -#: reference/datamodel.rst:1198 reference/datamodel.rst:1364 -#: reference/datamodel.rst:2788 +#: reference/datamodel.rst:1198 reference/datamodel.rst:1399 +#: reference/datamodel.rst:2823 msgid "object" msgstr "" @@ -3799,10 +3865,10 @@ msgid "data" msgstr "" #: reference/datamodel.rst:292 reference/datamodel.rst:420 -#: reference/datamodel.rst:799 reference/datamodel.rst:1447 -#: reference/datamodel.rst:1692 reference/datamodel.rst:2329 -#: reference/datamodel.rst:2916 reference/datamodel.rst:2965 -#: reference/datamodel.rst:3022 reference/datamodel.rst:3050 +#: reference/datamodel.rst:799 reference/datamodel.rst:1482 +#: reference/datamodel.rst:1727 reference/datamodel.rst:2364 +#: reference/datamodel.rst:2951 reference/datamodel.rst:3000 +#: reference/datamodel.rst:3057 reference/datamodel.rst:3085 msgid "built-in function" msgstr "" @@ -3810,7 +3876,7 @@ msgstr "" msgid "id" msgstr "" -#: reference/datamodel.rst:122 reference/datamodel.rst:2329 +#: reference/datamodel.rst:122 reference/datamodel.rst:2364 msgid "type" msgstr "" @@ -3928,11 +3994,11 @@ msgstr "" msgid "Java" msgstr "" -#: reference/datamodel.rst:3022 +#: reference/datamodel.rst:3057 msgid "complex" msgstr "" -#: reference/datamodel.rst:420 reference/datamodel.rst:2758 +#: reference/datamodel.rst:420 reference/datamodel.rst:2793 msgid "len" msgstr "" @@ -3964,7 +4030,7 @@ msgstr "" msgid "immutable" msgstr "" -#: reference/datamodel.rst:1662 reference/datamodel.rst:1692 +#: reference/datamodel.rst:1697 reference/datamodel.rst:1727 msgid "string" msgstr "" @@ -4000,7 +4066,7 @@ msgstr "" msgid "empty" msgstr "" -#: reference/datamodel.rst:1687 +#: reference/datamodel.rst:1722 msgid "bytes" msgstr "" @@ -4020,8 +4086,8 @@ msgstr "" msgid "assignment" msgstr "" -#: reference/datamodel.rst:856 reference/datamodel.rst:1583 -#: reference/datamodel.rst:3077 +#: reference/datamodel.rst:856 reference/datamodel.rst:1618 +#: reference/datamodel.rst:3112 msgid "statement" msgstr "" @@ -4057,7 +4123,7 @@ msgstr "" msgid "mapping" msgstr "" -#: reference/datamodel.rst:938 reference/datamodel.rst:1773 +#: reference/datamodel.rst:938 reference/datamodel.rst:1808 msgid "dictionary" msgstr "" @@ -4078,7 +4144,7 @@ msgstr "" msgid "function" msgstr "" -#: reference/datamodel.rst:938 reference/datamodel.rst:2710 +#: reference/datamodel.rst:938 reference/datamodel.rst:2745 msgid "call" msgstr "" @@ -4186,7 +4252,7 @@ msgstr "" msgid "iterator" msgstr "" -#: reference/datamodel.rst:3264 +#: reference/datamodel.rst:3299 msgid "coroutine" msgstr "" @@ -4230,8 +4296,8 @@ msgstr "" msgid "__dict__ (module attribute)" msgstr "" -#: reference/datamodel.rst:956 reference/datamodel.rst:1566 -#: reference/datamodel.rst:2440 +#: reference/datamodel.rst:956 reference/datamodel.rst:1601 +#: reference/datamodel.rst:2475 msgid "class" msgstr "" @@ -4239,7 +4305,7 @@ msgstr "" msgid "class instance" msgstr "" -#: reference/datamodel.rst:1007 reference/datamodel.rst:2710 +#: reference/datamodel.rst:1007 reference/datamodel.rst:2745 msgid "instance" msgstr "" @@ -4419,286 +4485,286 @@ msgstr "" msgid "documentation string" msgstr "" -#: reference/datamodel.rst:1264 +#: reference/datamodel.rst:1299 msgid "frame" msgstr "" -#: reference/datamodel.rst:1270 +#: reference/datamodel.rst:1305 msgid "f_back (frame attribute)" msgstr "" -#: reference/datamodel.rst:1270 +#: reference/datamodel.rst:1305 msgid "f_code (frame attribute)" msgstr "" -#: reference/datamodel.rst:1270 +#: reference/datamodel.rst:1305 msgid "f_globals (frame attribute)" msgstr "" -#: reference/datamodel.rst:1270 +#: reference/datamodel.rst:1305 msgid "f_locals (frame attribute)" msgstr "" -#: reference/datamodel.rst:1270 +#: reference/datamodel.rst:1305 msgid "f_lasti (frame attribute)" msgstr "" -#: reference/datamodel.rst:1270 +#: reference/datamodel.rst:1305 msgid "f_builtins (frame attribute)" msgstr "" -#: reference/datamodel.rst:1309 +#: reference/datamodel.rst:1344 msgid "f_trace (frame attribute)" msgstr "" -#: reference/datamodel.rst:1309 +#: reference/datamodel.rst:1344 msgid "f_trace_lines (frame attribute)" msgstr "" -#: reference/datamodel.rst:1309 +#: reference/datamodel.rst:1344 msgid "f_trace_opcodes (frame attribute)" msgstr "" -#: reference/datamodel.rst:1309 +#: reference/datamodel.rst:1344 msgid "f_lineno (frame attribute)" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "traceback" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "stack" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "trace" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "exception" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "handler" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "execution" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "exc_info (in module sys)" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "last_traceback (in module sys)" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "sys.exc_info" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "sys.exception" msgstr "" -#: reference/datamodel.rst:1364 +#: reference/datamodel.rst:1399 msgid "sys.last_traceback" msgstr "" -#: reference/datamodel.rst:1401 +#: reference/datamodel.rst:1436 msgid "tb_frame (traceback attribute)" msgstr "" -#: reference/datamodel.rst:1401 +#: reference/datamodel.rst:1436 msgid "tb_lineno (traceback attribute)" msgstr "" -#: reference/datamodel.rst:1401 +#: reference/datamodel.rst:1436 msgid "tb_lasti (traceback attribute)" msgstr "" -#: reference/datamodel.rst:1401 +#: reference/datamodel.rst:1436 msgid "try" msgstr "" -#: reference/datamodel.rst:1431 +#: reference/datamodel.rst:1466 msgid "tb_next (traceback attribute)" msgstr "" -#: reference/datamodel.rst:2788 +#: reference/datamodel.rst:2823 msgid "slice" msgstr "" -#: reference/datamodel.rst:1453 +#: reference/datamodel.rst:1488 msgid "start (slice object attribute)" msgstr "" -#: reference/datamodel.rst:1453 +#: reference/datamodel.rst:1488 msgid "stop (slice object attribute)" msgstr "" -#: reference/datamodel.rst:1453 +#: reference/datamodel.rst:1488 msgid "step (slice object attribute)" msgstr "" -#: reference/datamodel.rst:1501 +#: reference/datamodel.rst:1536 msgid "operator" msgstr "" -#: reference/datamodel.rst:1501 +#: reference/datamodel.rst:1536 msgid "overloading" msgstr "" -#: reference/datamodel.rst:1501 +#: reference/datamodel.rst:1536 msgid "__getitem__() (mapping object method)" msgstr "" -#: reference/datamodel.rst:1537 +#: reference/datamodel.rst:1572 msgid "subclassing" msgstr "" -#: reference/datamodel.rst:1537 +#: reference/datamodel.rst:1572 msgid "immutable types" msgstr "" -#: reference/datamodel.rst:1566 +#: reference/datamodel.rst:1601 msgid "constructor" msgstr "" -#: reference/datamodel.rst:1583 +#: reference/datamodel.rst:1618 msgid "destructor" msgstr "" -#: reference/datamodel.rst:1583 +#: reference/datamodel.rst:1618 msgid "finalizer" msgstr "" -#: reference/datamodel.rst:1583 +#: reference/datamodel.rst:1618 msgid "del" msgstr "" -#: reference/datamodel.rst:1645 +#: reference/datamodel.rst:1680 msgid "repr() (built-in function)" msgstr "" -#: reference/datamodel.rst:1645 +#: reference/datamodel.rst:1680 msgid "__repr__() (object method)" msgstr "" -#: reference/datamodel.rst:1662 +#: reference/datamodel.rst:1697 msgid "__str__() (object method)" msgstr "" -#: reference/datamodel.rst:1662 +#: reference/datamodel.rst:1697 msgid "format() (built-in function)" msgstr "" -#: reference/datamodel.rst:1662 +#: reference/datamodel.rst:1697 msgid "print() (built-in function)" msgstr "" -#: reference/datamodel.rst:1692 +#: reference/datamodel.rst:1727 msgid "__format__() (object method)" msgstr "" -#: reference/datamodel.rst:1692 +#: reference/datamodel.rst:1727 msgid "conversion" msgstr "" -#: reference/datamodel.rst:1692 +#: reference/datamodel.rst:1727 msgid "print" msgstr "" -#: reference/datamodel.rst:1731 +#: reference/datamodel.rst:1766 msgid "comparisons" msgstr "" -#: reference/datamodel.rst:1773 +#: reference/datamodel.rst:1808 msgid "hash" msgstr "" -#: reference/datamodel.rst:1854 +#: reference/datamodel.rst:1889 msgid "__len__() (mapping object method)" msgstr "" -#: reference/datamodel.rst:1958 +#: reference/datamodel.rst:1993 msgid "__getattr__ (module attribute)" msgstr "" -#: reference/datamodel.rst:1958 +#: reference/datamodel.rst:1993 msgid "__dir__ (module attribute)" msgstr "" -#: reference/datamodel.rst:1958 +#: reference/datamodel.rst:1993 msgid "__class__ (module attribute)" msgstr "" -#: reference/datamodel.rst:2329 +#: reference/datamodel.rst:2364 msgid "metaclass" msgstr "" -#: reference/datamodel.rst:2329 +#: reference/datamodel.rst:2364 msgid "= (equals)" msgstr "" -#: reference/datamodel.rst:2329 +#: reference/datamodel.rst:2364 msgid "class definition" msgstr "" -#: reference/datamodel.rst:2393 +#: reference/datamodel.rst:2428 msgid "metaclass hint" msgstr "" -#: reference/datamodel.rst:2416 +#: reference/datamodel.rst:2451 msgid "__prepare__ (metaclass method)" msgstr "" -#: reference/datamodel.rst:2440 +#: reference/datamodel.rst:2475 msgid "body" msgstr "" -#: reference/datamodel.rst:2460 +#: reference/datamodel.rst:2495 msgid "__class__ (method cell)" msgstr "" -#: reference/datamodel.rst:2460 +#: reference/datamodel.rst:2495 msgid "__classcell__ (class namespace entry)" msgstr "" -#: reference/datamodel.rst:2758 +#: reference/datamodel.rst:2793 msgid "__bool__() (object method)" msgstr "" -#: reference/datamodel.rst:2951 +#: reference/datamodel.rst:2986 msgid "divmod" msgstr "" -#: reference/datamodel.rst:2951 reference/datamodel.rst:2965 +#: reference/datamodel.rst:2986 reference/datamodel.rst:3000 msgid "pow" msgstr "" -#: reference/datamodel.rst:3012 +#: reference/datamodel.rst:3047 msgid "abs" msgstr "" -#: reference/datamodel.rst:3022 +#: reference/datamodel.rst:3057 msgid "int" msgstr "" -#: reference/datamodel.rst:3022 +#: reference/datamodel.rst:3057 msgid "float" msgstr "" -#: reference/datamodel.rst:3050 +#: reference/datamodel.rst:3085 msgid "round" msgstr "" -#: reference/datamodel.rst:3077 +#: reference/datamodel.rst:3112 msgid "with" msgstr "" -#: reference/datamodel.rst:3077 +#: reference/datamodel.rst:3112 msgid "context manager" msgstr "" diff --git a/sphinx.po b/sphinx.po index 56d71a415..e8176750a 100644 --- a/sphinx.po +++ b/sphinx.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: 2022-12-28 16:25-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -45,40 +45,36 @@ msgstr "" "Sürüm {deprecated} 'den beri kullanım dışı, sürüm {removed} 'da kaldırıldı" #: tools/templates/dummy.html:12 -#, fuzzy -msgid " Part of the " -msgstr " Bir parçası " +msgid "Part of the" +msgstr "Bir parçası" #: tools/templates/dummy.html:13 -#, fuzzy msgid "Limited API" msgstr "Sınırlı API" #: tools/templates/dummy.html:14 -#, fuzzy msgid "Stable ABI" msgstr "Kararlı ABI" #: tools/templates/dummy.html:15 -msgid " (as an opaque struct)" -msgstr " (bir opak yapı olarak)" +msgid "(as an opaque struct)" +msgstr "(bir opak yapı olarak)" #: tools/templates/dummy.html:16 -msgid " (including all members)" -msgstr " (tüm üyeler dahil)" +msgid "(including all members)" +msgstr "(tüm üyeler dahil)" #: tools/templates/dummy.html:17 -msgid " since version %s" -msgstr " %s sürümünden beri" +msgid "since version %s" +msgstr "%s sürümünden beri" #: tools/templates/dummy.html:18 -msgid " (Only some members are part of the stable ABI.)" -msgstr " (Sadece bazı üyeler kararlı ABI'ın bir parçasıdır.)" +msgid "(Only some members are part of the stable ABI.)" +msgstr "(Sadece bazı üyeler kararlı ABI'ın bir parçasıdır.)" #: tools/templates/dummy.html:19 -#, fuzzy -msgid "This is " -msgstr "Bu " +msgid "This is" +msgstr "Bu" #: tools/templates/dummy.html:20 msgid "Unstable API" @@ -290,9 +286,8 @@ msgid "Copyright" msgstr "Telif Hakkı" #: tools/templates/indexcontent.html:65 -#, fuzzy msgid "Download the documentation" -msgstr "Bu dokümantasyonu indir" +msgstr "Dokümantasyonu indir" #: tools/templates/indexsidebar.html:1 msgid "Download" @@ -300,7 +295,7 @@ msgstr "İndir" #: tools/templates/indexsidebar.html:2 msgid "Download these documents" -msgstr "Bu dokümanları indir" +msgstr "Bu belgeleri indir" #: tools/templates/indexsidebar.html:3 msgid "Docs by version" diff --git a/whatsnew/2.4.po b/whatsnew/2.4.po index 7800b2cbe..b699f5790 100644 --- a/whatsnew/2.4.po +++ b/whatsnew/2.4.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1126,7 +1126,7 @@ msgstr "" #: whatsnew/2.4.rst:998 msgid "" -"The :mod:`asyncore` module's :func:`loop` function now has a *count* " +"The :mod:`!asyncore` module's :func:`!loop` function now has a *count* " "parameter that lets you perform a limited number of passes through the " "polling loop. The default is still to loop forever." msgstr "" diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index 5c04f3fab..7ab902c87 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: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1954,7 +1954,7 @@ msgstr "" #: whatsnew/2.6.rst:1792 msgid "" -"The :mod:`asyncore` and :mod:`asynchat` modules are being actively " +"The :mod:`!asyncore` and :mod:`!asynchat` modules are being actively " "maintained again, and a number of patches and bugfixes were applied. " "(Maintained by Josiah Carlson; see :issue:`1736190` for one patch.)" msgstr "" diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index 9ec8f20f6..3e19f28c3 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: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -122,7 +122,7 @@ msgstr "" msgid ":pep:`597`, Add optional EncodingWarning" msgstr "" -#: whatsnew/3.10.rst:2044 +#: whatsnew/3.10.rst:2046 msgid "New Features" msgstr "" @@ -359,16 +359,17 @@ msgstr "" #: whatsnew/3.10.rst:405 msgid "" -"The :attr:`~codeobject.co_lnotab` attribute of code objects is deprecated " -"and will be removed in 3.12. Code that needs to convert from offset to line " -"number should use the new ``co_lines()`` method instead." +"The :attr:`~codeobject.co_lnotab` attribute of :ref:`code objects ` is deprecated and will be removed in 3.12. Code that needs to " +"convert from offset to line number should use the new :meth:`~codeobject." +"co_lines` method instead." msgstr "" -#: whatsnew/3.10.rst:410 +#: whatsnew/3.10.rst:412 msgid "PEP 634: Structural Pattern Matching" msgstr "" -#: whatsnew/3.10.rst:412 +#: whatsnew/3.10.rst:414 msgid "" "Structural pattern matching has been added in the form of a *match " "statement* and *case statements* of patterns with associated actions. " @@ -378,40 +379,40 @@ msgid "" "actions based on different forms of data." msgstr "" -#: whatsnew/3.10.rst:420 +#: whatsnew/3.10.rst:422 msgid "Syntax and operations" msgstr "" -#: whatsnew/3.10.rst:422 +#: whatsnew/3.10.rst:424 msgid "The generic syntax of pattern matching is::" msgstr "" -#: whatsnew/3.10.rst:434 +#: whatsnew/3.10.rst:436 msgid "" "A match statement takes an expression and compares its value to successive " "patterns given as one or more case blocks. Specifically, pattern matching " "operates by:" msgstr "" -#: whatsnew/3.10.rst:438 +#: whatsnew/3.10.rst:440 msgid "using data with type and shape (the ``subject``)" msgstr "" -#: whatsnew/3.10.rst:439 +#: whatsnew/3.10.rst:441 msgid "evaluating the ``subject`` in the ``match`` statement" msgstr "" -#: whatsnew/3.10.rst:440 +#: whatsnew/3.10.rst:442 msgid "" "comparing the subject with each pattern in a ``case`` statement from top to " "bottom until a match is confirmed." msgstr "" -#: whatsnew/3.10.rst:442 +#: whatsnew/3.10.rst:444 msgid "executing the action associated with the pattern of the confirmed match" msgstr "" -#: whatsnew/3.10.rst:444 +#: whatsnew/3.10.rst:446 msgid "" "If an exact match is not confirmed, the last case, a wildcard ``_``, if " "provided, will be used as the matching case. If an exact match is not " @@ -419,11 +420,11 @@ msgid "" "op." msgstr "" -#: whatsnew/3.10.rst:450 +#: whatsnew/3.10.rst:452 msgid "Declarative approach" msgstr "" -#: whatsnew/3.10.rst:452 +#: whatsnew/3.10.rst:454 msgid "" "Readers may be aware of pattern matching through the simple example of " "matching a subject (data object) to a literal (pattern) with the switch " @@ -432,7 +433,7 @@ msgid "" "case statements containing literals." msgstr "" -#: whatsnew/3.10.rst:458 +#: whatsnew/3.10.rst:460 msgid "" "More powerful examples of pattern matching can be found in languages such as " "Scala and Elixir. With structural pattern matching, the approach is " @@ -440,7 +441,7 @@ msgid "" "to match." msgstr "" -#: whatsnew/3.10.rst:462 +#: whatsnew/3.10.rst:464 msgid "" "While an \"imperative\" series of instructions using nested \"if\" " "statements could be used to accomplish something similar to structural " @@ -452,11 +453,11 @@ msgid "" "of the subject's type and shape." msgstr "" -#: whatsnew/3.10.rst:471 +#: whatsnew/3.10.rst:473 msgid "Simple pattern: match to a literal" msgstr "" -#: whatsnew/3.10.rst:473 +#: whatsnew/3.10.rst:475 msgid "" "Let's look at this example as pattern matching in its simplest form: a " "value, the subject, being matched to several literals, the patterns. In the " @@ -465,7 +466,7 @@ msgid "" "status codes. The associated action to the case is executed after a match::" msgstr "" -#: whatsnew/3.10.rst:490 +#: whatsnew/3.10.rst:492 msgid "" "If the above function is passed a ``status`` of 418, \"I'm a teapot\" is " "returned. If the above function is passed a ``status`` of 500, the case " @@ -475,40 +476,40 @@ msgid "" "``_`` is optional." msgstr "" -#: whatsnew/3.10.rst:497 +#: whatsnew/3.10.rst:499 msgid "" "You can combine several literals in a single pattern using ``|`` (\"or\")::" msgstr "" -#: whatsnew/3.10.rst:503 +#: whatsnew/3.10.rst:505 msgid "Behavior without the wildcard" msgstr "" -#: whatsnew/3.10.rst:505 +#: whatsnew/3.10.rst:507 msgid "" "If we modify the above example by removing the last case block, the example " "becomes::" msgstr "" -#: whatsnew/3.10.rst:517 +#: whatsnew/3.10.rst:519 msgid "" "Without the use of ``_`` in a case statement, a match may not exist. If no " "match exists, the behavior is a no-op. For example, if ``status`` of 500 is " "passed, a no-op occurs." msgstr "" -#: whatsnew/3.10.rst:522 +#: whatsnew/3.10.rst:524 msgid "Patterns with a literal and variable" msgstr "" -#: whatsnew/3.10.rst:524 +#: whatsnew/3.10.rst:526 msgid "" "Patterns can look like unpacking assignments, and a pattern may be used to " "bind variables. In this example, a data point can be unpacked to its x-" "coordinate and y-coordinate::" msgstr "" -#: whatsnew/3.10.rst:541 +#: whatsnew/3.10.rst:543 msgid "" "The first pattern has two literals, ``(0, 0)``, and may be thought of as an " "extension of the literal pattern shown above. The next two patterns combine " @@ -517,22 +518,22 @@ msgid "" "conceptually similar to the unpacking assignment ``(x, y) = point``." msgstr "" -#: whatsnew/3.10.rst:548 +#: whatsnew/3.10.rst:550 msgid "Patterns and classes" msgstr "" -#: whatsnew/3.10.rst:550 +#: whatsnew/3.10.rst:552 msgid "" "If you are using classes to structure your data, you can use as a pattern " "the class name followed by an argument list resembling a constructor. This " "pattern has the ability to capture class attributes into variables::" msgstr "" -#: whatsnew/3.10.rst:572 +#: whatsnew/3.10.rst:574 msgid "Patterns with positional parameters" msgstr "" -#: whatsnew/3.10.rst:574 +#: whatsnew/3.10.rst:576 msgid "" "You can use positional parameters with some builtin classes that provide an " "ordering for their attributes (e.g. dataclasses). You can also define a " @@ -542,53 +543,53 @@ msgid "" "attribute to the ``var`` variable)::" msgstr "" -#: whatsnew/3.10.rst:586 +#: whatsnew/3.10.rst:588 msgid "Nested patterns" msgstr "" -#: whatsnew/3.10.rst:588 +#: whatsnew/3.10.rst:590 msgid "" "Patterns can be arbitrarily nested. For example, if our data is a short " "list of points, it could be matched like this::" msgstr "" -#: whatsnew/3.10.rst:604 +#: whatsnew/3.10.rst:606 msgid "Complex patterns and the wildcard" msgstr "" -#: whatsnew/3.10.rst:606 +#: whatsnew/3.10.rst:608 msgid "" "To this point, the examples have used ``_`` alone in the last case " "statement. A wildcard can be used in more complex patterns, such as " "``('error', code, _)``. For example::" msgstr "" -#: whatsnew/3.10.rst:616 +#: whatsnew/3.10.rst:618 msgid "" "In the above case, ``test_variable`` will match for ('error', code, 100) and " "('error', code, 800)." msgstr "" -#: whatsnew/3.10.rst:620 +#: whatsnew/3.10.rst:622 msgid "Guard" msgstr "" -#: whatsnew/3.10.rst:622 +#: whatsnew/3.10.rst:624 msgid "" "We can add an ``if`` clause to a pattern, known as a \"guard\". If the " "guard is false, ``match`` goes on to try the next case block. Note that " "value capture happens before the guard is evaluated::" msgstr "" -#: whatsnew/3.10.rst:633 +#: whatsnew/3.10.rst:635 msgid "Other Key Features" msgstr "" -#: whatsnew/3.10.rst:635 +#: whatsnew/3.10.rst:637 msgid "Several other key features:" msgstr "" -#: whatsnew/3.10.rst:637 +#: whatsnew/3.10.rst:639 msgid "" "Like unpacking assignments, tuple and list patterns have exactly the same " "meaning and actually match arbitrary sequences. Technically, the subject " @@ -597,7 +598,7 @@ msgid "" "match strings." msgstr "" -#: whatsnew/3.10.rst:643 +#: whatsnew/3.10.rst:645 msgid "" "Sequence patterns support wildcards: ``[x, y, *rest]`` and ``(x, y, *rest)`` " "work similar to wildcards in unpacking assignments. The name after ``*`` " @@ -605,7 +606,7 @@ msgid "" "items without binding the remaining items." msgstr "" -#: whatsnew/3.10.rst:648 +#: whatsnew/3.10.rst:650 msgid "" "Mapping patterns: ``{\"bandwidth\": b, \"latency\": l}`` captures the " "``\"bandwidth\"`` and ``\"latency\"`` values from a dict. Unlike sequence " @@ -613,40 +614,40 @@ msgid "" "(But ``**_`` would be redundant, so is not allowed.)" msgstr "" -#: whatsnew/3.10.rst:653 +#: whatsnew/3.10.rst:655 msgid "Subpatterns may be captured using the ``as`` keyword::" msgstr "" -#: whatsnew/3.10.rst:657 +#: whatsnew/3.10.rst:659 msgid "" "This binds x1, y1, x2, y2 like you would expect without the ``as`` clause, " "and p2 to the entire second item of the subject." msgstr "" -#: whatsnew/3.10.rst:660 +#: whatsnew/3.10.rst:662 msgid "" "Most literals are compared by equality. However, the singletons ``True``, " "``False`` and ``None`` are compared by identity." msgstr "" -#: whatsnew/3.10.rst:663 +#: whatsnew/3.10.rst:665 msgid "" "Named constants may be used in patterns. These named constants must be " "dotted names to prevent the constant from being interpreted as a capture " "variable::" msgstr "" -#: whatsnew/3.10.rst:682 +#: whatsnew/3.10.rst:684 msgid "" "For the full specification see :pep:`634`. Motivation and rationale are in :" "pep:`635`, and a longer tutorial is in :pep:`636`." msgstr "" -#: whatsnew/3.10.rst:689 +#: whatsnew/3.10.rst:691 msgid "Optional ``EncodingWarning`` and ``encoding=\"locale\"`` option" msgstr "" -#: whatsnew/3.10.rst:691 +#: whatsnew/3.10.rst:693 msgid "" "The default encoding of :class:`TextIOWrapper` and :func:`open` is platform " "and locale dependent. Since UTF-8 is used on most Unix platforms, omitting " @@ -654,81 +655,81 @@ msgid "" "Markdown) is a very common bug. For example::" msgstr "" -#: whatsnew/3.10.rst:700 +#: whatsnew/3.10.rst:702 msgid "" "To find this type of bug, an optional ``EncodingWarning`` is added. It is " "emitted when :data:`sys.flags.warn_default_encoding ` is true and " "locale-specific default encoding is used." msgstr "" -#: whatsnew/3.10.rst:704 +#: whatsnew/3.10.rst:706 msgid "" "``-X warn_default_encoding`` option and :envvar:`PYTHONWARNDEFAULTENCODING` " "are added to enable the warning." msgstr "" -#: whatsnew/3.10.rst:707 +#: whatsnew/3.10.rst:709 msgid "See :ref:`io-text-encoding` for more information." msgstr "" -#: whatsnew/3.10.rst:712 +#: whatsnew/3.10.rst:714 msgid "New Features Related to Type Hints" msgstr "" -#: whatsnew/3.10.rst:714 +#: whatsnew/3.10.rst:716 msgid "" "This section covers major changes affecting :pep:`484` type hints and the :" "mod:`typing` module." msgstr "" -#: whatsnew/3.10.rst:719 +#: whatsnew/3.10.rst:721 msgid "PEP 604: New Type Union Operator" msgstr "" -#: whatsnew/3.10.rst:721 +#: whatsnew/3.10.rst:723 msgid "" "A new type union operator was introduced which enables the syntax ``X | Y``. " "This provides a cleaner way of expressing 'either type X or type Y' instead " "of using :data:`typing.Union`, especially in type hints." msgstr "" -#: whatsnew/3.10.rst:725 +#: whatsnew/3.10.rst:727 msgid "" "In previous versions of Python, to apply a type hint for functions accepting " "arguments of multiple types, :data:`typing.Union` was used::" msgstr "" -#: whatsnew/3.10.rst:732 +#: whatsnew/3.10.rst:734 msgid "Type hints can now be written in a more succinct manner::" msgstr "" -#: whatsnew/3.10.rst:738 +#: whatsnew/3.10.rst:740 msgid "" "This new syntax is also accepted as the second argument to :func:" "`isinstance` and :func:`issubclass`::" msgstr "" -#: whatsnew/3.10.rst:744 +#: whatsnew/3.10.rst:746 msgid "See :ref:`types-union` and :pep:`604` for more details." msgstr "" -#: whatsnew/3.10.rst:746 +#: whatsnew/3.10.rst:748 msgid "" "(Contributed by Maggie Moss and Philippe Prados in :issue:`41428`, with " "additions by Yurii Karabas and Serhiy Storchaka in :issue:`44490`.)" msgstr "" -#: whatsnew/3.10.rst:751 +#: whatsnew/3.10.rst:753 msgid "PEP 612: Parameter Specification Variables" msgstr "" -#: whatsnew/3.10.rst:753 +#: whatsnew/3.10.rst:755 msgid "" "Two new options to improve the information provided to static type checkers " "for :pep:`484`\\ 's ``Callable`` have been added to the :mod:`typing` module." msgstr "" -#: whatsnew/3.10.rst:756 +#: whatsnew/3.10.rst:758 msgid "" "The first is the parameter specification variable. They are used to forward " "the parameter types of one callable to another callable -- a pattern " @@ -737,7 +738,7 @@ msgid "" "to type annotate dependency of parameter types in such a precise manner." msgstr "" -#: whatsnew/3.10.rst:762 +#: whatsnew/3.10.rst:764 msgid "" "The second option is the new ``Concatenate`` operator. It's used in " "conjunction with parameter specification variables to type annotate a higher " @@ -745,24 +746,24 @@ msgid "" "Examples of usage can be found in :class:`typing.Concatenate`." msgstr "" -#: whatsnew/3.10.rst:767 +#: whatsnew/3.10.rst:769 msgid "" "See :class:`typing.Callable`, :class:`typing.ParamSpec`, :class:`typing." "Concatenate`, :class:`typing.ParamSpecArgs`, :class:`typing." "ParamSpecKwargs`, and :pep:`612` for more details." msgstr "" -#: whatsnew/3.10.rst:771 +#: whatsnew/3.10.rst:773 msgid "" "(Contributed by Ken Jin in :issue:`41559`, with minor enhancements by Jelle " "Zijlstra in :issue:`43783`. PEP written by Mark Mendoza.)" msgstr "" -#: whatsnew/3.10.rst:776 +#: whatsnew/3.10.rst:778 msgid "PEP 613: TypeAlias" msgstr "" -#: whatsnew/3.10.rst:778 +#: whatsnew/3.10.rst:780 msgid "" ":pep:`484` introduced the concept of type aliases, only requiring them to be " "top-level unannotated assignments. This simplicity sometimes made it " @@ -771,25 +772,25 @@ msgid "" "involved. Compare::" msgstr "" -#: whatsnew/3.10.rst:786 +#: whatsnew/3.10.rst:788 msgid "" "Now the :mod:`typing` module has a special value :data:`TypeAlias` which " "lets you declare type aliases more explicitly::" msgstr "" -#: whatsnew/3.10.rst:792 +#: whatsnew/3.10.rst:794 msgid "See :pep:`613` for more details." msgstr "" -#: whatsnew/3.10.rst:794 +#: whatsnew/3.10.rst:796 msgid "(Contributed by Mikhail Golubev in :issue:`41923`.)" msgstr "" -#: whatsnew/3.10.rst:797 +#: whatsnew/3.10.rst:799 msgid "PEP 647: User-Defined Type Guards" msgstr "" -#: whatsnew/3.10.rst:799 +#: whatsnew/3.10.rst:801 msgid "" ":data:`TypeGuard` has been added to the :mod:`typing` module to annotate " "type guard functions and improve information provided to static type " @@ -797,24 +798,24 @@ msgid "" "`TypeGuard`\\ 's documentation, and :pep:`647`." msgstr "" -#: whatsnew/3.10.rst:804 +#: whatsnew/3.10.rst:806 msgid "" "(Contributed by Ken Jin and Guido van Rossum in :issue:`43766`. PEP written " "by Eric Traut.)" msgstr "" -#: whatsnew/3.10.rst:808 +#: whatsnew/3.10.rst:810 msgid "Other Language Changes" msgstr "" -#: whatsnew/3.10.rst:810 +#: whatsnew/3.10.rst:812 msgid "" "The :class:`int` type has a new method :meth:`int.bit_count`, returning the " "number of ones in the binary expansion of a given integer, also known as the " "population count. (Contributed by Niklas Fiekas in :issue:`29882`.)" msgstr "" -#: whatsnew/3.10.rst:814 +#: whatsnew/3.10.rst:816 msgid "" "The views returned by :meth:`dict.keys`, :meth:`dict.values` and :meth:`dict." "items` now all have a ``mapping`` attribute that gives a :class:`types." @@ -822,13 +823,13 @@ msgid "" "Dennis Sweeney in :issue:`40890`.)" msgstr "" -#: whatsnew/3.10.rst:819 +#: whatsnew/3.10.rst:821 msgid "" ":pep:`618`: The :func:`zip` function now has an optional ``strict`` flag, " "used to require that all the iterables have an equal length." msgstr "" -#: whatsnew/3.10.rst:822 +#: whatsnew/3.10.rst:824 msgid "" "Builtin and extension functions that take integer arguments no longer " "accept :class:`~decimal.Decimal`\\ s, :class:`~fractions.Fraction`\\ s and " @@ -837,20 +838,20 @@ msgid "" "__index__` method). (Contributed by Serhiy Storchaka in :issue:`37999`.)" msgstr "" -#: whatsnew/3.10.rst:829 +#: whatsnew/3.10.rst:831 msgid "" "If :func:`object.__ipow__` returns :const:`NotImplemented`, the operator " "will correctly fall back to :func:`object.__pow__` and :func:`object." "__rpow__` as expected. (Contributed by Alex Shkop in :issue:`38302`.)" msgstr "" -#: whatsnew/3.10.rst:833 +#: whatsnew/3.10.rst:835 msgid "" "Assignment expressions can now be used unparenthesized within set literals " "and set comprehensions, as well as in sequence indexes (but not slices)." msgstr "" -#: whatsnew/3.10.rst:836 +#: whatsnew/3.10.rst:838 msgid "" "Functions have a new ``__builtins__`` attribute which is used to look for " "builtin symbols when a function is executed, instead of looking into " @@ -859,7 +860,7 @@ msgid "" "builtins. (Contributed by Mark Shannon in :issue:`42990`.)" msgstr "" -#: whatsnew/3.10.rst:842 +#: whatsnew/3.10.rst:844 msgid "" "Two new builtin functions -- :func:`aiter` and :func:`anext` have been added " "to provide asynchronous counterparts to :func:`iter` and :func:`next`, " @@ -867,7 +868,7 @@ msgid "" "in :issue:`31861`.)" msgstr "" -#: whatsnew/3.10.rst:847 +#: whatsnew/3.10.rst:849 msgid "" "Static methods (:func:`@staticmethod `) and class methods (:" "func:`@classmethod `) now inherit the method attributes " @@ -877,7 +878,7 @@ msgid "" "Stinner in :issue:`43682`.)" msgstr "" -#: whatsnew/3.10.rst:854 +#: whatsnew/3.10.rst:856 msgid "" "Annotations for complex targets (everything beside ``simple name`` targets " "defined by :pep:`526`) no longer cause any runtime effects with ``from " @@ -885,7 +886,7 @@ msgid "" "`42737`.)" msgstr "" -#: whatsnew/3.10.rst:858 +#: whatsnew/3.10.rst:860 msgid "" "Class and module objects now lazy-create empty annotations dicts on demand. " "The annotations dicts are stored in the object’s ``__dict__`` for backwards " @@ -894,7 +895,7 @@ msgid "" "howto`. (Contributed by Larry Hastings in :issue:`43901`.)" msgstr "" -#: whatsnew/3.10.rst:865 +#: whatsnew/3.10.rst:867 msgid "" "Annotations consist of ``yield``, ``yield from``, ``await`` or named " "expressions are now forbidden under ``from __future__ import annotations`` " @@ -902,7 +903,7 @@ msgid "" "`42725`.)" msgstr "" -#: whatsnew/3.10.rst:870 +#: whatsnew/3.10.rst:872 msgid "" "Usage of unbound variables, ``super()`` and other expressions that might " "alter the processing of symbol table as annotations are now rendered " @@ -910,7 +911,7 @@ msgid "" "Batuhan Taskaya in :issue:`42725`.)" msgstr "" -#: whatsnew/3.10.rst:875 +#: whatsnew/3.10.rst:877 msgid "" "Hashes of NaN values of both :class:`float` type and :class:`decimal." "Decimal` type now depend on object identity. Formerly, they always hashed to " @@ -920,121 +921,121 @@ msgid "" "Raymond Hettinger in :issue:`43475`.)" msgstr "" -#: whatsnew/3.10.rst:882 +#: whatsnew/3.10.rst:884 msgid "" "A :exc:`SyntaxError` (instead of a :exc:`NameError`) will be raised when " "deleting the :const:`__debug__` constant. (Contributed by Donghee Na in :" "issue:`45000`.)" msgstr "" -#: whatsnew/3.10.rst:885 +#: whatsnew/3.10.rst:887 msgid "" ":exc:`SyntaxError` exceptions now have ``end_lineno`` and ``end_offset`` " "attributes. They will be ``None`` if not determined. (Contributed by Pablo " "Galindo in :issue:`43914`.)" msgstr "" -#: whatsnew/3.10.rst:890 +#: whatsnew/3.10.rst:892 msgid "New Modules" msgstr "" -#: whatsnew/3.10.rst:892 +#: whatsnew/3.10.rst:894 msgid "None." msgstr "" -#: whatsnew/3.10.rst:896 +#: whatsnew/3.10.rst:898 msgid "Improved Modules" msgstr "" -#: whatsnew/3.10.rst:899 +#: whatsnew/3.10.rst:901 msgid "asyncio" msgstr "" -#: whatsnew/3.10.rst:901 +#: whatsnew/3.10.rst:903 msgid "" "Add missing :meth:`~asyncio.events.AbstractEventLoop." "connect_accepted_socket` method. (Contributed by Alex Grönholm in :issue:" "`41332`.)" msgstr "" -#: whatsnew/3.10.rst:906 +#: whatsnew/3.10.rst:908 msgid "argparse" msgstr "" -#: whatsnew/3.10.rst:908 +#: whatsnew/3.10.rst:910 msgid "" "Misleading phrase \"optional arguments\" was replaced with \"options\" in " "argparse help. Some tests might require adaptation if they rely on exact " "output match. (Contributed by Raymond Hettinger in :issue:`9694`.)" msgstr "" -#: whatsnew/3.10.rst:912 +#: whatsnew/3.10.rst:914 msgid "array" msgstr "" -#: whatsnew/3.10.rst:914 +#: whatsnew/3.10.rst:916 msgid "" "The :meth:`~array.array.index` method of :class:`array.array` now has " "optional *start* and *stop* parameters. (Contributed by Anders Lorentsen and " "Zackery Spytz in :issue:`31956`.)" msgstr "" -#: whatsnew/3.10.rst:919 +#: whatsnew/3.10.rst:921 msgid "asynchat, asyncore, smtpd" msgstr "" -#: whatsnew/3.10.rst:920 +#: whatsnew/3.10.rst:922 msgid "" "These modules have been marked as deprecated in their module documentation " "since Python 3.6. An import-time :class:`DeprecationWarning` has now been " "added to all three of these modules." msgstr "" -#: whatsnew/3.10.rst:925 +#: whatsnew/3.10.rst:927 msgid "base64" msgstr "" -#: whatsnew/3.10.rst:927 +#: whatsnew/3.10.rst:929 msgid "" "Add :func:`base64.b32hexencode` and :func:`base64.b32hexdecode` to support " "the Base32 Encoding with Extended Hex Alphabet." msgstr "" -#: whatsnew/3.10.rst:931 +#: whatsnew/3.10.rst:933 msgid "bdb" msgstr "" -#: whatsnew/3.10.rst:933 +#: whatsnew/3.10.rst:935 msgid "" "Add :meth:`~bdb.Breakpoint.clearBreakpoints` to reset all set breakpoints. " "(Contributed by Irit Katriel in :issue:`24160`.)" msgstr "" -#: whatsnew/3.10.rst:937 +#: whatsnew/3.10.rst:939 msgid "bisect" msgstr "" -#: whatsnew/3.10.rst:939 +#: whatsnew/3.10.rst:941 msgid "" "Added the possibility of providing a *key* function to the APIs in the :mod:" "`bisect` module. (Contributed by Raymond Hettinger in :issue:`4356`.)" msgstr "" -#: whatsnew/3.10.rst:943 +#: whatsnew/3.10.rst:945 msgid "codecs" msgstr "" -#: whatsnew/3.10.rst:945 +#: whatsnew/3.10.rst:947 msgid "" "Add a :func:`codecs.unregister` function to unregister a codec search " "function. (Contributed by Hai Shi in :issue:`41842`.)" msgstr "" -#: whatsnew/3.10.rst:949 +#: whatsnew/3.10.rst:951 msgid "collections.abc" msgstr "" -#: whatsnew/3.10.rst:951 +#: whatsnew/3.10.rst:953 msgid "" "The ``__args__`` of the :ref:`parameterized generic ` " "for :class:`collections.abc.Callable` are now consistent with :data:`typing." @@ -1050,34 +1051,34 @@ msgid "" "`42195`.)" msgstr "" -#: whatsnew/3.10.rst:964 +#: whatsnew/3.10.rst:966 msgid "contextlib" msgstr "" -#: whatsnew/3.10.rst:966 +#: whatsnew/3.10.rst:968 msgid "" "Add a :func:`contextlib.aclosing` context manager to safely close async " "generators and objects representing asynchronously released resources. " "(Contributed by Joongi Kim and John Belmonte in :issue:`41229`.)" msgstr "" -#: whatsnew/3.10.rst:970 +#: whatsnew/3.10.rst:972 msgid "" "Add asynchronous context manager support to :func:`contextlib.nullcontext`. " "(Contributed by Tom Gringauz in :issue:`41543`.)" msgstr "" -#: whatsnew/3.10.rst:973 +#: whatsnew/3.10.rst:975 msgid "" "Add :class:`AsyncContextDecorator`, for supporting usage of async context " "managers as decorators." msgstr "" -#: whatsnew/3.10.rst:977 +#: whatsnew/3.10.rst:979 msgid "curses" msgstr "" -#: whatsnew/3.10.rst:979 +#: whatsnew/3.10.rst:981 msgid "" "The extended color functions added in ncurses 6.1 will be used transparently " "by :func:`curses.color_content`, :func:`curses.init_color`, :func:`curses." @@ -1087,53 +1088,53 @@ msgid "" "Kintscher and Hans Petter Jansson in :issue:`36982`.)" msgstr "" -#: whatsnew/3.10.rst:986 +#: whatsnew/3.10.rst:988 msgid "" "The ``BUTTON5_*`` constants are now exposed in the :mod:`curses` module if " "they are provided by the underlying curses library. (Contributed by Zackery " "Spytz in :issue:`39273`.)" msgstr "" -#: whatsnew/3.10.rst:991 +#: whatsnew/3.10.rst:993 msgid "dataclasses" msgstr "" -#: whatsnew/3.10.rst:994 +#: whatsnew/3.10.rst:996 msgid "__slots__" msgstr "" -#: whatsnew/3.10.rst:996 +#: whatsnew/3.10.rst:998 msgid "" "Added ``slots`` parameter in :func:`dataclasses.dataclass` decorator. " "(Contributed by Yurii Karabas in :issue:`42269`)" msgstr "" -#: whatsnew/3.10.rst:1000 +#: whatsnew/3.10.rst:1002 msgid "Keyword-only fields" msgstr "" -#: whatsnew/3.10.rst:1002 +#: whatsnew/3.10.rst:1004 msgid "" "dataclasses now supports fields that are keyword-only in the generated " "__init__ method. There are a number of ways of specifying keyword-only " "fields." msgstr "" -#: whatsnew/3.10.rst:1006 +#: whatsnew/3.10.rst:1008 msgid "You can say that every field is keyword-only:" msgstr "" -#: whatsnew/3.10.rst:1017 +#: whatsnew/3.10.rst:1019 msgid "" "Both ``name`` and ``birthday`` are keyword-only parameters to the generated " "__init__ method." msgstr "" -#: whatsnew/3.10.rst:1020 +#: whatsnew/3.10.rst:1022 msgid "You can specify keyword-only on a per-field basis:" msgstr "" -#: whatsnew/3.10.rst:1031 +#: whatsnew/3.10.rst:1033 msgid "" "Here only ``birthday`` is keyword-only. If you set ``kw_only`` on " "individual fields, be aware that there are rules about re-ordering fields " @@ -1141,23 +1142,23 @@ msgid "" "the full dataclasses documentation for details." msgstr "" -#: whatsnew/3.10.rst:1036 +#: whatsnew/3.10.rst:1038 msgid "" "You can also specify that all fields following a KW_ONLY marker are keyword-" "only. This will probably be the most common usage:" msgstr "" -#: whatsnew/3.10.rst:1051 +#: whatsnew/3.10.rst:1053 msgid "" "Here, ``z`` and ``t`` are keyword-only parameters, while ``x`` and ``y`` are " "not. (Contributed by Eric V. Smith in :issue:`43532`.)" msgstr "" -#: whatsnew/3.10.rst:1058 +#: whatsnew/3.10.rst:1060 msgid "distutils" msgstr "" -#: whatsnew/3.10.rst:1060 +#: whatsnew/3.10.rst:1062 msgid "" "The entire ``distutils`` package is deprecated, to be removed in Python " "3.12. Its functionality for specifying package builds has already been " @@ -1170,38 +1171,38 @@ msgid "" "`632` for discussion." msgstr "" -#: whatsnew/3.10.rst:1070 +#: whatsnew/3.10.rst:1072 msgid "" "The ``bdist_wininst`` command deprecated in Python 3.8 has been removed. The " "``bdist_wheel`` command is now recommended to distribute binary packages on " "Windows. (Contributed by Victor Stinner in :issue:`42802`.)" msgstr "" -#: whatsnew/3.10.rst:1076 +#: whatsnew/3.10.rst:1078 msgid "doctest" msgstr "" -#: whatsnew/3.10.rst:1213 whatsnew/3.10.rst:1339 +#: whatsnew/3.10.rst:1215 whatsnew/3.10.rst:1341 msgid "" "When a module does not define ``__loader__``, fall back to ``__spec__." "loader``. (Contributed by Brett Cannon in :issue:`42133`.)" msgstr "" -#: whatsnew/3.10.rst:1082 +#: whatsnew/3.10.rst:1084 msgid "encodings" msgstr "" -#: whatsnew/3.10.rst:1084 +#: whatsnew/3.10.rst:1086 msgid "" ":func:`encodings.normalize_encoding` now ignores non-ASCII characters. " "(Contributed by Hai Shi in :issue:`39337`.)" msgstr "" -#: whatsnew/3.10.rst:1088 +#: whatsnew/3.10.rst:1090 msgid "enum" msgstr "" -#: whatsnew/3.10.rst:1090 +#: whatsnew/3.10.rst:1092 msgid "" ":class:`Enum` :func:`__repr__` now returns ``enum_name.member_name`` and :" "func:`__str__` now returns ``member_name``. Stdlib enums available as " @@ -1209,106 +1210,106 @@ msgid "" "(Contributed by Ethan Furman in :issue:`40066`.)" msgstr "" -#: whatsnew/3.10.rst:1095 +#: whatsnew/3.10.rst:1097 msgid "" "Add :class:`enum.StrEnum` for enums where all members are strings. " "(Contributed by Ethan Furman in :issue:`41816`.)" msgstr "" -#: whatsnew/3.10.rst:1099 +#: whatsnew/3.10.rst:1101 msgid "fileinput" msgstr "" -#: whatsnew/3.10.rst:1101 +#: whatsnew/3.10.rst:1103 msgid "" "Add *encoding* and *errors* parameters in :func:`fileinput.input` and :class:" "`fileinput.FileInput`. (Contributed by Inada Naoki in :issue:`43712`.)" msgstr "" -#: whatsnew/3.10.rst:1105 +#: whatsnew/3.10.rst:1107 msgid "" ":func:`fileinput.hook_compressed` now returns :class:`TextIOWrapper` object " "when *mode* is \"r\" and file is compressed, like uncompressed files. " "(Contributed by Inada Naoki in :issue:`5758`.)" msgstr "" -#: whatsnew/3.10.rst:1110 +#: whatsnew/3.10.rst:1112 msgid "faulthandler" msgstr "" -#: whatsnew/3.10.rst:1112 +#: whatsnew/3.10.rst:1114 msgid "" "The :mod:`faulthandler` module now detects if a fatal error occurs during a " "garbage collector collection. (Contributed by Victor Stinner in :issue:" "`44466`.)" msgstr "" -#: whatsnew/3.10.rst:1117 +#: whatsnew/3.10.rst:1119 msgid "gc" msgstr "" -#: whatsnew/3.10.rst:1119 +#: whatsnew/3.10.rst:1121 msgid "" "Add audit hooks for :func:`gc.get_objects`, :func:`gc.get_referrers` and :" "func:`gc.get_referents`. (Contributed by Pablo Galindo in :issue:`43439`.)" msgstr "" -#: whatsnew/3.10.rst:1123 +#: whatsnew/3.10.rst:1125 msgid "glob" msgstr "" -#: whatsnew/3.10.rst:1125 +#: whatsnew/3.10.rst:1127 msgid "" "Add the *root_dir* and *dir_fd* parameters in :func:`~glob.glob` and :func:" "`~glob.iglob` which allow to specify the root directory for searching. " "(Contributed by Serhiy Storchaka in :issue:`38144`.)" msgstr "" -#: whatsnew/3.10.rst:1130 +#: whatsnew/3.10.rst:1132 msgid "hashlib" msgstr "" -#: whatsnew/3.10.rst:1132 +#: whatsnew/3.10.rst:1134 msgid "" "The hashlib module requires OpenSSL 1.1.1 or newer. (Contributed by " "Christian Heimes in :pep:`644` and :issue:`43669`.)" msgstr "" -#: whatsnew/3.10.rst:1135 +#: whatsnew/3.10.rst:1137 msgid "" "The hashlib module has preliminary support for OpenSSL 3.0.0. (Contributed " "by Christian Heimes in :issue:`38820` and other issues.)" msgstr "" -#: whatsnew/3.10.rst:1138 +#: whatsnew/3.10.rst:1140 msgid "" "The pure-Python fallback of :func:`~hashlib.pbkdf2_hmac` is deprecated. In " "the future PBKDF2-HMAC will only be available when Python has been built " "with OpenSSL support. (Contributed by Christian Heimes in :issue:`43880`.)" msgstr "" -#: whatsnew/3.10.rst:1144 +#: whatsnew/3.10.rst:1146 msgid "hmac" msgstr "" -#: whatsnew/3.10.rst:1146 +#: whatsnew/3.10.rst:1148 msgid "" "The hmac module now uses OpenSSL's HMAC implementation internally. " "(Contributed by Christian Heimes in :issue:`40645`.)" msgstr "" -#: whatsnew/3.10.rst:1150 +#: whatsnew/3.10.rst:1152 msgid "IDLE and idlelib" msgstr "" -#: whatsnew/3.10.rst:1152 +#: whatsnew/3.10.rst:1154 msgid "" "Make IDLE invoke :func:`sys.excepthook` (when started without '-n'). User " "hooks were previously ignored. (Contributed by Ken Hilton in :issue:" "`43008`.)" msgstr "" -#: whatsnew/3.10.rst:1156 +#: whatsnew/3.10.rst:1158 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 " @@ -1319,11 +1320,11 @@ msgid "" "`33962`.)" msgstr "" -#: whatsnew/3.10.rst:1164 +#: whatsnew/3.10.rst:1166 msgid "The changes above were backported to a 3.9 maintenance release." msgstr "" -#: whatsnew/3.10.rst:1166 +#: whatsnew/3.10.rst:1168 msgid "" "Add a Shell sidebar. Move the primary prompt ('>>>') to the sidebar. Add " "secondary prompts ('...') to the sidebar. Left click and optional drag " @@ -1334,7 +1335,7 @@ msgid "" "text. (Contributed by Tal Einat in :issue:`37903`.)" msgstr "" -#: whatsnew/3.10.rst:1175 +#: whatsnew/3.10.rst:1177 msgid "" "Use spaces instead of tabs to indent interactive code. This makes " "interactive code entries 'look right'. Making this feasible was a major " @@ -1342,7 +1343,7 @@ msgid "" "in :issue:`37892`.)" msgstr "" -#: whatsnew/3.10.rst:1180 +#: whatsnew/3.10.rst:1182 msgid "" "Highlight the new :ref:`soft keywords ` :keyword:`match`, :" "keyword:`case `, and :keyword:`_ ` in pattern-" @@ -1351,33 +1352,33 @@ msgid "" "(Contributed by Tal Einat in :issue:`44010`.)" msgstr "" -#: whatsnew/3.10.rst:1186 +#: whatsnew/3.10.rst:1188 msgid "New in 3.10 maintenance releases." msgstr "" -#: whatsnew/3.10.rst:1188 +#: whatsnew/3.10.rst:1190 msgid "" "Apply syntax highlighting to ``.pyi`` files. (Contributed by Alex Waygood " "and Terry Jan Reedy in :issue:`45447`.)" msgstr "" -#: whatsnew/3.10.rst:1191 +#: whatsnew/3.10.rst:1193 msgid "" "Include prompts when saving Shell with inputs and outputs. (Contributed by " "Terry Jan Reedy in :gh:`95191`.)" msgstr "" -#: whatsnew/3.10.rst:1195 +#: whatsnew/3.10.rst:1197 msgid "importlib.metadata" msgstr "" -#: whatsnew/3.10.rst:1197 +#: whatsnew/3.10.rst:1199 msgid "" "Feature parity with ``importlib_metadata`` 4.6 (`history `_)." msgstr "" -#: whatsnew/3.10.rst:1200 +#: whatsnew/3.10.rst:1202 msgid "" ":ref:`importlib.metadata entry points ` now provide a nicer " "experience for selecting entry points by group and name through a new :class:" @@ -1385,18 +1386,18 @@ msgid "" "docs for more info on the deprecation and usage." msgstr "" -#: whatsnew/3.10.rst:1206 +#: whatsnew/3.10.rst:1208 msgid "" "Added :func:`importlib.metadata.packages_distributions` for resolving top-" "level Python modules and packages to their :class:`importlib.metadata." "Distribution`." msgstr "" -#: whatsnew/3.10.rst:1211 +#: whatsnew/3.10.rst:1213 msgid "inspect" msgstr "" -#: whatsnew/3.10.rst:1216 +#: whatsnew/3.10.rst:1218 msgid "" "Add :func:`inspect.get_annotations`, which safely computes the annotations " "defined on an object. It works around the quirks of accessing the " @@ -1414,38 +1415,38 @@ msgid "" "`43817`.)" msgstr "" -#: whatsnew/3.10.rst:1232 +#: whatsnew/3.10.rst:1234 msgid "itertools" msgstr "" -#: whatsnew/3.10.rst:1234 +#: whatsnew/3.10.rst:1236 msgid "" "Add :func:`itertools.pairwise()`. (Contributed by Raymond Hettinger in :" "issue:`38200`.)" msgstr "" -#: whatsnew/3.10.rst:1238 +#: whatsnew/3.10.rst:1240 msgid "linecache" msgstr "" -#: whatsnew/3.10.rst:1244 +#: whatsnew/3.10.rst:1246 msgid "os" msgstr "" -#: whatsnew/3.10.rst:1246 +#: whatsnew/3.10.rst:1248 msgid "" "Add :func:`os.cpu_count()` support for VxWorks RTOS. (Contributed by Peixing " "Xin in :issue:`41440`.)" msgstr "" -#: whatsnew/3.10.rst:1249 +#: whatsnew/3.10.rst:1251 msgid "" "Add a new function :func:`os.eventfd` and related helpers to wrap the " "``eventfd2`` syscall on Linux. (Contributed by Christian Heimes in :issue:" "`41001`.)" msgstr "" -#: whatsnew/3.10.rst:1253 +#: whatsnew/3.10.rst:1255 msgid "" "Add :func:`os.splice()` that allows to move data between two file " "descriptors without copying between kernel address space and user address " @@ -1453,49 +1454,49 @@ msgid "" "by Pablo Galindo in :issue:`41625`.)" msgstr "" -#: whatsnew/3.10.rst:1258 +#: whatsnew/3.10.rst:1260 msgid "" "Add :const:`~os.O_EVTONLY`, :const:`~os.O_FSYNC`, :const:`~os.O_SYMLINK` " "and :const:`~os.O_NOFOLLOW_ANY` for macOS. (Contributed by Donghee Na in :" "issue:`43106`.)" msgstr "" -#: whatsnew/3.10.rst:1263 +#: whatsnew/3.10.rst:1265 msgid "os.path" msgstr "" -#: whatsnew/3.10.rst:1265 +#: whatsnew/3.10.rst:1267 msgid "" ":func:`os.path.realpath` now accepts a *strict* keyword-only argument. When " "set to ``True``, :exc:`OSError` is raised if a path doesn't exist or a " "symlink loop is encountered. (Contributed by Barney Gale in :issue:`43757`.)" msgstr "" -#: whatsnew/3.10.rst:1271 +#: whatsnew/3.10.rst:1273 msgid "pathlib" msgstr "" -#: whatsnew/3.10.rst:1273 +#: whatsnew/3.10.rst:1275 msgid "" "Add slice support to :attr:`PurePath.parents `. " "(Contributed by Joshua Cannon in :issue:`35498`.)" msgstr "" -#: whatsnew/3.10.rst:1276 +#: whatsnew/3.10.rst:1278 msgid "" "Add negative indexing support to :attr:`PurePath.parents `. (Contributed by Yaroslav Pankovych in :issue:`21041`.)" msgstr "" -#: whatsnew/3.10.rst:1280 +#: whatsnew/3.10.rst:1282 msgid "" "Add :meth:`Path.hardlink_to ` method that " -"supersedes :meth:`~pathlib.Path.link_to`. The new method has the same " -"argument order as :meth:`~pathlib.Path.symlink_to`. (Contributed by Barney " -"Gale in :issue:`39950`.)" +"supersedes :meth:`!link_to`. The new method has the same argument order as :" +"meth:`~pathlib.Path.symlink_to`. (Contributed by Barney Gale in :issue:" +"`39950`.)" msgstr "" -#: whatsnew/3.10.rst:1285 +#: whatsnew/3.10.rst:1287 msgid "" ":meth:`pathlib.Path.stat` and :meth:`~pathlib.Path.chmod` now accept a " "*follow_symlinks* keyword-only argument for consistency with corresponding " @@ -1503,11 +1504,11 @@ msgid "" "`39906`.)" msgstr "" -#: whatsnew/3.10.rst:1291 +#: whatsnew/3.10.rst:1293 msgid "platform" msgstr "" -#: whatsnew/3.10.rst:1293 +#: whatsnew/3.10.rst:1295 msgid "" "Add :func:`platform.freedesktop_os_release()` to retrieve operation system " "identification from `freedesktop.org os-release ` section for " "more information." msgstr "" -#: whatsnew/3.10.rst:1631 +#: whatsnew/3.10.rst:1633 msgid "" "Non-integer arguments to :func:`random.randrange` are deprecated. The :exc:" "`ValueError` is deprecated in favor of a :exc:`TypeError`. (Contributed by " "Serhiy Storchaka and Raymond Hettinger in :issue:`37319`.)" msgstr "" -#: whatsnew/3.10.rst:1635 +#: whatsnew/3.10.rst:1637 msgid "" "The various ``load_module()`` methods of :mod:`importlib` have been " "documented as deprecated since Python 3.6, but will now also trigger a :exc:" @@ -2022,21 +2023,21 @@ msgid "" "(Contributed by Brett Cannon in :issue:`26131`.)" msgstr "" -#: whatsnew/3.10.rst:1641 +#: whatsnew/3.10.rst:1643 msgid "" ":meth:`zimport.zipimporter.load_module` has been deprecated in preference " "for :meth:`~zipimport.zipimporter.exec_module`. (Contributed by Brett Cannon " "in :issue:`26131`.)" msgstr "" -#: whatsnew/3.10.rst:1645 +#: whatsnew/3.10.rst:1647 msgid "" "The use of :meth:`~importlib.abc.Loader.load_module` by the import system " "now triggers an :exc:`ImportWarning` as :meth:`~importlib.abc.Loader." "exec_module` is preferred. (Contributed by Brett Cannon in :issue:`26131`.)" msgstr "" -#: whatsnew/3.10.rst:1650 +#: whatsnew/3.10.rst:1652 msgid "" "The use of :meth:`!importlib.abc.MetaPathFinder.find_module` and :meth:`!" "importlib.abc.PathEntryFinder.find_module` by the import system now trigger " @@ -2046,7 +2047,7 @@ msgid "" "porting. (Contributed by Brett Cannon in :issue:`42134`.)" msgstr "" -#: whatsnew/3.10.rst:1659 +#: whatsnew/3.10.rst:1661 msgid "" "The use of :meth:`!importlib.abc.PathEntryFinder.find_loader` by the import " "system now triggers an :exc:`ImportWarning` as :meth:`importlib.abc." @@ -2055,7 +2056,7 @@ msgid "" "`43672`.)" msgstr "" -#: whatsnew/3.10.rst:1665 +#: whatsnew/3.10.rst:1667 msgid "" "The various implementations of :meth:`!importlib.abc.MetaPathFinder." "find_module` ( :meth:`!importlib.machinery.BuiltinImporter.find_module`, :" @@ -2070,7 +2071,7 @@ msgid "" "Python 3.4). (Contributed by Brett Cannon in :issue:`42135`.)" msgstr "" -#: whatsnew/3.10.rst:1680 +#: whatsnew/3.10.rst:1682 msgid "" ":class:`!importlib.abc.Finder` is deprecated (including its sole method, :" "meth:`!find_module`). Both :class:`importlib.abc.MetaPathFinder` and :class:" @@ -2079,7 +2080,7 @@ msgid "" "(Contributed by Brett Cannon in :issue:`42135`.)" msgstr "" -#: whatsnew/3.10.rst:1687 +#: whatsnew/3.10.rst:1689 msgid "" "The deprecations of :mod:`!imp`, :func:`!importlib.find_loader`, :func:`!" "importlib.util.set_package_wrapper`, :func:`!importlib.util." @@ -2090,7 +2091,7 @@ msgid "" "Brett Cannon in :issue:`43720`.)" msgstr "" -#: whatsnew/3.10.rst:1697 +#: whatsnew/3.10.rst:1699 msgid "" "The import system now uses the ``__spec__`` attribute on modules before " "falling back on :meth:`!module_repr` for a module's ``__repr__()`` method. " @@ -2098,7 +2099,7 @@ msgid "" "(Contributed by Brett Cannon in :issue:`42137`.)" msgstr "" -#: whatsnew/3.10.rst:1703 +#: whatsnew/3.10.rst:1705 msgid "" ":meth:`!importlib.abc.Loader.module_repr`, :meth:`!importlib.machinery." "FrozenLoader.module_repr`, and :meth:`!importlib.machinery.BuiltinLoader." @@ -2106,7 +2107,7 @@ msgid "" "(Contributed by Brett Cannon in :issue:`42136`.)" msgstr "" -#: whatsnew/3.10.rst:1709 +#: whatsnew/3.10.rst:1711 msgid "" "``sqlite3.OptimizedUnicode`` has been undocumented and obsolete since Python " "3.3, when it was made an alias to :class:`str`. It is now deprecated, " @@ -2114,7 +2115,7 @@ msgid "" "issue:`42264`.)" msgstr "" -#: whatsnew/3.10.rst:1714 +#: whatsnew/3.10.rst:1716 msgid "" "The undocumented built-in function ``sqlite3.enable_shared_cache`` is now " "deprecated, scheduled for removal in Python 3.12. Its use is strongly " @@ -2124,67 +2125,67 @@ msgid "" "query parameter. (Contributed by Erlend E. Aasland in :issue:`24464`.)" msgstr "" -#: whatsnew/3.10.rst:1722 +#: whatsnew/3.10.rst:1724 msgid "The following ``threading`` methods are now deprecated:" msgstr "" -#: whatsnew/3.10.rst:1724 +#: whatsnew/3.10.rst:1726 msgid "``threading.currentThread`` => :func:`threading.current_thread`" msgstr "" -#: whatsnew/3.10.rst:1726 +#: whatsnew/3.10.rst:1728 msgid "``threading.activeCount`` => :func:`threading.active_count`" msgstr "" -#: whatsnew/3.10.rst:1728 +#: whatsnew/3.10.rst:1730 msgid "" "``threading.Condition.notifyAll`` => :meth:`threading.Condition.notify_all`" msgstr "" -#: whatsnew/3.10.rst:1731 +#: whatsnew/3.10.rst:1733 msgid "``threading.Event.isSet`` => :meth:`threading.Event.is_set`" msgstr "" -#: whatsnew/3.10.rst:1733 +#: whatsnew/3.10.rst:1735 msgid "``threading.Thread.setName`` => :attr:`threading.Thread.name`" msgstr "" -#: whatsnew/3.10.rst:1735 +#: whatsnew/3.10.rst:1737 msgid "``threading.thread.getName`` => :attr:`threading.Thread.name`" msgstr "" -#: whatsnew/3.10.rst:1737 +#: whatsnew/3.10.rst:1739 msgid "``threading.Thread.isDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" -#: whatsnew/3.10.rst:1739 +#: whatsnew/3.10.rst:1741 msgid "``threading.Thread.setDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" -#: whatsnew/3.10.rst:1741 +#: whatsnew/3.10.rst:1743 msgid "(Contributed by Jelle Zijlstra in :gh:`87889`.)" msgstr "" -#: whatsnew/3.10.rst:1743 +#: whatsnew/3.10.rst:1745 msgid "" -":meth:`pathlib.Path.link_to` is deprecated and slated for removal in Python " +":meth:`!pathlib.Path.link_to` is deprecated and slated for removal in Python " "3.12. Use :meth:`pathlib.Path.hardlink_to` instead. (Contributed by Barney " "Gale in :issue:`39950`.)" msgstr "" -#: whatsnew/3.10.rst:1747 +#: whatsnew/3.10.rst:1749 msgid "" "``cgi.log()`` is deprecated and slated for removal in Python 3.12. " "(Contributed by Inada Naoki in :issue:`41139`.)" msgstr "" -#: whatsnew/3.10.rst:1750 +#: whatsnew/3.10.rst:1752 msgid "" "The following :mod:`ssl` features have been deprecated since Python 3.6, " "Python 3.7, or OpenSSL 1.1.0 and will be removed in 3.11:" msgstr "" -#: whatsnew/3.10.rst:1753 +#: whatsnew/3.10.rst:1755 msgid "" ":data:`~ssl.OP_NO_SSLv2`, :data:`~ssl.OP_NO_SSLv3`, :data:`~ssl." "OP_NO_TLSv1`, :data:`~ssl.OP_NO_TLSv1_1`, :data:`~ssl.OP_NO_TLSv1_2`, and :" @@ -2192,7 +2193,7 @@ msgid "" "minimum_version` and :attr:`sslSSLContext.maximum_version`." msgstr "" -#: whatsnew/3.10.rst:1759 +#: whatsnew/3.10.rst:1761 msgid "" ":data:`~ssl.PROTOCOL_SSLv2`, :data:`~ssl.PROTOCOL_SSLv3`, :data:`~ssl." "PROTOCOL_SSLv23`, :data:`~ssl.PROTOCOL_TLSv1`, :data:`~ssl." @@ -2201,34 +2202,34 @@ msgid "" "and :const:`~ssl.PROTOCOL_TLS_SERVER`" msgstr "" -#: whatsnew/3.10.rst:1765 +#: whatsnew/3.10.rst:1767 msgid "" ":func:`~ssl.wrap_socket` is replaced by :meth:`ssl.SSLContext.wrap_socket`" msgstr "" -#: whatsnew/3.10.rst:1767 +#: whatsnew/3.10.rst:1769 msgid ":func:`~ssl.match_hostname`" msgstr "" -#: whatsnew/3.10.rst:1769 +#: whatsnew/3.10.rst:1771 msgid ":func:`~ssl.RAND_pseudo_bytes`, :func:`~ssl.RAND_egd`" msgstr "" -#: whatsnew/3.10.rst:1771 +#: whatsnew/3.10.rst:1773 msgid "" "NPN features like :meth:`ssl.SSLSocket.selected_npn_protocol` and :meth:`ssl." "SSLContext.set_npn_protocols` are replaced by ALPN." msgstr "" -#: whatsnew/3.10.rst:1774 +#: whatsnew/3.10.rst:1776 msgid "" -"The threading debug (:envvar:`PYTHONTHREADDEBUG` environment variable) is " +"The threading debug (:envvar:`!PYTHONTHREADDEBUG` environment variable) is " "deprecated in Python 3.10 and will be removed in Python 3.12. This feature " "requires a :ref:`debug build of Python `. (Contributed by " "Victor Stinner in :issue:`44584`.)" msgstr "" -#: whatsnew/3.10.rst:1779 +#: whatsnew/3.10.rst:1781 msgid "" "Importing from the ``typing.io`` and ``typing.re`` submodules will now emit :" "exc:`DeprecationWarning`. These submodules will be removed in a future " @@ -2237,11 +2238,11 @@ msgid "" "Rittau in :issue:`38291`.)" msgstr "" -#: whatsnew/3.10.rst:2211 +#: whatsnew/3.10.rst:2213 msgid "Removed" msgstr "" -#: whatsnew/3.10.rst:1790 +#: whatsnew/3.10.rst:1792 msgid "" "Removed special methods ``__int__``, ``__float__``, ``__floordiv__``, " "``__mod__``, ``__divmod__``, ``__rfloordiv__``, ``__rmod__`` and " @@ -2249,7 +2250,7 @@ msgid "" "`TypeError`. (Contributed by Serhiy Storchaka in :issue:`41974`.)" msgstr "" -#: whatsnew/3.10.rst:1796 +#: whatsnew/3.10.rst:1798 msgid "" "The ``ParserBase.error()`` method from the private and undocumented " "``_markupbase`` module has been removed. :class:`html.parser.HTMLParser` is " @@ -2258,7 +2259,7 @@ msgid "" "`31844`.)" msgstr "" -#: whatsnew/3.10.rst:1802 +#: whatsnew/3.10.rst:1804 msgid "" "Removed the ``unicodedata.ucnhash_CAPI`` attribute which was an internal " "PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` structure was " @@ -2266,7 +2267,7 @@ msgid "" "`42157`.)" msgstr "" -#: whatsnew/3.10.rst:1807 +#: whatsnew/3.10.rst:1809 msgid "" "Removed the ``parser`` module, which was deprecated in 3.9 due to the switch " "to the new PEG parser, as well as all the C source and header files that " @@ -2274,7 +2275,7 @@ msgid "" "``graminit.h`` and ``grammar.h``." msgstr "" -#: whatsnew/3.10.rst:1812 +#: whatsnew/3.10.rst:1814 msgid "" "Removed the Public C API functions ``PyParser_SimpleParseStringFlags``, " "``PyParser_SimpleParseStringFlagsFilename``, " @@ -2282,7 +2283,7 @@ msgid "" "deprecated in 3.9 due to the switch to the new PEG parser." msgstr "" -#: whatsnew/3.10.rst:1817 +#: whatsnew/3.10.rst:1819 msgid "" "Removed the ``formatter`` module, which was deprecated in Python 3.4. It is " "somewhat obsolete, little used, and not tested. It was originally scheduled " @@ -2291,71 +2292,71 @@ msgid "" "their code. (Contributed by Donghee Na and Terry J. Reedy in :issue:`42299`.)" msgstr "" -#: whatsnew/3.10.rst:1824 +#: whatsnew/3.10.rst:1826 msgid "" "Removed the :c:func:`!PyModule_GetWarningsModule` function that was useless " "now due to the :mod:`!_warnings` module was converted to a builtin module in " "2.6. (Contributed by Hai Shi in :issue:`42599`.)" msgstr "" -#: whatsnew/3.10.rst:1828 +#: whatsnew/3.10.rst:1830 msgid "" "Remove deprecated aliases to :ref:`collections-abstract-base-classes` from " "the :mod:`collections` module. (Contributed by Victor Stinner in :issue:" "`37324`.)" msgstr "" -#: whatsnew/3.10.rst:1832 +#: whatsnew/3.10.rst:1834 msgid "" "The ``loop`` parameter has been removed from most of :mod:`asyncio`\\ 's :" "doc:`high-level API <../library/asyncio-api-index>` following deprecation in " "Python 3.8. The motivation behind this change is multifold:" msgstr "" -#: whatsnew/3.10.rst:1836 +#: whatsnew/3.10.rst:1838 msgid "This simplifies the high-level API." msgstr "" -#: whatsnew/3.10.rst:1837 +#: whatsnew/3.10.rst:1839 msgid "" "The functions in the high-level API have been implicitly getting the current " "thread's running event loop since Python 3.7. There isn't a need to pass " "the event loop to the API in most normal use cases." msgstr "" -#: whatsnew/3.10.rst:1840 +#: whatsnew/3.10.rst:1842 msgid "" "Event loop passing is error-prone especially when dealing with loops running " "in different threads." msgstr "" -#: whatsnew/3.10.rst:1843 +#: whatsnew/3.10.rst:1845 msgid "" "Note that the low-level API will still accept ``loop``. See :ref:`changes-" "python-api` for examples of how to replace existing code." msgstr "" -#: whatsnew/3.10.rst:1918 +#: whatsnew/3.10.rst:1920 msgid "" "(Contributed by Yurii Karabas, Andrew Svetlov, Yury Selivanov and Kyle " "Stanley in :issue:`42392`.)" msgstr "" -#: whatsnew/3.10.rst:2138 +#: whatsnew/3.10.rst:2140 msgid "Porting to Python 3.10" msgstr "" -#: whatsnew/3.10.rst:1853 +#: whatsnew/3.10.rst:1855 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.10.rst:1858 +#: whatsnew/3.10.rst:1860 msgid "Changes in the Python syntax" msgstr "" -#: whatsnew/3.10.rst:1860 +#: whatsnew/3.10.rst:1862 msgid "" "Deprecation warning is now emitted when compiling previously valid syntax if " "the numeric literal is immediately followed by a keyword (like in ``0in " @@ -2365,11 +2366,11 @@ msgid "" "following keyword. (Contributed by Serhiy Storchaka in :issue:`43833`.)" msgstr "" -#: whatsnew/3.10.rst:1871 +#: whatsnew/3.10.rst:1873 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.10.rst:1873 +#: whatsnew/3.10.rst:1875 msgid "" "The *etype* parameters of the :func:`~traceback.format_exception`, :func:" "`~traceback.format_exception_only`, and :func:`~traceback.print_exception` " @@ -2377,7 +2378,7 @@ msgid "" "(Contributed by Zackery Spytz and Matthias Bussonnier in :issue:`26389`.)" msgstr "" -#: whatsnew/3.10.rst:1879 +#: whatsnew/3.10.rst:1881 msgid "" ":mod:`atexit`: At Python exit, if a callback registered with :func:`atexit." "register` fails, its exception is now logged. Previously, only some " @@ -2385,7 +2386,7 @@ msgid "" "(Contributed by Victor Stinner in :issue:`42639`.)" msgstr "" -#: whatsnew/3.10.rst:1885 +#: whatsnew/3.10.rst:1887 msgid "" ":class:`collections.abc.Callable` generic now flattens type parameters, " "similar to what :data:`typing.Callable` currently does. This means that " @@ -2398,7 +2399,7 @@ msgid "" "`42195`.)" msgstr "" -#: whatsnew/3.10.rst:1895 +#: whatsnew/3.10.rst:1897 msgid "" ":meth:`socket.htons` and :meth:`socket.ntohs` now raise :exc:`OverflowError` " "instead of :exc:`DeprecationWarning` if the given parameter will not fit in " @@ -2406,29 +2407,29 @@ msgid "" "`42393`.)" msgstr "" -#: whatsnew/3.10.rst:1900 +#: whatsnew/3.10.rst:1902 msgid "" "The ``loop`` parameter has been removed from most of :mod:`asyncio`\\ 's :" "doc:`high-level API <../library/asyncio-api-index>` following deprecation in " "Python 3.8." msgstr "" -#: whatsnew/3.10.rst:1904 +#: whatsnew/3.10.rst:1906 msgid "A coroutine that currently looks like this::" msgstr "" -#: whatsnew/3.10.rst:1909 +#: whatsnew/3.10.rst:1911 msgid "Should be replaced with this::" msgstr "" -#: whatsnew/3.10.rst:1914 +#: whatsnew/3.10.rst:1916 msgid "" "If ``foo()`` was specifically designed *not* to run in the current thread's " "running event loop (e.g. running in another thread's event loop), consider " "using :func:`asyncio.run_coroutine_threadsafe` instead." msgstr "" -#: whatsnew/3.10.rst:1921 +#: whatsnew/3.10.rst:1923 msgid "" "The :data:`types.FunctionType` constructor now inherits the current builtins " "if the *globals* dictionary has no ``\"__builtins__\"`` key, rather than " @@ -2439,11 +2440,11 @@ msgid "" "`42990`.)" msgstr "" -#: whatsnew/3.10.rst:1930 +#: whatsnew/3.10.rst:1932 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.10.rst:1932 +#: whatsnew/3.10.rst:1934 msgid "" "The C API functions ``PyParser_SimpleParseStringFlags``, " "``PyParser_SimpleParseStringFlagsFilename``, " @@ -2452,31 +2453,31 @@ msgid "" "PEG parser." msgstr "" -#: whatsnew/3.10.rst:1938 +#: whatsnew/3.10.rst:1940 msgid "" "Source should be now be compiled directly to a code object using, for " "example, :c:func:`Py_CompileString`. The resulting code object can then be " "evaluated using, for example, :c:func:`PyEval_EvalCode`." msgstr "" -#: whatsnew/3.10.rst:1942 +#: whatsnew/3.10.rst:1944 msgid "Specifically:" msgstr "" -#: whatsnew/3.10.rst:1944 +#: whatsnew/3.10.rst:1946 msgid "" "A call to ``PyParser_SimpleParseStringFlags`` followed by ``PyNode_Compile`` " "can be replaced by calling :c:func:`Py_CompileString`." msgstr "" -#: whatsnew/3.10.rst:1947 +#: whatsnew/3.10.rst:1949 msgid "" "There is no direct replacement for ``PyParser_SimpleParseFileFlags``. To " "compile code from a ``FILE *`` argument, you will need to read the file in C " "and pass the resulting buffer to :c:func:`Py_CompileString`." msgstr "" -#: whatsnew/3.10.rst:1951 +#: whatsnew/3.10.rst:1953 msgid "" "To compile a file given a ``char *`` filename, explicitly open the file, " "read it and compile the result. One way to do this is using the :py:mod:`io` " @@ -2485,7 +2486,7 @@ msgid "" "(Declarations and error handling are omitted.) ::" msgstr "" -#: whatsnew/3.10.rst:1964 +#: whatsnew/3.10.rst:1966 msgid "" "For ``FrameObject`` objects, the :attr:`~frame.f_lasti` member now " "represents a wordcode offset instead of a simple offset into the bytecode " @@ -2496,53 +2497,53 @@ msgid "" "`PyFrame_GetLineNumber` instead." msgstr "" -#: whatsnew/3.10.rst:1972 +#: whatsnew/3.10.rst:1974 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.10.rst:1974 +#: whatsnew/3.10.rst:1976 msgid "" "The ``MAKE_FUNCTION`` instruction now accepts either a dict or a tuple of " "strings as the function's annotations. (Contributed by Yurii Karabas and " "Inada Naoki in :issue:`42202`.)" msgstr "" -#: whatsnew/3.10.rst:1979 +#: whatsnew/3.10.rst:1981 msgid "Build Changes" msgstr "" -#: whatsnew/3.10.rst:1981 +#: whatsnew/3.10.rst:1983 msgid "" ":pep:`644`: Python now requires OpenSSL 1.1.1 or newer. OpenSSL 1.0.2 is no " "longer supported. (Contributed by Christian Heimes in :issue:`43669`.)" msgstr "" -#: whatsnew/3.10.rst:1985 +#: whatsnew/3.10.rst:1987 msgid "" "The C99 functions :c:func:`snprintf` and :c:func:`vsnprintf` are now " "required to build Python. (Contributed by Victor Stinner in :issue:`36020`.)" msgstr "" -#: whatsnew/3.10.rst:1989 +#: whatsnew/3.10.rst:1991 msgid "" ":mod:`sqlite3` requires SQLite 3.7.15 or higher. (Contributed by Sergey " "Fedoseev and Erlend E. Aasland in :issue:`40744` and :issue:`40810`.)" msgstr "" -#: whatsnew/3.10.rst:1992 +#: whatsnew/3.10.rst:1994 msgid "" "The :mod:`atexit` module must now always be built as a built-in module. " "(Contributed by Victor Stinner in :issue:`42639`.)" msgstr "" -#: whatsnew/3.10.rst:1995 +#: whatsnew/3.10.rst:1997 msgid "" "Add :option:`--disable-test-modules` option to the ``configure`` script: " "don't build nor install test modules. (Contributed by Xavier de Gaye, Thomas " "Petazzoni and Peixing Xin in :issue:`27640`.)" msgstr "" -#: whatsnew/3.10.rst:1999 +#: whatsnew/3.10.rst:2001 msgid "" "Add :option:`--with-wheel-pkg-dir=PATH option <--with-wheel-pkg-dir>` to the " "``./configure`` script. If specified, the :mod:`ensurepip` module looks for " @@ -2551,7 +2552,7 @@ msgid "" "packages." msgstr "" -#: whatsnew/3.10.rst:2005 +#: whatsnew/3.10.rst:2007 msgid "" "Some Linux distribution packaging policies recommend against bundling " "dependencies. For example, Fedora installs wheel packages in the ``/usr/" @@ -2559,22 +2560,22 @@ msgid "" "_bundled`` package." msgstr "" -#: whatsnew/3.10.rst:2010 +#: whatsnew/3.10.rst:2012 msgid "(Contributed by Victor Stinner in :issue:`42856`.)" msgstr "" -#: whatsnew/3.10.rst:2012 +#: whatsnew/3.10.rst:2014 msgid "" "Add a new :option:`configure --without-static-libpython option <--without-" "static-libpython>` to not build the ``libpythonMAJOR.MINOR.a`` static " "library and not install the ``python.o`` object file." msgstr "" -#: whatsnew/3.10.rst:2016 +#: whatsnew/3.10.rst:2018 msgid "(Contributed by Victor Stinner in :issue:`43103`.)" msgstr "" -#: whatsnew/3.10.rst:2018 +#: whatsnew/3.10.rst:2020 msgid "" "The ``configure`` script now uses the ``pkg-config`` utility, if available, " "to detect the location of Tcl/Tk headers and libraries. As before, those " @@ -2583,7 +2584,7 @@ msgid "" "Stamatogiannakis in :issue:`42603`.)" msgstr "" -#: whatsnew/3.10.rst:2024 +#: whatsnew/3.10.rst:2026 msgid "" "Add :option:`--with-openssl-rpath` option to ``configure`` script. The " "option simplifies building Python with a custom OpenSSL installation, e.g. " @@ -2591,15 +2592,15 @@ msgid "" "(Contributed by Christian Heimes in :issue:`43466`.)" msgstr "" -#: whatsnew/3.10.rst:2031 +#: whatsnew/3.10.rst:2033 msgid "C API Changes" msgstr "" -#: whatsnew/3.10.rst:2034 +#: whatsnew/3.10.rst:2036 msgid "PEP 652: Maintaining the Stable ABI" msgstr "" -#: whatsnew/3.10.rst:2036 +#: whatsnew/3.10.rst:2038 msgid "" "The Stable ABI (Application Binary Interface) for extension modules or " "embedding Python is now explicitly defined. :ref:`stable` describes C API " @@ -2607,25 +2608,25 @@ msgid "" "ABI." msgstr "" -#: whatsnew/3.10.rst:2041 +#: whatsnew/3.10.rst:2043 msgid "(Contributed by Petr Viktorin in :pep:`652` and :issue:`43795`.)" msgstr "" -#: whatsnew/3.10.rst:2046 +#: whatsnew/3.10.rst:2048 msgid "" "The result of :c:func:`PyNumber_Index` now always has exact type :class:" "`int`. Previously, the result could have been an instance of a subclass of " "``int``. (Contributed by Serhiy Storchaka in :issue:`40792`.)" msgstr "" -#: whatsnew/3.10.rst:2050 +#: whatsnew/3.10.rst:2052 msgid "" "Add a new :c:member:`~PyConfig.orig_argv` member to the :c:type:`PyConfig` " "structure: the list of the original command line arguments passed to the " "Python executable. (Contributed by Victor Stinner in :issue:`23427`.)" msgstr "" -#: whatsnew/3.10.rst:2055 +#: whatsnew/3.10.rst:2057 msgid "" "The :c:func:`PyDateTime_DATE_GET_TZINFO` and :c:func:" "`PyDateTime_TIME_GET_TZINFO` macros have been added for accessing the " @@ -2633,72 +2634,72 @@ msgid "" "time` objects. (Contributed by Zackery Spytz in :issue:`30155`.)" msgstr "" -#: whatsnew/3.10.rst:2061 +#: whatsnew/3.10.rst:2063 msgid "" "Add a :c:func:`PyCodec_Unregister` function to unregister a codec search " "function. (Contributed by Hai Shi in :issue:`41842`.)" msgstr "" -#: whatsnew/3.10.rst:2065 +#: whatsnew/3.10.rst:2067 msgid "" "The :c:func:`PyIter_Send` function was added to allow sending value into " "iterator without raising ``StopIteration`` exception. (Contributed by " "Vladimir Matveev in :issue:`41756`.)" msgstr "" -#: whatsnew/3.10.rst:2069 +#: whatsnew/3.10.rst:2071 msgid "" "Add :c:func:`PyUnicode_AsUTF8AndSize` to the limited C API. (Contributed by " "Alex Gaynor in :issue:`41784`.)" msgstr "" -#: whatsnew/3.10.rst:2072 +#: whatsnew/3.10.rst:2074 msgid "" "Add :c:func:`PyModule_AddObjectRef` function: similar to :c:func:" "`PyModule_AddObject` but don't steal a reference to the value on success. " "(Contributed by Victor Stinner in :issue:`1635741`.)" msgstr "" -#: whatsnew/3.10.rst:2077 +#: whatsnew/3.10.rst:2079 msgid "" "Add :c:func:`Py_NewRef` and :c:func:`Py_XNewRef` functions to increment the " "reference count of an object and return the object. (Contributed by Victor " "Stinner in :issue:`42262`.)" msgstr "" -#: whatsnew/3.10.rst:2081 +#: whatsnew/3.10.rst:2083 msgid "" "The :c:func:`PyType_FromSpecWithBases` and :c:func:" "`PyType_FromModuleAndSpec` functions now accept a single class as the " "*bases* argument. (Contributed by Serhiy Storchaka in :issue:`42423`.)" msgstr "" -#: whatsnew/3.10.rst:2085 +#: whatsnew/3.10.rst:2087 msgid "" "The :c:func:`PyType_FromModuleAndSpec` function now accepts NULL ``tp_doc`` " "slot. (Contributed by Hai Shi in :issue:`41832`.)" msgstr "" -#: whatsnew/3.10.rst:2089 +#: whatsnew/3.10.rst:2091 msgid "" "The :c:func:`PyType_GetSlot` function can accept :ref:`static types `. (Contributed by Hai Shi and Petr Viktorin in :issue:`41073`.)" msgstr "" -#: whatsnew/3.10.rst:2093 +#: whatsnew/3.10.rst:2095 msgid "" "Add a new :c:func:`PySet_CheckExact` function to the C-API to check if an " "object is an instance of :class:`set` but not an instance of a subtype. " "(Contributed by Pablo Galindo in :issue:`43277`.)" msgstr "" -#: whatsnew/3.10.rst:2097 +#: whatsnew/3.10.rst:2099 msgid "" "Add :c:func:`PyErr_SetInterruptEx` which allows passing a signal number to " "simulate. (Contributed by Antoine Pitrou in :issue:`43356`.)" msgstr "" -#: whatsnew/3.10.rst:2101 +#: whatsnew/3.10.rst:2103 msgid "" "The limited C API is now supported if :ref:`Python is built in debug mode " "` (if the ``Py_DEBUG`` macro is defined). In the limited C API, " @@ -2711,14 +2712,14 @@ msgid "" "`36465`)." msgstr "" -#: whatsnew/3.10.rst:2111 +#: whatsnew/3.10.rst:2113 msgid "" "The limited C API is still not supported in the :option:`--with-trace-refs` " "special build (``Py_TRACE_REFS`` macro). (Contributed by Victor Stinner in :" "issue:`43688`.)" msgstr "" -#: whatsnew/3.10.rst:2115 +#: whatsnew/3.10.rst:2117 msgid "" "Add the :c:func:`Py_Is(x, y) ` function to test if the *x* object is " "the *y* object, the same as ``x is y`` in Python. Add also the :c:func:" @@ -2728,7 +2729,7 @@ msgid "" "`43753`.)" msgstr "" -#: whatsnew/3.10.rst:2122 +#: whatsnew/3.10.rst:2124 msgid "" "Add new functions to control the garbage collector from C code: :c:func:" "`PyGC_Enable()`, :c:func:`PyGC_Disable()`, :c:func:`PyGC_IsEnabled()`. These " @@ -2736,20 +2737,20 @@ msgid "" "collector from C code without having to import the :mod:`gc` module." msgstr "" -#: whatsnew/3.10.rst:2129 +#: whatsnew/3.10.rst:2131 msgid "" "Add a new :c:macro:`Py_TPFLAGS_DISALLOW_INSTANTIATION` type flag to disallow " "creating type instances. (Contributed by Victor Stinner in :issue:`43916`.)" msgstr "" -#: whatsnew/3.10.rst:2133 +#: whatsnew/3.10.rst:2135 msgid "" "Add a new :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` type flag for creating " "immutable type objects: type attributes cannot be set nor deleted. " "(Contributed by Victor Stinner and Erlend E. Aasland in :issue:`43908`.)" msgstr "" -#: whatsnew/3.10.rst:2140 +#: whatsnew/3.10.rst:2142 msgid "" "The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use :c:func:" "`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use ``#``: " @@ -2758,7 +2759,7 @@ msgid "" "`40943`.)" msgstr "" -#: whatsnew/3.10.rst:2146 +#: whatsnew/3.10.rst:2148 msgid "" "Since :c:func:`Py_REFCNT()` is changed to the inline static function, " "``Py_REFCNT(obj) = new_refcnt`` must be replaced with ``Py_SET_REFCNT(obj, " @@ -2766,18 +2767,18 @@ msgid "" "For backward compatibility, this macro can be used::" msgstr "" -#: whatsnew/3.10.rst:2155 +#: whatsnew/3.10.rst:2157 msgid "(Contributed by Victor Stinner in :issue:`39573`.)" msgstr "" -#: whatsnew/3.10.rst:2157 +#: whatsnew/3.10.rst:2159 msgid "" "Calling :c:func:`PyDict_GetItem` without :term:`GIL` held had been allowed " "for historical reason. It is no longer allowed. (Contributed by Victor " "Stinner in :issue:`40839`.)" msgstr "" -#: whatsnew/3.10.rst:2161 +#: whatsnew/3.10.rst:2163 msgid "" "``PyUnicode_FromUnicode(NULL, size)`` and " "``PyUnicode_FromStringAndSize(NULL, size)`` raise ``DeprecationWarning`` " @@ -2785,14 +2786,14 @@ msgid "" "data. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.10.rst:2166 +#: whatsnew/3.10.rst:2168 msgid "" "The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API " "``unicodedata.ucnhash_CAPI`` has been moved to the internal C API. " "(Contributed by Victor Stinner in :issue:`42157`.)" msgstr "" -#: whatsnew/3.10.rst:2170 +#: whatsnew/3.10.rst:2172 msgid "" ":c:func:`Py_GetPath`, :c:func:`Py_GetPrefix`, :c:func:`Py_GetExecPrefix`, :c:" "func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome` and :c:func:" @@ -2802,7 +2803,7 @@ msgid "" "Stinner in :issue:`42260`.)" msgstr "" -#: whatsnew/3.10.rst:2177 +#: whatsnew/3.10.rst:2179 msgid "" ":c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and :c:func:" "`PyCell_SET` macros can no longer be used as l-value or r-value. For " @@ -2812,7 +2813,7 @@ msgid "" "and Victor Stinner in :issue:`30459`.)" msgstr "" -#: whatsnew/3.10.rst:2184 +#: whatsnew/3.10.rst:2186 msgid "" "The non-limited API files ``odictobject.h``, ``parser_interface.h``, " "``picklebufobject.h``, ``pyarena.h``, ``pyctype.h``, ``pydebug.h``, ``pyfpe." @@ -2823,7 +2824,7 @@ msgid "" "issue:`35134`.)" msgstr "" -#: whatsnew/3.10.rst:2192 +#: whatsnew/3.10.rst:2194 msgid "" "Use the :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` type flag to create immutable " "type objects. Do not rely on :c:macro:`Py_TPFLAGS_HEAPTYPE` to decide if a " @@ -2832,85 +2833,85 @@ msgid "" "issue:`43908`.)" msgstr "" -#: whatsnew/3.10.rst:2198 +#: whatsnew/3.10.rst:2200 msgid "" "The undocumented function ``Py_FrozenMain`` has been removed from the " "limited API. The function is mainly useful for custom builds of Python. " "(Contributed by Petr Viktorin in :issue:`26241`.)" msgstr "" -#: whatsnew/3.10.rst:2205 +#: whatsnew/3.10.rst:2207 msgid "" "The ``PyUnicode_InternImmortal()`` function is now deprecated and will be " "removed in Python 3.12: use :c:func:`PyUnicode_InternInPlace` instead. " "(Contributed by Victor Stinner in :issue:`41692`.)" msgstr "" -#: whatsnew/3.10.rst:2213 +#: whatsnew/3.10.rst:2215 msgid "" "Removed ``Py_UNICODE_str*`` functions manipulating ``Py_UNICODE*`` strings. " "(Contributed by Inada Naoki in :issue:`41123`.)" msgstr "" -#: whatsnew/3.10.rst:2216 +#: whatsnew/3.10.rst:2218 msgid "" "``Py_UNICODE_strlen``: use :c:func:`PyUnicode_GetLength` or :c:macro:" "`PyUnicode_GET_LENGTH`" msgstr "" -#: whatsnew/3.10.rst:2218 +#: whatsnew/3.10.rst:2220 msgid "" "``Py_UNICODE_strcat``: use :c:func:`PyUnicode_CopyCharacters` or :c:func:" "`PyUnicode_FromFormat`" msgstr "" -#: whatsnew/3.10.rst:2220 +#: whatsnew/3.10.rst:2222 msgid "" "``Py_UNICODE_strcpy``, ``Py_UNICODE_strncpy``: use :c:func:" "`PyUnicode_CopyCharacters` or :c:func:`PyUnicode_Substring`" msgstr "" -#: whatsnew/3.10.rst:2222 +#: whatsnew/3.10.rst:2224 msgid "``Py_UNICODE_strcmp``: use :c:func:`PyUnicode_Compare`" msgstr "" -#: whatsnew/3.10.rst:2223 +#: whatsnew/3.10.rst:2225 msgid "``Py_UNICODE_strncmp``: use :c:func:`PyUnicode_Tailmatch`" msgstr "" -#: whatsnew/3.10.rst:2224 +#: whatsnew/3.10.rst:2226 msgid "" "``Py_UNICODE_strchr``, ``Py_UNICODE_strrchr``: use :c:func:" "`PyUnicode_FindChar`" msgstr "" -#: whatsnew/3.10.rst:2227 +#: whatsnew/3.10.rst:2229 msgid "" "Removed ``PyUnicode_GetMax()``. Please migrate to new (:pep:`393`) APIs. " "(Contributed by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2230 +#: whatsnew/3.10.rst:2232 msgid "" "Removed ``PyLong_FromUnicode()``. Please migrate to :c:func:" "`PyLong_FromUnicodeObject`. (Contributed by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2233 +#: whatsnew/3.10.rst:2235 msgid "" "Removed ``PyUnicode_AsUnicodeCopy()``. Please use :c:func:" "`PyUnicode_AsUCS4Copy` or :c:func:`PyUnicode_AsWideCharString` (Contributed " "by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2237 +#: whatsnew/3.10.rst:2239 msgid "" "Removed ``_Py_CheckRecursionLimit`` variable: it has been replaced by " "``ceval.recursion_limit`` of the :c:type:`PyInterpreterState` structure. " "(Contributed by Victor Stinner in :issue:`41834`.)" msgstr "" -#: whatsnew/3.10.rst:2241 +#: whatsnew/3.10.rst:2243 msgid "" "Removed undocumented macros ``Py_ALLOW_RECURSION`` and " "``Py_END_ALLOW_RECURSION`` and the ``recursion_critical`` field of the :c:" @@ -2918,14 +2919,14 @@ msgid "" "issue:`41936`.)" msgstr "" -#: whatsnew/3.10.rst:2246 +#: whatsnew/3.10.rst:2248 msgid "" "Removed the undocumented ``PyOS_InitInterrupts()`` function. Initializing " "Python already implicitly installs signal handlers: see :c:member:`PyConfig." "install_signal_handlers`. (Contributed by Victor Stinner in :issue:`41713`.)" msgstr "" -#: whatsnew/3.10.rst:2251 +#: whatsnew/3.10.rst:2253 msgid "" "Remove the ``PyAST_Validate()`` function. It is no longer possible to build " "a AST object (``mod_ty`` type) with the public C API. The function was " @@ -2933,48 +2934,48 @@ msgid "" "Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2256 +#: whatsnew/3.10.rst:2258 msgid "Remove the ``symtable.h`` header file and the undocumented functions:" msgstr "" -#: whatsnew/3.10.rst:2258 +#: whatsnew/3.10.rst:2260 msgid "``PyST_GetScope()``" msgstr "" -#: whatsnew/3.10.rst:2259 +#: whatsnew/3.10.rst:2261 msgid "``PySymtable_Build()``" msgstr "" -#: whatsnew/3.10.rst:2260 +#: whatsnew/3.10.rst:2262 msgid "``PySymtable_BuildObject()``" msgstr "" -#: whatsnew/3.10.rst:2261 +#: whatsnew/3.10.rst:2263 msgid "``PySymtable_Free()``" msgstr "" -#: whatsnew/3.10.rst:2262 +#: whatsnew/3.10.rst:2264 msgid "``Py_SymtableString()``" msgstr "" -#: whatsnew/3.10.rst:2263 +#: whatsnew/3.10.rst:2265 msgid "``Py_SymtableStringObject()``" msgstr "" -#: whatsnew/3.10.rst:2265 +#: whatsnew/3.10.rst:2267 msgid "" "The ``Py_SymtableString()`` function was part the stable ABI by mistake but " "it could not be used, because the ``symtable.h`` header file was excluded " "from the limited C API." msgstr "" -#: whatsnew/3.10.rst:2269 +#: whatsnew/3.10.rst:2271 msgid "" "Use Python :mod:`symtable` module instead. (Contributed by Victor Stinner " "in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2272 +#: whatsnew/3.10.rst:2274 msgid "" "Remove :c:func:`PyOS_ReadlineFunctionPointer` from the limited C API headers " "and from ``python3.dll``, the library that provides the stable ABI on " @@ -2982,7 +2983,7 @@ msgid "" "cannot be guaranteed. (Contributed by Petr Viktorin in :issue:`43868`.)" msgstr "" -#: whatsnew/3.10.rst:2278 +#: whatsnew/3.10.rst:2280 msgid "" "Remove ``ast.h``, ``asdl.h``, and ``Python-ast.h`` header files. These " "functions were undocumented and excluded from the limited C API. Most names " @@ -2993,86 +2994,86 @@ msgid "" "(Contributed by Victor Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2286 +#: whatsnew/3.10.rst:2288 msgid "" "Remove the compiler and parser functions using ``struct _mod`` type, because " "the public AST C API was removed:" msgstr "" -#: whatsnew/3.10.rst:2289 +#: whatsnew/3.10.rst:2291 msgid "``PyAST_Compile()``" msgstr "" -#: whatsnew/3.10.rst:2290 +#: whatsnew/3.10.rst:2292 msgid "``PyAST_CompileEx()``" msgstr "" -#: whatsnew/3.10.rst:2291 +#: whatsnew/3.10.rst:2293 msgid "``PyAST_CompileObject()``" msgstr "" -#: whatsnew/3.10.rst:2292 +#: whatsnew/3.10.rst:2294 msgid "``PyFuture_FromAST()``" msgstr "" -#: whatsnew/3.10.rst:2293 +#: whatsnew/3.10.rst:2295 msgid "``PyFuture_FromASTObject()``" msgstr "" -#: whatsnew/3.10.rst:2294 +#: whatsnew/3.10.rst:2296 msgid "``PyParser_ASTFromFile()``" msgstr "" -#: whatsnew/3.10.rst:2295 +#: whatsnew/3.10.rst:2297 msgid "``PyParser_ASTFromFileObject()``" msgstr "" -#: whatsnew/3.10.rst:2296 +#: whatsnew/3.10.rst:2298 msgid "``PyParser_ASTFromFilename()``" msgstr "" -#: whatsnew/3.10.rst:2297 +#: whatsnew/3.10.rst:2299 msgid "``PyParser_ASTFromString()``" msgstr "" -#: whatsnew/3.10.rst:2298 +#: whatsnew/3.10.rst:2300 msgid "``PyParser_ASTFromStringObject()``" msgstr "" -#: whatsnew/3.10.rst:2300 +#: whatsnew/3.10.rst:2302 msgid "" "These functions were undocumented and excluded from the limited C API. " "(Contributed by Victor Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2303 +#: whatsnew/3.10.rst:2305 msgid "Remove the ``pyarena.h`` header file with functions:" msgstr "" -#: whatsnew/3.10.rst:2305 +#: whatsnew/3.10.rst:2307 msgid "``PyArena_New()``" msgstr "" -#: whatsnew/3.10.rst:2306 +#: whatsnew/3.10.rst:2308 msgid "``PyArena_Free()``" msgstr "" -#: whatsnew/3.10.rst:2307 +#: whatsnew/3.10.rst:2309 msgid "``PyArena_Malloc()``" msgstr "" -#: whatsnew/3.10.rst:2308 +#: whatsnew/3.10.rst:2310 msgid "``PyArena_AddPyObject()``" msgstr "" -#: whatsnew/3.10.rst:2310 +#: whatsnew/3.10.rst:2312 msgid "" "These functions were undocumented, excluded from the limited C API, and were " "only used internally by the compiler. (Contributed by Victor Stinner in :" "issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2314 +#: whatsnew/3.10.rst:2316 msgid "" "The ``PyThreadState.use_tracing`` member has been removed to optimize " "Python. (Contributed by Mark Shannon in :issue:`43760`.)" diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index b987583a6..b44d67b47 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: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2471,7 +2471,7 @@ msgstr "" #: whatsnew/3.11.rst:1750 msgid "" -"The :mod:`asynchat`, :mod:`asyncore` and :mod:`smtpd` modules have been " +"The :mod:`!asynchat`, :mod:`!asyncore` and :mod:`!smtpd` modules have been " "deprecated since at least Python 3.6. Their documentation and deprecation " "warnings have now been updated to note they will be removed in Python 3.12. " "(Contributed by Hugo van Kemenade in :issue:`47022`.)" @@ -2678,7 +2678,7 @@ msgstr "" #: whatsnew/3.11.rst:1863 msgid "" -":meth:`~!unittest.TestProgram.usageExit` is marked deprecated, to be removed " +":meth:`!unittest.TestProgram.usageExit` is marked deprecated, to be removed " "in 3.13. (Contributed by Carlos Damázio in :gh:`67048`.)" msgstr "" @@ -2699,11 +2699,11 @@ msgid "" msgstr "" #: whatsnew/3.11.rst:1880 -msgid "The :mod:`asynchat` module" +msgid "The :mod:`!asynchat` module" msgstr "" #: whatsnew/3.11.rst:1881 -msgid "The :mod:`asyncore` module" +msgid "The :mod:`!asyncore` module" msgstr "" #: whatsnew/3.11.rst:1882 @@ -2799,7 +2799,7 @@ msgid ":class:`!pkgutil.ImpLoader`" msgstr "" #: whatsnew/3.11.rst:1905 -msgid ":meth:`pathlib.Path.link_to`" +msgid ":meth:`!pathlib.Path.link_to`" msgstr "" #: whatsnew/3.11.rst:1906 @@ -2811,7 +2811,7 @@ msgid ":func:`!sqlite3.OptimizedUnicode`" msgstr "" #: whatsnew/3.11.rst:1908 -msgid ":envvar:`PYTHONTHREADDEBUG` environment variable" +msgid ":envvar:`!PYTHONTHREADDEBUG` environment variable" msgstr "" #: whatsnew/3.11.rst:1909 @@ -3075,7 +3075,7 @@ msgstr "" #: whatsnew/3.11.rst:2010 msgid "" -"Removed the :class:`!MailmanProxy` class in the :mod:`smtpd` module, as it " +"Removed the :class:`!MailmanProxy` class in the :mod:`!smtpd` module, as it " "is unusable without the external :mod:`!mailman` package. (Contributed by " "Donghee Na in :issue:`35800`.)" msgstr "" diff --git a/whatsnew/3.12.po b/whatsnew/3.12.po index e83de5568..07723dbe4 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: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 03:14+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -255,7 +255,7 @@ msgid "" "`_." msgstr "" -#: whatsnew/3.12.rst:1952 +#: whatsnew/3.12.rst:1954 msgid "New Features" msgstr "" @@ -428,24 +428,24 @@ msgstr "" #: whatsnew/3.12.rst:345 msgid "" "Use the new :c:func:`Py_NewInterpreterFromConfig` function to create an " -"interpreter with its own GIL::" +"interpreter with its own GIL:" msgstr "" -#: whatsnew/3.12.rst:359 +#: whatsnew/3.12.rst:361 msgid "" "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:362 +#: whatsnew/3.12.rst:364 msgid "(Contributed by Eric Snow in :gh:`104210`, etc.)" msgstr "" -#: whatsnew/3.12.rst:367 +#: whatsnew/3.12.rst:369 msgid "PEP 669: Low impact monitoring for CPython" msgstr "" -#: whatsnew/3.12.rst:369 +#: whatsnew/3.12.rst:371 msgid "" ":pep:`669` defines a new :mod:`API ` for profilers, " "debuggers, and other tools to monitor events in CPython. It covers a wide " @@ -455,22 +455,22 @@ msgid "" "for details." msgstr "" -#: whatsnew/3.12.rst:377 +#: whatsnew/3.12.rst:379 msgid "(Contributed by Mark Shannon in :gh:`103082`.)" msgstr "" -#: whatsnew/3.12.rst:382 +#: whatsnew/3.12.rst:384 msgid "PEP 688: Making the buffer protocol accessible in Python" msgstr "" -#: whatsnew/3.12.rst:384 +#: whatsnew/3.12.rst:386 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:388 +#: whatsnew/3.12.rst:390 msgid "" "The new :class:`collections.abc.Buffer` ABC provides a standard way to " "represent buffer objects, for example in type annotations. The new :class:" @@ -478,11 +478,11 @@ msgid "" "customize buffer creation. (Contributed by Jelle Zijlstra in :gh:`102500`.)" msgstr "" -#: whatsnew/3.12.rst:397 +#: whatsnew/3.12.rst:399 msgid "PEP 709: Comprehension inlining" msgstr "" -#: whatsnew/3.12.rst:399 +#: whatsnew/3.12.rst:401 msgid "" "Dictionary, list, and set comprehensions are now inlined, rather than " "creating a new single-use function object for each execution of the " @@ -490,34 +490,34 @@ msgid "" "times. See :pep:`709` for further details." msgstr "" -#: whatsnew/3.12.rst:404 +#: whatsnew/3.12.rst:406 msgid "" "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:408 +#: whatsnew/3.12.rst:410 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." msgstr "" -#: whatsnew/3.12.rst:410 +#: whatsnew/3.12.rst:412 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:413 +#: whatsnew/3.12.rst:415 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:416 +#: whatsnew/3.12.rst:418 msgid "" "A comprehension iterating directly over ``locals()`` (e.g. ``[k for k in " "locals()]``) may see \"RuntimeError: dictionary changed size during " @@ -527,22 +527,22 @@ msgid "" "[k for k in keys]``." msgstr "" -#: whatsnew/3.12.rst:423 +#: whatsnew/3.12.rst:425 msgid "(Contributed by Carl Meyer and Vladimir Matveev in :pep:`709`.)" msgstr "" -#: whatsnew/3.12.rst:426 +#: whatsnew/3.12.rst:428 msgid "Improved Error Messages" msgstr "" -#: whatsnew/3.12.rst:428 +#: whatsnew/3.12.rst:430 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`.)" msgstr "" -#: whatsnew/3.12.rst:437 +#: whatsnew/3.12.rst:439 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 " @@ -551,14 +551,14 @@ msgid "" "scope. (Contributed by Pablo Galindo in :gh:`99139`.)" msgstr "" -#: whatsnew/3.12.rst:457 +#: whatsnew/3.12.rst:459 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 +#: whatsnew/3.12.rst:469 msgid "" ":exc:`ImportError` exceptions raised from failed ``from import " "`` statements now include suggestions for the value of ```` " @@ -566,46 +566,46 @@ msgid "" "in :gh:`91058`.)" msgstr "" -#: whatsnew/3.12.rst:478 +#: whatsnew/3.12.rst:480 msgid "New Features Related to Type Hints" msgstr "" -#: whatsnew/3.12.rst:480 +#: whatsnew/3.12.rst:482 msgid "" "This section covers major changes affecting :pep:`type hints <484>` and the :" "mod:`typing` module." msgstr "" -#: whatsnew/3.12.rst:486 +#: whatsnew/3.12.rst:488 msgid "PEP 692: Using ``TypedDict`` for more precise ``**kwargs`` typing" msgstr "" -#: whatsnew/3.12.rst:488 +#: whatsnew/3.12.rst:490 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:492 +#: whatsnew/3.12.rst:494 msgid "" ":pep:`692` specifies a more precise way of typing ``**kwargs`` by relying on " "typed dictionaries::" msgstr "" -#: whatsnew/3.12.rst:503 +#: whatsnew/3.12.rst:505 msgid "See :pep:`692` for more details." msgstr "" -#: whatsnew/3.12.rst:505 +#: whatsnew/3.12.rst:507 msgid "(Contributed by Franek Magiera in :gh:`103629`.)" msgstr "" -#: whatsnew/3.12.rst:510 +#: whatsnew/3.12.rst:512 msgid "PEP 698: Override Decorator for Static Typing" msgstr "" -#: whatsnew/3.12.rst:512 +#: whatsnew/3.12.rst:514 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 " @@ -614,29 +614,29 @@ msgid "" "class does not in fact do so." msgstr "" -#: whatsnew/3.12.rst:518 +#: whatsnew/3.12.rst:520 msgid "Example::" msgstr "" -#: whatsnew/3.12.rst:536 +#: whatsnew/3.12.rst:538 msgid "See :pep:`698` for more details." msgstr "" -#: whatsnew/3.12.rst:538 +#: whatsnew/3.12.rst:540 msgid "(Contributed by Steven Troxler in :gh:`101561`.)" msgstr "" -#: whatsnew/3.12.rst:541 +#: whatsnew/3.12.rst:543 msgid "Other Language Changes" msgstr "" -#: whatsnew/3.12.rst:543 +#: whatsnew/3.12.rst:545 msgid "" "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:546 +#: whatsnew/3.12.rst:548 msgid "" "A backslash-character pair that is not a valid escape sequence now generates " "a :exc:`SyntaxWarning`, instead of :exc:`DeprecationWarning`. For example, " @@ -647,7 +647,7 @@ msgid "" "`SyntaxWarning`. (Contributed by Victor Stinner in :gh:`98401`.)" msgstr "" -#: whatsnew/3.12.rst:555 +#: whatsnew/3.12.rst:557 msgid "" "Octal escapes with value larger than ``0o377`` (ex: ``\"\\477\"``), " "deprecated in Python 3.11, now produce a :exc:`SyntaxWarning`, instead of :" @@ -655,7 +655,7 @@ msgid "" "a :exc:`SyntaxError`. (Contributed by Victor Stinner in :gh:`98401`.)" msgstr "" -#: whatsnew/3.12.rst:561 +#: whatsnew/3.12.rst:563 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 := " @@ -665,14 +665,14 @@ msgid "" "(Contributed by Nikita Sobolev in :gh:`100581`.)" msgstr "" -#: whatsnew/3.12.rst:568 +#: whatsnew/3.12.rst:570 msgid "" "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:572 +#: whatsnew/3.12.rst:574 msgid "" "When a ``try-except*`` construct handles the entire :exc:`ExceptionGroup` " "and raises one other exception, that exception is no longer wrapped in an :" @@ -680,7 +680,7 @@ msgid "" "Katriel in :gh:`103590`.)" msgstr "" -#: whatsnew/3.12.rst:577 +#: whatsnew/3.12.rst:579 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 " @@ -690,41 +690,41 @@ msgid "" "`97922`.)" msgstr "" -#: whatsnew/3.12.rst:584 +#: whatsnew/3.12.rst:586 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:588 +#: whatsnew/3.12.rst:590 msgid "" ":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:591 +#: whatsnew/3.12.rst:593 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:594 +#: whatsnew/3.12.rst:596 msgid "" ":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:598 +#: whatsnew/3.12.rst:600 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`.)" msgstr "" -#: whatsnew/3.12.rst:602 +#: whatsnew/3.12.rst:604 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 " @@ -734,13 +734,13 @@ msgid "" "(Contributed by Petr Viktorin in :pep:`706`.)" msgstr "" -#: whatsnew/3.12.rst:610 +#: whatsnew/3.12.rst:612 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 +#: whatsnew/3.12.rst:616 msgid "" "Add :ref:`support for the perf profiler ` through the new " "environment variable :envvar:`PYTHONPERFSUPPORT` and command-line option :" @@ -751,33 +751,33 @@ msgid "" "Gregory P. Smith [Google] and Mark Shannon in :gh:`96123`.)" msgstr "" -#: whatsnew/3.12.rst:626 +#: whatsnew/3.12.rst:628 msgid "New Modules" msgstr "" -#: whatsnew/3.12.rst:628 +#: whatsnew/3.12.rst:630 msgid "None." msgstr "" -#: whatsnew/3.12.rst:632 +#: whatsnew/3.12.rst:634 msgid "Improved Modules" msgstr "" -#: whatsnew/3.12.rst:635 +#: whatsnew/3.12.rst:637 msgid "array" msgstr "" -#: whatsnew/3.12.rst:637 +#: whatsnew/3.12.rst:639 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:641 +#: whatsnew/3.12.rst:643 msgid "asyncio" msgstr "" -#: whatsnew/3.12.rst:643 +#: whatsnew/3.12.rst:645 msgid "" "The performance of writing to sockets in :mod:`asyncio` has been " "significantly improved. ``asyncio`` now avoids unnecessary copying when " @@ -785,7 +785,7 @@ msgid "" "supports it. (Contributed by Kumar Aditya in :gh:`91166`.)" msgstr "" -#: whatsnew/3.12.rst:648 +#: whatsnew/3.12.rst:650 msgid "" "Add :func:`asyncio.eager_task_factory` and :func:`asyncio." "create_eager_task_factory` functions to allow opting an event loop in to " @@ -793,14 +793,14 @@ msgid "" "Jacob Bower & Itamar Oren in :gh:`102853`, :gh:`104140`, and :gh:`104138`)" msgstr "" -#: whatsnew/3.12.rst:653 +#: whatsnew/3.12.rst:655 msgid "" "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:658 +#: whatsnew/3.12.rst:660 msgid "" "The event loop now uses the best available child watcher for each platform (:" "class:`asyncio.PidfdChildWatcher` if supported and :class:`asyncio." @@ -808,58 +808,58 @@ msgid "" "not recommended. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:664 +#: whatsnew/3.12.rst:666 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:668 +#: whatsnew/3.12.rst:670 msgid "" "Add C implementation of :func:`asyncio.current_task` for 4x-6x speedup. " "(Contributed by Itamar Oren and Pranav Thulasiram Bhat in :gh:`100344`.)" msgstr "" -#: whatsnew/3.12.rst:671 +#: whatsnew/3.12.rst:673 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:675 +#: whatsnew/3.12.rst:677 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:680 +#: whatsnew/3.12.rst:682 msgid "calendar" msgstr "" -#: whatsnew/3.12.rst:682 +#: whatsnew/3.12.rst:684 msgid "" "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:687 +#: whatsnew/3.12.rst:689 msgid "csv" msgstr "" -#: whatsnew/3.12.rst:689 +#: whatsnew/3.12.rst:691 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." "writer` objects." msgstr "" -#: whatsnew/3.12.rst:694 +#: whatsnew/3.12.rst:696 msgid "dis" msgstr "" -#: whatsnew/3.12.rst:696 +#: whatsnew/3.12.rst:698 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:" @@ -868,57 +868,57 @@ msgid "" "(Contributed by Irit Katriel in :gh:`94216`.)" msgstr "" -#: whatsnew/3.12.rst:704 +#: whatsnew/3.12.rst:706 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 +#: whatsnew/3.12.rst:710 msgid "fractions" msgstr "" -#: whatsnew/3.12.rst:710 +#: whatsnew/3.12.rst:712 msgid "" "Objects of type :class:`fractions.Fraction` now support float-style " "formatting. (Contributed by Mark Dickinson in :gh:`100161`.)" msgstr "" -#: whatsnew/3.12.rst:714 +#: whatsnew/3.12.rst:716 msgid "importlib.resources" msgstr "" -#: whatsnew/3.12.rst:716 +#: whatsnew/3.12.rst:718 msgid "" ":func:`importlib.resources.as_file` now supports resource directories. " "(Contributed by Jason R. Coombs in :gh:`97930`.)" msgstr "" -#: whatsnew/3.12.rst:719 +#: whatsnew/3.12.rst:721 msgid "" "Rename first parameter of :func:`importlib.resources.files` to *anchor*. " "(Contributed by Jason R. Coombs in :gh:`100598`.)" msgstr "" -#: whatsnew/3.12.rst:723 +#: whatsnew/3.12.rst:725 msgid "inspect" msgstr "" -#: whatsnew/3.12.rst:725 +#: whatsnew/3.12.rst:727 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:729 +#: whatsnew/3.12.rst:731 msgid "" "Add :func:`inspect.getasyncgenstate` and :func:`inspect.getasyncgenlocals` " "for determining the current state of asynchronous generators. (Contributed " "by Thomas Krennwallner in :gh:`79940`.)" msgstr "" -#: whatsnew/3.12.rst:733 +#: whatsnew/3.12.rst:735 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 " @@ -926,60 +926,60 @@ msgid "" "Waygood in :gh:`103193`.)" msgstr "" -#: whatsnew/3.12.rst:739 +#: whatsnew/3.12.rst:741 msgid "itertools" msgstr "" -#: whatsnew/3.12.rst:741 +#: whatsnew/3.12.rst:743 msgid "" "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:746 +#: whatsnew/3.12.rst:748 msgid "math" msgstr "" -#: whatsnew/3.12.rst:748 +#: whatsnew/3.12.rst:750 msgid "" "Add :func:`math.sumprod` for computing a sum of products. (Contributed by " "Raymond Hettinger in :gh:`100485`.)" msgstr "" -#: whatsnew/3.12.rst:751 +#: whatsnew/3.12.rst:753 msgid "" "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:756 +#: whatsnew/3.12.rst:758 msgid "os" msgstr "" -#: whatsnew/3.12.rst:758 +#: whatsnew/3.12.rst:760 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:762 +#: whatsnew/3.12.rst:764 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:766 +#: whatsnew/3.12.rst:768 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:770 +#: whatsnew/3.12.rst:772 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 " @@ -992,27 +992,27 @@ msgid "" "`99726`.)" msgstr "" -#: whatsnew/3.12.rst:781 +#: whatsnew/3.12.rst:783 msgid "os.path" msgstr "" -#: whatsnew/3.12.rst:783 +#: whatsnew/3.12.rst:785 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:786 +#: whatsnew/3.12.rst:788 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:790 +#: whatsnew/3.12.rst:792 msgid "pathlib" msgstr "" -#: whatsnew/3.12.rst:792 +#: whatsnew/3.12.rst:794 msgid "" "Add support for subclassing :class:`pathlib.PurePath` and :class:`pathlib." "Path`, plus their Posix- and Windows-specific variants. Subclasses may " @@ -1020,14 +1020,14 @@ msgid "" "information between path instances." msgstr "" -#: whatsnew/3.12.rst:797 +#: whatsnew/3.12.rst:799 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`.)" msgstr "" -#: whatsnew/3.12.rst:801 +#: whatsnew/3.12.rst:803 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 " @@ -1035,13 +1035,13 @@ msgid "" "gh:`84538`.)" msgstr "" -#: whatsnew/3.12.rst:806 +#: whatsnew/3.12.rst:808 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:809 +#: whatsnew/3.12.rst:811 msgid "" "Add *case_sensitive* optional parameter to :meth:`pathlib.Path.glob`, :meth:" "`pathlib.Path.rglob` and :meth:`pathlib.PurePath.match` for matching the " @@ -1049,38 +1049,38 @@ msgid "" "process." msgstr "" -#: whatsnew/3.12.rst:814 +#: whatsnew/3.12.rst:816 msgid "pdb" msgstr "" -#: whatsnew/3.12.rst:816 +#: whatsnew/3.12.rst:818 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:822 +#: whatsnew/3.12.rst:824 msgid "random" msgstr "" -#: whatsnew/3.12.rst:824 +#: whatsnew/3.12.rst:826 msgid "" "Add :func:`random.binomialvariate`. (Contributed by Raymond Hettinger in :gh:" "`81620`.)" msgstr "" -#: whatsnew/3.12.rst:827 +#: whatsnew/3.12.rst:829 msgid "" "Add a default of ``lambd=1.0`` to :func:`random.expovariate`. (Contributed " "by Raymond Hettinger in :gh:`100234`.)" msgstr "" -#: whatsnew/3.12.rst:831 +#: whatsnew/3.12.rst:833 msgid "shutil" msgstr "" -#: whatsnew/3.12.rst:833 +#: whatsnew/3.12.rst:835 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 " @@ -1088,7 +1088,7 @@ msgid "" "archiving. (Contributed by Serhiy Storchaka in :gh:`74696`.)" msgstr "" -#: whatsnew/3.12.rst:839 +#: whatsnew/3.12.rst:841 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 " @@ -1096,14 +1096,14 @@ msgid "" "Katriel in :gh:`102828`.)" msgstr "" -#: whatsnew/3.12.rst:844 +#: whatsnew/3.12.rst:846 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:849 +#: whatsnew/3.12.rst:851 msgid "" ":func:`shutil.which` will call ``NeedCurrentDirectoryForExePathW`` when " "querying for executables on Windows to determine if the current working " @@ -1111,24 +1111,24 @@ msgid "" "Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:854 +#: whatsnew/3.12.rst:856 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:1655 +#: whatsnew/3.12.rst:1657 msgid "sqlite3" msgstr "" -#: whatsnew/3.12.rst:862 +#: whatsnew/3.12.rst:864 msgid "" "Add a :ref:`command-line interface `. (Contributed by Erlend E. " "Aasland in :gh:`77617`.)" msgstr "" -#: whatsnew/3.12.rst:865 +#: whatsnew/3.12.rst:867 msgid "" "Add the :attr:`sqlite3.Connection.autocommit` attribute to :class:`sqlite3." "Connection` and the *autocommit* parameter to :func:`sqlite3.connect` to " @@ -1136,43 +1136,43 @@ msgid "" "control-autocommit>`. (Contributed by Erlend E. Aasland in :gh:`83638`.)" msgstr "" -#: whatsnew/3.12.rst:872 +#: whatsnew/3.12.rst:874 msgid "" "Add *entrypoint* keyword-only parameter to :meth:`sqlite3.Connection." "load_extension`, for overriding the SQLite extension entry point. " "(Contributed by Erlend E. Aasland in :gh:`103015`.)" msgstr "" -#: whatsnew/3.12.rst:877 +#: whatsnew/3.12.rst:879 msgid "" "Add :meth:`sqlite3.Connection.getconfig` and :meth:`sqlite3.Connection." "setconfig` to :class:`sqlite3.Connection` to make configuration changes to a " "database connection. (Contributed by Erlend E. Aasland in :gh:`103489`.)" msgstr "" -#: whatsnew/3.12.rst:883 +#: whatsnew/3.12.rst:885 msgid "statistics" msgstr "" -#: whatsnew/3.12.rst:885 +#: whatsnew/3.12.rst:887 msgid "" "Extend :func:`statistics.correlation` to include as a ``ranked`` method for " "computing the Spearman correlation of ranked data. (Contributed by Raymond " "Hettinger in :gh:`95861`.)" msgstr "" -#: whatsnew/3.12.rst:890 +#: whatsnew/3.12.rst:892 msgid "sys" msgstr "" -#: whatsnew/3.12.rst:892 +#: whatsnew/3.12.rst:894 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:896 +#: whatsnew/3.12.rst:898 msgid "" "Add :func:`sys.activate_stack_trampoline` and :func:`sys." "deactivate_stack_trampoline` for activating and deactivating stack profiler " @@ -1182,7 +1182,7 @@ msgid "" "Shannon in :gh:`96123`.)" msgstr "" -#: whatsnew/3.12.rst:905 +#: whatsnew/3.12.rst:907 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 " @@ -1191,14 +1191,14 @@ msgid "" "Katriel in :gh:`102778`.)" msgstr "" -#: whatsnew/3.12.rst:1851 +#: whatsnew/3.12.rst:1853 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:915 +#: whatsnew/3.12.rst:917 msgid "" ":func:`sys.setrecursionlimit` and :func:`sys.getrecursionlimit`. The " "recursion limit now applies only to Python code. Builtin functions do not " @@ -1206,27 +1206,27 @@ msgid "" "prevents recursion from causing a virtual machine crash." msgstr "" -#: whatsnew/3.12.rst:921 +#: whatsnew/3.12.rst:923 msgid "tempfile" msgstr "" -#: whatsnew/3.12.rst:923 +#: whatsnew/3.12.rst:925 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:925 +#: whatsnew/3.12.rst:927 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:931 +#: whatsnew/3.12.rst:933 msgid "threading" msgstr "" -#: whatsnew/3.12.rst:933 +#: whatsnew/3.12.rst:935 msgid "" "Add :func:`threading.settrace_all_threads` and :func:`threading." "setprofile_all_threads` that allow to set tracing and profiling functions in " @@ -1234,11 +1234,11 @@ msgid "" "Galindo in :gh:`93503`.)" msgstr "" -#: whatsnew/3.12.rst:939 +#: whatsnew/3.12.rst:941 msgid "tkinter" msgstr "" -#: whatsnew/3.12.rst:941 +#: whatsnew/3.12.rst:943 msgid "" "``tkinter.Canvas.coords()`` now flattens its arguments. It now accepts not " "only coordinates as separate arguments (``x1, y1, x2, y2, ...``) and a " @@ -1248,11 +1248,11 @@ msgid "" "in :gh:`94473`.)" msgstr "" -#: whatsnew/3.12.rst:950 +#: whatsnew/3.12.rst:952 msgid "tokenize" msgstr "" -#: whatsnew/3.12.rst:952 +#: whatsnew/3.12.rst:954 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 :" @@ -1260,22 +1260,22 @@ msgid "" "to the :mod:`tokenize` module." msgstr "" -#: whatsnew/3.12.rst:958 +#: whatsnew/3.12.rst:960 msgid "types" msgstr "" -#: whatsnew/3.12.rst:960 +#: whatsnew/3.12.rst:962 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:965 +#: whatsnew/3.12.rst:967 msgid "typing" msgstr "" -#: whatsnew/3.12.rst:967 +#: whatsnew/3.12.rst:969 msgid "" ":func:`isinstance` checks against :func:`runtime-checkable protocols ` now use :func:`inspect.getattr_static` rather than :func:" @@ -1288,7 +1288,7 @@ msgid "" "affected by this change. (Contributed by Alex Waygood in :gh:`102433`.)" msgstr "" -#: whatsnew/3.12.rst:978 +#: whatsnew/3.12.rst:980 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 " @@ -1296,13 +1296,13 @@ msgid "" "on :func:`isinstance` checks comparing objects to the protocol. For example::" msgstr "" -#: whatsnew/3.12.rst:1000 +#: whatsnew/3.12.rst:1002 msgid "" "This change was made in order to speed up ``isinstance()`` checks against " "runtime-checkable protocols." msgstr "" -#: whatsnew/3.12.rst:1003 +#: whatsnew/3.12.rst:1005 msgid "" "The performance profile of :func:`isinstance` checks against :func:`runtime-" "checkable protocols ` has changed significantly. " @@ -1313,71 +1313,71 @@ msgid "" "in :gh:`74690` and :gh:`103193`.)" msgstr "" -#: whatsnew/3.12.rst:1011 +#: whatsnew/3.12.rst:1013 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:1015 +#: whatsnew/3.12.rst:1017 msgid "" "Add ``frozen_default`` parameter to :func:`typing.dataclass_transform`. " "(Contributed by Erik De Bonte in :gh:`99957`.)" msgstr "" -#: whatsnew/3.12.rst:1019 +#: whatsnew/3.12.rst:1021 msgid "unicodedata" msgstr "" -#: whatsnew/3.12.rst:1021 +#: whatsnew/3.12.rst:1023 msgid "" "The Unicode database has been updated to version 15.0.0. (Contributed by " "Benjamin Peterson in :gh:`96734`)." msgstr "" -#: whatsnew/3.12.rst:1696 +#: whatsnew/3.12.rst:1698 msgid "unittest" msgstr "" -#: whatsnew/3.12.rst:1027 +#: whatsnew/3.12.rst:1029 msgid "" "Add a ``--durations`` command line option, showing the N slowest test cases::" msgstr "" -#: whatsnew/3.12.rst:1043 +#: whatsnew/3.12.rst:1045 msgid "(Contributed by Giampaolo Rodola in :gh:`48330`)" msgstr "" -#: whatsnew/3.12.rst:1046 +#: whatsnew/3.12.rst:1048 msgid "uuid" msgstr "" -#: whatsnew/3.12.rst:1048 +#: whatsnew/3.12.rst:1050 msgid "" "Add a :ref:`command-line interface `. (Contributed by Adam Chhina " "in :gh:`88597`.)" msgstr "" -#: whatsnew/3.12.rst:1053 +#: whatsnew/3.12.rst:1055 msgid "Optimizations" msgstr "" -#: whatsnew/3.12.rst:1055 +#: whatsnew/3.12.rst:1057 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:1059 +#: whatsnew/3.12.rst:1061 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:1063 +#: whatsnew/3.12.rst:1065 msgid "" "Speed up the regular expression substitution (functions :func:`re.sub` and :" "func:`re.subn` and corresponding :class:`!re.Pattern` methods) for " @@ -1385,13 +1385,13 @@ msgid "" "by Serhiy Storchaka in :gh:`91524`.)" msgstr "" -#: whatsnew/3.12.rst:1068 +#: whatsnew/3.12.rst:1070 msgid "" "Speed up :class:`asyncio.Task` creation by deferring expensive string " "formatting. (Contributed by Itamar Oren in :gh:`103793`.)" msgstr "" -#: whatsnew/3.12.rst:1071 +#: whatsnew/3.12.rst:1073 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:" @@ -1399,18 +1399,18 @@ msgid "" "Pablo Galindo in :gh:`102856`.)" msgstr "" -#: whatsnew/3.12.rst:1076 +#: whatsnew/3.12.rst:1078 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:1082 +#: whatsnew/3.12.rst:1084 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.12.rst:1084 +#: whatsnew/3.12.rst:1086 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:" @@ -1418,62 +1418,62 @@ msgid "" "by Ken Jin in :gh:`93429`.)" msgstr "" -#: whatsnew/3.12.rst:1089 +#: whatsnew/3.12.rst:1091 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:1092 +#: whatsnew/3.12.rst:1094 msgid "" "Remove the :opcode:`!PRECALL` instruction. (Contributed by Mark Shannon in :" "gh:`92925`.)" msgstr "" -#: whatsnew/3.12.rst:1095 +#: whatsnew/3.12.rst:1097 msgid "" "Add the :opcode:`BINARY_SLICE` and :opcode:`STORE_SLICE` instructions. " "(Contributed by Mark Shannon in :gh:`94163`.)" msgstr "" -#: whatsnew/3.12.rst:1098 +#: whatsnew/3.12.rst:1100 msgid "" "Add the :opcode:`CALL_INTRINSIC_1` instructions. (Contributed by Mark " "Shannon in :gh:`99005`.)" msgstr "" -#: whatsnew/3.12.rst:1101 +#: whatsnew/3.12.rst:1103 msgid "" "Add the :opcode:`CALL_INTRINSIC_2` instruction. (Contributed by Irit Katriel " "in :gh:`101799`.)" msgstr "" -#: whatsnew/3.12.rst:1104 +#: whatsnew/3.12.rst:1106 msgid "" "Add the :opcode:`CLEANUP_THROW` instruction. (Contributed by Brandt Bucher " "in :gh:`90997`.)" msgstr "" -#: whatsnew/3.12.rst:1107 +#: whatsnew/3.12.rst:1109 msgid "" "Add the :opcode:`!END_SEND` instruction. (Contributed by Mark Shannon in :gh:" "`103082`.)" msgstr "" -#: whatsnew/3.12.rst:1110 +#: whatsnew/3.12.rst:1112 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:1113 +#: whatsnew/3.12.rst:1115 msgid "" "Add the :opcode:`LOAD_FAST_CHECK` instruction. (Contributed by Dennis " "Sweeney in :gh:`93143`.)" msgstr "" -#: whatsnew/3.12.rst:1116 +#: whatsnew/3.12.rst:1118 msgid "" "Add the :opcode:`LOAD_FROM_DICT_OR_DEREF`, :opcode:" "`LOAD_FROM_DICT_OR_GLOBALS`, and :opcode:`LOAD_LOCALS` opcodes as part of " @@ -1482,48 +1482,48 @@ msgid "" "`LOAD_FROM_DICT_OR_DEREF`. (Contributed by Jelle Zijlstra in :gh:`103764`.)" msgstr "" -#: whatsnew/3.12.rst:1122 +#: whatsnew/3.12.rst:1124 msgid "" "Add the :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer " "and Vladimir Matveev in :gh:`103497`.)" msgstr "" -#: whatsnew/3.12.rst:1125 +#: whatsnew/3.12.rst:1127 msgid "" "Add the :opcode:`RETURN_CONST` instruction. (Contributed by Wenyang Wang in :" "gh:`101632`.)" msgstr "" -#: whatsnew/3.12.rst:1128 +#: whatsnew/3.12.rst:1130 msgid "Demos and Tools" msgstr "" -#: whatsnew/3.12.rst:1130 +#: whatsnew/3.12.rst:1132 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:1135 +#: whatsnew/3.12.rst:1137 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:2254 +#: whatsnew/3.12.rst:2256 msgid "Deprecated" msgstr "" -#: whatsnew/3.12.rst:1144 +#: whatsnew/3.12.rst:1146 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:1149 +#: whatsnew/3.12.rst:1151 msgid "" ":mod:`ast`: The following :mod:`ast` features have been deprecated in " "documentation since Python 3.8, now cause a :exc:`DeprecationWarning` to be " @@ -1531,37 +1531,37 @@ msgid "" "Python 3.14:" msgstr "" -#: whatsnew/3.12.rst:1387 +#: whatsnew/3.12.rst:1389 msgid ":class:`!ast.Num`" msgstr "" -#: whatsnew/3.12.rst:1388 +#: whatsnew/3.12.rst:1390 msgid ":class:`!ast.Str`" msgstr "" -#: whatsnew/3.12.rst:1389 +#: whatsnew/3.12.rst:1391 msgid ":class:`!ast.Bytes`" msgstr "" -#: whatsnew/3.12.rst:1390 +#: whatsnew/3.12.rst:1392 msgid ":class:`!ast.NameConstant`" msgstr "" -#: whatsnew/3.12.rst:1391 +#: whatsnew/3.12.rst:1393 msgid ":class:`!ast.Ellipsis`" msgstr "" -#: whatsnew/3.12.rst:1159 +#: whatsnew/3.12.rst:1161 msgid "" "Use :class:`ast.Constant` instead. (Contributed by Serhiy Storchaka in :gh:" "`90953`.)" msgstr "" -#: whatsnew/3.12.rst:1393 +#: whatsnew/3.12.rst:1395 msgid ":mod:`asyncio`:" msgstr "" -#: whatsnew/3.12.rst:1164 +#: whatsnew/3.12.rst:1166 msgid "" "The child watcher classes :class:`asyncio.MultiLoopChildWatcher`, :class:" "`asyncio.FastChildWatcher`, :class:`asyncio.AbstractChildWatcher` and :class:" @@ -1569,7 +1569,7 @@ msgid "" "3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:1170 +#: whatsnew/3.12.rst:1172 msgid "" ":func:`asyncio.set_child_watcher`, :func:`asyncio.get_child_watcher`, :meth:" "`asyncio.AbstractEventLoopPolicy.set_child_watcher` and :meth:`asyncio." @@ -1577,7 +1577,7 @@ msgid "" "removed in Python 3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:1176 +#: whatsnew/3.12.rst:1178 msgid "" "The :meth:`~asyncio.get_event_loop` method of the default event loop policy " "now emits a :exc:`DeprecationWarning` if there is no current event loop set " @@ -1585,14 +1585,14 @@ msgid "" "Rossum in :gh:`100160`.)" msgstr "" -#: whatsnew/3.12.rst:1181 +#: whatsnew/3.12.rst:1183 msgid "" ":mod:`calendar`: ``calendar.January`` and ``calendar.February`` constants " "are deprecated and replaced by :data:`calendar.JANUARY` and :data:`calendar." "FEBRUARY`. (Contributed by Prince Roshan in :gh:`103636`.)" msgstr "" -#: whatsnew/3.12.rst:1185 +#: whatsnew/3.12.rst:1187 msgid "" ":mod:`collections.abc`: Deprecated :class:`collections.abc.ByteString`. " "Prefer :class:`Sequence` or :class:`collections.abc.Buffer`. For use in " @@ -1600,7 +1600,7 @@ msgid "" "abc.Buffer`. (Contributed by Shantanu Jain in :gh:`91896`.)" msgstr "" -#: whatsnew/3.12.rst:1190 +#: whatsnew/3.12.rst:1192 msgid "" ":mod:`datetime`: :class:`datetime.datetime`'s :meth:`~datetime.datetime." "utcnow` and :meth:`~datetime.datetime.utcfromtimestamp` are deprecated and " @@ -1610,47 +1610,47 @@ msgid "" "set to :const:`datetime.UTC`. (Contributed by Paul Ganssle in :gh:`103857`.)" msgstr "" -#: whatsnew/3.12.rst:1198 +#: whatsnew/3.12.rst:1200 msgid "" ":mod:`email`: Deprecate the *isdst* parameter in :func:`email.utils." "localtime`. (Contributed by Alan Williams in :gh:`72346`.)" msgstr "" -#: whatsnew/3.12.rst:1201 +#: whatsnew/3.12.rst:1203 msgid "" ":mod:`importlib.abc`: Deprecated the following classes, scheduled for " "removal in Python 3.14:" msgstr "" -#: whatsnew/3.12.rst:1410 +#: whatsnew/3.12.rst:1412 msgid ":class:`!importlib.abc.ResourceReader`" msgstr "" -#: whatsnew/3.12.rst:1411 +#: whatsnew/3.12.rst:1413 msgid ":class:`!importlib.abc.Traversable`" msgstr "" -#: whatsnew/3.12.rst:1412 +#: whatsnew/3.12.rst:1414 msgid ":class:`!importlib.abc.TraversableResources`" msgstr "" -#: whatsnew/3.12.rst:1208 +#: whatsnew/3.12.rst:1210 msgid "Use :mod:`importlib.resources.abc` classes instead:" msgstr "" -#: whatsnew/3.12.rst:1210 +#: whatsnew/3.12.rst:1212 msgid ":class:`importlib.resources.abc.Traversable`" msgstr "" -#: whatsnew/3.12.rst:1211 +#: whatsnew/3.12.rst:1213 msgid ":class:`importlib.resources.abc.TraversableResources`" msgstr "" -#: whatsnew/3.12.rst:1213 +#: whatsnew/3.12.rst:1215 msgid "(Contributed by Jason R. Coombs and Hugo van Kemenade in :gh:`93963`.)" msgstr "" -#: whatsnew/3.12.rst:1215 +#: whatsnew/3.12.rst:1217 msgid "" ":mod:`itertools`: Deprecate the support for copy, deepcopy, and pickle " "operations, which is undocumented, inefficient, historically buggy, and " @@ -1659,7 +1659,7 @@ msgid "" "`101588`.)" msgstr "" -#: whatsnew/3.12.rst:1221 +#: whatsnew/3.12.rst:1223 msgid "" ":mod:`multiprocessing`: In Python 3.14, the default :mod:`multiprocessing` " "start method will change to a safer one on Linux, BSDs, and other non-macOS " @@ -1671,14 +1671,14 @@ msgid "" "methods `." msgstr "" -#: whatsnew/3.12.rst:1231 +#: whatsnew/3.12.rst:1233 msgid "" ":mod:`pkgutil`: :func:`pkgutil.find_loader` and :func:`pkgutil.get_loader` " "are deprecated and will be removed in Python 3.14; use :func:`importlib.util." "find_spec` instead. (Contributed by Nikita Sobolev in :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1236 +#: whatsnew/3.12.rst:1238 msgid "" ":mod:`pty`: The module has two undocumented ``master_open()`` and " "``slave_open()`` functions that have been deprecated since Python 2 but only " @@ -1686,11 +1686,11 @@ msgid "" "(Contributed by Soumendra Ganguly and Gregory P. Smith in :gh:`85984`.)" msgstr "" -#: whatsnew/3.12.rst:1241 +#: whatsnew/3.12.rst:1243 msgid ":mod:`os`:" msgstr "" -#: whatsnew/3.12.rst:1243 +#: whatsnew/3.12.rst:1245 msgid "" "The ``st_ctime`` fields return by :func:`os.stat` and :func:`os.lstat` on " "Windows are deprecated. In a future release, they will contain the last " @@ -1699,7 +1699,7 @@ msgid "" "``st_birthtime`` field. (Contributed by Steve Dower in :gh:`99726`.)" msgstr "" -#: whatsnew/3.12.rst:1249 +#: whatsnew/3.12.rst:1251 msgid "" "On POSIX platforms, :func:`os.fork` can now raise a :exc:" "`DeprecationWarning` when it can detect being called from a multithreaded " @@ -1712,32 +1712,32 @@ msgid "" "longstanding platform compatibility problem to developers." msgstr "" -#: whatsnew/3.12.rst:1259 +#: whatsnew/3.12.rst:1261 msgid "" "When this warning appears due to usage of :mod:`multiprocessing` or :mod:" "`concurrent.futures` the fix is to use a different :mod:`multiprocessing` " "start method such as ``\"spawn\"`` or ``\"forkserver\"``." msgstr "" -#: whatsnew/3.12.rst:1263 +#: whatsnew/3.12.rst:1265 msgid "" ":mod:`shutil`: The *onerror* argument of :func:`shutil.rmtree` is " "deprecated; use *onexc* instead. (Contributed by Irit Katriel in :gh:" "`102828`.)" msgstr "" -#: whatsnew/3.12.rst:1266 +#: whatsnew/3.12.rst:1268 msgid ":mod:`sqlite3`:" msgstr "" -#: whatsnew/3.12.rst:1268 +#: whatsnew/3.12.rst:1270 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:1274 +#: whatsnew/3.12.rst:1276 msgid "" "In :meth:`~sqlite3.Cursor.execute`, :exc:`DeprecationWarning` is now emitted " "when :ref:`named placeholders ` are used together with " @@ -1747,39 +1747,39 @@ msgid "" "Erlend E. Aasland in :gh:`101698`.)" msgstr "" -#: whatsnew/3.12.rst:1281 +#: whatsnew/3.12.rst:1283 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:1285 +#: whatsnew/3.12.rst:1287 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:1289 +#: whatsnew/3.12.rst:1291 msgid ":mod:`typing`:" msgstr "" -#: whatsnew/3.12.rst:1291 +#: whatsnew/3.12.rst:1293 msgid "" ":class:`typing.Hashable` and :class:`typing.Sized`, aliases for :class:" "`collections.abc.Hashable` and :class:`collections.abc.Sized` respectively, " "are deprecated. (:gh:`94309`.)" msgstr "" -#: whatsnew/3.12.rst:1295 +#: whatsnew/3.12.rst:1297 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:1299 +#: whatsnew/3.12.rst:1301 msgid "" ":mod:`xml.etree.ElementTree`: The module now emits :exc:`DeprecationWarning` " "when testing the truth value of an :class:`xml.etree.ElementTree.Element`. " @@ -1787,7 +1787,7 @@ msgid "" "implementation emitted nothing. (Contributed by Jacob Walls in :gh:`83122`.)" msgstr "" -#: whatsnew/3.12.rst:1305 +#: whatsnew/3.12.rst:1307 msgid "" "The 3-arg signatures (type, value, traceback) of :meth:`coroutine throw() " "`, :meth:`generator throw() ` and :meth:" @@ -1796,21 +1796,21 @@ msgid "" "instead. (Contributed by Ofey Chan in :gh:`89874`.)" msgstr "" -#: whatsnew/3.12.rst:1311 +#: whatsnew/3.12.rst:1313 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:1316 +#: whatsnew/3.12.rst:1318 msgid "" "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:1320 +#: whatsnew/3.12.rst:1322 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. " @@ -1819,7 +1819,7 @@ msgid "" "Tim Hoffmann in :gh:`103487`.)" msgstr "" -#: whatsnew/3.12.rst:1326 +#: whatsnew/3.12.rst:1328 msgid "" "Accessing :attr:`~codeobject.co_lnotab` on code objects was deprecated in " "Python 3.10 via :pep:`626`, but it only got a proper :exc:" @@ -1827,289 +1827,289 @@ msgid "" "(Contributed by Nikita Sobolev in :gh:`101866`.)" msgstr "" -#: whatsnew/3.12.rst:1333 +#: whatsnew/3.12.rst:1335 msgid "Pending Removal in Python 3.13" msgstr "" -#: whatsnew/3.12.rst:1335 +#: whatsnew/3.12.rst:1337 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:1338 +#: whatsnew/3.12.rst:1340 msgid "Modules (see :pep:`594`):" msgstr "" -#: whatsnew/3.12.rst:1340 +#: whatsnew/3.12.rst:1342 msgid ":mod:`aifc`" msgstr "" -#: whatsnew/3.12.rst:1341 +#: whatsnew/3.12.rst:1343 msgid ":mod:`audioop`" msgstr "" -#: whatsnew/3.12.rst:1342 +#: whatsnew/3.12.rst:1344 msgid ":mod:`cgi`" msgstr "" -#: whatsnew/3.12.rst:1343 +#: whatsnew/3.12.rst:1345 msgid ":mod:`cgitb`" msgstr "" -#: whatsnew/3.12.rst:1344 +#: whatsnew/3.12.rst:1346 msgid ":mod:`chunk`" msgstr "" -#: whatsnew/3.12.rst:1345 +#: whatsnew/3.12.rst:1347 msgid ":mod:`crypt`" msgstr "" -#: whatsnew/3.12.rst:1346 +#: whatsnew/3.12.rst:1348 msgid ":mod:`imghdr`" msgstr "" -#: whatsnew/3.12.rst:1347 +#: whatsnew/3.12.rst:1349 msgid ":mod:`mailcap`" msgstr "" -#: whatsnew/3.12.rst:1348 +#: whatsnew/3.12.rst:1350 msgid ":mod:`msilib`" msgstr "" -#: whatsnew/3.12.rst:1349 +#: whatsnew/3.12.rst:1351 msgid ":mod:`nis`" msgstr "" -#: whatsnew/3.12.rst:1350 +#: whatsnew/3.12.rst:1352 msgid ":mod:`nntplib`" msgstr "" -#: whatsnew/3.12.rst:1351 +#: whatsnew/3.12.rst:1353 msgid ":mod:`ossaudiodev`" msgstr "" -#: whatsnew/3.12.rst:1352 +#: whatsnew/3.12.rst:1354 msgid ":mod:`pipes`" msgstr "" -#: whatsnew/3.12.rst:1353 +#: whatsnew/3.12.rst:1355 msgid ":mod:`sndhdr`" msgstr "" -#: whatsnew/3.12.rst:1354 +#: whatsnew/3.12.rst:1356 msgid ":mod:`spwd`" msgstr "" -#: whatsnew/3.12.rst:1355 +#: whatsnew/3.12.rst:1357 msgid ":mod:`sunau`" msgstr "" -#: whatsnew/3.12.rst:1356 +#: whatsnew/3.12.rst:1358 msgid ":mod:`telnetlib`" msgstr "" -#: whatsnew/3.12.rst:1357 +#: whatsnew/3.12.rst:1359 msgid ":mod:`uu`" msgstr "" -#: whatsnew/3.12.rst:1358 +#: whatsnew/3.12.rst:1360 msgid ":mod:`xdrlib`" msgstr "" -#: whatsnew/3.12.rst:1360 +#: whatsnew/3.12.rst:1362 msgid "Other modules:" msgstr "" -#: whatsnew/3.12.rst:1362 +#: whatsnew/3.12.rst:1364 msgid ":mod:`!lib2to3`, and the :program:`2to3` program (:gh:`84540`)" msgstr "" -#: whatsnew/3.12.rst:1442 +#: whatsnew/3.12.rst:1444 msgid "APIs:" msgstr "" -#: whatsnew/3.12.rst:1366 +#: whatsnew/3.12.rst:1368 msgid ":class:`!configparser.LegacyInterpolation` (:gh:`90765`)" msgstr "" -#: whatsnew/3.12.rst:1367 +#: whatsnew/3.12.rst:1369 msgid "``locale.resetlocale()`` (:gh:`90817`)" msgstr "" -#: whatsnew/3.12.rst:1368 +#: whatsnew/3.12.rst:1370 msgid ":meth:`!turtle.RawTurtle.settiltangle` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1369 +#: whatsnew/3.12.rst:1371 msgid ":func:`!unittest.findTestCases` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1370 +#: whatsnew/3.12.rst:1372 msgid ":func:`!unittest.getTestCaseNames` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1371 +#: whatsnew/3.12.rst:1373 msgid ":func:`!unittest.makeSuite` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1372 +#: whatsnew/3.12.rst:1374 msgid ":meth:`!unittest.TestProgram.usageExit` (:gh:`67048`)" msgstr "" -#: whatsnew/3.12.rst:1373 +#: whatsnew/3.12.rst:1375 msgid ":class:`!webbrowser.MacOSX` (:gh:`86421`)" msgstr "" -#: whatsnew/3.12.rst:1374 +#: whatsnew/3.12.rst:1376 msgid ":class:`classmethod` descriptor chaining (:gh:`89519`)" msgstr "" -#: whatsnew/3.12.rst:2341 +#: whatsnew/3.12.rst:2343 msgid "Pending Removal in Python 3.14" msgstr "" -#: whatsnew/3.12.rst:1379 +#: whatsnew/3.12.rst:1381 msgid "" "The following APIs have been deprecated and will be removed in Python 3.14." msgstr "" -#: whatsnew/3.12.rst:1382 +#: whatsnew/3.12.rst:1384 msgid "" ":mod:`argparse`: The *type*, *choices*, and *metavar* parameters of :class:`!" "argparse.BooleanOptionalAction`" msgstr "" -#: whatsnew/3.12.rst:1385 +#: whatsnew/3.12.rst:1387 msgid ":mod:`ast`:" msgstr "" -#: whatsnew/3.12.rst:1395 +#: whatsnew/3.12.rst:1397 msgid ":class:`!asyncio.MultiLoopChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1396 +#: whatsnew/3.12.rst:1398 msgid ":class:`!asyncio.FastChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1397 +#: whatsnew/3.12.rst:1399 msgid ":class:`!asyncio.AbstractChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1398 +#: whatsnew/3.12.rst:1400 msgid ":class:`!asyncio.SafeChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1399 +#: whatsnew/3.12.rst:1401 msgid ":func:`!asyncio.set_child_watcher`" msgstr "" -#: whatsnew/3.12.rst:1400 +#: whatsnew/3.12.rst:1402 msgid ":func:`!asyncio.get_child_watcher`," msgstr "" -#: whatsnew/3.12.rst:1401 +#: whatsnew/3.12.rst:1403 msgid ":meth:`!asyncio.AbstractEventLoopPolicy.set_child_watcher`" msgstr "" -#: whatsnew/3.12.rst:1402 +#: whatsnew/3.12.rst:1404 msgid ":meth:`!asyncio.AbstractEventLoopPolicy.get_child_watcher`" msgstr "" -#: whatsnew/3.12.rst:1404 +#: whatsnew/3.12.rst:1406 msgid ":mod:`collections.abc`: :class:`!collections.abc.ByteString`." msgstr "" -#: whatsnew/3.12.rst:1406 +#: whatsnew/3.12.rst:1408 msgid ":mod:`email`: the *isdst* parameter in :func:`email.utils.localtime`." msgstr "" -#: whatsnew/3.12.rst:1408 +#: whatsnew/3.12.rst:1410 msgid ":mod:`importlib.abc`:" msgstr "" -#: whatsnew/3.12.rst:1414 +#: whatsnew/3.12.rst:1416 msgid ":mod:`itertools`: Support for copy, deepcopy, and pickle operations." msgstr "" -#: whatsnew/3.12.rst:1416 +#: whatsnew/3.12.rst:1418 msgid ":mod:`pkgutil`:" msgstr "" -#: whatsnew/3.12.rst:1418 +#: whatsnew/3.12.rst:1420 msgid ":func:`!pkgutil.find_loader`" msgstr "" -#: whatsnew/3.12.rst:1419 +#: whatsnew/3.12.rst:1421 msgid ":func:`!pkgutil.get_loader`." msgstr "" -#: whatsnew/3.12.rst:1421 +#: whatsnew/3.12.rst:1423 msgid ":mod:`pty`:" msgstr "" -#: whatsnew/3.12.rst:1423 +#: whatsnew/3.12.rst:1425 msgid ":func:`!pty.master_open`" msgstr "" -#: whatsnew/3.12.rst:1424 +#: whatsnew/3.12.rst:1426 msgid ":func:`!pty.slave_open`" msgstr "" -#: whatsnew/3.12.rst:1426 +#: whatsnew/3.12.rst:1428 msgid ":mod:`shutil`: The *onerror* argument of :func:`shutil.rmtree`" msgstr "" -#: whatsnew/3.12.rst:1428 +#: whatsnew/3.12.rst:1430 msgid ":mod:`typing`: :class:`!typing.ByteString`" msgstr "" -#: whatsnew/3.12.rst:1430 +#: whatsnew/3.12.rst:1432 msgid "" ":mod:`xml.etree.ElementTree`: Testing the truth value of an :class:`xml." "etree.ElementTree.Element`." msgstr "" -#: whatsnew/3.12.rst:1432 +#: whatsnew/3.12.rst:1434 msgid "The ``__package__`` and ``__cached__`` attributes on module objects." msgstr "" -#: whatsnew/3.12.rst:1434 +#: whatsnew/3.12.rst:1436 msgid "The :attr:`~codeobject.co_lnotab` attribute of code objects." msgstr "" -#: whatsnew/3.12.rst:2378 +#: whatsnew/3.12.rst:2380 msgid "Pending Removal in Python 3.15" msgstr "" -#: whatsnew/3.12.rst:1439 +#: whatsnew/3.12.rst:1441 msgid "" "The following APIs have been deprecated and will be removed in Python 3.15." msgstr "" -#: whatsnew/3.12.rst:1444 +#: whatsnew/3.12.rst:1446 msgid ":func:`locale.getdefaultlocale` (:gh:`90817`)" msgstr "" -#: whatsnew/3.12.rst:2396 +#: whatsnew/3.12.rst:2398 msgid "Pending Removal in Future Versions" msgstr "" -#: whatsnew/3.12.rst:1450 +#: whatsnew/3.12.rst:1452 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:1453 +#: whatsnew/3.12.rst:1455 msgid ":mod:`array`'s ``'u'`` format code (:gh:`57281`)" msgstr "" -#: whatsnew/3.12.rst:1455 +#: whatsnew/3.12.rst:1457 msgid ":class:`typing.Text` (:gh:`92332`)" msgstr "" -#: whatsnew/3.12.rst:1457 +#: whatsnew/3.12.rst:1459 msgid "" "Currently Python accepts numeric literals immediately followed by keywords, " "for example ``0in x``, ``1or x``, ``0if 1else 2``. It allows confusing and " @@ -2121,54 +2121,54 @@ msgid "" "syntax error. (:gh:`87999`)" msgstr "" -#: whatsnew/3.12.rst:2428 +#: whatsnew/3.12.rst:2430 msgid "Removed" msgstr "" -#: whatsnew/3.12.rst:1471 +#: whatsnew/3.12.rst:1473 msgid "asynchat and asyncore" msgstr "" -#: whatsnew/3.12.rst:1473 +#: whatsnew/3.12.rst:1475 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:1480 +#: whatsnew/3.12.rst:1482 msgid "configparser" msgstr "" -#: whatsnew/3.12.rst:1482 +#: whatsnew/3.12.rst:1484 msgid "" "Several names deprecated in the :mod:`configparser` way back in 3.2 have " "been removed per :gh:`89336`:" msgstr "" -#: whatsnew/3.12.rst:1485 +#: whatsnew/3.12.rst:1487 msgid "" ":class:`configparser.ParsingError` no longer has a ``filename`` attribute or " "argument. Use the ``source`` attribute and argument instead." msgstr "" -#: whatsnew/3.12.rst:1487 +#: whatsnew/3.12.rst:1489 msgid "" ":mod:`configparser` no longer has a ``SafeConfigParser`` class. Use the " "shorter :class:`~configparser.ConfigParser` name instead." msgstr "" -#: whatsnew/3.12.rst:1489 +#: whatsnew/3.12.rst:1491 msgid "" ":class:`configparser.ConfigParser` no longer has a ``readfp`` method. Use :" "meth:`~configparser.ConfigParser.read_file` instead." msgstr "" -#: whatsnew/3.12.rst:1493 +#: whatsnew/3.12.rst:1495 msgid "distutils" msgstr "" -#: whatsnew/3.12.rst:1495 +#: whatsnew/3.12.rst:1497 msgid "" "Remove the :py:mod:`!distutils` package. It was deprecated in Python 3.10 " "by :pep:`632` \"Deprecate distutils module\". For projects still using " @@ -2177,17 +2177,17 @@ msgid "" "Victor Stinner in :gh:`92584`.)" msgstr "" -#: whatsnew/3.12.rst:1502 +#: whatsnew/3.12.rst:1504 msgid "ensurepip" msgstr "" -#: whatsnew/3.12.rst:1504 +#: whatsnew/3.12.rst:1506 msgid "" "Remove the bundled setuptools wheel from :mod:`ensurepip`, and stop " "installing setuptools in environments created by :mod:`venv`." msgstr "" -#: whatsnew/3.12.rst:1507 +#: whatsnew/3.12.rst:1509 msgid "" "``pip (>= 22.1)`` does not require setuptools to be installed in the " "environment. ``setuptools``-based (and ``distutils``-based) packages can " @@ -2195,7 +2195,7 @@ msgid "" "the build environment it uses for building a package." msgstr "" -#: whatsnew/3.12.rst:1513 +#: whatsnew/3.12.rst:1515 msgid "" "``easy_install``, ``pkg_resources``, ``setuptools`` and ``distutils`` are no " "longer provided by default in environments created with ``venv`` or " @@ -2205,35 +2205,35 @@ msgid "" "(typically, using pip)." msgstr "" -#: whatsnew/3.12.rst:1520 +#: whatsnew/3.12.rst:1522 msgid "(Contributed by Pradyun Gedam in :gh:`95299`.)" msgstr "" -#: whatsnew/3.12.rst:1523 +#: whatsnew/3.12.rst:1525 msgid "enum" msgstr "" -#: whatsnew/3.12.rst:1525 +#: whatsnew/3.12.rst:1527 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:1530 +#: whatsnew/3.12.rst:1532 msgid "ftplib" msgstr "" -#: whatsnew/3.12.rst:1532 +#: whatsnew/3.12.rst:1534 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:1537 +#: whatsnew/3.12.rst:1539 msgid "gzip" msgstr "" -#: whatsnew/3.12.rst:1539 +#: whatsnew/3.12.rst:1541 msgid "" "Remove the ``filename`` attribute of :mod:`gzip`'s :class:`gzip.GzipFile`, " "deprecated since Python 2.6, use the :attr:`~gzip.GzipFile.name` attribute " @@ -2242,11 +2242,11 @@ msgid "" "`94196`.)" msgstr "" -#: whatsnew/3.12.rst:1546 +#: whatsnew/3.12.rst:1548 msgid "hashlib" msgstr "" -#: whatsnew/3.12.rst:1548 +#: whatsnew/3.12.rst:1550 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 " @@ -2255,191 +2255,191 @@ msgid "" "Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1582 +#: whatsnew/3.12.rst:1584 msgid "importlib" msgstr "" -#: whatsnew/3.12.rst:1557 +#: whatsnew/3.12.rst:1559 msgid "" "Many previously deprecated cleanups in :mod:`importlib` have now been " "completed:" msgstr "" -#: whatsnew/3.12.rst:1560 +#: whatsnew/3.12.rst:1562 msgid "" "References to, and support for :meth:`!module_repr()` has been removed. " "(Contributed by Barry Warsaw in :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1563 +#: whatsnew/3.12.rst:1565 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:1567 +#: whatsnew/3.12.rst:1569 msgid "" "Support for ``find_loader()`` and ``find_module()`` APIs have been removed. " "(Contributed by Barry Warsaw in :gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1570 +#: whatsnew/3.12.rst:1572 msgid "" "``importlib.abc.Finder``, ``pkgutil.ImpImporter``, and ``pkgutil.ImpLoader`` " "have been removed. (Contributed by Barry Warsaw in :gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1582 +#: whatsnew/3.12.rst:1584 msgid "imp" msgstr "" -#: whatsnew/3.12.rst:1576 +#: whatsnew/3.12.rst:1578 msgid "" "The :mod:`!imp` module has been removed. (Contributed by Barry Warsaw in :" "gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1579 +#: whatsnew/3.12.rst:1581 msgid "To migrate, consult the following correspondence table:" msgstr "" -#: whatsnew/3.12.rst:1584 +#: whatsnew/3.12.rst:1586 msgid "``imp.NullImporter``" msgstr "" -#: whatsnew/3.12.rst:1584 +#: whatsnew/3.12.rst:1586 msgid "Insert ``None`` into ``sys.path_importer_cache``" msgstr "" -#: whatsnew/3.12.rst:1585 +#: whatsnew/3.12.rst:1587 msgid "``imp.cache_from_source()``" msgstr "" -#: whatsnew/3.12.rst:1585 +#: whatsnew/3.12.rst:1587 msgid ":func:`importlib.util.cache_from_source`" msgstr "" -#: whatsnew/3.12.rst:1586 +#: whatsnew/3.12.rst:1588 msgid "``imp.find_module()``" msgstr "" -#: whatsnew/3.12.rst:1586 +#: whatsnew/3.12.rst:1588 msgid ":func:`importlib.util.find_spec`" msgstr "" -#: whatsnew/3.12.rst:1587 +#: whatsnew/3.12.rst:1589 msgid "``imp.get_magic()``" msgstr "" -#: whatsnew/3.12.rst:1587 +#: whatsnew/3.12.rst:1589 msgid ":attr:`importlib.util.MAGIC_NUMBER`" msgstr "" -#: whatsnew/3.12.rst:1588 +#: whatsnew/3.12.rst:1590 msgid "``imp.get_suffixes()``" msgstr "" -#: whatsnew/3.12.rst:1588 +#: whatsnew/3.12.rst:1590 msgid "" ":attr:`importlib.machinery.SOURCE_SUFFIXES`, :attr:`importlib.machinery." "EXTENSION_SUFFIXES`, and :attr:`importlib.machinery.BYTECODE_SUFFIXES`" msgstr "" -#: whatsnew/3.12.rst:1589 +#: whatsnew/3.12.rst:1591 msgid "``imp.get_tag()``" msgstr "" -#: whatsnew/3.12.rst:1589 +#: whatsnew/3.12.rst:1591 msgid ":attr:`sys.implementation.cache_tag `" msgstr "" -#: whatsnew/3.12.rst:1590 +#: whatsnew/3.12.rst:1592 msgid "``imp.load_module()``" msgstr "" -#: whatsnew/3.12.rst:1590 +#: whatsnew/3.12.rst:1592 msgid ":func:`importlib.import_module`" msgstr "" -#: whatsnew/3.12.rst:1591 +#: whatsnew/3.12.rst:1593 msgid "``imp.new_module(name)``" msgstr "" -#: whatsnew/3.12.rst:1591 +#: whatsnew/3.12.rst:1593 msgid "``types.ModuleType(name)``" msgstr "" -#: whatsnew/3.12.rst:1592 +#: whatsnew/3.12.rst:1594 msgid "``imp.reload()``" msgstr "" -#: whatsnew/3.12.rst:1592 +#: whatsnew/3.12.rst:1594 msgid ":func:`importlib.reload`" msgstr "" -#: whatsnew/3.12.rst:1593 +#: whatsnew/3.12.rst:1595 msgid "``imp.source_from_cache()``" msgstr "" -#: whatsnew/3.12.rst:1593 +#: whatsnew/3.12.rst:1595 msgid ":func:`importlib.util.source_from_cache`" msgstr "" -#: whatsnew/3.12.rst:1594 +#: whatsnew/3.12.rst:1596 msgid "``imp.load_source()``" msgstr "" -#: whatsnew/3.12.rst:1594 +#: whatsnew/3.12.rst:1596 msgid "*See below*" msgstr "" -#: whatsnew/3.12.rst:1597 +#: whatsnew/3.12.rst:1599 msgid "Replace ``imp.load_source()`` with::" msgstr "" -#: whatsnew/3.12.rst:1612 +#: whatsnew/3.12.rst:1614 msgid "Remove :mod:`!imp` functions and attributes with no replacements:" msgstr "" -#: whatsnew/3.12.rst:1614 +#: whatsnew/3.12.rst:1616 msgid "Undocumented functions:" msgstr "" -#: whatsnew/3.12.rst:1616 +#: whatsnew/3.12.rst:1618 msgid "``imp.init_builtin()``" msgstr "" -#: whatsnew/3.12.rst:1617 +#: whatsnew/3.12.rst:1619 msgid "``imp.load_compiled()``" msgstr "" -#: whatsnew/3.12.rst:1618 +#: whatsnew/3.12.rst:1620 msgid "``imp.load_dynamic()``" msgstr "" -#: whatsnew/3.12.rst:1619 +#: whatsnew/3.12.rst:1621 msgid "``imp.load_package()``" msgstr "" -#: whatsnew/3.12.rst:1621 +#: whatsnew/3.12.rst:1623 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:1623 +#: whatsnew/3.12.rst:1625 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:1628 +#: whatsnew/3.12.rst:1630 msgid "io" msgstr "" -#: whatsnew/3.12.rst:1630 +#: whatsnew/3.12.rst:1632 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." @@ -2448,22 +2448,22 @@ msgid "" "`94169`.)" msgstr "" -#: whatsnew/3.12.rst:1637 +#: whatsnew/3.12.rst:1639 msgid "locale" msgstr "" -#: whatsnew/3.12.rst:1639 +#: whatsnew/3.12.rst:1641 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:1644 +#: whatsnew/3.12.rst:1646 msgid "smtpd" msgstr "" -#: whatsnew/3.12.rst:1646 +#: whatsnew/3.12.rst:1648 msgid "" "The ``smtpd`` module has been removed according to the schedule in :pep:" "`594`, having been deprecated in Python 3.4.7 and 3.5.4. Use aiosmtpd_ PyPI " @@ -2471,27 +2471,27 @@ msgid "" "Oleg Iarygin in :gh:`93243`.)" msgstr "" -#: whatsnew/3.12.rst:1657 +#: whatsnew/3.12.rst:1659 msgid "" "The following undocumented :mod:`sqlite3` features, deprecated in Python " "3.10, are now removed:" msgstr "" -#: whatsnew/3.12.rst:1660 +#: whatsnew/3.12.rst:1662 msgid "``sqlite3.enable_shared_cache()``" msgstr "" -#: whatsnew/3.12.rst:1661 +#: whatsnew/3.12.rst:1663 msgid "``sqlite3.OptimizedUnicode``" msgstr "" -#: whatsnew/3.12.rst:1663 +#: whatsnew/3.12.rst:1665 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:1666 +#: whatsnew/3.12.rst:1668 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 " @@ -2499,22 +2499,22 @@ msgid "" "default value which is also ``str``." msgstr "" -#: whatsnew/3.12.rst:1671 +#: whatsnew/3.12.rst:1673 msgid "(Contributed by Erlend E. Aasland in :gh:`92548`.)" msgstr "" -#: whatsnew/3.12.rst:1674 +#: whatsnew/3.12.rst:1676 msgid "ssl" msgstr "" -#: whatsnew/3.12.rst:1676 +#: whatsnew/3.12.rst:1678 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:1680 +#: whatsnew/3.12.rst:1682 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 " @@ -2522,7 +2522,7 @@ msgid "" "Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1686 +#: whatsnew/3.12.rst:1688 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." @@ -2533,185 +2533,185 @@ msgid "" "Validation. (Contributed by Victor Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1698 +#: whatsnew/3.12.rst:1700 msgid "Remove many long-deprecated :mod:`unittest` features:" msgstr "" -#: whatsnew/3.12.rst:1702 +#: whatsnew/3.12.rst:1704 msgid "A number of :class:`~unittest.TestCase` method aliases:" msgstr "" -#: whatsnew/3.12.rst:1705 +#: whatsnew/3.12.rst:1707 msgid "Deprecated alias" msgstr "" -#: whatsnew/3.12.rst:1705 +#: whatsnew/3.12.rst:1707 msgid "Method Name" msgstr "" -#: whatsnew/3.12.rst:1705 +#: whatsnew/3.12.rst:1707 msgid "Deprecated in" msgstr "" -#: whatsnew/3.12.rst:1707 +#: whatsnew/3.12.rst:1709 msgid "``failUnless``" msgstr "" -#: whatsnew/3.12.rst:1714 +#: whatsnew/3.12.rst:1716 msgid ":meth:`.assertTrue`" msgstr "" -#: whatsnew/3.12.rst:1708 whatsnew/3.12.rst:1710 whatsnew/3.12.rst:1712 -#: whatsnew/3.12.rst:1713 +#: whatsnew/3.12.rst:1710 whatsnew/3.12.rst:1712 whatsnew/3.12.rst:1714 +#: whatsnew/3.12.rst:1715 msgid "3.1" msgstr "" -#: whatsnew/3.12.rst:1708 +#: whatsnew/3.12.rst:1710 msgid "``failIf``" msgstr "" -#: whatsnew/3.12.rst:1708 +#: whatsnew/3.12.rst:1710 msgid ":meth:`.assertFalse`" msgstr "" -#: whatsnew/3.12.rst:1709 +#: whatsnew/3.12.rst:1711 msgid "``failUnlessEqual``" msgstr "" -#: whatsnew/3.12.rst:1715 +#: whatsnew/3.12.rst:1717 msgid ":meth:`.assertEqual`" msgstr "" -#: whatsnew/3.12.rst:1710 +#: whatsnew/3.12.rst:1712 msgid "``failIfEqual``" msgstr "" -#: whatsnew/3.12.rst:1716 +#: whatsnew/3.12.rst:1718 msgid ":meth:`.assertNotEqual`" msgstr "" -#: whatsnew/3.12.rst:1711 +#: whatsnew/3.12.rst:1713 msgid "``failUnlessAlmostEqual``" msgstr "" -#: whatsnew/3.12.rst:1717 +#: whatsnew/3.12.rst:1719 msgid ":meth:`.assertAlmostEqual`" msgstr "" -#: whatsnew/3.12.rst:1712 +#: whatsnew/3.12.rst:1714 msgid "``failIfAlmostEqual``" msgstr "" -#: whatsnew/3.12.rst:1718 +#: whatsnew/3.12.rst:1720 msgid ":meth:`.assertNotAlmostEqual`" msgstr "" -#: whatsnew/3.12.rst:1713 +#: whatsnew/3.12.rst:1715 msgid "``failUnlessRaises``" msgstr "" -#: whatsnew/3.12.rst:1713 +#: whatsnew/3.12.rst:1715 msgid ":meth:`.assertRaises`" msgstr "" -#: whatsnew/3.12.rst:1714 +#: whatsnew/3.12.rst:1716 msgid "``assert_``" msgstr "" -#: whatsnew/3.12.rst:1715 whatsnew/3.12.rst:1717 whatsnew/3.12.rst:1719 -#: whatsnew/3.12.rst:1720 +#: whatsnew/3.12.rst:1717 whatsnew/3.12.rst:1719 whatsnew/3.12.rst:1721 +#: whatsnew/3.12.rst:1722 msgid "3.2" msgstr "" -#: whatsnew/3.12.rst:1715 +#: whatsnew/3.12.rst:1717 msgid "``assertEquals``" msgstr "" -#: whatsnew/3.12.rst:1716 +#: whatsnew/3.12.rst:1718 msgid "``assertNotEquals``" msgstr "" -#: whatsnew/3.12.rst:1717 +#: whatsnew/3.12.rst:1719 msgid "``assertAlmostEquals``" msgstr "" -#: whatsnew/3.12.rst:1718 +#: whatsnew/3.12.rst:1720 msgid "``assertNotAlmostEquals``" msgstr "" -#: whatsnew/3.12.rst:1719 +#: whatsnew/3.12.rst:1721 msgid "``assertRegexpMatches``" msgstr "" -#: whatsnew/3.12.rst:1719 +#: whatsnew/3.12.rst:1721 msgid ":meth:`.assertRegex`" msgstr "" -#: whatsnew/3.12.rst:1720 +#: whatsnew/3.12.rst:1722 msgid "``assertRaisesRegexp``" msgstr "" -#: whatsnew/3.12.rst:1720 +#: whatsnew/3.12.rst:1722 msgid ":meth:`.assertRaisesRegex`" msgstr "" -#: whatsnew/3.12.rst:1721 +#: whatsnew/3.12.rst:1723 msgid "``assertNotRegexpMatches``" msgstr "" -#: whatsnew/3.12.rst:1721 +#: whatsnew/3.12.rst:1723 msgid ":meth:`.assertNotRegex`" msgstr "" -#: whatsnew/3.12.rst:1721 +#: whatsnew/3.12.rst:1723 msgid "3.5" msgstr "" -#: whatsnew/3.12.rst:1724 +#: whatsnew/3.12.rst:1726 msgid "" "You can use https://github.com/isidentical/teyit to automatically modernise " "your unit tests." msgstr "" -#: whatsnew/3.12.rst:1727 +#: whatsnew/3.12.rst:1729 msgid "" "Undocumented and broken :class:`~unittest.TestCase` method " "``assertDictContainsSubset`` (deprecated in Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1730 +#: whatsnew/3.12.rst:1732 msgid "" "Undocumented :meth:`TestLoader.loadTestsFromModule ` parameter *use_load_tests* (deprecated and ignored " "since Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1734 +#: whatsnew/3.12.rst:1736 msgid "" "An alias of the :class:`~unittest.TextTestResult` class: ``_TextTestResult`` " "(deprecated in Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1737 +#: whatsnew/3.12.rst:1739 msgid "(Contributed by Serhiy Storchaka in :gh:`89325`.)" msgstr "" -#: whatsnew/3.12.rst:1740 +#: whatsnew/3.12.rst:1742 msgid "webbrowser" msgstr "" -#: whatsnew/3.12.rst:1742 +#: whatsnew/3.12.rst:1744 msgid "" "Remove support for obsolete browsers from :mod:`webbrowser`. The removed " "browsers include: Grail, Mosaic, Netscape, Galeon, Skipstone, Iceape, " "Firebird, and Firefox versions 35 and below (:gh:`102871`)." msgstr "" -#: whatsnew/3.12.rst:1747 +#: whatsnew/3.12.rst:1749 msgid "xml.etree.ElementTree" msgstr "" -#: whatsnew/3.12.rst:1749 +#: whatsnew/3.12.rst:1751 msgid "" "Remove the ``ElementTree.Element.copy()`` method of the pure Python " "implementation, deprecated in Python 3.10, use the :func:`copy.copy` " @@ -2720,22 +2720,22 @@ msgid "" "Stinner in :gh:`94383`.)" msgstr "" -#: whatsnew/3.12.rst:1756 +#: whatsnew/3.12.rst:1758 msgid "zipimport" msgstr "" -#: whatsnew/3.12.rst:1758 +#: whatsnew/3.12.rst:1760 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:1764 +#: whatsnew/3.12.rst:1766 msgid "Others" msgstr "" -#: whatsnew/3.12.rst:1766 +#: whatsnew/3.12.rst:1768 msgid "" "Remove the ``suspicious`` rule from the documentation :file:`Makefile` and :" "file:`Doc/tools/rstlint.py`, both in favor of `sphinx-lint `, " "intended for low-level tools like debuggers and JIT compilers. This API may " @@ -3005,84 +3005,84 @@ msgid "" "contents are marked by the ``PyUnstable_`` prefix in names." msgstr "" -#: whatsnew/3.12.rst:1962 +#: whatsnew/3.12.rst:1964 msgid "Code object constructors:" msgstr "" -#: whatsnew/3.12.rst:1964 +#: whatsnew/3.12.rst:1966 msgid "``PyUnstable_Code_New()`` (renamed from ``PyCode_New``)" msgstr "" -#: whatsnew/3.12.rst:1965 +#: whatsnew/3.12.rst:1967 msgid "" "``PyUnstable_Code_NewWithPosOnlyArgs()`` (renamed from " "``PyCode_NewWithPosOnlyArgs``)" msgstr "" -#: whatsnew/3.12.rst:1967 +#: whatsnew/3.12.rst:1969 msgid "Extra storage for code objects (:pep:`523`):" msgstr "" -#: whatsnew/3.12.rst:1969 +#: whatsnew/3.12.rst:1971 msgid "" "``PyUnstable_Eval_RequestCodeExtraIndex()`` (renamed from " "``_PyEval_RequestCodeExtraIndex``)" msgstr "" -#: whatsnew/3.12.rst:1970 +#: whatsnew/3.12.rst:1972 msgid "``PyUnstable_Code_GetExtra()`` (renamed from ``_PyCode_GetExtra``)" msgstr "" -#: whatsnew/3.12.rst:1971 +#: whatsnew/3.12.rst:1973 msgid "``PyUnstable_Code_SetExtra()`` (renamed from ``_PyCode_SetExtra``)" msgstr "" -#: whatsnew/3.12.rst:1973 +#: whatsnew/3.12.rst:1975 msgid "" "The original names will continue to be available until the respective API " "changes." msgstr "" -#: whatsnew/3.12.rst:1976 +#: whatsnew/3.12.rst:1978 msgid "(Contributed by Petr Viktorin in :gh:`101101`.)" msgstr "" -#: whatsnew/3.12.rst:1978 +#: whatsnew/3.12.rst:1980 msgid "" ":pep:`697`: Add an API for extending types whose instance memory layout is " "opaque:" msgstr "" -#: whatsnew/3.12.rst:1981 +#: whatsnew/3.12.rst:1983 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:1983 +#: whatsnew/3.12.rst:1985 msgid "" ":c:func:`PyObject_GetTypeData` and :c:func:`PyType_GetTypeDataSize` added to " "allow access to subclass-specific instance data." msgstr "" -#: whatsnew/3.12.rst:1985 +#: whatsnew/3.12.rst:1987 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:1988 +#: whatsnew/3.12.rst:1990 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:1991 +#: whatsnew/3.12.rst:1993 msgid "(Contributed by Petr Viktorin in :gh:`103509`.)" msgstr "" -#: whatsnew/3.12.rst:1993 +#: whatsnew/3.12.rst:1995 msgid "" "Add the new :ref:`limited C API ` function :c:func:" "`PyType_FromMetaclass`, which generalizes the existing :c:func:" @@ -3090,29 +3090,29 @@ msgid "" "(Contributed by Wenzel Jakob in :gh:`93012`.)" msgstr "" -#: whatsnew/3.12.rst:1998 +#: whatsnew/3.12.rst:2000 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:2002 +#: whatsnew/3.12.rst:2004 msgid ":c:macro:`Py_TPFLAGS_HAVE_VECTORCALL`" msgstr "" -#: whatsnew/3.12.rst:2003 +#: whatsnew/3.12.rst:2005 msgid ":c:func:`PyVectorcall_NARGS`" msgstr "" -#: whatsnew/3.12.rst:2004 +#: whatsnew/3.12.rst:2006 msgid ":c:func:`PyVectorcall_Call`" msgstr "" -#: whatsnew/3.12.rst:2005 +#: whatsnew/3.12.rst:2007 msgid ":c:type:`vectorcallfunc`" msgstr "" -#: whatsnew/3.12.rst:2007 +#: whatsnew/3.12.rst:2009 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 " @@ -3123,7 +3123,7 @@ msgid "" "`93274`.)" msgstr "" -#: whatsnew/3.12.rst:2015 +#: whatsnew/3.12.rst:2017 msgid "" "The :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:macro:" "`Py_TPFLAGS_MANAGED_WEAKREF` flags have been added. This allows extensions " @@ -3131,32 +3131,32 @@ msgid "" "using less memory and with faster access." msgstr "" -#: whatsnew/3.12.rst:2020 +#: whatsnew/3.12.rst:2022 msgid "" "API for performing calls using :ref:`the vectorcall protocol ` " "was added to the :ref:`Limited API `:" msgstr "" -#: whatsnew/3.12.rst:2024 +#: whatsnew/3.12.rst:2026 msgid ":c:func:`PyObject_Vectorcall`" msgstr "" -#: whatsnew/3.12.rst:2025 +#: whatsnew/3.12.rst:2027 msgid ":c:func:`PyObject_VectorcallMethod`" msgstr "" -#: whatsnew/3.12.rst:2026 +#: whatsnew/3.12.rst:2028 msgid ":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`" msgstr "" -#: whatsnew/3.12.rst:2028 +#: whatsnew/3.12.rst:2030 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:2032 +#: whatsnew/3.12.rst:2034 msgid "" "Add two new public functions, :c:func:`PyEval_SetProfileAllThreads` and :c:" "func:`PyEval_SetTraceAllThreads`, that allow to set tracing and profiling " @@ -3164,14 +3164,14 @@ msgid "" "(Contributed by Pablo Galindo in :gh:`93503`.)" msgstr "" -#: whatsnew/3.12.rst:2038 +#: whatsnew/3.12.rst:2040 msgid "" "Add new function :c:func:`PyFunction_SetVectorcall` to the C API which sets " "the vectorcall field of a given :c:type:`PyFunctionObject`. (Contributed by " "Andrew Frost in :gh:`92257`.)" msgstr "" -#: whatsnew/3.12.rst:2042 +#: whatsnew/3.12.rst:2044 msgid "" "The C API now permits registering callbacks via :c:func:" "`PyDict_AddWatcher`, :c:func:`PyDict_Watch` and related APIs to be called " @@ -3180,28 +3180,28 @@ msgid "" "`91052`.)" msgstr "" -#: whatsnew/3.12.rst:2048 +#: whatsnew/3.12.rst:2050 msgid "" "Add :c:func:`PyType_AddWatcher` and :c:func:`PyType_Watch` API to register " "callbacks to receive notification on changes to a type. (Contributed by Carl " "Meyer in :gh:`91051`.)" msgstr "" -#: whatsnew/3.12.rst:2052 +#: whatsnew/3.12.rst:2054 msgid "" "Add :c:func:`PyCode_AddWatcher` and :c:func:`PyCode_ClearWatcher` APIs to " "register callbacks to receive notification on creation and destruction of " "code objects. (Contributed by Itamar Oren in :gh:`91054`.)" msgstr "" -#: whatsnew/3.12.rst:2057 +#: whatsnew/3.12.rst:2059 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:2061 +#: whatsnew/3.12.rst:2063 msgid "" "Add :c:func:`PyErr_GetRaisedException` and :c:func:" "`PyErr_SetRaisedException` for saving and restoring the current exception. " @@ -3211,14 +3211,14 @@ msgid "" "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2069 +#: whatsnew/3.12.rst:2071 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:2073 +#: whatsnew/3.12.rst:2075 msgid "" "Add :c:func:`PyException_GetArgs` and :c:func:`PyException_SetArgs` as " "convenience functions for retrieving and modifying the :attr:`~BaseException." @@ -3226,71 +3226,71 @@ msgid "" "in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2078 +#: whatsnew/3.12.rst:2080 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:2084 +#: whatsnew/3.12.rst:2086 msgid "" ":pep:`683`: Introduce *Immortal Objects*, which allows objects to bypass " "reference counts, and related changes to the C-API:" msgstr "" -#: whatsnew/3.12.rst:2087 +#: whatsnew/3.12.rst:2089 msgid "``_Py_IMMORTAL_REFCNT``: The reference count that defines an object" msgstr "" -#: whatsnew/3.12.rst:2088 +#: whatsnew/3.12.rst:2090 msgid "as immortal." msgstr "" -#: whatsnew/3.12.rst:2089 +#: whatsnew/3.12.rst:2091 msgid "" "``_Py_IsImmortal`` Checks if an object has the immortal reference count." msgstr "" -#: whatsnew/3.12.rst:2090 +#: whatsnew/3.12.rst:2092 msgid "``PyObject_HEAD_INIT`` This will now initialize reference count to" msgstr "" -#: whatsnew/3.12.rst:2091 +#: whatsnew/3.12.rst:2093 msgid "``_Py_IMMORTAL_REFCNT`` when used with ``Py_BUILD_CORE``." msgstr "" -#: whatsnew/3.12.rst:2092 +#: whatsnew/3.12.rst:2094 msgid "``SSTATE_INTERNED_IMMORTAL`` An identifier for interned unicode objects" msgstr "" -#: whatsnew/3.12.rst:2093 +#: whatsnew/3.12.rst:2095 msgid "that are immortal." msgstr "" -#: whatsnew/3.12.rst:2094 +#: whatsnew/3.12.rst:2096 msgid "``SSTATE_INTERNED_IMMORTAL_STATIC`` An identifier for interned unicode" msgstr "" -#: whatsnew/3.12.rst:2095 +#: whatsnew/3.12.rst:2097 msgid "objects that are immortal and static" msgstr "" -#: whatsnew/3.12.rst:2098 +#: whatsnew/3.12.rst:2100 msgid "``sys.getunicodeinternedsize`` This returns the total number of unicode" msgstr "" -#: whatsnew/3.12.rst:2097 +#: whatsnew/3.12.rst:2099 msgid "" "objects that have been interned. This is now needed for :file:`refleak.py` " "to correctly track reference counts and allocated blocks" msgstr "" -#: whatsnew/3.12.rst:2100 +#: whatsnew/3.12.rst:2102 msgid "(Contributed by Eddie Elizondo in :gh:`84436`.)" msgstr "" -#: whatsnew/3.12.rst:2102 +#: whatsnew/3.12.rst:2104 msgid "" ":pep:`684`: Add the new :c:func:`Py_NewInterpreterFromConfig` function and :" "c:type:`PyInterpreterConfig`, which may be used to create sub-interpreters " @@ -3298,27 +3298,27 @@ msgid "" "(Contributed by Eric Snow in :gh:`104110`.)" msgstr "" -#: whatsnew/3.12.rst:2108 +#: whatsnew/3.12.rst:2110 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:2116 +#: whatsnew/3.12.rst:2118 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:2119 +#: whatsnew/3.12.rst:2121 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:2123 +#: whatsnew/3.12.rst:2125 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 " @@ -3327,7 +3327,7 @@ msgid "" "necessary, the (internal-only) ``_PyObject_GET_WEAKREFS_LISTPTR()`` macro." msgstr "" -#: whatsnew/3.12.rst:2130 +#: whatsnew/3.12.rst:2132 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 " @@ -3335,13 +3335,13 @@ msgid "" "only field directly." msgstr "" -#: whatsnew/3.12.rst:2135 +#: whatsnew/3.12.rst:2137 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:2139 +#: whatsnew/3.12.rst:2141 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 " @@ -3350,7 +3350,7 @@ msgid "" "`98836`.)" msgstr "" -#: whatsnew/3.12.rst:2145 +#: whatsnew/3.12.rst:2147 msgid "" "An unrecognized format character in :c:func:`PyUnicode_FromFormat` and :c:" "func:`PyUnicode_FromFormatV` now sets a :exc:`SystemError`. In previous " @@ -3359,13 +3359,13 @@ msgid "" "Storchaka in :gh:`95781`.)" msgstr "" -#: whatsnew/3.12.rst:2151 +#: whatsnew/3.12.rst:2153 msgid "" "Fix wrong sign placement in :c:func:`PyUnicode_FromFormat` and :c:func:" "`PyUnicode_FromFormatV`. (Contributed by Philip Georgi in :gh:`95504`.)" msgstr "" -#: whatsnew/3.12.rst:2155 +#: whatsnew/3.12.rst:2157 msgid "" "Extension classes wanting to add a ``__dict__`` or weak reference slot " "should use :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:macro:" @@ -3379,7 +3379,7 @@ msgid "" "func:`PyObject_ClearWeakRefs`, as before." msgstr "" -#: whatsnew/3.12.rst:2167 +#: whatsnew/3.12.rst:2169 msgid "" "The :c:func:`PyUnicode_FSDecoder` function no longer accepts bytes-like " "paths, like :class:`bytearray` and :class:`memoryview` types: only the " @@ -3387,7 +3387,7 @@ msgid "" "Victor Stinner in :gh:`98393`.)" msgstr "" -#: whatsnew/3.12.rst:2172 +#: whatsnew/3.12.rst:2174 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 " @@ -3395,7 +3395,7 @@ msgid "" "Stinner in :gh:`98724`.)" msgstr "" -#: whatsnew/3.12.rst:2177 +#: whatsnew/3.12.rst:2179 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 " @@ -3403,7 +3403,7 @@ msgid "" "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2182 +#: whatsnew/3.12.rst:2184 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 " @@ -3411,25 +3411,25 @@ msgid "" "``_Py_GetGlobalRefTotal()``." msgstr "" -#: whatsnew/3.12.rst:2187 +#: whatsnew/3.12.rst:2189 msgid "" "The following functions now select an appropriate metaclass for the newly " "created type:" msgstr "" -#: whatsnew/3.12.rst:2190 +#: whatsnew/3.12.rst:2192 msgid ":c:func:`PyType_FromSpec`" msgstr "" -#: whatsnew/3.12.rst:2191 +#: whatsnew/3.12.rst:2193 msgid ":c:func:`PyType_FromSpecWithBases`" msgstr "" -#: whatsnew/3.12.rst:2192 +#: whatsnew/3.12.rst:2194 msgid ":c:func:`PyType_FromModuleAndSpec`" msgstr "" -#: whatsnew/3.12.rst:2194 +#: whatsnew/3.12.rst:2196 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 " @@ -3437,14 +3437,14 @@ msgid "" "initialization." msgstr "" -#: whatsnew/3.12.rst:2199 +#: whatsnew/3.12.rst:2201 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:2203 +#: whatsnew/3.12.rst:2205 msgid "" "Since ``tp_new`` overrides almost everything ``PyType_From*`` functions do, " "the two are incompatible with each other. The existing behavior -- ignoring " @@ -3453,17 +3453,17 @@ msgid "" "general workaround. One of the following may work for you:" msgstr "" -#: whatsnew/3.12.rst:2210 +#: whatsnew/3.12.rst:2212 msgid "If you control the metaclass, avoid using ``tp_new`` in it:" msgstr "" -#: whatsnew/3.12.rst:2212 +#: whatsnew/3.12.rst:2214 msgid "" "If initialization can be skipped, it can be done in :c:member:`~PyTypeObject." "tp_init` instead." msgstr "" -#: whatsnew/3.12.rst:2214 +#: whatsnew/3.12.rst:2216 msgid "" "If the metaclass doesn't need to be instantiated from Python, set its " "``tp_new`` to ``NULL`` using the :c:macro:" @@ -3471,20 +3471,20 @@ msgid "" "``PyType_From*`` functions." msgstr "" -#: whatsnew/3.12.rst:2219 +#: whatsnew/3.12.rst:2221 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:2223 +#: whatsnew/3.12.rst:2225 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:2226 +#: whatsnew/3.12.rst:2228 msgid "" ":c:var:`PyOS_InputHook` and :c:var:`PyOS_ReadlineFunctionPointer` are no " "longer called in :ref:`subinterpreters `. This is " @@ -3492,14 +3492,14 @@ msgid "" "callbacks have no way of recovering extension module state)." msgstr "" -#: whatsnew/3.12.rst:2231 +#: whatsnew/3.12.rst:2233 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:2235 +#: whatsnew/3.12.rst:2237 msgid "" ":c:struct:`PyLongObject` has had its internals changed for better " "performance. Although the internals of :c:struct:`PyLongObject` are private, " @@ -3510,15 +3510,15 @@ msgid "" "a single machine word:" msgstr "" -#: whatsnew/3.12.rst:2243 +#: whatsnew/3.12.rst:2245 msgid ":c:func:`PyUnstable_Long_IsCompact`" msgstr "" -#: whatsnew/3.12.rst:2244 +#: whatsnew/3.12.rst:2246 msgid ":c:func:`PyUnstable_Long_CompactValue`" msgstr "" -#: whatsnew/3.12.rst:2246 +#: whatsnew/3.12.rst:2248 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 " @@ -3527,7 +3527,7 @@ msgid "" "create a new GitHub issue and CC ``@ericsnowcurrently``." msgstr "" -#: whatsnew/3.12.rst:2256 +#: whatsnew/3.12.rst:2258 msgid "" "In accordance with :pep:`699`, the ``ma_version_tag`` field in :c:type:" "`PyDictObject` is deprecated for extension modules. Accessing this field " @@ -3536,444 +3536,444 @@ msgid "" "PEP by Ken Jin.)" msgstr "" -#: whatsnew/3.12.rst:2261 +#: whatsnew/3.12.rst:2263 msgid "Deprecate global configuration variable:" msgstr "" -#: whatsnew/3.12.rst:2348 +#: whatsnew/3.12.rst:2350 msgid ":c:var:`Py_DebugFlag`: use :c:member:`PyConfig.parser_debug`" msgstr "" -#: whatsnew/3.12.rst:2349 +#: whatsnew/3.12.rst:2351 msgid ":c:var:`Py_VerboseFlag`: use :c:member:`PyConfig.verbose`" msgstr "" -#: whatsnew/3.12.rst:2350 +#: whatsnew/3.12.rst:2352 msgid ":c:var:`Py_QuietFlag`: use :c:member:`PyConfig.quiet`" msgstr "" -#: whatsnew/3.12.rst:2351 +#: whatsnew/3.12.rst:2353 msgid ":c:var:`Py_InteractiveFlag`: use :c:member:`PyConfig.interactive`" msgstr "" -#: whatsnew/3.12.rst:2352 +#: whatsnew/3.12.rst:2354 msgid ":c:var:`Py_InspectFlag`: use :c:member:`PyConfig.inspect`" msgstr "" -#: whatsnew/3.12.rst:2353 +#: whatsnew/3.12.rst:2355 msgid ":c:var:`Py_OptimizeFlag`: use :c:member:`PyConfig.optimization_level`" msgstr "" -#: whatsnew/3.12.rst:2354 +#: whatsnew/3.12.rst:2356 msgid ":c:var:`Py_NoSiteFlag`: use :c:member:`PyConfig.site_import`" msgstr "" -#: whatsnew/3.12.rst:2355 +#: whatsnew/3.12.rst:2357 msgid ":c:var:`Py_BytesWarningFlag`: use :c:member:`PyConfig.bytes_warning`" msgstr "" -#: whatsnew/3.12.rst:2356 +#: whatsnew/3.12.rst:2358 msgid ":c:var:`Py_FrozenFlag`: use :c:member:`PyConfig.pathconfig_warnings`" msgstr "" -#: whatsnew/3.12.rst:2357 +#: whatsnew/3.12.rst:2359 msgid "" ":c:var:`Py_IgnoreEnvironmentFlag`: use :c:member:`PyConfig.use_environment`" msgstr "" -#: whatsnew/3.12.rst:2358 +#: whatsnew/3.12.rst:2360 msgid "" ":c:var:`Py_DontWriteBytecodeFlag`: use :c:member:`PyConfig.write_bytecode`" msgstr "" -#: whatsnew/3.12.rst:2359 +#: whatsnew/3.12.rst:2361 msgid "" ":c:var:`Py_NoUserSiteDirectory`: use :c:member:`PyConfig.user_site_directory`" msgstr "" -#: whatsnew/3.12.rst:2360 +#: whatsnew/3.12.rst:2362 msgid "" ":c:var:`Py_UnbufferedStdioFlag`: use :c:member:`PyConfig.buffered_stdio`" msgstr "" -#: whatsnew/3.12.rst:2361 +#: whatsnew/3.12.rst:2363 msgid "" ":c:var:`Py_HashRandomizationFlag`: use :c:member:`PyConfig.use_hash_seed` " "and :c:member:`PyConfig.hash_seed`" msgstr "" -#: whatsnew/3.12.rst:2363 +#: whatsnew/3.12.rst:2365 msgid ":c:var:`Py_IsolatedFlag`: use :c:member:`PyConfig.isolated`" msgstr "" -#: whatsnew/3.12.rst:2364 +#: whatsnew/3.12.rst:2366 msgid "" ":c:var:`Py_LegacyWindowsFSEncodingFlag`: use :c:member:`PyPreConfig." "legacy_windows_fs_encoding`" msgstr "" -#: whatsnew/3.12.rst:2365 +#: whatsnew/3.12.rst:2367 msgid "" ":c:var:`Py_LegacyWindowsStdioFlag`: use :c:member:`PyConfig." "legacy_windows_stdio`" msgstr "" -#: whatsnew/3.12.rst:2366 +#: whatsnew/3.12.rst:2368 msgid "" ":c:var:`!Py_FileSystemDefaultEncoding`: use :c:member:`PyConfig." "filesystem_encoding`" msgstr "" -#: whatsnew/3.12.rst:2367 +#: whatsnew/3.12.rst:2369 msgid "" ":c:var:`!Py_HasFileSystemDefaultEncoding`: use :c:member:`PyConfig." "filesystem_encoding`" msgstr "" -#: whatsnew/3.12.rst:2368 +#: whatsnew/3.12.rst:2370 msgid "" ":c:var:`!Py_FileSystemDefaultEncodeErrors`: use :c:member:`PyConfig." "filesystem_errors`" msgstr "" -#: whatsnew/3.12.rst:2369 +#: whatsnew/3.12.rst:2371 msgid "" ":c:var:`!Py_UTF8Mode`: use :c:member:`PyPreConfig.utf8_mode` (see :c:func:" "`Py_PreInitialize`)" msgstr "" -#: whatsnew/3.12.rst:2286 +#: whatsnew/3.12.rst:2288 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:2290 +#: whatsnew/3.12.rst:2292 msgid "" "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:2293 +#: whatsnew/3.12.rst:2295 msgid "" "The :file:`structmember.h` header is deprecated, though it continues to be " "available and there are no plans to remove it." msgstr "" -#: whatsnew/3.12.rst:2296 +#: whatsnew/3.12.rst:2298 msgid "" "Its contents are now available just by including :file:`Python.h`, with a " "``Py`` prefix added if it was missing:" msgstr "" -#: whatsnew/3.12.rst:2299 +#: whatsnew/3.12.rst:2301 msgid "" ":c:struct:`PyMemberDef`, :c:func:`PyMember_GetOne` and :c:func:" "`PyMember_SetOne`" msgstr "" -#: whatsnew/3.12.rst:2301 +#: whatsnew/3.12.rst:2303 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:2303 +#: whatsnew/3.12.rst:2305 msgid "" "The flags :c:macro:`Py_READONLY` (previously ``READONLY``) and :c:macro:" "`Py_AUDIT_READ` (previously all uppercase)" msgstr "" -#: whatsnew/3.12.rst:2306 +#: whatsnew/3.12.rst:2308 msgid "Several items are not exposed from :file:`Python.h`:" msgstr "" -#: whatsnew/3.12.rst:2308 +#: whatsnew/3.12.rst:2310 msgid ":c:macro:`T_OBJECT` (use :c:macro:`Py_T_OBJECT_EX`)" msgstr "" -#: whatsnew/3.12.rst:2309 +#: whatsnew/3.12.rst:2311 msgid ":c:macro:`T_NONE` (previously undocumented, and pretty quirky)" msgstr "" -#: whatsnew/3.12.rst:2310 +#: whatsnew/3.12.rst:2312 msgid "The macro ``WRITE_RESTRICTED`` which does nothing." msgstr "" -#: whatsnew/3.12.rst:2311 +#: whatsnew/3.12.rst:2313 msgid "" "The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of :c:macro:" "`Py_AUDIT_READ`." msgstr "" -#: whatsnew/3.12.rst:2313 +#: whatsnew/3.12.rst:2315 msgid "" "In some configurations, ```` is not included from :file:`Python." "h`. It should be included manually when using ``offsetof()``." msgstr "" -#: whatsnew/3.12.rst:2316 +#: whatsnew/3.12.rst:2318 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:2321 +#: whatsnew/3.12.rst:2323 msgid "" "(Contributed in :gh:`47146` by Petr Viktorin, based on earlier work by " "Alexander Belopolsky and Matthias Braun.)" msgstr "" -#: whatsnew/3.12.rst:2324 +#: whatsnew/3.12.rst:2326 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:2329 +#: whatsnew/3.12.rst:2331 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:2332 +#: whatsnew/3.12.rst:2334 msgid "" "``_PyErr_ChainExceptions`` is deprecated. Use ``_PyErr_ChainExceptions1`` " "instead. (Contributed by Irit Katriel in :gh:`102192`.)" msgstr "" -#: whatsnew/3.12.rst:2335 +#: whatsnew/3.12.rst:2337 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:2343 +#: whatsnew/3.12.rst:2345 msgid "" "The ``ma_version_tag`` field in :c:type:`PyDictObject` for extension modules " "(:pep:`699`; :gh:`101193`)." msgstr "" -#: whatsnew/3.12.rst:2346 +#: whatsnew/3.12.rst:2348 msgid "Global configuration variables:" msgstr "" -#: whatsnew/3.12.rst:2371 +#: whatsnew/3.12.rst:2373 msgid "" "The :c:func:`Py_InitializeFromConfig` API should be used with :c:type:" "`PyConfig` instead." msgstr "" -#: whatsnew/3.12.rst:2374 +#: whatsnew/3.12.rst:2376 msgid "" "Creating :c:data:`immutable types ` with mutable " "bases (:gh:`95388`)." msgstr "" -#: whatsnew/3.12.rst:2380 +#: whatsnew/3.12.rst:2382 msgid "" ":c:func:`PyImport_ImportModuleNoBlock`: use :c:func:`PyImport_ImportModule`" msgstr "" -#: whatsnew/3.12.rst:2381 +#: whatsnew/3.12.rst:2383 msgid ":c:type:`!Py_UNICODE_WIDE` type: use :c:type:`wchar_t`" msgstr "" -#: whatsnew/3.12.rst:2382 +#: whatsnew/3.12.rst:2384 msgid ":c:type:`Py_UNICODE` type: use :c:type:`wchar_t`" msgstr "" -#: whatsnew/3.12.rst:2383 +#: whatsnew/3.12.rst:2385 msgid "Python initialization functions:" msgstr "" -#: whatsnew/3.12.rst:2385 +#: whatsnew/3.12.rst:2387 msgid "" ":c:func:`PySys_ResetWarnOptions`: clear :data:`sys.warnoptions` and :data:`!" "warnings.filters`" msgstr "" -#: whatsnew/3.12.rst:2387 +#: whatsnew/3.12.rst:2389 msgid ":c:func:`Py_GetExecPrefix`: get :data:`sys.exec_prefix`" msgstr "" -#: whatsnew/3.12.rst:2388 +#: whatsnew/3.12.rst:2390 msgid ":c:func:`Py_GetPath`: get :data:`sys.path`" msgstr "" -#: whatsnew/3.12.rst:2389 +#: whatsnew/3.12.rst:2391 msgid ":c:func:`Py_GetPrefix`: get :data:`sys.prefix`" msgstr "" -#: whatsnew/3.12.rst:2390 +#: whatsnew/3.12.rst:2392 msgid ":c:func:`Py_GetProgramFullPath`: get :data:`sys.executable`" msgstr "" -#: whatsnew/3.12.rst:2391 +#: whatsnew/3.12.rst:2393 msgid ":c:func:`Py_GetProgramName`: get :data:`sys.executable`" msgstr "" -#: whatsnew/3.12.rst:2392 +#: whatsnew/3.12.rst:2394 msgid "" ":c:func:`Py_GetPythonHome`: get :c:member:`PyConfig.home` or the :envvar:" "`PYTHONHOME` environment variable" msgstr "" -#: whatsnew/3.12.rst:2398 +#: whatsnew/3.12.rst:2400 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:2401 +#: whatsnew/3.12.rst:2403 msgid ":c:macro:`Py_TPFLAGS_HAVE_FINALIZE`: unneeded since Python 3.8" msgstr "" -#: whatsnew/3.12.rst:2402 +#: whatsnew/3.12.rst:2404 msgid ":c:func:`PyErr_Fetch`: use :c:func:`PyErr_GetRaisedException`" msgstr "" -#: whatsnew/3.12.rst:2403 +#: whatsnew/3.12.rst:2405 msgid "" ":c:func:`PyErr_NormalizeException`: use :c:func:`PyErr_GetRaisedException`" msgstr "" -#: whatsnew/3.12.rst:2404 +#: whatsnew/3.12.rst:2406 msgid ":c:func:`PyErr_Restore`: use :c:func:`PyErr_SetRaisedException`" msgstr "" -#: whatsnew/3.12.rst:2405 +#: whatsnew/3.12.rst:2407 msgid "" ":c:func:`PyModule_GetFilename`: use :c:func:`PyModule_GetFilenameObject`" msgstr "" -#: whatsnew/3.12.rst:2406 +#: whatsnew/3.12.rst:2408 msgid ":c:func:`PyOS_AfterFork`: use :c:func:`PyOS_AfterFork_Child`" msgstr "" -#: whatsnew/3.12.rst:2407 +#: whatsnew/3.12.rst:2409 msgid "" ":c:func:`PySlice_GetIndicesEx`: use :c:func:`PySlice_Unpack` and :c:func:" "`PySlice_AdjustIndices`" msgstr "" -#: whatsnew/3.12.rst:2408 +#: whatsnew/3.12.rst:2410 msgid ":c:func:`!PyUnicode_AsDecodedObject`: use :c:func:`PyCodec_Decode`" msgstr "" -#: whatsnew/3.12.rst:2409 +#: whatsnew/3.12.rst:2411 msgid ":c:func:`!PyUnicode_AsDecodedUnicode`: use :c:func:`PyCodec_Decode`" msgstr "" -#: whatsnew/3.12.rst:2410 +#: whatsnew/3.12.rst:2412 msgid ":c:func:`!PyUnicode_AsEncodedObject`: use :c:func:`PyCodec_Encode`" msgstr "" -#: whatsnew/3.12.rst:2411 +#: whatsnew/3.12.rst:2413 msgid ":c:func:`!PyUnicode_AsEncodedUnicode`: use :c:func:`PyCodec_Encode`" msgstr "" -#: whatsnew/3.12.rst:2412 +#: whatsnew/3.12.rst:2414 msgid ":c:func:`PyUnicode_READY`: unneeded since Python 3.12" msgstr "" -#: whatsnew/3.12.rst:2413 +#: whatsnew/3.12.rst:2415 msgid ":c:func:`!PyErr_Display`: use :c:func:`PyErr_DisplayException`" msgstr "" -#: whatsnew/3.12.rst:2414 +#: whatsnew/3.12.rst:2416 msgid ":c:func:`!_PyErr_ChainExceptions`: use ``_PyErr_ChainExceptions1``" msgstr "" -#: whatsnew/3.12.rst:2415 +#: whatsnew/3.12.rst:2417 msgid "" ":c:member:`!PyBytesObject.ob_shash` member: call :c:func:`PyObject_Hash` " "instead" msgstr "" -#: whatsnew/3.12.rst:2417 +#: whatsnew/3.12.rst:2419 msgid ":c:member:`!PyDictObject.ma_version_tag` member" msgstr "" -#: whatsnew/3.12.rst:2418 +#: whatsnew/3.12.rst:2420 msgid "Thread Local Storage (TLS) API:" msgstr "" -#: whatsnew/3.12.rst:2420 +#: whatsnew/3.12.rst:2422 msgid ":c:func:`PyThread_create_key`: use :c:func:`PyThread_tss_alloc`" msgstr "" -#: whatsnew/3.12.rst:2421 +#: whatsnew/3.12.rst:2423 msgid ":c:func:`PyThread_delete_key`: use :c:func:`PyThread_tss_free`" msgstr "" -#: whatsnew/3.12.rst:2422 +#: whatsnew/3.12.rst:2424 msgid ":c:func:`PyThread_set_key_value`: use :c:func:`PyThread_tss_set`" msgstr "" -#: whatsnew/3.12.rst:2423 +#: whatsnew/3.12.rst:2425 msgid ":c:func:`PyThread_get_key_value`: use :c:func:`PyThread_tss_get`" msgstr "" -#: whatsnew/3.12.rst:2424 +#: whatsnew/3.12.rst:2426 msgid ":c:func:`PyThread_delete_key_value`: use :c:func:`PyThread_tss_delete`" msgstr "" -#: whatsnew/3.12.rst:2425 +#: whatsnew/3.12.rst:2427 msgid ":c:func:`PyThread_ReInitTLS`: unneeded since Python 3.7" msgstr "" -#: whatsnew/3.12.rst:2430 +#: whatsnew/3.12.rst:2432 msgid "" "Remove the :file:`token.h` header file. There was never any public tokenizer " "C API. The :file:`token.h` header file was only designed to be used by " "Python internals. (Contributed by Victor Stinner in :gh:`92651`.)" msgstr "" -#: whatsnew/3.12.rst:2435 +#: whatsnew/3.12.rst:2437 msgid "Legacy Unicode APIs have been removed. See :pep:`623` for detail." msgstr "" -#: whatsnew/3.12.rst:2437 +#: whatsnew/3.12.rst:2439 msgid ":c:macro:`!PyUnicode_WCHAR_KIND`" msgstr "" -#: whatsnew/3.12.rst:2438 +#: whatsnew/3.12.rst:2440 msgid ":c:func:`!PyUnicode_AS_UNICODE`" msgstr "" -#: whatsnew/3.12.rst:2439 +#: whatsnew/3.12.rst:2441 msgid ":c:func:`!PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.12.rst:2440 +#: whatsnew/3.12.rst:2442 msgid ":c:func:`!PyUnicode_AsUnicodeAndSize`" msgstr "" -#: whatsnew/3.12.rst:2441 +#: whatsnew/3.12.rst:2443 msgid ":c:func:`!PyUnicode_AS_DATA`" msgstr "" -#: whatsnew/3.12.rst:2442 +#: whatsnew/3.12.rst:2444 msgid ":c:func:`!PyUnicode_FromUnicode`" msgstr "" -#: whatsnew/3.12.rst:2443 +#: whatsnew/3.12.rst:2445 msgid ":c:func:`!PyUnicode_GET_SIZE`" msgstr "" -#: whatsnew/3.12.rst:2444 +#: whatsnew/3.12.rst:2446 msgid ":c:func:`!PyUnicode_GetSize`" msgstr "" -#: whatsnew/3.12.rst:2445 +#: whatsnew/3.12.rst:2447 msgid ":c:func:`!PyUnicode_GET_DATA_SIZE`" msgstr "" -#: whatsnew/3.12.rst:2447 +#: whatsnew/3.12.rst:2449 msgid "" "Remove the ``PyUnicode_InternImmortal()`` function macro. (Contributed by " "Victor Stinner in :gh:`85858`.)" diff --git a/whatsnew/3.2.po b/whatsnew/3.2.po index 359b38689..27d575351 100644 --- a/whatsnew/3.2.po +++ b/whatsnew/3.2.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2104,12 +2104,11 @@ msgstr "" #: whatsnew/3.2.rst:1861 msgid "" -":class:`asyncore.dispatcher` now provides a :meth:`~asyncore.dispatcher." -"handle_accepted()` method returning a ``(sock, addr)`` pair which is called " -"when a connection has actually been established with a new remote endpoint. " -"This is supposed to be used as a replacement for old :meth:`~asyncore." -"dispatcher.handle_accept()` and avoids the user to call :meth:`~asyncore." -"dispatcher.accept()` directly." +":class:`!asyncore.dispatcher` now provides a :meth:`!handle_accepted()` " +"method returning a ``(sock, addr)`` pair which is called when a connection " +"has actually been established with a new remote endpoint. This is supposed " +"to be used as a replacement for old :meth:`!handle_accept()` and avoids the " +"user to call :meth:`!accept()` directly." msgstr "" #: whatsnew/3.2.rst:1868 @@ -3231,8 +3230,8 @@ msgstr "" #: whatsnew/3.2.rst:2740 msgid "" -"Due to security risks, :func:`asyncore.handle_accept` has been deprecated, " -"and a new function, :func:`asyncore.handle_accepted`, was added to replace " +"Due to security risks, :func:`!asyncore.handle_accept` has been deprecated, " +"and a new function, :func:`!asyncore.handle_accepted`, was added to replace " "it." msgstr "" diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index 54500bddf..6050a698c 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-10-01 00:18+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2665,7 +2665,7 @@ msgstr "" #: whatsnew/3.3.rst:1848 msgid "" -"The :mod:`smtpd` module now supports :rfc:`5321` (extended SMTP) and :rfc:" +"The :mod:`!smtpd` module now supports :rfc:`5321` (extended SMTP) and :rfc:" "`1870` (size extension). Per the standard, these extensions are enabled if " "and only if the client initiates the session with an ``EHLO`` command." msgstr "" diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index f7227f884..828565be7 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: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1853,9 +1853,9 @@ msgstr "" #: whatsnew/3.4.rst:1372 msgid "" -"The :class:`~smtpd.SMTPServer` and :class:`~smtpd.SMTPChannel` classes now " -"accept a *map* keyword argument which, if specified, is passed in to :class:" -"`asynchat.async_chat` as its *map* argument. This allows an application to " +"The :class:`!SMTPServer` and :class:`!SMTPChannel` classes now accept a " +"*map* keyword argument which, if specified, is passed in to :class:`!" +"asynchat.async_chat` as its *map* argument. This allows an application to " "avoid affecting the global socket map. (Contributed by Vinay Sajip in :" "issue:`11959`.)" msgstr "" diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index cfeb0f173..2754de223 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2009,43 +2009,40 @@ msgstr "" #: whatsnew/3.5.rst:1666 msgid "" -"Both the :class:`~smtpd.SMTPServer` and :class:`~smtpd.SMTPChannel` classes " -"now accept a *decode_data* keyword argument to determine if the ``DATA`` " -"portion of the SMTP transaction is decoded using the ``\"utf-8\"`` codec or " -"is instead provided to the :meth:`SMTPServer.process_message() ` method as a byte string. The default is " -"``True`` for backward compatibility reasons, but will change to ``False`` in " -"Python 3.6. If *decode_data* is set to ``False``, the ``process_message`` " -"method must be prepared to accept keyword arguments. (Contributed by Maciej " -"Szulik in :issue:`19662`.)" +"Both the :class:`!SMTPServer` and :class:`!SMTPChannel` classes now accept a " +"*decode_data* keyword argument to determine if the ``DATA`` portion of the " +"SMTP transaction is decoded using the ``\"utf-8\"`` codec or is instead " +"provided to the :meth:`!SMTPServer.process_message()` method as a byte " +"string. The default is ``True`` for backward compatibility reasons, but " +"will change to ``False`` in Python 3.6. If *decode_data* is set to " +"``False``, the ``process_message`` method must be prepared to accept keyword " +"arguments. (Contributed by Maciej Szulik in :issue:`19662`.)" msgstr "" #: whatsnew/3.5.rst:1677 msgid "" -"The :class:`~smtpd.SMTPServer` class now advertises the ``8BITMIME`` " -"extension (:rfc:`6152`) if *decode_data* has been set ``True``. If the " -"client specifies ``BODY=8BITMIME`` on the ``MAIL`` command, it is passed to :" -"meth:`SMTPServer.process_message() ` via " -"the *mail_options* keyword. (Contributed by Milan Oberkirch and R. David " -"Murray in :issue:`21795`.)" +"The :class:`!SMTPServer` class now advertises the ``8BITMIME`` extension (:" +"rfc:`6152`) if *decode_data* has been set ``True``. If the client specifies " +"``BODY=8BITMIME`` on the ``MAIL`` command, it is passed to :meth:`!" +"SMTPServer.process_message()` via the *mail_options* keyword. (Contributed " +"by Milan Oberkirch and R. David Murray in :issue:`21795`.)" msgstr "" #: whatsnew/3.5.rst:1684 msgid "" -"The :class:`~smtpd.SMTPServer` class now also supports the ``SMTPUTF8`` " -"extension (:rfc:`6531`: Internationalized Email). If the client specified " -"``SMTPUTF8 BODY=8BITMIME`` on the ``MAIL`` command, they are passed to :meth:" -"`SMTPServer.process_message() ` via the " -"*mail_options* keyword. It is the responsibility of the ``process_message`` " -"method to correctly handle the ``SMTPUTF8`` data. (Contributed by Milan " -"Oberkirch in :issue:`21725`.)" +"The :class:`!SMTPServer` class now also supports the ``SMTPUTF8`` extension " +"(:rfc:`6531`: Internationalized Email). If the client specified ``SMTPUTF8 " +"BODY=8BITMIME`` on the ``MAIL`` command, they are passed to :meth:`!" +"SMTPServer.process_message()` via the *mail_options* keyword. It is the " +"responsibility of the ``process_message`` method to correctly handle the " +"``SMTPUTF8`` data. (Contributed by Milan Oberkirch in :issue:`21725`.)" msgstr "" #: whatsnew/3.5.rst:1692 msgid "" "It is now possible to provide, directly or via name resolution, IPv6 " -"addresses in the :class:`~smtpd.SMTPServer` constructor, and have it " -"successfully connect. (Contributed by Milan Oberkirch in :issue:`14758`.)" +"addresses in the :class:`!SMTPServer` constructor, and have it successfully " +"connect. (Contributed by Milan Oberkirch in :issue:`14758`.)" msgstr "" #: whatsnew/3.5.rst:1698 @@ -2941,11 +2938,11 @@ msgstr "" #: whatsnew/3.5.rst:2299 msgid "" -"The :mod:`smtpd` module has in the past always decoded the DATA portion of " +"The :mod:`!smtpd` module has in the past always decoded the DATA portion of " "email messages using the ``utf-8`` codec. This can now be controlled by the " -"new *decode_data* keyword to :class:`~smtpd.SMTPServer`. The default value " -"is ``True``, but this default is deprecated. Specify the *decode_data* " -"keyword with an appropriate value to avoid the deprecation warning." +"new *decode_data* keyword to :class:`!SMTPServer`. The default value is " +"``True``, but this default is deprecated. Specify the *decode_data* keyword " +"with an appropriate value to avoid the deprecation warning." msgstr "" #: whatsnew/3.5.rst:2305 diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index b7bfddedf..45a09d1d0 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.6.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2564,7 +2564,7 @@ msgstr "" #: whatsnew/3.6.rst:1964 msgid "" -"The :mod:`asynchat` has been deprecated in favor of :mod:`asyncio`. " +"The :mod:`!asynchat` has been deprecated in favor of :mod:`asyncio`. " "(Contributed by Mariatta in :issue:`25002`.)" msgstr "" @@ -2574,7 +2574,7 @@ msgstr "" #: whatsnew/3.6.rst:1971 msgid "" -"The :mod:`asyncore` has been deprecated in favor of :mod:`asyncio`. " +"The :mod:`!asyncore` has been deprecated in favor of :mod:`asyncio`. " "(Contributed by Mariatta in :issue:`25002`.)" msgstr "" @@ -2865,7 +2865,7 @@ msgid "" "attributes to match the documented APIs: :mod:`calendar`, :mod:`cgi`, :mod:" "`csv`, :mod:`~xml.etree.ElementTree`, :mod:`enum`, :mod:`fileinput`, :mod:" "`ftplib`, :mod:`logging`, :mod:`mailbox`, :mod:`mimetypes`, :mod:" -"`optparse`, :mod:`plistlib`, :mod:`smtpd`, :mod:`subprocess`, :mod:" +"`optparse`, :mod:`plistlib`, :mod:`!smtpd`, :mod:`subprocess`, :mod:" "`tarfile`, :mod:`threading` and :mod:`wave`. This means they will export " "new symbols when ``import *`` is used. (Contributed by Joel Taddei and Jacek " "Kołodziej in :issue:`23883`.)" @@ -2911,12 +2911,12 @@ msgstr "" #: whatsnew/3.6.rst:2222 msgid "" -"The *decode_data* argument for the :class:`smtpd.SMTPChannel` and :class:" -"`smtpd.SMTPServer` constructors is now ``False`` by default. This means that " -"the argument passed to :meth:`~smtpd.SMTPServer.process_message` is now a " -"bytes object by default, and ``process_message()`` will be passed keyword " -"arguments. Code that has already been updated in accordance with the " -"deprecation warning generated by 3.5 will not be affected." +"The *decode_data* argument for the :class:`!smtpd.SMTPChannel` and :class:`!" +"smtpd.SMTPServer` constructors is now ``False`` by default. This means that " +"the argument passed to :meth:`!process_message` is now a bytes object by " +"default, and :meth:`!process_message` will be passed keyword arguments. Code " +"that has already been updated in accordance with the deprecation warning " +"generated by 3.5 will not be affected." msgstr "" #: whatsnew/3.6.rst:2230 diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 155717f0e..ff8b7e573 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2830,13 +2830,12 @@ msgstr "" #: whatsnew/3.7.rst:2006 msgid "" -"Methods :meth:`MetaPathFinder.find_module() ` (replaced by :meth:`MetaPathFinder.find_spec() `) and :meth:`PathEntryFinder.find_loader() ` (replaced by :meth:" -"`PathEntryFinder.find_spec() `) " -"both deprecated in Python 3.4 now emit :exc:`DeprecationWarning`. " -"(Contributed by Matthias Bussonnier in :issue:`29576`)" +"Methods :meth:`!MetaPathFinder.find_module()` (replaced by :meth:" +"`MetaPathFinder.find_spec() `) and :" +"meth:`!PathEntryFinder.find_loader()` (replaced by :meth:`PathEntryFinder." +"find_spec() `) both deprecated in " +"Python 3.4 now emit :exc:`DeprecationWarning`. (Contributed by Matthias " +"Bussonnier in :issue:`29576`.)" msgstr "" #: whatsnew/3.7.rst:2017 @@ -3244,7 +3243,7 @@ msgstr "" #: whatsnew/3.7.rst:2307 msgid "" ":func:`~cgi.parse_multipart` now accepts the *encoding* and *errors* " -"arguments and returns the same results as :class:`~FieldStorage`: for non-" +"arguments and returns the same results as :class:`!FieldStorage`: for non-" "file fields, the value associated to a key is a list of strings, not bytes. " "(Contributed by Pierre Quentel in :issue:`29979`.)" msgstr "" diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index cfb6f9d4b..99a019b0b 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: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: 2023-02-03 17:30+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1777,8 +1777,8 @@ msgstr "" #: whatsnew/3.8.rst:1089 msgid "" -"Added :meth:`pathlib.Path.link_to()` which creates a hard link pointing to a " -"path. (Contributed by Joannah Nanjekye in :issue:`26978`) Note that " +"Added :meth:`!pathlib.Path.link_to()` which creates a hard link pointing to " +"a path. (Contributed by Joannah Nanjekye in :issue:`26978`) Note that " "``link_to`` was deprecated in 3.10 and removed in 3.12 in favor of a " "``hardlink_to`` method added in 3.10 which matches the semantics of the " "existing ``symlink_to`` method." diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index bdad4d36d..1abe23bc0 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-10-01 00:18+0000\n" +"POT-Creation-Date: 2024-01-04 05:12+0300\n" "PO-Revision-Date: 2023-03-01 11:48+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1834,8 +1834,9 @@ msgstr "" "katılmıştır.)" #: whatsnew/3.9.rst:934 +#, fuzzy msgid "" -":func:`smtpd.MailmanProxy` is now deprecated as it is unusable without an " +":func:`!smtpd.MailmanProxy` is now deprecated as it is unusable without an " "external module, ``mailman``. (Contributed by Samuel Colvin in :issue:" "`35800`.)" msgstr ""