From c6bbb2d29cce9fad115e6af5ccf862b6f57e928c Mon Sep 17 00:00:00 2001 From: python-docs-turkish Date: Thu, 1 Jun 2023 00:22:15 +0000 Subject: [PATCH] Get changes from CPython Doc for 3.11 --- Makefile | 2 +- c-api/buffer.po | 34 +- c-api/bytearray.po | 10 +- c-api/bytes.po | 10 +- c-api/capsule.po | 10 +- c-api/code.po | 14 +- c-api/complex.po | 10 +- c-api/concrete.po | 18 +- c-api/dict.po | 22 +- c-api/exceptions.po | 290 ++- c-api/file.po | 18 +- c-api/float.po | 10 +- c-api/function.po | 14 +- c-api/import.po | 34 +- c-api/init.po | 182 +- c-api/intro.po | 144 +- c-api/list.po | 22 +- c-api/long.po | 34 +- c-api/mapping.po | 10 +- c-api/memory.po | 18 +- c-api/memoryview.po | 10 +- c-api/method.po | 18 +- c-api/module.po | 42 +- c-api/none.po | 10 +- c-api/number.po | 26 +- c-api/object.po | 107 +- c-api/sequence.po | 14 +- c-api/set.po | 22 +- c-api/structures.po | 14 +- c-api/sys.po | 18 +- c-api/tuple.po | 10 +- c-api/type.po | 10 +- c-api/typeobj.po | 14 +- c-api/unicode.po | 78 +- c-api/veryhigh.po | 6 +- c-api/weakref.po | 15 +- distributing/index.po | 36 +- distutils/apiref.po | 4 +- distutils/setupscript.po | 6 +- extending/extending.po | 18 +- extending/newtypes.po | 66 +- faq/extending.po | 5 +- faq/general.po | 10 +- faq/library.po | 6 +- faq/programming.po | 24 +- glossary.po | 23 +- howto/argparse.po | 199 +- howto/clinic.po | 396 ++-- howto/curses.po | 259 +-- howto/descriptor.po | 59 +- howto/enum.po | 357 +-- howto/functional.po | 14 +- howto/logging-cookbook.po | 554 ++--- howto/logging.po | 284 +-- howto/urllib2.po | 174 +- includes/wasm-notavail.po | 31 - library/__main__.po | 6 +- library/_thread.po | 38 +- library/aifc.po | 26 +- library/argparse.po | 60 +- library/array.po | 6 +- library/ast.po | 171 +- library/asyncio-eventloop.po | 64 +- library/asyncio-task.po | 395 ++-- library/atexit.po | 32 +- library/audioop.po | 18 +- library/audit_events.po | 6 +- library/base64.po | 20 +- library/binascii.po | 14 +- library/bisect.po | 106 +- library/cgi.po | 46 +- library/cgitb.po | 22 +- library/chunk.po | 22 +- library/cmath.po | 10 +- library/cmd.po | 14 +- library/codecs.po | 90 +- library/codeop.po | 21 +- library/configparser.po | 34 +- library/constants.po | 10 +- library/copy.po | 18 +- library/copyreg.po | 18 +- library/crypt.po | 14 +- library/crypto.po | 6 +- library/csv.po | 22 +- library/ctypes.po | 8 +- library/curses.ascii.po | 158 +- library/curses.po | 1225 +++------- library/dataclasses.po | 340 +-- library/datetime.po | 817 +++---- library/dbm.po | 6 +- library/dis.po | 14 +- library/doctest.po | 42 +- library/enum.po | 371 +-- library/exceptions.po | 30 +- library/fcntl.po | 14 +- library/fnmatch.po | 46 +- library/ftplib.po | 14 +- library/functions.po | 764 +++--- library/functools.po | 182 +- library/gc.po | 116 +- library/gettext.po | 14 +- library/glob.po | 42 +- library/gzip.po | 67 +- library/hashlib.po | 147 +- library/html.parser.po | 10 +- library/http.client.po | 141 +- library/http.po | 14 +- library/http.server.po | 34 +- library/idle.po | 42 +- library/imaplib.po | 18 +- library/imp.po | 18 +- library/importlib.po | 10 +- library/inspect.po | 364 +-- library/internet.po | 22 +- library/io.po | 22 +- library/linecache.po | 14 +- library/locale.po | 14 +- library/logging.config.po | 265 ++- library/logging.po | 391 ++-- library/marshal.po | 26 +- library/mimetypes.po | 22 +- library/msilib.po | 6 +- library/multiprocessing.shared_memory.po | 14 +- library/nntplib.po | 14 +- library/operator.po | 4 +- library/optparse.po | 494 ++-- library/os.path.po | 42 +- library/os.po | 1783 +++++++------- library/pathlib.po | 450 ++-- library/pdb.po | 359 +-- library/pickle.po | 62 +- library/pkgutil.po | 13 +- library/plistlib.po | 16 +- library/poplib.po | 10 +- library/posix.po | 18 +- library/pprint.po | 18 +- library/profile.po | 12 +- library/pwd.po | 10 +- library/py_compile.po | 10 +- library/pydoc.po | 18 +- library/pyexpat.po | 14 +- library/quopri.po | 18 +- library/random.po | 77 +- library/re.po | 679 ++++-- library/readline.po | 9 +- library/reprlib.po | 10 +- library/resource.po | 4 +- library/runpy.po | 10 +- library/sched.po | 6 +- library/security_warnings.po | 6 +- library/select.po | 16 +- library/shelve.po | 18 +- library/shutil.po | 120 +- library/site.po | 58 +- library/smtplib.po | 26 +- library/sndhdr.po | 10 +- library/socket.po | 36 +- library/sqlite3.po | 303 +-- library/ssl.po | 38 +- library/statistics.po | 4 +- library/stdtypes.po | 2685 ++++++++++++++-------- library/string.po | 75 +- library/struct.po | 50 +- library/subprocess.po | 264 ++- library/sys.po | 668 +++--- library/sysconfig.po | 6 +- library/tarfile.po | 817 +++++-- library/telnetlib.po | 10 +- library/tempfile.po | 74 +- library/termios.po | 14 +- library/test.po | 36 +- library/textwrap.po | 10 +- library/threading.po | 16 +- library/time.po | 52 +- library/timeit.po | 10 +- library/tk.po | 19 +- library/tkinter.po | 20 +- library/tkinter.tix.po | 6 +- library/tkinter.ttk.po | 6 +- library/traceback.po | 118 +- library/turtle.po | 260 +-- library/types.po | 100 +- library/typing.po | 1228 +++++----- library/unicodedata.po | 14 +- library/unittest.mock-examples.po | 7 +- library/unittest.po | 4 +- library/urllib.parse.po | 349 +-- library/urllib.request.po | 24 +- library/urllib.robotparser.po | 18 +- library/uu.po | 10 +- library/uuid.po | 22 +- library/venv.po | 16 +- library/warnings.po | 6 +- library/wave.po | 141 +- library/winreg.po | 10 +- library/xdrlib.po | 10 +- library/xmlrpc.client.po | 4 +- library/zipapp.po | 16 +- library/zipfile.po | 8 +- library/zlib.po | 10 +- reference/compound_stmts.po | 904 +++++--- reference/datamodel.po | 1303 +++++++++-- reference/executionmodel.po | 110 +- reference/expressions.po | 727 +++++- reference/import.po | 94 +- reference/introduction.po | 30 +- reference/lexical_analysis.po | 416 +++- reference/simple_stmts.po | 457 +++- reference/toplevel_components.po | 58 +- sphinx.po | 34 +- tutorial/classes.po | 19 +- tutorial/controlflow.po | 68 +- tutorial/floatingpoint.po | 90 +- tutorial/inputoutput.po | 26 +- tutorial/introduction.po | 10 +- tutorial/modules.po | 36 +- tutorial/stdlib.po | 10 +- using/cmdline.po | 246 +- using/configure.po | 448 ++-- using/mac.po | 6 +- using/unix.po | 8 +- using/windows.po | 6 +- whatsnew/2.0.po | 4 +- whatsnew/2.1.po | 4 +- whatsnew/2.2.po | 6 +- whatsnew/2.3.po | 16 +- whatsnew/2.4.po | 14 +- whatsnew/2.5.po | 10 +- whatsnew/2.6.po | 21 +- whatsnew/2.7.po | 19 +- whatsnew/3.11.po | 1356 +++++------ whatsnew/3.2.po | 12 +- whatsnew/3.3.po | 15 +- whatsnew/3.5.po | 7 +- whatsnew/3.6.po | 4 +- whatsnew/3.8.po | 7 +- whatsnew/3.9.po | 5 +- 237 files changed, 18861 insertions(+), 10771 deletions(-) delete mode 100644 includes/wasm-notavail.po diff --git a/Makefile b/Makefile index 52eaff54e..e15aac584 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ # test build, we're building with the .rst files that generated our # .po files. -CPYTHON_CURRENT_COMMIT := d01cf5072be5511595b6d0c35ace6c1b07716f8d +CPYTHON_CURRENT_COMMIT := 3b0747af909cf680543fd9f290bdae8ac6ed155e LANGUAGE := tr BRANCH := 3.11 diff --git a/c-api/buffer.po b/c-api/buffer.po index 827f85db8..899f51a82 100644 --- a/c-api/buffer.po +++ b/c-api/buffer.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -665,3 +665,35 @@ msgid "" "*exporter* MUST be set to the exporting object and *flags* must be passed " "unmodified. Otherwise, *exporter* MUST be ``NULL``." msgstr "" + +#: c-api/buffer.rst:3 +msgid "buffer protocol" +msgstr "" + +#: c-api/buffer.rst:3 +msgid "buffer interface" +msgstr "" + +#: c-api/buffer.rst:3 +msgid "(see buffer protocol)" +msgstr "" + +#: c-api/buffer.rst:3 +msgid "buffer object" +msgstr "" + +#: c-api/buffer.rst:32 +msgid "PyBufferProcs" +msgstr "" + +#: c-api/buffer.rst:284 +msgid "contiguous" +msgstr "" + +#: c-api/buffer.rst:284 +msgid "C-contiguous" +msgstr "" + +#: c-api/buffer.rst:284 +msgid "Fortran contiguous" +msgstr "" diff --git a/c-api/bytearray.po b/c-api/bytearray.po index fc51fa253..d9f172e99 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -97,3 +97,11 @@ msgstr "" #: c-api/bytearray.rst:85 msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking." msgstr "" + +#: c-api/bytearray.rst:8 +msgid "object" +msgstr "" + +#: c-api/bytearray.rst:8 +msgid "bytearray" +msgstr "" diff --git a/c-api/bytes.po b/c-api/bytes.po index 8288e1c18..be9ba48ca 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -324,3 +324,11 @@ msgid "" "*\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` " "is set, and ``-1`` is returned." msgstr "" + +#: c-api/bytes.rst:11 +msgid "object" +msgstr "" + +#: c-api/bytes.rst:11 +msgid "bytes" +msgstr "" diff --git a/c-api/capsule.po b/c-api/capsule.po index 77802d9a0..df52df799 100644 --- a/c-api/capsule.po +++ b/c-api/capsule.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -199,3 +199,11 @@ msgid "" "Set the void pointer inside *capsule* to *pointer*. The pointer may not be " "``NULL``." msgstr "" + +#: c-api/capsule.rst:8 +msgid "object" +msgstr "" + +#: c-api/capsule.rst:8 +msgid "Capsule" +msgstr "" diff --git a/c-api/code.po b/c-api/code.po index 230e9559a..cf845cf2c 100644 --- a/c-api/code.po +++ b/c-api/code.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-04 22:37+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -138,3 +138,15 @@ msgid "" "reference to a :c:type:`PyTupleObject` containing the names of the free " "variables. On error, ``NULL`` is returned and an exception is raised." msgstr "" + +#: c-api/code.rst:3 +msgid "object" +msgstr "" + +#: c-api/code.rst:3 +msgid "code" +msgstr "" + +#: c-api/code.rst:3 +msgid "code object" +msgstr "" diff --git a/c-api/complex.po b/c-api/complex.po index da0cd0239..72d6bd446 100644 --- a/c-api/complex.po +++ b/c-api/complex.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -157,3 +157,11 @@ msgstr "" #: c-api/complex.rst:137 msgid "Use :meth:`__index__` if available." msgstr "" + +#: c-api/complex.rst:8 +msgid "object" +msgstr "" + +#: c-api/complex.rst:8 +msgid "complex number" +msgstr "" diff --git a/c-api/concrete.po b/c-api/concrete.po index ceba1fe4c..3630bddb2 100644 --- a/c-api/concrete.po +++ b/c-api/concrete.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -74,3 +74,19 @@ msgstr "" #: c-api/concrete.rst:102 msgid "Other Objects" msgstr "" + +#: c-api/concrete.rst:58 c-api/concrete.rst:80 +msgid "object" +msgstr "" + +#: c-api/concrete.rst:43 +msgid "numeric" +msgstr "" + +#: c-api/concrete.rst:58 +msgid "sequence" +msgstr "" + +#: c-api/concrete.rst:80 +msgid "mapping" +msgstr "" diff --git a/c-api/dict.po b/c-api/dict.po index 5ea6832a8..fdb7df86a 100644 --- a/c-api/dict.po +++ b/c-api/dict.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -223,3 +223,23 @@ msgid "" "*override* is true, else the first wins. Return ``0`` on success or ``-1`` " "if an exception was raised. Equivalent Python (except for the return value)::" msgstr "" + +#: c-api/dict.rst:8 +msgid "object" +msgstr "" + +#: c-api/dict.rst:8 +msgid "dictionary" +msgstr "" + +#: c-api/dict.rst:73 +msgid "PyUnicode_FromString()" +msgstr "" + +#: c-api/dict.rst:157 +msgid "built-in function" +msgstr "" + +#: c-api/dict.rst:157 +msgid "len" +msgstr "" diff --git a/c-api/exceptions.po b/c-api/exceptions.po index 81a4d32b5..ddb4b176f 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1504,3 +1504,291 @@ msgstr "" #: c-api/exceptions.rst:1119 msgid "This is a base class for other standard warning categories." msgstr "" + +#: c-api/exceptions.rst:150 +msgid "strerror()" +msgstr "" + +#: c-api/exceptions.rst:576 c-api/exceptions.rst:591 +msgid "module" +msgstr "" + +#: c-api/exceptions.rst:576 c-api/exceptions.rst:591 +msgid "signal" +msgstr "" + +#: c-api/exceptions.rst:576 +msgid "SIGINT" +msgstr "" + +#: c-api/exceptions.rst:576 c-api/exceptions.rst:591 +msgid "KeyboardInterrupt (built-in exception)" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_BaseException" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_Exception" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ArithmeticError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_AssertionError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_AttributeError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_BlockingIOError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_BrokenPipeError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_BufferError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ChildProcessError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ConnectionAbortedError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ConnectionError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ConnectionRefusedError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ConnectionResetError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_EOFError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_FileExistsError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_FileNotFoundError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_FloatingPointError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_GeneratorExit" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ImportError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_IndentationError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_IndexError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_InterruptedError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_IsADirectoryError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_KeyError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_KeyboardInterrupt" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_LookupError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_MemoryError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ModuleNotFoundError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_NameError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_NotADirectoryError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_NotImplementedError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_OSError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_OverflowError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_PermissionError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ProcessLookupError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_RecursionError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ReferenceError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_RuntimeError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_StopAsyncIteration" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_StopIteration" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_SyntaxError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_SystemError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_SystemExit" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_TabError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_TimeoutError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_TypeError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_UnboundLocalError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_UnicodeDecodeError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_UnicodeEncodeError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_UnicodeError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_UnicodeTranslateError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ValueError" +msgstr "" + +#: c-api/exceptions.rst:854 +msgid "PyExc_ZeroDivisionError" +msgstr "" + +#: c-api/exceptions.rst:1037 +msgid "PyExc_EnvironmentError" +msgstr "" + +#: c-api/exceptions.rst:1037 +msgid "PyExc_IOError" +msgstr "" + +#: c-api/exceptions.rst:1037 +msgid "PyExc_WindowsError" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_Warning" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_BytesWarning" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_DeprecationWarning" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_FutureWarning" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_ImportWarning" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_PendingDeprecationWarning" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_ResourceWarning" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_RuntimeWarning" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_SyntaxWarning" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_UnicodeWarning" +msgstr "" + +#: c-api/exceptions.rst:1074 +msgid "PyExc_UserWarning" +msgstr "" diff --git a/c-api/file.po b/c-api/file.po index 46e259cf9..3344b3081 100644 --- a/c-api/file.po +++ b/c-api/file.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -131,3 +131,19 @@ msgid "" "Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on " "failure; the appropriate exception will be set." msgstr "" + +#: c-api/file.rst:8 +msgid "object" +msgstr "" + +#: c-api/file.rst:8 +msgid "file" +msgstr "" + +#: c-api/file.rst:50 +msgid "EOFError (built-in exception)" +msgstr "" + +#: c-api/file.rst:93 +msgid "Py_PRINT_RAW" +msgstr "" diff --git a/c-api/float.po b/c-api/float.po index fa96e1321..480d087b3 100644 --- a/c-api/float.po +++ b/c-api/float.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -207,3 +207,11 @@ msgstr "" #: c-api/float.rst:164 msgid "Unpack the IEEE 754 binary64 double precision format as a C double." msgstr "" + +#: c-api/float.rst:8 +msgid "object" +msgstr "" + +#: c-api/float.rst:8 +msgid "floating point" +msgstr "" diff --git a/c-api/function.po b/c-api/function.po index 7b420c048..3658d8e74 100644 --- a/c-api/function.po +++ b/c-api/function.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -124,3 +124,15 @@ msgid "" "Set the annotations for the function object *op*. *annotations* must be a " "dictionary or ``Py_None``." msgstr "" + +#: c-api/function.rst:8 +msgid "object" +msgstr "" + +#: c-api/function.rst:8 +msgid "function" +msgstr "" + +#: c-api/function.rst:20 +msgid "MethodType (in module types)" +msgstr "" diff --git a/c-api/import.po b/c-api/import.po index ca407e655..380b25e6e 100644 --- a/c-api/import.po +++ b/c-api/import.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -324,3 +324,35 @@ msgid "" "or :c:func:`PyImport_ExtendInittab` must be called before each Python " "initialization." msgstr "" + +#: c-api/import.rst:11 +msgid "package variable" +msgstr "" + +#: c-api/import.rst:11 +msgid "__all__" +msgstr "" + +#: c-api/import.rst:11 +msgid "__all__ (package variable)" +msgstr "" + +#: c-api/import.rst:11 +msgid "modules (in module sys)" +msgstr "" + +#: c-api/import.rst:123 +msgid "built-in function" +msgstr "" + +#: c-api/import.rst:44 +msgid "__import__" +msgstr "" + +#: c-api/import.rst:123 +msgid "compile" +msgstr "" + +#: c-api/import.rst:248 +msgid "freeze utility" +msgstr "" diff --git a/c-api/init.po b/c-api/init.po index ea5c20ce8..4609c0422 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -574,10 +574,10 @@ msgid "" "example, if the program name is ``'/usr/local/bin/python'``, the prefix is " "``'/usr/local'``. The returned string points into static storage; the caller " "should not modify its value. This corresponds to the :makevar:`prefix` " -"variable in the top-level :file:`Makefile` and the ``--prefix`` argument to " -"the :program:`configure` script at build time. The value is available to " -"Python code as ``sys.prefix``. It is only useful on Unix. See also the next " -"function." +"variable in the top-level :file:`Makefile` and the :option:`--prefix` " +"argument to the :program:`configure` script at build time. The value is " +"available to Python code as ``sys.prefix``. It is only useful on Unix. See " +"also the next function." msgstr "" #: c-api/init.rst:420 @@ -2117,3 +2117,175 @@ msgid "" "Due to the compatibility problem noted above, this version of the API should " "not be used in new code." msgstr "" + +#: c-api/init.rst:386 c-api/init.rst:461 +msgid "Py_SetProgramName()" +msgstr "" + +#: c-api/init.rst:231 +msgid "PyEval_InitThreads()" +msgstr "" + +#: c-api/init.rst:231 +msgid "modules (in module sys)" +msgstr "" + +#: c-api/init.rst:480 c-api/init.rst:506 +msgid "path (in module sys)" +msgstr "" + +#: c-api/init.rst:480 c-api/init.rst:945 c-api/init.rst:1387 +msgid "module" +msgstr "" + +#: c-api/init.rst:1387 +msgid "builtins" +msgstr "" + +#: c-api/init.rst:1387 +msgid "__main__" +msgstr "" + +#: c-api/init.rst:1387 +msgid "sys" +msgstr "" + +#: c-api/init.rst:480 c-api/init.rst:506 +msgid "search" +msgstr "" + +#: c-api/init.rst:480 c-api/init.rst:506 +msgid "path" +msgstr "" + +#: c-api/init.rst:231 +msgid "PySys_SetArgv()" +msgstr "" + +#: c-api/init.rst:231 +msgid "PySys_SetArgvEx()" +msgstr "" + +#: c-api/init.rst:1416 c-api/init.rst:1451 +msgid "Py_FinalizeEx()" +msgstr "" + +#: c-api/init.rst:358 c-api/init.rst:1416 +msgid "Py_Initialize()" +msgstr "" + +#: c-api/init.rst:358 c-api/init.rst:614 +msgid "main()" +msgstr "" + +#: c-api/init.rst:321 +msgid "stdin" +msgstr "" + +#: c-api/init.rst:321 +msgid "stdout" +msgstr "" + +#: c-api/init.rst:321 +msgid "sdterr" +msgstr "" + +#: c-api/init.rst:506 +msgid "Py_GetPath()" +msgstr "" + +#: c-api/init.rst:461 +msgid "executable (in module sys)" +msgstr "" + +#: c-api/init.rst:480 +msgid "Py_SetPath()" +msgstr "" + +#: c-api/init.rst:591 c-api/init.rst:605 +msgid "version (in module sys)" +msgstr "" + +#: c-api/init.rst:561 +msgid "platform (in module sys)" +msgstr "" + +#: c-api/init.rst:578 +msgid "copyright (in module sys)" +msgstr "" + +#: c-api/init.rst:614 +msgid "Py_FatalError()" +msgstr "" + +#: c-api/init.rst:614 +msgid "argv (in module sys)" +msgstr "" + +#: c-api/init.rst:730 +msgid "global interpreter lock" +msgstr "" + +#: c-api/init.rst:730 +msgid "interpreter lock" +msgstr "" + +#: c-api/init.rst:730 +msgid "lock, interpreter" +msgstr "" + +#: c-api/init.rst:743 +msgid "setswitchinterval() (in module sys)" +msgstr "" + +#: c-api/init.rst:752 +msgid "PyThreadState" +msgstr "" + +#: c-api/init.rst:779 +msgid "Py_BEGIN_ALLOW_THREADS" +msgstr "" + +#: c-api/init.rst:779 +msgid "Py_END_ALLOW_THREADS" +msgstr "" + +#: c-api/init.rst:923 +msgid "PyEval_RestoreThread()" +msgstr "" + +#: c-api/init.rst:923 +msgid "PyEval_SaveThread()" +msgstr "" + +#: c-api/init.rst:923 +msgid "PyEval_AcquireThread()" +msgstr "" + +#: c-api/init.rst:923 +msgid "PyEval_ReleaseThread()" +msgstr "" + +#: c-api/init.rst:945 +msgid "_thread" +msgstr "" + +#: c-api/init.rst:1387 +msgid "stdout (in module sys)" +msgstr "" + +#: c-api/init.rst:1387 +msgid "stderr (in module sys)" +msgstr "" + +#: c-api/init.rst:1387 +msgid "stdin (in module sys)" +msgstr "" + +#: c-api/init.rst:1446 +msgid "close() (in module os)" +msgstr "" + +#: c-api/init.rst:1501 +msgid "Py_AddPendingCall()" +msgstr "" diff --git a/c-api/intro.po b/c-api/intro.po index bbfef62b5..1976f9400 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -115,11 +115,11 @@ msgstr "" msgid "" "The header files are typically installed with Python. On Unix, these are " "located in the directories :file:`{prefix}/include/pythonversion/` and :file:" -"`{exec_prefix}/include/pythonversion/`, where :envvar:`prefix` and :envvar:" -"`exec_prefix` are defined by the corresponding parameters to Python's :" -"program:`configure` script and *version* is ``'%d.%d' % sys." -"version_info[:2]``. On Windows, the headers are installed in :file:" -"`{prefix}/include`, where :envvar:`prefix` is the installation directory " +"`{exec_prefix}/include/pythonversion/`, where :option:`prefix <--prefix>` " +"and :option:`exec_prefix <--exec-prefix>` are defined by the corresponding " +"parameters to Python's :program:`configure` script and *version* is ``'%d." +"%d' % sys.version_info[:2]``. On Windows, the headers are installed in :" +"file:`{prefix}/include`, where ``prefix`` is the installation directory " "specified to the installer." msgstr "" @@ -129,8 +129,8 @@ msgid "" "compiler's search path for includes. Do *not* place the parent directories " "on the search path and then use ``#include ``; this will " "break on multi-platform builds since the platform independent headers under :" -"envvar:`prefix` include the platform specific headers from :envvar:" -"`exec_prefix`." +"option:`prefix <--prefix>` include the platform specific headers from :" +"option:`exec_prefix <--exec-prefix>`." msgstr "" #: c-api/intro.rst:95 @@ -776,3 +776,131 @@ msgid "" "Please refer to :file:`Misc/SpecialBuilds.txt` in the Python source " "distribution for more detailed information." msgstr "" + +#: c-api/intro.rst:264 +msgid "object" +msgstr "" + +#: c-api/intro.rst:264 +msgid "type" +msgstr "" + +#: c-api/intro.rst:301 +msgid "Py_INCREF()" +msgstr "" + +#: c-api/intro.rst:301 +msgid "Py_DECREF()" +msgstr "" + +#: c-api/intro.rst:372 +msgid "PyList_SetItem()" +msgstr "" + +#: c-api/intro.rst:372 +msgid "PyTuple_SetItem()" +msgstr "" + +#: c-api/intro.rst:443 +msgid "set_all()" +msgstr "" + +#: c-api/intro.rst:462 +msgid "PyList_GetItem()" +msgstr "" + +#: c-api/intro.rst:462 +msgid "PySequence_GetItem()" +msgstr "" + +#: c-api/intro.rst:492 +msgid "sum_list()" +msgstr "" + +#: c-api/intro.rst:616 +msgid "sum_sequence()" +msgstr "" + +#: c-api/intro.rst:559 +msgid "PyErr_Occurred()" +msgstr "" + +#: c-api/intro.rst:572 +msgid "PyErr_SetString()" +msgstr "" + +#: c-api/intro.rst:680 +msgid "PyErr_Clear()" +msgstr "" + +#: c-api/intro.rst:596 +msgid "exc_info() (in module sys)" +msgstr "" + +#: c-api/intro.rst:678 +msgid "incr_item()" +msgstr "" + +#: c-api/intro.rst:680 +msgid "PyErr_ExceptionMatches()" +msgstr "" + +#: c-api/intro.rst:680 +msgid "Py_XDECREF()" +msgstr "" + +#: c-api/intro.rst:706 +msgid "Py_Initialize()" +msgstr "" + +#: c-api/intro.rst:706 +msgid "module" +msgstr "" + +#: c-api/intro.rst:706 +msgid "builtins" +msgstr "" + +#: c-api/intro.rst:706 +msgid "__main__" +msgstr "" + +#: c-api/intro.rst:706 +msgid "sys" +msgstr "" + +#: c-api/intro.rst:706 +msgid "search" +msgstr "" + +#: c-api/intro.rst:706 +msgid "path" +msgstr "" + +#: c-api/intro.rst:706 +msgid "path (in module sys)" +msgstr "" + +#: c-api/intro.rst:741 +msgid "Py_SetProgramName()" +msgstr "" + +#: c-api/intro.rst:741 +msgid "Py_GetPath()" +msgstr "" + +#: c-api/intro.rst:741 +msgid "Py_GetPrefix()" +msgstr "" + +#: c-api/intro.rst:741 +msgid "Py_GetExecPrefix()" +msgstr "" + +#: c-api/intro.rst:741 +msgid "Py_GetProgramFullPath()" +msgstr "" + +#: c-api/intro.rst:756 +msgid "Py_IsInitialized()" +msgstr "" diff --git a/c-api/list.po b/c-api/list.po index 2afb99ef3..cb6689921 100644 --- a/c-api/list.po +++ b/c-api/list.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -150,3 +150,23 @@ msgid "" "Return a new tuple object containing the contents of *list*; equivalent to " "``tuple(list)``." msgstr "" + +#: c-api/list.rst:8 +msgid "object" +msgstr "" + +#: c-api/list.rst:8 +msgid "list" +msgstr "" + +#: c-api/list.rst:141 +msgid "built-in function" +msgstr "" + +#: c-api/list.rst:48 +msgid "len" +msgstr "" + +#: c-api/list.rst:141 +msgid "tuple" +msgstr "" diff --git a/c-api/long.po b/c-api/long.po index 007bcbe01..4a653ab73 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -326,3 +326,35 @@ msgstr "" msgid "" "Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" + +#: c-api/long.rst:8 +msgid "object" +msgstr "" + +#: c-api/long.rst:8 +msgid "long integer" +msgstr "" + +#: c-api/long.rst:8 +msgid "integer" +msgstr "" + +#: c-api/long.rst:118 +msgid "LONG_MAX" +msgstr "" + +#: c-api/long.rst:160 c-api/long.rst:218 c-api/long.rst:250 +msgid "OverflowError (built-in exception)" +msgstr "" + +#: c-api/long.rst:203 +msgid "PY_SSIZE_T_MAX" +msgstr "" + +#: c-api/long.rst:218 +msgid "ULONG_MAX" +msgstr "" + +#: c-api/long.rst:234 +msgid "SIZE_MAX" +msgstr "" diff --git a/c-api/mapping.po b/c-api/mapping.po index 4d45704a2..8cf938c94 100644 --- a/c-api/mapping.po +++ b/c-api/mapping.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -111,3 +111,11 @@ msgid "" "On success, return a list of the items in object *o*, where each item is a " "tuple containing a key-value pair. On failure, return ``NULL``." msgstr "" + +#: c-api/mapping.rst:23 +msgid "built-in function" +msgstr "" + +#: c-api/mapping.rst:23 +msgid "len" +msgstr "" diff --git a/c-api/memory.po b/c-api/memory.po index 228472a3e..cc03da2f3 100644 --- a/c-api/memory.po +++ b/c-api/memory.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1052,3 +1052,19 @@ msgid "" "These will be explained in the next chapter on defining and implementing new " "object types in C." msgstr "" + +#: c-api/memory.rst:43 +msgid "malloc()" +msgstr "" + +#: c-api/memory.rst:43 +msgid "calloc()" +msgstr "" + +#: c-api/memory.rst:43 +msgid "realloc()" +msgstr "" + +#: c-api/memory.rst:43 +msgid "free()" +msgstr "" diff --git a/c-api/memoryview.po b/c-api/memoryview.po index 88ec5f25e..47af94340 100644 --- a/c-api/memoryview.po +++ b/c-api/memoryview.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -78,3 +78,11 @@ msgid "" "func:`PyMemoryView_FromMemory` or :c:func:`PyMemoryView_FromBuffer`. *mview* " "**must** be a memoryview instance." msgstr "" + +#: c-api/memoryview.rst:5 +msgid "object" +msgstr "" + +#: c-api/memoryview.rst:5 +msgid "memoryview" +msgstr "" diff --git a/c-api/method.po b/c-api/method.po index 66cd87963..81a27ce76 100644 --- a/c-api/method.po +++ b/c-api/method.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -103,3 +103,19 @@ msgstr "" #: c-api/method.rst:95 msgid "Macro version of :c:func:`PyMethod_Self` which avoids error checking." msgstr "" + +#: c-api/method.rst:50 +msgid "object" +msgstr "" + +#: c-api/method.rst:8 +msgid "instancemethod" +msgstr "" + +#: c-api/method.rst:50 +msgid "method" +msgstr "" + +#: c-api/method.rst:59 +msgid "MethodType (in module types)" +msgstr "" diff --git a/c-api/module.po b/c-api/module.po index 77c90d2ad..cb1832ece 100644 --- a/c-api/module.po +++ b/c-api/module.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -647,3 +647,43 @@ msgid "" "Removes the module object created from *def* from the interpreter state. " "Return 0 on success or -1 on failure." msgstr "" + +#: c-api/module.rst:8 +msgid "object" +msgstr "" + +#: c-api/module.rst:8 +msgid "module" +msgstr "" + +#: c-api/module.rst:13 +msgid "ModuleType (in module types)" +msgstr "" + +#: c-api/module.rst:74 +msgid "__name__ (module attribute)" +msgstr "" + +#: c-api/module.rst:33 +msgid "__doc__ (module attribute)" +msgstr "" + +#: c-api/module.rst:104 +msgid "__file__ (module attribute)" +msgstr "" + +#: c-api/module.rst:33 +msgid "__package__ (module attribute)" +msgstr "" + +#: c-api/module.rst:33 +msgid "__loader__ (module attribute)" +msgstr "" + +#: c-api/module.rst:60 +msgid "__dict__ (module attribute)" +msgstr "" + +#: c-api/module.rst:104 +msgid "SystemError (built-in exception)" +msgstr "" diff --git a/c-api/none.po b/c-api/none.po index 8119a1179..04a4d9c01 100644 --- a/c-api/none.po +++ b/c-api/none.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -40,3 +40,11 @@ msgid "" "Properly handle returning :c:data:`Py_None` from within a C function (that " "is, increment the reference count of ``None`` and return it.)" msgstr "" + +#: c-api/none.rst:8 +msgid "object" +msgstr "" + +#: c-api/none.rst:8 +msgid "None" +msgstr "" diff --git a/c-api/number.po b/c-api/number.po index f6fda920c..720702d32 100644 --- a/c-api/number.po +++ b/c-api/number.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -298,3 +298,27 @@ msgid "" "``tp_as_number`` structure filled in), and ``0`` otherwise. This function " "always succeeds." msgstr "" + +#: c-api/number.rst:75 c-api/number.rst:195 c-api/number.rst:249 +msgid "built-in function" +msgstr "" + +#: c-api/number.rst:67 +msgid "divmod" +msgstr "" + +#: c-api/number.rst:195 +msgid "pow" +msgstr "" + +#: c-api/number.rst:97 +msgid "abs" +msgstr "" + +#: c-api/number.rst:241 +msgid "int" +msgstr "" + +#: c-api/number.rst:249 +msgid "float" +msgstr "" diff --git a/c-api/object.po b/c-api/object.po index 231962cb2..fbb540c2e 100644 --- a/c-api/object.po +++ b/c-api/object.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -191,7 +191,20 @@ msgid "" "will always return ``1`` for :const:`Py_EQ` and ``0`` for :const:`Py_NE`." msgstr "" -#: c-api/object.rst:186 +#: c-api/object.rst:184 +msgid "" +"Format *obj* using *format_spec*. This is equivalent to the Python " +"expression ``format(obj, format_spec)``." +msgstr "" + +#: c-api/object.rst:187 +msgid "" +"*format_spec* may be ``NULL``. In this case the call is equivalent to " +"``format(obj)``. Returns the formatted string on success, ``NULL`` on " +"failure." +msgstr "" + +#: c-api/object.rst:195 msgid "" "Compute a string representation of object *o*. Returns the string " "representation on success, ``NULL`` on failure. This is the equivalent of " @@ -199,13 +212,13 @@ msgid "" "function." msgstr "" -#: c-api/object.rst:214 +#: c-api/object.rst:223 msgid "" "This function now includes a debug assertion to help ensure that it does not " "silently discard an active exception." msgstr "" -#: c-api/object.rst:198 +#: c-api/object.rst:207 msgid "" "As :c:func:`PyObject_Repr`, compute a string representation of object *o*, " "but escape the non-ASCII characters in the string returned by :c:func:" @@ -214,7 +227,7 @@ msgid "" "Called by the :func:`ascii` built-in function." msgstr "" -#: c-api/object.rst:209 +#: c-api/object.rst:218 msgid "" "Compute a string representation of object *o*. Returns the string " "representation on success, ``NULL`` on failure. This is the equivalent of " @@ -222,7 +235,7 @@ msgid "" "function and, therefore, by the :func:`print` function." msgstr "" -#: c-api/object.rst:223 +#: c-api/object.rst:232 msgid "" "Compute a bytes representation of object *o*. ``NULL`` is returned on " "failure and a bytes object on success. This is equivalent to the Python " @@ -231,20 +244,20 @@ msgid "" "bytes object." msgstr "" -#: c-api/object.rst:232 +#: c-api/object.rst:241 msgid "" "Return ``1`` if the class *derived* is identical to or derived from the " "class *cls*, otherwise return ``0``. In case of an error, return ``-1``." msgstr "" -#: c-api/object.rst:254 +#: c-api/object.rst:263 msgid "" "If *cls* is a tuple, the check will be done against every entry in *cls*. " "The result will be ``1`` when at least one of the checks returns ``1``, " "otherwise it will be ``0``." msgstr "" -#: c-api/object.rst:239 +#: c-api/object.rst:248 msgid "" "If *cls* has a :meth:`~class.__subclasscheck__` method, it will be called to " "determine the subclass status as described in :pep:`3119`. Otherwise, " @@ -252,52 +265,52 @@ msgid "" "e. contained in ``cls.__mro__``." msgstr "" -#: c-api/object.rst:244 +#: c-api/object.rst:253 msgid "" "Normally only class objects, i.e. instances of :class:`type` or a derived " "class, are considered classes. However, objects can override this by having " "a :attr:`__bases__` attribute (which must be a tuple of base classes)." msgstr "" -#: c-api/object.rst:251 +#: c-api/object.rst:260 msgid "" "Return ``1`` if *inst* is an instance of the class *cls* or a subclass of " "*cls*, or ``0`` if not. On error, returns ``-1`` and sets an exception." msgstr "" -#: c-api/object.rst:258 +#: c-api/object.rst:267 msgid "" "If *cls* has a :meth:`~class.__instancecheck__` method, it will be called to " "determine the subclass status as described in :pep:`3119`. Otherwise, " "*inst* is an instance of *cls* if its class is a subclass of *cls*." msgstr "" -#: c-api/object.rst:262 +#: c-api/object.rst:271 msgid "" "An instance *inst* can override what is considered its class by having a :" "attr:`__class__` attribute." msgstr "" -#: c-api/object.rst:265 +#: c-api/object.rst:274 msgid "" "An object *cls* can override if it is considered a class, and what its base " "classes are, by having a :attr:`__bases__` attribute (which must be a tuple " "of base classes)." msgstr "" -#: c-api/object.rst:274 +#: c-api/object.rst:283 msgid "" "Compute and return the hash value of an object *o*. On failure, return " "``-1``. This is the equivalent of the Python expression ``hash(o)``." msgstr "" -#: c-api/object.rst:277 +#: c-api/object.rst:286 msgid "" "The return type is now Py_hash_t. This is a signed integer the same size " "as :c:type:`Py_ssize_t`." msgstr "" -#: c-api/object.rst:284 +#: c-api/object.rst:293 msgid "" "Set a :exc:`TypeError` indicating that ``type(o)`` is not :term:`hashable` " "and return ``-1``. This function receives special treatment when stored in a " @@ -305,21 +318,21 @@ msgid "" "that it is not hashable." msgstr "" -#: c-api/object.rst:292 +#: c-api/object.rst:301 msgid "" "Returns ``1`` if the object *o* is considered to be true, and ``0`` " "otherwise. This is equivalent to the Python expression ``not not o``. On " "failure, return ``-1``." msgstr "" -#: c-api/object.rst:299 +#: c-api/object.rst:308 msgid "" "Returns ``0`` if the object *o* is considered to be true, and ``1`` " "otherwise. This is equivalent to the Python expression ``not o``. On " "failure, return ``-1``." msgstr "" -#: c-api/object.rst:308 +#: c-api/object.rst:317 msgid "" "When *o* is non-``NULL``, returns a type object corresponding to the object " "type of object *o*. On failure, raises :exc:`SystemError` and returns " @@ -330,13 +343,13 @@ msgid "" "incremented reference count is needed." msgstr "" -#: c-api/object.rst:319 +#: c-api/object.rst:328 msgid "" "Return non-zero if the object *o* is of type *type* or a subtype of *type*, " "and ``0`` otherwise. Both parameters must be non-``NULL``." msgstr "" -#: c-api/object.rst:328 +#: c-api/object.rst:337 msgid "" "Return the length of object *o*. If the object *o* provides either the " "sequence and mapping protocols, the sequence length is returned. On error, " @@ -344,7 +357,7 @@ msgid "" "``len(o)``." msgstr "" -#: c-api/object.rst:335 +#: c-api/object.rst:344 msgid "" "Return an estimated length for the object *o*. First try to return its " "actual length, then an estimate using :meth:`~object.__length_hint__`, and " @@ -353,26 +366,26 @@ msgid "" "defaultvalue)``." msgstr "" -#: c-api/object.rst:345 +#: c-api/object.rst:354 msgid "" "Return element of *o* corresponding to the object *key* or ``NULL`` on " "failure. This is the equivalent of the Python expression ``o[key]``." msgstr "" -#: c-api/object.rst:351 +#: c-api/object.rst:360 msgid "" "Map the object *key* to the value *v*. Raise an exception and return ``-1`` " "on failure; return ``0`` on success. This is the equivalent of the Python " "statement ``o[key] = v``. This function *does not* steal a reference to *v*." msgstr "" -#: c-api/object.rst:359 +#: c-api/object.rst:368 msgid "" "Remove the mapping for the object *key* from the object *o*. Return ``-1`` " "on failure. This is equivalent to the Python statement ``del o[key]``." msgstr "" -#: c-api/object.rst:365 +#: c-api/object.rst:374 msgid "" "This is equivalent to the Python expression ``dir(o)``, returning a " "(possibly empty) list of strings appropriate for the object argument, or " @@ -382,7 +395,7 @@ msgid "" "`PyErr_Occurred` will return false." msgstr "" -#: c-api/object.rst:374 +#: c-api/object.rst:383 msgid "" "This is equivalent to the Python expression ``iter(o)``. It returns a new " "iterator for the object argument, or the object itself if the object is " @@ -390,7 +403,7 @@ msgid "" "object cannot be iterated." msgstr "" -#: c-api/object.rst:382 +#: c-api/object.rst:391 msgid "" "This is the equivalent to the Python expression ``aiter(o)``. Takes an :" "class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it. " @@ -398,3 +411,39 @@ msgid "" "`AsyncIterator`, this returns itself. Raises :exc:`TypeError` and returns " "``NULL`` if the object cannot be iterated." msgstr "" + +#: c-api/object.rst:205 c-api/object.rst:281 c-api/object.rst:335 +msgid "built-in function" +msgstr "" + +#: c-api/object.rst:193 +msgid "repr" +msgstr "" + +#: c-api/object.rst:205 +msgid "ascii" +msgstr "" + +#: c-api/object.rst:213 +msgid "string" +msgstr "" + +#: c-api/object.rst:213 +msgid "PyObject_Str (C function)" +msgstr "" + +#: c-api/object.rst:230 +msgid "bytes" +msgstr "" + +#: c-api/object.rst:281 +msgid "hash" +msgstr "" + +#: c-api/object.rst:315 +msgid "type" +msgstr "" + +#: c-api/object.rst:335 +msgid "len" +msgstr "" diff --git a/c-api/sequence.po b/c-api/sequence.po index f82e5de5c..c3d517ce5 100644 --- a/c-api/sequence.po +++ b/c-api/sequence.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -197,3 +197,15 @@ msgid "" "`PySequence_Check` on *o* is true and without adjustment for negative " "indices." msgstr "" + +#: c-api/sequence.rst:123 +msgid "built-in function" +msgstr "" + +#: c-api/sequence.rst:21 +msgid "len" +msgstr "" + +#: c-api/sequence.rst:123 +msgid "tuple" +msgstr "" diff --git a/c-api/set.po b/c-api/set.po index 1378b098c..91eca5ba5 100644 --- a/c-api/set.po +++ b/c-api/set.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -183,3 +183,23 @@ msgstr "" #: c-api/set.rst:166 msgid "Empty an existing set of all elements." msgstr "" + +#: c-api/set.rst:11 +msgid "object" +msgstr "" + +#: c-api/set.rst:11 +msgid "set" +msgstr "" + +#: c-api/set.rst:11 +msgid "frozenset" +msgstr "" + +#: c-api/set.rst:110 +msgid "built-in function" +msgstr "" + +#: c-api/set.rst:110 +msgid "len" +msgstr "" diff --git a/c-api/structures.po b/c-api/structures.po index b30686144..416ba51ce 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -726,3 +726,15 @@ msgid "" "In case the attribute should be deleted the second parameter is ``NULL``. " "Should return ``0`` on success or ``-1`` with a set exception on failure." msgstr "" + +#: c-api/structures.rst:379 +msgid "built-in function" +msgstr "" + +#: c-api/structures.rst:369 +msgid "classmethod" +msgstr "" + +#: c-api/structures.rst:379 +msgid "staticmethod" +msgstr "" diff --git a/c-api/sys.po b/c-api/sys.po index e29c3fad8..643e9b2e5 100644 --- a/c-api/sys.po +++ b/c-api/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -511,3 +511,19 @@ msgid "" "finalization will have completed before the cleanup function, no Python APIs " "should be called by *func*." msgstr "" + +#: c-api/sys.rst:409 +msgid "abort()" +msgstr "" + +#: c-api/sys.rst:442 +msgid "Py_FinalizeEx()" +msgstr "" + +#: c-api/sys.rst:428 +msgid "exit()" +msgstr "" + +#: c-api/sys.rst:442 +msgid "cleanup functions" +msgstr "" diff --git a/c-api/tuple.po b/c-api/tuple.po index 41c9bfead..c3a2ceda9 100644 --- a/c-api/tuple.po +++ b/c-api/tuple.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -270,3 +270,11 @@ msgid "" "Similar to :c:func:`PyStructSequence_SetItem`, but implemented as a static " "inlined function." msgstr "" + +#: c-api/tuple.rst:8 +msgid "object" +msgstr "" + +#: c-api/tuple.rst:8 +msgid "tuple" +msgstr "" diff --git a/c-api/type.po b/c-api/type.po index fc1f78203..3da9bb2d4 100644 --- a/c-api/type.po +++ b/c-api/type.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -395,3 +395,11 @@ msgstr "" #: c-api/type.rst:311 msgid "Slots other than ``Py_tp_doc`` may not be ``NULL``." msgstr "" + +#: c-api/type.rst:8 +msgid "object" +msgstr "" + +#: c-api/type.rst:8 +msgid "type" +msgstr "" diff --git a/c-api/typeobj.po b/c-api/typeobj.po index add2fc054..5e4b061c6 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -3361,3 +3361,15 @@ msgid "" "The simplest :ref:`static type ` with variable-length " "instances::" msgstr "" + +#: c-api/typeobj.rst:871 +msgid "built-in function" +msgstr "" + +#: c-api/typeobj.rst:806 +msgid "repr" +msgstr "" + +#: c-api/typeobj.rst:871 +msgid "hash" +msgstr "" diff --git a/c-api/unicode.po b/c-api/unicode.po index 42a1d42b5..95424fbb2 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -219,7 +219,7 @@ msgid "" "Unicode object (not checked)." msgstr "" -#: c-api/unicode.rst:229 c-api/unicode.rst:752 +#: c-api/unicode.rst:229 c-api/unicode.rst:761 msgid "" "Part of the old-style Unicode API, please migrate to using :c:func:" "`PyUnicode_GET_LENGTH`." @@ -754,11 +754,23 @@ msgid "" "arguments." msgstr "" -#: c-api/unicode.rst:578 +#: c-api/unicode.rst:577 +msgid "" +"Copy an instance of a Unicode subtype to a new true Unicode object if " +"necessary. If *obj* is already a true Unicode object (not a subtype), return " +"the reference with incremented refcount." +msgstr "" + +#: c-api/unicode.rst:581 +msgid "" +"Objects other than Unicode or its subtypes will cause a :exc:`TypeError`." +msgstr "" + +#: c-api/unicode.rst:587 msgid "Decode an encoded object *obj* to a Unicode object." msgstr "" -#: c-api/unicode.rst:580 +#: c-api/unicode.rst:589 msgid "" ":class:`bytes`, :class:`bytearray` and other :term:`bytes-like objects " "` are decoded according to the given *encoding* and using " @@ -766,23 +778,23 @@ msgid "" "interface use the default values (see :ref:`builtincodecs` for details)." msgstr "" -#: c-api/unicode.rst:586 +#: c-api/unicode.rst:595 msgid "" "All other objects, including Unicode objects, cause a :exc:`TypeError` to be " "set." msgstr "" -#: c-api/unicode.rst:589 +#: c-api/unicode.rst:598 msgid "" "The API returns ``NULL`` if there was an error. The caller is responsible " "for decref'ing the returned objects." msgstr "" -#: c-api/unicode.rst:595 +#: c-api/unicode.rst:604 msgid "Return the length of the Unicode object, in code points." msgstr "" -#: c-api/unicode.rst:606 +#: c-api/unicode.rst:615 msgid "" "Copy characters from one Unicode object into another. This function " "performs character conversion when necessary and falls back to :c:func:" @@ -790,52 +802,52 @@ msgid "" "otherwise returns the number of copied characters." msgstr "" -#: c-api/unicode.rst:617 +#: c-api/unicode.rst:626 msgid "" "Fill a string with a character: write *fill_char* into ``unicode[start:" "start+length]``." msgstr "" -#: c-api/unicode.rst:620 +#: c-api/unicode.rst:629 msgid "" "Fail if *fill_char* is bigger than the string maximum character, or if the " "string has more than 1 reference." msgstr "" -#: c-api/unicode.rst:623 +#: c-api/unicode.rst:632 msgid "" "Return the number of written character, or return ``-1`` and raise an " "exception on error." msgstr "" -#: c-api/unicode.rst:632 +#: c-api/unicode.rst:641 msgid "" "Write a character to a string. The string must have been created through :c:" "func:`PyUnicode_New`. Since Unicode strings are supposed to be immutable, " "the string must not be shared, or have been hashed yet." msgstr "" -#: c-api/unicode.rst:636 +#: c-api/unicode.rst:645 msgid "" "This function checks that *unicode* is a Unicode object, that the index is " "not out of bounds, and that the object can be modified safely (i.e. that it " "its reference count is one)." msgstr "" -#: c-api/unicode.rst:645 +#: c-api/unicode.rst:654 msgid "" "Read a character from a string. This function checks that *unicode* is a " "Unicode object and the index is not out of bounds, in contrast to :c:func:" "`PyUnicode_READ_CHAR`, which performs no error checking." msgstr "" -#: c-api/unicode.rst:655 +#: c-api/unicode.rst:664 msgid "" "Return a substring of *str*, from character index *start* (included) to " "character index *end* (excluded). Negative indices are not supported." msgstr "" -#: c-api/unicode.rst:664 +#: c-api/unicode.rst:673 msgid "" "Copy the string *u* into a UCS4 buffer, including a null character, if " "*copy_null* is set. Returns ``NULL`` and sets an exception on error (in " @@ -843,7 +855,7 @@ msgid "" "*u*). *buffer* is returned on success." msgstr "" -#: c-api/unicode.rst:674 +#: c-api/unicode.rst:683 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:" @@ -851,11 +863,11 @@ msgid "" "appended." msgstr "" -#: c-api/unicode.rst:683 +#: c-api/unicode.rst:692 msgid "Deprecated Py_UNICODE APIs" msgstr "" -#: c-api/unicode.rst:687 +#: c-api/unicode.rst:696 msgid "" "These API functions are deprecated with the implementation of :pep:`393`. " "Extension modules can continue using them, as they will not be removed in " @@ -863,7 +875,7 @@ msgid "" "and memory hits." msgstr "" -#: c-api/unicode.rst:694 +#: c-api/unicode.rst:703 msgid "" "Create a Unicode object from the Py_UNICODE buffer *u* of the given size. " "*u* may be ``NULL`` which causes the contents to be undefined. It is the " @@ -871,28 +883,28 @@ msgid "" "the new object." msgstr "" -#: c-api/unicode.rst:699 +#: c-api/unicode.rst:708 msgid "" "If the buffer is not ``NULL``, the return value might be a shared object. " "Therefore, modification of the resulting Unicode object is only allowed when " "*u* is ``NULL``." msgstr "" -#: c-api/unicode.rst:703 +#: c-api/unicode.rst:712 msgid "" "If the buffer is ``NULL``, :c:func:`PyUnicode_READY` must be called once the " "string content has been filled before using any of the access macros such " "as :c:func:`PyUnicode_KIND`." msgstr "" -#: c-api/unicode.rst:710 +#: c-api/unicode.rst:719 msgid "" "Part of the old-style Unicode API, please migrate to using :c:func:" "`PyUnicode_FromKindAndData`, :c:func:`PyUnicode_FromWideChar`, or :c:func:" "`PyUnicode_New`." msgstr "" -#: c-api/unicode.rst:715 +#: c-api/unicode.rst:724 msgid "" "Return a read-only pointer to the Unicode object's internal :c:type:" "`Py_UNICODE` buffer, or ``NULL`` on error. This will create the :c:expr:" @@ -903,14 +915,14 @@ msgid "" "functions." msgstr "" -#: c-api/unicode.rst:742 +#: c-api/unicode.rst:751 msgid "" "Part of the old-style Unicode API, please migrate to using :c:func:" "`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsWideChar`, :c:func:" "`PyUnicode_ReadChar` or similar new APIs." msgstr "" -#: c-api/unicode.rst:731 +#: c-api/unicode.rst:740 msgid "" "Like :c:func:`PyUnicode_AsUnicode`, but also saves the :c:func:`Py_UNICODE` " "array length (excluding the extra null terminator) in *size*. Note that the " @@ -919,24 +931,12 @@ msgid "" "functions." msgstr "" -#: c-api/unicode.rst:747 +#: c-api/unicode.rst:756 msgid "" "Return the size of the deprecated :c:type:`Py_UNICODE` representation, in " "code units (this includes surrogate pairs as 2 units)." msgstr "" -#: c-api/unicode.rst:757 -msgid "" -"Copy an instance of a Unicode subtype to a new true Unicode object if " -"necessary. If *obj* is already a true Unicode object (not a subtype), return " -"the reference with incremented refcount." -msgstr "" - -#: c-api/unicode.rst:761 -msgid "" -"Objects other than Unicode or its subtypes will cause a :exc:`TypeError`." -msgstr "" - #: c-api/unicode.rst:765 msgid "Locale Encoding" msgstr "" diff --git a/c-api/veryhigh.po b/c-api/veryhigh.po index ef61c5b81..c52f74631 100644 --- a/c-api/veryhigh.po +++ b/c-api/veryhigh.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -411,3 +411,7 @@ msgid "" "This bit can be set in *flags* to cause division operator ``/`` to be " "interpreted as \"true division\" according to :pep:`238`." msgstr "" + +#: c-api/veryhigh.rst:325 c-api/veryhigh.rst:334 +msgid "Py_CompileString()" +msgstr "" diff --git a/c-api/weakref.po b/c-api/weakref.po index 2e7acce97..3fd5350d4 100644 --- a/c-api/weakref.po +++ b/c-api/weakref.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -84,3 +84,16 @@ msgstr "" #: c-api/weakref.rst:69 msgid "Similar to :c:func:`PyWeakref_GetObject`, but does no error checking." msgstr "" + +#: c-api/weakref.rst:74 +msgid "" +"This function is called by the :c:member:`~PyTypeObject.tp_dealloc` handler " +"to clear weak references." +msgstr "" + +#: c-api/weakref.rst:77 +msgid "" +"This iterates through the weak references for *object* and calls callbacks " +"for those references which have one. It returns when all callbacks have been " +"attempted." +msgstr "" diff --git a/distributing/index.po b/distributing/index.po index a4c4055cc..29a7750d8 100644 --- a/distributing/index.po +++ b/distributing/index.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2022-01-10 21:47+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -280,29 +280,29 @@ msgstr "" msgid "`The .pypirc file`_" msgstr "`(en) .pypirc dosyası `_." -#: distributing/index.rst:144 +#: distributing/index.rst:140 msgid "How do I...?" msgstr "Nasıl yaparım...?" -#: distributing/index.rst:146 +#: distributing/index.rst:142 msgid "These are quick answers or links for some common tasks." msgstr "Bunlar, bazı genel görevler için hızlı yanıtlar veya bağlantılardır." -#: distributing/index.rst:149 +#: distributing/index.rst:145 msgid "... choose a name for my project?" msgstr "... projem için bir isim seçer misin?" -#: distributing/index.rst:151 +#: distributing/index.rst:147 msgid "This isn't an easy topic, but here are a few tips:" msgstr "Bu kolay bir başlık değil, ancak işte birkaç ipucu:" -#: distributing/index.rst:153 +#: distributing/index.rst:149 msgid "check the Python Package Index to see if the name is already in use" msgstr "" "adın zaten kullanımda olup olmadığını görmek için Python Paket Dizini'ni " "kontrol edin" -#: distributing/index.rst:154 +#: distributing/index.rst:150 msgid "" "check popular hosting sites like GitHub, Bitbucket, etc to see if there is " "already a project with that name" @@ -310,11 +310,11 @@ msgstr "" "Bu ada sahip bir proje olup olmadığını görmek için GitHub, Bitbucket vb. " "gibi popüler barındırma sitelerini kontrol edin." -#: distributing/index.rst:156 +#: distributing/index.rst:152 msgid "check what comes up in a web search for the name you're considering" msgstr "düşündüğünüz isim için bir web aramasında ne çıktığını kontrol edin" -#: distributing/index.rst:157 +#: distributing/index.rst:153 msgid "" "avoid particularly common words, especially ones with multiple meanings, as " "they can make it difficult for users to find your software when searching " @@ -323,11 +323,11 @@ msgstr "" "kullanıcıların yazılımınızı ararken bulmasını zorlaştırabileceğinden, " "özellikle birden çok anlamı olan yaygın sözcüklerden kaçının" -#: distributing/index.rst:163 +#: distributing/index.rst:159 msgid "... create and distribute binary extensions?" msgstr "... ikili uzantılar oluşturup dağıtmak?" -#: distributing/index.rst:165 +#: distributing/index.rst:161 msgid "" "This is actually quite a complex topic, with a variety of alternatives " "available depending on exactly what you're aiming to achieve. See the Python " @@ -337,10 +337,22 @@ msgstr "" "amaçladığınıza bağlı olarak çeşitli alternatifler mevcuttur. Daha fazla " "bilgi ve öneriler için Python Paketleme Kullanıcı Kılavuzuna bakın." -#: distributing/index.rst:171 +#: distributing/index.rst:167 msgid "" "`Python Packaging User Guide: Binary Extensions `__" msgstr "" "`Python Paketleme Kullanıcı Kılavuzu: İkili Uzantılar `__" + +#: distributing/index.rst:116 +msgid "Python Package Index (PyPI)" +msgstr "" + +#: distributing/index.rst:116 +msgid "PyPI" +msgstr "" + +#: distributing/index.rst:116 +msgid "(see Python Package Index (PyPI))" +msgstr "" diff --git a/distutils/apiref.po b/distutils/apiref.po index e2a62d2c9..d5783fc02 100644 --- a/distutils/apiref.po +++ b/distutils/apiref.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1416,7 +1416,7 @@ msgstr "" #: distutils/apiref.rst:1022 msgid "" "Files in *src* that begin with :file:`.nfs` are skipped (more information on " -"these files is available in answer D2 of the `NFS FAQ page `_)." msgstr "" diff --git a/distutils/setupscript.po b/distutils/setupscript.po index 8d9c2a88b..12c385b7d 100644 --- a/distutils/setupscript.po +++ b/distutils/setupscript.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -952,8 +952,8 @@ msgstr "" #: distutils/setupscript.rst:644 msgid "" -"Multiple lines of plain text in reStructuredText format (see http://docutils." -"sourceforge.net/)." +"Multiple lines of plain text in reStructuredText format (see https://" +"docutils.sourceforge.io/)." msgstr "" #: distutils/setupscript.rst:648 diff --git a/extending/extending.po b/extending/extending.po index 88a61a85a..8df4cfb8e 100644 --- a/extending/extending.po +++ b/extending/extending.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1288,3 +1288,19 @@ msgid "" "These guarantees don't hold when you use the \"old\" style calling " "convention --- this is still found in much existing code." msgstr "" + +#: extending/extending.rst:539 +msgid "PyObject_CallObject()" +msgstr "" + +#: extending/extending.rst:630 +msgid "PyArg_ParseTuple()" +msgstr "" + +#: extending/extending.rst:722 +msgid "PyArg_ParseTupleAndKeywords()" +msgstr "" + +#: extending/extending.rst:743 +msgid "Philbrick, Geoff" +msgstr "" diff --git a/extending/newtypes.po b/extending/newtypes.po index a6ed9e2c4..42a18c74b 100644 --- a/extending/newtypes.po +++ b/extending/newtypes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -632,3 +632,67 @@ msgstr "" #: extending/newtypes.rst:638 msgid "https://github.com/python/cpython" msgstr "" + +#: extending/newtypes.rst:56 +msgid "object" +msgstr "" + +#: extending/newtypes.rst:56 +msgid "deallocation" +msgstr "" + +#: extending/newtypes.rst:56 +msgid "deallocation, object" +msgstr "" + +#: extending/newtypes.rst:56 +msgid "finalization" +msgstr "" + +#: extending/newtypes.rst:56 +msgid "finalization, of objects" +msgstr "" + +#: extending/newtypes.rst:91 +msgid "PyErr_Fetch()" +msgstr "" + +#: extending/newtypes.rst:91 +msgid "PyErr_Restore()" +msgstr "" + +#: extending/newtypes.rst:150 +msgid "string" +msgstr "" + +#: extending/newtypes.rst:150 +msgid "object representation" +msgstr "" + +#: extending/newtypes.rst:150 +msgid "built-in function" +msgstr "" + +#: extending/newtypes.rst:150 +msgid "repr" +msgstr "" + +#: extending/newtypes.rst:313 +msgid "READONLY" +msgstr "" + +#: extending/newtypes.rst:313 +msgid "READ_RESTRICTED" +msgstr "" + +#: extending/newtypes.rst:313 +msgid "WRITE_RESTRICTED" +msgstr "" + +#: extending/newtypes.rst:313 +msgid "RESTRICTED" +msgstr "" + +#: extending/newtypes.rst:313 +msgid "PY_AUDIT_READ" +msgstr "" diff --git a/faq/extending.po b/faq/extending.po index b653a985c..889742a97 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2022-12-29 00:43-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -73,8 +73,9 @@ msgstr "" "dizi alternatifi vardır." #: faq/extending.rst:44 +#, fuzzy msgid "" -"`Cython `_ and its relative `Pyrex `_ and its relative `Pyrex `_ are compilers that accept a " "slightly modified form of Python and generate the corresponding C code. " "Cython and Pyrex make it possible to write an extension without having to " diff --git a/faq/general.po b/faq/general.po index f52d1b661..3fd470ce5 100644 --- a/faq/general.po +++ b/faq/general.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -90,8 +90,8 @@ msgstr "" #: faq/general.rst:57 msgid "" -"See `the PSF license page `_ to find " -"further explanations and a link to the full text of the license." +"See `the license page `_ to find " +"further explanations and the full text of the PSF License." msgstr "" #: faq/general.rst:60 @@ -347,7 +347,7 @@ msgid "" "Announcements of new software releases and events can be found in comp.lang." "python.announce, a low-traffic moderated list that receives about five " "postings per day. It's available as `the python-announce mailing list " -"`_." +"`_." msgstr "" #: faq/general.rst:220 @@ -554,7 +554,7 @@ msgstr "" #: faq/general.rst:354 msgid "" "New development is discussed on `the python-dev mailing list `_." +"python.org/mailman3/lists/python-dev.python.org/>`_." msgstr "" #: faq/general.rst:359 diff --git a/faq/library.po b/faq/library.po index 7d1c40f29..43f2c01e2 100644 --- a/faq/library.po +++ b/faq/library.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -749,8 +749,8 @@ msgstr "" msgid "" "The :mod:`asyncio` module provides a general purpose single-threaded and " "concurrent asynchronous library, which can be used for writing non-blocking " -"network code. The third-party `Twisted `_ " -"library is a popular and feature-rich alternative." +"network code. The third-party `Twisted `_ library is a " +"popular and feature-rich alternative." msgstr "" #: faq/library.rst:788 diff --git a/faq/programming.po b/faq/programming.po index 4ff1ceb3d..1ff3cb1e7 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -119,9 +119,9 @@ msgstr "" #: faq/programming.rst:64 msgid "" -"Static type checkers such as `Mypy `_, `Pyre `_, and `Pytype `_ can " -"check type hints in Python source code." +"Static type checkers such as `Mypy `_, `Pyre " +"`_, and `Pytype `_ can check type hints in Python source code." msgstr "" #: faq/programming.rst:73 @@ -2372,3 +2372,19 @@ msgid "" "The nature of the problem is made clear if you print out the \"identity\" of " "the class objects::" msgstr "" + +#: faq/programming.rst:408 +msgid "argument" +msgstr "" + +#: faq/programming.rst:408 +msgid "difference from parameter" +msgstr "" + +#: faq/programming.rst:408 +msgid "parameter" +msgstr "" + +#: faq/programming.rst:408 +msgid "difference from argument" +msgstr "" diff --git a/glossary.po b/glossary.po index 6b8cfac5f..f99466a00 100644 --- a/glossary.po +++ b/glossary.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2022-12-28 16:12-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1840,7 +1840,7 @@ msgstr "" msgid "More information can be found in :ref:`metaclasses`." msgstr "Daha fazla bilgi :ref:`metaclasses` içinde bulunabilir." -#: glossary.rst:788 +#: glossary.rst:1120 msgid "method" msgstr "metot" @@ -2864,6 +2864,25 @@ msgstr "" "felsefelerinin listesi. Liste, etkileşimli komut isteminde \"``import " "this``\" yazarak bulunabilir." +#: glossary.rst:263 +#, fuzzy +msgid "C-contiguous" +msgstr "bitişik" + +#: glossary.rst:263 +#, fuzzy +msgid "Fortran contiguous" +msgstr "bitişik" + +#: glossary.rst:756 +msgid "magic" +msgstr "" + +#: glossary.rst:1120 +#, fuzzy +msgid "special" +msgstr "özel metod" + #~ msgid "coercion" #~ msgstr "zorlama" diff --git a/howto/argparse.po b/howto/argparse.po index 0e4fddb40..8de92d4ec 100644 --- a/howto/argparse.po +++ b/howto/argparse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -16,7 +16,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: howto/argparse.rst:3 +#: howto/argparse.rst:5 msgid "Argparse Tutorial" msgstr "" @@ -24,45 +24,45 @@ msgstr "" msgid "author" msgstr "" -#: howto/argparse.rst:5 +#: howto/argparse.rst:7 msgid "Tshepang Lekhonkhobe" msgstr "" -#: howto/argparse.rst:9 +#: howto/argparse.rst:11 msgid "" "This tutorial is intended to be a gentle introduction to :mod:`argparse`, " "the recommended command-line parsing module in the Python standard library." msgstr "" -#: howto/argparse.rst:14 +#: howto/argparse.rst:16 msgid "" "There are two other modules that fulfill the same task, namely :mod:`getopt` " -"(an equivalent for :c:func:`getopt` from the C language) and the deprecated :" -"mod:`optparse`. Note also that :mod:`argparse` is based on :mod:`optparse`, " -"and therefore very similar in terms of usage." +"(an equivalent for ``getopt()`` from the C language) and the deprecated :mod:" +"`optparse`. Note also that :mod:`argparse` is based on :mod:`optparse`, and " +"therefore very similar in terms of usage." msgstr "" -#: howto/argparse.rst:22 +#: howto/argparse.rst:24 msgid "Concepts" msgstr "" -#: howto/argparse.rst:24 +#: howto/argparse.rst:26 msgid "" "Let's show the sort of functionality that we are going to explore in this " "introductory tutorial by making use of the :command:`ls` command:" msgstr "" -#: howto/argparse.rst:46 +#: howto/argparse.rst:48 msgid "A few concepts we can learn from the four commands:" msgstr "" -#: howto/argparse.rst:48 +#: howto/argparse.rst:50 msgid "" "The :command:`ls` command is useful when run without any options at all. It " "defaults to displaying the contents of the current directory." msgstr "" -#: howto/argparse.rst:51 +#: howto/argparse.rst:53 msgid "" "If we want beyond what it provides by default, we tell it a bit more. In " "this case, we want it to display a different directory, ``pypy``. What we " @@ -74,49 +74,49 @@ msgid "" "want it copied to*." msgstr "" -#: howto/argparse.rst:60 +#: howto/argparse.rst:62 msgid "" "Now, say we want to change behaviour of the program. In our example, we " "display more info for each file instead of just showing the file names. The " "``-l`` in that case is known as an optional argument." msgstr "" -#: howto/argparse.rst:64 +#: howto/argparse.rst:66 msgid "" "That's a snippet of the help text. It's very useful in that you can come " "across a program you have never used before, and can figure out how it works " "simply by reading its help text." msgstr "" -#: howto/argparse.rst:70 +#: howto/argparse.rst:72 msgid "The basics" msgstr "" -#: howto/argparse.rst:72 +#: howto/argparse.rst:74 msgid "Let us start with a very simple example which does (almost) nothing::" msgstr "" -#: howto/argparse.rst:186 howto/argparse.rst:207 +#: howto/argparse.rst:188 howto/argparse.rst:209 msgid "Following is a result of running the code:" msgstr "" -#: howto/argparse.rst:252 howto/argparse.rst:296 +#: howto/argparse.rst:254 howto/argparse.rst:298 msgid "Here is what is happening:" msgstr "" -#: howto/argparse.rst:97 +#: howto/argparse.rst:99 msgid "" "Running the script without any options results in nothing displayed to " "stdout. Not so useful." msgstr "" -#: howto/argparse.rst:100 +#: howto/argparse.rst:102 msgid "" "The second one starts to display the usefulness of the :mod:`argparse` " "module. We have done almost nothing, but already we get a nice help message." msgstr "" -#: howto/argparse.rst:103 +#: howto/argparse.rst:105 msgid "" "The ``--help`` option, which can also be shortened to ``-h``, is the only " "option we get for free (i.e. no need to specify it). Specifying anything " @@ -124,40 +124,41 @@ msgid "" "also for free." msgstr "" -#: howto/argparse.rst:110 +#: howto/argparse.rst:112 msgid "Introducing Positional arguments" msgstr "" -#: howto/argparse.rst:112 +#: howto/argparse.rst:114 msgid "An example::" msgstr "" -#: howto/argparse.rst:120 +#: howto/argparse.rst:122 msgid "And running the code:" msgstr "" -#: howto/argparse.rst:138 +#: howto/argparse.rst:140 msgid "Here is what's happening:" msgstr "" -#: howto/argparse.rst:140 +#: howto/argparse.rst:142 msgid "" -"We've added the :meth:`add_argument` method, which is what we use to specify " -"which command-line options the program is willing to accept. In this case, " -"I've named it ``echo`` so that it's in line with its function." +"We've added the :meth:`~ArgumentParser.add_argument` method, which is what " +"we use to specify which command-line options the program is willing to " +"accept. In this case, I've named it ``echo`` so that it's in line with its " +"function." msgstr "" -#: howto/argparse.rst:144 +#: howto/argparse.rst:146 msgid "Calling our program now requires us to specify an option." msgstr "" -#: howto/argparse.rst:146 +#: howto/argparse.rst:148 msgid "" -"The :meth:`parse_args` method actually returns some data from the options " -"specified, in this case, ``echo``." +"The :meth:`~ArgumentParser.parse_args` method actually returns some data " +"from the options specified, in this case, ``echo``." msgstr "" -#: howto/argparse.rst:149 +#: howto/argparse.rst:151 msgid "" "The variable is some form of 'magic' that :mod:`argparse` performs for free " "(i.e. no need to specify which variable that value is stored in). You will " @@ -165,7 +166,7 @@ msgid "" "``echo``." msgstr "" -#: howto/argparse.rst:154 +#: howto/argparse.rst:156 msgid "" "Note however that, although the help display looks nice and all, it " "currently is not as helpful as it can be. For example we see that we got " @@ -174,225 +175,225 @@ msgid "" "useful::" msgstr "" -#: howto/argparse.rst:165 +#: howto/argparse.rst:167 msgid "And we get:" msgstr "" -#: howto/argparse.rst:178 +#: howto/argparse.rst:180 msgid "Now, how about doing something even more useful::" msgstr "" -#: howto/argparse.rst:196 +#: howto/argparse.rst:198 msgid "" "That didn't go so well. That's because :mod:`argparse` treats the options we " "give it as strings, unless we tell it otherwise. So, let's tell :mod:" "`argparse` to treat that input as an integer::" msgstr "" -#: howto/argparse.rst:217 +#: howto/argparse.rst:219 msgid "" "That went well. The program now even helpfully quits on bad illegal input " "before proceeding." msgstr "" -#: howto/argparse.rst:222 +#: howto/argparse.rst:224 msgid "Introducing Optional arguments" msgstr "" -#: howto/argparse.rst:224 +#: howto/argparse.rst:226 msgid "" "So far we have been playing with positional arguments. Let us have a look on " "how to add optional ones::" msgstr "" -#: howto/argparse.rst:280 howto/argparse.rst:430 +#: howto/argparse.rst:282 howto/argparse.rst:432 msgid "And the output:" msgstr "" -#: howto/argparse.rst:254 +#: howto/argparse.rst:256 msgid "" "The program is written so as to display something when ``--verbosity`` is " "specified and display nothing when not." msgstr "" -#: howto/argparse.rst:257 +#: howto/argparse.rst:259 msgid "" "To show that the option is actually optional, there is no error when running " "the program without it. Note that by default, if an optional argument isn't " -"used, the relevant variable, in this case :attr:`args.verbosity`, is given " +"used, the relevant variable, in this case ``args.verbosity``, is given " "``None`` as a value, which is the reason it fails the truth test of the :" "keyword:`if` statement." msgstr "" -#: howto/argparse.rst:263 +#: howto/argparse.rst:265 msgid "The help message is a bit different." msgstr "" -#: howto/argparse.rst:265 +#: howto/argparse.rst:267 msgid "" "When using the ``--verbosity`` option, one must also specify some value, any " "value." msgstr "" -#: howto/argparse.rst:268 +#: howto/argparse.rst:270 msgid "" "The above example accepts arbitrary integer values for ``--verbosity``, but " "for our simple program, only two values are actually useful, ``True`` or " "``False``. Let's modify the code accordingly::" msgstr "" -#: howto/argparse.rst:298 +#: howto/argparse.rst:300 msgid "" "The option is now more of a flag than something that requires a value. We " "even changed the name of the option to match that idea. Note that we now " "specify a new keyword, ``action``, and give it the value ``\"store_true\"``. " -"This means that, if the option is specified, assign the value ``True`` to :" -"data:`args.verbose`. Not specifying it implies ``False``." +"This means that, if the option is specified, assign the value ``True`` to " +"``args.verbose``. Not specifying it implies ``False``." msgstr "" -#: howto/argparse.rst:305 +#: howto/argparse.rst:307 msgid "" "It complains when you specify a value, in true spirit of what flags actually " "are." msgstr "" -#: howto/argparse.rst:308 +#: howto/argparse.rst:310 msgid "Notice the different help text." msgstr "" -#: howto/argparse.rst:312 +#: howto/argparse.rst:314 msgid "Short options" msgstr "" -#: howto/argparse.rst:314 +#: howto/argparse.rst:316 msgid "" "If you are familiar with command line usage, you will notice that I haven't " "yet touched on the topic of short versions of the options. It's quite " "simple::" msgstr "" -#: howto/argparse.rst:326 +#: howto/argparse.rst:328 msgid "And here goes:" msgstr "" -#: howto/argparse.rst:339 +#: howto/argparse.rst:341 msgid "Note that the new ability is also reflected in the help text." msgstr "" -#: howto/argparse.rst:343 +#: howto/argparse.rst:345 msgid "Combining Positional and Optional arguments" msgstr "" -#: howto/argparse.rst:345 +#: howto/argparse.rst:347 msgid "Our program keeps growing in complexity::" msgstr "" -#: howto/argparse.rst:360 +#: howto/argparse.rst:362 msgid "And now the output:" msgstr "" -#: howto/argparse.rst:374 +#: howto/argparse.rst:376 msgid "We've brought back a positional argument, hence the complaint." msgstr "" -#: howto/argparse.rst:376 +#: howto/argparse.rst:378 msgid "Note that the order does not matter." msgstr "" -#: howto/argparse.rst:378 +#: howto/argparse.rst:380 msgid "" "How about we give this program of ours back the ability to have multiple " "verbosity values, and actually get to use them::" msgstr "" -#: howto/argparse.rst:412 +#: howto/argparse.rst:414 msgid "" "These all look good except the last one, which exposes a bug in our program. " "Let's fix it by restricting the values the ``--verbosity`` option can " "accept::" msgstr "" -#: howto/argparse.rst:448 +#: howto/argparse.rst:450 msgid "" "Note that the change also reflects both in the error message as well as the " "help string." msgstr "" -#: howto/argparse.rst:451 +#: howto/argparse.rst:453 msgid "" "Now, let's use a different approach of playing with verbosity, which is " "pretty common. It also matches the way the CPython executable handles its " "own verbosity argument (check the output of ``python --help``)::" msgstr "" -#: howto/argparse.rst:470 +#: howto/argparse.rst:472 msgid "" "We have introduced another action, \"count\", to count the number of " "occurrences of specific options." msgstr "" -#: howto/argparse.rst:499 +#: howto/argparse.rst:501 msgid "" "Yes, it's now more of a flag (similar to ``action=\"store_true\"``) in the " "previous version of our script. That should explain the complaint." msgstr "" -#: howto/argparse.rst:502 +#: howto/argparse.rst:504 msgid "It also behaves similar to \"store_true\" action." msgstr "" -#: howto/argparse.rst:504 +#: howto/argparse.rst:506 msgid "" "Now here's a demonstration of what the \"count\" action gives. You've " "probably seen this sort of usage before." msgstr "" -#: howto/argparse.rst:507 +#: howto/argparse.rst:509 msgid "" "And if you don't specify the ``-v`` flag, that flag is considered to have " "``None`` value." msgstr "" -#: howto/argparse.rst:510 +#: howto/argparse.rst:512 msgid "" "As should be expected, specifying the long form of the flag, we should get " "the same output." msgstr "" -#: howto/argparse.rst:513 +#: howto/argparse.rst:515 msgid "" "Sadly, our help output isn't very informative on the new ability our script " "has acquired, but that can always be fixed by improving the documentation " "for our script (e.g. via the ``help`` keyword argument)." msgstr "" -#: howto/argparse.rst:517 +#: howto/argparse.rst:519 msgid "That last output exposes a bug in our program." msgstr "" -#: howto/argparse.rst:520 +#: howto/argparse.rst:522 msgid "Let's fix::" msgstr "" -#: howto/argparse.rst:539 +#: howto/argparse.rst:541 msgid "And this is what it gives:" msgstr "" -#: howto/argparse.rst:554 +#: howto/argparse.rst:556 msgid "" "First output went well, and fixes the bug we had before. That is, we want " "any value >= 2 to be as verbose as possible." msgstr "" -#: howto/argparse.rst:557 +#: howto/argparse.rst:559 msgid "Third output not so good." msgstr "" -#: howto/argparse.rst:559 +#: howto/argparse.rst:561 msgid "Let's fix that bug::" msgstr "" -#: howto/argparse.rst:576 +#: howto/argparse.rst:578 msgid "" "We've just introduced yet another keyword, ``default``. We've set it to " "``0`` in order to make it comparable to the other int values. Remember that " @@ -401,83 +402,83 @@ msgid "" "`TypeError` exception)." msgstr "" -#: howto/argparse.rst:583 +#: howto/argparse.rst:585 msgid "And:" msgstr "" -#: howto/argparse.rst:590 +#: howto/argparse.rst:592 msgid "" "You can go quite far just with what we've learned so far, and we have only " "scratched the surface. The :mod:`argparse` module is very powerful, and " "we'll explore a bit more of it before we end this tutorial." msgstr "" -#: howto/argparse.rst:597 +#: howto/argparse.rst:599 msgid "Getting a little more advanced" msgstr "" -#: howto/argparse.rst:599 +#: howto/argparse.rst:601 msgid "" "What if we wanted to expand our tiny program to perform other powers, not " "just squares::" msgstr "" -#: howto/argparse.rst:654 +#: howto/argparse.rst:656 msgid "Output:" msgstr "" -#: howto/argparse.rst:637 +#: howto/argparse.rst:639 msgid "" "Notice that so far we've been using verbosity level to *change* the text " "that gets displayed. The following example instead uses verbosity level to " "display *more* text instead::" msgstr "" -#: howto/argparse.rst:668 +#: howto/argparse.rst:670 msgid "Conflicting options" msgstr "" -#: howto/argparse.rst:670 +#: howto/argparse.rst:672 msgid "" "So far, we have been working with two methods of an :class:`argparse." "ArgumentParser` instance. Let's introduce a third one, :meth:" -"`add_mutually_exclusive_group`. It allows for us to specify options that " -"conflict with each other. Let's also change the rest of the program so that " -"the new functionality makes more sense: we'll introduce the ``--quiet`` " -"option, which will be the opposite of the ``--verbose`` one::" +"`~ArgumentParser.add_mutually_exclusive_group`. It allows for us to specify " +"options that conflict with each other. Let's also change the rest of the " +"program so that the new functionality makes more sense: we'll introduce the " +"``--quiet`` option, which will be the opposite of the ``--verbose`` one::" msgstr "" -#: howto/argparse.rst:696 +#: howto/argparse.rst:698 msgid "" "Our program is now simpler, and we've lost some functionality for the sake " "of demonstration. Anyways, here's the output:" msgstr "" -#: howto/argparse.rst:714 +#: howto/argparse.rst:716 msgid "" "That should be easy to follow. I've added that last output so you can see " "the sort of flexibility you get, i.e. mixing long form options with short " "form ones." msgstr "" -#: howto/argparse.rst:718 +#: howto/argparse.rst:720 msgid "" "Before we conclude, you probably want to tell your users the main purpose of " "your program, just in case they don't know::" msgstr "" -#: howto/argparse.rst:739 +#: howto/argparse.rst:741 msgid "" "Note that slight difference in the usage text. Note the ``[-v | -q]``, which " "tells us that we can either use ``-v`` or ``-q``, but not both at the same " "time:" msgstr "" -#: howto/argparse.rst:761 +#: howto/argparse.rst:763 msgid "Conclusion" msgstr "" -#: howto/argparse.rst:763 +#: howto/argparse.rst:765 msgid "" "The :mod:`argparse` module offers a lot more than shown here. Its docs are " "quite detailed and thorough, and full of examples. Having gone through this " diff --git a/howto/clinic.po b/howto/clinic.po index 289b5d3f1..b1cd4f8d9 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2023-05-02 01:31+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1206,7 +1206,7 @@ msgstr "" "anahtar sözcüktür. Tüm Argüman Kliniği dönüştürücüleri aşağıdaki bağımsız " "değişkenleri kabul eder:" -#: howto/clinic.rst:1313 +#: howto/clinic.rst:1328 msgid "``c_default``" msgstr "``c_default``" @@ -1277,7 +1277,7 @@ msgstr "" "tamsayı değeri, negatif değerler için bile herhangi bir aralık kontrolü " "yapılmadan parametreye yazılacaktır." -#: howto/clinic.rst:1327 +#: howto/clinic.rst:1342 msgid "``converter``" msgstr "``converter``" @@ -1316,7 +1316,7 @@ msgstr "" "Yalnızca ``object`` dönüştürücü için desteklenir. Python değerinin C'de " "ifade edildiği gibi bir Python türünün alt sınıfı olmasını gerektirir." -#: howto/clinic.rst:1299 +#: howto/clinic.rst:1314 msgid "``type``" msgstr "``type``" @@ -1984,13 +1984,14 @@ msgid "Using a return converter" msgstr "Dönüş dönüştürücüsü kullanma" #: howto/clinic.rst:1028 +#, fuzzy msgid "" -"By default the impl function Argument Clinic generates for you returns " -"``PyObject *``. But your C function often computes some C type, then " -"converts it into the ``PyObject *`` at the last moment. Argument Clinic " -"handles converting your inputs from Python types into native C types—why not " -"have it convert your return value from a native C type into a Python type " -"too?" +"By default, the impl function Argument Clinic generates for you returns :c:" +"type:`PyObject * `. But your C function often computes some C " +"type, then converts it into the :c:type:`!PyObject *` at the last moment. " +"Argument Clinic handles converting your inputs from Python types into native " +"C types—why not have it convert your return value from a native C type into " +"a Python type too?" msgstr "" "Argüman Kliniği'nin sizin için oluşturduğu impl fonksiyonu varsayılan olarak " "``PyObject *`` döndürür. Ancak C fonksiyonunuz genellikle bir C tipini " @@ -1998,24 +1999,23 @@ msgstr "" "girdilerinizi Python türlerinden yerel C türlerine dönüştürür - neden dönüş " "değerinizi de yerel bir C türünden bir Python türüne dönüştürmesin?" -#: howto/clinic.rst:1034 +#: howto/clinic.rst:1036 +#, fuzzy msgid "" "That's what a \"return converter\" does. It changes your impl function to " "return some C type, then adds code to the generated (non-impl) function to " -"handle converting that value into the appropriate ``PyObject *``." +"handle converting that value into the appropriate :c:type:`!PyObject *`." msgstr "" "\"Dönüş dönüştürücüsü\" de bunu yapar. Bir C tipi döndürmek için impl " "fonksiyonunuzu değiştirir, ardından bu değeri uygun ``PyObject *``'e " "dönüştürmek için oluşturulan (impl olmayan) fonksiyona kod ekler." -#: howto/clinic.rst:1038 +#: howto/clinic.rst:1040 +#, fuzzy msgid "" "The syntax for return converters is similar to that of parameter converters. " "You specify the return converter like it was a return annotation on the " -"function itself. Return converters behave much the same as parameter " -"converters; they take arguments, the arguments are all keyword-only, and if " -"you're not changing any of the default arguments you can omit the " -"parentheses." +"function itself, using ``->`` notation." msgstr "" "Dönüş dönüştürücüleri için sözdizimi parametre dönüştürücülerine benzer. " "Dönüş dönüştürücüsünü fonksiyonun kendisindeki bir dönüş ek açıklaması gibi " @@ -2025,6 +2025,25 @@ msgstr "" "parantezleri atlayabilirsiniz." #: howto/clinic.rst:1044 +#, fuzzy +msgid "For example:" +msgstr "Örnek::" + +#: howto/clinic.rst:1057 +#, fuzzy +msgid "" +"Return converters behave much the same as parameter converters; they take " +"arguments, the arguments are all keyword-only, and if you're not changing " +"any of the default arguments you can omit the parentheses." +msgstr "" +"Dönüş dönüştürücüleri için sözdizimi parametre dönüştürücülerine benzer. " +"Dönüş dönüştürücüsünü fonksiyonun kendisindeki bir dönüş ek açıklaması gibi " +"belirtirsiniz. Dönüş dönüştürücüleri parametre dönüştürücüleriyle aynı " +"şekilde davranır; argüman alırlar, argümanların tümü yalnızca anahtar " +"sözcüktür ve varsayılan argümanlardan herhangi birini değiştirmiyorsanız " +"parantezleri atlayabilirsiniz." + +#: howto/clinic.rst:1061 msgid "" "(If you use both ``\"as\"`` *and* a return converter for your function, the " "``\"as\"`` should come before the return converter.)" @@ -2032,7 +2051,7 @@ msgstr "" "(Fonksiyonunuz için hem ``\"as\"`` * hem de * return dönüştürücü " "kullanıyorsanız, ``\"as\"`` return dönüştürücüden önce gelmelidir.)" -#: howto/clinic.rst:1047 +#: howto/clinic.rst:1064 msgid "" "There's one additional complication when using return converters: how do you " "indicate an error has occurred? Normally, a function returns a valid (non-" @@ -2055,23 +2074,19 @@ msgstr "" "yayacaktır. Aksi takdirde, döndürdüğünüz değeri normal şekilde " "kodlayacaktır." -#: howto/clinic.rst:1056 +#: howto/clinic.rst:1073 msgid "Currently Argument Clinic supports only a few return converters:" msgstr "" "Şu anda Argüman Kliniği yalnızca birkaç dönüş dönüştürücüsünü " "desteklemektedir:" -#: howto/clinic.rst:1071 +#: howto/clinic.rst:1087 msgid "" -"None of these take parameters. For the first three, return -1 to indicate " -"error. For ``DecodeFSDefault``, the return type is ``const char *``; return " -"a ``NULL`` pointer to indicate an error." +"None of these take parameters. For all of these, return ``-1`` to indicate " +"error." msgstr "" -"Bunların hiçbiri parametre almaz. İlk üçü için, hatayı belirtmek üzere -1 " -"döndürülür. ``DecodeFSDefault`` için dönüş türü ``const char *``'dır; bir " -"hata belirtmek için ``NULL`` işaretçisi döndürür." -#: howto/clinic.rst:1075 +#: howto/clinic.rst:1090 msgid "" "(There's also an experimental ``NoneType`` converter, which lets you return " "``Py_None`` on success or ``NULL`` on failure, without having to increment " @@ -2083,7 +2098,7 @@ msgstr "" "sağlayan deneysel bir ``NoneType`` dönüştürücü de vardır. Kullanmaya " "değecek kadar netlik kattığından emin değilim.)" -#: howto/clinic.rst:1080 +#: howto/clinic.rst:1095 msgid "" "To see all the return converters Argument Clinic supports, along with their " "parameters (if any), just run ``Tools/clinic/clinic.py --converters`` for " @@ -2093,11 +2108,11 @@ msgstr "" "parametreleriyle (varsa) birlikte görmek için, tam liste için ``Tools/clinic/" "clinic.py --converters`` komutunu çalıştırmanız yeterlidir." -#: howto/clinic.rst:1086 +#: howto/clinic.rst:1101 msgid "Cloning existing functions" msgstr "Mevcut fonksiyonları klonlama" -#: howto/clinic.rst:1088 +#: howto/clinic.rst:1103 msgid "" "If you have a number of functions that look similar, you may be able to use " "Clinic's \"clone\" feature. When you clone an existing function, you reuse:" @@ -2106,27 +2121,27 @@ msgstr "" "özelliğini kullanabilirsiniz. Mevcut bir işlevi klonladığınızda, yeniden " "kullanırsınız:" -#: howto/clinic.rst:1092 +#: howto/clinic.rst:1107 msgid "its parameters, including" msgstr "parametreleri, dahil olmak üzere" -#: howto/clinic.rst:1094 +#: howto/clinic.rst:1109 msgid "their names," msgstr "isimleri," -#: howto/clinic.rst:1096 +#: howto/clinic.rst:1111 msgid "their converters, with all parameters," msgstr "dönüştürücüleri, tüm parametrelerle birlikte," -#: howto/clinic.rst:1098 +#: howto/clinic.rst:1113 msgid "their default values," msgstr "varsayılan değerleri," -#: howto/clinic.rst:1100 +#: howto/clinic.rst:1115 msgid "their per-parameter docstrings," msgstr "parametre başına dokümanları," -#: howto/clinic.rst:1102 +#: howto/clinic.rst:1117 msgid "" "their *kind* (whether they're positional only, positional or keyword, or " "keyword only), and" @@ -2134,11 +2149,11 @@ msgstr "" "türleri* (yalnızca konumsal, konumsal veya anahtar sözcük ya da yalnızca " "anahtar sözcük olup olmadıkları) ve" -#: howto/clinic.rst:1105 +#: howto/clinic.rst:1120 msgid "its return converter." msgstr "dönüş dönüştürücüsü." -#: howto/clinic.rst:1107 +#: howto/clinic.rst:1122 msgid "" "The only thing not copied from the original function is its docstring; the " "syntax allows you to specify a new docstring." @@ -2146,11 +2161,11 @@ msgstr "" "Orijinal fonksiyondan kopyalanmayan tek şey onun docstring'idir; sözdizimi " "yeni bir docstring belirtmenize izin verir." -#: howto/clinic.rst:1110 +#: howto/clinic.rst:1125 msgid "Here's the syntax for cloning a function::" msgstr "Bir fonksiyonu klonlamak için sözdizimi şöyledir::" -#: howto/clinic.rst:1118 +#: howto/clinic.rst:1133 msgid "" "(The functions can be in different modules or classes. I wrote ``module." "class`` in the sample just to illustrate that you must use the full path to " @@ -2160,7 +2175,7 @@ msgstr "" "class`` yazdım, sadece *her iki* fonksiyon için de tam yolu kullanmanız " "gerektiğini göstermek için.)" -#: howto/clinic.rst:1122 +#: howto/clinic.rst:1137 msgid "" "Sorry, there's no syntax for partially cloning a function, or cloning a " "function then modifying it. Cloning is an all-or nothing proposition." @@ -2169,7 +2184,7 @@ msgstr "" "sonra değiştirmek için bir sözdizimi yoktur. Klonlama bir ya hep ya hiç " "önermesidir." -#: howto/clinic.rst:1125 +#: howto/clinic.rst:1140 msgid "" "Also, the function you are cloning from must have been previously defined in " "the current file." @@ -2177,11 +2192,11 @@ msgstr "" "Ayrıca, klonladığınız fonksiyonun mevcut dosyada daha önce tanımlanmış " "olması gerekir." -#: howto/clinic.rst:1129 +#: howto/clinic.rst:1144 msgid "Calling Python code" msgstr "Python kodunu çağırma" -#: howto/clinic.rst:1131 +#: howto/clinic.rst:1146 msgid "" "The rest of the advanced topics require you to write Python code which lives " "inside your C file and modifies Argument Clinic's runtime state. This is " @@ -2191,7 +2206,7 @@ msgstr "" "Kliniği'nin çalışma zamanı durumunu değiştiren Python kodu yazmanızı " "gerektirir. Bu basittir: sadece bir Python bloğu tanımlarsınız." -#: howto/clinic.rst:1135 +#: howto/clinic.rst:1150 msgid "" "A Python block uses different delimiter lines than an Argument Clinic " "function block. It looks like this::" @@ -2199,7 +2214,7 @@ msgstr "" "Bir Python bloğu, Argüman Kliniği işlev bloğundan farklı sınırlayıcı " "satırlar kullanır. Şöyle görünür::" -#: howto/clinic.rst:1142 +#: howto/clinic.rst:1157 msgid "" "All the code inside the Python block is executed at the time it's parsed. " "All text written to stdout inside the block is redirected into the " @@ -2208,7 +2223,7 @@ msgstr "" "Python bloğunun içindeki tüm kod ayrıştırıldığı anda çalıştırılır. Blok " "içinde stdout'a yazılan tüm metin, bloktan sonra \"çıktı \"ya yönlendirilir." -#: howto/clinic.rst:1146 +#: howto/clinic.rst:1161 msgid "" "As an example, here's a Python block that adds a static integer variable to " "the C code::" @@ -2216,11 +2231,11 @@ msgstr "" "Örnek olarak, işte C koduna statik bir tamsayı değişkeni ekleyen bir Python " "bloğu::" -#: howto/clinic.rst:1157 +#: howto/clinic.rst:1172 msgid "Using a \"self converter\"" msgstr "\"Kendi kendine dönüştürücü\" kullanma" -#: howto/clinic.rst:1159 +#: howto/clinic.rst:1174 msgid "" "Argument Clinic automatically adds a \"self\" parameter for you using a " "default converter. It automatically sets the ``type`` of this parameter to " @@ -2239,7 +2254,7 @@ msgstr "" "dönüştürücüsünün ``self_converter`` veya onun bir alt sınıfının bir örneği " "olduğundan emin olun." -#: howto/clinic.rst:1168 +#: howto/clinic.rst:1183 msgid "" "What's the point? This lets you override the type of ``self``, or give it a " "different default name." @@ -2247,7 +2262,7 @@ msgstr "" "Ne anlamı var? Bu, ``self`` türünü geçersiz kılmanıza veya ona farklı bir " "varsayılan ad vermenize olanak tanır." -#: howto/clinic.rst:1171 +#: howto/clinic.rst:1186 msgid "" "How do you specify the custom type you want to cast ``self`` to? If you only " "have one or two functions with the same type for ``self``, you can directly " @@ -2259,7 +2274,7 @@ msgstr "" "kullanmak istediğiniz tipi ``type`` parametresi olarak girerek Argüman " "Kliniğinin mevcut ``self`` dönüştürücüsünü doğrudan kullanabilirsiniz::" -#: howto/clinic.rst:1187 +#: howto/clinic.rst:1202 msgid "" "On the other hand, if you have a lot of functions that will use the same " "type for ``self``, it's best to create your own converter, subclassing " @@ -2269,11 +2284,11 @@ msgstr "" "en iyisi ``self_converter`` alt sınıfını kullanarak, ancak ``type`` üyesinin " "üzerine yazarak kendi dönüştürücünüzü oluşturmaktır::" -#: howto/clinic.rst:1209 +#: howto/clinic.rst:1224 msgid "Using a \"defining class\" converter" msgstr "\"Sınıf tanımlama\" dönüştürücüsü kullanma" -#: howto/clinic.rst:1211 +#: howto/clinic.rst:1226 msgid "" "Argument Clinic facilitates gaining access to the defining class of a " "method. This is useful for :ref:`heap type ` methods that need " @@ -2289,7 +2304,7 @@ msgstr "" "modül durumunu, örneğin bir modül yönteminden almak için tanımlayıcı sınıf " "üzerinde :c:func:`PyType_GetModuleState` kullanabilirsiniz." -#: howto/clinic.rst:1217 +#: howto/clinic.rst:1232 msgid "" "Example from ``Modules/zlibmodule.c``. First, ``defining_class`` is added " "to the clinic input::" @@ -2297,7 +2312,7 @@ msgstr "" "``Modules/zlibmodule.c`` den örnek. İlk olarak, ``defining_class`` klinik " "girdisine eklenir::" -#: howto/clinic.rst:1229 +#: howto/clinic.rst:1244 msgid "" "After running the Argument Clinic tool, the following function signature is " "generated::" @@ -2305,7 +2320,7 @@ msgstr "" "Argüman Kliniği aracını çalıştırdıktan sonra aşağıdaki fonksiyon imzası " "oluşturulur::" -#: howto/clinic.rst:1239 +#: howto/clinic.rst:1254 msgid "" "The following code can now use ``PyType_GetModuleState(cls)`` to fetch the " "module state::" @@ -2313,7 +2328,7 @@ msgstr "" "Aşağıdaki kod artık modül durumunu almak için ``PyType_GetModuleState(cls)`` " "kullanabilir::" -#: howto/clinic.rst:1245 +#: howto/clinic.rst:1260 msgid "" "Each method may only have one argument using this converter, and it must " "appear after ``self``, or, if ``self`` is not used, as the first argument. " @@ -2325,7 +2340,7 @@ msgstr "" "argüman olarak görünmelidir. Argüman ``PyTypeObject *`` tipinde olacaktır. " "Argüman ``__text_signature__`` içinde görünmeyecektir." -#: howto/clinic.rst:1250 +#: howto/clinic.rst:1265 msgid "" "The ``defining_class`` converter is not compatible with ``__init__`` and " "``__new__`` methods, which cannot use the ``METH_METHOD`` convention." @@ -2333,7 +2348,7 @@ msgstr "" "``defining_class`` dönüştürücüsü, ``METH_METHOD`` kuralını kullanamayan " "``__init__`` ve ``__new__`` yöntemleriyle uyumlu değildir." -#: howto/clinic.rst:1253 +#: howto/clinic.rst:1268 msgid "" "It is not possible to use ``defining_class`` with slot methods. In order to " "fetch the module state from such methods, use :c:func:" @@ -2347,15 +2362,15 @@ msgstr "" "`PyModule_GetState` kullanın. ``Modules/_threadmodule.c`` içindeki " "``setattro`` slot yönteminden örnek::" -#: howto/clinic.rst:1268 +#: howto/clinic.rst:1283 msgid "See also :pep:`573`." msgstr "Bkz: :pep:`573`." -#: howto/clinic.rst:1272 +#: howto/clinic.rst:1287 msgid "Writing a custom converter" msgstr "Özel bir dönüştürücü yazma" -#: howto/clinic.rst:1274 +#: howto/clinic.rst:1289 msgid "" "As we hinted at in the previous section... you can write your own " "converters! A converter is simply a Python class that inherits from " @@ -2369,7 +2384,7 @@ msgstr "" "kullanan bir parametreniz varsa, bu parametreyi birim ayrıştırmak, bir :c:" "func:`PyArg_ParseTuple` \"dönüştürücü işlevi\" çağırmak anlamına gelir." -#: howto/clinic.rst:1280 +#: howto/clinic.rst:1295 msgid "" "Your converter class should be named ``*something*_converter``. If the name " "follows this convention, then your converter class will be automatically " @@ -2382,7 +2397,7 @@ msgstr "" "kaydedilecektir; adı, ``_converter`` son eki çıkarılmış sınıfınızın adı " "olacaktır. (Bu bir meta sınıf ile gerçekleştirilir.)" -#: howto/clinic.rst:1286 +#: howto/clinic.rst:1301 msgid "" "You shouldn't subclass ``CConverter.__init__``. Instead, you should write a " "``converter_init()`` function. ``converter_init()`` always accepts a " @@ -2397,7 +2412,7 @@ msgstr "" "dönüştürücüye aktarılan tüm argümanlar ``converter_init()`` fonksiyonunuza " "aktarılacaktır." -#: howto/clinic.rst:1293 +#: howto/clinic.rst:1308 msgid "" "There are some additional members of ``CConverter`` you may wish to specify " "in your subclass. Here's the current list:" @@ -2405,7 +2420,7 @@ msgstr "" "Alt sınıfınızda belirtmek isteyebileceğiniz bazı ek ``CConverter`` üyeleri " "vardır. İşte mevcut liste:" -#: howto/clinic.rst:1297 +#: howto/clinic.rst:1312 msgid "" "The C type to use for this variable. ``type`` should be a Python string " "specifying the type, e.g. ``int``. If this is a pointer type, the type " @@ -2415,11 +2430,11 @@ msgstr "" "dizesi olmalıdır, örneğin ``int``. Eğer bu bir gösterici tipiyse, tip dizesi " "``' *'`` ile bitmelidir." -#: howto/clinic.rst:1303 +#: howto/clinic.rst:1318 msgid "``default``" msgstr "``default``" -#: howto/clinic.rst:1302 +#: howto/clinic.rst:1317 msgid "" "The Python default value for this parameter, as a Python value. Or the magic " "value ``unspecified`` if there is no default." @@ -2427,11 +2442,11 @@ msgstr "" "Bir Python değeri olarak bu parametre için Python varsayılan değeri. Veya " "varsayılan değer yoksa ``unspecified`` sihirli değeri." -#: howto/clinic.rst:1308 +#: howto/clinic.rst:1323 msgid "``py_default``" msgstr "``py_default``" -#: howto/clinic.rst:1306 +#: howto/clinic.rst:1321 msgid "" "``default`` as it should appear in Python code, as a string. Or ``None`` if " "there is no default." @@ -2439,7 +2454,7 @@ msgstr "" "``default`` Python kodunda görünmesi gerektiği gibi, bir string olarak. Veya " "varsayılan yoksa ``None``." -#: howto/clinic.rst:1311 +#: howto/clinic.rst:1326 msgid "" "``default`` as it should appear in C code, as a string. Or ``None`` if there " "is no default." @@ -2447,11 +2462,11 @@ msgstr "" "C kodunda görünmesi gerektiği gibi, bir dize olarak ``default``. Veya " "varsayılan yoksa ``None``." -#: howto/clinic.rst:1324 +#: howto/clinic.rst:1339 msgid "``c_ignored_default``" msgstr "``c_ignored_default``" -#: howto/clinic.rst:1316 +#: howto/clinic.rst:1331 msgid "" "The default value used to initialize the C variable when there is no " "default, but not specifying a default may result in an \"uninitialized " @@ -2469,15 +2484,15 @@ msgstr "" "derleyicisi başlatılmamış değerin \"kullanımından\" şikayet eder. Bu değer " "her zaman boş olmayan bir dize olmalıdır." -#: howto/clinic.rst:1327 +#: howto/clinic.rst:1342 msgid "The name of the C converter function, as a string." msgstr "C dönüştürücü işlevinin bir dize olarak adı." -#: howto/clinic.rst:1332 +#: howto/clinic.rst:1347 msgid "``impl_by_reference``" msgstr "``impl_by_reference``" -#: howto/clinic.rst:1330 +#: howto/clinic.rst:1345 msgid "" "A boolean value. If true, Argument Clinic will add a ``&`` in front of the " "name of the variable when passing it into the impl function." @@ -2485,11 +2500,11 @@ msgstr "" "Boolean bir değer. Eğer true ise, Argüman Kliniği değişkeni impl " "fonksiyonuna aktarırken değişkenin isminin önüne bir ``&`` ekler." -#: howto/clinic.rst:1338 +#: howto/clinic.rst:1353 msgid "``parse_by_reference``" msgstr "``parse_by_reference``" -#: howto/clinic.rst:1335 +#: howto/clinic.rst:1350 msgid "" "A boolean value. If true, Argument Clinic will add a ``&`` in front of the " "name of the variable when passing it into :c:func:`PyArg_ParseTuple`." @@ -2498,7 +2513,7 @@ msgstr "" "`PyArg_ParseTuple` içine aktarırken değişkenin isminin önüne bir ``&`` " "ekleyecektir." -#: howto/clinic.rst:1340 +#: howto/clinic.rst:1355 msgid "" "Here's the simplest example of a custom converter, from ``Modules/zlibmodule." "c``::" @@ -2506,7 +2521,7 @@ msgstr "" "İşte ``Modules/zlibmodule.c`` adresinden özel bir dönüştürücünün en basit " "örneği::" -#: howto/clinic.rst:1351 +#: howto/clinic.rst:1366 msgid "" "This block adds a converter to Argument Clinic named ``ssize_t``. " "Parameters declared as ``ssize_t`` will be declared as type :c:type:" @@ -2520,7 +2535,7 @@ msgstr "" "``ssize_t_converter`` dönüştürücü işlevini çağıracaktır. ``ssize_t`` " "değişkenleri otomatik olarak varsayılan değerleri destekler." -#: howto/clinic.rst:1357 +#: howto/clinic.rst:1372 msgid "" "More sophisticated custom converters can insert custom C code to handle " "initialization and cleanup. You can see more examples of custom converters " @@ -2531,11 +2546,11 @@ msgstr "" "fazla özel dönüştürücü örneği görebilirsiniz; ``CConverter`` dizesi için C " "dosyalarını grepleyin." -#: howto/clinic.rst:1363 +#: howto/clinic.rst:1378 msgid "Writing a custom return converter" msgstr "Özel bir dönüş dönüştürücü yazma" -#: howto/clinic.rst:1365 +#: howto/clinic.rst:1380 msgid "" "Writing a custom return converter is much like writing a custom converter. " "Except it's somewhat simpler, because return converters are themselves much " @@ -2545,7 +2560,7 @@ msgstr "" "benzer. Biraz basit olması dışında, çünkü geri dönüş dönüştürücülerinin " "kendileri çok daha basittir." -#: howto/clinic.rst:1369 +#: howto/clinic.rst:1384 msgid "" "Return converters must subclass ``CReturnConverter``. There are no examples " "yet of custom return converters, because they are not widely used yet. If " @@ -2559,11 +2574,11 @@ msgstr "" "lütfen ``Tools/clinic/clinic.py`` dosyasını, özellikle ``CReturnConverter`` " "ve tüm alt sınıflarının uygulamasını okuyun." -#: howto/clinic.rst:1377 +#: howto/clinic.rst:1392 msgid "METH_O and METH_NOARGS" msgstr "METH_O ve METH_NOARGS" -#: howto/clinic.rst:1379 +#: howto/clinic.rst:1394 msgid "" "To convert a function using ``METH_O``, make sure the function's single " "argument is using the ``object`` converter, and mark the arguments as " @@ -2573,7 +2588,7 @@ msgstr "" "argümanının ``object`` dönüştürücüsünü kullandığından emin olun ve " "argümanları sadece pozisyonel olarak işaretleyin::" -#: howto/clinic.rst:1391 +#: howto/clinic.rst:1406 msgid "" "To convert a function using ``METH_NOARGS``, just don't specify any " "arguments." @@ -2581,7 +2596,7 @@ msgstr "" "Bir fonksiyonu ``METH_NOARGS`` kullanarak dönüştürmek için herhangi bir " "argüman belirtmemeniz yeterlidir." -#: howto/clinic.rst:1394 +#: howto/clinic.rst:1409 msgid "" "You can still use a self converter, a return converter, and specify a " "``type`` argument to the object converter for ``METH_O``." @@ -2589,11 +2604,11 @@ msgstr "" "Yine de bir self dönüştürücü, bir return dönüştürücü kullanabilir ve " "``METH_O`` için nesne dönüştürücüye bir ``type`` argümanı belirtebilirsiniz." -#: howto/clinic.rst:1398 +#: howto/clinic.rst:1413 msgid "tp_new and tp_init functions" msgstr "tp_new ve tp_init fonksiyonları" -#: howto/clinic.rst:1400 +#: howto/clinic.rst:1415 msgid "" "You can convert ``tp_new`` and ``tp_init`` functions. Just name them " "``__new__`` or ``__init__`` as appropriate. Notes:" @@ -2602,7 +2617,7 @@ msgstr "" "uygun şekilde ``__new__`` veya ``__init__`` olarak adlandırmanız " "yeterlidir. Notlar:" -#: howto/clinic.rst:1403 +#: howto/clinic.rst:1418 msgid "" "The function name generated for ``__new__`` doesn't end in ``__new__`` like " "it would by default. It's just the name of the class, converted into a " @@ -2612,19 +2627,19 @@ msgstr "" "``__new__`` ile bitmez. Bu sadece geçerli bir C tanımlayıcısına " "dönüştürülmüş sınıf adıdır." -#: howto/clinic.rst:1407 +#: howto/clinic.rst:1422 msgid "No ``PyMethodDef`` ``#define`` is generated for these functions." msgstr "Bu fonksiyonlar için ``PyMethodDef`` ``#define`` oluşturulmaz." -#: howto/clinic.rst:1409 +#: howto/clinic.rst:1424 msgid "``__init__`` functions return ``int``, not ``PyObject *``." msgstr "``__init__`` fonksiyonları ``PyObject *`` değil ``int`` döndürür." -#: howto/clinic.rst:1411 +#: howto/clinic.rst:1426 msgid "Use the docstring as the class docstring." msgstr "Doküman dizesini sınıf doküman dizesi olarak kullanın." -#: howto/clinic.rst:1413 +#: howto/clinic.rst:1428 msgid "" "Although ``__new__`` and ``__init__`` functions must always accept both the " "``args`` and ``kwargs`` objects, when converting you may specify any " @@ -2639,11 +2654,11 @@ msgstr "" "oluşturulan ayrıştırma işlevi herhangi bir anahtar sözcük alırsa bir istisna " "atacaktır)." -#: howto/clinic.rst:1420 +#: howto/clinic.rst:1435 msgid "Changing and redirecting Clinic's output" msgstr "Kliniğin çıktısını değiştirme ve yönlendirme" -#: howto/clinic.rst:1422 +#: howto/clinic.rst:1437 msgid "" "It can be inconvenient to have Clinic's output interspersed with your " "conventional hand-edited C code. Luckily, Clinic is configurable: you can " @@ -2657,7 +2672,7 @@ msgstr "" "tamponlayabilir veya çıktısını ayrı bir dosyaya yazabilirsiniz. Ayrıca " "Kliniğin ürettiği çıktının her satırına bir önek veya sonek ekleyebilirsiniz." -#: howto/clinic.rst:1428 +#: howto/clinic.rst:1443 msgid "" "While changing Clinic's output in this manner can be a boon to readability, " "it may result in Clinic code using types before they are defined, or your " @@ -2678,15 +2693,15 @@ msgstr "" "kullanımdan önce tanımlama sorunlarını düzeltmek için kodunuzu yeniden " "düzenlemenizi asla gerektirmez)." -#: howto/clinic.rst:1437 +#: howto/clinic.rst:1452 msgid "Let's start with defining some terminology:" msgstr "Bazı terminolojileri tanımlamakla başlayalım:" -#: howto/clinic.rst:1464 +#: howto/clinic.rst:1479 msgid "*field*" msgstr "*field*" -#: howto/clinic.rst:1440 +#: howto/clinic.rst:1455 msgid "" "A field, in this context, is a subsection of Clinic's output. For example, " "the ``#define`` for the ``PyMethodDef`` structure is a field, called " @@ -2698,7 +2713,7 @@ msgstr "" "adlandırılan bir alandır. Kliniğin fonksiyon tanımı başına çıktı " "verebileceği yedi farklı alan vardır:" -#: howto/clinic.rst:1455 +#: howto/clinic.rst:1470 msgid "" "All the names are of the form ``\"_\"``, where ``\"\"`` is the " "semantic object represented (the parsing function, the impl function, the " @@ -2719,11 +2734,11 @@ msgstr "" "tanımını temsil eder. (``\"methoddef\"`` özeldir, ``\"_define\"`` ile biten " "tek metottur, #define önişlemcisi olduğunu gösterir.)" -#: howto/clinic.rst:1498 +#: howto/clinic.rst:1513 msgid "*destination*" msgstr "*destination*" -#: howto/clinic.rst:1467 +#: howto/clinic.rst:1482 msgid "" "A destination is a place Clinic can write output to. There are five built-" "in destinations:" @@ -2731,21 +2746,21 @@ msgstr "" "Hedef, Kliniğin çıktı yazabileceği bir yerdir. Beş adet yerleşik hedef " "vardır:" -#: howto/clinic.rst:1547 howto/clinic.rst:1625 +#: howto/clinic.rst:1562 howto/clinic.rst:1640 msgid "``block``" msgstr "``block````block``" -#: howto/clinic.rst:1471 +#: howto/clinic.rst:1486 msgid "" "The default destination: printed in the output section of the current Clinic " "block." msgstr "Varsayılan hedef: geçerli Klinik bloğunun çıktı bölümünde yazdırılır." -#: howto/clinic.rst:1574 howto/clinic.rst:1628 +#: howto/clinic.rst:1589 howto/clinic.rst:1643 msgid "``buffer``" msgstr "``buffer``" -#: howto/clinic.rst:1475 +#: howto/clinic.rst:1490 msgid "" "A text buffer where you can save text for later. Text sent here is appended " "to the end of any existing text. It's an error to have any text left in the " @@ -2755,11 +2770,11 @@ msgstr "" "Buraya gönderilen metin, mevcut metnin sonuna eklenir. Klinik bir dosyayı " "işlemeyi bitirdiğinde tamponda herhangi bir metin kalması bir hatadır." -#: howto/clinic.rst:1560 howto/clinic.rst:1654 +#: howto/clinic.rst:1575 howto/clinic.rst:1669 msgid "``file``" msgstr "``file``" -#: howto/clinic.rst:1481 +#: howto/clinic.rst:1496 msgid "" "A separate \"clinic file\" that will be created automatically by Clinic. The " "filename chosen for the file is ``{basename}.clinic{extension}``, where " @@ -2773,7 +2788,7 @@ msgstr "" "path.splitext()`` çıktısına atanmıştır. (Örnek: ``_pickle.c`` için " "``dosya`` hedefi ``_pickle.clinic.c`` olarak yazılacaktır)." -#: howto/clinic.rst:1488 +#: howto/clinic.rst:1503 msgid "" "**Important: When using a** ``file`` **destination, you** *must check in* " "**the generated file!**" @@ -2781,11 +2796,11 @@ msgstr "" "**Önemli: Bir ** ``dosya`` **hedefi kullanırken, **oluşturulan dosyayı** " "**mutlaka** kontrol etmelisiniz!" -#: howto/clinic.rst:1587 howto/clinic.rst:1658 +#: howto/clinic.rst:1602 howto/clinic.rst:1673 msgid "``two-pass``" msgstr "``two-pass``" -#: howto/clinic.rst:1492 +#: howto/clinic.rst:1507 msgid "" "A buffer like ``buffer``. However, a two-pass buffer can only be dumped " "once, and it prints out all text sent to it during all processing, even from " @@ -2796,25 +2811,25 @@ msgstr "" "Klinik bloklardan bile tüm işlem sırasında kendisine gönderilen tüm metni " "yazdırır." -#: howto/clinic.rst:1621 +#: howto/clinic.rst:1636 msgid "``suppress``" msgstr "``suppress``" -#: howto/clinic.rst:1497 +#: howto/clinic.rst:1512 msgid "The text is suppressed—thrown away." msgstr "Metin bastırılmış, bir kenara atılmıştır." -#: howto/clinic.rst:1500 +#: howto/clinic.rst:1515 msgid "Clinic defines five new directives that let you reconfigure its output." msgstr "" "Klinik, çıktısını yeniden yapılandırmanıza olanak tanıyan beş yeni yönerge " "tanımlar." -#: howto/clinic.rst:1502 +#: howto/clinic.rst:1517 msgid "The first new directive is ``dump``:" msgstr "İlk yeni yönerge ``dump``:" -#: howto/clinic.rst:1508 +#: howto/clinic.rst:1523 msgid "" "This dumps the current contents of the named destination into the output of " "the current block, and empties it. This only works with ``buffer`` and " @@ -2823,14 +2838,14 @@ msgstr "" "Bu, adlandırılmış hedefin mevcut içeriğini geçerli bloğun çıktısına döker ve " "boşaltır. Bu sadece ``buffer`` ve ``two-pass`` hedefleri ile çalışır." -#: howto/clinic.rst:1512 +#: howto/clinic.rst:1527 msgid "" "The second new directive is ``output``. The most basic form of ``output`` " "is like this:" msgstr "" "İkinci yeni yönerge ise ``output``. En temel ``output`` biçimi şöyledir:" -#: howto/clinic.rst:1519 +#: howto/clinic.rst:1534 msgid "" "This tells Clinic to output *field* to *destination*. ``output`` also " "supports a special meta-destination, called ``everything``, which tells " @@ -2840,11 +2855,11 @@ msgstr "" "``everything`` adı verilen ve Kliniğe *tüm* alanların çıktısını bu *hedefe* " "vermesini söyleyen özel bir meta hedefi de destekler." -#: howto/clinic.rst:1523 +#: howto/clinic.rst:1538 msgid "``output`` has a number of other functions:" msgstr "``output`` bir dizi başka işleve sahiptir:" -#: howto/clinic.rst:1532 +#: howto/clinic.rst:1547 msgid "" "``output push`` and ``output pop`` allow you to push and pop configurations " "on an internal configuration stack, so that you can temporarily modify the " @@ -2859,7 +2874,7 @@ msgstr "" "kaydetmek için değişikliğinizden önce push yapmanız, ardından önceki " "yapılandırmayı geri yüklemek istediğinizde pop yapmanız yeterlidir." -#: howto/clinic.rst:1539 +#: howto/clinic.rst:1554 msgid "" "``output preset`` sets Clinic's output to one of several built-in preset " "configurations, as follows:" @@ -2867,7 +2882,7 @@ msgstr "" "``output preset`` Kliniğin çıkışını aşağıdaki gibi çeşitli yerleşik ön ayar " "yapılandırmalarından birine ayarlar:" -#: howto/clinic.rst:1543 +#: howto/clinic.rst:1558 msgid "" "Clinic's original starting configuration. Writes everything immediately " "after the input block." @@ -2875,7 +2890,7 @@ msgstr "" "Kliniğin orijinal başlangıç yapılandırması. Giriş bloğundan hemen sonra her " "şeyi yazar." -#: howto/clinic.rst:1546 +#: howto/clinic.rst:1561 msgid "" "Suppress the ``parser_prototype`` and ``docstring_prototype``, write " "everything else to ``block``." @@ -2883,7 +2898,7 @@ msgstr "" "Suppress the ``parser_prototype`` and ``docstring_prototype``, write " "everything else to ``block``." -#: howto/clinic.rst:1550 +#: howto/clinic.rst:1565 msgid "" "Designed to write everything to the \"clinic file\" that it can. You then " "``#include`` this file near the top of your file. You may need to rearrange " @@ -2896,7 +2911,7 @@ msgstr "" "genellikle bu sadece çeşitli ``typedef`` ve ``PyTypeObject`` tanımları için " "ileri bildirimler oluşturmak anlamına gelir." -#: howto/clinic.rst:1556 +#: howto/clinic.rst:1571 msgid "" "Suppress the ``parser_prototype`` and ``docstring_prototype``, write the " "``impl_definition`` to ``block``, and write everything else to ``file``." @@ -2905,12 +2920,12 @@ msgstr "" "``impl_definition`` öğesini ``block`` öğesine yazın ve diğer her şeyi " "``file`` öğesine yazın." -#: howto/clinic.rst:1560 +#: howto/clinic.rst:1575 msgid "The default filename is ``\"{dirname}/clinic/{basename}.h\"``." msgstr "" "Varsayılan dosya adı ``\"{dirname}/clinic/{basename}.h\"`` şeklindedir." -#: howto/clinic.rst:1563 +#: howto/clinic.rst:1578 msgid "" "Save up most of the output from Clinic, to be written into your file near " "the end. For Python files implementing modules or builtin types, it's " @@ -2926,7 +2941,7 @@ msgstr "" "ortasında tanımlanmış statik ``PyMethodDef`` dizileri varsa, ``buffer`` " "kullanmak ``file`` kullanmaktan daha fazla düzenleme gerektirebilir." -#: howto/clinic.rst:1572 +#: howto/clinic.rst:1587 msgid "" "Suppress the ``parser_prototype``, ``impl_prototype``, and " "``docstring_prototype``, write the ``impl_definition`` to ``block``, and " @@ -2936,7 +2951,7 @@ msgstr "" "öğelerini bastırın, ``impl_definition`` öğesini ``block`` öğesine yazın ve " "diğer her şeyi ``file`` öğesine yazın." -#: howto/clinic.rst:1577 +#: howto/clinic.rst:1592 msgid "" "Similar to the ``buffer`` preset, but writes forward declarations to the " "``two-pass`` buffer, and definitions to the ``buffer``. This is similar to " @@ -2950,7 +2965,7 @@ msgstr "" "üst kısmına yakın ``two-pass`` tamponunu boşaltın ve ``buffer`` ön ayarını " "kullanırken yaptığınız gibi sonuna yakın ``buffer``'ı boşaltın." -#: howto/clinic.rst:1584 +#: howto/clinic.rst:1599 msgid "" "Suppresses the ``impl_prototype``, write the ``impl_definition`` to " "``block``, write ``docstring_prototype``, ``methoddef_define``, and " @@ -2960,11 +2975,11 @@ msgstr "" "``docstring_prototype``, ``methoddef_define`` ve ``parser_prototype``'ı " "``two-pass``'a yazar, diğer her şeyi ``buffer``'a yazar." -#: howto/clinic.rst:1598 +#: howto/clinic.rst:1613 msgid "``partial-buffer``" msgstr "``partial-buffer``" -#: howto/clinic.rst:1590 +#: howto/clinic.rst:1605 msgid "" "Similar to the ``buffer`` preset, but writes more things to ``block``, only " "writing the really big chunks of generated code to ``buffer``. This avoids " @@ -2980,7 +2995,7 @@ msgstr "" "Tıpkı ``buffer`` ön ayarını kullanırken yaptığınız gibi, ``buffer``'ı sonuna " "doğru boşaltın." -#: howto/clinic.rst:1597 +#: howto/clinic.rst:1612 msgid "" "Suppresses the ``impl_prototype``, write the ``docstring_definition`` and " "``parser_definition`` to ``buffer``, write everything else to ``block``." @@ -2988,45 +3003,45 @@ msgstr "" "``impl_prototype`` ı bastırır, ``docstring_definition`` ve " "``parser_definition`` ı ``buffer`` a yazar, diğer her şeyi ``block`` a yazar." -#: howto/clinic.rst:1600 +#: howto/clinic.rst:1615 msgid "The third new directive is ``destination``:" msgstr "Üçüncü yeni yönerge ``destination`` dır:" -#: howto/clinic.rst:1606 +#: howto/clinic.rst:1621 msgid "This performs an operation on the destination named ``name``." msgstr "Bu, ``name`` adlı hedef üzerinde bir işlem gerçekleştirir." -#: howto/clinic.rst:1608 +#: howto/clinic.rst:1623 msgid "There are two defined subcommands: ``new`` and ``clear``." msgstr "Tanımlanmış iki alt komut vardır: ``new`` ve ``clear``." -#: howto/clinic.rst:1610 +#: howto/clinic.rst:1625 msgid "The ``new`` subcommand works like this:" msgstr "``new`` alt komutu şu şekilde çalışır:" -#: howto/clinic.rst:1616 +#: howto/clinic.rst:1631 msgid "" "This creates a new destination with name ```` and type ````." msgstr "Bu, adı ```` ve türü ```` olan yeni bir hedef oluşturur." -#: howto/clinic.rst:1618 +#: howto/clinic.rst:1633 msgid "There are five destination types:" msgstr "Beş hedef türü vardır:" -#: howto/clinic.rst:1621 +#: howto/clinic.rst:1636 msgid "Throws the text away." msgstr "Metni atıyor." -#: howto/clinic.rst:1624 +#: howto/clinic.rst:1639 msgid "" "Writes the text to the current block. This is what Clinic originally did." msgstr "Metni geçerli bloğa yazar. Kliniğin başlangıçta yaptığı budur." -#: howto/clinic.rst:1628 +#: howto/clinic.rst:1643 msgid "A simple text buffer, like the \"buffer\" builtin destination above." msgstr "Yukarıdaki \"buffer\" yerleşik hedefi gibi basit bir metin tamponu." -#: howto/clinic.rst:1631 +#: howto/clinic.rst:1646 msgid "" "A text file. The file destination takes an extra argument, a template to " "use for building the filename, like so:" @@ -3034,11 +3049,11 @@ msgstr "" "Bir metin dosyası. Dosya hedefi, dosya adını oluşturmak için kullanılacak " "bir şablon olan ekstra bir argüman alır, aşağıdaki gibi:" -#: howto/clinic.rst:1634 +#: howto/clinic.rst:1649 msgid "destination new " msgstr "hedef yeni " -#: howto/clinic.rst:1636 +#: howto/clinic.rst:1651 msgid "" "The template can use three strings internally that will be replaced by bits " "of the filename:" @@ -3046,45 +3061,45 @@ msgstr "" "Şablon dahili olarak dosya adının bitleriyle değiştirilecek üç dizge " "kullanabilir:" -#: howto/clinic.rst:1639 +#: howto/clinic.rst:1654 msgid "{path}" msgstr "{path}" -#: howto/clinic.rst:1640 +#: howto/clinic.rst:1655 msgid "The full path to the file, including directory and full filename." msgstr "Dizin ve tam dosya adı dahil olmak üzere dosyanın tam yolu." -#: howto/clinic.rst:1641 +#: howto/clinic.rst:1656 msgid "{dirname}" msgstr "{dirname}" -#: howto/clinic.rst:1642 +#: howto/clinic.rst:1657 msgid "The name of the directory the file is in." msgstr "Dosyanın içinde bulunduğu dizinin adı." -#: howto/clinic.rst:1643 +#: howto/clinic.rst:1658 msgid "{basename}" msgstr "{basename}" -#: howto/clinic.rst:1644 +#: howto/clinic.rst:1659 msgid "Just the name of the file, not including the directory." msgstr "Sadece dosyanın adı, dizin dahil değil." -#: howto/clinic.rst:1646 +#: howto/clinic.rst:1661 msgid "{basename_root}" msgstr "{basename_root}" -#: howto/clinic.rst:1646 +#: howto/clinic.rst:1661 msgid "" "Basename with the extension clipped off (everything up to but not including " "the last '.')." msgstr "Uzantısı kırpılmış temel ad (son '.' dahil olmak üzere her şey)." -#: howto/clinic.rst:1650 +#: howto/clinic.rst:1665 msgid "{basename_extension}" msgstr "{basename_extension}" -#: howto/clinic.rst:1649 +#: howto/clinic.rst:1664 msgid "" "The last '.' and everything after it. If the basename does not contain a " "period, this will be the empty string." @@ -3092,7 +3107,7 @@ msgstr "" "Son '.' ve ondan sonraki her şey. Ana ad nokta içermiyorsa, bu boş bir dize " "olacaktır." -#: howto/clinic.rst:1652 +#: howto/clinic.rst:1667 msgid "" "If there are no periods in the filename, {basename} and {filename} are the " "same, and {extension} is empty. \"{basename}{extension}\" is always exactly " @@ -3102,15 +3117,15 @@ msgstr "" "boştur. \"{basename}{extension}\" her zaman \"{filename}\" ile tamamen " "aynıdır.\"" -#: howto/clinic.rst:1657 +#: howto/clinic.rst:1672 msgid "A two-pass buffer, like the \"two-pass\" builtin destination above." msgstr "Yukarıdaki \"iki geçişli\" yerleşik hedef gibi iki geçişli bir tampon." -#: howto/clinic.rst:1660 +#: howto/clinic.rst:1675 msgid "The ``clear`` subcommand works like this:" msgstr "``clear`` alt komutu şu şekilde çalışır:" -#: howto/clinic.rst:1666 +#: howto/clinic.rst:1681 msgid "" "It removes all the accumulated text up to this point in the destination. (I " "don't know what you'd need this for, but I thought maybe it'd be useful " @@ -3120,11 +3135,11 @@ msgstr "" "duyacağınızı bilmiyorum, ancak birileri deneme yaparken belki yararlı " "olabileceğini düşündüm)." -#: howto/clinic.rst:1670 +#: howto/clinic.rst:1685 msgid "The fourth new directive is ``set``:" msgstr "Dördüncü yeni yönerge ``set``'tir:" -#: howto/clinic.rst:1677 +#: howto/clinic.rst:1692 msgid "" "``set`` lets you set two internal variables in Clinic. ``line_prefix`` is a " "string that will be prepended to every line of Clinic's output; " @@ -3135,30 +3150,30 @@ msgstr "" "Kliniğin çıktısının her satırına eklenecek bir dizedir; ``line_suffix``, " "Kliniğin çıktısının her satırına eklenecek bir dizedir." -#: howto/clinic.rst:1681 +#: howto/clinic.rst:1696 msgid "Both of these support two format strings:" msgstr "Bunların her ikisi de iki biçim dizesini destekler:" -#: howto/clinic.rst:1684 +#: howto/clinic.rst:1699 msgid "``{block comment start}``" msgstr "``{block comment start}``" -#: howto/clinic.rst:1684 +#: howto/clinic.rst:1699 msgid "" "Turns into the string ``/*``, the start-comment text sequence for C files." msgstr "" "C dosyaları için başlangıç-yorum metin dizisi olan ``/*`` dizesine dönüşür." -#: howto/clinic.rst:1687 +#: howto/clinic.rst:1702 msgid "``{block comment end}``" msgstr "``{block comment end}``" -#: howto/clinic.rst:1687 +#: howto/clinic.rst:1702 msgid "" "Turns into the string ``*/``, the end-comment text sequence for C files." msgstr "C dosyaları için yorum sonu metin dizisi olan ``*/`` dizesine dönüşür." -#: howto/clinic.rst:1689 +#: howto/clinic.rst:1704 msgid "" "The final new directive is one you shouldn't need to use directly, called " "``preserve``:" @@ -3166,7 +3181,7 @@ msgstr "" "Son yeni yönerge doğrudan kullanmanız gerekmeyen bir yönerge olup " "``preserve`` olarak adlandırılmıştır:" -#: howto/clinic.rst:1696 +#: howto/clinic.rst:1711 msgid "" "This tells Clinic that the current contents of the output should be kept, " "unmodified. This is used internally by Clinic when dumping output into " @@ -3180,11 +3195,11 @@ msgstr "" "dosyanın üzerine yazılmadan önce elle değiştirilmediğinden emin olmak için " "Clinic'in mevcut sağlama toplamı işlevini kullanmasını sağlar." -#: howto/clinic.rst:1703 +#: howto/clinic.rst:1718 msgid "The #ifdef trick" msgstr "#ifdef hilesi" -#: howto/clinic.rst:1705 +#: howto/clinic.rst:1720 msgid "" "If you're converting a function that isn't available on all platforms, " "there's a trick you can use to make life a little easier. The existing code " @@ -3194,13 +3209,13 @@ msgstr "" "daha kolaylaştırmak için kullanabileceğiniz bir numara var. Mevcut kod " "muhtemelen şuna benzer::" -#: howto/clinic.rst:1716 +#: howto/clinic.rst:1731 msgid "" "And then in the ``PyMethodDef`` structure at the bottom the existing code " "will have:" msgstr "Ve sonra alttaki ``PyMethodDef`` yapısında mevcut kod olacaktır:" -#: howto/clinic.rst:1725 +#: howto/clinic.rst:1740 msgid "" "In this scenario, you should enclose the body of your impl function inside " "the ``#ifdef``, like so::" @@ -3208,7 +3223,7 @@ msgstr "" "Bu senaryoda, impl fonksiyonunuzun gövdesini aşağıdaki gibi ``#ifdef`` içine " "almalısınız::" -#: howto/clinic.rst:1739 +#: howto/clinic.rst:1754 msgid "" "Then, remove those three lines from the ``PyMethodDef`` structure, replacing " "them with the macro Argument Clinic generated:" @@ -3216,7 +3231,7 @@ msgstr "" "Ardından, bu üç satırı ``PyMethodDef`` yapısından kaldırın ve bunların " "yerine Argument Clinic makrosunu oluşturun:" -#: howto/clinic.rst:1746 +#: howto/clinic.rst:1761 msgid "" "(You can find the real name for this macro inside the generated code. Or you " "can calculate it yourself: it's the name of your function as defined on the " @@ -3228,7 +3243,7 @@ msgstr "" "fonksiyonunuzun adıdır, ancak noktalar alt çizgi olarak değiştirilir, büyük " "harfle yazılır ve sonuna ``\"_METHODDEF\"`` eklenir)" -#: howto/clinic.rst:1751 +#: howto/clinic.rst:1766 msgid "" "Perhaps you're wondering: what if ``HAVE_FUNCTIONNAME`` isn't defined? The " "``MODULE_FUNCTIONNAME_METHODDEF`` macro won't be defined either!" @@ -3236,7 +3251,7 @@ msgstr "" "Belki de merak ediyorsunuzdur: ``HAVE_FUNCTIONNAME`` tanımlanmamışsa ne " "olur? ''MODULE_FUNCTIONNAME_METHODDEF'' makrosu da tanımlanmayacaktır!" -#: howto/clinic.rst:1754 +#: howto/clinic.rst:1769 msgid "" "Here's where Argument Clinic gets very clever. It actually detects that the " "Argument Clinic block might be deactivated by the ``#ifdef``. When that " @@ -3246,7 +3261,7 @@ msgstr "" "bloğunun ``#ifdef`` tarafından devre dışı bırakılabileceğini algılar. Bu " "olduğunda, şuna benzeyen küçük bir ekstra kod oluşturur::" -#: howto/clinic.rst:1762 +#: howto/clinic.rst:1777 msgid "" "That means the macro always works. If the function is defined, this turns " "into the correct structure, including the trailing comma. If the function " @@ -3256,7 +3271,7 @@ msgstr "" "sondaki virgül de dahil olmak üzere doğru yapıya dönüşür. İşlev " "tanımlanmamışsa, bu hiçbir şeye dönüşmez." -#: howto/clinic.rst:1766 +#: howto/clinic.rst:1781 msgid "" "However, this causes one ticklish problem: where should Argument Clinic put " "this extra code when using the \"block\" output preset? It can't go in the " @@ -3268,7 +3283,7 @@ msgstr "" "bloğuna koyulamaz, çünkü ``#ifdef`` tarafından devre dışı bırakılabilir. " "(Bütün mesele bu!)" -#: howto/clinic.rst:1770 +#: howto/clinic.rst:1785 msgid "" "In this situation, Argument Clinic writes the extra code to the \"buffer\" " "destination. This may mean that you get a complaint from Argument Clinic:" @@ -3276,7 +3291,7 @@ msgstr "" "Bu durumda, Argüman Kliniği ekstra kodu \"tampon\" hedefine yazar. Bu, " "Argüman Kliniği'nden bir şikayet almanız anlamına gelebilir:" -#: howto/clinic.rst:1778 +#: howto/clinic.rst:1793 msgid "" "When this happens, just open your file, find the ``dump buffer`` block that " "Argument Clinic added to your file (it'll be at the very bottom), then move " @@ -3286,11 +3301,11 @@ msgstr "" "buffer`` bloğunu bulun (en altta olacaktır), ardından bu makronun " "kullanıldığı ``PyMethodDef`` yapısının üzerine taşıyın." -#: howto/clinic.rst:1785 +#: howto/clinic.rst:1800 msgid "Using Argument Clinic in Python files" msgstr "Python dosyalarında Argüman Kliniği kullanma" -#: howto/clinic.rst:1787 +#: howto/clinic.rst:1802 msgid "" "It's actually possible to use Argument Clinic to preprocess Python files. " "There's no point to using Argument Clinic blocks, of course, as the output " @@ -3303,10 +3318,19 @@ msgstr "" "Python bloklarını çalıştırmak için Argüman Kliniği'ni kullanmak Python'u bir " "Python önişlemcisi olarak kullanmanızı sağlar!" -#: howto/clinic.rst:1792 +#: howto/clinic.rst:1807 msgid "" "Since Python comments are different from C comments, Argument Clinic blocks " "embedded in Python files look slightly different. They look like this:" msgstr "" "Python yorumları C yorumlarından farklı olduğu için, Python dosyalarına " "gömülü Argüman Kliniği blokları biraz farklı görünür. Şöyle görünürler:" + +#~ msgid "" +#~ "None of these take parameters. For the first three, return -1 to " +#~ "indicate error. For ``DecodeFSDefault``, the return type is ``const char " +#~ "*``; return a ``NULL`` pointer to indicate an error." +#~ msgstr "" +#~ "Bunların hiçbiri parametre almaz. İlk üçü için, hatayı belirtmek üzere " +#~ "-1 döndürülür. ``DecodeFSDefault`` için dönüş türü ``const char *``'dır; " +#~ "bir hata belirtmek için ``NULL`` işaretçisi döndürür." diff --git a/howto/curses.po b/howto/curses.po index 4ba7cd40b..06a4d7a52 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -24,7 +24,7 @@ msgstr "" msgid "Author" msgstr "" -#: howto/curses.rst:7 +#: howto/curses.rst:9 msgid "A.M. Kuchling, Eric S. Raymond" msgstr "" @@ -32,7 +32,7 @@ msgstr "" msgid "Release" msgstr "" -#: howto/curses.rst:8 +#: howto/curses.rst:10 msgid "2.04" msgstr "" @@ -40,17 +40,17 @@ msgstr "" msgid "Abstract" msgstr "" -#: howto/curses.rst:13 +#: howto/curses.rst:15 msgid "" "This document describes how to use the :mod:`curses` extension module to " "control text-mode displays." msgstr "" -#: howto/curses.rst:18 +#: howto/curses.rst:20 msgid "What is curses?" msgstr "" -#: howto/curses.rst:20 +#: howto/curses.rst:22 msgid "" "The curses library supplies a terminal-independent screen-painting and " "keyboard-handling facility for text-based terminals; such terminals include " @@ -61,7 +61,7 @@ msgid "" "own minor quirks." msgstr "" -#: howto/curses.rst:28 +#: howto/curses.rst:30 msgid "" "In a world of graphical displays, one might ask \"why bother\"? It's true " "that character-cell display terminals are an obsolete technology, but there " @@ -71,7 +71,7 @@ msgid "" "configurators that may have to run before any graphical support is available." msgstr "" -#: howto/curses.rst:36 +#: howto/curses.rst:38 msgid "" "The curses library provides fairly basic functionality, providing the " "programmer with an abstraction of a display containing multiple non-" @@ -84,7 +84,7 @@ msgid "" "project/urwid/>`_." msgstr "" -#: howto/curses.rst:46 +#: howto/curses.rst:48 msgid "" "The curses library was originally written for BSD Unix; the later System V " "versions of Unix from AT&T added many enhancements and new functions. BSD " @@ -97,29 +97,29 @@ msgid "" "everything, though." msgstr "" -#: howto/curses.rst:56 +#: howto/curses.rst:58 msgid "" "The Windows version of Python doesn't include the :mod:`curses` module. A " "ported version called `UniCurses `_ is " "available." msgstr "" -#: howto/curses.rst:62 +#: howto/curses.rst:64 msgid "The Python curses module" msgstr "" -#: howto/curses.rst:64 +#: howto/curses.rst:66 msgid "" "The Python module is a fairly simple wrapper over the C functions provided " "by curses; if you're already familiar with curses programming in C, it's " "really easy to transfer that knowledge to Python. The biggest difference is " "that the Python interface makes things simpler by merging different C " -"functions such as :c:func:`addstr`, :c:func:`mvaddstr`, and :c:func:" -"`mvwaddstr` into a single :meth:`~curses.window.addstr` method. You'll see " +"functions such as :c:func:`!addstr`, :c:func:`!mvaddstr`, and :c:func:`!" +"mvwaddstr` into a single :meth:`~curses.window.addstr` method. You'll see " "this covered in more detail later." msgstr "" -#: howto/curses.rst:72 +#: howto/curses.rst:74 msgid "" "This HOWTO is an introduction to writing text-mode programs with curses and " "Python. It doesn't attempt to be a complete guide to the curses API; for " @@ -127,35 +127,35 @@ msgid "" "pages for ncurses. It will, however, give you the basic ideas." msgstr "" -#: howto/curses.rst:79 +#: howto/curses.rst:81 msgid "Starting and ending a curses application" msgstr "" -#: howto/curses.rst:81 +#: howto/curses.rst:83 msgid "" "Before doing anything, curses must be initialized. This is done by calling " "the :func:`~curses.initscr` function, which will determine the terminal " "type, send any required setup codes to the terminal, and create various " -"internal data structures. If successful, :func:`initscr` returns a window " +"internal data structures. If successful, :func:`!initscr` returns a window " "object representing the entire screen; this is usually called ``stdscr`` " "after the name of the corresponding C variable. ::" msgstr "" -#: howto/curses.rst:92 +#: howto/curses.rst:94 msgid "" "Usually curses applications turn off automatic echoing of keys to the " "screen, in order to be able to read keys and only display them under certain " "circumstances. This requires calling the :func:`~curses.noecho` function. ::" msgstr "" -#: howto/curses.rst:99 +#: howto/curses.rst:101 msgid "" "Applications will also commonly need to react to keys instantly, without " "requiring the Enter key to be pressed; this is called cbreak mode, as " "opposed to the usual buffered input mode. ::" msgstr "" -#: howto/curses.rst:105 +#: howto/curses.rst:107 msgid "" "Terminals usually return special keys, such as the cursor keys or navigation " "keys such as Page Up and Home, as a multibyte escape sequence. While you " @@ -165,20 +165,20 @@ msgid "" "keypad mode. ::" msgstr "" -#: howto/curses.rst:114 +#: howto/curses.rst:116 msgid "" "Terminating a curses application is much easier than starting one. You'll " "need to call::" msgstr "" -#: howto/curses.rst:121 +#: howto/curses.rst:123 msgid "" "to reverse the curses-friendly terminal settings. Then call the :func:" "`~curses.endwin` function to restore the terminal to its original operating " "mode. ::" msgstr "" -#: howto/curses.rst:127 +#: howto/curses.rst:129 msgid "" "A common problem when debugging a curses application is to get your terminal " "messed up when the application dies without restoring the terminal to its " @@ -187,18 +187,18 @@ msgid "" "you type them, for example, which makes using the shell difficult." msgstr "" -#: howto/curses.rst:133 +#: howto/curses.rst:135 msgid "" "In Python you can avoid these complications and make debugging much easier " "by importing the :func:`curses.wrapper` function and using it like this::" msgstr "" -#: howto/curses.rst:152 +#: howto/curses.rst:154 msgid "" "The :func:`~curses.wrapper` function takes a callable object and does the " "initializations described above, also initializing colors if color support " -"is present. :func:`wrapper` then runs your provided callable. Once the " -"callable returns, :func:`wrapper` will restore the original state of the " +"is present. :func:`!wrapper` then runs your provided callable. Once the " +"callable returns, :func:`!wrapper` will restore the original state of the " "terminal. The callable is called inside a :keyword:`try`...\\ :keyword:" "`except` that catches exceptions, restores the state of the terminal, and " "then re-raises the exception. Therefore your terminal won't be left in a " @@ -206,18 +206,18 @@ msgid "" "and traceback." msgstr "" -#: howto/curses.rst:164 +#: howto/curses.rst:166 msgid "Windows and Pads" msgstr "" -#: howto/curses.rst:166 +#: howto/curses.rst:168 msgid "" "Windows are the basic abstraction in curses. A window object represents a " "rectangular area of the screen, and supports methods to display text, erase " "it, allow the user to input strings, and so forth." msgstr "" -#: howto/curses.rst:170 +#: howto/curses.rst:172 msgid "" "The ``stdscr`` object returned by the :func:`~curses.initscr` function is a " "window object that covers the entire screen. Many programs may need only " @@ -227,7 +227,7 @@ msgid "" "window object. ::" msgstr "" -#: howto/curses.rst:181 +#: howto/curses.rst:183 msgid "" "Note that the coordinate system used in curses is unusual. Coordinates are " "always passed in the order *y,x*, and the top-left corner of a window is " @@ -237,7 +237,7 @@ msgid "" "curses since it was first written, and it's too late to change things now." msgstr "" -#: howto/curses.rst:189 +#: howto/curses.rst:191 msgid "" "Your application can determine the size of the screen by using the :data:" "`curses.LINES` and :data:`curses.COLS` variables to obtain the *y* and *x* " @@ -245,35 +245,35 @@ msgid "" "- 1, curses.COLS - 1)``." msgstr "" -#: howto/curses.rst:194 +#: howto/curses.rst:196 msgid "" "When you call a method to display or erase text, the effect doesn't " "immediately show up on the display. Instead you must call the :meth:" "`~curses.window.refresh` method of window objects to update the screen." msgstr "" -#: howto/curses.rst:199 +#: howto/curses.rst:201 msgid "" "This is because curses was originally written with slow 300-baud terminal " "connections in mind; with these terminals, minimizing the time required to " "redraw the screen was very important. Instead curses accumulates changes to " "the screen and displays them in the most efficient manner when you call :" -"meth:`refresh`. For example, if your program displays some text in a window " -"and then clears the window, there's no need to send the original text " +"meth:`!refresh`. For example, if your program displays some text in a " +"window and then clears the window, there's no need to send the original text " "because they're never visible." msgstr "" -#: howto/curses.rst:208 +#: howto/curses.rst:210 msgid "" "In practice, explicitly telling curses to redraw a window doesn't really " "complicate programming with curses much. Most programs go into a flurry of " "activity, and then pause waiting for a keypress or some other action on the " "part of the user. All you have to do is to be sure that the screen has been " -"redrawn before pausing to wait for user input, by first calling ``stdscr." -"refresh()`` or the :meth:`refresh` method of some other relevant window." +"redrawn before pausing to wait for user input, by first calling :meth:`!" +"stdscr.refresh` or the :meth:`!refresh` method of some other relevant window." msgstr "" -#: howto/curses.rst:216 +#: howto/curses.rst:218 msgid "" "A pad is a special case of a window; it can be larger than the actual " "display screen, and only a portion of the pad displayed at a time. Creating " @@ -282,56 +282,57 @@ msgid "" "will be displayed. ::" msgstr "" -#: howto/curses.rst:237 +#: howto/curses.rst:239 msgid "" -"The :meth:`refresh` call displays a section of the pad in the rectangle " +"The :meth:`!refresh` call displays a section of the pad in the rectangle " "extending from coordinate (5,5) to coordinate (20,75) on the screen; the " "upper left corner of the displayed section is coordinate (0,0) on the pad. " "Beyond that difference, pads are exactly like ordinary windows and support " "the same methods." msgstr "" -#: howto/curses.rst:243 +#: howto/curses.rst:245 msgid "" "If you have multiple windows and pads on screen there is a more efficient " "way to update the screen and prevent annoying screen flicker as each part of " -"the screen gets updated. :meth:`refresh` actually does two things:" +"the screen gets updated. :meth:`!refresh` actually does two things:" msgstr "" -#: howto/curses.rst:248 +#: howto/curses.rst:250 msgid "" "Calls the :meth:`~curses.window.noutrefresh` method of each window to update " "an underlying data structure representing the desired state of the screen." msgstr "" -#: howto/curses.rst:251 +#: howto/curses.rst:253 msgid "" "Calls the function :func:`~curses.doupdate` function to change the physical " "screen to match the desired state recorded in the data structure." msgstr "" -#: howto/curses.rst:254 +#: howto/curses.rst:256 msgid "" -"Instead you can call :meth:`noutrefresh` on a number of windows to update " -"the data structure, and then call :func:`doupdate` to update the screen." +"Instead you can call :meth:`!noutrefresh` on a number of windows to update " +"the data structure, and then call :func:`!doupdate` to update the screen." msgstr "" -#: howto/curses.rst:260 +#: howto/curses.rst:262 msgid "Displaying Text" msgstr "" -#: howto/curses.rst:262 +#: howto/curses.rst:264 msgid "" "From a C programmer's point of view, curses may sometimes look like a twisty " -"maze of functions, all subtly different. For example, :c:func:`addstr` " +"maze of functions, all subtly different. For example, :c:func:`!addstr` " "displays a string at the current cursor location in the ``stdscr`` window, " -"while :c:func:`mvaddstr` moves to a given y,x coordinate first before " -"displaying the string. :c:func:`waddstr` is just like :c:func:`addstr`, but " -"allows specifying a window to use instead of using ``stdscr`` by default. :c:" -"func:`mvwaddstr` allows specifying both a window and a coordinate." +"while :c:func:`!mvaddstr` moves to a given y,x coordinate first before " +"displaying the string. :c:func:`!waddstr` is just like :c:func:`!addstr`, " +"but allows specifying a window to use instead of using ``stdscr`` by " +"default. :c:func:`!mvwaddstr` allows specifying both a window and a " +"coordinate." msgstr "" -#: howto/curses.rst:271 +#: howto/curses.rst:273 msgid "" "Fortunately the Python interface hides all these details. ``stdscr`` is a " "window object like any other, and methods such as :meth:`~curses.window." @@ -339,73 +340,73 @@ msgid "" "forms." msgstr "" -#: howto/curses.rst:277 +#: howto/curses.rst:279 msgid "Form" msgstr "" -#: howto/curses.rst:345 +#: howto/curses.rst:347 msgid "Description" msgstr "" -#: howto/curses.rst:279 +#: howto/curses.rst:281 msgid "*str* or *ch*" msgstr "" -#: howto/curses.rst:279 +#: howto/curses.rst:281 msgid "Display the string *str* or character *ch* at the current position" msgstr "" -#: howto/curses.rst:282 +#: howto/curses.rst:284 msgid "*str* or *ch*, *attr*" msgstr "" -#: howto/curses.rst:282 +#: howto/curses.rst:284 msgid "" "Display the string *str* or character *ch*, using attribute *attr* at the " "current position" msgstr "" -#: howto/curses.rst:286 +#: howto/curses.rst:288 msgid "*y*, *x*, *str* or *ch*" msgstr "" -#: howto/curses.rst:286 +#: howto/curses.rst:288 msgid "Move to position *y,x* within the window, and display *str* or *ch*" msgstr "" -#: howto/curses.rst:289 +#: howto/curses.rst:291 msgid "*y*, *x*, *str* or *ch*, *attr*" msgstr "" -#: howto/curses.rst:289 +#: howto/curses.rst:291 msgid "" "Move to position *y,x* within the window, and display *str* or *ch*, using " "attribute *attr*" msgstr "" -#: howto/curses.rst:293 +#: howto/curses.rst:295 msgid "" "Attributes allow displaying text in highlighted forms such as boldface, " "underline, reverse code, or in color. They'll be explained in more detail " "in the next subsection." msgstr "" -#: howto/curses.rst:298 +#: howto/curses.rst:300 msgid "" "The :meth:`~curses.window.addstr` method takes a Python string or bytestring " "as the value to be displayed. The contents of bytestrings are sent to the " "terminal as-is. Strings are encoded to bytes using the value of the " -"window's :attr:`encoding` attribute; this defaults to the default system " -"encoding as returned by :func:`locale.getencoding`." +"window's :attr:`~window.encoding` attribute; this defaults to the default " +"system encoding as returned by :func:`locale.getencoding`." msgstr "" -#: howto/curses.rst:304 +#: howto/curses.rst:306 msgid "" "The :meth:`~curses.window.addch` methods take a character, which can be " "either a string of length 1, a bytestring of length 1, or an integer." msgstr "" -#: howto/curses.rst:307 +#: howto/curses.rst:309 msgid "" "Constants are provided for extension characters; these constants are " "integers greater than 255. For example, :const:`ACS_PLMINUS` is a +/- " @@ -413,7 +414,7 @@ msgid "" "for drawing borders). You can also use the appropriate Unicode character." msgstr "" -#: howto/curses.rst:313 +#: howto/curses.rst:315 msgid "" "Windows remember where the cursor was left after the last operation, so if " "you leave out the *y,x* coordinates, the string or character will be " @@ -424,7 +425,7 @@ msgid "" "cursor blinking at some apparently random location." msgstr "" -#: howto/curses.rst:321 +#: howto/curses.rst:323 msgid "" "If your application doesn't need a blinking cursor at all, you can call " "``curs_set(False)`` to make it invisible. For compatibility with older " @@ -434,11 +435,11 @@ msgid "" "leaving it in odd locations." msgstr "" -#: howto/curses.rst:330 +#: howto/curses.rst:332 msgid "Attributes and Color" msgstr "" -#: howto/curses.rst:332 +#: howto/curses.rst:334 msgid "" "Characters can be displayed in different ways. Status lines in a text-based " "application are commonly shown in reverse video, or a text viewer may need " @@ -446,7 +447,7 @@ msgid "" "an attribute for each cell on the screen." msgstr "" -#: howto/curses.rst:337 +#: howto/curses.rst:339 msgid "" "An attribute is an integer, each bit representing a different attribute. " "You can try to display text with multiple attribute bits set, but curses " @@ -456,72 +457,72 @@ msgid "" "attributes, listed here." msgstr "" -#: howto/curses.rst:345 +#: howto/curses.rst:347 msgid "Attribute" msgstr "" -#: howto/curses.rst:347 +#: howto/curses.rst:349 msgid ":const:`A_BLINK`" msgstr "" -#: howto/curses.rst:347 +#: howto/curses.rst:349 msgid "Blinking text" msgstr "" -#: howto/curses.rst:349 +#: howto/curses.rst:351 msgid ":const:`A_BOLD`" msgstr "" -#: howto/curses.rst:349 +#: howto/curses.rst:351 msgid "Extra bright or bold text" msgstr "" -#: howto/curses.rst:351 +#: howto/curses.rst:353 msgid ":const:`A_DIM`" msgstr "" -#: howto/curses.rst:351 +#: howto/curses.rst:353 msgid "Half bright text" msgstr "" -#: howto/curses.rst:353 +#: howto/curses.rst:355 msgid ":const:`A_REVERSE`" msgstr "" -#: howto/curses.rst:353 +#: howto/curses.rst:355 msgid "Reverse-video text" msgstr "" -#: howto/curses.rst:355 +#: howto/curses.rst:357 msgid ":const:`A_STANDOUT`" msgstr "" -#: howto/curses.rst:355 +#: howto/curses.rst:357 msgid "The best highlighting mode available" msgstr "" -#: howto/curses.rst:357 +#: howto/curses.rst:359 msgid ":const:`A_UNDERLINE`" msgstr "" -#: howto/curses.rst:357 +#: howto/curses.rst:359 msgid "Underlined text" msgstr "" -#: howto/curses.rst:360 +#: howto/curses.rst:362 msgid "" "So, to display a reverse-video status line on the top line of the screen, " "you could code::" msgstr "" -#: howto/curses.rst:367 +#: howto/curses.rst:369 msgid "" "The curses library also supports color on those terminals that provide it. " "The most common such terminal is probably the Linux console, followed by " "color xterms." msgstr "" -#: howto/curses.rst:371 +#: howto/curses.rst:373 msgid "" "To use color, you must call the :func:`~curses.start_color` function soon " "after calling :func:`~curses.initscr`, to initialize the default color set " @@ -533,7 +534,7 @@ msgid "" "for the sake of these functions.)" msgstr "" -#: howto/curses.rst:381 +#: howto/curses.rst:383 msgid "" "The curses library maintains a finite number of color pairs, containing a " "foreground (or text) color and a background color. You can get the " @@ -543,11 +544,11 @@ msgid "" "work on all terminals." msgstr "" -#: howto/curses.rst:388 +#: howto/curses.rst:390 msgid "An example, which displays a line of text using color pair 1::" msgstr "" -#: howto/curses.rst:393 +#: howto/curses.rst:395 msgid "" "As I said before, a color pair consists of a foreground and background " "color. The ``init_pair(n, f, b)`` function changes the definition of color " @@ -555,7 +556,7 @@ msgid "" "hard-wired to white on black, and cannot be changed." msgstr "" -#: howto/curses.rst:398 +#: howto/curses.rst:400 msgid "" "Colors are numbered, and :func:`start_color` initializes 8 basic colors when " "it activates color mode. They are: 0:black, 1:red, 2:green, 3:yellow, 4:" @@ -564,20 +565,20 @@ msgid "" "const:`curses.COLOR_RED`, and so forth." msgstr "" -#: howto/curses.rst:404 +#: howto/curses.rst:406 msgid "" "Let's put all this together. To change color 1 to red text on a white " "background, you would call::" msgstr "" -#: howto/curses.rst:409 +#: howto/curses.rst:411 msgid "" "When you change a color pair, any text already displayed using that color " "pair will change to the new colors. You can also display new text in this " "color with::" msgstr "" -#: howto/curses.rst:415 +#: howto/curses.rst:417 msgid "" "Very fancy terminals can change the definitions of the actual colors to a " "given RGB value. This lets you change color 1, which is usually red, to " @@ -589,11 +590,11 @@ msgid "" "your system's man pages for more information." msgstr "" -#: howto/curses.rst:426 +#: howto/curses.rst:428 msgid "User Input" msgstr "" -#: howto/curses.rst:428 +#: howto/curses.rst:430 msgid "" "The C curses library offers only very simple input mechanisms. Python's :mod:" "`curses` module adds a basic text-input widget. (Other libraries such as " @@ -601,11 +602,11 @@ msgid "" "of widgets.)" msgstr "" -#: howto/curses.rst:433 +#: howto/curses.rst:435 msgid "There are two methods for getting input from a window:" msgstr "" -#: howto/curses.rst:435 +#: howto/curses.rst:437 msgid "" ":meth:`~curses.window.getch` refreshes the screen and then waits for the " "user to hit a key, displaying the key if :func:`~curses.echo` has been " @@ -613,7 +614,7 @@ msgid "" "should be moved before pausing." msgstr "" -#: howto/curses.rst:440 +#: howto/curses.rst:442 msgid "" ":meth:`~curses.window.getkey` does the same thing but converts the integer " "to a string. Individual characters are returned as 1-character strings, and " @@ -621,21 +622,21 @@ msgid "" "name such as ``KEY_UP`` or ``^G``." msgstr "" -#: howto/curses.rst:445 +#: howto/curses.rst:447 msgid "" "It's possible to not wait for the user using the :meth:`~curses.window." -"nodelay` window method. After ``nodelay(True)``, :meth:`getch` and :meth:" -"`getkey` for the window become non-blocking. To signal that no input is " -"ready, :meth:`getch` returns ``curses.ERR`` (a value of -1) and :meth:" -"`getkey` raises an exception. There's also a :func:`~curses.halfdelay` " -"function, which can be used to (in effect) set a timer on each :meth:" -"`getch`; if no input becomes available within a specified delay (measured in " +"nodelay` window method. After ``nodelay(True)``, :meth:`!getch` and :meth:`!" +"getkey` for the window become non-blocking. To signal that no input is " +"ready, :meth:`!getch` returns ``curses.ERR`` (a value of -1) and :meth:`!" +"getkey` raises an exception. There's also a :func:`~curses.halfdelay` " +"function, which can be used to (in effect) set a timer on each :meth:`!" +"getch`; if no input becomes available within a specified delay (measured in " "tenths of a second), curses raises an exception." msgstr "" -#: howto/curses.rst:455 +#: howto/curses.rst:457 msgid "" -"The :meth:`getch` method returns an integer; if it's between 0 and 255, it " +"The :meth:`!getch` method returns an integer; if it's between 0 and 255, it " "represents the ASCII code of the key pressed. Values greater than 255 are " "special keys such as Page Up, Home, or the cursor keys. You can compare the " "value returned to constants such as :const:`curses.KEY_PPAGE`, :const:" @@ -643,7 +644,7 @@ msgid "" "program may look something like this::" msgstr "" -#: howto/curses.rst:471 +#: howto/curses.rst:473 msgid "" "The :mod:`curses.ascii` module supplies ASCII class membership functions " "that take either integer or 1-character string arguments; these may be " @@ -653,7 +654,7 @@ msgid "" "returns the control character corresponding to its argument." msgstr "" -#: howto/curses.rst:478 +#: howto/curses.rst:480 msgid "" "There's also a method to retrieve an entire string, :meth:`~curses.window." "getstr`. It isn't used very often, because its functionality is quite " @@ -662,7 +663,7 @@ msgid "" "number of characters. ::" msgstr "" -#: howto/curses.rst:489 +#: howto/curses.rst:491 msgid "" "The :mod:`curses.textpad` module supplies a text box that supports an Emacs-" "like set of keybindings. Various methods of the :class:`~curses.textpad." @@ -670,16 +671,16 @@ msgid "" "results either with or without trailing spaces. Here's an example::" msgstr "" -#: howto/curses.rst:513 +#: howto/curses.rst:515 msgid "" "See the library documentation on :mod:`curses.textpad` for more details." msgstr "" -#: howto/curses.rst:517 +#: howto/curses.rst:519 msgid "For More Information" msgstr "" -#: howto/curses.rst:519 +#: howto/curses.rst:521 msgid "" "This HOWTO doesn't cover some advanced topics, such as reading the contents " "of the screen or capturing mouse events from an xterm instance, but the " @@ -687,7 +688,7 @@ msgid "" "complete. You should browse it next." msgstr "" -#: howto/curses.rst:524 +#: howto/curses.rst:526 msgid "" "If you're in doubt about the detailed behavior of the curses functions, " "consult the manual pages for your curses implementation, whether it's " @@ -696,7 +697,7 @@ msgid "" "const:`ACS_\\*` characters available to you." msgstr "" -#: howto/curses.rst:531 +#: howto/curses.rst:533 msgid "" "Because the curses API is so large, some functions aren't supported in the " "Python interface. Often this isn't because they're difficult to implement, " @@ -706,29 +707,29 @@ msgid "" "org/>`_ to learn more about submitting patches to Python." msgstr "" -#: howto/curses.rst:539 +#: howto/curses.rst:541 msgid "" "`Writing Programs with NCURSES `_: a lengthy tutorial for C programmers." msgstr "" -#: howto/curses.rst:541 +#: howto/curses.rst:543 msgid "`The ncurses man page `_" msgstr "" -#: howto/curses.rst:542 +#: howto/curses.rst:544 msgid "" "`The ncurses FAQ `_" msgstr "" -#: howto/curses.rst:543 +#: howto/curses.rst:545 msgid "" "`\"Use curses... don't swear\" `_: video of a PyCon 2013 talk on controlling terminals using " "curses or Urwid." msgstr "" -#: howto/curses.rst:545 +#: howto/curses.rst:547 msgid "" "`\"Console Applications with Urwid\" `_: video of a PyCon CA 2012 talk demonstrating some " diff --git a/howto/descriptor.po b/howto/descriptor.po index 11d66fefd..b2468c8f9 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -921,18 +921,26 @@ msgid "" "`staticmethod` would look like this:" msgstr "" -#: howto/descriptor.rst:1310 +#: howto/descriptor.rst:1291 +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__``." +msgstr "" + +#: howto/descriptor.rst:1359 msgid "Class methods" msgstr "" -#: howto/descriptor.rst:1312 +#: howto/descriptor.rst:1361 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:1330 +#: howto/descriptor.rst:1379 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 " @@ -941,17 +949,17 @@ msgid "" "of keys. The pure Python equivalent is:" msgstr "" -#: howto/descriptor.rst:1347 +#: howto/descriptor.rst:1396 msgid "Now a new dictionary of unique keys can be constructed like this:" msgstr "" -#: howto/descriptor.rst:1357 +#: howto/descriptor.rst:1406 msgid "" "Using the non-data descriptor protocol, a pure Python version of :func:" "`classmethod` would look like this:" msgstr "" -#: howto/descriptor.rst:1408 +#: howto/descriptor.rst:1484 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 " @@ -959,30 +967,39 @@ msgid "" "together. In Python 3.11, this functionality was deprecated." msgstr "" -#: howto/descriptor.rst:1428 +#: howto/descriptor.rst:1502 +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__``." +msgstr "" + +#: howto/descriptor.rst:1510 msgid "Member objects and __slots__" msgstr "" -#: howto/descriptor.rst:1430 +#: howto/descriptor.rst:1512 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:1434 +#: howto/descriptor.rst:1516 msgid "" "1. Provides immediate detection of bugs due to misspelled attribute " "assignments. Only attribute names specified in ``__slots__`` are allowed:" msgstr "" -#: howto/descriptor.rst:1450 +#: howto/descriptor.rst:1532 msgid "" "2. Helps create immutable objects where descriptors manage access to private " "attributes stored in ``__slots__``:" msgstr "" -#: howto/descriptor.rst:1485 +#: howto/descriptor.rst:1567 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 " @@ -990,19 +1007,19 @@ msgid "" "only matters when a large number of instances are going to be created." msgstr "" -#: howto/descriptor.rst:1490 +#: howto/descriptor.rst:1572 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:1493 +#: howto/descriptor.rst:1575 msgid "" "5. Blocks tools like :func:`functools.cached_property` which require an " "instance dictionary to function correctly:" msgstr "" -#: howto/descriptor.rst:1515 +#: howto/descriptor.rst:1597 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 " @@ -1012,36 +1029,36 @@ msgid "" "managed by member descriptors:" msgstr "" -#: howto/descriptor.rst:1560 +#: howto/descriptor.rst:1642 msgid "" "The :meth:`type.__new__` method takes care of adding member objects to class " "variables:" msgstr "" -#: howto/descriptor.rst:1576 +#: howto/descriptor.rst:1658 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:1611 +#: howto/descriptor.rst:1693 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:1625 +#: howto/descriptor.rst:1707 msgid "" "At this point, the metaclass has loaded member objects for *x* and *y*::" msgstr "" -#: howto/descriptor.rst:1646 +#: howto/descriptor.rst:1728 msgid "" "When instances are created, they have a ``slot_values`` list where the " "attributes are stored:" msgstr "" -#: howto/descriptor.rst:1658 +#: howto/descriptor.rst:1740 msgid "Misspelled or unassigned attributes will raise an exception:" msgstr "" diff --git a/howto/enum.po b/howto/enum.po index 33ebd65a1..3c67e7e2c 100644 --- a/howto/enum.po +++ b/howto/enum.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -279,10 +279,17 @@ msgid "" msgstr "" #: howto/enum.rst:376 +msgid "" +"It is possible to reload modules -- if a reloaded module contains enums, " +"they will be recreated, and the new members may not compare identical/equal " +"to the original members." +msgstr "" + +#: howto/enum.rst:381 msgid "Allowed members and attributes of enumerations" msgstr "" -#: howto/enum.rst:378 +#: howto/enum.rst:383 msgid "" "Most of the examples above use integers for enumeration values. Using " "integers is short and handy (and provided by default by the `Functional " @@ -291,17 +298,17 @@ msgid "" "*is* important, enumerations can have arbitrary values." msgstr "" -#: howto/enum.rst:384 +#: howto/enum.rst:389 msgid "" "Enumerations are Python classes, and can have methods and special methods as " "usual. If we have this enumeration::" msgstr "" -#: howto/enum.rst:404 +#: howto/enum.rst:409 msgid "Then::" msgstr "" -#: howto/enum.rst:413 +#: howto/enum.rst:418 msgid "" "The rules for what is allowed are as follows: names that start and end with " "a single underscore are reserved by enum and cannot be used; all other " @@ -311,35 +318,35 @@ msgid "" "names listed in :attr:`_ignore_`." msgstr "" -#: howto/enum.rst:420 +#: howto/enum.rst:425 msgid "" "Note: if your enumeration defines :meth:`__new__` and/or :meth:`__init__` " "then any value(s) given to the enum member will be passed into those " "methods. See `Planet`_ for an example." msgstr "" -#: howto/enum.rst:426 +#: howto/enum.rst:431 msgid "Restricted Enum subclassing" msgstr "" -#: howto/enum.rst:428 +#: howto/enum.rst:433 msgid "" "A new :class:`Enum` class must have one base enum class, up to one concrete " "data type, and as many :class:`object`-based mixin classes as needed. The " "order of these base classes is::" msgstr "" -#: howto/enum.rst:435 +#: howto/enum.rst:440 msgid "" "Also, subclassing an enumeration is allowed only if the enumeration does not " "define any members. So this is forbidden::" msgstr "" -#: howto/enum.rst:445 +#: howto/enum.rst:450 msgid "But this is allowed::" msgstr "" -#: howto/enum.rst:456 +#: howto/enum.rst:461 msgid "" "Allowing subclassing of enums that define members would lead to a violation " "of some important invariants of types and instances. On the other hand, it " @@ -347,49 +354,49 @@ msgid "" "enumerations. (See `OrderedEnum`_ for an example.)" msgstr "" -#: howto/enum.rst:463 +#: howto/enum.rst:468 msgid "Pickling" msgstr "" -#: howto/enum.rst:465 +#: howto/enum.rst:470 msgid "Enumerations can be pickled and unpickled::" msgstr "" -#: howto/enum.rst:472 +#: howto/enum.rst:477 msgid "" "The usual restrictions for pickling apply: picklable enums must be defined " "in the top level of a module, since unpickling requires them to be " "importable from that module." msgstr "" -#: howto/enum.rst:478 +#: howto/enum.rst:483 msgid "" "With pickle protocol version 4 it is possible to easily pickle enums nested " "in other classes." msgstr "" -#: howto/enum.rst:481 +#: howto/enum.rst:486 msgid "" "It is possible to modify how enum members are pickled/unpickled by defining :" "meth:`__reduce_ex__` in the enumeration class." msgstr "" -#: howto/enum.rst:486 +#: howto/enum.rst:491 msgid "Functional API" msgstr "" -#: howto/enum.rst:488 +#: howto/enum.rst:493 msgid "" "The :class:`Enum` class is callable, providing the following functional API::" msgstr "" -#: howto/enum.rst:498 +#: howto/enum.rst:503 msgid "" "The semantics of this API resemble :class:`~collections.namedtuple`. The " "first argument of the call to :class:`Enum` is the name of the enumeration." msgstr "" -#: howto/enum.rst:501 +#: howto/enum.rst:506 msgid "" "The second argument is the *source* of enumeration member names. It can be " "a whitespace-separated string of names, a sequence of names, a sequence of 2-" @@ -401,14 +408,14 @@ msgid "" "assignment to :class:`Animal` is equivalent to::" msgstr "" -#: howto/enum.rst:517 +#: howto/enum.rst:522 msgid "" "The reason for defaulting to ``1`` as the starting number and not ``0`` is " "that ``0`` is ``False`` in a boolean sense, but by default enum members all " "evaluate to ``True``." msgstr "" -#: howto/enum.rst:521 +#: howto/enum.rst:526 msgid "" "Pickling enums created with the functional API can be tricky as frame stack " "implementation details are used to try and figure out which module the " @@ -417,14 +424,14 @@ msgid "" "Jython). The solution is to specify the module name explicitly as follows::" msgstr "" -#: howto/enum.rst:531 +#: howto/enum.rst:536 msgid "" "If ``module`` is not supplied, and Enum cannot determine what it is, the new " "Enum members will not be unpicklable; to keep errors closer to the source, " "pickling will be disabled." msgstr "" -#: howto/enum.rst:535 +#: howto/enum.rst:540 msgid "" "The new pickle protocol 4 also, in some circumstances, relies on :attr:" "`~definition.__qualname__` being set to the location where pickle will be " @@ -432,7 +439,7 @@ msgid "" "class SomeData in the global scope::" msgstr "" -#: howto/enum.rst:542 +#: howto/enum.rst:547 msgid "The complete signature is::" msgstr "" @@ -440,7 +447,7 @@ msgstr "" msgid "value" msgstr "" -#: howto/enum.rst:554 +#: howto/enum.rst:559 msgid "What the new enum class will record as its name." msgstr "" @@ -448,21 +455,21 @@ msgstr "" msgid "names" msgstr "" -#: howto/enum.rst:556 +#: howto/enum.rst:561 msgid "" "The enum members. This can be a whitespace- or comma-separated string " "(values will start at 1 unless otherwise specified)::" msgstr "" -#: howto/enum.rst:561 +#: howto/enum.rst:566 msgid "or an iterator of names::" msgstr "" -#: howto/enum.rst:565 +#: howto/enum.rst:570 msgid "or an iterator of (name, value) pairs::" msgstr "" -#: howto/enum.rst:569 +#: howto/enum.rst:574 msgid "or a mapping::" msgstr "" @@ -470,7 +477,7 @@ msgstr "" msgid "module" msgstr "" -#: howto/enum.rst:573 +#: howto/enum.rst:578 msgid "name of module where new enum class can be found." msgstr "" @@ -478,7 +485,7 @@ msgstr "" msgid "qualname" msgstr "" -#: howto/enum.rst:575 +#: howto/enum.rst:580 msgid "where in module new enum class can be found." msgstr "" @@ -486,7 +493,7 @@ msgstr "" msgid "type" msgstr "" -#: howto/enum.rst:577 +#: howto/enum.rst:582 msgid "type to mix in to new enum class." msgstr "" @@ -494,23 +501,23 @@ msgstr "" msgid "start" msgstr "" -#: howto/enum.rst:579 +#: howto/enum.rst:584 msgid "number to start counting at if only names are passed in." msgstr "" -#: howto/enum.rst:581 +#: howto/enum.rst:586 msgid "The *start* parameter was added." msgstr "" -#: howto/enum.rst:586 +#: howto/enum.rst:591 msgid "Derived Enumerations" msgstr "" -#: howto/enum.rst:589 +#: howto/enum.rst:594 msgid "IntEnum" msgstr "" -#: howto/enum.rst:591 +#: howto/enum.rst:596 msgid "" "The first variation of :class:`Enum` that is provided is also a subclass of :" "class:`int`. Members of an :class:`IntEnum` can be compared to integers; by " @@ -518,22 +525,22 @@ msgid "" "each other::" msgstr "" -#: howto/enum.rst:612 +#: howto/enum.rst:617 msgid "" "However, they still can't be compared to standard :class:`Enum` " "enumerations::" msgstr "" -#: howto/enum.rst:625 +#: howto/enum.rst:630 msgid "" ":class:`IntEnum` values behave like integers in other ways you'd expect::" msgstr "" -#: howto/enum.rst:636 +#: howto/enum.rst:641 msgid "StrEnum" msgstr "" -#: howto/enum.rst:638 +#: howto/enum.rst:643 msgid "" "The second variation of :class:`Enum` that is provided is also a subclass " "of :class:`str`. Members of a :class:`StrEnum` can be compared to strings; " @@ -541,11 +548,11 @@ msgid "" "each other." msgstr "" -#: howto/enum.rst:647 +#: howto/enum.rst:652 msgid "IntFlag" msgstr "" -#: howto/enum.rst:649 +#: howto/enum.rst:654 msgid "" "The next variation of :class:`Enum` provided, :class:`IntFlag`, is also " "based on :class:`int`. The difference being :class:`IntFlag` members can be " @@ -555,60 +562,60 @@ msgid "" "is used." msgstr "" -#: howto/enum.rst:657 +#: howto/enum.rst:662 msgid "" "Any operation on an :class:`IntFlag` member besides the bit-wise operations " "will lose the :class:`IntFlag` membership." msgstr "" -#: howto/enum.rst:660 +#: howto/enum.rst:665 msgid "" "Bit-wise operations that result in invalid :class:`IntFlag` values will lose " "the :class:`IntFlag` membership. See :class:`FlagBoundary` for details." msgstr "" -#: howto/enum.rst:667 +#: howto/enum.rst:672 msgid "Sample :class:`IntFlag` class::" msgstr "" -#: howto/enum.rst:683 +#: howto/enum.rst:688 msgid "It is also possible to name the combinations::" msgstr "" -#: howto/enum.rst:699 +#: howto/enum.rst:704 msgid "" "Named combinations are considered aliases. Aliases do not show up during " "iteration, but can be returned from by-value lookups." msgstr "" -#: howto/enum.rst:704 +#: howto/enum.rst:709 msgid "" "Another important difference between :class:`IntFlag` and :class:`Enum` is " "that if no flags are set (the value is 0), its boolean evaluation is :data:" "`False`::" msgstr "" -#: howto/enum.rst:712 +#: howto/enum.rst:717 msgid "" "Because :class:`IntFlag` members are also subclasses of :class:`int` they " "can be combined with them (but may lose :class:`IntFlag` membership::" msgstr "" -#: howto/enum.rst:723 +#: howto/enum.rst:728 msgid "" "The negation operator, ``~``, always returns an :class:`IntFlag` member with " "a positive value::" msgstr "" -#: howto/enum.rst:729 +#: howto/enum.rst:734 msgid ":class:`IntFlag` members can also be iterated over::" msgstr "" -#: howto/enum.rst:738 +#: howto/enum.rst:743 msgid "Flag" msgstr "" -#: howto/enum.rst:740 +#: howto/enum.rst:745 msgid "" "The last variation is :class:`Flag`. Like :class:`IntFlag`, :class:`Flag` " "members can be combined using the bitwise operators (&, \\|, ^, ~). Unlike :" @@ -618,29 +625,29 @@ msgid "" "value and let :class:`Flag` select an appropriate value." msgstr "" -#: howto/enum.rst:749 +#: howto/enum.rst:754 msgid "" "Like :class:`IntFlag`, if a combination of :class:`Flag` members results in " "no flags being set, the boolean evaluation is :data:`False`::" msgstr "" -#: howto/enum.rst:763 +#: howto/enum.rst:768 msgid "" "Individual flags should have values that are powers of two (1, 2, 4, " "8, ...), while combinations of flags will not::" msgstr "" -#: howto/enum.rst:775 +#: howto/enum.rst:780 msgid "" "Giving a name to the \"no flags set\" condition does not change its boolean " "value::" msgstr "" -#: howto/enum.rst:789 +#: howto/enum.rst:794 msgid ":class:`Flag` members can also be iterated over::" msgstr "" -#: howto/enum.rst:799 +#: howto/enum.rst:804 msgid "" "For the majority of new code, :class:`Enum` and :class:`Flag` are strongly " "recommended, since :class:`IntEnum` and :class:`IntFlag` break some semantic " @@ -651,42 +658,42 @@ msgid "" "enumerations, or for interoperability with other systems." msgstr "" -#: howto/enum.rst:809 +#: howto/enum.rst:814 msgid "Others" msgstr "" -#: howto/enum.rst:811 +#: howto/enum.rst:816 msgid "" "While :class:`IntEnum` is part of the :mod:`enum` module, it would be very " "simple to implement independently::" msgstr "" -#: howto/enum.rst:817 +#: howto/enum.rst:822 msgid "" "This demonstrates how similar derived enumerations can be defined; for " "example a :class:`FloatEnum` that mixes in :class:`float` instead of :class:" "`int`." msgstr "" -#: howto/enum.rst:820 +#: howto/enum.rst:825 msgid "Some rules:" msgstr "" -#: howto/enum.rst:822 +#: howto/enum.rst:827 msgid "" "When subclassing :class:`Enum`, mix-in types must appear before :class:" "`Enum` itself in the sequence of bases, as in the :class:`IntEnum` example " "above." msgstr "" -#: howto/enum.rst:825 +#: howto/enum.rst:830 msgid "" "Mix-in types must be subclassable. For example, :class:`bool` and :class:" "`range` are not subclassable and will throw an error during Enum creation if " "used as the mix-in type." msgstr "" -#: howto/enum.rst:828 +#: howto/enum.rst:833 msgid "" "While :class:`Enum` can have members of any type, once you mix in an " "additional type, all the members must have values of that type, e.g. :class:" @@ -694,180 +701,184 @@ msgid "" "methods and don't specify another type." msgstr "" -#: howto/enum.rst:832 +#: howto/enum.rst:837 msgid "" "When another data type is mixed in, the :attr:`value` attribute is *not the " "same* as the enum member itself, although it is equivalent and will compare " "equal." msgstr "" -#: howto/enum.rst:835 +#: howto/enum.rst:840 +msgid "A ``data type`` is a mixin that defines :meth:`__new__`." +msgstr "" + +#: howto/enum.rst:841 msgid "" "%-style formatting: ``%s`` and ``%r`` call the :class:`Enum` class's :meth:" "`__str__` and :meth:`__repr__` respectively; other codes (such as ``%i`` or " "``%h`` for IntEnum) treat the enum member as its mixed-in type." msgstr "" -#: howto/enum.rst:838 +#: howto/enum.rst:844 msgid "" ":ref:`Formatted string literals `, :meth:`str.format`, and :func:" "`format` will use the enum's :meth:`__str__` method." msgstr "" -#: howto/enum.rst:843 +#: howto/enum.rst:849 msgid "" "Because :class:`IntEnum`, :class:`IntFlag`, and :class:`StrEnum` are " "designed to be drop-in replacements for existing constants, their :meth:" -"`__str__` method has been reset to their data types :meth:`__str__` method." +"`__str__` method has been reset to their data types' :meth:`__str__` method." msgstr "" -#: howto/enum.rst:849 +#: howto/enum.rst:855 msgid "When to use :meth:`__new__` vs. :meth:`__init__`" msgstr "" -#: howto/enum.rst:851 +#: howto/enum.rst:857 msgid "" ":meth:`__new__` must be used whenever you want to customize the actual value " "of the :class:`Enum` member. Any other modifications may go in either :meth:" "`__new__` or :meth:`__init__`, with :meth:`__init__` being preferred." msgstr "" -#: howto/enum.rst:855 +#: howto/enum.rst:861 msgid "" "For example, if you want to pass several items to the constructor, but only " "want one of them to be the value::" msgstr "" -#: howto/enum.rst:882 +#: howto/enum.rst:888 msgid "Finer Points" msgstr "" -#: howto/enum.rst:885 +#: howto/enum.rst:891 msgid "Supported ``__dunder__`` names" msgstr "" -#: howto/enum.rst:887 +#: howto/enum.rst:893 msgid "" ":attr:`__members__` is a read-only ordered mapping of ``member_name``:" "``member`` items. It is only available on the class." msgstr "" -#: howto/enum.rst:890 +#: howto/enum.rst:896 msgid "" ":meth:`__new__`, if specified, must create and return the enum members; it " "is also a very good idea to set the member's :attr:`_value_` appropriately. " "Once all the members are created it is no longer used." msgstr "" -#: howto/enum.rst:896 +#: howto/enum.rst:902 msgid "Supported ``_sunder_`` names" msgstr "" -#: howto/enum.rst:898 +#: howto/enum.rst:904 msgid "``_name_`` -- name of the member" msgstr "" -#: howto/enum.rst:899 +#: howto/enum.rst:905 msgid "" "``_value_`` -- value of the member; can be set / modified in ``__new__``" msgstr "" -#: howto/enum.rst:901 +#: howto/enum.rst:907 msgid "" "``_missing_`` -- a lookup function used when a value is not found; may be " "overridden" msgstr "" -#: howto/enum.rst:903 +#: howto/enum.rst:909 msgid "" "``_ignore_`` -- a list of names, either as a :class:`list` or a :class:" "`str`, that will not be transformed into members, and will be removed from " "the final class" msgstr "" -#: howto/enum.rst:906 +#: howto/enum.rst:912 msgid "" "``_order_`` -- used in Python 2/3 code to ensure member order is consistent " "(class attribute, removed during class creation)" msgstr "" -#: howto/enum.rst:908 +#: howto/enum.rst:914 msgid "" "``_generate_next_value_`` -- used by the `Functional API`_ and by :class:" "`auto` to get an appropriate value for an enum member; may be overridden" msgstr "" -#: howto/enum.rst:914 +#: howto/enum.rst:920 msgid "" "For standard :class:`Enum` classes the next value chosen is the last value " "seen incremented by one." msgstr "" -#: howto/enum.rst:917 +#: howto/enum.rst:923 msgid "" "For :class:`Flag` classes the next value chosen will be the next highest " "power-of-two, regardless of the last value seen." msgstr "" -#: howto/enum.rst:920 +#: howto/enum.rst:926 msgid "``_missing_``, ``_order_``, ``_generate_next_value_``" msgstr "" -#: howto/enum.rst:921 +#: howto/enum.rst:927 msgid "``_ignore_``" msgstr "" -#: howto/enum.rst:923 +#: howto/enum.rst:929 msgid "" "To help keep Python 2 / Python 3 code in sync an :attr:`_order_` attribute " "can be provided. It will be checked against the actual order of the " "enumeration and raise an error if the two do not match::" msgstr "" -#: howto/enum.rst:941 +#: howto/enum.rst:947 msgid "" "In Python 2 code the :attr:`_order_` attribute is necessary as definition " "order is lost before it can be recorded." msgstr "" -#: howto/enum.rst:946 +#: howto/enum.rst:952 msgid "_Private__names" msgstr "" -#: howto/enum.rst:948 +#: howto/enum.rst:954 msgid "" ":ref:`Private names ` are not converted to enum " "members, but remain normal attributes." msgstr "" -#: howto/enum.rst:955 +#: howto/enum.rst:961 msgid "``Enum`` member type" msgstr "" -#: howto/enum.rst:957 +#: howto/enum.rst:963 msgid "" "Enum members are instances of their enum class, and are normally accessed as " -"``EnumClass.member``. In Python versions ``3.5`` to ``3.10`` you could " -"access members from other members -- this practice was discouraged, and in " -"``3.11`` :class:`Enum` returns to not allowing it::" +"``EnumClass.member``. In certain situations, such as writing custom enum " +"behavior, being able to access one member directly from another is useful, " +"and is supported." msgstr "" -#: howto/enum.rst:978 +#: howto/enum.rst:972 msgid "Creating members that are mixed with other data types" msgstr "" -#: howto/enum.rst:980 +#: howto/enum.rst:974 msgid "" "When subclassing other data types, such as :class:`int` or :class:`str`, " "with an :class:`Enum`, all values after the ``=`` are passed to that data " "type's constructor. For example::" msgstr "" -#: howto/enum.rst:992 +#: howto/enum.rst:986 msgid "Boolean value of ``Enum`` classes and members" msgstr "" -#: howto/enum.rst:994 +#: howto/enum.rst:988 msgid "" "Enum classes that are mixed with non-:class:`Enum` types (such as :class:" "`int`, :class:`str`, etc.) are evaluated according to the mixed-in type's " @@ -876,137 +887,137 @@ msgid "" "your class::" msgstr "" -#: howto/enum.rst:1003 +#: howto/enum.rst:997 msgid "Plain :class:`Enum` classes always evaluate as :data:`True`." msgstr "" -#: howto/enum.rst:1007 +#: howto/enum.rst:1001 msgid "``Enum`` classes with methods" msgstr "" -#: howto/enum.rst:1009 +#: howto/enum.rst:1003 msgid "" "If you give your enum subclass extra methods, like the `Planet`_ class " "below, those methods will show up in a :func:`dir` of the member, but not of " "the class::" msgstr "" -#: howto/enum.rst:1020 +#: howto/enum.rst:1014 msgid "Combining members of ``Flag``" msgstr "" -#: howto/enum.rst:1022 +#: howto/enum.rst:1016 msgid "" "Iterating over a combination of :class:`Flag` members will only return the " "members that are comprised of a single bit::" msgstr "" -#: howto/enum.rst:1040 +#: howto/enum.rst:1034 msgid "``Flag`` and ``IntFlag`` minutia" msgstr "" -#: howto/enum.rst:1042 +#: howto/enum.rst:1036 msgid "Using the following snippet for our examples::" msgstr "" -#: howto/enum.rst:1053 +#: howto/enum.rst:1047 msgid "the following are true:" msgstr "" -#: howto/enum.rst:1055 +#: howto/enum.rst:1049 msgid "single-bit flags are canonical" msgstr "" -#: howto/enum.rst:1056 +#: howto/enum.rst:1050 msgid "multi-bit and zero-bit flags are aliases" msgstr "" -#: howto/enum.rst:1057 +#: howto/enum.rst:1051 msgid "only canonical flags are returned during iteration::" msgstr "" -#: howto/enum.rst:1062 +#: howto/enum.rst:1056 msgid "" "negating a flag or flag set returns a new flag/flag set with the " "corresponding positive integer value::" msgstr "" -#: howto/enum.rst:1071 +#: howto/enum.rst:1065 msgid "names of pseudo-flags are constructed from their members' names::" msgstr "" -#: howto/enum.rst:1076 +#: howto/enum.rst:1070 msgid "multi-bit flags, aka aliases, can be returned from operations::" msgstr "" -#: howto/enum.rst:1087 +#: howto/enum.rst:1081 msgid "" "membership / containment checking: zero-valued flags are always considered " "to be contained::" msgstr "" -#: howto/enum.rst:1093 +#: howto/enum.rst:1087 msgid "" "otherwise, only if all bits of one flag are in the other flag will True be " "returned::" msgstr "" -#: howto/enum.rst:1102 +#: howto/enum.rst:1096 msgid "" "There is a new boundary mechanism that controls how out-of-range / invalid " "bits are handled: ``STRICT``, ``CONFORM``, ``EJECT``, and ``KEEP``:" msgstr "" -#: howto/enum.rst:1105 +#: howto/enum.rst:1099 msgid "STRICT --> raises an exception when presented with invalid values" msgstr "" -#: howto/enum.rst:1106 +#: howto/enum.rst:1100 msgid "CONFORM --> discards any invalid bits" msgstr "" -#: howto/enum.rst:1107 +#: howto/enum.rst:1101 msgid "EJECT --> lose Flag status and become a normal int with the given value" msgstr "" -#: howto/enum.rst:1111 +#: howto/enum.rst:1105 msgid "KEEP --> keep the extra bits" msgstr "" -#: howto/enum.rst:1109 +#: howto/enum.rst:1103 msgid "keeps Flag status and extra bits" msgstr "" -#: howto/enum.rst:1110 +#: howto/enum.rst:1104 msgid "extra bits do not show up in iteration" msgstr "" -#: howto/enum.rst:1111 +#: howto/enum.rst:1105 msgid "extra bits do show up in repr() and str()" msgstr "" -#: howto/enum.rst:1113 +#: howto/enum.rst:1107 msgid "" "The default for Flag is ``STRICT``, the default for ``IntFlag`` is " "``EJECT``, and the default for ``_convert_`` is ``KEEP`` (see ``ssl." "Options`` for an example of when ``KEEP`` is needed)." msgstr "" -#: howto/enum.rst:1121 +#: howto/enum.rst:1115 msgid "How are Enums and Flags different?" msgstr "" -#: howto/enum.rst:1123 +#: howto/enum.rst:1117 msgid "" "Enums have a custom metaclass that affects many aspects of both derived :" "class:`Enum` classes and their instances (members)." msgstr "" -#: howto/enum.rst:1128 +#: howto/enum.rst:1122 msgid "Enum Classes" msgstr "" -#: howto/enum.rst:1130 +#: howto/enum.rst:1124 msgid "" "The :class:`EnumType` metaclass is responsible for providing the :meth:" "`__contains__`, :meth:`__dir__`, :meth:`__iter__` and other methods that " @@ -1017,11 +1028,11 @@ msgid "" "`__getnewargs__`, :meth:`__str__` and :meth:`__repr__`)." msgstr "" -#: howto/enum.rst:1139 +#: howto/enum.rst:1133 msgid "Flag Classes" msgstr "" -#: howto/enum.rst:1141 +#: howto/enum.rst:1135 msgid "" "Flags have an expanded view of aliasing: to be canonical, the value of a " "flag needs to be a power-of-two value, and not a duplicate name. So, in " @@ -1030,11 +1041,11 @@ msgid "" "considered an alias." msgstr "" -#: howto/enum.rst:1147 +#: howto/enum.rst:1141 msgid "Enum Members (aka instances)" msgstr "" -#: howto/enum.rst:1149 +#: howto/enum.rst:1143 msgid "" "The most interesting thing about enum members is that they are singletons. :" "class:`EnumType` creates them all while it is creating the enum class " @@ -1043,37 +1054,37 @@ msgid "" "instances." msgstr "" -#: howto/enum.rst:1155 +#: howto/enum.rst:1149 msgid "Flag Members" msgstr "" -#: howto/enum.rst:1157 +#: howto/enum.rst:1151 msgid "" "Flag members can be iterated over just like the :class:`Flag` class, and " "only the canonical members will be returned. For example::" msgstr "" -#: howto/enum.rst:1163 +#: howto/enum.rst:1157 msgid "(Note that ``BLACK``, ``PURPLE``, and ``WHITE`` do not show up.)" msgstr "" -#: howto/enum.rst:1165 +#: howto/enum.rst:1159 msgid "" "Inverting a flag member returns the corresponding positive value, rather " "than a negative value --- for example::" msgstr "" -#: howto/enum.rst:1171 +#: howto/enum.rst:1165 msgid "" "Flag members have a length corresponding to the number of power-of-two " "values they contain. For example::" msgstr "" -#: howto/enum.rst:1181 +#: howto/enum.rst:1175 msgid "Enum Cookbook" msgstr "" -#: howto/enum.rst:1184 +#: howto/enum.rst:1178 msgid "" "While :class:`Enum`, :class:`IntEnum`, :class:`StrEnum`, :class:`Flag`, and :" "class:`IntFlag` are expected to cover the majority of use-cases, they cannot " @@ -1081,149 +1092,149 @@ msgid "" "that can be used directly, or as examples for creating one's own." msgstr "" -#: howto/enum.rst:1191 +#: howto/enum.rst:1185 msgid "Omitting values" msgstr "" -#: howto/enum.rst:1193 +#: howto/enum.rst:1187 msgid "" "In many use-cases, one doesn't care what the actual value of an enumeration " "is. There are several ways to define this type of simple enumeration:" msgstr "" -#: howto/enum.rst:1196 +#: howto/enum.rst:1190 msgid "use instances of :class:`auto` for the value" msgstr "" -#: howto/enum.rst:1197 +#: howto/enum.rst:1191 msgid "use instances of :class:`object` as the value" msgstr "" -#: howto/enum.rst:1198 +#: howto/enum.rst:1192 msgid "use a descriptive string as the value" msgstr "" -#: howto/enum.rst:1199 +#: howto/enum.rst:1193 msgid "" "use a tuple as the value and a custom :meth:`__new__` to replace the tuple " "with an :class:`int` value" msgstr "" -#: howto/enum.rst:1202 +#: howto/enum.rst:1196 msgid "" "Using any of these methods signifies to the user that these values are not " "important, and also enables one to add, remove, or reorder members without " "having to renumber the remaining members." msgstr "" -#: howto/enum.rst:1208 +#: howto/enum.rst:1202 msgid "Using :class:`auto`" msgstr "" -#: howto/enum.rst:1210 +#: howto/enum.rst:1204 msgid "Using :class:`auto` would look like::" msgstr "" -#: howto/enum.rst:1222 +#: howto/enum.rst:1216 msgid "Using :class:`object`" msgstr "" -#: howto/enum.rst:1224 +#: howto/enum.rst:1218 msgid "Using :class:`object` would look like::" msgstr "" -#: howto/enum.rst:1234 +#: howto/enum.rst:1228 msgid "" "This is also a good example of why you might want to write your own :meth:" "`__repr__`::" msgstr "" -#: howto/enum.rst:1250 +#: howto/enum.rst:1244 msgid "Using a descriptive string" msgstr "" -#: howto/enum.rst:1252 +#: howto/enum.rst:1246 msgid "Using a string as the value would look like::" msgstr "" -#: howto/enum.rst:1264 +#: howto/enum.rst:1258 msgid "Using a custom :meth:`__new__`" msgstr "" -#: howto/enum.rst:1266 +#: howto/enum.rst:1260 msgid "Using an auto-numbering :meth:`__new__` would look like::" msgstr "" -#: howto/enum.rst:1283 +#: howto/enum.rst:1277 msgid "" "To make a more general purpose ``AutoNumber``, add ``*args`` to the " "signature::" msgstr "" -#: howto/enum.rst:1293 +#: howto/enum.rst:1287 msgid "" "Then when you inherit from ``AutoNumber`` you can write your own " "``__init__`` to handle any extra arguments::" msgstr "" -#: howto/enum.rst:1312 +#: howto/enum.rst:1306 msgid "" "The :meth:`__new__` method, if defined, is used during creation of the Enum " "members; it is then replaced by Enum's :meth:`__new__` which is used after " "class creation for lookup of existing members." msgstr "" -#: howto/enum.rst:1318 +#: howto/enum.rst:1312 msgid "OrderedEnum" msgstr "" -#: howto/enum.rst:1320 +#: howto/enum.rst:1314 msgid "" "An ordered enumeration that is not based on :class:`IntEnum` and so " "maintains the normal :class:`Enum` invariants (such as not being comparable " "to other enumerations)::" msgstr "" -#: howto/enum.rst:1354 +#: howto/enum.rst:1348 msgid "DuplicateFreeEnum" msgstr "" -#: howto/enum.rst:1356 +#: howto/enum.rst:1350 msgid "" "Raises an error if a duplicate member value is found instead of creating an " "alias::" msgstr "" -#: howto/enum.rst:1381 +#: howto/enum.rst:1375 msgid "" "This is a useful example for subclassing Enum to add or change other " "behaviors as well as disallowing aliases. If the only desired change is " "disallowing aliases, the :func:`unique` decorator can be used instead." msgstr "" -#: howto/enum.rst:1387 +#: howto/enum.rst:1381 msgid "Planet" msgstr "" -#: howto/enum.rst:1389 +#: howto/enum.rst:1383 msgid "" "If :meth:`__new__` or :meth:`__init__` is defined, the value of the enum " "member will be passed to those methods::" msgstr "" -#: howto/enum.rst:1418 +#: howto/enum.rst:1412 msgid "TimePeriod" msgstr "" -#: howto/enum.rst:1420 +#: howto/enum.rst:1414 msgid "An example to show the :attr:`_ignore_` attribute in use::" msgstr "" -#: howto/enum.rst:1439 +#: howto/enum.rst:1433 msgid "Subclassing EnumType" msgstr "" -#: howto/enum.rst:1441 +#: howto/enum.rst:1435 msgid "" "While most enum needs can be met by customizing :class:`Enum` subclasses, " "either with class decorators or custom functions, :class:`EnumType` can be " diff --git a/howto/functional.po b/howto/functional.po index 1e518d926..4b56a7e98 100644 --- a/howto/functional.po +++ b/howto/functional.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1301,12 +1301,12 @@ msgstr "" #: howto/functional.rst:1210 msgid "" "**Structure and Interpretation of Computer Programs**, by Harold Abelson and " -"Gerald Jay Sussman with Julie Sussman. Full text at https://mitpress.mit." -"edu/sicp/. In this classic textbook of computer science, chapters 2 and 3 " -"discuss the use of sequences and streams to organize the data flow inside a " -"program. The book uses Scheme for its examples, but many of the design " -"approaches described in these chapters are applicable to functional-style " -"Python code." +"Gerald Jay Sussman with Julie Sussman. The book can be found at https://" +"mitpress.mit.edu/sicp. In this classic textbook of computer science, " +"chapters 2 and 3 discuss the use of sequences and streams to organize the " +"data flow inside a program. The book uses Scheme for its examples, but many " +"of the design approaches described in these chapters are applicable to " +"functional-style Python code." msgstr "" #: howto/functional.rst:1218 diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index 08e45d0f1..e1924c818 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -193,17 +193,17 @@ msgid "" "adding a ``filters`` section parallel to ``formatters`` and ``handlers``:" msgstr "" -#: howto/logging-cookbook.rst:350 +#: howto/logging-cookbook.rst:352 msgid "and changing the section on the ``stdout`` handler to add it:" msgstr "" -#: howto/logging-cookbook.rst:362 +#: howto/logging-cookbook.rst:366 msgid "" "A filter is just a function, so we can define the ``filter_maker`` (a " "factory function) as follows:" msgstr "" -#: howto/logging-cookbook.rst:375 +#: howto/logging-cookbook.rst:379 msgid "" "This converts the string argument passed in to a numeric level, and returns " "a function which only returns ``True`` if the level of the passed in record " @@ -214,45 +214,45 @@ msgid "" "you define it in a different module." msgstr "" -#: howto/logging-cookbook.rst:383 +#: howto/logging-cookbook.rst:387 msgid "With the filter added, we can run ``main.py``, which in full is:" msgstr "" -#: howto/logging-cookbook.rst:453 +#: howto/logging-cookbook.rst:457 msgid "And after running it like this:" msgstr "" -#: howto/logging-cookbook.rst:459 +#: howto/logging-cookbook.rst:463 msgid "We can see the results are as expected:" msgstr "" -#: howto/logging-cookbook.rst:485 +#: howto/logging-cookbook.rst:489 msgid "Configuration server example" msgstr "" -#: howto/logging-cookbook.rst:487 +#: howto/logging-cookbook.rst:491 msgid "Here is an example of a module using the logging configuration server::" msgstr "" -#: howto/logging-cookbook.rst:518 +#: howto/logging-cookbook.rst:522 msgid "" "And here is a script that takes a filename and sends that file to the " "server, properly preceded with the binary-encoded length, as the new logging " "configuration::" msgstr "" -#: howto/logging-cookbook.rst:543 +#: howto/logging-cookbook.rst:547 msgid "Dealing with handlers that block" msgstr "" -#: howto/logging-cookbook.rst:547 +#: howto/logging-cookbook.rst:551 msgid "" "Sometimes you have to get your logging handlers to do their work without " "blocking the thread you're logging from. This is common in web applications, " "though of course it also occurs in other scenarios." msgstr "" -#: howto/logging-cookbook.rst:551 +#: howto/logging-cookbook.rst:555 msgid "" "A common culprit which demonstrates sluggish behaviour is the :class:" "`SMTPHandler`: sending emails can take a long time, for a number of reasons " @@ -263,7 +263,7 @@ msgid "" "below the Python layer, and outside your control)." msgstr "" -#: howto/logging-cookbook.rst:559 +#: howto/logging-cookbook.rst:563 msgid "" "One solution is to use a two-part approach. For the first part, attach only " "a :class:`QueueHandler` to those loggers which are accessed from performance-" @@ -277,7 +277,7 @@ msgid "" "developers who will use your code." msgstr "" -#: howto/logging-cookbook.rst:570 +#: howto/logging-cookbook.rst:574 msgid "" "The second part of the solution is :class:`QueueListener`, which has been " "designed as the counterpart to :class:`QueueHandler`. A :class:" @@ -288,7 +288,7 @@ msgid "" "handlers for processing." msgstr "" -#: howto/logging-cookbook.rst:578 +#: howto/logging-cookbook.rst:582 msgid "" "The advantage of having a separate :class:`QueueListener` class is that you " "can use the same instance to service multiple ``QueueHandlers``. This is " @@ -297,15 +297,15 @@ msgid "" "benefit." msgstr "" -#: howto/logging-cookbook.rst:583 +#: howto/logging-cookbook.rst:587 msgid "An example of using these two classes follows (imports omitted)::" msgstr "" -#: howto/logging-cookbook.rst:601 +#: howto/logging-cookbook.rst:605 msgid "which, when run, will produce:" msgstr "" -#: howto/logging-cookbook.rst:607 +#: howto/logging-cookbook.rst:611 msgid "" "Although the earlier discussion wasn't specifically talking about async " "code, but rather about slow logging handlers, it should be noted that when " @@ -316,7 +316,7 @@ msgid "" "code runs only in the ``QueueListener`` thread." msgstr "" -#: howto/logging-cookbook.rst:615 +#: howto/logging-cookbook.rst:619 msgid "" "Prior to Python 3.5, the :class:`QueueListener` always passed every message " "received from the queue to every handler it was initialized with. (This was " @@ -328,30 +328,30 @@ msgid "" "handler if it's appropriate to do so." msgstr "" -#: howto/logging-cookbook.rst:628 +#: howto/logging-cookbook.rst:632 msgid "Sending and receiving logging events across a network" msgstr "" -#: howto/logging-cookbook.rst:630 +#: howto/logging-cookbook.rst:634 msgid "" "Let's say you want to send logging events across a network, and handle them " "at the receiving end. A simple way of doing this is attaching a :class:" "`SocketHandler` instance to the root logger at the sending end::" msgstr "" -#: howto/logging-cookbook.rst:658 +#: howto/logging-cookbook.rst:662 msgid "" "At the receiving end, you can set up a receiver using the :mod:" "`socketserver` module. Here is a basic working example::" msgstr "" -#: howto/logging-cookbook.rst:746 +#: howto/logging-cookbook.rst:750 msgid "" "First run the server, and then the client. On the client side, nothing is " "printed on the console; on the server side, you should see something like:" msgstr "" -#: howto/logging-cookbook.rst:758 +#: howto/logging-cookbook.rst:762 msgid "" "Note that there are some security issues with pickle in some scenarios. If " "these affect you, you can use an alternative serialization scheme by " @@ -360,11 +360,11 @@ msgid "" "use your alternative serialization." msgstr "" -#: howto/logging-cookbook.rst:766 +#: howto/logging-cookbook.rst:770 msgid "Running a logging socket listener in production" msgstr "" -#: howto/logging-cookbook.rst:770 +#: howto/logging-cookbook.rst:774 msgid "" "To run a logging listener in production, you may need to use a process-" "management tool such as `Supervisor `_. `Here is a " @@ -372,79 +372,79 @@ msgid "" "the above functionality using Supervisor. It consists of the following files:" msgstr "" -#: howto/logging-cookbook.rst:777 +#: howto/logging-cookbook.rst:781 msgid "File" msgstr "" -#: howto/logging-cookbook.rst:777 +#: howto/logging-cookbook.rst:781 msgid "Purpose" msgstr "" -#: howto/logging-cookbook.rst:779 +#: howto/logging-cookbook.rst:783 msgid ":file:`prepare.sh`" msgstr "" -#: howto/logging-cookbook.rst:779 +#: howto/logging-cookbook.rst:783 msgid "A Bash script to prepare the environment for testing" msgstr "" -#: howto/logging-cookbook.rst:782 +#: howto/logging-cookbook.rst:786 msgid ":file:`supervisor.conf`" msgstr "" -#: howto/logging-cookbook.rst:782 +#: howto/logging-cookbook.rst:786 msgid "" "The Supervisor configuration file, which has entries for the listener and a " "multi-process web application" msgstr "" -#: howto/logging-cookbook.rst:786 +#: howto/logging-cookbook.rst:790 msgid ":file:`ensure_app.sh`" msgstr "" -#: howto/logging-cookbook.rst:786 +#: howto/logging-cookbook.rst:790 msgid "" "A Bash script to ensure that Supervisor is running with the above " "configuration" msgstr "" -#: howto/logging-cookbook.rst:789 +#: howto/logging-cookbook.rst:793 msgid ":file:`log_listener.py`" msgstr "" -#: howto/logging-cookbook.rst:789 +#: howto/logging-cookbook.rst:793 msgid "" "The socket listener program which receives log events and records them to a " "file" msgstr "" -#: howto/logging-cookbook.rst:792 +#: howto/logging-cookbook.rst:796 msgid ":file:`main.py`" msgstr "" -#: howto/logging-cookbook.rst:792 +#: howto/logging-cookbook.rst:796 msgid "" "A simple web application which performs logging via a socket connected to " "the listener" msgstr "" -#: howto/logging-cookbook.rst:795 +#: howto/logging-cookbook.rst:799 msgid ":file:`webapp.json`" msgstr "" -#: howto/logging-cookbook.rst:795 +#: howto/logging-cookbook.rst:799 msgid "A JSON configuration file for the web application" msgstr "" -#: howto/logging-cookbook.rst:797 +#: howto/logging-cookbook.rst:801 msgid ":file:`client.py`" msgstr "" -#: howto/logging-cookbook.rst:797 +#: howto/logging-cookbook.rst:801 msgid "A Python script to exercise the web application" msgstr "" -#: howto/logging-cookbook.rst:800 +#: howto/logging-cookbook.rst:804 msgid "" "The web application uses `Gunicorn `_, which is a " "popular web application server that starts multiple worker processes to " @@ -453,21 +453,21 @@ msgid "" "the socket listener." msgstr "" -#: howto/logging-cookbook.rst:805 +#: howto/logging-cookbook.rst:809 msgid "To test these files, do the following in a POSIX environment:" msgstr "" -#: howto/logging-cookbook.rst:807 +#: howto/logging-cookbook.rst:811 msgid "" "Download `the Gist `__ as a ZIP archive using the :" "guilabel:`Download ZIP` button." msgstr "" -#: howto/logging-cookbook.rst:810 +#: howto/logging-cookbook.rst:814 msgid "Unzip the above files from the archive into a scratch directory." msgstr "" -#: howto/logging-cookbook.rst:812 +#: howto/logging-cookbook.rst:816 msgid "" "In the scratch directory, run ``bash prepare.sh`` to get things ready. This " "creates a :file:`run` subdirectory to contain Supervisor-related and log " @@ -475,19 +475,19 @@ msgid "" "which ``bottle``, ``gunicorn`` and ``supervisor`` are installed." msgstr "" -#: howto/logging-cookbook.rst:817 +#: howto/logging-cookbook.rst:821 msgid "" "Run ``bash ensure_app.sh`` to ensure that Supervisor is running with the " "above configuration." msgstr "" -#: howto/logging-cookbook.rst:820 +#: howto/logging-cookbook.rst:824 msgid "" "Run ``venv/bin/python client.py`` to exercise the web application, which " "will lead to records being written to the log." msgstr "" -#: howto/logging-cookbook.rst:823 +#: howto/logging-cookbook.rst:827 msgid "" "Inspect the log files in the :file:`run` subdirectory. You should see the " "most recent log lines in files matching the pattern :file:`app.log*`. They " @@ -495,23 +495,23 @@ msgid "" "by different worker processes in a non-deterministic way." msgstr "" -#: howto/logging-cookbook.rst:828 +#: howto/logging-cookbook.rst:832 msgid "" "You can shut down the listener and the web application by running ``venv/bin/" "supervisorctl -c supervisor.conf shutdown``." msgstr "" -#: howto/logging-cookbook.rst:831 +#: howto/logging-cookbook.rst:835 msgid "" "You may need to tweak the configuration files in the unlikely event that the " "configured ports clash with something else in your test environment." msgstr "" -#: howto/logging-cookbook.rst:837 +#: howto/logging-cookbook.rst:841 msgid "Adding contextual information to your logging output" msgstr "" -#: howto/logging-cookbook.rst:839 +#: howto/logging-cookbook.rst:843 msgid "" "Sometimes you want logging output to contain contextual information in " "addition to the parameters passed to the logging call. For example, in a " @@ -527,11 +527,11 @@ msgid "" "`Logger` instances becomes effectively unbounded." msgstr "" -#: howto/logging-cookbook.rst:854 +#: howto/logging-cookbook.rst:858 msgid "Using LoggerAdapters to impart contextual information" msgstr "" -#: howto/logging-cookbook.rst:856 +#: howto/logging-cookbook.rst:860 msgid "" "An easy way in which you can pass contextual information to be output along " "with logging event information is to use the :class:`LoggerAdapter` class. " @@ -542,7 +542,7 @@ msgid "" "types of instances interchangeably." msgstr "" -#: howto/logging-cookbook.rst:864 +#: howto/logging-cookbook.rst:868 msgid "" "When you create an instance of :class:`LoggerAdapter`, you pass it a :class:" "`Logger` instance and a dict-like object which contains your contextual " @@ -553,7 +553,7 @@ msgid "" "of :class:`LoggerAdapter`::" msgstr "" -#: howto/logging-cookbook.rst:880 +#: howto/logging-cookbook.rst:884 msgid "" "The :meth:`~LoggerAdapter.process` method of :class:`LoggerAdapter` is where " "the contextual information is added to the logging output. It's passed the " @@ -566,7 +566,7 @@ msgid "" "be silently overwritten." msgstr "" -#: howto/logging-cookbook.rst:889 +#: howto/logging-cookbook.rst:893 msgid "" "The advantage of using 'extra' is that the values in the dict-like object " "are merged into the :class:`LogRecord` instance's __dict__, allowing you to " @@ -577,21 +577,21 @@ msgid "" "`~LoggerAdapter.process` to do what you need. Here is a simple example::" msgstr "" -#: howto/logging-cookbook.rst:905 +#: howto/logging-cookbook.rst:909 msgid "which you can use like this::" msgstr "" -#: howto/logging-cookbook.rst:910 +#: howto/logging-cookbook.rst:914 msgid "" "Then any events that you log to the adapter will have the value of " "``some_conn_id`` prepended to the log messages." msgstr "" -#: howto/logging-cookbook.rst:914 +#: howto/logging-cookbook.rst:918 msgid "Using objects other than dicts to pass contextual information" msgstr "" -#: howto/logging-cookbook.rst:916 +#: howto/logging-cookbook.rst:920 msgid "" "You don't need to pass an actual dict to a :class:`LoggerAdapter` - you " "could pass an instance of a class which implements ``__getitem__`` and " @@ -600,11 +600,11 @@ msgid "" "would be constant)." msgstr "" -#: howto/logging-cookbook.rst:925 +#: howto/logging-cookbook.rst:929 msgid "Using Filters to impart contextual information" msgstr "" -#: howto/logging-cookbook.rst:927 +#: howto/logging-cookbook.rst:931 msgid "" "You can also add contextual information to log output using a user-defined :" "class:`Filter`. ``Filter`` instances are allowed to modify the " @@ -613,7 +613,7 @@ msgid "" "class:`Formatter`." msgstr "" -#: howto/logging-cookbook.rst:932 +#: howto/logging-cookbook.rst:936 msgid "" "For example in a web application, the request being processed (or at least, " "the interesting parts of it) can be stored in a threadlocal (:class:" @@ -625,15 +625,15 @@ msgid "" "an example script::" msgstr "" -#: howto/logging-cookbook.rst:978 +#: howto/logging-cookbook.rst:982 msgid "which, when run, produces something like:" msgstr "" -#: howto/logging-cookbook.rst:996 +#: howto/logging-cookbook.rst:1000 msgid "Use of ``contextvars``" msgstr "" -#: howto/logging-cookbook.rst:998 +#: howto/logging-cookbook.rst:1002 msgid "" "Since Python 3.7, the :mod:`contextvars` module has provided context-local " "storage which works for both :mod:`threading` and :mod:`asyncio` processing " @@ -643,7 +643,7 @@ msgid "" "attributes handled by web applications." msgstr "" -#: howto/logging-cookbook.rst:1004 +#: howto/logging-cookbook.rst:1008 msgid "" "For the purposes of illustration, say that you have different web " "applications, each independent of the other but running in the same Python " @@ -654,18 +654,18 @@ msgid "" "information such as client IP, HTTP request method and client username?" msgstr "" -#: howto/logging-cookbook.rst:1011 +#: howto/logging-cookbook.rst:1015 msgid "Let's assume that the library can be simulated by the following code:" msgstr "" -#: howto/logging-cookbook.rst:1027 +#: howto/logging-cookbook.rst:1031 msgid "" "We can simulate the multiple web applications by means of two simple " "classes, ``Request`` and ``WebApp``. These simulate how real threaded web " "applications work - each request is handled by a thread:" msgstr "" -#: howto/logging-cookbook.rst:1171 +#: howto/logging-cookbook.rst:1175 msgid "" "If you run the above, you should find that roughly half the requests go " "into :file:`app1.log` and the rest into :file:`app2.log`, and the all the " @@ -676,11 +676,11 @@ msgid "" "illustrated by the following shell output:" msgstr "" -#: howto/logging-cookbook.rst:1218 +#: howto/logging-cookbook.rst:1222 msgid "Imparting contextual information in handlers" msgstr "" -#: howto/logging-cookbook.rst:1220 +#: howto/logging-cookbook.rst:1224 msgid "" "Each :class:`~Handler` has its own chain of filters. If you want to add " "contextual information to a :class:`LogRecord` without leaking it to other " @@ -688,11 +688,11 @@ msgid "" "instead of modifying it in-place, as shown in the following script::" msgstr "" -#: howto/logging-cookbook.rst:1247 +#: howto/logging-cookbook.rst:1251 msgid "Logging to a single file from multiple processes" msgstr "" -#: howto/logging-cookbook.rst:1249 +#: howto/logging-cookbook.rst:1253 msgid "" "Although logging is thread-safe, and logging to a single file from multiple " "threads in a single process *is* supported, logging to a single file from " @@ -708,7 +708,7 @@ msgid "" "you to adapt in your own applications." msgstr "" -#: howto/logging-cookbook.rst:1262 +#: howto/logging-cookbook.rst:1266 msgid "" "You could also write your own handler which uses the :class:" "`~multiprocessing.Lock` class from the :mod:`multiprocessing` module to " @@ -719,7 +719,7 @@ msgid "" "platforms (see https://bugs.python.org/issue3770)." msgstr "" -#: howto/logging-cookbook.rst:1272 +#: howto/logging-cookbook.rst:1276 msgid "" "Alternatively, you can use a ``Queue`` and a :class:`QueueHandler` to send " "all logging events to one of the processes in your multi-process " @@ -734,13 +734,13 @@ msgid "" "requirements::" msgstr "" -#: howto/logging-cookbook.rst:1388 +#: howto/logging-cookbook.rst:1392 msgid "" "A variant of the above script keeps the logging in the main process, in a " "separate thread::" msgstr "" -#: howto/logging-cookbook.rst:1483 +#: howto/logging-cookbook.rst:1487 msgid "" "This variant shows how you can e.g. apply configuration for particular " "loggers - e.g. the ``foo`` logger has a special handler which stores all " @@ -750,34 +750,34 @@ msgid "" "appropriate destinations." msgstr "" -#: howto/logging-cookbook.rst:1490 +#: howto/logging-cookbook.rst:1494 msgid "Using concurrent.futures.ProcessPoolExecutor" msgstr "" -#: howto/logging-cookbook.rst:1492 +#: howto/logging-cookbook.rst:1496 msgid "" "If you want to use :class:`concurrent.futures.ProcessPoolExecutor` to start " "your worker processes, you need to create the queue slightly differently. " "Instead of" msgstr "" -#: howto/logging-cookbook.rst:1500 +#: howto/logging-cookbook.rst:1504 msgid "you should use" msgstr "" -#: howto/logging-cookbook.rst:1506 +#: howto/logging-cookbook.rst:1510 msgid "and you can then replace the worker creation from this::" msgstr "" -#: howto/logging-cookbook.rst:1517 +#: howto/logging-cookbook.rst:1521 msgid "to this (remembering to first import :mod:`concurrent.futures`)::" msgstr "" -#: howto/logging-cookbook.rst:1524 +#: howto/logging-cookbook.rst:1528 msgid "Deploying Web applications using Gunicorn and uWSGI" msgstr "" -#: howto/logging-cookbook.rst:1526 +#: howto/logging-cookbook.rst:1530 msgid "" "When deploying Web applications using `Gunicorn `_ or " "`uWSGI `_ (or similar), " @@ -789,11 +789,11 @@ msgid "" "listener in production`_ for more details." msgstr "" -#: howto/logging-cookbook.rst:1536 +#: howto/logging-cookbook.rst:1540 msgid "Using file rotation" msgstr "" -#: howto/logging-cookbook.rst:1541 +#: howto/logging-cookbook.rst:1545 msgid "" "Sometimes you want to let a log file grow to a certain size, then open a new " "file and log to that. You may want to keep a certain number of these files, " @@ -803,13 +803,13 @@ msgid "" "RotatingFileHandler`::" msgstr "" -#: howto/logging-cookbook.rst:1573 +#: howto/logging-cookbook.rst:1577 msgid "" "The result should be 6 separate files, each with part of the log history for " "the application:" msgstr "" -#: howto/logging-cookbook.rst:1585 +#: howto/logging-cookbook.rst:1589 msgid "" "The most current file is always :file:`logging_rotatingfile_example.out`, " "and each time it reaches the size limit it is renamed with the suffix " @@ -817,17 +817,17 @@ msgid "" "(``.1`` becomes ``.2``, etc.) and the ``.6`` file is erased." msgstr "" -#: howto/logging-cookbook.rst:1590 +#: howto/logging-cookbook.rst:1594 msgid "" "Obviously this example sets the log length much too small as an extreme " "example. You would want to set *maxBytes* to an appropriate value." msgstr "" -#: howto/logging-cookbook.rst:1596 +#: howto/logging-cookbook.rst:1600 msgid "Use of alternative formatting styles" msgstr "" -#: howto/logging-cookbook.rst:1598 +#: howto/logging-cookbook.rst:1602 msgid "" "When logging was added to the Python standard library, the only way of " "formatting messages with variable content was to use the %-formatting " @@ -836,7 +836,7 @@ msgid "" "Python 2.6)." msgstr "" -#: howto/logging-cookbook.rst:1604 +#: howto/logging-cookbook.rst:1608 msgid "" "Logging (as of 3.2) provides improved support for these two additional " "formatting styles. The :class:`Formatter` class been enhanced to take an " @@ -849,14 +849,14 @@ msgid "" "session to show the possibilities:" msgstr "" -#: howto/logging-cookbook.rst:1638 +#: howto/logging-cookbook.rst:1642 msgid "" "Note that the formatting of logging messages for final output to logs is " "completely independent of how an individual logging message is constructed. " "That can still use %-formatting, as shown here::" msgstr "" -#: howto/logging-cookbook.rst:1646 +#: howto/logging-cookbook.rst:1650 msgid "" "Logging calls (``logger.debug()``, ``logger.info()`` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -872,7 +872,7 @@ msgid "" "strings." msgstr "" -#: howto/logging-cookbook.rst:1659 +#: howto/logging-cookbook.rst:1663 msgid "" "There is, however, a way that you can use {}- and $- formatting to construct " "your individual log messages. Recall that for a message you can use an " @@ -881,7 +881,7 @@ msgid "" "the following two classes::" msgstr "" -#: howto/logging-cookbook.rst:1683 +#: howto/logging-cookbook.rst:1687 msgid "" "Either of these can be used in place of a format string, to allow {}- or $-" "formatting to be used to build the actual \"message\" part which appears in " @@ -892,21 +892,21 @@ msgid "" "used as a synonym/alias for :func:`gettext.gettext` or its brethren)." msgstr "" -#: howto/logging-cookbook.rst:1691 +#: howto/logging-cookbook.rst:1695 msgid "" "The above classes are not included in Python, though they're easy enough to " "copy and paste into your own code. They can be used as follows (assuming " "that they're declared in a module called ``wherever``):" msgstr "" -#: howto/logging-cookbook.rst:1713 +#: howto/logging-cookbook.rst:1717 msgid "" "While the above examples use ``print()`` to show how the formatting works, " "you would of course use ``logger.debug()`` or similar to actually log using " "this approach." msgstr "" -#: howto/logging-cookbook.rst:1717 +#: howto/logging-cookbook.rst:1721 msgid "" "One thing to note is that you pay no significant performance penalty with " "this approach: the actual formatting happens not when you make the logging " @@ -917,23 +917,23 @@ msgid "" "sugar for a constructor call to one of the XXXMessage classes." msgstr "" -#: howto/logging-cookbook.rst:1725 +#: howto/logging-cookbook.rst:1729 msgid "" "If you prefer, you can use a :class:`LoggerAdapter` to achieve a similar " "effect to the above, as in the following example::" msgstr "" -#: howto/logging-cookbook.rst:1756 +#: howto/logging-cookbook.rst:1760 msgid "" "The above script should log the message ``Hello, world!`` when run with " "Python 3.2 or later." msgstr "" -#: howto/logging-cookbook.rst:1765 +#: howto/logging-cookbook.rst:1769 msgid "Customizing ``LogRecord``" msgstr "" -#: howto/logging-cookbook.rst:1767 +#: howto/logging-cookbook.rst:1771 msgid "" "Every logging event is represented by a :class:`LogRecord` instance. When an " "event is logged and not filtered out by a logger's level, a :class:" @@ -944,13 +944,13 @@ msgid "" "was done:" msgstr "" -#: howto/logging-cookbook.rst:1774 +#: howto/logging-cookbook.rst:1778 msgid "" ":meth:`Logger.makeRecord`, which is called in the normal process of logging " "an event. This invoked :class:`LogRecord` directly to create an instance." msgstr "" -#: howto/logging-cookbook.rst:1777 +#: howto/logging-cookbook.rst:1781 msgid "" ":func:`makeLogRecord`, which is called with a dictionary containing " "attributes to be added to the LogRecord. This is typically invoked when a " @@ -959,27 +959,27 @@ msgid "" "`~handlers.HTTPHandler`)." msgstr "" -#: howto/logging-cookbook.rst:1783 +#: howto/logging-cookbook.rst:1787 msgid "" "This has usually meant that if you need to do anything special with a :class:" "`LogRecord`, you've had to do one of the following." msgstr "" -#: howto/logging-cookbook.rst:1786 +#: howto/logging-cookbook.rst:1790 msgid "" "Create your own :class:`Logger` subclass, which overrides :meth:`Logger." "makeRecord`, and set it using :func:`~logging.setLoggerClass` before any " "loggers that you care about are instantiated." msgstr "" -#: howto/logging-cookbook.rst:1789 +#: howto/logging-cookbook.rst:1793 msgid "" "Add a :class:`Filter` to a logger or handler, which does the necessary " "special manipulation you need when its :meth:`~Filter.filter` method is " "called." msgstr "" -#: howto/logging-cookbook.rst:1793 +#: howto/logging-cookbook.rst:1797 msgid "" "The first approach would be a little unwieldy in the scenario where (say) " "several different libraries wanted to do different things. Each would " @@ -987,7 +987,7 @@ msgid "" "last would win." msgstr "" -#: howto/logging-cookbook.rst:1798 +#: howto/logging-cookbook.rst:1802 msgid "" "The second approach works reasonably well for many cases, but does not allow " "you to e.g. use a specialized subclass of :class:`LogRecord`. Library " @@ -996,7 +996,7 @@ msgid "" "would do simply by adding new packages or modules and doing ::" msgstr "" -#: howto/logging-cookbook.rst:1806 +#: howto/logging-cookbook.rst:1810 msgid "" "at module level). It's probably one too many things to think about. " "Developers could also add the filter to a :class:`~logging.NullHandler` " @@ -1006,7 +1006,7 @@ msgid "" "developer." msgstr "" -#: howto/logging-cookbook.rst:1812 +#: howto/logging-cookbook.rst:1816 msgid "" "In Python 3.2 and later, :class:`~logging.LogRecord` creation is done " "through a factory, which you can specify. The factory is just a callable you " @@ -1016,7 +1016,7 @@ msgid "" "`LogRecord` is the default setting for the factory." msgstr "" -#: howto/logging-cookbook.rst:1819 +#: howto/logging-cookbook.rst:1823 msgid "" "This approach allows a custom factory to control all aspects of LogRecord " "creation. For example, you could return a subclass, or just add some " @@ -1024,7 +1024,7 @@ msgid "" "this::" msgstr "" -#: howto/logging-cookbook.rst:1832 +#: howto/logging-cookbook.rst:1836 msgid "" "This pattern allows different libraries to chain factories together, and as " "long as they don't overwrite each other's attributes or unintentionally " @@ -1034,70 +1034,70 @@ msgid "" "used when the use of a :class:`Filter` does not provide the desired result." msgstr "" -#: howto/logging-cookbook.rst:1843 +#: howto/logging-cookbook.rst:1847 msgid "Subclassing QueueHandler - a ZeroMQ example" msgstr "" -#: howto/logging-cookbook.rst:1845 +#: howto/logging-cookbook.rst:1849 msgid "" "You can use a :class:`QueueHandler` subclass to send messages to other kinds " "of queues, for example a ZeroMQ 'publish' socket. In the example below,the " "socket is created separately and passed to the handler (as its 'queue')::" msgstr "" -#: howto/logging-cookbook.rst:1864 +#: howto/logging-cookbook.rst:1868 msgid "" "Of course there are other ways of organizing this, for example passing in " "the data needed by the handler to create the socket::" msgstr "" -#: howto/logging-cookbook.rst:1882 +#: howto/logging-cookbook.rst:1886 msgid "Subclassing QueueListener - a ZeroMQ example" msgstr "" -#: howto/logging-cookbook.rst:1884 +#: howto/logging-cookbook.rst:1888 msgid "" "You can also subclass :class:`QueueListener` to get messages from other " "kinds of queues, for example a ZeroMQ 'subscribe' socket. Here's an example::" msgstr "" -#: howto/logging-cookbook.rst:1903 howto/logging-cookbook.rst:3944 +#: howto/logging-cookbook.rst:1907 howto/logging-cookbook.rst:3948 msgid "Module :mod:`logging`" msgstr "" -#: howto/logging-cookbook.rst:1903 howto/logging-cookbook.rst:3944 +#: howto/logging-cookbook.rst:1907 howto/logging-cookbook.rst:3948 msgid "API reference for the logging module." msgstr "" -#: howto/logging-cookbook.rst:1906 howto/logging-cookbook.rst:3947 +#: howto/logging-cookbook.rst:1910 howto/logging-cookbook.rst:3951 msgid "Module :mod:`logging.config`" msgstr "" -#: howto/logging-cookbook.rst:1906 howto/logging-cookbook.rst:3947 +#: howto/logging-cookbook.rst:1910 howto/logging-cookbook.rst:3951 msgid "Configuration API for the logging module." msgstr "" -#: howto/logging-cookbook.rst:1909 howto/logging-cookbook.rst:3950 +#: howto/logging-cookbook.rst:1913 howto/logging-cookbook.rst:3954 msgid "Module :mod:`logging.handlers`" msgstr "" -#: howto/logging-cookbook.rst:1909 howto/logging-cookbook.rst:3950 +#: howto/logging-cookbook.rst:1913 howto/logging-cookbook.rst:3954 msgid "Useful handlers included with the logging module." msgstr "" -#: howto/logging-cookbook.rst:1911 +#: howto/logging-cookbook.rst:1915 msgid ":ref:`A basic logging tutorial `" msgstr "" -#: howto/logging-cookbook.rst:1913 +#: howto/logging-cookbook.rst:1917 msgid ":ref:`A more advanced logging tutorial `" msgstr "" -#: howto/logging-cookbook.rst:1917 +#: howto/logging-cookbook.rst:1921 msgid "An example dictionary-based configuration" msgstr "" -#: howto/logging-cookbook.rst:1919 +#: howto/logging-cookbook.rst:1923 msgid "" "Below is an example of a logging configuration dictionary - it's taken from " "the `documentation on the Django project `_ of the Django documentation." msgstr "" -#: howto/logging-cookbook.rst:1982 +#: howto/logging-cookbook.rst:1986 msgid "Using a rotator and namer to customize log rotation processing" msgstr "" -#: howto/logging-cookbook.rst:1984 +#: howto/logging-cookbook.rst:1988 msgid "" "An example of how you can define a namer and rotator is given in the " "following runnable script, which shows gzip compression of the log file::" msgstr "" -#: howto/logging-cookbook.rst:2015 +#: howto/logging-cookbook.rst:2019 msgid "" "After running this, you will see six new files, five of which are compressed:" msgstr "" -#: howto/logging-cookbook.rst:2028 +#: howto/logging-cookbook.rst:2032 msgid "A more elaborate multiprocessing example" msgstr "" -#: howto/logging-cookbook.rst:2030 +#: howto/logging-cookbook.rst:2034 msgid "" "The following working example shows how logging can be used with " "multiprocessing using configuration files. The configurations are fairly " @@ -1139,7 +1139,7 @@ msgid "" "in a real multiprocessing scenario." msgstr "" -#: howto/logging-cookbook.rst:2035 +#: howto/logging-cookbook.rst:2039 msgid "" "In the example, the main process spawns a listener process and some worker " "processes. Each of the main process, the listener and the workers have three " @@ -1152,17 +1152,17 @@ msgid "" "own scenario." msgstr "" -#: howto/logging-cookbook.rst:2045 +#: howto/logging-cookbook.rst:2049 msgid "" "Here's the script - the docstrings and the comments hopefully explain how it " "works::" msgstr "" -#: howto/logging-cookbook.rst:2257 +#: howto/logging-cookbook.rst:2261 msgid "Inserting a BOM into messages sent to a SysLogHandler" msgstr "" -#: howto/logging-cookbook.rst:2259 +#: howto/logging-cookbook.rst:2263 msgid "" ":rfc:`5424` requires that a Unicode message be sent to a syslog daemon as a " "set of bytes which have the following structure: an optional pure-ASCII " @@ -1171,7 +1171,7 @@ msgid "" "<5424#section-6>`.)" msgstr "" -#: howto/logging-cookbook.rst:2265 +#: howto/logging-cookbook.rst:2269 msgid "" "In Python 3.1, code was added to :class:`~logging.handlers.SysLogHandler` to " "insert a BOM into the message, but unfortunately, it was implemented " @@ -1179,7 +1179,7 @@ msgid "" "hence not allowing any pure-ASCII component to appear before it." msgstr "" -#: howto/logging-cookbook.rst:2271 +#: howto/logging-cookbook.rst:2275 msgid "" "As this behaviour is broken, the incorrect BOM insertion code is being " "removed from Python 3.2.4 and later. However, it is not being replaced, and " @@ -1188,33 +1188,33 @@ msgid "" "encoded using UTF-8, then you need to do the following:" msgstr "" -#: howto/logging-cookbook.rst:2277 +#: howto/logging-cookbook.rst:2281 msgid "" "Attach a :class:`~logging.Formatter` instance to your :class:`~logging." "handlers.SysLogHandler` instance, with a format string such as::" msgstr "" -#: howto/logging-cookbook.rst:2283 +#: howto/logging-cookbook.rst:2287 msgid "" "The Unicode code point U+FEFF, when encoded using UTF-8, will be encoded as " "a UTF-8 BOM -- the byte-string ``b'\\xef\\xbb\\xbf'``." msgstr "" -#: howto/logging-cookbook.rst:2286 +#: howto/logging-cookbook.rst:2290 msgid "" "Replace the ASCII section with whatever placeholders you like, but make sure " "that the data that appears in there after substitution is always ASCII (that " "way, it will remain unchanged after UTF-8 encoding)." msgstr "" -#: howto/logging-cookbook.rst:2290 +#: howto/logging-cookbook.rst:2294 msgid "" "Replace the Unicode section with whatever placeholders you like; if the data " "which appears there after substitution contains characters outside the ASCII " "range, that's fine -- it will be encoded using UTF-8." msgstr "" -#: howto/logging-cookbook.rst:2294 +#: howto/logging-cookbook.rst:2298 msgid "" "The formatted message *will* be encoded using UTF-8 encoding by " "``SysLogHandler``. If you follow the above rules, you should be able to " @@ -1223,11 +1223,11 @@ msgid "" "daemon may complain." msgstr "" -#: howto/logging-cookbook.rst:2301 +#: howto/logging-cookbook.rst:2305 msgid "Implementing structured logging" msgstr "" -#: howto/logging-cookbook.rst:2303 +#: howto/logging-cookbook.rst:2307 msgid "" "Although most logging messages are intended for reading by humans, and thus " "not readily machine-parseable, there might be circumstances where you want " @@ -1239,31 +1239,31 @@ msgid "" "machine-parseable manner::" msgstr "" -#: howto/logging-cookbook.rst:2327 +#: howto/logging-cookbook.rst:2331 msgid "If the above script is run, it prints:" msgstr "" -#: howto/logging-cookbook.rst:2333 howto/logging-cookbook.rst:2375 +#: howto/logging-cookbook.rst:2337 howto/logging-cookbook.rst:2379 msgid "" "Note that the order of items might be different according to the version of " "Python used." msgstr "" -#: howto/logging-cookbook.rst:2336 +#: howto/logging-cookbook.rst:2340 msgid "" "If you need more specialised processing, you can use a custom JSON encoder, " "as in the following complete example::" msgstr "" -#: howto/logging-cookbook.rst:2369 +#: howto/logging-cookbook.rst:2373 msgid "When the above script is run, it prints:" msgstr "" -#: howto/logging-cookbook.rst:2384 +#: howto/logging-cookbook.rst:2388 msgid "Customizing handlers with :func:`dictConfig`" msgstr "" -#: howto/logging-cookbook.rst:2386 +#: howto/logging-cookbook.rst:2390 msgid "" "There are times when you want to customize logging handlers in particular " "ways, and if you use :func:`dictConfig` you may be able to do this without " @@ -1273,24 +1273,24 @@ msgid "" "customize handler creation using a plain function such as::" msgstr "" -#: howto/logging-cookbook.rst:2400 +#: howto/logging-cookbook.rst:2404 msgid "" "You can then specify, in a logging configuration passed to :func:" "`dictConfig`, that a logging handler be created by calling this function::" msgstr "" -#: howto/logging-cookbook.rst:2433 +#: howto/logging-cookbook.rst:2437 msgid "" "In this example I am setting the ownership using the ``pulse`` user and " "group, just for the purposes of illustration. Putting it together into a " "working script, ``chowntest.py``::" msgstr "" -#: howto/logging-cookbook.rst:2480 +#: howto/logging-cookbook.rst:2484 msgid "To run this, you will probably need to run as ``root``:" msgstr "" -#: howto/logging-cookbook.rst:2490 +#: howto/logging-cookbook.rst:2494 msgid "" "Note that this example uses Python 3.3 because that's where :func:`shutil." "chown` makes an appearance. This approach should work with any Python " @@ -1299,17 +1299,17 @@ msgid "" "change using e.g. :func:`os.chown`." msgstr "" -#: howto/logging-cookbook.rst:2496 +#: howto/logging-cookbook.rst:2500 msgid "" "In practice, the handler-creating function may be in a utility module " "somewhere in your project. Instead of the line in the configuration::" msgstr "" -#: howto/logging-cookbook.rst:2501 +#: howto/logging-cookbook.rst:2505 msgid "you could use e.g.::" msgstr "" -#: howto/logging-cookbook.rst:2505 +#: howto/logging-cookbook.rst:2509 msgid "" "where ``project.util`` can be replaced with the actual name of the package " "where the function resides. In the above working script, using ``'ext://" @@ -1317,25 +1317,25 @@ msgid "" "resolved by :func:`dictConfig` from the ``ext://`` specification." msgstr "" -#: howto/logging-cookbook.rst:2510 +#: howto/logging-cookbook.rst:2514 msgid "" "This example hopefully also points the way to how you could implement other " "types of file change - e.g. setting specific POSIX permission bits - in the " "same way, using :func:`os.chmod`." msgstr "" -#: howto/logging-cookbook.rst:2514 +#: howto/logging-cookbook.rst:2518 msgid "" "Of course, the approach could also be extended to types of handler other " "than a :class:`~logging.FileHandler` - for example, one of the rotating file " "handlers, or a different type of handler altogether." msgstr "" -#: howto/logging-cookbook.rst:2524 +#: howto/logging-cookbook.rst:2528 msgid "Using particular formatting styles throughout your application" msgstr "" -#: howto/logging-cookbook.rst:2526 +#: howto/logging-cookbook.rst:2530 msgid "" "In Python 3.2, the :class:`~logging.Formatter` gained a ``style`` keyword " "parameter which, while defaulting to ``%`` for backward compatibility, " @@ -1346,7 +1346,7 @@ msgid "" "is constructed." msgstr "" -#: howto/logging-cookbook.rst:2533 +#: howto/logging-cookbook.rst:2537 msgid "" "Logging calls (:meth:`~Logger.debug`, :meth:`~Logger.info` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -1361,7 +1361,7 @@ msgid "" "calls which are out there in existing code will be using %-format strings." msgstr "" -#: howto/logging-cookbook.rst:2545 +#: howto/logging-cookbook.rst:2549 msgid "" "There have been suggestions to associate format styles with specific " "loggers, but that approach also runs into backward compatibility problems " @@ -1369,7 +1369,7 @@ msgid "" "formatting." msgstr "" -#: howto/logging-cookbook.rst:2549 +#: howto/logging-cookbook.rst:2553 msgid "" "For logging to work interoperably between any third-party libraries and your " "code, decisions about formatting need to be made at the level of the " @@ -1377,11 +1377,11 @@ msgid "" "formatting styles can be accommodated." msgstr "" -#: howto/logging-cookbook.rst:2556 +#: howto/logging-cookbook.rst:2560 msgid "Using LogRecord factories" msgstr "" -#: howto/logging-cookbook.rst:2558 +#: howto/logging-cookbook.rst:2562 msgid "" "In Python 3.2, along with the :class:`~logging.Formatter` changes mentioned " "above, the logging package gained the ability to allow users to set their " @@ -1396,17 +1396,17 @@ msgid "" "implementation does." msgstr "" -#: howto/logging-cookbook.rst:2569 +#: howto/logging-cookbook.rst:2573 msgid "" "Refer to the reference documentation on :func:`setLogRecordFactory` and :" "class:`LogRecord` for more information." msgstr "" -#: howto/logging-cookbook.rst:2574 +#: howto/logging-cookbook.rst:2578 msgid "Using custom message objects" msgstr "" -#: howto/logging-cookbook.rst:2576 +#: howto/logging-cookbook.rst:2580 msgid "" "There is another, perhaps simpler way that you can use {}- and $- formatting " "to construct your individual log messages. You may recall (from :ref:" @@ -1416,7 +1416,7 @@ msgid "" "following two classes::" msgstr "" -#: howto/logging-cookbook.rst:2601 +#: howto/logging-cookbook.rst:2605 msgid "" "Either of these can be used in place of a format string, to allow {}- or $-" "formatting to be used to build the actual \"message\" part which appears in " @@ -1427,17 +1427,17 @@ msgid "" "using ``_`` for localization)." msgstr "" -#: howto/logging-cookbook.rst:2609 +#: howto/logging-cookbook.rst:2613 msgid "" "Examples of this approach are given below. Firstly, formatting with :meth:" "`str.format`::" msgstr "" -#: howto/logging-cookbook.rst:2623 +#: howto/logging-cookbook.rst:2627 msgid "Secondly, formatting with :class:`string.Template`::" msgstr "" -#: howto/logging-cookbook.rst:2630 +#: howto/logging-cookbook.rst:2634 msgid "" "One thing to note is that you pay no significant performance penalty with " "this approach: the actual formatting happens not when you make the logging " @@ -1449,11 +1449,11 @@ msgid "" "above." msgstr "" -#: howto/logging-cookbook.rst:2644 +#: howto/logging-cookbook.rst:2648 msgid "Configuring filters with :func:`dictConfig`" msgstr "" -#: howto/logging-cookbook.rst:2646 +#: howto/logging-cookbook.rst:2650 msgid "" "You *can* configure filters using :func:`~logging.config.dictConfig`, though " "it might not be obvious at first glance how to do it (hence this recipe). " @@ -1468,22 +1468,22 @@ msgid "" "complete example::" msgstr "" -#: howto/logging-cookbook.rst:2699 +#: howto/logging-cookbook.rst:2703 msgid "" "This example shows how you can pass configuration data to the callable which " "constructs the instance, in the form of keyword parameters. When run, the " "above script will print:" msgstr "" -#: howto/logging-cookbook.rst:2707 +#: howto/logging-cookbook.rst:2711 msgid "which shows that the filter is working as configured." msgstr "" -#: howto/logging-cookbook.rst:2709 +#: howto/logging-cookbook.rst:2713 msgid "A couple of extra points to note:" msgstr "" -#: howto/logging-cookbook.rst:2711 +#: howto/logging-cookbook.rst:2715 msgid "" "If you can't refer to the callable directly in the configuration (e.g. if it " "lives in a different module, and you can't import it directly where the " @@ -1493,7 +1493,7 @@ msgid "" "the above example." msgstr "" -#: howto/logging-cookbook.rst:2718 +#: howto/logging-cookbook.rst:2722 msgid "" "As well as for filters, this technique can also be used to configure custom " "handlers and formatters. See :ref:`logging-config-dict-userdef` for more " @@ -1502,11 +1502,11 @@ msgid "" "above." msgstr "" -#: howto/logging-cookbook.rst:2727 +#: howto/logging-cookbook.rst:2731 msgid "Customized exception formatting" msgstr "" -#: howto/logging-cookbook.rst:2729 +#: howto/logging-cookbook.rst:2733 msgid "" "There might be times when you want to do customized exception formatting - " "for argument's sake, let's say you want exactly one line per logged event, " @@ -1514,22 +1514,22 @@ msgid "" "formatter class, as shown in the following example::" msgstr "" -#: howto/logging-cookbook.rst:2770 +#: howto/logging-cookbook.rst:2774 msgid "When run, this produces a file with exactly two lines:" msgstr "" -#: howto/logging-cookbook.rst:2777 +#: howto/logging-cookbook.rst:2781 msgid "" "While the above treatment is simplistic, it points the way to how exception " "information can be formatted to your liking. The :mod:`traceback` module may " "be helpful for more specialized needs." msgstr "" -#: howto/logging-cookbook.rst:2784 +#: howto/logging-cookbook.rst:2788 msgid "Speaking logging messages" msgstr "" -#: howto/logging-cookbook.rst:2786 +#: howto/logging-cookbook.rst:2790 msgid "" "There might be situations when it is desirable to have logging messages " "rendered in an audible rather than a visible format. This is easy to do if " @@ -1546,24 +1546,24 @@ msgid "" "approach, which assumes that the ``espeak`` TTS package is available::" msgstr "" -#: howto/logging-cookbook.rst:2828 +#: howto/logging-cookbook.rst:2832 msgid "" "When run, this script should say \"Hello\" and then \"Goodbye\" in a female " "voice." msgstr "" -#: howto/logging-cookbook.rst:2830 +#: howto/logging-cookbook.rst:2834 msgid "" "The above approach can, of course, be adapted to other TTS systems and even " "other systems altogether which can process messages via external programs " "run from a command line." msgstr "" -#: howto/logging-cookbook.rst:2838 +#: howto/logging-cookbook.rst:2842 msgid "Buffering logging messages and outputting them conditionally" msgstr "" -#: howto/logging-cookbook.rst:2840 +#: howto/logging-cookbook.rst:2844 msgid "" "There might be situations where you want to log messages in a temporary area " "and only output them if a certain condition occurs. For example, you may " @@ -1573,7 +1573,7 @@ msgid "" "debug information to be output as well as the error." msgstr "" -#: howto/logging-cookbook.rst:2847 +#: howto/logging-cookbook.rst:2851 msgid "" "Here is an example which shows how you could do this using a decorator for " "your functions where you want logging to behave this way. It makes use of " @@ -1586,7 +1586,7 @@ msgid "" "subclass of ``MemoryHandler`` if you want custom flushing behavior." msgstr "" -#: howto/logging-cookbook.rst:2857 +#: howto/logging-cookbook.rst:2861 msgid "" "The example script has a simple function, ``foo``, which just cycles through " "all the logging levels, writing to ``sys.stderr`` to say what level it's " @@ -1595,7 +1595,7 @@ msgid "" "levels - otherwise, it only logs at DEBUG, INFO and WARNING levels." msgstr "" -#: howto/logging-cookbook.rst:2863 +#: howto/logging-cookbook.rst:2867 msgid "" "The script just arranges to decorate ``foo`` with a decorator which will do " "the conditional logging that's required. The decorator takes a logger as a " @@ -1607,30 +1607,30 @@ msgid "" "respectively." msgstr "" -#: howto/logging-cookbook.rst:2871 +#: howto/logging-cookbook.rst:2875 msgid "Here's the script::" msgstr "" -#: howto/logging-cookbook.rst:2934 +#: howto/logging-cookbook.rst:2938 msgid "When this script is run, the following output should be observed:" msgstr "" -#: howto/logging-cookbook.rst:2964 +#: howto/logging-cookbook.rst:2968 msgid "" "As you can see, actual logging output only occurs when an event is logged " "whose severity is ERROR or greater, but in that case, any previous events at " "lower severities are also logged." msgstr "" -#: howto/logging-cookbook.rst:2968 +#: howto/logging-cookbook.rst:2972 msgid "You can of course use the conventional means of decoration::" msgstr "" -#: howto/logging-cookbook.rst:2978 +#: howto/logging-cookbook.rst:2982 msgid "Sending logging messages to email, with buffering" msgstr "" -#: howto/logging-cookbook.rst:2980 +#: howto/logging-cookbook.rst:2984 msgid "" "To illustrate how you can send log messages via email, so that a set number " "of messages are sent per email, you can subclass :class:`~logging.handlers." @@ -1641,7 +1641,7 @@ msgid "" "argument to see the required and optional arguments.)" msgstr "" -#: howto/logging-cookbook.rst:3052 +#: howto/logging-cookbook.rst:3056 msgid "" "If you run this script and your SMTP server is correctly set up, you should " "find that it sends eleven emails to the addressee you specify. The first ten " @@ -1649,17 +1649,17 @@ msgid "" "messages. That makes up 102 messages as specified in the script." msgstr "" -#: howto/logging-cookbook.rst:3060 +#: howto/logging-cookbook.rst:3064 msgid "Formatting times using UTC (GMT) via configuration" msgstr "" -#: howto/logging-cookbook.rst:3062 +#: howto/logging-cookbook.rst:3066 msgid "" "Sometimes you want to format times using UTC, which can be done using a " "class such as ``UTCFormatter``, shown below::" msgstr "" -#: howto/logging-cookbook.rst:3071 +#: howto/logging-cookbook.rst:3075 msgid "" "and you can then use the ``UTCFormatter`` in your code instead of :class:" "`~logging.Formatter`. If you want to do that via configuration, you can use " @@ -1667,21 +1667,21 @@ msgid "" "the following complete example::" msgstr "" -#: howto/logging-cookbook.rst:3114 +#: howto/logging-cookbook.rst:3118 msgid "When this script is run, it should print something like:" msgstr "" -#: howto/logging-cookbook.rst:3121 +#: howto/logging-cookbook.rst:3125 msgid "" "showing how the time is formatted both as local time and UTC, one for each " "handler." msgstr "" -#: howto/logging-cookbook.rst:3128 +#: howto/logging-cookbook.rst:3132 msgid "Using a context manager for selective logging" msgstr "" -#: howto/logging-cookbook.rst:3130 +#: howto/logging-cookbook.rst:3134 msgid "" "There are times when it would be useful to temporarily change the logging " "configuration and revert it back after doing something. For this, a context " @@ -1691,7 +1691,7 @@ msgid "" "scope of the context manager::" msgstr "" -#: howto/logging-cookbook.rst:3163 +#: howto/logging-cookbook.rst:3167 msgid "" "If you specify a level value, the logger's level is set to that value in the " "scope of the with block covered by the context manager. If you specify a " @@ -1700,13 +1700,13 @@ msgid "" "block exit - you could do this if you don't need the handler any more." msgstr "" -#: howto/logging-cookbook.rst:3169 +#: howto/logging-cookbook.rst:3173 msgid "" "To illustrate how it works, we can add the following block of code to the " "above::" msgstr "" -#: howto/logging-cookbook.rst:3187 +#: howto/logging-cookbook.rst:3191 msgid "" "We initially set the logger's level to ``INFO``, so message #1 appears and " "message #2 doesn't. We then change the level to ``DEBUG`` temporarily in the " @@ -1719,56 +1719,56 @@ msgid "" "(like message #1) whereas message #7 doesn't (just like message #2)." msgstr "" -#: howto/logging-cookbook.rst:3197 +#: howto/logging-cookbook.rst:3201 msgid "If we run the resulting script, the result is as follows:" msgstr "" -#: howto/logging-cookbook.rst:3208 +#: howto/logging-cookbook.rst:3212 msgid "" "If we run it again, but pipe ``stderr`` to ``/dev/null``, we see the " "following, which is the only message written to ``stdout``:" msgstr "" -#: howto/logging-cookbook.rst:3216 +#: howto/logging-cookbook.rst:3220 msgid "Once again, but piping ``stdout`` to ``/dev/null``, we get:" msgstr "" -#: howto/logging-cookbook.rst:3226 +#: howto/logging-cookbook.rst:3230 msgid "" "In this case, the message #5 printed to ``stdout`` doesn't appear, as " "expected." msgstr "" -#: howto/logging-cookbook.rst:3228 +#: howto/logging-cookbook.rst:3232 msgid "" "Of course, the approach described here can be generalised, for example to " "attach logging filters temporarily. Note that the above code works in Python " "2 as well as Python 3." msgstr "" -#: howto/logging-cookbook.rst:3236 +#: howto/logging-cookbook.rst:3240 msgid "A CLI application starter template" msgstr "" -#: howto/logging-cookbook.rst:3238 +#: howto/logging-cookbook.rst:3242 msgid "Here's an example which shows how you can:" msgstr "" -#: howto/logging-cookbook.rst:3240 +#: howto/logging-cookbook.rst:3244 msgid "Use a logging level based on command-line arguments" msgstr "" -#: howto/logging-cookbook.rst:3241 +#: howto/logging-cookbook.rst:3245 msgid "" "Dispatch to multiple subcommands in separate files, all logging at the same " "level in a consistent way" msgstr "" -#: howto/logging-cookbook.rst:3243 +#: howto/logging-cookbook.rst:3247 msgid "Make use of simple, minimal configuration" msgstr "" -#: howto/logging-cookbook.rst:3245 +#: howto/logging-cookbook.rst:3249 msgid "" "Suppose we have a command-line application whose job is to stop, start or " "restart some services. This could be organised for the purposes of " @@ -1779,53 +1779,53 @@ msgid "" "``logging.INFO``. Here's one way that ``app.py`` could be written::" msgstr "" -#: howto/logging-cookbook.rst:3294 +#: howto/logging-cookbook.rst:3298 msgid "" "And the ``start``, ``stop`` and ``restart`` commands can be implemented in " "separate modules, like so for starting::" msgstr "" -#: howto/logging-cookbook.rst:3307 +#: howto/logging-cookbook.rst:3311 msgid "and thus for stopping::" msgstr "" -#: howto/logging-cookbook.rst:3328 +#: howto/logging-cookbook.rst:3332 msgid "and similarly for restarting::" msgstr "" -#: howto/logging-cookbook.rst:3349 +#: howto/logging-cookbook.rst:3353 msgid "" "If we run this application with the default log level, we get output like " "this:" msgstr "" -#: howto/logging-cookbook.rst:3362 +#: howto/logging-cookbook.rst:3366 msgid "" "The first word is the logging level, and the second word is the module or " "package name of the place where the event was logged." msgstr "" -#: howto/logging-cookbook.rst:3365 +#: howto/logging-cookbook.rst:3369 msgid "" "If we change the logging level, then we can change the information sent to " "the log. For example, if we want more information:" msgstr "" -#: howto/logging-cookbook.rst:3382 +#: howto/logging-cookbook.rst:3386 msgid "And if we want less:" msgstr "" -#: howto/logging-cookbook.rst:3390 +#: howto/logging-cookbook.rst:3394 msgid "" "In this case, the commands don't print anything to the console, since " "nothing at ``WARNING`` level or above is logged by them." msgstr "" -#: howto/logging-cookbook.rst:3396 +#: howto/logging-cookbook.rst:3400 msgid "A Qt GUI for logging" msgstr "" -#: howto/logging-cookbook.rst:3398 +#: howto/logging-cookbook.rst:3402 msgid "" "A question that comes up from time to time is about how to log to a GUI " "application. The `Qt `_ framework is a popular cross-" @@ -1833,7 +1833,7 @@ msgid "" "project/PySide2/>`_ or `PyQt5 `_ libraries." msgstr "" -#: howto/logging-cookbook.rst:3404 +#: howto/logging-cookbook.rst:3408 msgid "" "The following example shows how to log to a Qt GUI. This introduces a simple " "``QtHandler`` class which takes a callable, which should be a slot in the " @@ -1843,14 +1843,14 @@ msgid "" "logging messages at random levels with random short delays in between)." msgstr "" -#: howto/logging-cookbook.rst:3411 +#: howto/logging-cookbook.rst:3415 msgid "" "The worker thread is implemented using Qt's ``QThread`` class rather than " "the :mod:`threading` module, as there are circumstances where one has to use " "``QThread``, which offers better integration with other ``Qt`` components." msgstr "" -#: howto/logging-cookbook.rst:3415 +#: howto/logging-cookbook.rst:3419 msgid "" "The code should work with recent releases of either ``PySide2`` or " "``PyQt5``. You should be able to adapt the approach to earlier versions of " @@ -1858,11 +1858,11 @@ msgid "" "information." msgstr "" -#: howto/logging-cookbook.rst:3629 +#: howto/logging-cookbook.rst:3633 msgid "Logging to syslog with RFC5424 support" msgstr "" -#: howto/logging-cookbook.rst:3631 +#: howto/logging-cookbook.rst:3635 msgid "" "Although :rfc:`5424` dates from 2009, most syslog servers are configured by " "detault to use the older :rfc:`3164`, which hails from 2001. When " @@ -1872,14 +1872,14 @@ msgid "" "handlers.SysLogHandler` functionality has not been updated." msgstr "" -#: howto/logging-cookbook.rst:3638 +#: howto/logging-cookbook.rst:3642 msgid "" "RFC 5424 contains some useful features such as support for structured data, " "and if you need to be able to log to a syslog server with support for it, " "you can do so with a subclassed handler which looks something like this::" msgstr "" -#: howto/logging-cookbook.rst:3704 +#: howto/logging-cookbook.rst:3708 msgid "" "You'll need to be familiar with RFC 5424 to fully understand the above code, " "and it may be that you have slightly different needs (e.g. for how you pass " @@ -1888,11 +1888,11 @@ msgid "" "using something like this::" msgstr "" -#: howto/logging-cookbook.rst:3718 +#: howto/logging-cookbook.rst:3722 msgid "How to treat a logger like an output stream" msgstr "" -#: howto/logging-cookbook.rst:3720 +#: howto/logging-cookbook.rst:3724 msgid "" "Sometimes, you need to interface to a third-party API which expects a file-" "like object to write to, but you want to direct the API's output to a " @@ -1900,17 +1900,17 @@ msgid "" "API. Here's a short script illustrating such a class:" msgstr "" -#: howto/logging-cookbook.rst:3760 +#: howto/logging-cookbook.rst:3764 msgid "When this script is run, it prints" msgstr "" -#: howto/logging-cookbook.rst:3767 +#: howto/logging-cookbook.rst:3771 msgid "" "You could also use ``LoggerWriter`` to redirect ``sys.stdout`` and ``sys." "stderr`` by doing something like this:" msgstr "" -#: howto/logging-cookbook.rst:3777 +#: howto/logging-cookbook.rst:3781 msgid "" "You should do this *after* configuring logging for your needs. In the above " "example, the :func:`~logging.basicConfig` call does this (using the ``sys." @@ -1918,25 +1918,25 @@ msgid "" "Then, you'd get this kind of result:" msgstr "" -#: howto/logging-cookbook.rst:3790 +#: howto/logging-cookbook.rst:3794 msgid "" "Of course, the examples above show output according to the format used by :" "func:`~logging.basicConfig`, but you can use a different formatter when you " "configure logging." msgstr "" -#: howto/logging-cookbook.rst:3794 +#: howto/logging-cookbook.rst:3798 msgid "" "Note that with the above scheme, you are somewhat at the mercy of buffering " "and the sequence of write calls which you are intercepting. For example, " "with the definition of ``LoggerWriter`` above, if you have the snippet" msgstr "" -#: howto/logging-cookbook.rst:3803 +#: howto/logging-cookbook.rst:3807 msgid "then running the script results in" msgstr "" -#: howto/logging-cookbook.rst:3821 +#: howto/logging-cookbook.rst:3825 msgid "" "As you can see, this output isn't ideal. That's because the underlying code " "which writes to ``sys.stderr`` makes mutiple writes, each of which results " @@ -1946,17 +1946,17 @@ msgid "" "``LoggerWriter``:" msgstr "" -#: howto/logging-cookbook.rst:3846 +#: howto/logging-cookbook.rst:3850 msgid "" "This just buffers up stuff until a newline is seen, and then logs complete " "lines. With this approach, you get better output:" msgstr "" -#: howto/logging-cookbook.rst:3862 +#: howto/logging-cookbook.rst:3866 msgid "Patterns to avoid" msgstr "" -#: howto/logging-cookbook.rst:3864 +#: howto/logging-cookbook.rst:3868 msgid "" "Although the preceding sections have described ways of doing things you " "might need to do or deal with, it is worth mentioning some usage patterns " @@ -1964,11 +1964,11 @@ msgid "" "The following sections are in no particular order." msgstr "" -#: howto/logging-cookbook.rst:3870 +#: howto/logging-cookbook.rst:3874 msgid "Opening the same log file multiple times" msgstr "" -#: howto/logging-cookbook.rst:3872 +#: howto/logging-cookbook.rst:3876 msgid "" "On Windows, you will generally not be able to open the same file multiple " "times as this will lead to a \"file is in use by another process\" error. " @@ -1976,32 +1976,32 @@ msgid "" "file multiple times. This could be done accidentally, for example by:" msgstr "" -#: howto/logging-cookbook.rst:3877 +#: howto/logging-cookbook.rst:3881 msgid "" "Adding a file handler more than once which references the same file (e.g. by " "a copy/paste/forget-to-change error)." msgstr "" -#: howto/logging-cookbook.rst:3880 +#: howto/logging-cookbook.rst:3884 msgid "" "Opening two files that look different, as they have different names, but are " "the same because one is a symbolic link to the other." msgstr "" -#: howto/logging-cookbook.rst:3883 +#: howto/logging-cookbook.rst:3887 msgid "" "Forking a process, following which both parent and child have a reference to " "the same file. This might be through use of the :mod:`multiprocessing` " "module, for example." msgstr "" -#: howto/logging-cookbook.rst:3887 +#: howto/logging-cookbook.rst:3891 msgid "" "Opening a file multiple times might *appear* to work most of the time, but " "can lead to a number of problems in practice:" msgstr "" -#: howto/logging-cookbook.rst:3890 +#: howto/logging-cookbook.rst:3894 msgid "" "Logging output can be garbled because multiple threads or processes try to " "write to the same file. Although logging guards against concurrent use of " @@ -2010,7 +2010,7 @@ msgid "" "different handler instances which happen to point to the same file." msgstr "" -#: howto/logging-cookbook.rst:3896 +#: howto/logging-cookbook.rst:3900 msgid "" "An attempt to delete a file (e.g. during file rotation) silently fails, " "because there is another reference pointing to it. This can lead to " @@ -2020,17 +2020,17 @@ msgid "" "being supposedly in place." msgstr "" -#: howto/logging-cookbook.rst:3903 +#: howto/logging-cookbook.rst:3907 msgid "" "Use the techniques outlined in :ref:`multiple-processes` to circumvent such " "issues." msgstr "" -#: howto/logging-cookbook.rst:3907 +#: howto/logging-cookbook.rst:3911 msgid "Using loggers as attributes in a class or passing them as parameters" msgstr "" -#: howto/logging-cookbook.rst:3909 +#: howto/logging-cookbook.rst:3913 msgid "" "While there might be unusual cases where you'll need to do this, in general " "there is no point because loggers are singletons. Code can always access a " @@ -2041,12 +2041,12 @@ msgid "" "module (and not the class) is the unit of software decomposition." msgstr "" -#: howto/logging-cookbook.rst:3918 +#: howto/logging-cookbook.rst:3922 msgid "" "Adding handlers other than :class:`NullHandler` to a logger in a library" msgstr "" -#: howto/logging-cookbook.rst:3920 +#: howto/logging-cookbook.rst:3924 msgid "" "Configuring logging by adding handlers, formatters and filters is the " "responsibility of the application developer, not the library developer. If " @@ -2054,11 +2054,11 @@ msgid "" "your loggers other than a :class:`~logging.NullHandler` instance." msgstr "" -#: howto/logging-cookbook.rst:3926 +#: howto/logging-cookbook.rst:3930 msgid "Creating a lot of loggers" msgstr "" -#: howto/logging-cookbook.rst:3928 +#: howto/logging-cookbook.rst:3932 msgid "" "Loggers are singletons that are never freed during a script execution, and " "so creating lots of loggers will use up memory which can't then be freed. " @@ -2069,14 +2069,14 @@ msgid "" "occasionally slightly more fine-grained than that)." msgstr "" -#: howto/logging-cookbook.rst:3939 +#: howto/logging-cookbook.rst:3943 msgid "Other resources" msgstr "" -#: howto/logging-cookbook.rst:3952 +#: howto/logging-cookbook.rst:3956 msgid ":ref:`Basic Tutorial `" msgstr "" -#: howto/logging-cookbook.rst:3954 +#: howto/logging-cookbook.rst:3958 msgid ":ref:`Advanced Tutorial `" msgstr "" diff --git a/howto/logging.po b/howto/logging.po index 1b22ad15e..52f3bb0a9 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -127,7 +127,7 @@ msgid "" "described below (in increasing order of severity):" msgstr "" -#: howto/logging.rst:862 +#: howto/logging.rst:863 msgid "Level" msgstr "" @@ -135,7 +135,7 @@ msgstr "" msgid "When it's used" msgstr "" -#: howto/logging.rst:872 +#: howto/logging.rst:873 msgid "``DEBUG``" msgstr "" @@ -144,7 +144,7 @@ msgid "" "Detailed information, typically of interest only when diagnosing problems." msgstr "" -#: howto/logging.rst:870 +#: howto/logging.rst:871 msgid "``INFO``" msgstr "" @@ -152,7 +152,7 @@ msgstr "" msgid "Confirmation that things are working as expected." msgstr "" -#: howto/logging.rst:868 +#: howto/logging.rst:869 msgid "``WARNING``" msgstr "" @@ -163,7 +163,7 @@ msgid "" "working as expected." msgstr "" -#: howto/logging.rst:866 +#: howto/logging.rst:867 msgid "``ERROR``" msgstr "" @@ -173,7 +173,7 @@ msgid "" "some function." msgstr "" -#: howto/logging.rst:864 +#: howto/logging.rst:865 msgid "``CRITICAL``" msgstr "" @@ -416,8 +416,8 @@ msgid "" "If your logging needs are simple, then use the above examples to incorporate " "logging into your own scripts, and if you run into problems or don't " "understand something, please post a question on the comp.lang.python Usenet " -"group (available at https://groups.google.com/forum/#!forum/comp.lang." -"python) and you should receive help before too long." +"group (available at https://groups.google.com/g/comp.lang.python) and you " +"should receive help before too long." msgstr "" #: howto/logging.rst:342 @@ -539,11 +539,11 @@ msgid "" "the following diagram." msgstr "" -#: howto/logging.rst:420 +#: howto/logging.rst:421 msgid "Loggers" msgstr "" -#: howto/logging.rst:422 +#: howto/logging.rst:423 msgid "" ":class:`Logger` objects have a threefold job. First, they expose several " "methods to application code so that applications can log messages at " @@ -553,17 +553,17 @@ msgid "" "handlers." msgstr "" -#: howto/logging.rst:428 +#: howto/logging.rst:429 msgid "" "The most widely used methods on logger objects fall into two categories: " "configuration and message sending." msgstr "" -#: howto/logging.rst:431 +#: howto/logging.rst:432 msgid "These are the most common configuration methods:" msgstr "" -#: howto/logging.rst:433 +#: howto/logging.rst:434 msgid "" ":meth:`Logger.setLevel` specifies the lowest-severity log message a logger " "will handle, where debug is the lowest built-in severity level and critical " @@ -572,32 +572,32 @@ msgid "" "messages and will ignore DEBUG messages." msgstr "" -#: howto/logging.rst:439 +#: howto/logging.rst:440 msgid "" ":meth:`Logger.addHandler` and :meth:`Logger.removeHandler` add and remove " "handler objects from the logger object. Handlers are covered in more detail " "in :ref:`handler-basic`." msgstr "" -#: howto/logging.rst:443 +#: howto/logging.rst:444 msgid "" ":meth:`Logger.addFilter` and :meth:`Logger.removeFilter` add and remove " "filter objects from the logger object. Filters are covered in more detail " "in :ref:`filter`." msgstr "" -#: howto/logging.rst:447 +#: howto/logging.rst:448 msgid "" "You don't need to always call these methods on every logger you create. See " "the last two paragraphs in this section." msgstr "" -#: howto/logging.rst:450 +#: howto/logging.rst:451 msgid "" "With the logger object configured, the following methods create log messages:" msgstr "" -#: howto/logging.rst:452 +#: howto/logging.rst:453 msgid "" ":meth:`Logger.debug`, :meth:`Logger.info`, :meth:`Logger.warning`, :meth:" "`Logger.error`, and :meth:`Logger.critical` all create log records with a " @@ -610,14 +610,14 @@ msgid "" "exception information." msgstr "" -#: howto/logging.rst:462 +#: howto/logging.rst:463 msgid "" ":meth:`Logger.exception` creates a log message similar to :meth:`Logger." "error`. The difference is that :meth:`Logger.exception` dumps a stack trace " "along with it. Call this method only from an exception handler." msgstr "" -#: howto/logging.rst:466 +#: howto/logging.rst:467 msgid "" ":meth:`Logger.log` takes a log level as an explicit argument. This is a " "little more verbose for logging messages than using the log level " @@ -625,7 +625,7 @@ msgid "" "levels." msgstr "" -#: howto/logging.rst:470 +#: howto/logging.rst:471 msgid "" ":func:`getLogger` returns a reference to a logger instance with the " "specified name if it is provided, or ``root`` if not. The names are period-" @@ -637,7 +637,7 @@ msgid "" "descendants of ``foo``." msgstr "" -#: howto/logging.rst:478 +#: howto/logging.rst:479 msgid "" "Loggers have a concept of *effective level*. If a level is not explicitly " "set on a logger, the level of its parent is used instead as its effective " @@ -649,7 +649,7 @@ msgid "" "handlers." msgstr "" -#: howto/logging.rst:486 +#: howto/logging.rst:487 msgid "" "Child loggers propagate messages up to the handlers associated with their " "ancestor loggers. Because of this, it is unnecessary to define and configure " @@ -659,11 +659,11 @@ msgid "" "attribute of a logger to ``False``.)" msgstr "" -#: howto/logging.rst:497 +#: howto/logging.rst:498 msgid "Handlers" msgstr "" -#: howto/logging.rst:499 +#: howto/logging.rst:500 msgid "" ":class:`~logging.Handler` objects are responsible for dispatching the " "appropriate log messages (based on the log messages' severity) to the " @@ -676,14 +676,14 @@ msgid "" "of a specific severity to a specific location." msgstr "" -#: howto/logging.rst:509 +#: howto/logging.rst:510 msgid "" "The standard library includes quite a few handler types (see :ref:`useful-" "handlers`); the tutorials use mainly :class:`StreamHandler` and :class:" "`FileHandler` in its examples." msgstr "" -#: howto/logging.rst:513 +#: howto/logging.rst:514 msgid "" "There are very few methods in a handler for application developers to " "concern themselves with. The only handler methods that seem relevant for " @@ -691,7 +691,7 @@ msgid "" "not creating custom handlers) are the following configuration methods:" msgstr "" -#: howto/logging.rst:518 +#: howto/logging.rst:519 msgid "" "The :meth:`~Handler.setLevel` method, just as in logger objects, specifies " "the lowest severity that will be dispatched to the appropriate destination. " @@ -701,19 +701,19 @@ msgid "" "on." msgstr "" -#: howto/logging.rst:524 +#: howto/logging.rst:525 msgid "" ":meth:`~Handler.setFormatter` selects a Formatter object for this handler to " "use." msgstr "" -#: howto/logging.rst:527 +#: howto/logging.rst:528 msgid "" ":meth:`~Handler.addFilter` and :meth:`~Handler.removeFilter` respectively " "configure and deconfigure filter objects on handlers." msgstr "" -#: howto/logging.rst:530 +#: howto/logging.rst:531 msgid "" "Application code should not directly instantiate and use instances of :class:" "`Handler`. Instead, the :class:`Handler` class is a base class that defines " @@ -721,11 +721,11 @@ msgid "" "behavior that child classes can use (or override)." msgstr "" -#: howto/logging.rst:537 +#: howto/logging.rst:538 msgid "Formatters" msgstr "" -#: howto/logging.rst:539 +#: howto/logging.rst:540 msgid "" "Formatter objects configure the final order, structure, and contents of the " "log message. Unlike the base :class:`logging.Handler` class, application " @@ -735,20 +735,20 @@ msgid "" "string and a style indicator." msgstr "" -#: howto/logging.rst:548 +#: howto/logging.rst:549 msgid "" "If there is no message format string, the default is to use the raw " "message. If there is no date format string, the default date format is:" msgstr "" -#: howto/logging.rst:555 +#: howto/logging.rst:556 msgid "" "with the milliseconds tacked on at the end. The ``style`` is one of ``'%'``, " "``'{'``, or ``'$'``. If one of these is not specified, then ``'%'`` will be " "used." msgstr "" -#: howto/logging.rst:558 +#: howto/logging.rst:559 msgid "" "If the ``style`` is ``'%'``, the message format string uses ``%()s`` styled string substitution; the possible keys are documented in :" @@ -758,18 +758,18 @@ msgid "" "should conform to what is expected by :meth:`string.Template.substitute`." msgstr "" -#: howto/logging.rst:565 +#: howto/logging.rst:566 msgid "Added the ``style`` parameter." msgstr "" -#: howto/logging.rst:568 +#: howto/logging.rst:569 msgid "" "The following message format string will log the time in a human-readable " "format, the severity of the message, and the contents of the message, in " "that order::" msgstr "" -#: howto/logging.rst:574 +#: howto/logging.rst:575 msgid "" "Formatters use a user-configurable function to convert the creation time of " "a record to a tuple. By default, :func:`time.localtime` is used; to change " @@ -780,68 +780,68 @@ msgid "" "in the Formatter class (to ``time.gmtime`` for GMT display)." msgstr "" -#: howto/logging.rst:584 +#: howto/logging.rst:585 msgid "Configuring Logging" msgstr "" -#: howto/logging.rst:588 +#: howto/logging.rst:589 msgid "Programmers can configure logging in three ways:" msgstr "" -#: howto/logging.rst:590 +#: howto/logging.rst:591 msgid "" "Creating loggers, handlers, and formatters explicitly using Python code that " "calls the configuration methods listed above." msgstr "" -#: howto/logging.rst:592 +#: howto/logging.rst:593 msgid "" "Creating a logging config file and reading it using the :func:`fileConfig` " "function." msgstr "" -#: howto/logging.rst:594 +#: howto/logging.rst:595 msgid "" "Creating a dictionary of configuration information and passing it to the :" "func:`dictConfig` function." msgstr "" -#: howto/logging.rst:597 +#: howto/logging.rst:598 msgid "" "For the reference documentation on the last two options, see :ref:`logging-" "config-api`. The following example configures a very simple logger, a " "console handler, and a simple formatter using Python code::" msgstr "" -#: howto/logging.rst:627 +#: howto/logging.rst:628 msgid "" "Running this module from the command line produces the following output:" msgstr "" -#: howto/logging.rst:638 +#: howto/logging.rst:639 msgid "" "The following Python module creates a logger, handler, and formatter nearly " "identical to those in the example listed above, with the only difference " "being the names of the objects::" msgstr "" -#: howto/logging.rst:657 +#: howto/logging.rst:658 msgid "Here is the logging.conf file:" msgstr "" -#: howto/logging.rst:689 +#: howto/logging.rst:690 msgid "" "The output is nearly identical to that of the non-config-file-based example:" msgstr "" -#: howto/logging.rst:700 +#: howto/logging.rst:701 msgid "" "You can see that the config file approach has a few advantages over the " "Python code approach, mainly separation of configuration and code and the " "ability of noncoders to easily modify the logging properties." msgstr "" -#: howto/logging.rst:704 +#: howto/logging.rst:705 msgid "" "The :func:`fileConfig` function takes a default parameter, " "``disable_existing_loggers``, which defaults to ``True`` for reasons of " @@ -852,7 +852,7 @@ msgid "" "information, and specify ``False`` for this parameter if you wish." msgstr "" -#: howto/logging.rst:712 +#: howto/logging.rst:713 msgid "" "The dictionary passed to :func:`dictConfig` can also specify a Boolean value " "with key ``disable_existing_loggers``, which if not specified explicitly in " @@ -861,7 +861,7 @@ msgid "" "want - in which case, provide the key explicitly with a value of ``False``." msgstr "" -#: howto/logging.rst:722 +#: howto/logging.rst:723 msgid "" "Note that the class names referenced in config files need to be either " "relative to the logging module, or absolute values which can be resolved " @@ -872,7 +872,7 @@ msgid "" "path)." msgstr "" -#: howto/logging.rst:730 +#: howto/logging.rst:731 msgid "" "In Python 3.2, a new means of configuring logging has been introduced, using " "dictionaries to hold configuration information. This provides a superset of " @@ -887,23 +887,23 @@ msgid "" "a socket, or use whatever approach makes sense for your application." msgstr "" -#: howto/logging.rst:742 +#: howto/logging.rst:743 msgid "" "Here's an example of the same configuration as above, in YAML format for the " "new dictionary-based approach:" msgstr "" -#: howto/logging.rst:766 +#: howto/logging.rst:767 msgid "" "For more information about logging using a dictionary, see :ref:`logging-" "config-api`." msgstr "" -#: howto/logging.rst:770 +#: howto/logging.rst:771 msgid "What happens if no configuration is provided" msgstr "" -#: howto/logging.rst:772 +#: howto/logging.rst:773 msgid "" "If no logging configuration is provided, it is possible to have a situation " "where a logging event needs to be output, but no handlers can be found to " @@ -911,27 +911,27 @@ msgid "" "circumstances is dependent on the Python version." msgstr "" -#: howto/logging.rst:777 +#: howto/logging.rst:778 msgid "For versions of Python prior to 3.2, the behaviour is as follows:" msgstr "" -#: howto/logging.rst:779 +#: howto/logging.rst:780 msgid "" "If *logging.raiseExceptions* is ``False`` (production mode), the event is " "silently dropped." msgstr "" -#: howto/logging.rst:782 +#: howto/logging.rst:783 msgid "" "If *logging.raiseExceptions* is ``True`` (development mode), a message 'No " "handlers could be found for logger X.Y.Z' is printed once." msgstr "" -#: howto/logging.rst:785 +#: howto/logging.rst:786 msgid "In Python 3.2 and later, the behaviour is as follows:" msgstr "" -#: howto/logging.rst:787 +#: howto/logging.rst:788 msgid "" "The event is output using a 'handler of last resort', stored in ``logging." "lastResort``. This internal handler is not associated with any logger, and " @@ -943,17 +943,17 @@ msgid "" "severities will be output." msgstr "" -#: howto/logging.rst:796 +#: howto/logging.rst:797 msgid "" "To obtain the pre-3.2 behaviour, ``logging.lastResort`` can be set to " "``None``." msgstr "" -#: howto/logging.rst:801 +#: howto/logging.rst:802 msgid "Configuring Logging for a Library" msgstr "" -#: howto/logging.rst:803 +#: howto/logging.rst:804 msgid "" "When developing a library which uses logging, you should take care to " "document how the library uses logging - for example, the names of loggers " @@ -964,7 +964,7 @@ msgid "" "is regarded as the best default behaviour." msgstr "" -#: howto/logging.rst:811 +#: howto/logging.rst:812 msgid "" "If for some reason you *don't* want these messages printed in the absence of " "any logging configuration, you can attach a do-nothing handler to the top-" @@ -976,7 +976,7 @@ msgid "" "to those handlers, as normal." msgstr "" -#: howto/logging.rst:820 +#: howto/logging.rst:821 msgid "" "A do-nothing handler is included in the logging package: :class:`~logging." "NullHandler` (since Python 3.1). An instance of this handler could be added " @@ -987,14 +987,14 @@ msgid "" "etc. then the code::" msgstr "" -#: howto/logging.rst:831 +#: howto/logging.rst:832 msgid "" "should have the desired effect. If an organisation produces a number of " "libraries, then the logger name specified can be 'orgname.foo' rather than " "just 'foo'." msgstr "" -#: howto/logging.rst:835 +#: howto/logging.rst:836 msgid "" "It is strongly advised that you *do not log to the root logger* in your " "library. Instead, use a logger with a unique and easily identifiable name, " @@ -1004,7 +1004,7 @@ msgid "" "library as they wish." msgstr "" -#: howto/logging.rst:842 +#: howto/logging.rst:843 msgid "" "It is strongly advised that you *do not add any handlers other than* :class:" "`~logging.NullHandler` *to your library's loggers*. This is because the " @@ -1015,11 +1015,11 @@ msgid "" "carry out unit tests and deliver logs which suit their requirements." msgstr "" -#: howto/logging.rst:853 +#: howto/logging.rst:854 msgid "Logging Levels" msgstr "" -#: howto/logging.rst:855 +#: howto/logging.rst:856 msgid "" "The numeric values of logging levels are given in the following table. These " "are primarily of interest if you want to define your own levels, and need " @@ -1028,39 +1028,39 @@ msgid "" "value; the predefined name is lost." msgstr "" -#: howto/logging.rst:862 +#: howto/logging.rst:863 msgid "Numeric value" msgstr "" -#: howto/logging.rst:864 +#: howto/logging.rst:865 msgid "50" msgstr "" -#: howto/logging.rst:866 +#: howto/logging.rst:867 msgid "40" msgstr "" -#: howto/logging.rst:868 +#: howto/logging.rst:869 msgid "30" msgstr "" -#: howto/logging.rst:870 +#: howto/logging.rst:871 msgid "20" msgstr "" -#: howto/logging.rst:872 +#: howto/logging.rst:873 msgid "10" msgstr "" -#: howto/logging.rst:874 +#: howto/logging.rst:875 msgid "``NOTSET``" msgstr "" -#: howto/logging.rst:874 +#: howto/logging.rst:875 msgid "0" msgstr "" -#: howto/logging.rst:877 +#: howto/logging.rst:878 msgid "" "Levels can also be associated with loggers, being set either by the " "developer or through loading a saved logging configuration. When a logging " @@ -1070,14 +1070,14 @@ msgid "" "basic mechanism controlling the verbosity of logging output." msgstr "" -#: howto/logging.rst:884 +#: howto/logging.rst:885 msgid "" "Logging messages are encoded as instances of the :class:`~logging.LogRecord` " "class. When a logger decides to actually log an event, a :class:`~logging." "LogRecord` instance is created from the logging message." msgstr "" -#: howto/logging.rst:888 +#: howto/logging.rst:889 msgid "" "Logging messages are subjected to a dispatch mechanism through the use of :" "dfn:`handlers`, which are instances of subclasses of the :class:`Handler` " @@ -1094,7 +1094,7 @@ msgid "" "at which point the passing to ancestor handlers stops)." msgstr "" -#: howto/logging.rst:902 +#: howto/logging.rst:903 msgid "" "Just as for loggers, handlers can have levels associated with them. A " "handler's level acts as a filter in the same way as a logger's level does. " @@ -1104,11 +1104,11 @@ msgid "" "`~Handler.emit`." msgstr "" -#: howto/logging.rst:911 +#: howto/logging.rst:912 msgid "Custom Levels" msgstr "" -#: howto/logging.rst:913 +#: howto/logging.rst:914 msgid "" "Defining your own levels is possible, but should not be necessary, as the " "existing levels have been chosen on the basis of practical experience. " @@ -1121,27 +1121,27 @@ msgid "" "given numeric value might mean different things for different libraries." msgstr "" -#: howto/logging.rst:926 +#: howto/logging.rst:927 msgid "Useful Handlers" msgstr "" -#: howto/logging.rst:928 +#: howto/logging.rst:929 msgid "" "In addition to the base :class:`Handler` class, many useful subclasses are " "provided:" msgstr "" -#: howto/logging.rst:931 +#: howto/logging.rst:932 msgid "" ":class:`StreamHandler` instances send messages to streams (file-like " "objects)." msgstr "" -#: howto/logging.rst:934 +#: howto/logging.rst:935 msgid ":class:`FileHandler` instances send messages to disk files." msgstr "" -#: howto/logging.rst:936 +#: howto/logging.rst:937 msgid "" ":class:`~handlers.BaseRotatingHandler` is the base class for handlers that " "rotate log files at a certain point. It is not meant to be instantiated " @@ -1149,61 +1149,61 @@ msgid "" "`~handlers.TimedRotatingFileHandler`." msgstr "" -#: howto/logging.rst:941 +#: howto/logging.rst:942 msgid "" ":class:`~handlers.RotatingFileHandler` instances send messages to disk " "files, with support for maximum log file sizes and log file rotation." msgstr "" -#: howto/logging.rst:944 +#: howto/logging.rst:945 msgid "" ":class:`~handlers.TimedRotatingFileHandler` instances send messages to disk " "files, rotating the log file at certain timed intervals." msgstr "" -#: howto/logging.rst:947 +#: howto/logging.rst:948 msgid "" ":class:`~handlers.SocketHandler` instances send messages to TCP/IP sockets. " "Since 3.4, Unix domain sockets are also supported." msgstr "" -#: howto/logging.rst:950 +#: howto/logging.rst:951 msgid "" ":class:`~handlers.DatagramHandler` instances send messages to UDP sockets. " "Since 3.4, Unix domain sockets are also supported." msgstr "" -#: howto/logging.rst:953 +#: howto/logging.rst:954 msgid "" ":class:`~handlers.SMTPHandler` instances send messages to a designated email " "address." msgstr "" -#: howto/logging.rst:956 +#: howto/logging.rst:957 msgid "" ":class:`~handlers.SysLogHandler` instances send messages to a Unix syslog " "daemon, possibly on a remote machine." msgstr "" -#: howto/logging.rst:959 +#: howto/logging.rst:960 msgid "" ":class:`~handlers.NTEventLogHandler` instances send messages to a Windows " "NT/2000/XP event log." msgstr "" -#: howto/logging.rst:962 +#: howto/logging.rst:963 msgid "" ":class:`~handlers.MemoryHandler` instances send messages to a buffer in " "memory, which is flushed whenever specific criteria are met." msgstr "" -#: howto/logging.rst:965 +#: howto/logging.rst:966 msgid "" ":class:`~handlers.HTTPHandler` instances send messages to an HTTP server " "using either ``GET`` or ``POST`` semantics." msgstr "" -#: howto/logging.rst:968 +#: howto/logging.rst:969 msgid "" ":class:`~handlers.WatchedFileHandler` instances watch the file they are " "logging to. If the file changes, it is closed and reopened using the file " @@ -1211,13 +1211,13 @@ msgid "" "support the underlying mechanism used." msgstr "" -#: howto/logging.rst:973 +#: howto/logging.rst:974 msgid "" ":class:`~handlers.QueueHandler` instances send messages to a queue, such as " "those implemented in the :mod:`queue` or :mod:`multiprocessing` modules." msgstr "" -#: howto/logging.rst:976 +#: howto/logging.rst:977 msgid "" ":class:`NullHandler` instances do nothing with error messages. They are used " "by library developers who want to use logging, but want to avoid the 'No " @@ -1226,15 +1226,15 @@ msgid "" "more information." msgstr "" -#: howto/logging.rst:982 +#: howto/logging.rst:983 msgid "The :class:`NullHandler` class." msgstr "" -#: howto/logging.rst:985 +#: howto/logging.rst:986 msgid "The :class:`~handlers.QueueHandler` class." msgstr "" -#: howto/logging.rst:988 +#: howto/logging.rst:989 msgid "" "The :class:`NullHandler`, :class:`StreamHandler` and :class:`FileHandler` " "classes are defined in the core logging package. The other handlers are " @@ -1242,14 +1242,14 @@ msgid "" "module, :mod:`logging.config`, for configuration functionality.)" msgstr "" -#: howto/logging.rst:993 +#: howto/logging.rst:994 msgid "" "Logged messages are formatted for presentation through instances of the :" "class:`Formatter` class. They are initialized with a format string suitable " "for use with the % operator and a dictionary." msgstr "" -#: howto/logging.rst:997 +#: howto/logging.rst:998 msgid "" "For formatting multiple messages in a batch, instances of :class:`~handlers." "BufferingFormatter` can be used. In addition to the format string (which is " @@ -1257,7 +1257,7 @@ msgid "" "trailer format strings." msgstr "" -#: howto/logging.rst:1002 +#: howto/logging.rst:1003 msgid "" "When filtering based on logger level and/or handler level is not enough, " "instances of :class:`Filter` can be added to both :class:`Logger` and :class:" @@ -1267,18 +1267,18 @@ msgid "" "value, the message is not processed further." msgstr "" -#: howto/logging.rst:1009 +#: howto/logging.rst:1010 msgid "" "The basic :class:`Filter` functionality allows filtering by specific logger " "name. If this feature is used, messages sent to the named logger and its " "children are allowed through the filter, and all others dropped." msgstr "" -#: howto/logging.rst:1017 +#: howto/logging.rst:1018 msgid "Exceptions raised during logging" msgstr "" -#: howto/logging.rst:1019 +#: howto/logging.rst:1020 msgid "" "The logging package is designed to swallow exceptions which occur while " "logging in production. This is so that errors which occur while handling " @@ -1286,7 +1286,7 @@ msgid "" "errors - do not cause the application using logging to terminate prematurely." msgstr "" -#: howto/logging.rst:1024 +#: howto/logging.rst:1025 msgid "" ":class:`SystemExit` and :class:`KeyboardInterrupt` exceptions are never " "swallowed. Other exceptions which occur during the :meth:`~Handler.emit` " @@ -1294,7 +1294,7 @@ msgid "" "handleError` method." msgstr "" -#: howto/logging.rst:1029 +#: howto/logging.rst:1030 msgid "" "The default implementation of :meth:`~Handler.handleError` in :class:" "`Handler` checks to see if a module-level variable, :data:`raiseExceptions`, " @@ -1302,7 +1302,7 @@ msgid "" "the exception is swallowed." msgstr "" -#: howto/logging.rst:1034 +#: howto/logging.rst:1035 msgid "" "The default value of :data:`raiseExceptions` is ``True``. This is because " "during development, you typically want to be notified of any exceptions that " @@ -1310,11 +1310,11 @@ msgid "" "production usage." msgstr "" -#: howto/logging.rst:1044 +#: howto/logging.rst:1045 msgid "Using arbitrary objects as messages" msgstr "" -#: howto/logging.rst:1046 +#: howto/logging.rst:1047 msgid "" "In the preceding sections and examples, it has been assumed that the message " "passed when logging the event is a string. However, this is not the only " @@ -1326,11 +1326,11 @@ msgid "" "the wire." msgstr "" -#: howto/logging.rst:1057 +#: howto/logging.rst:1058 msgid "Optimization" msgstr "" -#: howto/logging.rst:1059 +#: howto/logging.rst:1060 msgid "" "Formatting of message arguments is deferred until it cannot be avoided. " "However, computing the arguments passed to the logging method can also be " @@ -1341,13 +1341,13 @@ msgid "" "code like this::" msgstr "" -#: howto/logging.rst:1071 +#: howto/logging.rst:1072 msgid "" "so that if the logger's threshold is set above ``DEBUG``, the calls to :func:" "`expensive_func1` and :func:`expensive_func2` are never made." msgstr "" -#: howto/logging.rst:1074 +#: howto/logging.rst:1075 msgid "" "In some cases, :meth:`~Logger.isEnabledFor` can itself be more expensive " "than you'd like (e.g. for deeply nested loggers where an explicit level is " @@ -1359,7 +1359,7 @@ msgid "" "while the application is running (which is not all that common)." msgstr "" -#: howto/logging.rst:1083 +#: howto/logging.rst:1084 msgid "" "There are other optimizations which can be made for specific applications " "which need more precise control over what logging information is collected. " @@ -1367,82 +1367,82 @@ msgid "" "you don't need:" msgstr "" -#: howto/logging.rst:1089 +#: howto/logging.rst:1090 msgid "What you don't want to collect" msgstr "" -#: howto/logging.rst:1089 +#: howto/logging.rst:1090 msgid "How to avoid collecting it" msgstr "" -#: howto/logging.rst:1091 +#: howto/logging.rst:1092 msgid "Information about where calls were made from." msgstr "" -#: howto/logging.rst:1091 +#: howto/logging.rst:1092 msgid "" "Set ``logging._srcfile`` to ``None``. This avoids calling :func:`sys." "_getframe`, which may help to speed up your code in environments like PyPy " "(which can't speed up code that uses :func:`sys._getframe`)." msgstr "" -#: howto/logging.rst:1097 +#: howto/logging.rst:1098 msgid "Threading information." msgstr "" -#: howto/logging.rst:1097 +#: howto/logging.rst:1098 msgid "Set ``logging.logThreads`` to ``False``." msgstr "" -#: howto/logging.rst:1099 +#: howto/logging.rst:1100 msgid "Current process ID (:func:`os.getpid`)" msgstr "" -#: howto/logging.rst:1099 +#: howto/logging.rst:1100 msgid "Set ``logging.logProcesses`` to ``False``." msgstr "" -#: howto/logging.rst:1101 +#: howto/logging.rst:1102 msgid "" "Current process name when using ``multiprocessing`` to manage multiple " "processes." msgstr "" -#: howto/logging.rst:1101 +#: howto/logging.rst:1102 msgid "Set ``logging.logMultiprocessing`` to ``False``." msgstr "" -#: howto/logging.rst:1105 +#: howto/logging.rst:1106 msgid "" "Also note that the core logging module only includes the basic handlers. If " "you don't import :mod:`logging.handlers` and :mod:`logging.config`, they " "won't take up any memory." msgstr "" -#: howto/logging.rst:1112 +#: howto/logging.rst:1113 msgid "Module :mod:`logging`" msgstr "" -#: howto/logging.rst:1112 +#: howto/logging.rst:1113 msgid "API reference for the logging module." msgstr "" -#: howto/logging.rst:1115 +#: howto/logging.rst:1116 msgid "Module :mod:`logging.config`" msgstr "" -#: howto/logging.rst:1115 +#: howto/logging.rst:1116 msgid "Configuration API for the logging module." msgstr "" -#: howto/logging.rst:1118 +#: howto/logging.rst:1119 msgid "Module :mod:`logging.handlers`" msgstr "" -#: howto/logging.rst:1118 +#: howto/logging.rst:1119 msgid "Useful handlers included with the logging module." msgstr "" -#: howto/logging.rst:1120 +#: howto/logging.rst:1121 msgid ":ref:`A logging cookbook `" msgstr "" diff --git a/howto/urllib2.po b/howto/urllib2.po index 9a92a11c4..590f34f0d 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -29,34 +29,26 @@ msgid "`Michael Foord `_" msgstr "" #: howto/urllib2.rst:11 -msgid "" -"There is a French translation of an earlier revision of this HOWTO, " -"available at `urllib2 - Le Manuel manquant `_." -msgstr "" - -#: howto/urllib2.rst:18 msgid "Introduction" msgstr "" -#: howto/urllib2.rst:22 +#: howto/urllib2.rst:15 msgid "" "You may also find useful the following article on fetching web resources " "with Python:" msgstr "" -#: howto/urllib2.rst:25 +#: howto/urllib2.rst:18 msgid "" "`Basic Authentication `_" msgstr "" -#: howto/urllib2.rst:27 +#: howto/urllib2.rst:20 msgid "A tutorial on *Basic Authentication*, with examples in Python." msgstr "" -#: howto/urllib2.rst:29 +#: howto/urllib2.rst:22 msgid "" "**urllib.request** is a Python module for fetching URLs (Uniform Resource " "Locators). It offers a very simple interface, in the form of the *urlopen* " @@ -66,7 +58,7 @@ msgid "" "These are provided by objects called handlers and openers." msgstr "" -#: howto/urllib2.rst:36 +#: howto/urllib2.rst:29 msgid "" "urllib.request supports fetching URLs for many \"URL schemes\" (identified " "by the string before the ``\":\"`` in URL - for example ``\"ftp\"`` is the " @@ -75,7 +67,7 @@ msgid "" "HTTP." msgstr "" -#: howto/urllib2.rst:41 +#: howto/urllib2.rst:34 msgid "" "For straightforward situations *urlopen* is very easy to use. But as soon as " "you encounter errors or non-trivial cases when opening HTTP URLs, you will " @@ -87,22 +79,22 @@ msgid "" "is supplementary to them." msgstr "" -#: howto/urllib2.rst:51 +#: howto/urllib2.rst:44 msgid "Fetching URLs" msgstr "" -#: howto/urllib2.rst:53 +#: howto/urllib2.rst:46 msgid "The simplest way to use urllib.request is as follows::" msgstr "" -#: howto/urllib2.rst:59 +#: howto/urllib2.rst:52 msgid "" "If you wish to retrieve a resource via URL and store it in a temporary " "location, you can do so via the :func:`shutil.copyfileobj` and :func:" "`tempfile.NamedTemporaryFile` functions::" msgstr "" -#: howto/urllib2.rst:74 +#: howto/urllib2.rst:67 msgid "" "Many uses of urllib will be that simple (note that instead of an 'http:' URL " "we could have used a URL starting with 'ftp:', 'file:', etc.). However, " @@ -110,7 +102,7 @@ msgid "" "concentrating on HTTP." msgstr "" -#: howto/urllib2.rst:79 +#: howto/urllib2.rst:72 msgid "" "HTTP is based on requests and responses - the client makes requests and " "servers send responses. urllib.request mirrors this with a ``Request`` " @@ -121,13 +113,13 @@ msgid "" "for example call ``.read()`` on the response::" msgstr "" -#: howto/urllib2.rst:93 +#: howto/urllib2.rst:86 msgid "" "Note that urllib.request makes use of the same Request interface to handle " "all URL schemes. For example, you can make an FTP request like so::" msgstr "" -#: howto/urllib2.rst:98 +#: howto/urllib2.rst:91 msgid "" "In the case of HTTP, there are two extra things that Request objects allow " "you to do: First, you can pass data to be sent to the server. Second, you " @@ -136,11 +128,11 @@ msgid "" "\"headers\". Let's look at each of these in turn." msgstr "" -#: howto/urllib2.rst:105 +#: howto/urllib2.rst:98 msgid "Data" msgstr "" -#: howto/urllib2.rst:107 +#: howto/urllib2.rst:100 msgid "" "Sometimes you want to send data to a URL (often the URL will refer to a CGI " "(Common Gateway Interface) script or other web application). With HTTP, this " @@ -153,14 +145,14 @@ msgid "" "function from the :mod:`urllib.parse` library. ::" msgstr "" -#: howto/urllib2.rst:131 +#: howto/urllib2.rst:124 msgid "" "Note that other encodings are sometimes required (e.g. for file upload from " "HTML forms - see `HTML Specification, Form Submission `_ for more details)." msgstr "" -#: howto/urllib2.rst:136 +#: howto/urllib2.rst:129 msgid "" "If you do not pass the ``data`` argument, urllib uses a **GET** request. One " "way in which GET and POST requests differ is that POST requests often have " @@ -173,27 +165,27 @@ msgid "" "be passed in an HTTP GET request by encoding it in the URL itself." msgstr "" -#: howto/urllib2.rst:146 +#: howto/urllib2.rst:139 msgid "This is done as follows::" msgstr "" -#: howto/urllib2.rst:161 +#: howto/urllib2.rst:154 msgid "" "Notice that the full URL is created by adding a ``?`` to the URL, followed " "by the encoded values." msgstr "" -#: howto/urllib2.rst:165 +#: howto/urllib2.rst:158 msgid "Headers" msgstr "" -#: howto/urllib2.rst:167 +#: howto/urllib2.rst:160 msgid "" "We'll discuss here one particular HTTP header, to illustrate how to add " "headers to your HTTP request." msgstr "" -#: howto/urllib2.rst:170 +#: howto/urllib2.rst:163 msgid "" "Some websites [#]_ dislike being browsed by programs, or send different " "versions to different browsers [#]_. By default urllib identifies itself as " @@ -206,39 +198,39 @@ msgid "" "Explorer [#]_. ::" msgstr "" -#: howto/urllib2.rst:197 +#: howto/urllib2.rst:190 msgid "" "The response also has two useful methods. See the section on `info and " "geturl`_ which comes after we have a look at what happens when things go " "wrong." msgstr "" -#: howto/urllib2.rst:202 +#: howto/urllib2.rst:195 msgid "Handling Exceptions" msgstr "" -#: howto/urllib2.rst:204 +#: howto/urllib2.rst:197 msgid "" "*urlopen* raises :exc:`URLError` when it cannot handle a response (though as " "usual with Python APIs, built-in exceptions such as :exc:`ValueError`, :exc:" "`TypeError` etc. may also be raised)." msgstr "" -#: howto/urllib2.rst:208 +#: howto/urllib2.rst:201 msgid "" ":exc:`HTTPError` is the subclass of :exc:`URLError` raised in the specific " "case of HTTP URLs." msgstr "" -#: howto/urllib2.rst:211 +#: howto/urllib2.rst:204 msgid "The exception classes are exported from the :mod:`urllib.error` module." msgstr "" -#: howto/urllib2.rst:214 +#: howto/urllib2.rst:207 msgid "URLError" msgstr "" -#: howto/urllib2.rst:216 +#: howto/urllib2.rst:209 msgid "" "Often, URLError is raised because there is no network connection (no route " "to the specified server), or the specified server doesn't exist. In this " @@ -246,15 +238,15 @@ msgid "" "containing an error code and a text error message." msgstr "" -#: howto/urllib2.rst:221 +#: howto/urllib2.rst:214 msgid "e.g. ::" msgstr "" -#: howto/urllib2.rst:232 +#: howto/urllib2.rst:225 msgid "HTTPError" msgstr "" -#: howto/urllib2.rst:234 +#: howto/urllib2.rst:227 msgid "" "Every HTTP response from the server contains a numeric \"status code\". " "Sometimes the status code indicates that the server is unable to fulfil the " @@ -266,36 +258,36 @@ msgid "" "'401' (authentication required)." msgstr "" -#: howto/urllib2.rst:242 +#: howto/urllib2.rst:235 msgid "" "See section 10 of :rfc:`2616` for a reference on all the HTTP error codes." msgstr "" -#: howto/urllib2.rst:244 +#: howto/urllib2.rst:237 msgid "" "The :exc:`HTTPError` instance raised will have an integer 'code' attribute, " "which corresponds to the error sent by the server." msgstr "" -#: howto/urllib2.rst:248 +#: howto/urllib2.rst:241 msgid "Error Codes" msgstr "" -#: howto/urllib2.rst:250 +#: howto/urllib2.rst:243 msgid "" "Because the default handlers handle redirects (codes in the 300 range), and " "codes in the 100--299 range indicate success, you will usually only see " "error codes in the 400--599 range." msgstr "" -#: howto/urllib2.rst:254 +#: howto/urllib2.rst:247 msgid "" ":attr:`http.server.BaseHTTPRequestHandler.responses` is a useful dictionary " "of response codes in that shows all the response codes used by :rfc:`2616`. " "The dictionary is reproduced here for convenience ::" msgstr "" -#: howto/urllib2.rst:326 +#: howto/urllib2.rst:319 msgid "" "When an error is raised the server responds by returning an HTTP error code " "*and* an error page. You can use the :exc:`HTTPError` instance as a response " @@ -304,42 +296,42 @@ msgid "" "module::" msgstr "" -#: howto/urllib2.rst:346 +#: howto/urllib2.rst:339 msgid "Wrapping it Up" msgstr "" -#: howto/urllib2.rst:348 +#: howto/urllib2.rst:341 msgid "" "So if you want to be prepared for :exc:`HTTPError` *or* :exc:`URLError` " "there are two basic approaches. I prefer the second approach." msgstr "" -#: howto/urllib2.rst:352 +#: howto/urllib2.rst:345 msgid "Number 1" msgstr "" -#: howto/urllib2.rst:374 +#: howto/urllib2.rst:367 msgid "" "The ``except HTTPError`` *must* come first, otherwise ``except URLError`` " "will *also* catch an :exc:`HTTPError`." msgstr "" -#: howto/urllib2.rst:378 +#: howto/urllib2.rst:371 msgid "Number 2" msgstr "" -#: howto/urllib2.rst:399 +#: howto/urllib2.rst:392 msgid "info and geturl" msgstr "" -#: howto/urllib2.rst:401 +#: howto/urllib2.rst:394 msgid "" "The response returned by urlopen (or the :exc:`HTTPError` instance) has two " "useful methods :meth:`info` and :meth:`geturl` and is defined in the module :" "mod:`urllib.response`.." msgstr "" -#: howto/urllib2.rst:405 +#: howto/urllib2.rst:398 msgid "" "**geturl** - this returns the real URL of the page fetched. This is useful " "because ``urlopen`` (or the opener object used) may have followed a " @@ -347,14 +339,14 @@ msgid "" "requested." msgstr "" -#: howto/urllib2.rst:409 +#: howto/urllib2.rst:402 msgid "" "**info** - this returns a dictionary-like object that describes the page " "fetched, particularly the headers sent by the server. It is currently an :" "class:`http.client.HTTPMessage` instance." msgstr "" -#: howto/urllib2.rst:413 +#: howto/urllib2.rst:406 msgid "" "Typical headers include 'Content-length', 'Content-type', and so on. See the " "`Quick Reference to HTTP Headers `_ for a " @@ -362,11 +354,11 @@ msgid "" "use." msgstr "" -#: howto/urllib2.rst:420 +#: howto/urllib2.rst:413 msgid "Openers and Handlers" msgstr "" -#: howto/urllib2.rst:422 +#: howto/urllib2.rst:415 msgid "" "When you fetch a URL you use an opener (an instance of the perhaps " "confusingly named :class:`urllib.request.OpenerDirector`). Normally we have " @@ -377,20 +369,20 @@ msgid "" "HTTP redirections or HTTP cookies." msgstr "" -#: howto/urllib2.rst:430 +#: howto/urllib2.rst:423 msgid "" "You will want to create openers if you want to fetch URLs with specific " "handlers installed, for example to get an opener that handles cookies, or to " "get an opener that does not handle redirections." msgstr "" -#: howto/urllib2.rst:434 +#: howto/urllib2.rst:427 msgid "" "To create an opener, instantiate an ``OpenerDirector``, and then call ``." "add_handler(some_handler_instance)`` repeatedly." msgstr "" -#: howto/urllib2.rst:437 +#: howto/urllib2.rst:430 msgid "" "Alternatively, you can use ``build_opener``, which is a convenience function " "for creating opener objects with a single function call. ``build_opener`` " @@ -398,40 +390,40 @@ msgid "" "or override the default handlers." msgstr "" -#: howto/urllib2.rst:442 +#: howto/urllib2.rst:435 msgid "" "Other sorts of handlers you might want to can handle proxies, " "authentication, and other common but slightly specialised situations." msgstr "" -#: howto/urllib2.rst:445 +#: howto/urllib2.rst:438 msgid "" "``install_opener`` can be used to make an ``opener`` object the (global) " "default opener. This means that calls to ``urlopen`` will use the opener you " "have installed." msgstr "" -#: howto/urllib2.rst:449 +#: howto/urllib2.rst:442 msgid "" "Opener objects have an ``open`` method, which can be called directly to " "fetch urls in the same way as the ``urlopen`` function: there's no need to " "call ``install_opener``, except as a convenience." msgstr "" -#: howto/urllib2.rst:455 +#: howto/urllib2.rst:448 msgid "Basic Authentication" msgstr "" -#: howto/urllib2.rst:457 +#: howto/urllib2.rst:450 msgid "" "To illustrate creating and installing a handler we will use the " "``HTTPBasicAuthHandler``. For a more detailed discussion of this subject -- " "including an explanation of how Basic Authentication works - see the `Basic " -"Authentication Tutorial `_." +"Authentication Tutorial `__." msgstr "" -#: howto/urllib2.rst:463 +#: howto/urllib2.rst:456 msgid "" "When authentication is required, the server sends a header (as well as the " "401 error code) requesting authentication. This specifies the " @@ -439,11 +431,11 @@ msgid "" "Authenticate: SCHEME realm=\"REALM\"``." msgstr "" -#: howto/urllib2.rst:468 +#: howto/urllib2.rst:461 msgid "e.g." msgstr "" -#: howto/urllib2.rst:475 +#: howto/urllib2.rst:468 msgid "" "The client should then retry the request with the appropriate name and " "password for the realm included as a header in the request. This is 'basic " @@ -451,7 +443,7 @@ msgid "" "of ``HTTPBasicAuthHandler`` and an opener to use this handler." msgstr "" -#: howto/urllib2.rst:480 +#: howto/urllib2.rst:473 msgid "" "The ``HTTPBasicAuthHandler`` uses an object called a password manager to " "handle the mapping of URLs and realms to passwords and usernames. If you " @@ -464,13 +456,13 @@ msgid "" "by providing ``None`` as the realm argument to the ``add_password`` method." msgstr "" -#: howto/urllib2.rst:490 +#: howto/urllib2.rst:483 msgid "" "The top-level URL is the first URL that requires authentication. URLs " "\"deeper\" than the URL you pass to .add_password() will also match. ::" msgstr "" -#: howto/urllib2.rst:515 +#: howto/urllib2.rst:508 msgid "" "In the above example we only supplied our ``HTTPBasicAuthHandler`` to " "``build_opener``. By default openers have the handlers for normal situations " @@ -480,7 +472,7 @@ msgid "" "``FileHandler``, ``DataHandler``, ``HTTPErrorProcessor``." msgstr "" -#: howto/urllib2.rst:522 +#: howto/urllib2.rst:515 msgid "" "``top_level_url`` is in fact *either* a full URL (including the 'http:' " "scheme component and the hostname and optionally the port number) e.g. " @@ -491,11 +483,11 @@ msgid "" "example ``\"joe:password@example.com\"`` is not correct." msgstr "" -#: howto/urllib2.rst:532 +#: howto/urllib2.rst:525 msgid "Proxies" msgstr "" -#: howto/urllib2.rst:534 +#: howto/urllib2.rst:527 msgid "" "**urllib** will auto-detect your proxy settings and use those. This is " "through the ``ProxyHandler``, which is part of the normal handler chain when " @@ -505,30 +497,30 @@ msgid "" "similar steps to setting up a `Basic Authentication`_ handler: ::" msgstr "" -#: howto/urllib2.rst:547 +#: howto/urllib2.rst:540 msgid "" "Currently ``urllib.request`` *does not* support fetching of ``https`` " "locations through a proxy. However, this can be enabled by extending urllib." "request as shown in the recipe [#]_." msgstr "" -#: howto/urllib2.rst:553 +#: howto/urllib2.rst:546 msgid "" "``HTTP_PROXY`` will be ignored if a variable ``REQUEST_METHOD`` is set; see " "the documentation on :func:`~urllib.request.getproxies`." msgstr "" -#: howto/urllib2.rst:558 +#: howto/urllib2.rst:551 msgid "Sockets and Layers" msgstr "" -#: howto/urllib2.rst:560 +#: howto/urllib2.rst:553 msgid "" "The Python support for fetching resources from the web is layered. urllib " "uses the :mod:`http.client` library, which in turn uses the socket library." msgstr "" -#: howto/urllib2.rst:563 +#: howto/urllib2.rst:556 msgid "" "As of Python 2.3 you can specify how long a socket should wait for a " "response before timing out. This can be useful in applications which have to " @@ -538,38 +530,38 @@ msgid "" "sockets using ::" msgstr "" -#: howto/urllib2.rst:586 +#: howto/urllib2.rst:579 msgid "Footnotes" msgstr "" -#: howto/urllib2.rst:588 +#: howto/urllib2.rst:581 msgid "This document was reviewed and revised by John Lee." msgstr "" -#: howto/urllib2.rst:590 +#: howto/urllib2.rst:583 msgid "Google for example." msgstr "" -#: howto/urllib2.rst:591 +#: howto/urllib2.rst:584 msgid "" "Browser sniffing is a very bad practice for website design - building sites " "using web standards is much more sensible. Unfortunately a lot of sites " "still send different versions to different browsers." msgstr "" -#: howto/urllib2.rst:594 +#: howto/urllib2.rst:587 msgid "" "The user agent for MSIE 6 is *'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT " "5.1; SV1; .NET CLR 1.1.4322)'*" msgstr "" -#: howto/urllib2.rst:596 +#: howto/urllib2.rst:589 msgid "" "For details of more HTTP request headers, see `Quick Reference to HTTP " "Headers`_." msgstr "" -#: howto/urllib2.rst:598 +#: howto/urllib2.rst:591 msgid "" "In my case I have to use a proxy to access the internet at work. If you " "attempt to fetch *localhost* URLs through this proxy it blocks them. IE is " @@ -577,7 +569,7 @@ msgid "" "with a localhost server, I have to prevent urllib from using the proxy." msgstr "" -#: howto/urllib2.rst:603 +#: howto/urllib2.rst:596 msgid "" "urllib opener for SSL proxy (CONNECT method): `ASPN Cookbook Recipe `_." diff --git a/includes/wasm-notavail.po b/includes/wasm-notavail.po deleted file mode 100644 index 0146f28fb..000000000 --- a/includes/wasm-notavail.po +++ /dev/null @@ -1,31 +0,0 @@ -# Python Documentation Turkish Translation -# Copyright (C) 2001-2023, Python Software Foundation -# This file is distributed under the same license as the Python package. -# -msgid "" -msgstr "" -"Project-Id-Version: Python 3.11\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" -"PO-Revision-Date: 2023-05-02 12:49+0300\n" -"Last-Translator: \n" -"Language-Team: TURKISH \n" -"Language: tr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 3.2.2\n" - -#: includes/wasm-notavail.rst:3 -msgid ":ref:`Availability `: not Emscripten, not WASI." -msgstr ":ref:`Kullanılabilirlik `: Emscripten değil, WASI değil." - -#: includes/wasm-notavail.rst:5 -msgid "" -"This module does not work or is not available on WebAssembly platforms " -"``wasm32-emscripten`` and ``wasm32-wasi``. See :ref:`wasm-availability` for " -"more information." -msgstr "" -"Bu modül WebAssembly platformları olan ``wasm32-emscripten`` ve ``wasm32-" -"wasi`` üzerinde çalışmaz veya kullanılamaz. Daha fazla bilgi için :ref:`wasm-" -"availability` sayfasına bakın." diff --git a/library/__main__.po b/library/__main__.po index 4574ad2ea..9acc3bf3e 100644 --- a/library/__main__.po +++ b/library/__main__.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -148,7 +148,7 @@ msgstr "" #: library/__main__.rst:127 msgid "" -"Putting as few statements as possible in the block below ``if __name___ == " +"Putting as few statements as possible in the block below ``if __name__ == " "'__main__'`` can improve code clarity and correctness. Most often, a " "function named ``main`` encapsulates the program's primary behavior::" msgstr "" @@ -276,7 +276,7 @@ msgstr "" msgid "" "See :mod:`venv` for an example of a package with a minimal ``__main__.py`` " "in the standard library. It doesn't contain a ``if __name__ == '__main__'`` " -"block. You can invoke it with ``python3 -m venv [directory]``." +"block. You can invoke it with ``python -m venv [directory]``." msgstr "" #: library/__main__.rst:264 diff --git a/library/_thread.po b/library/_thread.po index f7d49b8a6..3362f3e9e 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -275,3 +275,39 @@ msgid "" "that :keyword:`try` ... :keyword:`finally` clauses are honored), and the " "standard I/O files are not flushed." msgstr "" + +#: library/_thread.rst:7 +msgid "light-weight processes" +msgstr "" + +#: library/_thread.rst:7 +msgid "processes, light-weight" +msgstr "" + +#: library/_thread.rst:7 +msgid "binary semaphores" +msgstr "" + +#: library/_thread.rst:7 +msgid "semaphores, binary" +msgstr "" + +#: library/_thread.rst:22 +msgid "pthreads" +msgstr "" + +#: library/_thread.rst:22 +msgid "threads" +msgstr "" + +#: library/_thread.rst:22 +msgid "POSIX" +msgstr "" + +#: library/_thread.rst:209 +msgid "module" +msgstr "" + +#: library/_thread.rst:209 +msgid "signal" +msgstr "" diff --git a/library/aifc.po b/library/aifc.po index bf6026fa1..6b8104e25 100644 --- a/library/aifc.po +++ b/library/aifc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -256,3 +256,27 @@ msgid "" "actual size of the audio data. After calling this method, the object can no " "longer be used." msgstr "" + +#: library/aifc.rst:10 +msgid "Audio Interchange File Format" +msgstr "" + +#: library/aifc.rst:10 +msgid "AIFF" +msgstr "" + +#: library/aifc.rst:10 +msgid "AIFF-C" +msgstr "" + +#: library/aifc.rst:190 +msgid "u-LAW" +msgstr "" + +#: library/aifc.rst:190 +msgid "A-LAW" +msgstr "" + +#: library/aifc.rst:190 +msgid "G.722" +msgstr "" diff --git a/library/argparse.po b/library/argparse.po index 230ec9ea9..7c1b2e2a9 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -168,7 +168,7 @@ msgid "Number of times the argument can be used" msgstr "" #: library/argparse.rst:70 -msgid ":class:`int`, ``'?'``, ``'*'``, ``'+'``, or ``argparse.REMAINDER``" +msgid ":class:`int`, ``'?'``, ``'*'``, or ``'+'``" msgstr "" #: library/argparse.rst:71 @@ -1106,7 +1106,7 @@ msgstr "" msgid "" "For example, JSON or YAML conversions have complex error cases that require " "better reporting than can be given by the ``type`` keyword. A :exc:`~json." -"JSONDecodeError` would not be well formatted and a :exc:`FileNotFound` " +"JSONDecodeError` would not be well formatted and a :exc:`FileNotFoundError` " "exception would not be handled at all." msgstr "" @@ -1295,7 +1295,8 @@ msgstr "" msgid "" "Action classes implement the Action API, a callable which returns a callable " "which processes arguments from the command-line. Any object which follows " -"this API may be passed as the ``action`` parameter to :meth:`add_argument`." +"this API may be passed as the ``action`` parameter to :meth:`~ArgumentParser." +"add_argument`." msgstr "" #: library/argparse.rst:1444 @@ -1525,7 +1526,7 @@ msgid "" "arguments. :class:`ArgumentParser` supports the creation of such sub-" "commands with the :meth:`add_subparsers` method. The :meth:`add_subparsers` " "method is normally called with no arguments and returns a special action " -"object. This object has a single method, :meth:`~ArgumentParser." +"object. This object has a single method, :meth:`~_SubParsersAction." "add_parser`, which takes a command name and any :class:`ArgumentParser` " "constructor arguments, and returns an :class:`ArgumentParser` object that " "can be modified as usual." @@ -1609,7 +1610,7 @@ msgid "" "for that particular parser will be printed. The help message will not " "include parent parser or sibling parser messages. (A help message for each " "subparser command, however, can be given by supplying the ``help=`` argument " -"to :meth:`add_parser` as above.)" +"to :meth:`~_SubParsersAction.add_parser` as above.)" msgstr "" #: library/argparse.rst:1811 @@ -1835,9 +1836,9 @@ msgstr "" #: library/argparse.rst:2127 msgid "" ":ref:`Prefix matching ` rules apply to :meth:" -"`parse_known_args`. The parser may consume an option even if it's just a " -"prefix of one of its known options, instead of leaving it in the remaining " -"arguments list." +"`~ArgumentParser.parse_known_args`. The parser may consume an option even if " +"it's just a prefix of one of its known options, instead of leaving it in the " +"remaining arguments list." msgstr "" #: library/argparse.rst:2134 @@ -1897,9 +1898,9 @@ msgstr "" #: library/argparse.rst:2187 msgid "" "These parsers do not support all the argparse features, and will raise " -"exceptions if unsupported features are used. In particular, subparsers, " -"``argparse.REMAINDER``, and mutually exclusive groups that include both " -"optionals and positionals are not supported." +"exceptions if unsupported features are used. In particular, subparsers, and " +"mutually exclusive groups that include both optionals and positionals are " +"not supported." msgstr "" #: library/argparse.rst:2192 @@ -2019,3 +2020,38 @@ msgid "" "``parser.add_argument('--version', action='version', version='')``." msgstr "" + +#: library/argparse.rst:2268 +msgid "Exceptions" +msgstr "" + +#: library/argparse.rst:2272 +msgid "An error from creating or using an argument (optional or positional)." +msgstr "" + +#: library/argparse.rst:2274 +msgid "" +"The string value of this exception is the message, augmented with " +"information about the argument that caused it." +msgstr "" + +#: library/argparse.rst:2279 +msgid "" +"Raised when something goes wrong converting a command line string to a type." +msgstr "" + +#: library/argparse.rst:970 +msgid "? (question mark)" +msgstr "" + +#: library/argparse.rst:1004 library/argparse.rst:1018 +msgid "in argparse module" +msgstr "" + +#: library/argparse.rst:1004 +msgid "* (asterisk)" +msgstr "" + +#: library/argparse.rst:1018 +msgid "+ (plus)" +msgstr "" diff --git a/library/array.po b/library/array.po index 9f8d43bac..c5a2178d1 100644 --- a/library/array.po +++ b/library/array.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-04 22:37+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -429,3 +429,7 @@ msgstr "" #: library/array.rst:268 msgid "The NumPy package defines another array type." msgstr "" + +#: library/array.rst:7 +msgid "arrays" +msgstr "" diff --git a/library/ast.po b/library/ast.po index 59e4ac951..d0bf13301 100644 --- a/library/ast.po +++ b/library/ast.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -363,7 +363,7 @@ msgstr "" #: library/ast.rst:493 msgid "" "When creating a ``Call`` node, ``args`` and ``keywords`` are required, but " -"they can be empty lists. ``starargs`` and ``kwargs`` are optional." +"they can be empty lists." msgstr "" #: library/ast.rst:517 @@ -859,45 +859,38 @@ msgstr "" #: library/ast.rst:1830 msgid "" -"``starargs`` and ``kwargs`` are each a single node, as in a function call. " -"starargs will be expanded to join the list of base classes, and kwargs will " -"be passed to the metaclass." -msgstr "" - -#: library/ast.rst:1833 -msgid "" "``body`` is a list of nodes representing the code within the class " "definition." msgstr "" -#: library/ast.rst:1835 +#: library/ast.rst:1832 msgid "``decorator_list`` is a list of nodes, as in :class:`FunctionDef`." msgstr "" -#: library/ast.rst:1864 +#: library/ast.rst:1861 msgid "Async and await" msgstr "" -#: library/ast.rst:1868 +#: library/ast.rst:1865 msgid "" "An ``async def`` function definition. Has the same fields as :class:" "`FunctionDef`." msgstr "" -#: library/ast.rst:1874 +#: library/ast.rst:1871 msgid "" "An ``await`` expression. ``value`` is what it waits for. Only valid in the " "body of an :class:`AsyncFunctionDef`." msgstr "" -#: library/ast.rst:1907 +#: library/ast.rst:1904 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:1912 +#: library/ast.rst:1909 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." @@ -906,23 +899,23 @@ msgid "" "same value (e.g. :class:`ast.Add`)." msgstr "" -#: library/ast.rst:1920 +#: library/ast.rst:1917 msgid ":mod:`ast` Helpers" msgstr "" -#: library/ast.rst:1922 +#: library/ast.rst:1919 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:1927 +#: library/ast.rst:1924 msgid "" "Parse the source into an AST node. Equivalent to ``compile(source, " "filename, mode, ast.PyCF_ONLY_AST)``." msgstr "" -#: library/ast.rst:1930 +#: library/ast.rst:1927 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 " @@ -935,14 +928,14 @@ msgid "" "empty list)." msgstr "" -#: library/ast.rst:1940 +#: library/ast.rst:1937 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:1944 +#: library/ast.rst:1941 msgid "" "Also, setting ``feature_version`` to a tuple ``(major, minor)`` will attempt " "to parse using that Python version's grammar. Currently ``major`` must equal " @@ -951,12 +944,12 @@ msgid "" "version is ``(3, 4)``; the highest is ``sys.version_info[0:2]``." msgstr "" -#: library/ast.rst:1951 +#: library/ast.rst:1948 msgid "" "If source contains a null character ('\\0'), :exc:`ValueError` is raised." msgstr "" -#: library/ast.rst:1954 +#: library/ast.rst:1951 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 " @@ -966,43 +959,43 @@ msgid "" "inside a function node)." msgstr "" -#: library/ast.rst:1961 +#: library/ast.rst:1958 msgid "" "In particular, :func:`ast.parse` won't do any scoping checks, which the " "compilation step does." msgstr "" -#: library/ast.rst:1965 +#: library/ast.rst:1962 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:1969 +#: library/ast.rst:1966 msgid "Added ``type_comments``, ``mode='func_type'`` and ``feature_version``." msgstr "" -#: library/ast.rst:1975 +#: library/ast.rst:1972 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:1980 +#: library/ast.rst:1977 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:1985 +#: library/ast.rst:1982 msgid "" "Trying to unparse a highly complex expression would result with :exc:" "`RecursionError`." msgstr "" -#: library/ast.rst:1993 +#: library/ast.rst:1990 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 " @@ -1010,14 +1003,14 @@ msgid "" "dicts, sets, booleans, ``None`` and ``Ellipsis``." msgstr "" -#: library/ast.rst:1998 +#: library/ast.rst:1995 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:2003 +#: library/ast.rst:2000 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 " @@ -1029,31 +1022,31 @@ msgid "" "untrusted data is thus not recommended." msgstr "" -#: library/ast.rst:2013 +#: library/ast.rst:2010 msgid "" "It is possible to crash the Python interpreter due to stack depth " "limitations in Python's AST compiler." msgstr "" -#: library/ast.rst:2016 +#: library/ast.rst:2013 msgid "" "It can raise :exc:`ValueError`, :exc:`TypeError`, :exc:`SyntaxError`, :exc:" "`MemoryError` and :exc:`RecursionError` depending on the malformed input." msgstr "" -#: library/ast.rst:2020 +#: library/ast.rst:2017 msgid "Now allows bytes and set literals." msgstr "" -#: library/ast.rst:2023 +#: library/ast.rst:2020 msgid "Now supports creating empty sets with ``'set()'``." msgstr "" -#: library/ast.rst:2026 +#: library/ast.rst:2023 msgid "For string inputs, leading spaces and tabs are now stripped." msgstr "" -#: library/ast.rst:2032 +#: library/ast.rst:2029 msgid "" "Return the docstring of the given *node* (which must be a :class:" "`FunctionDef`, :class:`AsyncFunctionDef`, :class:`ClassDef`, or :class:" @@ -1061,24 +1054,24 @@ msgid "" "clean up the docstring's indentation with :func:`inspect.cleandoc`." msgstr "" -#: library/ast.rst:2038 +#: library/ast.rst:2035 msgid ":class:`AsyncFunctionDef` is now supported." msgstr "" -#: library/ast.rst:2044 +#: library/ast.rst:2041 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``." msgstr "" -#: library/ast.rst:2048 +#: library/ast.rst:2045 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:2056 +#: library/ast.rst:2053 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 " @@ -1087,77 +1080,77 @@ msgid "" "the values of the parent node. It works recursively starting at *node*." msgstr "" -#: library/ast.rst:2065 +#: library/ast.rst:2062 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:2072 +#: library/ast.rst:2069 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*." msgstr "" -#: library/ast.rst:2079 +#: library/ast.rst:2076 msgid "" "Yield a tuple of ``(fieldname, value)`` for each field in ``node._fields`` " "that is present on *node*." msgstr "" -#: library/ast.rst:2085 +#: library/ast.rst:2082 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:2091 +#: library/ast.rst:2088 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:2098 +#: library/ast.rst:2095 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:2102 +#: library/ast.rst:2099 msgid "" "This class is meant to be subclassed, with the subclass adding visitor " "methods." msgstr "" -#: library/ast.rst:2107 +#: library/ast.rst:2104 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:2113 +#: library/ast.rst:2110 msgid "This visitor calls :meth:`visit` on all children of the node." msgstr "" -#: library/ast.rst:2115 +#: library/ast.rst:2112 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:2119 +#: library/ast.rst:2116 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:2125 +#: library/ast.rst:2122 msgid "" "Methods :meth:`visit_Num`, :meth:`visit_Str`, :meth:`visit_Bytes`, :meth:" "`visit_NameConstant` and :meth:`visit_Ellipsis` are deprecated now and will " @@ -1165,13 +1158,13 @@ msgid "" "method to handle all constant nodes." msgstr "" -#: library/ast.rst:2133 +#: library/ast.rst:2130 msgid "" "A :class:`NodeVisitor` subclass that walks the abstract syntax tree and " "allows modification of nodes." msgstr "" -#: library/ast.rst:2136 +#: library/ast.rst:2133 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 " @@ -1180,27 +1173,27 @@ msgid "" "may be the original node in which case no replacement takes place." msgstr "" -#: library/ast.rst:2142 +#: library/ast.rst:2139 msgid "" "Here is an example transformer that rewrites all occurrences of name lookups " "(``foo``) to ``data['foo']``::" msgstr "" -#: library/ast.rst:2154 +#: library/ast.rst:2151 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." msgstr "" -#: library/ast.rst:2158 +#: library/ast.rst:2155 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:2162 +#: library/ast.rst:2159 msgid "" "If :class:`NodeTransformer` introduces new nodes (that weren't part of " "original tree) without giving them location information (such as :attr:" @@ -1208,11 +1201,11 @@ msgid "" "tree to recalculate the location information::" msgstr "" -#: library/ast.rst:2170 +#: library/ast.rst:2167 msgid "Usually you use the transformer like this::" msgstr "" -#: library/ast.rst:2177 +#: library/ast.rst:2174 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 " @@ -1223,7 +1216,7 @@ msgid "" "true." msgstr "" -#: library/ast.rst:2185 +#: library/ast.rst:2182 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 " @@ -1233,87 +1226,87 @@ msgid "" "string is used to indent each level." msgstr "" -#: library/ast.rst:2192 +#: library/ast.rst:2189 msgid "Added the *indent* option." msgstr "" -#: library/ast.rst:2199 +#: library/ast.rst:2196 msgid "Compiler Flags" msgstr "" -#: library/ast.rst:2201 +#: library/ast.rst:2198 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:2206 +#: library/ast.rst:2203 msgid "" "Enables support for top-level ``await``, ``async for``, ``async with`` and " "async comprehensions." msgstr "" -#: library/ast.rst:2213 +#: library/ast.rst:2210 msgid "" "Generates and returns an abstract syntax tree instead of returning a " "compiled code object." msgstr "" -#: library/ast.rst:2218 +#: library/ast.rst:2215 msgid "" "Enables support for :pep:`484` and :pep:`526` style type comments (``# type: " "``, ``# type: ignore ``)." msgstr "" -#: library/ast.rst:2227 +#: library/ast.rst:2224 msgid "Command-Line Usage" msgstr "" -#: library/ast.rst:2231 +#: library/ast.rst:2228 msgid "" "The :mod:`ast` module can be executed as a script from the command line. It " "is as simple as:" msgstr "" -#: library/ast.rst:2238 +#: library/ast.rst:2235 msgid "The following options are accepted:" msgstr "" -#: library/ast.rst:2244 +#: library/ast.rst:2241 msgid "Show the help message and exit." msgstr "" -#: library/ast.rst:2249 +#: library/ast.rst:2246 msgid "" "Specify what kind of code must be compiled, like the *mode* argument in :" "func:`parse`." msgstr "" -#: library/ast.rst:2254 +#: library/ast.rst:2251 msgid "Don't parse type comments." msgstr "" -#: library/ast.rst:2258 +#: library/ast.rst:2255 msgid "Include attributes such as line numbers and column offsets." msgstr "" -#: library/ast.rst:2263 +#: library/ast.rst:2260 msgid "Indentation of nodes in AST (number of spaces)." msgstr "" -#: library/ast.rst:2265 +#: library/ast.rst:2262 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:2271 +#: library/ast.rst:2268 msgid "" "`Green Tree Snakes `_, an external " "documentation resource, has good details on working with Python ASTs." msgstr "" -#: library/ast.rst:2274 +#: library/ast.rst:2271 msgid "" "`ASTTokens `_ " "annotates Python ASTs with the positions of tokens and text in the source " @@ -1321,24 +1314,36 @@ msgid "" "transformations." msgstr "" -#: library/ast.rst:2279 +#: library/ast.rst:2276 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:2283 +#: library/ast.rst:2280 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:2288 +#: library/ast.rst:2285 msgid "" "`Parso `_ is a Python parser that supports " "error recovery and round-trip parsing for different Python versions (in " "multiple Python versions). Parso is also able to list multiple syntax errors " "in your python file." msgstr "" + +#: library/ast.rst:59 +msgid "? (question mark)" +msgstr "" + +#: library/ast.rst:60 +msgid "in AST grammar" +msgstr "" + +#: library/ast.rst:60 +msgid "* (asterisk)" +msgstr "" diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 29c9ee5ce..059045e5e 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -683,7 +683,7 @@ msgid "" msgstr "" #: library/asyncio-eventloop.rst:518 -msgid "For more information: https://tools.ietf.org/html/rfc6555" +msgid "For more information: https://datatracker.ietf.org/doc/html/rfc6555" msgstr "" #: library/asyncio-eventloop.rst:522 library/asyncio-eventloop.rst:641 @@ -1875,7 +1875,7 @@ msgid "" msgstr "" #: library/asyncio-eventloop.rst:1541 -msgid "Do not instantiate the class directly." +msgid "Do not instantiate the :class:`Server` class directly." msgstr "" #: library/asyncio-eventloop.rst:1545 @@ -1951,75 +1951,77 @@ msgid "Wait until the :meth:`close` method completes." msgstr "" #: library/asyncio-eventloop.rst:1632 -msgid "List of :class:`socket.socket` objects the server is listening on." +msgid "" +"List of socket-like objects, ``asyncio.trsock.TransportSocket``, which the " +"server is listening on." msgstr "" -#: library/asyncio-eventloop.rst:1634 +#: library/asyncio-eventloop.rst:1635 msgid "" "Prior to Python 3.7 ``Server.sockets`` used to return an internal list of " "server sockets directly. In 3.7 a copy of that list is returned." msgstr "" -#: library/asyncio-eventloop.rst:1644 +#: library/asyncio-eventloop.rst:1645 msgid "Event Loop Implementations" msgstr "" -#: library/asyncio-eventloop.rst:1646 +#: library/asyncio-eventloop.rst:1647 msgid "" "asyncio ships with two different event loop implementations: :class:" "`SelectorEventLoop` and :class:`ProactorEventLoop`." msgstr "" -#: library/asyncio-eventloop.rst:1649 +#: library/asyncio-eventloop.rst:1650 msgid "" "By default asyncio is configured to use :class:`SelectorEventLoop` on Unix " "and :class:`ProactorEventLoop` on Windows." msgstr "" -#: library/asyncio-eventloop.rst:1655 +#: library/asyncio-eventloop.rst:1656 msgid "An event loop based on the :mod:`selectors` module." msgstr "" -#: library/asyncio-eventloop.rst:1657 +#: library/asyncio-eventloop.rst:1658 msgid "" "Uses the most efficient *selector* available for the given platform. It is " "also possible to manually configure the exact selector implementation to be " "used::" msgstr "" -#: library/asyncio-eventloop.rst:1672 +#: library/asyncio-eventloop.rst:1673 msgid ":ref:`Availability `: Unix, Windows." msgstr "" -#: library/asyncio-eventloop.rst:1677 +#: library/asyncio-eventloop.rst:1678 msgid "An event loop for Windows that uses \"I/O Completion Ports\" (IOCP)." msgstr "" -#: library/asyncio-eventloop.rst:1679 +#: library/asyncio-eventloop.rst:1680 msgid ":ref:`Availability `: Windows." msgstr "" -#: library/asyncio-eventloop.rst:1683 +#: library/asyncio-eventloop.rst:1684 msgid "" "`MSDN documentation on I/O Completion Ports `_." msgstr "" -#: library/asyncio-eventloop.rst:1689 +#: library/asyncio-eventloop.rst:1690 msgid "Abstract base class for asyncio-compliant event loops." msgstr "" -#: library/asyncio-eventloop.rst:1691 +#: library/asyncio-eventloop.rst:1692 msgid "" "The :ref:`asyncio-event-loop-methods` section lists all methods that an " "alternative implementation of ``AbstractEventLoop`` should have defined." msgstr "" -#: library/asyncio-eventloop.rst:1697 +#: library/asyncio-eventloop.rst:1698 msgid "Examples" msgstr "" -#: library/asyncio-eventloop.rst:1699 +#: library/asyncio-eventloop.rst:1700 msgid "" "Note that all examples in this section **purposefully** show how to use the " "low-level event loop APIs, such as :meth:`loop.run_forever` and :meth:`loop." @@ -2027,70 +2029,70 @@ msgid "" "consider using the high-level functions like :func:`asyncio.run`." msgstr "" -#: library/asyncio-eventloop.rst:1709 +#: library/asyncio-eventloop.rst:1710 msgid "Hello World with call_soon()" msgstr "" -#: library/asyncio-eventloop.rst:1711 +#: library/asyncio-eventloop.rst:1712 msgid "" "An example using the :meth:`loop.call_soon` method to schedule a callback. " "The callback displays ``\"Hello World\"`` and then stops the event loop::" msgstr "" -#: library/asyncio-eventloop.rst:1735 +#: library/asyncio-eventloop.rst:1736 msgid "" "A similar :ref:`Hello World ` example created with a coroutine " "and the :func:`run` function." msgstr "" -#: library/asyncio-eventloop.rst:1742 +#: library/asyncio-eventloop.rst:1743 msgid "Display the current date with call_later()" msgstr "" -#: library/asyncio-eventloop.rst:1744 +#: library/asyncio-eventloop.rst:1745 msgid "" "An example of a callback displaying the current date every second. The " "callback uses the :meth:`loop.call_later` method to reschedule itself after " "5 seconds, and then stops the event loop::" msgstr "" -#: library/asyncio-eventloop.rst:1772 +#: library/asyncio-eventloop.rst:1773 msgid "" "A similar :ref:`current date ` example created with a " "coroutine and the :func:`run` function." msgstr "" -#: library/asyncio-eventloop.rst:1779 +#: library/asyncio-eventloop.rst:1780 msgid "Watch a file descriptor for read events" msgstr "" -#: library/asyncio-eventloop.rst:1781 +#: library/asyncio-eventloop.rst:1782 msgid "" "Wait until a file descriptor received some data using the :meth:`loop." "add_reader` method and then close the event loop::" msgstr "" -#: library/asyncio-eventloop.rst:1819 +#: library/asyncio-eventloop.rst:1820 msgid "" "A similar :ref:`example ` using " "transports, protocols, and the :meth:`loop.create_connection` method." msgstr "" -#: library/asyncio-eventloop.rst:1823 +#: library/asyncio-eventloop.rst:1824 msgid "" "Another similar :ref:`example ` " "using the high-level :func:`asyncio.open_connection` function and streams." msgstr "" -#: library/asyncio-eventloop.rst:1831 +#: library/asyncio-eventloop.rst:1832 msgid "Set signal handlers for SIGINT and SIGTERM" msgstr "" -#: library/asyncio-eventloop.rst:1833 +#: library/asyncio-eventloop.rst:1834 msgid "(This ``signals`` example only works on Unix.)" msgstr "" -#: library/asyncio-eventloop.rst:1835 +#: library/asyncio-eventloop.rst:1836 msgid "" "Register handlers for signals :py:data:`SIGINT` and :py:data:`SIGTERM` using " "the :meth:`loop.add_signal_handler` method::" diff --git a/library/asyncio-task.po b/library/asyncio-task.po index 8379be887..006bb22d2 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -239,11 +239,11 @@ msgid "" "tasks, gather them in a collection::" msgstr "" -#: library/asyncio-task.rst:1009 +#: library/asyncio-task.rst:1013 msgid "Added the *name* parameter." msgstr "" -#: library/asyncio-task.rst:289 +#: library/asyncio-task.rst:1020 msgid "Added the *context* parameter." msgstr "" @@ -261,48 +261,51 @@ msgstr "" msgid "" "It is recommended that coroutines use ``try/finally`` blocks to robustly " "perform clean-up logic. In case :exc:`asyncio.CancelledError` is explicitly " -"caught, it should generally be propagated when clean-up is complete. Most " -"code can safely ignore :exc:`asyncio.CancelledError`." +"caught, it should generally be propagated when clean-up is complete. :exc:" +"`asyncio.CancelledError` directly subclasses :exc:`BaseException` so most " +"code will not need to be aware of it." msgstr "" -#: library/asyncio-task.rst:305 +#: library/asyncio-task.rst:306 msgid "" "The asyncio components that enable structured concurrency, like :class:" "`asyncio.TaskGroup` and :func:`asyncio.timeout`, are implemented using " "cancellation internally and might misbehave if a coroutine swallows :exc:" -"`asyncio.CancelledError`. Similarly, user code should not call :meth:" -"`uncancel `." +"`asyncio.CancelledError`. Similarly, user code should not generally call :" +"meth:`uncancel `. However, in cases when suppressing :" +"exc:`asyncio.CancelledError` is truly desired, it is necessary to also call " +"``uncancel()`` to completely remove the cancellation state." msgstr "" -#: library/asyncio-task.rst:314 +#: library/asyncio-task.rst:318 msgid "Task Groups" msgstr "" -#: library/asyncio-task.rst:316 +#: library/asyncio-task.rst:320 msgid "" "Task groups combine a task creation API with a convenient and reliable way " "to wait for all tasks in the group to finish." msgstr "" -#: library/asyncio-task.rst:321 +#: library/asyncio-task.rst:325 msgid "" "An :ref:`asynchronous context manager ` holding a " "group of tasks. Tasks can be added to the group using :meth:`create_task`. " "All tasks are awaited when the context manager exits." msgstr "" -#: library/asyncio-task.rst:330 +#: library/asyncio-task.rst:334 msgid "" "Create a task in this task group. The signature matches that of :func:" "`asyncio.create_task`." msgstr "" -#: library/asyncio-task.rst:463 library/asyncio-task.rst:655 -#: library/asyncio-task.rst:724 library/asyncio-task.rst:820 +#: library/asyncio-task.rst:467 library/asyncio-task.rst:653 +#: library/asyncio-task.rst:722 library/asyncio-task.rst:816 msgid "Example::" msgstr "" -#: library/asyncio-task.rst:341 +#: library/asyncio-task.rst:345 msgid "" "The ``async with`` statement will wait for all tasks in the group to finish. " "While waiting, new tasks may still be added to the group (for example, by " @@ -311,7 +314,7 @@ msgid "" "block is exited, no new tasks may be added to the group." msgstr "" -#: library/asyncio-task.rst:348 +#: library/asyncio-task.rst:352 msgid "" "The first time any of the tasks belonging to the group fails with an " "exception other than :exc:`asyncio.CancelledError`, the remaining tasks in " @@ -323,7 +326,7 @@ msgid "" "bubble out of the containing ``async with`` statement." msgstr "" -#: library/asyncio-task.rst:358 +#: library/asyncio-task.rst:362 msgid "" "Once all tasks have finished, if any tasks have failed with an exception " "other than :exc:`asyncio.CancelledError`, those exceptions are combined in " @@ -331,7 +334,7 @@ msgid "" "their documentation) which is then raised." msgstr "" -#: library/asyncio-task.rst:365 +#: library/asyncio-task.rst:369 msgid "" "Two base exceptions are treated specially: If any task fails with :exc:" "`KeyboardInterrupt` or :exc:`SystemExit`, the task group still cancels the " @@ -340,7 +343,7 @@ msgid "" "`ExceptionGroup` or :exc:`BaseExceptionGroup`." msgstr "" -#: library/asyncio-task.rst:371 +#: library/asyncio-task.rst:375 msgid "" "If the body of the ``async with`` statement exits with an exception (so :" "meth:`~object.__aexit__` is called with an exception set), this is treated " @@ -352,66 +355,66 @@ msgid "" "`KeyboardInterrupt` and :exc:`SystemExit` as in the previous paragraph." msgstr "" -#: library/asyncio-task.rst:385 +#: library/asyncio-task.rst:389 msgid "Sleeping" msgstr "" -#: library/asyncio-task.rst:389 +#: library/asyncio-task.rst:393 msgid "Block for *delay* seconds." msgstr "" -#: library/asyncio-task.rst:391 +#: library/asyncio-task.rst:395 msgid "" "If *result* is provided, it is returned to the caller when the coroutine " "completes." msgstr "" -#: library/asyncio-task.rst:394 +#: library/asyncio-task.rst:398 msgid "" "``sleep()`` always suspends the current task, allowing other tasks to run." msgstr "" -#: library/asyncio-task.rst:397 +#: library/asyncio-task.rst:401 msgid "" "Setting the delay to 0 provides an optimized path to allow other tasks to " "run. This can be used by long-running functions to avoid blocking the event " "loop for the full duration of the function call." msgstr "" -#: library/asyncio-task.rst:403 +#: library/asyncio-task.rst:407 msgid "" "Example of coroutine displaying the current date every second for 5 seconds::" msgstr "" -#: library/asyncio-task.rst:512 library/asyncio-task.rst:719 -#: library/asyncio-task.rst:801 library/asyncio-task.rst:826 +#: library/asyncio-task.rst:516 library/asyncio-task.rst:717 +#: library/asyncio-task.rst:799 library/asyncio-task.rst:822 msgid "Removed the *loop* parameter." msgstr "" -#: library/asyncio-task.rst:426 +#: library/asyncio-task.rst:430 msgid "Running Tasks Concurrently" msgstr "" -#: library/asyncio-task.rst:430 +#: library/asyncio-task.rst:434 msgid "" "Run :ref:`awaitable objects ` in the *aws* sequence " "*concurrently*." msgstr "" -#: library/asyncio-task.rst:433 +#: library/asyncio-task.rst:437 msgid "" "If any awaitable in *aws* is a coroutine, it is automatically scheduled as a " "Task." msgstr "" -#: library/asyncio-task.rst:436 +#: library/asyncio-task.rst:440 msgid "" "If all awaitables are completed successfully, the result is an aggregate " "list of returned values. The order of result values corresponds to the " "order of awaitables in *aws*." msgstr "" -#: library/asyncio-task.rst:440 +#: library/asyncio-task.rst:444 msgid "" "If *return_exceptions* is ``False`` (default), the first raised exception is " "immediately propagated to the task that awaits on ``gather()``. Other " @@ -419,19 +422,19 @@ msgid "" "run." msgstr "" -#: library/asyncio-task.rst:445 +#: library/asyncio-task.rst:449 msgid "" "If *return_exceptions* is ``True``, exceptions are treated the same as " "successful results, and aggregated in the result list." msgstr "" -#: library/asyncio-task.rst:448 +#: library/asyncio-task.rst:452 msgid "" "If ``gather()`` is *cancelled*, all submitted awaitables (that have not " "completed yet) are also *cancelled*." msgstr "" -#: library/asyncio-task.rst:451 +#: library/asyncio-task.rst:455 msgid "" "If any Task or Future from the *aws* sequence is *cancelled*, it is treated " "as if it raised :exc:`CancelledError` -- the ``gather()`` call is **not** " @@ -439,13 +442,13 @@ msgid "" "submitted Task/Future to cause other Tasks/Futures to be cancelled." msgstr "" -#: library/asyncio-task.rst:458 +#: library/asyncio-task.rst:462 msgid "" "A more modern way to create and run tasks concurrently and wait for their " "completion is :class:`asyncio.TaskGroup`." msgstr "" -#: library/asyncio-task.rst:501 +#: library/asyncio-task.rst:505 msgid "" "If *return_exceptions* is False, cancelling gather() after it has been " "marked done won't cancel any submitted awaitables. For instance, gather can " @@ -454,42 +457,42 @@ msgid "" "the awaitables) from gather won't cancel any other awaitables." msgstr "" -#: library/asyncio-task.rst:508 +#: library/asyncio-task.rst:512 msgid "" "If the *gather* itself is cancelled, the cancellation is propagated " "regardless of *return_exceptions*." msgstr "" -#: library/asyncio-task.rst:515 +#: library/asyncio-task.rst:519 msgid "" "Deprecation warning is emitted if no positional arguments are provided or " "not all positional arguments are Future-like objects and there is no running " "event loop." msgstr "" -#: library/asyncio-task.rst:522 +#: library/asyncio-task.rst:526 msgid "Shielding From Cancellation" msgstr "" -#: library/asyncio-task.rst:526 +#: library/asyncio-task.rst:530 msgid "" "Protect an :ref:`awaitable object ` from being :meth:" "`cancelled `." msgstr "" -#: library/asyncio-task.rst:701 +#: library/asyncio-task.rst:699 msgid "If *aw* is a coroutine it is automatically scheduled as a Task." msgstr "" -#: library/asyncio-task.rst:531 +#: library/asyncio-task.rst:535 msgid "The statement::" msgstr "" -#: library/asyncio-task.rst:536 +#: library/asyncio-task.rst:540 msgid "is equivalent to::" msgstr "" -#: library/asyncio-task.rst:540 +#: library/asyncio-task.rst:544 msgid "" "*except* that if the coroutine containing it is cancelled, the Task running " "in ``something()`` is not cancelled. From the point of view of " @@ -498,20 +501,20 @@ msgid "" "`CancelledError`." msgstr "" -#: library/asyncio-task.rst:546 +#: library/asyncio-task.rst:550 msgid "" "If ``something()`` is cancelled by other means (i.e. from within itself) " "that would also cancel ``shield()``." msgstr "" -#: library/asyncio-task.rst:549 +#: library/asyncio-task.rst:553 msgid "" "If it is desired to completely ignore cancellation (not recommended) the " "``shield()`` function should be combined with a try/except clause, as " "follows::" msgstr "" -#: library/asyncio-task.rst:561 +#: library/asyncio-task.rst:565 msgid "" "Save a reference to tasks passed to this function, to avoid a task " "disappearing mid-execution. The event loop only keeps weak references to " @@ -519,36 +522,36 @@ msgid "" "any time, even before it's done." msgstr "" -#: library/asyncio-task.rst:569 +#: library/asyncio-task.rst:573 msgid "" "Deprecation warning is emitted if *aw* is not Future-like object and there " "is no running event loop." msgstr "" -#: library/asyncio-task.rst:575 +#: library/asyncio-task.rst:579 msgid "Timeouts" msgstr "" -#: library/asyncio-task.rst:579 +#: library/asyncio-task.rst:583 msgid "" "An :ref:`asynchronous context manager ` that can be " "used to limit the amount of time spent waiting on something." msgstr "" -#: library/asyncio-task.rst:583 +#: library/asyncio-task.rst:587 msgid "" "*delay* can either be ``None``, or a float/int number of seconds to wait. If " "*delay* is ``None``, no time limit will be applied; this can be useful if " "the delay is unknown when the context manager is created." msgstr "" -#: library/asyncio-task.rst:588 +#: library/asyncio-task.rst:592 msgid "" "In either case, the context manager can be rescheduled after creation using :" "meth:`Timeout.reschedule`." msgstr "" -#: library/asyncio-task.rst:597 +#: library/asyncio-task.rst:601 msgid "" "If ``long_running_task`` takes more than 10 seconds to complete, the context " "manager will cancel the current task and handle the resulting :exc:`asyncio." @@ -556,7 +559,7 @@ msgid "" "TimeoutError` which can be caught and handled." msgstr "" -#: library/asyncio-task.rst:604 +#: library/asyncio-task.rst:608 msgid "" "The :func:`asyncio.timeout` context manager is what transforms the :exc:" "`asyncio.CancelledError` into an :exc:`asyncio.TimeoutError`, which means " @@ -564,222 +567,218 @@ msgid "" "manager." msgstr "" -#: library/asyncio-task.rst:609 +#: library/asyncio-task.rst:613 msgid "Example of catching :exc:`asyncio.TimeoutError`::" msgstr "" -#: library/asyncio-task.rst:620 +#: library/asyncio-task.rst:624 msgid "" "The context manager produced by :func:`asyncio.timeout` can be rescheduled " "to a different deadline and inspected." msgstr "" -#: library/asyncio-task.rst:625 +#: library/asyncio-task.rst:629 msgid "" -"An :ref:`asynchronous context manager ` that limits " -"time spent inside of it." +"An :ref:`asynchronous context manager ` for " +"cancelling overdue coroutines." msgstr "" #: library/asyncio-task.rst:632 msgid "" -"Return the current deadline, or ``None`` if the current deadline is not set." +"``when`` should be an absolute time at which the context should time out, as " +"measured by the event loop's clock:" msgstr "" #: library/asyncio-task.rst:635 -msgid "" -"The deadline is a float, consistent with the time returned by :meth:`loop." -"time`." +msgid "If ``when`` is ``None``, the timeout will never trigger." msgstr "" -#: library/asyncio-task.rst:640 -msgid "Change the time the timeout will trigger." +#: library/asyncio-task.rst:636 +msgid "" +"If ``when < loop.time()``, the timeout will trigger on the next iteration of " +"the event loop." msgstr "" -#: library/asyncio-task.rst:642 +#: library/asyncio-task.rst:641 msgid "" -"If *when* is ``None``, any current deadline will be removed, and the context " -"manager will wait indefinitely." +"Return the current deadline, or ``None`` if the current deadline is not set." msgstr "" -#: library/asyncio-task.rst:645 -msgid "If *when* is a float, it is set as the new deadline." +#: library/asyncio-task.rst:646 +msgid "Reschedule the timeout." msgstr "" -#: library/asyncio-task.rst:647 -msgid "" -"if *when* is in the past, the timeout will trigger on the next iteration of " -"the event loop." -msgstr "" - -#: library/asyncio-task.rst:652 +#: library/asyncio-task.rst:650 msgid "Return whether the context manager has exceeded its deadline (expired)." msgstr "" -#: library/asyncio-task.rst:672 +#: library/asyncio-task.rst:670 msgid "Timeout context managers can be safely nested." msgstr "" -#: library/asyncio-task.rst:678 +#: library/asyncio-task.rst:676 msgid "" "Similar to :func:`asyncio.timeout`, except *when* is the absolute time to " "stop waiting, or ``None``." msgstr "" -#: library/asyncio-task.rst:698 +#: library/asyncio-task.rst:696 msgid "" "Wait for the *aw* :ref:`awaitable ` to complete with a " "timeout." msgstr "" -#: library/asyncio-task.rst:703 +#: library/asyncio-task.rst:701 msgid "" "*timeout* can either be ``None`` or a float or int number of seconds to wait " "for. If *timeout* is ``None``, block until the future completes." msgstr "" -#: library/asyncio-task.rst:707 +#: library/asyncio-task.rst:705 msgid "" "If a timeout occurs, it cancels the task and raises :exc:`TimeoutError`." msgstr "" -#: library/asyncio-task.rst:710 +#: library/asyncio-task.rst:708 msgid "" "To avoid the task :meth:`cancellation `, wrap it in :func:" "`shield`." msgstr "" -#: library/asyncio-task.rst:713 +#: library/asyncio-task.rst:711 msgid "" "The function will wait until the future is actually cancelled, so the total " "wait time may exceed the *timeout*. If an exception happens during " "cancellation, it is propagated." msgstr "" -#: library/asyncio-task.rst:717 +#: library/asyncio-task.rst:715 msgid "If the wait is cancelled, the future *aw* is also cancelled." msgstr "" -#: library/asyncio-task.rst:744 +#: library/asyncio-task.rst:742 msgid "" "When *aw* is cancelled due to a timeout, ``wait_for`` waits for *aw* to be " "cancelled. Previously, it raised :exc:`TimeoutError` immediately." msgstr "" -#: library/asyncio-task.rst:754 +#: library/asyncio-task.rst:752 msgid "Waiting Primitives" msgstr "" -#: library/asyncio-task.rst:758 +#: library/asyncio-task.rst:756 msgid "" "Run :class:`~asyncio.Future` and :class:`~asyncio.Task` instances in the " "*aws* iterable concurrently and block until the condition specified by " "*return_when*." msgstr "" -#: library/asyncio-task.rst:762 -msgid "The *aws* iterable must not be empty." +#: library/asyncio-task.rst:760 +msgid "" +"The *aws* iterable must not be empty and generators yielding tasks are not " +"accepted." msgstr "" -#: library/asyncio-task.rst:764 +#: library/asyncio-task.rst:762 msgid "Returns two sets of Tasks/Futures: ``(done, pending)``." msgstr "" -#: library/asyncio-task.rst:766 +#: library/asyncio-task.rst:764 msgid "Usage::" msgstr "" -#: library/asyncio-task.rst:770 +#: library/asyncio-task.rst:768 msgid "" "*timeout* (a float or int), if specified, can be used to control the maximum " "number of seconds to wait before returning." msgstr "" -#: library/asyncio-task.rst:773 +#: library/asyncio-task.rst:771 msgid "" "Note that this function does not raise :exc:`TimeoutError`. Futures or Tasks " "that aren't done when the timeout occurs are simply returned in the second " "set." msgstr "" -#: library/asyncio-task.rst:777 +#: library/asyncio-task.rst:775 msgid "" "*return_when* indicates when this function should return. It must be one of " "the following constants:" msgstr "" -#: library/asyncio-task.rst:783 +#: library/asyncio-task.rst:781 msgid "Constant" msgstr "" -#: library/asyncio-task.rst:783 +#: library/asyncio-task.rst:781 msgid "Description" msgstr "" -#: library/asyncio-task.rst:785 +#: library/asyncio-task.rst:783 msgid ":const:`FIRST_COMPLETED`" msgstr "" -#: library/asyncio-task.rst:785 +#: library/asyncio-task.rst:783 msgid "The function will return when any future finishes or is cancelled." msgstr "" -#: library/asyncio-task.rst:788 +#: library/asyncio-task.rst:786 msgid ":const:`FIRST_EXCEPTION`" msgstr "" -#: library/asyncio-task.rst:788 +#: library/asyncio-task.rst:786 msgid "" "The function will return when any future finishes by raising an exception. " "If no future raises an exception then it is equivalent to :const:" "`ALL_COMPLETED`." msgstr "" -#: library/asyncio-task.rst:794 +#: library/asyncio-task.rst:792 msgid ":const:`ALL_COMPLETED`" msgstr "" -#: library/asyncio-task.rst:794 +#: library/asyncio-task.rst:792 msgid "The function will return when all futures finish or are cancelled." msgstr "" -#: library/asyncio-task.rst:798 +#: library/asyncio-task.rst:796 msgid "" "Unlike :func:`~asyncio.wait_for`, ``wait()`` does not cancel the futures " "when a timeout occurs." msgstr "" -#: library/asyncio-task.rst:804 +#: library/asyncio-task.rst:802 msgid "Passing coroutine objects to ``wait()`` directly is forbidden." msgstr "" -#: library/asyncio-task.rst:809 +#: library/asyncio-task.rst:807 msgid "" "Run :ref:`awaitable objects ` in the *aws* iterable " -"concurrently. Return an iterator of coroutines. Each coroutine returned can " -"be awaited to get the earliest next result from the iterable of the " -"remaining awaitables." +"concurrently. Generators yielding tasks are not accepted as *aws* iterable. " +"Return an iterator of coroutines. Each coroutine returned can be awaited to " +"get the earliest next result from the iterable of the remaining awaitables." msgstr "" -#: library/asyncio-task.rst:814 +#: library/asyncio-task.rst:813 msgid "" "Raises :exc:`TimeoutError` if the timeout occurs before all Futures are done." msgstr "" -#: library/asyncio-task.rst:829 +#: library/asyncio-task.rst:825 msgid "" "Deprecation warning is emitted if not all awaitable objects in the *aws* " "iterable are Future-like objects and there is no running event loop." msgstr "" -#: library/asyncio-task.rst:835 +#: library/asyncio-task.rst:831 msgid "Running in Threads" msgstr "" -#: library/asyncio-task.rst:839 +#: library/asyncio-task.rst:835 msgid "Asynchronously run function *func* in a separate thread." msgstr "" -#: library/asyncio-task.rst:841 +#: library/asyncio-task.rst:837 msgid "" "Any \\*args and \\*\\*kwargs supplied for this function are directly passed " "to *func*. Also, the current :class:`contextvars.Context` is propagated, " @@ -787,19 +786,19 @@ msgid "" "separate thread." msgstr "" -#: library/asyncio-task.rst:846 +#: library/asyncio-task.rst:842 msgid "" "Return a coroutine that can be awaited to get the eventual result of *func*." msgstr "" -#: library/asyncio-task.rst:848 +#: library/asyncio-task.rst:844 msgid "" "This coroutine function is primarily intended to be used for executing IO-" "bound functions/methods that would otherwise block the event loop if they " "were run in the main thread. For example::" msgstr "" -#: library/asyncio-task.rst:878 +#: library/asyncio-task.rst:874 msgid "" "Directly calling ``blocking_io()`` in any coroutine would block the event " "loop for its duration, resulting in an additional 1 second of run time. " @@ -807,7 +806,7 @@ msgid "" "thread without blocking the event loop." msgstr "" -#: library/asyncio-task.rst:885 +#: library/asyncio-task.rst:881 msgid "" "Due to the :term:`GIL`, ``asyncio.to_thread()`` can typically only be used " "to make IO-bound functions non-blocking. However, for extension modules that " @@ -815,81 +814,85 @@ msgid "" "``asyncio.to_thread()`` can also be used for CPU-bound functions." msgstr "" -#: library/asyncio-task.rst:894 +#: library/asyncio-task.rst:890 msgid "Scheduling From Other Threads" msgstr "" -#: library/asyncio-task.rst:898 +#: library/asyncio-task.rst:894 msgid "Submit a coroutine to the given event loop. Thread-safe." msgstr "" -#: library/asyncio-task.rst:900 +#: library/asyncio-task.rst:896 msgid "" "Return a :class:`concurrent.futures.Future` to wait for the result from " "another OS thread." msgstr "" -#: library/asyncio-task.rst:903 +#: library/asyncio-task.rst:899 msgid "" "This function is meant to be called from a different OS thread than the one " "where the event loop is running. Example::" msgstr "" -#: library/asyncio-task.rst:915 +#: library/asyncio-task.rst:911 msgid "" "If an exception is raised in the coroutine, the returned Future will be " "notified. It can also be used to cancel the task in the event loop::" msgstr "" -#: library/asyncio-task.rst:929 +#: library/asyncio-task.rst:925 msgid "" "See the :ref:`concurrency and multithreading ` " "section of the documentation." msgstr "" -#: library/asyncio-task.rst:932 +#: library/asyncio-task.rst:928 msgid "" "Unlike other asyncio functions this function requires the *loop* argument to " "be passed explicitly." msgstr "" -#: library/asyncio-task.rst:939 +#: library/asyncio-task.rst:935 msgid "Introspection" msgstr "" -#: library/asyncio-task.rst:944 +#: library/asyncio-task.rst:940 msgid "" "Return the currently running :class:`Task` instance, or ``None`` if no task " "is running." msgstr "" -#: library/asyncio-task.rst:947 +#: library/asyncio-task.rst:943 msgid "" "If *loop* is ``None`` :func:`get_running_loop` is used to get the current " "loop." msgstr "" -#: library/asyncio-task.rst:955 +#: library/asyncio-task.rst:951 msgid "Return a set of not yet finished :class:`Task` objects run by the loop." msgstr "" -#: library/asyncio-task.rst:958 +#: library/asyncio-task.rst:954 msgid "" "If *loop* is ``None``, :func:`get_running_loop` is used for getting current " "loop." msgstr "" -#: library/asyncio-task.rst:965 +#: library/asyncio-task.rst:962 +msgid "Return ``True`` if *obj* is a coroutine object." +msgstr "" + +#: library/asyncio-task.rst:968 msgid "Task Object" msgstr "" -#: library/asyncio-task.rst:969 +#: library/asyncio-task.rst:972 msgid "" "A :class:`Future-like ` object that runs a Python :ref:`coroutine " "`. Not thread-safe." msgstr "" -#: library/asyncio-task.rst:972 +#: library/asyncio-task.rst:975 msgid "" "Tasks are used to run coroutines in event loops. If a coroutine awaits on a " "Future, the Task suspends the execution of the coroutine and waits for the " @@ -897,21 +900,21 @@ msgid "" "wrapped coroutine resumes." msgstr "" -#: library/asyncio-task.rst:978 +#: library/asyncio-task.rst:981 msgid "" "Event loops use cooperative scheduling: an event loop runs one Task at a " "time. While a Task awaits for the completion of a Future, the event loop " "runs other Tasks, callbacks, or performs IO operations." msgstr "" -#: library/asyncio-task.rst:983 +#: library/asyncio-task.rst:986 msgid "" "Use the high-level :func:`asyncio.create_task` function to create Tasks, or " "the low-level :meth:`loop.create_task` or :func:`ensure_future` functions. " "Manual instantiation of Tasks is discouraged." msgstr "" -#: library/asyncio-task.rst:988 +#: library/asyncio-task.rst:991 msgid "" "To cancel a running Task use the :meth:`cancel` method. Calling it will " "cause the Task to throw a :exc:`CancelledError` exception into the wrapped " @@ -919,112 +922,113 @@ msgid "" "cancellation, the Future object will be cancelled." msgstr "" -#: library/asyncio-task.rst:993 +#: library/asyncio-task.rst:996 msgid "" ":meth:`cancelled` can be used to check if the Task was cancelled. The method " "returns ``True`` if the wrapped coroutine did not suppress the :exc:" "`CancelledError` exception and was actually cancelled." msgstr "" -#: library/asyncio-task.rst:998 +#: library/asyncio-task.rst:1001 msgid "" ":class:`asyncio.Task` inherits from :class:`Future` all of its APIs except :" "meth:`Future.set_result` and :meth:`Future.set_exception`." msgstr "" -#: library/asyncio-task.rst:1002 +#: library/asyncio-task.rst:1005 msgid "" -"Tasks support the :mod:`contextvars` module. When a Task is created it " -"copies the current context and later runs its coroutine in the copied " -"context." +"An optional keyword-only *context* argument allows specifying a custom :" +"class:`contextvars.Context` for the *coro* to run in. If no *context* is " +"provided, the Task copies the current context and later runs its coroutine " +"in the copied context." msgstr "" -#: library/asyncio-task.rst:1006 +#: library/asyncio-task.rst:1010 msgid "Added support for the :mod:`contextvars` module." msgstr "" -#: library/asyncio-task.rst:1012 +#: library/asyncio-task.rst:1016 msgid "" "Deprecation warning is emitted if *loop* is not specified and there is no " "running event loop." msgstr "" -#: library/asyncio-task.rst:1018 +#: library/asyncio-task.rst:1025 msgid "Return ``True`` if the Task is *done*." msgstr "" -#: library/asyncio-task.rst:1020 +#: library/asyncio-task.rst:1027 msgid "" "A Task is *done* when the wrapped coroutine either returned a value, raised " "an exception, or the Task was cancelled." msgstr "" -#: library/asyncio-task.rst:1025 +#: library/asyncio-task.rst:1032 msgid "Return the result of the Task." msgstr "" -#: library/asyncio-task.rst:1027 +#: library/asyncio-task.rst:1034 msgid "" "If the Task is *done*, the result of the wrapped coroutine is returned (or " "if the coroutine raised an exception, that exception is re-raised.)" msgstr "" -#: library/asyncio-task.rst:1045 +#: library/asyncio-task.rst:1052 msgid "" "If the Task has been *cancelled*, this method raises a :exc:`CancelledError` " "exception." msgstr "" -#: library/asyncio-task.rst:1034 +#: library/asyncio-task.rst:1041 msgid "" "If the Task's result isn't yet available, this method raises a :exc:" "`InvalidStateError` exception." msgstr "" -#: library/asyncio-task.rst:1039 +#: library/asyncio-task.rst:1046 msgid "Return the exception of the Task." msgstr "" -#: library/asyncio-task.rst:1041 +#: library/asyncio-task.rst:1048 msgid "" "If the wrapped coroutine raised an exception that exception is returned. If " "the wrapped coroutine returned normally this method returns ``None``." msgstr "" -#: library/asyncio-task.rst:1048 +#: library/asyncio-task.rst:1055 msgid "" "If the Task isn't *done* yet, this method raises an :exc:`InvalidStateError` " "exception." msgstr "" -#: library/asyncio-task.rst:1053 +#: library/asyncio-task.rst:1060 msgid "Add a callback to be run when the Task is *done*." msgstr "" -#: library/asyncio-task.rst:1064 +#: library/asyncio-task.rst:1071 msgid "This method should only be used in low-level callback-based code." msgstr "" -#: library/asyncio-task.rst:1057 +#: library/asyncio-task.rst:1064 msgid "" "See the documentation of :meth:`Future.add_done_callback` for more details." msgstr "" -#: library/asyncio-task.rst:1062 +#: library/asyncio-task.rst:1069 msgid "Remove *callback* from the callbacks list." msgstr "" -#: library/asyncio-task.rst:1066 +#: library/asyncio-task.rst:1073 msgid "" "See the documentation of :meth:`Future.remove_done_callback` for more " "details." msgstr "" -#: library/asyncio-task.rst:1071 +#: library/asyncio-task.rst:1078 msgid "Return the list of stack frames for this Task." msgstr "" -#: library/asyncio-task.rst:1073 +#: library/asyncio-task.rst:1080 msgid "" "If the wrapped coroutine is not done, this returns the stack where it is " "suspended. If the coroutine has completed successfully or was cancelled, " @@ -1032,15 +1036,15 @@ msgid "" "this returns the list of traceback frames." msgstr "" -#: library/asyncio-task.rst:1079 +#: library/asyncio-task.rst:1086 msgid "The frames are always ordered from oldest to newest." msgstr "" -#: library/asyncio-task.rst:1081 +#: library/asyncio-task.rst:1088 msgid "Only one stack frame is returned for a suspended coroutine." msgstr "" -#: library/asyncio-task.rst:1083 +#: library/asyncio-task.rst:1090 msgid "" "The optional *limit* argument sets the maximum number of frames to return; " "by default all available frames are returned. The ordering of the returned " @@ -1049,115 +1053,117 @@ msgid "" "are returned. (This matches the behavior of the traceback module.)" msgstr "" -#: library/asyncio-task.rst:1092 +#: library/asyncio-task.rst:1099 msgid "Print the stack or traceback for this Task." msgstr "" -#: library/asyncio-task.rst:1094 +#: library/asyncio-task.rst:1101 msgid "" "This produces output similar to that of the traceback module for the frames " "retrieved by :meth:`get_stack`." msgstr "" -#: library/asyncio-task.rst:1097 +#: library/asyncio-task.rst:1104 msgid "The *limit* argument is passed to :meth:`get_stack` directly." msgstr "" -#: library/asyncio-task.rst:1099 +#: library/asyncio-task.rst:1106 msgid "" "The *file* argument is an I/O stream to which the output is written; by " "default output is written to :data:`sys.stdout`." msgstr "" -#: library/asyncio-task.rst:1104 +#: library/asyncio-task.rst:1111 msgid "Return the coroutine object wrapped by the :class:`Task`." msgstr "" -#: library/asyncio-task.rst:1110 +#: library/asyncio-task.rst:1117 msgid "Return the name of the Task." msgstr "" -#: library/asyncio-task.rst:1112 +#: library/asyncio-task.rst:1119 msgid "" "If no name has been explicitly assigned to the Task, the default asyncio " "Task implementation generates a default name during instantiation." msgstr "" -#: library/asyncio-task.rst:1120 +#: library/asyncio-task.rst:1127 msgid "Set the name of the Task." msgstr "" -#: library/asyncio-task.rst:1122 +#: library/asyncio-task.rst:1129 msgid "" "The *value* argument can be any object, which is then converted to a string." msgstr "" -#: library/asyncio-task.rst:1125 +#: library/asyncio-task.rst:1132 msgid "" "In the default Task implementation, the name will be visible in the :func:" "`repr` output of a task object." msgstr "" -#: library/asyncio-task.rst:1132 +#: library/asyncio-task.rst:1139 msgid "Request the Task to be cancelled." msgstr "" -#: library/asyncio-task.rst:1134 +#: library/asyncio-task.rst:1141 msgid "" "This arranges for a :exc:`CancelledError` exception to be thrown into the " "wrapped coroutine on the next cycle of the event loop." msgstr "" -#: library/asyncio-task.rst:1137 +#: library/asyncio-task.rst:1144 msgid "" "The coroutine then has a chance to clean up or even deny the request by " "suppressing the exception with a :keyword:`try` ... ... ``except " "CancelledError`` ... :keyword:`finally` block. Therefore, unlike :meth:" "`Future.cancel`, :meth:`Task.cancel` does not guarantee that the Task will " "be cancelled, although suppressing cancellation completely is not common and " -"is actively discouraged." +"is actively discouraged. Should the coroutine nevertheless decide to " +"suppress the cancellation, it needs to call :meth:`Task.uncancel` in " +"addition to catching the exception." msgstr "" -#: library/asyncio-task.rst:1145 +#: library/asyncio-task.rst:1154 msgid "Added the *msg* parameter." msgstr "" -#: library/asyncio-task.rst:1148 +#: library/asyncio-task.rst:1157 msgid "The ``msg`` parameter is propagated from cancelled task to its awaiter." msgstr "" -#: library/asyncio-task.rst:1153 +#: library/asyncio-task.rst:1162 msgid "" "The following example illustrates how coroutines can intercept the " "cancellation request::" msgstr "" -#: library/asyncio-task.rst:1192 +#: library/asyncio-task.rst:1201 msgid "Return ``True`` if the Task is *cancelled*." msgstr "" -#: library/asyncio-task.rst:1194 +#: library/asyncio-task.rst:1203 msgid "" "The Task is *cancelled* when the cancellation was requested with :meth:" "`cancel` and the wrapped coroutine propagated the :exc:`CancelledError` " "exception thrown into it." msgstr "" -#: library/asyncio-task.rst:1200 +#: library/asyncio-task.rst:1209 msgid "Decrement the count of cancellation requests to this Task." msgstr "" -#: library/asyncio-task.rst:1202 +#: library/asyncio-task.rst:1211 msgid "Returns the remaining number of cancellation requests." msgstr "" -#: library/asyncio-task.rst:1204 +#: library/asyncio-task.rst:1213 msgid "" "Note that once execution of a cancelled task completed, further calls to :" "meth:`uncancel` are ineffective." msgstr "" -#: library/asyncio-task.rst:1209 +#: library/asyncio-task.rst:1218 msgid "" "This method is used by asyncio's internals and isn't expected to be used by " "end-user code. In particular, if a Task gets successfully uncancelled, this " @@ -1166,7 +1172,7 @@ msgid "" "respective structured block. For example::" msgstr "" -#: library/asyncio-task.rst:1227 +#: library/asyncio-task.rst:1236 msgid "" "While the block with ``make_request()`` and ``make_another_request()`` might " "get cancelled due to the timeout, ``unrelated_code()`` should continue " @@ -1175,13 +1181,20 @@ msgid "" "similar fashion." msgstr "" -#: library/asyncio-task.rst:1235 +#: library/asyncio-task.rst:1242 +msgid "" +"If end-user code is, for some reason, suppresing cancellation by catching :" +"exc:`CancelledError`, it needs to call this method to remove the " +"cancellation state." +msgstr "" + +#: library/asyncio-task.rst:1248 msgid "" "Return the number of pending cancellation requests to this Task, i.e., the " "number of calls to :meth:`cancel` less the number of :meth:`uncancel` calls." msgstr "" -#: library/asyncio-task.rst:1239 +#: library/asyncio-task.rst:1252 msgid "" "Note that if this number is greater than zero but the Task is still " "executing, :meth:`cancelled` will still return ``False``. This is because " @@ -1190,7 +1203,7 @@ msgid "" "to zero." msgstr "" -#: library/asyncio-task.rst:1245 +#: library/asyncio-task.rst:1258 msgid "" "This method is used by asyncio's internals and isn't expected to be used by " "end-user code. See :meth:`uncancel` for more details." diff --git a/library/atexit.po b/library/atexit.po index 4d5bfe435..267d2d9af 100644 --- a/library/atexit.po +++ b/library/atexit.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -39,11 +39,17 @@ msgstr "" #: library/atexit.rst:23 msgid "" +"**Note:** The effect of registering or unregistering functions from within a " +"cleanup function is undefined." +msgstr "" + +#: library/atexit.rst:26 +msgid "" "When used with C-API subinterpreters, registered functions are local to the " "interpreter they were registered in." msgstr "" -#: library/atexit.rst:29 +#: library/atexit.rst:32 msgid "" "Register *func* as a function to be executed at termination. Any optional " "arguments that are to be passed to *func* must be passed as arguments to :" @@ -51,7 +57,7 @@ msgid "" "more than once." msgstr "" -#: library/atexit.rst:34 +#: library/atexit.rst:37 msgid "" "At normal program termination (for instance, if :func:`sys.exit` is called " "or the main module's execution completes), all functions registered are " @@ -60,7 +66,7 @@ msgid "" "be cleaned up later." msgstr "" -#: library/atexit.rst:40 +#: library/atexit.rst:43 msgid "" "If an exception is raised during execution of the exit handlers, a traceback " "is printed (unless :exc:`SystemExit` is raised) and the exception " @@ -68,13 +74,13 @@ msgid "" "last exception to be raised is re-raised." msgstr "" -#: library/atexit.rst:45 +#: library/atexit.rst:48 msgid "" "This function returns *func*, which makes it possible to use it as a " "decorator." msgstr "" -#: library/atexit.rst:51 +#: library/atexit.rst:54 msgid "" "Remove *func* from the list of functions to be run at interpreter shutdown. :" "func:`unregister` silently does nothing if *func* was not previously " @@ -84,21 +90,21 @@ msgid "" "references do not need to have matching identities." msgstr "" -#: library/atexit.rst:62 +#: library/atexit.rst:65 msgid "Module :mod:`readline`" msgstr "" -#: library/atexit.rst:62 +#: library/atexit.rst:65 msgid "" "Useful example of :mod:`atexit` to read and write :mod:`readline` history " "files." msgstr "" -#: library/atexit.rst:69 +#: library/atexit.rst:72 msgid ":mod:`atexit` Example" msgstr "" -#: library/atexit.rst:71 +#: library/atexit.rst:74 msgid "" "The following simple example demonstrates how a module can initialize a " "counter from a file when it is imported and save the counter's updated value " @@ -106,16 +112,16 @@ msgid "" "making an explicit call into this module at termination. ::" msgstr "" -#: library/atexit.rst:94 +#: library/atexit.rst:97 msgid "" "Positional and keyword arguments may also be passed to :func:`register` to " "be passed along to the registered function when it is called::" msgstr "" -#: library/atexit.rst:106 +#: library/atexit.rst:109 msgid "Usage as a :term:`decorator`::" msgstr "" -#: library/atexit.rst:114 +#: library/atexit.rst:117 msgid "This only works with functions that can be called without arguments." msgstr "" diff --git a/library/audioop.po b/library/audioop.po index a1f6d7352..1b4626a36 100644 --- a/library/audioop.po +++ b/library/audioop.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -310,3 +310,19 @@ msgid "" "is to pick the most energetic piece of the output sample, locate that in the " "input sample and subtract the whole output sample from the input sample::" msgstr "" + +#: library/audioop.rst:24 +msgid "Intel/DVI ADPCM" +msgstr "" + +#: library/audioop.rst:24 +msgid "ADPCM, Intel/DVI" +msgstr "" + +#: library/audioop.rst:24 +msgid "a-LAW" +msgstr "" + +#: library/audioop.rst:24 +msgid "u-LAW" +msgstr "" diff --git a/library/audit_events.po b/library/audit_events.po index 1a0a3857a..a02720e2b 100644 --- a/library/audit_events.po +++ b/library/audit_events.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -115,3 +115,7 @@ msgstr "" #: library/audit_events.rst:46 msgid "``obj``" msgstr "" + +#: library/audit_events.rst:3 +msgid "audit events" +msgstr "" diff --git a/library/base64.po b/library/base64.po index 27715f336..54bcb129d 100644 --- a/library/base64.po +++ b/library/base64.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -94,7 +94,7 @@ msgstr "" #: library/base64.rst:61 msgid "" -"May assert or raise a a :exc:`ValueError` if the length of *altchars* is not " +"May assert or raise a :exc:`ValueError` if the length of *altchars* is not " "2. Raises a :exc:`TypeError` if *altchars* is not a :term:`bytes-like " "object`." msgstr "" @@ -381,3 +381,19 @@ msgid "" "Section 5.2, \"Base64 Content-Transfer-Encoding,\" provides the definition " "of the base64 encoding." msgstr "" + +#: library/base64.rst:10 +msgid "base64" +msgstr "" + +#: library/base64.rst:10 +msgid "encoding" +msgstr "" + +#: library/base64.rst:10 +msgid "MIME" +msgstr "" + +#: library/base64.rst:10 +msgid "base64 encoding" +msgstr "" diff --git a/library/binascii.po b/library/binascii.po index ad6b8e256..fe79737e8 100644 --- a/library/binascii.po +++ b/library/binascii.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -229,3 +229,15 @@ msgstr "" #: library/binascii.rst:186 msgid "Support for quoted-printable encoding used in MIME email messages." msgstr "" + +#: library/binascii.rst:8 +msgid "module" +msgstr "" + +#: library/binascii.rst:8 +msgid "uu" +msgstr "" + +#: library/binascii.rst:8 +msgid "base64" +msgstr "" diff --git a/library/bisect.po b/library/bisect.po index 4a4246806..c6c5419f9 100644 --- a/library/bisect.po +++ b/library/bisect.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -35,11 +35,11 @@ msgid "" "right!)." msgstr "" -#: library/bisect.rst:21 +#: library/bisect.rst:23 msgid "The following functions are provided:" msgstr "" -#: library/bisect.rst:26 +#: library/bisect.rst:28 msgid "" "Locate the insertion point for *x* in *a* to maintain sorted order. The " "parameters *lo* and *hi* may be used to specify a subset of the list which " @@ -49,120 +49,120 @@ msgid "" "parameter to ``list.insert()`` assuming that *a* is already sorted." msgstr "" -#: library/bisect.rst:33 +#: library/bisect.rst:35 msgid "" "The returned insertion point *i* partitions the array *a* into two halves so " "that ``all(val < x for val in a[lo : i])`` for the left side and ``all(val " ">= x for val in a[i : hi])`` for the right side." msgstr "" -#: library/bisect.rst:58 +#: library/bisect.rst:60 msgid "" "*key* specifies a :term:`key function` of one argument that is used to " "extract a comparison key from each element in the array. To support " "searching complex records, the key function is not applied to the *x* value." msgstr "" -#: library/bisect.rst:62 +#: library/bisect.rst:64 msgid "" "If *key* is ``None``, the elements are compared directly with no intervening " "function call." msgstr "" -#: library/bisect.rst:65 library/bisect.rst:103 +#: library/bisect.rst:67 library/bisect.rst:105 msgid "Added the *key* parameter." msgstr "" -#: library/bisect.rst:51 +#: library/bisect.rst:53 msgid "" -"Similar to :func:`bisect_left`, but returns an insertion point which comes " -"after (to the right of) any existing entries of *x* in *a*." +"Similar to :py:func:`~bisect.bisect_left`, but returns an insertion point " +"which comes after (to the right of) any existing entries of *x* in *a*." msgstr "" -#: library/bisect.rst:54 +#: library/bisect.rst:56 msgid "" "The returned insertion point *i* partitions the array *a* into two halves so " "that ``all(val <= x for val in a[lo : i])`` for the left side and ``all(val " "> x for val in a[i : hi])`` for the right side." msgstr "" -#: library/bisect.rst:71 +#: library/bisect.rst:73 msgid "Insert *x* in *a* in sorted order." msgstr "" -#: library/bisect.rst:73 +#: library/bisect.rst:75 msgid "" -"This function first runs :func:`bisect_left` to locate an insertion point. " -"Next, it runs the :meth:`insert` method on *a* to insert *x* at the " -"appropriate position to maintain sort order." +"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 " +"*x* at the appropriate position to maintain sort order." msgstr "" -#: library/bisect.rst:97 +#: library/bisect.rst:99 msgid "" "To support inserting records in a table, the *key* function (if any) is " "applied to *x* for the search step but not for the insertion step." msgstr "" -#: library/bisect.rst:100 +#: library/bisect.rst:102 msgid "" "Keep in mind that the ``O(log n)`` search is dominated by the slow O(n) " "insertion step." msgstr "" -#: library/bisect.rst:90 +#: library/bisect.rst:92 msgid "" -"Similar to :func:`insort_left`, but inserting *x* in *a* after any existing " -"entries of *x*." +"Similar to :py:func:`~bisect.insort_left`, but inserting *x* in *a* after " +"any existing entries of *x*." msgstr "" -#: library/bisect.rst:93 +#: library/bisect.rst:95 msgid "" -"This function first runs :func:`bisect_right` to locate an insertion point. " -"Next, it runs the :meth:`insert` method on *a* to insert *x* at the " -"appropriate position to maintain sort order." +"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 " +"*x* at the appropriate position to maintain sort order." msgstr "" -#: library/bisect.rst:108 +#: library/bisect.rst:110 msgid "Performance Notes" msgstr "" -#: library/bisect.rst:110 +#: library/bisect.rst:112 msgid "" "When writing time sensitive code using *bisect()* and *insort()*, keep these " "thoughts in mind:" msgstr "" -#: library/bisect.rst:113 +#: library/bisect.rst:115 msgid "" "Bisection is effective for searching ranges of values. For locating specific " "values, dictionaries are more performant." msgstr "" -#: library/bisect.rst:116 +#: library/bisect.rst:118 msgid "" "The *insort()* functions are ``O(n)`` because the logarithmic search step is " "dominated by the linear time insertion step." msgstr "" -#: library/bisect.rst:119 +#: library/bisect.rst:121 msgid "" "The search functions are stateless and discard key function results after " "they are used. Consequently, if the search functions are used in a loop, " "the key function may be called again and again on the same array elements. " -"If the key function isn't fast, consider wrapping it with :func:`functools." -"cache` to avoid duplicate computations. Alternatively, consider searching " -"an array of precomputed keys to locate the insertion point (as shown in the " -"examples section below)." +"If the key function isn't fast, consider wrapping it with :py:func:" +"`functools.cache` to avoid duplicate computations. Alternatively, consider " +"searching an array of precomputed keys to locate the insertion point (as " +"shown in the examples section below)." msgstr "" -#: library/bisect.rst:129 +#: library/bisect.rst:131 msgid "" "`Sorted Collections `_ is a " "high performance module that uses *bisect* to managed sorted collections of " "data." msgstr "" -#: library/bisect.rst:133 +#: library/bisect.rst:135 msgid "" "The `SortedCollection recipe `_ uses bisect to build a full-featured collection class " @@ -171,38 +171,38 @@ msgid "" "searches." msgstr "" -#: library/bisect.rst:141 +#: library/bisect.rst:143 msgid "Searching Sorted Lists" msgstr "" -#: library/bisect.rst:143 +#: library/bisect.rst:145 msgid "" -"The above :func:`bisect` functions are useful for finding insertion points " -"but can be tricky or awkward to use for common searching tasks. The " -"following five functions show how to transform them into the standard " -"lookups for sorted lists::" +"The above `bisect functions`_ are useful for finding insertion points but " +"can be tricky or awkward to use for common searching tasks. The following " +"five functions show how to transform them into the standard lookups for " +"sorted lists::" msgstr "" -#: library/bisect.rst:185 +#: library/bisect.rst:187 msgid "Examples" msgstr "" -#: library/bisect.rst:189 +#: library/bisect.rst:191 msgid "" -"The :func:`bisect` function can be useful for numeric table lookups. This " -"example uses :func:`bisect` to look up a letter grade for an exam score " -"(say) based on a set of ordered numeric breakpoints: 90 and up is an 'A', 80 " -"to 89 is a 'B', and so on::" +"The :py:func:`~bisect.bisect` function can be useful for numeric table " +"lookups. This example uses :py:func:`~bisect.bisect` to look up a letter " +"grade for an exam score (say) based on a set of ordered numeric breakpoints: " +"90 and up is an 'A', 80 to 89 is a 'B', and so on::" msgstr "" -#: library/bisect.rst:201 +#: library/bisect.rst:203 msgid "" -"The :func:`bisect` and :func:`insort` functions also work with lists of " -"tuples. The *key* argument can serve to extract the field used for ordering " -"records in a table::" +"The :py:func:`~bisect.bisect` and :py:func:`~bisect.insort` functions also " +"work with lists of tuples. The *key* argument can serve to extract the " +"field used for ordering records in a table::" msgstr "" -#: library/bisect.rst:235 +#: library/bisect.rst:237 msgid "" "If the key function is expensive, it is possible to avoid repeated function " "calls by searching a list of precomputed keys to find the index of a record::" diff --git a/library/cgi.po b/library/cgi.po index 4cf903bcd..9fb8c343c 100644 --- a/library/cgi.po +++ b/library/cgi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -697,3 +697,47 @@ msgid "" "received from a conforming browser, or even from a browser at all, is " "tedious and error-prone." msgstr "" + +#: library/cgi.rst:10 +msgid "WWW" +msgstr "" + +#: library/cgi.rst:10 +msgid "server" +msgstr "" + +#: library/cgi.rst:389 library/cgi.rst:462 +msgid "CGI" +msgstr "" + +#: library/cgi.rst:10 +msgid "protocol" +msgstr "" + +#: library/cgi.rst:10 +msgid "HTTP" +msgstr "" + +#: library/cgi.rst:10 +msgid "MIME" +msgstr "" + +#: library/cgi.rst:10 +msgid "headers" +msgstr "" + +#: library/cgi.rst:10 +msgid "URL" +msgstr "" + +#: library/cgi.rst:10 +msgid "Common Gateway Interface" +msgstr "" + +#: library/cgi.rst:389 +msgid "security" +msgstr "" + +#: library/cgi.rst:462 +msgid "debugging" +msgstr "" diff --git a/library/cgitb.po b/library/cgitb.po index 7d973dd24..45dfe122f 100644 --- a/library/cgitb.po +++ b/library/cgitb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -103,3 +103,23 @@ msgid "" "func:`sys.exc_info`. If the *info* argument is not supplied, the current " "exception is obtained from :func:`sys.exc_info`." msgstr "" + +#: library/cgitb.rst:13 +msgid "CGI" +msgstr "" + +#: library/cgitb.rst:13 +msgid "exceptions" +msgstr "" + +#: library/cgitb.rst:13 +msgid "tracebacks" +msgstr "" + +#: library/cgitb.rst:13 +msgid "in CGI scripts" +msgstr "" + +#: library/cgitb.rst:47 +msgid "excepthook() (in module sys)" +msgstr "" diff --git a/library/chunk.po b/library/chunk.po index 97b009f71..01bb0eccc 100644 --- a/library/chunk.po +++ b/library/chunk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -199,3 +199,23 @@ msgid "" "\"EA IFF 85\" Standard for Interchange Format Files, Jerry Morrison, " "Electronic Arts, January 1985." msgstr "" + +#: library/chunk.rst:13 +msgid "Audio Interchange File Format" +msgstr "" + +#: library/chunk.rst:13 +msgid "AIFF" +msgstr "" + +#: library/chunk.rst:13 +msgid "AIFF-C" +msgstr "" + +#: library/chunk.rst:13 +msgid "Real Media File Format" +msgstr "" + +#: library/chunk.rst:13 +msgid "RMFF" +msgstr "" diff --git a/library/cmath.po b/library/cmath.po index 8921fba7b..66034288b 100644 --- a/library/cmath.po +++ b/library/cmath.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -345,3 +345,11 @@ msgid "" "nothing's sign bit. In Iserles, A., and Powell, M. (eds.), The state of the " "art in numerical analysis. Clarendon Press (1987) pp165--211." msgstr "" + +#: library/cmath.rst:304 +msgid "module" +msgstr "" + +#: library/cmath.rst:304 +msgid "math" +msgstr "" diff --git a/library/cmd.po b/library/cmd.po index fdb94838c..85ca5797a 100644 --- a/library/cmd.po +++ b/library/cmd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -310,3 +310,15 @@ msgid "" "using blank lines to repeat commands, and the simple record and playback " "facility:" msgstr "" + +#: library/cmd.rst:64 +msgid "? (question mark)" +msgstr "" + +#: library/cmd.rst:64 +msgid "in a command interpreter" +msgstr "" + +#: library/cmd.rst:64 +msgid "! (exclamation)" +msgstr "" diff --git a/library/codecs.po b/library/codecs.po index 41c52f047..7cd4b5556 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2648,3 +2648,91 @@ msgid "" "decoding, an optional UTF-8 encoded BOM at the start of the data will be " "skipped." msgstr "" + +#: library/codecs.rst:13 +msgid "Unicode" +msgstr "" + +#: library/codecs.rst:13 +msgid "encode" +msgstr "" + +#: library/codecs.rst:13 +msgid "decode" +msgstr "" + +#: library/codecs.rst:13 +msgid "streams" +msgstr "" + +#: library/codecs.rst:13 +msgid "stackable" +msgstr "" + +#: library/codecs.rst:312 +msgid "strict" +msgstr "" + +#: library/codecs.rst:363 library/codecs.rst:385 +msgid "error handler's name" +msgstr "" + +#: library/codecs.rst:312 +msgid "ignore" +msgstr "" + +#: library/codecs.rst:312 +msgid "replace" +msgstr "" + +#: library/codecs.rst:312 +msgid "backslashreplace" +msgstr "" + +#: library/codecs.rst:312 +msgid "surrogateescape" +msgstr "" + +#: library/codecs.rst:312 +msgid "? (question mark)" +msgstr "" + +#: library/codecs.rst:312 +msgid "replacement character" +msgstr "" + +#: library/codecs.rst:312 +msgid "\\ (backslash)" +msgstr "" + +#: library/codecs.rst:363 +msgid "escape sequence" +msgstr "" + +#: library/codecs.rst:312 +msgid "\\x" +msgstr "" + +#: library/codecs.rst:312 +msgid "\\u" +msgstr "" + +#: library/codecs.rst:312 +msgid "\\U" +msgstr "" + +#: library/codecs.rst:363 +msgid "xmlcharrefreplace" +msgstr "" + +#: library/codecs.rst:363 +msgid "namereplace" +msgstr "" + +#: library/codecs.rst:363 +msgid "\\N" +msgstr "" + +#: library/codecs.rst:385 +msgid "surrogatepass" +msgstr "" diff --git a/library/codeop.po b/library/codeop.po index 16aadd0ed..727ce15db 100644 --- a/library/codeop.po +++ b/library/codeop.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -39,13 +39,13 @@ msgstr "" #: library/codeop.rst:22 msgid "" -"Being able to tell if a line of input completes a Python statement: in " +"Being able to tell if a line of input completes a Python statement: in " "short, telling whether to print '``>>>``' or '``...``' next." msgstr "" #: library/codeop.rst:25 msgid "" -"Remembering which future statements the user has entered, so subsequent " +"Remembering which future statements the user has entered, so subsequent " "input can be compiled with these in effect." msgstr "" @@ -62,9 +62,9 @@ msgstr "" #: library/codeop.rst:35 msgid "" "Tries to compile *source*, which should be a string of Python code and " -"return a code object if *source* is valid Python code. In that case, the " +"return a code object if *source* is valid Python code. In that case, the " "filename attribute of the code object will be *filename*, which defaults to " -"``''``. Returns ``None`` if *source* is *not* valid Python code, but " +"``''``. Returns ``None`` if *source* is *not* valid Python code, but " "is a prefix of valid Python code." msgstr "" @@ -78,9 +78,9 @@ msgstr "" #: library/codeop.rst:45 msgid "" "The *symbol* argument determines whether *source* is compiled as a statement " -"(``'single'``, the default), as a sequence of statements (``'exec'``) or as " -"an :term:`expression` (``'eval'``). Any other value will cause :exc:" -"`ValueError` to be raised." +"(``'single'``, the default), as a sequence of :term:`statement` (``'exec'``) " +"or as an :term:`expression` (``'eval'``). Any other value will cause :exc:" +"`ValueError` to be raised." msgstr "" #: library/codeop.rst:52 @@ -105,6 +105,7 @@ msgstr "" msgid "" "Instances of this class have :meth:`__call__` methods identical in signature " "to :func:`compile_command`; the difference is that if the instance compiles " -"program text containing a ``__future__`` statement, the instance 'remembers' " -"and compiles all subsequent program texts with the statement in force." +"program text containing a :mod:`__future__` statement, the instance " +"'remembers' and compiles all subsequent program texts with the statement in " +"force." msgstr "" diff --git a/library/configparser.po b/library/configparser.po index 94055b895..c6f40a0a8 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1190,3 +1190,35 @@ msgid "" "changing the behaviour outlined by the footnote reference, consult the " "`Customizing Parser Behaviour`_ section." msgstr "" + +#: library/configparser.rst:16 +msgid ".ini" +msgstr "" + +#: library/configparser.rst:16 +msgid "file" +msgstr "" + +#: library/configparser.rst:16 +msgid "configuration" +msgstr "" + +#: library/configparser.rst:16 +msgid "ini file" +msgstr "" + +#: library/configparser.rst:16 +msgid "Windows ini file" +msgstr "" + +#: library/configparser.rst:335 +msgid "% (percent)" +msgstr "" + +#: library/configparser.rst:368 +msgid "interpolation in configuration files" +msgstr "" + +#: library/configparser.rst:368 +msgid "$ (dollar)" +msgstr "" diff --git a/library/constants.po b/library/constants.po index 877d8f49a..c6da651bb 100644 --- a/library/constants.po +++ b/library/constants.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -135,3 +135,11 @@ msgid "" "full license text\", and when called, displays the full license text in a " "pager-like fashion (one screen at a time)." msgstr "" + +#: library/constants.rst:61 +msgid "..." +msgstr "" + +#: library/constants.rst:61 +msgid "ellipsis literal" +msgstr "" diff --git a/library/copy.po b/library/copy.po index f76957416..ceaab5c7d 100644 --- a/library/copy.po +++ b/library/copy.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -148,3 +148,19 @@ msgid "" "Discussion of the special methods used to support object state retrieval and " "restoration." msgstr "" + +#: library/copy.rst:71 +msgid "module" +msgstr "" + +#: library/copy.rst:71 +msgid "pickle" +msgstr "" + +#: library/copy.rst:78 +msgid "__copy__() (copy protocol)" +msgstr "" + +#: library/copy.rst:78 +msgid "__deepcopy__() (copy protocol)" +msgstr "" diff --git a/library/copyreg.po b/library/copyreg.po index ce039eef4..e57ef8bd1 100644 --- a/library/copyreg.po +++ b/library/copyreg.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -42,8 +42,8 @@ msgstr "" #: library/copyreg.rst:30 msgid "" "Declares that *function* should be used as a \"reduction\" function for " -"objects of type *type*. *function* should return either a string or a tuple " -"containing two or three elements. See the :attr:`~pickle.Pickler." +"objects of type *type*. *function* must return either a string or a tuple " +"containing between two and six elements. See the :attr:`~pickle.Pickler." "dispatch_table` for more details on the interface of *function*." msgstr "" @@ -69,3 +69,15 @@ msgid "" "The example below would like to show how to register a pickle function and " "how it will be used:" msgstr "" + +#: library/copyreg.rst:9 +msgid "module" +msgstr "" + +#: library/copyreg.rst:9 +msgid "pickle" +msgstr "" + +#: library/copyreg.rst:9 +msgid "copy" +msgstr "" diff --git a/library/crypt.po b/library/crypt.po index 338d23c17..0010d12ba 100644 --- a/library/crypt.po +++ b/library/crypt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -206,3 +206,15 @@ msgid "" "To generate a hash of a password using the strongest available method and " "check it against the original::" msgstr "" + +#: library/crypt.rst:32 library/crypt.rst:118 +msgid "crypt(3)" +msgstr "" + +#: library/crypt.rst:15 +msgid "cipher" +msgstr "" + +#: library/crypt.rst:15 +msgid "DES" +msgstr "" diff --git a/library/crypto.po b/library/crypto.po index e3907eb76..89c2e255f 100644 --- a/library/crypto.po +++ b/library/crypto.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -27,3 +27,7 @@ msgid "" "installation. On Unix systems, the :mod:`crypt` module may also be " "available. Here's an overview:" msgstr "" + +#: library/crypto.rst:7 +msgid "cryptography" +msgstr "" diff --git a/library/csv.po b/library/csv.po index 47f14809f..dd1d35d3e 100644 --- a/library/csv.po +++ b/library/csv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -600,3 +600,23 @@ msgid "" "safe to specify ``newline=''``, since the csv module does its own (:term:" "`universal `) newline handling." msgstr "" + +#: library/csv.rst:11 +msgid "csv" +msgstr "" + +#: library/csv.rst:11 +msgid "data" +msgstr "" + +#: library/csv.rst:11 +msgid "tabular" +msgstr "" + +#: library/csv.rst:53 +msgid "universal newlines" +msgstr "" + +#: library/csv.rst:53 +msgid "csv.reader function" +msgstr "" diff --git a/library/ctypes.po b/library/ctypes.po index 67bde6b56..fb56791a0 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -484,7 +484,7 @@ msgid "" msgstr "" #: library/ctypes.rst:378 -msgid "Calling varadic functions" +msgid "Calling variadic functions" msgstr "" #: library/ctypes.rst:380 @@ -504,8 +504,8 @@ msgstr "" #: library/ctypes.rst:392 msgid "" -"Because specifying the attribute does inhibit portability it is advised to " -"always specify ``argtypes`` for all variadic functions." +"Because specifying the attribute does not inhibit portability it is advised " +"to always specify ``argtypes`` for all variadic functions." msgstr "" #: library/ctypes.rst:399 diff --git a/library/curses.ascii.po b/library/curses.ascii.po index 60a641c97..aefdb4dc3 100644 --- a/library/curses.ascii.po +++ b/library/curses.ascii.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -39,286 +39,142 @@ msgstr "" msgid "Meaning" msgstr "" -#: library/curses.ascii.rst:21 -msgid ":const:`NUL`" -msgstr "" - -#: library/curses.ascii.rst:23 -msgid ":const:`SOH`" -msgstr "" - #: library/curses.ascii.rst:23 msgid "Start of heading, console interrupt" msgstr "" -#: library/curses.ascii.rst:25 -msgid ":const:`STX`" -msgstr "" - #: library/curses.ascii.rst:25 msgid "Start of text" msgstr "" -#: library/curses.ascii.rst:27 -msgid ":const:`ETX`" -msgstr "" - #: library/curses.ascii.rst:27 msgid "End of text" msgstr "" -#: library/curses.ascii.rst:29 -msgid ":const:`EOT`" -msgstr "" - #: library/curses.ascii.rst:29 msgid "End of transmission" msgstr "" -#: library/curses.ascii.rst:31 -msgid ":const:`ENQ`" -msgstr "" - #: library/curses.ascii.rst:31 msgid "Enquiry, goes with :const:`ACK` flow control" msgstr "" -#: library/curses.ascii.rst:33 -msgid ":const:`ACK`" -msgstr "" - #: library/curses.ascii.rst:33 msgid "Acknowledgement" msgstr "" -#: library/curses.ascii.rst:35 -msgid ":const:`BEL`" -msgstr "" - #: library/curses.ascii.rst:35 msgid "Bell" msgstr "" -#: library/curses.ascii.rst:37 -msgid ":const:`BS`" -msgstr "" - #: library/curses.ascii.rst:37 msgid "Backspace" msgstr "" -#: library/curses.ascii.rst:39 -msgid ":const:`TAB`" -msgstr "" - #: library/curses.ascii.rst:39 msgid "Tab" msgstr "" -#: library/curses.ascii.rst:41 -msgid ":const:`HT`" -msgstr "" - #: library/curses.ascii.rst:41 msgid "Alias for :const:`TAB`: \"Horizontal tab\"" msgstr "" -#: library/curses.ascii.rst:43 -msgid ":const:`LF`" -msgstr "" - #: library/curses.ascii.rst:43 msgid "Line feed" msgstr "" -#: library/curses.ascii.rst:45 -msgid ":const:`NL`" -msgstr "" - #: library/curses.ascii.rst:45 msgid "Alias for :const:`LF`: \"New line\"" msgstr "" -#: library/curses.ascii.rst:47 -msgid ":const:`VT`" -msgstr "" - #: library/curses.ascii.rst:47 msgid "Vertical tab" msgstr "" -#: library/curses.ascii.rst:49 -msgid ":const:`FF`" -msgstr "" - #: library/curses.ascii.rst:49 msgid "Form feed" msgstr "" -#: library/curses.ascii.rst:51 -msgid ":const:`CR`" -msgstr "" - #: library/curses.ascii.rst:51 msgid "Carriage return" msgstr "" -#: library/curses.ascii.rst:53 -msgid ":const:`SO`" -msgstr "" - #: library/curses.ascii.rst:53 msgid "Shift-out, begin alternate character set" msgstr "" -#: library/curses.ascii.rst:55 -msgid ":const:`SI`" -msgstr "" - #: library/curses.ascii.rst:55 msgid "Shift-in, resume default character set" msgstr "" -#: library/curses.ascii.rst:57 -msgid ":const:`DLE`" -msgstr "" - #: library/curses.ascii.rst:57 msgid "Data-link escape" msgstr "" -#: library/curses.ascii.rst:59 -msgid ":const:`DC1`" -msgstr "" - #: library/curses.ascii.rst:59 msgid "XON, for flow control" msgstr "" -#: library/curses.ascii.rst:61 -msgid ":const:`DC2`" -msgstr "" - #: library/curses.ascii.rst:61 msgid "Device control 2, block-mode flow control" msgstr "" -#: library/curses.ascii.rst:63 -msgid ":const:`DC3`" -msgstr "" - #: library/curses.ascii.rst:63 msgid "XOFF, for flow control" msgstr "" -#: library/curses.ascii.rst:65 -msgid ":const:`DC4`" -msgstr "" - #: library/curses.ascii.rst:65 msgid "Device control 4" msgstr "" -#: library/curses.ascii.rst:67 -msgid ":const:`NAK`" -msgstr "" - #: library/curses.ascii.rst:67 msgid "Negative acknowledgement" msgstr "" -#: library/curses.ascii.rst:69 -msgid ":const:`SYN`" -msgstr "" - #: library/curses.ascii.rst:69 msgid "Synchronous idle" msgstr "" -#: library/curses.ascii.rst:71 -msgid ":const:`ETB`" -msgstr "" - #: library/curses.ascii.rst:71 msgid "End transmission block" msgstr "" -#: library/curses.ascii.rst:73 -msgid ":const:`CAN`" -msgstr "" - #: library/curses.ascii.rst:73 msgid "Cancel" msgstr "" -#: library/curses.ascii.rst:75 -msgid ":const:`EM`" -msgstr "" - #: library/curses.ascii.rst:75 msgid "End of medium" msgstr "" -#: library/curses.ascii.rst:77 -msgid ":const:`SUB`" -msgstr "" - #: library/curses.ascii.rst:77 msgid "Substitute" msgstr "" -#: library/curses.ascii.rst:79 -msgid ":const:`ESC`" -msgstr "" - #: library/curses.ascii.rst:79 msgid "Escape" msgstr "" -#: library/curses.ascii.rst:81 -msgid ":const:`FS`" -msgstr "" - #: library/curses.ascii.rst:81 msgid "File separator" msgstr "" -#: library/curses.ascii.rst:83 -msgid ":const:`GS`" -msgstr "" - #: library/curses.ascii.rst:83 msgid "Group separator" msgstr "" -#: library/curses.ascii.rst:85 -msgid ":const:`RS`" -msgstr "" - #: library/curses.ascii.rst:85 msgid "Record separator, block-mode terminator" msgstr "" -#: library/curses.ascii.rst:87 -msgid ":const:`US`" -msgstr "" - #: library/curses.ascii.rst:87 msgid "Unit separator" msgstr "" -#: library/curses.ascii.rst:89 -msgid ":const:`SP`" -msgstr "" - #: library/curses.ascii.rst:89 msgid "Space" msgstr "" -#: library/curses.ascii.rst:91 -msgid ":const:`DEL`" -msgstr "" - #: library/curses.ascii.rst:91 msgid "Delete" msgstr "" @@ -468,3 +324,15 @@ msgid "" "two ASCII control characters from 0 (NUL) to 0x1f (US), in order, plus the " "mnemonic ``SP`` for the space character." msgstr "" + +#: library/curses.ascii.rst:212 +msgid "^ (caret)" +msgstr "" + +#: library/curses.ascii.rst:212 +msgid "in curses module" +msgstr "" + +#: library/curses.ascii.rst:212 +msgid "! (exclamation)" +msgstr "" diff --git a/library/curses.po b/library/curses.po index 41b801cf3..924924b21 100644 --- a/library/curses.po +++ b/library/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -160,7 +160,8 @@ msgid "" "Return the attribute value for displaying text in the specified color pair. " "Only the first 256 color pairs are supported. This attribute value can be " "combined with :const:`A_STANDOUT`, :const:`A_REVERSE`, and the other :const:" -"`A_\\*` attributes. :func:`pair_number` is the counterpart to this function." +"`!A_\\*` attributes. :func:`pair_number` is the counterpart to this " +"function." msgstr "" #: library/curses.rst:119 @@ -267,7 +268,7 @@ msgid "" "const:`BUTTON_ALT`." msgstr "" -#: library/curses.rst:216 +#: library/curses.rst:1757 msgid "" "The ``BUTTON5_*`` constants are now exposed if they are provided by the " "underlying curses library." @@ -282,9 +283,9 @@ msgstr "" #: library/curses.rst:229 msgid "" -"Read window related data stored in the file by an earlier :func:`putwin` " -"call. The routine then creates and initializes a new window using that data, " -"returning the new window object." +"Read window related data stored in the file by an earlier :func:`window." +"putwin` call. The routine then creates and initializes a new window using " +"that data, returning the new window object." msgstr "" #: library/curses.rst:236 @@ -1474,10 +1475,8 @@ msgid "" "return :const:`OK` upon success." msgstr "" -#: library/curses.rst:1330 -msgid "" -"A bytes object representing the current version of the module. Also " -"available as :const:`__version__`." +#: library/curses.rst:1331 +msgid "A bytes object representing the current version of the module." msgstr "" #: library/curses.rst:1336 @@ -1492,1028 +1491,581 @@ msgstr "" msgid "Availability: if the ncurses library is used." msgstr "" -#: library/curses.rst:1346 +#: library/curses.rst:1347 +msgid "The maximum number of colors the terminal can support." +msgstr "" + +#: library/curses.rst:1351 +msgid "The maximum number of color pairs the terminal can support." +msgstr "" + +#: library/curses.rst:1353 msgid "" "Some constants are available to specify character cell attributes. The exact " "constants available are system dependent." msgstr "" -#: library/curses.rst:1350 +#: library/curses.rst:1357 msgid "Attribute" msgstr "" -#: library/curses.rst:1398 library/curses.rst:1642 +#: library/curses.rst:1402 library/curses.rst:1738 msgid "Meaning" msgstr "" -#: library/curses.rst:1352 -msgid "``A_ALTCHARSET``" -msgstr "" - -#: library/curses.rst:1352 +#: library/curses.rst:1359 msgid "Alternate character set mode" msgstr "" -#: library/curses.rst:1354 -msgid "``A_BLINK``" -msgstr "" - -#: library/curses.rst:1354 +#: library/curses.rst:1361 msgid "Blink mode" msgstr "" -#: library/curses.rst:1356 -msgid "``A_BOLD``" -msgstr "" - -#: library/curses.rst:1356 +#: library/curses.rst:1363 msgid "Bold mode" msgstr "" -#: library/curses.rst:1358 -msgid "``A_DIM``" -msgstr "" - -#: library/curses.rst:1358 +#: library/curses.rst:1365 msgid "Dim mode" msgstr "" -#: library/curses.rst:1360 -msgid "``A_INVIS``" -msgstr "" - -#: library/curses.rst:1360 +#: library/curses.rst:1367 msgid "Invisible or blank mode" msgstr "" -#: library/curses.rst:1362 -msgid "``A_ITALIC``" -msgstr "" - -#: library/curses.rst:1362 +#: library/curses.rst:1369 msgid "Italic mode" msgstr "" -#: library/curses.rst:1364 -msgid "``A_NORMAL``" -msgstr "" - -#: library/curses.rst:1364 +#: library/curses.rst:1371 msgid "Normal attribute" msgstr "" -#: library/curses.rst:1366 -msgid "``A_PROTECT``" -msgstr "" - -#: library/curses.rst:1366 +#: library/curses.rst:1373 msgid "Protected mode" msgstr "" -#: library/curses.rst:1368 -msgid "``A_REVERSE``" -msgstr "" - -#: library/curses.rst:1368 +#: library/curses.rst:1375 msgid "Reverse background and foreground colors" msgstr "" -#: library/curses.rst:1371 -msgid "``A_STANDOUT``" -msgstr "" - -#: library/curses.rst:1371 +#: library/curses.rst:1378 msgid "Standout mode" msgstr "" -#: library/curses.rst:1373 -msgid "``A_UNDERLINE``" -msgstr "" - -#: library/curses.rst:1373 +#: library/curses.rst:1380 msgid "Underline mode" msgstr "" -#: library/curses.rst:1375 -msgid "``A_HORIZONTAL``" -msgstr "" - -#: library/curses.rst:1375 +#: library/curses.rst:1382 msgid "Horizontal highlight" msgstr "" -#: library/curses.rst:1377 -msgid "``A_LEFT``" -msgstr "" - -#: library/curses.rst:1377 +#: library/curses.rst:1384 msgid "Left highlight" msgstr "" -#: library/curses.rst:1379 -msgid "``A_LOW``" -msgstr "" - -#: library/curses.rst:1379 +#: library/curses.rst:1386 msgid "Low highlight" msgstr "" -#: library/curses.rst:1381 -msgid "``A_RIGHT``" -msgstr "" - -#: library/curses.rst:1381 +#: library/curses.rst:1388 msgid "Right highlight" msgstr "" -#: library/curses.rst:1383 -msgid "``A_TOP``" -msgstr "" - -#: library/curses.rst:1383 +#: library/curses.rst:1390 msgid "Top highlight" msgstr "" -#: library/curses.rst:1385 -msgid "``A_VERTICAL``" -msgstr "" - -#: library/curses.rst:1385 +#: library/curses.rst:1392 msgid "Vertical highlight" msgstr "" -#: library/curses.rst:1403 -msgid "``A_CHARTEXT``" -msgstr "" - -#: library/curses.rst:1403 -msgid "Bit-mask to extract a character" -msgstr "" - -#: library/curses.rst:1391 +#: library/curses.rst:1395 msgid "``A_ITALIC`` was added." msgstr "" -#: library/curses.rst:1394 +#: library/curses.rst:1398 msgid "" "Several constants are available to extract corresponding attributes returned " "by some methods." msgstr "" -#: library/curses.rst:1398 +#: library/curses.rst:1402 msgid "Bit-mask" msgstr "" -#: library/curses.rst:1400 -msgid "``A_ATTRIBUTES``" -msgstr "" - -#: library/curses.rst:1400 +#: library/curses.rst:1404 msgid "Bit-mask to extract attributes" msgstr "" -#: library/curses.rst:1406 -msgid "``A_COLOR``" +#: library/curses.rst:1407 +msgid "Bit-mask to extract a character" msgstr "" -#: library/curses.rst:1406 +#: library/curses.rst:1410 msgid "Bit-mask to extract color-pair field information" msgstr "" -#: library/curses.rst:1410 +#: library/curses.rst:1414 msgid "" "Keys are referred to by integer constants with names starting with " "``KEY_``. The exact keycaps available are system dependent." msgstr "" -#: library/curses.rst:1416 +#: library/curses.rst:1420 msgid "Key constant" msgstr "" -#: library/curses.rst:1416 +#: library/curses.rst:1420 msgid "Key" msgstr "" -#: library/curses.rst:1418 -msgid "``KEY_MIN``" -msgstr "" - -#: library/curses.rst:1418 +#: library/curses.rst:1422 msgid "Minimum key value" msgstr "" -#: library/curses.rst:1420 -msgid "``KEY_BREAK``" -msgstr "" - -#: library/curses.rst:1420 +#: library/curses.rst:1424 msgid "Break key (unreliable)" msgstr "" -#: library/curses.rst:1422 -msgid "``KEY_DOWN``" -msgstr "" - -#: library/curses.rst:1422 +#: library/curses.rst:1426 msgid "Down-arrow" msgstr "" -#: library/curses.rst:1424 -msgid "``KEY_UP``" -msgstr "" - -#: library/curses.rst:1424 +#: library/curses.rst:1428 msgid "Up-arrow" msgstr "" -#: library/curses.rst:1426 -msgid "``KEY_LEFT``" -msgstr "" - -#: library/curses.rst:1426 +#: library/curses.rst:1430 msgid "Left-arrow" msgstr "" -#: library/curses.rst:1428 -msgid "``KEY_RIGHT``" -msgstr "" - -#: library/curses.rst:1428 +#: library/curses.rst:1432 msgid "Right-arrow" msgstr "" -#: library/curses.rst:1430 -msgid "``KEY_HOME``" -msgstr "" - -#: library/curses.rst:1430 +#: library/curses.rst:1434 msgid "Home key (upward+left arrow)" msgstr "" -#: library/curses.rst:1432 -msgid "``KEY_BACKSPACE``" -msgstr "" - -#: library/curses.rst:1432 +#: library/curses.rst:1436 msgid "Backspace (unreliable)" msgstr "" -#: library/curses.rst:1434 -msgid "``KEY_F0``" -msgstr "" - -#: library/curses.rst:1434 +#: library/curses.rst:1438 msgid "Function keys. Up to 64 function keys are supported." msgstr "" -#: library/curses.rst:1437 -msgid "``KEY_Fn``" -msgstr "" - -#: library/curses.rst:1437 +#: library/curses.rst:1441 msgid "Value of function key *n*" msgstr "" -#: library/curses.rst:1439 -msgid "``KEY_DL``" -msgstr "" - -#: library/curses.rst:1439 +#: library/curses.rst:1443 msgid "Delete line" msgstr "" -#: library/curses.rst:1441 -msgid "``KEY_IL``" -msgstr "" - -#: library/curses.rst:1441 +#: library/curses.rst:1445 msgid "Insert line" msgstr "" -#: library/curses.rst:1443 -msgid "``KEY_DC``" -msgstr "" - -#: library/curses.rst:1443 +#: library/curses.rst:1447 msgid "Delete character" msgstr "" -#: library/curses.rst:1445 -msgid "``KEY_IC``" -msgstr "" - -#: library/curses.rst:1445 +#: library/curses.rst:1449 msgid "Insert char or enter insert mode" msgstr "" -#: library/curses.rst:1447 -msgid "``KEY_EIC``" -msgstr "" - -#: library/curses.rst:1447 +#: library/curses.rst:1451 msgid "Exit insert char mode" msgstr "" -#: library/curses.rst:1449 -msgid "``KEY_CLEAR``" -msgstr "" - -#: library/curses.rst:1449 +#: library/curses.rst:1453 msgid "Clear screen" msgstr "" -#: library/curses.rst:1451 -msgid "``KEY_EOS``" -msgstr "" - -#: library/curses.rst:1451 +#: library/curses.rst:1455 msgid "Clear to end of screen" msgstr "" -#: library/curses.rst:1453 -msgid "``KEY_EOL``" -msgstr "" - -#: library/curses.rst:1453 +#: library/curses.rst:1457 msgid "Clear to end of line" msgstr "" -#: library/curses.rst:1455 -msgid "``KEY_SF``" -msgstr "" - -#: library/curses.rst:1455 +#: library/curses.rst:1459 msgid "Scroll 1 line forward" msgstr "" -#: library/curses.rst:1457 -msgid "``KEY_SR``" -msgstr "" - -#: library/curses.rst:1457 +#: library/curses.rst:1461 msgid "Scroll 1 line backward (reverse)" msgstr "" -#: library/curses.rst:1459 -msgid "``KEY_NPAGE``" -msgstr "" - -#: library/curses.rst:1459 +#: library/curses.rst:1463 msgid "Next page" msgstr "" -#: library/curses.rst:1461 -msgid "``KEY_PPAGE``" -msgstr "" - -#: library/curses.rst:1461 +#: library/curses.rst:1465 msgid "Previous page" msgstr "" -#: library/curses.rst:1463 -msgid "``KEY_STAB``" -msgstr "" - -#: library/curses.rst:1463 +#: library/curses.rst:1467 msgid "Set tab" msgstr "" -#: library/curses.rst:1465 -msgid "``KEY_CTAB``" -msgstr "" - -#: library/curses.rst:1465 +#: library/curses.rst:1469 msgid "Clear tab" msgstr "" -#: library/curses.rst:1467 -msgid "``KEY_CATAB``" -msgstr "" - -#: library/curses.rst:1467 +#: library/curses.rst:1471 msgid "Clear all tabs" msgstr "" -#: library/curses.rst:1469 -msgid "``KEY_ENTER``" -msgstr "" - -#: library/curses.rst:1469 +#: library/curses.rst:1473 msgid "Enter or send (unreliable)" msgstr "" -#: library/curses.rst:1471 -msgid "``KEY_SRESET``" -msgstr "" - -#: library/curses.rst:1471 +#: library/curses.rst:1475 msgid "Soft (partial) reset (unreliable)" msgstr "" -#: library/curses.rst:1473 -msgid "``KEY_RESET``" -msgstr "" - -#: library/curses.rst:1473 +#: library/curses.rst:1477 msgid "Reset or hard reset (unreliable)" msgstr "" -#: library/curses.rst:1475 -msgid "``KEY_PRINT``" -msgstr "" - -#: library/curses.rst:1475 +#: library/curses.rst:1479 msgid "Print" msgstr "" -#: library/curses.rst:1477 -msgid "``KEY_LL``" -msgstr "" - -#: library/curses.rst:1477 +#: library/curses.rst:1481 msgid "Home down or bottom (lower left)" msgstr "" -#: library/curses.rst:1479 -msgid "``KEY_A1``" -msgstr "" - -#: library/curses.rst:1479 +#: library/curses.rst:1483 msgid "Upper left of keypad" msgstr "" -#: library/curses.rst:1481 -msgid "``KEY_A3``" -msgstr "" - -#: library/curses.rst:1481 +#: library/curses.rst:1485 msgid "Upper right of keypad" msgstr "" -#: library/curses.rst:1483 -msgid "``KEY_B2``" -msgstr "" - -#: library/curses.rst:1483 +#: library/curses.rst:1487 msgid "Center of keypad" msgstr "" -#: library/curses.rst:1485 -msgid "``KEY_C1``" -msgstr "" - -#: library/curses.rst:1485 +#: library/curses.rst:1489 msgid "Lower left of keypad" msgstr "" -#: library/curses.rst:1487 -msgid "``KEY_C3``" -msgstr "" - -#: library/curses.rst:1487 +#: library/curses.rst:1491 msgid "Lower right of keypad" msgstr "" -#: library/curses.rst:1489 -msgid "``KEY_BTAB``" -msgstr "" - -#: library/curses.rst:1489 +#: library/curses.rst:1493 msgid "Back tab" msgstr "" -#: library/curses.rst:1491 -msgid "``KEY_BEG``" -msgstr "" - -#: library/curses.rst:1491 +#: library/curses.rst:1495 msgid "Beg (beginning)" msgstr "" -#: library/curses.rst:1493 -msgid "``KEY_CANCEL``" -msgstr "" - -#: library/curses.rst:1493 +#: library/curses.rst:1497 msgid "Cancel" msgstr "" -#: library/curses.rst:1495 -msgid "``KEY_CLOSE``" -msgstr "" - -#: library/curses.rst:1495 +#: library/curses.rst:1499 msgid "Close" msgstr "" -#: library/curses.rst:1497 -msgid "``KEY_COMMAND``" -msgstr "" - -#: library/curses.rst:1497 +#: library/curses.rst:1501 msgid "Cmd (command)" msgstr "" -#: library/curses.rst:1499 -msgid "``KEY_COPY``" -msgstr "" - -#: library/curses.rst:1499 +#: library/curses.rst:1503 msgid "Copy" msgstr "" -#: library/curses.rst:1501 -msgid "``KEY_CREATE``" -msgstr "" - -#: library/curses.rst:1501 +#: library/curses.rst:1505 msgid "Create" msgstr "" -#: library/curses.rst:1503 -msgid "``KEY_END``" -msgstr "" - -#: library/curses.rst:1503 +#: library/curses.rst:1507 msgid "End" msgstr "" -#: library/curses.rst:1505 -msgid "``KEY_EXIT``" -msgstr "" - -#: library/curses.rst:1505 +#: library/curses.rst:1509 msgid "Exit" msgstr "" -#: library/curses.rst:1507 -msgid "``KEY_FIND``" -msgstr "" - -#: library/curses.rst:1507 +#: library/curses.rst:1511 msgid "Find" msgstr "" -#: library/curses.rst:1509 -msgid "``KEY_HELP``" -msgstr "" - -#: library/curses.rst:1509 +#: library/curses.rst:1513 msgid "Help" msgstr "" -#: library/curses.rst:1511 -msgid "``KEY_MARK``" -msgstr "" - -#: library/curses.rst:1511 +#: library/curses.rst:1515 msgid "Mark" msgstr "" -#: library/curses.rst:1513 -msgid "``KEY_MESSAGE``" -msgstr "" - -#: library/curses.rst:1513 +#: library/curses.rst:1517 msgid "Message" msgstr "" -#: library/curses.rst:1515 -msgid "``KEY_MOVE``" -msgstr "" - -#: library/curses.rst:1515 +#: library/curses.rst:1519 msgid "Move" msgstr "" -#: library/curses.rst:1517 -msgid "``KEY_NEXT``" -msgstr "" - -#: library/curses.rst:1517 +#: library/curses.rst:1521 msgid "Next" msgstr "" -#: library/curses.rst:1519 -msgid "``KEY_OPEN``" -msgstr "" - -#: library/curses.rst:1519 +#: library/curses.rst:1523 msgid "Open" msgstr "" -#: library/curses.rst:1521 -msgid "``KEY_OPTIONS``" -msgstr "" - -#: library/curses.rst:1521 +#: library/curses.rst:1525 msgid "Options" msgstr "" -#: library/curses.rst:1523 -msgid "``KEY_PREVIOUS``" -msgstr "" - -#: library/curses.rst:1523 +#: library/curses.rst:1527 msgid "Prev (previous)" msgstr "" -#: library/curses.rst:1525 -msgid "``KEY_REDO``" -msgstr "" - -#: library/curses.rst:1525 +#: library/curses.rst:1529 msgid "Redo" msgstr "" -#: library/curses.rst:1527 -msgid "``KEY_REFERENCE``" -msgstr "" - -#: library/curses.rst:1527 +#: library/curses.rst:1531 msgid "Ref (reference)" msgstr "" -#: library/curses.rst:1529 -msgid "``KEY_REFRESH``" -msgstr "" - -#: library/curses.rst:1529 +#: library/curses.rst:1533 msgid "Refresh" msgstr "" -#: library/curses.rst:1531 -msgid "``KEY_REPLACE``" -msgstr "" - -#: library/curses.rst:1531 +#: library/curses.rst:1535 msgid "Replace" msgstr "" -#: library/curses.rst:1533 -msgid "``KEY_RESTART``" -msgstr "" - -#: library/curses.rst:1533 +#: library/curses.rst:1537 msgid "Restart" msgstr "" -#: library/curses.rst:1535 -msgid "``KEY_RESUME``" -msgstr "" - -#: library/curses.rst:1535 +#: library/curses.rst:1539 msgid "Resume" msgstr "" -#: library/curses.rst:1537 -msgid "``KEY_SAVE``" -msgstr "" - -#: library/curses.rst:1537 +#: library/curses.rst:1541 msgid "Save" msgstr "" -#: library/curses.rst:1539 -msgid "``KEY_SBEG``" -msgstr "" - -#: library/curses.rst:1539 +#: library/curses.rst:1543 msgid "Shifted Beg (beginning)" msgstr "" -#: library/curses.rst:1541 -msgid "``KEY_SCANCEL``" -msgstr "" - -#: library/curses.rst:1541 +#: library/curses.rst:1545 msgid "Shifted Cancel" msgstr "" -#: library/curses.rst:1543 -msgid "``KEY_SCOMMAND``" -msgstr "" - -#: library/curses.rst:1543 +#: library/curses.rst:1547 msgid "Shifted Command" msgstr "" -#: library/curses.rst:1545 -msgid "``KEY_SCOPY``" -msgstr "" - -#: library/curses.rst:1545 +#: library/curses.rst:1549 msgid "Shifted Copy" msgstr "" -#: library/curses.rst:1547 -msgid "``KEY_SCREATE``" -msgstr "" - -#: library/curses.rst:1547 +#: library/curses.rst:1551 msgid "Shifted Create" msgstr "" -#: library/curses.rst:1549 -msgid "``KEY_SDC``" -msgstr "" - -#: library/curses.rst:1549 +#: library/curses.rst:1553 msgid "Shifted Delete char" msgstr "" -#: library/curses.rst:1551 -msgid "``KEY_SDL``" -msgstr "" - -#: library/curses.rst:1551 +#: library/curses.rst:1555 msgid "Shifted Delete line" msgstr "" -#: library/curses.rst:1553 -msgid "``KEY_SELECT``" -msgstr "" - -#: library/curses.rst:1553 +#: library/curses.rst:1557 msgid "Select" msgstr "" -#: library/curses.rst:1555 -msgid "``KEY_SEND``" -msgstr "" - -#: library/curses.rst:1555 +#: library/curses.rst:1559 msgid "Shifted End" msgstr "" -#: library/curses.rst:1557 -msgid "``KEY_SEOL``" -msgstr "" - -#: library/curses.rst:1557 +#: library/curses.rst:1561 msgid "Shifted Clear line" msgstr "" -#: library/curses.rst:1559 -msgid "``KEY_SEXIT``" -msgstr "" - -#: library/curses.rst:1559 +#: library/curses.rst:1563 msgid "Shifted Exit" msgstr "" -#: library/curses.rst:1561 -msgid "``KEY_SFIND``" -msgstr "" - -#: library/curses.rst:1561 +#: library/curses.rst:1565 msgid "Shifted Find" msgstr "" -#: library/curses.rst:1563 -msgid "``KEY_SHELP``" -msgstr "" - -#: library/curses.rst:1563 +#: library/curses.rst:1567 msgid "Shifted Help" msgstr "" -#: library/curses.rst:1565 -msgid "``KEY_SHOME``" -msgstr "" - -#: library/curses.rst:1565 +#: library/curses.rst:1569 msgid "Shifted Home" msgstr "" -#: library/curses.rst:1567 -msgid "``KEY_SIC``" -msgstr "" - -#: library/curses.rst:1567 +#: library/curses.rst:1571 msgid "Shifted Input" msgstr "" -#: library/curses.rst:1569 -msgid "``KEY_SLEFT``" -msgstr "" - -#: library/curses.rst:1569 +#: library/curses.rst:1573 msgid "Shifted Left arrow" msgstr "" -#: library/curses.rst:1571 -msgid "``KEY_SMESSAGE``" -msgstr "" - -#: library/curses.rst:1571 +#: library/curses.rst:1575 msgid "Shifted Message" msgstr "" -#: library/curses.rst:1573 -msgid "``KEY_SMOVE``" -msgstr "" - -#: library/curses.rst:1573 +#: library/curses.rst:1577 msgid "Shifted Move" msgstr "" -#: library/curses.rst:1575 -msgid "``KEY_SNEXT``" -msgstr "" - -#: library/curses.rst:1575 +#: library/curses.rst:1579 msgid "Shifted Next" msgstr "" -#: library/curses.rst:1577 -msgid "``KEY_SOPTIONS``" -msgstr "" - -#: library/curses.rst:1577 +#: library/curses.rst:1581 msgid "Shifted Options" msgstr "" -#: library/curses.rst:1579 -msgid "``KEY_SPREVIOUS``" -msgstr "" - -#: library/curses.rst:1579 +#: library/curses.rst:1583 msgid "Shifted Prev" msgstr "" -#: library/curses.rst:1581 -msgid "``KEY_SPRINT``" -msgstr "" - -#: library/curses.rst:1581 +#: library/curses.rst:1585 msgid "Shifted Print" msgstr "" -#: library/curses.rst:1583 -msgid "``KEY_SREDO``" -msgstr "" - -#: library/curses.rst:1583 +#: library/curses.rst:1587 msgid "Shifted Redo" msgstr "" -#: library/curses.rst:1585 -msgid "``KEY_SREPLACE``" -msgstr "" - -#: library/curses.rst:1585 +#: library/curses.rst:1589 msgid "Shifted Replace" msgstr "" -#: library/curses.rst:1587 -msgid "``KEY_SRIGHT``" -msgstr "" - -#: library/curses.rst:1587 +#: library/curses.rst:1591 msgid "Shifted Right arrow" msgstr "" -#: library/curses.rst:1589 -msgid "``KEY_SRSUME``" -msgstr "" - -#: library/curses.rst:1589 +#: library/curses.rst:1593 msgid "Shifted Resume" msgstr "" -#: library/curses.rst:1591 -msgid "``KEY_SSAVE``" -msgstr "" - -#: library/curses.rst:1591 +#: library/curses.rst:1595 msgid "Shifted Save" msgstr "" -#: library/curses.rst:1593 -msgid "``KEY_SSUSPEND``" -msgstr "" - -#: library/curses.rst:1593 +#: library/curses.rst:1597 msgid "Shifted Suspend" msgstr "" -#: library/curses.rst:1595 -msgid "``KEY_SUNDO``" -msgstr "" - -#: library/curses.rst:1595 +#: library/curses.rst:1599 msgid "Shifted Undo" msgstr "" -#: library/curses.rst:1597 -msgid "``KEY_SUSPEND``" -msgstr "" - -#: library/curses.rst:1597 +#: library/curses.rst:1601 msgid "Suspend" msgstr "" -#: library/curses.rst:1599 -msgid "``KEY_UNDO``" -msgstr "" - -#: library/curses.rst:1599 +#: library/curses.rst:1603 msgid "Undo" msgstr "" -#: library/curses.rst:1601 -msgid "``KEY_MOUSE``" -msgstr "" - -#: library/curses.rst:1601 +#: library/curses.rst:1605 msgid "Mouse event has occurred" msgstr "" -#: library/curses.rst:1603 -msgid "``KEY_RESIZE``" -msgstr "" - -#: library/curses.rst:1603 +#: library/curses.rst:1607 msgid "Terminal resize event" msgstr "" -#: library/curses.rst:1605 -msgid "``KEY_MAX``" -msgstr "" - -#: library/curses.rst:1605 +#: library/curses.rst:1609 msgid "Maximum key value" msgstr "" -#: library/curses.rst:1608 +#: library/curses.rst:1612 msgid "" "On VT100s and their software emulations, such as X terminal emulators, there " -"are normally at least four function keys (:const:`KEY_F1`, :const:`KEY_F2`, :" -"const:`KEY_F3`, :const:`KEY_F4`) available, and the arrow keys mapped to :" -"const:`KEY_UP`, :const:`KEY_DOWN`, :const:`KEY_LEFT` and :const:`KEY_RIGHT` " -"in the obvious way. If your machine has a PC keyboard, it is safe to expect " -"arrow keys and twelve function keys (older PC keyboards may have only ten " -"function keys); also, the following keypad mappings are standard:" +"are normally at least four function keys (:const:`KEY_F1 `, :const:" +"`KEY_F2 `, :const:`KEY_F3 `, :const:`KEY_F4 `) " +"available, and the arrow keys mapped to :const:`KEY_UP`, :const:`KEY_DOWN`, :" +"const:`KEY_LEFT` and :const:`KEY_RIGHT` in the obvious way. If your machine " +"has a PC keyboard, it is safe to expect arrow keys and twelve function keys " +"(older PC keyboards may have only ten function keys); also, the following " +"keypad mappings are standard:" msgstr "" -#: library/curses.rst:1617 +#: library/curses.rst:1621 msgid "Keycap" msgstr "" -#: library/curses.rst:1734 library/curses.rst:1858 +#: library/curses.rst:1764 library/curses.rst:1888 msgid "Constant" msgstr "" -#: library/curses.rst:1619 +#: library/curses.rst:1623 msgid ":kbd:`Insert`" msgstr "" -#: library/curses.rst:1619 +#: library/curses.rst:1623 msgid "KEY_IC" msgstr "" -#: library/curses.rst:1621 +#: library/curses.rst:1625 msgid ":kbd:`Delete`" msgstr "" -#: library/curses.rst:1621 +#: library/curses.rst:1625 msgid "KEY_DC" msgstr "" -#: library/curses.rst:1623 +#: library/curses.rst:1627 msgid ":kbd:`Home`" msgstr "" -#: library/curses.rst:1623 +#: library/curses.rst:1627 msgid "KEY_HOME" msgstr "" -#: library/curses.rst:1625 +#: library/curses.rst:1629 msgid ":kbd:`End`" msgstr "" -#: library/curses.rst:1625 +#: library/curses.rst:1629 msgid "KEY_END" msgstr "" -#: library/curses.rst:1627 +#: library/curses.rst:1631 msgid ":kbd:`Page Up`" msgstr "" -#: library/curses.rst:1627 +#: library/curses.rst:1631 msgid "KEY_PPAGE" msgstr "" -#: library/curses.rst:1629 +#: library/curses.rst:1633 msgid ":kbd:`Page Down`" msgstr "" -#: library/curses.rst:1629 +#: library/curses.rst:1633 msgid "KEY_NPAGE" msgstr "" -#: library/curses.rst:1632 +#: library/curses.rst:1636 msgid "" "The following table lists characters from the alternate character set. These " "are inherited from the VT100 terminal, and will generally be available on " @@ -2521,435 +2073,268 @@ msgid "" "available, curses falls back on a crude printable ASCII approximation." msgstr "" -#: library/curses.rst:1639 -msgid "These are available only after :func:`initscr` has been called." -msgstr "" - -#: library/curses.rst:1642 -msgid "ACS code" -msgstr "" - -#: library/curses.rst:1644 -msgid "``ACS_BBSS``" -msgstr "" - -#: library/curses.rst:1644 -msgid "alternate name for upper right corner" -msgstr "" - -#: library/curses.rst:1646 -msgid "``ACS_BLOCK``" -msgstr "" - -#: library/curses.rst:1646 -msgid "solid square block" -msgstr "" - -#: library/curses.rst:1648 -msgid "``ACS_BOARD``" +#: library/curses.rst:1643 +msgid "These are available only after :func:`initscr` has been called." msgstr "" -#: library/curses.rst:1648 -msgid "board of squares" +#: library/curses.rst:1646 +msgid "ACS code" msgstr "" -#: library/curses.rst:1650 -msgid "``ACS_BSBS``" +#: library/curses.rst:1648 +msgid "alternate name for upper right corner" msgstr "" #: library/curses.rst:1650 -msgid "alternate name for horizontal line" -msgstr "" - -#: library/curses.rst:1652 -msgid "``ACS_BSSB``" +msgid "solid square block" msgstr "" #: library/curses.rst:1652 -msgid "alternate name for upper left corner" -msgstr "" - -#: library/curses.rst:1654 -msgid "``ACS_BSSS``" +msgid "board of squares" msgstr "" #: library/curses.rst:1654 -msgid "alternate name for top tee" -msgstr "" - -#: library/curses.rst:1656 -msgid "``ACS_BTEE``" +msgid "alternate name for horizontal line" msgstr "" #: library/curses.rst:1656 -msgid "bottom tee" -msgstr "" - -#: library/curses.rst:1658 -msgid "``ACS_BULLET``" +msgid "alternate name for upper left corner" msgstr "" #: library/curses.rst:1658 -msgid "bullet" -msgstr "" - -#: library/curses.rst:1660 -msgid "``ACS_CKBOARD``" +msgid "alternate name for top tee" msgstr "" #: library/curses.rst:1660 -msgid "checker board (stipple)" -msgstr "" - -#: library/curses.rst:1662 -msgid "``ACS_DARROW``" +msgid "bottom tee" msgstr "" #: library/curses.rst:1662 -msgid "arrow pointing down" -msgstr "" - -#: library/curses.rst:1664 -msgid "``ACS_DEGREE``" +msgid "bullet" msgstr "" #: library/curses.rst:1664 -msgid "degree symbol" -msgstr "" - -#: library/curses.rst:1666 -msgid "``ACS_DIAMOND``" +msgid "checker board (stipple)" msgstr "" #: library/curses.rst:1666 -msgid "diamond" -msgstr "" - -#: library/curses.rst:1668 -msgid "``ACS_GEQUAL``" +msgid "arrow pointing down" msgstr "" #: library/curses.rst:1668 -msgid "greater-than-or-equal-to" -msgstr "" - -#: library/curses.rst:1670 -msgid "``ACS_HLINE``" +msgid "degree symbol" msgstr "" #: library/curses.rst:1670 -msgid "horizontal line" -msgstr "" - -#: library/curses.rst:1672 -msgid "``ACS_LANTERN``" +msgid "diamond" msgstr "" #: library/curses.rst:1672 -msgid "lantern symbol" -msgstr "" - -#: library/curses.rst:1674 -msgid "``ACS_LARROW``" +msgid "greater-than-or-equal-to" msgstr "" #: library/curses.rst:1674 -msgid "left arrow" -msgstr "" - -#: library/curses.rst:1676 -msgid "``ACS_LEQUAL``" +msgid "horizontal line" msgstr "" #: library/curses.rst:1676 -msgid "less-than-or-equal-to" -msgstr "" - -#: library/curses.rst:1678 -msgid "``ACS_LLCORNER``" +msgid "lantern symbol" msgstr "" #: library/curses.rst:1678 -msgid "lower left-hand corner" -msgstr "" - -#: library/curses.rst:1680 -msgid "``ACS_LRCORNER``" +msgid "left arrow" msgstr "" #: library/curses.rst:1680 -msgid "lower right-hand corner" -msgstr "" - -#: library/curses.rst:1682 -msgid "``ACS_LTEE``" +msgid "less-than-or-equal-to" msgstr "" #: library/curses.rst:1682 -msgid "left tee" -msgstr "" - -#: library/curses.rst:1684 -msgid "``ACS_NEQUAL``" +msgid "lower left-hand corner" msgstr "" #: library/curses.rst:1684 -msgid "not-equal sign" -msgstr "" - -#: library/curses.rst:1686 -msgid "``ACS_PI``" +msgid "lower right-hand corner" msgstr "" #: library/curses.rst:1686 -msgid "letter pi" -msgstr "" - -#: library/curses.rst:1688 -msgid "``ACS_PLMINUS``" +msgid "left tee" msgstr "" #: library/curses.rst:1688 -msgid "plus-or-minus sign" -msgstr "" - -#: library/curses.rst:1690 -msgid "``ACS_PLUS``" +msgid "not-equal sign" msgstr "" #: library/curses.rst:1690 -msgid "big plus sign" -msgstr "" - -#: library/curses.rst:1692 -msgid "``ACS_RARROW``" +msgid "letter pi" msgstr "" #: library/curses.rst:1692 -msgid "right arrow" -msgstr "" - -#: library/curses.rst:1694 -msgid "``ACS_RTEE``" +msgid "plus-or-minus sign" msgstr "" #: library/curses.rst:1694 -msgid "right tee" -msgstr "" - -#: library/curses.rst:1696 -msgid "``ACS_S1``" +msgid "big plus sign" msgstr "" #: library/curses.rst:1696 -msgid "scan line 1" -msgstr "" - -#: library/curses.rst:1698 -msgid "``ACS_S3``" +msgid "right arrow" msgstr "" #: library/curses.rst:1698 -msgid "scan line 3" -msgstr "" - -#: library/curses.rst:1700 -msgid "``ACS_S7``" +msgid "right tee" msgstr "" #: library/curses.rst:1700 -msgid "scan line 7" -msgstr "" - -#: library/curses.rst:1702 -msgid "``ACS_S9``" +msgid "scan line 1" msgstr "" #: library/curses.rst:1702 -msgid "scan line 9" -msgstr "" - -#: library/curses.rst:1704 -msgid "``ACS_SBBS``" +msgid "scan line 3" msgstr "" #: library/curses.rst:1704 -msgid "alternate name for lower right corner" -msgstr "" - -#: library/curses.rst:1706 -msgid "``ACS_SBSB``" +msgid "scan line 7" msgstr "" #: library/curses.rst:1706 -msgid "alternate name for vertical line" +msgid "scan line 9" msgstr "" #: library/curses.rst:1708 -msgid "``ACS_SBSS``" +msgid "alternate name for lower right corner" msgstr "" -#: library/curses.rst:1708 -msgid "alternate name for right tee" +#: library/curses.rst:1710 +msgid "alternate name for vertical line" msgstr "" -#: library/curses.rst:1710 -msgid "``ACS_SSBB``" +#: library/curses.rst:1712 +msgid "alternate name for right tee" msgstr "" -#: library/curses.rst:1710 +#: library/curses.rst:1714 msgid "alternate name for lower left corner" msgstr "" -#: library/curses.rst:1712 -msgid "``ACS_SSBS``" +#: library/curses.rst:1716 +msgid "alternate name for bottom tee" msgstr "" -#: library/curses.rst:1712 -msgid "alternate name for bottom tee" +#: library/curses.rst:1718 +msgid "alternate name for left tee" msgstr "" -#: library/curses.rst:1714 -msgid "``ACS_SSSB``" +#: library/curses.rst:1720 +msgid "alternate name for crossover or big plus" msgstr "" -#: library/curses.rst:1714 -msgid "alternate name for left tee" +#: library/curses.rst:1722 +msgid "pound sterling" msgstr "" -#: library/curses.rst:1716 -msgid "``ACS_SSSS``" +#: library/curses.rst:1724 +msgid "top tee" msgstr "" -#: library/curses.rst:1716 -msgid "alternate name for crossover or big plus" +#: library/curses.rst:1726 +msgid "up arrow" msgstr "" -#: library/curses.rst:1718 -msgid "``ACS_STERLING``" +#: library/curses.rst:1728 +msgid "upper left corner" msgstr "" -#: library/curses.rst:1718 -msgid "pound sterling" +#: library/curses.rst:1730 +msgid "upper right corner" msgstr "" -#: library/curses.rst:1720 -msgid "``ACS_TTEE``" +#: library/curses.rst:1732 +msgid "vertical line" msgstr "" -#: library/curses.rst:1720 -msgid "top tee" +#: library/curses.rst:1735 +msgid "" +"The following table lists mouse button constants used by :meth:`getmouse`:" msgstr "" -#: library/curses.rst:1722 -msgid "``ACS_UARROW``" +#: library/curses.rst:1738 +msgid "Mouse button constant" msgstr "" -#: library/curses.rst:1722 -msgid "up arrow" +#: library/curses.rst:1740 +msgid "Mouse button *n* pressed" msgstr "" -#: library/curses.rst:1724 -msgid "``ACS_ULCORNER``" +#: library/curses.rst:1742 +msgid "Mouse button *n* released" msgstr "" -#: library/curses.rst:1724 -msgid "upper left corner" +#: library/curses.rst:1744 +msgid "Mouse button *n* clicked" msgstr "" -#: library/curses.rst:1726 -msgid "``ACS_URCORNER``" +#: library/curses.rst:1746 +msgid "Mouse button *n* double clicked" msgstr "" -#: library/curses.rst:1726 -msgid "upper right corner" +#: library/curses.rst:1748 +msgid "Mouse button *n* triple clicked" msgstr "" -#: library/curses.rst:1728 -msgid "``ACS_VLINE``" +#: library/curses.rst:1750 +msgid "Shift was down during button state change" msgstr "" -#: library/curses.rst:1728 -msgid "vertical line" +#: library/curses.rst:1754 +msgid "Control was down during button state change" msgstr "" -#: library/curses.rst:1731 +#: library/curses.rst:1761 msgid "The following table lists the predefined colors:" msgstr "" -#: library/curses.rst:1734 +#: library/curses.rst:1764 msgid "Color" msgstr "" -#: library/curses.rst:1736 -msgid "``COLOR_BLACK``" -msgstr "" - -#: library/curses.rst:1736 +#: library/curses.rst:1766 msgid "Black" msgstr "" -#: library/curses.rst:1738 -msgid "``COLOR_BLUE``" -msgstr "" - -#: library/curses.rst:1738 +#: library/curses.rst:1768 msgid "Blue" msgstr "" -#: library/curses.rst:1740 -msgid "``COLOR_CYAN``" -msgstr "" - -#: library/curses.rst:1740 +#: library/curses.rst:1770 msgid "Cyan (light greenish blue)" msgstr "" -#: library/curses.rst:1742 -msgid "``COLOR_GREEN``" -msgstr "" - -#: library/curses.rst:1742 +#: library/curses.rst:1772 msgid "Green" msgstr "" -#: library/curses.rst:1744 -msgid "``COLOR_MAGENTA``" -msgstr "" - -#: library/curses.rst:1744 +#: library/curses.rst:1774 msgid "Magenta (purplish red)" msgstr "" -#: library/curses.rst:1746 -msgid "``COLOR_RED``" -msgstr "" - -#: library/curses.rst:1746 +#: library/curses.rst:1776 msgid "Red" msgstr "" -#: library/curses.rst:1748 -msgid "``COLOR_WHITE``" -msgstr "" - -#: library/curses.rst:1748 +#: library/curses.rst:1778 msgid "White" msgstr "" -#: library/curses.rst:1750 -msgid "``COLOR_YELLOW``" -msgstr "" - -#: library/curses.rst:1750 +#: library/curses.rst:1780 msgid "Yellow" msgstr "" -#: library/curses.rst:1755 +#: library/curses.rst:1785 msgid ":mod:`curses.textpad` --- Text input widget for curses programs" msgstr "" -#: library/curses.rst:1763 +#: library/curses.rst:1793 msgid "" "The :mod:`curses.textpad` module provides a :class:`Textbox` class that " "handles elementary text editing in a curses window, supporting a set of " @@ -2959,11 +2344,11 @@ msgid "" "purposes." msgstr "" -#: library/curses.rst:1769 +#: library/curses.rst:1799 msgid "The module :mod:`curses.textpad` defines the following function:" msgstr "" -#: library/curses.rst:1774 +#: library/curses.rst:1804 msgid "" "Draw a rectangle. The first argument must be a window object; the remaining " "arguments are coordinates relative to that window. The second and third " @@ -2975,15 +2360,15 @@ msgid "" "will be drawn with ASCII dashes, vertical bars, and plus signs." msgstr "" -#: library/curses.rst:1787 +#: library/curses.rst:1817 msgid "Textbox objects" msgstr "" -#: library/curses.rst:1789 +#: library/curses.rst:1819 msgid "You can instantiate a :class:`Textbox` object as follows:" msgstr "" -#: library/curses.rst:1794 +#: library/curses.rst:1824 msgid "" "Return a textbox widget object. The *win* argument should be a curses :ref:" "`window ` object in which the textbox is to be " @@ -2992,11 +2377,11 @@ msgid "" "instance's :attr:`stripspaces` flag is initially on." msgstr "" -#: library/curses.rst:1800 +#: library/curses.rst:1830 msgid ":class:`Textbox` objects have the following methods:" msgstr "" -#: library/curses.rst:1805 +#: library/curses.rst:1835 msgid "" "This is the entry point you will normally use. It accepts editing " "keystrokes until one of the termination keystrokes is entered. If " @@ -3007,167 +2392,167 @@ msgid "" "`stripspaces` attribute." msgstr "" -#: library/curses.rst:1816 +#: library/curses.rst:1846 msgid "" "Process a single command keystroke. Here are the supported special " "keystrokes:" msgstr "" -#: library/curses.rst:1858 +#: library/curses.rst:1888 msgid "Keystroke" msgstr "" -#: library/curses.rst:1820 +#: library/curses.rst:1850 msgid "Action" msgstr "" -#: library/curses.rst:1822 +#: library/curses.rst:1852 msgid ":kbd:`Control-A`" msgstr "" -#: library/curses.rst:1822 +#: library/curses.rst:1852 msgid "Go to left edge of window." msgstr "" -#: library/curses.rst:1860 +#: library/curses.rst:1890 msgid ":kbd:`Control-B`" msgstr "" -#: library/curses.rst:1824 +#: library/curses.rst:1854 msgid "Cursor left, wrapping to previous line if appropriate." msgstr "" -#: library/curses.rst:1827 +#: library/curses.rst:1857 msgid ":kbd:`Control-D`" msgstr "" -#: library/curses.rst:1827 +#: library/curses.rst:1857 msgid "Delete character under cursor." msgstr "" -#: library/curses.rst:1829 +#: library/curses.rst:1859 msgid ":kbd:`Control-E`" msgstr "" -#: library/curses.rst:1829 +#: library/curses.rst:1859 msgid "Go to right edge (stripspaces off) or end of line (stripspaces on)." msgstr "" -#: library/curses.rst:1862 +#: library/curses.rst:1892 msgid ":kbd:`Control-F`" msgstr "" -#: library/curses.rst:1832 +#: library/curses.rst:1862 msgid "Cursor right, wrapping to next line when appropriate." msgstr "" -#: library/curses.rst:1835 +#: library/curses.rst:1865 msgid ":kbd:`Control-G`" msgstr "" -#: library/curses.rst:1835 +#: library/curses.rst:1865 msgid "Terminate, returning the window contents." msgstr "" -#: library/curses.rst:1837 +#: library/curses.rst:1867 msgid ":kbd:`Control-H`" msgstr "" -#: library/curses.rst:1837 +#: library/curses.rst:1867 msgid "Delete character backward." msgstr "" -#: library/curses.rst:1839 +#: library/curses.rst:1869 msgid ":kbd:`Control-J`" msgstr "" -#: library/curses.rst:1839 +#: library/curses.rst:1869 msgid "Terminate if the window is 1 line, otherwise insert newline." msgstr "" -#: library/curses.rst:1842 +#: library/curses.rst:1872 msgid ":kbd:`Control-K`" msgstr "" -#: library/curses.rst:1842 +#: library/curses.rst:1872 msgid "If line is blank, delete it, otherwise clear to end of line." msgstr "" -#: library/curses.rst:1845 +#: library/curses.rst:1875 msgid ":kbd:`Control-L`" msgstr "" -#: library/curses.rst:1845 +#: library/curses.rst:1875 msgid "Refresh screen." msgstr "" -#: library/curses.rst:1866 +#: library/curses.rst:1896 msgid ":kbd:`Control-N`" msgstr "" -#: library/curses.rst:1847 +#: library/curses.rst:1877 msgid "Cursor down; move down one line." msgstr "" -#: library/curses.rst:1849 +#: library/curses.rst:1879 msgid ":kbd:`Control-O`" msgstr "" -#: library/curses.rst:1849 +#: library/curses.rst:1879 msgid "Insert a blank line at cursor location." msgstr "" -#: library/curses.rst:1864 +#: library/curses.rst:1894 msgid ":kbd:`Control-P`" msgstr "" -#: library/curses.rst:1851 +#: library/curses.rst:1881 msgid "Cursor up; move up one line." msgstr "" -#: library/curses.rst:1854 +#: library/curses.rst:1884 msgid "" "Move operations do nothing if the cursor is at an edge where the movement is " "not possible. The following synonyms are supported where possible:" msgstr "" -#: library/curses.rst:1860 -msgid ":const:`KEY_LEFT`" +#: library/curses.rst:1890 +msgid ":const:`~curses.KEY_LEFT`" msgstr "" -#: library/curses.rst:1862 -msgid ":const:`KEY_RIGHT`" +#: library/curses.rst:1892 +msgid ":const:`~curses.KEY_RIGHT`" msgstr "" -#: library/curses.rst:1864 -msgid ":const:`KEY_UP`" +#: library/curses.rst:1894 +msgid ":const:`~curses.KEY_UP`" msgstr "" -#: library/curses.rst:1866 -msgid ":const:`KEY_DOWN`" +#: library/curses.rst:1896 +msgid ":const:`~curses.KEY_DOWN`" msgstr "" -#: library/curses.rst:1868 -msgid ":const:`KEY_BACKSPACE`" +#: library/curses.rst:1898 +msgid ":const:`~curses.KEY_BACKSPACE`" msgstr "" -#: library/curses.rst:1868 +#: library/curses.rst:1898 msgid ":kbd:`Control-h`" msgstr "" -#: library/curses.rst:1871 +#: library/curses.rst:1901 msgid "" "All other keystrokes are treated as a command to insert the given character " "and move right (with line wrapping)." msgstr "" -#: library/curses.rst:1877 +#: library/curses.rst:1907 msgid "" "Return the window contents as a string; whether blanks in the window are " "included is affected by the :attr:`stripspaces` member." msgstr "" -#: library/curses.rst:1883 +#: library/curses.rst:1913 msgid "" "This attribute is a flag which controls the interpretation of blanks in the " "window. When it is on, trailing blanks on each line are ignored; any cursor " diff --git a/library/dataclasses.po b/library/dataclasses.po index 6c584c855..9dc37e4db 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -27,9 +27,9 @@ msgstr "" #: library/dataclasses.rst:14 msgid "" "This module provides a decorator and functions for automatically adding " -"generated :term:`special method`\\s such as :meth:`__init__` and :meth:" -"`__repr__` to user-defined classes. It was originally described in :pep:" -"`557`." +"generated :term:`special method`\\s such as :meth:`~object.__init__` and :" +"meth:`~object.__repr__` to user-defined classes. It was originally " +"described in :pep:`557`." msgstr "" #: library/dataclasses.rst:19 @@ -39,7 +39,8 @@ msgid "" msgstr "" #: library/dataclasses.rst:34 -msgid "will add, among other things, a :meth:`__init__` that looks like::" +msgid "" +"will add, among other things, a :meth:`~object.__init__` that looks like::" msgstr "" #: library/dataclasses.rst:41 @@ -94,17 +95,19 @@ msgstr "" #: library/dataclasses.rst:89 msgid "" -"``init``: If true (the default), a :meth:`__init__` method will be generated." +"``init``: If true (the default), a :meth:`~object.__init__` method will be " +"generated." msgstr "" #: library/dataclasses.rst:92 msgid "" -"If the class already defines :meth:`__init__`, this parameter is ignored." +"If the class already defines :meth:`~object.__init__`, this parameter is " +"ignored." msgstr "" #: library/dataclasses.rst:95 msgid "" -"``repr``: If true (the default), a :meth:`__repr__` method will be " +"``repr``: If true (the default), a :meth:`~object.__repr__` method will be " "generated. The generated repr string will have the class name and the name " "and repr of each field, in the order they are defined in the class. Fields " "that are marked as being excluded from the repr are not included. For " @@ -114,123 +117,131 @@ msgstr "" #: library/dataclasses.rst:102 msgid "" -"If the class already defines :meth:`__repr__`, this parameter is ignored." +"If the class already defines :meth:`~object.__repr__`, this parameter is " +"ignored." msgstr "" #: library/dataclasses.rst:105 msgid "" -"``eq``: If true (the default), an :meth:`__eq__` method will be generated. " -"This method compares the class as if it were a tuple of its fields, in " -"order. Both instances in the comparison must be of the identical type." +"``eq``: If true (the default), an :meth:`~object.__eq__` method will be " +"generated. This method compares the class as if it were a tuple of its " +"fields, in order. Both instances in the comparison must be of the identical " +"type." msgstr "" #: library/dataclasses.rst:110 -msgid "If the class already defines :meth:`__eq__`, this parameter is ignored." +msgid "" +"If the class already defines :meth:`~object.__eq__`, this parameter is " +"ignored." msgstr "" #: library/dataclasses.rst:113 msgid "" -"``order``: If true (the default is ``False``), :meth:`__lt__`, :meth:" -"`__le__`, :meth:`__gt__`, and :meth:`__ge__` methods will be generated. " -"These compare the class as if it were a tuple of its fields, in order. Both " -"instances in the comparison must be of the identical type. If ``order`` is " -"true and ``eq`` is false, a :exc:`ValueError` is raised." +"``order``: If true (the default is ``False``), :meth:`~object.__lt__`, :meth:" +"`~object.__le__`, :meth:`~object.__gt__`, and :meth:`~object.__ge__` methods " +"will be generated. These compare the class as if it were a tuple of its " +"fields, in order. Both instances in the comparison must be of the identical " +"type. If ``order`` is true and ``eq`` is false, a :exc:`ValueError` is " +"raised." msgstr "" #: library/dataclasses.rst:120 msgid "" -"If the class already defines any of :meth:`__lt__`, :meth:`__le__`, :meth:" -"`__gt__`, or :meth:`__ge__`, then :exc:`TypeError` is raised." +"If the class already defines any of :meth:`~object.__lt__`, :meth:`~object." +"__le__`, :meth:`~object.__gt__`, or :meth:`~object.__ge__`, then :exc:" +"`TypeError` is raised." msgstr "" #: library/dataclasses.rst:124 msgid "" -"``unsafe_hash``: If ``False`` (the default), a :meth:`__hash__` method is " -"generated according to how ``eq`` and ``frozen`` are set." +"``unsafe_hash``: If ``False`` (the default), a :meth:`~object.__hash__` " +"method is generated according to how ``eq`` and ``frozen`` are set." msgstr "" #: library/dataclasses.rst:127 msgid "" -":meth:`__hash__` is used by built-in :meth:`hash()`, and when objects are " -"added to hashed collections such as dictionaries and sets. Having a :meth:" -"`__hash__` implies that instances of the class are immutable. Mutability is " -"a complicated property that depends on the programmer's intent, the " -"existence and behavior of :meth:`__eq__`, and the values of the ``eq`` and " -"``frozen`` flags in the :func:`dataclass` decorator." +":meth:`~object.__hash__` is used by built-in :meth:`hash()`, and when " +"objects are added to hashed collections such as dictionaries and sets. " +"Having a :meth:`~object.__hash__` implies that instances of the class are " +"immutable. Mutability is a complicated property that depends on the " +"programmer's intent, the existence and behavior of :meth:`~object.__eq__`, " +"and the values of the ``eq`` and ``frozen`` flags in the :func:`dataclass` " +"decorator." msgstr "" #: library/dataclasses.rst:134 msgid "" -"By default, :func:`dataclass` will not implicitly add a :meth:`__hash__` " -"method unless it is safe to do so. Neither will it add or change an " -"existing explicitly defined :meth:`__hash__` method. Setting the class " -"attribute ``__hash__ = None`` has a specific meaning to Python, as described " -"in the :meth:`__hash__` documentation." +"By default, :func:`dataclass` will not implicitly add a :meth:`~object." +"__hash__` method unless it is safe to do so. Neither will it add or change " +"an existing explicitly defined :meth:`~object.__hash__` method. Setting the " +"class attribute ``__hash__ = None`` has a specific meaning to Python, as " +"described in the :meth:`~object.__hash__` documentation." msgstr "" #: library/dataclasses.rst:140 msgid "" -"If :meth:`__hash__` is not explicitly defined, or if it is set to ``None``, " -"then :func:`dataclass` *may* add an implicit :meth:`__hash__` method. " -"Although not recommended, you can force :func:`dataclass` to create a :meth:" -"`__hash__` method with ``unsafe_hash=True``. This might be the case if your " -"class is logically immutable but can nonetheless be mutated. This is a " -"specialized use case and should be considered carefully." +"If :meth:`~object.__hash__` is not explicitly defined, or if it is set to " +"``None``, then :func:`dataclass` *may* add an implicit :meth:`~object." +"__hash__` method. Although not recommended, you can force :func:`dataclass` " +"to create a :meth:`~object.__hash__` method with ``unsafe_hash=True``. This " +"might be the case if your class is logically immutable but can nonetheless " +"be mutated. This is a specialized use case and should be considered " +"carefully." msgstr "" #: library/dataclasses.rst:147 msgid "" -"Here are the rules governing implicit creation of a :meth:`__hash__` " -"method. Note that you cannot both have an explicit :meth:`__hash__` method " -"in your dataclass and set ``unsafe_hash=True``; this will result in a :exc:" -"`TypeError`." +"Here are the rules governing implicit creation of a :meth:`~object.__hash__` " +"method. Note that you cannot both have an explicit :meth:`~object.__hash__` " +"method in your dataclass and set ``unsafe_hash=True``; this will result in " +"a :exc:`TypeError`." msgstr "" #: library/dataclasses.rst:152 msgid "" "If ``eq`` and ``frozen`` are both true, by default :func:`dataclass` will " -"generate a :meth:`__hash__` method for you. If ``eq`` is true and " -"``frozen`` is false, :meth:`__hash__` will be set to ``None``, marking it " -"unhashable (which it is, since it is mutable). If ``eq`` is false, :meth:" -"`__hash__` will be left untouched meaning the :meth:`__hash__` method of the " -"superclass will be used (if the superclass is :class:`object`, this means it " -"will fall back to id-based hashing)." +"generate a :meth:`~object.__hash__` method for you. If ``eq`` is true and " +"``frozen`` is false, :meth:`~object.__hash__` will be set to ``None``, " +"marking it unhashable (which it is, since it is mutable). If ``eq`` is " +"false, :meth:`~object.__hash__` will be left untouched meaning the :meth:" +"`~object.__hash__` method of the superclass will be used (if the superclass " +"is :class:`object`, this means it will fall back to id-based hashing)." msgstr "" #: library/dataclasses.rst:160 msgid "" "``frozen``: If true (the default is ``False``), assigning to fields will " "generate an exception. This emulates read-only frozen instances. If :meth:" -"`__setattr__` or :meth:`__delattr__` is defined in the class, then :exc:" -"`TypeError` is raised. See the discussion below." +"`~object.__setattr__` or :meth:`~object.__delattr__` is defined in the " +"class, then :exc:`TypeError` is raised. See the discussion below." msgstr "" #: library/dataclasses.rst:165 msgid "" "``match_args``: If true (the default is ``True``), the ``__match_args__`` " "tuple will be created from the list of parameters to the generated :meth:" -"`__init__` method (even if :meth:`__init__` is not generated, see above). " -"If false, or if ``__match_args__`` is already defined in the class, then " -"``__match_args__`` will not be generated." +"`~object.__init__` method (even if :meth:`~object.__init__` is not " +"generated, see above). If false, or if ``__match_args__`` is already " +"defined in the class, then ``__match_args__`` will not be generated." msgstr "" #: library/dataclasses.rst:174 msgid "" "``kw_only``: If true (the default value is ``False``), then all fields will " "be marked as keyword-only. If a field is marked as keyword-only, then the " -"only effect is that the :meth:`__init__` parameter generated from a keyword-" -"only field must be specified with a keyword when :meth:`__init__` is " -"called. There is no effect on any other aspect of dataclasses. See the :" -"term:`parameter` glossary entry for details. Also see the :const:`KW_ONLY` " -"section." +"only effect is that the :meth:`~object.__init__` parameter generated from a " +"keyword-only field must be specified with a keyword when :meth:`~object." +"__init__` is called. There is no effect on any other aspect of " +"dataclasses. See the :term:`parameter` glossary entry for details. Also " +"see the :const:`KW_ONLY` section." msgstr "" #: library/dataclasses.rst:185 msgid "" -"``slots``: If true (the default is ``False``), :attr:`__slots__` attribute " -"will be generated and new class will be returned instead of the original " -"one. If :attr:`__slots__` is already defined in the class, then :exc:" -"`TypeError` is raised." +"``slots``: If true (the default is ``False``), :attr:`~object.__slots__` " +"attribute will be generated and new class will be returned instead of the " +"original one. If :attr:`~object.__slots__` is already defined in the class, " +"then :exc:`TypeError` is raised." msgstr "" #: library/dataclasses.rst:192 @@ -260,7 +271,7 @@ msgstr "" #: library/dataclasses.rst:217 msgid "" "In this example, both ``a`` and ``b`` will be included in the added :meth:" -"`__init__` method, which will be defined as::" +"`~object.__init__` method, which will be defined as::" msgstr "" #: library/dataclasses.rst:222 @@ -310,22 +321,23 @@ msgstr "" #: library/dataclasses.rst:258 msgid "" "``init``: If true (the default), this field is included as a parameter to " -"the generated :meth:`__init__` method." +"the generated :meth:`~object.__init__` method." msgstr "" #: library/dataclasses.rst:261 msgid "" "``repr``: If true (the default), this field is included in the string " -"returned by the generated :meth:`__repr__` method." +"returned by the generated :meth:`~object.__repr__` method." msgstr "" #: library/dataclasses.rst:264 msgid "" "``hash``: This can be a bool or ``None``. If true, this field is included " -"in the generated :meth:`__hash__` method. If ``None`` (the default), use " -"the value of ``compare``: this would normally be the expected behavior. A " -"field should be considered in the hash if it's used for comparisons. " -"Setting this value to anything other than ``None`` is discouraged." +"in the generated :meth:`~object.__hash__` method. If ``None`` (the " +"default), use the value of ``compare``: this would normally be the expected " +"behavior. A field should be considered in the hash if it's used for " +"comparisons. Setting this value to anything other than ``None`` is " +"discouraged." msgstr "" #: library/dataclasses.rst:271 @@ -340,7 +352,8 @@ msgstr "" #: library/dataclasses.rst:277 msgid "" "``compare``: If true (the default), this field is included in the generated " -"equality and comparison methods (:meth:`__eq__`, :meth:`__gt__`, et al.)." +"equality and comparison methods (:meth:`~object.__eq__`, :meth:`~object." +"__gt__`, et al.)." msgstr "" #: library/dataclasses.rst:281 @@ -356,7 +369,8 @@ msgstr "" #: library/dataclasses.rst:289 msgid "" "``kw_only``: If true, this field will be marked as keyword-only. This is " -"used when the generated :meth:`__init__` method's parameters are computed." +"used when the generated :meth:`~object.__init__` method's parameters are " +"computed." msgstr "" #: library/dataclasses.rst:295 @@ -487,16 +501,16 @@ msgstr "" #: library/dataclasses.rst:434 msgid "" -"The newly returned object is created by calling the :meth:`__init__` method " -"of the dataclass. This ensures that :meth:`__post_init__`, if present, is " -"also called." +"The newly returned object is created by calling the :meth:`~object.__init__` " +"method of the dataclass. This ensures that :ref:`__post_init__ `, if present, is also called." msgstr "" #: library/dataclasses.rst:438 msgid "" "Init-only variables without default values, if any exist, must be specified " -"on the call to :func:`replace` so that they can be passed to :meth:" -"`__init__` and :meth:`__post_init__`." +"on the call to :func:`replace` so that they can be passed to :meth:`~object." +"__init__` and :ref:`__post_init__ `." msgstr "" #: library/dataclasses.rst:442 @@ -509,11 +523,11 @@ msgstr "" msgid "" "Be forewarned about how ``init=False`` fields work during a call to :func:" "`replace`. They are not copied from the source object, but rather are " -"initialized in :meth:`__post_init__`, if they're initialized at all. It is " -"expected that ``init=False`` fields will be rarely and judiciously used. If " -"they are used, it might be wise to have alternate class constructors, or " -"perhaps a custom ``replace()`` (or similarly named) method which handles " -"instance copying." +"initialized in :ref:`__post_init__ `, if they're " +"initialized at all. It is expected that ``init=False`` fields will be " +"rarely and judiciously used. If they are used, it might be wise to have " +"alternate class constructors, or perhaps a custom ``replace()`` (or " +"similarly named) method which handles instance copying." msgstr "" #: library/dataclasses.rst:457 @@ -540,8 +554,8 @@ msgid "" "that a pseudo-field of type :const:`KW_ONLY` is otherwise completely " "ignored. This includes the name of such a field. By convention, a name of " "``_`` is used for a :const:`KW_ONLY` field. Keyword-only fields signify :" -"meth:`__init__` parameters that must be specified as keywords when the class " -"is instantiated." +"meth:`~object.__init__` parameters that must be specified as keywords when " +"the class is instantiated." msgstr "" #: library/dataclasses.rst:482 @@ -558,58 +572,60 @@ msgstr "" #: library/dataclasses.rst:500 msgid "" -"Raised when an implicitly defined :meth:`__setattr__` or :meth:`__delattr__` " -"is called on a dataclass which was defined with ``frozen=True``. It is a " -"subclass of :exc:`AttributeError`." +"Raised when an implicitly defined :meth:`~object.__setattr__` or :meth:" +"`~object.__delattr__` is called on a dataclass which was defined with " +"``frozen=True``. It is a subclass of :exc:`AttributeError`." msgstr "" -#: library/dataclasses.rst:505 +#: library/dataclasses.rst:507 msgid "Post-init processing" msgstr "" -#: library/dataclasses.rst:507 +#: library/dataclasses.rst:509 msgid "" -"The generated :meth:`__init__` code will call a method named :meth:" -"`__post_init__`, if :meth:`__post_init__` is defined on the class. It will " +"The generated :meth:`~object.__init__` code will call a method named :meth:`!" +"__post_init__`, if :meth:`!__post_init__` is defined on the class. It will " "normally be called as ``self.__post_init__()``. However, if any ``InitVar`` " -"fields are defined, they will also be passed to :meth:`__post_init__` in the " -"order they were defined in the class. If no :meth:`__init__` method is " -"generated, then :meth:`__post_init__` will not automatically be called." +"fields are defined, they will also be passed to :meth:`!__post_init__` in " +"the order they were defined in the class. If no :meth:`~object.__init__` " +"method is generated, then :meth:`!__post_init__` will not automatically be " +"called." msgstr "" -#: library/dataclasses.rst:515 +#: library/dataclasses.rst:517 msgid "" "Among other uses, this allows for initializing field values that depend on " "one or more other fields. For example::" msgstr "" -#: library/dataclasses.rst:527 +#: library/dataclasses.rst:529 msgid "" -"The :meth:`__init__` method generated by :func:`dataclass` does not call " -"base class :meth:`__init__` methods. If the base class has an :meth:" -"`__init__` method that has to be called, it is common to call this method in " -"a :meth:`__post_init__` method::" +"The :meth:`~object.__init__` method generated by :func:`dataclass` does not " +"call base class :meth:`~object.__init__` methods. If the base class has an :" +"meth:`~object.__init__` method that has to be called, it is common to call " +"this method in a :meth:`!__post_init__` method::" msgstr "" -#: library/dataclasses.rst:544 +#: library/dataclasses.rst:546 msgid "" -"Note, however, that in general the dataclass-generated :meth:`__init__` " -"methods don't need to be called, since the derived dataclass will take care " -"of initializing all fields of any base class that is a dataclass itself." +"Note, however, that in general the dataclass-generated :meth:`~object." +"__init__` methods don't need to be called, since the derived dataclass will " +"take care of initializing all fields of any base class that is a dataclass " +"itself." msgstr "" -#: library/dataclasses.rst:548 +#: library/dataclasses.rst:550 msgid "" "See the section below on init-only variables for ways to pass parameters to :" -"meth:`__post_init__`. Also see the warning about how :func:`replace` " +"meth:`!__post_init__`. Also see the warning about how :func:`replace` " "handles ``init=False`` fields." msgstr "" -#: library/dataclasses.rst:553 +#: library/dataclasses.rst:555 msgid "Class variables" msgstr "" -#: library/dataclasses.rst:555 +#: library/dataclasses.rst:557 msgid "" "One of the few places where :func:`dataclass` actually inspects the type of " "a field is to determine if a field is a class variable as defined in :pep:" @@ -619,11 +635,11 @@ msgid "" "pseudo-fields are not returned by the module-level :func:`fields` function." msgstr "" -#: library/dataclasses.rst:564 +#: library/dataclasses.rst:566 msgid "Init-only variables" msgstr "" -#: library/dataclasses.rst:566 +#: library/dataclasses.rst:568 msgid "" "Another place where :func:`dataclass` inspects a type annotation is to " "determine if a field is an init-only variable. It does this by seeing if " @@ -631,47 +647,48 @@ msgid "" "``InitVar``, it is considered a pseudo-field called an init-only field. As " "it is not a true field, it is not returned by the module-level :func:" "`fields` function. Init-only fields are added as parameters to the " -"generated :meth:`__init__` method, and are passed to the optional :meth:" -"`__post_init__` method. They are not otherwise used by dataclasses." +"generated :meth:`~object.__init__` method, and are passed to the optional :" +"ref:`__post_init__ ` method. They are not otherwise " +"used by dataclasses." msgstr "" -#: library/dataclasses.rst:576 +#: library/dataclasses.rst:578 msgid "" "For example, suppose a field will be initialized from a database, if a value " "is not provided when creating the class::" msgstr "" -#: library/dataclasses.rst:591 +#: library/dataclasses.rst:593 msgid "" "In this case, :func:`fields` will return :class:`Field` objects for ``i`` " "and ``j``, but not for ``database``." msgstr "" -#: library/dataclasses.rst:595 +#: library/dataclasses.rst:597 msgid "Frozen instances" msgstr "" -#: library/dataclasses.rst:597 +#: library/dataclasses.rst:599 msgid "" "It is not possible to create truly immutable Python objects. However, by " "passing ``frozen=True`` to the :meth:`dataclass` decorator you can emulate " -"immutability. In that case, dataclasses will add :meth:`__setattr__` and :" -"meth:`__delattr__` methods to the class. These methods will raise a :exc:" -"`FrozenInstanceError` when invoked." +"immutability. In that case, dataclasses will add :meth:`~object." +"__setattr__` and :meth:`~object.__delattr__` methods to the class. These " +"methods will raise a :exc:`FrozenInstanceError` when invoked." msgstr "" -#: library/dataclasses.rst:603 +#: library/dataclasses.rst:605 msgid "" "There is a tiny performance penalty when using ``frozen=True``: :meth:" -"`__init__` cannot use simple assignment to initialize fields, and must use :" -"meth:`object.__setattr__`." +"`~object.__init__` cannot use simple assignment to initialize fields, and " +"must use :meth:`~object.__setattr__`." msgstr "" -#: library/dataclasses.rst:608 +#: library/dataclasses.rst:610 msgid "Inheritance" msgstr "" -#: library/dataclasses.rst:610 +#: library/dataclasses.rst:612 msgid "" "When the dataclass is being created by the :meth:`dataclass` decorator, it " "looks through all of the class's base classes in reverse MRO (that is, " @@ -683,95 +700,98 @@ msgid "" "derived classes override base classes. An example::" msgstr "" -#: library/dataclasses.rst:630 +#: library/dataclasses.rst:632 msgid "" "The final list of fields is, in order, ``x``, ``y``, ``z``. The final type " "of ``x`` is ``int``, as specified in class ``C``." msgstr "" -#: library/dataclasses.rst:633 -msgid "The generated :meth:`__init__` method for ``C`` will look like::" +#: library/dataclasses.rst:635 +msgid "" +"The generated :meth:`~object.__init__` method for ``C`` will look like::" msgstr "" -#: library/dataclasses.rst:638 -msgid "Re-ordering of keyword-only parameters in :meth:`__init__`" +#: library/dataclasses.rst:640 +msgid "Re-ordering of keyword-only parameters in :meth:`~object.__init__`" msgstr "" -#: library/dataclasses.rst:640 +#: library/dataclasses.rst:642 msgid "" -"After the parameters needed for :meth:`__init__` are computed, any keyword-" -"only parameters are moved to come after all regular (non-keyword-only) " -"parameters. This is a requirement of how keyword-only parameters are " +"After the parameters needed for :meth:`~object.__init__` are computed, any " +"keyword-only parameters are moved to come after all regular (non-keyword-" +"only) parameters. This is a requirement of how keyword-only parameters are " "implemented in Python: they must come after non-keyword-only parameters." msgstr "" -#: library/dataclasses.rst:646 +#: library/dataclasses.rst:648 msgid "" "In this example, ``Base.y``, ``Base.w``, and ``D.t`` are keyword-only " "fields, and ``Base.x`` and ``D.z`` are regular fields::" msgstr "" -#: library/dataclasses.rst:661 -msgid "The generated :meth:`__init__` method for ``D`` will look like::" +#: library/dataclasses.rst:663 +msgid "" +"The generated :meth:`~object.__init__` method for ``D`` will look like::" msgstr "" -#: library/dataclasses.rst:665 +#: library/dataclasses.rst:667 msgid "" "Note that the parameters have been re-ordered from how they appear in the " "list of fields: parameters derived from regular fields are followed by " "parameters derived from keyword-only fields." msgstr "" -#: library/dataclasses.rst:669 +#: library/dataclasses.rst:671 msgid "" "The relative ordering of keyword-only parameters is maintained in the re-" -"ordered :meth:`__init__` parameter list." +"ordered :meth:`~object.__init__` parameter list." msgstr "" -#: library/dataclasses.rst:674 +#: library/dataclasses.rst:676 msgid "Default factory functions" msgstr "" -#: library/dataclasses.rst:676 +#: library/dataclasses.rst:678 msgid "" "If a :func:`field` specifies a ``default_factory``, it is called with zero " "arguments when a default value for the field is needed. For example, to " "create a new instance of a list, use::" msgstr "" -#: library/dataclasses.rst:682 +#: library/dataclasses.rst:684 msgid "" -"If a field is excluded from :meth:`__init__` (using ``init=False``) and the " -"field also specifies ``default_factory``, then the default factory function " -"will always be called from the generated :meth:`__init__` function. This " -"happens because there is no other way to give the field an initial value." +"If a field is excluded from :meth:`~object.__init__` (using ``init=False``) " +"and the field also specifies ``default_factory``, then the default factory " +"function will always be called from the generated :meth:`~object.__init__` " +"function. This happens because there is no other way to give the field an " +"initial value." msgstr "" -#: library/dataclasses.rst:689 +#: library/dataclasses.rst:691 msgid "Mutable default values" msgstr "" -#: library/dataclasses.rst:691 +#: library/dataclasses.rst:693 msgid "" "Python stores default member variable values in class attributes. Consider " "this example, not using dataclasses::" msgstr "" -#: library/dataclasses.rst:706 +#: library/dataclasses.rst:708 msgid "" "Note that the two instances of class ``C`` share the same class variable " "``x``, as expected." msgstr "" -#: library/dataclasses.rst:709 +#: library/dataclasses.rst:711 msgid "Using dataclasses, *if* this code was valid::" msgstr "" -#: library/dataclasses.rst:717 +#: library/dataclasses.rst:719 msgid "it would generate code similar to::" msgstr "" -#: library/dataclasses.rst:728 +#: library/dataclasses.rst:730 msgid "" "This has the same issue as the original example using class ``C``. That is, " "two instances of class ``D`` that do not specify a value for ``x`` when " @@ -784,44 +804,44 @@ msgid "" "solution, but it does protect against many common errors." msgstr "" -#: library/dataclasses.rst:739 +#: library/dataclasses.rst:741 msgid "" "Using default factory functions is a way to create new instances of mutable " "types as default values for fields::" msgstr "" -#: library/dataclasses.rst:748 +#: library/dataclasses.rst:750 msgid "" "Instead of looking for and disallowing objects of type ``list``, ``dict``, " "or ``set``, unhashable objects are now not allowed as default values. " "Unhashability is used to approximate mutability." msgstr "" -#: library/dataclasses.rst:755 +#: library/dataclasses.rst:757 msgid "Descriptor-typed fields" msgstr "" -#: library/dataclasses.rst:757 +#: library/dataclasses.rst:759 msgid "" "Fields that are assigned :ref:`descriptor objects ` as their " "default value have the following special behaviors:" msgstr "" -#: library/dataclasses.rst:760 +#: library/dataclasses.rst:762 msgid "" "The value for the field passed to the dataclass's ``__init__`` method is " "passed to the descriptor's ``__set__`` method rather than overwriting the " "descriptor object." msgstr "" -#: library/dataclasses.rst:763 +#: library/dataclasses.rst:765 msgid "" "Similarly, when getting or setting the field, the descriptor's ``__get__`` " "or ``__set__`` method is called rather than returning or overwriting the " "descriptor object." msgstr "" -#: library/dataclasses.rst:766 +#: library/dataclasses.rst:768 msgid "" "To determine whether a field contains a default value, ``dataclasses`` will " "call the descriptor's ``__get__`` method using its class access form (i.e. " @@ -831,7 +851,7 @@ msgid "" "default value will be provided for the field." msgstr "" -#: library/dataclasses.rst:801 +#: library/dataclasses.rst:803 msgid "" "Note that if a field is annotated with a descriptor type, but is not " "assigned a descriptor object as its default value, the field will act like a " diff --git a/library/datetime.po b/library/datetime.po index 52d3124ae..ecbc73687 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -353,7 +353,7 @@ msgid "" "example::" msgstr "" -#: library/datetime.rst:552 library/datetime.rst:1677 library/datetime.rst:2281 +#: library/datetime.rst:552 library/datetime.rst:1676 library/datetime.rst:2278 msgid "Class attributes:" msgstr "" @@ -379,7 +379,7 @@ msgid "" "``-timedelta.max`` is not representable as a :class:`timedelta` object." msgstr "" -#: library/datetime.rst:570 library/datetime.rst:1697 +#: library/datetime.rst:570 library/datetime.rst:1696 msgid "Instance attributes (read-only):" msgstr "" @@ -415,15 +415,15 @@ msgstr "" msgid "Between 0 and 999999 inclusive" msgstr "" -#: library/datetime.rst:587 library/datetime.rst:1132 +#: library/datetime.rst:587 library/datetime.rst:1130 msgid "Supported operations:" msgstr "" -#: library/datetime.rst:590 library/datetime.rst:1135 +#: library/datetime.rst:590 library/datetime.rst:1133 msgid "Operation" msgstr "" -#: library/datetime.rst:590 library/datetime.rst:1135 +#: library/datetime.rst:590 library/datetime.rst:1133 msgid "Result" msgstr "" @@ -567,7 +567,7 @@ msgid "" "constructor call with canonical attribute values." msgstr "" -#: library/datetime.rst:604 library/datetime.rst:2494 +#: library/datetime.rst:604 library/datetime.rst:2499 msgid "Notes:" msgstr "" @@ -640,7 +640,7 @@ msgid "" "and only if it isn't equal to ``timedelta(0)``." msgstr "" -#: library/datetime.rst:633 library/datetime.rst:1805 +#: library/datetime.rst:633 library/datetime.rst:1804 msgid "Instance methods:" msgstr "" @@ -704,12 +704,12 @@ msgstr "" msgid "``1 <= day <= number of days in the given month and year``" msgstr "" -#: library/datetime.rst:849 +#: library/datetime.rst:847 msgid "" "If an argument outside those ranges is given, :exc:`ValueError` is raised." msgstr "" -#: library/datetime.rst:854 +#: library/datetime.rst:852 msgid "Other constructors, all class methods:" msgstr "" @@ -788,15 +788,15 @@ msgid "" "``timedelta(days=1)``." msgstr "" -#: library/datetime.rst:1083 +#: library/datetime.rst:1081 msgid "Between :const:`MINYEAR` and :const:`MAXYEAR` inclusive." msgstr "" -#: library/datetime.rst:1088 +#: library/datetime.rst:1086 msgid "Between 1 and 12 inclusive." msgstr "" -#: library/datetime.rst:1093 +#: library/datetime.rst:1091 msgid "Between 1 and the number of days in the given month of the given year." msgstr "" @@ -820,7 +820,7 @@ msgstr "" msgid "``timedelta = date1 - date2``" msgstr "" -#: library/datetime.rst:1141 +#: library/datetime.rst:1139 msgid "\\(3)" msgstr "" @@ -877,11 +877,11 @@ msgid "" "values by whichever keyword arguments are specified." msgstr "" -#: library/datetime.rst:1848 +#: library/datetime.rst:1847 msgid "Example::" msgstr "" -#: library/datetime.rst:1319 +#: library/datetime.rst:1317 msgid "" "Return a :class:`time.struct_time` such as returned by :func:`time." "localtime`." @@ -891,7 +891,7 @@ msgstr "" msgid "The hours, minutes and seconds are 0, and the DST flag is -1." msgstr "" -#: library/datetime.rst:1321 +#: library/datetime.rst:1319 msgid "``d.timetuple()`` is equivalent to::" msgstr "" @@ -965,7 +965,7 @@ msgstr "" msgid "Return a string representing the date::" msgstr "" -#: library/datetime.rst:1505 +#: library/datetime.rst:1503 msgid "``d.ctime()`` is equivalent to::" msgstr "" @@ -980,41 +980,41 @@ msgstr "" msgid "" "Return a string representing the date, controlled by an explicit format " "string. Format codes referring to hours, minutes or seconds will see 0 " -"values. For a complete list of formatting directives, see :ref:`strftime-" -"strptime-behavior`." +"values. See also :ref:`strftime-strptime-behavior` and :meth:`date." +"isoformat`." msgstr "" -#: library/datetime.rst:747 +#: library/datetime.rst:746 msgid "" "Same as :meth:`.date.strftime`. This makes it possible to specify a format " "string for a :class:`.date` object in :ref:`formatted string literals ` and when using :meth:`str.format`. For a complete list of " -"formatting directives, see :ref:`strftime-strptime-behavior`." +"strings>` and when using :meth:`str.format`. See also :ref:`strftime-" +"strptime-behavior` and :meth:`date.isoformat`." msgstr "" -#: library/datetime.rst:754 +#: library/datetime.rst:752 msgid "Examples of Usage: :class:`date`" msgstr "" -#: library/datetime.rst:756 +#: library/datetime.rst:754 msgid "Example of counting days to an event::" msgstr "" -#: library/datetime.rst:774 +#: library/datetime.rst:772 msgid "More examples of working with :class:`date`:" msgstr "" -#: library/datetime.rst:823 +#: library/datetime.rst:821 msgid ":class:`.datetime` Objects" msgstr "" -#: library/datetime.rst:825 +#: library/datetime.rst:823 msgid "" "A :class:`.datetime` object is a single object containing all the " "information from a :class:`date` object and a :class:`.time` object." msgstr "" -#: library/datetime.rst:828 +#: library/datetime.rst:826 msgid "" "Like a :class:`date` object, :class:`.datetime` assumes the current " "Gregorian calendar extended in both directions; like a :class:`.time` " @@ -1022,76 +1022,76 @@ msgid "" "every day." msgstr "" -#: library/datetime.rst:832 +#: library/datetime.rst:830 msgid "Constructor:" msgstr "" -#: library/datetime.rst:836 +#: library/datetime.rst:834 msgid "" "The *year*, *month* and *day* arguments are required. *tzinfo* may be " "``None``, or an instance of a :class:`tzinfo` subclass. The remaining " "arguments must be integers in the following ranges:" msgstr "" -#: library/datetime.rst:840 +#: library/datetime.rst:838 msgid "``MINYEAR <= year <= MAXYEAR``," msgstr "" -#: library/datetime.rst:841 +#: library/datetime.rst:839 msgid "``1 <= month <= 12``," msgstr "" -#: library/datetime.rst:842 +#: library/datetime.rst:840 msgid "``1 <= day <= number of days in the given month and year``," msgstr "" -#: library/datetime.rst:1668 +#: library/datetime.rst:1667 msgid "``0 <= hour < 24``," msgstr "" -#: library/datetime.rst:1669 +#: library/datetime.rst:1668 msgid "``0 <= minute < 60``," msgstr "" -#: library/datetime.rst:1670 +#: library/datetime.rst:1669 msgid "``0 <= second < 60``," msgstr "" -#: library/datetime.rst:1671 +#: library/datetime.rst:1670 msgid "``0 <= microsecond < 1000000``," msgstr "" -#: library/datetime.rst:1672 +#: library/datetime.rst:1671 msgid "``fold in [0, 1]``." msgstr "" -#: library/datetime.rst:1240 library/datetime.rst:1815 +#: library/datetime.rst:1238 library/datetime.rst:1814 msgid "Added the ``fold`` argument." msgstr "" -#: library/datetime.rst:858 +#: library/datetime.rst:856 msgid "Return the current local datetime, with :attr:`.tzinfo` ``None``." msgstr "" -#: library/datetime.rst:860 +#: library/datetime.rst:858 msgid "Equivalent to::" msgstr "" -#: library/datetime.rst:864 +#: library/datetime.rst:862 msgid "See also :meth:`now`, :meth:`fromtimestamp`." msgstr "" -#: library/datetime.rst:866 +#: library/datetime.rst:864 msgid "" "This method is functionally equivalent to :meth:`now`, but without a ``tz`` " "parameter." msgstr "" -#: library/datetime.rst:871 +#: library/datetime.rst:869 msgid "Return the current local date and time." msgstr "" -#: library/datetime.rst:873 +#: library/datetime.rst:871 msgid "" "If optional argument *tz* is ``None`` or not specified, this is like :meth:" "`today`, but, if possible, supplies more precision than can be gotten from " @@ -1099,28 +1099,28 @@ msgid "" "possible on platforms supplying the C :c:func:`gettimeofday` function)." msgstr "" -#: library/datetime.rst:879 +#: library/datetime.rst:877 msgid "" "If *tz* is not ``None``, it must be an instance of a :class:`tzinfo` " "subclass, and the current date and time are converted to *tz*’s time zone." msgstr "" -#: library/datetime.rst:882 +#: library/datetime.rst:880 msgid "This function is preferred over :meth:`today` and :meth:`utcnow`." msgstr "" -#: library/datetime.rst:887 +#: library/datetime.rst:885 msgid "Return the current UTC date and time, with :attr:`.tzinfo` ``None``." msgstr "" -#: library/datetime.rst:889 +#: library/datetime.rst:887 msgid "" "This is like :meth:`now`, but returns the current UTC date and time, as a " "naive :class:`.datetime` object. An aware current UTC datetime can be " "obtained by calling ``datetime.now(timezone.utc)``. See also :meth:`now`." msgstr "" -#: library/datetime.rst:895 +#: library/datetime.rst:893 msgid "" "Because naive ``datetime`` objects are treated by many ``datetime`` methods " "as local times, it is preferred to use aware datetimes to represent times in " @@ -1128,7 +1128,7 @@ msgid "" "current time in UTC is by calling ``datetime.now(timezone.utc)``." msgstr "" -#: library/datetime.rst:903 +#: library/datetime.rst:901 msgid "" "Return the local date and time corresponding to the POSIX timestamp, such as " "is returned by :func:`time.time`. If optional argument *tz* is ``None`` or " @@ -1136,13 +1136,13 @@ msgid "" "time, and the returned :class:`.datetime` object is naive." msgstr "" -#: library/datetime.rst:908 +#: library/datetime.rst:906 msgid "" "If *tz* is not ``None``, it must be an instance of a :class:`tzinfo` " "subclass, and the timestamp is converted to *tz*’s time zone." msgstr "" -#: library/datetime.rst:911 +#: library/datetime.rst:909 msgid "" ":meth:`fromtimestamp` may raise :exc:`OverflowError`, if the timestamp is " "out of the range of values supported by the platform C :c:func:`localtime` " @@ -1155,7 +1155,7 @@ msgid "" "preferred over :meth:`utcfromtimestamp`." msgstr "" -#: library/datetime.rst:922 +#: library/datetime.rst:920 msgid "" "Raise :exc:`OverflowError` instead of :exc:`ValueError` if the timestamp is " "out of the range of values supported by the platform C :c:func:`localtime` " @@ -1163,17 +1163,17 @@ msgid "" "`ValueError` on :c:func:`localtime` or :c:func:`gmtime` failure." msgstr "" -#: library/datetime.rst:929 +#: library/datetime.rst:927 msgid ":meth:`fromtimestamp` may return instances with :attr:`.fold` set to 1." msgstr "" -#: library/datetime.rst:934 +#: library/datetime.rst:932 msgid "" "Return the UTC :class:`.datetime` corresponding to the POSIX timestamp, " "with :attr:`.tzinfo` ``None``. (The resulting object is naive.)" msgstr "" -#: library/datetime.rst:937 +#: library/datetime.rst:935 msgid "" "This may raise :exc:`OverflowError`, if the timestamp is out of the range of " "values supported by the platform C :c:func:`gmtime` function, and :exc:" @@ -1181,23 +1181,23 @@ msgid "" "to years in 1970 through 2038." msgstr "" -#: library/datetime.rst:942 +#: library/datetime.rst:940 msgid "To get an aware :class:`.datetime` object, call :meth:`fromtimestamp`::" msgstr "" -#: library/datetime.rst:946 +#: library/datetime.rst:944 msgid "" "On the POSIX compliant platforms, it is equivalent to the following " "expression::" msgstr "" -#: library/datetime.rst:951 +#: library/datetime.rst:949 msgid "" "except the latter formula always supports the full years range: between :" "const:`MINYEAR` and :const:`MAXYEAR` inclusive." msgstr "" -#: library/datetime.rst:956 +#: library/datetime.rst:954 msgid "" "Because naive ``datetime`` objects are treated by many ``datetime`` methods " "as local times, it is preferred to use aware datetimes to represent times in " @@ -1206,7 +1206,7 @@ msgid "" "tz=timezone.utc)``." msgstr "" -#: library/datetime.rst:962 +#: library/datetime.rst:960 msgid "" "Raise :exc:`OverflowError` instead of :exc:`ValueError` if the timestamp is " "out of the range of values supported by the platform C :c:func:`gmtime` " @@ -1214,7 +1214,7 @@ msgid "" "`gmtime` failure." msgstr "" -#: library/datetime.rst:971 +#: library/datetime.rst:969 msgid "" "Return the :class:`.datetime` corresponding to the proleptic Gregorian " "ordinal, where January 1 of year 1 has ordinal 1. :exc:`ValueError` is " @@ -1223,7 +1223,7 @@ msgid "" "is ``None``." msgstr "" -#: library/datetime.rst:979 +#: library/datetime.rst:977 msgid "" "Return a new :class:`.datetime` object whose date components are equal to " "the given :class:`date` object's, and whose time components are equal to the " @@ -1232,50 +1232,50 @@ msgid "" "the :attr:`~.time.tzinfo` attribute of the *time* argument is used." msgstr "" -#: library/datetime.rst:986 +#: library/datetime.rst:984 msgid "" "For any :class:`.datetime` object *d*, ``d == datetime.combine(d.date(), d." "time(), d.tzinfo)``. If date is a :class:`.datetime` object, its time " "components and :attr:`.tzinfo` attributes are ignored." msgstr "" -#: library/datetime.rst:991 +#: library/datetime.rst:989 msgid "Added the *tzinfo* argument." msgstr "" -#: library/datetime.rst:997 +#: library/datetime.rst:995 msgid "" "Return a :class:`.datetime` corresponding to a *date_string* in any valid " "ISO 8601 format, with the following exceptions:" msgstr "" -#: library/datetime.rst:1771 +#: library/datetime.rst:1770 msgid "Time zone offsets may have fractional seconds." msgstr "" -#: library/datetime.rst:1001 +#: library/datetime.rst:999 msgid "The ``T`` separator may be replaced by any single unicode character." msgstr "" -#: library/datetime.rst:1002 +#: library/datetime.rst:1000 msgid "Ordinal dates are not currently supported." msgstr "" -#: library/datetime.rst:1776 +#: library/datetime.rst:1775 msgid "Fractional hours and minutes are not supported." msgstr "" -#: library/datetime.rst:1434 library/datetime.rst:1778 +#: library/datetime.rst:1432 library/datetime.rst:1777 msgid "Examples::" msgstr "" -#: library/datetime.rst:1029 +#: library/datetime.rst:1027 msgid "" "Previously, this method only supported formats that could be emitted by :" "meth:`date.isoformat()` or :meth:`datetime.isoformat()`." msgstr "" -#: library/datetime.rst:1036 +#: library/datetime.rst:1034 msgid "" "Return a :class:`.datetime` corresponding to the ISO calendar date specified " "by year, week and day. The non-date components of the datetime are populated " @@ -1283,61 +1283,63 @@ msgid "" "`datetime.isocalendar`." msgstr "" -#: library/datetime.rst:1045 +#: library/datetime.rst:1043 msgid "" "Return a :class:`.datetime` corresponding to *date_string*, parsed according " "to *format*." msgstr "" -#: library/datetime.rst:1048 -msgid "This is equivalent to::" +#: library/datetime.rst:1046 +msgid "" +"If *format* does not contain microseconds or timezone information, this is " +"equivalent to::" msgstr "" -#: library/datetime.rst:1052 +#: library/datetime.rst:1050 msgid "" ":exc:`ValueError` is raised if the date_string and format can't be parsed " -"by :func:`time.strptime` or if it returns a value which isn't a time tuple. " -"For a complete list of formatting directives, see :ref:`strftime-strptime-" -"behavior`." +"by :func:`time.strptime` or if it returns a value which isn't a time tuple. " +"See also :ref:`strftime-strptime-behavior` and :meth:`datetime." +"fromisoformat`." msgstr "" -#: library/datetime.rst:1063 +#: library/datetime.rst:1061 msgid "" "The earliest representable :class:`.datetime`, ``datetime(MINYEAR, 1, 1, " "tzinfo=None)``." msgstr "" -#: library/datetime.rst:1069 +#: library/datetime.rst:1067 msgid "" "The latest representable :class:`.datetime`, ``datetime(MAXYEAR, 12, 31, 23, " "59, 59, 999999, tzinfo=None)``." msgstr "" -#: library/datetime.rst:1075 +#: library/datetime.rst:1073 msgid "" "The smallest possible difference between non-equal :class:`.datetime` " "objects, ``timedelta(microseconds=1)``." msgstr "" -#: library/datetime.rst:1701 +#: library/datetime.rst:1700 msgid "In ``range(24)``." msgstr "" -#: library/datetime.rst:1108 library/datetime.rst:1711 +#: library/datetime.rst:1106 library/datetime.rst:1710 msgid "In ``range(60)``." msgstr "" -#: library/datetime.rst:1716 +#: library/datetime.rst:1715 msgid "In ``range(1000000)``." msgstr "" -#: library/datetime.rst:1118 +#: library/datetime.rst:1116 msgid "" "The object passed as the *tzinfo* argument to the :class:`.datetime` " "constructor, or ``None`` if none was passed." msgstr "" -#: library/datetime.rst:1727 +#: library/datetime.rst:1726 msgid "" "In ``[0, 1]``. Used to disambiguate wall times during a repeated interval. " "(A repeated interval occurs when clocks are rolled back at the end of " @@ -1346,36 +1348,36 @@ msgid "" "(later) of the two moments with the same wall time representation." msgstr "" -#: library/datetime.rst:1137 +#: library/datetime.rst:1135 msgid "``datetime2 = datetime1 + timedelta``" msgstr "" -#: library/datetime.rst:2329 library/datetime.rst:2346 -#: library/datetime.rst:2411 library/datetime.rst:2420 +#: library/datetime.rst:2334 library/datetime.rst:2351 +#: library/datetime.rst:2416 library/datetime.rst:2425 msgid "\\(1)" msgstr "" -#: library/datetime.rst:1139 +#: library/datetime.rst:1137 msgid "``datetime2 = datetime1 - timedelta``" msgstr "" -#: library/datetime.rst:2362 +#: library/datetime.rst:2367 msgid "\\(2)" msgstr "" -#: library/datetime.rst:1141 +#: library/datetime.rst:1139 msgid "``timedelta = datetime1 - datetime2``" msgstr "" -#: library/datetime.rst:1143 +#: library/datetime.rst:1141 msgid "``datetime1 < datetime2``" msgstr "" -#: library/datetime.rst:1143 +#: library/datetime.rst:1141 msgid "Compares :class:`.datetime` to :class:`.datetime`. (4)" msgstr "" -#: library/datetime.rst:1148 +#: library/datetime.rst:1146 msgid "" "datetime2 is a duration of timedelta removed from datetime1, moving forward " "in time if ``timedelta.days`` > 0, or backward if ``timedelta.days`` < 0. " @@ -1386,7 +1388,7 @@ msgid "" "the input is an aware object." msgstr "" -#: library/datetime.rst:1157 +#: library/datetime.rst:1155 msgid "" "Computes the datetime2 such that datetime2 + timedelta == datetime1. As for " "addition, the result has the same :attr:`~.datetime.tzinfo` attribute as the " @@ -1394,14 +1396,14 @@ msgid "" "aware." msgstr "" -#: library/datetime.rst:1162 +#: library/datetime.rst:1160 msgid "" "Subtraction of a :class:`.datetime` from a :class:`.datetime` is defined " "only if both operands are naive, or if both are aware. If one is aware and " "the other is naive, :exc:`TypeError` is raised." msgstr "" -#: library/datetime.rst:1166 +#: library/datetime.rst:1164 msgid "" "If both are naive, or both are aware and have the same :attr:`~.datetime." "tzinfo` attribute, the :attr:`~.datetime.tzinfo` attributes are ignored, and " @@ -1409,7 +1411,7 @@ msgid "" "datetime1``. No time zone adjustments are done in this case." msgstr "" -#: library/datetime.rst:1171 +#: library/datetime.rst:1169 msgid "" "If both are aware and have different :attr:`~.datetime.tzinfo` attributes, " "``a-b`` acts as if *a* and *b* were first converted to naive UTC datetimes " @@ -1418,20 +1420,20 @@ msgid "" "overflows." msgstr "" -#: library/datetime.rst:1177 +#: library/datetime.rst:1175 msgid "" "*datetime1* is considered less than *datetime2* when *datetime1* precedes " "*datetime2* in time." msgstr "" -#: library/datetime.rst:1180 +#: library/datetime.rst:1178 msgid "" "If one comparand is naive and the other is aware, :exc:`TypeError` is raised " "if an order comparison is attempted. For equality comparisons, naive " "instances are never equal to aware instances." msgstr "" -#: library/datetime.rst:1184 +#: library/datetime.rst:1182 msgid "" "If both comparands are aware, and have the same :attr:`~.datetime.tzinfo` " "attribute, the common :attr:`~.datetime.tzinfo` attribute is ignored and the " @@ -1441,13 +1443,13 @@ msgid "" "utcoffset()``)." msgstr "" -#: library/datetime.rst:1190 +#: library/datetime.rst:1188 msgid "" "Equality comparisons between aware and naive :class:`.datetime` instances " "don't raise :exc:`TypeError`." msgstr "" -#: library/datetime.rst:1196 +#: library/datetime.rst:1194 msgid "" "In order to stop comparison from falling back to the default scheme of " "comparing object addresses, datetime comparison normally raises :exc:" @@ -1460,27 +1462,27 @@ msgid "" "cases return :const:`False` or :const:`True`, respectively." msgstr "" -#: library/datetime.rst:1210 +#: library/datetime.rst:1208 msgid "Return :class:`date` object with same year, month and day." msgstr "" -#: library/datetime.rst:1215 +#: library/datetime.rst:1213 msgid "" "Return :class:`.time` object with same hour, minute, second, microsecond and " "fold. :attr:`.tzinfo` is ``None``. See also method :meth:`timetz`." msgstr "" -#: library/datetime.rst:1227 +#: library/datetime.rst:1225 msgid "The fold value is copied to the returned :class:`.time` object." msgstr "" -#: library/datetime.rst:1224 +#: library/datetime.rst:1222 msgid "" "Return :class:`.time` object with same hour, minute, second, microsecond, " "fold, and tzinfo attributes. See also method :meth:`time`." msgstr "" -#: library/datetime.rst:1235 +#: library/datetime.rst:1233 msgid "" "Return a datetime with the same attributes, except for those attributes " "given new values by whichever keyword arguments are specified. Note that " @@ -1488,21 +1490,21 @@ msgid "" "datetime with no conversion of date and time data." msgstr "" -#: library/datetime.rst:1246 +#: library/datetime.rst:1244 msgid "" "Return a :class:`.datetime` object with new :attr:`.tzinfo` attribute *tz*, " "adjusting the date and time data so the result is the same UTC time as " "*self*, but in *tz*'s local time." msgstr "" -#: library/datetime.rst:1250 +#: library/datetime.rst:1248 msgid "" "If provided, *tz* must be an instance of a :class:`tzinfo` subclass, and " "its :meth:`utcoffset` and :meth:`dst` methods must not return ``None``. If " "*self* is naive, it is presumed to represent time in the system timezone." msgstr "" -#: library/datetime.rst:1254 +#: library/datetime.rst:1252 msgid "" "If called without arguments (or with ``tz=None``) the system local timezone " "is assumed for the target timezone. The ``.tzinfo`` attribute of the " @@ -1510,7 +1512,7 @@ msgid "" "with the zone name and offset obtained from the OS." msgstr "" -#: library/datetime.rst:1259 +#: library/datetime.rst:1257 msgid "" "If ``self.tzinfo`` is *tz*, ``self.astimezone(tz)`` is equal to *self*: no " "adjustment of date or time data is performed. Else the result is local time " @@ -1519,7 +1521,7 @@ msgid "" "date and time data as ``dt - dt.utcoffset()``." msgstr "" -#: library/datetime.rst:1265 +#: library/datetime.rst:1263 msgid "" "If you merely want to attach a time zone object *tz* to a datetime *dt* " "without adjustment of date and time data, use ``dt.replace(tzinfo=tz)``. If " @@ -1527,54 +1529,54 @@ msgid "" "without conversion of date and time data, use ``dt.replace(tzinfo=None)``." msgstr "" -#: library/datetime.rst:1270 +#: library/datetime.rst:1268 msgid "" "Note that the default :meth:`tzinfo.fromutc` method can be overridden in a :" "class:`tzinfo` subclass to affect the result returned by :meth:`astimezone`. " "Ignoring error cases, :meth:`astimezone` acts like::" msgstr "" -#: library/datetime.rst:1282 +#: library/datetime.rst:1280 msgid "*tz* now can be omitted." msgstr "" -#: library/datetime.rst:1285 +#: library/datetime.rst:1283 msgid "" "The :meth:`astimezone` method can now be called on naive instances that are " "presumed to represent system local time." msgstr "" -#: library/datetime.rst:1292 +#: library/datetime.rst:1290 msgid "" "If :attr:`.tzinfo` is ``None``, returns ``None``, else returns ``self.tzinfo." "utcoffset(self)``, and raises an exception if the latter doesn't return " "``None`` or a :class:`timedelta` object with magnitude less than one day." msgstr "" -#: library/datetime.rst:1890 library/datetime.rst:2241 -#: library/datetime.rst:2550 +#: library/datetime.rst:1887 library/datetime.rst:2238 +#: library/datetime.rst:2552 msgid "The UTC offset is not restricted to a whole number of minutes." msgstr "" -#: library/datetime.rst:1302 +#: library/datetime.rst:1300 msgid "" "If :attr:`.tzinfo` is ``None``, returns ``None``, else returns ``self.tzinfo." "dst(self)``, and raises an exception if the latter doesn't return ``None`` " "or a :class:`timedelta` object with magnitude less than one day." msgstr "" -#: library/datetime.rst:1900 library/datetime.rst:2050 +#: library/datetime.rst:1897 library/datetime.rst:2047 msgid "The DST offset is not restricted to a whole number of minutes." msgstr "" -#: library/datetime.rst:1312 +#: library/datetime.rst:1310 msgid "" "If :attr:`.tzinfo` is ``None``, returns ``None``, else returns ``self.tzinfo." "tzname(self)``, raises an exception if the latter doesn't return ``None`` or " "a string object," msgstr "" -#: library/datetime.rst:1327 +#: library/datetime.rst:1325 msgid "" "where ``yday = d.toordinal() - date(d.year, 1, 1).toordinal() + 1`` is the " "day number within the current year starting with ``1`` for January 1st. The :" @@ -1584,14 +1586,14 @@ msgid "" "attr:`tm_isdst` is set to ``1``; else :attr:`tm_isdst` is set to ``0``." msgstr "" -#: library/datetime.rst:1338 +#: library/datetime.rst:1336 msgid "" "If :class:`.datetime` instance *d* is naive, this is the same as ``d." "timetuple()`` except that :attr:`tm_isdst` is forced to 0 regardless of what " "``d.dst()`` returns. DST is never in effect for a UTC time." msgstr "" -#: library/datetime.rst:1342 +#: library/datetime.rst:1340 msgid "" "If *d* is aware, *d* is normalized to UTC time, by subtracting ``d." "utcoffset()``, and a :class:`time.struct_time` for the normalized time is " @@ -1600,7 +1602,7 @@ msgid "" "spills over a year boundary." msgstr "" -#: library/datetime.rst:1351 +#: library/datetime.rst:1349 msgid "" "Because naive ``datetime`` objects are treated by many ``datetime`` methods " "as local times, it is preferred to use aware datetimes to represent times in " @@ -1610,20 +1612,20 @@ msgid "" "meth:`.datetime.timetuple`." msgstr "" -#: library/datetime.rst:1360 +#: library/datetime.rst:1358 msgid "" "Return the proleptic Gregorian ordinal of the date. The same as ``self." "date().toordinal()``." msgstr "" -#: library/datetime.rst:1365 +#: library/datetime.rst:1363 msgid "" "Return POSIX timestamp corresponding to the :class:`.datetime` instance. The " "return value is a :class:`float` similar to that returned by :func:`time." "time`." msgstr "" -#: library/datetime.rst:1369 +#: library/datetime.rst:1367 msgid "" "Naive :class:`.datetime` instances are assumed to represent local time and " "this method relies on the platform C :c:func:`mktime` function to perform " @@ -1632,18 +1634,18 @@ msgid "" "`OverflowError` for times far in the past or far in the future." msgstr "" -#: library/datetime.rst:1376 +#: library/datetime.rst:1374 msgid "" "For aware :class:`.datetime` instances, the return value is computed as::" msgstr "" -#: library/datetime.rst:1383 +#: library/datetime.rst:1381 msgid "" "The :meth:`timestamp` method uses the :attr:`.fold` attribute to " "disambiguate the times during a repeated interval." msgstr "" -#: library/datetime.rst:1389 +#: library/datetime.rst:1387 msgid "" "There is no method to obtain the POSIX timestamp directly from a naive :" "class:`.datetime` instance representing UTC time. If your application uses " @@ -1651,216 +1653,216 @@ msgid "" "the POSIX timestamp by supplying ``tzinfo=timezone.utc``::" msgstr "" -#: library/datetime.rst:1397 +#: library/datetime.rst:1395 msgid "or by calculating the timestamp directly::" msgstr "" -#: library/datetime.rst:1403 +#: library/datetime.rst:1401 msgid "" "Return the day of the week as an integer, where Monday is 0 and Sunday is 6. " "The same as ``self.date().weekday()``. See also :meth:`isoweekday`." msgstr "" -#: library/datetime.rst:1409 +#: library/datetime.rst:1407 msgid "" "Return the day of the week as an integer, where Monday is 1 and Sunday is 7. " "The same as ``self.date().isoweekday()``. See also :meth:`weekday`, :meth:" "`isocalendar`." msgstr "" -#: library/datetime.rst:1416 +#: library/datetime.rst:1414 msgid "" "Return a :term:`named tuple` with three components: ``year``, ``week`` and " "``weekday``. The same as ``self.date().isocalendar()``." msgstr "" -#: library/datetime.rst:1422 +#: library/datetime.rst:1420 msgid "Return a string representing the date and time in ISO 8601 format:" msgstr "" -#: library/datetime.rst:1424 +#: library/datetime.rst:1422 msgid "``YYYY-MM-DDTHH:MM:SS.ffffff``, if :attr:`microsecond` is not 0" msgstr "" -#: library/datetime.rst:1425 +#: library/datetime.rst:1423 msgid "``YYYY-MM-DDTHH:MM:SS``, if :attr:`microsecond` is 0" msgstr "" -#: library/datetime.rst:1427 +#: library/datetime.rst:1425 msgid "" "If :meth:`utcoffset` does not return ``None``, a string is appended, giving " "the UTC offset:" msgstr "" -#: library/datetime.rst:1430 +#: library/datetime.rst:1428 msgid "" "``YYYY-MM-DDTHH:MM:SS.ffffff+HH:MM[:SS[.ffffff]]``, if :attr:`microsecond` " "is not 0" msgstr "" -#: library/datetime.rst:1432 +#: library/datetime.rst:1430 msgid "" "``YYYY-MM-DDTHH:MM:SS+HH:MM[:SS[.ffffff]]``, if :attr:`microsecond` is 0" msgstr "" -#: library/datetime.rst:1442 +#: library/datetime.rst:1440 msgid "" "The optional argument *sep* (default ``'T'``) is a one-character separator, " "placed between the date and time portions of the result. For example::" msgstr "" -#: library/datetime.rst:1828 +#: library/datetime.rst:1827 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:1832 +#: library/datetime.rst:1831 msgid "" "``'auto'``: Same as ``'seconds'`` if :attr:`microsecond` is 0, same as " "``'microseconds'`` otherwise." msgstr "" -#: library/datetime.rst:1834 +#: library/datetime.rst:1833 msgid "``'hours'``: Include the :attr:`hour` in the two-digit ``HH`` format." msgstr "" -#: library/datetime.rst:1835 +#: library/datetime.rst:1834 msgid "" "``'minutes'``: Include :attr:`hour` and :attr:`minute` in ``HH:MM`` format." msgstr "" -#: library/datetime.rst:1836 +#: library/datetime.rst:1835 msgid "" "``'seconds'``: Include :attr:`hour`, :attr:`minute`, and :attr:`second` in " "``HH:MM:SS`` format." msgstr "" -#: library/datetime.rst:1838 +#: library/datetime.rst:1837 msgid "" "``'milliseconds'``: Include full time, but truncate fractional second part " "to milliseconds. ``HH:MM:SS.sss`` format." msgstr "" -#: library/datetime.rst:1840 +#: library/datetime.rst:1839 msgid "``'microseconds'``: Include full time in ``HH:MM:SS.ffffff`` format." msgstr "" -#: library/datetime.rst:1844 +#: library/datetime.rst:1843 msgid "Excluded time components are truncated, not rounded." msgstr "" -#: library/datetime.rst:1474 +#: library/datetime.rst:1472 msgid ":exc:`ValueError` will be raised on an invalid *timespec* argument::" msgstr "" -#: library/datetime.rst:1859 +#: library/datetime.rst:1858 msgid "Added the *timespec* argument." msgstr "" -#: library/datetime.rst:1490 +#: library/datetime.rst:1488 msgid "" "For a :class:`.datetime` instance *d*, ``str(d)`` is equivalent to ``d." "isoformat(' ')``." msgstr "" -#: library/datetime.rst:1496 +#: library/datetime.rst:1494 msgid "Return a string representing the date and time::" msgstr "" -#: library/datetime.rst:1502 +#: library/datetime.rst:1500 msgid "" "The output string will *not* include time zone information, regardless of " "whether the input is aware or naive." msgstr "" -#: library/datetime.rst:1509 +#: library/datetime.rst:1507 msgid "" "on platforms where the native C :c:func:`ctime` function (which :func:`time." "ctime` invokes, but which :meth:`datetime.ctime` does not invoke) conforms " "to the C standard." msgstr "" -#: library/datetime.rst:1515 +#: library/datetime.rst:1514 msgid "" "Return a string representing the date and time, controlled by an explicit " -"format string. For a complete list of formatting directives, see :ref:" -"`strftime-strptime-behavior`." +"format string. See also :ref:`strftime-strptime-behavior` and :meth:" +"`datetime.isoformat`." msgstr "" -#: library/datetime.rst:1522 +#: library/datetime.rst:1521 msgid "" "Same as :meth:`.datetime.strftime`. This makes it possible to specify a " "format string for a :class:`.datetime` object in :ref:`formatted string " -"literals ` and when using :meth:`str.format`. For a complete list " -"of formatting directives, see :ref:`strftime-strptime-behavior`." +"literals ` and when using :meth:`str.format`. See also :ref:" +"`strftime-strptime-behavior` and :meth:`datetime.isoformat`." msgstr "" -#: library/datetime.rst:1529 +#: library/datetime.rst:1528 msgid "Examples of Usage: :class:`.datetime`" msgstr "" -#: library/datetime.rst:1531 +#: library/datetime.rst:1530 msgid "Examples of working with :class:`~datetime.datetime` objects:" msgstr "" -#: library/datetime.rst:1584 +#: library/datetime.rst:1583 msgid "" "The example below defines a :class:`tzinfo` subclass capturing time zone " "information for Kabul, Afghanistan, which used +4 UTC until 1945 and then " "+4:30 UTC thereafter::" msgstr "" -#: library/datetime.rst:1631 +#: library/datetime.rst:1630 msgid "Usage of ``KabulTz`` from above::" msgstr "" -#: library/datetime.rst:1657 +#: library/datetime.rst:1656 msgid ":class:`.time` Objects" msgstr "" -#: library/datetime.rst:1659 +#: library/datetime.rst:1658 msgid "" "A :class:`time` object represents a (local) time of day, independent of any " "particular day, and subject to adjustment via a :class:`tzinfo` object." msgstr "" -#: library/datetime.rst:1664 +#: library/datetime.rst:1663 msgid "" "All arguments are optional. *tzinfo* may be ``None``, or an instance of a :" "class:`tzinfo` subclass. The remaining arguments must be integers in the " "following ranges:" msgstr "" -#: library/datetime.rst:1674 +#: library/datetime.rst:1673 msgid "" "If an argument outside those ranges is given, :exc:`ValueError` is raised. " "All default to ``0`` except *tzinfo*, which defaults to :const:`None`." msgstr "" -#: library/datetime.rst:1682 +#: library/datetime.rst:1681 msgid "The earliest representable :class:`.time`, ``time(0, 0, 0, 0)``." msgstr "" -#: library/datetime.rst:1687 +#: library/datetime.rst:1686 msgid "The latest representable :class:`.time`, ``time(23, 59, 59, 999999)``." msgstr "" -#: library/datetime.rst:1692 +#: library/datetime.rst:1691 msgid "" "The smallest possible difference between non-equal :class:`.time` objects, " "``timedelta(microseconds=1)``, although note that arithmetic on :class:`." "time` objects is not supported." msgstr "" -#: library/datetime.rst:1721 +#: library/datetime.rst:1720 msgid "" "The object passed as the tzinfo argument to the :class:`.time` constructor, " "or ``None`` if none was passed." msgstr "" -#: library/datetime.rst:1735 +#: library/datetime.rst:1734 msgid "" ":class:`.time` objects support comparison of :class:`.time` to :class:`." "time`, where *a* is considered less than *b* when *a* precedes *b* in time. " @@ -1869,7 +1871,7 @@ msgid "" "instances are never equal to aware instances." msgstr "" -#: library/datetime.rst:1741 +#: library/datetime.rst:1740 msgid "" "If both comparands are aware, and have the same :attr:`~time.tzinfo` " "attribute, the common :attr:`~time.tzinfo` attribute is ignored and the base " @@ -1883,18 +1885,18 @@ msgid "" "respectively." msgstr "" -#: library/datetime.rst:1751 +#: library/datetime.rst:1750 msgid "" "Equality comparisons between aware and naive :class:`~datetime.time` " "instances don't raise :exc:`TypeError`." msgstr "" -#: library/datetime.rst:1755 +#: library/datetime.rst:1754 msgid "" "In Boolean contexts, a :class:`.time` object is always considered to be true." msgstr "" -#: library/datetime.rst:1757 +#: library/datetime.rst:1756 msgid "" "Before Python 3.5, a :class:`.time` object was considered to be false if it " "represented midnight in UTC. This behavior was considered obscure and error-" @@ -1902,35 +1904,35 @@ msgid "" "details." msgstr "" -#: library/datetime.rst:1764 +#: library/datetime.rst:1763 msgid "Other constructor:" msgstr "" -#: library/datetime.rst:1768 +#: library/datetime.rst:1767 msgid "" "Return a :class:`.time` corresponding to a *time_string* in any valid ISO " "8601 format, with the following exceptions:" msgstr "" -#: library/datetime.rst:1772 +#: library/datetime.rst:1771 msgid "" "The leading ``T``, normally required in cases where there may be ambiguity " "between a date and a time, is not required." msgstr "" -#: library/datetime.rst:1774 +#: library/datetime.rst:1773 msgid "" "Fractional seconds may have any number of digits (anything beyond 6 will be " "truncated)." msgstr "" -#: library/datetime.rst:1800 +#: library/datetime.rst:1799 msgid "" "Previously, this method only supported formats that could be emitted by :" "meth:`time.isoformat()`." msgstr "" -#: library/datetime.rst:1810 +#: library/datetime.rst:1809 msgid "" "Return a :class:`.time` with the same value, except for those attributes " "given new values by whichever keyword arguments are specified. Note that " @@ -1938,94 +1940,94 @@ msgid "" "aware :class:`.time`, without conversion of the time data." msgstr "" -#: library/datetime.rst:1821 +#: library/datetime.rst:1820 msgid "Return a string representing the time in ISO 8601 format, one of:" msgstr "" -#: library/datetime.rst:1823 +#: library/datetime.rst:1822 msgid "``HH:MM:SS.ffffff``, if :attr:`microsecond` is not 0" msgstr "" -#: library/datetime.rst:1824 +#: library/datetime.rst:1823 msgid "``HH:MM:SS``, if :attr:`microsecond` is 0" msgstr "" -#: library/datetime.rst:1825 +#: library/datetime.rst:1824 msgid "" "``HH:MM:SS.ffffff+HH:MM[:SS[.ffffff]]``, if :meth:`utcoffset` does not " "return ``None``" msgstr "" -#: library/datetime.rst:1826 +#: library/datetime.rst:1825 msgid "" "``HH:MM:SS+HH:MM[:SS[.ffffff]]``, if :attr:`microsecond` is 0 and :meth:" "`utcoffset` does not return ``None``" msgstr "" -#: library/datetime.rst:1846 +#: library/datetime.rst:1845 msgid ":exc:`ValueError` will be raised on an invalid *timespec* argument." msgstr "" -#: library/datetime.rst:1865 +#: library/datetime.rst:1864 msgid "For a time *t*, ``str(t)`` is equivalent to ``t.isoformat()``." msgstr "" -#: library/datetime.rst:1870 +#: library/datetime.rst:1869 msgid "" "Return a string representing the time, controlled by an explicit format " -"string. For a complete list of formatting directives, see :ref:`strftime-" -"strptime-behavior`." +"string. See also :ref:`strftime-strptime-behavior` and :meth:`time." +"isoformat`." msgstr "" -#: library/datetime.rst:1877 +#: library/datetime.rst:1875 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 ` and when using :meth:`str.format`. For a complete list of " -"formatting directives, see :ref:`strftime-strptime-behavior`." +"strings>` and when using :meth:`str.format`. See also :ref:`strftime-" +"strptime-behavior` and :meth:`time.isoformat`." msgstr "" -#: library/datetime.rst:1886 +#: library/datetime.rst:1883 msgid "" "If :attr:`.tzinfo` is ``None``, returns ``None``, else returns ``self.tzinfo." "utcoffset(None)``, and raises an exception if the latter doesn't return " "``None`` or a :class:`timedelta` object with magnitude less than one day." msgstr "" -#: library/datetime.rst:1896 +#: library/datetime.rst:1893 msgid "" "If :attr:`.tzinfo` is ``None``, returns ``None``, else returns ``self.tzinfo." "dst(None)``, and raises an exception if the latter doesn't return ``None``, " "or a :class:`timedelta` object with magnitude less than one day." msgstr "" -#: library/datetime.rst:1905 +#: library/datetime.rst:1902 msgid "" "If :attr:`.tzinfo` is ``None``, returns ``None``, else returns ``self.tzinfo." "tzname(None)``, or raises an exception if the latter doesn't return ``None`` " "or a string object." msgstr "" -#: library/datetime.rst:1910 +#: library/datetime.rst:1907 msgid "Examples of Usage: :class:`.time`" msgstr "" -#: library/datetime.rst:1912 +#: library/datetime.rst:1909 msgid "Examples of working with a :class:`.time` object::" msgstr "" -#: library/datetime.rst:1943 +#: library/datetime.rst:1940 msgid ":class:`tzinfo` Objects" msgstr "" -#: library/datetime.rst:1947 +#: library/datetime.rst:1944 msgid "" "This is an abstract base class, meaning that this class should not be " "instantiated directly. Define a subclass of :class:`tzinfo` to capture " "information about a particular time zone." msgstr "" -#: library/datetime.rst:1951 +#: library/datetime.rst:1948 msgid "" "An instance of (a concrete subclass of) :class:`tzinfo` can be passed to the " "constructors for :class:`.datetime` and :class:`.time` objects. The latter " @@ -2035,7 +2037,7 @@ msgid "" "object passed to them." msgstr "" -#: library/datetime.rst:1957 +#: library/datetime.rst:1954 msgid "" "You need to derive a concrete subclass, and (at least) supply " "implementations of the standard :class:`tzinfo` methods needed by the :class:" @@ -2045,7 +2047,7 @@ msgid "" "American EST and EDT." msgstr "" -#: library/datetime.rst:1964 +#: library/datetime.rst:1961 msgid "" "Special requirement for pickling: A :class:`tzinfo` subclass must have an :" "meth:`__init__` method that can be called with no arguments, otherwise it " @@ -2053,20 +2055,20 @@ msgid "" "requirement that may be relaxed in the future." msgstr "" -#: library/datetime.rst:1969 +#: library/datetime.rst:1966 msgid "" "A concrete subclass of :class:`tzinfo` may need to implement the following " "methods. Exactly which methods are needed depends on the uses made of aware :" "mod:`datetime` objects. If in doubt, simply implement all of them." msgstr "" -#: library/datetime.rst:1976 +#: library/datetime.rst:1973 msgid "" "Return offset of local time from UTC, as a :class:`timedelta` object that is " "positive east of UTC. If local time is west of UTC, this should be negative." msgstr "" -#: library/datetime.rst:1979 +#: library/datetime.rst:1976 msgid "" "This represents the *total* offset from UTC; for example, if a :class:" "`tzinfo` object represents both time zone and DST adjustments, :meth:" @@ -2077,25 +2079,25 @@ msgid "" "meth:`utcoffset` will probably look like one of these two::" msgstr "" -#: library/datetime.rst:1990 +#: library/datetime.rst:1987 msgid "" "If :meth:`utcoffset` does not return ``None``, :meth:`dst` should not return " "``None`` either." msgstr "" -#: library/datetime.rst:1993 +#: library/datetime.rst:1990 msgid "" "The default implementation of :meth:`utcoffset` raises :exc:" "`NotImplementedError`." msgstr "" -#: library/datetime.rst:2002 +#: library/datetime.rst:1999 msgid "" "Return the daylight saving time (DST) adjustment, as a :class:`timedelta` " "object or ``None`` if DST information isn't known." msgstr "" -#: library/datetime.rst:2006 +#: library/datetime.rst:2003 msgid "" "Return ``timedelta(0)`` if DST is not in effect. If DST is in effect, return " "the offset as a :class:`timedelta` object (see :meth:`utcoffset` for " @@ -2108,17 +2110,17 @@ msgid "" "DST changes when crossing time zones." msgstr "" -#: library/datetime.rst:2016 +#: library/datetime.rst:2013 msgid "" "An instance *tz* of a :class:`tzinfo` subclass that models both standard and " "daylight times must be consistent in this sense:" msgstr "" -#: library/datetime.rst:2019 +#: library/datetime.rst:2016 msgid "``tz.utcoffset(dt) - tz.dst(dt)``" msgstr "" -#: library/datetime.rst:2021 +#: library/datetime.rst:2018 msgid "" "must return the same result for every :class:`.datetime` *dt* with ``dt." "tzinfo == tz`` For sane :class:`tzinfo` subclasses, this expression yields " @@ -2131,22 +2133,22 @@ msgid "" "regardless." msgstr "" -#: library/datetime.rst:2030 +#: library/datetime.rst:2027 msgid "" "Most implementations of :meth:`dst` will probably look like one of these " "two::" msgstr "" -#: library/datetime.rst:2036 +#: library/datetime.rst:2033 msgid "or::" msgstr "" -#: library/datetime.rst:2048 +#: library/datetime.rst:2045 msgid "" "The default implementation of :meth:`dst` raises :exc:`NotImplementedError`." msgstr "" -#: library/datetime.rst:2056 +#: library/datetime.rst:2053 msgid "" "Return the time zone name corresponding to the :class:`.datetime` object " "*dt*, as a string. Nothing about string names is defined by the :mod:" @@ -2159,13 +2161,13 @@ msgid "" "if the :class:`tzinfo` class is accounting for daylight time." msgstr "" -#: library/datetime.rst:2066 +#: library/datetime.rst:2063 msgid "" "The default implementation of :meth:`tzname` raises :exc:" "`NotImplementedError`." msgstr "" -#: library/datetime.rst:2069 +#: library/datetime.rst:2066 msgid "" "These methods are called by a :class:`.datetime` or :class:`.time` object, " "in response to their methods of the same names. A :class:`.datetime` object " @@ -2175,7 +2177,7 @@ msgid "" "datetime`." msgstr "" -#: library/datetime.rst:2075 +#: library/datetime.rst:2072 msgid "" "When ``None`` is passed, it's up to the class designer to decide the best " "response. For example, returning ``None`` is appropriate if the class wishes " @@ -2184,7 +2186,7 @@ msgid "" "offset, as there is no other convention for discovering the standard offset." msgstr "" -#: library/datetime.rst:2081 +#: library/datetime.rst:2078 msgid "" "When a :class:`.datetime` object is passed in response to a :class:`." "datetime` method, ``dt.tzinfo`` is the same object as *self*. :class:" @@ -2194,13 +2196,13 @@ msgid "" "timezones." msgstr "" -#: library/datetime.rst:2087 +#: library/datetime.rst:2084 msgid "" "There is one more :class:`tzinfo` method that a subclass may wish to " "override:" msgstr "" -#: library/datetime.rst:2092 +#: library/datetime.rst:2089 msgid "" "This is called from the default :class:`datetime.astimezone()` " "implementation. When called from that, ``dt.tzinfo`` is *self*, and *dt*'s " @@ -2209,7 +2211,7 @@ msgid "" "equivalent datetime in *self*'s local time." msgstr "" -#: library/datetime.rst:2098 +#: library/datetime.rst:2095 msgid "" "Most :class:`tzinfo` subclasses should be able to inherit the default :meth:" "`fromutc` implementation without problems. It's strong enough to handle " @@ -2223,19 +2225,19 @@ msgid "" "result is one of the hours straddling the moment the standard offset changes." msgstr "" -#: library/datetime.rst:2109 +#: library/datetime.rst:2106 msgid "" "Skipping code for error cases, the default :meth:`fromutc` implementation " "acts like::" msgstr "" -#: library/datetime.rst:2127 +#: library/datetime.rst:2124 msgid "" "In the following :download:`tzinfo_examples.py <../includes/tzinfo_examples." "py>` file there are some examples of :class:`tzinfo` classes:" msgstr "" -#: library/datetime.rst:2133 +#: library/datetime.rst:2130 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 " @@ -2244,7 +2246,7 @@ msgid "" "ends the minute after 1:59 (EDT) on the first Sunday in November::" msgstr "" -#: library/datetime.rst:2147 +#: library/datetime.rst:2144 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, " @@ -2253,7 +2255,7 @@ msgid "" "get::" msgstr "" -#: library/datetime.rst:2166 +#: library/datetime.rst:2163 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 " @@ -2268,13 +2270,13 @@ msgid "" "transition of 2016, we get::" msgstr "" -#: library/datetime.rst:2188 +#: library/datetime.rst:2185 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:2191 +#: library/datetime.rst:2188 msgid "" "Applications that can't bear wall-time ambiguities should explicitly check " "the value of the :attr:`~datetime.fold` attribute or avoid using hybrid :" @@ -2284,28 +2286,28 @@ msgid "" "offset -4 hours))." msgstr "" -#: library/datetime.rst:2205 +#: library/datetime.rst:2202 msgid ":mod:`zoneinfo`" msgstr "" -#: library/datetime.rst:2200 +#: library/datetime.rst:2197 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:2204 +#: library/datetime.rst:2201 msgid "" "``zoneinfo`` brings the *IANA timezone database* (also known as the Olson " "database) to Python, and its usage is recommended." msgstr "" -#: library/datetime.rst:2211 +#: library/datetime.rst:2208 msgid "`IANA timezone database `_" msgstr "" -#: library/datetime.rst:2208 +#: library/datetime.rst:2205 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 " @@ -2314,24 +2316,24 @@ msgid "" "saving rules." msgstr "" -#: library/datetime.rst:2218 +#: library/datetime.rst:2215 msgid ":class:`timezone` Objects" msgstr "" -#: library/datetime.rst:2220 +#: library/datetime.rst:2217 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:2224 +#: library/datetime.rst:2221 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:2231 +#: library/datetime.rst:2228 msgid "" "The *offset* argument must be specified as a :class:`timedelta` object " "representing the difference between the local time and UTC. It must be " @@ -2339,25 +2341,25 @@ msgid "" "otherwise :exc:`ValueError` is raised." msgstr "" -#: library/datetime.rst:2236 +#: library/datetime.rst:2233 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:2258 +#: library/datetime.rst:2255 msgid "" "Return the fixed value specified when the :class:`timezone` instance is " "constructed." msgstr "" -#: library/datetime.rst:2250 +#: library/datetime.rst:2247 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:2261 +#: library/datetime.rst:2258 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 " @@ -2366,138 +2368,144 @@ msgid "" "are two digits of ``offset.hours`` and ``offset.minutes`` respectively." msgstr "" -#: library/datetime.rst:2267 +#: library/datetime.rst:2264 msgid "" "Name generated from ``offset=timedelta(0)`` is now plain ``'UTC'``, not " "``'UTC+00:00'``." msgstr "" -#: library/datetime.rst:2274 +#: library/datetime.rst:2271 msgid "Always returns ``None``." msgstr "" -#: library/datetime.rst:2278 +#: library/datetime.rst:2275 msgid "" "Return ``dt + offset``. The *dt* argument must be an aware :class:`." "datetime` instance, with ``tzinfo`` set to ``self``." msgstr "" -#: library/datetime.rst:2285 +#: library/datetime.rst:2282 msgid "The UTC timezone, ``timezone(timedelta(0))``." msgstr "" -#: library/datetime.rst:2294 +#: library/datetime.rst:2291 msgid ":meth:`strftime` and :meth:`strptime` Behavior" msgstr "" -#: library/datetime.rst:2296 +#: library/datetime.rst:2293 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:2300 +#: library/datetime.rst:2297 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:2304 +#: library/datetime.rst:2301 msgid "" "The table below provides a high-level comparison of :meth:`strftime` versus :" "meth:`strptime`:" msgstr "" -#: library/datetime.rst:2308 +#: library/datetime.rst:2305 msgid "``strftime``" msgstr "" -#: library/datetime.rst:2308 +#: library/datetime.rst:2305 msgid "``strptime``" msgstr "" -#: library/datetime.rst:2310 +#: library/datetime.rst:2307 msgid "Usage" msgstr "" -#: library/datetime.rst:2310 +#: library/datetime.rst:2307 msgid "Convert object to a string according to a given format" msgstr "" -#: library/datetime.rst:2310 +#: library/datetime.rst:2307 msgid "" "Parse a string into a :class:`.datetime` object given a corresponding format" msgstr "" -#: library/datetime.rst:2312 +#: library/datetime.rst:2309 msgid "Type of method" msgstr "" -#: library/datetime.rst:2312 +#: library/datetime.rst:2309 msgid "Instance method" msgstr "" -#: library/datetime.rst:2312 +#: library/datetime.rst:2309 msgid "Class method" msgstr "" -#: library/datetime.rst:2314 +#: library/datetime.rst:2311 msgid "Method of" msgstr "" -#: library/datetime.rst:2314 +#: library/datetime.rst:2311 msgid ":class:`date`; :class:`.datetime`; :class:`.time`" msgstr "" -#: library/datetime.rst:2314 +#: library/datetime.rst:2311 msgid ":class:`.datetime`" msgstr "" -#: library/datetime.rst:2316 +#: library/datetime.rst:2313 msgid "Signature" msgstr "" -#: library/datetime.rst:2316 +#: library/datetime.rst:2313 msgid "``strftime(format)``" msgstr "" -#: library/datetime.rst:2316 +#: library/datetime.rst:2313 msgid "``strptime(date_string, format)``" msgstr "" -#: library/datetime.rst:2321 +#: library/datetime.rst:2318 msgid ":meth:`strftime` and :meth:`strptime` Format Codes" msgstr "" -#: library/datetime.rst:2323 +#: library/datetime.rst:2320 +msgid "" +"These methods accept format codes that can be used to parse and format " +"dates::" +msgstr "" + +#: library/datetime.rst:2328 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:2430 +#: library/datetime.rst:2435 msgid "Directive" msgstr "" -#: library/datetime.rst:2430 +#: library/datetime.rst:2435 msgid "Meaning" msgstr "" -#: library/datetime.rst:2430 +#: library/datetime.rst:2435 msgid "Example" msgstr "" -#: library/datetime.rst:2430 +#: library/datetime.rst:2435 msgid "Notes" msgstr "" -#: library/datetime.rst:2329 +#: library/datetime.rst:2334 msgid "``%a``" msgstr "" -#: library/datetime.rst:2329 +#: library/datetime.rst:2334 msgid "Weekday as locale's abbreviated name." msgstr "" @@ -2509,11 +2517,11 @@ msgstr "" msgid "So, Mo, ..., Sa (de_DE)" msgstr "" -#: library/datetime.rst:2334 +#: library/datetime.rst:2339 msgid "``%A``" msgstr "" -#: library/datetime.rst:2334 +#: library/datetime.rst:2339 msgid "Weekday as locale's full name." msgstr "" @@ -2525,40 +2533,40 @@ msgstr "" msgid "Sonntag, Montag, ..., Samstag (de_DE)" msgstr "" -#: library/datetime.rst:2339 +#: library/datetime.rst:2344 msgid "``%w``" msgstr "" -#: library/datetime.rst:2339 +#: library/datetime.rst:2344 msgid "Weekday as a decimal number, where 0 is Sunday and 6 is Saturday." msgstr "" -#: library/datetime.rst:2339 +#: library/datetime.rst:2344 msgid "0, 1, ..., 6" msgstr "" -#: library/datetime.rst:2343 +#: library/datetime.rst:2348 msgid "``%d``" msgstr "" -#: library/datetime.rst:2343 +#: library/datetime.rst:2348 msgid "Day of the month as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2343 +#: library/datetime.rst:2348 msgid "01, 02, ..., 31" msgstr "" -#: library/datetime.rst:2356 library/datetime.rst:2365 -#: library/datetime.rst:2374 library/datetime.rst:2392 +#: library/datetime.rst:2361 library/datetime.rst:2370 +#: library/datetime.rst:2379 library/datetime.rst:2397 msgid "\\(9)" msgstr "" -#: library/datetime.rst:2346 +#: library/datetime.rst:2351 msgid "``%b``" msgstr "" -#: library/datetime.rst:2346 +#: library/datetime.rst:2351 msgid "Month as locale's abbreviated name." msgstr "" @@ -2570,11 +2578,11 @@ msgstr "" msgid "Jan, Feb, ..., Dez (de_DE)" msgstr "" -#: library/datetime.rst:2351 +#: library/datetime.rst:2356 msgid "``%B``" msgstr "" -#: library/datetime.rst:2351 +#: library/datetime.rst:2356 msgid "Month as locale's full name." msgstr "" @@ -2586,67 +2594,67 @@ msgstr "" msgid "Januar, Februar, ..., Dezember (de_DE)" msgstr "" -#: library/datetime.rst:2356 +#: library/datetime.rst:2361 msgid "``%m``" msgstr "" -#: library/datetime.rst:2356 +#: library/datetime.rst:2361 msgid "Month as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2368 +#: library/datetime.rst:2373 msgid "01, 02, ..., 12" msgstr "" -#: library/datetime.rst:2359 +#: library/datetime.rst:2364 msgid "``%y``" msgstr "" -#: library/datetime.rst:2359 +#: library/datetime.rst:2364 msgid "Year without century as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2359 +#: library/datetime.rst:2364 msgid "00, 01, ..., 99" msgstr "" -#: library/datetime.rst:2362 +#: library/datetime.rst:2367 msgid "``%Y``" msgstr "" -#: library/datetime.rst:2362 +#: library/datetime.rst:2367 msgid "Year with century as a decimal number." msgstr "" -#: library/datetime.rst:2432 +#: library/datetime.rst:2437 msgid "0001, 0002, ..., 2013, 2014, ..., 9998, 9999" msgstr "" -#: library/datetime.rst:2365 +#: library/datetime.rst:2370 msgid "``%H``" msgstr "" -#: library/datetime.rst:2365 +#: library/datetime.rst:2370 msgid "Hour (24-hour clock) as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2365 +#: library/datetime.rst:2370 msgid "00, 01, ..., 23" msgstr "" -#: library/datetime.rst:2368 +#: library/datetime.rst:2373 msgid "``%I``" msgstr "" -#: library/datetime.rst:2368 +#: library/datetime.rst:2373 msgid "Hour (12-hour clock) as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2371 +#: library/datetime.rst:2376 msgid "``%p``" msgstr "" -#: library/datetime.rst:2371 +#: library/datetime.rst:2376 msgid "Locale's equivalent of either AM or PM." msgstr "" @@ -2658,127 +2666,127 @@ msgstr "" msgid "am, pm (de_DE)" msgstr "" -#: library/datetime.rst:2371 +#: library/datetime.rst:2376 msgid "\\(1), \\(3)" msgstr "" -#: library/datetime.rst:2374 +#: library/datetime.rst:2379 msgid "``%M``" msgstr "" -#: library/datetime.rst:2374 +#: library/datetime.rst:2379 msgid "Minute as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2377 +#: library/datetime.rst:2382 msgid "00, 01, ..., 59" msgstr "" -#: library/datetime.rst:2377 +#: library/datetime.rst:2382 msgid "``%S``" msgstr "" -#: library/datetime.rst:2377 +#: library/datetime.rst:2382 msgid "Second as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2377 +#: library/datetime.rst:2382 msgid "\\(4), \\(9)" msgstr "" -#: library/datetime.rst:2380 +#: library/datetime.rst:2385 msgid "``%f``" msgstr "" -#: library/datetime.rst:2380 +#: library/datetime.rst:2385 msgid "Microsecond as a decimal number, zero-padded to 6 digits." msgstr "" -#: library/datetime.rst:2380 +#: library/datetime.rst:2385 msgid "000000, 000001, ..., 999999" msgstr "" -#: library/datetime.rst:2380 +#: library/datetime.rst:2385 msgid "\\(5)" msgstr "" -#: library/datetime.rst:2548 +#: library/datetime.rst:2550 msgid "``%z``" msgstr "" -#: library/datetime.rst:2384 +#: library/datetime.rst:2389 msgid "" "UTC offset in the form ``±HHMM[SS[.ffffff]]`` (empty string if the object is " "naive)." msgstr "" -#: library/datetime.rst:2384 +#: library/datetime.rst:2389 msgid "(empty), +0000, -0400, +1030, +063415, -030712.345216" msgstr "" -#: library/datetime.rst:2389 +#: library/datetime.rst:2394 msgid "\\(6)" msgstr "" -#: library/datetime.rst:2572 +#: library/datetime.rst:2574 msgid "``%Z``" msgstr "" -#: library/datetime.rst:2389 +#: library/datetime.rst:2394 msgid "Time zone name (empty string if the object is naive)." msgstr "" -#: library/datetime.rst:2389 +#: library/datetime.rst:2394 msgid "(empty), UTC, GMT" msgstr "" -#: library/datetime.rst:2392 +#: library/datetime.rst:2397 msgid "``%j``" msgstr "" -#: library/datetime.rst:2392 +#: library/datetime.rst:2397 msgid "Day of the year as a zero-padded decimal number." msgstr "" -#: library/datetime.rst:2392 +#: library/datetime.rst:2397 msgid "001, 002, ..., 366" msgstr "" -#: library/datetime.rst:2395 +#: library/datetime.rst:2400 msgid "``%U``" msgstr "" -#: library/datetime.rst:2395 +#: library/datetime.rst:2400 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:2403 +#: library/datetime.rst:2408 msgid "00, 01, ..., 53" msgstr "" -#: library/datetime.rst:2403 +#: library/datetime.rst:2408 msgid "\\(7), \\(9)" msgstr "" -#: library/datetime.rst:2403 +#: library/datetime.rst:2408 msgid "``%W``" msgstr "" -#: library/datetime.rst:2403 +#: library/datetime.rst:2408 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:2411 +#: library/datetime.rst:2416 msgid "``%c``" msgstr "" -#: library/datetime.rst:2411 +#: library/datetime.rst:2416 msgid "Locale's appropriate date and time representation." msgstr "" @@ -2790,11 +2798,11 @@ msgstr "" msgid "Di 16 Aug 21:30:00 1988 (de_DE)" msgstr "" -#: library/datetime.rst:2416 +#: library/datetime.rst:2421 msgid "``%x``" msgstr "" -#: library/datetime.rst:2416 +#: library/datetime.rst:2421 msgid "Locale's appropriate date representation." msgstr "" @@ -2810,11 +2818,11 @@ msgstr "" msgid "16.08.1988 (de_DE)" msgstr "" -#: library/datetime.rst:2420 +#: library/datetime.rst:2425 msgid "``%X``" msgstr "" -#: library/datetime.rst:2420 +#: library/datetime.rst:2425 msgid "Locale's appropriate time representation." msgstr "" @@ -2826,69 +2834,69 @@ msgstr "" msgid "21:30:00 (de_DE)" msgstr "" -#: library/datetime.rst:2423 +#: library/datetime.rst:2428 msgid "``%%``" msgstr "" -#: library/datetime.rst:2423 +#: library/datetime.rst:2428 msgid "A literal ``'%'`` character." msgstr "" -#: library/datetime.rst:2423 +#: library/datetime.rst:2428 msgid "%" msgstr "" -#: library/datetime.rst:2426 +#: library/datetime.rst:2431 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:2432 +#: library/datetime.rst:2437 msgid "``%G``" msgstr "" -#: library/datetime.rst:2432 +#: library/datetime.rst:2437 msgid "" "ISO 8601 year with century representing the year that contains the greater " "part of the ISO week (``%V``)." msgstr "" -#: library/datetime.rst:2432 +#: library/datetime.rst:2437 msgid "\\(8)" msgstr "" -#: library/datetime.rst:2437 +#: library/datetime.rst:2442 msgid "``%u``" msgstr "" -#: library/datetime.rst:2437 +#: library/datetime.rst:2442 msgid "ISO 8601 weekday as a decimal number where 1 is Monday." msgstr "" -#: library/datetime.rst:2437 +#: library/datetime.rst:2442 msgid "1, 2, ..., 7" msgstr "" -#: library/datetime.rst:2440 +#: library/datetime.rst:2445 msgid "``%V``" msgstr "" -#: library/datetime.rst:2440 +#: library/datetime.rst:2445 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:2440 +#: library/datetime.rst:2445 msgid "01, 02, ..., 53" msgstr "" -#: library/datetime.rst:2440 +#: library/datetime.rst:2445 msgid "\\(8), \\(9)" msgstr "" -#: library/datetime.rst:2447 +#: library/datetime.rst:2452 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 " @@ -2897,7 +2905,7 @@ msgid "" "a :exc:`ValueError`." msgstr "" -#: library/datetime.rst:2452 +#: library/datetime.rst:2457 msgid "" "The full set of format codes supported varies across platforms, because " "Python calls the platform C library's :func:`strftime` function, and " @@ -2907,40 +2915,40 @@ msgid "" "unsupported format specifiers." msgstr "" -#: library/datetime.rst:2458 +#: library/datetime.rst:2463 msgid "``%G``, ``%u`` and ``%V`` were added." msgstr "" -#: library/datetime.rst:2462 +#: library/datetime.rst:2467 msgid "Technical Detail" msgstr "" -#: library/datetime.rst:2464 +#: library/datetime.rst:2469 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:2468 +#: library/datetime.rst:2473 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:2472 +#: library/datetime.rst:2477 msgid "Using ``datetime.strptime(date_string, format)`` is equivalent to::" msgstr "" -#: library/datetime.rst:2476 +#: library/datetime.rst:2481 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:2480 +#: library/datetime.rst:2485 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 " @@ -2948,14 +2956,14 @@ msgid "" "day." msgstr "" -#: library/datetime.rst:2484 +#: library/datetime.rst:2489 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:2488 +#: library/datetime.rst:2493 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 " @@ -2964,48 +2972,45 @@ msgid "" "`UnicodeError` or return an empty string instead." msgstr "" -#: library/datetime.rst:2497 +#: library/datetime.rst:2502 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 " "example, \"month/day/year\" versus \"day/month/year\"), and the output may " -"contain Unicode characters encoded using the locale's default encoding (for " -"example, if the current locale is ``ja_JP``, the default encoding could be " -"any one of ``eucJP``, ``SJIS``, or ``utf-8``; use :meth:`locale.getlocale` " -"to determine the current locale's encoding)." +"contain non-ASCII characters." msgstr "" -#: library/datetime.rst:2506 +#: library/datetime.rst:2508 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:2509 +#: library/datetime.rst:2511 msgid "" "In previous versions, :meth:`strftime` method was restricted to years >= " "1900." msgstr "" -#: library/datetime.rst:2513 +#: library/datetime.rst:2515 msgid "" "In version 3.2, :meth:`strftime` method was restricted to years >= 1000." msgstr "" -#: library/datetime.rst:2518 +#: library/datetime.rst:2520 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:2522 +#: library/datetime.rst:2524 msgid "" "Unlike the :mod:`time` module, the :mod:`datetime` module does not support " "leap seconds." msgstr "" -#: library/datetime.rst:2526 +#: library/datetime.rst:2528 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 " @@ -3013,17 +3018,17 @@ msgid "" "in datetime objects, and therefore always available)." msgstr "" -#: library/datetime.rst:2533 +#: library/datetime.rst:2535 msgid "" "For a naive object, the ``%z`` and ``%Z`` format codes are replaced by empty " "strings." msgstr "" -#: library/datetime.rst:2536 +#: library/datetime.rst:2538 msgid "For an aware object:" msgstr "" -#: library/datetime.rst:2539 +#: library/datetime.rst:2541 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 " @@ -3037,7 +3042,7 @@ msgid "" "``'-0330'``." msgstr "" -#: library/datetime.rst:2553 +#: library/datetime.rst:2555 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 " @@ -3045,47 +3050,47 @@ msgid "" "hour. In addition, providing ``'Z'`` is identical to ``'+00:00'``." msgstr "" -#: library/datetime.rst:2561 +#: library/datetime.rst:2563 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:2565 +#: library/datetime.rst:2567 msgid ":meth:`strptime` only accepts certain values for ``%Z``:" msgstr "" -#: library/datetime.rst:2567 +#: library/datetime.rst:2569 msgid "any value in ``time.tzname`` for your machine's locale" msgstr "" -#: library/datetime.rst:2568 +#: library/datetime.rst:2570 msgid "the hard-coded values ``UTC`` and ``GMT``" msgstr "" -#: library/datetime.rst:2570 +#: library/datetime.rst:2572 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:2574 +#: library/datetime.rst:2576 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:2580 +#: library/datetime.rst:2582 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:2585 +#: library/datetime.rst:2587 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:" @@ -3093,22 +3098,22 @@ msgid "" "interchangeable." msgstr "" -#: library/datetime.rst:2591 +#: library/datetime.rst:2593 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:2596 +#: library/datetime.rst:2598 msgid "Footnotes" msgstr "" -#: library/datetime.rst:2597 +#: library/datetime.rst:2599 msgid "If, that is, we ignore the effects of Relativity" msgstr "" -#: library/datetime.rst:2599 +#: library/datetime.rst:2601 msgid "" "This matches the definition of the \"proleptic Gregorian\" calendar in " "Dershowitz and Reingold's book *Calendrical Calculations*, where it's the " @@ -3117,15 +3122,23 @@ msgid "" "systems." msgstr "" -#: library/datetime.rst:2605 +#: library/datetime.rst:2607 msgid "" "See R. H. van Gent's `guide to the mathematics of the ISO 8601 calendar " "`_ for a good explanation." msgstr "" -#: library/datetime.rst:2609 +#: library/datetime.rst:2611 msgid "" "Passing ``datetime.strptime('Feb 29', '%b %d')`` will fail since ``1900`` is " "not a leap year." msgstr "" + +#: library/datetime.rst:2285 +msgid "% (percent)" +msgstr "" + +#: library/datetime.rst:2285 +msgid "datetime format" +msgstr "" diff --git a/library/dbm.po b/library/dbm.po index 510055282..f5fb38f3d 100644 --- a/library/dbm.po +++ b/library/dbm.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -441,3 +441,7 @@ msgstr "" #: library/dbm.rst:407 msgid "Close the ``dumbdbm`` database." msgstr "" + +#: library/dbm.rst:325 +msgid "databases" +msgstr "" diff --git a/library/dis.po b/library/dis.po index 7720b8f5c..a81c6396b 100644 --- a/library/dis.po +++ b/library/dis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1045,8 +1045,8 @@ msgstr "" #: library/dis.rst:1091 msgid "" -"Creates a new cell in slot ``i``. If that slot is empty then that value is " -"stored into the new cell." +"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:1099 @@ -1419,3 +1419,11 @@ msgstr "" #: library/dis.rst:1432 msgid "Sequence of bytecodes of Boolean operations." msgstr "" + +#: library/dis.rst:1271 +msgid "built-in function" +msgstr "" + +#: library/dis.rst:1271 +msgid "slice" +msgstr "" diff --git a/library/doctest.po b/library/doctest.po index 98c0b3904..414082058 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2039,3 +2039,43 @@ msgid "" "Trying to guess where one ends and the other begins is too error-prone, and " "that also makes for a confusing test." msgstr "" + +#: library/doctest.rst:318 +msgid ">>>" +msgstr "" + +#: library/doctest.rst:318 +msgid "interpreter prompt" +msgstr "" + +#: library/doctest.rst:554 +msgid "..." +msgstr "" + +#: library/doctest.rst:482 +msgid "^ (caret)" +msgstr "" + +#: library/doctest.rst:482 +msgid "marker" +msgstr "" + +#: library/doctest.rst:534 +msgid "" +msgstr "" + +#: library/doctest.rst:684 +msgid "in doctests" +msgstr "" + +#: library/doctest.rst:684 +msgid "# (hash)" +msgstr "" + +#: library/doctest.rst:684 +msgid "+ (plus)" +msgstr "" + +#: library/doctest.rst:684 +msgid "- (minus)" +msgstr "" diff --git a/library/enum.po b/library/enum.po index b4cb23903..20fec7e40 100644 --- a/library/enum.po +++ b/library/enum.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -253,40 +253,40 @@ msgstr "" #: library/enum.rst:143 msgid "" "Modify the :class:`str() ` and :func:`repr` of an enum to show its " -"members as belonging to the module instead of its class. Should only be used " -"if the enum members will be exported to the module global namespace." +"members as belonging to the module instead of its class, and export the enum " +"members to the global namespace." msgstr "" -#: library/enum.rst:148 +#: library/enum.rst:147 msgid ":func:`show_flag_values`" msgstr "" -#: library/enum.rst:150 +#: library/enum.rst:149 msgid "Return a list of all power-of-two integers contained in a flag." msgstr "" -#: library/enum.rst:153 +#: library/enum.rst:152 msgid "``Flag``, ``IntFlag``, ``auto``" msgstr "" -#: library/enum.rst:154 +#: library/enum.rst:153 msgid "" "``StrEnum``, ``EnumCheck``, ``ReprEnum``, ``FlagBoundary``, ``property``, " "``member``, ``nonmember``, ``global_enum``, ``show_flag_values``" msgstr "" -#: library/enum.rst:159 +#: library/enum.rst:158 msgid "Data Types" msgstr "" -#: library/enum.rst:164 +#: library/enum.rst:163 msgid "" "*EnumType* is the :term:`metaclass` for *enum* enumerations. It is possible " "to subclass *EnumType* -- see :ref:`Subclassing EnumType ` for details." msgstr "" -#: library/enum.rst:168 +#: library/enum.rst:167 msgid "" "*EnumType* is responsible for setting the correct :meth:`!__repr__`, :meth:`!" "__str__`, :meth:`!__format__`, and :meth:`!__reduce__` methods on the final " @@ -294,162 +294,164 @@ msgid "" "providing iteration over the enum class, etc." msgstr "" -#: library/enum.rst:175 -msgid "Returns ``True`` if member belongs to the ``cls``::" -msgstr "" - -#: library/enum.rst:183 -msgid "" -"In Python 3.12 it will be possible to check for member values and not just " -"members; until then, a ``TypeError`` will be raised if a non-Enum-member is " -"used in a containment check." +#: library/enum.rst:174 +msgid "This method is called in two different ways:" msgstr "" -#: library/enum.rst:189 -msgid "" -"Returns ``['__class__', '__doc__', '__members__', '__module__']`` and the " -"names of the members in *cls*::" +#: library/enum.rst:176 +msgid "to look up an existing member:" msgstr "" -#: library/enum.rst:197 -msgid "" -"Returns the Enum member in *cls* matching *name*, or raises an :exc:" -"`AttributeError`::" +#: library/enum.rst:0 +msgid "cls" msgstr "" -#: library/enum.rst:204 -msgid "" -"Returns the Enum member in *cls* matching *name*, or raises a :exc:" -"`KeyError`::" +#: library/enum.rst:184 +msgid "The enum class being called." msgstr "" -#: library/enum.rst:211 -msgid "Returns each member in *cls* in definition order::" +#: library/enum.rst:0 +msgid "value" msgstr "" -#: library/enum.rst:218 -msgid "Returns the number of member in *cls*::" +#: library/enum.rst:179 +msgid "The value to lookup." msgstr "" -#: library/enum.rst:225 -msgid "Returns each member in *cls* in reverse definition order::" +#: library/enum.rst:181 +msgid "" +"to use the ``cls`` enum to create a new enum (only if the existing enum does " +"not have any members):" msgstr "" -#: library/enum.rst:233 -msgid "*Enum* is the base class for all *enum* enumerations." +#: library/enum.rst:185 +msgid "The name of the new Enum to create." msgstr "" -#: library/enum.rst:237 -msgid "The name used to define the ``Enum`` member::" +#: library/enum.rst:0 +msgid "names" msgstr "" -#: library/enum.rst:244 -msgid "The value given to the ``Enum`` member::" +#: library/enum.rst:186 +msgid "The names/values of the members for the new Enum." msgstr "" -#: library/enum.rst:249 -msgid "Enum member values" +#: library/enum.rst:0 +msgid "module" msgstr "" -#: library/enum.rst:251 -msgid "" -"Member values can be anything: :class:`int`, :class:`str`, etc. If the " -"exact value is unimportant you may use :class:`auto` instances and an " -"appropriate value will be chosen for you. See :class:`auto` for the details." +#: library/enum.rst:187 +msgid "The name of the module the new Enum is created in." msgstr "" -#: library/enum.rst:258 -msgid "" -"``_ignore_`` is only used during creation and is removed from the " -"enumeration once creation is complete." +#: library/enum.rst:0 +msgid "qualname" msgstr "" -#: library/enum.rst:261 -msgid "" -"``_ignore_`` is a list of names that will not become members, and whose " -"names will also be removed from the completed enumeration. See :ref:" -"`TimePeriod ` for an example." +#: library/enum.rst:188 +msgid "The actual location in the module where this Enum can be found." msgstr "" -#: library/enum.rst:267 -msgid "This method is called in two different ways:" +#: library/enum.rst:0 +msgid "type" msgstr "" -#: library/enum.rst:269 -msgid "to look up an existing member:" +#: library/enum.rst:189 +msgid "A mix-in type for the new Enum." msgstr "" #: library/enum.rst:0 -msgid "cls" +msgid "start" msgstr "" -#: library/enum.rst:276 -msgid "The enum class being called." +#: library/enum.rst:190 +msgid "The first integer value for the Enum (used by :class:`auto`)." msgstr "" #: library/enum.rst:0 -msgid "value" +msgid "boundary" msgstr "" -#: library/enum.rst:272 -msgid "The value to lookup." +#: library/enum.rst:191 +msgid "" +"How to handle out-of-range values from bit operations (:class:`Flag` only)." msgstr "" -#: library/enum.rst:274 -msgid "to use the ``cls`` enum to create a new enum:" +#: library/enum.rst:195 +msgid "Returns ``True`` if member belongs to the ``cls``::" msgstr "" -#: library/enum.rst:277 -msgid "The name of the new Enum to create." +#: library/enum.rst:203 +msgid "" +"In Python 3.12 it will be possible to check for member values and not just " +"members; until then, a ``TypeError`` will be raised if a non-Enum-member is " +"used in a containment check." msgstr "" -#: library/enum.rst:0 -msgid "names" +#: library/enum.rst:209 +msgid "" +"Returns ``['__class__', '__doc__', '__members__', '__module__']`` and the " +"names of the members in *cls*::" msgstr "" -#: library/enum.rst:278 -msgid "The names/values of the members for the new Enum." +#: library/enum.rst:217 +msgid "" +"Returns the Enum member in *cls* matching *name*, or raises an :exc:" +"`AttributeError`::" msgstr "" -#: library/enum.rst:0 -msgid "module" +#: library/enum.rst:224 +msgid "" +"Returns the Enum member in *cls* matching *name*, or raises a :exc:" +"`KeyError`::" msgstr "" -#: library/enum.rst:279 -msgid "The name of the module the new Enum is created in." +#: library/enum.rst:231 +msgid "Returns each member in *cls* in definition order::" msgstr "" -#: library/enum.rst:0 -msgid "qualname" +#: library/enum.rst:238 +msgid "Returns the number of member in *cls*::" msgstr "" -#: library/enum.rst:280 -msgid "The actual location in the module where this Enum can be found." +#: library/enum.rst:245 +msgid "Returns each member in *cls* in reverse definition order::" msgstr "" -#: library/enum.rst:0 -msgid "type" +#: library/enum.rst:253 +msgid "*Enum* is the base class for all *enum* enumerations." msgstr "" -#: library/enum.rst:281 -msgid "A mix-in type for the new Enum." +#: library/enum.rst:257 +msgid "The name used to define the ``Enum`` member::" msgstr "" -#: library/enum.rst:0 -msgid "start" +#: library/enum.rst:264 +msgid "The value given to the ``Enum`` member::" msgstr "" -#: library/enum.rst:282 -msgid "The first integer value for the Enum (used by :class:`auto`)." +#: library/enum.rst:269 +msgid "Enum member values" msgstr "" -#: library/enum.rst:0 -msgid "boundary" +#: library/enum.rst:271 +msgid "" +"Member values can be anything: :class:`int`, :class:`str`, etc. If the " +"exact value is unimportant you may use :class:`auto` instances and an " +"appropriate value will be chosen for you. See :class:`auto` for the details." msgstr "" -#: library/enum.rst:283 +#: library/enum.rst:278 msgid "" -"How to handle out-of-range values from bit operations (:class:`Flag` only)." +"``_ignore_`` is only used during creation and is removed from the " +"enumeration once creation is complete." +msgstr "" + +#: library/enum.rst:281 +msgid "" +"``_ignore_`` is a list of names that will not become members, and whose " +"names will also be removed from the completed enumeration. See :ref:" +"`TimePeriod ` for an example." msgstr "" #: library/enum.rst:287 @@ -536,20 +538,20 @@ msgid "" "enumeration status." msgstr "" -#: library/enum.rst:422 +#: library/enum.rst:423 msgid "" "Using :class:`auto` with :class:`IntEnum` results in integers of increasing " "value, starting with ``1``." msgstr "" -#: library/enum.rst:425 +#: library/enum.rst:426 msgid "" ":meth:`~object.__str__` is now :meth:`!int.__str__` to better support the " "*replacement of existing constants* use-case. :meth:`~object.__format__` was " "already :meth:`!int.__format__` for that same reason." msgstr "" -#: library/enum.rst:432 +#: library/enum.rst:433 msgid "" "*StrEnum* is the same as *Enum*, but its members are also strings and can be " "used in most of the same places that a string can be used. The result of " @@ -557,7 +559,7 @@ msgid "" "the enumeration." msgstr "" -#: library/enum.rst:438 +#: library/enum.rst:439 msgid "" "There are places in the stdlib that check for an exact :class:`str` instead " "of a :class:`str` subclass (i.e. ``type(unknown) == str`` instead of " @@ -565,284 +567,285 @@ msgid "" "``str(StrEnum.member)``." msgstr "" -#: library/enum.rst:445 +#: library/enum.rst:446 msgid "" "Using :class:`auto` with :class:`StrEnum` results in the lower-cased member " "name as the value." msgstr "" -#: library/enum.rst:450 +#: library/enum.rst:451 msgid "" ":meth:`~object.__str__` is :meth:`!str.__str__` to better support the " "*replacement of existing constants* use-case. :meth:`~object.__format__` is " "likewise :meth:`!str.__format__` for that same reason." msgstr "" -#: library/enum.rst:458 +#: library/enum.rst:459 msgid "" "*Flag* members support the bitwise operators ``&`` (*AND*), ``|`` (*OR*), " "``^`` (*XOR*), and ``~`` (*INVERT*); the results of those operators are " "members of the enumeration." msgstr "" -#: library/enum.rst:464 +#: library/enum.rst:465 msgid "Returns *True* if value is in self::" msgstr "" -#: library/enum.rst:484 +#: library/enum.rst:485 msgid "Returns all contained non-alias members::" msgstr "" -#: library/enum.rst:493 +#: library/enum.rst:494 msgid "Aliases are no longer returned during iteration." msgstr "" -#: library/enum.rst:497 +#: library/enum.rst:498 msgid "Returns number of members in flag::" msgstr "" -#: library/enum.rst:506 +#: library/enum.rst:507 msgid "Returns *True* if any members in flag, *False* otherwise::" msgstr "" -#: library/enum.rst:518 +#: library/enum.rst:519 msgid "Returns current flag binary or'ed with other::" msgstr "" -#: library/enum.rst:525 +#: library/enum.rst:526 msgid "Returns current flag binary and'ed with other::" msgstr "" -#: library/enum.rst:534 +#: library/enum.rst:535 msgid "Returns current flag binary xor'ed with other::" msgstr "" -#: library/enum.rst:543 +#: library/enum.rst:544 msgid "Returns all the flags in *type(self)* that are not in self::" msgstr "" -#: library/enum.rst:554 +#: library/enum.rst:555 msgid "" "Function used to format any remaining unnamed numeric values. Default is " "the value's repr; common choices are :func:`hex` and :func:`oct`." msgstr "" -#: library/enum.rst:559 +#: library/enum.rst:560 msgid "" "Using :class:`auto` with :class:`Flag` results in integers that are powers " "of two, starting with ``1``." msgstr "" -#: library/enum.rst:562 +#: library/enum.rst:563 msgid "The *repr()* of zero-valued flags has changed. It is now::" msgstr "" -#: library/enum.rst:570 +#: library/enum.rst:571 msgid "" "*IntFlag* is the same as *Flag*, but its members are also integers and can " "be used anywhere that an integer can be used." msgstr "" -#: library/enum.rst:583 +#: library/enum.rst:584 msgid "" "If any integer operation is performed with an *IntFlag* member, the result " "is not an *IntFlag*::" msgstr "" -#: library/enum.rst:589 +#: library/enum.rst:590 msgid "If a *Flag* operation is performed with an *IntFlag* member and:" msgstr "" -#: library/enum.rst:591 +#: library/enum.rst:592 msgid "the result is a valid *IntFlag*: an *IntFlag* is returned" msgstr "" -#: library/enum.rst:592 +#: library/enum.rst:593 msgid "" "the result is not a valid *IntFlag*: the result depends on the " "*FlagBoundary* setting" msgstr "" -#: library/enum.rst:594 +#: library/enum.rst:595 msgid "The *repr()* of unnamed zero-valued flags has changed. It is now:" msgstr "" -#: library/enum.rst:601 +#: library/enum.rst:602 msgid "" "Using :class:`auto` with :class:`IntFlag` results in integers that are " "powers of two, starting with ``1``." msgstr "" -#: library/enum.rst:606 +#: library/enum.rst:607 msgid "" ":meth:`~object.__str__` is now :meth:`!int.__str__` to better support the " "*replacement of existing constants* use-case. :meth:`~object.__format__` " "was already :meth:`!int.__format__` for that same reason." msgstr "" -#: library/enum.rst:610 +#: library/enum.rst:611 msgid "" "Inversion of an :class:`!IntFlag` now returns a positive value that is the " "union of all flags not in the given flag, rather than a negative value. This " "matches the existing :class:`Flag` behavior." msgstr "" -#: library/enum.rst:616 +#: library/enum.rst:617 msgid "" ":class:`!ReprEnum` uses the :meth:`repr() ` of :class:`Enum`, " "but the :class:`str() ` of the mixed-in data type:" msgstr "" -#: library/enum.rst:619 +#: library/enum.rst:620 msgid ":meth:`!int.__str__` for :class:`IntEnum` and :class:`IntFlag`" msgstr "" -#: library/enum.rst:620 +#: library/enum.rst:621 msgid ":meth:`!str.__str__` for :class:`StrEnum`" msgstr "" -#: library/enum.rst:622 +#: library/enum.rst:623 msgid "" "Inherit from :class:`!ReprEnum` to keep the :class:`str() ` / :func:" "`format` of the mixed-in data type instead of using the :class:`Enum`-" "default :meth:`str() `." msgstr "" -#: library/enum.rst:631 +#: library/enum.rst:632 msgid "" "*EnumCheck* contains the options used by the :func:`verify` decorator to " "ensure various constraints; failed constraints result in a :exc:`ValueError`." msgstr "" -#: library/enum.rst:636 +#: library/enum.rst:637 msgid "Ensure that each value has only one name::" msgstr "" -#: library/enum.rst:652 +#: library/enum.rst:653 msgid "" "Ensure that there are no missing values between the lowest-valued member and " "the highest-valued member::" msgstr "" -#: library/enum.rst:667 +#: library/enum.rst:668 msgid "" "Ensure that any flag groups/masks contain only named flags -- useful when " "values are specified instead of being generated by :func:`auto`::" msgstr "" -#: library/enum.rst:684 +#: library/enum.rst:685 msgid "" "CONTINUOUS and NAMED_FLAGS are designed to work with integer-valued members." msgstr "" -#: library/enum.rst:690 +#: library/enum.rst:691 msgid "" "*FlagBoundary* controls how out-of-range values are handled in *Flag* and " "its subclasses." msgstr "" -#: library/enum.rst:695 -msgid "Out-of-range values cause a :exc:`ValueError` to be raised::" +#: library/enum.rst:696 +msgid "" +"Out-of-range values cause a :exc:`ValueError` to be raised. This is the " +"default for :class:`Flag`::" msgstr "" -#: library/enum.rst:711 +#: library/enum.rst:713 msgid "" "Out-of-range values have invalid values removed, leaving a valid *Flag* " -"value. This is the default for :class:`Flag`::" +"value::" msgstr "" -#: library/enum.rst:724 +#: library/enum.rst:726 msgid "" -"Out-of-range values lose their *Flag* membership and revert to :class:`int`. " -"This is the default for :class:`IntFlag`::" +"Out-of-range values lose their *Flag* membership and revert to :class:`int`." msgstr "" -#: library/enum.rst:737 +#: library/enum.rst:738 msgid "" -"Out-of-range values are kept, and the *Flag* membership is kept. This is " -"used for some stdlib flags::" +"Out-of-range values are kept, and the *Flag* membership is kept. This is the " +"default for :class:`IntFlag`::" msgstr "" -#: library/enum.rst:753 +#: library/enum.rst:754 msgid "Supported ``__dunder__`` names" msgstr "" -#: library/enum.rst:755 +#: library/enum.rst:756 msgid "" ":attr:`~EnumType.__members__` is a read-only ordered mapping of " "``member_name``:``member`` items. It is only available on the class." msgstr "" -#: library/enum.rst:758 +#: library/enum.rst:759 msgid "" ":meth:`~object.__new__`, if specified, must create and return the enum " "members; it is also a very good idea to set the member's :attr:`!_value_` " "appropriately. Once all the members are created it is no longer used." msgstr "" -#: library/enum.rst:764 +#: library/enum.rst:765 msgid "Supported ``_sunder_`` names" msgstr "" -#: library/enum.rst:766 +#: library/enum.rst:767 msgid "``_name_`` -- name of the member" msgstr "" -#: library/enum.rst:767 +#: library/enum.rst:768 msgid "" "``_value_`` -- value of the member; can be set / modified in ``__new__``" msgstr "" -#: library/enum.rst:769 +#: library/enum.rst:770 msgid "" "``_missing_`` -- a lookup function used when a value is not found; may be " "overridden" msgstr "" -#: library/enum.rst:771 +#: library/enum.rst:772 msgid "" "``_ignore_`` -- a list of names, either as a :class:`list` or a :class:" "`str`, that will not be transformed into members, and will be removed from " "the final class" msgstr "" -#: library/enum.rst:774 +#: library/enum.rst:775 msgid "" "``_order_`` -- used in Python 2/3 code to ensure member order is consistent " "(class attribute, removed during class creation)" msgstr "" -#: library/enum.rst:776 +#: library/enum.rst:777 msgid "" "``_generate_next_value_`` -- used to get an appropriate value for an enum " "member; may be overridden" msgstr "" -#: library/enum.rst:781 +#: library/enum.rst:782 msgid "" "For standard :class:`Enum` classes the next value chosen is the last value " "seen incremented by one." msgstr "" -#: library/enum.rst:784 +#: library/enum.rst:785 msgid "" "For :class:`Flag` classes the next value chosen will be the next highest " "power-of-two, regardless of the last value seen." msgstr "" -#: library/enum.rst:787 +#: library/enum.rst:788 msgid "``_missing_``, ``_order_``, ``_generate_next_value_``" msgstr "" -#: library/enum.rst:788 +#: library/enum.rst:789 msgid "``_ignore_``" msgstr "" -#: library/enum.rst:793 +#: library/enum.rst:794 msgid "Utilities and Decorators" msgstr "" -#: library/enum.rst:797 +#: library/enum.rst:798 msgid "" "*auto* can be used in place of a value. If used, the *Enum* machinery will " "call an *Enum*'s :meth:`~Enum._generate_next_value_` to get an appropriate " @@ -853,58 +856,58 @@ msgid "" "manually specified values." msgstr "" -#: library/enum.rst:805 +#: library/enum.rst:806 msgid "" "*auto* instances are only resolved when at the top level of an assignment:" msgstr "" -#: library/enum.rst:807 +#: library/enum.rst:808 msgid "``FIRST = auto()`` will work (auto() is replaced with ``1``);" msgstr "" -#: library/enum.rst:808 +#: library/enum.rst:809 msgid "" "``SECOND = auto(), -2`` will work (auto is replaced with ``2``, so ``2, -2`` " "is" msgstr "" -#: library/enum.rst:809 +#: library/enum.rst:810 msgid "used to create the ``SECOND`` enum member;" msgstr "" -#: library/enum.rst:810 +#: library/enum.rst:811 msgid "" "``THREE = [auto(), -3]`` will *not* work (``, -3`` is used to " "create the ``THREE`` enum member)" msgstr "" -#: library/enum.rst:815 +#: library/enum.rst:816 msgid "" "In prior versions, ``auto()`` had to be the only thing on the assignment " "line to work properly." msgstr "" -#: library/enum.rst:818 +#: library/enum.rst:819 msgid "" "``_generate_next_value_`` can be overridden to customize the values used by " "*auto*." msgstr "" -#: library/enum.rst:821 +#: library/enum.rst:822 msgid "" "in 3.13 the default ``_generate_next_value_`` will always return the highest " "member value incremented by 1, and will fail if any member is an " "incompatible type." msgstr "" -#: library/enum.rst:827 +#: library/enum.rst:828 msgid "" "A decorator similar to the built-in *property*, but specifically for " "enumerations. It allows member attributes to have the same names as members " "themselves." msgstr "" -#: library/enum.rst:831 +#: library/enum.rst:832 msgid "" "the *property* and the member must be defined in separate classes; for " "example, the *value* and *name* attributes are defined in the *Enum* class, " @@ -912,29 +915,29 @@ msgid "" "``name``." msgstr "" -#: library/enum.rst:840 +#: library/enum.rst:841 msgid "" "A :keyword:`class` decorator specifically for enumerations. It searches an " "enumeration's :attr:`~EnumType.__members__`, gathering any aliases it finds; " "if any are found :exc:`ValueError` is raised with the details::" msgstr "" -#: library/enum.rst:858 +#: library/enum.rst:859 msgid "" "A :keyword:`class` decorator specifically for enumerations. Members from :" "class:`EnumCheck` are used to specify which constraints should be checked on " "the decorated enumeration." msgstr "" -#: library/enum.rst:866 +#: library/enum.rst:867 msgid "A decorator for use in enums: its target will become a member." msgstr "" -#: library/enum.rst:872 +#: library/enum.rst:873 msgid "A decorator for use in enums: its target will not become a member." msgstr "" -#: library/enum.rst:878 +#: library/enum.rst:879 msgid "" "A decorator to change the :class:`str() ` and :func:`repr` of an enum " "to show its members as belonging to the module instead of its class. Should " @@ -942,40 +945,40 @@ msgid "" "namespace (see :class:`re.RegexFlag` for an example)." msgstr "" -#: library/enum.rst:888 +#: library/enum.rst:889 msgid "Return a list of all power-of-two integers contained in a flag *value*." msgstr "" -#: library/enum.rst:895 +#: library/enum.rst:896 msgid "Notes" msgstr "" -#: library/enum.rst:897 +#: library/enum.rst:898 msgid ":class:`IntEnum`, :class:`StrEnum`, and :class:`IntFlag`" msgstr "" -#: library/enum.rst:899 +#: library/enum.rst:900 msgid "" "These three enum types are designed to be drop-in replacements for existing " "integer- and string-based values; as such, they have extra limitations:" msgstr "" -#: library/enum.rst:902 +#: library/enum.rst:903 msgid "``__str__`` uses the value and not the name of the enum member" msgstr "" -#: library/enum.rst:904 +#: library/enum.rst:905 msgid "" "``__format__``, because it uses ``__str__``, will also use the value of the " "enum member instead of its name" msgstr "" -#: library/enum.rst:907 +#: library/enum.rst:908 msgid "" "If you do not need/want those limitations, you can either create your own " "base class by mixing in the ``int`` or ``str`` type yourself::" msgstr "" -#: library/enum.rst:914 +#: library/enum.rst:915 msgid "or you can reassign the appropriate :meth:`str`, etc., in your enum::" msgstr "" diff --git a/library/exceptions.po b/library/exceptions.po index 0f2b35e94..50a4fe6e8 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1109,3 +1109,31 @@ msgstr "" #: library/exceptions.rst:999 msgid "The class hierarchy for built-in exceptions is:" msgstr "" + +#: library/exceptions.rst:17 library/exceptions.rst:178 +msgid "statement" +msgstr "" + +#: library/exceptions.rst:6 +msgid "try" +msgstr "" + +#: library/exceptions.rst:6 +msgid "except" +msgstr "" + +#: library/exceptions.rst:17 +msgid "raise" +msgstr "" + +#: library/exceptions.rst:178 +msgid "assert" +msgstr "" + +#: library/exceptions.rst:321 +msgid "module" +msgstr "" + +#: library/exceptions.rst:321 +msgid "errno" +msgstr "" diff --git a/library/fcntl.po b/library/fcntl.po index dc0393bca..2afb92a14 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -287,3 +287,15 @@ msgid "" "present in the :mod:`os` module (on BSD only), the :func:`os.open` function " "provides an alternative to the :func:`lockf` and :func:`flock` functions." msgstr "" + +#: library/fcntl.rst:10 +msgid "UNIX" +msgstr "" + +#: library/fcntl.rst:10 +msgid "file control" +msgstr "" + +#: library/fcntl.rst:10 +msgid "I/O control" +msgstr "" diff --git a/library/fnmatch.po b/library/fnmatch.po index d69e47889..2c2bc2bcd 100644 --- a/library/fnmatch.po +++ b/library/fnmatch.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -139,3 +139,47 @@ msgstr "" #: library/fnmatch.rst:105 msgid "Unix shell-style path expansion." msgstr "" + +#: library/fnmatch.rst:9 +msgid "filenames" +msgstr "" + +#: library/fnmatch.rst:9 +msgid "wildcard expansion" +msgstr "" + +#: library/fnmatch.rst:41 +msgid "module" +msgstr "" + +#: library/fnmatch.rst:11 +msgid "re" +msgstr "" + +#: library/fnmatch.rst:19 +msgid "* (asterisk)" +msgstr "" + +#: library/fnmatch.rst:19 +msgid "in glob-style wildcards" +msgstr "" + +#: library/fnmatch.rst:19 +msgid "? (question mark)" +msgstr "" + +#: library/fnmatch.rst:19 +msgid "[] (square brackets)" +msgstr "" + +#: library/fnmatch.rst:19 +msgid "! (exclamation)" +msgstr "" + +#: library/fnmatch.rst:19 +msgid "- (minus)" +msgstr "" + +#: library/fnmatch.rst:41 +msgid "glob" +msgstr "" diff --git a/library/ftplib.po b/library/ftplib.po index 50e4c659a..ba62b89e4 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -467,3 +467,15 @@ msgstr "" #: library/ftplib.rst:467 msgid "Set up clear text data connection." msgstr "" + +#: library/ftplib.rst:9 +msgid "FTP" +msgstr "" + +#: library/ftplib.rst:9 +msgid "protocol" +msgstr "" + +#: library/ftplib.rst:9 +msgid "ftplib (standard module)" +msgstr "" diff --git a/library/functions.po b/library/functions.po index 30f49b6aa..b2ae95c8f 100644 --- a/library/functions.po +++ b/library/functions.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2023-03-08 10:13-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -494,7 +494,7 @@ msgstr "" "Eğer ön ek olarak \"0b\" isteniyorsa veya istenmiyorsa, aşağıdaki gibi iki " "şekilde de kullanabilirsiniz." -#: library/functions.rst:834 library/functions.rst:1151 +#: library/functions.rst:841 library/functions.rst:1158 msgid "See also :func:`format` for more information." msgstr "Ayrıca daha fazla bilgi için :func:`format` 'a bakabilirsiniz." @@ -514,7 +514,7 @@ msgstr "" "sınıfıdır (bkz. :ref:`typesnumeric`). Daha fazla alt sınıfa ayrılamaz. Bunun " "tek örnekleri ``False`` ve ``True`` 'dur (bkz. :ref:`bltin-boolean-values`)." -#: library/functions.rst:699 library/functions.rst:923 +#: library/functions.rst:706 library/functions.rst:930 msgid "*x* is now a positional-only parameter." msgstr "*x* artık yalnızca konumsal bir parametredir." @@ -541,7 +541,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:13 +#: library/functions.rst:171 +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 +msgid "" +"Note that this is not guaranteed if :func:`sys.breakpointhook` has been " +"replaced." +msgstr "" + +#: library/functions.rst:20 msgid "" "Raises an :ref:`auditing event ` ``builtins.breakpoint`` with " "argument ``breakpointhook``." @@ -549,7 +562,7 @@ msgstr "" "``breakpointhook`` parametresi ile :ref:`denetleme olayı ` " "``builtins.breakpoint`` ortaya çıkartır." -#: library/functions.rst:181 +#: library/functions.rst:188 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 " @@ -562,7 +575,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:186 +#: library/functions.rst:193 msgid "" "The optional *source* parameter can be used to initialize the array in a few " "different ways:" @@ -570,7 +583,7 @@ msgstr "" "Opsiyonel *source* parametresi diziyi birkaç farklı şekilde başlatmak için " "kullanılabilir:" -#: library/functions.rst:189 +#: library/functions.rst:196 msgid "" "If it is a *string*, you must also give the *encoding* (and optionally, " "*errors*) parameters; :func:`bytearray` then converts the string to bytes " @@ -580,14 +593,14 @@ msgstr "" "de vermelisiniz; sonrasında :func:`bytearray` :meth:`str.encode` kullanarak " "dizeyi bayta çevirecektir." -#: library/functions.rst:193 +#: library/functions.rst:200 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:196 +#: library/functions.rst:203 msgid "" "If it is an object conforming to the :ref:`buffer interface " "`, a read-only buffer of the object will be used to " @@ -596,7 +609,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:199 +#: library/functions.rst:206 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." @@ -604,15 +617,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:202 +#: library/functions.rst:209 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:204 +#: library/functions.rst:211 msgid "See also :ref:`binaryseq` and :ref:`typebytearray`." msgstr ":ref:`binaryseq` ve :ref:`typebytearray` 'a bakınız." -#: library/functions.rst:213 +#: library/functions.rst:220 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 :" @@ -624,24 +637,24 @@ msgstr "" "değiştirilemez versiyonudur. Aynı objeyi değiştirmeyen metotlara, indeksleme " "ve dilimleme davranışına sahiptir." -#: library/functions.rst:218 +#: library/functions.rst:225 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:220 +#: library/functions.rst:227 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:222 +#: library/functions.rst:229 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:227 +#: library/functions.rst:234 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 " @@ -656,7 +669,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:233 +#: library/functions.rst:240 msgid "" "This function was first removed in Python 3.0 and then brought back in " "Python 3.2." @@ -664,7 +677,7 @@ msgstr "" "Bu fonksiyon Python 3.0 versiyonunda kaldırılmıştı ama Python 3.2 " "versiyonunda geri getirildi." -#: library/functions.rst:240 +#: library/functions.rst:247 msgid "" "Return the string representing a character whose Unicode code point is the " "integer *i*. For example, ``chr(97)`` returns the string ``'a'``, while " @@ -675,7 +688,7 @@ msgstr "" "``chr(8364)`` , ``'€'`` dizesini döndürür. Bu fonksiyon, :func:`ord` 'un tam " "tersidir." -#: library/functions.rst:244 +#: library/functions.rst:251 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." @@ -684,11 +697,11 @@ msgstr "" "sisteminde 0x10FFFF). Eğer *i* aralığın dışında ise :exc:`ValueError` hatası " "ortaya çıkar." -#: library/functions.rst:250 +#: library/functions.rst:257 msgid "Transform a method into a class method." msgstr "Bir metodu sınıf metoduna dönüştürür." -#: library/functions.rst:252 +#: library/functions.rst:259 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 " @@ -698,7 +711,7 @@ msgstr "" "türeyen bir örneğin metodunun örneği aldığı gibi. Bir sınıf metodunu bu " "şekilde tanımlayabilirsiniz::" -#: library/functions.rst:260 +#: library/functions.rst:267 msgid "" "The ``@classmethod`` form is a function :term:`decorator` -- see :ref:" "`function` for details." @@ -706,7 +719,7 @@ msgstr "" "``@classmethod`` formu, bir :term:`decorator` fonksiyonudur. -- detaylar " "için :ref:`function` 'a bakınız." -#: library/functions.rst:263 +#: library/functions.rst:270 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 " @@ -718,7 +731,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:268 +#: library/functions.rst:275 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 " @@ -728,7 +741,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:272 +#: library/functions.rst:279 msgid "" "Class methods can now wrap other :term:`descriptors ` such as :" "func:`property`." @@ -736,7 +749,7 @@ msgstr "" "Sınıf metotları artık :func:`property` gibi diğer :term:`descriptors " "` 'ları sarmalayabilir." -#: library/functions.rst:276 +#: library/functions.rst:283 msgid "" "Class methods now inherit the method attributes (``__module__``, " "``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``) and " @@ -746,7 +759,7 @@ msgstr "" "``__doc__`` and ``__annotations__``) metot özelliklerini miras alır ve yeni " "bir ``__wrapped__`` özelliğine sahiplerdir." -#: library/functions.rst:281 +#: library/functions.rst:288 msgid "" "Class methods can no longer wrap other :term:`descriptors ` such " "as :func:`property`." @@ -754,7 +767,7 @@ msgstr "" "Sınıf metotları artık :func:`property` gibi diğer :term:`descriptor` 'ları " "sarmalayamaz." -#: library/functions.rst:288 +#: library/functions.rst:295 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 " @@ -766,7 +779,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:293 +#: library/functions.rst:300 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 (``''`` " @@ -776,7 +789,7 @@ msgstr "" "okunmuyorsa ayırtedilebilir bir değer verebilirsin (genellikle " "``''`` kullanılır)." -#: library/functions.rst:297 +#: library/functions.rst:304 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 " @@ -790,7 +803,7 @@ msgstr "" "olabilir (ikinci durumda, \"None\" dışında bir değere sahip ifadeler " "yazdırılacaktır)." -#: library/functions.rst:303 +#: library/functions.rst:310 msgid "" "The optional arguments *flags* and *dont_inherit* control which :ref:" "`compiler options ` should be activated and which :ref:" @@ -815,7 +828,7 @@ msgstr "" "koddaki bayraklar (gelecekteki özellikler ve derleyici seçenekleri) " "yoksayılır." -#: library/functions.rst:314 +#: library/functions.rst:321 msgid "" "Compiler options and future statements are specified by bits which can be " "bitwise ORed together to specify multiple options. The bitfield required to " @@ -832,7 +845,7 @@ msgstr "" "`Derleyici bayrakları ` , :mod:`ast` modülünde ``PyCF_`` " "öneki ile bulunabilir." -#: library/functions.rst:322 +#: library/functions.rst:329 msgid "" "The argument *optimize* specifies the optimization level of the compiler; " "the default value of ``-1`` selects the optimization level of the " @@ -846,7 +859,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:328 +#: library/functions.rst:335 msgid "" "This function raises :exc:`SyntaxError` if the compiled source is invalid, " "and :exc:`ValueError` if the source contains null bytes." @@ -854,7 +867,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:331 +#: library/functions.rst:338 msgid "" "If you want to parse Python code into its AST representation, see :func:`ast." "parse`." @@ -870,7 +883,7 @@ msgstr "" "``source`` ve ``filename`` argümanlarıyla :ref:`denetleme olayı ` " "``compile`` ortaya çıkartır." -#: library/functions.rst:336 +#: library/functions.rst:343 msgid "" "Raises an :ref:`auditing event ` ``compile`` with arguments " "``source`` and ``filename``. This event may also be raised by implicit " @@ -880,7 +893,7 @@ msgstr "" "``compile`` ortaya çıkartır. Bu durum, örtük derleme ile de ortaya " "çıkarılabilir." -#: library/functions.rst:342 +#: library/functions.rst:349 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 " @@ -892,7 +905,7 @@ msgstr "" "`code` modülündeki tamamlanmış ve tamamlanmamış ifadelerin tespitini " "kolaylaştırmak içindir." -#: library/functions.rst:349 +#: library/functions.rst:356 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 " @@ -902,7 +915,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:353 +#: library/functions.rst:360 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." @@ -911,7 +924,7 @@ msgstr "" "böyle ``'exec'`` modunda iken veri girişinin yeni satırda sonlanması " "gerekmiyor. *optimize* parametresi eklendi." -#: library/functions.rst:357 +#: library/functions.rst:364 msgid "" "Previously, :exc:`TypeError` was raised when null bytes were encountered in " "*source*." @@ -919,7 +932,7 @@ msgstr "" "Önceden, *source* , null baytlar içeriyorsa :exc:`TypeError` hatası ortaya " "çıkardı." -#: library/functions.rst:361 +#: library/functions.rst:368 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``." @@ -927,7 +940,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:369 +#: library/functions.rst:376 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, " @@ -946,7 +959,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:378 +#: library/functions.rst:385 msgid "" "For a general Python object ``x``, ``complex(x)`` delegates to ``x." "__complex__()``. If ``__complex__()`` is not defined then it falls back to :" @@ -957,7 +970,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:385 +#: library/functions.rst:392 msgid "" "When converting from a string, the string must not contain whitespace around " "the central ``+`` or ``-`` operator. For example, ``complex('1+2j')`` is " @@ -967,17 +980,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:390 +#: library/functions.rst:397 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:696 library/functions.rst:920 +#: library/functions.rst:703 library/functions.rst:927 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:395 +#: library/functions.rst:402 msgid "" "Falls back to :meth:`__index__` if :meth:`__complex__` and :meth:`__float__` " "are not defined." @@ -985,7 +998,7 @@ msgstr "" "Eğer :meth:`__complex__` ve :meth:`__float__` tanımlanmadıysa, :meth:" "`__index__` 'e geri döner." -#: library/functions.rst:402 +#: library/functions.rst:409 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 " @@ -1000,7 +1013,7 @@ msgstr "" "değerdir. *name* bir Python tanımlayıcısı olmak zorunda değildir (:func:" "`setattr` bkz.)." -#: library/functions.rst:415 +#: library/functions.rst:422 msgid "" "Create a new dictionary. The :class:`dict` object is the dictionary class. " "See :class:`dict` and :ref:`typesmapping` for documentation about this class." @@ -1009,7 +1022,7 @@ msgstr "" "sınıf hakkındaki dökümantasyon için :class:`dict` ve :ref:`typesmapping` 'e " "bakınız." -#: library/functions.rst:418 +#: library/functions.rst:425 msgid "" "For other containers see the built-in :class:`list`, :class:`set`, and :" "class:`tuple` classes, as well as the :mod:`collections` module." @@ -1017,7 +1030,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:425 +#: library/functions.rst:432 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 " @@ -1027,7 +1040,7 @@ msgstr "" "Argüman varsa, o nesne için geçerli özelliklerin bir listesini döndürmeye " "çalışır." -#: library/functions.rst:428 +#: library/functions.rst:435 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 " @@ -1040,7 +1053,7 @@ msgstr "" "nesnelerin, :func:`dir` 'in özellikleri bildirme şeklini özelleştirmesine " "izin verir." -#: library/functions.rst:433 +#: library/functions.rst:440 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, " @@ -1053,7 +1066,7 @@ msgstr "" "dener. Sonuç listesinin tamamlanmış olmasına gerek yoktur ve nesnenin özel " "bir :func:`__getattr__` fonksiyonu varsa kusurlu olabilir." -#: library/functions.rst:438 +#: library/functions.rst:445 msgid "" "The default :func:`dir` mechanism behaves differently with different types " "of objects, as it attempts to produce the most relevant, rather than " @@ -1062,7 +1075,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:442 +#: library/functions.rst:449 msgid "" "If the object is a module object, the list contains the names of the " "module's attributes." @@ -1070,7 +1083,7 @@ msgstr "" "Eğer nesne bir modül nesnesiyse, liste modülün özelliklerinin isimlerini " "içerir." -#: library/functions.rst:445 +#: library/functions.rst:452 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." @@ -1078,7 +1091,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:448 +#: library/functions.rst:455 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 " @@ -1087,11 +1100,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:452 +#: library/functions.rst:459 msgid "The resulting list is sorted alphabetically. For example:" msgstr "Sonuç listesi alfabetik olarak sıralanmıştır. Örnek olarak:" -#: library/functions.rst:471 +#: library/functions.rst:478 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 " @@ -1105,7 +1118,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:481 +#: library/functions.rst:488 msgid "" "Take two (non-complex) numbers as arguments and return a pair of numbers " "consisting of their quotient and remainder when using integer division. " @@ -1125,7 +1138,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:493 +#: library/functions.rst:500 msgid "" "Return an enumerate object. *iterable* must be a sequence, an :term:" "`iterator`, or some other object which supports iteration. The :meth:" @@ -1139,11 +1152,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:505 +#: library/functions.rst:512 msgid "Equivalent to::" msgstr "Şuna eşittir::" -#: library/functions.rst:517 +#: library/functions.rst:524 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 " @@ -1153,7 +1166,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:521 +#: library/functions.rst:528 msgid "" "The *expression* argument is parsed and evaluated as a Python expression " "(technically speaking, a condition list) using the *globals* and *locals* " @@ -1183,7 +1196,7 @@ msgstr "" "kapsama ortamında :term:`iç içe kapsamlar ` (yerel olmayan) " "erişimi yoktur." -#: library/functions.rst:536 +#: library/functions.rst:543 msgid "" "The return value is the result of the evaluated expression. Syntax errors " "are reported as exceptions. Example:" @@ -1191,7 +1204,7 @@ msgstr "" "Dönen değer değerlendirilmiş ifadenin sonucudur. Söz dizimi hataları, " "istisnalar olarak rapor edilir. Örnek:" -#: library/functions.rst:543 +#: library/functions.rst:550 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 " @@ -1204,7 +1217,7 @@ msgstr "" "``'exec'`` ile derlendiyse, :func:`eval` 'in döndürdüğü değer ``None`` " "olacaktır." -#: library/functions.rst:548 +#: library/functions.rst:555 msgid "" "Hints: dynamic execution of statements is supported by the :func:`exec` " "function. The :func:`globals` and :func:`locals` functions return the " @@ -1216,7 +1229,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:553 +#: library/functions.rst:560 msgid "" "If the given source is a string, then leading and trailing spaces and tabs " "are stripped." @@ -1224,7 +1237,7 @@ msgstr "" "Eğer verilen kaynak dize ise, baştaki ve sondaki boşluklar ve tab'lar " "çıkarılır." -#: library/functions.rst:556 +#: library/functions.rst:563 msgid "" "See :func:`ast.literal_eval` for a function that can safely evaluate strings " "with expressions containing only literals." @@ -1241,7 +1254,7 @@ msgstr "" "``code_object`` argümanıyla bir :ref:`denetleme olayı ` ``exec`` " "hatası ortaya çıkarır." -#: library/functions.rst:602 +#: library/functions.rst:609 msgid "" "Raises an :ref:`auditing event ` ``exec`` with the code object as " "the argument. Code compilation events may also be raised." @@ -1250,7 +1263,7 @@ msgstr "" "``exec`` hatası ortaya çıkartır. Kodun derlendiği sırada çıkan hatalar da " "yükseltilir." -#: library/functions.rst:568 +#: library/functions.rst:575 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 " @@ -1272,7 +1285,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:579 +#: library/functions.rst:586 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 " @@ -1293,7 +1306,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:589 +#: library/functions.rst:596 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:" @@ -1307,7 +1320,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:595 +#: library/functions.rst:602 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 " @@ -1319,7 +1332,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:607 +#: library/functions.rst:614 msgid "" "The built-in functions :func:`globals` and :func:`locals` return the current " "global and local dictionary, respectively, which may be useful to pass " @@ -1329,7 +1342,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:613 +#: library/functions.rst:620 msgid "" "The default *locals* act as described for function :func:`locals` below: " "modifications to the default *locals* dictionary should not be attempted. " @@ -1342,11 +1355,11 @@ msgstr "" "*locals* üzerindeki etkilerini görmeniz gerekiyorsa, açık bir *local* " "sözlüğü geçirin." -#: library/functions.rst:618 +#: library/functions.rst:625 msgid "Added the *closure* parameter." msgstr "*closure* parametresi eklendi." -#: library/functions.rst:624 +#: library/functions.rst:631 msgid "" "Construct an iterator from those elements of *iterable* for which *function* " "is true. *iterable* may be either a sequence, a container which supports " @@ -1358,7 +1371,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:630 +#: library/functions.rst:637 msgid "" "Note that ``filter(function, iterable)`` is equivalent to the generator " "expression ``(item for item in iterable if function(item))`` if function is " @@ -1370,7 +1383,7 @@ msgstr "" "ifadesine ``(item for item in iterable if function(item))`` eşit olduğunu " "unutmayın." -#: library/functions.rst:635 +#: library/functions.rst:642 msgid "" "See :func:`itertools.filterfalse` for the complementary function that " "returns elements of *iterable* for which *function* is false." @@ -1378,11 +1391,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:645 +#: library/functions.rst:652 msgid "Return a floating point number constructed from a number or string *x*." msgstr "Bir numara veya string *x* 'ten oluşturulan bir reel sayı döndürür." -#: library/functions.rst:647 +#: library/functions.rst:654 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 " @@ -1400,7 +1413,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:665 +#: library/functions.rst:672 msgid "" "Here ``digit`` is a Unicode decimal digit (character in the Unicode general " "category ``Nd``). Case is not significant, so, for example, \"inf\", " @@ -1412,7 +1425,7 @@ msgstr "" "örneğin, \"inf\", \"Inf\", \"INFINITY\" ve \"iNfINity\" pozitif sonsuzluk " "için kabul edilebilir yazımlardır." -#: library/functions.rst:670 +#: library/functions.rst:677 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 " @@ -1423,7 +1436,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:675 +#: library/functions.rst:682 msgid "" "For a general Python object ``x``, ``float(x)`` delegates to ``x." "__float__()``. If ``__float__()`` is not defined then it falls back to :" @@ -1433,24 +1446,24 @@ msgstr "" "fonksiyonuna delege eder. Eğer ``__float__()`` tanımlanmamışsa, :meth:" "`__index__` 'e geri döner." -#: library/functions.rst:679 +#: library/functions.rst:686 msgid "If no argument is given, ``0.0`` is returned." msgstr "Argüman verilmediyse, ``0.0`` döndürülür." -#: library/functions.rst:681 +#: library/functions.rst:688 msgid "Examples::" msgstr "Örnekler::" -#: library/functions.rst:694 +#: library/functions.rst:701 msgid "The float type is described in :ref:`typesnumeric`." msgstr "Float tipi :ref:`typesnumeric` kısmında açıklandı." -#: library/functions.rst:702 +#: library/functions.rst:709 msgid "Falls back to :meth:`__index__` if :meth:`__float__` is not defined." msgstr "" ":meth:`__float__` tanımlanmadıysa, :meth:`__index__` konumuna geri döner." -#: library/functions.rst:712 +#: library/functions.rst:719 msgid "" "Convert a *value* to a \"formatted\" representation, as controlled by " "*format_spec*. The interpretation of *format_spec* will depend on the type " @@ -1463,7 +1476,7 @@ msgstr "" "tiplerde kullanılan :ref:`formatspec` adında bir standart biçimlendirme " "sözdizimi var." -#: library/functions.rst:717 +#: library/functions.rst:724 msgid "" "The default *format_spec* is an empty string which usually gives the same " "effect as calling :func:`str(value) `." @@ -1471,7 +1484,7 @@ msgstr "" "Varsayılan *format_spec*, :func:`str(value) ` fonksiyonunu çağırmakla " "aynı etkiyi gösteren boş bir dizedir." -#: library/functions.rst:720 +#: library/functions.rst:727 msgid "" "A call to ``format(value, format_spec)`` is translated to ``type(value)." "__format__(value, format_spec)`` which bypasses the instance dictionary when " @@ -1486,7 +1499,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:727 +#: library/functions.rst:734 msgid "" "``object().__format__(format_spec)`` raises :exc:`TypeError` if " "*format_spec* is not an empty string." @@ -1494,7 +1507,7 @@ msgstr "" "*format_spec* boş bir dize değilse, ``object().__format__(format_spec)``, :" "exc:`TypeError` hatasını ortaya çıkartır." -#: library/functions.rst:736 +#: library/functions.rst:743 msgid "" "Return a new :class:`frozenset` object, optionally with elements taken from " "*iterable*. ``frozenset`` is a built-in class. See :class:`frozenset` and :" @@ -1505,7 +1518,7 @@ msgstr "" "hakkında dokümantasyona ulaşmak için :class:`frozenset` ve :ref:`types-set` " "'e bakınız." -#: library/functions.rst:740 +#: library/functions.rst:747 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." @@ -1514,7 +1527,7 @@ msgstr "" "`tuple`, ve :class:`dict` sınıflarına, ayrıca :mod:`collections` modülüne " "bakabilirsiniz." -#: library/functions.rst:748 +#: library/functions.rst:755 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 " @@ -1531,7 +1544,7 @@ msgstr "" "ortaya çıkar. *name* bir Python tanımlayıcısı olmak zorunda değildir (:func:" "`setattr` bkz)." -#: library/functions.rst:757 +#: library/functions.rst:764 msgid "" "Since :ref:`private name mangling ` happens at " "compilation time, one must manually mangle a private attribute's (attributes " @@ -1542,7 +1555,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:765 +#: library/functions.rst:772 msgid "" "Return the dictionary implementing the current module namespace. For code " "within functions, this is set when the function is defined and remains the " @@ -1552,7 +1565,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:772 +#: library/functions.rst:779 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. " @@ -1564,7 +1577,7 @@ msgstr "" "'i çağırarak uygulanır ve :exc:`AttributeError` hatası oluşup oluşmayacağı " "görülür.)" -#: library/functions.rst:780 +#: library/functions.rst:787 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 " @@ -1577,7 +1590,7 @@ msgstr "" "değerler aynı karma değere sahiptir (1 ve 1.0 durumunda olduğu gibi farklı " "veri tiplerinde olsalar bile)." -#: library/functions.rst:787 +#: library/functions.rst:794 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 :" @@ -1587,7 +1600,7 @@ msgstr "" "makinenin bit genişliğine göre döndürdüğü değeri kestiğini unutmayın. " "Detaylar için :meth:`__hash__` 'e bakınız." -#: library/functions.rst:794 +#: library/functions.rst:801 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 " @@ -1603,7 +1616,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:801 +#: library/functions.rst:808 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 " @@ -1616,13 +1629,13 @@ msgstr "" "konumsalparametrelerle ilgili SSS girişi ` " "'ne bakınız." -#: library/functions.rst:806 +#: library/functions.rst:813 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:808 +#: library/functions.rst:815 msgid "" "Changes to :mod:`pydoc` and :mod:`inspect` mean that the reported signatures " "for callables are now more comprehensive and consistent." @@ -1631,7 +1644,7 @@ msgstr "" "için rapor edilen damgaların artık daha kapsamlı ve tutarlı olduğunu ifade " "eder." -#: library/functions.rst:815 +#: library/functions.rst:822 msgid "" "Convert an integer number to a lowercase hexadecimal string prefixed with " "\"0x\". If *x* is not a Python :class:`int` object, it has to define an :" @@ -1641,7 +1654,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:824 +#: library/functions.rst:831 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 " @@ -1650,7 +1663,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:836 +#: library/functions.rst:843 msgid "" "See also :func:`int` for converting a hexadecimal string to an integer using " "a base of 16." @@ -1658,7 +1671,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:841 +#: library/functions.rst:848 msgid "" "To obtain a hexadecimal string representation for a float, use the :meth:" "`float.hex` method." @@ -1666,7 +1679,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:847 +#: library/functions.rst:854 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. " @@ -1677,7 +1690,7 @@ 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:852 +#: library/functions.rst:859 msgid "This is the address of the object in memory." msgstr "Bu, bellekteki nesnenin adresidir." @@ -1689,7 +1702,7 @@ msgstr "" "``id`` argümanıyla beraber bir :ref:`denetleme olayı ` ``builtins." "id`` ortaya çıkartır." -#: library/functions.rst:860 +#: library/functions.rst:867 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, " @@ -1701,7 +1714,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:870 +#: library/functions.rst:877 msgid "" "If the :mod:`readline` module was loaded, then :func:`input` will use it to " "provide elaborate line editing and history features." @@ -1717,7 +1730,7 @@ msgstr "" "``prompt`` argümanıyla birlikte bir :ref:`denetleme olayı ` " "``builtins.input`` ortaya çıkartır." -#: library/functions.rst:875 +#: library/functions.rst:882 msgid "" "Raises an :ref:`auditing event ` ``builtins.input`` with argument " "``prompt`` before reading input" @@ -1733,7 +1746,7 @@ msgstr "" "``result`` argümanıyla birlikte bir :ref:`denetleme olayı ` " "``builtins.input/result`` ortaya çıkartır." -#: library/functions.rst:880 +#: library/functions.rst:887 msgid "" "Raises an :ref:`auditing event ` ``builtins.input/result`` with " "the result after successfully reading input." @@ -1741,7 +1754,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:887 +#: library/functions.rst:894 msgid "" "Return an integer object constructed from a number or string *x*, or return " "``0`` if no arguments are given. If *x* defines :meth:`__int__`, ``int(x)`` " @@ -1755,7 +1768,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:894 +#: library/functions.rst:901 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 " @@ -1770,7 +1783,7 @@ msgstr "" "çevrelenebilir ve rakamlar arasına serpiştirilmiş tek alt çizgilere sahip " "olabilir." -#: library/functions.rst:900 +#: library/functions.rst:907 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 " @@ -1795,11 +1808,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:911 +#: library/functions.rst:918 msgid "The integer type is described in :ref:`typesnumeric`." msgstr "Tam sayı tipi :ref:`typesnumeric` kısmında açıklandı." -#: library/functions.rst:913 +#: library/functions.rst:920 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 " @@ -1811,15 +1824,15 @@ msgstr "" "tamsayı elde etmek için çağrılır. Önceki sürümler :meth:`base.__index__ " "` yerine :meth:`base.__int__ ` 'i kullandı." -#: library/functions.rst:926 +#: library/functions.rst:933 msgid "Falls back to :meth:`__index__` if :meth:`__int__` is not defined." msgstr ":meth:`__int__` tanımlı değilse :meth:`__index__` konumuna geri döner." -#: library/functions.rst:929 +#: library/functions.rst:936 msgid "The delegation to :meth:`__trunc__` is deprecated." msgstr ":meth:`__trunc__` yetkisi kullanımdan kaldırıldı." -#: library/functions.rst:932 +#: library/functions.rst:939 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 " @@ -1835,7 +1848,7 @@ msgstr "" "ortaya çıkar. :ref:`tam sayı dönüştürme uzunluk sınırlaması " "` dokümanına bakın." -#: library/functions.rst:942 +#: library/functions.rst:949 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 " @@ -1879,7 +1892,7 @@ msgstr "" "birinin alt sınıfıysa ``True`` döndürülür. Diğer her durumda, :exc:" "`TypeError` hatası ortaya çıkar." -#: library/functions.rst:974 +#: library/functions.rst:981 msgid "" "Return an :term:`iterator` object. The first argument is interpreted very " "differently depending on the presence of the second argument. Without a " @@ -1905,11 +1918,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:987 +#: library/functions.rst:994 msgid "See also :ref:`typeiter`." msgstr "Ayrıca :ref:`typeiter` bkz." -#: library/functions.rst:989 +#: library/functions.rst:996 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 " @@ -1919,7 +1932,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:1001 +#: library/functions.rst:1008 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 " @@ -1929,7 +1942,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:1007 +#: library/functions.rst:1014 msgid "" "``len`` raises :exc:`OverflowError` on lengths larger than :data:`sys." "maxsize`, such as :class:`range(2 ** 100) `." @@ -1937,7 +1950,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:1016 +#: library/functions.rst:1023 msgid "" "Rather than being a function, :class:`list` is actually a mutable sequence " "type, as documented in :ref:`typesseq-list` and :ref:`typesseq`." @@ -1945,7 +1958,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:1022 +#: library/functions.rst:1029 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 " @@ -1958,7 +1971,7 @@ msgstr "" "Unutmayın ki modül seviyesinde, :func:`locals` ve :func:`globals` aynı " "sözlüklerdir." -#: library/functions.rst:1028 +#: library/functions.rst:1035 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." @@ -1967,7 +1980,7 @@ msgstr "" "tarafından kullanılan yerel ve serbest değişkenlerin değerlerini " "etkilemeyebilir." -#: library/functions.rst:1033 +#: library/functions.rst:1040 msgid "" "Return an iterator that applies *function* to every item of *iterable*, " "yielding the results. If additional *iterables* arguments are passed, " @@ -1984,7 +1997,7 @@ msgstr "" "girdilerinin zaten demetler halinde verildiği durumlar için, :func:" "`itertools.starmap`\\ 'a bakın." -#: library/functions.rst:1045 +#: library/functions.rst:1052 msgid "" "Return the largest item in an iterable or the largest of two or more " "arguments." @@ -1992,7 +2005,7 @@ msgstr "" "Bir yineleyicinin veya birden fazla parametrenin en büyük elementini " "döndürür." -#: library/functions.rst:1048 +#: library/functions.rst:1055 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 " @@ -2003,7 +2016,7 @@ msgstr "" "pozisyonel parametre sağlandıysa, pozisyonel parametrelerin en büyüğü " "döndürülür." -#: library/functions.rst:1091 +#: library/functions.rst:1098 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 " @@ -2017,7 +2030,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:1059 +#: library/functions.rst:1066 msgid "" "If multiple items are maximal, the function returns the first one " "encountered. This is consistent with other sort-stability preserving tools " @@ -2029,15 +2042,15 @@ msgstr "" "iterable, key=keyfunc)`` gibi sıralama kararlılığı muhafaza eden araçlar ile " "uygundur." -#: library/functions.rst:1102 +#: library/functions.rst:1109 msgid "The *default* keyword-only argument." msgstr "*varsayılan* yalnızca anahtar kelime parametresi." -#: library/functions.rst:1105 +#: library/functions.rst:1112 msgid "The *key* can be ``None``." msgstr "*key* ``None`` olabilir." -#: library/functions.rst:1075 +#: library/functions.rst:1082 msgid "" "Return a \"memory view\" object created from the given argument. See :ref:" "`typememoryview` for more information." @@ -2045,7 +2058,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:1083 +#: library/functions.rst:1090 msgid "" "Return the smallest item in an iterable or the smallest of two or more " "arguments." @@ -2053,7 +2066,7 @@ msgstr "" "Bir yineleyicideki en küçük elementi veya birden fazla argümandan en " "küçüğünü döndürür." -#: library/functions.rst:1086 +#: library/functions.rst:1093 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 " @@ -2063,7 +2076,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:1097 +#: library/functions.rst:1104 msgid "" "If multiple items are minimal, the function returns the first one " "encountered. This is consistent with other sort-stability preserving tools " @@ -2075,7 +2088,7 @@ msgstr "" "key=keyfunc)`` gibi diğer sıralama kararlılığını koruma araçlarıyla tutarlı " "çalışır." -#: library/functions.rst:1112 +#: library/functions.rst:1119 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 " @@ -2085,7 +2098,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:1119 +#: library/functions.rst:1126 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 " @@ -2095,7 +2108,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:1125 +#: library/functions.rst:1132 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." @@ -2103,7 +2116,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:1131 +#: library/functions.rst:1138 msgid "" "Convert an integer number to an octal string prefixed with \"0o\". The " "result is a valid Python expression. If *x* is not a Python :class:`int` " @@ -2114,7 +2127,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:1141 +#: library/functions.rst:1148 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." @@ -2122,7 +2135,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:1158 +#: library/functions.rst:1165 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 " @@ -2132,7 +2145,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:1162 +#: library/functions.rst:1169 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 " @@ -2146,7 +2159,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:1168 +#: library/functions.rst:1175 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. " @@ -2170,71 +2183,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:1185 +#: library/functions.rst:1192 msgid "Character" msgstr "Karakter" -#: library/functions.rst:1185 +#: library/functions.rst:1192 msgid "Meaning" msgstr "Anlam" -#: library/functions.rst:1187 +#: library/functions.rst:1194 msgid "``'r'``" msgstr "``'r'``" -#: library/functions.rst:1187 +#: library/functions.rst:1194 msgid "open for reading (default)" msgstr "okumaya açık (varsayılan)" -#: library/functions.rst:1188 +#: library/functions.rst:1195 msgid "``'w'``" msgstr "``'w'``" -#: library/functions.rst:1188 +#: library/functions.rst:1195 msgid "open for writing, truncating the file first" msgstr "yazmaya açık, önce dosyayı keser" -#: library/functions.rst:1189 +#: library/functions.rst:1196 msgid "``'x'``" msgstr "``'x'``" -#: library/functions.rst:1189 +#: library/functions.rst:1196 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:1190 +#: library/functions.rst:1197 msgid "``'a'``" msgstr "``'a'``" -#: library/functions.rst:1190 +#: library/functions.rst:1197 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:1191 +#: library/functions.rst:1198 msgid "``'b'``" msgstr "``'b'``" -#: library/functions.rst:1191 +#: library/functions.rst:1342 msgid "binary mode" msgstr "ikili mod" -#: library/functions.rst:1192 +#: library/functions.rst:1199 msgid "``'t'``" msgstr "``'t'``" -#: library/functions.rst:1192 +#: library/functions.rst:1199 msgid "text mode (default)" msgstr "metin modu (varsayılan)" -#: library/functions.rst:1193 +#: library/functions.rst:1200 msgid "``'+'``" msgstr "``'+'``" -#: library/functions.rst:1193 +#: library/functions.rst:1200 msgid "open for updating (reading and writing)" msgstr "güncellemeye açık (okuma ve yazma)" -#: library/functions.rst:1196 +#: library/functions.rst:1203 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 " @@ -2244,7 +2257,7 @@ msgstr "" "``'w+'`` ve ``'w+b'`` modları dosyayı açar ve temizlerler. ``'r+'`` ve " "``'r+b'`` modları dosyayı temizlemeden açarlar." -#: library/functions.rst:1200 +#: library/functions.rst:1207 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* " @@ -2262,7 +2275,7 @@ msgstr "" "platforma bağlı bir kodlayıcı veya belirtilen *encoding* 'i kullanarak " "deşifre edilir." -#: library/functions.rst:1210 +#: library/functions.rst:1217 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 " @@ -2272,7 +2285,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:1214 +#: library/functions.rst:1221 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 " @@ -2296,7 +2309,7 @@ msgstr "" "bayrağını kullanmayı düşünün. *arabelleğe alma* bağımsız değişkeni " "verilmediğinde, varsayılan arabelleğe alma ilkesi şu şekilde çalışır:" -#: library/functions.rst:1224 +#: library/functions.rst:1231 msgid "" "Binary files are buffered in fixed-size chunks; the size of the buffer is " "chosen using a heuristic trying to determine the underlying device's \"block " @@ -2308,7 +2321,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:1229 +#: library/functions.rst:1236 msgid "" "\"Interactive\" text files (files for which :meth:`~io.IOBase.isatty` " "returns ``True``) use line buffering. Other text files use the policy " @@ -2318,7 +2331,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:1233 +#: library/functions.rst:1240 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 " @@ -2333,7 +2346,7 @@ msgstr "" "kullanılabilir. Desteklenen kodlayıcıların listesi için :mod:`codecs` " "modülüne bkz." -#: library/functions.rst:1239 +#: library/functions.rst:1246 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 " @@ -2347,7 +2360,7 @@ msgstr "" "`codecs.register_error` ile kaydedilen herhangi bir hata işleyici ismi de " "geçerlidir. Standart isimler bunları içerir:" -#: library/functions.rst:1247 +#: library/functions.rst:1254 msgid "" "``'strict'`` to raise a :exc:`ValueError` exception if there is an encoding " "error. The default value of ``None`` has the same effect." @@ -2356,7 +2369,7 @@ msgstr "" "yükseltmek için kullanılır. Varsayılan değer ``None`` ile aynı etkiyi " "gösterir." -#: library/functions.rst:1251 +#: library/functions.rst:1258 msgid "" "``'ignore'`` ignores errors. Note that ignoring encoding errors can lead to " "data loss." @@ -2364,7 +2377,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:1254 +#: library/functions.rst:1261 msgid "" "``'replace'`` causes a replacement marker (such as ``'?'``) to be inserted " "where there is malformed data." @@ -2373,7 +2386,7 @@ msgstr "" "(``'?'`` gibi) 'nin hatalı biçimlendirilmiş verinin yerine geçmesine neden " "olur." -#: library/functions.rst:1257 +#: library/functions.rst:1264 msgid "" "``'surrogateescape'`` will represent any incorrect bytes as low surrogate " "code units ranging from U+DC80 to U+DCFF. These surrogate code units will " @@ -2387,7 +2400,7 @@ msgstr "" "baytlara geri döndürülecektir. Bu dosyaları bilinmeyen bir kodlayıcıyla " "işlerken kullanışlıdır." -#: library/functions.rst:1264 +#: library/functions.rst:1271 msgid "" "``'xmlcharrefreplace'`` is only supported when writing to a file. Characters " "not supported by the encoding are replaced with the appropriate XML " @@ -2397,7 +2410,7 @@ msgstr "" "Kodlayıcı tarafından desteklenmeyen karakterler uygun XML karakter örneği " "ile değiştirilir." -#: library/functions.rst:1268 +#: library/functions.rst:1275 msgid "" "``'backslashreplace'`` replaces malformed data by Python's backslashed " "escape sequences." @@ -2405,7 +2418,7 @@ msgstr "" "``'backslashreplace'`` Python'un ters slash kaçış karakterleri yüzünden " "oluşan hatalı veriyi değiştirir." -#: library/functions.rst:1271 +#: library/functions.rst:1278 msgid "" "``'namereplace'`` (also only supported when writing) replaces unsupported " "characters with ``\\N{...}`` escape sequences." @@ -2413,7 +2426,7 @@ msgstr "" "``'namereplace'`` (sadece yazarken desteklenir) desteklenmeyen karakterleri " "``\\N{...}`` kaçış karakterleriyle değiştirir." -#: library/functions.rst:1279 +#: library/functions.rst:1286 msgid "" "*newline* determines how to parse newline characters from the stream. It can " "be ``None``, ``''``, ``'\\n'``, ``'\\r'``, and ``'\\r\\n'``. It works as " @@ -2423,7 +2436,7 @@ msgstr "" "belirler. ``None``, ``''``, ``'\\n'``, ``'\\r'`` ve ``'\\r\\n'`` olabilir. " "Aşağıdaki gibi çalışır:" -#: library/functions.rst:1283 +#: library/functions.rst:1290 msgid "" "When reading input from the stream, if *newline* is ``None``, universal " "newlines mode is enabled. Lines in the input can end in ``'\\n'``, " @@ -2441,7 +2454,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:1291 +#: library/functions.rst:1298 msgid "" "When writing output to the stream, if *newline* is ``None``, any ``'\\n'`` " "characters written are translated to the system default line separator, :" @@ -2455,7 +2468,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:1297 +#: library/functions.rst:1304 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 " @@ -2467,7 +2480,7 @@ msgstr "" "Eğer bir dosya adı verildiyse, *closefd* ``True`` olmalıdır (varsayılan); " "aksi takdirde, bir hata ortaya çıkar." -#: library/functions.rst:1302 +#: library/functions.rst:1309 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 " @@ -2481,11 +2494,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:1308 +#: library/functions.rst:1315 msgid "The newly created file is :ref:`non-inheritable `." msgstr "Yeni oluşturulan dosya :ref:`non-inheritable ` 'dir." -#: library/functions.rst:1310 +#: library/functions.rst:1317 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::" @@ -2493,7 +2506,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:1323 +#: library/functions.rst:1330 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 " @@ -2519,7 +2532,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:1344 +#: library/functions.rst:1351 msgid "" "See also the file handling modules, such as :mod:`fileinput`, :mod:`io` " "(where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:" @@ -2537,7 +2550,7 @@ msgstr "" "``file``, ``mode``, ``flags`` parametreleriyle bir :ref:`audition event " "` ``open`` ortaya çıkartır." -#: library/functions.rst:1350 +#: library/functions.rst:1357 msgid "" "The ``mode`` and ``flags`` arguments may have been modified or inferred from " "the original call." @@ -2545,21 +2558,21 @@ msgstr "" "``mode`` ve ``flags`` parametreleri orijinal çağrı tarafından modifiye " "edilmiş veya çıkartılmış olabilir." -#: library/functions.rst:1355 +#: library/functions.rst:1362 msgid "The *opener* parameter was added." msgstr "*opener* parametresi eklendi." -#: library/functions.rst:1356 +#: library/functions.rst:1363 msgid "The ``'x'`` mode was added." msgstr "``'x'`` modu eklendi." -#: library/functions.rst:1357 +#: library/functions.rst:1364 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:1358 +#: library/functions.rst:1365 msgid "" ":exc:`FileExistsError` is now raised if the file opened in exclusive " "creation mode (``'x'``) already exists." @@ -2567,11 +2580,11 @@ msgstr "" "Artık eğer özel oluşturma modunda (``'x'``) açılmış dosyalar zaten " "bulunuyorsa :exc:`FileExistsError` hatası ortaya çıkar." -#: library/functions.rst:1363 +#: library/functions.rst:1370 msgid "The file is now non-inheritable." msgstr "Dosya artık miras alınamaz." -#: library/functions.rst:1367 +#: library/functions.rst:1374 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 :" @@ -2581,15 +2594,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:1370 +#: library/functions.rst:1377 msgid "The ``'namereplace'`` error handler was added." msgstr "``'namereplace'`` hata işleyicisi eklendi." -#: library/functions.rst:1374 +#: library/functions.rst:1381 msgid "Support added to accept objects implementing :class:`os.PathLike`." msgstr ":class:`os.PathLike` uygulayan nesneleri kabul etme desteği eklendi." -#: library/functions.rst:1375 +#: library/functions.rst:1382 msgid "" "On Windows, opening a console buffer may return a subclass of :class:`io." "RawIOBase` other than :class:`io.FileIO`." @@ -2597,11 +2610,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:1378 +#: library/functions.rst:1385 msgid "The ``'U'`` mode has been removed." msgstr "``'U'`` modu kaldırıldı." -#: library/functions.rst:1383 +#: library/functions.rst:1390 msgid "" "Given a string representing one Unicode character, return an integer " "representing the Unicode code point of that character. For example, " @@ -2613,7 +2626,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:1391 +#: library/functions.rst:1398 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) % " @@ -2625,7 +2638,7 @@ msgstr "" "parametreli formu ``pow(base, exp)``, üs operatörü ``base**exp`` kullanmaya " "eş değerdir." -#: library/functions.rst:1396 +#: library/functions.rst:1403 msgid "" "The arguments must have numeric types. With mixed operand types, the " "coercion rules for binary arithmetic operators apply. For :class:`int` " @@ -2647,7 +2660,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:1406 +#: library/functions.rst:1413 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 " @@ -2661,11 +2674,11 @@ msgstr "" "``pow(inv_base,-exp,mod)`` döndürülüri *inv_base, *base* mod *mod* 'un " "tersidir." -#: library/functions.rst:1412 +#: library/functions.rst:1419 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:1419 +#: library/functions.rst:1426 msgid "" "For :class:`int` operands, the three-argument form of ``pow`` now allows the " "second argument to be negative, permitting computation of modular inverses." @@ -2673,14 +2686,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:1424 +#: library/functions.rst:1431 msgid "" "Allow keyword arguments. Formerly, only positional arguments were supported." msgstr "" "Anahtar kelime parametrelerine izin ver, önceden sadece pozisyonel " "parametreler desteklenirdi." -#: library/functions.rst:1431 +#: library/functions.rst:1438 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 " @@ -2690,7 +2703,7 @@ msgstr "" "şekilde *objects* 'i yazdırır. *sep*, *end, *file*, ve *flush* sunulursa " "anahtar kelime parametreleri olarak verilmelidir." -#: library/functions.rst:1435 +#: library/functions.rst:1442 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* " @@ -2704,7 +2717,7 @@ msgstr "" "varsayılan değerler kullanılır. Eğer *objects* verilmediyse, :func:`print` " "sadece *end* 'i yazdırır." -#: library/functions.rst:1441 +#: library/functions.rst:1448 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 " @@ -2716,23 +2729,24 @@ 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:1446 +#: library/functions.rst:1453 +#, fuzzy msgid "" -"Whether the output is buffered is usually determined by *file*, but if the " -"*flush* keyword argument is true, the stream is forcibly flushed." +"Output buffering is usually determined by *file*. However, if *flush* is " +"true, the stream is forcibly flushed." 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:1449 +#: library/functions.rst:1457 msgid "Added the *flush* keyword argument." msgstr "*flush* anahtar kelimesi argümanı eklendi." -#: library/functions.rst:1455 +#: library/functions.rst:1463 msgid "Return a property attribute." msgstr "Bir özellik özelliği döndürür." -#: library/functions.rst:1457 +#: library/functions.rst:1465 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 " @@ -2743,11 +2757,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:1461 +#: library/functions.rst:1469 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:1478 +#: library/functions.rst:1486 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." @@ -2755,7 +2769,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:1481 +#: library/functions.rst:1489 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 " @@ -2767,7 +2781,7 @@ msgstr "" "kopyalayacaktır. Bu :func:`property` 'i :term:`decorator` olarak kullanarak " "kolayca salt-okunur özellikler oluşturmayı mümkün kılar::" -#: library/functions.rst:1494 +#: library/functions.rst:1502 msgid "" "The ``@property`` decorator turns the :meth:`voltage` method into a " "\"getter\" for a read-only attribute with the same name, and it sets the " @@ -2777,7 +2791,7 @@ msgstr "" "bir özellik için \"getter\" metoduna dönüştürür ve *voltage* için doküman " "dizisini \"Get the current voltage.\" olarak ayarlar." -#: library/functions.rst:1498 +#: library/functions.rst:1506 msgid "" "A property object has :attr:`~property.getter`, :attr:`~property.setter`, " "and :attr:`~property.deleter` methods usable as decorators that create a " @@ -2790,7 +2804,7 @@ msgstr "" "`~property.deleter` metotlarını içerir. Bu en iyi şekilde bir örnekle " "açıklanabilir::" -#: library/functions.rst:1520 +#: library/functions.rst:1528 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 " @@ -2799,7 +2813,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:1524 +#: library/functions.rst:1532 msgid "" "The returned property object also has the attributes ``fget``, ``fset``, and " "``fdel`` corresponding to the constructor arguments." @@ -2807,11 +2821,11 @@ msgstr "" "Döndürülen property nesnesi yapıcı metotta verilen ``fget``, ``fset``, ve " "``fdel`` özelliklerine sahiptir." -#: library/functions.rst:1527 +#: library/functions.rst:1535 msgid "The docstrings of property objects are now writeable." msgstr "Property nesnelerinin doküman dizeleri artık yazılabilir." -#: library/functions.rst:1536 +#: library/functions.rst:1544 msgid "" "Rather than being a function, :class:`range` is actually an immutable " "sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`." @@ -2820,7 +2834,7 @@ msgstr "" "tipidir. Daha fazla bilgi için :ref:`typesseq-range` ve :ref:`typesseq` 'e " "bakınız." -#: library/functions.rst:1542 +#: library/functions.rst:1550 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 " @@ -2841,7 +2855,7 @@ msgstr "" "ne döndürdüğünü kontrol edebilir. :func:`sys.displayhook` erişilebilir " "değilse, bu fonksiyon :exc:`RuntimeError` değerini yükseltir." -#: library/functions.rst:1555 +#: library/functions.rst:1563 msgid "" "Return a reverse :term:`iterator`. *seq* must be an object which has a :" "meth:`__reversed__` method or supports the sequence protocol (the :meth:" @@ -2853,7 +2867,7 @@ msgstr "" "tam sayı argümanları alan bir :meth:`__getitem__` metodu) destekleyen bir " "nesne olmalıdır." -#: library/functions.rst:1563 +#: library/functions.rst:1571 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 " @@ -2863,7 +2877,7 @@ msgstr "" "*ndigits* verilmediyse veya ``None`` ise, *number* 'a en yakın tam sayı " "döndürülür." -#: library/functions.rst:1567 +#: library/functions.rst:1575 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 " @@ -2881,7 +2895,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:1576 +#: library/functions.rst:1584 msgid "" "For a general Python object ``number``, ``round`` delegates to ``number." "__round__``." @@ -2889,7 +2903,7 @@ msgstr "" "Genel bir Python nesnesi için ``number``, ``round`` ``number.__round__`` 'u " "temsil eder." -#: library/functions.rst:1581 +#: library/functions.rst:1589 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 " @@ -2903,7 +2917,7 @@ msgstr "" "gösterilemeyeceğinden bu sonucu alıyoruz. Daha fazla bilgi için :ref:`tut-fp-" "issues` 'e bkz." -#: library/functions.rst:1593 +#: library/functions.rst:1601 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-" @@ -2913,7 +2927,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:1597 +#: library/functions.rst:1605 msgid "" "For other containers see the built-in :class:`frozenset`, :class:`list`, :" "class:`tuple`, and :class:`dict` classes, as well as the :mod:`collections` " @@ -2923,7 +2937,7 @@ msgstr "" "`tuple` ve :class:`dict` sınıflarını; aynı zamanda :mod:`collections` " "modülüne bakınız." -#: library/functions.rst:1604 +#: library/functions.rst:1612 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 " @@ -2936,7 +2950,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:1610 +#: library/functions.rst:1618 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:" @@ -2950,7 +2964,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:1618 +#: library/functions.rst:1626 msgid "" "Since :ref:`private name mangling ` happens at " "compilation time, one must manually mangle a private attribute's (attributes " @@ -2960,7 +2974,7 @@ msgstr "" "olacağından, :func:`setattr` ile ayarlamak için özel bir niteliğin (iki alt " "çizgi ile başlayan nitelikler) adını manuel olarak değiştirmek gerekir." -#: library/functions.rst:1627 +#: library/functions.rst:1635 msgid "" "Return a :term:`slice` object representing the set of indices specified by " "``range(start, stop, step)``. The *start* and *step* arguments default to " @@ -2983,17 +2997,17 @@ msgstr "" "veya ``a[start:stop, i]``. Yineleyici döndüren alternatif bir versiyon için :" "func:`itertools.islice` 'e bakınız." -#: library/functions.rst:1640 +#: library/functions.rst:1648 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:1642 +#: library/functions.rst:1650 msgid "" "Has two optional arguments which must be specified as keyword arguments." msgstr "İsimle belirtilmesi gereken 2 opsiyonel parametresi vardır." -#: library/functions.rst:1644 +#: library/functions.rst:1652 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." @@ -3003,7 +3017,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:1648 +#: library/functions.rst:1656 msgid "" "*reverse* is a boolean value. If set to ``True``, then the list elements " "are sorted as if each comparison were reversed." @@ -3011,7 +3025,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:1651 +#: library/functions.rst:1659 msgid "" "Use :func:`functools.cmp_to_key` to convert an old-style *cmp* function to a " "*key* function." @@ -3019,7 +3033,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:1654 +#: library/functions.rst:1662 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 " @@ -3031,7 +3045,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:1659 +#: library/functions.rst:1667 msgid "" "The sort algorithm uses only ``<`` comparisons between items. While " "defining an :meth:`~object.__lt__` method will suffice for sorting, :PEP:`8` " @@ -3051,18 +3065,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:1668 +#: library/functions.rst:1676 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:1672 +#: library/functions.rst:1680 msgid "Transform a method into a static method." msgstr "Bir metodu statik metoda dönüştürür." -#: library/functions.rst:1674 +#: library/functions.rst:1682 msgid "" "A static method does not receive an implicit first argument. To declare a " "static method, use this idiom::" @@ -3070,7 +3084,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:1681 +#: library/functions.rst:1689 msgid "" "The ``@staticmethod`` form is a function :term:`decorator` -- see :ref:" "`function` for details." @@ -3078,7 +3092,7 @@ msgstr "" "``@staticmethod`` ifadesi bir :term:`decorator` fonksiyonudur. -- detaylar " "için :ref:`function` bkz." -#: library/functions.rst:1684 +#: library/functions.rst:1692 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 " @@ -3088,7 +3102,7 @@ msgstr "" "(``C().f()`` gibi) çağırılabilir. Hatta normal fonksiyonlar gibi (``f()``) " "de çağırılabilirler." -#: library/functions.rst:1688 +#: library/functions.rst:1696 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 " @@ -3098,7 +3112,7 @@ msgstr "" "için alternatif bir yapıcı metot oluşturmak isterseniz :func:`classmethod` " "bkz." -#: library/functions.rst:1692 +#: library/functions.rst:1700 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 " @@ -3112,11 +3126,11 @@ msgstr "" "dönüşümü engellemek istediğinizde işinize yarayabilir. Böyle durumlar için, " "bu ifadeyi kullanabilirsiniz::" -#: library/functions.rst:1704 +#: library/functions.rst:1712 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:1706 +#: library/functions.rst:1714 msgid "" "Static methods now inherit the method attributes (``__module__``, " "``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``), have a " @@ -3127,14 +3141,14 @@ msgstr "" "``__wrapped__`` özellikleri var ve artık normal fonksiyonlar gibi " "çağırılabilirler." -#: library/functions.rst:1721 +#: library/functions.rst:1729 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:1723 +#: library/functions.rst:1731 msgid "" "``str`` is the built-in string :term:`class`. For general information about " "strings, see :ref:`textseq`." @@ -3142,7 +3156,7 @@ msgstr "" "``str`` yerleşik dize :term:`class` 'ıdır. Dizeler hakkında genel bilgi " "için, :ref:`textseq` bkz." -#: library/functions.rst:1729 +#: library/functions.rst:1737 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 " @@ -3152,7 +3166,7 @@ msgstr "" "döndürür. *iterable* 'ın elemanları normal olarak numaralardır ve başlangıç " "değeri bir dize olamaz." -#: library/functions.rst:1733 +#: library/functions.rst:1741 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 ``''." @@ -3167,11 +3181,11 @@ msgstr "" "nesnelerden oluşan bir diziyi birleştirmek istiyorsanız, :func:`itertools." "chain` fonksiyonunu kullanmayı göz önünde bulundurun." -#: library/functions.rst:1739 +#: library/functions.rst:1747 msgid "The *start* parameter can be specified as a keyword argument." msgstr "*start* parametresi bir anahtar kelime argümanı olarak belirtilebilir." -#: library/functions.rst:1745 +#: library/functions.rst:1753 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 " @@ -3181,7 +3195,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:1749 +#: library/functions.rst:1757 msgid "" "The *object_or_type* determines the :term:`method resolution order` to be " "searched. The search starts from the class right after the *type*." @@ -3189,7 +3203,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:1753 +#: library/functions.rst:1761 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` " @@ -3199,7 +3213,7 @@ msgstr "" "> B -> C -> A -> object`` ise ve *type* değeri ``B`` ise, :func:`super` ``C -" "> A -> object`` 'i arar." -#: library/functions.rst:1757 +#: library/functions.rst:1765 msgid "" "The :attr:`~class.__mro__` attribute of the *object_or_type* lists the " "method resolution search order used by both :func:`getattr` and :func:" @@ -3211,7 +3225,7 @@ msgstr "" "listeler. Özellik dinamiktir ve kalıtım hiyerarşisi her güncellendiğinde " "değişebilir." -#: library/functions.rst:1762 +#: library/functions.rst:1770 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. " @@ -3223,7 +3237,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:1767 +#: library/functions.rst:1775 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 " @@ -3234,7 +3248,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:1772 +#: library/functions.rst:1780 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 " @@ -3255,12 +3269,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:1782 +#: library/functions.rst:1790 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:1789 +#: library/functions.rst:1797 msgid "" "In addition to method lookups, :func:`super` also works for attribute " "lookups. One possible use case for this is calling :term:`descriptors " @@ -3270,7 +3284,7 @@ msgstr "" "çalışır. Bunun kullanım şekli ebeveyn veya kardeş bir sınıfta :term:" "`tanımlayıcılar ` 'i çağırmaktır." -#: library/functions.rst:1793 +#: library/functions.rst:1801 msgid "" "Note that :func:`super` is implemented as part of the binding process for " "explicit dotted attribute lookups such as ``super().__getitem__(name)``. It " @@ -3286,7 +3300,7 @@ msgstr "" "`super`, ifadeler veya ``super()[name]`` gibi operatörler kullanarak kesin " "aramalar için tanımsızdır." -#: library/functions.rst:1800 +#: library/functions.rst:1808 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 " @@ -3301,7 +3315,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:1807 +#: library/functions.rst:1815 msgid "" "For practical suggestions on how to design cooperative classes using :func:" "`super`, see `guide to using super() `_ bkz." -#: library/functions.rst:1817 +#: library/functions.rst:1825 msgid "" "Rather than being a function, :class:`tuple` is actually an immutable " "sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`." @@ -3319,7 +3333,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:1826 +#: library/functions.rst:1834 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." @@ -3329,7 +3343,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:1830 +#: library/functions.rst:1838 msgid "" "The :func:`isinstance` built-in function is recommended for testing the type " "of an object, because it takes subclasses into account." @@ -3337,7 +3351,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:1834 +#: library/functions.rst:1842 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 " @@ -3358,11 +3372,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:1849 +#: library/functions.rst:1857 msgid "See also :ref:`bltin-type-objects`." msgstr ":ref:`bltin-type-objects` 'e de bkz." -#: library/functions.rst:1851 +#: library/functions.rst:1859 msgid "" "Keyword arguments provided to the three argument form are passed to the " "appropriate metaclass machinery (usually :meth:`~object.__init_subclass__`) " @@ -3374,11 +3388,11 @@ msgstr "" "tanımındaki anahtar sözcüklerin (*metaclass* dışında) yapacağı şekilde " "iletilir." -#: library/functions.rst:1856 +#: library/functions.rst:1864 msgid "See also :ref:`class-customization`." msgstr ":ref:`class-customization` 'a da bkz." -#: library/functions.rst:1858 +#: library/functions.rst:1866 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." @@ -3386,7 +3400,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:1865 +#: library/functions.rst:1873 msgid "" "Return the :attr:`~object.__dict__` attribute for a module, class, instance, " "or any other object with a :attr:`~object.__dict__` attribute." @@ -3394,7 +3408,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:1868 +#: library/functions.rst:1876 msgid "" "Objects such as modules and instances have an updateable :attr:`~object." "__dict__` attribute; however, other objects may have write restrictions on " @@ -3407,7 +3421,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:1873 +#: library/functions.rst:1881 msgid "" "Without an argument, :func:`vars` acts like :func:`locals`. Note, the " "locals dictionary is only useful for reads since updates to the locals " @@ -3417,7 +3431,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:1877 +#: library/functions.rst:1885 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 " @@ -3427,7 +3441,7 @@ msgstr "" "(örneğin, :attr:`~object.__slots__` özelliğini tanımlayan bir sınıf ise), :" "exc:`TypeError` hatası ortaya çıkar." -#: library/functions.rst:1883 +#: library/functions.rst:1891 msgid "" "Iterate over several iterables in parallel, producing tuples with an item " "from each one." @@ -3435,11 +3449,11 @@ msgstr "" "Paralel olarak birkaç yinelenebilir nesneyi yineler ve hepsinden bir element " "alarak bir demet üretir." -#: library/functions.rst:1886 +#: library/functions.rst:1894 msgid "Example::" msgstr "Örnek::" -#: library/functions.rst:1895 +#: library/functions.rst:1903 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." @@ -3448,7 +3462,7 @@ msgstr "" "parametre yineleyicisinden *i* 'inci elementi içerdiği bir yineleyici " "döndürür." -#: library/functions.rst:1898 +#: library/functions.rst:1906 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:1902 +#: library/functions.rst:1910 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:" @@ -3468,7 +3482,7 @@ msgstr "" "döngüsü veya :class:`list` tarafından sarılarak yinelenmediği sürece " "elementler işlenmez." -#: library/functions.rst:1906 +#: library/functions.rst:1914 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 " @@ -3480,7 +3494,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:1911 +#: library/functions.rst:1919 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 " @@ -3490,7 +3504,7 @@ msgstr "" "durur. Daha uzun yinelebilirlerde kalan elementleri görmezden gelecektir ve " "sonucu en kısa yineleyicinin uzunluğuna eşitleyecektir::" -#: library/functions.rst:1918 +#: library/functions.rst:1926 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`` " @@ -3500,7 +3514,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:1925 +#: library/functions.rst:1933 msgid "" "Unlike the default behavior, it raises a :exc:`ValueError` if one iterable " "is exhausted before the others:" @@ -3508,7 +3522,7 @@ msgstr "" "Varsayılan davranışın aksine, bir yinelenebilir diğerlerinden önce tükenirse " "bir :exc:`ValueError` ortaya çıkar:" -#: library/functions.rst:1943 +#: library/functions.rst:1951 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 " @@ -3518,7 +3532,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:1947 +#: library/functions.rst:1955 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." @@ -3528,7 +3542,7 @@ msgstr "" "uzunlukta olması için sabit bir değerle doldurulabilirler. Bu :func:" "`itertools.zip_longest` tarafından yapılır." -#: library/functions.rst:1951 +#: library/functions.rst:1959 msgid "" "Edge cases: With a single iterable argument, :func:`zip` returns an iterator " "of 1-tuples. With no arguments, it returns an empty iterator." @@ -3537,11 +3551,11 @@ msgstr "" "bir demetin yineleyicisini döndürür. Argüman verilmezse, boş bir yineleyici " "döndürür." -#: library/functions.rst:1954 +#: library/functions.rst:1962 msgid "Tips and tricks:" msgstr "İpucu ve hileler:" -#: library/functions.rst:1956 +#: library/functions.rst:1964 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 " @@ -3556,7 +3570,7 @@ msgstr "" "sayıda çağrı yapmış olur. Bu, girdiyi n-uzunluklu parçalara bölme etkisine " "sahiptir." -#: library/functions.rst:1962 +#: library/functions.rst:1970 msgid "" ":func:`zip` in conjunction with the ``*`` operator can be used to unzip a " "list::" @@ -3564,11 +3578,11 @@ msgstr "" ":func:`zip`, bir listeyi açmak için ``*`` operatörüyle birlikte " "kullanılabilir::" -#: library/functions.rst:1973 +#: library/functions.rst:1981 msgid "Added the ``strict`` argument." msgstr "``strict`` argümanı eklendi." -#: library/functions.rst:1985 +#: library/functions.rst:1993 msgid "" "This is an advanced function that is not needed in everyday Python " "programming, unlike :func:`importlib.import_module`." @@ -3576,7 +3590,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:1988 +#: library/functions.rst:1996 msgid "" "This function is invoked by the :keyword:`import` statement. It can be " "replaced (by importing the :mod:`builtins` module and assigning to " @@ -3595,7 +3609,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:1997 +#: library/functions.rst:2005 msgid "" "The function imports the module *name*, potentially using the given " "*globals* and *locals* to determine how to interpret the name in a package " @@ -3611,7 +3625,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:2004 +#: library/functions.rst:2012 msgid "" "*level* specifies whether to use absolute or relative imports. ``0`` (the " "default) means only perform absolute imports. Positive values for *level* " @@ -3625,7 +3639,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:2010 +#: library/functions.rst:2018 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 " @@ -3636,7 +3650,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:2015 +#: library/functions.rst:2023 msgid "" "For example, the statement ``import spam`` results in bytecode resembling " "the following code::" @@ -3644,11 +3658,11 @@ msgstr "" "Örnek olarak, ``import spam`` ifadesi aşağıdaki koda benzeyen bayt koduyla " "sonuçlanır::" -#: library/functions.rst:2020 +#: library/functions.rst:2028 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:2024 +#: library/functions.rst:2032 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." @@ -3657,7 +3671,7 @@ msgstr "" "dikkat edin, çünkü bu, :keyword:`import` ifadesiyle bir ada bağlanan " "nesnedir." -#: library/functions.rst:2027 +#: library/functions.rst:2035 msgid "" "On the other hand, the statement ``from spam.ham import eggs, sausage as " "saus`` results in ::" @@ -3665,7 +3679,7 @@ msgstr "" "Diğer yandan, ``from spam.ham import eggs, sausage as saus`` ifadesi şöyle " "sonuçlanır::" -#: library/functions.rst:2034 +#: library/functions.rst:2042 msgid "" "Here, the ``spam.ham`` module is returned from :func:`__import__`. From " "this object, the names to import are retrieved and assigned to their " @@ -3674,7 +3688,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:2038 +#: library/functions.rst:2046 msgid "" "If you simply want to import a module (potentially within a package) by " "name, use :func:`importlib.import_module`." @@ -3682,7 +3696,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:2041 +#: library/functions.rst:2049 msgid "" "Negative values for *level* are no longer supported (which also changes the " "default value to 0)." @@ -3690,7 +3704,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:2045 +#: library/functions.rst:2053 msgid "" "When the command line options :option:`-E` or :option:`-I` are being used, " "the environment variable :envvar:`PYTHONCASEOK` is now ignored." @@ -3698,11 +3712,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:2050 +#: library/functions.rst:2058 msgid "Footnotes" msgstr "Dipnotlar" -#: library/functions.rst:2051 +#: library/functions.rst:2059 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 " @@ -3713,6 +3727,120 @@ 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 +msgid "Boolean" +msgstr "" + +#: library/functions.rst:1832 +msgid "type" +msgstr "" + +#: library/functions.rst:571 +#, fuzzy +msgid "built-in function" +msgstr "Gömülü Fonksiyonlar" + +#: library/functions.rst:571 +msgid "exec" +msgstr "" + +#: library/functions.rst:648 +msgid "NaN" +msgstr "" + +#: library/functions.rst:648 +msgid "Infinity" +msgstr "" + +#: library/functions.rst:713 +msgid "__format__" +msgstr "" + +#: library/functions.rst:1721 +msgid "string" +msgstr "" + +#: library/functions.rst:713 +#, fuzzy +msgid "format() (built-in function)" +msgstr "Gömülü Fonksiyonlar" + +#: library/functions.rst:1160 +msgid "file object" +msgstr "" + +#: library/functions.rst:1281 +#, fuzzy +msgid "open() built-in function" +msgstr "Gömülü Fonksiyonlar" + +#: library/functions.rst:1188 +msgid "file" +msgstr "" + +#: library/functions.rst:1188 +msgid "modes" +msgstr "" + +#: library/functions.rst:1281 +msgid "universal newlines" +msgstr "" + +#: library/functions.rst:1342 +msgid "line-buffered I/O" +msgstr "" + +#: library/functions.rst:1342 +msgid "unbuffered I/O" +msgstr "" + +#: library/functions.rst:1342 +msgid "buffer size, I/O" +msgstr "" + +#: library/functions.rst:1342 +msgid "I/O control" +msgstr "" + +#: library/functions.rst:1342 +msgid "buffering" +msgstr "" + +#: library/functions.rst:1342 +#, fuzzy +msgid "text mode" +msgstr "metin modu (varsayılan)" + +#: library/functions.rst:1987 +msgid "module" +msgstr "" + +#: library/functions.rst:1342 +msgid "sys" +msgstr "" + +#: library/functions.rst:1721 +#, fuzzy +msgid "str() (built-in function)" +msgstr "Gömülü Fonksiyonlar" + +#: library/functions.rst:1832 +#, fuzzy +msgid "object" +msgstr ":func:`object`" + +#: library/functions.rst:1987 +msgid "statement" +msgstr "" + +#: library/functions.rst:1987 +msgid "import" +msgstr "" + +#: library/functions.rst:1987 +msgid "builtins" +msgstr "" + #~ 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/functools.po b/library/functools.po index a2e82bec8..18f0d162e 100644 --- a/library/functools.po +++ b/library/functools.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -51,17 +51,25 @@ msgid "" "`lru_cache()` with a size limit." msgstr "" -#: library/functools.rst:273 +#: library/functools.rst:275 msgid "For example::" msgstr "" -#: library/functools.rst:146 +#: library/functools.rst:143 msgid "" -"The cache is threadsafe so the wrapped function can be used in multiple " -"threads." +"The cache is threadsafe so that the wrapped function can be used in multiple " +"threads. This means that the underlying data structure will remain coherent " +"during concurrent updates." msgstr "" -#: library/functools.rst:60 +#: library/functools.rst:147 +msgid "" +"It is possible for the wrapped function to be called more than once if " +"another thread makes an additional call before the initial call has been " +"completed and cached." +msgstr "" + +#: library/functools.rst:65 msgid "" "Transform a method of a class into a property whose value is computed once " "and then cached as a normal attribute for the life of the instance. Similar " @@ -69,18 +77,18 @@ msgid "" "computed properties of instances that are otherwise effectively immutable." msgstr "" -#: library/functools.rst:130 library/functools.rst:365 +#: library/functools.rst:127 library/functools.rst:367 msgid "Example::" msgstr "" -#: library/functools.rst:76 +#: library/functools.rst:81 msgid "" "The mechanics of :func:`cached_property` are somewhat different from :func:" "`property`. A regular property blocks attribute writes unless a setter is " "defined. In contrast, a *cached_property* allows writes." msgstr "" -#: library/functools.rst:80 +#: library/functools.rst:85 msgid "" "The *cached_property* decorator only runs on lookups and only when an " "attribute of the same name doesn't exist. When it does run, the " @@ -89,20 +97,20 @@ msgid "" "and it works like a normal attribute." msgstr "" -#: library/functools.rst:86 +#: library/functools.rst:91 msgid "" "The cached value can be cleared by deleting the attribute. This allows the " "*cached_property* method to run again." msgstr "" -#: library/functools.rst:89 +#: library/functools.rst:94 msgid "" "Note, this decorator interferes with the operation of :pep:`412` key-sharing " "dictionaries. This means that instance dictionaries can take more space " "than usual." msgstr "" -#: library/functools.rst:93 +#: library/functools.rst:98 msgid "" "Also, this decorator requires that the ``__dict__`` attribute on each " "instance be a mutable mapping. This means it will not work with some types, " @@ -112,14 +120,16 @@ msgid "" "such classes don't provide a ``__dict__`` attribute at all)." msgstr "" -#: library/functools.rst:100 +#: library/functools.rst:105 msgid "" "If a mutable mapping is not available or if space-efficient key sharing is " -"desired, an effect similar to :func:`cached_property` can be achieved by a " -"stacking :func:`property` on top of :func:`cache`::" +"desired, an effect similar to :func:`cached_property` can also be achieved " +"by stacking :func:`property` on top of :func:`lru_cache`. See :ref:`faq-" +"cache-method-calls` for more details on how this differs from :func:" +"`cached_property`." msgstr "" -#: library/functools.rst:118 +#: library/functools.rst:115 msgid "" "Transform an old-style comparison function to a :term:`key function`. Used " "with tools that accept key functions (such as :func:`sorted`, :func:`min`, :" @@ -129,7 +139,7 @@ msgid "" "comparison functions." msgstr "" -#: library/functools.rst:125 +#: library/functools.rst:122 msgid "" "A comparison function is any callable that accepts two arguments, compares " "them, and returns a negative number for less-than, zero for equality, or a " @@ -137,25 +147,25 @@ msgid "" "one argument and returns another value to be used as the sort key." msgstr "" -#: library/functools.rst:134 +#: library/functools.rst:131 msgid "" "For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`." msgstr "" -#: library/functools.rst:142 +#: library/functools.rst:139 msgid "" "Decorator to wrap a function with a memoizing callable that saves up to the " "*maxsize* most recent calls. It can save time when an expensive or I/O " "bound function is periodically called with the same arguments." msgstr "" -#: library/functools.rst:149 +#: library/functools.rst:151 msgid "" "Since a dictionary is used to cache results, the positional and keyword " "arguments to the function must be :term:`hashable`." msgstr "" -#: library/functools.rst:152 +#: library/functools.rst:154 msgid "" "Distinct argument patterns may be considered to be distinct calls with " "separate cache entries. For example, ``f(a=1, b=2)`` and ``f(b=2, a=1)`` " @@ -163,20 +173,20 @@ msgid "" "entries." msgstr "" -#: library/functools.rst:157 +#: library/functools.rst:159 msgid "" "If *user_function* is specified, it must be a callable. This allows the " "*lru_cache* decorator to be applied directly to a user function, leaving the " "*maxsize* at its default value of 128::" msgstr "" -#: library/functools.rst:165 +#: library/functools.rst:167 msgid "" "If *maxsize* is set to ``None``, the LRU feature is disabled and the cache " "can grow without bound." msgstr "" -#: library/functools.rst:168 +#: library/functools.rst:170 msgid "" "If *typed* is set to true, function arguments of different types will be " "cached separately. If *typed* is false, the implementation will usually " @@ -184,7 +194,7 @@ msgid "" "such as *str* and *int* may be cached separately even when *typed* is false.)" msgstr "" -#: library/functools.rst:174 +#: library/functools.rst:176 msgid "" "Note, type specificity applies only to the function's immediate arguments " "rather than their contents. The scalar arguments, ``Decimal(42)`` and " @@ -193,7 +203,7 @@ msgid "" "Fraction(42))`` are treated as equivalent." msgstr "" -#: library/functools.rst:180 +#: library/functools.rst:182 msgid "" "The wrapped function is instrumented with a :func:`cache_parameters` " "function that returns a new :class:`dict` showing the values for *maxsize* " @@ -201,7 +211,7 @@ msgid "" "has no effect." msgstr "" -#: library/functools.rst:185 +#: library/functools.rst:187 msgid "" "To help measure the effectiveness of the cache and tune the *maxsize* " "parameter, the wrapped function is instrumented with a :func:`cache_info` " @@ -209,32 +219,32 @@ msgid "" "*maxsize* and *currsize*." msgstr "" -#: library/functools.rst:190 +#: library/functools.rst:192 msgid "" "The decorator also provides a :func:`cache_clear` function for clearing or " "invalidating the cache." msgstr "" -#: library/functools.rst:193 +#: library/functools.rst:195 msgid "" "The original underlying function is accessible through the :attr:" "`__wrapped__` attribute. This is useful for introspection, for bypassing " "the cache, or for rewrapping the function with a different cache." msgstr "" -#: library/functools.rst:197 +#: library/functools.rst:199 msgid "" "The cache keeps references to the arguments and return values until they age " "out of the cache or until the cache is cleared." msgstr "" -#: library/functools.rst:200 +#: library/functools.rst:202 msgid "" "If a method is cached, the ``self`` instance argument is included in the " "cache. See :ref:`faq-cache-method-calls`" msgstr "" -#: library/functools.rst:203 +#: library/functools.rst:205 msgid "" "An `LRU (least recently used) cache `_ works best when the " @@ -244,7 +254,7 @@ msgid "" "long-running processes such as web servers." msgstr "" -#: library/functools.rst:210 +#: library/functools.rst:212 msgid "" "In general, the LRU cache should only be used when you want to reuse " "previously computed values. Accordingly, it doesn't make sense to cache " @@ -252,44 +262,44 @@ msgid "" "objects on each call, or impure functions such as time() or random()." msgstr "" -#: library/functools.rst:215 +#: library/functools.rst:217 msgid "Example of an LRU cache for static web content::" msgstr "" -#: library/functools.rst:234 +#: library/functools.rst:236 msgid "" "Example of efficiently computing `Fibonacci numbers `_ using a cache to implement a `dynamic " "programming `_ technique::" msgstr "" -#: library/functools.rst:254 +#: library/functools.rst:256 msgid "Added the *typed* option." msgstr "" -#: library/functools.rst:257 +#: library/functools.rst:259 msgid "Added the *user_function* option." msgstr "" -#: library/functools.rst:260 +#: library/functools.rst:262 msgid "Added the function :func:`cache_parameters`" msgstr "" -#: library/functools.rst:265 +#: library/functools.rst:267 msgid "" "Given a class defining one or more rich comparison ordering methods, this " "class decorator supplies the rest. This simplifies the effort involved in " "specifying all of the possible rich comparison operations:" msgstr "" -#: library/functools.rst:269 +#: library/functools.rst:271 msgid "" "The class must define one of :meth:`__lt__`, :meth:`__le__`, :meth:`__gt__`, " "or :meth:`__ge__`. In addition, the class should supply an :meth:`__eq__` " "method." msgstr "" -#: library/functools.rst:293 +#: library/functools.rst:295 msgid "" "While this decorator makes it easy to create well behaved totally ordered " "types, it *does* come at the cost of slower execution and more complex stack " @@ -298,7 +308,7 @@ msgid "" "rich comparison methods instead is likely to provide an easy speed boost." msgstr "" -#: library/functools.rst:302 +#: library/functools.rst:304 msgid "" "This decorator makes no attempt to override methods that have been declared " "in the class *or its superclasses*. Meaning that if a superclass defines a " @@ -306,13 +316,13 @@ msgid "" "the original method is abstract." msgstr "" -#: library/functools.rst:309 +#: library/functools.rst:311 msgid "" "Returning NotImplemented from the underlying comparison function for " "unrecognised types is now supported." msgstr "" -#: library/functools.rst:315 +#: library/functools.rst:317 msgid "" "Return a new :ref:`partial object` which when called will " "behave like *func* called with the positional arguments *args* and keyword " @@ -321,7 +331,7 @@ msgid "" "extend and override *keywords*. Roughly equivalent to::" msgstr "" -#: library/functools.rst:331 +#: library/functools.rst:333 msgid "" "The :func:`partial` is used for partial function application which " "\"freezes\" some portion of a function's arguments and/or keywords resulting " @@ -330,20 +340,20 @@ msgid "" "where the *base* argument defaults to two:" msgstr "" -#: library/functools.rst:346 +#: library/functools.rst:348 msgid "" "Return a new :class:`partialmethod` descriptor which behaves like :class:" "`partial` except that it is designed to be used as a method definition " "rather than being directly callable." msgstr "" -#: library/functools.rst:350 +#: library/functools.rst:352 msgid "" "*func* must be a :term:`descriptor` or a callable (objects which are both, " "like normal functions, are handled as descriptors)." msgstr "" -#: library/functools.rst:353 +#: library/functools.rst:355 msgid "" "When *func* is a descriptor (such as a normal Python function, :func:" "`classmethod`, :func:`staticmethod`, :func:`abstractmethod` or another " @@ -352,7 +362,7 @@ msgid "" "objects>` returned as the result." msgstr "" -#: library/functools.rst:359 +#: library/functools.rst:361 msgid "" "When *func* is a non-descriptor callable, an appropriate bound method is " "created dynamically. This behaves like a normal Python function when used as " @@ -361,7 +371,7 @@ msgid "" "`partialmethod` constructor." msgstr "" -#: library/functools.rst:390 +#: library/functools.rst:392 msgid "" "Apply *function* of two arguments cumulatively to the items of *iterable*, " "from left to right, so as to reduce the iterable to a single value. For " @@ -374,30 +384,30 @@ msgid "" "the first item is returned." msgstr "" -#: library/functools.rst:399 +#: library/functools.rst:401 msgid "Roughly equivalent to::" msgstr "" -#: library/functools.rst:411 +#: library/functools.rst:413 msgid "" "See :func:`itertools.accumulate` for an iterator that yields all " "intermediate values." msgstr "" -#: library/functools.rst:416 +#: library/functools.rst:418 msgid "" "Transform a function into a :term:`single-dispatch ` :term:" "`generic function`." msgstr "" -#: library/functools.rst:419 +#: library/functools.rst:421 msgid "" "To define a generic function, decorate it with the ``@singledispatch`` " "decorator. When defining a function using ``@singledispatch``, note that the " "dispatch happens on the type of the first argument::" msgstr "" -#: library/functools.rst:430 +#: library/functools.rst:432 msgid "" "To add overloaded implementations to the function, use the :func:`register` " "attribute of the generic function, which can be used as a decorator. For " @@ -405,36 +415,36 @@ msgid "" "first argument automatically::" msgstr "" -#: library/functools.rst:448 +#: library/functools.rst:450 msgid ":data:`types.UnionType` and :data:`typing.Union` can also be used::" msgstr "" -#: library/functools.rst:465 +#: library/functools.rst:467 msgid "" "For code which doesn't use type annotations, the appropriate type argument " "can be passed explicitly to the decorator itself::" msgstr "" -#: library/functools.rst:476 +#: library/functools.rst:478 msgid "" "To enable registering :term:`lambdas` and pre-existing functions, " "the :func:`register` attribute can also be used in a functional form::" msgstr "" -#: library/functools.rst:484 +#: library/functools.rst:486 msgid "" "The :func:`register` attribute returns the undecorated function. This " "enables decorator stacking, :mod:`pickling`, and the creation of " "unit tests for each variant independently::" msgstr "" -#: library/functools.rst:498 +#: library/functools.rst:500 msgid "" "When called, the generic function dispatches on the type of the first " "argument::" msgstr "" -#: library/functools.rst:518 +#: library/functools.rst:520 msgid "" "Where there is no registered implementation for a specific type, its method " "resolution order is used to find a more generic implementation. The original " @@ -443,42 +453,42 @@ msgid "" "found." msgstr "" -#: library/functools.rst:524 +#: library/functools.rst:526 msgid "" "If an implementation is registered to an :term:`abstract base class`, " "virtual subclasses of the base class will be dispatched to that " "implementation::" msgstr "" -#: library/functools.rst:539 +#: library/functools.rst:541 msgid "" "To check which implementation the generic function will choose for a given " "type, use the ``dispatch()`` attribute::" msgstr "" -#: library/functools.rst:547 +#: library/functools.rst:549 msgid "" "To access all registered implementations, use the read-only ``registry`` " "attribute::" msgstr "" -#: library/functools.rst:561 +#: library/functools.rst:563 msgid "The :func:`register` attribute now supports using type annotations." msgstr "" -#: library/functools.rst:564 +#: library/functools.rst:566 msgid "" "The :func:`register` attribute now supports :data:`types.UnionType` and :" "data:`typing.Union` as type annotations." msgstr "" -#: library/functools.rst:571 +#: library/functools.rst:573 msgid "" "Transform a method into a :term:`single-dispatch ` :term:" "`generic function`." msgstr "" -#: library/functools.rst:574 +#: library/functools.rst:576 msgid "" "To define a generic method, decorate it with the ``@singledispatchmethod`` " "decorator. When defining a function using ``@singledispatchmethod``, note " @@ -486,7 +496,7 @@ msgid "" "argument::" msgstr "" -#: library/functools.rst:592 +#: library/functools.rst:594 msgid "" "``@singledispatchmethod`` supports nesting with other decorators such as :" "func:`@classmethod`. Note that to allow for ``dispatcher." @@ -495,14 +505,14 @@ msgid "" "rather than an instance of the class::" msgstr "" -#: library/functools.rst:614 +#: library/functools.rst:616 msgid "" "The same pattern can be used for other similar decorators: :func:" "`@staticmethod`, :func:`@abstractmethod`, " "and others." msgstr "" -#: library/functools.rst:623 +#: library/functools.rst:625 msgid "" "Update a *wrapper* function to look like the *wrapped* function. The " "optional arguments are tuples to specify which attributes of the original " @@ -516,7 +526,7 @@ msgid "" "``__dict__``, i.e. the instance dictionary)." msgstr "" -#: library/functools.rst:633 +#: library/functools.rst:635 msgid "" "To allow access to the original function for introspection and other " "purposes (e.g. bypassing a caching decorator such as :func:`lru_cache`), " @@ -524,7 +534,7 @@ msgid "" "that refers to the function being wrapped." msgstr "" -#: library/functools.rst:638 +#: library/functools.rst:640 msgid "" "The main intended use for this function is in :term:`decorator` functions " "which wrap the decorated function and return the wrapper. If the wrapper " @@ -533,7 +543,7 @@ msgid "" "is typically less than helpful." msgstr "" -#: library/functools.rst:644 +#: library/functools.rst:646 msgid "" ":func:`update_wrapper` may be used with callables other than functions. Any " "attributes named in *assigned* or *updated* that are missing from the object " @@ -542,26 +552,26 @@ msgid "" "wrapper function itself is missing any attributes named in *updated*." msgstr "" -#: library/functools.rst:650 +#: library/functools.rst:652 msgid "Automatic addition of the ``__wrapped__`` attribute." msgstr "" -#: library/functools.rst:653 +#: library/functools.rst:655 msgid "Copying of the ``__annotations__`` attribute by default." msgstr "" -#: library/functools.rst:656 +#: library/functools.rst:658 msgid "Missing attributes no longer trigger an :exc:`AttributeError`." msgstr "" -#: library/functools.rst:659 +#: library/functools.rst:661 msgid "" "The ``__wrapped__`` attribute now always refers to the wrapped function, " "even if that function defined a ``__wrapped__`` attribute. (see :issue:" "`17482`)" msgstr "" -#: library/functools.rst:667 +#: library/functools.rst:669 msgid "" "This is a convenience function for invoking :func:`update_wrapper` as a " "function decorator when defining a wrapper function. It is equivalent to " @@ -569,42 +579,42 @@ msgid "" "updated=updated)``. For example::" msgstr "" -#: library/functools.rst:693 +#: library/functools.rst:695 msgid "" "Without the use of this decorator factory, the name of the example function " "would have been ``'wrapper'``, and the docstring of the original :func:" "`example` would have been lost." msgstr "" -#: library/functools.rst:701 +#: library/functools.rst:703 msgid ":class:`partial` Objects" msgstr "" -#: library/functools.rst:703 +#: library/functools.rst:705 msgid "" ":class:`partial` objects are callable objects created by :func:`partial`. " "They have three read-only attributes:" msgstr "" -#: library/functools.rst:709 +#: library/functools.rst:711 msgid "" "A callable object or function. Calls to the :class:`partial` object will be " "forwarded to :attr:`func` with new arguments and keywords." msgstr "" -#: library/functools.rst:715 +#: library/functools.rst:717 msgid "" "The leftmost positional arguments that will be prepended to the positional " "arguments provided to a :class:`partial` object call." msgstr "" -#: library/functools.rst:721 +#: library/functools.rst:723 msgid "" "The keyword arguments that will be supplied when the :class:`partial` object " "is called." msgstr "" -#: library/functools.rst:724 +#: library/functools.rst:726 msgid "" ":class:`partial` objects are like :class:`function` objects in that they are " "callable, weak referencable, and can have attributes. There are some " diff --git a/library/gc.po b/library/gc.po index 1980ec68a..185292a27 100644 --- a/library/gc.po +++ b/library/gc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -66,25 +66,31 @@ msgid "" "implementation, in particular :class:`float`." msgstr "" -#: library/gc.rst:56 +#: library/gc.rst:53 +msgid "" +"The effect of calling ``gc.collect()`` while the interpreter is already " +"performing a collection is undefined." +msgstr "" + +#: library/gc.rst:59 msgid "" "Set the garbage collection debugging flags. Debugging information will be " "written to ``sys.stderr``. See below for a list of debugging flags which " "can be combined using bit operations to control debugging." msgstr "" -#: library/gc.rst:63 +#: library/gc.rst:66 msgid "Return the debugging flags currently set." msgstr "" -#: library/gc.rst:68 +#: library/gc.rst:71 msgid "" "Returns a list of all objects tracked by the collector, excluding the list " "returned. If *generation* is not None, return only the objects tracked by " "the collector that are in that generation." msgstr "" -#: library/gc.rst:72 +#: library/gc.rst:75 msgid "New *generation* parameter." msgstr "" @@ -94,37 +100,37 @@ msgid "" "``generation``." msgstr "" -#: library/gc.rst:79 +#: library/gc.rst:82 msgid "" "Return a list of three per-generation dictionaries containing collection " "statistics since interpreter start. The number of keys may change in the " "future, but currently each dictionary will contain the following items:" msgstr "" -#: library/gc.rst:84 +#: library/gc.rst:87 msgid "``collections`` is the number of times this generation was collected;" msgstr "" -#: library/gc.rst:86 +#: library/gc.rst:89 msgid "" "``collected`` is the total number of objects collected inside this " "generation;" msgstr "" -#: library/gc.rst:89 +#: library/gc.rst:92 msgid "" "``uncollectable`` is the total number of objects which were found to be " "uncollectable (and were therefore moved to the :data:`garbage` list) inside " "this generation." msgstr "" -#: library/gc.rst:98 +#: library/gc.rst:101 msgid "" "Set the garbage collection thresholds (the collection frequency). Setting " "*threshold0* to zero disables collection." msgstr "" -#: library/gc.rst:101 +#: library/gc.rst:104 msgid "" "The GC classifies objects into three generations depending on how many " "collection sweeps they have survived. New objects are placed in the " @@ -143,19 +149,19 @@ msgid "" "information." msgstr "" -#: library/gc.rst:118 +#: library/gc.rst:121 msgid "" "Return the current collection counts as a tuple of ``(count0, count1, " "count2)``." msgstr "" -#: library/gc.rst:124 +#: library/gc.rst:127 msgid "" "Return the current collection thresholds as a tuple of ``(threshold0, " "threshold1, threshold2)``." msgstr "" -#: library/gc.rst:130 +#: library/gc.rst:133 msgid "" "Return the list of objects that directly refer to any of objs. This function " "will only locate those containers which support garbage collection; " @@ -163,7 +169,7 @@ msgid "" "collection will not be found." msgstr "" -#: library/gc.rst:135 +#: library/gc.rst:138 msgid "" "Note that objects which have already been dereferenced, but which live in " "cycles and have not yet been collected by the garbage collector can be " @@ -171,7 +177,7 @@ msgid "" "call :func:`collect` before calling :func:`get_referrers`." msgstr "" -#: library/gc.rst:141 +#: library/gc.rst:144 msgid "" "Care must be taken when using objects returned by :func:`get_referrers` " "because some of them could still be under construction and hence in a " @@ -185,7 +191,7 @@ msgid "" "argument ``objs``." msgstr "" -#: library/gc.rst:151 +#: library/gc.rst:154 msgid "" "Return a list of objects directly referred to by any of the arguments. The " "referents returned are those objects visited by the arguments' C-level :c:" @@ -203,7 +209,7 @@ msgid "" "argument ``objs``." msgstr "" -#: library/gc.rst:163 +#: library/gc.rst:166 msgid "" "Returns ``True`` if the object is currently tracked by the garbage " "collector, ``False`` otherwise. As a general rule, instances of atomic " @@ -213,39 +219,47 @@ msgid "" "instances (e.g. dicts containing only atomic keys and values)::" msgstr "" -#: library/gc.rst:188 +#: library/gc.rst:191 msgid "" "Returns ``True`` if the given object has been finalized by the garbage " "collector, ``False`` otherwise. ::" msgstr "" -#: library/gc.rst:209 +#: library/gc.rst:212 +msgid "" +"Freeze all the objects tracked by the garbage collector; move them to a " +"permanent generation and ignore them in all the future collections." +msgstr "" + +#: library/gc.rst:215 msgid "" -"Freeze all the objects tracked by gc - move them to a permanent generation " -"and ignore all the future collections. This can be used before a POSIX " -"fork() call to make the gc copy-on-write friendly or to speed up collection. " -"Also collection before a POSIX fork() call may free pages for future " -"allocation which can cause copy-on-write too so it's advised to disable gc " -"in parent process and freeze before fork and enable gc in child process." +"If a process will ``fork()`` without ``exec()``, avoiding unnecessary copy-" +"on-write in child processes will maximize memory sharing and reduce overall " +"memory usage. This requires both avoiding creation of freed \"holes\" in " +"memory pages in the parent process and ensuring that GC collections in child " +"processes won't touch the ``gc_refs`` counter of long-lived objects " +"originating in the parent process. To accomplish both, call ``gc.disable()`` " +"early in the parent process, ``gc.freeze()`` right before ``fork()``, and " +"``gc.enable()`` early in child processes." msgstr "" -#: library/gc.rst:221 +#: library/gc.rst:229 msgid "" "Unfreeze the objects in the permanent generation, put them back into the " "oldest generation." msgstr "" -#: library/gc.rst:229 +#: library/gc.rst:237 msgid "Return the number of objects in the permanent generation." msgstr "" -#: library/gc.rst:234 +#: library/gc.rst:242 msgid "" "The following variables are provided for read-only access (you can mutate " "the values but should not rebind them):" msgstr "" -#: library/gc.rst:239 +#: library/gc.rst:247 msgid "" "A list of objects which the collector found to be unreachable but could not " "be freed (uncollectable objects). Starting with Python 3.4, this list " @@ -253,13 +267,13 @@ msgid "" "types with a non-``NULL`` ``tp_del`` slot." msgstr "" -#: library/gc.rst:244 +#: library/gc.rst:252 msgid "" "If :const:`DEBUG_SAVEALL` is set, then all unreachable objects will be added " "to this list rather than freed." msgstr "" -#: library/gc.rst:247 +#: library/gc.rst:255 msgid "" "If this list is non-empty at :term:`interpreter shutdown`, a :exc:" "`ResourceWarning` is emitted, which is silent by default. If :const:" @@ -267,105 +281,105 @@ msgid "" "printed." msgstr "" -#: library/gc.rst:253 +#: library/gc.rst:261 msgid "" "Following :pep:`442`, objects with a :meth:`__del__` method don't end up in :" "attr:`gc.garbage` anymore." msgstr "" -#: library/gc.rst:259 +#: library/gc.rst:267 msgid "" "A list of callbacks that will be invoked by the garbage collector before and " "after collection. The callbacks will be called with two arguments, *phase* " "and *info*." msgstr "" -#: library/gc.rst:263 +#: library/gc.rst:271 msgid "*phase* can be one of two values:" msgstr "" -#: library/gc.rst:265 +#: library/gc.rst:273 msgid "\"start\": The garbage collection is about to start." msgstr "" -#: library/gc.rst:267 +#: library/gc.rst:275 msgid "\"stop\": The garbage collection has finished." msgstr "" -#: library/gc.rst:269 +#: library/gc.rst:277 msgid "" "*info* is a dict providing more information for the callback. The following " "keys are currently defined:" msgstr "" -#: library/gc.rst:272 +#: library/gc.rst:280 msgid "\"generation\": The oldest generation being collected." msgstr "" -#: library/gc.rst:274 +#: library/gc.rst:282 msgid "" "\"collected\": When *phase* is \"stop\", the number of objects successfully " "collected." msgstr "" -#: library/gc.rst:277 +#: library/gc.rst:285 msgid "" "\"uncollectable\": When *phase* is \"stop\", the number of objects that " "could not be collected and were put in :data:`garbage`." msgstr "" -#: library/gc.rst:280 +#: library/gc.rst:288 msgid "" "Applications can add their own callbacks to this list. The primary use " "cases are:" msgstr "" -#: library/gc.rst:283 +#: library/gc.rst:291 msgid "" "Gathering statistics about garbage collection, such as how often various " "generations are collected, and how long the collection takes." msgstr "" -#: library/gc.rst:287 +#: library/gc.rst:295 msgid "" "Allowing applications to identify and clear their own uncollectable types " "when they appear in :data:`garbage`." msgstr "" -#: library/gc.rst:293 +#: library/gc.rst:301 msgid "The following constants are provided for use with :func:`set_debug`:" msgstr "" -#: library/gc.rst:298 +#: library/gc.rst:306 msgid "" "Print statistics during collection. This information can be useful when " "tuning the collection frequency." msgstr "" -#: library/gc.rst:304 +#: library/gc.rst:312 msgid "Print information on collectable objects found." msgstr "" -#: library/gc.rst:309 +#: library/gc.rst:317 msgid "" "Print information of uncollectable objects found (objects which are not " "reachable but cannot be freed by the collector). These objects will be " "added to the ``garbage`` list." msgstr "" -#: library/gc.rst:313 +#: library/gc.rst:321 msgid "" "Also print the contents of the :data:`garbage` list at :term:`interpreter " "shutdown`, if it isn't empty." msgstr "" -#: library/gc.rst:319 +#: library/gc.rst:327 msgid "" "When set, all unreachable objects found will be appended to *garbage* rather " "than being freed. This can be useful for debugging a leaking program." msgstr "" -#: library/gc.rst:325 +#: library/gc.rst:333 msgid "" "The debugging flags necessary for the collector to print information about a " "leaking program (equal to ``DEBUG_COLLECTABLE | DEBUG_UNCOLLECTABLE | " diff --git a/library/gettext.po b/library/gettext.po index f47b48884..b9c63d658 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -756,3 +756,15 @@ msgstr "" #: library/gettext.rst:649 msgid "See the footnote for :func:`bindtextdomain` above." msgstr "" + +#: library/gettext.rst:56 +msgid "_ (underscore)" +msgstr "" + +#: library/gettext.rst:56 +msgid "gettext" +msgstr "" + +#: library/gettext.rst:397 +msgid "GNOME" +msgstr "" diff --git a/library/glob.po b/library/glob.po index ca0840cc4..4bf59198d 100644 --- a/library/glob.po +++ b/library/glob.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -160,3 +160,43 @@ msgstr "" #: library/glob.rst:151 msgid "Shell-style filename (not path) expansion" msgstr "" + +#: library/glob.rst:9 +msgid "filenames" +msgstr "" + +#: library/glob.rst:9 +msgid "pathname expansion" +msgstr "" + +#: library/glob.rst:13 +msgid "* (asterisk)" +msgstr "" + +#: library/glob.rst:63 +msgid "in glob-style wildcards" +msgstr "" + +#: library/glob.rst:13 +msgid "? (question mark)" +msgstr "" + +#: library/glob.rst:13 +msgid "[] (square brackets)" +msgstr "" + +#: library/glob.rst:13 +msgid "! (exclamation)" +msgstr "" + +#: library/glob.rst:13 +msgid "- (minus)" +msgstr "" + +#: library/glob.rst:13 +msgid ". (dot)" +msgstr "" + +#: library/glob.rst:63 +msgid "**" +msgstr "" diff --git a/library/gzip.po b/library/gzip.po index e5872b06c..490a52691 100644 --- a/library/gzip.po +++ b/library/gzip.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -103,7 +103,7 @@ msgstr "" msgid "Added support for the ``'x'``, ``'xb'`` and ``'xt'`` modes." msgstr "" -#: library/gzip.rst:165 +#: library/gzip.rst:171 msgid "Accepts a :term:`path-like object`." msgstr "" @@ -222,38 +222,45 @@ msgid "" "returned by :func:`os.stat`." msgstr "" -#: library/gzip.rst:146 +#: library/gzip.rst:148 +msgid "" +"The path to the gzip file on disk, as a :class:`str` or :class:`bytes`. " +"Equivalent to the output of :func:`os.fspath` on the original input path, " +"with no other normalization, resolution or expansion." +msgstr "" + +#: library/gzip.rst:152 msgid "" "Support for the :keyword:`with` statement was added, along with the *mtime* " "constructor argument and :attr:`mtime` attribute." msgstr "" -#: library/gzip.rst:150 +#: library/gzip.rst:156 msgid "Support for zero-padded and unseekable files was added." msgstr "" -#: library/gzip.rst:153 +#: library/gzip.rst:159 msgid "The :meth:`io.BufferedIOBase.read1` method is now implemented." msgstr "" -#: library/gzip.rst:156 +#: library/gzip.rst:162 msgid "Added support for the ``'x'`` and ``'xb'`` modes." msgstr "" -#: library/gzip.rst:159 +#: library/gzip.rst:165 msgid "" "Added support for writing arbitrary :term:`bytes-like objects `. The :meth:`~io.BufferedIOBase.read` method now accepts an argument " "of ``None``." msgstr "" -#: library/gzip.rst:168 +#: library/gzip.rst:174 msgid "" "Opening :class:`GzipFile` for writing without specifying the *mode* argument " "is deprecated." msgstr "" -#: library/gzip.rst:175 +#: library/gzip.rst:181 msgid "" "Compress the *data*, returning a :class:`bytes` object containing the " "compressed data. *compresslevel* and *mtime* have the same meaning as in " @@ -262,18 +269,18 @@ msgid "" "The zlib function is faster." msgstr "" -#: library/gzip.rst:182 +#: library/gzip.rst:188 msgid "Added the *mtime* parameter for reproducible output." msgstr "" -#: library/gzip.rst:184 +#: library/gzip.rst:190 msgid "" "Speed is improved by compressing all data at once instead of in a streamed " "fashion. Calls with *mtime* set to ``0`` are delegated to :func:`zlib." "compress` for better speed." msgstr "" -#: library/gzip.rst:191 +#: library/gzip.rst:197 msgid "" "Decompress the *data*, returning a :class:`bytes` object containing the " "uncompressed data. This function is capable of decompressing multi-member " @@ -282,82 +289,82 @@ msgid "" "*wbits* set to 31 is faster." msgstr "" -#: library/gzip.rst:198 +#: library/gzip.rst:204 msgid "" "Speed is improved by decompressing members at once in memory instead of in a " "streamed fashion." msgstr "" -#: library/gzip.rst:205 +#: library/gzip.rst:211 msgid "Examples of usage" msgstr "" -#: library/gzip.rst:207 +#: library/gzip.rst:213 msgid "Example of how to read a compressed file::" msgstr "" -#: library/gzip.rst:213 +#: library/gzip.rst:219 msgid "Example of how to create a compressed GZIP file::" msgstr "" -#: library/gzip.rst:220 +#: library/gzip.rst:226 msgid "Example of how to GZIP compress an existing file::" msgstr "" -#: library/gzip.rst:228 +#: library/gzip.rst:234 msgid "Example of how to GZIP compress a binary string::" msgstr "" -#: library/gzip.rst:237 +#: library/gzip.rst:243 msgid "Module :mod:`zlib`" msgstr "" -#: library/gzip.rst:237 +#: library/gzip.rst:243 msgid "" "The basic data compression module needed to support the :program:`gzip` file " "format." msgstr "" -#: library/gzip.rst:244 +#: library/gzip.rst:250 msgid "Command Line Interface" msgstr "" -#: library/gzip.rst:246 +#: library/gzip.rst:252 msgid "" "The :mod:`gzip` module provides a simple command line interface to compress " "or decompress files." msgstr "" -#: library/gzip.rst:249 +#: library/gzip.rst:255 msgid "Once executed the :mod:`gzip` module keeps the input file(s)." msgstr "" -#: library/gzip.rst:253 +#: library/gzip.rst:259 msgid "" "Add a new command line interface with a usage. By default, when you will " "execute the CLI, the default compression level is 6." msgstr "" -#: library/gzip.rst:257 +#: library/gzip.rst:263 msgid "Command line options" msgstr "" -#: library/gzip.rst:261 +#: library/gzip.rst:267 msgid "If *file* is not specified, read from :attr:`sys.stdin`." msgstr "" -#: library/gzip.rst:265 +#: library/gzip.rst:271 msgid "Indicates the fastest compression method (less compression)." msgstr "" -#: library/gzip.rst:269 +#: library/gzip.rst:275 msgid "Indicates the slowest compression method (best compression)." msgstr "" -#: library/gzip.rst:273 +#: library/gzip.rst:279 msgid "Decompress the given file." msgstr "" -#: library/gzip.rst:277 +#: library/gzip.rst:283 msgid "Show the help message." msgstr "" diff --git a/library/hashlib.po b/library/hashlib.po index ea099a3f5..c827cbc1f 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -540,42 +540,42 @@ msgstr "" msgid "Explanation of tree mode parameters." msgstr "" -#: library/hashlib.rst:440 +#: library/hashlib.rst:441 msgid "" -"See section 2.10 in `BLAKE2 specification `_ for comprehensive review of tree hashing." msgstr "" -#: library/hashlib.rst:446 +#: library/hashlib.rst:447 msgid "Constants" msgstr "" -#: library/hashlib.rst:451 +#: library/hashlib.rst:452 msgid "Salt length (maximum length accepted by constructors)." msgstr "" -#: library/hashlib.rst:457 +#: library/hashlib.rst:458 msgid "" "Personalization string length (maximum length accepted by constructors)." msgstr "" -#: library/hashlib.rst:463 +#: library/hashlib.rst:464 msgid "Maximum key size." msgstr "" -#: library/hashlib.rst:469 +#: library/hashlib.rst:470 msgid "Maximum digest size that the hash function can output." msgstr "" -#: library/hashlib.rst:473 +#: library/hashlib.rst:474 msgid "Examples" msgstr "" -#: library/hashlib.rst:476 +#: library/hashlib.rst:477 msgid "Simple hashing" msgstr "" -#: library/hashlib.rst:478 +#: library/hashlib.rst:479 msgid "" "To calculate hash of some data, you should first construct a hash object by " "calling the appropriate constructor function (:func:`blake2b` or :func:" @@ -584,41 +584,41 @@ msgid "" "`digest` (or :meth:`hexdigest` for hex-encoded string)." msgstr "" -#: library/hashlib.rst:491 +#: library/hashlib.rst:492 msgid "" "As a shortcut, you can pass the first chunk of data to update directly to " "the constructor as the positional argument:" msgstr "" -#: library/hashlib.rst:498 +#: library/hashlib.rst:499 msgid "" "You can call :meth:`hash.update` as many times as you need to iteratively " "update the hash:" msgstr "" -#: library/hashlib.rst:511 +#: library/hashlib.rst:512 msgid "Using different digest sizes" msgstr "" -#: library/hashlib.rst:513 +#: library/hashlib.rst:514 msgid "" "BLAKE2 has configurable size of digests up to 64 bytes for BLAKE2b and up to " "32 bytes for BLAKE2s. For example, to replace SHA-1 with BLAKE2b without " "changing the size of output, we can tell BLAKE2b to produce 20-byte digests:" msgstr "" -#: library/hashlib.rst:527 +#: library/hashlib.rst:528 msgid "" "Hash objects with different digest sizes have completely different outputs " "(shorter hashes are *not* prefixes of longer hashes); BLAKE2b and BLAKE2s " "produce different outputs even if the output length is the same:" msgstr "" -#: library/hashlib.rst:543 +#: library/hashlib.rst:544 msgid "Keyed hashing" msgstr "" -#: library/hashlib.rst:545 +#: library/hashlib.rst:546 msgid "" "Keyed hashing can be used for authentication as a faster and simpler " "replacement for `Hash-based message authentication code `_)" +"csrc.nist.gov/publications/detail/sp/800-106/archive/2009-02-25>`_)" msgstr "" -#: library/hashlib.rst:629 +#: library/hashlib.rst:630 msgid "" "In BLAKE2 the salt is processed as a one-time input to the hash function " "during initialization, rather than as an input to each compression function." msgstr "" -#: library/hashlib.rst:634 +#: library/hashlib.rst:635 msgid "" "*Salted hashing* (or just hashing) with BLAKE2 or any other general-purpose " "cryptographic hash function, such as SHA-256, is not suitable for hashing " -"passwords. See `BLAKE2 FAQ `_ for more information." +"passwords. See `BLAKE2 FAQ `_ for more " +"information." msgstr "" -#: library/hashlib.rst:657 +#: library/hashlib.rst:658 msgid "Personalization" msgstr "" -#: library/hashlib.rst:659 +#: library/hashlib.rst:660 msgid "" "Sometimes it is useful to force hash function to produce different digests " "for the same input for different purposes. Quoting the authors of the Skein " "hash function:" msgstr "" -#: library/hashlib.rst:663 +#: library/hashlib.rst:664 msgid "" "We recommend that all application designers seriously consider doing this; " "we have seen many protocols where a hash that is computed in one part of the " @@ -716,41 +717,41 @@ msgid "" "hash function used in the protocol summarily stops this type of attack." msgstr "" -#: library/hashlib.rst:670 +#: library/hashlib.rst:671 msgid "" "(`The Skein Hash Function Family `_, p. 21)" msgstr "" -#: library/hashlib.rst:674 +#: library/hashlib.rst:675 msgid "BLAKE2 can be personalized by passing bytes to the *person* argument::" msgstr "" -#: library/hashlib.rst:688 +#: library/hashlib.rst:689 msgid "" "Personalization together with the keyed mode can also be used to derive " "different keys from a single one." msgstr "" -#: library/hashlib.rst:702 +#: library/hashlib.rst:703 msgid "Tree mode" msgstr "" -#: library/hashlib.rst:704 +#: library/hashlib.rst:705 msgid "Here's an example of hashing a minimal tree with two leaf nodes::" msgstr "" -#: library/hashlib.rst:710 +#: library/hashlib.rst:711 msgid "" "This example uses 64-byte internal digests, and returns the 32-byte final " "digest::" msgstr "" -#: library/hashlib.rst:740 +#: library/hashlib.rst:741 msgid "Credits" msgstr "" -#: library/hashlib.rst:742 +#: library/hashlib.rst:743 msgid "" "BLAKE2_ was designed by *Jean-Philippe Aumasson*, *Samuel Neves*, *Zooko " "Wilcox-O'Hearn*, and *Christian Winnerlein* based on SHA-3_ finalist BLAKE_ " @@ -758,113 +759,133 @@ msgid "" "*Raphael C.-W. Phan*." msgstr "" -#: library/hashlib.rst:747 +#: library/hashlib.rst:748 msgid "" "It uses core algorithm from ChaCha_ cipher designed by *Daniel J. " "Bernstein*." msgstr "" -#: library/hashlib.rst:749 +#: library/hashlib.rst:750 msgid "" "The stdlib implementation is based on pyblake2_ module. It was written by " "*Dmitry Chestnykh* based on C implementation written by *Samuel Neves*. The " "documentation was copied from pyblake2_ and written by *Dmitry Chestnykh*." msgstr "" -#: library/hashlib.rst:753 +#: library/hashlib.rst:754 msgid "The C code was partly rewritten for Python by *Christian Heimes*." msgstr "" -#: library/hashlib.rst:755 +#: library/hashlib.rst:756 msgid "" "The following public domain dedication applies for both C hash function " "implementation, extension code, and this documentation:" msgstr "" -#: library/hashlib.rst:758 +#: library/hashlib.rst:759 msgid "" "To the extent possible under law, the author(s) have dedicated all copyright " "and related and neighboring rights to this software to the public domain " "worldwide. This software is distributed without any warranty." msgstr "" -#: library/hashlib.rst:762 +#: library/hashlib.rst:763 msgid "" "You should have received a copy of the CC0 Public Domain Dedication along " "with this software. If not, see https://creativecommons.org/publicdomain/" "zero/1.0/." msgstr "" -#: library/hashlib.rst:766 +#: library/hashlib.rst:767 msgid "" "The following people have helped with development or contributed their " "changes to the project and the public domain according to the Creative " "Commons Public Domain Dedication 1.0 Universal:" msgstr "" -#: library/hashlib.rst:770 +#: library/hashlib.rst:771 msgid "*Alexandr Sokolovskiy*" msgstr "" -#: library/hashlib.rst:785 +#: library/hashlib.rst:786 msgid "Module :mod:`hmac`" msgstr "" -#: library/hashlib.rst:785 +#: library/hashlib.rst:786 msgid "A module to generate message authentication codes using hashes." msgstr "" -#: library/hashlib.rst:788 +#: library/hashlib.rst:789 msgid "Module :mod:`base64`" msgstr "" -#: library/hashlib.rst:788 +#: library/hashlib.rst:789 msgid "Another way to encode binary hashes for non-binary environments." msgstr "" -#: library/hashlib.rst:791 -msgid "https://blake2.net" +#: library/hashlib.rst:792 +msgid "https://www.blake2.net" msgstr "" -#: library/hashlib.rst:791 +#: library/hashlib.rst:792 msgid "Official BLAKE2 website." msgstr "" -#: library/hashlib.rst:794 +#: library/hashlib.rst:795 msgid "" "https://csrc.nist.gov/csrc/media/publications/fips/180/2/archive/2002-08-01/" "documents/fips180-2.pdf" msgstr "" -#: library/hashlib.rst:794 +#: library/hashlib.rst:795 msgid "The FIPS 180-2 publication on Secure Hash Algorithms." msgstr "" -#: library/hashlib.rst:798 +#: library/hashlib.rst:799 msgid "" "https://en.wikipedia.org/wiki/" "Cryptographic_hash_function#Cryptographic_hash_algorithms" msgstr "" -#: library/hashlib.rst:797 +#: library/hashlib.rst:798 msgid "" "Wikipedia article with information on which algorithms have known issues and " "what that means regarding their use." msgstr "" -#: library/hashlib.rst:801 +#: library/hashlib.rst:802 msgid "https://www.ietf.org/rfc/rfc8018.txt" msgstr "" -#: library/hashlib.rst:801 +#: library/hashlib.rst:802 msgid "PKCS #5: Password-Based Cryptography Specification Version 2.1" msgstr "" -#: library/hashlib.rst:803 +#: library/hashlib.rst:804 msgid "" "https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf" msgstr "" -#: library/hashlib.rst:804 +#: library/hashlib.rst:805 msgid "NIST Recommendation for Password-Based Key Derivation." msgstr "" + +#: library/hashlib.rst:12 +msgid "message digest, MD5" +msgstr "" + +#: library/hashlib.rst:12 +msgid "secure hash algorithm, SHA1, SHA224, SHA256, SHA384, SHA512" +msgstr "" + +#: library/hashlib.rst:64 +msgid "OpenSSL" +msgstr "" + +#: library/hashlib.rst:64 +msgid "(use in module hashlib)" +msgstr "" + +#: library/hashlib.rst:343 +msgid "blake2b, blake2s" +msgstr "" diff --git a/library/html.parser.po b/library/html.parser.po index 6f411b0e8..e70bd36a0 100644 --- a/library/html.parser.po +++ b/library/html.parser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -301,3 +301,11 @@ msgstr "" #: library/html.parser.rst:331 msgid "Parsing invalid HTML (e.g. unquoted attributes) also works::" msgstr "" + +#: library/html.parser.rst:9 +msgid "HTML" +msgstr "" + +#: library/html.parser.rst:9 +msgid "XHTML" +msgstr "" diff --git a/library/http.client.po b/library/http.client.po index cfe2876b0..74efdeecc 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -280,10 +280,13 @@ msgstr "" #: library/http.client.rst:264 msgid "" "This will send a request to the server using the HTTP request method " -"*method* and the selector *url*." +"*method* and the request URI *url*. The provided *url* must be an absolute " +"path to conform with :rfc:`RFC 2616 §5.1.2 <2616#section-5.1.2>` (unless " +"connecting to an HTTP proxy server or using the ``OPTIONS`` or ``CONNECT`` " +"methods)." msgstr "" -#: library/http.client.rst:267 +#: library/http.client.rst:270 msgid "" "If *body* is specified, the specified data is sent after the headers are " "finished. It may be a :class:`str`, a :term:`bytes-like object`, an open :" @@ -298,13 +301,16 @@ msgid "" "iterable is exhausted." msgstr "" -#: library/http.client.rst:279 +#: library/http.client.rst:282 msgid "" "The *headers* argument should be a mapping of extra HTTP headers to send " -"with the request." +"with the request. A :rfc:`Host header <2616#section-14.23>` must be provided " +"to conform with :rfc:`RFC 2616 §5.1.2 <2616#section-5.1.2>` (unless " +"connecting to an HTTP proxy server or using the ``OPTIONS`` or ``CONNECT`` " +"methods)." msgstr "" -#: library/http.client.rst:282 +#: library/http.client.rst:288 msgid "" "If *headers* contains neither Content-Length nor Transfer-Encoding, but " "there is a request body, one of those header fields will be added " @@ -317,7 +323,7 @@ msgid "" "Length." msgstr "" -#: library/http.client.rst:294 +#: library/http.client.rst:300 msgid "" "The *encode_chunked* argument is only relevant if Transfer-Encoding is " "specified in *headers*. If *encode_chunked* is ``False``, the " @@ -325,7 +331,12 @@ msgid "" "code. If it is ``True``, the body will be chunk-encoded." msgstr "" -#: library/http.client.rst:300 +#: library/http.client.rst:305 +msgid "" +"For example, to perform a ``GET`` request to ``https://docs.python.org/3/``::" +msgstr "" + +#: library/http.client.rst:316 msgid "" "Chunked transfer encoding has been added to the HTTP protocol version 1.1. " "Unless the HTTP server is known to handle HTTP 1.1, the caller must either " @@ -333,11 +344,11 @@ msgid "" "that is not also a file as the body representation." msgstr "" -#: library/http.client.rst:306 +#: library/http.client.rst:322 msgid "*body* can now be an iterable." msgstr "" -#: library/http.client.rst:309 +#: library/http.client.rst:325 msgid "" "If neither Content-Length nor Transfer-Encoding are set in *headers*, file " "and iterable *body* objects are now chunk-encoded. The *encode_chunked* " @@ -345,26 +356,26 @@ msgid "" "file objects." msgstr "" -#: library/http.client.rst:318 +#: library/http.client.rst:334 msgid "" "Should be called after a request is sent to get the response from the " "server. Returns an :class:`HTTPResponse` instance." msgstr "" -#: library/http.client.rst:323 +#: library/http.client.rst:339 msgid "" "Note that you must have read the whole response before you can send a new " "request to the server." msgstr "" -#: library/http.client.rst:326 +#: library/http.client.rst:342 msgid "" "If a :exc:`ConnectionError` or subclass is raised, the :class:" "`HTTPConnection` object will be ready to reconnect when a new request is " "sent." msgstr "" -#: library/http.client.rst:334 +#: library/http.client.rst:350 msgid "" "Set the debugging level. The default debug level is ``0``, meaning no " "debugging output is printed. Any value greater than ``0`` will cause all " @@ -372,26 +383,26 @@ msgid "" "is passed to any new :class:`HTTPResponse` objects that are created." msgstr "" -#: library/http.client.rst:344 +#: library/http.client.rst:360 msgid "" "Set the host and the port for HTTP Connect Tunnelling. This allows running " "the connection through a proxy server." msgstr "" -#: library/http.client.rst:347 +#: library/http.client.rst:363 msgid "" "The host and port arguments specify the endpoint of the tunneled connection " "(i.e. the address included in the CONNECT request, *not* the address of the " "proxy server)." msgstr "" -#: library/http.client.rst:351 +#: library/http.client.rst:367 msgid "" "The headers argument should be a mapping of extra HTTP headers to send with " "the CONNECT request." msgstr "" -#: library/http.client.rst:354 +#: library/http.client.rst:370 msgid "" "For example, to tunnel through a HTTPS proxy server running locally on port " "8080, we would pass the address of the proxy to the :class:`HTTPSConnection` " @@ -399,7 +410,7 @@ msgid "" "the :meth:`~HTTPConnection.set_tunnel` method::" msgstr "" -#: library/http.client.rst:369 +#: library/http.client.rst:385 msgid "" "Connect to the server specified when the object was created. By default, " "this is called automatically when making a request if the client does not " @@ -412,21 +423,21 @@ msgid "" "arguments ``self``, ``host``, ``port``." msgstr "" -#: library/http.client.rst:378 +#: library/http.client.rst:394 msgid "Close the connection to the server." msgstr "" -#: library/http.client.rst:383 +#: library/http.client.rst:399 msgid "Buffer size in bytes for sending a file-like message body." msgstr "" -#: library/http.client.rst:388 +#: library/http.client.rst:404 msgid "" "As an alternative to using the :meth:`request` method described above, you " "can also send your request step by step, by using the four functions below." msgstr "" -#: library/http.client.rst:395 +#: library/http.client.rst:411 msgid "" "This should be the first call after the connection to the server has been " "made. It sends a line to the server consisting of the *method* string, the " @@ -436,7 +447,7 @@ msgid "" "with non-False values." msgstr "" -#: library/http.client.rst:405 +#: library/http.client.rst:421 msgid "" "Send an :rfc:`822`\\ -style header to the server. It sends a line to the " "server consisting of the header, a colon and a space, and the first " @@ -444,14 +455,14 @@ msgid "" "consisting of a tab and an argument." msgstr "" -#: library/http.client.rst:413 +#: library/http.client.rst:429 msgid "" "Send a blank line to the server, signalling the end of the headers. The " "optional *message_body* argument can be used to pass a message body " "associated with the request." msgstr "" -#: library/http.client.rst:417 +#: library/http.client.rst:433 msgid "" "If *encode_chunked* is ``True``, the result of each iteration of " "*message_body* will be chunk-encoded as specified in :rfc:`7230`, Section " @@ -464,7 +475,7 @@ msgid "" "the chunk-encoded data immediately after *message_body*." msgstr "" -#: library/http.client.rst:428 +#: library/http.client.rst:444 msgid "" "Due to the chunked encoding specification, empty chunks yielded by an " "iterator body will be ignored by the chunk-encoder. This is to avoid " @@ -472,11 +483,11 @@ msgid "" "malformed encoding." msgstr "" -#: library/http.client.rst:433 +#: library/http.client.rst:449 msgid "Chunked encoding support. The *encode_chunked* parameter was added." msgstr "" -#: library/http.client.rst:440 +#: library/http.client.rst:456 msgid "" "Send data to the server. This should be used directly only after the :meth:" "`endheaders` method has been called and before :meth:`getresponse` is called." @@ -488,34 +499,34 @@ msgid "" "arguments ``self``, ``data``." msgstr "" -#: library/http.client.rst:450 +#: library/http.client.rst:466 msgid "HTTPResponse Objects" msgstr "" -#: library/http.client.rst:452 +#: library/http.client.rst:468 msgid "" "An :class:`HTTPResponse` instance wraps the HTTP response from the server. " "It provides access to the request headers and the entity body. The response " "is an iterable object and can be used in a with statement." msgstr "" -#: library/http.client.rst:457 +#: library/http.client.rst:473 msgid "" "The :class:`io.BufferedIOBase` interface is now implemented and all of its " "reader operations are supported." msgstr "" -#: library/http.client.rst:464 +#: library/http.client.rst:480 msgid "Reads and returns the response body, or up to the next *amt* bytes." msgstr "" -#: library/http.client.rst:468 +#: library/http.client.rst:484 msgid "" "Reads up to the next len(b) bytes of the response body into the buffer *b*. " "Returns the number of bytes read." msgstr "" -#: library/http.client.rst:475 +#: library/http.client.rst:491 msgid "" "Return the value of the header *name*, or *default* if there is no header " "matching *name*. If there is more than one header with the name *name*, " @@ -523,87 +534,87 @@ msgid "" "than a single string, its elements are similarly returned joined by commas." msgstr "" -#: library/http.client.rst:482 +#: library/http.client.rst:498 msgid "Return a list of (header, value) tuples." msgstr "" -#: library/http.client.rst:486 +#: library/http.client.rst:502 msgid "Return the ``fileno`` of the underlying socket." msgstr "" -#: library/http.client.rst:490 +#: library/http.client.rst:506 msgid "" "A :class:`http.client.HTTPMessage` instance containing the response " "headers. :class:`http.client.HTTPMessage` is a subclass of :class:`email." "message.Message`." msgstr "" -#: library/http.client.rst:496 +#: library/http.client.rst:512 msgid "" "HTTP protocol version used by server. 10 for HTTP/1.0, 11 for HTTP/1.1." msgstr "" -#: library/http.client.rst:500 +#: library/http.client.rst:516 msgid "" "URL of the resource retrieved, commonly used to determine if a redirect was " "followed." msgstr "" -#: library/http.client.rst:504 +#: library/http.client.rst:520 msgid "" "Headers of the response in the form of an :class:`email.message." "EmailMessage` instance." msgstr "" -#: library/http.client.rst:508 +#: library/http.client.rst:524 msgid "Status code returned by server." msgstr "" -#: library/http.client.rst:512 +#: library/http.client.rst:528 msgid "Reason phrase returned by server." msgstr "" -#: library/http.client.rst:516 +#: library/http.client.rst:532 msgid "" "A debugging hook. If :attr:`debuglevel` is greater than zero, messages will " "be printed to stdout as the response is read and parsed." msgstr "" -#: library/http.client.rst:521 +#: library/http.client.rst:537 msgid "Is ``True`` if the stream is closed." msgstr "" -#: library/http.client.rst:525 +#: library/http.client.rst:541 msgid "Deprecated in favor of :attr:`~HTTPResponse.url`." msgstr "" -#: library/http.client.rst:530 +#: library/http.client.rst:546 msgid "Deprecated in favor of :attr:`~HTTPResponse.headers`." msgstr "" -#: library/http.client.rst:535 +#: library/http.client.rst:551 msgid "Deprecated in favor of :attr:`~HTTPResponse.status`." msgstr "" -#: library/http.client.rst:539 +#: library/http.client.rst:555 msgid "Examples" msgstr "" -#: library/http.client.rst:541 +#: library/http.client.rst:557 msgid "Here is an example session that uses the ``GET`` method::" msgstr "" -#: library/http.client.rst:566 +#: library/http.client.rst:582 msgid "" "Here is an example session that uses the ``HEAD`` method. Note that the " "``HEAD`` method never returns any data. ::" msgstr "" -#: library/http.client.rst:581 +#: library/http.client.rst:597 msgid "Here is an example session that uses the ``POST`` method::" msgstr "" -#: library/http.client.rst:597 +#: library/http.client.rst:613 msgid "" "Client side HTTP ``PUT`` requests are very similar to ``POST`` requests. The " "difference lies only on the server side where HTTP servers will allow " @@ -613,12 +624,32 @@ msgid "" "``PUT`` method::" msgstr "" -#: library/http.client.rst:618 +#: library/http.client.rst:634 msgid "HTTPMessage Objects" msgstr "" -#: library/http.client.rst:620 +#: library/http.client.rst:636 msgid "" "An :class:`http.client.HTTPMessage` instance holds the headers from an HTTP " "response. It is implemented using the :class:`email.message.Message` class." msgstr "" + +#: library/http.client.rst:9 +msgid "HTTP" +msgstr "" + +#: library/http.client.rst:9 +msgid "protocol" +msgstr "" + +#: library/http.client.rst:9 +msgid "http.client (standard module)" +msgstr "" + +#: library/http.client.rst:13 +msgid "module" +msgstr "" + +#: library/http.client.rst:13 +msgid "urllib.request" +msgstr "" diff --git a/library/http.po b/library/http.po index 98b8c12e7..6ec4c43d5 100644 --- a/library/http.po +++ b/library/http.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -942,3 +942,15 @@ msgstr "" #: library/http.rst:189 msgid "HTTP/1.1 :rfc:`5789`" msgstr "" + +#: library/http.rst:9 +msgid "HTTP" +msgstr "" + +#: library/http.rst:9 +msgid "protocol" +msgstr "" + +#: library/http.rst:9 +msgid "http (standard module)" +msgstr "" diff --git a/library/http.server.po b/library/http.server.po index 23b411a42..4131e3a69 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -632,3 +632,35 @@ msgstr "" #: library/http.server.rst:522 msgid "Control characters are scrubbed in stderr logs." msgstr "" + +#: library/http.server.rst:9 +msgid "WWW" +msgstr "" + +#: library/http.server.rst:9 +msgid "server" +msgstr "" + +#: library/http.server.rst:9 +msgid "HTTP" +msgstr "" + +#: library/http.server.rst:9 +msgid "protocol" +msgstr "" + +#: library/http.server.rst:9 +msgid "URL" +msgstr "" + +#: library/http.server.rst:9 +msgid "httpd" +msgstr "" + +#: library/http.server.rst:510 +msgid "http.server" +msgstr "" + +#: library/http.server.rst:510 +msgid "security" +msgstr "" diff --git a/library/idle.po b/library/idle.po index 17097ad7b..edfbbf24b 100644 --- a/library/idle.po +++ b/library/idle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -16,7 +16,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: library/idle.rst:4 +#: library/idle.rst:10 msgid "IDLE" msgstr "" @@ -242,7 +242,7 @@ msgstr "" msgid "Select the entire contents of the current window." msgstr "" -#: library/idle.rst:370 +#: library/idle.rst:355 library/idle.rst:370 msgid "Cut" msgstr "" @@ -251,7 +251,7 @@ msgid "" "Copy selection into the system-wide clipboard; then delete the selection." msgstr "" -#: library/idle.rst:373 +#: library/idle.rst:355 library/idle.rst:373 msgid "Copy" msgstr "" @@ -259,7 +259,7 @@ msgstr "" msgid "Copy selection into the system-wide clipboard." msgstr "" -#: library/idle.rst:376 +#: library/idle.rst:355 library/idle.rst:376 msgid "Paste" msgstr "" @@ -1630,3 +1630,35 @@ msgid "" "listed under 'Startup', the idlelib code is 'private' in sense that feature " "changes can be backported (see :pep:`434`)." msgstr "" + +#: library/idle.rst:10 +msgid "Python Editor" +msgstr "" + +#: library/idle.rst:10 +msgid "Integrated Development Environment" +msgstr "" + +#: library/idle.rst:70 +msgid "Module browser" +msgstr "" + +#: library/idle.rst:70 +msgid "Path browser" +msgstr "" + +#: library/idle.rst:212 +msgid "Run script" +msgstr "" + +#: library/idle.rst:279 +msgid "debugger" +msgstr "" + +#: library/idle.rst:279 +msgid "stack viewer" +msgstr "" + +#: library/idle.rst:355 +msgid "breakpoints" +msgstr "" diff --git a/library/imaplib.po b/library/imaplib.po index 3a1dc7efe..14109b5f8 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -684,3 +684,19 @@ msgid "" "Here is a minimal example (without error checking) that opens a mailbox and " "retrieves and prints all messages::" msgstr "" + +#: library/imaplib.rst:16 +msgid "IMAP4" +msgstr "" + +#: library/imaplib.rst:16 +msgid "protocol" +msgstr "" + +#: library/imaplib.rst:16 +msgid "IMAP4_SSL" +msgstr "" + +#: library/imaplib.rst:16 +msgid "IMAP4_stream" +msgstr "" diff --git a/library/imp.po b/library/imp.po index e205606e4..67a56ab2b 100644 --- a/library/imp.po +++ b/library/imp.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -456,3 +456,19 @@ msgid "" "work in that version, since :func:`find_module` has been extended and :func:" "`load_module` has been added in 1.4.) ::" msgstr "" + +#: library/imp.rst:13 +msgid "statement" +msgstr "" + +#: library/imp.rst:13 +msgid "import" +msgstr "" + +#: library/imp.rst:23 +msgid "file" +msgstr "" + +#: library/imp.rst:23 +msgid "byte-code" +msgstr "" diff --git a/library/importlib.po b/library/importlib.po index 9c7ab8a3c..15d7acd21 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1775,3 +1775,11 @@ msgid "" "illustrate the various APIs that importlib exposes by providing an " "approximate implementation of :func:`importlib.import_module`::" msgstr "" + +#: library/importlib.rst:551 +msgid "universal newlines" +msgstr "" + +#: library/importlib.rst:551 +msgid "importlib.abc.InspectLoader.get_source method" +msgstr "" diff --git a/library/inspect.po b/library/inspect.po index 87e8967de..1120a8972 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -815,30 +815,32 @@ msgid "" "object. The source code is returned as a list of the lines corresponding to " "the object and the line number indicates where in the original source file " "the first line of code was found. An :exc:`OSError` is raised if the source " -"code cannot be retrieved." +"code cannot be retrieved. A :exc:`TypeError` is raised if the object is a " +"built-in module, class, or function." msgstr "" -#: library/inspect.rst:569 +#: library/inspect.rst:573 msgid "" ":exc:`OSError` is raised instead of :exc:`IOError`, now an alias of the " "former." msgstr "" -#: library/inspect.rst:564 +#: library/inspect.rst:566 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 " "source code is returned as a single string. An :exc:`OSError` is raised if " -"the source code cannot be retrieved." +"the source code cannot be retrieved. A :exc:`TypeError` is raised if the " +"object is a built-in module, class, or function." msgstr "" -#: library/inspect.rst:576 +#: library/inspect.rst:580 msgid "" "Clean up indentation from docstrings that are indented to line up with " "blocks of code." msgstr "" -#: library/inspect.rst:579 +#: library/inspect.rst:583 msgid "" "All leading whitespace is removed from the first line. Any leading " "whitespace that can be uniformly removed from the second line onwards is " @@ -846,28 +848,28 @@ msgid "" "Also, all tabs are expanded to spaces." msgstr "" -#: library/inspect.rst:588 +#: library/inspect.rst:592 msgid "Introspecting callables with the Signature object" msgstr "" -#: library/inspect.rst:592 +#: library/inspect.rst:596 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." msgstr "" -#: library/inspect.rst:598 +#: library/inspect.rst:602 msgid "Return a :class:`Signature` object for the given ``callable``::" msgstr "" -#: library/inspect.rst:615 +#: library/inspect.rst:619 msgid "" "Accepts a wide range of Python callables, from plain functions and classes " "to :func:`functools.partial` objects." msgstr "" -#: library/inspect.rst:618 +#: library/inspect.rst:622 msgid "" "For objects defined in modules using stringized annotations (``from " "__future__ import annotations``), :func:`signature` will attempt to " @@ -878,7 +880,7 @@ msgid "" "instructions on how to use these parameters." msgstr "" -#: library/inspect.rst:627 +#: library/inspect.rst:631 msgid "" "Raises :exc:`ValueError` if no signature can be provided, and :exc:" "`TypeError` if that type of object is not supported. Also, if the " @@ -887,39 +889,39 @@ msgid "" "exception." msgstr "" -#: library/inspect.rst:633 +#: library/inspect.rst:637 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:637 +#: library/inspect.rst:641 msgid "" "``follow_wrapped`` parameter. Pass ``False`` to get a signature of " "``callable`` specifically (``callable.__wrapped__`` will not be used to " "unwrap decorated callables.)" msgstr "" -#: library/inspect.rst:642 +#: library/inspect.rst:646 msgid "``globals``, ``locals``, and ``eval_str`` parameters." msgstr "" -#: library/inspect.rst:647 +#: library/inspect.rst:651 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:654 +#: library/inspect.rst:658 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." msgstr "" -#: library/inspect.rst:658 +#: library/inspect.rst:662 msgid "" "The optional *parameters* argument is a sequence of :class:`Parameter` " "objects, which is validated to check that there are no parameters with " @@ -928,54 +930,54 @@ msgid "" "defaults follow parameters without defaults." msgstr "" -#: library/inspect.rst:664 +#: library/inspect.rst:668 msgid "" "The optional *return_annotation* argument, can be an arbitrary Python " "object, is the \"return\" annotation of the callable." msgstr "" -#: library/inspect.rst:667 +#: library/inspect.rst:671 msgid "" "Signature objects are *immutable*. Use :meth:`Signature.replace` to make a " "modified copy." msgstr "" -#: library/inspect.rst:670 +#: library/inspect.rst:674 msgid "Signature objects are picklable and :term:`hashable`." msgstr "" -#: library/inspect.rst:675 +#: library/inspect.rst:679 msgid "A special class-level marker to specify absence of a return annotation." msgstr "" -#: library/inspect.rst:679 +#: library/inspect.rst:683 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:1008 +#: library/inspect.rst:1012 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:690 +#: library/inspect.rst:694 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:695 +#: library/inspect.rst:699 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:701 +#: library/inspect.rst:705 msgid "" "Works the same way as :meth:`Signature.bind`, but allows the omission of " "some required arguments (mimics :func:`functools.partial` behavior.) " @@ -983,7 +985,7 @@ msgid "" "arguments do not match the signature." msgstr "" -#: library/inspect.rst:708 +#: library/inspect.rst:712 msgid "" "Create a new Signature instance based on the instance replace was invoked " "on. It is possible to pass different ``parameters`` and/or " @@ -992,7 +994,7 @@ msgid "" "attr:`Signature.empty`." msgstr "" -#: library/inspect.rst:725 +#: library/inspect.rst:729 msgid "" "Return a :class:`Signature` (or its subclass) object for a given callable " "``obj``. Pass ``follow_wrapped=False`` to get a signature of ``obj`` " @@ -1000,139 +1002,139 @@ msgid "" "will be used as the namespaces when resolving annotations." msgstr "" -#: library/inspect.rst:730 +#: library/inspect.rst:734 msgid "This method simplifies subclassing of :class:`Signature`::" msgstr "" -#: library/inspect.rst:739 +#: library/inspect.rst:743 msgid "``globalns`` and ``localns`` parameters." msgstr "" -#: library/inspect.rst:745 +#: library/inspect.rst:749 msgid "" "Parameter objects are *immutable*. Instead of modifying a Parameter object, " "you can use :meth:`Parameter.replace` to create a modified copy." msgstr "" -#: library/inspect.rst:748 +#: library/inspect.rst:752 msgid "Parameter objects are picklable and :term:`hashable`." msgstr "" -#: library/inspect.rst:753 +#: library/inspect.rst:757 msgid "" "A special class-level marker to specify absence of default values and " "annotations." msgstr "" -#: library/inspect.rst:758 +#: library/inspect.rst:762 msgid "" "The name of the parameter as a string. The name must be a valid Python " "identifier." msgstr "" -#: library/inspect.rst:763 +#: library/inspect.rst:767 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:767 +#: library/inspect.rst:771 msgid "" "These parameter names are exposed by this module as names like ``implicit0``." msgstr "" -#: library/inspect.rst:773 +#: library/inspect.rst:777 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:778 +#: library/inspect.rst:782 msgid "" "The annotation for the parameter. If the parameter has no annotation, this " "attribute is set to :attr:`Parameter.empty`." msgstr "" -#: library/inspect.rst:783 +#: library/inspect.rst:787 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:790 +#: library/inspect.rst:794 msgid "Name" msgstr "" -#: library/inspect.rst:790 +#: library/inspect.rst:794 msgid "Meaning" msgstr "" -#: library/inspect.rst:792 +#: library/inspect.rst:796 msgid "*POSITIONAL_ONLY*" msgstr "" -#: library/inspect.rst:792 +#: library/inspect.rst:796 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:797 +#: library/inspect.rst:801 msgid "*POSITIONAL_OR_KEYWORD*" msgstr "" -#: library/inspect.rst:797 +#: library/inspect.rst:801 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:802 +#: library/inspect.rst:806 msgid "*VAR_POSITIONAL*" msgstr "" -#: library/inspect.rst:802 +#: library/inspect.rst:806 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:807 +#: library/inspect.rst:811 msgid "*KEYWORD_ONLY*" msgstr "" -#: library/inspect.rst:807 +#: library/inspect.rst:811 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:812 +#: library/inspect.rst:816 msgid "*VAR_KEYWORD*" msgstr "" -#: library/inspect.rst:812 +#: library/inspect.rst:816 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:818 +#: library/inspect.rst:822 msgid "Example: print all keyword-only arguments without default values::" msgstr "" -#: library/inspect.rst:832 +#: library/inspect.rst:836 msgid "Describes a enum value of Parameter.kind." msgstr "" -#: library/inspect.rst:836 +#: library/inspect.rst:840 msgid "Example: print all descriptions of arguments::" msgstr "" -#: library/inspect.rst:851 +#: library/inspect.rst:855 msgid "" "Create a new Parameter instance based on the instance replaced was invoked " "on. To override a :class:`Parameter` attribute, pass the corresponding " @@ -1140,94 +1142,94 @@ msgid "" "pass :attr:`Parameter.empty`." msgstr "" -#: library/inspect.rst:869 +#: library/inspect.rst:873 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." msgstr "" -#: library/inspect.rst:876 +#: library/inspect.rst:880 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:881 +#: library/inspect.rst:885 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:885 +#: library/inspect.rst:889 msgid "" "Should be used in conjunction with :attr:`Signature.parameters` for any " "argument processing purposes." msgstr "" -#: library/inspect.rst:890 +#: library/inspect.rst:894 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:895 +#: library/inspect.rst:899 msgid "" ":attr:`arguments` is now of type :class:`dict`. Formerly, it was of type :" "class:`collections.OrderedDict`." msgstr "" -#: library/inspect.rst:901 +#: library/inspect.rst:905 msgid "" "A tuple of positional arguments values. Dynamically computed from the :attr:" "`arguments` attribute." msgstr "" -#: library/inspect.rst:906 +#: library/inspect.rst:910 msgid "" "A dict of keyword arguments values. Dynamically computed from the :attr:" "`arguments` attribute." msgstr "" -#: library/inspect.rst:911 +#: library/inspect.rst:915 msgid "A reference to the parent :class:`Signature` object." msgstr "" -#: library/inspect.rst:915 +#: library/inspect.rst:919 msgid "Set default values for missing arguments." msgstr "" -#: library/inspect.rst:917 +#: library/inspect.rst:921 msgid "" "For variable-positional arguments (``*args``) the default is an empty tuple." msgstr "" -#: library/inspect.rst:920 +#: library/inspect.rst:924 msgid "" "For variable-keyword arguments (``**kwargs``) the default is an empty dict." msgstr "" -#: library/inspect.rst:933 +#: library/inspect.rst:937 msgid "" "The :attr:`args` and :attr:`kwargs` properties can be used to invoke " "functions::" msgstr "" -#: library/inspect.rst:946 +#: library/inspect.rst:950 msgid ":pep:`362` - Function Signature Object." msgstr "" -#: library/inspect.rst:947 +#: library/inspect.rst:951 msgid "The detailed specification, implementation details and examples." msgstr "" -#: library/inspect.rst:953 +#: library/inspect.rst:957 msgid "Classes and functions" msgstr "" -#: library/inspect.rst:957 +#: library/inspect.rst:961 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 " @@ -1238,19 +1240,19 @@ msgid "" "will appear multiple times." msgstr "" -#: library/inspect.rst:968 +#: library/inspect.rst:972 msgid "" "Get the names and default values of a Python function's parameters. A :term:" "`named tuple` is returned:" msgstr "" -#: library/inspect.rst:971 +#: library/inspect.rst:975 msgid "" "``FullArgSpec(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, " "annotations)``" msgstr "" -#: library/inspect.rst:974 +#: library/inspect.rst:978 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 " @@ -1265,7 +1267,7 @@ msgid "" "report the function return value annotation (if any)." msgstr "" -#: library/inspect.rst:989 +#: library/inspect.rst:993 msgid "" "Note that :func:`signature` and :ref:`Signature Object ` provide the recommended API for callable introspection, and support " @@ -1275,14 +1277,14 @@ msgid "" "``inspect`` module API." msgstr "" -#: library/inspect.rst:996 +#: library/inspect.rst:1000 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:1001 +#: library/inspect.rst:1005 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 " @@ -1290,7 +1292,7 @@ msgid "" "code migrating away from the legacy :func:`getargspec` API." msgstr "" -#: library/inspect.rst:1016 +#: library/inspect.rst:1020 msgid "" "Get information about arguments passed into a particular frame. A :term:" "`named tuple` ``ArgInfo(args, varargs, keywords, locals)`` is returned. " @@ -1299,18 +1301,18 @@ msgid "" "dictionary of the given frame." msgstr "" -#: library/inspect.rst:1033 +#: library/inspect.rst:1037 msgid "This function was inadvertently marked as deprecated in Python 3.5." msgstr "" -#: library/inspect.rst:1028 +#: library/inspect.rst:1032 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:1038 +#: library/inspect.rst:1042 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 " @@ -1318,7 +1320,7 @@ msgid "" "user-defined metatype is in use, cls will be the first element of the tuple." msgstr "" -#: library/inspect.rst:1046 +#: library/inspect.rst:1050 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 " @@ -1331,11 +1333,11 @@ msgid "" "example::" msgstr "" -#: library/inspect.rst:1069 +#: library/inspect.rst:1073 msgid "Use :meth:`Signature.bind` and :meth:`Signature.bind_partial` instead." msgstr "" -#: library/inspect.rst:1075 +#: library/inspect.rst:1079 msgid "" "Get the mapping of external name references in a Python function or method " "*func* to their current values. A :term:`named tuple` " @@ -1347,18 +1349,18 @@ msgid "" "builtins." msgstr "" -#: library/inspect.rst:1084 +#: library/inspect.rst:1088 msgid "" ":exc:`TypeError` is raised if *func* is not a Python function or method." msgstr "" -#: library/inspect.rst:1091 +#: library/inspect.rst:1095 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:1094 +#: library/inspect.rst:1098 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 " @@ -1368,68 +1370,68 @@ msgid "" "``__signature__`` attribute defined." msgstr "" -#: library/inspect.rst:1101 +#: library/inspect.rst:1105 msgid ":exc:`ValueError` is raised if a cycle is encountered." msgstr "" -#: library/inspect.rst:1108 +#: library/inspect.rst:1112 msgid "Compute the annotations dict for an object." msgstr "" -#: library/inspect.rst:1110 +#: library/inspect.rst:1114 msgid "" "``obj`` may be a callable, class, or module. Passing in an object of any " "other type raises :exc:`TypeError`." msgstr "" -#: library/inspect.rst:1113 +#: library/inspect.rst:1117 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:1117 +#: library/inspect.rst:1121 msgid "This function handles several details for you:" msgstr "" -#: library/inspect.rst:1119 +#: library/inspect.rst:1123 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:1123 +#: library/inspect.rst:1127 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:1127 +#: library/inspect.rst:1131 msgid "" "Ignores inherited annotations on classes. If a class doesn't have its own " "annotations dict, returns an empty dict." msgstr "" -#: library/inspect.rst:1129 +#: library/inspect.rst:1133 msgid "" "All accesses to object members and dict values are done using ``getattr()`` " "and ``dict.get()`` for safety." msgstr "" -#: library/inspect.rst:1131 +#: library/inspect.rst:1135 msgid "Always, always, always returns a freshly created dict." msgstr "" -#: library/inspect.rst:1133 +#: library/inspect.rst:1137 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:1136 +#: library/inspect.rst:1140 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()` " @@ -1437,12 +1439,12 @@ msgid "" "call.)" msgstr "" -#: library/inspect.rst:1140 +#: library/inspect.rst:1144 msgid "" "If eval_str is false (the default), values of type ``str`` are unchanged." msgstr "" -#: library/inspect.rst:1142 +#: library/inspect.rst:1146 msgid "" "``globals`` and ``locals`` are passed in to :func:`eval()`; see the " "documentation for :func:`eval()` for more information. If ``globals`` or " @@ -1450,35 +1452,35 @@ msgid "" "specific default, contingent on ``type(obj)``:" msgstr "" -#: library/inspect.rst:1147 +#: library/inspect.rst:1151 msgid "If ``obj`` is a module, ``globals`` defaults to ``obj.__dict__``." msgstr "" -#: library/inspect.rst:1148 +#: library/inspect.rst:1152 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:1151 +#: library/inspect.rst:1155 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." msgstr "" -#: library/inspect.rst:1155 +#: library/inspect.rst:1159 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:1165 +#: library/inspect.rst:1169 msgid "The interpreter stack" msgstr "" -#: library/inspect.rst:1167 +#: library/inspect.rst:1171 msgid "" "Some of the following functions return :class:`FrameInfo` objects. For " "backwards compatibility these objects allow tuple-like operations on all " @@ -1486,95 +1488,95 @@ msgid "" "may be removed in the future." msgstr "" -#: library/inspect.rst:1176 +#: library/inspect.rst:1180 msgid "The :ref:`frame object ` that the record corresponds to." msgstr "" -#: library/inspect.rst:1180 +#: library/inspect.rst:1184 msgid "" "The file name associated with the code being executed by the frame this " "record corresponds to." msgstr "" -#: library/inspect.rst:1185 +#: library/inspect.rst:1189 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:1190 +#: library/inspect.rst:1194 msgid "" "The function name that is being executed by the frame this record " "corresponds to." msgstr "" -#: library/inspect.rst:1194 +#: library/inspect.rst:1198 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:1238 +#: library/inspect.rst:1242 msgid "" "The index of the current line being executed in the :attr:`code_context` " "list." msgstr "" -#: library/inspect.rst:1203 +#: library/inspect.rst:1207 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:1207 +#: library/inspect.rst:1211 msgid "Return a :term:`named tuple` instead of a :class:`tuple`." msgstr "" -#: library/inspect.rst:1210 +#: library/inspect.rst:1214 msgid "" ":class:`!FrameInfo` is now a class instance (that is backwards compatible " "with the previous :term:`named tuple`)." msgstr "" -#: library/inspect.rst:1219 +#: library/inspect.rst:1223 msgid "" "The file name associated with the code being executed by the frame this " "traceback corresponds to." msgstr "" -#: library/inspect.rst:1224 +#: library/inspect.rst:1228 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:1229 +#: library/inspect.rst:1233 msgid "" "The function name that is being executed by the frame this traceback " "corresponds to." msgstr "" -#: library/inspect.rst:1233 +#: library/inspect.rst:1237 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:1242 +#: library/inspect.rst:1246 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:1247 +#: library/inspect.rst:1251 msgid "" ":class:`!Traceback` is now a class instance (that is backwards compatible " "with the previous :term:`named tuple`)." msgstr "" -#: library/inspect.rst:1254 +#: library/inspect.rst:1258 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 " @@ -1586,7 +1588,7 @@ msgid "" "consumption which occurs." msgstr "" -#: library/inspect.rst:1262 +#: library/inspect.rst:1266 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 :" @@ -1594,31 +1596,31 @@ msgid "" "disabled when Python was compiled or using :func:`gc.disable`. For example::" msgstr "" -#: library/inspect.rst:1274 +#: library/inspect.rst:1278 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:1278 +#: library/inspect.rst:1282 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:1285 +#: library/inspect.rst:1289 msgid "" "Get information about a frame or traceback object. A :class:`Traceback` " "object is returned." msgstr "" -#: library/inspect.rst:1288 +#: library/inspect.rst:1292 msgid "A :class:`Traceback` object is returned instead of a named tuple." msgstr "" -#: library/inspect.rst:1293 +#: library/inspect.rst:1297 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 " @@ -1626,17 +1628,17 @@ msgid "" "represents the outermost call on *frame*'s stack." msgstr "" -#: library/inspect.rst:1313 library/inspect.rst:1354 +#: library/inspect.rst:1317 library/inspect.rst:1358 msgid "" "A list of :term:`named tuples ` ``FrameInfo(frame, filename, " "lineno, function, code_context, index)`` is returned." msgstr "" -#: library/inspect.rst:1318 library/inspect.rst:1359 +#: library/inspect.rst:1322 library/inspect.rst:1363 msgid "A list of :class:`FrameInfo` objects is returned." msgstr "" -#: library/inspect.rst:1308 +#: library/inspect.rst:1312 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 " @@ -1644,11 +1646,11 @@ msgid "" "represents where the exception was raised." msgstr "" -#: library/inspect.rst:1323 +#: library/inspect.rst:1327 msgid "Return the frame object for the caller's stack frame." msgstr "" -#: library/inspect.rst:1327 +#: library/inspect.rst:1331 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 " @@ -1656,14 +1658,14 @@ msgid "" "``None``." msgstr "" -#: library/inspect.rst:1335 +#: library/inspect.rst:1339 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:1349 +#: library/inspect.rst:1353 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 " @@ -1671,11 +1673,11 @@ msgid "" "entry represents where the exception was raised." msgstr "" -#: library/inspect.rst:1363 +#: library/inspect.rst:1367 msgid "Fetching attributes statically" msgstr "" -#: library/inspect.rst:1365 +#: library/inspect.rst:1369 msgid "" "Both :func:`getattr` and :func:`hasattr` can trigger code execution when " "fetching or checking for the existence of attributes. Descriptors, like " @@ -1683,20 +1685,20 @@ msgid "" "`__getattribute__` may be called." msgstr "" -#: library/inspect.rst:1370 +#: library/inspect.rst:1374 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:1376 +#: library/inspect.rst:1380 msgid "" "Retrieve attributes without triggering dynamic lookup via the descriptor " "protocol, :meth:`__getattr__` or :meth:`__getattribute__`." msgstr "" -#: library/inspect.rst:1379 +#: library/inspect.rst:1383 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 " @@ -1704,31 +1706,31 @@ msgid "" "return descriptors objects instead of instance members." msgstr "" -#: library/inspect.rst:1385 +#: library/inspect.rst:1389 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:1391 +#: library/inspect.rst:1395 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:1395 +#: library/inspect.rst:1399 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:1421 +#: library/inspect.rst:1425 msgid "Current State of Generators and Coroutines" msgstr "" -#: library/inspect.rst:1423 +#: library/inspect.rst:1427 msgid "" "When implementing coroutine schedulers and for other advanced uses of " "generators, it is useful to determine whether a generator is currently " @@ -1737,31 +1739,31 @@ msgid "" "generator to be determined easily." msgstr "" -#: library/inspect.rst:1431 +#: library/inspect.rst:1435 msgid "Get current state of a generator-iterator." msgstr "" -#: library/inspect.rst:1452 +#: library/inspect.rst:1456 msgid "Possible states are:" msgstr "" -#: library/inspect.rst:1434 +#: library/inspect.rst:1438 msgid "GEN_CREATED: Waiting to start execution." msgstr "" -#: library/inspect.rst:1435 +#: library/inspect.rst:1439 msgid "GEN_RUNNING: Currently being executed by the interpreter." msgstr "" -#: library/inspect.rst:1436 +#: library/inspect.rst:1440 msgid "GEN_SUSPENDED: Currently suspended at a yield expression." msgstr "" -#: library/inspect.rst:1437 +#: library/inspect.rst:1441 msgid "GEN_CLOSED: Execution has completed." msgstr "" -#: library/inspect.rst:1443 +#: library/inspect.rst:1447 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 " @@ -1769,30 +1771,30 @@ msgid "" "``cr_frame`` attributes." msgstr "" -#: library/inspect.rst:1449 +#: library/inspect.rst:1453 msgid "CORO_CREATED: Waiting to start execution." msgstr "" -#: library/inspect.rst:1450 +#: library/inspect.rst:1454 msgid "CORO_RUNNING: Currently being executed by the interpreter." msgstr "" -#: library/inspect.rst:1451 +#: library/inspect.rst:1455 msgid "CORO_SUSPENDED: Currently suspended at an await expression." msgstr "" -#: library/inspect.rst:1452 +#: library/inspect.rst:1456 msgid "CORO_CLOSED: Execution has completed." msgstr "" -#: library/inspect.rst:1456 +#: library/inspect.rst:1460 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:1462 +#: library/inspect.rst:1466 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. " @@ -1800,14 +1802,14 @@ msgid "" "generator, and all the same caveats apply." msgstr "" -#: library/inspect.rst:1467 +#: library/inspect.rst:1471 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:1473 +#: library/inspect.rst:1477 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 " @@ -1815,72 +1817,72 @@ msgid "" "dictionary." msgstr "" -#: library/inspect.rst:1482 +#: library/inspect.rst:1486 msgid "" "This function is analogous to :func:`~inspect.getgeneratorlocals`, but works " "for coroutine objects created by :keyword:`async def` functions." msgstr "" -#: library/inspect.rst:1491 +#: library/inspect.rst:1495 msgid "Code Objects Bit Flags" msgstr "" -#: library/inspect.rst:1493 +#: library/inspect.rst:1497 msgid "" "Python code objects have a ``co_flags`` attribute, which is a bitmap of the " "following flags:" msgstr "" -#: library/inspect.rst:1498 +#: library/inspect.rst:1502 msgid "The code object is optimized, using fast locals." msgstr "" -#: library/inspect.rst:1502 +#: library/inspect.rst:1506 msgid "" "If set, a new dict will be created for the frame's ``f_locals`` when the " "code object is executed." msgstr "" -#: library/inspect.rst:1507 +#: library/inspect.rst:1511 msgid "The code object has a variable positional parameter (``*args``-like)." msgstr "" -#: library/inspect.rst:1511 +#: library/inspect.rst:1515 msgid "The code object has a variable keyword parameter (``**kwargs``-like)." msgstr "" -#: library/inspect.rst:1515 +#: library/inspect.rst:1519 msgid "The flag is set when the code object is a nested function." msgstr "" -#: library/inspect.rst:1519 +#: library/inspect.rst:1523 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:1524 +#: library/inspect.rst:1528 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:1532 +#: library/inspect.rst:1536 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:1541 +#: library/inspect.rst:1545 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:1548 +#: library/inspect.rst:1552 msgid "" "The flags are specific to CPython, and may not be defined in other Python " "implementations. Furthermore, the flags are an implementation detail, and " @@ -1888,24 +1890,24 @@ msgid "" "use public APIs from the :mod:`inspect` module for any introspection needs." msgstr "" -#: library/inspect.rst:1558 +#: library/inspect.rst:1562 msgid "Command Line Interface" msgstr "" -#: library/inspect.rst:1560 +#: library/inspect.rst:1564 msgid "" "The :mod:`inspect` module also provides a basic introspection capability " "from the command line." msgstr "" -#: library/inspect.rst:1565 +#: library/inspect.rst:1569 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:1571 +#: library/inspect.rst:1575 msgid "" "Print information about the specified object rather than the source code" msgstr "" diff --git a/library/internet.po b/library/internet.po index cce4c00af..c9a045040 100644 --- a/library/internet.po +++ b/library/internet.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,3 +28,23 @@ msgid "" "`socket`, which is currently supported on most popular platforms. Here is " "an overview:" msgstr "" + +#: library/internet.rst:7 +msgid "WWW" +msgstr "" + +#: library/internet.rst:7 +msgid "Internet" +msgstr "" + +#: library/internet.rst:7 +msgid "World Wide Web" +msgstr "" + +#: library/internet.rst:12 +msgid "module" +msgstr "" + +#: library/internet.rst:12 +msgid "socket" +msgstr "" diff --git a/library/io.po b/library/io.po index cb0ad2aec..5368aeb59 100644 --- a/library/io.po +++ b/library/io.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1545,3 +1545,23 @@ msgid "" "includes standard streams and therefore affects the built-in :func:`print()` " "function as well." msgstr "" + +#: library/io.rst:24 +msgid "file object" +msgstr "" + +#: library/io.rst:24 +msgid "io module" +msgstr "" + +#: library/io.rst:1094 +msgid "universal newlines" +msgstr "" + +#: library/io.rst:970 +msgid "io.TextIOWrapper class" +msgstr "" + +#: library/io.rst:1094 +msgid "io.IncrementalNewlineDecoder class" +msgstr "" diff --git a/library/linecache.po b/library/linecache.po index 972e1c9ab..95ca623ac 100644 --- a/library/linecache.po +++ b/library/linecache.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -85,3 +85,15 @@ msgstr "" #: library/linecache.rst:63 msgid "Example::" msgstr "" + +#: library/linecache.rst:31 +msgid "module" +msgstr "" + +#: library/linecache.rst:31 +msgid "search" +msgstr "" + +#: library/linecache.rst:31 +msgid "path" +msgstr "" diff --git a/library/locale.po b/library/locale.po index 75f4c4817..d814a8de5 100644 --- a/library/locale.po +++ b/library/locale.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -864,3 +864,15 @@ msgid "" "necessary to bind the text domain, so that the libraries can properly locate " "their message catalogs." msgstr "" + +#: library/locale.rst:479 +msgid "module" +msgstr "" + +#: library/locale.rst:19 +msgid "_locale" +msgstr "" + +#: library/locale.rst:479 +msgid "string" +msgstr "" diff --git a/library/logging.config.po b/library/logging.config.po index 2ebbb8320..a40fa6d92 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -135,11 +135,17 @@ msgid "" "chosen configuration)." msgstr "" +#: library/logging.config.rst:90 +msgid "" +"It will raise :exc:`FileNotFoundError` if the file doesn't exist and :exc:" +"`RuntimeError` if the file is invalid or empty." +msgstr "" + #: library/logging.config.rst:0 msgid "Parameters" msgstr "" -#: library/logging.config.rst:90 +#: 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 " @@ -151,69 +157,54 @@ msgid "" "passed to :meth:`~configparser.ConfigParser.read`." msgstr "" -#: library/logging.config.rst:102 +#: library/logging.config.rst:106 msgid "" "Defaults to be passed to the ConfigParser can be specified in this argument." msgstr "" -#: library/logging.config.rst:105 -msgid "" -"If specified as ``False``, loggers which " -"exist when this call is made are left " -"enabled. The default is ``True`` because " -"this enables old behaviour in " -"a backward-compatible way. This behaviour is " -"to disable any existing non-root loggers " -"unless they or their ancestors are " -"explicitly named in the logging " -"configuration. :param encoding: The encoding used to open file when *fname* " -"is filename." -msgstr "" - -#: library/logging.config.rst:112 -msgid "If specified as ``False``, loggers which" -msgstr "" - -#: library/logging.config.rst:106 +#: library/logging.config.rst:109 msgid "" -"exist when this call is made are left enabled. The default is ``True`` " -"because this enables old behaviour in a backward-compatible way. This " -"behaviour is to disable any existing non-root loggers unless they or their " -"ancestors are explicitly named in the logging configuration." +"If specified as ``False``, loggers which exist when this call is made are " +"left enabled. The default is ``True`` because this enables old behaviour in " +"a backward-compatible way. This behaviour is to disable any existing non-" +"root loggers unless they or their ancestors are explicitly named in the " +"logging configuration." msgstr "" -#: library/logging.config.rst:0 -msgid "param encoding" -msgstr "" - -#: library/logging.config.rst:114 +#: library/logging.config.rst:118 msgid "The encoding used to open file when *fname* is filename." msgstr "" -#: library/logging.config.rst:116 +#: library/logging.config.rst:120 msgid "" "An instance of a subclass of :class:`~configparser.RawConfigParser` is now " "accepted as a value for ``fname``. This facilitates:" msgstr "" -#: library/logging.config.rst:120 +#: library/logging.config.rst:124 msgid "" "Use of a configuration file where logging configuration is just part of the " "overall application configuration." msgstr "" -#: library/logging.config.rst:122 +#: library/logging.config.rst:126 msgid "" "Use of a configuration read from a file, and then modified by the using " "application (e.g. based on command-line parameters or other aspects of the " "runtime environment) before being passed to ``fileConfig``." msgstr "" -#: library/logging.config.rst:126 +#: library/logging.config.rst:130 msgid "The *encoding* parameter is added." msgstr "" -#: library/logging.config.rst:131 +#: library/logging.config.rst:133 +msgid "" +"An exception will be thrown if the provided file doesn't exist or is invalid " +"or empty." +msgstr "" + +#: library/logging.config.rst:139 msgid "" "Starts up a socket server on the specified port, and listens for new " "configurations. If no port is specified, the module's default :const:" @@ -225,7 +216,7 @@ msgid "" "func:`stopListening`." msgstr "" -#: library/logging.config.rst:140 +#: library/logging.config.rst:148 msgid "" "The ``verify`` argument, if specified, should be a callable which should " "verify whether bytes received across the socket are valid and should be " @@ -239,14 +230,14 @@ msgid "" "(perhaps if decryption were performed)." msgstr "" -#: library/logging.config.rst:151 +#: library/logging.config.rst:159 msgid "" "To send a configuration to the socket, read in the configuration file and " "send it to the socket as a sequence of bytes preceded by a four-byte length " "string packed in binary using ``struct.pack('>L', n)``." msgstr "" -#: library/logging.config.rst:159 +#: library/logging.config.rst:167 msgid "" "Because portions of the configuration are passed through :func:`eval`, use " "of this function may open its users to a security risk. While the function " @@ -264,11 +255,11 @@ msgid "" "from being applied." msgstr "" -#: library/logging.config.rst:175 +#: library/logging.config.rst:183 msgid "The ``verify`` argument was added." msgstr "" -#: library/logging.config.rst:180 +#: library/logging.config.rst:188 msgid "" "If you want to send configurations to the listener which don't disable " "existing loggers, you will need to use a JSON format for the configuration, " @@ -277,18 +268,18 @@ msgid "" "you send." msgstr "" -#: library/logging.config.rst:189 +#: library/logging.config.rst:197 msgid "" "Stops the listening server which was created with a call to :func:`listen`. " "This is typically called before calling :meth:`join` on the return value " "from :func:`listen`." msgstr "" -#: library/logging.config.rst:195 +#: library/logging.config.rst:203 msgid "Security considerations" msgstr "" -#: library/logging.config.rst:197 +#: library/logging.config.rst:205 msgid "" "The logging configuration functionality tries to offer convenience, and in " "part this is done by offering the ability to convert text in configuration " @@ -301,11 +292,11 @@ msgid "" "bad can happen if you load them, before actually loading them." msgstr "" -#: library/logging.config.rst:211 +#: library/logging.config.rst:219 msgid "Configuration dictionary schema" msgstr "" -#: library/logging.config.rst:213 +#: library/logging.config.rst:221 msgid "" "Describing a logging configuration requires listing the various objects to " "create and the connections between them; for example, you may create a " @@ -318,23 +309,23 @@ msgid "" "connections` below." msgstr "" -#: library/logging.config.rst:225 +#: library/logging.config.rst:233 msgid "Dictionary Schema Details" msgstr "" -#: library/logging.config.rst:227 +#: library/logging.config.rst:235 msgid "" "The dictionary passed to :func:`dictConfig` must contain the following keys:" msgstr "" -#: library/logging.config.rst:230 +#: library/logging.config.rst:238 msgid "" "*version* - to be set to an integer value representing the schema version. " "The only valid value at present is 1, but having this key allows the schema " "to evolve while still preserving backwards compatibility." msgstr "" -#: library/logging.config.rst:235 +#: library/logging.config.rst:243 msgid "" "All other keys are optional, but if present they will be interpreted as " "described below. In all cases below where a 'configuring dict' is " @@ -344,37 +335,37 @@ msgid "" "otherwise, the context is used to determine what to instantiate." msgstr "" -#: library/logging.config.rst:244 +#: library/logging.config.rst:252 msgid "" "*formatters* - the corresponding value will be a dict in which each key is a " "formatter id and each value is a dict describing how to configure the " "corresponding :class:`~logging.Formatter` instance." msgstr "" -#: library/logging.config.rst:248 +#: library/logging.config.rst:256 msgid "" "The configuring dict is searched for the following optional keys which " "correspond to the arguments passed to create a :class:`~logging.Formatter` " "object:" msgstr "" -#: library/logging.config.rst:252 +#: library/logging.config.rst:260 msgid "``format``" msgstr "" -#: library/logging.config.rst:253 +#: library/logging.config.rst:261 msgid "``datefmt``" msgstr "" -#: library/logging.config.rst:254 +#: library/logging.config.rst:262 msgid "``style``" msgstr "" -#: library/logging.config.rst:255 +#: library/logging.config.rst:263 msgid "``validate`` (since version >=3.8)" msgstr "" -#: library/logging.config.rst:257 +#: library/logging.config.rst:265 msgid "" "An optional ``class`` key indicates the name of the formatter's class (as a " "dotted module and class name). The instantiation arguments are as for :" @@ -385,60 +376,60 @@ msgid "" "configuration keys, you should use :ref:`logging-config-dict-userdef`." msgstr "" -#: library/logging.config.rst:266 +#: library/logging.config.rst:274 msgid "" "*filters* - the corresponding value will be a dict in which each key is a " "filter id and each value is a dict describing how to configure the " "corresponding Filter instance." msgstr "" -#: library/logging.config.rst:270 +#: library/logging.config.rst:278 msgid "" "The configuring dict is searched for the key ``name`` (defaulting to the " "empty string) and this is used to construct a :class:`logging.Filter` " "instance." msgstr "" -#: library/logging.config.rst:274 +#: library/logging.config.rst:282 msgid "" "*handlers* - the corresponding value will be a dict in which each key is a " "handler id and each value is a dict describing how to configure the " "corresponding Handler instance." msgstr "" -#: library/logging.config.rst:323 +#: library/logging.config.rst:331 msgid "The configuring dict is searched for the following keys:" msgstr "" -#: library/logging.config.rst:280 +#: library/logging.config.rst:288 msgid "" "``class`` (mandatory). This is the fully qualified name of the handler " "class." msgstr "" -#: library/logging.config.rst:283 +#: library/logging.config.rst:291 msgid "``level`` (optional). The level of the handler." msgstr "" -#: library/logging.config.rst:285 +#: library/logging.config.rst:293 msgid "``formatter`` (optional). The id of the formatter for this handler." msgstr "" -#: library/logging.config.rst:288 +#: library/logging.config.rst:296 msgid "``filters`` (optional). A list of ids of the filters for this handler." msgstr "" -#: library/logging.config.rst:332 +#: library/logging.config.rst:340 msgid "``filters`` can take filter instances in addition to ids." msgstr "" -#: library/logging.config.rst:294 +#: library/logging.config.rst:302 msgid "" "All *other* keys are passed through as keyword arguments to the handler's " "constructor. For example, given the snippet:" msgstr "" -#: library/logging.config.rst:313 +#: library/logging.config.rst:321 msgid "" "the handler with id ``console`` is instantiated as a :class:`logging." "StreamHandler`, using ``sys.stdout`` as the underlying stream. The handler " @@ -447,44 +438,44 @@ msgid "" "maxBytes=1024, backupCount=3``." msgstr "" -#: library/logging.config.rst:319 +#: library/logging.config.rst:327 msgid "" "*loggers* - the corresponding value will be a dict in which each key is a " "logger name and each value is a dict describing how to configure the " "corresponding Logger instance." msgstr "" -#: library/logging.config.rst:325 +#: library/logging.config.rst:333 msgid "``level`` (optional). The level of the logger." msgstr "" -#: library/logging.config.rst:327 +#: library/logging.config.rst:335 msgid "``propagate`` (optional). The propagation setting of the logger." msgstr "" -#: library/logging.config.rst:329 +#: library/logging.config.rst:337 msgid "``filters`` (optional). A list of ids of the filters for this logger." msgstr "" -#: library/logging.config.rst:335 +#: library/logging.config.rst:343 msgid "" "``handlers`` (optional). A list of ids of the handlers for this logger." msgstr "" -#: library/logging.config.rst:338 +#: library/logging.config.rst:346 msgid "" "The specified loggers will be configured according to the level, " "propagation, filters and handlers specified." msgstr "" -#: library/logging.config.rst:341 +#: library/logging.config.rst:349 msgid "" "*root* - this will be the configuration for the root logger. Processing of " "the configuration will be as for any logger, except that the ``propagate`` " "setting will not be applicable." msgstr "" -#: library/logging.config.rst:345 +#: library/logging.config.rst:353 msgid "" "*incremental* - whether the configuration is to be interpreted as " "incremental to the existing configuration. This value defaults to " @@ -493,13 +484,13 @@ msgid "" "`fileConfig` API." msgstr "" -#: library/logging.config.rst:351 +#: library/logging.config.rst:359 msgid "" "If the specified value is ``True``, the configuration is processed as " "described in the section on :ref:`logging-config-dict-incremental`." msgstr "" -#: library/logging.config.rst:354 +#: library/logging.config.rst:362 msgid "" "*disable_existing_loggers* - whether any existing non-root loggers are to be " "disabled. This setting mirrors the parameter of the same name in :func:" @@ -507,11 +498,11 @@ msgid "" "ignored if *incremental* is ``True``." msgstr "" -#: library/logging.config.rst:362 +#: library/logging.config.rst:370 msgid "Incremental Configuration" msgstr "" -#: library/logging.config.rst:364 +#: library/logging.config.rst:372 msgid "" "It is difficult to provide complete flexibility for incremental " "configuration. For example, because objects such as filters and formatters " @@ -519,7 +510,7 @@ msgid "" "to such anonymous objects when augmenting a configuration." msgstr "" -#: library/logging.config.rst:370 +#: library/logging.config.rst:378 msgid "" "Furthermore, there is not a compelling case for arbitrarily altering the " "object graph of loggers, handlers, filters, formatters at run-time, once a " @@ -530,7 +521,7 @@ msgid "" "worth the complexity it adds to the implementation." msgstr "" -#: library/logging.config.rst:379 +#: library/logging.config.rst:387 msgid "" "Thus, when the ``incremental`` key of a configuration dict is present and is " "``True``, the system will completely ignore any ``formatters`` and " @@ -539,7 +530,7 @@ msgid "" "``loggers`` and ``root`` entries." msgstr "" -#: library/logging.config.rst:385 +#: library/logging.config.rst:393 msgid "" "Using a value in the configuration dict lets configurations to be sent over " "the wire as pickled dicts to a socket listener. Thus, the logging verbosity " @@ -547,11 +538,11 @@ msgid "" "and restart the application." msgstr "" -#: library/logging.config.rst:393 +#: library/logging.config.rst:401 msgid "Object connections" msgstr "" -#: library/logging.config.rst:395 +#: library/logging.config.rst:403 msgid "" "The schema describes a set of logging objects - loggers, handlers, " "formatters, filters - which are connected to each other in an object graph. " @@ -567,17 +558,17 @@ msgid "" "source and the destination object with that id." msgstr "" -#: library/logging.config.rst:409 +#: library/logging.config.rst:417 msgid "So, for example, consider the following YAML snippet:" msgstr "" -#: library/logging.config.rst:430 +#: library/logging.config.rst:438 msgid "" "(Note: YAML used here because it's a little more readable than the " "equivalent Python source form for the dictionary.)" msgstr "" -#: library/logging.config.rst:433 +#: library/logging.config.rst:441 msgid "" "The ids for loggers are the logger names which would be used " "programmatically to obtain a reference to those loggers, e.g. ``foo.bar." @@ -588,7 +579,7 @@ msgid "" "configuration call is complete." msgstr "" -#: library/logging.config.rst:441 +#: library/logging.config.rst:449 msgid "" "The above snippet indicates that logger named ``foo.bar.baz`` should have " "two handlers attached to it, which are described by the handler ids ``h1`` " @@ -596,11 +587,11 @@ msgid "" "the formatter for ``h2`` is that described by id ``precise``." msgstr "" -#: library/logging.config.rst:451 +#: library/logging.config.rst:459 msgid "User-defined objects" msgstr "" -#: library/logging.config.rst:453 +#: library/logging.config.rst:461 msgid "" "The schema supports user-defined objects for handlers, filters and " "formatters. (Loggers do not need to have different types for different " @@ -608,7 +599,7 @@ msgid "" "defined logger classes.)" msgstr "" -#: library/logging.config.rst:458 +#: library/logging.config.rst:466 msgid "" "Objects to be configured are described by dictionaries which detail their " "configuration. In some places, the logging system will be able to infer " @@ -621,7 +612,7 @@ msgid "" "made available under the special key ``'()'``. Here's a concrete example:" msgstr "" -#: library/logging.config.rst:484 +#: library/logging.config.rst:492 msgid "" "The above YAML snippet defines three formatters. The first, with id " "``brief``, is a standard :class:`logging.Formatter` instance with the " @@ -632,11 +623,11 @@ msgid "" "configuration sub-dictionaries::" msgstr "" -#: library/logging.config.rst:496 +#: library/logging.config.rst:504 msgid "and::" msgstr "" -#: library/logging.config.rst:503 +#: library/logging.config.rst:511 msgid "" "respectively, and as these dictionaries do not contain the special key " "``'()'``, the instantiation is inferred from the context: as a result, " @@ -645,7 +636,7 @@ msgid "" "is::" msgstr "" -#: library/logging.config.rst:516 +#: library/logging.config.rst:524 msgid "" "and this contains the special key ``'()'``, which means that user-defined " "instantiation is wanted. In this case, the specified factory callable will " @@ -657,7 +648,7 @@ msgid "" "assumed to be returned by the call::" msgstr "" -#: library/logging.config.rst:528 +#: library/logging.config.rst:536 msgid "" "The values for keys such as ``bar``, ``spam`` and ``answer`` in the above " "example should not be configuration dictionaries or references such as " @@ -665,7 +656,7 @@ msgid "" "configuration machinery, but passed to the callable as-is." msgstr "" -#: library/logging.config.rst:533 +#: library/logging.config.rst:541 msgid "" "The key ``'()'`` has been used as the special key because it is not a valid " "keyword parameter name, and so will not clash with the names of the keyword " @@ -673,13 +664,13 @@ msgid "" "corresponding value is a callable." msgstr "" -#: library/logging.config.rst:538 +#: library/logging.config.rst:546 msgid "" "The ``filters`` member of ``handlers`` and ``loggers`` can take filter " "instances in addition to ids." msgstr "" -#: library/logging.config.rst:542 +#: library/logging.config.rst:550 msgid "" "You can also specify a special key ``'.'`` whose value is a dictionary is a " "mapping of attribute names to values. If found, the specified attributes " @@ -687,13 +678,13 @@ msgid "" "following configuration::" msgstr "" -#: library/logging.config.rst:558 +#: library/logging.config.rst:566 msgid "" "the returned formatter will have attribute ``foo`` set to ``'bar'`` and " "attribute ``baz`` set to ``'bozz'``." msgstr "" -#: library/logging.config.rst:561 +#: library/logging.config.rst:569 msgid "" "The values for attributes such as ``foo`` and ``baz`` in the above example " "should not be configuration dictionaries or references such as ``cfg://foo`` " @@ -701,11 +692,11 @@ msgid "" "machinery, but set as attribute values as-is." msgstr "" -#: library/logging.config.rst:570 +#: library/logging.config.rst:578 msgid "Handler configuration order" msgstr "" -#: library/logging.config.rst:572 +#: library/logging.config.rst:580 msgid "" "Handlers are configured in alphabetical order of their keys, and a " "configured handler replaces the configuration dictionary in (a working copy " @@ -726,11 +717,11 @@ msgid "" "dictionary." msgstr "" -#: library/logging.config.rst:593 +#: library/logging.config.rst:601 msgid "Access to external objects" msgstr "" -#: library/logging.config.rst:595 +#: library/logging.config.rst:603 msgid "" "There are times where a configuration needs to refer to objects external to " "the configuration, for example ``sys.stderr``. If the configuration dict is " @@ -745,7 +736,7 @@ msgid "" "import mechanisms." msgstr "" -#: library/logging.config.rst:608 +#: library/logging.config.rst:616 msgid "" "The handling of such prefixes is done in a way analogous to protocol " "handling: there is a generic mechanism to look for prefixes which match the " @@ -755,11 +746,11 @@ msgid "" "prefix is not recognised, then the string value will be left as-is." msgstr "" -#: library/logging.config.rst:620 +#: library/logging.config.rst:628 msgid "Access to internal objects" msgstr "" -#: library/logging.config.rst:622 +#: library/logging.config.rst:630 msgid "" "As well as external objects, there is sometimes also a need to refer to " "objects in the configuration. This will be done implicitly by the " @@ -770,7 +761,7 @@ msgid "" "and resolve to the appropriate destination object." msgstr "" -#: library/logging.config.rst:630 +#: library/logging.config.rst:638 msgid "" "However, a more generic mechanism is needed for user-defined objects which " "are not known to the :mod:`logging` module. For example, consider :class:" @@ -784,7 +775,7 @@ msgid "" "resolution system allows the user to specify:" msgstr "" -#: library/logging.config.rst:652 +#: library/logging.config.rst:660 msgid "" "The literal string ``'cfg://handlers.file'`` will be resolved in an " "analogous way to strings with the ``ext://`` prefix, but looking in the " @@ -793,7 +784,7 @@ msgid "" "format``. Thus, given the following snippet:" msgstr "" -#: library/logging.config.rst:670 +#: library/logging.config.rst:678 msgid "" "in the configuration, the string ``'cfg://handlers'`` would resolve to the " "dict with key ``handlers``, the string ``'cfg://handlers.email`` would " @@ -809,7 +800,7 @@ msgid "" "to the string value if needed." msgstr "" -#: library/logging.config.rst:684 +#: library/logging.config.rst:692 msgid "" "Given a string ``cfg://handlers.myhandler.mykey.123``, this will resolve to " "``config_dict['handlers']['myhandler']['mykey']['123']``. If the string is " @@ -819,11 +810,11 @@ msgid "" "['mykey']['123']`` if that fails." msgstr "" -#: library/logging.config.rst:696 +#: library/logging.config.rst:704 msgid "Import resolution and custom importers" msgstr "" -#: library/logging.config.rst:698 +#: library/logging.config.rst:706 msgid "" "Import resolution, by default, uses the builtin :func:`__import__` function " "to do its importing. You may want to replace this with your own importing " @@ -835,17 +826,17 @@ msgid "" "instance level, you need to wrap it with :func:`staticmethod`. For example::" msgstr "" -#: library/logging.config.rst:713 +#: library/logging.config.rst:721 msgid "" "You don't need to wrap with :func:`staticmethod` if you're setting the " "import callable on a configurator *instance*." msgstr "" -#: library/logging.config.rst:720 +#: library/logging.config.rst:728 msgid "Configuration file format" msgstr "" -#: library/logging.config.rst:722 +#: library/logging.config.rst:730 msgid "" "The configuration file format understood by :func:`fileConfig` is based on :" "mod:`configparser` functionality. The file must contain sections called " @@ -862,7 +853,7 @@ msgid "" "specified in a section called ``[logger_root]``." msgstr "" -#: library/logging.config.rst:737 +#: library/logging.config.rst:745 msgid "" "The :func:`fileConfig` API is older than the :func:`dictConfig` API and does " "not provide functionality to cover certain aspects of logging. For example, " @@ -875,17 +866,17 @@ msgid "" "when it's convenient to do so." msgstr "" -#: library/logging.config.rst:747 +#: library/logging.config.rst:755 msgid "Examples of these sections in the file are given below." msgstr "" -#: library/logging.config.rst:760 +#: library/logging.config.rst:768 msgid "" "The root logger must specify a level and a list of handlers. An example of a " "root logger section is given below." msgstr "" -#: library/logging.config.rst:769 +#: library/logging.config.rst:777 msgid "" "The ``level`` entry can be one of ``DEBUG, INFO, WARNING, ERROR, CRITICAL`` " "or ``NOTSET``. For the root logger only, ``NOTSET`` means that all messages " @@ -893,7 +884,7 @@ msgid "" "of the ``logging`` package's namespace." msgstr "" -#: library/logging.config.rst:774 +#: library/logging.config.rst:782 msgid "" "The ``handlers`` entry is a comma-separated list of handler names, which " "must appear in the ``[handlers]`` section. These names must appear in the " @@ -901,13 +892,13 @@ msgid "" "file." msgstr "" -#: library/logging.config.rst:779 +#: library/logging.config.rst:787 msgid "" "For loggers other than the root logger, some additional information is " "required. This is illustrated by the following example." msgstr "" -#: library/logging.config.rst:790 +#: library/logging.config.rst:798 msgid "" "The ``level`` and ``handlers`` entries are interpreted as for the root " "logger, except that if a non-root logger's level is specified as ``NOTSET``, " @@ -920,20 +911,20 @@ msgid "" "application to get the logger." msgstr "" -#: library/logging.config.rst:799 +#: library/logging.config.rst:807 msgid "" "Sections which specify handler configuration are exemplified by the " "following." msgstr "" -#: library/logging.config.rst:809 +#: library/logging.config.rst:817 msgid "" "The ``class`` entry indicates the handler's class (as determined by :func:" "`eval` in the ``logging`` package's namespace). The ``level`` is interpreted " "as for loggers, and ``NOTSET`` is taken to mean 'log everything'." msgstr "" -#: library/logging.config.rst:813 +#: library/logging.config.rst:821 msgid "" "The ``formatter`` entry indicates the key name of the formatter for this " "handler. If blank, a default formatter (``logging._defaultFormatter``) is " @@ -941,7 +932,7 @@ msgid "" "and have a corresponding section in the configuration file." msgstr "" -#: library/logging.config.rst:818 +#: library/logging.config.rst:826 msgid "" "The ``args`` entry, when :ref:`evaluated ` in the context of the " "``logging`` package's namespace, is the list of arguments to the constructor " @@ -950,7 +941,7 @@ msgid "" "provided, it defaults to ``()``." msgstr "" -#: library/logging.config.rst:824 +#: library/logging.config.rst:832 msgid "" "The optional ``kwargs`` entry, when :ref:`evaluated ` in the " "context of the ``logging`` package's namespace, is the keyword argument dict " @@ -958,19 +949,19 @@ msgid "" "``{}``." msgstr "" -#: library/logging.config.rst:881 +#: library/logging.config.rst:889 msgid "" "Sections which specify formatter configuration are typified by the following." msgstr "" -#: library/logging.config.rst:892 +#: library/logging.config.rst:900 msgid "" "The arguments for the formatter configuration are the same as the keys in " "the dictionary schema :ref:`formatters section `." msgstr "" -#: library/logging.config.rst:898 +#: library/logging.config.rst:906 msgid "" "Due to the use of :func:`eval` as described above, there are potential " "security risks which result from using the :func:`listen` to send and " @@ -979,18 +970,18 @@ msgid "" "`listen` documentation for more information." msgstr "" -#: library/logging.config.rst:907 +#: library/logging.config.rst:915 msgid "Module :mod:`logging`" msgstr "" -#: library/logging.config.rst:907 +#: library/logging.config.rst:915 msgid "API reference for the logging module." msgstr "" -#: library/logging.config.rst:909 +#: library/logging.config.rst:917 msgid "Module :mod:`logging.handlers`" msgstr "" -#: library/logging.config.rst:910 +#: library/logging.config.rst:918 msgid "Useful handlers included with the logging module." msgstr "" diff --git a/library/logging.po b/library/logging.po index 2dcda77f9..11b79c265 100644 --- a/library/logging.po +++ b/library/logging.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -265,7 +265,7 @@ msgid "" "information." msgstr "" -#: library/logging.rst:1066 +#: library/logging.rst:1067 msgid "" "The second optional keyword argument is *stack_info*, which defaults to " "``False``. If true, stack information is added to the logging message, " @@ -277,14 +277,14 @@ msgid "" "handlers." msgstr "" -#: library/logging.rst:1075 +#: library/logging.rst:1076 msgid "" "You can specify *stack_info* independently of *exc_info*, e.g. to just show " "how you got to a certain point in your code, even when no exceptions were " "raised. The stack frames are printed following a header line which says:" msgstr "" -#: library/logging.rst:1083 +#: library/logging.rst:1084 msgid "" "This mimics the ``Traceback (most recent call last):`` which is used when " "displaying exception frames." @@ -333,7 +333,7 @@ msgid "" "dictionary with these keys." msgstr "" -#: library/logging.rst:1114 +#: library/logging.rst:1115 msgid "" "While this might be annoying, this feature is intended for use in " "specialized circumstances, such as multi-threaded servers where the same " @@ -351,7 +351,7 @@ msgid "" "will be sent to the handler set on :attr:`lastResort`." msgstr "" -#: library/logging.rst:1125 +#: library/logging.rst:1126 msgid "The *stack_info* parameter was added." msgstr "" @@ -998,33 +998,34 @@ msgstr "" #: library/logging.rst:798 msgid "" "The event description message, which can be a %-format string with " -"placeholders for variable data." +"placeholders for variable data, or an arbitrary object (see :ref:`arbitrary-" +"object-messages`)." msgstr "" -#: library/logging.rst:802 +#: library/logging.rst:803 msgid "" "Variable data to merge into the *msg* argument to obtain the event " "description." msgstr "" -#: library/logging.rst:806 +#: library/logging.rst:807 msgid "" "An exception tuple with the current exception information, as returned by :" "func:`sys.exc_info`, or ``None`` if no exception information is available." msgstr "" -#: library/logging.rst:811 +#: library/logging.rst:812 msgid "" "The name of the function or method from which the logging call was invoked." msgstr "" -#: library/logging.rst:815 +#: library/logging.rst:816 msgid "" "A text string representing stack information from the base of the stack in " "the current thread, up to the logging call." msgstr "" -#: library/logging.rst:822 +#: library/logging.rst:823 msgid "" "Returns the message for this :class:`LogRecord` instance after merging any " "user-supplied arguments with the message. If the user-supplied message " @@ -1033,7 +1034,7 @@ msgid "" "whose ``__str__`` method can return the actual format string to be used." msgstr "" -#: library/logging.rst:829 +#: library/logging.rst:830 msgid "" "The creation of a :class:`LogRecord` has been made more configurable by " "providing a factory which is used to create the record. The factory can be " @@ -1041,24 +1042,24 @@ msgid "" "this for the factory's signature)." msgstr "" -#: library/logging.rst:835 +#: library/logging.rst:836 msgid "" "This functionality can be used to inject your own values into a :class:" "`LogRecord` at creation time. You can use the following pattern::" msgstr "" -#: library/logging.rst:847 +#: library/logging.rst:848 msgid "" "With this pattern, multiple factories could be chained, and as long as they " "don't overwrite each other's attributes or unintentionally overwrite the " "standard attributes listed above, there should be no surprises." msgstr "" -#: library/logging.rst:856 +#: library/logging.rst:857 msgid "LogRecord attributes" msgstr "" -#: library/logging.rst:858 +#: library/logging.rst:859 msgid "" "The LogRecord has a number of attributes, most of which are derived from the " "parameters to the constructor. (Note that the names do not always correspond " @@ -1069,7 +1070,7 @@ msgid "" "style format string." msgstr "" -#: library/logging.rst:866 +#: library/logging.rst:867 msgid "" "If you are using {}-formatting (:func:`str.format`), you can use ``{attrname}" "`` as the placeholder in the format string. If you are using $-formatting (:" @@ -1077,7 +1078,7 @@ msgid "" "course, replace ``attrname`` with the actual attribute name you want to use." msgstr "" -#: library/logging.rst:872 +#: library/logging.rst:873 msgid "" "In the case of {}-formatting, you can specify formatting flags by placing " "them after the attribute name, separated from it with a colon. For example: " @@ -1086,307 +1087,307 @@ msgid "" "on the options available to you." msgstr "" -#: library/logging.rst:879 +#: library/logging.rst:880 msgid "Attribute name" msgstr "" -#: library/logging.rst:1270 +#: library/logging.rst:1271 msgid "Format" msgstr "" -#: library/logging.rst:1270 +#: library/logging.rst:1271 msgid "Description" msgstr "" -#: library/logging.rst:881 +#: library/logging.rst:882 msgid "args" msgstr "" -#: library/logging.rst:895 library/logging.rst:941 +#: library/logging.rst:896 library/logging.rst:942 msgid "You shouldn't need to format this yourself." msgstr "" -#: library/logging.rst:881 +#: library/logging.rst:882 msgid "" "The tuple of arguments merged into ``msg`` to produce ``message``, or a dict " "whose values are used for the merge (when there is only one argument, and it " "is a dictionary)." msgstr "" -#: library/logging.rst:886 +#: library/logging.rst:887 msgid "asctime" msgstr "" -#: library/logging.rst:886 +#: library/logging.rst:887 msgid "``%(asctime)s``" msgstr "" -#: library/logging.rst:886 +#: library/logging.rst:887 msgid "" "Human-readable time when the :class:`LogRecord` was created. By default " "this is of the form '2003-07-08 16:49:45,896' (the numbers after the comma " "are millisecond portion of the time)." msgstr "" -#: library/logging.rst:892 +#: library/logging.rst:893 msgid "created" msgstr "" -#: library/logging.rst:892 +#: library/logging.rst:893 msgid "``%(created)f``" msgstr "" -#: library/logging.rst:892 +#: library/logging.rst:893 msgid "" "Time when the :class:`LogRecord` was created (as returned by :func:`time." "time`)." msgstr "" -#: library/logging.rst:895 +#: library/logging.rst:896 msgid "exc_info" msgstr "" -#: library/logging.rst:895 +#: library/logging.rst:896 msgid "" "Exception tuple (à la ``sys.exc_info``) or, if no exception has occurred, " "``None``." msgstr "" -#: library/logging.rst:898 +#: library/logging.rst:899 msgid "filename" msgstr "" -#: library/logging.rst:898 +#: library/logging.rst:899 msgid "``%(filename)s``" msgstr "" -#: library/logging.rst:898 +#: library/logging.rst:899 msgid "Filename portion of ``pathname``." msgstr "" -#: library/logging.rst:900 +#: library/logging.rst:901 msgid "funcName" msgstr "" -#: library/logging.rst:900 +#: library/logging.rst:901 msgid "``%(funcName)s``" msgstr "" -#: library/logging.rst:900 +#: library/logging.rst:901 msgid "Name of function containing the logging call." msgstr "" -#: library/logging.rst:902 +#: library/logging.rst:903 msgid "levelname" msgstr "" -#: library/logging.rst:902 +#: library/logging.rst:903 msgid "``%(levelname)s``" msgstr "" -#: library/logging.rst:902 +#: library/logging.rst:903 msgid "" "Text logging level for the message (``'DEBUG'``, ``'INFO'``, ``'WARNING'``, " "``'ERROR'``, ``'CRITICAL'``)." msgstr "" -#: library/logging.rst:906 +#: library/logging.rst:907 msgid "levelno" msgstr "" -#: library/logging.rst:906 +#: library/logging.rst:907 msgid "``%(levelno)s``" msgstr "" -#: library/logging.rst:906 +#: library/logging.rst:907 msgid "" "Numeric logging level for the message (:const:`DEBUG`, :const:`INFO`, :const:" "`WARNING`, :const:`ERROR`, :const:`CRITICAL`)." msgstr "" -#: library/logging.rst:911 +#: library/logging.rst:912 msgid "lineno" msgstr "" -#: library/logging.rst:911 +#: library/logging.rst:912 msgid "``%(lineno)d``" msgstr "" -#: library/logging.rst:911 +#: library/logging.rst:912 msgid "Source line number where the logging call was issued (if available)." msgstr "" -#: library/logging.rst:914 +#: library/logging.rst:915 msgid "message" msgstr "" -#: library/logging.rst:914 +#: library/logging.rst:915 msgid "``%(message)s``" msgstr "" -#: library/logging.rst:914 +#: library/logging.rst:915 msgid "" "The logged message, computed as ``msg % args``. This is set when :meth:" "`Formatter.format` is invoked." msgstr "" -#: library/logging.rst:918 +#: library/logging.rst:919 msgid "module" msgstr "" -#: library/logging.rst:918 +#: library/logging.rst:919 msgid "``%(module)s``" msgstr "" -#: library/logging.rst:918 +#: library/logging.rst:919 msgid "Module (name portion of ``filename``)." msgstr "" -#: library/logging.rst:920 +#: library/logging.rst:921 msgid "msecs" msgstr "" -#: library/logging.rst:920 +#: library/logging.rst:921 msgid "``%(msecs)d``" msgstr "" -#: library/logging.rst:920 +#: library/logging.rst:921 msgid "" "Millisecond portion of the time when the :class:`LogRecord` was created." msgstr "" -#: library/logging.rst:923 +#: library/logging.rst:924 msgid "msg" msgstr "" -#: library/logging.rst:923 +#: library/logging.rst:924 msgid "" "The format string passed in the original logging call. Merged with ``args`` " "to produce ``message``, or an arbitrary object (see :ref:`arbitrary-object-" "messages`)." msgstr "" -#: library/logging.rst:928 +#: library/logging.rst:929 msgid "name" msgstr "" -#: library/logging.rst:928 +#: library/logging.rst:929 msgid "``%(name)s``" msgstr "" -#: library/logging.rst:928 +#: library/logging.rst:929 msgid "Name of the logger used to log the call." msgstr "" -#: library/logging.rst:930 +#: library/logging.rst:931 msgid "pathname" msgstr "" -#: library/logging.rst:930 +#: library/logging.rst:931 msgid "``%(pathname)s``" msgstr "" -#: library/logging.rst:930 +#: library/logging.rst:931 msgid "" "Full pathname of the source file where the logging call was issued (if " "available)." msgstr "" -#: library/logging.rst:933 +#: library/logging.rst:934 msgid "process" msgstr "" -#: library/logging.rst:933 +#: library/logging.rst:934 msgid "``%(process)d``" msgstr "" -#: library/logging.rst:933 +#: library/logging.rst:934 msgid "Process ID (if available)." msgstr "" -#: library/logging.rst:935 +#: library/logging.rst:936 msgid "processName" msgstr "" -#: library/logging.rst:935 +#: library/logging.rst:936 msgid "``%(processName)s``" msgstr "" -#: library/logging.rst:935 +#: library/logging.rst:936 msgid "Process name (if available)." msgstr "" -#: library/logging.rst:937 +#: library/logging.rst:938 msgid "relativeCreated" msgstr "" -#: library/logging.rst:937 +#: library/logging.rst:938 msgid "``%(relativeCreated)d``" msgstr "" -#: library/logging.rst:937 +#: library/logging.rst:938 msgid "" "Time in milliseconds when the LogRecord was created, relative to the time " "the logging module was loaded." msgstr "" -#: library/logging.rst:941 +#: library/logging.rst:942 msgid "stack_info" msgstr "" -#: library/logging.rst:941 +#: library/logging.rst:942 msgid "" "Stack frame information (where available) from the bottom of the stack in " "the current thread, up to and including the stack frame of the logging call " "which resulted in the creation of this record." msgstr "" -#: library/logging.rst:947 +#: library/logging.rst:948 msgid "thread" msgstr "" -#: library/logging.rst:947 +#: library/logging.rst:948 msgid "``%(thread)d``" msgstr "" -#: library/logging.rst:947 +#: library/logging.rst:948 msgid "Thread ID (if available)." msgstr "" -#: library/logging.rst:949 +#: library/logging.rst:950 msgid "threadName" msgstr "" -#: library/logging.rst:949 +#: library/logging.rst:950 msgid "``%(threadName)s``" msgstr "" -#: library/logging.rst:949 +#: library/logging.rst:950 msgid "Thread name (if available)." msgstr "" -#: library/logging.rst:952 +#: library/logging.rst:953 msgid "*processName* was added." msgstr "" -#: library/logging.rst:959 +#: library/logging.rst:960 msgid "LoggerAdapter Objects" msgstr "" -#: library/logging.rst:961 +#: library/logging.rst:962 msgid "" ":class:`LoggerAdapter` instances are used to conveniently pass contextual " "information into logging calls. For a usage example, see the section on :ref:" "`adding contextual information to your logging output `." msgstr "" -#: library/logging.rst:967 +#: library/logging.rst:968 msgid "" "Returns an instance of :class:`LoggerAdapter` initialized with an " "underlying :class:`Logger` instance and a dict-like object." msgstr "" -#: library/logging.rst:972 +#: library/logging.rst:973 msgid "" "Modifies the message and/or keyword arguments passed to a logging call in " "order to insert contextual information. This implementation takes the object " @@ -1395,7 +1396,7 @@ msgid "" "(possibly modified) versions of the arguments passed in." msgstr "" -#: library/logging.rst:978 +#: library/logging.rst:979 msgid "" "In addition to the above, :class:`LoggerAdapter` supports the following " "methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`, :" @@ -1407,24 +1408,24 @@ msgid "" "interchangeably." msgstr "" -#: library/logging.rst:987 +#: library/logging.rst:988 msgid "" "The :meth:`~Logger.isEnabledFor`, :meth:`~Logger.getEffectiveLevel`, :meth:" "`~Logger.setLevel` and :meth:`~Logger.hasHandlers` methods were added to :" "class:`LoggerAdapter`. These methods delegate to the underlying logger." msgstr "" -#: library/logging.rst:992 +#: library/logging.rst:993 msgid "" "Attribute :attr:`manager` and method :meth:`_log` were added, which delegate " "to the underlying logger and allow adapters to be nested." msgstr "" -#: library/logging.rst:998 +#: library/logging.rst:999 msgid "Thread Safety" msgstr "" -#: library/logging.rst:1000 +#: library/logging.rst:1001 msgid "" "The logging module is intended to be thread-safe without any special work " "needing to be done by its clients. It achieves this though using threading " @@ -1433,7 +1434,7 @@ msgid "" "O." msgstr "" -#: library/logging.rst:1005 +#: library/logging.rst:1006 msgid "" "If you are implementing asynchronous signal handlers using the :mod:`signal` " "module, you may not be able to use logging from within such handlers. This " @@ -1441,17 +1442,17 @@ msgid "" "always re-entrant, and so cannot be invoked from such signal handlers." msgstr "" -#: library/logging.rst:1012 +#: library/logging.rst:1013 msgid "Module-Level Functions" msgstr "" -#: library/logging.rst:1014 +#: library/logging.rst:1015 msgid "" "In addition to the classes described above, there are a number of module-" "level functions." msgstr "" -#: library/logging.rst:1020 +#: library/logging.rst:1021 msgid "" "Return a logger with the specified name or, if name is ``None``, return a " "logger which is the root logger of the hierarchy. If specified, the name is " @@ -1460,14 +1461,14 @@ msgid "" "logging." msgstr "" -#: library/logging.rst:1025 +#: library/logging.rst:1026 msgid "" "All calls to this function with a given name return the same logger " "instance. This means that logger instances never need to be passed between " "different parts of an application." msgstr "" -#: library/logging.rst:1032 +#: library/logging.rst:1033 msgid "" "Return either the standard :class:`Logger` class, or the last class passed " "to :func:`setLoggerClass`. This function may be called from within a new " @@ -1476,24 +1477,24 @@ msgid "" "example::" msgstr "" -#: library/logging.rst:1043 +#: library/logging.rst:1044 msgid "Return a callable which is used to create a :class:`LogRecord`." msgstr "" -#: library/logging.rst:1045 +#: library/logging.rst:1046 msgid "" "This function has been provided, along with :func:`setLogRecordFactory`, to " "allow developers more control over how the :class:`LogRecord` representing a " "logging event is constructed." msgstr "" -#: library/logging.rst:1050 +#: library/logging.rst:1051 msgid "" "See :func:`setLogRecordFactory` for more information about the how the " "factory is called." msgstr "" -#: library/logging.rst:1055 +#: library/logging.rst:1056 msgid "" "Logs a message with level :const:`DEBUG` on the root logger. The *msg* is " "the message format string, and the *args* are the arguments which are merged " @@ -1502,7 +1503,7 @@ msgid "" "argument.)" msgstr "" -#: library/logging.rst:1060 +#: library/logging.rst:1061 msgid "" "There are three keyword arguments in *kwargs* which are inspected: " "*exc_info* which, if it does not evaluate as false, causes exception " @@ -1512,7 +1513,7 @@ msgid "" "exception information." msgstr "" -#: library/logging.rst:1086 +#: library/logging.rst:1087 msgid "" "The third optional keyword argument is *extra* which can be used to pass a " "dictionary which is used to populate the __dict__ of the LogRecord created " @@ -1521,18 +1522,18 @@ msgid "" "logged messages. For example::" msgstr "" -#: library/logging.rst:1097 +#: library/logging.rst:1098 msgid "would print something like:" msgstr "" -#: library/logging.rst:1103 +#: library/logging.rst:1104 msgid "" "The keys in the dictionary passed in *extra* should not clash with the keys " "used by the logging system. (See the :class:`Formatter` documentation for " "more information on which keys are used by the logging system.)" msgstr "" -#: library/logging.rst:1107 +#: library/logging.rst:1108 msgid "" "If you choose to use these attributes in logged messages, you need to " "exercise some care. In the above example, for instance, the :class:" @@ -1543,58 +1544,58 @@ msgid "" "dictionary with these keys." msgstr "" -#: library/logging.rst:1121 +#: library/logging.rst:1122 msgid "" "This function (as well as :func:`info`, :func:`warning`, :func:`error` and :" "func:`critical`) will call :func:`basicConfig` if the root logger doesn't " "have any handler attached." msgstr "" -#: library/logging.rst:1130 +#: library/logging.rst:1131 msgid "" "Logs a message with level :const:`INFO` on the root logger. The arguments " "are interpreted as for :func:`debug`." msgstr "" -#: library/logging.rst:1136 +#: library/logging.rst:1137 msgid "" "Logs a message with level :const:`WARNING` on the root logger. The arguments " "are interpreted as for :func:`debug`." msgstr "" -#: library/logging.rst:1139 +#: library/logging.rst:1140 msgid "" "There is an obsolete function ``warn`` which is functionally identical to " "``warning``. As ``warn`` is deprecated, please do not use it - use " "``warning`` instead." msgstr "" -#: library/logging.rst:1146 +#: library/logging.rst:1147 msgid "" "Logs a message with level :const:`ERROR` on the root logger. The arguments " "are interpreted as for :func:`debug`." msgstr "" -#: library/logging.rst:1152 +#: library/logging.rst:1153 msgid "" "Logs a message with level :const:`CRITICAL` on the root logger. The " "arguments are interpreted as for :func:`debug`." msgstr "" -#: library/logging.rst:1158 +#: library/logging.rst:1159 msgid "" "Logs a message with level :const:`ERROR` on the root logger. The arguments " "are interpreted as for :func:`debug`. Exception info is added to the logging " "message. This function should only be called from an exception handler." msgstr "" -#: library/logging.rst:1164 +#: library/logging.rst:1165 msgid "" "Logs a message with level *level* on the root logger. The other arguments " "are interpreted as for :func:`debug`." msgstr "" -#: library/logging.rst:1169 +#: library/logging.rst:1170 msgid "" "Provides an overriding level *level* for all loggers which takes precedence " "over the logger's own level. When the need arises to temporarily throttle " @@ -1608,7 +1609,7 @@ msgid "" "individual loggers." msgstr "" -#: library/logging.rst:1180 +#: library/logging.rst:1181 msgid "" "Note that if you have defined any custom logging level higher than " "``CRITICAL`` (this is not recommended), you won't be able to rely on the " @@ -1616,13 +1617,13 @@ msgid "" "a suitable value." msgstr "" -#: library/logging.rst:1185 +#: library/logging.rst:1186 msgid "" "The *level* parameter was defaulted to level ``CRITICAL``. See :issue:" "`28524` for more information about this change." msgstr "" -#: library/logging.rst:1191 +#: library/logging.rst:1192 msgid "" "Associates level *level* with text *levelName* in an internal dictionary, " "which is used to map numeric levels to a textual representation, for example " @@ -1632,24 +1633,24 @@ msgid "" "and they should increase in increasing order of severity." msgstr "" -#: library/logging.rst:1198 +#: library/logging.rst:1199 msgid "" "If you are thinking of defining your own levels, please see the section on :" "ref:`custom-levels`." msgstr "" -#: library/logging.rst:1203 +#: library/logging.rst:1204 msgid "" "Returns a mapping from level names to their corresponding logging levels. " "For example, the string \"CRITICAL\" maps to :const:`CRITICAL`. The returned " "mapping is copied from an internal mapping on each call to this function." msgstr "" -#: library/logging.rst:1211 +#: library/logging.rst:1212 msgid "Returns the textual or numeric representation of logging level *level*." msgstr "" -#: library/logging.rst:1213 +#: library/logging.rst:1214 msgid "" "If *level* is one of the predefined levels :const:`CRITICAL`, :const:" "`ERROR`, :const:`WARNING`, :const:`INFO` or :const:`DEBUG` then you get the " @@ -1659,20 +1660,20 @@ msgid "" "the corresponding string representation is returned." msgstr "" -#: library/logging.rst:1220 +#: library/logging.rst:1221 msgid "" "The *level* parameter also accepts a string representation of the level such " "as 'INFO'. In such cases, this functions returns the corresponding numeric " "value of the level." msgstr "" -#: library/logging.rst:1224 +#: library/logging.rst:1225 msgid "" "If no matching numeric or string value is passed in, the string 'Level %s' % " "level is returned." msgstr "" -#: library/logging.rst:1227 +#: library/logging.rst:1228 msgid "" "Levels are internally integers (as they need to be compared in the logging " "logic). This function is used to convert between an integer level and the " @@ -1681,7 +1682,7 @@ msgid "" "vice versa." msgstr "" -#: library/logging.rst:1233 +#: library/logging.rst:1234 msgid "" "In Python versions earlier than 3.4, this function could also be passed a " "text level, and would return the corresponding numeric value of the level. " @@ -1689,7 +1690,7 @@ msgid "" "Python 3.4, but reinstated in 3.4.2 due to retain backward compatibility." msgstr "" -#: library/logging.rst:1241 +#: library/logging.rst:1242 msgid "" "Creates and returns a new :class:`LogRecord` instance whose attributes are " "defined by *attrdict*. This function is useful for taking a pickled :class:" @@ -1697,7 +1698,7 @@ msgid "" "as a :class:`LogRecord` instance at the receiving end." msgstr "" -#: library/logging.rst:1249 +#: library/logging.rst:1250 msgid "" "Does basic configuration for the logging system by creating a :class:" "`StreamHandler` with a default :class:`Formatter` and adding it to the root " @@ -1706,13 +1707,13 @@ msgid "" "no handlers are defined for the root logger." msgstr "" -#: library/logging.rst:1255 +#: library/logging.rst:1256 msgid "" "This function does nothing if the root logger already has handlers " "configured, unless the keyword argument *force* is set to ``True``." msgstr "" -#: library/logging.rst:1258 +#: library/logging.rst:1259 msgid "" "This function should be called from the main thread before other threads are " "started. In versions of Python prior to 2.7.1 and 3.2, if this function is " @@ -1721,54 +1722,54 @@ msgid "" "unexpected results such as messages being duplicated in the log." msgstr "" -#: library/logging.rst:1265 +#: library/logging.rst:1266 msgid "The following keyword arguments are supported." msgstr "" -#: library/logging.rst:1272 +#: library/logging.rst:1273 msgid "*filename*" msgstr "" -#: library/logging.rst:1272 +#: library/logging.rst:1273 msgid "" "Specifies that a :class:`FileHandler` be created, using the specified " "filename, rather than a :class:`StreamHandler`." msgstr "" -#: library/logging.rst:1276 +#: library/logging.rst:1277 msgid "*filemode*" msgstr "" -#: library/logging.rst:1276 +#: library/logging.rst:1277 msgid "" "If *filename* is specified, open the file in this :ref:`mode `. " "Defaults to ``'a'``." msgstr "" -#: library/logging.rst:1280 +#: library/logging.rst:1281 msgid "*format*" msgstr "" -#: library/logging.rst:1280 +#: library/logging.rst:1281 msgid "" "Use the specified format string for the handler. Defaults to attributes " "``levelname``, ``name`` and ``message`` separated by colons." msgstr "" -#: library/logging.rst:1285 +#: library/logging.rst:1286 msgid "*datefmt*" msgstr "" -#: library/logging.rst:1285 +#: library/logging.rst:1286 msgid "" "Use the specified date/time format, as accepted by :func:`time.strftime`." msgstr "" -#: library/logging.rst:1288 +#: library/logging.rst:1289 msgid "*style*" msgstr "" -#: library/logging.rst:1288 +#: library/logging.rst:1289 msgid "" "If *format* is specified, use this style for the format string. One of " "``'%'``, ``'{'`` or ``'$'`` for :ref:`printf-style `." msgstr "" -#: library/logging.rst:1299 +#: library/logging.rst:1300 msgid "*stream*" msgstr "" -#: library/logging.rst:1299 +#: library/logging.rst:1300 msgid "" "Use the specified stream to initialize the :class:`StreamHandler`. Note that " "this argument is incompatible with *filename* - if both are present, a " "``ValueError`` is raised." msgstr "" -#: library/logging.rst:1305 +#: library/logging.rst:1306 msgid "*handlers*" msgstr "" -#: library/logging.rst:1305 +#: library/logging.rst:1306 msgid "" "If specified, this should be an iterable of already created handlers to add " "to the root logger. Any handlers which don't already have a formatter set " @@ -1808,33 +1809,33 @@ msgid "" "present, a ``ValueError`` is raised." msgstr "" -#: library/logging.rst:1314 +#: library/logging.rst:1315 msgid "*force*" msgstr "" -#: library/logging.rst:1314 +#: library/logging.rst:1315 msgid "" "If this keyword argument is specified as true, any existing handlers " "attached to the root logger are removed and closed, before carrying out the " "configuration as specified by the other arguments." msgstr "" -#: library/logging.rst:1320 +#: library/logging.rst:1321 msgid "*encoding*" msgstr "" -#: library/logging.rst:1320 +#: library/logging.rst:1321 msgid "" "If this keyword argument is specified along with *filename*, its value is " "used when the :class:`FileHandler` is created, and thus used when opening " "the output file." msgstr "" -#: library/logging.rst:1325 +#: library/logging.rst:1326 msgid "*errors*" msgstr "" -#: library/logging.rst:1325 +#: library/logging.rst:1326 msgid "" "If this keyword argument is specified along with *filename*, its value is " "used when the :class:`FileHandler` is created, and thus used when opening " @@ -1843,39 +1844,39 @@ msgid "" "`open`, which means that it will be treated the same as passing 'errors'." msgstr "" -#: library/logging.rst:1336 +#: library/logging.rst:1337 msgid "The *style* argument was added." msgstr "" -#: library/logging.rst:1339 +#: library/logging.rst:1340 msgid "" "The *handlers* argument was added. Additional checks were added to catch " "situations where incompatible arguments are specified (e.g. *handlers* " "together with *stream* or *filename*, or *stream* together with *filename*)." msgstr "" -#: library/logging.rst:1345 +#: library/logging.rst:1346 msgid "The *force* argument was added." msgstr "" -#: library/logging.rst:1348 +#: library/logging.rst:1349 msgid "The *encoding* and *errors* arguments were added." msgstr "" -#: library/logging.rst:1353 +#: library/logging.rst:1354 msgid "" "Informs the logging system to perform an orderly shutdown by flushing and " "closing all handlers. This should be called at application exit and no " "further use of the logging system should be made after this call." msgstr "" -#: library/logging.rst:1357 +#: library/logging.rst:1358 msgid "" "When the logging module is imported, it registers this function as an exit " "handler (see :mod:`atexit`), so normally there's no need to do that manually." msgstr "" -#: library/logging.rst:1364 +#: library/logging.rst:1365 msgid "" "Tells the logging system to use the class *klass* when instantiating a " "logger. The class should define :meth:`__init__` such that only a name " @@ -1887,32 +1888,32 @@ msgid "" "loggers." msgstr "" -#: library/logging.rst:1375 +#: library/logging.rst:1376 msgid "Set a callable which is used to create a :class:`LogRecord`." msgstr "" -#: library/logging.rst:1377 +#: library/logging.rst:1378 msgid "The factory callable to be used to instantiate a log record." msgstr "" -#: library/logging.rst:1379 +#: library/logging.rst:1380 msgid "" "This function has been provided, along with :func:`getLogRecordFactory`, to " "allow developers more control over how the :class:`LogRecord` representing a " "logging event is constructed." msgstr "" -#: library/logging.rst:1384 +#: library/logging.rst:1385 msgid "The factory has the following signature:" msgstr "" -#: library/logging.rst:1386 +#: library/logging.rst:1387 msgid "" "``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, " "**kwargs)``" msgstr "" -#: library/logging.rst:1388 +#: library/logging.rst:1389 msgid "The logger name." msgstr "" @@ -1920,7 +1921,7 @@ msgstr "" msgid "level" msgstr "" -#: library/logging.rst:1389 +#: library/logging.rst:1390 msgid "The logging level (numeric)." msgstr "" @@ -1928,7 +1929,7 @@ msgstr "" msgid "fn" msgstr "" -#: library/logging.rst:1390 +#: library/logging.rst:1391 msgid "The full pathname of the file where the logging call was made." msgstr "" @@ -1936,19 +1937,19 @@ msgstr "" msgid "lno" msgstr "" -#: library/logging.rst:1391 +#: library/logging.rst:1392 msgid "The line number in the file where the logging call was made." msgstr "" -#: library/logging.rst:1392 +#: library/logging.rst:1393 msgid "The logging message." msgstr "" -#: library/logging.rst:1393 +#: library/logging.rst:1394 msgid "The arguments for the logging message." msgstr "" -#: library/logging.rst:1394 +#: library/logging.rst:1395 msgid "An exception tuple, or ``None``." msgstr "" @@ -1956,7 +1957,7 @@ msgstr "" msgid "func" msgstr "" -#: library/logging.rst:1395 +#: library/logging.rst:1396 msgid "The name of the function or method which invoked the logging call." msgstr "" @@ -1964,7 +1965,7 @@ msgstr "" msgid "sinfo" msgstr "" -#: library/logging.rst:1397 +#: library/logging.rst:1398 msgid "" "A stack traceback such as is provided by :func:`traceback.print_stack`, " "showing the call hierarchy." @@ -1974,15 +1975,15 @@ msgstr "" msgid "kwargs" msgstr "" -#: library/logging.rst:1399 +#: library/logging.rst:1400 msgid "Additional keyword arguments." msgstr "" -#: library/logging.rst:1403 +#: library/logging.rst:1404 msgid "Module-Level Attributes" msgstr "" -#: library/logging.rst:1407 +#: library/logging.rst:1408 msgid "" "A \"handler of last resort\" is available through this attribute. This is a :" "class:`StreamHandler` writing to ``sys.stderr`` with a level of ``WARNING``, " @@ -1993,22 +1994,22 @@ msgid "" "reason, ``lastResort`` can be set to ``None``." msgstr "" -#: library/logging.rst:1418 +#: library/logging.rst:1419 msgid "Integration with the warnings module" msgstr "" -#: library/logging.rst:1420 +#: library/logging.rst:1421 msgid "" "The :func:`captureWarnings` function can be used to integrate :mod:`logging` " "with the :mod:`warnings` module." msgstr "" -#: library/logging.rst:1425 +#: library/logging.rst:1426 msgid "" "This function is used to turn the capture of warnings by logging on and off." msgstr "" -#: library/logging.rst:1428 +#: library/logging.rst:1429 msgid "" "If *capture* is ``True``, warnings issued by the :mod:`warnings` module will " "be redirected to the logging system. Specifically, a warning will be " @@ -2017,49 +2018,57 @@ msgid "" "`WARNING`." msgstr "" -#: library/logging.rst:1433 +#: library/logging.rst:1434 msgid "" "If *capture* is ``False``, the redirection of warnings to the logging system " "will stop, and warnings will be redirected to their original destinations (i." "e. those in effect before ``captureWarnings(True)`` was called)." msgstr "" -#: library/logging.rst:1441 +#: library/logging.rst:1442 msgid "Module :mod:`logging.config`" msgstr "" -#: library/logging.rst:1441 +#: library/logging.rst:1442 msgid "Configuration API for the logging module." msgstr "" -#: library/logging.rst:1444 +#: library/logging.rst:1445 msgid "Module :mod:`logging.handlers`" msgstr "" -#: library/logging.rst:1444 +#: library/logging.rst:1445 msgid "Useful handlers included with the logging module." msgstr "" -#: library/logging.rst:1448 +#: library/logging.rst:1449 msgid ":pep:`282` - A Logging System" msgstr "" -#: library/logging.rst:1447 +#: library/logging.rst:1448 msgid "" "The proposal which described this feature for inclusion in the Python " "standard library." msgstr "" -#: library/logging.rst:1453 +#: library/logging.rst:1454 msgid "" "`Original Python logging package `_" msgstr "" -#: library/logging.rst:1451 +#: library/logging.rst:1452 msgid "" "This is the original source for the :mod:`logging` package. The version of " "the package available from this site is suitable for use with Python 1.5.2, " "2.1.x and 2.2.x, which do not include the :mod:`logging` package in the " "standard library." msgstr "" + +#: library/logging.rst:12 +msgid "Errors" +msgstr "" + +#: library/logging.rst:12 +msgid "logging" +msgstr "" diff --git a/library/marshal.po b/library/marshal.po index ac73371f4..4b44cc190 100644 --- a/library/marshal.po +++ b/library/marshal.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -184,3 +184,27 @@ msgid "" "marshal\" means to convert some data from internal to external form (in an " "RPC buffer for instance) and \"unmarshalling\" for the reverse process." msgstr "" + +#: library/marshal.rst:17 +msgid "module" +msgstr "" + +#: library/marshal.rst:17 +msgid "pickle" +msgstr "" + +#: library/marshal.rst:17 +msgid "shelve" +msgstr "" + +#: library/marshal.rst:37 +msgid "object" +msgstr "" + +#: library/marshal.rst:37 +msgid "code" +msgstr "" + +#: library/marshal.rst:37 +msgid "code object" +msgstr "" diff --git a/library/mimetypes.po b/library/mimetypes.po index 079b23fce..ddd684900 100644 --- a/library/mimetypes.po +++ b/library/mimetypes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -310,3 +310,23 @@ msgstr "" #: library/mimetypes.rst:269 msgid ":ref:`Availability `: Windows." msgstr "" + +#: library/mimetypes.rst:31 +msgid "MIME" +msgstr "" + +#: library/mimetypes.rst:11 +msgid "content type" +msgstr "" + +#: library/mimetypes.rst:31 +msgid "headers" +msgstr "" + +#: library/mimetypes.rst:130 +msgid "file" +msgstr "" + +#: library/mimetypes.rst:130 +msgid "mime.types" +msgstr "" diff --git a/library/msilib.po b/library/msilib.po index 2b54b4307..841d3f15c 100644 --- a/library/msilib.po +++ b/library/msilib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -613,3 +613,7 @@ msgid "" "This module contains definitions for the UIText and ActionText tables, for " "the standard installer actions." msgstr "" + +#: library/msilib.rst:14 +msgid "msi" +msgstr "" diff --git a/library/multiprocessing.shared_memory.po b/library/multiprocessing.shared_memory.po index ec14ab2f6..6bec2bb64 100644 --- a/library/multiprocessing.shared_memory.po +++ b/library/multiprocessing.shared_memory.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -275,3 +275,15 @@ msgid "" "deserialized object has the same unique name and is just attached to an " "existing object with the same name (if the object is still alive):" msgstr "" + +#: library/multiprocessing.shared_memory.rst:11 +msgid "Shared Memory" +msgstr "" + +#: library/multiprocessing.shared_memory.rst:11 +msgid "POSIX Shared Memory" +msgstr "" + +#: library/multiprocessing.shared_memory.rst:11 +msgid "Named Shared Memory" +msgstr "" diff --git a/library/nntplib.po b/library/nntplib.po index 3d847d867..140284560 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -568,3 +568,15 @@ msgid "" "returned. Using this function is recommended to display some headers in a " "human readable form::" msgstr "" + +#: library/nntplib.rst:10 +msgid "NNTP" +msgstr "" + +#: library/nntplib.rst:10 +msgid "protocol" +msgstr "" + +#: library/nntplib.rst:10 +msgid "Network News Transfer Protocol" +msgstr "" diff --git a/library/operator.po b/library/operator.po index 34e496b46..f90f78f22 100644 --- a/library/operator.po +++ b/library/operator.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -208,7 +208,7 @@ msgstr "" #: library/operator.rst:247 msgid "" -"Return an estimated length for the object *o*. First try to return its " +"Return an estimated length for the object *obj*. First try to return its " "actual length, then an estimate using :meth:`object.__length_hint__`, and " "finally return the default value." msgstr "" diff --git a/library/optparse.po b/library/optparse.po index 11573583e..103878c03 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -712,7 +712,7 @@ msgstr "" msgid "An option group is obtained using the class :class:`OptionGroup`:" msgstr "" -#: library/optparse.rst:1620 +#: library/optparse.rst:1637 msgid "where" msgstr "" @@ -1121,7 +1121,7 @@ msgstr "" msgid "append a constant value to a list, pre-set via :attr:`Option.const`" msgstr "" -#: library/optparse.rst:1226 +#: library/optparse.rst:1243 msgid "``\"help\"``" msgstr "" @@ -1141,47 +1141,67 @@ msgstr "" msgid "" "As you can see, most actions involve storing or updating a value somewhere. :" "mod:`optparse` always creates a special object for this, conventionally " -"called ``options`` (it happens to be an instance of :class:`optparse." -"Values`). Option arguments (and various other values) are stored as " -"attributes of this object, according to the :attr:`~Option.dest` " -"(destination) option attribute." +"called ``options``, which is an instance of :class:`optparse.Values`." msgstr "" #: library/optparse.rst:961 +msgid "" +"An object holding parsed argument names and values as attributes. Normally " +"created by calling when calling :meth:`OptionParser.parse_args`, and can be " +"overridden by a custom subclass passed to the *values* argument of :meth:" +"`OptionParser.parse_args` (as described in :ref:`optparse-parsing-" +"arguments`)." +msgstr "" + +#: library/optparse.rst:966 +msgid "" +"Option arguments (and various other values) are stored as attributes of this " +"object, according to the :attr:`~Option.dest` (destination) option attribute." +msgstr "" + +#: library/optparse.rst:970 msgid "For example, when you call ::" msgstr "" -#: library/optparse.rst:965 +#: library/optparse.rst:974 msgid "" "one of the first things :mod:`optparse` does is create the ``options`` " "object::" msgstr "" -#: library/optparse.rst:969 +#: library/optparse.rst:978 msgid "If one of the options in this parser is defined with ::" msgstr "" -#: library/optparse.rst:973 +#: library/optparse.rst:982 msgid "and the command-line being parsed includes any of the following::" msgstr "" -#: library/optparse.rst:980 +#: library/optparse.rst:989 msgid "" "then :mod:`optparse`, on seeing this option, will do the equivalent of ::" msgstr "" -#: library/optparse.rst:984 +#: library/optparse.rst:993 msgid "" "The :attr:`~Option.type` and :attr:`~Option.dest` option attributes are " "almost as important as :attr:`~Option.action`, but :attr:`~Option.action` is " "the only one that makes sense for *all* options." msgstr "" -#: library/optparse.rst:992 +#: library/optparse.rst:1001 msgid "Option attributes" msgstr "" -#: library/optparse.rst:994 +#: library/optparse.rst:1005 +msgid "" +"A single command line argument, with various attributes passed by keyword to " +"the constructor. Normally created with :meth:`OptionParser.add_option` " +"rather than directly, and can be overridden by a custom class via the " +"*option_class* argument to :class:`OptionParser`." +msgstr "" + +#: library/optparse.rst:1011 msgid "" "The following option attributes may be passed as keyword arguments to :meth:" "`OptionParser.add_option`. If you pass an option attribute that is not " @@ -1189,33 +1209,33 @@ msgid "" "attribute, :mod:`optparse` raises :exc:`OptionError`." msgstr "" -#: library/optparse.rst:1001 +#: library/optparse.rst:1018 msgid "(default: ``\"store\"``)" msgstr "" -#: library/optparse.rst:1003 +#: library/optparse.rst:1020 msgid "" "Determines :mod:`optparse`'s behaviour when this option is seen on the " "command line; the available options are documented :ref:`here `." msgstr "" -#: library/optparse.rst:1009 +#: library/optparse.rst:1026 msgid "(default: ``\"string\"``)" msgstr "" -#: library/optparse.rst:1011 +#: library/optparse.rst:1028 msgid "" "The argument type expected by this option (e.g., ``\"string\"`` or " "``\"int\"``); the available option types are documented :ref:`here `." msgstr "" -#: library/optparse.rst:1067 +#: library/optparse.rst:1084 msgid "(default: derived from option strings)" msgstr "" -#: library/optparse.rst:1019 +#: library/optparse.rst:1036 msgid "" "If the option's action implies writing or modifying a value somewhere, this " "tells :mod:`optparse` where to write it: :attr:`~Option.dest` names an " @@ -1223,47 +1243,47 @@ msgid "" "the command line." msgstr "" -#: library/optparse.rst:1026 +#: library/optparse.rst:1043 msgid "" "The value to use for this option's destination if the option is not seen on " "the command line. See also :meth:`OptionParser.set_defaults`." msgstr "" -#: library/optparse.rst:1031 +#: library/optparse.rst:1048 msgid "(default: 1)" msgstr "" -#: library/optparse.rst:1033 +#: library/optparse.rst:1050 msgid "" "How many arguments of type :attr:`~Option.type` should be consumed when this " "option is seen. If > 1, :mod:`optparse` will store a tuple of values to :" "attr:`~Option.dest`." msgstr "" -#: library/optparse.rst:1039 +#: library/optparse.rst:1056 msgid "For actions that store a constant value, the constant value to store." msgstr "" -#: library/optparse.rst:1043 +#: library/optparse.rst:1060 msgid "" "For options of type ``\"choice\"``, the list of strings the user may choose " "from." msgstr "" -#: library/optparse.rst:1048 +#: library/optparse.rst:1065 msgid "" "For options with action ``\"callback\"``, the callable to call when this " "option is seen. See section :ref:`optparse-option-callbacks` for detail on " "the arguments passed to the callable." msgstr "" -#: library/optparse.rst:1055 +#: library/optparse.rst:1072 msgid "" "Additional positional and keyword arguments to pass to ``callback`` after " "the four standard callback arguments." msgstr "" -#: library/optparse.rst:1060 +#: library/optparse.rst:1077 msgid "" "Help text to print for this option when listing all available options after " "the user supplies a :attr:`~Option.help` option (such as ``--help``). If no " @@ -1271,17 +1291,17 @@ msgid "" "this option, use the special value :data:`optparse.SUPPRESS_HELP`." msgstr "" -#: library/optparse.rst:1069 +#: library/optparse.rst:1086 msgid "" "Stand-in for the option argument(s) to use when printing help text. See " "section :ref:`optparse-tutorial` for an example." msgstr "" -#: library/optparse.rst:1076 +#: library/optparse.rst:1093 msgid "Standard option actions" msgstr "" -#: library/optparse.rst:1078 +#: library/optparse.rst:1095 msgid "" "The various option actions all have slightly different requirements and " "effects. Most actions have several relevant option attributes which you may " @@ -1289,13 +1309,13 @@ msgid "" "attributes, which you must specify for any option using that action." msgstr "" -#: library/optparse.rst:1083 +#: library/optparse.rst:1100 msgid "" "``\"store\"`` [relevant: :attr:`~Option.type`, :attr:`~Option.dest`, :attr:" "`~Option.nargs`, :attr:`~Option.choices`]" msgstr "" -#: library/optparse.rst:1086 +#: library/optparse.rst:1103 msgid "" "The option must be followed by an argument, which is converted to a value " "according to :attr:`~Option.type` and stored in :attr:`~Option.dest`. If :" @@ -1305,17 +1325,17 @@ msgid "" "option-types` section." msgstr "" -#: library/optparse.rst:1093 +#: library/optparse.rst:1110 msgid "" "If :attr:`~Option.choices` is supplied (a list or tuple of strings), the " "type defaults to ``\"choice\"``." msgstr "" -#: library/optparse.rst:1096 +#: library/optparse.rst:1113 msgid "If :attr:`~Option.type` is not supplied, it defaults to ``\"string\"``." msgstr "" -#: library/optparse.rst:1098 +#: library/optparse.rst:1115 msgid "" "If :attr:`~Option.dest` is not supplied, :mod:`optparse` derives a " "destination from the first long option string (e.g., ``--foo-bar`` implies " @@ -1323,58 +1343,58 @@ msgid "" "destination from the first short option string (e.g., ``-f`` implies ``f``)." msgstr "" -#: library/optparse.rst:1123 library/optparse.rst:1163 -#: library/optparse.rst:1240 +#: library/optparse.rst:1140 library/optparse.rst:1180 +#: library/optparse.rst:1257 msgid "Example::" msgstr "" -#: library/optparse.rst:1108 +#: library/optparse.rst:1125 msgid "As it parses the command line ::" msgstr "" -#: library/optparse.rst:1112 +#: library/optparse.rst:1129 msgid ":mod:`optparse` will set ::" msgstr "" -#: library/optparse.rst:1118 +#: library/optparse.rst:1135 msgid "" "``\"store_const\"`` [required: :attr:`~Option.const`; relevant: :attr:" "`~Option.dest`]" msgstr "" -#: library/optparse.rst:1121 +#: library/optparse.rst:1138 msgid "The value :attr:`~Option.const` is stored in :attr:`~Option.dest`." msgstr "" -#: library/optparse.rst:1132 +#: library/optparse.rst:1149 msgid "If ``--noisy`` is seen, :mod:`optparse` will set ::" msgstr "" -#: library/optparse.rst:1136 +#: library/optparse.rst:1153 msgid "``\"store_true\"`` [relevant: :attr:`~Option.dest`]" msgstr "" -#: library/optparse.rst:1138 +#: library/optparse.rst:1155 msgid "" "A special case of ``\"store_const\"`` that stores ``True`` to :attr:`~Option." "dest`." msgstr "" -#: library/optparse.rst:1141 +#: library/optparse.rst:1158 msgid "``\"store_false\"`` [relevant: :attr:`~Option.dest`]" msgstr "" -#: library/optparse.rst:1143 +#: library/optparse.rst:1160 msgid "Like ``\"store_true\"``, but stores ``False``." msgstr "" -#: library/optparse.rst:1150 +#: library/optparse.rst:1167 msgid "" "``\"append\"`` [relevant: :attr:`~Option.type`, :attr:`~Option.dest`, :attr:" "`~Option.nargs`, :attr:`~Option.choices`]" msgstr "" -#: library/optparse.rst:1153 +#: library/optparse.rst:1170 msgid "" "The option must be followed by an argument, which is appended to the list " "in :attr:`~Option.dest`. If no default value for :attr:`~Option.dest` is " @@ -1384,23 +1404,23 @@ msgid "" "is appended to :attr:`~Option.dest`." msgstr "" -#: library/optparse.rst:1160 +#: library/optparse.rst:1177 msgid "" "The defaults for :attr:`~Option.type` and :attr:`~Option.dest` are the same " "as for the ``\"store\"`` action." msgstr "" -#: library/optparse.rst:1167 +#: library/optparse.rst:1184 msgid "" "If ``-t3`` is seen on the command-line, :mod:`optparse` does the equivalent " "of::" msgstr "" -#: library/optparse.rst:1173 +#: library/optparse.rst:1190 msgid "If, a little later on, ``--tracks=4`` is seen, it does::" msgstr "" -#: library/optparse.rst:1177 +#: library/optparse.rst:1194 msgid "" "The ``append`` action calls the ``append`` method on the current value of " "the option. This means that any default value specified must have an " @@ -1409,13 +1429,13 @@ msgid "" "with any values from the command line appended after those default values::" msgstr "" -#: library/optparse.rst:1188 +#: library/optparse.rst:1205 msgid "" "``\"append_const\"`` [required: :attr:`~Option.const`; relevant: :attr:" "`~Option.dest`]" msgstr "" -#: library/optparse.rst:1191 +#: library/optparse.rst:1208 msgid "" "Like ``\"store_const\"``, but the value :attr:`~Option.const` is appended " "to :attr:`~Option.dest`; as with ``\"append\"``, :attr:`~Option.dest` " @@ -1423,45 +1443,45 @@ msgid "" "time the option is encountered." msgstr "" -#: library/optparse.rst:1196 +#: library/optparse.rst:1213 msgid "``\"count\"`` [relevant: :attr:`~Option.dest`]" msgstr "" -#: library/optparse.rst:1198 +#: library/optparse.rst:1215 msgid "" "Increment the integer stored at :attr:`~Option.dest`. If no default value " "is supplied, :attr:`~Option.dest` is set to zero before being incremented " "the first time." msgstr "" -#: library/optparse.rst:1206 +#: library/optparse.rst:1223 msgid "" "The first time ``-v`` is seen on the command line, :mod:`optparse` does the " "equivalent of::" msgstr "" -#: library/optparse.rst:1212 +#: library/optparse.rst:1229 msgid "Every subsequent occurrence of ``-v`` results in ::" msgstr "" -#: library/optparse.rst:1216 +#: library/optparse.rst:1233 msgid "" "``\"callback\"`` [required: :attr:`~Option.callback`; relevant: :attr:" "`~Option.type`, :attr:`~Option.nargs`, :attr:`~Option.callback_args`, :attr:" "`~Option.callback_kwargs`]" msgstr "" -#: library/optparse.rst:1220 +#: library/optparse.rst:1237 msgid "" "Call the function specified by :attr:`~Option.callback`, which is called " "as ::" msgstr "" -#: library/optparse.rst:1224 +#: library/optparse.rst:1241 msgid "See section :ref:`optparse-option-callbacks` for more detail." msgstr "" -#: library/optparse.rst:1228 +#: library/optparse.rst:1245 msgid "" "Prints a complete help message for all the options in the current option " "parser. The help message is constructed from the ``usage`` string passed to " @@ -1469,37 +1489,37 @@ msgid "" "every option." msgstr "" -#: library/optparse.rst:1233 +#: library/optparse.rst:1250 msgid "" "If no :attr:`~Option.help` string is supplied for an option, it will still " "be listed in the help message. To omit an option entirely, use the special " "value :data:`optparse.SUPPRESS_HELP`." msgstr "" -#: library/optparse.rst:1237 +#: library/optparse.rst:1254 msgid "" ":mod:`optparse` automatically adds a :attr:`~Option.help` option to all " "OptionParsers, so you do not normally need to create one." msgstr "" -#: library/optparse.rst:1255 +#: library/optparse.rst:1272 msgid "" "If :mod:`optparse` sees either ``-h`` or ``--help`` on the command line, it " "will print something like the following help message to stdout (assuming " "``sys.argv[0]`` is ``\"foo.py\"``):" msgstr "" -#: library/optparse.rst:1268 +#: library/optparse.rst:1285 msgid "" "After printing the help message, :mod:`optparse` terminates your process " "with ``sys.exit(0)``." msgstr "" -#: library/optparse.rst:1271 +#: library/optparse.rst:1288 msgid "``\"version\"``" msgstr "" -#: library/optparse.rst:1273 +#: library/optparse.rst:1290 msgid "" "Prints the version number supplied to the OptionParser to stdout and exits. " "The version number is actually formatted and printed by the " @@ -1509,58 +1529,58 @@ msgid "" "since :mod:`optparse` automatically adds them when needed." msgstr "" -#: library/optparse.rst:1284 +#: library/optparse.rst:1301 msgid "Standard option types" msgstr "" -#: library/optparse.rst:1286 +#: library/optparse.rst:1303 msgid "" ":mod:`optparse` has five built-in option types: ``\"string\"``, ``\"int\"``, " "``\"choice\"``, ``\"float\"`` and ``\"complex\"``. If you need to add new " "option types, see section :ref:`optparse-extending-optparse`." msgstr "" -#: library/optparse.rst:1290 +#: library/optparse.rst:1307 msgid "" "Arguments to string options are not checked or converted in any way: the " "text on the command line is stored in the destination (or passed to the " "callback) as-is." msgstr "" -#: library/optparse.rst:1293 +#: library/optparse.rst:1310 msgid "Integer arguments (type ``\"int\"``) are parsed as follows:" msgstr "" -#: library/optparse.rst:1295 +#: library/optparse.rst:1312 msgid "if the number starts with ``0x``, it is parsed as a hexadecimal number" msgstr "" -#: library/optparse.rst:1297 +#: library/optparse.rst:1314 msgid "if the number starts with ``0``, it is parsed as an octal number" msgstr "" -#: library/optparse.rst:1299 +#: library/optparse.rst:1316 msgid "if the number starts with ``0b``, it is parsed as a binary number" msgstr "" -#: library/optparse.rst:1301 +#: library/optparse.rst:1318 msgid "otherwise, the number is parsed as a decimal number" msgstr "" -#: library/optparse.rst:1304 +#: library/optparse.rst:1321 msgid "" "The conversion is done by calling :func:`int` with the appropriate base (2, " "8, 10, or 16). If this fails, so will :mod:`optparse`, although with a more " "useful error message." msgstr "" -#: library/optparse.rst:1308 +#: library/optparse.rst:1325 msgid "" "``\"float\"`` and ``\"complex\"`` option arguments are converted directly " "with :func:`float` and :func:`complex`, with similar error-handling." msgstr "" -#: library/optparse.rst:1311 +#: library/optparse.rst:1328 msgid "" "``\"choice\"`` options are a subtype of ``\"string\"`` options. The :attr:" "`~Option.choices` option attribute (a sequence of strings) defines the set " @@ -1569,58 +1589,58 @@ msgid "" "`OptionValueError` if an invalid string is given." msgstr "" -#: library/optparse.rst:1321 +#: library/optparse.rst:1338 msgid "Parsing arguments" msgstr "" -#: library/optparse.rst:1323 +#: library/optparse.rst:1340 msgid "" "The whole point of creating and populating an OptionParser is to call its :" "meth:`parse_args` method::" msgstr "" -#: library/optparse.rst:1328 +#: library/optparse.rst:1345 msgid "where the input parameters are" msgstr "" -#: library/optparse.rst:1345 library/optparse.rst:1664 +#: library/optparse.rst:1362 library/optparse.rst:1681 msgid "``args``" msgstr "" -#: library/optparse.rst:1331 +#: library/optparse.rst:1348 msgid "the list of arguments to process (default: ``sys.argv[1:]``)" msgstr "" -#: library/optparse.rst:1336 +#: library/optparse.rst:1353 msgid "``values``" msgstr "" -#: library/optparse.rst:1334 +#: library/optparse.rst:1351 msgid "" "an :class:`optparse.Values` object to store option arguments in (default: a " "new instance of :class:`Values`) -- if you give an existing object, the " "option defaults will not be initialized on it" msgstr "" -#: library/optparse.rst:1338 +#: library/optparse.rst:1355 msgid "and the return values are" msgstr "" -#: library/optparse.rst:1342 +#: library/optparse.rst:1359 msgid "``options``" msgstr "" -#: library/optparse.rst:1341 +#: library/optparse.rst:1358 msgid "" "the same object that was passed in as ``values``, or the optparse.Values " "instance created by :mod:`optparse`" msgstr "" -#: library/optparse.rst:1345 +#: library/optparse.rst:1362 msgid "the leftover positional arguments after all options have been processed" msgstr "" -#: library/optparse.rst:1347 +#: library/optparse.rst:1364 msgid "" "The most common usage is to supply neither keyword argument. If you supply " "``values``, it will be modified with repeated :func:`setattr` calls (roughly " @@ -1628,7 +1648,7 @@ msgid "" "by :meth:`parse_args`." msgstr "" -#: library/optparse.rst:1352 +#: library/optparse.rst:1369 msgid "" "If :meth:`parse_args` encounters any errors in the argument list, it calls " "the OptionParser's :meth:`error` method with an appropriate end-user error " @@ -1636,61 +1656,61 @@ msgid "" "(the traditional Unix exit status for command-line errors)." msgstr "" -#: library/optparse.rst:1361 +#: library/optparse.rst:1378 msgid "Querying and manipulating your option parser" msgstr "" -#: library/optparse.rst:1363 +#: library/optparse.rst:1380 msgid "" "The default behavior of the option parser can be customized slightly, and " "you can also poke around your option parser and see what's there. " "OptionParser provides several methods to help you out:" msgstr "" -#: library/optparse.rst:1369 +#: library/optparse.rst:1386 msgid "" "Set parsing to stop on the first non-option. For example, if ``-a`` and ``-" "b`` are both simple options that take no arguments, :mod:`optparse` normally " "accepts this syntax::" msgstr "" -#: library/optparse.rst:1375 +#: library/optparse.rst:1392 msgid "and treats it as equivalent to ::" msgstr "" -#: library/optparse.rst:1379 +#: library/optparse.rst:1396 msgid "" "To disable this feature, call :meth:`disable_interspersed_args`. This " "restores traditional Unix syntax, where option parsing stops with the first " "non-option argument." msgstr "" -#: library/optparse.rst:1383 +#: library/optparse.rst:1400 msgid "" "Use this if you have a command processor which runs another command which " "has options of its own and you want to make sure these options don't get " "confused. For example, each command might have a different set of options." msgstr "" -#: library/optparse.rst:1389 +#: library/optparse.rst:1406 msgid "" "Set parsing to not stop on the first non-option, allowing interspersing " "switches with command arguments. This is the default behavior." msgstr "" -#: library/optparse.rst:1394 +#: library/optparse.rst:1411 msgid "" "Returns the Option instance with the option string *opt_str*, or ``None`` if " "no options have that option string." msgstr "" -#: library/optparse.rst:1399 +#: library/optparse.rst:1416 msgid "" "Return ``True`` if the OptionParser has an option with option string " "*opt_str* (e.g., ``-q`` or ``--verbose``)." msgstr "" -#: library/optparse.rst:1404 +#: library/optparse.rst:1421 msgid "" "If the :class:`OptionParser` has an option corresponding to *opt_str*, that " "option is removed. If that option provided any other option strings, all of " @@ -1698,23 +1718,23 @@ msgid "" "option belonging to this :class:`OptionParser`, raises :exc:`ValueError`." msgstr "" -#: library/optparse.rst:1413 +#: library/optparse.rst:1430 msgid "Conflicts between options" msgstr "" -#: library/optparse.rst:1415 +#: library/optparse.rst:1432 msgid "" "If you're not careful, it's easy to define options with conflicting option " "strings::" msgstr "" -#: library/optparse.rst:1422 +#: library/optparse.rst:1439 msgid "" "(This is particularly true if you've defined your own OptionParser subclass " "with some standard options.)" msgstr "" -#: library/optparse.rst:1425 +#: library/optparse.rst:1442 msgid "" "Every time you add an option, :mod:`optparse` checks for conflicts with " "existing options. If it finds any, it invokes the current conflict-handling " @@ -1722,39 +1742,39 @@ msgid "" "constructor::" msgstr "" -#: library/optparse.rst:1431 +#: library/optparse.rst:1448 msgid "or with a separate call::" msgstr "" -#: library/optparse.rst:1435 +#: library/optparse.rst:1452 msgid "The available conflict handlers are:" msgstr "" -#: library/optparse.rst:1439 +#: library/optparse.rst:1456 msgid "``\"error\"`` (default)" msgstr "" -#: library/optparse.rst:1438 +#: library/optparse.rst:1455 msgid "" "assume option conflicts are a programming error and raise :exc:" "`OptionConflictError`" msgstr "" -#: library/optparse.rst:1443 +#: library/optparse.rst:1460 msgid "``\"resolve\"``" msgstr "" -#: library/optparse.rst:1442 +#: library/optparse.rst:1459 msgid "resolve option conflicts intelligently (see below)" msgstr "" -#: library/optparse.rst:1445 +#: library/optparse.rst:1462 msgid "" "As an example, let's define an :class:`OptionParser` that resolves conflicts " "intelligently and add conflicting options to it::" msgstr "" -#: library/optparse.rst:1452 +#: library/optparse.rst:1469 msgid "" "At this point, :mod:`optparse` detects that a previously added option is " "already using the ``-n`` option string. Since ``conflict_handler`` is " @@ -1764,7 +1784,7 @@ msgid "" "message will reflect that::" msgstr "" -#: library/optparse.rst:1463 +#: library/optparse.rst:1480 msgid "" "It's possible to whittle away the option strings for a previously added " "option until there are none left, and the user has no way of invoking that " @@ -1773,17 +1793,17 @@ msgid "" "Carrying on with our existing OptionParser::" msgstr "" -#: library/optparse.rst:1471 +#: library/optparse.rst:1488 msgid "" "At this point, the original ``-n``/``--dry-run`` option is no longer " "accessible, so :mod:`optparse` removes it, leaving this help text::" msgstr "" -#: library/optparse.rst:1483 +#: library/optparse.rst:1500 msgid "Cleanup" msgstr "" -#: library/optparse.rst:1485 +#: library/optparse.rst:1502 msgid "" "OptionParser instances have several cyclic references. This should not be a " "problem for Python's garbage collector, but you may wish to break the cyclic " @@ -1793,15 +1813,15 @@ msgid "" "OptionParser." msgstr "" -#: library/optparse.rst:1496 +#: library/optparse.rst:1513 msgid "Other methods" msgstr "" -#: library/optparse.rst:1498 +#: library/optparse.rst:1515 msgid "OptionParser supports several other public methods:" msgstr "" -#: library/optparse.rst:1502 +#: library/optparse.rst:1519 msgid "" "Set the usage string according to the rules described above for the " "``usage`` constructor keyword argument. Passing ``None`` sets the default " @@ -1809,7 +1829,7 @@ msgid "" "message." msgstr "" -#: library/optparse.rst:1508 +#: library/optparse.rst:1525 msgid "" "Print the usage message for the current program (``self.usage``) to *file* " "(default stdout). Any occurrence of the string ``%prog`` in ``self.usage`` " @@ -1817,13 +1837,13 @@ msgid "" "usage`` is empty or not defined." msgstr "" -#: library/optparse.rst:1515 +#: library/optparse.rst:1532 msgid "" "Same as :meth:`print_usage` but returns the usage string instead of printing " "it." msgstr "" -#: library/optparse.rst:1520 +#: library/optparse.rst:1537 msgid "" "Set default values for several option destinations at once. Using :meth:" "`set_defaults` is the preferred way to set default values for options, since " @@ -1832,15 +1852,15 @@ msgid "" "default, and the last one wins::" msgstr "" -#: library/optparse.rst:1533 +#: library/optparse.rst:1550 msgid "To avoid this confusion, use :meth:`set_defaults`::" msgstr "" -#: library/optparse.rst:1545 +#: library/optparse.rst:1562 msgid "Option Callbacks" msgstr "" -#: library/optparse.rst:1547 +#: library/optparse.rst:1564 msgid "" "When :mod:`optparse`'s built-in actions and types aren't quite enough for " "your needs, you have two choices: extend :mod:`optparse` or define a " @@ -1848,25 +1868,25 @@ msgid "" "a lot of simple cases. Quite often a simple callback is all you need." msgstr "" -#: library/optparse.rst:1552 +#: library/optparse.rst:1569 msgid "There are two steps to defining a callback option:" msgstr "" -#: library/optparse.rst:1554 +#: library/optparse.rst:1571 msgid "define the option itself using the ``\"callback\"`` action" msgstr "" -#: library/optparse.rst:1556 +#: library/optparse.rst:1573 msgid "" "write the callback; this is a function (or method) that takes at least four " "arguments, as described below" msgstr "" -#: library/optparse.rst:1563 +#: library/optparse.rst:1580 msgid "Defining a callback option" msgstr "" -#: library/optparse.rst:1565 +#: library/optparse.rst:1582 msgid "" "As always, the easiest way to define a callback option is by using the :meth:" "`OptionParser.add_option` method. Apart from :attr:`~Option.action`, the " @@ -1874,7 +1894,7 @@ msgid "" "call::" msgstr "" -#: library/optparse.rst:1571 +#: library/optparse.rst:1588 msgid "" "``callback`` is a function (or other callable object), so you must have " "already defined ``my_callback()`` when you create this callback option. In " @@ -1886,7 +1906,7 @@ msgid "" "tricky; it's covered later in this section." msgstr "" -#: library/optparse.rst:1580 +#: library/optparse.rst:1597 msgid "" ":mod:`optparse` always passes four particular arguments to your callback, " "and it will only pass additional arguments if you specify them via :attr:" @@ -1894,21 +1914,21 @@ msgid "" "minimal callback function signature is::" msgstr "" -#: library/optparse.rst:1587 +#: library/optparse.rst:1604 msgid "The four arguments to a callback are described below." msgstr "" -#: library/optparse.rst:1589 +#: library/optparse.rst:1606 msgid "" "There are several other option attributes that you can supply when you " "define a callback option:" msgstr "" -#: library/optparse.rst:1596 +#: library/optparse.rst:1613 msgid ":attr:`~Option.type`" msgstr "" -#: library/optparse.rst:1593 +#: library/optparse.rst:1610 msgid "" "has its usual meaning: as with the ``\"store\"`` or ``\"append\"`` actions, " "it instructs :mod:`optparse` to consume one argument and convert it to :attr:" @@ -1916,11 +1936,11 @@ msgid "" "though, :mod:`optparse` passes it to your callback function." msgstr "" -#: library/optparse.rst:1602 +#: library/optparse.rst:1619 msgid ":attr:`~Option.nargs`" msgstr "" -#: library/optparse.rst:1599 +#: library/optparse.rst:1616 msgid "" "also has its usual meaning: if it is supplied and > 1, :mod:`optparse` will " "consume :attr:`~Option.nargs` arguments, each of which must be convertible " @@ -1928,43 +1948,43 @@ msgid "" "callback." msgstr "" -#: library/optparse.rst:1605 +#: library/optparse.rst:1622 msgid ":attr:`~Option.callback_args`" msgstr "" -#: library/optparse.rst:1605 +#: library/optparse.rst:1622 msgid "a tuple of extra positional arguments to pass to the callback" msgstr "" -#: library/optparse.rst:1609 +#: library/optparse.rst:1626 msgid ":attr:`~Option.callback_kwargs`" msgstr "" -#: library/optparse.rst:1608 +#: library/optparse.rst:1625 msgid "a dictionary of extra keyword arguments to pass to the callback" msgstr "" -#: library/optparse.rst:1614 +#: library/optparse.rst:1631 msgid "How callbacks are called" msgstr "" -#: library/optparse.rst:1616 +#: library/optparse.rst:1633 msgid "All callbacks are called as follows::" msgstr "" -#: library/optparse.rst:1623 +#: library/optparse.rst:1640 msgid "``option``" msgstr "" -#: library/optparse.rst:1623 +#: library/optparse.rst:1640 msgid "is the Option instance that's calling the callback" msgstr "" -#: library/optparse.rst:1630 +#: library/optparse.rst:1647 msgid "``opt_str``" msgstr "" -#: library/optparse.rst:1626 +#: library/optparse.rst:1643 msgid "" "is the option string seen on the command-line that's triggering the " "callback. (If an abbreviated long option was used, ``opt_str`` will be the " @@ -1973,11 +1993,11 @@ msgid "" "``\"--foobar\"``.)" msgstr "" -#: library/optparse.rst:1637 +#: library/optparse.rst:1654 msgid "``value``" msgstr "" -#: library/optparse.rst:1633 +#: library/optparse.rst:1650 msgid "" "is the argument to this option seen on the command-line. :mod:`optparse` " "will only expect an argument if :attr:`~Option.type` is set; the type of " @@ -1987,21 +2007,21 @@ msgid "" "of values of the appropriate type." msgstr "" -#: library/optparse.rst:1660 +#: library/optparse.rst:1677 msgid "``parser``" msgstr "" -#: library/optparse.rst:1640 +#: library/optparse.rst:1657 msgid "" "is the OptionParser instance driving the whole thing, mainly useful because " "you can access some other interesting data through its instance attributes:" msgstr "" -#: library/optparse.rst:1647 +#: library/optparse.rst:1664 msgid "``parser.largs``" msgstr "" -#: library/optparse.rst:1644 +#: library/optparse.rst:1661 msgid "" "the current list of leftover arguments, ie. arguments that have been " "consumed but are neither options nor option arguments. Feel free to modify " @@ -2009,22 +2029,22 @@ msgid "" "become ``args``, the second return value of :meth:`parse_args`.)" msgstr "" -#: library/optparse.rst:1653 +#: library/optparse.rst:1670 msgid "``parser.rargs``" msgstr "" -#: library/optparse.rst:1650 +#: library/optparse.rst:1667 msgid "" "the current list of remaining arguments, ie. with ``opt_str`` and ``value`` " "(if applicable) removed, and only the arguments following them still there. " "Feel free to modify ``parser.rargs``, e.g. by consuming more arguments." msgstr "" -#: library/optparse.rst:1660 +#: library/optparse.rst:1677 msgid "``parser.values``" msgstr "" -#: library/optparse.rst:1656 +#: library/optparse.rst:1673 msgid "" "the object where option values are by default stored (an instance of " "optparse.OptionValues). This lets callbacks use the same mechanism as the " @@ -2033,27 +2053,27 @@ msgid "" "of any options already encountered on the command-line." msgstr "" -#: library/optparse.rst:1663 +#: library/optparse.rst:1680 msgid "" "is a tuple of arbitrary positional arguments supplied via the :attr:`~Option." "callback_args` option attribute." msgstr "" -#: library/optparse.rst:1669 +#: library/optparse.rst:1686 msgid "``kwargs``" msgstr "" -#: library/optparse.rst:1667 +#: library/optparse.rst:1684 msgid "" "is a dictionary of arbitrary keyword arguments supplied via :attr:`~Option." "callback_kwargs`." msgstr "" -#: library/optparse.rst:1674 +#: library/optparse.rst:1691 msgid "Raising errors in a callback" msgstr "" -#: library/optparse.rst:1676 +#: library/optparse.rst:1693 msgid "" "The callback function should raise :exc:`OptionValueError` if there are any " "problems with the option or its argument(s). :mod:`optparse` catches this " @@ -2063,46 +2083,46 @@ msgid "" "they did wrong." msgstr "" -#: library/optparse.rst:1686 +#: library/optparse.rst:1703 msgid "Callback example 1: trivial callback" msgstr "" -#: library/optparse.rst:1688 +#: library/optparse.rst:1705 msgid "" "Here's an example of a callback option that takes no arguments, and simply " "records that the option was seen::" msgstr "" -#: library/optparse.rst:1696 +#: library/optparse.rst:1713 msgid "Of course, you could do that with the ``\"store_true\"`` action." msgstr "" -#: library/optparse.rst:1702 +#: library/optparse.rst:1719 msgid "Callback example 2: check option order" msgstr "" -#: library/optparse.rst:1704 +#: library/optparse.rst:1721 msgid "" "Here's a slightly more interesting example: record the fact that ``-a`` is " "seen, but blow up if it comes after ``-b`` in the command-line. ::" msgstr "" -#: library/optparse.rst:1719 +#: library/optparse.rst:1736 msgid "Callback example 3: check option order (generalized)" msgstr "" -#: library/optparse.rst:1721 +#: library/optparse.rst:1738 msgid "" "If you want to re-use this callback for several similar options (set a flag, " "but blow up if ``-b`` has already been seen), it needs a bit of work: the " "error message and the flag that it sets must be generalized. ::" msgstr "" -#: library/optparse.rst:1738 +#: library/optparse.rst:1755 msgid "Callback example 4: check arbitrary condition" msgstr "" -#: library/optparse.rst:1740 +#: library/optparse.rst:1757 msgid "" "Of course, you could put any condition in there---you're not limited to " "checking the values of already-defined options. For example, if you have " @@ -2110,16 +2130,16 @@ msgid "" "is this::" msgstr "" -#: library/optparse.rst:1753 +#: library/optparse.rst:1770 msgid "" "(The definition of ``is_moon_full()`` is left as an exercise for the reader.)" msgstr "" -#: library/optparse.rst:1759 +#: library/optparse.rst:1776 msgid "Callback example 5: fixed arguments" msgstr "" -#: library/optparse.rst:1761 +#: library/optparse.rst:1778 msgid "" "Things get slightly more interesting when you define callback options that " "take a fixed number of arguments. Specifying that a callback option takes " @@ -2129,23 +2149,23 @@ msgid "" "nargs`, then the option takes :attr:`~Option.nargs` arguments." msgstr "" -#: library/optparse.rst:1768 +#: library/optparse.rst:1785 msgid "" "Here's an example that just emulates the standard ``\"store\"`` action::" msgstr "" -#: library/optparse.rst:1777 +#: library/optparse.rst:1794 msgid "" "Note that :mod:`optparse` takes care of consuming 3 arguments and converting " "them to integers for you; all you have to do is store them. (Or whatever; " "obviously you don't need a callback for this example.)" msgstr "" -#: library/optparse.rst:1785 +#: library/optparse.rst:1802 msgid "Callback example 6: variable arguments" msgstr "" -#: library/optparse.rst:1787 +#: library/optparse.rst:1804 msgid "" "Things get hairy when you want an option to take a variable number of " "arguments. For this case, you must write a callback, as :mod:`optparse` " @@ -2155,23 +2175,23 @@ msgid "" "implement the conventional rules for bare ``--`` and ``-`` arguments:" msgstr "" -#: library/optparse.rst:1794 +#: library/optparse.rst:1811 msgid "either ``--`` or ``-`` can be option arguments" msgstr "" -#: library/optparse.rst:1796 +#: library/optparse.rst:1813 msgid "" "bare ``--`` (if not the argument to some option): halt command-line " "processing and discard the ``--``" msgstr "" -#: library/optparse.rst:1799 +#: library/optparse.rst:1816 msgid "" "bare ``-`` (if not the argument to some option): halt command-line " "processing but keep the ``-`` (append it to ``parser.largs``)" msgstr "" -#: library/optparse.rst:1802 +#: library/optparse.rst:1819 msgid "" "If you want an option that takes a variable number of arguments, there are " "several subtle, tricky issues to worry about. The exact implementation you " @@ -2180,28 +2200,28 @@ msgid "" "directly)." msgstr "" -#: library/optparse.rst:1808 +#: library/optparse.rst:1825 msgid "" "Nevertheless, here's a stab at a callback for an option with variable " "arguments::" msgstr "" -#: library/optparse.rst:1842 +#: library/optparse.rst:1859 msgid "Extending :mod:`optparse`" msgstr "" -#: library/optparse.rst:1844 +#: library/optparse.rst:1861 msgid "" "Since the two major controlling factors in how :mod:`optparse` interprets " "command-line options are the action and type of each option, the most likely " "direction of extension is to add new actions and new types." msgstr "" -#: library/optparse.rst:1852 +#: library/optparse.rst:1869 msgid "Adding new types" msgstr "" -#: library/optparse.rst:1854 +#: library/optparse.rst:1871 msgid "" "To add new types, you need to define your own subclass of :mod:`optparse`'s :" "class:`Option` class. This class has a couple of attributes that define :" @@ -2209,19 +2229,19 @@ msgid "" "TYPE_CHECKER`." msgstr "" -#: library/optparse.rst:1860 +#: library/optparse.rst:1877 msgid "" "A tuple of type names; in your subclass, simply define a new tuple :attr:" "`TYPES` that builds on the standard one." msgstr "" -#: library/optparse.rst:1865 +#: library/optparse.rst:1882 msgid "" "A dictionary mapping type names to type-checking functions. A type-checking " "function has the following signature::" msgstr "" -#: library/optparse.rst:1870 +#: library/optparse.rst:1887 msgid "" "where ``option`` is an :class:`Option` instance, ``opt`` is an option string " "(e.g., ``-f``), and ``value`` is the string from the command line that must " @@ -2232,7 +2252,7 @@ msgid "" "``value`` parameter." msgstr "" -#: library/optparse.rst:1878 +#: library/optparse.rst:1895 msgid "" "Your type-checking function should raise :exc:`OptionValueError` if it " "encounters any problems. :exc:`OptionValueError` takes a single string " @@ -2241,7 +2261,7 @@ msgid "" "\"`` and prints everything to stderr before terminating the process." msgstr "" -#: library/optparse.rst:1884 +#: library/optparse.rst:1901 msgid "" "Here's a silly example that demonstrates adding a ``\"complex\"`` option " "type to parse Python-style complex numbers on the command line. (This is " @@ -2249,21 +2269,21 @@ msgid "" "support for complex numbers, but never mind.)" msgstr "" -#: library/optparse.rst:1889 +#: library/optparse.rst:1906 msgid "First, the necessary imports::" msgstr "" -#: library/optparse.rst:1894 +#: library/optparse.rst:1911 msgid "" "You need to define your type-checker first, since it's referred to later (in " "the :attr:`~Option.TYPE_CHECKER` class attribute of your Option subclass)::" msgstr "" -#: library/optparse.rst:1904 +#: library/optparse.rst:1921 msgid "Finally, the Option subclass::" msgstr "" -#: library/optparse.rst:1911 +#: library/optparse.rst:1928 msgid "" "(If we didn't make a :func:`copy` of :attr:`Option.TYPE_CHECKER`, we would " "end up modifying the :attr:`~Option.TYPE_CHECKER` attribute of :mod:" @@ -2271,46 +2291,46 @@ msgid "" "that except good manners and common sense.)" msgstr "" -#: library/optparse.rst:1916 +#: library/optparse.rst:1933 msgid "" "That's it! Now you can write a script that uses the new option type just " "like any other :mod:`optparse`\\ -based script, except you have to instruct " "your OptionParser to use MyOption instead of Option::" msgstr "" -#: library/optparse.rst:1923 +#: library/optparse.rst:1940 msgid "" "Alternately, you can build your own option list and pass it to OptionParser; " "if you don't use :meth:`add_option` in the above way, you don't need to tell " "OptionParser which option class to use::" msgstr "" -#: library/optparse.rst:1934 +#: library/optparse.rst:1951 msgid "Adding new actions" msgstr "" -#: library/optparse.rst:1936 +#: library/optparse.rst:1953 msgid "" "Adding new actions is a bit trickier, because you have to understand that :" "mod:`optparse` has a couple of classifications for actions:" msgstr "" -#: library/optparse.rst:1942 +#: library/optparse.rst:1959 msgid "\"store\" actions" msgstr "" -#: library/optparse.rst:1940 +#: library/optparse.rst:1957 msgid "" "actions that result in :mod:`optparse` storing a value to an attribute of " "the current OptionValues instance; these options require a :attr:`~Option." "dest` attribute to be supplied to the Option constructor." msgstr "" -#: library/optparse.rst:1948 +#: library/optparse.rst:1965 msgid "\"typed\" actions" msgstr "" -#: library/optparse.rst:1945 +#: library/optparse.rst:1962 msgid "" "actions that take a value from the command line and expect it to be of a " "certain type; or rather, a string that can be converted to a certain type. " @@ -2318,7 +2338,7 @@ msgid "" "constructor." msgstr "" -#: library/optparse.rst:1950 +#: library/optparse.rst:1967 msgid "" "These are overlapping sets: some default \"store\" actions are " "``\"store\"``, ``\"store_const\"``, ``\"append\"``, and ``\"count\"``, while " @@ -2326,25 +2346,25 @@ msgid "" "``\"callback\"``." msgstr "" -#: library/optparse.rst:1954 +#: library/optparse.rst:1971 msgid "" "When you add an action, you need to categorize it by listing it in at least " "one of the following class attributes of Option (all are lists of strings):" msgstr "" -#: library/optparse.rst:1959 +#: library/optparse.rst:1976 msgid "All actions must be listed in ACTIONS." msgstr "" -#: library/optparse.rst:1963 +#: library/optparse.rst:1980 msgid "\"store\" actions are additionally listed here." msgstr "" -#: library/optparse.rst:1967 +#: library/optparse.rst:1984 msgid "\"typed\" actions are additionally listed here." msgstr "" -#: library/optparse.rst:1971 +#: library/optparse.rst:1988 msgid "" "Actions that always take a type (i.e. whose options always take a value) are " "additionally listed here. The only effect of this is that :mod:`optparse` " @@ -2352,13 +2372,13 @@ msgid "" "whose action is listed in :attr:`ALWAYS_TYPED_ACTIONS`." msgstr "" -#: library/optparse.rst:1976 +#: library/optparse.rst:1993 msgid "" "In order to actually implement your new action, you must override Option's :" "meth:`take_action` method and add a case that recognizes your action." msgstr "" -#: library/optparse.rst:1979 +#: library/optparse.rst:1996 msgid "" "For example, let's add an ``\"extend\"`` action. This is similar to the " "standard ``\"append\"`` action, but instead of taking a single value from " @@ -2368,47 +2388,47 @@ msgid "" "option of type ``\"string\"``, the command line ::" msgstr "" -#: library/optparse.rst:1988 +#: library/optparse.rst:2005 msgid "would result in a list ::" msgstr "" -#: library/optparse.rst:1992 +#: library/optparse.rst:2009 msgid "Again we define a subclass of Option::" msgstr "" -#: library/optparse.rst:2009 +#: library/optparse.rst:2026 msgid "Features of note:" msgstr "" -#: library/optparse.rst:2011 +#: library/optparse.rst:2028 msgid "" "``\"extend\"`` both expects a value on the command-line and stores that " "value somewhere, so it goes in both :attr:`~Option.STORE_ACTIONS` and :attr:" "`~Option.TYPED_ACTIONS`." msgstr "" -#: library/optparse.rst:2015 +#: library/optparse.rst:2032 msgid "" "to ensure that :mod:`optparse` assigns the default type of ``\"string\"`` to " "``\"extend\"`` actions, we put the ``\"extend\"`` action in :attr:`~Option." "ALWAYS_TYPED_ACTIONS` as well." msgstr "" -#: library/optparse.rst:2019 +#: library/optparse.rst:2036 msgid "" ":meth:`MyOption.take_action` implements just this one new action, and passes " "control back to :meth:`Option.take_action` for the standard :mod:`optparse` " "actions." msgstr "" -#: library/optparse.rst:2023 +#: library/optparse.rst:2040 msgid "" "``values`` is an instance of the optparse_parser.Values class, which " "provides the very useful :meth:`ensure_value` method. :meth:`ensure_value` " "is essentially :func:`getattr` with a safety valve; it is called as ::" msgstr "" -#: library/optparse.rst:2029 +#: library/optparse.rst:2046 msgid "" "If the ``attr`` attribute of ``values`` doesn't exist or is ``None``, then " "ensure_value() first sets it to ``value``, and then returns 'value. This is " @@ -2420,3 +2440,29 @@ msgid "" "destinations in question; they can just leave the default as ``None`` and :" "meth:`ensure_value` will take care of getting it right when it's needed." msgstr "" + +#: library/optparse.rst:2057 +msgid "Exceptions" +msgstr "" + +#: library/optparse.rst:2061 +msgid "" +"Raised if an :class:`Option` instance is created with invalid or " +"inconsistent arguments." +msgstr "" + +#: library/optparse.rst:2066 +msgid "Raised if conflicting options are added to an :class:`OptionParser`." +msgstr "" + +#: library/optparse.rst:2070 +msgid "Raised if an invalid option value is encountered on the command line." +msgstr "" + +#: library/optparse.rst:2074 +msgid "Raised if an invalid option is passed on the command line." +msgstr "" + +#: library/optparse.rst:2078 +msgid "Raised if an ambiguous option is passed on the command line." +msgstr "" diff --git a/library/os.path.po b/library/os.path.po index 4b7a15a85..5eebbf5f1 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -479,3 +479,43 @@ msgid "" "``True`` if arbitrary Unicode strings can be used as file names (within " "limitations imposed by the file system)." msgstr "" + +#: library/os.path.rst:10 +msgid "path" +msgstr "" + +#: library/os.path.rst:10 +msgid "operations" +msgstr "" + +#: library/os.path.rst:155 +msgid "~ (tilde)" +msgstr "" + +#: library/os.path.rst:155 +msgid "home directory expansion" +msgstr "" + +#: library/os.path.rst:162 +msgid "module" +msgstr "" + +#: library/os.path.rst:162 +msgid "pwd" +msgstr "" + +#: library/os.path.rst:183 +msgid "$ (dollar)" +msgstr "" + +#: library/os.path.rst:183 +msgid "environment variables expansion" +msgstr "" + +#: library/os.path.rst:183 +msgid "% (percent)" +msgstr "" + +#: library/os.path.rst:183 +msgid "environment variables expansion (Windows)" +msgstr "" diff --git a/library/os.po b/library/os.po index 1f3c23286..9fb52e044 100644 --- a/library/os.po +++ b/library/os.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -282,19 +282,19 @@ msgid "" "Return the filename corresponding to the controlling terminal of the process." msgstr "" -#: library/os.rst:353 library/os.rst:384 library/os.rst:429 library/os.rst:475 -#: library/os.rst:496 library/os.rst:529 library/os.rst:570 library/os.rst:586 -#: library/os.rst:607 library/os.rst:633 library/os.rst:649 library/os.rst:665 -#: library/os.rst:681 library/os.rst:1190 library/os.rst:1453 -#: library/os.rst:1497 library/os.rst:1950 library/os.rst:2207 -#: library/os.rst:3757 library/os.rst:3771 library/os.rst:3785 -#: library/os.rst:3799 library/os.rst:3815 library/os.rst:3829 -#: library/os.rst:3846 library/os.rst:3861 library/os.rst:3889 -#: library/os.rst:3946 library/os.rst:3974 library/os.rst:4150 -#: library/os.rst:4421 library/os.rst:4493 library/os.rst:4525 -#: library/os.rst:4548 library/os.rst:4570 library/os.rst:4593 -#: library/os.rst:4655 library/os.rst:4674 library/os.rst:4692 -#: library/os.rst:4710 +#: library/os.rst:358 library/os.rst:389 library/os.rst:434 library/os.rst:480 +#: library/os.rst:501 library/os.rst:534 library/os.rst:575 library/os.rst:591 +#: library/os.rst:612 library/os.rst:638 library/os.rst:654 library/os.rst:670 +#: library/os.rst:686 library/os.rst:1195 library/os.rst:1458 +#: library/os.rst:1502 library/os.rst:1955 library/os.rst:2212 +#: library/os.rst:3762 library/os.rst:3776 library/os.rst:3790 +#: library/os.rst:3804 library/os.rst:3820 library/os.rst:3834 +#: library/os.rst:3851 library/os.rst:3866 library/os.rst:3894 +#: library/os.rst:3951 library/os.rst:3979 library/os.rst:4155 +#: library/os.rst:4426 library/os.rst:4498 library/os.rst:4530 +#: library/os.rst:4553 library/os.rst:4575 library/os.rst:4598 +#: library/os.rst:4660 library/os.rst:4679 library/os.rst:4697 +#: library/os.rst:4715 msgid ":ref:`Availability `: Unix, not Emscripten, not WASI." msgstr "" @@ -329,19 +329,26 @@ msgid "" "to use a different encoding." msgstr "" -#: library/os.rst:206 +#: library/os.rst:204 +msgid "" +"On Windows, the keys are converted to uppercase. This also applies when " +"getting, setting, or deleting an item. For example, ``environ['monty'] = " +"'python'`` maps the key ``'MONTY'`` to the value ``'python'``." +msgstr "" + +#: library/os.rst:211 msgid "" "Calling :func:`putenv` directly does not change :data:`os.environ`, so it's " "better to modify :data:`os.environ`." msgstr "" -#: library/os.rst:211 +#: library/os.rst:216 msgid "" "On some platforms, including FreeBSD and macOS, setting ``environ`` may " "cause memory leaks. Refer to the system documentation for :c:func:`putenv`." msgstr "" -#: library/os.rst:215 +#: library/os.rst:220 msgid "" "You can delete items in this mapping to unset environment variables. :func:" "`unsetenv` will be called automatically when an item is deleted from :data:" @@ -349,12 +356,12 @@ msgid "" "called." msgstr "" -#: library/os.rst:236 +#: library/os.rst:241 msgid "" "Updated to support :pep:`584`'s merge (``|``) and update (``|=``) operators." msgstr "" -#: library/os.rst:226 +#: library/os.rst:231 msgid "" "Bytes version of :data:`environ`: a :term:`mapping` object where both keys " "and values are :class:`bytes` objects representing the process environment. :" @@ -362,47 +369,47 @@ msgid "" "`environb` updates :data:`environ`, and vice versa)." msgstr "" -#: library/os.rst:231 +#: library/os.rst:236 msgid "" ":data:`environb` is only available if :data:`supports_bytes_environ` is " "``True``." msgstr "" -#: library/os.rst:245 +#: library/os.rst:250 msgid "These functions are described in :ref:`os-file-dir`." msgstr "" -#: library/os.rst:250 +#: library/os.rst:255 msgid "" "Encode :term:`path-like ` *filename* to the :term:" "`filesystem encoding and error handler`; return :class:`bytes` unchanged." msgstr "" -#: library/os.rst:254 +#: library/os.rst:259 msgid ":func:`fsdecode` is the reverse function." msgstr "" -#: library/os.rst:273 +#: library/os.rst:278 msgid "" "Support added to accept objects implementing the :class:`os.PathLike` " "interface." msgstr "" -#: library/os.rst:265 +#: library/os.rst:270 msgid "" "Decode the :term:`path-like ` *filename* from the :term:" "`filesystem encoding and error handler`; return :class:`str` unchanged." msgstr "" -#: library/os.rst:269 +#: library/os.rst:274 msgid ":func:`fsencode` is the reverse function." msgstr "" -#: library/os.rst:280 +#: library/os.rst:285 msgid "Return the file system representation of the path." msgstr "" -#: library/os.rst:282 +#: library/os.rst:287 msgid "" "If :class:`str` or :class:`bytes` is passed in, it is returned unchanged. " "Otherwise :meth:`~os.PathLike.__fspath__` is called and its value is " @@ -410,23 +417,23 @@ msgid "" "other cases, :exc:`TypeError` is raised." msgstr "" -#: library/os.rst:292 +#: library/os.rst:297 msgid "" "An :term:`abstract base class` for objects representing a file system path, " "e.g. :class:`pathlib.PurePath`." msgstr "" -#: library/os.rst:299 +#: library/os.rst:304 msgid "Return the file system path representation of the object." msgstr "" -#: library/os.rst:301 +#: library/os.rst:306 msgid "" "The method should only return a :class:`str` or :class:`bytes` object, with " "the preference being for :class:`str`." msgstr "" -#: library/os.rst:307 +#: library/os.rst:312 msgid "" "Return the value of the environment variable *key* as a string if it exists, " "or *default* if it doesn't. *key* is a string. Note that since :func:" @@ -435,20 +442,20 @@ msgid "" "changes." msgstr "" -#: library/os.rst:313 +#: library/os.rst:318 msgid "" "On Unix, keys and values are decoded with :func:`sys.getfilesystemencoding` " "and ``'surrogateescape'`` error handler. Use :func:`os.getenvb` if you would " "like to use a different encoding." msgstr "" -#: library/os.rst:975 library/os.rst:1202 library/os.rst:2034 -#: library/os.rst:3097 library/os.rst:3749 library/os.rst:4249 -#: library/os.rst:4366 +#: library/os.rst:980 library/os.rst:1207 library/os.rst:2039 +#: library/os.rst:3102 library/os.rst:3754 library/os.rst:4254 +#: library/os.rst:4371 msgid ":ref:`Availability `: Unix, Windows." msgstr "" -#: library/os.rst:322 +#: library/os.rst:327 msgid "" "Return the value of the environment variable *key* as bytes if it exists, or " "*default* if it doesn't. *key* must be bytes. Note that since :func:" @@ -457,22 +464,22 @@ msgid "" "environment changes." msgstr "" -#: library/os.rst:329 +#: library/os.rst:334 msgid "" ":func:`getenvb` is only available if :data:`supports_bytes_environ` is " "``True``." msgstr "" -#: library/os.rst:371 library/os.rst:733 library/os.rst:908 library/os.rst:942 -#: library/os.rst:999 library/os.rst:1035 library/os.rst:1256 -#: library/os.rst:1338 library/os.rst:1548 library/os.rst:1610 -#: library/os.rst:1964 library/os.rst:2018 library/os.rst:2285 -#: library/os.rst:3120 library/os.rst:4856 library/os.rst:4886 -#: library/os.rst:4905 +#: library/os.rst:376 library/os.rst:738 library/os.rst:913 library/os.rst:947 +#: library/os.rst:1004 library/os.rst:1040 library/os.rst:1261 +#: library/os.rst:1343 library/os.rst:1553 library/os.rst:1615 +#: library/os.rst:1969 library/os.rst:2023 library/os.rst:2290 +#: library/os.rst:3125 library/os.rst:4861 library/os.rst:4891 +#: library/os.rst:4910 msgid ":ref:`Availability `: Unix." msgstr "" -#: library/os.rst:339 +#: library/os.rst:344 msgid "" "Returns the list of directories that will be searched for a named " "executable, similar to a shell, when launching a process. *env*, when " @@ -480,27 +487,27 @@ msgid "" "in. By default, when *env* is ``None``, :data:`environ` is used." msgstr "" -#: library/os.rst:350 +#: library/os.rst:355 msgid "" "Return the effective group id of the current process. This corresponds to " "the \"set id\" bit on the file being executed in the current process." msgstr "" -#: library/os.rst:360 +#: library/os.rst:365 msgid "Return the current process's effective user id." msgstr "" -#: library/os.rst:369 +#: library/os.rst:374 msgid "Return the real group id of the current process." msgstr "" -#: library/os.rst:446 library/os.rst:704 +#: library/os.rst:451 library/os.rst:709 msgid "" "The function is a stub on Emscripten and WASI, see :ref:`wasm-availability` " "for more information." msgstr "" -#: library/os.rst:379 +#: library/os.rst:384 msgid "" "Return list of group ids that *user* belongs to. If *group* is not in the " "list, it is included; typically, *group* is specified as the group ID field " @@ -508,12 +515,12 @@ msgid "" "potentially omitted." msgstr "" -#: library/os.rst:391 +#: library/os.rst:396 msgid "" "Return list of supplemental group ids associated with the current process." msgstr "" -#: library/os.rst:397 +#: library/os.rst:402 msgid "" "On macOS, :func:`getgroups` behavior differs somewhat from other Unix " "platforms. If the Python interpreter was built with a deployment target of :" @@ -530,7 +537,7 @@ msgid "" "get_config_var`." msgstr "" -#: library/os.rst:414 +#: library/os.rst:419 msgid "" "Return the name of the user logged in on the controlling terminal of the " "process. For most purposes, it is more useful to use :func:`getpass." @@ -539,38 +546,38 @@ msgid "" "getpwuid(os.getuid())[0]`` to get the login name of the current real user id." msgstr "" -#: library/os.rst:457 library/os.rst:3930 library/os.rst:4343 -#: library/os.rst:4628 +#: library/os.rst:462 library/os.rst:3935 library/os.rst:4348 +#: library/os.rst:4633 msgid "" ":ref:`Availability `: Unix, Windows, not Emscripten, not WASI." msgstr "" -#: library/os.rst:426 +#: library/os.rst:431 msgid "" "Return the process group id of the process with process id *pid*. If *pid* " "is 0, the process group id of the current process is returned." msgstr "" -#: library/os.rst:435 +#: library/os.rst:440 msgid "Return the id of the current process group." msgstr "" -#: library/os.rst:444 +#: library/os.rst:449 msgid "Return the current process id." msgstr "" -#: library/os.rst:453 +#: library/os.rst:458 msgid "" "Return the parent's process id. When the parent process has exited, on Unix " "the id returned is the one of the init process (1), on Windows it is still " "the same id, which may be already reused by another process." msgstr "" -#: library/os.rst:459 +#: library/os.rst:464 msgid "Added support for Windows." msgstr "" -#: library/os.rst:467 +#: library/os.rst:472 msgid "" "Get program scheduling priority. The value *which* is one of :const:" "`PRIO_PROCESS`, :const:`PRIO_PGRP`, or :const:`PRIO_USER`, and *who* is " @@ -581,42 +588,42 @@ msgid "" "user ID of the calling process." msgstr "" -#: library/os.rst:484 +#: library/os.rst:489 msgid "" "Parameters for the :func:`getpriority` and :func:`setpriority` functions." msgstr "" -#: library/os.rst:493 +#: library/os.rst:498 msgid "" "Return a tuple (ruid, euid, suid) denoting the current process's real, " "effective, and saved user ids." msgstr "" -#: library/os.rst:503 +#: library/os.rst:508 msgid "" "Return a tuple (rgid, egid, sgid) denoting the current process's real, " "effective, and saved group ids." msgstr "" -#: library/os.rst:515 +#: library/os.rst:520 msgid "Return the current process's real user id." msgstr "" -#: library/os.rst:525 +#: library/os.rst:530 msgid "" "Call the system initgroups() to initialize the group access list with all of " "the groups of which the specified username is a member, plus the specified " "group id." msgstr "" -#: library/os.rst:538 +#: library/os.rst:543 msgid "" "Set the environment variable named *key* to the string *value*. Such " "changes to the environment affect subprocesses started with :func:`os." "system`, :func:`popen` or :func:`fork` and :func:`execv`." msgstr "" -#: library/os.rst:542 +#: library/os.rst:547 msgid "" "Assignments to items in :data:`os.environ` are automatically translated into " "corresponding calls to :func:`putenv`; however, calls to :func:`putenv` " @@ -626,7 +633,7 @@ msgid "" "in their implementations." msgstr "" -#: library/os.rst:550 +#: library/os.rst:555 msgid "" "On some platforms, including FreeBSD and macOS, setting ``environ`` may " "cause memory leaks. Refer to the system documentation for :c:func:`putenv`." @@ -638,23 +645,23 @@ msgid "" "``key``, ``value``." msgstr "" -#: library/os.rst:555 +#: library/os.rst:560 msgid "The function is now always available." msgstr "" -#: library/os.rst:561 +#: library/os.rst:566 msgid "Set the current process's effective group id." msgstr "" -#: library/os.rst:568 +#: library/os.rst:573 msgid "Set the current process's effective user id." msgstr "" -#: library/os.rst:575 +#: library/os.rst:580 msgid "Set the current process' group id." msgstr "" -#: library/os.rst:582 +#: library/os.rst:587 msgid "" "Set the list of supplemental group ids associated with the current process " "to *groups*. *groups* must be a sequence, and each element must be an " @@ -662,7 +669,7 @@ msgid "" "the superuser." msgstr "" -#: library/os.rst:588 +#: library/os.rst:593 msgid "" "On macOS, the length of *groups* may not exceed the system-defined maximum " "number of effective group ids, typically 16. See the documentation for :func:" @@ -670,21 +677,21 @@ msgid "" "calling setgroups()." msgstr "" -#: library/os.rst:595 +#: library/os.rst:600 msgid "" "Call the system call :c:func:`setpgrp` or ``setpgrp(0, 0)`` depending on " "which version is implemented (if any). See the Unix manual for the " "semantics." msgstr "" -#: library/os.rst:603 +#: library/os.rst:608 msgid "" "Call the system call :c:func:`setpgid` to set the process group id of the " "process with id *pid* to the process group with id *pgrp*. See the Unix " "manual for the semantics." msgstr "" -#: library/os.rst:614 +#: library/os.rst:619 msgid "" "Set program scheduling priority. The value *which* is one of :const:" "`PRIO_PROCESS`, :const:`PRIO_PGRP`, or :const:`PRIO_USER`, and *who* is " @@ -697,109 +704,109 @@ msgid "" "scheduling." msgstr "" -#: library/os.rst:631 +#: library/os.rst:636 msgid "Set the current process's real and effective group ids." msgstr "" -#: library/os.rst:638 +#: library/os.rst:643 msgid "Set the current process's real, effective, and saved group ids." msgstr "" -#: library/os.rst:647 +#: library/os.rst:652 msgid "Set the current process's real, effective, and saved user ids." msgstr "" -#: library/os.rst:656 +#: library/os.rst:661 msgid "Set the current process's real and effective user ids." msgstr "" -#: library/os.rst:663 +#: library/os.rst:668 msgid "" "Call the system call :c:func:`getsid`. See the Unix manual for the " "semantics." msgstr "" -#: library/os.rst:670 +#: library/os.rst:675 msgid "" "Call the system call :c:func:`setsid`. See the Unix manual for the " "semantics." msgstr "" -#: library/os.rst:679 +#: library/os.rst:684 msgid "Set the current process's user id." msgstr "" -#: library/os.rst:687 +#: library/os.rst:692 msgid "" "Return the error message corresponding to the error code in *code*. On " "platforms where :c:func:`strerror` returns ``NULL`` when given an unknown " "error number, :exc:`ValueError` is raised." msgstr "" -#: library/os.rst:694 +#: library/os.rst:699 msgid "" "``True`` if the native OS type of the environment is bytes (eg. ``False`` on " "Windows)." msgstr "" -#: library/os.rst:702 +#: library/os.rst:707 msgid "Set the current numeric umask and return the previous umask." msgstr "" -#: library/os.rst:714 +#: library/os.rst:719 msgid "" "Returns information identifying the current operating system. The return " "value is an object with five attributes:" msgstr "" -#: library/os.rst:717 +#: library/os.rst:722 msgid ":attr:`sysname` - operating system name" msgstr "" -#: library/os.rst:718 +#: library/os.rst:723 msgid ":attr:`nodename` - name of machine on network (implementation-defined)" msgstr "" -#: library/os.rst:719 +#: library/os.rst:724 msgid ":attr:`release` - operating system release" msgstr "" -#: library/os.rst:720 +#: library/os.rst:725 msgid ":attr:`version` - operating system version" msgstr "" -#: library/os.rst:721 +#: library/os.rst:726 msgid ":attr:`machine` - hardware identifier" msgstr "" -#: library/os.rst:723 +#: library/os.rst:728 msgid "" "For backwards compatibility, this object is also iterable, behaving like a " "five-tuple containing :attr:`sysname`, :attr:`nodename`, :attr:`release`, :" "attr:`version`, and :attr:`machine` in that order." msgstr "" -#: library/os.rst:728 +#: library/os.rst:733 msgid "" "Some systems truncate :attr:`nodename` to 8 characters or to the leading " "component; a better way to get the hostname is :func:`socket.gethostname` " "or even ``socket.gethostbyaddr(socket.gethostname())``." msgstr "" -#: library/os.rst:4368 +#: library/os.rst:4373 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." msgstr "" -#: library/os.rst:744 +#: library/os.rst:749 msgid "" "Unset (delete) the environment variable named *key*. Such changes to the " "environment affect subprocesses started with :func:`os.system`, :func:" "`popen` or :func:`fork` and :func:`execv`." msgstr "" -#: library/os.rst:748 +#: library/os.rst:753 msgid "" "Deletion of items in :data:`os.environ` is automatically translated into a " "corresponding call to :func:`unsetenv`; however, calls to :func:`unsetenv` " @@ -813,21 +820,21 @@ msgid "" "``key``." msgstr "" -#: library/os.rst:755 +#: library/os.rst:760 msgid "The function is now always available and is also available on Windows." msgstr "" -#: library/os.rst:762 +#: library/os.rst:767 msgid "File Object Creation" msgstr "" -#: library/os.rst:764 +#: library/os.rst:769 msgid "" "These functions create new :term:`file objects `. (See also :" "func:`~os.open` for opening file descriptors.)" msgstr "" -#: library/os.rst:770 +#: library/os.rst:775 msgid "" "Return an open file object connected to the file descriptor *fd*. This is " "an alias of the :func:`open` built-in function and accepts the same " @@ -835,16 +842,16 @@ msgid "" "must always be an integer." msgstr "" -#: library/os.rst:779 +#: library/os.rst:784 msgid "File Descriptor Operations" msgstr "" -#: library/os.rst:781 +#: library/os.rst:786 msgid "" "These functions operate on I/O streams referenced using file descriptors." msgstr "" -#: library/os.rst:783 +#: library/os.rst:788 msgid "" "File descriptors are small integers corresponding to a file that has been " "opened by the current process. For example, standard input is usually file " @@ -854,7 +861,7 @@ msgid "" "pipes are also referenced by file descriptors." msgstr "" -#: library/os.rst:790 +#: library/os.rst:795 msgid "" "The :meth:`~io.IOBase.fileno` method can be used to obtain the file " "descriptor associated with a :term:`file object` when required. Note that " @@ -862,11 +869,11 @@ msgid "" "ignoring aspects such as internal buffering of data." msgstr "" -#: library/os.rst:798 +#: library/os.rst:803 msgid "Close file descriptor *fd*." msgstr "" -#: library/os.rst:802 +#: library/os.rst:807 msgid "" "This function is intended for low-level I/O and must be applied to a file " "descriptor as returned by :func:`os.open` or :func:`pipe`. To close a " @@ -874,13 +881,13 @@ msgid "" "`popen` or :func:`fdopen`, use its :meth:`~io.IOBase.close` method." msgstr "" -#: library/os.rst:810 +#: library/os.rst:815 msgid "" "Close all file descriptors from *fd_low* (inclusive) to *fd_high* " "(exclusive), ignoring errors. Equivalent to (but much faster than)::" msgstr "" -#: library/os.rst:822 +#: library/os.rst:827 msgid "" "Copy *count* bytes from file descriptor *src*, starting from offset " "*offset_src*, to file descriptor *dst*, starting from offset *offset_dst*. " @@ -890,7 +897,7 @@ msgid "" "attr:`~OSError.errno` set to :data:`errno.EXDEV`." msgstr "" -#: library/os.rst:1513 +#: library/os.rst:1518 msgid "" "This copy is done without the additional cost of transferring data from the " "kernel to user space and then back into the kernel. Additionally, some " @@ -898,53 +905,53 @@ msgid "" "files are opened as binary." msgstr "" -#: library/os.rst:834 +#: library/os.rst:839 msgid "" "The return value is the amount of bytes copied. This could be less than the " "amount requested." msgstr "" -#: library/os.rst:837 +#: library/os.rst:842 msgid ":ref:`Availability `: Linux >= 4.5 with glibc >= 2.27." msgstr "" -#: library/os.rst:844 +#: library/os.rst:849 msgid "" "Return a string describing the encoding of the device associated with *fd* " "if it is connected to a terminal; else return :const:`None`." msgstr "" -#: library/os.rst:847 +#: library/os.rst:852 msgid "" "On Unix, if the :ref:`Python UTF-8 Mode ` is enabled, return " "``'UTF-8'`` rather than the device encoding." msgstr "" -#: library/os.rst:850 +#: library/os.rst:855 msgid "On Unix, the function now implements the Python UTF-8 Mode." msgstr "" -#: library/os.rst:856 +#: library/os.rst:861 msgid "" "Return a duplicate of file descriptor *fd*. The new file descriptor is :ref:" "`non-inheritable `." msgstr "" -#: library/os.rst:859 +#: library/os.rst:864 msgid "" "On Windows, when duplicating a standard stream (0: stdin, 1: stdout, 2: " "stderr), the new file descriptor is :ref:`inheritable `." msgstr "" -#: library/os.rst:876 +#: library/os.rst:881 msgid ":ref:`Availability `: not WASI." msgstr "" -#: library/os.rst:1089 +#: library/os.rst:1094 msgid "The new file descriptor is now non-inheritable." msgstr "" -#: library/os.rst:871 +#: library/os.rst:876 msgid "" "Duplicate file descriptor *fd* to *fd2*, closing the latter first if " "necessary. Return *fd2*. The new file descriptor is :ref:`inheritable " @@ -952,15 +959,15 @@ msgid "" "``False``." msgstr "" -#: library/os.rst:878 +#: library/os.rst:883 msgid "Add the optional *inheritable* parameter." msgstr "" -#: library/os.rst:881 +#: library/os.rst:886 msgid "Return *fd2* on success. Previously, ``None`` was always returned." msgstr "" -#: library/os.rst:887 +#: library/os.rst:892 msgid "" "Change the mode of the file given by *fd* to the numeric *mode*. See the " "docs for :func:`chmod` for possible values of *mode*. As of Python 3.3, " @@ -973,14 +980,14 @@ msgid "" "``path``, ``mode``, ``dir_fd``." msgstr "" -#: library/os.rst:910 library/os.rst:1475 library/os.rst:1935 -#: library/os.rst:3099 +#: library/os.rst:915 library/os.rst:1480 library/os.rst:1940 +#: library/os.rst:3104 msgid "" "The function is limited on Emscripten and WASI, see :ref:`wasm-availability` " "for more information." msgstr "" -#: library/os.rst:901 +#: library/os.rst:906 msgid "" "Change the owner and group id of the file given by *fd* to the numeric *uid* " "and *gid*. To leave one of the ids unchanged, set it to -1. See :func:" @@ -993,17 +1000,17 @@ msgid "" "``path``, ``uid``, ``gid``, ``dir_fd``." msgstr "" -#: library/os.rst:916 +#: library/os.rst:921 msgid "" "Force write of file with filedescriptor *fd* to disk. Does not force update " "of metadata." msgstr "" -#: library/os.rst:922 +#: library/os.rst:927 msgid "This function is not available on MacOS." msgstr "" -#: library/os.rst:927 +#: library/os.rst:932 msgid "" "Return system configuration information relevant to an open file. *name* " "specifies the configuration value to retrieve; it may be a string which is " @@ -1014,7 +1021,7 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:2265 +#: library/os.rst:2270 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 " @@ -1022,46 +1029,46 @@ msgid "" "`errno.EINVAL` for the error number." msgstr "" -#: library/os.rst:940 +#: library/os.rst:945 msgid "As of Python 3.3, this is equivalent to ``os.pathconf(fd, name)``." msgstr "" -#: library/os.rst:947 +#: library/os.rst:952 msgid "" "Get the status of the file descriptor *fd*. Return a :class:`stat_result` " "object." msgstr "" -#: library/os.rst:950 +#: library/os.rst:955 msgid "As of Python 3.3, this is equivalent to ``os.stat(fd)``." msgstr "" -#: library/os.rst:2100 +#: library/os.rst:2105 msgid "The :func:`.stat` function." msgstr "" -#: library/os.rst:959 +#: library/os.rst:964 msgid "" "Return information about the filesystem containing the file associated with " "file descriptor *fd*, like :func:`statvfs`. As of Python 3.3, this is " "equivalent to ``os.statvfs(fd)``." msgstr "" -#: library/os.rst:968 +#: library/os.rst:973 msgid "" "Force write of file with filedescriptor *fd* to disk. On Unix, this calls " "the native :c:func:`fsync` function; on Windows, the MS :c:func:`_commit` " "function." msgstr "" -#: library/os.rst:971 +#: library/os.rst:976 msgid "" "If you're starting with a buffered Python :term:`file object` *f*, first do " "``f.flush()``, and then do ``os.fsync(f.fileno())``, to ensure that all " "internal buffers associated with *f* are written to disk." msgstr "" -#: library/os.rst:980 +#: library/os.rst:985 msgid "" "Truncate the file corresponding to file descriptor *fd*, so that it is at " "most *length* bytes in size. As of Python 3.3, this is equivalent to ``os." @@ -1074,27 +1081,27 @@ msgid "" "``fd``, ``length``." msgstr "" -#: library/os.rst:3138 +#: library/os.rst:3143 msgid "Added support for Windows" msgstr "" -#: library/os.rst:994 +#: library/os.rst:999 msgid "" "Get the blocking mode of the file descriptor: ``False`` if the :data:" "`O_NONBLOCK` flag is set, ``True`` if the flag is cleared." msgstr "" -#: library/os.rst:997 +#: library/os.rst:1002 msgid "See also :func:`set_blocking` and :meth:`socket.socket.setblocking`." msgstr "" -#: library/os.rst:1009 +#: library/os.rst:1014 msgid "" "Return ``True`` if the file descriptor *fd* is open and connected to a tty(-" "like) device, else ``False``." msgstr "" -#: library/os.rst:1015 +#: library/os.rst:1020 msgid "" "Apply, test or remove a POSIX lock on an open file descriptor. *fd* is an " "open file descriptor. *cmd* specifies the command to use - one of :data:" @@ -1108,18 +1115,18 @@ msgid "" "``fd``, ``cmd``, ``len``." msgstr "" -#: library/os.rst:1033 +#: library/os.rst:1038 msgid "Flags that specify what action :func:`lockf` will take." msgstr "" -#: library/os.rst:1042 +#: library/os.rst:1047 msgid "" "Prepare the tty of which fd is a file descriptor for a new login session. " "Make the calling process a session leader; make the tty the controlling tty, " "the stdin, the stdout, and the stderr of the calling process; close fd." msgstr "" -#: library/os.rst:1053 +#: library/os.rst:1058 msgid "" "Set the current position of file descriptor *fd* to position *pos*, modified " "by *how*: :const:`SEEK_SET` or ``0`` to set the position relative to the " @@ -1129,19 +1136,19 @@ msgid "" "beginning." msgstr "" -#: library/os.rst:1064 +#: library/os.rst:1069 msgid "" "Parameters to the :func:`lseek` function. Their values are 0, 1, and 2, " "respectively." msgstr "" -#: library/os.rst:1067 +#: library/os.rst:1072 msgid "" "Some operating systems could support additional values, like :data:`os." "SEEK_HOLE` or :data:`os.SEEK_DATA`." msgstr "" -#: library/os.rst:1074 +#: library/os.rst:1079 msgid "" "Open the file *path* and set various flags according to *flags* and possibly " "its mode according to *mode*. When computing *mode*, the current umask " @@ -1149,7 +1156,7 @@ msgid "" "file. The new file descriptor is :ref:`non-inheritable `." msgstr "" -#: library/os.rst:1079 +#: library/os.rst:1084 msgid "" "For a description of the flag and mode values, see the C run-time " "documentation; flag constants (like :const:`O_RDONLY` and :const:`O_WRONLY`) " @@ -1157,7 +1164,7 @@ msgid "" "const:`O_BINARY` is needed to open files in binary mode." msgstr "" -#: library/os.rst:1084 +#: library/os.rst:1089 msgid "" "This function can support :ref:`paths relative to directory descriptors " "` with the *dir_fd* parameter." @@ -1169,7 +1176,7 @@ msgid "" "``mode``, ``flags``." msgstr "" -#: library/os.rst:1094 +#: library/os.rst:1099 msgid "" "This function is intended for low-level I/O. For normal usage, use the " "built-in function :func:`open`, which returns a :term:`file object` with :" @@ -1177,26 +1184,26 @@ msgid "" "a file descriptor in a file object, use :func:`fdopen`." msgstr "" -#: library/os.rst:2141 library/os.rst:2231 library/os.rst:2343 +#: library/os.rst:2146 library/os.rst:2236 library/os.rst:2348 msgid "The *dir_fd* argument." msgstr "" -#: library/os.rst:1421 library/os.rst:4461 +#: library/os.rst:1426 library/os.rst:4466 msgid "" "If the system call is interrupted and the signal handler does not raise an " "exception, the function now retries the system call instead of raising an :" "exc:`InterruptedError` exception (see :pep:`475` for the rationale)." msgstr "" -#: library/os.rst:1803 library/os.rst:1866 library/os.rst:1952 -#: library/os.rst:2007 library/os.rst:2079 library/os.rst:2144 -#: library/os.rst:2212 library/os.rst:2275 library/os.rst:2365 -#: library/os.rst:2726 library/os.rst:3141 library/os.rst:3197 -#: library/os.rst:3357 library/os.rst:3720 library/os.rst:4226 +#: library/os.rst:1808 library/os.rst:1871 library/os.rst:1957 +#: library/os.rst:2012 library/os.rst:2084 library/os.rst:2149 +#: library/os.rst:2217 library/os.rst:2280 library/os.rst:2370 +#: library/os.rst:2731 library/os.rst:3146 library/os.rst:3202 +#: library/os.rst:3362 library/os.rst:3725 library/os.rst:4231 msgid "Accepts a :term:`path-like object`." msgstr "" -#: library/os.rst:1110 +#: library/os.rst:1115 msgid "" "The following constants are options for the *flags* parameter to the :func:" "`~os.open` function. They can be combined using the bitwise OR operator ``|" @@ -1206,45 +1213,45 @@ msgid "" "on Windows." msgstr "" -#: library/os.rst:1125 +#: library/os.rst:1130 msgid "The above constants are available on Unix and Windows." msgstr "" -#: library/os.rst:1136 +#: library/os.rst:1141 msgid "The above constants are only available on Unix." msgstr "" -#: library/os.rst:1138 +#: library/os.rst:1143 msgid "Add :data:`O_CLOEXEC` constant." msgstr "" -#: library/os.rst:1149 +#: library/os.rst:1154 msgid "The above constants are only available on Windows." msgstr "" -#: library/os.rst:1156 +#: library/os.rst:1161 msgid "The above constants are only available on macOS." msgstr "" -#: library/os.rst:1158 +#: library/os.rst:1163 msgid "" "Add :data:`O_EVTONLY`, :data:`O_FSYNC`, :data:`O_SYMLINK` and :data:" "`O_NOFOLLOW_ANY` constants." msgstr "" -#: library/os.rst:1172 +#: library/os.rst:1177 msgid "" "The above constants are extensions and not present if they are not defined " "by the C library." msgstr "" -#: library/os.rst:1175 +#: library/os.rst:1180 msgid "" "Add :data:`O_PATH` on systems that support it. Add :data:`O_TMPFILE`, only " "available on Linux Kernel 3.11 or newer." msgstr "" -#: library/os.rst:1185 +#: library/os.rst:1190 msgid "" "Open a new pseudo-terminal pair. Return a pair of file descriptors " "``(master, slave)`` for the pty and the tty, respectively. The new file " @@ -1252,18 +1259,18 @@ msgid "" "more portable approach, use the :mod:`pty` module." msgstr "" -#: library/os.rst:1204 +#: library/os.rst:1209 msgid "The new file descriptors are now non-inheritable." msgstr "" -#: library/os.rst:1198 +#: library/os.rst:1203 msgid "" "Create a pipe. Return a pair of file descriptors ``(r, w)`` usable for " "reading and writing, respectively. The new file descriptor is :ref:`non-" "inheritable `." msgstr "" -#: library/os.rst:1210 +#: library/os.rst:1215 msgid "" "Create a pipe with *flags* set atomically. *flags* can be constructed by " "ORing together one or more of these values: :data:`O_NONBLOCK`, :data:" @@ -1271,17 +1278,17 @@ msgid "" "and writing, respectively." msgstr "" -#: library/os.rst:1223 +#: library/os.rst:1228 msgid "" "Ensures that enough disk space is allocated for the file specified by *fd* " "starting from *offset* and continuing for *len* bytes." msgstr "" -#: library/os.rst:1226 +#: library/os.rst:1231 msgid ":ref:`Availability `: Unix, not Emscripten." msgstr "" -#: library/os.rst:1233 +#: library/os.rst:1238 msgid "" "Announces an intention to access data in a specific pattern thus allowing " "the kernel to make optimizations. The advice applies to the region of the " @@ -1292,25 +1299,25 @@ msgid "" "`POSIX_FADV_DONTNEED`." msgstr "" -#: library/os.rst:1253 +#: library/os.rst:1258 msgid "" "Flags that can be used in *advice* in :func:`posix_fadvise` that specify the " "access pattern that is likely to be used." msgstr "" -#: library/os.rst:1263 +#: library/os.rst:1268 msgid "" "Read at most *n* bytes from file descriptor *fd* at a position of *offset*, " "leaving the file offset unchanged." msgstr "" -#: library/os.rst:1410 +#: library/os.rst:1415 msgid "" "Return a bytestring containing the bytes read. If the end of the file " "referred to by *fd* has been reached, an empty bytes object is returned." msgstr "" -#: library/os.rst:1276 +#: library/os.rst:1281 msgid "" "Read from a file descriptor *fd* at a position of *offset* into mutable :" "term:`bytes-like objects ` *buffers*, leaving the file " @@ -1318,91 +1325,91 @@ msgid "" "move on to the next buffer in the sequence to hold the rest of the data." msgstr "" -#: library/os.rst:1351 +#: library/os.rst:1356 msgid "" "The flags argument contains a bitwise OR of zero or more of the following " "flags:" msgstr "" -#: library/os.rst:1284 +#: library/os.rst:1289 msgid ":data:`RWF_HIPRI`" msgstr "" -#: library/os.rst:1285 +#: library/os.rst:1290 msgid ":data:`RWF_NOWAIT`" msgstr "" -#: library/os.rst:1542 +#: library/os.rst:1547 msgid "" "Return the total number of bytes actually read which can be less than the " "total capacity of all the objects." msgstr "" -#: library/os.rst:1360 library/os.rst:1607 +#: library/os.rst:1365 library/os.rst:1612 msgid "" "The operating system may set a limit (:func:`sysconf` value " "``'SC_IOV_MAX'``) on the number of buffers that can be used." msgstr "" -#: library/os.rst:1293 +#: library/os.rst:1298 msgid "Combine the functionality of :func:`os.readv` and :func:`os.pread`." msgstr "" -#: library/os.rst:1365 +#: library/os.rst:1370 msgid "" ":ref:`Availability `: Linux >= 2.6.30, FreeBSD >= 6.0, OpenBSD " ">= 2.7, AIX >= 7.1." msgstr "" -#: library/os.rst:1367 +#: library/os.rst:1372 msgid "Using flags requires Linux >= 4.6." msgstr "" -#: library/os.rst:1304 +#: library/os.rst:1309 msgid "" "Do not wait for data which is not immediately available. If this flag is " "specified, the system call will return instantly if it would have to read " "data from the backing storage or wait for a lock." msgstr "" -#: library/os.rst:1308 +#: library/os.rst:1313 msgid "" "If some data was successfully read, it will return the number of bytes read. " "If no bytes were read, it will return ``-1`` and set errno to :data:`errno." "EAGAIN`." msgstr "" -#: library/os.rst:1312 +#: library/os.rst:1317 msgid ":ref:`Availability `: Linux >= 4.14." msgstr "" -#: library/os.rst:1319 +#: library/os.rst:1324 msgid "" "High priority read/write. Allows block-based filesystems to use polling of " "the device, which provides lower latency, but may use additional resources." msgstr "" -#: library/os.rst:1323 +#: library/os.rst:1328 msgid "" "Currently, on Linux, this feature is usable only on a file descriptor opened " "using the :data:`O_DIRECT` flag." msgstr "" -#: library/os.rst:1326 +#: library/os.rst:1331 msgid ":ref:`Availability `: Linux >= 4.6." msgstr "" -#: library/os.rst:1333 +#: library/os.rst:1338 msgid "" "Write the bytestring in *str* to file descriptor *fd* at position of " "*offset*, leaving the file offset unchanged." msgstr "" -#: library/os.rst:1582 +#: library/os.rst:1587 msgid "Return the number of bytes actually written." msgstr "" -#: library/os.rst:1345 +#: library/os.rst:1350 msgid "" "Write the *buffers* contents to file descriptor *fd* at a offset *offset*, " "leaving the file offset unchanged. *buffers* must be a sequence of :term:" @@ -1411,43 +1418,43 @@ msgid "" "the second, and so on." msgstr "" -#: library/os.rst:1354 +#: library/os.rst:1359 msgid ":data:`RWF_DSYNC`" msgstr "" -#: library/os.rst:1355 +#: library/os.rst:1360 msgid ":data:`RWF_SYNC`" msgstr "" -#: library/os.rst:1356 +#: library/os.rst:1361 msgid ":data:`RWF_APPEND`" msgstr "" -#: library/os.rst:1358 +#: library/os.rst:1363 msgid "Return the total number of bytes actually written." msgstr "" -#: library/os.rst:1363 +#: library/os.rst:1368 msgid "Combine the functionality of :func:`os.writev` and :func:`os.pwrite`." msgstr "" -#: library/os.rst:1374 +#: library/os.rst:1379 msgid "" "Provide a per-write equivalent of the :data:`O_DSYNC` :func:`os.open` flag. " "This flag effect applies only to the data range written by the system call." msgstr "" -#: library/os.rst:1387 +#: library/os.rst:1392 msgid ":ref:`Availability `: Linux >= 4.7." msgstr "" -#: library/os.rst:1384 +#: library/os.rst:1389 msgid "" "Provide a per-write equivalent of the :data:`O_SYNC` :func:`os.open` flag. " "This flag effect applies only to the data range written by the system call." msgstr "" -#: library/os.rst:1394 +#: library/os.rst:1399 msgid "" "Provide a per-write equivalent of the :data:`O_APPEND` :func:`os.open` flag. " "This flag is meaningful only for :func:`os.pwritev`, and its effect applies " @@ -1457,15 +1464,15 @@ msgid "" "*offset* is updated." msgstr "" -#: library/os.rst:1401 +#: library/os.rst:1406 msgid ":ref:`Availability `: Linux >= 4.16." msgstr "" -#: library/os.rst:1408 +#: library/os.rst:1413 msgid "Read at most *n* bytes from file descriptor *fd*." msgstr "" -#: library/os.rst:1415 +#: library/os.rst:1420 msgid "" "This function is intended for low-level I/O and must be applied to a file " "descriptor as returned by :func:`os.open` or :func:`pipe`. To read a \"file " @@ -1474,26 +1481,26 @@ msgid "" "`~file.readline` methods." msgstr "" -#: library/os.rst:1430 +#: library/os.rst:1435 msgid "" "Copy *count* bytes from file descriptor *in_fd* to file descriptor *out_fd* " "starting at *offset*. Return the number of bytes sent. When EOF is reached " "return ``0``." msgstr "" -#: library/os.rst:1434 +#: library/os.rst:1439 msgid "" "The first function notation is supported by all platforms that define :func:" "`sendfile`." msgstr "" -#: library/os.rst:1437 +#: library/os.rst:1442 msgid "" "On Linux, if *offset* is given as ``None``, the bytes are read from the " "current position of *in_fd* and the position of *in_fd* is updated." msgstr "" -#: library/os.rst:1440 +#: library/os.rst:1445 msgid "" "The second case may be used on macOS and FreeBSD where *headers* and " "*trailers* are arbitrary sequences of buffers that are written before and " @@ -1501,58 +1508,58 @@ msgid "" "case." msgstr "" -#: library/os.rst:1444 +#: library/os.rst:1449 msgid "" "On macOS and FreeBSD, a value of ``0`` for *count* specifies to send until " "the end of *in_fd* is reached." msgstr "" -#: library/os.rst:1447 +#: library/os.rst:1452 msgid "" "All platforms support sockets as *out_fd* file descriptor, and some " "platforms allow other types (e.g. regular file, pipe) as well." msgstr "" -#: library/os.rst:1450 +#: library/os.rst:1455 msgid "" "Cross-platform applications should not use *headers*, *trailers* and *flags* " "arguments." msgstr "" -#: library/os.rst:1457 +#: library/os.rst:1462 msgid "" "For a higher-level wrapper of :func:`sendfile`, see :meth:`socket.socket." "sendfile`." msgstr "" -#: library/os.rst:1462 +#: library/os.rst:1467 msgid "Parameters *out* and *in* was renamed to *out_fd* and *in_fd*." msgstr "" -#: library/os.rst:1468 +#: library/os.rst:1473 msgid "" "Set the blocking mode of the specified file descriptor. Set the :data:" "`O_NONBLOCK` flag if blocking is ``False``, clear the flag otherwise." msgstr "" -#: library/os.rst:1471 +#: library/os.rst:1476 msgid "See also :func:`get_blocking` and :meth:`socket.socket.setblocking`." msgstr "" -#: library/os.rst:1485 +#: library/os.rst:1490 msgid "" "Parameters to the :func:`sendfile` function, if the implementation supports " "them." msgstr "" -#: library/os.rst:1494 +#: library/os.rst:1499 msgid "" "Parameter to the :func:`sendfile` function, if the implementation supports " "it. The data won't be cached in the virtual memory and will be freed " "afterwards." msgstr "" -#: library/os.rst:1504 +#: library/os.rst:1509 msgid "" "Transfer *count* bytes from file descriptor *src*, starting from offset " "*offset_src*, to file descriptor *dst*, starting from offset *offset_dst*. " @@ -1564,7 +1571,7 @@ msgid "" "`~OSError.errno` set to :data:`errno.EXDEV`." msgstr "" -#: library/os.rst:1518 +#: library/os.rst:1523 msgid "" "Upon successful completion, returns the number of bytes spliced to or from " "the pipe. A return value of 0 means end of input. If *src* refers to a pipe, " @@ -1573,11 +1580,11 @@ msgid "" "the pipe." msgstr "" -#: library/os.rst:1524 +#: library/os.rst:1529 msgid ":ref:`Availability `: Linux >= 2.6.17 with glibc >= 2.5" msgstr "" -#: library/os.rst:1537 +#: library/os.rst:1542 msgid "" "Read from a file descriptor *fd* into a number of mutable :term:`bytes-like " "objects ` *buffers*. Transfer data into each buffer until " @@ -1585,34 +1592,34 @@ msgid "" "rest of the data." msgstr "" -#: library/os.rst:1555 +#: library/os.rst:1560 msgid "" "Return the process group associated with the terminal given by *fd* (an open " "file descriptor as returned by :func:`os.open`)." msgstr "" -#: library/os.rst:1566 +#: library/os.rst:1571 msgid ":ref:`Availability `: Unix, not WASI." msgstr "" -#: library/os.rst:1563 +#: library/os.rst:1568 msgid "" "Set the process group associated with the terminal given by *fd* (an open " "file descriptor as returned by :func:`os.open`) to *pg*." msgstr "" -#: library/os.rst:1571 +#: library/os.rst:1576 msgid "" "Return a string which specifies the terminal device associated with file " "descriptor *fd*. If *fd* is not associated with a terminal device, an " "exception is raised." msgstr "" -#: library/os.rst:1580 +#: library/os.rst:1585 msgid "Write the bytestring in *str* to file descriptor *fd*." msgstr "" -#: library/os.rst:1586 +#: library/os.rst:1591 msgid "" "This function is intended for low-level I/O and must be applied to a file " "descriptor as returned by :func:`os.open` or :func:`pipe`. To write a " @@ -1621,7 +1628,7 @@ msgid "" "its :meth:`~file.write` method." msgstr "" -#: library/os.rst:1600 +#: library/os.rst:1605 msgid "" "Write the contents of *buffers* to file descriptor *fd*. *buffers* must be a " "sequence of :term:`bytes-like objects `. Buffers are " @@ -1629,70 +1636,70 @@ msgid "" "before proceeding to the second, and so on." msgstr "" -#: library/os.rst:1605 +#: library/os.rst:1610 msgid "Returns the total number of bytes actually written." msgstr "" -#: library/os.rst:1618 +#: library/os.rst:1623 msgid "Querying the size of a terminal" msgstr "" -#: library/os.rst:1624 +#: library/os.rst:1629 msgid "" "Return the size of the terminal window as ``(columns, lines)``, tuple of " "type :class:`terminal_size`." msgstr "" -#: library/os.rst:1627 +#: library/os.rst:1632 msgid "" "The optional argument ``fd`` (default ``STDOUT_FILENO``, or standard output) " "specifies which file descriptor should be queried." msgstr "" -#: library/os.rst:1630 +#: library/os.rst:1635 msgid "" "If the file descriptor is not connected to a terminal, an :exc:`OSError` is " "raised." msgstr "" -#: library/os.rst:1633 +#: library/os.rst:1638 msgid "" ":func:`shutil.get_terminal_size` is the high-level function which should " "normally be used, ``os.get_terminal_size`` is the low-level implementation." msgstr "" -#: library/os.rst:1641 +#: library/os.rst:1646 msgid "" "A subclass of tuple, holding ``(columns, lines)`` of the terminal window " "size." msgstr "" -#: library/os.rst:1645 +#: library/os.rst:1650 msgid "Width of the terminal window in characters." msgstr "" -#: library/os.rst:1649 +#: library/os.rst:1654 msgid "Height of the terminal window in characters." msgstr "" -#: library/os.rst:1655 +#: library/os.rst:1660 msgid "Inheritance of File Descriptors" msgstr "" -#: library/os.rst:1659 +#: library/os.rst:1664 msgid "" "A file descriptor has an \"inheritable\" flag which indicates if the file " "descriptor can be inherited by child processes. Since Python 3.4, file " "descriptors created by Python are non-inheritable by default." msgstr "" -#: library/os.rst:1663 +#: library/os.rst:1668 msgid "" "On UNIX, non-inheritable file descriptors are closed in child processes at " "the execution of a new program, other file descriptors are inherited." msgstr "" -#: library/os.rst:1666 +#: library/os.rst:1671 msgid "" "On Windows, non-inheritable handles and file descriptors are closed in child " "processes, except for standard streams (file descriptors 0, 1 and 2: stdin, " @@ -1703,44 +1710,44 @@ msgid "" "only inherited if the *close_fds* parameter is ``False``." msgstr "" -#: library/os.rst:1674 +#: library/os.rst:1679 msgid "" "On WebAssembly platforms ``wasm32-emscripten`` and ``wasm32-wasi``, the file " "descriptor cannot be modified." msgstr "" -#: library/os.rst:1679 +#: library/os.rst:1684 msgid "" "Get the \"inheritable\" flag of the specified file descriptor (a boolean)." msgstr "" -#: library/os.rst:1683 +#: library/os.rst:1688 msgid "Set the \"inheritable\" flag of the specified file descriptor." msgstr "" -#: library/os.rst:1687 +#: library/os.rst:1692 msgid "Get the \"inheritable\" flag of the specified handle (a boolean)." msgstr "" -#: library/os.rst:1695 library/os.rst:4261 library/os.rst:4306 +#: library/os.rst:1700 library/os.rst:4266 library/os.rst:4311 msgid ":ref:`Availability `: Windows." msgstr "" -#: library/os.rst:1693 +#: library/os.rst:1698 msgid "Set the \"inheritable\" flag of the specified handle." msgstr "" -#: library/os.rst:1701 +#: library/os.rst:1706 msgid "Files and Directories" msgstr "" -#: library/os.rst:1703 +#: library/os.rst:1708 msgid "" "On some Unix platforms, many of these functions support one or more of these " "features:" msgstr "" -#: library/os.rst:1708 +#: library/os.rst:1713 msgid "" "**specifying a file descriptor:** Normally the *path* argument provided to " "functions in the :mod:`os` module must be a string specifying a file path. " @@ -1751,7 +1758,7 @@ msgid "" "``chdir``).)" msgstr "" -#: library/os.rst:1716 +#: library/os.rst:1721 msgid "" "You can check whether or not *path* can be specified as a file descriptor " "for a particular function on your platform using :data:`os.supports_fd`. If " @@ -1759,13 +1766,13 @@ msgid "" "`NotImplementedError`." msgstr "" -#: library/os.rst:1721 +#: library/os.rst:1726 msgid "" "If the function also supports *dir_fd* or *follow_symlinks* arguments, it's " "an error to specify one of those when supplying *path* as a file descriptor." msgstr "" -#: library/os.rst:1726 +#: library/os.rst:1731 msgid "" "**paths relative to directory descriptors:** If *dir_fd* is not ``None``, it " "should be a file descriptor referring to a directory, and the path to " @@ -1776,14 +1783,14 @@ msgid "" "``access``)." msgstr "" -#: library/os.rst:1733 +#: library/os.rst:1738 msgid "" "You can check whether or not *dir_fd* is supported for a particular function " "on your platform using :data:`os.supports_dir_fd`. If it's unavailable, " "using it will raise a :exc:`NotImplementedError`." msgstr "" -#: library/os.rst:1739 +#: library/os.rst:1744 msgid "" "**not following symlinks:** If *follow_symlinks* is ``False``, and the last " "element of the path to operate on is a symbolic link, the function will " @@ -1792,14 +1799,14 @@ msgid "" "function.)" msgstr "" -#: library/os.rst:1745 +#: library/os.rst:1750 msgid "" "You can check whether or not *follow_symlinks* is supported for a particular " "function on your platform using :data:`os.supports_follow_symlinks`. If it's " "unavailable, using it will raise a :exc:`NotImplementedError`." msgstr "" -#: library/os.rst:1753 +#: library/os.rst:1758 msgid "" "Use the real uid/gid to test for access to *path*. Note that most " "operations will use the effective uid/gid, therefore this routine can be " @@ -1811,13 +1818,13 @@ msgid "" "manpage:`access(2)` for more information." msgstr "" -#: library/os.rst:1762 +#: library/os.rst:1767 msgid "" "This function can support specifying :ref:`paths relative to directory " "descriptors ` and :ref:`not following symlinks `." msgstr "" -#: library/os.rst:1765 +#: library/os.rst:1770 msgid "" "If *effective_ids* is ``True``, :func:`access` will perform its access " "checks using the effective uid/gid instead of the real uid/gid. " @@ -1826,7 +1833,7 @@ msgid "" "unavailable, using it will raise a :exc:`NotImplementedError`." msgstr "" -#: library/os.rst:1773 +#: library/os.rst:1778 msgid "" "Using :func:`access` to check if a user is authorized to e.g. open a file " "before actually doing so using :func:`open` creates a security hole, because " @@ -1835,39 +1842,39 @@ msgid "" "For example::" msgstr "" -#: library/os.rst:1784 +#: library/os.rst:1789 msgid "is better written as::" msgstr "" -#: library/os.rst:1796 +#: library/os.rst:1801 msgid "" "I/O operations may fail even when :func:`access` indicates that they would " "succeed, particularly for operations on network filesystems which may have " "permissions semantics beyond the usual POSIX permission-bit model." msgstr "" -#: library/os.rst:1800 +#: library/os.rst:1805 msgid "Added the *dir_fd*, *effective_ids*, and *follow_symlinks* parameters." msgstr "" -#: library/os.rst:1812 +#: library/os.rst:1817 msgid "" "Values to pass as the *mode* parameter of :func:`access` to test the " "existence, readability, writability and executability of *path*, " "respectively." msgstr "" -#: library/os.rst:1821 +#: library/os.rst:1826 msgid "Change the current working directory to *path*." msgstr "" -#: library/os.rst:1823 +#: library/os.rst:1828 msgid "" "This function can support :ref:`specifying a file descriptor `. " "The descriptor must refer to an opened directory, not an open file." msgstr "" -#: library/os.rst:1826 +#: library/os.rst:1831 msgid "" "This function can raise :exc:`OSError` and subclasses such as :exc:" "`FileNotFoundError`, :exc:`PermissionError`, and :exc:`NotADirectoryError`." @@ -1879,67 +1886,67 @@ msgid "" "``path``." msgstr "" -#: library/os.rst:1831 +#: library/os.rst:1836 msgid "" "Added support for specifying *path* as a file descriptor on some platforms." msgstr "" -#: library/os.rst:1841 +#: library/os.rst:1846 msgid "" "Set the flags of *path* to the numeric *flags*. *flags* may take a " "combination (bitwise OR) of the following values (as defined in the :mod:" "`stat` module):" msgstr "" -#: library/os.rst:1844 +#: library/os.rst:1849 msgid ":data:`stat.UF_NODUMP`" msgstr "" -#: library/os.rst:1845 +#: library/os.rst:1850 msgid ":data:`stat.UF_IMMUTABLE`" msgstr "" -#: library/os.rst:1846 +#: library/os.rst:1851 msgid ":data:`stat.UF_APPEND`" msgstr "" -#: library/os.rst:1847 +#: library/os.rst:1852 msgid ":data:`stat.UF_OPAQUE`" msgstr "" -#: library/os.rst:1848 +#: library/os.rst:1853 msgid ":data:`stat.UF_NOUNLINK`" msgstr "" -#: library/os.rst:1849 +#: library/os.rst:1854 msgid ":data:`stat.UF_COMPRESSED`" msgstr "" -#: library/os.rst:1850 +#: library/os.rst:1855 msgid ":data:`stat.UF_HIDDEN`" msgstr "" -#: library/os.rst:1851 +#: library/os.rst:1856 msgid ":data:`stat.SF_ARCHIVED`" msgstr "" -#: library/os.rst:1852 +#: library/os.rst:1857 msgid ":data:`stat.SF_IMMUTABLE`" msgstr "" -#: library/os.rst:1853 +#: library/os.rst:1858 msgid ":data:`stat.SF_APPEND`" msgstr "" -#: library/os.rst:1854 +#: library/os.rst:1859 msgid ":data:`stat.SF_NOUNLINK`" msgstr "" -#: library/os.rst:1855 +#: library/os.rst:1860 msgid ":data:`stat.SF_SNAPSHOT`" msgstr "" -#: library/os.rst:1857 +#: library/os.rst:1862 msgid "" "This function can support :ref:`not following symlinks `." msgstr "" @@ -1950,163 +1957,163 @@ msgid "" "``path``, ``flags``." msgstr "" -#: library/os.rst:1863 +#: library/os.rst:1868 msgid "The *follow_symlinks* argument." msgstr "" -#: library/os.rst:1872 +#: library/os.rst:1877 msgid "" "Change the mode of *path* to the numeric *mode*. *mode* may take one of the " "following values (as defined in the :mod:`stat` module) or bitwise ORed " "combinations of them:" msgstr "" -#: library/os.rst:1876 +#: library/os.rst:1881 msgid ":data:`stat.S_ISUID`" msgstr "" -#: library/os.rst:1877 +#: library/os.rst:1882 msgid ":data:`stat.S_ISGID`" msgstr "" -#: library/os.rst:1878 +#: library/os.rst:1883 msgid ":data:`stat.S_ENFMT`" msgstr "" -#: library/os.rst:1879 +#: library/os.rst:1884 msgid ":data:`stat.S_ISVTX`" msgstr "" -#: library/os.rst:1880 +#: library/os.rst:1885 msgid ":data:`stat.S_IREAD`" msgstr "" -#: library/os.rst:1881 +#: library/os.rst:1886 msgid ":data:`stat.S_IWRITE`" msgstr "" -#: library/os.rst:1882 +#: library/os.rst:1887 msgid ":data:`stat.S_IEXEC`" msgstr "" -#: library/os.rst:1883 +#: library/os.rst:1888 msgid ":data:`stat.S_IRWXU`" msgstr "" -#: library/os.rst:1884 +#: library/os.rst:1889 msgid ":data:`stat.S_IRUSR`" msgstr "" -#: library/os.rst:1885 +#: library/os.rst:1890 msgid ":data:`stat.S_IWUSR`" msgstr "" -#: library/os.rst:1886 +#: library/os.rst:1891 msgid ":data:`stat.S_IXUSR`" msgstr "" -#: library/os.rst:1887 +#: library/os.rst:1892 msgid ":data:`stat.S_IRWXG`" msgstr "" -#: library/os.rst:1888 +#: library/os.rst:1893 msgid ":data:`stat.S_IRGRP`" msgstr "" -#: library/os.rst:1889 +#: library/os.rst:1894 msgid ":data:`stat.S_IWGRP`" msgstr "" -#: library/os.rst:1890 +#: library/os.rst:1895 msgid ":data:`stat.S_IXGRP`" msgstr "" -#: library/os.rst:1891 +#: library/os.rst:1896 msgid ":data:`stat.S_IRWXO`" msgstr "" -#: library/os.rst:1892 +#: library/os.rst:1897 msgid ":data:`stat.S_IROTH`" msgstr "" -#: library/os.rst:1893 +#: library/os.rst:1898 msgid ":data:`stat.S_IWOTH`" msgstr "" -#: library/os.rst:1894 +#: library/os.rst:1899 msgid ":data:`stat.S_IXOTH`" msgstr "" -#: library/os.rst:1924 library/os.rst:3187 +#: library/os.rst:1929 library/os.rst:3192 msgid "" "This function can support :ref:`specifying a file descriptor `, :" "ref:`paths relative to directory descriptors ` and :ref:`not " "following symlinks `." msgstr "" -#: library/os.rst:1902 +#: library/os.rst:1907 msgid "" "Although Windows supports :func:`chmod`, you can only set the file's read-" "only flag with it (via the ``stat.S_IWRITE`` and ``stat.S_IREAD`` constants " "or a corresponding integer value). All other bits are ignored." msgstr "" -#: library/os.rst:1938 +#: library/os.rst:1943 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd* and *follow_symlinks* arguments." msgstr "" -#: library/os.rst:1921 +#: library/os.rst:1926 msgid "" "Change the owner and group id of *path* to the numeric *uid* and *gid*. To " "leave one of the ids unchanged, set it to -1." msgstr "" -#: library/os.rst:1928 +#: library/os.rst:1933 msgid "" "See :func:`shutil.chown` for a higher-level function that accepts names in " "addition to numeric ids." msgstr "" -#: library/os.rst:1942 +#: library/os.rst:1947 msgid "Supports a :term:`path-like object`." msgstr "" -#: library/os.rst:1948 +#: library/os.rst:1953 msgid "Change the root directory of the current process to *path*." msgstr "" -#: library/os.rst:1958 +#: library/os.rst:1963 msgid "" "Change the current working directory to the directory represented by the " "file descriptor *fd*. The descriptor must refer to an opened directory, not " "an open file. As of Python 3.3, this is equivalent to ``os.chdir(fd)``." msgstr "" -#: library/os.rst:1969 +#: library/os.rst:1974 msgid "Return a string representing the current working directory." msgstr "" -#: library/os.rst:1974 +#: library/os.rst:1979 msgid "Return a bytestring representing the current working directory." msgstr "" -#: library/os.rst:1976 +#: library/os.rst:1981 msgid "" "The function now uses the UTF-8 encoding on Windows, rather than the ANSI " "code page: see :pep:`529` for the rationale. The function is no longer " "deprecated on Windows." msgstr "" -#: library/os.rst:1984 +#: library/os.rst:1989 msgid "" "Set the flags of *path* to the numeric *flags*, like :func:`chflags`, but do " "not follow symbolic links. As of Python 3.3, this is equivalent to ``os." "chflags(path, flags, follow_symlinks=False)``." msgstr "" -#: library/os.rst:1998 +#: library/os.rst:2003 msgid "" "Change the mode of *path* to the numeric *mode*. If path is a symlink, this " "affects the symlink rather than the target. See the docs for :func:`chmod` " @@ -2114,18 +2121,18 @@ msgid "" "chmod(path, mode, follow_symlinks=False)``." msgstr "" -#: library/os.rst:2012 +#: library/os.rst:2017 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:2026 +#: library/os.rst:2031 msgid "Create a hard link pointing to *src* named *dst*." msgstr "" -#: library/os.rst:2028 +#: library/os.rst:2033 msgid "" "This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to " "supply :ref:`paths relative to directory descriptors `, and :ref:" @@ -2138,19 +2145,19 @@ msgid "" "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: library/os.rst:2036 +#: library/os.rst:2041 msgid "Added Windows support." msgstr "" -#: library/os.rst:2039 +#: library/os.rst:2044 msgid "Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* arguments." msgstr "" -#: library/os.rst:2397 library/os.rst:3109 +#: library/os.rst:2402 library/os.rst:3114 msgid "Accepts a :term:`path-like object` for *src* and *dst*." msgstr "" -#: library/os.rst:2048 +#: library/os.rst:2053 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 " @@ -2159,7 +2166,7 @@ msgid "" "function, whether a name for that file be included is unspecified." msgstr "" -#: library/os.rst:2054 +#: library/os.rst:2059 msgid "" "*path* may be a :term:`path-like object`. If *path* is of type ``bytes`` " "(directly or indirectly through the :class:`PathLike` interface), the " @@ -2167,7 +2174,7 @@ msgid "" "circumstances, they will be of type ``str``." msgstr "" -#: library/os.rst:2482 +#: library/os.rst:2487 msgid "" "This function can also support :ref:`specifying a file descriptor " "`; the file descriptor must refer to a directory." @@ -2179,58 +2186,58 @@ msgid "" "``path``." msgstr "" -#: library/os.rst:2065 +#: library/os.rst:2070 msgid "To encode ``str`` filenames to ``bytes``, use :func:`~os.fsencode`." msgstr "" -#: library/os.rst:2069 +#: library/os.rst:2074 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:2073 +#: library/os.rst:2078 msgid "The *path* parameter became optional." msgstr "" -#: library/os.rst:2968 +#: library/os.rst:2973 msgid "Added support for specifying *path* as an open file descriptor." msgstr "" -#: library/os.rst:2085 +#: library/os.rst:2090 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:2089 +#: library/os.rst:2094 msgid "" "On platforms that do not support symbolic links, this is an alias for :func:" "`~os.stat`." msgstr "" -#: library/os.rst:2092 +#: library/os.rst:2097 msgid "" "As of Python 3.3, this is equivalent to ``os.stat(path, dir_fd=dir_fd, " "follow_symlinks=False)``." msgstr "" -#: library/os.rst:2133 library/os.rst:2226 library/os.rst:2300 +#: library/os.rst:2138 library/os.rst:2231 library/os.rst:2305 msgid "" "This function can also support :ref:`paths relative to directory descriptors " "`." msgstr "" -#: library/os.rst:2309 library/os.rst:3102 +#: library/os.rst:2314 library/os.rst:3107 msgid "Added support for Windows 6.0 (Vista) symbolic links." msgstr "" -#: library/os.rst:2105 +#: library/os.rst:2110 msgid "Added the *dir_fd* parameter." msgstr "" -#: library/os.rst:2111 +#: library/os.rst:2116 msgid "" "On Windows, now opens reparse points that represent another path (name " "surrogates), including symbolic links and directory junctions. Other kinds " @@ -2238,18 +2245,18 @@ msgid "" "stat`." msgstr "" -#: library/os.rst:2120 +#: library/os.rst:2125 msgid "Create a directory named *path* with numeric mode *mode*." msgstr "" -#: library/os.rst:2122 +#: library/os.rst:2127 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:2127 +#: library/os.rst:2132 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 " @@ -2258,7 +2265,7 @@ msgid "" "call :func:`chmod` explicitly to set them." msgstr "" -#: library/os.rst:2136 +#: library/os.rst:2141 msgid "" "It is also possible to create temporary directories; see the :mod:`tempfile` " "module's :func:`tempfile.mkdtemp` function." @@ -2270,13 +2277,13 @@ msgid "" "``path``, ``mode``, ``dir_fd``." msgstr "" -#: library/os.rst:2154 +#: library/os.rst:2159 msgid "" "Recursive directory creation function. Like :func:`mkdir`, but makes all " "intermediate-level directories needed to contain the leaf directory." msgstr "" -#: library/os.rst:2157 +#: library/os.rst:2162 msgid "" "The *mode* parameter is passed to :func:`mkdir` for creating the leaf " "directory; see :ref:`the mkdir() description ` for how it is " @@ -2285,27 +2292,27 @@ msgid "" "file permission bits of existing parent directories are not changed." msgstr "" -#: library/os.rst:2163 +#: library/os.rst:2168 msgid "" "If *exist_ok* is ``False`` (the default), a :exc:`FileExistsError` is raised " "if the target directory already exists." msgstr "" -#: library/os.rst:2168 +#: library/os.rst:2173 msgid "" ":func:`makedirs` will become confused if the path elements to create " "include :data:`pardir` (eg. \"..\" on UNIX systems)." msgstr "" -#: library/os.rst:2171 +#: library/os.rst:2176 msgid "This function handles UNC paths correctly." msgstr "" -#: library/os.rst:2175 +#: library/os.rst:2180 msgid "The *exist_ok* parameter." msgstr "" -#: library/os.rst:2180 +#: library/os.rst:2185 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 " @@ -2313,19 +2320,19 @@ msgid "" "safely, it was removed in Python 3.4.1. See :issue:`21082`." msgstr "" -#: library/os.rst:2188 +#: library/os.rst:2193 msgid "" "The *mode* argument no longer affects the file permission bits of newly " "created intermediate-level directories." msgstr "" -#: library/os.rst:2195 +#: library/os.rst:2200 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:2201 +#: library/os.rst:2206 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 " @@ -2335,7 +2342,7 @@ msgid "" "rendezvous point." msgstr "" -#: library/os.rst:2218 +#: library/os.rst:2223 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 " @@ -2346,23 +2353,23 @@ msgid "" "`os.makedev`), otherwise it is ignored." msgstr "" -#: library/os.rst:2240 +#: library/os.rst:2245 msgid "" "Extract the device major number from a raw device number (usually the :attr:" "`st_dev` or :attr:`st_rdev` field from :c:type:`stat`)." msgstr "" -#: library/os.rst:2246 +#: library/os.rst:2251 msgid "" "Extract the device minor number from a raw device number (usually the :attr:" "`st_dev` or :attr:`st_rdev` field from :c:type:`stat`)." msgstr "" -#: library/os.rst:2252 +#: library/os.rst:2257 msgid "Compose a raw device number from the major and minor device numbers." msgstr "" -#: library/os.rst:2257 +#: library/os.rst:2262 msgid "" "Return system configuration information relevant to a named file. *name* " "specifies the configuration value to retrieve; it may be a string which is " @@ -2373,19 +2380,19 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:2961 library/os.rst:3130 +#: library/os.rst:2966 library/os.rst:3135 msgid "" "This function can support :ref:`specifying a file descriptor `." msgstr "" -#: library/os.rst:2281 +#: library/os.rst:2286 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:2290 +#: library/os.rst:2295 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 " @@ -2393,7 +2400,7 @@ msgid "" "join(os.path.dirname(path), result)``." msgstr "" -#: library/os.rst:2295 +#: library/os.rst:2300 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 " @@ -2401,41 +2408,41 @@ msgid "" "indirectly), the result will be a bytes object." msgstr "" -#: library/os.rst:2303 +#: library/os.rst:2308 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:2315 +#: library/os.rst:2320 msgid "Accepts a :term:`path-like object` on Unix." msgstr "" -#: library/os.rst:2318 +#: library/os.rst:2323 msgid "Accepts a :term:`path-like object` and a bytes object on Windows." msgstr "" -#: library/os.rst:2321 +#: library/os.rst:2326 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:2328 +#: library/os.rst:2333 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:2445 library/os.rst:3081 +#: library/os.rst:2450 library/os.rst:3086 msgid "" "This function can support :ref:`paths relative to directory descriptors " "`." msgstr "" -#: library/os.rst:2335 +#: library/os.rst:2340 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 " @@ -2443,7 +2450,7 @@ msgid "" "longer in use." msgstr "" -#: library/os.rst:2339 +#: library/os.rst:2344 msgid "This function is semantically identical to :func:`unlink`." msgstr "" @@ -2453,7 +2460,7 @@ msgid "" "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:2354 +#: library/os.rst:2359 msgid "" "Remove directories recursively. Works like :func:`rmdir` except that, if " "the leaf directory is successfully removed, :func:`removedirs` tries to " @@ -2465,20 +2472,20 @@ msgid "" "could not be successfully removed." msgstr "" -#: library/os.rst:2371 +#: library/os.rst:2376 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:2374 +#: library/os.rst:2379 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:2378 +#: library/os.rst:2383 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 " @@ -2490,13 +2497,13 @@ msgid "" "operation (this is a POSIX requirement)." msgstr "" -#: library/os.rst:2427 +#: library/os.rst:2432 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:2390 +#: library/os.rst:2395 msgid "" "If you want cross-platform overwriting of the destination, use :func:" "`replace`." @@ -2508,11 +2515,11 @@ msgid "" "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: library/os.rst:2394 +#: library/os.rst:2399 msgid "The *src_dir_fd* and *dst_dir_fd* arguments." msgstr "" -#: library/os.rst:2403 +#: library/os.rst:2408 msgid "" "Recursive directory or file renaming function. Works like :func:`rename`, " "except creation of any intermediate directories needed to make the new " @@ -2521,17 +2528,17 @@ msgid "" "using :func:`removedirs`." msgstr "" -#: library/os.rst:2410 +#: library/os.rst:2415 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:2415 +#: library/os.rst:2420 msgid "Accepts a :term:`path-like object` for *old* and *new*." msgstr "" -#: library/os.rst:2421 +#: library/os.rst:2426 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 " @@ -2540,7 +2547,7 @@ msgid "" "renaming will be an atomic operation (this is a POSIX requirement)." msgstr "" -#: library/os.rst:2440 +#: library/os.rst:2445 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 " @@ -2554,11 +2561,11 @@ msgid "" "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:3154 +#: library/os.rst:3159 msgid "The *dir_fd* parameter." msgstr "" -#: library/os.rst:2459 +#: library/os.rst:2464 msgid "" "Return an iterator of :class:`os.DirEntry` objects corresponding to the " "entries in the directory given by *path*. The entries are yielded in " @@ -2568,7 +2575,7 @@ msgid "" "unspecified." msgstr "" -#: library/os.rst:2466 +#: library/os.rst:2471 msgid "" "Using :func:`scandir` instead of :func:`listdir` can significantly increase " "the performance of code that also needs file type or file attribute " @@ -2580,7 +2587,7 @@ msgid "" "Unix but only requires one for symbolic links on Windows." msgstr "" -#: library/os.rst:2476 +#: library/os.rst:2481 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 " @@ -2595,24 +2602,24 @@ msgid "" "``path``." msgstr "" -#: library/os.rst:2487 +#: library/os.rst:2492 msgid "" "The :func:`scandir` iterator supports the :term:`context manager` protocol " "and has the following method:" msgstr "" -#: library/os.rst:2492 +#: library/os.rst:2497 msgid "Close the iterator and free acquired resources." msgstr "" -#: library/os.rst:2494 +#: library/os.rst:2499 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:2501 +#: library/os.rst:2506 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 " @@ -2620,7 +2627,7 @@ msgid "" "system call::" msgstr "" -#: library/os.rst:2513 +#: library/os.rst:2518 msgid "" "On Unix-based systems, :func:`scandir` uses the system's `opendir() `_ and " @@ -2631,7 +2638,7 @@ msgid "" "desktop/aa364428(v=vs.85).aspx>`_ functions." msgstr "" -#: library/os.rst:2525 +#: library/os.rst:2530 msgid "" "Added support for the :term:`context manager` protocol and the :func:" "`~scandir.close()` method. If a :func:`scandir` iterator is neither " @@ -2639,28 +2646,28 @@ msgid "" "its destructor." msgstr "" -#: library/os.rst:2531 +#: library/os.rst:2536 msgid "The function accepts a :term:`path-like object`." msgstr "" -#: library/os.rst:2533 +#: library/os.rst:2538 msgid "Added support for :ref:`file descriptors ` on Unix." msgstr "" -#: library/os.rst:2539 +#: library/os.rst:2544 msgid "" "Object yielded by :func:`scandir` to expose the file path and other file " "attributes of a directory entry." msgstr "" -#: library/os.rst:2542 +#: library/os.rst:2547 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:2546 +#: library/os.rst:2551 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 " @@ -2668,7 +2675,7 @@ msgid "" "up-to-date information." msgstr "" -#: library/os.rst:2551 +#: library/os.rst:2556 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 " @@ -2676,29 +2683,29 @@ msgid "" "methods and handle as appropriate." msgstr "" -#: library/os.rst:2556 +#: library/os.rst:2561 msgid "" "To be directly usable as a :term:`path-like object`, ``os.DirEntry`` " "implements the :class:`PathLike` interface." msgstr "" -#: library/os.rst:2559 +#: library/os.rst:2564 msgid "Attributes and methods on a ``os.DirEntry`` instance are as follows:" msgstr "" -#: library/os.rst:2563 +#: library/os.rst:2568 msgid "" "The entry's base filename, relative to the :func:`scandir` *path* argument." msgstr "" -#: library/os.rst:2566 +#: library/os.rst:2571 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:2572 +#: library/os.rst:2577 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 " @@ -2708,51 +2715,51 @@ msgid "" "attribute." msgstr "" -#: library/os.rst:2579 +#: library/os.rst:2584 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:2585 +#: library/os.rst:2590 msgid "Return the inode number of the entry." msgstr "" -#: library/os.rst:2587 +#: library/os.rst:2592 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:2591 +#: library/os.rst:2596 msgid "" "On the first, uncached call, a system call is required on Windows but not on " "Unix." msgstr "" -#: library/os.rst:2596 +#: library/os.rst:2601 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:2600 +#: library/os.rst:2605 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:2604 +#: library/os.rst:2609 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:2608 +#: library/os.rst:2613 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 " @@ -2762,46 +2769,46 @@ msgid "" "is ``False``." msgstr "" -#: library/os.rst:2645 +#: library/os.rst:2650 msgid "" "This method can raise :exc:`OSError`, such as :exc:`PermissionError`, but :" "exc:`FileNotFoundError` is caught and not raised." msgstr "" -#: library/os.rst:2620 +#: library/os.rst:2625 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:2624 +#: library/os.rst:2629 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:2628 +#: library/os.rst:2633 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:2633 +#: library/os.rst:2638 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:2637 +#: library/os.rst:2642 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:2640 +#: library/os.rst:2645 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 " @@ -2809,35 +2816,35 @@ msgid "" "``dirent.d_type == DT_UNKNOWN``." msgstr "" -#: library/os.rst:2650 +#: library/os.rst:2655 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:2654 +#: library/os.rst:2659 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:2659 +#: library/os.rst:2664 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:2663 +#: library/os.rst:2668 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:2667 +#: library/os.rst:2672 msgid "" "Note that there is a nice correspondence between several attributes and " "methods of ``os.DirEntry`` and of :class:`pathlib.Path`. In particular, the " @@ -2845,13 +2852,13 @@ msgid "" "``is_file()``, ``is_symlink()`` and ``stat()`` methods." msgstr "" -#: library/os.rst:2675 +#: library/os.rst:2680 msgid "" "Added support for the :class:`~os.PathLike` interface. Added support for :" "class:`bytes` paths on Windows." msgstr "" -#: library/os.rst:2682 +#: library/os.rst:2687 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 " @@ -2860,19 +2867,19 @@ msgid "" "`stat_result` object." msgstr "" -#: library/os.rst:2688 +#: library/os.rst:2693 msgid "" "This function normally follows symlinks; to stat a symlink add the argument " "``follow_symlinks=False``, or use :func:`lstat`." msgstr "" -#: library/os.rst:3520 library/os.rst:3552 library/os.rst:3572 +#: library/os.rst:3525 library/os.rst:3557 library/os.rst:3577 msgid "" "This function can support :ref:`specifying a file descriptor ` and :" "ref:`not following symlinks `." msgstr "" -#: library/os.rst:2694 +#: library/os.rst:2699 msgid "" "On Windows, passing ``follow_symlinks=False`` will disable following all " "name-surrogate reparse points, which includes symlinks and directory " @@ -2886,21 +2893,21 @@ msgid "" "junction points, which will raise the usual exceptions." msgstr "" -#: library/os.rst:3440 +#: library/os.rst:3445 msgid "Example::" msgstr "" -#: library/os.rst:2720 +#: library/os.rst:2725 msgid ":func:`fstat` and :func:`lstat` functions." msgstr "" -#: library/os.rst:2722 +#: library/os.rst:2727 msgid "" "Added the *dir_fd* and *follow_symlinks* arguments, specifying a file " "descriptor instead of a path." msgstr "" -#: library/os.rst:2729 +#: library/os.rst:2734 msgid "" "On Windows, all reparse points that can be resolved by the operating system " "are now followed, and passing ``follow_symlinks=False`` disables following " @@ -2910,100 +2917,100 @@ msgid "" "of raising an error." msgstr "" -#: library/os.rst:2740 +#: library/os.rst:2745 msgid "" "Object whose attributes correspond roughly to the members of the :c:type:" "`stat` structure. It is used for the result of :func:`os.stat`, :func:`os." "fstat` and :func:`os.lstat`." msgstr "" -#: library/os.rst:2744 +#: library/os.rst:2749 msgid "Attributes:" msgstr "" -#: library/os.rst:2748 +#: library/os.rst:2753 msgid "File mode: file type and file mode bits (permissions)." msgstr "" -#: library/os.rst:2752 +#: library/os.rst:2757 msgid "" "Platform dependent, but if non-zero, uniquely identifies the file for a " "given value of ``st_dev``. Typically:" msgstr "" -#: library/os.rst:2755 +#: library/os.rst:2760 msgid "the inode number on Unix," msgstr "" -#: library/os.rst:2756 +#: library/os.rst:2761 msgid "" "the `file index `_ on " "Windows" msgstr "" -#: library/os.rst:2762 +#: library/os.rst:2767 msgid "Identifier of the device on which this file resides." msgstr "" -#: library/os.rst:2766 +#: library/os.rst:2771 msgid "Number of hard links." msgstr "" -#: library/os.rst:2770 +#: library/os.rst:2775 msgid "User identifier of the file owner." msgstr "" -#: library/os.rst:2774 +#: library/os.rst:2779 msgid "Group identifier of the file owner." msgstr "" -#: library/os.rst:2778 +#: library/os.rst:2783 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:2782 +#: library/os.rst:2787 msgid "Timestamps:" msgstr "" -#: library/os.rst:2786 +#: library/os.rst:2791 msgid "Time of most recent access expressed in seconds." msgstr "" -#: library/os.rst:2790 +#: library/os.rst:2795 msgid "Time of most recent content modification expressed in seconds." msgstr "" -#: library/os.rst:2810 +#: library/os.rst:2815 msgid "Platform dependent:" msgstr "" -#: library/os.rst:2812 +#: library/os.rst:2817 msgid "the time of most recent metadata change on Unix," msgstr "" -#: library/os.rst:2797 +#: library/os.rst:2802 msgid "the time of creation on Windows, expressed in seconds." msgstr "" -#: library/os.rst:2801 +#: library/os.rst:2806 msgid "Time of most recent access expressed in nanoseconds as an integer." msgstr "" -#: library/os.rst:2805 +#: library/os.rst:2810 msgid "" "Time of most recent content modification expressed in nanoseconds as an " "integer." msgstr "" -#: library/os.rst:2813 +#: library/os.rst:2818 msgid "" "the time of creation on Windows, expressed in nanoseconds as an integer." msgstr "" -#: library/os.rst:2818 +#: library/os.rst:2823 msgid "" "The exact meaning and resolution of the :attr:`st_atime`, :attr:`st_mtime`, " "and :attr:`st_ctime` attributes depend on the operating system and the file " @@ -3012,7 +3019,7 @@ msgid "" "only 1-day resolution. See your operating system documentation for details." msgstr "" -#: library/os.rst:2825 +#: library/os.rst:2830 msgid "" "Similarly, although :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:" "`st_ctime_ns` are always expressed in nanoseconds, many systems do not " @@ -3023,78 +3030,78 @@ msgid "" "attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:`st_ctime_ns`." msgstr "" -#: library/os.rst:2834 +#: library/os.rst:2839 msgid "" "On some Unix systems (such as Linux), the following attributes may also be " "available:" msgstr "" -#: library/os.rst:2839 +#: library/os.rst:2844 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:2844 +#: library/os.rst:2849 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:2849 +#: library/os.rst:2854 msgid "Type of device if an inode device." msgstr "" -#: library/os.rst:2853 +#: library/os.rst:2858 msgid "User defined flags for file." msgstr "" -#: library/os.rst:2855 +#: library/os.rst:2860 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:2860 +#: library/os.rst:2865 msgid "File generation number." msgstr "" -#: library/os.rst:2864 +#: library/os.rst:2869 msgid "Time of file creation." msgstr "" -#: library/os.rst:2866 +#: library/os.rst:2871 msgid "" "On Solaris and derivatives, the following attributes may also be available:" msgstr "" -#: library/os.rst:2871 +#: library/os.rst:2876 msgid "" "String that uniquely identifies the type of the filesystem that contains the " "file." msgstr "" -#: library/os.rst:2874 +#: library/os.rst:2879 msgid "On macOS systems, the following attributes may also be available:" msgstr "" -#: library/os.rst:2878 +#: library/os.rst:2883 msgid "Real size of the file." msgstr "" -#: library/os.rst:2882 +#: library/os.rst:2887 msgid "Creator of the file." msgstr "" -#: library/os.rst:2886 +#: library/os.rst:2891 msgid "File type." msgstr "" -#: library/os.rst:2888 +#: library/os.rst:2893 msgid "On Windows systems, the following attributes are also available:" msgstr "" -#: library/os.rst:2892 +#: library/os.rst:2897 msgid "" "Windows file attributes: ``dwFileAttributes`` member of the " "``BY_HANDLE_FILE_INFORMATION`` structure returned by :c:func:" @@ -3102,21 +3109,21 @@ msgid "" "mod:`stat` module." msgstr "" -#: library/os.rst:2899 +#: library/os.rst:2904 msgid "" "When :attr:`st_file_attributes` has the ``FILE_ATTRIBUTE_REPARSE_POINT`` " "set, this field contains the tag identifying the type of reparse point. See " "the ``IO_REPARSE_TAG_*`` constants in the :mod:`stat` module." msgstr "" -#: library/os.rst:2903 +#: library/os.rst:2908 msgid "" "The standard module :mod:`stat` defines functions and constants that are " "useful for extracting information from a :c:type:`stat` structure. (On " "Windows, some items are filled with dummy values.)" msgstr "" -#: library/os.rst:2907 +#: library/os.rst:2912 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 " @@ -3128,35 +3135,35 @@ msgid "" "class:`stat_result` as a tuple always returns integers." msgstr "" -#: library/os.rst:2916 +#: library/os.rst:2921 msgid "" "Added the :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:`st_ctime_ns` " "members." msgstr "" -#: library/os.rst:2920 +#: library/os.rst:2925 msgid "Added the :attr:`st_file_attributes` member on Windows." msgstr "" -#: library/os.rst:2923 +#: library/os.rst:2928 msgid "Windows now returns the file index as :attr:`st_ino` when available." msgstr "" -#: library/os.rst:2927 +#: library/os.rst:2932 msgid "Added the :attr:`st_fstype` member to Solaris/derivatives." msgstr "" -#: library/os.rst:2930 +#: library/os.rst:2935 msgid "Added the :attr:`st_reparse_tag` member on Windows." msgstr "" -#: library/os.rst:2933 +#: library/os.rst:2938 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:2940 +#: library/os.rst:2945 msgid "" "Perform a :c:func:`statvfs` system call on the given path. The return value " "is an object whose attributes describe the filesystem on the given path, and " @@ -3166,7 +3173,7 @@ msgid "" "`f_flag`, :attr:`f_namemax`, :attr:`f_fsid`." msgstr "" -#: library/os.rst:2947 +#: library/os.rst:2952 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-" @@ -3174,7 +3181,7 @@ msgid "" "are disabled or not supported." msgstr "" -#: library/os.rst:2952 +#: library/os.rst:2957 msgid "" "Additional module-level constants are defined for GNU/glibc based systems. " "These are :const:`ST_NODEV` (disallow access to device special files), :" @@ -3187,11 +3194,11 @@ msgid "" "relative to mtime/ctime)." msgstr "" -#: library/os.rst:2965 +#: library/os.rst:2970 msgid "The :const:`ST_RDONLY` and :const:`ST_NOSUID` constants were added." msgstr "" -#: library/os.rst:2971 +#: library/os.rst:2976 msgid "" "The :const:`ST_NODEV`, :const:`ST_NOEXEC`, :const:`ST_SYNCHRONOUS`, :const:" "`ST_MANDLOCK`, :const:`ST_WRITE`, :const:`ST_APPEND`, :const:" @@ -3199,11 +3206,11 @@ msgid "" "`ST_RELATIME` constants were added." msgstr "" -#: library/os.rst:2980 +#: library/os.rst:2985 msgid "Added :attr:`f_fsid`." msgstr "" -#: library/os.rst:2986 +#: library/os.rst:2991 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "accept an open file descriptor for their *dir_fd* parameter. Different " @@ -3215,7 +3222,7 @@ msgid "" "(Specifying ``None`` for *dir_fd* is always supported on all platforms.)" msgstr "" -#: library/os.rst:2996 +#: library/os.rst:3001 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 " @@ -3223,13 +3230,13 @@ msgid "" "open file descriptors for *dir_fd* on the local platform::" msgstr "" -#: library/os.rst:3003 +#: library/os.rst:3008 msgid "" "Currently *dir_fd* parameters only work on Unix platforms; none of them work " "on Windows." msgstr "" -#: library/os.rst:3011 +#: library/os.rst:3016 msgid "" "A :class:`set` object indicating whether :func:`os.access` permits " "specifying ``True`` for its *effective_ids* parameter on the local platform. " @@ -3238,19 +3245,19 @@ msgid "" "func:`os.access`; otherwise it will be empty." msgstr "" -#: library/os.rst:3017 +#: library/os.rst:3022 msgid "" "This expression evaluates to ``True`` if :func:`os.access` supports " "``effective_ids=True`` on the local platform::" msgstr "" -#: library/os.rst:3022 +#: library/os.rst:3027 msgid "" "Currently *effective_ids* is only supported on Unix platforms; it does not " "work on Windows." msgstr "" -#: library/os.rst:3030 +#: library/os.rst:3035 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 " @@ -3259,7 +3266,7 @@ msgid "" "*path* arguments is not available on all platforms Python supports." msgstr "" -#: library/os.rst:3037 +#: library/os.rst:3042 msgid "" "To determine whether a particular function permits specifying an open file " "descriptor for its *path* parameter, use the ``in`` operator on " @@ -3268,7 +3275,7 @@ msgid "" "platform::" msgstr "" -#: library/os.rst:3050 +#: library/os.rst:3055 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "accept ``False`` for their *follow_symlinks* parameter on the local " @@ -3281,7 +3288,7 @@ msgid "" "on all platforms.)" msgstr "" -#: library/os.rst:3060 +#: library/os.rst:3065 msgid "" "To check whether a particular function accepts ``False`` for its " "*follow_symlinks* parameter, use the ``in`` operator on " @@ -3290,11 +3297,11 @@ msgid "" "stat` on the local platform::" msgstr "" -#: library/os.rst:3073 +#: library/os.rst:3078 msgid "Create a symbolic link pointing to *src* named *dst*." msgstr "" -#: library/os.rst:3075 +#: library/os.rst:3080 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 " @@ -3304,7 +3311,7 @@ msgid "" "ignored." msgstr "" -#: library/os.rst:3086 +#: library/os.rst:3091 msgid "" "On newer versions of Windows 10, unprivileged accounts can create symlinks " "if Developer Mode is enabled. When Developer Mode is not available/enabled, " @@ -3312,7 +3319,7 @@ msgid "" "must be run as an administrator." msgstr "" -#: library/os.rst:3092 +#: library/os.rst:3097 msgid "" ":exc:`OSError` is raised when the function is called by an unprivileged user." msgstr "" @@ -3323,21 +3330,21 @@ msgid "" "``src``, ``dst``, ``dir_fd``." msgstr "" -#: library/os.rst:3105 +#: library/os.rst:3110 msgid "" "Added the *dir_fd* argument, and now allow *target_is_directory* on non-" "Windows platforms." msgstr "" -#: library/os.rst:3112 +#: library/os.rst:3117 msgid "Added support for unelevated symlinks on Windows with Developer Mode." msgstr "" -#: library/os.rst:3118 +#: library/os.rst:3123 msgid "Force write of everything to disk." msgstr "" -#: library/os.rst:3127 +#: library/os.rst:3132 msgid "" "Truncate the file corresponding to *path*, so that it is at most *length* " "bytes in size." @@ -3349,46 +3356,46 @@ msgid "" "``path``, ``length``." msgstr "" -#: library/os.rst:3147 +#: library/os.rst:3152 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:3163 +#: library/os.rst:3168 msgid "Set the access and modified times of the file specified by *path*." msgstr "" -#: library/os.rst:3165 +#: library/os.rst:3170 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:3168 +#: library/os.rst:3173 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:3171 +#: library/os.rst:3176 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:3174 +#: library/os.rst:3179 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:3178 +#: library/os.rst:3183 msgid "It is an error to specify tuples for both *times* and *ns*." msgstr "" -#: library/os.rst:3180 +#: library/os.rst:3185 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 " @@ -3404,13 +3411,13 @@ msgid "" "``path``, ``times``, ``ns``, ``dir_fd``." msgstr "" -#: library/os.rst:3193 +#: library/os.rst:3198 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd*, *follow_symlinks*, and *ns* parameters." msgstr "" -#: library/os.rst:3207 +#: library/os.rst:3212 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* " @@ -3418,7 +3425,7 @@ msgid "" "filenames)``." msgstr "" -#: library/os.rst:3212 +#: library/os.rst:3217 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 " @@ -3432,7 +3439,7 @@ msgid "" "unspecified." msgstr "" -#: library/os.rst:3223 +#: library/os.rst:3228 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 " @@ -3443,7 +3450,7 @@ msgid "" "its subdirectories are generated." msgstr "" -#: library/os.rst:3231 +#: library/os.rst:3236 msgid "" "When *topdown* is ``True``, the caller can modify the *dirnames* list in-" "place (perhaps using :keyword:`del` or slice assignment), and :func:`walk` " @@ -3456,7 +3463,7 @@ msgid "" "itself is generated." msgstr "" -#: library/os.rst:3240 +#: library/os.rst:3245 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 " @@ -3466,35 +3473,35 @@ msgid "" "object." msgstr "" -#: library/os.rst:3246 +#: library/os.rst:3251 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:3252 +#: library/os.rst:3257 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:3258 +#: library/os.rst:3263 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:3323 +#: library/os.rst:3328 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:3275 +#: library/os.rst:3280 msgid "" "In the next example (simple implementation of :func:`shutil.rmtree`), " "walking the tree bottom-up is essential, :func:`rmdir` doesn't allow " @@ -3507,25 +3514,25 @@ msgid "" "``top``, ``topdown``, ``onerror``, ``followlinks``." msgstr "" -#: library/os.rst:3292 +#: library/os.rst:3297 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:3306 +#: library/os.rst:3311 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:3309 +#: library/os.rst:3314 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:3312 +#: library/os.rst:3317 msgid "" "This function always supports :ref:`paths relative to directory descriptors " "` and :ref:`not following symlinks `. Note however " @@ -3533,14 +3540,14 @@ msgid "" "*follow_symlinks* is ``False``." msgstr "" -#: library/os.rst:3319 +#: library/os.rst:3324 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:3336 +#: library/os.rst:3341 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::" @@ -3552,11 +3559,11 @@ msgid "" "``top``, ``topdown``, ``onerror``, ``follow_symlinks``, ``dir_fd``." msgstr "" -#: library/os.rst:3360 +#: library/os.rst:3365 msgid "Added support for :class:`bytes` paths." msgstr "" -#: library/os.rst:3366 +#: library/os.rst:3371 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 " @@ -3564,7 +3571,7 @@ msgid "" "descriptor is :ref:`non-inheritable `." msgstr "" -#: library/os.rst:3371 +#: library/os.rst:3376 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/" @@ -3574,23 +3581,23 @@ msgid "" "side effects." msgstr "" -#: library/os.rst:3378 +#: library/os.rst:3383 msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27." msgstr "" -#: library/os.rst:3401 +#: library/os.rst:3406 msgid "These flags can be passed to :func:`memfd_create`." msgstr "" -#: library/os.rst:3403 +#: library/os.rst:3408 msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27" msgstr "" -#: library/os.rst:3405 +#: library/os.rst:3410 msgid "The ``MFD_HUGE*`` flags are only available since Linux 4.14." msgstr "" -#: library/os.rst:3412 +#: library/os.rst:3417 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." @@ -3599,7 +3606,7 @@ msgid "" "ref:`non-inheritable `." msgstr "" -#: library/os.rst:3418 +#: library/os.rst:3423 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 " @@ -3607,86 +3614,86 @@ msgid "" "integer with a maximum value of 2\\ :sup:`64`\\ -\\ 2." msgstr "" -#: library/os.rst:3423 +#: library/os.rst:3428 msgid "" "*flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, " "and :const:`EFD_SEMAPHORE`." msgstr "" -#: library/os.rst:3426 +#: library/os.rst:3431 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:3429 +#: library/os.rst:3434 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:3433 +#: library/os.rst:3438 msgid "" "If the event counter is zero and :const:`EFD_NONBLOCK` is not specified, :" "func:`eventfd_read` blocks." msgstr "" -#: library/os.rst:3436 +#: library/os.rst:3441 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:3457 +#: library/os.rst:3462 msgid ":ref:`Availability `: Linux >= 2.6.27 with glibc >= 2.8" msgstr "" -#: library/os.rst:3463 +#: library/os.rst:3468 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:3475 library/os.rst:3492 +#: library/os.rst:3480 library/os.rst:3497 msgid ":ref:`Availability `: Linux >= 2.6.27" msgstr "" -#: library/os.rst:3472 +#: library/os.rst:3477 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:3481 +#: library/os.rst:3486 msgid "Set close-on-exec flag for new :func:`eventfd` file descriptor." msgstr "" -#: library/os.rst:3489 +#: library/os.rst:3494 msgid "" "Set :const:`O_NONBLOCK` status flag for new :func:`eventfd` file descriptor." msgstr "" -#: library/os.rst:3498 +#: library/os.rst:3503 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:3501 +#: library/os.rst:3506 msgid ":ref:`Availability `: Linux >= 2.6.30" msgstr "" -#: library/os.rst:3507 +#: library/os.rst:3512 msgid "Linux extended attributes" msgstr "" -#: library/os.rst:3511 +#: library/os.rst:3516 msgid "These functions are all available on Linux only." msgstr "" -#: library/os.rst:3515 +#: library/os.rst:3520 msgid "" "Return the value of the extended filesystem attribute *attribute* for " "*path*. *attribute* can be bytes or str (directly or indirectly through the :" @@ -3700,11 +3707,11 @@ msgid "" "``path``, ``attribute``." msgstr "" -#: library/os.rst:3557 library/os.rst:3582 +#: library/os.rst:3562 library/os.rst:3587 msgid "Accepts a :term:`path-like object` for *path* and *attribute*." msgstr "" -#: library/os.rst:3531 +#: library/os.rst:3536 msgid "" "Return a list of the extended filesystem attributes on *path*. The " "attributes in the list are represented as strings decoded with the " @@ -3718,7 +3725,7 @@ msgid "" "``path``." msgstr "" -#: library/os.rst:3547 +#: library/os.rst:3552 msgid "" "Removes the extended filesystem attribute *attribute* from *path*. " "*attribute* should be bytes or str (directly or indirectly through the :" @@ -3732,7 +3739,7 @@ msgid "" "``path``, ``attribute``." msgstr "" -#: library/os.rst:3563 +#: library/os.rst:3568 msgid "" "Set the extended filesystem attribute *attribute* on *path* to *value*. " "*attribute* must be a bytes or str with no embedded NULs (directly or " @@ -3744,7 +3751,7 @@ msgid "" "will not be created and ``EEXISTS`` will be raised." msgstr "" -#: library/os.rst:3577 +#: library/os.rst:3582 msgid "" "A bug in Linux kernel versions less than 2.6.39 caused the flags argument to " "be ignored on some filesystems." @@ -3756,33 +3763,33 @@ msgid "" "``path``, ``attribute``, ``value``, ``flags``." msgstr "" -#: library/os.rst:3588 +#: library/os.rst:3593 msgid "" "The maximum size the value of an extended attribute can be. Currently, this " "is 64 KiB on Linux." msgstr "" -#: library/os.rst:3594 +#: library/os.rst:3599 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:3600 +#: library/os.rst:3605 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:3607 +#: library/os.rst:3612 msgid "Process Management" msgstr "" -#: library/os.rst:3609 +#: library/os.rst:3614 msgid "These functions may be used to create and manage processes." msgstr "" -#: library/os.rst:3611 +#: library/os.rst:3616 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 " @@ -3793,7 +3800,7 @@ msgid "" "standard output; ``foo`` will seem to be ignored." msgstr "" -#: library/os.rst:3622 +#: library/os.rst:3627 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 " @@ -3802,24 +3809,24 @@ msgid "" "`SIGABRT` with :func:`signal.signal`." msgstr "" -#: library/os.rst:3631 +#: library/os.rst:3636 msgid "Add a path to the DLL search path." msgstr "" -#: library/os.rst:3633 +#: library/os.rst:3638 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:3637 +#: library/os.rst:3642 msgid "" "Remove the directory by calling **close()** on the returned object or using " "it in a :keyword:`with` statement." msgstr "" -#: library/os.rst:3640 +#: library/os.rst:3645 msgid "" "See the `Microsoft documentation `_ for more information about how " @@ -3832,7 +3839,7 @@ msgid "" "argument ``path``." msgstr "" -#: library/os.rst:3648 +#: library/os.rst:3653 msgid "" "Previous versions of CPython would resolve DLLs using the default behavior " "for the current process. This led to inconsistencies, such as only sometimes " @@ -3840,14 +3847,14 @@ msgid "" "such as ``AddDllDirectory`` having no effect." msgstr "" -#: library/os.rst:3655 +#: library/os.rst:3660 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:3670 +#: library/os.rst:3675 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 " @@ -3855,7 +3862,7 @@ msgid "" "reported as :exc:`OSError` exceptions." msgstr "" -#: library/os.rst:3675 +#: library/os.rst:3680 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 " @@ -3863,7 +3870,7 @@ msgid "" "fsync` before calling an :func:`exec\\* ` function." msgstr "" -#: library/os.rst:3681 +#: library/os.rst:3686 msgid "" "The \"l\" and \"v\" variants of the :func:`exec\\* ` functions differ " "in how command-line arguments are passed. The \"l\" variants are perhaps " @@ -3876,7 +3883,7 @@ msgid "" "enforced." msgstr "" -#: library/os.rst:3690 +#: library/os.rst:3695 msgid "" "The variants which include a \"p\" near the end (:func:`execlp`, :func:" "`execlpe`, :func:`execvp`, and :func:`execvpe`) will use the :envvar:`PATH` " @@ -3889,7 +3896,7 @@ msgid "" "absolute or relative path." msgstr "" -#: library/os.rst:3700 +#: library/os.rst:3705 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 " @@ -3899,7 +3906,7 @@ msgid "" "process to inherit the environment of the current process." msgstr "" -#: library/os.rst:3707 +#: library/os.rst:3712 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 " @@ -3914,25 +3921,25 @@ msgid "" "``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:3716 +#: library/os.rst:3721 msgid "" "Added support for specifying *path* as an open file descriptor for :func:" "`execve`." msgstr "" -#: library/os.rst:3725 +#: library/os.rst:3730 msgid "" "Exit the process with status *n*, without calling cleanup handlers, flushing " "stdio buffers, etc." msgstr "" -#: library/os.rst:3730 +#: library/os.rst:3735 msgid "" -"The standard way to exit is ``sys.exit(n)``. :func:`_exit` should normally " -"only be used in the child process after a :func:`fork`." +"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:3733 +#: library/os.rst:3738 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 " @@ -3940,104 +3947,104 @@ msgid "" "delivery program." msgstr "" -#: library/os.rst:3739 +#: library/os.rst:3744 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:3746 +#: library/os.rst:3751 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:3754 +#: library/os.rst:3759 msgid "" "Exit code that means the command was used incorrectly, such as when the " "wrong number of arguments are given." msgstr "" -#: library/os.rst:3762 +#: library/os.rst:3767 msgid "Exit code that means the input data was incorrect." msgstr "" -#: library/os.rst:3769 +#: library/os.rst:3774 msgid "Exit code that means an input file did not exist or was not readable." msgstr "" -#: library/os.rst:3776 +#: library/os.rst:3781 msgid "Exit code that means a specified user did not exist." msgstr "" -#: library/os.rst:3783 +#: library/os.rst:3788 msgid "Exit code that means a specified host did not exist." msgstr "" -#: library/os.rst:3790 +#: library/os.rst:3795 msgid "Exit code that means that a required service is unavailable." msgstr "" -#: library/os.rst:3797 +#: library/os.rst:3802 msgid "Exit code that means an internal software error was detected." msgstr "" -#: library/os.rst:3804 +#: library/os.rst:3809 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:3812 +#: library/os.rst:3817 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:3820 +#: library/os.rst:3825 msgid "Exit code that means a user specified output file could not be created." msgstr "" -#: library/os.rst:3827 +#: library/os.rst:3832 msgid "" "Exit code that means that an error occurred while doing I/O on some file." msgstr "" -#: library/os.rst:3834 +#: library/os.rst:3839 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:3843 +#: library/os.rst:3848 msgid "" "Exit code that means that a protocol exchange was illegal, invalid, or not " "understood." msgstr "" -#: library/os.rst:3851 +#: library/os.rst:3856 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:3859 +#: library/os.rst:3864 msgid "Exit code that means that some kind of configuration error occurred." msgstr "" -#: library/os.rst:3866 +#: library/os.rst:3871 msgid "Exit code that means something like \"an entry was not found\"." msgstr "" -#: library/os.rst:3873 +#: library/os.rst:3878 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:3876 +#: library/os.rst:3881 msgid "" "Note that some platforms including FreeBSD <= 6.3 and Cygwin have known " "issues when using ``fork()`` from a thread." @@ -4048,17 +4055,17 @@ msgid "" "Raises an :ref:`auditing event ` ``os.fork`` with no arguments." msgstr "" -#: library/os.rst:3881 +#: library/os.rst:3886 msgid "" "Calling ``fork()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:3887 +#: library/os.rst:3892 msgid "See :mod:`ssl` for applications that use the SSL module with fork()." msgstr "" -#: library/os.rst:3894 +#: library/os.rst:3899 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, " @@ -4072,19 +4079,19 @@ msgid "" "Raises an :ref:`auditing event ` ``os.forkpty`` with no arguments." msgstr "" -#: library/os.rst:3902 +#: library/os.rst:3907 msgid "" "Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:3915 +#: library/os.rst:3920 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:3918 +#: library/os.rst:3923 msgid "" "Windows: The :data:`signal.CTRL_C_EVENT` and :data:`signal.CTRL_BREAK_EVENT` " "signals are special signals which can only be sent to console processes " @@ -4094,7 +4101,7 @@ msgid "" "version of :func:`kill` additionally takes process handles to be killed." msgstr "" -#: library/os.rst:3926 +#: library/os.rst:3931 msgid "See also :func:`signal.pthread_kill`." msgstr "" @@ -4104,11 +4111,11 @@ msgid "" "``pid``, ``sig``." msgstr "" -#: library/os.rst:3932 +#: library/os.rst:3937 msgid "Windows support." msgstr "" -#: library/os.rst:3942 +#: library/os.rst:3947 msgid "Send the signal *sig* to the process group *pgid*." msgstr "" @@ -4118,12 +4125,12 @@ msgid "" "``pgid``, ``sig``." msgstr "" -#: library/os.rst:3951 +#: library/os.rst:3956 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" -#: library/os.rst:3958 +#: library/os.rst:3963 msgid "" "Return a file descriptor referring to the process *pid*. This descriptor " "can be used to perform process management without races and signals. The " @@ -4131,21 +4138,21 @@ msgid "" "currently defined." msgstr "" -#: library/os.rst:3963 +#: library/os.rst:3968 msgid "See the :manpage:`pidfd_open(2)` man page for more details." msgstr "" -#: library/os.rst:3965 +#: library/os.rst:3970 msgid ":ref:`Availability `: Linux >= 5.3" msgstr "" -#: library/os.rst:3971 +#: library/os.rst:3976 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." msgstr "" -#: library/os.rst:3979 +#: library/os.rst:3984 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 " @@ -4155,7 +4162,7 @@ msgid "" "rather than bytes." msgstr "" -#: library/os.rst:3987 +#: library/os.rst:3992 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -4167,60 +4174,60 @@ msgid "" "contains the signed integer return code from the child process." msgstr "" -#: library/os.rst:3997 +#: library/os.rst:4002 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:4002 +#: library/os.rst:4007 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:4006 +#: library/os.rst:4011 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" -#: library/os.rst:4009 +#: library/os.rst:4014 msgid "" "The :ref:`Python UTF-8 Mode ` affects encodings used for *cmd* " "and pipe contents." msgstr "" -#: library/os.rst:4012 +#: library/os.rst:4017 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:4021 +#: library/os.rst:4026 msgid "Wraps the :c:func:`posix_spawn` C library API for use from Python." msgstr "" -#: library/os.rst:4023 +#: library/os.rst:4028 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" -#: library/os.rst:4025 +#: library/os.rst:4030 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar to :func:" "`execve`." msgstr "" -#: library/os.rst:4028 +#: library/os.rst:4033 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:4032 +#: library/os.rst:4037 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 " @@ -4229,31 +4236,31 @@ msgid "" "describing the remaining tuple elements:" msgstr "" -#: library/os.rst:4040 +#: library/os.rst:4045 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "" -#: library/os.rst:4042 +#: library/os.rst:4047 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "" -#: library/os.rst:4046 +#: library/os.rst:4051 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "" -#: library/os.rst:4048 +#: library/os.rst:4053 msgid "Performs ``os.close(fd)``." msgstr "" -#: library/os.rst:4052 +#: library/os.rst:4057 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "" -#: library/os.rst:4054 +#: library/os.rst:4059 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "" -#: library/os.rst:4056 +#: library/os.rst:4061 msgid "" "These tuples correspond to the C library :c:func:" "`posix_spawn_file_actions_addopen`, :c:func:" @@ -4262,7 +4269,7 @@ msgid "" "`posix_spawn` call itself." msgstr "" -#: library/os.rst:4062 +#: library/os.rst:4067 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 " @@ -4271,7 +4278,7 @@ msgid "" "corresponds to the C library :c:data:`POSIX_SPAWN_SETPGROUP` flag." msgstr "" -#: library/os.rst:4068 +#: library/os.rst:4073 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 " @@ -4282,7 +4289,7 @@ msgid "" "library :c:data:`POSIX_SPAWN_RESETIDS` flag." msgstr "" -#: library/os.rst:4076 +#: library/os.rst:4081 msgid "" "If the *setsid* argument is ``True``, it will create a new session ID for " "``posix_spawn``. *setsid* requires :c:data:`POSIX_SPAWN_SETSID` or :c:data:" @@ -4290,7 +4297,7 @@ msgid "" "raised." msgstr "" -#: library/os.rst:4081 +#: library/os.rst:4086 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 " @@ -4298,14 +4305,14 @@ msgid "" "`POSIX_SPAWN_SETSIGMASK` flag." msgstr "" -#: library/os.rst:4086 +#: library/os.rst:4091 msgid "" "The *sigdef* argument will reset the disposition of all signals in the set " "specified. This argument corresponds to the C library :c:data:" "`POSIX_SPAWN_SETSIGDEF` flag." msgstr "" -#: library/os.rst:4090 +#: library/os.rst:4095 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -4321,76 +4328,76 @@ msgid "" "``path``, ``argv``, ``env``." msgstr "" -#: library/os.rst:4107 +#: library/os.rst:4112 msgid "Wraps the :c:func:`posix_spawnp` C library API for use from Python." msgstr "" -#: library/os.rst:4109 +#: library/os.rst:4114 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:4117 +#: library/os.rst:4122 msgid ":ref:`Availability `: POSIX, not Emscripten, not WASI." msgstr "" -#: library/os.rst:4119 +#: library/os.rst:4124 msgid "See :func:`posix_spawn` documentation." msgstr "" -#: library/os.rst:4125 +#: library/os.rst:4130 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:4130 +#: library/os.rst:4135 msgid "*before* is a function called before forking a child process." msgstr "" -#: library/os.rst:4131 +#: library/os.rst:4136 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." msgstr "" -#: library/os.rst:4133 +#: library/os.rst:4138 msgid "*after_in_child* is a function called from the child process." msgstr "" -#: library/os.rst:4135 +#: library/os.rst:4140 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:4139 +#: library/os.rst:4144 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:4144 +#: library/os.rst:4149 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:4148 +#: library/os.rst:4153 msgid "There is no way to unregister a function." msgstr "" -#: library/os.rst:4164 +#: library/os.rst:4169 msgid "Execute the program *path* in a new process." msgstr "" -#: library/os.rst:4166 +#: library/os.rst:4171 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -4398,7 +4405,7 @@ msgid "" "`subprocess-replacements` section.)" msgstr "" -#: library/os.rst:4171 +#: library/os.rst:4176 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 " @@ -4407,13 +4414,13 @@ msgid "" "handle, so can be used with the :func:`waitpid` function." msgstr "" -#: library/os.rst:4177 +#: library/os.rst:4182 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:4180 +#: library/os.rst:4185 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " @@ -4425,7 +4432,7 @@ msgid "" "to the child process must start with the name of the command being run." msgstr "" -#: library/os.rst:4189 +#: library/os.rst:4194 msgid "" "The variants which include a second \"p\" near the end (:func:`spawnlp`, :" "func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:" @@ -4438,7 +4445,7 @@ msgid "" "appropriate absolute or relative path." msgstr "" -#: library/os.rst:4199 +#: library/os.rst:4204 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 " @@ -4450,7 +4457,7 @@ msgid "" "values will cause the function to fail, with a return value of ``127``." msgstr "" -#: library/os.rst:4208 +#: library/os.rst:4213 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" @@ -4462,7 +4469,7 @@ msgid "" "``mode``, ``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:4221 +#: library/os.rst:4226 msgid "" ":func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are " "not available on Windows. :func:`spawnle` and :func:`spawnve` are not " @@ -4470,7 +4477,7 @@ msgid "" "instead." msgstr "" -#: library/os.rst:4233 +#: library/os.rst:4238 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, the :func:" @@ -4478,7 +4485,7 @@ msgid "" "created, with the process id as the return value." msgstr "" -#: library/os.rst:4243 +#: library/os.rst:4248 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If this is given as *mode*, the :func:`spawn\\*` " @@ -4487,7 +4494,7 @@ msgid "" "signal`` if a signal kills the process." msgstr "" -#: library/os.rst:4255 +#: library/os.rst:4260 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed above. :" @@ -4497,11 +4504,11 @@ msgid "" "function will not return." msgstr "" -#: library/os.rst:4266 +#: library/os.rst:4271 msgid "Start a file with its associated application." msgstr "" -#: library/os.rst:4268 +#: library/os.rst:4273 msgid "" "When *operation* is not specified or ``'open'``, this acts like double-" "clicking the file in Windows Explorer, or giving the file name as an " @@ -4510,7 +4517,7 @@ msgid "" "associated." msgstr "" -#: library/os.rst:4273 +#: library/os.rst:4278 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 " @@ -4518,28 +4525,28 @@ msgid "" "``'explore'`` and ``'find'`` (to be used on directories)." msgstr "" -#: library/os.rst:4278 +#: library/os.rst:4283 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:4282 +#: library/os.rst:4287 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:4286 +#: library/os.rst:4291 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:4290 +#: library/os.rst:4295 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 " @@ -4550,7 +4557,7 @@ msgid "" "encoded for Win32." msgstr "" -#: library/os.rst:4298 +#: library/os.rst:4303 msgid "" "To reduce interpreter startup overhead, the Win32 :c:func:`ShellExecute` " "function is not resolved until this function is first called. If the " @@ -4569,13 +4576,13 @@ msgid "" "``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``." msgstr "" -#: library/os.rst:4308 +#: library/os.rst:4313 msgid "" "Added the *arguments*, *cwd* and *show_cmd* arguments, and the ``os." "startfile/2`` audit event." msgstr "" -#: library/os.rst:4315 +#: library/os.rst:4320 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 " @@ -4586,13 +4593,13 @@ msgid "" "value of the Python function is system-dependent." msgstr "" -#: library/os.rst:4323 +#: library/os.rst:4328 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:4326 +#: library/os.rst:4331 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 :" @@ -4601,7 +4608,7 @@ msgid "" "shell documentation." msgstr "" -#: library/os.rst:4332 +#: library/os.rst:4337 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is preferable " @@ -4609,7 +4616,7 @@ msgid "" "the :mod:`subprocess` documentation for some helpful recipes." msgstr "" -#: library/os.rst:4337 +#: library/os.rst:4342 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 " @@ -4622,42 +4629,42 @@ msgid "" "``command``." msgstr "" -#: library/os.rst:4348 +#: library/os.rst:4353 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" msgstr "" -#: library/os.rst:4351 +#: library/os.rst:4356 msgid ":attr:`!user` - user time" msgstr "" -#: library/os.rst:4352 +#: library/os.rst:4357 msgid ":attr:`!system` - system time" msgstr "" -#: library/os.rst:4353 +#: library/os.rst:4358 msgid ":attr:`!children_user` - user time of all child processes" msgstr "" -#: library/os.rst:4354 +#: library/os.rst:4359 msgid ":attr:`!children_system` - system time of all child processes" msgstr "" -#: library/os.rst:4355 +#: library/os.rst:4360 msgid ":attr:`!elapsed` - elapsed real time since a fixed point in the past" msgstr "" -#: library/os.rst:4357 +#: library/os.rst:4362 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:4361 +#: library/os.rst:4366 msgid "" -"See the Unix manual page :manpage:`times(2)` and `times(3) `_ manual page on Unix or `the " "GetProcessTimes MSDN `_ on Windows. On " @@ -4665,7 +4672,7 @@ msgid "" "attributes are zero." msgstr "" -#: library/os.rst:4375 +#: library/os.rst:4380 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 " @@ -4674,83 +4681,83 @@ msgid "" "if a core file was produced." msgstr "" -#: library/os.rst:4381 +#: library/os.rst:4386 msgid "" "If there are no children that could be waited for, :exc:`ChildProcessError` " "is raised." msgstr "" -#: library/os.rst:4456 +#: library/os.rst:4461 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exit code." msgstr "" -#: library/os.rst:4391 +#: library/os.rst:4396 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:4398 +#: library/os.rst:4403 msgid "Wait for the completion of a child process." msgstr "" -#: library/os.rst:4400 +#: library/os.rst:4405 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:4403 +#: library/os.rst:4408 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:4407 +#: library/os.rst:4412 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:4410 +#: library/os.rst:4415 msgid ":attr:`!si_pid` (process ID)" msgstr "" -#: library/os.rst:4411 +#: library/os.rst:4416 msgid ":attr:`!si_uid` (real user ID of the child)" msgstr "" -#: library/os.rst:4412 +#: library/os.rst:4417 msgid ":attr:`!si_signo` (always :data:`~signal.SIGCHLD`)" msgstr "" -#: library/os.rst:4413 +#: library/os.rst:4418 msgid "" ":attr:`!si_status` (the exit status or signal number, depending on :attr:`!" "si_code`)" msgstr "" -#: library/os.rst:4414 +#: library/os.rst:4419 msgid ":attr:`!si_code` (see :data:`CLD_EXITED` for possible values)" msgstr "" -#: library/os.rst:4416 +#: library/os.rst:4421 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:4428 +#: library/os.rst:4433 msgid "The details of this function differ on Unix and Windows." msgstr "" -#: library/os.rst:4430 +#: library/os.rst:4435 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 " @@ -4759,7 +4766,7 @@ msgid "" "operation." msgstr "" -#: library/os.rst:4435 +#: library/os.rst:4440 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 " @@ -4769,7 +4776,7 @@ msgid "" "group ``-pid`` (the absolute value of *pid*)." msgstr "" -#: library/os.rst:4442 +#: library/os.rst:4447 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 " @@ -4778,7 +4785,7 @@ msgid "" "are :data:`WUNTRACED` and :data:`WCONTINUED`." msgstr "" -#: library/os.rst:4448 +#: library/os.rst:4453 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 " @@ -4790,7 +4797,7 @@ msgid "" "process handles." msgstr "" -#: library/os.rst:4469 +#: library/os.rst:4474 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 " @@ -4799,13 +4806,13 @@ msgid "" "same as that provided to :func:`waitpid` and :func:`wait4`." msgstr "" -#: library/os.rst:4490 +#: library/os.rst:4495 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exitcode." msgstr "" -#: library/os.rst:4484 +#: library/os.rst:4489 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -4814,118 +4821,118 @@ msgid "" "to :func:`waitpid`." msgstr "" -#: library/os.rst:4501 +#: library/os.rst:4506 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted:" msgstr "" -#: library/os.rst:4504 +#: library/os.rst:4509 msgid ":data:`!P_PID` - wait for the child whose PID is *id*." msgstr "" -#: library/os.rst:4505 +#: library/os.rst:4510 msgid ":data:`!P_PGID` - wait for any child whose progress group ID is *id*." msgstr "" -#: library/os.rst:4506 +#: library/os.rst:4511 msgid ":data:`!P_ALL` - wait for any child; *id* is ignored." msgstr "" -#: library/os.rst:4507 +#: library/os.rst:4512 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:4512 +#: library/os.rst:4517 msgid ":data:`!P_PIDFD` is only available on Linux >= 5.4." msgstr "" -#: library/os.rst:4515 +#: library/os.rst:4520 msgid "The :data:`!P_PIDFD` constant." msgstr "" -#: library/os.rst:4521 +#: library/os.rst:4526 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:4530 +#: library/os.rst:4535 msgid "" "This *options* flag for :func:`waitid` causes child processes that have " "terminated to be reported." msgstr "" -#: library/os.rst:4533 +#: library/os.rst:4538 msgid "" "The other ``wait*`` functions always report children that have terminated, " "so this option is not available for them." msgstr "" -#: library/os.rst:4543 +#: library/os.rst:4548 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:4578 +#: library/os.rst:4583 msgid "This option is not available for the other ``wait*`` functions." msgstr "" -#: library/os.rst:4555 +#: library/os.rst:4560 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:4559 +#: library/os.rst:4564 msgid "This option is not available for :func:`waitid`." msgstr "" -#: library/os.rst:4566 +#: library/os.rst:4571 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:4575 +#: library/os.rst:4580 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:4590 +#: library/os.rst:4595 msgid "" "These are the possible values for :attr:`!si_code` in the result returned " "by :func:`waitid`." msgstr "" -#: library/os.rst:4597 +#: library/os.rst:4602 msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values." msgstr "" -#: library/os.rst:4603 +#: library/os.rst:4608 msgid "Convert a wait status to an exit code." msgstr "" -#: library/os.rst:4605 +#: library/os.rst:4610 msgid "On Unix:" msgstr "" -#: library/os.rst:4607 +#: library/os.rst:4612 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:4610 +#: library/os.rst:4615 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 " @@ -4933,15 +4940,15 @@ msgid "" "than 0." msgstr "" -#: library/os.rst:4614 +#: library/os.rst:4619 msgid "Otherwise, raise a :exc:`ValueError`." msgstr "" -#: library/os.rst:4616 +#: library/os.rst:4621 msgid "On Windows, return *status* shifted right by 8 bits." msgstr "" -#: library/os.rst:4618 +#: library/os.rst:4623 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 " @@ -4949,217 +4956,217 @@ msgid "" "``WIFSTOPPED(status)`` is true." msgstr "" -#: library/os.rst:4625 +#: library/os.rst:4630 msgid "" ":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:" "`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` functions." msgstr "" -#: library/os.rst:4633 +#: library/os.rst:4638 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:4639 +#: library/os.rst:4644 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." msgstr "" -#: library/os.rst:4708 +#: library/os.rst:4713 msgid "This function should be employed only if :func:`WIFSIGNALED` is true." msgstr "" -#: library/os.rst:4649 +#: library/os.rst:4654 msgid "" "Return ``True`` if a stopped child has been resumed by delivery of :data:" "`~signal.SIGCONT` (if the process has been continued from a job control " "stop), otherwise return ``False``." msgstr "" -#: library/os.rst:4653 +#: library/os.rst:4658 msgid "See :data:`WCONTINUED` option." msgstr "" -#: library/os.rst:4660 +#: library/os.rst:4665 msgid "" "Return ``True`` if the process was stopped by delivery of a signal, " "otherwise return ``False``." msgstr "" -#: library/os.rst:4663 +#: library/os.rst:4668 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:4671 +#: library/os.rst:4676 msgid "" "Return ``True`` if the process was terminated by a signal, otherwise return " "``False``." msgstr "" -#: library/os.rst:4679 +#: library/os.rst:4684 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:4688 +#: library/os.rst:4693 msgid "Return the process exit status." msgstr "" -#: library/os.rst:4690 +#: library/os.rst:4695 msgid "This function should be employed only if :func:`WIFEXITED` is true." msgstr "" -#: library/os.rst:4697 +#: library/os.rst:4702 msgid "Return the signal which caused the process to stop." msgstr "" -#: library/os.rst:4699 +#: library/os.rst:4704 msgid "This function should be employed only if :func:`WIFSTOPPED` is true." msgstr "" -#: library/os.rst:4706 +#: library/os.rst:4711 msgid "Return the number of the signal that caused the process to terminate." msgstr "" -#: library/os.rst:4714 +#: library/os.rst:4719 msgid "Interface to the scheduler" msgstr "" -#: library/os.rst:4716 +#: library/os.rst:4721 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:4722 +#: library/os.rst:4727 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." msgstr "" -#: library/os.rst:4727 +#: library/os.rst:4732 msgid "The default scheduling policy." msgstr "" -#: library/os.rst:4731 +#: library/os.rst:4736 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." msgstr "" -#: library/os.rst:4736 +#: library/os.rst:4741 msgid "Scheduling policy for extremely low priority background tasks." msgstr "" -#: library/os.rst:4740 +#: library/os.rst:4745 msgid "Scheduling policy for sporadic server programs." msgstr "" -#: library/os.rst:4744 +#: library/os.rst:4749 msgid "A First In First Out scheduling policy." msgstr "" -#: library/os.rst:4748 +#: library/os.rst:4753 msgid "A round-robin scheduling policy." msgstr "" -#: library/os.rst:4752 +#: library/os.rst:4757 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:4759 +#: library/os.rst:4764 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:4763 +#: library/os.rst:4768 msgid "At the moment, there is only one possible parameter:" msgstr "" -#: library/os.rst:4767 +#: library/os.rst:4772 msgid "The scheduling priority for a scheduling policy." msgstr "" -#: library/os.rst:4772 +#: library/os.rst:4777 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:4778 +#: library/os.rst:4783 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:4784 +#: library/os.rst:4789 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:4791 +#: library/os.rst:4796 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:4798 +#: library/os.rst:4803 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:4804 +#: library/os.rst:4809 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:4810 +#: library/os.rst:4815 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:4816 +#: library/os.rst:4821 msgid "Voluntarily relinquish the CPU." msgstr "" -#: library/os.rst:4821 +#: library/os.rst:4826 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:4828 +#: library/os.rst:4833 msgid "" "Return the set of CPUs the process with PID *pid* (or the current process if " "zero) is restricted to." msgstr "" -#: library/os.rst:4835 +#: library/os.rst:4840 msgid "Miscellaneous System Information" msgstr "" -#: library/os.rst:4840 +#: library/os.rst:4845 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 " @@ -5170,13 +5177,13 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:4848 +#: library/os.rst:4853 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." msgstr "" -#: library/os.rst:4851 +#: library/os.rst:4856 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 " @@ -5184,33 +5191,33 @@ msgid "" "`errno.EINVAL` for the error number." msgstr "" -#: library/os.rst:4861 +#: library/os.rst:4866 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:4870 +#: library/os.rst:4875 msgid "" "Return the number of CPUs in the system. Returns ``None`` if undetermined." msgstr "" -#: library/os.rst:4872 +#: library/os.rst:4877 msgid "" "This number is not equivalent to the number of CPUs the current process can " "use. The number of usable CPUs can be obtained with ``len(os." "sched_getaffinity(0))``" msgstr "" -#: library/os.rst:4882 +#: library/os.rst:4887 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:4891 +#: library/os.rst:4896 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -5219,44 +5226,44 @@ msgid "" "``sysconf_names``." msgstr "" -#: library/os.rst:4901 +#: library/os.rst:4906 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:4907 +#: library/os.rst:4912 msgid "Add ``'SC_MINSIGSTKSZ'`` name." msgstr "" -#: library/os.rst:4910 +#: library/os.rst:4915 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." msgstr "" -#: library/os.rst:4913 +#: library/os.rst:4918 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." msgstr "" -#: library/os.rst:4919 +#: library/os.rst:4924 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:4927 +#: library/os.rst:4932 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:4936 +#: library/os.rst:4941 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -5265,7 +5272,7 @@ msgid "" "useful. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4946 +#: library/os.rst:4951 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -5273,27 +5280,27 @@ msgid "" "via :mod:`os.path`." msgstr "" -#: library/os.rst:4955 +#: library/os.rst:4960 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:4963 +#: library/os.rst:4968 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:4970 +#: library/os.rst:4975 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:4977 +#: library/os.rst:4982 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 " @@ -5302,36 +5309,36 @@ msgid "" "default); use a single ``'\\n'`` instead, on all platforms." msgstr "" -#: library/os.rst:4986 +#: library/os.rst:4991 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:4997 +#: library/os.rst:5002 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:5005 +#: library/os.rst:5010 msgid "Random numbers" msgstr "" -#: library/os.rst:5010 +#: library/os.rst:5015 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." msgstr "" -#: library/os.rst:5013 +#: library/os.rst:5018 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." msgstr "" -#: library/os.rst:5016 +#: library/os.rst:5021 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -5339,36 +5346,36 @@ msgid "" "``/dev/urandom`` devices." msgstr "" -#: library/os.rst:5021 +#: library/os.rst:5026 msgid "" "The flags argument is a bit mask that can contain zero or more of the " "following values ORed together: :py:data:`os.GRND_RANDOM` and :py:data:" "`GRND_NONBLOCK`." msgstr "" -#: library/os.rst:5025 +#: library/os.rst:5030 msgid "" "See also the `Linux getrandom() manual page `_." msgstr "" -#: library/os.rst:5028 +#: library/os.rst:5033 msgid ":ref:`Availability `: Linux >= 3.17." msgstr "" -#: library/os.rst:5034 +#: library/os.rst:5039 msgid "" "Return a bytestring of *size* random bytes suitable for cryptographic use." msgstr "" -#: library/os.rst:5036 +#: library/os.rst:5041 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:5040 +#: library/os.rst:5045 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -5378,64 +5385,200 @@ msgid "" "to poll until the system urandom entropy pool is initialized." msgstr "" -#: library/os.rst:5047 +#: library/os.rst:5052 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:5051 +#: library/os.rst:5056 msgid "On Windows, it will use ``BCryptGenRandom()``." msgstr "" -#: library/os.rst:5054 +#: library/os.rst:5059 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:5058 +#: library/os.rst:5063 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." msgstr "" -#: library/os.rst:5062 +#: library/os.rst:5067 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:5066 +#: library/os.rst:5071 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:5072 +#: library/os.rst:5077 msgid "" "On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()`` " "which is deprecated." msgstr "" -#: library/os.rst:5078 +#: library/os.rst:5083 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:5082 +#: library/os.rst:5087 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:5089 +#: library/os.rst:5094 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." msgstr "" + +#: library/os.rst:518 library/os.rst:682 +msgid "user" +msgstr "" + +#: library/os.rst:363 +msgid "effective id" +msgstr "" + +#: library/os.rst:438 library/os.rst:456 library/os.rst:617 library/os.rst:3943 +msgid "process" +msgstr "" + +#: library/os.rst:438 +msgid "group" +msgstr "" + +#: library/os.rst:518 +msgid "id" +msgstr "" + +#: library/os.rst:456 +msgid "id of parent" +msgstr "" + +#: library/os.rst:617 +msgid "scheduling priority" +msgstr "" + +#: library/os.rst:747 +msgid "environment variables" +msgstr "" + +#: library/os.rst:541 +msgid "setting" +msgstr "" + +#: library/os.rst:682 +msgid "id, setting" +msgstr "" + +#: library/os.rst:715 +msgid "gethostname() (in module socket)" +msgstr "" + +#: library/os.rst:715 +msgid "gethostbyaddr() (in module socket)" +msgstr "" + +#: library/os.rst:2357 +msgid "deleting" +msgstr "" + +#: library/os.rst:2710 +msgid "module" +msgstr "" + +#: library/os.rst:1188 +msgid "pty" +msgstr "" + +#: library/os.rst:2155 library/os.rst:3208 library/os.rst:3307 +msgid "directory" +msgstr "" + +#: library/os.rst:1824 +msgid "changing" +msgstr "" + +#: library/os.rst:2155 +msgid "creating" +msgstr "" + +#: library/os.rst:2155 +msgid "UNC paths" +msgstr "" + +#: library/os.rst:2155 +msgid "and os.makedirs()" +msgstr "" + +#: library/os.rst:2710 +msgid "stat" +msgstr "" + +#: library/os.rst:3307 +msgid "walking" +msgstr "" + +#: library/os.rst:3307 +msgid "traversal" +msgstr "" + +#: library/os.rst:3943 +msgid "killing" +msgstr "" + +#: library/os.rst:3943 +msgid "signalling" +msgstr "" + +#: library/os.rst:4957 +msgid ". (dot)" +msgstr "" + +#: library/os.rst:4929 library/os.rst:4948 library/os.rst:4957 +msgid "in pathnames" +msgstr "" + +#: library/os.rst:4929 +msgid ".." +msgstr "" + +#: library/os.rst:4948 +msgid "/ (slash)" +msgstr "" + +#: library/os.rst:4938 +msgid "\\ (backslash)" +msgstr "" + +#: library/os.rst:4938 +msgid "in pathnames (Windows)" +msgstr "" + +#: library/os.rst:4964 +msgid ": (colon)" +msgstr "" + +#: library/os.rst:4964 +msgid "path separator (POSIX)" +msgstr "" + +#: library/os.rst:4964 +msgid "; (semicolon)" +msgstr "" diff --git a/library/pathlib.po b/library/pathlib.po index fc406160f..049b76dd8 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -33,7 +33,7 @@ msgid "" "inherit from pure paths but also provide I/O operations." msgstr "" -#: library/pathlib.rst:25 +#: library/pathlib.rst:26 msgid "" "If you've never used this module before or just aren't sure which class is " "right for your task, :class:`Path` is most likely what you need. It " @@ -41,168 +41,168 @@ msgid "" "code is running on." msgstr "" -#: library/pathlib.rst:29 +#: library/pathlib.rst:30 msgid "Pure paths are useful in some special cases; for example:" msgstr "" -#: library/pathlib.rst:31 +#: library/pathlib.rst:32 msgid "" "If you want to manipulate Windows paths on a Unix machine (or vice versa). " "You cannot instantiate a :class:`WindowsPath` when running on Unix, but you " "can instantiate :class:`PureWindowsPath`." msgstr "" -#: library/pathlib.rst:34 +#: library/pathlib.rst:35 msgid "" "You want to make sure that your code only manipulates paths without actually " "accessing the OS. In this case, instantiating one of the pure classes may be " "useful since those simply don't have any OS-accessing operations." msgstr "" -#: library/pathlib.rst:39 +#: library/pathlib.rst:40 msgid ":pep:`428`: The pathlib module -- object-oriented filesystem paths." msgstr "" -#: library/pathlib.rst:42 +#: library/pathlib.rst:43 msgid "" "For low-level path manipulation on strings, you can also use the :mod:`os." "path` module." msgstr "" -#: library/pathlib.rst:47 +#: library/pathlib.rst:48 msgid "Basic use" msgstr "" -#: library/pathlib.rst:49 +#: library/pathlib.rst:50 msgid "Importing the main class::" msgstr "" -#: library/pathlib.rst:53 +#: library/pathlib.rst:54 msgid "Listing subdirectories::" msgstr "" -#: library/pathlib.rst:60 +#: library/pathlib.rst:61 msgid "Listing Python source files in this directory tree::" msgstr "" -#: library/pathlib.rst:67 +#: library/pathlib.rst:68 msgid "Navigating inside a directory tree::" msgstr "" -#: library/pathlib.rst:76 +#: library/pathlib.rst:77 msgid "Querying path properties::" msgstr "" -#: library/pathlib.rst:83 +#: library/pathlib.rst:84 msgid "Opening a file::" msgstr "" -#: library/pathlib.rst:93 +#: library/pathlib.rst:94 msgid "Pure paths" msgstr "" -#: library/pathlib.rst:95 +#: library/pathlib.rst:96 msgid "" "Pure path objects provide path-handling operations which don't actually " "access a filesystem. There are three ways to access these classes, which we " "also call *flavours*:" msgstr "" -#: library/pathlib.rst:101 +#: library/pathlib.rst:102 msgid "" "A generic class that represents the system's path flavour (instantiating it " "creates either a :class:`PurePosixPath` or a :class:`PureWindowsPath`)::" msgstr "" -#: library/pathlib.rst:107 +#: library/pathlib.rst:108 msgid "" "Each element of *pathsegments* can be either a string representing a path " "segment, an object implementing the :class:`os.PathLike` interface which " "returns a string, or another path object::" msgstr "" -#: library/pathlib.rst:116 +#: library/pathlib.rst:117 msgid "When *pathsegments* is empty, the current directory is assumed::" msgstr "" -#: library/pathlib.rst:121 +#: library/pathlib.rst:122 msgid "" "If a segment is an absolute path, all previous segments are ignored (like :" "func:`os.path.join`)::" msgstr "" -#: library/pathlib.rst:129 +#: library/pathlib.rst:130 msgid "" "On Windows, the drive is not reset when a rooted relative path segment (e." "g., ``r'\\foo'``) is encountered::" msgstr "" -#: library/pathlib.rst:135 +#: library/pathlib.rst:136 msgid "" "Spurious slashes and single dots are collapsed, but double dots (``'..'``) " "and leading double slashes (``'//'``) are not, since this would change the " "meaning of a path for various reasons (e.g. symbolic links, UNC paths)::" msgstr "" -#: library/pathlib.rst:148 +#: library/pathlib.rst:149 msgid "" "(a naïve approach would make ``PurePosixPath('foo/../bar')`` equivalent to " "``PurePosixPath('bar')``, which is wrong if ``foo`` is a symbolic link to " "another directory)" msgstr "" -#: library/pathlib.rst:152 +#: library/pathlib.rst:153 msgid "" "Pure path objects implement the :class:`os.PathLike` interface, allowing " "them to be used anywhere the interface is accepted." msgstr "" -#: library/pathlib.rst:155 +#: library/pathlib.rst:156 msgid "Added support for the :class:`os.PathLike` interface." msgstr "" -#: library/pathlib.rst:160 +#: library/pathlib.rst:161 msgid "" "A subclass of :class:`PurePath`, this path flavour represents non-Windows " "filesystem paths::" msgstr "" -#: library/pathlib.rst:178 library/pathlib.rst:681 library/pathlib.rst:691 +#: library/pathlib.rst:179 library/pathlib.rst:682 library/pathlib.rst:692 msgid "*pathsegments* is specified similarly to :class:`PurePath`." msgstr "" -#: library/pathlib.rst:170 +#: library/pathlib.rst:171 msgid "" "A subclass of :class:`PurePath`, this path flavour represents Windows " "filesystem paths, including `UNC paths`_::" msgstr "" -#: library/pathlib.rst:182 +#: library/pathlib.rst:183 msgid "" "Regardless of the system you're running on, you can instantiate all of these " "classes, since they don't provide any operation that does system calls." msgstr "" -#: library/pathlib.rst:187 +#: library/pathlib.rst:188 msgid "General properties" msgstr "" -#: library/pathlib.rst:189 +#: library/pathlib.rst:190 msgid "" "Paths are immutable and :term:`hashable`. Paths of a same flavour are " "comparable and orderable. These properties respect the flavour's case-" "folding semantics::" msgstr "" -#: library/pathlib.rst:202 +#: library/pathlib.rst:203 msgid "Paths of a different flavour compare unequal and cannot be ordered::" msgstr "" -#: library/pathlib.rst:213 +#: library/pathlib.rst:214 msgid "Operators" msgstr "" -#: library/pathlib.rst:215 +#: library/pathlib.rst:216 msgid "" "The slash operator helps create child paths, like :func:`os.path.join`. If " "the argument is an absolute path, the previous path is ignored. On Windows, " @@ -210,291 +210,291 @@ msgid "" "``r'\\foo'``)::" msgstr "" -#: library/pathlib.rst:233 +#: library/pathlib.rst:234 msgid "" "A path object can be used anywhere an object implementing :class:`os." "PathLike` is accepted::" msgstr "" -#: library/pathlib.rst:241 +#: library/pathlib.rst:242 msgid "" "The string representation of a path is the raw filesystem path itself (in " "native form, e.g. with backslashes under Windows), which you can pass to any " "function taking a file path as a string::" msgstr "" -#: library/pathlib.rst:252 +#: library/pathlib.rst:253 msgid "" "Similarly, calling :class:`bytes` on a path gives the raw filesystem path as " "a bytes object, as encoded by :func:`os.fsencode`::" msgstr "" -#: library/pathlib.rst:259 +#: library/pathlib.rst:260 msgid "" "Calling :class:`bytes` is only recommended under Unix. Under Windows, the " "unicode form is the canonical representation of filesystem paths." msgstr "" -#: library/pathlib.rst:264 +#: library/pathlib.rst:265 msgid "Accessing individual parts" msgstr "" -#: library/pathlib.rst:266 +#: library/pathlib.rst:267 msgid "" "To access the individual \"parts\" (components) of a path, use the following " "property:" msgstr "" -#: library/pathlib.rst:271 +#: library/pathlib.rst:272 msgid "A tuple giving access to the path's various components::" msgstr "" -#: library/pathlib.rst:281 +#: library/pathlib.rst:282 msgid "(note how the drive and local root are regrouped in a single part)" msgstr "" -#: library/pathlib.rst:285 +#: library/pathlib.rst:286 msgid "Methods and properties" msgstr "" -#: library/pathlib.rst:291 +#: library/pathlib.rst:292 msgid "Pure paths provide the following methods and properties:" msgstr "" -#: library/pathlib.rst:295 +#: library/pathlib.rst:296 msgid "A string representing the drive letter or name, if any::" msgstr "" -#: library/pathlib.rst:304 +#: library/pathlib.rst:305 msgid "UNC shares are also considered drives::" msgstr "" -#: library/pathlib.rst:311 +#: library/pathlib.rst:312 msgid "A string representing the (local or global) root, if any::" msgstr "" -#: library/pathlib.rst:320 +#: library/pathlib.rst:321 msgid "UNC shares always have a root::" msgstr "" -#: library/pathlib.rst:325 +#: library/pathlib.rst:326 msgid "" "If the path starts with more than two successive slashes, :class:`~pathlib." "PurePosixPath` collapses them::" msgstr "" -#: library/pathlib.rst:337 +#: library/pathlib.rst:338 msgid "" "This behavior conforms to *The Open Group Base Specifications Issue 6*, " "paragraph `4.11 Pathname Resolution `_:" msgstr "" -#: library/pathlib.rst:341 +#: library/pathlib.rst:342 msgid "" "*\"A pathname that begins with two successive slashes may be interpreted in " "an implementation-defined manner, although more than two leading slashes " "shall be treated as a single slash.\"*" msgstr "" -#: library/pathlib.rst:347 +#: library/pathlib.rst:348 msgid "The concatenation of the drive and root::" msgstr "" -#: library/pathlib.rst:361 +#: library/pathlib.rst:362 msgid "" "An immutable sequence providing access to the logical ancestors of the path::" msgstr "" -#: library/pathlib.rst:372 +#: library/pathlib.rst:373 msgid "" "The parents sequence now supports :term:`slices ` and negative index " "values." msgstr "" -#: library/pathlib.rst:377 +#: library/pathlib.rst:378 msgid "The logical parent of the path::" msgstr "" -#: library/pathlib.rst:383 +#: library/pathlib.rst:384 msgid "You cannot go past an anchor, or empty path::" msgstr "" -#: library/pathlib.rst:393 +#: library/pathlib.rst:394 msgid "This is a purely lexical operation, hence the following behaviour::" msgstr "" -#: library/pathlib.rst:399 +#: library/pathlib.rst:400 msgid "" "If you want to walk an arbitrary filesystem path upwards, it is recommended " "to first call :meth:`Path.resolve` so as to resolve symlinks and eliminate " "``\"..\"`` components." msgstr "" -#: library/pathlib.rst:406 +#: library/pathlib.rst:407 msgid "" "A string representing the final path component, excluding the drive and " "root, if any::" msgstr "" -#: library/pathlib.rst:412 +#: library/pathlib.rst:413 msgid "UNC drive names are not considered::" msgstr "" -#: library/pathlib.rst:422 +#: library/pathlib.rst:423 msgid "The file extension of the final component, if any::" msgstr "" -#: library/pathlib.rst:434 +#: library/pathlib.rst:435 msgid "A list of the path's file extensions::" msgstr "" -#: library/pathlib.rst:446 +#: library/pathlib.rst:447 msgid "The final path component, without its suffix::" msgstr "" -#: library/pathlib.rst:458 +#: library/pathlib.rst:459 msgid "" "Return a string representation of the path with forward slashes (``/``)::" msgstr "" -#: library/pathlib.rst:469 +#: library/pathlib.rst:470 msgid "" "Represent the path as a ``file`` URI. :exc:`ValueError` is raised if the " "path isn't absolute." msgstr "" -#: library/pathlib.rst:482 +#: library/pathlib.rst:483 msgid "" "Return whether the path is absolute or not. A path is considered absolute " "if it has both a root and (if the flavour allows) a drive::" msgstr "" -#: library/pathlib.rst:502 +#: library/pathlib.rst:503 msgid "Return whether or not this path is relative to the *other* path." msgstr "" -#: library/pathlib.rst:515 +#: library/pathlib.rst:516 msgid "" "With :class:`PureWindowsPath`, return ``True`` if the path is considered " "reserved under Windows, ``False`` otherwise. With :class:`PurePosixPath`, " "``False`` is always returned." msgstr "" -#: library/pathlib.rst:524 +#: library/pathlib.rst:525 msgid "" "File system calls on reserved paths can fail mysteriously or have unintended " "effects." msgstr "" -#: library/pathlib.rst:530 +#: library/pathlib.rst:531 msgid "" "Calling this method is equivalent to combining the path with each of the " "*other* arguments in turn::" msgstr "" -#: library/pathlib.rst:545 +#: library/pathlib.rst:546 msgid "" "Match this path against the provided glob-style pattern. Return ``True`` if " "matching is successful, ``False`` otherwise." msgstr "" -#: library/pathlib.rst:548 +#: library/pathlib.rst:549 msgid "" "If *pattern* is relative, the path can be either relative or absolute, and " "matching is done from the right::" msgstr "" -#: library/pathlib.rst:558 +#: library/pathlib.rst:559 msgid "" "If *pattern* is absolute, the path must be absolute, and the whole path must " "match::" msgstr "" -#: library/pathlib.rst:566 +#: library/pathlib.rst:567 msgid "As with other methods, case-sensitivity follows platform defaults::" msgstr "" -#: library/pathlib.rst:576 +#: library/pathlib.rst:577 msgid "" "Compute a version of this path relative to the path represented by *other*. " "If it's impossible, ValueError is raised::" msgstr "" -#: library/pathlib.rst:591 +#: library/pathlib.rst:592 msgid "" "NOTE: This function is part of :class:`PurePath` and works with strings. It " "does not check or access the underlying file structure." msgstr "" -#: library/pathlib.rst:596 +#: library/pathlib.rst:597 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:613 +#: library/pathlib.rst:614 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:637 +#: library/pathlib.rst:638 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:656 +#: library/pathlib.rst:657 msgid "Concrete paths" msgstr "" -#: library/pathlib.rst:658 +#: library/pathlib.rst:659 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:664 +#: library/pathlib.rst:665 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:675 +#: library/pathlib.rst:676 msgid "" "A subclass of :class:`Path` and :class:`PurePosixPath`, this class " "represents concrete non-Windows filesystem paths::" msgstr "" -#: library/pathlib.rst:685 +#: library/pathlib.rst:686 msgid "" "A subclass of :class:`Path` and :class:`PureWindowsPath`, this class " "represents concrete Windows filesystem paths::" msgstr "" -#: library/pathlib.rst:693 +#: library/pathlib.rst:694 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:713 +#: library/pathlib.rst:714 msgid "Methods" msgstr "" -#: library/pathlib.rst:715 +#: library/pathlib.rst:716 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:721 +#: library/pathlib.rst:722 msgid "" ":meth:`~Path.exists()`, :meth:`~Path.is_dir()`, :meth:`~Path.is_file()`, :" "meth:`~Path.is_mount()`, :meth:`~Path.is_symlink()`, :meth:`~Path." @@ -504,78 +504,78 @@ msgid "" "the OS level." msgstr "" -#: library/pathlib.rst:731 +#: library/pathlib.rst:732 msgid "" "Return a new path object representing the current directory (as returned by :" "func:`os.getcwd`)::" msgstr "" -#: library/pathlib.rst:740 +#: library/pathlib.rst:741 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:754 +#: library/pathlib.rst:755 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:757 +#: library/pathlib.rst:758 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:788 +#: library/pathlib.rst:789 msgid "The *follow_symlinks* parameter was added." msgstr "" -#: library/pathlib.rst:773 +#: library/pathlib.rst:774 msgid "Change the file mode and permissions, like :func:`os.chmod`." msgstr "" -#: library/pathlib.rst:775 +#: library/pathlib.rst:776 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:793 +#: library/pathlib.rst:794 msgid "Whether the path points to an existing file or directory::" msgstr "" -#: library/pathlib.rst:805 +#: library/pathlib.rst:806 msgid "" "If the path points to a symlink, :meth:`exists` returns whether the symlink " "*points to* an existing file or directory." msgstr "" -#: library/pathlib.rst:811 +#: library/pathlib.rst:812 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:826 +#: library/pathlib.rst:827 msgid "" "Glob the given relative *pattern* in the directory represented by this path, " "yielding all matching files (of any kind)::" msgstr "" -#: library/pathlib.rst:834 +#: library/pathlib.rst:835 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:846 +#: library/pathlib.rst:847 msgid "" "Using the \"``**``\" pattern in large directory trees may consume an " "inordinate amount of time." @@ -587,37 +587,37 @@ msgid "" "arguments ``self``, ``pattern``." msgstr "" -#: library/pathlib.rst:1146 +#: library/pathlib.rst:1147 msgid "" "Return only directories if *pattern* ends with a pathname components " "separator (:data:`~os.sep` or :data:`~os.altsep`)." msgstr "" -#: library/pathlib.rst:857 +#: library/pathlib.rst:858 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:863 +#: library/pathlib.rst:864 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:875 library/pathlib.rst:913 library/pathlib.rst:931 +#: library/pathlib.rst:876 library/pathlib.rst:914 library/pathlib.rst:932 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:872 +#: library/pathlib.rst:873 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:881 +#: library/pathlib.rst:882 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 " @@ -627,49 +627,49 @@ msgid "" "and POSIX variants. Not implemented on Windows." msgstr "" -#: library/pathlib.rst:893 +#: library/pathlib.rst:894 msgid "" "Return ``True`` if the path points to a symbolic link, ``False`` otherwise." msgstr "" -#: library/pathlib.rst:895 +#: library/pathlib.rst:896 msgid "" "``False`` is also returned if the path doesn't exist; other errors (such as " "permission errors) are propagated." msgstr "" -#: library/pathlib.rst:901 +#: library/pathlib.rst:902 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:910 +#: library/pathlib.rst:911 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:919 +#: library/pathlib.rst:920 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:928 +#: library/pathlib.rst:929 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:937 +#: library/pathlib.rst:938 msgid "" "When the path points to a directory, yield path objects of the directory " "contents::" msgstr "" -#: library/pathlib.rst:951 +#: library/pathlib.rst:952 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 " @@ -677,88 +677,88 @@ msgid "" "be included is unspecified." msgstr "" -#: library/pathlib.rst:958 +#: library/pathlib.rst:959 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:964 +#: library/pathlib.rst:965 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:970 +#: library/pathlib.rst:971 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:975 +#: library/pathlib.rst:976 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:979 +#: library/pathlib.rst:980 msgid "" "If *parents* is false (the default), a missing parent raises :exc:" "`FileNotFoundError`." msgstr "" -#: library/pathlib.rst:982 +#: library/pathlib.rst:983 msgid "" "If *exist_ok* is false (the default), :exc:`FileExistsError` is raised if " "the target directory already exists." msgstr "" -#: library/pathlib.rst:985 +#: library/pathlib.rst:986 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:989 +#: library/pathlib.rst:990 msgid "The *exist_ok* parameter was added." msgstr "" -#: library/pathlib.rst:995 +#: library/pathlib.rst:996 msgid "" "Open the file pointed to by the path, like the built-in :func:`open` " "function does::" msgstr "" -#: library/pathlib.rst:1007 +#: library/pathlib.rst:1008 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:1013 +#: library/pathlib.rst:1014 msgid "Return the binary contents of the pointed-to file as a bytes object::" msgstr "" -#: library/pathlib.rst:1026 +#: library/pathlib.rst:1027 msgid "Return the decoded contents of the pointed-to file as a string::" msgstr "" -#: library/pathlib.rst:1034 +#: library/pathlib.rst:1035 msgid "" "The file is opened and then closed. The optional parameters have the same " "meaning as in :func:`open`." msgstr "" -#: library/pathlib.rst:1042 +#: library/pathlib.rst:1043 msgid "" "Return the path to which the symbolic link points (as returned by :func:`os." "readlink`)::" msgstr "" -#: library/pathlib.rst:1055 +#: library/pathlib.rst:1056 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, " @@ -767,49 +767,49 @@ msgid "" "either a string or another path object::" msgstr "" -#: library/pathlib.rst:1086 +#: library/pathlib.rst:1087 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:1074 +#: library/pathlib.rst:1075 msgid "" "It is implemented in terms of :func:`os.rename` and gives the same " "guarantees." msgstr "" -#: library/pathlib.rst:1090 +#: library/pathlib.rst:1091 msgid "Added return value, return the new Path instance." msgstr "" -#: library/pathlib.rst:1082 +#: library/pathlib.rst:1083 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:1096 +#: library/pathlib.rst:1097 msgid "" "Make the path absolute, without normalization or resolving symlinks. Returns " "a new path object::" msgstr "" -#: library/pathlib.rst:1108 +#: library/pathlib.rst:1109 msgid "" "Make the path absolute, resolving any symlinks. A new path object is " "returned::" msgstr "" -#: library/pathlib.rst:1117 +#: library/pathlib.rst:1118 msgid "" "\"``..``\" components are also eliminated (this is the only method to do " "so)::" msgstr "" -#: library/pathlib.rst:1123 +#: library/pathlib.rst:1124 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 " @@ -818,11 +818,11 @@ msgid "" "`RuntimeError` is raised." msgstr "" -#: library/pathlib.rst:1129 +#: library/pathlib.rst:1130 msgid "The *strict* argument (pre-3.6 behavior is strict)." msgstr "" -#: library/pathlib.rst:1134 +#: library/pathlib.rst:1135 msgid "" "This is like calling :func:`Path.glob` with \"``**/``\" added in front of " "the given relative *pattern*::" @@ -834,49 +834,49 @@ msgid "" "arguments ``self``, ``pattern``." msgstr "" -#: library/pathlib.rst:1152 +#: library/pathlib.rst:1153 msgid "Remove this directory. The directory must be empty." msgstr "" -#: library/pathlib.rst:1157 +#: library/pathlib.rst:1158 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:1161 +#: library/pathlib.rst:1162 msgid "" "An :exc:`OSError` can be raised if either file cannot be accessed for some " "reason." msgstr "" -#: library/pathlib.rst:1178 +#: library/pathlib.rst:1179 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:1194 +#: library/pathlib.rst:1195 msgid "" "The order of arguments (link, target) is the reverse of :func:`os.symlink`'s." msgstr "" -#: library/pathlib.rst:1199 +#: library/pathlib.rst:1200 msgid "Make this path a hard link to the same file as *target*." msgstr "" -#: library/pathlib.rst:1202 +#: library/pathlib.rst:1203 msgid "" "The order of arguments (link, target) is the reverse of :func:`os.link`'s." msgstr "" -#: library/pathlib.rst:1209 +#: library/pathlib.rst:1210 msgid "Make *target* a hard link to this path." msgstr "" -#: library/pathlib.rst:1213 +#: library/pathlib.rst:1214 msgid "" "This function does not make this path a hard link to *target*, despite the " "implication of the function and argument names. The argument order (target, " @@ -884,14 +884,14 @@ msgid "" "hardlink_to`, but matches that of :func:`os.link`." msgstr "" -#: library/pathlib.rst:1222 +#: library/pathlib.rst:1223 msgid "" "This method is deprecated in favor of :meth:`Path.hardlink_to`, as the " "argument order of :meth:`Path.link_to` does not match that of :meth:`Path." "symlink_to`." msgstr "" -#: library/pathlib.rst:1229 +#: library/pathlib.rst:1230 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. " @@ -900,65 +900,65 @@ msgid "" "`FileExistsError` is raised." msgstr "" -#: library/pathlib.rst:1238 +#: library/pathlib.rst:1239 msgid "" "Remove this file or symbolic link. If the path points to a directory, use :" "func:`Path.rmdir` instead." msgstr "" -#: library/pathlib.rst:1241 +#: library/pathlib.rst:1242 msgid "" "If *missing_ok* is false (the default), :exc:`FileNotFoundError` is raised " "if the path does not exist." msgstr "" -#: library/pathlib.rst:1244 +#: library/pathlib.rst:1245 msgid "" "If *missing_ok* is true, :exc:`FileNotFoundError` exceptions will be ignored " "(same behavior as the POSIX ``rm -f`` command)." msgstr "" -#: library/pathlib.rst:1247 +#: library/pathlib.rst:1248 msgid "The *missing_ok* parameter was added." msgstr "" -#: library/pathlib.rst:1253 +#: library/pathlib.rst:1254 msgid "" "Open the file pointed to in bytes mode, write *data* to it, and close the " "file::" msgstr "" -#: library/pathlib.rst:1262 +#: library/pathlib.rst:1263 msgid "An existing file of the same name is overwritten." msgstr "" -#: library/pathlib.rst:1269 +#: library/pathlib.rst:1270 msgid "" "Open the file pointed to in text mode, write *data* to it, and close the " "file::" msgstr "" -#: library/pathlib.rst:1278 +#: library/pathlib.rst:1279 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:1283 +#: library/pathlib.rst:1284 msgid "The *newline* parameter was added." msgstr "" -#: library/pathlib.rst:1287 +#: library/pathlib.rst:1288 msgid "Correspondence to tools in the :mod:`os` module" msgstr "" -#: library/pathlib.rst:1289 +#: library/pathlib.rst:1290 msgid "" "Below is a table mapping various :mod:`os` functions to their corresponding :" "class:`PurePath`/:class:`Path` equivalent." msgstr "" -#: library/pathlib.rst:1294 +#: library/pathlib.rst:1295 msgid "" "Not all pairs of functions/methods below are equivalent. Some of them, " "despite having some overlapping use-cases, have different semantics. They " @@ -966,238 +966,246 @@ msgid "" "relpath` and :meth:`PurePath.relative_to`." msgstr "" -#: library/pathlib.rst:1300 +#: library/pathlib.rst:1301 msgid ":mod:`os` and :mod:`os.path`" msgstr "" -#: library/pathlib.rst:1300 +#: library/pathlib.rst:1301 msgid ":mod:`pathlib`" msgstr "" -#: library/pathlib.rst:1302 +#: library/pathlib.rst:1303 msgid ":func:`os.path.abspath`" msgstr "" -#: library/pathlib.rst:1302 +#: library/pathlib.rst:1303 msgid ":meth:`Path.absolute` [#]_" msgstr "" -#: library/pathlib.rst:1303 +#: library/pathlib.rst:1304 msgid ":func:`os.path.realpath`" msgstr "" -#: library/pathlib.rst:1303 +#: library/pathlib.rst:1304 msgid ":meth:`Path.resolve`" msgstr "" -#: library/pathlib.rst:1304 +#: library/pathlib.rst:1305 msgid ":func:`os.chmod`" msgstr "" -#: library/pathlib.rst:1304 +#: library/pathlib.rst:1305 msgid ":meth:`Path.chmod`" msgstr "" -#: library/pathlib.rst:1305 +#: library/pathlib.rst:1306 msgid ":func:`os.mkdir`" msgstr "" -#: library/pathlib.rst:1306 +#: library/pathlib.rst:1307 msgid ":meth:`Path.mkdir`" msgstr "" -#: library/pathlib.rst:1306 +#: library/pathlib.rst:1307 msgid ":func:`os.makedirs`" msgstr "" -#: library/pathlib.rst:1307 +#: library/pathlib.rst:1308 msgid ":func:`os.rename`" msgstr "" -#: library/pathlib.rst:1307 +#: library/pathlib.rst:1308 msgid ":meth:`Path.rename`" msgstr "" -#: library/pathlib.rst:1308 +#: library/pathlib.rst:1309 msgid ":func:`os.replace`" msgstr "" -#: library/pathlib.rst:1308 +#: library/pathlib.rst:1309 msgid ":meth:`Path.replace`" msgstr "" -#: library/pathlib.rst:1309 +#: library/pathlib.rst:1310 msgid ":func:`os.rmdir`" msgstr "" -#: library/pathlib.rst:1309 +#: library/pathlib.rst:1310 msgid ":meth:`Path.rmdir`" msgstr "" -#: library/pathlib.rst:1310 +#: library/pathlib.rst:1311 msgid ":func:`os.remove`, :func:`os.unlink`" msgstr "" -#: library/pathlib.rst:1310 +#: library/pathlib.rst:1311 msgid ":meth:`Path.unlink`" msgstr "" -#: library/pathlib.rst:1311 +#: library/pathlib.rst:1312 msgid ":func:`os.getcwd`" msgstr "" -#: library/pathlib.rst:1311 +#: library/pathlib.rst:1312 msgid ":func:`Path.cwd`" msgstr "" -#: library/pathlib.rst:1312 +#: library/pathlib.rst:1313 msgid ":func:`os.path.exists`" msgstr "" -#: library/pathlib.rst:1312 +#: library/pathlib.rst:1313 msgid ":meth:`Path.exists`" msgstr "" -#: library/pathlib.rst:1313 +#: library/pathlib.rst:1314 msgid ":func:`os.path.expanduser`" msgstr "" -#: library/pathlib.rst:1313 +#: library/pathlib.rst:1314 msgid ":meth:`Path.expanduser` and :meth:`Path.home`" msgstr "" -#: library/pathlib.rst:1315 +#: library/pathlib.rst:1316 msgid ":func:`os.listdir`" msgstr "" -#: library/pathlib.rst:1315 +#: library/pathlib.rst:1316 msgid ":meth:`Path.iterdir`" msgstr "" -#: library/pathlib.rst:1316 +#: library/pathlib.rst:1317 msgid ":func:`os.path.isdir`" msgstr "" -#: library/pathlib.rst:1316 +#: library/pathlib.rst:1317 msgid ":meth:`Path.is_dir`" msgstr "" -#: library/pathlib.rst:1317 +#: library/pathlib.rst:1318 msgid ":func:`os.path.isfile`" msgstr "" -#: library/pathlib.rst:1317 +#: library/pathlib.rst:1318 msgid ":meth:`Path.is_file`" msgstr "" -#: library/pathlib.rst:1318 +#: library/pathlib.rst:1319 msgid ":func:`os.path.islink`" msgstr "" -#: library/pathlib.rst:1318 +#: library/pathlib.rst:1319 msgid ":meth:`Path.is_symlink`" msgstr "" -#: library/pathlib.rst:1319 +#: library/pathlib.rst:1320 msgid ":func:`os.link`" msgstr "" -#: library/pathlib.rst:1319 +#: library/pathlib.rst:1320 msgid ":meth:`Path.hardlink_to`" msgstr "" -#: library/pathlib.rst:1320 +#: library/pathlib.rst:1321 msgid ":func:`os.symlink`" msgstr "" -#: library/pathlib.rst:1320 +#: library/pathlib.rst:1321 msgid ":meth:`Path.symlink_to`" msgstr "" -#: library/pathlib.rst:1321 +#: library/pathlib.rst:1322 msgid ":func:`os.readlink`" msgstr "" -#: library/pathlib.rst:1321 +#: library/pathlib.rst:1322 msgid ":meth:`Path.readlink`" msgstr "" -#: library/pathlib.rst:1322 +#: library/pathlib.rst:1323 msgid ":func:`os.path.relpath`" msgstr "" -#: library/pathlib.rst:1322 +#: library/pathlib.rst:1323 msgid ":meth:`PurePath.relative_to` [#]_" msgstr "" -#: library/pathlib.rst:1323 +#: library/pathlib.rst:1324 msgid ":func:`os.stat`" msgstr "" -#: library/pathlib.rst:1323 +#: library/pathlib.rst:1324 msgid ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`" msgstr "" -#: library/pathlib.rst:1326 +#: library/pathlib.rst:1327 msgid ":func:`os.path.isabs`" msgstr "" -#: library/pathlib.rst:1326 +#: library/pathlib.rst:1327 msgid ":meth:`PurePath.is_absolute`" msgstr "" -#: library/pathlib.rst:1327 +#: library/pathlib.rst:1328 msgid ":func:`os.path.join`" msgstr "" -#: library/pathlib.rst:1327 +#: library/pathlib.rst:1328 msgid ":func:`PurePath.joinpath`" msgstr "" -#: library/pathlib.rst:1328 +#: library/pathlib.rst:1329 msgid ":func:`os.path.basename`" msgstr "" -#: library/pathlib.rst:1328 +#: library/pathlib.rst:1329 msgid ":attr:`PurePath.name`" msgstr "" -#: library/pathlib.rst:1329 +#: library/pathlib.rst:1330 msgid ":func:`os.path.dirname`" msgstr "" -#: library/pathlib.rst:1329 +#: library/pathlib.rst:1330 msgid ":attr:`PurePath.parent`" msgstr "" -#: library/pathlib.rst:1330 +#: library/pathlib.rst:1331 msgid ":func:`os.path.samefile`" msgstr "" -#: library/pathlib.rst:1330 +#: library/pathlib.rst:1331 msgid ":meth:`Path.samefile`" msgstr "" -#: library/pathlib.rst:1331 +#: library/pathlib.rst:1332 msgid ":func:`os.path.splitext`" msgstr "" -#: library/pathlib.rst:1331 +#: library/pathlib.rst:1332 msgid ":attr:`PurePath.stem` and :attr:`PurePath.suffix`" msgstr "" -#: library/pathlib.rst:1336 +#: library/pathlib.rst:1337 msgid "Footnotes" msgstr "" -#: library/pathlib.rst:1337 +#: library/pathlib.rst:1338 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:1338 +#: library/pathlib.rst:1339 msgid "" ":meth:`PurePath.relative_to` requires ``self`` to be the subpath of the " "argument, but :func:`os.path.relpath` does not." msgstr "" + +#: library/pathlib.rst:12 +msgid "path" +msgstr "" + +#: library/pathlib.rst:12 +msgid "operations" +msgstr "" diff --git a/library/pdb.po b/library/pdb.po index 4457d4e54..cb2e25575 100644 --- a/library/pdb.po +++ b/library/pdb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-04 22:37+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -62,74 +62,82 @@ msgid "" msgstr "" #: library/pdb.rst:39 +msgid "The typical usage to break into the debugger is to insert::" +msgstr "" + +#: library/pdb.rst:43 +msgid "Or::" +msgstr "" + +#: library/pdb.rst:47 msgid "" -"The debugger's prompt is ``(Pdb)``. Typical usage to run a program under " -"control of the debugger is::" +"at the location you want to break into the debugger, and then run the " +"program. You can then step through the code following this statement, and " +"continue running without the debugger using the :pdbcmd:`continue` command." msgstr "" -#: library/pdb.rst:53 +#: library/pdb.rst:51 +msgid "" +"The built-in :func:`breakpoint()`, when called with defaults, can be used " +"instead of ``import pdb; pdb.set_trace()``." +msgstr "" + +#: library/pdb.rst:63 +msgid "" +"The debugger's prompt is ``(Pdb)``, which is the indicator that you are in " +"debug mode::" +msgstr "" + +#: library/pdb.rst:72 msgid "" "Tab-completion via the :mod:`readline` module is available for commands and " "command arguments, e.g. the current global and local names are offered as " "arguments of the ``p`` command." msgstr "" -#: library/pdb.rst:58 +#: library/pdb.rst:78 msgid "" -":file:`pdb.py` can also be invoked as a script to debug other scripts. For " -"example::" +"You can also invoke :mod:`pdb` from the command line to debug other " +"scripts. For example::" msgstr "" -#: library/pdb.rst:63 +#: library/pdb.rst:83 msgid "" -"When invoked as a script, pdb will automatically enter post-mortem debugging " +"When invoked as a module, pdb will automatically enter post-mortem debugging " "if the program being debugged exits abnormally. After post-mortem debugging " "(or after normal exit of the program), pdb will restart the program. " "Automatic restarting preserves pdb's state (such as breakpoints) and in most " "cases is more useful than quitting the debugger upon program's exit." msgstr "" -#: library/pdb.rst:69 +#: library/pdb.rst:89 msgid "" -":file:`pdb.py` now accepts a ``-c`` option that executes commands as if " -"given in a :file:`.pdbrc` file, see :ref:`debugger-commands`." -msgstr "" - -#: library/pdb.rst:73 -msgid "" -":file:`pdb.py` now accepts a ``-m`` option that execute modules similar to " -"the way ``python3 -m`` does. As with a script, the debugger will pause " -"execution just before the first line of the module." -msgstr "" - -#: library/pdb.rst:79 -msgid "The typical usage to break into the debugger is to insert::" +"``-c`` option is introduced to execute commands as if given in a :file:`." +"pdbrc` file, see :ref:`debugger-commands`." msgstr "" -#: library/pdb.rst:83 +#: library/pdb.rst:93 msgid "" -"at the location you want to break into the debugger, and then run the " -"program. You can then step through the code following this statement, and " -"continue running without the debugger using the :pdbcmd:`continue` command." +"``-m`` option is introduced to execute modules similar to the way ``python -" +"m`` does. As with a script, the debugger will pause execution just before " +"the first line of the module." msgstr "" -#: library/pdb.rst:87 -msgid "" -"The built-in :func:`breakpoint()`, when called with defaults, can be used " -"instead of ``import pdb; pdb.set_trace()``." +#: library/pdb.rst:98 +msgid "Typical usage to execute a statement under control of the debugger is::" msgstr "" -#: library/pdb.rst:91 +#: library/pdb.rst:109 msgid "The typical usage to inspect a crashed program is::" msgstr "" -#: library/pdb.rst:109 +#: library/pdb.rst:127 msgid "" "The module defines the following functions; each enters the debugger in a " "slightly different way:" msgstr "" -#: library/pdb.rst:114 +#: library/pdb.rst:132 msgid "" "Execute the *statement* (given as a string or a code object) under debugger " "control. The debugger prompt appears before any code is executed; you can " @@ -141,14 +149,14 @@ msgid "" "`exec` or :func:`eval` functions.)" msgstr "" -#: library/pdb.rst:126 +#: library/pdb.rst:144 msgid "" "Evaluate the *expression* (given as a string or a code object) under " "debugger control. When :func:`runeval` returns, it returns the value of the " -"expression. Otherwise this function is similar to :func:`run`." +"*expression*. Otherwise this function is similar to :func:`run`." msgstr "" -#: library/pdb.rst:133 +#: library/pdb.rst:151 msgid "" "Call the *function* (a function or method object, not a string) with the " "given arguments. When :func:`runcall` returns, it returns whatever the " @@ -156,7 +164,7 @@ msgid "" "is entered." msgstr "" -#: library/pdb.rst:141 +#: library/pdb.rst:159 msgid "" "Enter the debugger at the calling stack frame. This is useful to hard-code " "a breakpoint at a given point in a program, even if the code is not " @@ -164,11 +172,11 @@ msgid "" "is printed to the console just before debugging begins." msgstr "" -#: library/pdb.rst:146 +#: library/pdb.rst:164 msgid "The keyword-only argument *header*." msgstr "" -#: library/pdb.rst:152 +#: library/pdb.rst:170 msgid "" "Enter post-mortem debugging of the given *traceback* object. If no " "*traceback* is given, it uses the one of the exception that is currently " @@ -176,52 +184,52 @@ msgid "" "used)." msgstr "" -#: library/pdb.rst:160 +#: library/pdb.rst:178 msgid "" "Enter post-mortem debugging of the traceback found in :data:`sys." "last_traceback`." msgstr "" -#: library/pdb.rst:164 +#: library/pdb.rst:182 msgid "" "The ``run*`` functions and :func:`set_trace` are aliases for instantiating " "the :class:`Pdb` class and calling the method of the same name. If you want " "to access further features, you have to do this yourself:" msgstr "" -#: library/pdb.rst:171 +#: library/pdb.rst:189 msgid ":class:`Pdb` is the debugger class." msgstr "" -#: library/pdb.rst:173 +#: library/pdb.rst:191 msgid "" "The *completekey*, *stdin* and *stdout* arguments are passed to the " "underlying :class:`cmd.Cmd` class; see the description there." msgstr "" -#: library/pdb.rst:176 +#: library/pdb.rst:194 msgid "" "The *skip* argument, if given, must be an iterable of glob-style module name " "patterns. The debugger will not step into frames that originate in a module " "that matches one of these patterns. [1]_" msgstr "" -#: library/pdb.rst:180 +#: library/pdb.rst:198 msgid "" "By default, Pdb sets a handler for the SIGINT signal (which is sent when the " -"user presses :kbd:`Ctrl-C` on the console) when you give a ``continue`` " -"command. This allows you to break into the debugger again by pressing :kbd:" -"`Ctrl-C`. If you want Pdb not to touch the SIGINT handler, set *nosigint* " -"to true." +"user presses :kbd:`Ctrl-C` on the console) when you give a :pdbcmd:" +"`continue` command. This allows you to break into the debugger again by " +"pressing :kbd:`Ctrl-C`. If you want Pdb not to touch the SIGINT handler, " +"set *nosigint* to true." msgstr "" -#: library/pdb.rst:185 +#: library/pdb.rst:203 msgid "" "The *readrc* argument defaults to true and controls whether Pdb will load ." "pdbrc files from the filesystem." msgstr "" -#: library/pdb.rst:188 +#: library/pdb.rst:206 msgid "Example call to enable tracing with *skip*::" msgstr "" @@ -230,28 +238,28 @@ msgid "" "Raises an :ref:`auditing event ` ``pdb.Pdb`` with no arguments." msgstr "" -#: library/pdb.rst:194 +#: library/pdb.rst:212 msgid "The *skip* argument." msgstr "" -#: library/pdb.rst:197 +#: library/pdb.rst:215 msgid "" "The *nosigint* argument. Previously, a SIGINT handler was never set by Pdb." msgstr "" -#: library/pdb.rst:201 +#: library/pdb.rst:219 msgid "The *readrc* argument." msgstr "" -#: library/pdb.rst:209 +#: library/pdb.rst:227 msgid "See the documentation for the functions explained above." msgstr "" -#: library/pdb.rst:215 +#: library/pdb.rst:233 msgid "Debugger Commands" msgstr "" -#: library/pdb.rst:217 +#: library/pdb.rst:235 msgid "" "The commands recognized by the debugger are listed below. Most commands can " "be abbreviated to one or two letters as indicated; e.g. ``h(elp)`` means " @@ -263,13 +271,13 @@ msgid "" "are separated by a vertical bar (``|``)." msgstr "" -#: library/pdb.rst:226 +#: library/pdb.rst:244 msgid "" "Entering a blank line repeats the last command entered. Exception: if the " "last command was a :pdbcmd:`list` command, the next 11 lines are listed." msgstr "" -#: library/pdb.rst:229 +#: library/pdb.rst:247 msgid "" "Commands that the debugger doesn't recognize are assumed to be Python " "statements and are executed in the context of the program being debugged. " @@ -280,14 +288,14 @@ msgid "" "is not changed." msgstr "" -#: library/pdb.rst:237 +#: library/pdb.rst:255 msgid "" "The debugger supports :ref:`aliases `. Aliases can have " "parameters which allows one a certain level of adaptability to the context " "under examination." msgstr "" -#: library/pdb.rst:241 +#: library/pdb.rst:259 msgid "" "Multiple commands may be entered on a single line, separated by ``;;``. (A " "single ``;`` is not used as it is the separator for multiple commands in a " @@ -298,7 +306,7 @@ msgid "" "\"\";\"``." msgstr "" -#: library/pdb.rst:252 +#: library/pdb.rst:270 msgid "" "If a file :file:`.pdbrc` exists in the user's home directory or in the " "current directory, it is read with ``'utf-8'`` encoding and executed as if " @@ -307,20 +315,20 @@ msgid "" "and aliases defined there can be overridden by the local file." msgstr "" -#: library/pdb.rst:258 +#: library/pdb.rst:276 msgid "" ":file:`.pdbrc` is now read with ``'utf-8'`` encoding. Previously, it was " "read with the system locale encoding." msgstr "" -#: library/pdb.rst:262 +#: library/pdb.rst:280 msgid "" ":file:`.pdbrc` can now contain commands that continue debugging, such as :" "pdbcmd:`continue` or :pdbcmd:`next`. Previously, these commands had no " "effect." msgstr "" -#: library/pdb.rst:270 +#: library/pdb.rst:288 msgid "" "Without argument, print the list of available commands. With a *command* as " "argument, print help about that command. ``help pdb`` displays the full " @@ -329,25 +337,26 @@ msgid "" "the ``!`` command." msgstr "" -#: library/pdb.rst:278 +#: library/pdb.rst:296 msgid "" "Print a stack trace, with the most recent frame at the bottom. An arrow " -"indicates the current frame, which determines the context of most commands." +"(``>``) indicates the current frame, which determines the context of most " +"commands." msgstr "" -#: library/pdb.rst:283 +#: library/pdb.rst:301 msgid "" "Move the current frame *count* (default one) levels down in the stack trace " "(to a newer frame)." msgstr "" -#: library/pdb.rst:288 +#: library/pdb.rst:306 msgid "" "Move the current frame *count* (default one) levels up in the stack trace " "(to an older frame)." msgstr "" -#: library/pdb.rst:293 +#: library/pdb.rst:311 msgid "" "With a *lineno* argument, set a break there in the current file. With a " "*function* argument, set a break at the first executable statement within " @@ -358,33 +367,33 @@ msgid "" "refer." msgstr "" -#: library/pdb.rst:300 +#: library/pdb.rst:318 msgid "" "If a second argument is present, it is an expression which must evaluate to " "true before the breakpoint is honored." msgstr "" -#: library/pdb.rst:303 +#: library/pdb.rst:321 msgid "" "Without argument, list all breaks, including for each breakpoint, the number " "of times that breakpoint has been hit, the current ignore count, and the " "associated condition if any." msgstr "" -#: library/pdb.rst:309 +#: library/pdb.rst:327 msgid "" "Temporary breakpoint, which is removed automatically when it is first hit. " "The arguments are the same as for :pdbcmd:`break`." msgstr "" -#: library/pdb.rst:314 +#: library/pdb.rst:332 msgid "" "With a *filename:lineno* argument, clear all the breakpoints at this line. " "With a space separated list of breakpoint numbers, clear those breakpoints. " "Without argument, clear all breaks (but first ask confirmation)." msgstr "" -#: library/pdb.rst:320 +#: library/pdb.rst:338 msgid "" "Disable the breakpoints given as a space separated list of breakpoint " "numbers. Disabling a breakpoint means it cannot cause the program to stop " @@ -392,52 +401,52 @@ msgid "" "breakpoints and can be (re-)enabled." msgstr "" -#: library/pdb.rst:327 +#: library/pdb.rst:345 msgid "Enable the breakpoints specified." msgstr "" -#: library/pdb.rst:331 +#: library/pdb.rst:349 msgid "" -"Set the ignore count for the given breakpoint number. If count is omitted, " -"the ignore count is set to 0. A breakpoint becomes active when the ignore " -"count is zero. When non-zero, the count is decremented each time the " -"breakpoint is reached and the breakpoint is not disabled and any associated " -"condition evaluates to true." +"Set the ignore count for the given breakpoint number. If *count* is " +"omitted, the ignore count is set to 0. A breakpoint becomes active when the " +"ignore count is zero. When non-zero, the *count* is decremented each time " +"the breakpoint is reached and the breakpoint is not disabled and any " +"associated condition evaluates to true." msgstr "" -#: library/pdb.rst:339 +#: library/pdb.rst:357 msgid "" "Set a new *condition* for the breakpoint, an expression which must evaluate " "to true before the breakpoint is honored. If *condition* is absent, any " "existing condition is removed; i.e., the breakpoint is made unconditional." msgstr "" -#: library/pdb.rst:345 +#: library/pdb.rst:363 msgid "" "Specify a list of commands for breakpoint number *bpnumber*. The commands " "themselves appear on the following lines. Type a line containing just " "``end`` to terminate the commands. An example::" msgstr "" -#: library/pdb.rst:354 +#: library/pdb.rst:372 msgid "" "To remove all commands from a breakpoint, type ``commands`` and follow it " "immediately with ``end``; that is, give no commands." msgstr "" -#: library/pdb.rst:357 +#: library/pdb.rst:375 msgid "" "With no *bpnumber* argument, ``commands`` refers to the last breakpoint set." msgstr "" -#: library/pdb.rst:359 +#: library/pdb.rst:377 msgid "" "You can use breakpoint commands to start your program up again. Simply use " "the :pdbcmd:`continue` command, or :pdbcmd:`step`, or any other command that " "resumes execution." msgstr "" -#: library/pdb.rst:363 +#: library/pdb.rst:381 msgid "" "Specifying any command resuming execution (currently :pdbcmd:`continue`, :" "pdbcmd:`step`, :pdbcmd:`next`, :pdbcmd:`return`, :pdbcmd:`jump`, :pdbcmd:" @@ -448,22 +457,22 @@ msgid "" "ambiguities about which list to execute." msgstr "" -#: library/pdb.rst:372 +#: library/pdb.rst:390 msgid "" -"If you use the 'silent' command in the command list, the usual message about " -"stopping at a breakpoint is not printed. This may be desirable for " +"If you use the ``silent`` command in the command list, the usual message " +"about stopping at a breakpoint is not printed. This may be desirable for " "breakpoints that are to print a specific message and then continue. If none " "of the other commands print anything, you see no sign that the breakpoint " "was reached." msgstr "" -#: library/pdb.rst:379 +#: library/pdb.rst:397 msgid "" "Execute the current line, stop at the first possible occasion (either in a " "function that is called or on the next line in the current function)." msgstr "" -#: library/pdb.rst:384 +#: library/pdb.rst:402 msgid "" "Continue execution until the next line in the current function is reached or " "it returns. (The difference between :pdbcmd:`next` and :pdbcmd:`step` is " @@ -472,46 +481,46 @@ msgid "" "line in the current function.)" msgstr "" -#: library/pdb.rst:392 +#: library/pdb.rst:410 msgid "" "Without argument, continue execution until the line with a number greater " "than the current one is reached." msgstr "" -#: library/pdb.rst:395 +#: library/pdb.rst:413 msgid "" -"With a line number, continue execution until a line with a number greater or " -"equal to that is reached. In both cases, also stop when the current frame " -"returns." +"With *lineno*, continue execution until a line with a number greater or " +"equal to *lineno* is reached. In both cases, also stop when the current " +"frame returns." msgstr "" -#: library/pdb.rst:399 +#: library/pdb.rst:417 msgid "Allow giving an explicit line number." msgstr "" -#: library/pdb.rst:404 +#: library/pdb.rst:422 msgid "Continue execution until the current function returns." msgstr "" -#: library/pdb.rst:408 +#: library/pdb.rst:426 msgid "Continue execution, only stop when a breakpoint is encountered." msgstr "" -#: library/pdb.rst:412 +#: library/pdb.rst:430 msgid "" "Set the next line that will be executed. Only available in the bottom-most " "frame. This lets you jump back and execute code again, or jump forward to " "skip code that you don't want to run." msgstr "" -#: library/pdb.rst:416 +#: library/pdb.rst:434 msgid "" "It should be noted that not all jumps are allowed -- for instance it is not " "possible to jump into the middle of a :keyword:`for` loop or out of a :" "keyword:`finally` clause." msgstr "" -#: library/pdb.rst:422 +#: library/pdb.rst:440 msgid "" "List source code for the current file. Without arguments, list 11 lines " "around the current line or continue the previous listing. With ``.`` as " @@ -520,7 +529,7 @@ msgid "" "second argument is less than the first, it is interpreted as a count." msgstr "" -#: library/pdb.rst:428 +#: library/pdb.rst:446 msgid "" "The current line in the current frame is indicated by ``->``. If an " "exception is being debugged, the line where the exception was originally " @@ -528,77 +537,99 @@ msgid "" "line." msgstr "" -#: library/pdb.rst:433 +#: library/pdb.rst:451 msgid "The ``>>`` marker." msgstr "" -#: library/pdb.rst:438 +#: library/pdb.rst:456 msgid "" "List all source code for the current function or frame. Interesting lines " "are marked as for :pdbcmd:`list`." msgstr "" -#: library/pdb.rst:445 -msgid "Print the argument list of the current function." +#: library/pdb.rst:463 +msgid "Print the arguments of the current function and their current values." msgstr "" -#: library/pdb.rst:449 -msgid "Evaluate the *expression* in the current context and print its value." +#: library/pdb.rst:467 +msgid "Evaluate *expression* in the current context and print its value." msgstr "" -#: library/pdb.rst:453 +#: library/pdb.rst:471 msgid "" "``print()`` can also be used, but is not a debugger command --- this " "executes the Python :func:`print` function." msgstr "" -#: library/pdb.rst:459 +#: library/pdb.rst:477 msgid "" -"Like the :pdbcmd:`p` command, except the value of the expression is pretty-" +"Like the :pdbcmd:`p` command, except the value of *expression* is pretty-" "printed using the :mod:`pprint` module." msgstr "" -#: library/pdb.rst:464 -msgid "Print the type of the *expression*." +#: library/pdb.rst:482 +msgid "Print the type of *expression*." msgstr "" -#: library/pdb.rst:468 -msgid "Try to get source code for the given object and display it." +#: library/pdb.rst:486 +msgid "Try to get source code of *expression* and display it." msgstr "" -#: library/pdb.rst:474 +#: library/pdb.rst:492 msgid "" -"Display the value of the expression if it changed, each time execution stops " +"Display the value of *expression* if it changed, each time execution stops " "in the current frame." msgstr "" -#: library/pdb.rst:477 -msgid "Without expression, list all display expressions for the current frame." +#: library/pdb.rst:495 +msgid "" +"Without *expression*, list all display expressions for the current frame." msgstr "" -#: library/pdb.rst:483 +#: library/pdb.rst:499 msgid "" -"Do not display the expression any more in the current frame. Without " -"expression, clear all display expressions for the current frame." +"Display evaluates *expression* and compares to the result of the previous " +"evaluation of *expression*, so when the result is mutable, display may not " +"be able to pick up the changes." +msgstr "" + +#: library/pdb.rst:503 +msgid "Example::" msgstr "" -#: library/pdb.rst:490 +#: library/pdb.rst:511 +msgid "" +"Display won't realize ``lst`` has been changed because the result of " +"evaluation is modified in place by ``lst.append(1)`` before being compared::" +msgstr "" + +#: library/pdb.rst:526 +msgid "You can do some tricks with copy mechanism to make it work::" +msgstr "" + +#: library/pdb.rst:545 +msgid "" +"Do not display *expression* anymore in the current frame. Without " +"*expression*, clear all display expressions for the current frame." +msgstr "" + +#: library/pdb.rst:552 msgid "" "Start an interactive interpreter (using the :mod:`code` module) whose global " "namespace contains all the (global and local) names found in the current " "scope." msgstr "" -#: library/pdb.rst:500 +#: library/pdb.rst:562 msgid "" -"Create an alias called *name* that executes *command*. The command must " +"Create an alias called *name* that executes *command*. The *command* must " "*not* be enclosed in quotes. Replaceable parameters can be indicated by " "``%1``, ``%2``, and so on, while ``%*`` is replaced by all the parameters. " -"If no command is given, the current alias for *name* is shown. If no " +"If *command* is omitted, the current alias for *name* is shown. If no " "arguments are given, all aliases are listed." msgstr "" -#: library/pdb.rst:506 +#: library/pdb.rst:568 msgid "" "Aliases may be nested and can contain anything that can be legally typed at " "the pdb prompt. Note that internal pdb commands *can* be overridden by " @@ -607,17 +638,17 @@ msgid "" "other words in the line are left alone." msgstr "" -#: library/pdb.rst:512 +#: library/pdb.rst:574 msgid "" "As an example, here are two useful aliases (especially when placed in the :" "file:`.pdbrc` file)::" msgstr "" -#: library/pdb.rst:522 -msgid "Delete the specified alias." +#: library/pdb.rst:584 +msgid "Delete the specified alias *name*." msgstr "" -#: library/pdb.rst:526 +#: library/pdb.rst:588 msgid "" "Execute the (one-line) *statement* in the context of the current stack " "frame. The exclamation point can be omitted unless the first word of the " @@ -626,34 +657,70 @@ msgid "" "line, e.g.::" msgstr "" -#: library/pdb.rst:538 +#: library/pdb.rst:600 msgid "" -"Restart the debugged Python program. If an argument is supplied, it is " -"split with :mod:`shlex` and the result is used as the new :data:`sys.argv`. " +"Restart the debugged Python program. If *args* is supplied, it is split " +"with :mod:`shlex` and the result is used as the new :data:`sys.argv`. " "History, breakpoints, actions and debugger options are preserved. :pdbcmd:" "`restart` is an alias for :pdbcmd:`run`." msgstr "" -#: library/pdb.rst:545 +#: library/pdb.rst:607 msgid "Quit from the debugger. The program being executed is aborted." msgstr "" -#: library/pdb.rst:549 +#: library/pdb.rst:611 msgid "" -"Enter a recursive debugger that steps through the code argument (which is an " -"arbitrary expression or statement to be executed in the current environment)." +"Enter a recursive debugger that steps through *code* (which is an arbitrary " +"expression or statement to be executed in the current environment)." msgstr "" -#: library/pdb.rst:555 -msgid "Print the return value for the last return of a function." +#: library/pdb.rst:617 +msgid "Print the return value for the last return of the current function." msgstr "" -#: library/pdb.rst:558 +#: library/pdb.rst:620 msgid "Footnotes" msgstr "" -#: library/pdb.rst:559 +#: library/pdb.rst:621 msgid "" "Whether a frame is considered to originate in a certain module is determined " "by the ``__name__`` in the frame globals." msgstr "" + +#: library/pdb.rst:11 +msgid "debugging" +msgstr "" + +#: library/pdb.rst:21 +msgid "Pdb (class in pdb)" +msgstr "" + +#: library/pdb.rst:21 +msgid "module" +msgstr "" + +#: library/pdb.rst:21 +msgid "bdb" +msgstr "" + +#: library/pdb.rst:21 +msgid "cmd" +msgstr "" + +#: library/pdb.rst:266 +msgid ".pdbrc" +msgstr "" + +#: library/pdb.rst:266 +msgid "file" +msgstr "" + +#: library/pdb.rst:266 +msgid "debugger" +msgstr "" + +#: library/pdb.rst:266 +msgid "configuration" +msgstr "" diff --git a/library/pickle.po b/library/pickle.po index 71211827a..a309d6827 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1396,3 +1396,63 @@ msgid "" "kind of newline characters occurs in persistent IDs, the resulting pickled " "data will become unreadable." msgstr "" + +#: library/pickle.rst:12 +msgid "persistence" +msgstr "" + +#: library/pickle.rst:12 +msgid "persistent" +msgstr "" + +#: library/pickle.rst:12 +msgid "objects" +msgstr "" + +#: library/pickle.rst:12 +msgid "serializing" +msgstr "" + +#: library/pickle.rst:12 +msgid "marshalling" +msgstr "" + +#: library/pickle.rst:12 +msgid "flattening" +msgstr "" + +#: library/pickle.rst:12 +msgid "pickling" +msgstr "" + +#: library/pickle.rst:123 +msgid "External Data Representation" +msgstr "" + +#: library/pickle.rst:663 +msgid "copy" +msgstr "" + +#: library/pickle.rst:663 +msgid "protocol" +msgstr "" + +#: library/pickle.rst:746 +msgid "persistent_id (pickle protocol)" +msgstr "" + +#: library/pickle.rst:746 +msgid "persistent_load (pickle protocol)" +msgstr "" + +#: library/pickle.rst:822 +msgid "__getstate__() (copy protocol)" +msgstr "" + +#: library/pickle.rst:822 +msgid "__setstate__() (copy protocol)" +msgstr "" + +#: library/pickle.rst:1067 +msgid "find_class() (pickle protocol)" +msgstr "" diff --git a/library/pkgutil.po b/library/pkgutil.po index 75f2e05de..cfe6ad59d 100644 --- a/library/pkgutil.po +++ b/library/pkgutil.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -42,10 +42,10 @@ msgstr "" #: library/pkgutil.rst:28 msgid "" -"This will add to the package's ``__path__`` all subdirectories of " -"directories on :data:`sys.path` named after the package. This is useful if " -"one wants to distribute different parts of a single logical package as " -"multiple directories." +"For each directory on :data:`sys.path` that has a subdirectory that matches " +"the package name, add the subdirectory to the package's :attr:`__path__`. " +"This is useful if one wants to distribute different parts of a single " +"logical package as multiple directories." msgstr "" #: library/pkgutil.rst:33 @@ -112,7 +112,8 @@ msgstr "" msgid "" "This is a backwards compatibility wrapper around :func:`importlib.util." "find_spec` that converts most failures to :exc:`ImportError` and only " -"returns the loader rather than the full :class:`ModuleSpec`." +"returns the loader rather than the full :class:`importlib.machinery." +"ModuleSpec`." msgstr "" #: library/pkgutil.rst:104 library/pkgutil.rst:140 library/pkgutil.rst:200 diff --git a/library/plistlib.po b/library/plistlib.po index 28158bc59..e54e1a575 100644 --- a/library/plistlib.po +++ b/library/plistlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -73,7 +73,7 @@ msgstr "" #: library/plistlib.rst:49 msgid "" -"`PList manual page `_" msgstr "" @@ -222,3 +222,15 @@ msgstr "" #: library/plistlib.rst:182 msgid "Parsing a plist::" msgstr "" + +#: library/plistlib.rst:13 +msgid "plist" +msgstr "" + +#: library/plistlib.rst:13 +msgid "file" +msgstr "" + +#: library/plistlib.rst:13 +msgid "property list" +msgstr "" diff --git a/library/poplib.po b/library/poplib.po index 2179ee3a2..bed98ccc8 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -325,3 +325,11 @@ msgid "" "At the end of the module, there is a test section that contains a more " "extensive example of usage." msgstr "" + +#: library/poplib.rst:12 +msgid "POP3" +msgstr "" + +#: library/poplib.rst:12 +msgid "protocol" +msgstr "" diff --git a/library/posix.po b/library/posix.po index 562d25ee0..7030e3194 100644 --- a/library/posix.po +++ b/library/posix.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -111,3 +111,19 @@ msgid "" "module version of this is recommended over direct access to the :mod:`posix` " "module." msgstr "" + +#: library/posix.rst:14 +msgid "module" +msgstr "" + +#: library/posix.rst:14 +msgid "os" +msgstr "" + +#: library/posix.rst:34 +msgid "large files" +msgstr "" + +#: library/posix.rst:34 +msgid "file" +msgstr "" diff --git a/library/pprint.po b/library/pprint.po index ea08e0ce5..9650ef11e 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -285,3 +285,19 @@ msgid "" "Additionally, maximum character *width* can be suggested. If a long object " "cannot be split, the specified width will be exceeded::" msgstr "" + +#: library/pprint.rst:39 +msgid "..." +msgstr "" + +#: library/pprint.rst:39 +msgid "placeholder" +msgstr "" + +#: library/pprint.rst:217 +msgid "built-in function" +msgstr "" + +#: library/pprint.rst:217 +msgid "eval" +msgstr "" diff --git a/library/profile.po b/library/profile.po index 9c27dbb38..c98224ef7 100644 --- a/library/profile.po +++ b/library/profile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -99,7 +99,7 @@ msgstr "" msgid "" "The first line indicates that 214 calls were monitored. Of those calls, 207 " "were :dfn:`primitive`, meaning that the call was not induced via recursion. " -"The next line: ``Ordered by: cumulative name``, indicates that the text " +"The next line: ``Ordered by: cumulative time``, indicates that the text " "string in the far right column was used to sort the output. The column " "headings include:" msgstr "" @@ -958,3 +958,11 @@ msgid "" "make precise measurements of process or wall-clock time. For example, see :" "func:`time.perf_counter`." msgstr "" + +#: library/profile.rst:16 +msgid "deterministic profiling" +msgstr "" + +#: library/profile.rst:16 +msgid "profiling, deterministic" +msgstr "" diff --git a/library/pwd.po b/library/pwd.po index 231256549..8677aa635 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -190,3 +190,11 @@ msgstr "" #: library/pwd.rst:77 msgid "An interface to the shadow password database, similar to this." msgstr "" + +#: library/pwd.rst:42 +msgid "module" +msgstr "" + +#: library/pwd.rst:42 +msgid "crypt" +msgstr "" diff --git a/library/py_compile.po b/library/py_compile.po index 7868c0fc2..eca4a306c 100644 --- a/library/py_compile.po +++ b/library/py_compile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -204,3 +204,11 @@ msgstr "" #: library/py_compile.rst:161 msgid "Utilities to compile all Python source files in a directory tree." msgstr "" + +#: library/py_compile.rst:12 +msgid "file" +msgstr "" + +#: library/py_compile.rst:12 +msgid "byte-code" +msgstr "" diff --git a/library/pydoc.po b/library/pydoc.po index 4c4e79961..6c7ef2aab 100644 --- a/library/pydoc.po +++ b/library/pydoc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -155,3 +155,19 @@ msgstr "" #: library/pydoc.rst:108 msgid "Added the ``-n`` option." msgstr "" + +#: library/pydoc.rst:12 +msgid "documentation" +msgstr "" + +#: library/pydoc.rst:12 +msgid "generation" +msgstr "" + +#: library/pydoc.rst:12 +msgid "online" +msgstr "" + +#: library/pydoc.rst:12 +msgid "help" +msgstr "" diff --git a/library/pyexpat.po b/library/pyexpat.po index 0c5fc9941..3349ee855 100644 --- a/library/pyexpat.po +++ b/library/pyexpat.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -836,3 +836,15 @@ msgid "" "www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl and https://www.iana." "org/assignments/character-sets/character-sets.xhtml." msgstr "" + +#: library/pyexpat.rst:26 +msgid "Expat" +msgstr "" + +#: library/pyexpat.rst:36 +msgid "module" +msgstr "" + +#: library/pyexpat.rst:36 +msgid "pyexpat" +msgstr "" diff --git a/library/quopri.po b/library/quopri.po index 12b1f7061..23f4e9c28 100644 --- a/library/quopri.po +++ b/library/quopri.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -77,3 +77,19 @@ msgstr "" #: library/quopri.rst:63 msgid "Encode and decode MIME base64 data" msgstr "" + +#: library/quopri.rst:9 +msgid "quoted-printable" +msgstr "" + +#: library/quopri.rst:9 +msgid "encoding" +msgstr "" + +#: library/quopri.rst:9 +msgid "MIME" +msgstr "" + +#: library/quopri.rst:9 +msgid "quoted-printable encoding" +msgstr "" diff --git a/library/random.po b/library/random.po index a6ae8192f..afc017605 100644 --- a/library/random.po +++ b/library/random.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -418,22 +418,23 @@ msgstr "" #: library/random.rst:313 msgid "" -"Gamma distribution. (*Not* the gamma function!) Conditions on the " -"parameters are ``alpha > 0`` and ``beta > 0``." +"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:316 +#: library/random.rst:318 msgid "The probability distribution function is::" msgstr "" -#: library/random.rst:325 +#: library/random.rst:327 msgid "" -"Normal distribution, also called the Gaussian distribution. *mu* is the " +"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:329 +#: library/random.rst:332 msgid "" "Multithreading note: When two threads call this function simultaneously, it " "is possible that they will receive the same return value. This can be " @@ -442,11 +443,11 @@ msgid "" "but thread-safe :func:`normalvariate` function instead." msgstr "" -#: library/random.rst:352 +#: library/random.rst:355 msgid "*mu* and *sigma* now have default arguments." msgstr "" -#: library/random.rst:342 +#: library/random.rst:345 msgid "" "Log normal distribution. If you take the natural logarithm of this " "distribution, you'll get a normal distribution with mean *mu* and standard " @@ -454,13 +455,13 @@ msgid "" "than zero." msgstr "" -#: library/random.rst:350 +#: library/random.rst:353 msgid "" "Normal distribution. *mu* is the mean, and *sigma* is the standard " "deviation." msgstr "" -#: library/random.rst:358 +#: library/random.rst:361 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 " @@ -468,34 +469,34 @@ msgid "" "uniform random angle over the range 0 to 2\\*\\ *pi*." msgstr "" -#: library/random.rst:366 +#: library/random.rst:369 msgid "Pareto distribution. *alpha* is the shape parameter." msgstr "" -#: library/random.rst:371 +#: library/random.rst:374 msgid "" "Weibull distribution. *alpha* is the scale parameter and *beta* is the " "shape parameter." msgstr "" -#: library/random.rst:376 +#: library/random.rst:379 msgid "Alternative Generator" msgstr "" -#: library/random.rst:380 +#: library/random.rst:383 msgid "" "Class that implements the default pseudo-random number generator used by " "the :mod:`random` module." msgstr "" -#: library/random.rst:383 +#: library/random.rst:386 msgid "" "In the future, the *seed* must be one of the following types: :class:" "`NoneType`, :class:`int`, :class:`float`, :class:`str`, :class:`bytes`, or :" "class:`bytearray`." msgstr "" -#: library/random.rst:390 +#: library/random.rst:393 msgid "" "Class that uses the :func:`os.urandom` function for generating random " "numbers from sources provided by the operating system. Not available on all " @@ -505,11 +506,11 @@ msgid "" "`NotImplementedError` if called." msgstr "" -#: library/random.rst:399 +#: library/random.rst:402 msgid "Notes on Reproducibility" msgstr "" -#: library/random.rst:401 +#: library/random.rst:404 msgid "" "Sometimes it is useful to be able to reproduce the sequences given by a " "pseudo-random number generator. By re-using a seed value, the same sequence " @@ -517,44 +518,44 @@ msgid "" "running." msgstr "" -#: library/random.rst:405 +#: library/random.rst:408 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:408 +#: library/random.rst:411 msgid "" "If a new seeding method is added, then a backward compatible seeder will be " "offered." msgstr "" -#: library/random.rst:411 +#: library/random.rst:414 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:417 +#: library/random.rst:420 msgid "Examples" msgstr "" -#: library/random.rst:419 +#: library/random.rst:422 msgid "Basic examples::" msgstr "" -#: library/random.rst:447 +#: library/random.rst:450 msgid "Simulations::" msgstr "" -#: library/random.rst:475 +#: library/random.rst:478 msgid "" "Example of `statistical bootstrapping `_ using resampling with replacement to estimate " "a confidence interval for the mean of a sample::" msgstr "" -#: library/random.rst:488 +#: library/random.rst:491 msgid "" "Example of a `resampling permutation test `_ to determine the statistical " @@ -562,12 +563,12 @@ msgid "" "observed difference between the effects of a drug versus a placebo::" msgstr "" -#: library/random.rst:515 +#: library/random.rst:518 msgid "" "Simulation of arrival times and service deliveries for a multiserver queue::" msgstr "" -#: library/random.rst:544 +#: library/random.rst:547 msgid "" "`Statistics for Hackers `_ a " "video tutorial by `Jake Vanderplas `_ a simulation of a marketplace by `Peter Norvig `_ a tutorial by `Peter " @@ -593,17 +594,17 @@ msgid "" "Python." msgstr "" -#: library/random.rst:565 +#: library/random.rst:568 msgid "Recipes" msgstr "" -#: library/random.rst:567 +#: library/random.rst:570 msgid "" "These recipes show how to efficiently make random selections from the " "combinatoric iterators in the :mod:`itertools` module:" msgstr "" -#: library/random.rst:598 +#: library/random.rst:602 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 " @@ -612,7 +613,7 @@ msgid "" "integer multiple of 2⁻⁵³." msgstr "" -#: library/random.rst:604 +#: library/random.rst:608 msgid "" "The following recipe takes a different approach. All floats in the interval " "are possible selections. The mantissa comes from a uniform distribution of " @@ -621,13 +622,13 @@ msgid "" "often as the next larger exponent." msgstr "" -#: library/random.rst:626 +#: library/random.rst:630 msgid "" "All :ref:`real valued distributions ` in the " "class will use the new method::" msgstr "" -#: library/random.rst:635 +#: library/random.rst:639 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 " @@ -636,7 +637,7 @@ msgid "" "and is equal to ``math.ulp(0.0)``.)" msgstr "" -#: library/random.rst:644 +#: library/random.rst:648 msgid "" "`Generating Pseudo-random Floating-Point Values `_ a paper by Allen B. Downey describing " diff --git a/library/re.po b/library/re.po index 797af52a5..911f6f64b 100644 --- a/library/re.po +++ b/library/re.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -144,7 +144,7 @@ msgstr "" msgid "The special characters are:" msgstr "" -#: library/re.rst:1526 +#: library/re.rst:1530 msgid "``.``" msgstr "" @@ -529,7 +529,7 @@ msgid "" "thus fail to match." msgstr "" -#: library/re.rst:422 +#: library/re.rst:423 msgid "``(?P...)``" msgstr "" @@ -594,54 +594,56 @@ msgid "``\\g<1>``" msgstr "" #: library/re.rst:421 -msgid "Group names containing non-ASCII characters in bytes patterns." +msgid "" +"Group *name* containing characters outside the ASCII range (``b'\\x00'``-" +"``b'\\x7f'``) in :class:`bytes` patterns." msgstr "" -#: library/re.rst:428 +#: library/re.rst:429 msgid "``(?P=name)``" msgstr "" -#: library/re.rst:427 +#: library/re.rst:428 msgid "" "A backreference to a named group; it matches whatever text was matched by " "the earlier group named *name*." msgstr "" -#: library/re.rst:433 +#: library/re.rst:434 msgid "``(?#...)``" msgstr "" -#: library/re.rst:433 +#: library/re.rst:434 msgid "A comment; the contents of the parentheses are simply ignored." msgstr "" -#: library/re.rst:440 +#: library/re.rst:441 msgid "``(?=...)``" msgstr "" -#: library/re.rst:438 +#: library/re.rst:439 msgid "" "Matches if ``...`` matches next, but doesn't consume any of the string. " "This is called a :dfn:`lookahead assertion`. For example, ``Isaac (?" "=Asimov)`` will match ``'Isaac '`` only if it's followed by ``'Asimov'``." msgstr "" -#: library/re.rst:447 +#: library/re.rst:448 msgid "``(?!...)``" msgstr "" -#: library/re.rst:445 +#: library/re.rst:446 msgid "" "Matches if ``...`` doesn't match next. This is a :dfn:`negative lookahead " "assertion`. For example, ``Isaac (?!Asimov)`` will match ``'Isaac '`` only " "if it's *not* followed by ``'Asimov'``." msgstr "" -#: library/re.rst:474 +#: library/re.rst:475 msgid "``(?<=...)``" msgstr "" -#: library/re.rst:452 +#: library/re.rst:453 msgid "" "Matches if the current position in the string is preceded by a match for " "``...`` that ends at the current position. This is called a :dfn:`positive " @@ -655,19 +657,19 @@ msgid "" "func:`match` function:" msgstr "" -#: library/re.rst:467 +#: library/re.rst:468 msgid "This example looks for a word following a hyphen:" msgstr "" -#: library/re.rst:473 +#: library/re.rst:474 msgid "Added support for group references of fixed length." msgstr "" -#: library/re.rst:483 +#: library/re.rst:484 msgid "``(?'``." msgstr "" -#: library/re.rst:496 -msgid "Group *id* containing anything except ASCII digits." +#: library/re.rst:1020 +msgid "" +"Group *id* containing anything except ASCII digits. Group *name* containing " +"characters outside the ASCII range (``b'\\x00'``-``b'\\x7f'``) in :class:" +"`bytes` replacement strings." msgstr "" -#: library/re.rst:500 +#: library/re.rst:503 msgid "" "The special sequences consist of ``'\\'`` and a character from the list " "below. If the ordinary character is not an ASCII digit or an ASCII letter, " @@ -702,11 +707,11 @@ msgid "" "matches the character ``'$'``." msgstr "" -#: library/re.rst:515 +#: library/re.rst:518 msgid "``\\number``" msgstr "" -#: library/re.rst:508 +#: library/re.rst:511 msgid "" "Matches the contents of the group of the same number. Groups are numbered " "starting from 1. For example, ``(.+) \\1`` matches ``'the the'`` or ``'55 " @@ -718,19 +723,19 @@ msgid "" "escapes are treated as characters." msgstr "" -#: library/re.rst:520 +#: library/re.rst:523 msgid "``\\A``" msgstr "" -#: library/re.rst:520 +#: library/re.rst:523 msgid "Matches only at the start of the string." msgstr "" -#: library/re.rst:536 +#: library/re.rst:539 msgid "``\\b``" msgstr "" -#: library/re.rst:525 +#: library/re.rst:528 msgid "" "Matches the empty string, but only at the beginning or end of a word. A word " "is defined as a sequence of word characters. Note that formally, ``\\b`` is " @@ -740,7 +745,7 @@ msgid "" "baz'`` but not ``'foobar'`` or ``'foo3'``." msgstr "" -#: library/re.rst:532 +#: library/re.rst:535 msgid "" "By default Unicode alphanumerics are the ones used in Unicode patterns, but " "this can be changed by using the :const:`ASCII` flag. Word boundaries are " @@ -749,11 +754,11 @@ msgid "" "compatibility with Python's string literals." msgstr "" -#: library/re.rst:547 +#: library/re.rst:550 msgid "``\\B``" msgstr "" -#: library/re.rst:541 +#: library/re.rst:544 msgid "" "Matches the empty string, but only when it is *not* at the beginning or end " "of a word. This means that ``r'py\\B'`` matches ``'python'``, ``'py3'``, " @@ -764,15 +769,15 @@ msgid "" "the :const:`LOCALE` flag is used." msgstr "" -#: library/re.rst:559 +#: library/re.rst:562 msgid "``\\d``" msgstr "" -#: library/re.rst:576 library/re.rst:595 +#: library/re.rst:579 library/re.rst:598 msgid "For Unicode (str) patterns:" msgstr "" -#: library/re.rst:553 +#: library/re.rst:556 msgid "" "Matches any Unicode decimal digit (that is, any character in Unicode " "character category [Nd]). This includes ``[0-9]``, and also many other " @@ -780,30 +785,30 @@ msgid "" "matched." msgstr "" -#: library/re.rst:580 library/re.rst:601 +#: library/re.rst:583 library/re.rst:604 msgid "For 8-bit (bytes) patterns:" msgstr "" -#: library/re.rst:559 +#: library/re.rst:562 msgid "Matches any decimal digit; this is equivalent to ``[0-9]``." msgstr "" -#: library/re.rst:566 +#: library/re.rst:569 msgid "``\\D``" msgstr "" -#: library/re.rst:564 +#: library/re.rst:567 msgid "" "Matches any character which is not a decimal digit. This is the opposite of " "``\\d``. If the :const:`ASCII` flag is used this becomes the equivalent of " "``[^0-9]``." msgstr "" -#: library/re.rst:580 +#: library/re.rst:583 msgid "``\\s``" msgstr "" -#: library/re.rst:572 +#: library/re.rst:575 msgid "" "Matches Unicode whitespace characters (which includes " "``[ \\t\\n\\r\\f\\v]``, and also many other characters, for example the non-" @@ -811,35 +816,35 @@ msgid "" "const:`ASCII` flag is used, only ``[ \\t\\n\\r\\f\\v]`` is matched." msgstr "" -#: library/re.rst:579 +#: library/re.rst:582 msgid "" "Matches characters considered whitespace in the ASCII character set; this is " "equivalent to ``[ \\t\\n\\r\\f\\v]``." msgstr "" -#: library/re.rst:587 +#: library/re.rst:590 msgid "``\\S``" msgstr "" -#: library/re.rst:585 +#: library/re.rst:588 msgid "" "Matches any character which is not a whitespace character. This is the " "opposite of ``\\s``. If the :const:`ASCII` flag is used this becomes the " "equivalent of ``[^ \\t\\n\\r\\f\\v]``." msgstr "" -#: library/re.rst:601 +#: library/re.rst:604 msgid "``\\w``" msgstr "" -#: library/re.rst:593 +#: library/re.rst:596 msgid "" "Matches Unicode word characters; this includes alphanumeric characters (as " "defined by :meth:`str.isalnum`) as well as the underscore (``_``). If the :" "const:`ASCII` flag is used, only ``[a-zA-Z0-9_]`` is matched." msgstr "" -#: library/re.rst:598 +#: library/re.rst:601 msgid "" "Matches characters considered alphanumeric in the ASCII character set; this " "is equivalent to ``[a-zA-Z0-9_]``. If the :const:`LOCALE` flag is used, " @@ -847,11 +852,11 @@ msgid "" "underscore." msgstr "" -#: library/re.rst:610 +#: library/re.rst:613 msgid "``\\W``" msgstr "" -#: library/re.rst:606 +#: library/re.rst:609 msgid "" "Matches any character which is not a word character. This is the opposite of " "``\\w``. If the :const:`ASCII` flag is used this becomes the equivalent of " @@ -859,34 +864,34 @@ msgid "" "which are neither alphanumeric in the current locale nor the underscore." msgstr "" -#: library/re.rst:615 +#: library/re.rst:618 msgid "``\\Z``" msgstr "" -#: library/re.rst:615 +#: library/re.rst:618 msgid "Matches only at the end of the string." msgstr "" -#: library/re.rst:631 +#: library/re.rst:634 msgid "" "Most of the standard escapes supported by Python string literals are also " "accepted by the regular expression parser::" msgstr "" -#: library/re.rst:638 +#: library/re.rst:641 msgid "" "(Note that ``\\b`` is used to represent word boundaries, and means " "\"backspace\" only inside character classes.)" msgstr "" -#: library/re.rst:641 +#: library/re.rst:644 msgid "" "``'\\u'``, ``'\\U'``, and ``'\\N'`` escape sequences are only recognized in " "Unicode patterns. In bytes patterns they are errors. Unknown escapes of " "ASCII letters are reserved for future use and treated as errors." msgstr "" -#: library/re.rst:645 +#: library/re.rst:648 msgid "" "Octal escapes are included in a limited form. If the first digit is a 0, or " "if there are three octal digits, it is considered an octal escape. " @@ -894,26 +899,26 @@ msgid "" "are always at most three digits in length." msgstr "" -#: library/re.rst:650 +#: library/re.rst:653 msgid "The ``'\\u'`` and ``'\\U'`` escape sequences have been added." msgstr "" -#: library/re.rst:653 +#: library/re.rst:656 msgid "" "Unknown escapes consisting of ``'\\'`` and an ASCII letter now are errors." msgstr "" -#: library/re.rst:656 +#: library/re.rst:659 msgid "" "The ``'\\N{name}'`` escape sequence has been added. As in string literals, " "it expands to the named Unicode character (e.g. ``'\\N{EM DASH}'``)." msgstr "" -#: library/re.rst:664 +#: library/re.rst:667 msgid "Module Contents" msgstr "" -#: library/re.rst:666 +#: library/re.rst:669 msgid "" "The module defines several functions, constants, and an exception. Some of " "the functions are simplified versions of the full featured methods for " @@ -921,26 +926,26 @@ msgid "" "compiled form." msgstr "" -#: library/re.rst:673 +#: library/re.rst:676 msgid "Flags" msgstr "" -#: library/re.rst:675 +#: library/re.rst:678 msgid "" "Flag constants are now instances of :class:`RegexFlag`, which is a subclass " "of :class:`enum.IntFlag`." msgstr "" -#: library/re.rst:682 +#: library/re.rst:685 msgid "" "An :class:`enum.IntFlag` class containing the regex options listed below." msgstr "" -#: library/re.rst:684 +#: library/re.rst:687 msgid "- added to ``__all__``" msgstr "" -#: library/re.rst:689 +#: library/re.rst:692 msgid "" "Make ``\\w``, ``\\W``, ``\\b``, ``\\B``, ``\\d``, ``\\D``, ``\\s`` and " "``\\S`` perform ASCII-only matching instead of full Unicode matching. This " @@ -948,7 +953,7 @@ msgid "" "Corresponds to the inline flag ``(?a)``." msgstr "" -#: library/re.rst:694 +#: library/re.rst:697 msgid "" "Note that for backward compatibility, the :const:`re.U` flag still exists " "(as well as its synonym :const:`re.UNICODE` and its embedded counterpart ``(?" @@ -956,13 +961,13 @@ msgid "" "default for strings (and Unicode matching isn't allowed for bytes)." msgstr "" -#: library/re.rst:703 +#: library/re.rst:706 msgid "" "Display debug information about compiled expression. No corresponding inline " "flag." msgstr "" -#: library/re.rst:710 +#: library/re.rst:713 msgid "" "Perform case-insensitive matching; expressions like ``[A-Z]`` will also " "match lowercase letters. Full Unicode matching (such as ``Ü`` matching " @@ -972,7 +977,7 @@ msgid "" "flag ``(?i)``." msgstr "" -#: library/re.rst:717 +#: library/re.rst:720 msgid "" "Note that when the Unicode patterns ``[a-z]`` or ``[A-Z]`` are used in " "combination with the :const:`IGNORECASE` flag, they will match the 52 ASCII " @@ -983,7 +988,7 @@ msgid "" "matched." msgstr "" -#: library/re.rst:728 +#: library/re.rst:731 msgid "" "Make ``\\w``, ``\\W``, ``\\b``, ``\\B`` and case-insensitive matching " "dependent on the current locale. This flag can be used only with bytes " @@ -994,20 +999,20 @@ msgid "" "locales/languages. Corresponds to the inline flag ``(?L)``." msgstr "" -#: library/re.rst:737 +#: library/re.rst:740 msgid "" ":const:`re.LOCALE` can be used only with bytes patterns and is not " "compatible with :const:`re.ASCII`." msgstr "" -#: library/re.rst:741 +#: library/re.rst:744 msgid "" "Compiled regular expression objects with the :const:`re.LOCALE` flag no " "longer depend on the locale at compile time. Only the locale at matching " "time affects the result of matching." msgstr "" -#: library/re.rst:750 +#: library/re.rst:753 msgid "" "When specified, the pattern character ``'^'`` matches at the beginning of " "the string and at the beginning of each line (immediately following each " @@ -1018,7 +1023,7 @@ msgid "" "the end of the string. Corresponds to the inline flag ``(?m)``." msgstr "" -#: library/re.rst:760 +#: library/re.rst:763 msgid "" "Indicates no flag being applied, the value is ``0``. This flag may be used " "as a default value for a function keyword argument or as a base value that " @@ -1026,14 +1031,14 @@ msgid "" "value::" msgstr "" -#: library/re.rst:773 +#: library/re.rst:776 msgid "" "Make the ``'.'`` special character match any character at all, including a " "newline; without this flag, ``'.'`` will match anything *except* a newline. " "Corresponds to the inline flag ``(?s)``." msgstr "" -#: library/re.rst:783 +#: library/re.rst:786 msgid "" "This flag allows you to write regular expressions that look nicer and are " "more readable by allowing you to visually separate logical sections of the " @@ -1046,50 +1051,50 @@ msgid "" "ignored." msgstr "" -#: library/re.rst:793 +#: library/re.rst:796 msgid "" "This means that the two following regular expression objects that match a " "decimal number are functionally equal::" msgstr "" -#: library/re.rst:801 +#: library/re.rst:804 msgid "Corresponds to the inline flag ``(?x)``." msgstr "" -#: library/re.rst:805 +#: library/re.rst:808 msgid "Functions" msgstr "" -#: library/re.rst:809 +#: library/re.rst:812 msgid "" "Compile a regular expression pattern into a :ref:`regular expression object " "`, which can be used for matching using its :func:`~Pattern." "match`, :func:`~Pattern.search` and other methods, described below." msgstr "" -#: library/re.rst:814 +#: library/re.rst:817 msgid "" "The expression's behaviour can be modified by specifying a *flags* value. " "Values can be any of the following variables, combined using bitwise OR (the " "``|`` operator)." msgstr "" -#: library/re.rst:818 +#: library/re.rst:821 msgid "The sequence ::" msgstr "" -#: library/re.rst:823 +#: library/re.rst:826 msgid "is equivalent to ::" msgstr "" -#: library/re.rst:827 +#: library/re.rst:830 msgid "" "but using :func:`re.compile` and saving the resulting regular expression " "object for reuse is more efficient when the expression will be used several " "times in a single program." msgstr "" -#: library/re.rst:833 +#: library/re.rst:836 msgid "" "The compiled versions of the most recent patterns passed to :func:`re." "compile` and the module-level matching functions are cached, so programs " @@ -1097,7 +1102,7 @@ msgid "" "compiling regular expressions." msgstr "" -#: library/re.rst:841 +#: library/re.rst:844 msgid "" "Scan through *string* looking for the first location where the regular " "expression *pattern* produces a match, and return a corresponding :ref:" @@ -1106,7 +1111,7 @@ msgid "" "length match at some point in the string." msgstr "" -#: library/re.rst:850 +#: library/re.rst:853 msgid "" "If zero or more characters at the beginning of *string* match the regular " "expression *pattern*, return a corresponding :ref:`match object `. Return ``None`` if the " @@ -1134,7 +1139,7 @@ msgid "" "length match." msgstr "" -#: library/re.rst:874 +#: library/re.rst:877 msgid "" "Split *string* by the occurrences of *pattern*. If capturing parentheses " "are used in *pattern*, then the text of all groups in the pattern are also " @@ -1143,42 +1148,42 @@ msgid "" "final element of the list. ::" msgstr "" -#: library/re.rst:889 +#: library/re.rst:892 msgid "" "If there are capturing groups in the separator and it matches at the start " "of the string, the result will start with an empty string. The same holds " "for the end of the string::" msgstr "" -#: library/re.rst:896 +#: library/re.rst:899 msgid "" "That way, separator components are always found at the same relative indices " "within the result list." msgstr "" -#: library/re.rst:899 +#: library/re.rst:902 msgid "" "Empty matches for the pattern split the string only when not adjacent to a " "previous empty match." msgstr "" -#: library/re.rst:999 library/re.rst:1027 +#: library/re.rst:1002 library/re.rst:1031 msgid "Added the optional flags argument." msgstr "" -#: library/re.rst:912 +#: library/re.rst:915 msgid "" "Added support of splitting on a pattern that could match an empty string." msgstr "" -#: library/re.rst:918 +#: library/re.rst:921 msgid "" "Return all non-overlapping matches of *pattern* in *string*, as a list of " "strings or tuples. The *string* is scanned left-to-right, and matches are " "returned in the order found. Empty matches are included in the result." msgstr "" -#: library/re.rst:922 +#: library/re.rst:925 msgid "" "The result depends on the number of capturing groups in the pattern. If " "there are no groups, return a list of strings matching the whole pattern. " @@ -1188,11 +1193,11 @@ msgid "" "result." msgstr "" -#: library/re.rst:945 +#: library/re.rst:948 msgid "Non-empty matches can now start just after a previous empty match." msgstr "" -#: library/re.rst:940 +#: library/re.rst:943 msgid "" "Return an :term:`iterator` yielding :ref:`match objects ` " "over all non-overlapping matches for the RE *pattern* in *string*. The " @@ -1200,7 +1205,7 @@ msgid "" "found. Empty matches are included in the result." msgstr "" -#: library/re.rst:951 +#: library/re.rst:954 msgid "" "Return the string obtained by replacing the leftmost non-overlapping " "occurrences of *pattern* in *string* by the replacement *repl*. If the " @@ -1214,18 +1219,18 @@ msgid "" "For example::" msgstr "" -#: library/re.rst:967 +#: library/re.rst:970 msgid "" "If *repl* is a function, it is called for every non-overlapping occurrence " "of *pattern*. The function takes a single :ref:`match object ` argument, and returns the replacement string. For example::" msgstr "" -#: library/re.rst:979 +#: library/re.rst:982 msgid "The pattern may be a string or a :ref:`pattern object `." msgstr "" -#: library/re.rst:981 +#: library/re.rst:984 msgid "" "The optional argument *count* is the maximum number of pattern occurrences " "to be replaced; *count* must be a non-negative integer. If omitted or zero, " @@ -1234,7 +1239,7 @@ msgid "" "'abxd')`` returns ``'-a-b--d-'``." msgstr "" -#: library/re.rst:989 +#: library/re.rst:992 msgid "" "In string-type *repl* arguments, in addition to the character escapes and " "backreferences described above, ``\\g`` will use the substring matched " @@ -1247,58 +1252,52 @@ msgid "" "RE." msgstr "" -#: library/re.rst:1030 library/re.rst:1264 +#: library/re.rst:1034 library/re.rst:1268 msgid "Unmatched groups are replaced with an empty string." msgstr "" -#: library/re.rst:1005 +#: library/re.rst:1008 msgid "" "Unknown escapes in *pattern* consisting of ``'\\'`` and an ASCII letter now " "are errors." msgstr "" -#: library/re.rst:1009 +#: library/re.rst:1012 msgid "" "Unknown escapes in *repl* consisting of ``'\\'`` and an ASCII letter now are " "errors." msgstr "" -#: library/re.rst:1013 +#: library/re.rst:1016 msgid "" "Empty matches for the pattern are replaced when adjacent to a previous non-" "empty match." msgstr "" -#: library/re.rst:1017 -msgid "" -"Group *id* containing anything except ASCII digits. Group names containing " -"non-ASCII characters in bytes replacement strings." -msgstr "" - -#: library/re.rst:1024 +#: library/re.rst:1028 msgid "" "Perform the same operation as :func:`sub`, but return a tuple ``(new_string, " "number_of_subs_made)``." msgstr "" -#: library/re.rst:1036 +#: library/re.rst:1040 msgid "" "Escape special characters in *pattern*. This is useful if you want to match " "an arbitrary literal string that may have regular expression metacharacters " "in it. For example::" msgstr "" -#: library/re.rst:1051 +#: library/re.rst:1055 msgid "" "This function must not be used for the replacement string in :func:`sub` " "and :func:`subn`, only backslashes should be escaped. For example::" msgstr "" -#: library/re.rst:1059 +#: library/re.rst:1063 msgid "The ``'_'`` character is no longer escaped." msgstr "" -#: library/re.rst:1062 +#: library/re.rst:1066 msgid "" "Only characters that can have special meaning in a regular expression are " "escaped. As a result, ``'!'``, ``'\"'``, ``'%'``, ``\"'\"``, ``','``, " @@ -1306,15 +1305,15 @@ msgid "" "are no longer escaped." msgstr "" -#: library/re.rst:1071 +#: library/re.rst:1075 msgid "Clear the regular expression cache." msgstr "" -#: library/re.rst:1075 +#: library/re.rst:1079 msgid "Exceptions" msgstr "" -#: library/re.rst:1079 +#: library/re.rst:1083 msgid "" "Exception raised when a string passed to one of the functions here is not a " "valid regular expression (for example, it might contain unmatched " @@ -1323,41 +1322,41 @@ msgid "" "pattern. The error instance has the following additional attributes:" msgstr "" -#: library/re.rst:1087 +#: library/re.rst:1091 msgid "The unformatted error message." msgstr "" -#: library/re.rst:1091 +#: library/re.rst:1095 msgid "The regular expression pattern." msgstr "" -#: library/re.rst:1095 +#: library/re.rst:1099 msgid "The index in *pattern* where compilation failed (may be ``None``)." msgstr "" -#: library/re.rst:1099 +#: library/re.rst:1103 msgid "The line corresponding to *pos* (may be ``None``)." msgstr "" -#: library/re.rst:1103 +#: library/re.rst:1107 msgid "The column corresponding to *pos* (may be ``None``)." msgstr "" -#: library/re.rst:1105 +#: library/re.rst:1109 msgid "Added additional attributes." msgstr "" -#: library/re.rst:1111 +#: library/re.rst:1115 msgid "Regular Expression Objects" msgstr "" -#: library/re.rst:1113 +#: library/re.rst:1117 msgid "" "Compiled regular expression objects support the following methods and " "attributes:" msgstr "" -#: library/re.rst:1118 +#: library/re.rst:1122 msgid "" "Scan through *string* looking for the first location where this regular " "expression produces a match, and return a corresponding :ref:`match object " @@ -1366,7 +1365,7 @@ msgid "" "some point in the string." msgstr "" -#: library/re.rst:1124 +#: library/re.rst:1128 msgid "" "The optional second parameter *pos* gives an index in the string where the " "search is to start; it defaults to ``0``. This is not completely equivalent " @@ -1375,7 +1374,7 @@ msgid "" "necessarily at the index where the search is to start." msgstr "" -#: library/re.rst:1130 +#: library/re.rst:1134 msgid "" "The optional parameter *endpos* limits how far the string will be searched; " "it will be as if the string is *endpos* characters long, so only the " @@ -1385,7 +1384,7 @@ msgid "" "equivalent to ``rx.search(string[:50], 0)``. ::" msgstr "" -#: library/re.rst:1145 +#: library/re.rst:1149 msgid "" "If zero or more characters at the *beginning* of *string* match this regular " "expression, return a corresponding :ref:`match object `. " @@ -1393,19 +1392,19 @@ msgid "" "different from a zero-length match." msgstr "" -#: library/re.rst:1168 +#: library/re.rst:1172 msgid "" "The optional *pos* and *endpos* parameters have the same meaning as for the :" "meth:`~Pattern.search` method. ::" msgstr "" -#: library/re.rst:1158 +#: library/re.rst:1162 msgid "" "If you want to locate a match anywhere in *string*, use :meth:`~Pattern." "search` instead (see also :ref:`search-vs-match`)." msgstr "" -#: library/re.rst:1164 +#: library/re.rst:1168 msgid "" "If the whole *string* matches this regular expression, return a " "corresponding :ref:`match object `. Return ``None`` if the " @@ -1413,76 +1412,76 @@ msgid "" "length match." msgstr "" -#: library/re.rst:1182 +#: library/re.rst:1186 msgid "Identical to the :func:`split` function, using the compiled pattern." msgstr "" -#: library/re.rst:1187 +#: library/re.rst:1191 msgid "" "Similar to the :func:`findall` function, using the compiled pattern, but " "also accepts optional *pos* and *endpos* parameters that limit the search " "region like for :meth:`search`." msgstr "" -#: library/re.rst:1194 +#: library/re.rst:1198 msgid "" "Similar to the :func:`finditer` function, using the compiled pattern, but " "also accepts optional *pos* and *endpos* parameters that limit the search " "region like for :meth:`search`." msgstr "" -#: library/re.rst:1201 +#: library/re.rst:1205 msgid "Identical to the :func:`sub` function, using the compiled pattern." msgstr "" -#: library/re.rst:1206 +#: library/re.rst:1210 msgid "Identical to the :func:`subn` function, using the compiled pattern." msgstr "" -#: library/re.rst:1211 +#: library/re.rst:1215 msgid "" "The regex matching flags. This is a combination of the flags given to :func:" "`.compile`, any ``(?...)`` inline flags in the pattern, and implicit flags " "such as :data:`UNICODE` if the pattern is a Unicode string." msgstr "" -#: library/re.rst:1218 +#: library/re.rst:1222 msgid "The number of capturing groups in the pattern." msgstr "" -#: library/re.rst:1223 +#: library/re.rst:1227 msgid "" "A dictionary mapping any symbolic group names defined by ``(?P)`` to " "group numbers. The dictionary is empty if no symbolic groups were used in " "the pattern." msgstr "" -#: library/re.rst:1230 +#: library/re.rst:1234 msgid "The pattern string from which the pattern object was compiled." msgstr "" -#: library/re.rst:1233 +#: library/re.rst:1237 msgid "" "Added support of :func:`copy.copy` and :func:`copy.deepcopy`. Compiled " "regular expression objects are considered atomic." msgstr "" -#: library/re.rst:1241 +#: library/re.rst:1245 msgid "Match Objects" msgstr "" -#: library/re.rst:1243 +#: library/re.rst:1247 msgid "" "Match objects always have a boolean value of ``True``. Since :meth:`~Pattern." "match` and :meth:`~Pattern.search` return ``None`` when there is no match, " "you can test whether there was a match with a simple ``if`` statement::" msgstr "" -#: library/re.rst:1252 +#: library/re.rst:1256 msgid "Match objects support the following methods and attributes:" msgstr "" -#: library/re.rst:1257 +#: library/re.rst:1261 msgid "" "Return the string obtained by doing backslash substitution on the template " "string *template*, as done by the :meth:`~Pattern.sub` method. Escapes such " @@ -1491,7 +1490,7 @@ msgid "" "``\\g``) are replaced by the contents of the corresponding group." msgstr "" -#: library/re.rst:1269 +#: library/re.rst:1273 msgid "" "Returns one or more subgroups of the match. If there is a single argument, " "the result is a single string; if there are multiple arguments, the result " @@ -1506,7 +1505,7 @@ msgid "" "the pattern that matched multiple times, the last match is returned. ::" msgstr "" -#: library/re.rst:1291 +#: library/re.rst:1295 msgid "" "If the regular expression uses the ``(?P...)`` syntax, the *groupN* " "arguments may also be strings identifying groups by their group name. If a " @@ -1514,54 +1513,54 @@ msgid "" "`IndexError` exception is raised." msgstr "" -#: library/re.rst:1296 +#: library/re.rst:1300 msgid "A moderately complicated example::" msgstr "" -#: library/re.rst:1304 +#: library/re.rst:1308 msgid "Named groups can also be referred to by their index::" msgstr "" -#: library/re.rst:1311 +#: library/re.rst:1315 msgid "If a group matches multiple times, only the last match is accessible::" msgstr "" -#: library/re.rst:1320 +#: library/re.rst:1324 msgid "" "This is identical to ``m.group(g)``. This allows easier access to an " "individual group from a match::" msgstr "" -#: library/re.rst:1331 +#: library/re.rst:1335 msgid "Named groups are supported as well::" msgstr "" -#: library/re.rst:1344 +#: library/re.rst:1348 msgid "" "Return a tuple containing all the subgroups of the match, from 1 up to " "however many groups are in the pattern. The *default* argument is used for " "groups that did not participate in the match; it defaults to ``None``." msgstr "" -#: library/re.rst:1573 +#: library/re.rst:1577 msgid "For example::" msgstr "" -#: library/re.rst:1354 +#: library/re.rst:1358 msgid "" "If we make the decimal place and everything after it optional, not all " "groups might participate in the match. These groups will default to " "``None`` unless the *default* argument is given::" msgstr "" -#: library/re.rst:1367 +#: library/re.rst:1371 msgid "" "Return a dictionary containing all the *named* subgroups of the match, keyed " "by the subgroup name. The *default* argument is used for groups that did " "not participate in the match; it defaults to ``None``. For example::" msgstr "" -#: library/re.rst:1379 +#: library/re.rst:1383 msgid "" "Return the indices of the start and end of the substring matched by *group*; " "*group* defaults to zero (meaning the whole matched substring). Return " @@ -1570,7 +1569,7 @@ msgid "" "matched by group *g* (equivalent to ``m.group(g)``) is ::" msgstr "" -#: library/re.rst:1387 +#: library/re.rst:1391 msgid "" "Note that ``m.start(group)`` will equal ``m.end(group)`` if *group* matched " "a null string. For example, after ``m = re.search('b(c?)', 'cba')``, ``m." @@ -1578,32 +1577,32 @@ msgid "" "2, and ``m.start(2)`` raises an :exc:`IndexError` exception." msgstr "" -#: library/re.rst:1392 +#: library/re.rst:1396 msgid "An example that will remove *remove_this* from email addresses::" msgstr "" -#: library/re.rst:1402 +#: library/re.rst:1406 msgid "" "For a match *m*, return the 2-tuple ``(m.start(group), m.end(group))``. Note " "that if *group* did not contribute to the match, this is ``(-1, -1)``. " "*group* defaults to zero, the entire match." msgstr "" -#: library/re.rst:1409 +#: library/re.rst:1413 msgid "" "The value of *pos* which was passed to the :meth:`~Pattern.search` or :meth:" "`~Pattern.match` method of a :ref:`regex object `. This is the " "index into the string at which the RE engine started looking for a match." msgstr "" -#: library/re.rst:1416 +#: library/re.rst:1420 msgid "" "The value of *endpos* which was passed to the :meth:`~Pattern.search` or :" "meth:`~Pattern.match` method of a :ref:`regex object `. This is " "the index into the string beyond which the RE engine will not go." msgstr "" -#: library/re.rst:1423 +#: library/re.rst:1427 msgid "" "The integer index of the last matched capturing group, or ``None`` if no " "group was matched at all. For example, the expressions ``(a)b``, ``((a)" @@ -1612,43 +1611,43 @@ msgid "" "applied to the same string." msgstr "" -#: library/re.rst:1432 +#: library/re.rst:1436 msgid "" "The name of the last matched capturing group, or ``None`` if the group " "didn't have a name, or if no group was matched at all." msgstr "" -#: library/re.rst:1438 +#: library/re.rst:1442 msgid "" "The :ref:`regular expression object ` whose :meth:`~Pattern." "match` or :meth:`~Pattern.search` method produced this match instance." msgstr "" -#: library/re.rst:1444 +#: library/re.rst:1448 msgid "The string passed to :meth:`~Pattern.match` or :meth:`~Pattern.search`." msgstr "" -#: library/re.rst:1447 +#: library/re.rst:1451 msgid "" "Added support of :func:`copy.copy` and :func:`copy.deepcopy`. Match objects " "are considered atomic." msgstr "" -#: library/re.rst:1455 +#: library/re.rst:1459 msgid "Regular Expression Examples" msgstr "" -#: library/re.rst:1459 +#: library/re.rst:1463 msgid "Checking for a Pair" msgstr "" -#: library/re.rst:1461 +#: library/re.rst:1465 msgid "" "In this example, we'll use the following helper function to display match " "objects a little more gracefully::" msgstr "" -#: library/re.rst:1469 +#: library/re.rst:1473 msgid "" "Suppose you are writing a poker program where a player's hand is represented " "as a 5-character string with each character representing a card, \"a\" for " @@ -1656,28 +1655,28 @@ msgid "" "\"2\" through \"9\" representing the card with that value." msgstr "" -#: library/re.rst:1474 +#: library/re.rst:1478 msgid "To see if a given string is a valid hand, one could do the following::" msgstr "" -#: library/re.rst:1484 +#: library/re.rst:1488 msgid "" "That last hand, ``\"727ak\"``, contained a pair, or two of the same valued " "cards. To match this with a regular expression, one could use backreferences " "as such::" msgstr "" -#: library/re.rst:1494 +#: library/re.rst:1498 msgid "" "To find out what card the pair consists of, one could use the :meth:`~Match." "group` method of the match object in the following manner::" msgstr "" -#: library/re.rst:1513 +#: library/re.rst:1517 msgid "Simulating scanf()" msgstr "" -#: library/re.rst:1517 +#: library/re.rst:1521 msgid "" "Python does not currently have an equivalent to :c:func:`scanf`. Regular " "expressions are generally more powerful, though also more verbose, than :c:" @@ -1686,124 +1685,124 @@ msgid "" "expressions." msgstr "" -#: library/re.rst:1524 +#: library/re.rst:1528 msgid ":c:func:`scanf` Token" msgstr "" -#: library/re.rst:1524 +#: library/re.rst:1528 msgid "Regular Expression" msgstr "" -#: library/re.rst:1526 +#: library/re.rst:1530 msgid "``%c``" msgstr "" -#: library/re.rst:1528 +#: library/re.rst:1532 msgid "``%5c``" msgstr "" -#: library/re.rst:1528 +#: library/re.rst:1532 msgid "``.{5}``" msgstr "" -#: library/re.rst:1530 +#: library/re.rst:1534 msgid "``%d``" msgstr "" -#: library/re.rst:1530 +#: library/re.rst:1534 msgid "``[-+]?\\d+``" msgstr "" -#: library/re.rst:1532 +#: library/re.rst:1536 msgid "``%e``, ``%E``, ``%f``, ``%g``" msgstr "" -#: library/re.rst:1532 +#: library/re.rst:1536 msgid "``[-+]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?``" msgstr "" -#: library/re.rst:1534 +#: library/re.rst:1538 msgid "``%i``" msgstr "" -#: library/re.rst:1534 +#: library/re.rst:1538 msgid "``[-+]?(0[xX][\\dA-Fa-f]+|0[0-7]*|\\d+)``" msgstr "" -#: library/re.rst:1536 +#: library/re.rst:1540 msgid "``%o``" msgstr "" -#: library/re.rst:1536 +#: library/re.rst:1540 msgid "``[-+]?[0-7]+``" msgstr "" -#: library/re.rst:1538 +#: library/re.rst:1542 msgid "``%s``" msgstr "" -#: library/re.rst:1538 +#: library/re.rst:1542 msgid "``\\S+``" msgstr "" -#: library/re.rst:1540 +#: library/re.rst:1544 msgid "``%u``" msgstr "" -#: library/re.rst:1540 +#: library/re.rst:1544 msgid "``\\d+``" msgstr "" -#: library/re.rst:1542 +#: library/re.rst:1546 msgid "``%x``, ``%X``" msgstr "" -#: library/re.rst:1542 +#: library/re.rst:1546 msgid "``[-+]?(0[xX])?[\\dA-Fa-f]+``" msgstr "" -#: library/re.rst:1545 +#: library/re.rst:1549 msgid "To extract the filename and numbers from a string like ::" msgstr "" -#: library/re.rst:1549 +#: library/re.rst:1553 msgid "you would use a :c:func:`scanf` format like ::" msgstr "" -#: library/re.rst:1553 +#: library/re.rst:1557 msgid "The equivalent regular expression would be ::" msgstr "" -#: library/re.rst:1561 +#: library/re.rst:1565 msgid "search() vs. match()" msgstr "" -#: library/re.rst:1565 +#: library/re.rst:1569 msgid "" "Python offers different primitive operations based on regular expressions:" msgstr "" -#: library/re.rst:1567 +#: library/re.rst:1571 msgid ":func:`re.match` checks for a match only at the beginning of the string" msgstr "" -#: library/re.rst:1568 +#: library/re.rst:1572 msgid "" ":func:`re.search` checks for a match anywhere in the string (this is what " "Perl does by default)" msgstr "" -#: library/re.rst:1570 +#: library/re.rst:1574 msgid ":func:`re.fullmatch` checks for entire string to be a match" msgstr "" -#: library/re.rst:1582 +#: library/re.rst:1586 msgid "" "Regular expressions beginning with ``'^'`` can be used with :func:`search` " "to restrict the match at the beginning of the string::" msgstr "" -#: library/re.rst:1590 +#: library/re.rst:1594 msgid "" "Note however that in :const:`MULTILINE` mode :func:`match` only matches at " "the beginning of the string, whereas using :func:`search` with a regular " @@ -1811,11 +1810,11 @@ msgid "" "line. ::" msgstr "" -#: library/re.rst:1600 +#: library/re.rst:1604 msgid "Making a Phonebook" msgstr "" -#: library/re.rst:1602 +#: library/re.rst:1606 msgid "" ":func:`split` splits a string into a list delimited by the passed pattern. " "The method is invaluable for converting textual data into data structures " @@ -1823,37 +1822,37 @@ msgid "" "following example that creates a phonebook." msgstr "" -#: library/re.rst:1607 +#: library/re.rst:1611 msgid "" "First, here is the input. Normally it may come from a file, here we are " "using triple-quoted string syntax" msgstr "" -#: library/re.rst:1620 +#: library/re.rst:1624 msgid "" "The entries are separated by one or more newlines. Now we convert the string " "into a list with each nonempty line having its own entry:" msgstr "" -#: library/re.rst:1633 +#: library/re.rst:1637 msgid "" "Finally, split each entry into a list with first name, last name, telephone " "number, and address. We use the ``maxsplit`` parameter of :func:`split` " "because the address has spaces, our splitting pattern, in it:" msgstr "" -#: library/re.rst:1646 +#: library/re.rst:1650 msgid "" "The ``:?`` pattern matches the colon after the last name, so that it does " "not occur in the result list. With a ``maxsplit`` of ``4``, we could " "separate the house number from the street name:" msgstr "" -#: library/re.rst:1661 +#: library/re.rst:1665 msgid "Text Munging" msgstr "" -#: library/re.rst:1663 +#: library/re.rst:1667 msgid "" ":func:`sub` replaces every occurrence of a pattern with a string or the " "result of a function. This example demonstrates using :func:`sub` with a " @@ -1861,11 +1860,11 @@ msgid "" "each word of a sentence except for the first and last characters::" msgstr "" -#: library/re.rst:1680 +#: library/re.rst:1684 msgid "Finding all Adverbs" msgstr "" -#: library/re.rst:1682 +#: library/re.rst:1686 msgid "" ":func:`findall` matches *all* occurrences of a pattern, not just the first " "one as :func:`search` does. For example, if a writer wanted to find all of " @@ -1873,11 +1872,11 @@ msgid "" "manner::" msgstr "" -#: library/re.rst:1693 +#: library/re.rst:1697 msgid "Finding all Adverbs and their Positions" msgstr "" -#: library/re.rst:1695 +#: library/re.rst:1699 msgid "" "If one wants more information about all matches of a pattern than the " "matched text, :func:`finditer` is useful as it provides :ref:`match objects " @@ -1886,11 +1885,11 @@ msgid "" "text, they would use :func:`finditer` in the following manner::" msgstr "" -#: library/re.rst:1709 +#: library/re.rst:1713 msgid "Raw String Notation" msgstr "" -#: library/re.rst:1711 +#: library/re.rst:1715 msgid "" "Raw string notation (``r\"text\"``) keeps regular expressions sane. Without " "it, every backslash (``'\\'``) in a regular expression would have to be " @@ -1898,7 +1897,7 @@ msgid "" "lines of code are functionally identical::" msgstr "" -#: library/re.rst:1721 +#: library/re.rst:1725 msgid "" "When one wants to match a literal backslash, it must be escaped in the " "regular expression. With raw string notation, this means ``r\"\\\\\"``. " @@ -1906,32 +1905,248 @@ msgid "" "following lines of code functionally identical::" msgstr "" -#: library/re.rst:1733 +#: library/re.rst:1737 msgid "Writing a Tokenizer" msgstr "" -#: library/re.rst:1735 +#: library/re.rst:1739 msgid "" "A `tokenizer or scanner `_ " "analyzes a string to categorize groups of characters. This is a useful " "first step in writing a compiler or interpreter." msgstr "" -#: library/re.rst:1739 +#: library/re.rst:1743 msgid "" "The text categories are specified with regular expressions. The technique " "is to combine those into a single master regular expression and to loop over " "successive matches::" msgstr "" -#: library/re.rst:1795 +#: library/re.rst:1799 msgid "The tokenizer produces the following output::" msgstr "" -#: library/re.rst:1818 +#: library/re.rst:1822 msgid "" "Friedl, Jeffrey. Mastering Regular Expressions. 3rd ed., O'Reilly Media, " "2009. The third edition of the book no longer covers Python at all, but the " "first edition covered writing good regular expression patterns in great " "detail." msgstr "" + +#: library/re.rst:99 +msgid ". (dot)" +msgstr "" + +#: library/re.rst:112 library/re.rst:130 library/re.rst:143 library/re.rst:181 +#: library/re.rst:235 library/re.rst:257 library/re.rst:296 library/re.rst:319 +#: library/re.rst:394 library/re.rst:431 library/re.rst:443 library/re.rst:477 +#: library/re.rst:508 library/re.rst:525 library/re.rst:552 library/re.rst:571 +#: library/re.rst:592 library/re.rst:615 library/re.rst:784 library/re.rst:990 +msgid "in regular expressions" +msgstr "" + +#: library/re.rst:263 +msgid "^ (caret)" +msgstr "" + +#: library/re.rst:112 +msgid "$ (dollar)" +msgstr "" + +#: library/re.rst:123 +msgid "* (asterisk)" +msgstr "" + +#: library/re.rst:130 +msgid "+ (plus)" +msgstr "" + +#: library/re.rst:137 +msgid "? (question mark)" +msgstr "" + +#: library/re.rst:143 +msgid "*?" +msgstr "" + +#: library/re.rst:143 +msgid "+?" +msgstr "" + +#: library/re.rst:143 +msgid "??" +msgstr "" + +#: library/re.rst:157 +msgid "*+" +msgstr "" + +#: library/re.rst:157 +msgid "++" +msgstr "" + +#: library/re.rst:157 +msgid "?+" +msgstr "" + +#: library/re.rst:181 +msgid "{} (curly brackets)" +msgstr "" + +#: library/re.rst:257 library/re.rst:508 +msgid "\\ (backslash)" +msgstr "" + +#: library/re.rst:235 +msgid "[] (square brackets)" +msgstr "" + +#: library/re.rst:244 +msgid "- (minus)" +msgstr "" + +#: library/re.rst:296 +msgid "| (vertical bar)" +msgstr "" + +#: library/re.rst:309 +msgid "() (parentheses)" +msgstr "" + +#: library/re.rst:319 +msgid "(?" +msgstr "" + +#: library/re.rst:345 +msgid "(?:" +msgstr "" + +#: library/re.rst:394 +msgid "(?P<" +msgstr "" + +#: library/re.rst:425 +msgid "(?P=" +msgstr "" + +#: library/re.rst:431 +msgid "(?#" +msgstr "" + +#: library/re.rst:436 +msgid "(?=" +msgstr "" + +#: library/re.rst:443 +msgid "(?!" +msgstr "" + +#: library/re.rst:450 +msgid "(?<=" +msgstr "" + +#: library/re.rst:477 +msgid "(?\n" @@ -35,9 +35,10 @@ msgstr "" msgid "" "Readline keybindings may be configured via an initialization file, typically " "``.inputrc`` in your home directory. See `Readline Init File `_ in the GNU Readline " -"manual for information about the format and allowable constructs of that " -"file, and the capabilities of the Readline library in general." +"tiswww.cwru.edu/php/chet/readline/rluserman.html#Readline-Init-File>`_ in " +"the GNU Readline manual for information about the format and allowable " +"constructs of that file, and the capabilities of the Readline library in " +"general." msgstr "" #: library/readline.rst:29 diff --git a/library/reprlib.po b/library/reprlib.po index 20fc93615..0792ade25 100644 --- a/library/reprlib.po +++ b/library/reprlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -156,3 +156,11 @@ msgid "" "modify the handling of types already supported. This example shows how " "special support for file objects could be added::" msgstr "" + +#: library/reprlib.rst:46 +msgid "..." +msgstr "" + +#: library/reprlib.rst:46 +msgid "placeholder" +msgstr "" diff --git a/library/resource.po b/library/resource.po index 387c1dbf0..4b589a6c8 100644 --- a/library/resource.po +++ b/library/resource.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -283,7 +283,7 @@ msgstr "" msgid "" "The maximum size (in bytes) of the swap space that may be reserved or used " "by all of this user id's processes. This limit is enforced only if bit 1 of " -"the vm.overcommit sysctl is set. Please see `tuning(7) `__ for a complete description of " "this sysctl." msgstr "" diff --git a/library/runpy.po b/library/runpy.po index 33a51fe29..a7887123f 100644 --- a/library/runpy.po +++ b/library/runpy.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -257,3 +257,11 @@ msgstr "" #: library/runpy.rst:179 msgid "The :func:`importlib.import_module` function" msgstr "" + +#: library/runpy.rst:98 +msgid "module" +msgstr "" + +#: library/runpy.rst:98 +msgid "__main__" +msgstr "" diff --git a/library/sched.po b/library/sched.po index f57906a1d..8a9c07010 100644 --- a/library/sched.po +++ b/library/sched.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -149,3 +149,7 @@ msgid "" "will be run. Each event is shown as a :term:`named tuple` with the " "following fields: time, priority, action, argument, kwargs." msgstr "" + +#: library/sched.rst:11 +msgid "event scheduling" +msgstr "" diff --git a/library/security_warnings.po b/library/security_warnings.po index e337da7f8..dc902a5e0 100644 --- a/library/security_warnings.po +++ b/library/security_warnings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -110,3 +110,7 @@ msgid "" "potentially unsafe path to :data:`sys.path` such as the current directory, " "the script's directory or an empty string." msgstr "" + +#: library/security_warnings.rst:3 +msgid "security considerations" +msgstr "" diff --git a/library/select.po b/library/select.po index 09e41ce0e..4aae88d9b 100644 --- a/library/select.po +++ b/library/select.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -654,7 +654,7 @@ msgid "Kevent Objects" msgstr "" #: library/select.rst:508 -msgid "https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2" +msgid "https://man.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2" msgstr "" #: library/select.rst:512 @@ -990,3 +990,15 @@ msgstr "" #: library/select.rst:650 msgid "User defined value." msgstr "" + +#: library/select.rst:141 +msgid "socket() (in module socket)" +msgstr "" + +#: library/select.rst:141 +msgid "popen() (in module os)" +msgstr "" + +#: library/select.rst:154 +msgid "WinSock" +msgstr "" diff --git a/library/shelve.po b/library/shelve.po index d40d961f0..484fd1e39 100644 --- a/library/shelve.po +++ b/library/shelve.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -239,3 +239,19 @@ msgstr "" #: library/shelve.rst:218 msgid "Object serialization used by :mod:`shelve`." msgstr "" + +#: library/shelve.rst:97 +msgid "module" +msgstr "" + +#: library/shelve.rst:9 +msgid "pickle" +msgstr "" + +#: library/shelve.rst:97 +msgid "dbm.ndbm" +msgstr "" + +#: library/shelve.rst:97 +msgid "dbm.gnu" +msgstr "" diff --git a/library/shutil.po b/library/shutil.po index 3213ccb4e..91f1c4a1b 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -728,7 +728,7 @@ msgid "" "returned sequence is a tuple ``(name, description)``." msgstr "" -#: library/shutil.rst:683 +#: library/shutil.rst:698 msgid "By default :mod:`shutil` provides these formats:" msgstr "" @@ -741,15 +741,15 @@ msgid "" "*tar*: Uncompressed tar file. Uses POSIX.1-2001 pax format for new archives." msgstr "" -#: library/shutil.rst:688 +#: library/shutil.rst:703 msgid "*gztar*: gzip'ed tar-file (if the :mod:`zlib` module is available)." msgstr "" -#: library/shutil.rst:689 +#: library/shutil.rst:704 msgid "*bztar*: bzip2'ed tar-file (if the :mod:`bz2` module is available)." msgstr "" -#: library/shutil.rst:690 +#: library/shutil.rst:705 msgid "*xztar*: xz'ed tar-file (if the :mod:`lzma` module is available)." msgstr "" @@ -807,13 +807,23 @@ msgid "" "that extension. In case none is found, a :exc:`ValueError` is raised." msgstr "" -#: library/shutil.rst:13 +#: library/shutil.rst:643 +msgid "" +"The keyword-only *filter* argument, which was added in Python 3.11.4, is " +"passed to the underlying unpacking function. For zip files, *filter* is not " +"accepted. For tar files, it is recommended to set it to ``'data'``, unless " +"using features specific to tar and UNIX-like filesystems. (See :ref:`tarfile-" +"extraction-filter` for details.) The ``'data'`` filter will become the " +"default for tar files in Python 3.14." +msgstr "" + +#: library/shutil.rst:22 msgid "" "Raises an :ref:`auditing event ` ``shutil.unpack_archive`` with " "arguments ``filename``, ``extract_dir``, ``format``." msgstr "" -#: library/shutil.rst:647 +#: library/shutil.rst:656 msgid "" "Never extract archives from untrusted sources without prior inspection. It " "is possible that files are created outside of the path specified in the " @@ -821,120 +831,138 @@ msgid "" "with \"/\" or filenames with two dots \"..\"." msgstr "" -#: library/shutil.rst:652 +#: library/shutil.rst:661 msgid "Accepts a :term:`path-like object` for *filename* and *extract_dir*." msgstr "" -#: library/shutil.rst:657 +#: library/shutil.rst:664 +msgid "Added the *filter* argument." +msgstr "" + +#: library/shutil.rst:669 msgid "" "Registers an unpack format. *name* is the name of the format and " "*extensions* is a list of extensions corresponding to the format, like ``." "zip`` for Zip files." msgstr "" -#: library/shutil.rst:661 +#: library/shutil.rst:673 msgid "" "*function* is the callable that will be used to unpack archives. The " -"callable will receive the path of the archive, followed by the directory the " -"archive must be extracted to." +"callable will receive:" +msgstr "" + +#: library/shutil.rst:676 +msgid "the path of the archive, as a positional argument;" msgstr "" -#: library/shutil.rst:665 +#: library/shutil.rst:677 msgid "" -"When provided, *extra_args* is a sequence of ``(name, value)`` tuples that " -"will be passed as keywords arguments to the callable." +"the directory the archive must be extracted to, as a positional argument;" msgstr "" -#: library/shutil.rst:668 +#: library/shutil.rst:678 +msgid "" +"possibly a *filter* keyword argument, if it was given to :func:" +"`unpack_archive`;" +msgstr "" + +#: library/shutil.rst:680 +msgid "" +"additional keyword arguments, specified by *extra_args* as a sequence of " +"``(name, value)`` tuples." +msgstr "" + +#: library/shutil.rst:683 msgid "" "*description* can be provided to describe the format, and will be returned " "by the :func:`get_unpack_formats` function." msgstr "" -#: library/shutil.rst:674 +#: library/shutil.rst:689 msgid "Unregister an unpack format. *name* is the name of the format." msgstr "" -#: library/shutil.rst:679 +#: library/shutil.rst:694 msgid "" "Return a list of all registered formats for unpacking. Each element of the " "returned sequence is a tuple ``(name, extensions, description)``." msgstr "" -#: library/shutil.rst:685 +#: library/shutil.rst:700 msgid "" "*zip*: ZIP file (unpacking compressed files works only if the corresponding " "module is available)." msgstr "" -#: library/shutil.rst:687 +#: library/shutil.rst:702 msgid "*tar*: uncompressed tar file." msgstr "" -#: library/shutil.rst:692 +#: library/shutil.rst:707 msgid "" "You can register new formats or provide your own unpacker for any existing " "formats, by using :func:`register_unpack_format`." msgstr "" -#: library/shutil.rst:699 +#: library/shutil.rst:714 msgid "Archiving example" msgstr "" -#: library/shutil.rst:701 +#: library/shutil.rst:716 msgid "" "In this example, we create a gzip'ed tar-file archive containing all files " "found in the :file:`.ssh` directory of the user::" msgstr "" -#: library/shutil.rst:711 +#: library/shutil.rst:726 msgid "The resulting archive contains:" msgstr "" -#: library/shutil.rst:729 +#: library/shutil.rst:744 msgid "Archiving example with *base_dir*" msgstr "" -#: library/shutil.rst:731 +#: library/shutil.rst:746 msgid "" "In this example, similar to the `one above `_, we " "show how to use :func:`make_archive`, but this time with the usage of " "*base_dir*. We now have the following directory structure:" msgstr "" -#: library/shutil.rst:745 +#: library/shutil.rst:760 msgid "" "In the final archive, :file:`please_add.txt` should be included, but :file:" "`do_not_add.txt` should not. Therefore we use the following::" msgstr "" -#: library/shutil.rst:759 +#: library/shutil.rst:774 msgid "Listing the files in the resulting archive gives us:" msgstr "" -#: library/shutil.rst:769 +#: library/shutil.rst:784 msgid "Querying the size of the output terminal" msgstr "" -#: library/shutil.rst:773 +#: library/shutil.rst:788 msgid "Get the size of the terminal window." msgstr "" -#: library/shutil.rst:775 +#: library/shutil.rst:790 msgid "" "For each of the two dimensions, the environment variable, ``COLUMNS`` and " "``LINES`` respectively, is checked. If the variable is defined and the value " "is a positive integer, it is used." msgstr "" -#: library/shutil.rst:779 +#: library/shutil.rst:794 msgid "" "When ``COLUMNS`` or ``LINES`` is not defined, which is the common case, the " "terminal connected to :data:`sys.__stdout__` is queried by invoking :func:" "`os.get_terminal_size`." msgstr "" -#: library/shutil.rst:783 +#: library/shutil.rst:798 msgid "" "If the terminal size cannot be successfully queried, either because the " "system doesn't support querying, or because we are not connected to a " @@ -943,18 +971,38 @@ msgid "" "emulators." msgstr "" -#: library/shutil.rst:789 +#: library/shutil.rst:804 msgid "The value returned is a named tuple of type :class:`os.terminal_size`." msgstr "" -#: library/shutil.rst:791 +#: library/shutil.rst:806 msgid "" "See also: The Single UNIX Specification, Version 2, `Other Environment " "Variables`_." msgstr "" -#: library/shutil.rst:796 +#: library/shutil.rst:811 msgid "" "The ``fallback`` values are also used if :func:`os.get_terminal_size` " "returns zeroes." msgstr "" + +#: library/shutil.rst:12 +msgid "file" +msgstr "" + +#: library/shutil.rst:12 +msgid "copying" +msgstr "" + +#: library/shutil.rst:12 +msgid "copying files" +msgstr "" + +#: library/shutil.rst:297 +msgid "directory" +msgstr "" + +#: library/shutil.rst:297 +msgid "deleting" +msgstr "" diff --git a/library/site.po b/library/site.po index e9020b139..20f4ef001 100644 --- a/library/site.po +++ b/library/site.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -301,3 +301,59 @@ msgstr "" #: library/site.rst:280 msgid ":ref:`sys-path-init` -- The initialization of :data:`sys.path`." msgstr "" + +#: library/site.rst:112 library/site.rst:124 +msgid "module" +msgstr "" + +#: library/site.rst:16 +msgid "search" +msgstr "" + +#: library/site.rst:77 +msgid "path" +msgstr "" + +#: library/site.rst:28 +msgid "site-packages" +msgstr "" + +#: library/site.rst:28 +msgid "directory" +msgstr "" + +#: library/site.rst:52 +msgid "# (hash)" +msgstr "" + +#: library/site.rst:52 +msgid "comment" +msgstr "" + +#: library/site.rst:52 +msgid "statement" +msgstr "" + +#: library/site.rst:52 +msgid "import" +msgstr "" + +#: library/site.rst:77 +msgid "package" +msgstr "" + +#: library/site.rst:77 +msgid "configuration" +msgstr "" + +#: library/site.rst:77 +msgid "file" +msgstr "" + +#: library/site.rst:112 +msgid "sitecustomize" +msgstr "" + +#: library/site.rst:124 +msgid "usercustomize" +msgstr "" diff --git a/library/smtplib.po b/library/smtplib.po index ca5eb4ba8..3d2cdfe39 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -47,7 +47,7 @@ msgstr "" msgid "" "An :class:`SMTP` instance encapsulates an SMTP connection. It has methods " "that support a full repertoire of SMTP and ESMTP operations. If the optional " -"host and port parameters are given, the SMTP :meth:`connect` method is " +"*host* and *port* parameters are given, the SMTP :meth:`connect` method is " "called with those parameters during initialization. If specified, " "*local_hostname* is used as the FQDN of the local host in the HELO/EHLO " "command. Otherwise, the local hostname is found using :func:`socket." @@ -56,11 +56,11 @@ msgid "" "specifies a timeout in seconds for blocking operations like the connection " "attempt (if not specified, the global default timeout setting will be " "used). If the timeout expires, :exc:`TimeoutError` is raised. The optional " -"source_address parameter allows binding to some specific source address in a " -"machine with multiple network interfaces, and/or to some specific source TCP " -"port. It takes a 2-tuple (host, port), for the socket to bind to as its " -"source address before connecting. If omitted (or if host or port are ``''`` " -"and/or 0 respectively) the OS default behavior will be used." +"*source_address* parameter allows binding to some specific source address in " +"a machine with multiple network interfaces, and/or to some specific source " +"TCP port. It takes a 2-tuple ``(host, port)``, for the socket to bind to as " +"its source address before connecting. If omitted (or if *host* or *port* are " +"``''`` and/or ``0`` respectively) the OS default behavior will be used." msgstr "" #: library/smtplib.rst:44 @@ -731,3 +731,15 @@ msgid "" "construct an email message, which you can then send via :meth:`~smtplib.SMTP." "send_message`; see :ref:`email-examples`." msgstr "" + +#: library/smtplib.rst:11 +msgid "SMTP" +msgstr "" + +#: library/smtplib.rst:11 +msgid "protocol" +msgstr "" + +#: library/smtplib.rst:11 +msgid "Simple Mail Transfer Protocol" +msgstr "" diff --git a/library/sndhdr.po b/library/sndhdr.po index 9abd07d0b..77d485535 100644 --- a/library/sndhdr.po +++ b/library/sndhdr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -184,3 +184,11 @@ msgstr "" #: library/sndhdr.rst:95 msgid "Example:" msgstr "" + +#: library/sndhdr.rst:13 +msgid "A-LAW" +msgstr "" + +#: library/sndhdr.rst:13 +msgid "u-LAW" +msgstr "" diff --git a/library/socket.po b/library/socket.po index f73ea76ac..620f1851f 100644 --- a/library/socket.po +++ b/library/socket.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1856,8 +1856,8 @@ msgstr "" #: library/socket.rst:1690 msgid "" -"The socket timeout is no more reset each time data is sent successfully. The " -"socket timeout is now the maximum total duration to send all data." +"The socket timeout is no longer reset each time data is sent successfully. " +"The socket timeout is now the maximum total duration to send all data." msgstr "" #: library/socket.rst:1703 @@ -2067,8 +2067,8 @@ msgstr "" msgid "" "In *non-blocking mode*, operations fail (with an error that is unfortunately " "system-dependent) if they cannot be completed immediately: functions from " -"the :mod:`select` can be used to know when and whether a socket is available " -"for reading or writing." +"the :mod:`select` module can be used to know when and whether a socket is " +"available for reading or writing." msgstr "" #: library/socket.rst:1917 @@ -2174,7 +2174,7 @@ msgstr "" #: library/socket.rst:2103 msgid "" "After binding (:const:`CAN_RAW`) or connecting (:const:`CAN_BCM`) the " -"socket, you can use the :meth:`socket.send`, and the :meth:`socket.recv` " +"socket, you can use the :meth:`socket.send` and :meth:`socket.recv` " "operations (and their counterparts) on the socket object as usual." msgstr "" @@ -2233,3 +2233,27 @@ msgid "" "readers may want to refer to :rfc:`3493` titled Basic Socket Interface " "Extensions for IPv6." msgstr "" + +#: library/socket.rst:22 +msgid "object" +msgstr "" + +#: library/socket.rst:22 +msgid "socket" +msgstr "" + +#: library/socket.rst:1477 +msgid "I/O control" +msgstr "" + +#: library/socket.rst:1477 +msgid "buffering" +msgstr "" + +#: library/socket.rst:1832 +msgid "module" +msgstr "" + +#: library/socket.rst:1832 +msgid "struct" +msgstr "" diff --git a/library/sqlite3.po b/library/sqlite3.po index 210b8e171..111aa219c 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -105,7 +105,7 @@ msgstr "" #: library/sqlite3.rst:73 msgid "" "First, we need to create a new database and open a database connection to " -"allow :mod:`!sqlite3` to work with it. Call :func:`sqlite3.connect` to to " +"allow :mod:`!sqlite3` to work with it. Call :func:`sqlite3.connect` to " "create a connection to the database :file:`tutorial.db` in the current " "working directory, implicitly creating it if it does not exist:" msgstr "" @@ -271,10 +271,10 @@ msgstr "" #: library/sqlite3.rst:272 msgid "" -"How many seconds the connection should wait before raising an exception, if " -"the database is locked by another connection. If another connection opens a " -"transaction to modify the database, it will be locked until that transaction " -"is committed. Default five seconds." +"How many seconds the connection should wait before raising an :exc:" +"`OperationalError` when a table is locked. If another connection opens a " +"transaction to modify a table, that table will be locked until the " +"transaction is committed. Default five seconds." msgstr "" #: library/sqlite3.rst:279 @@ -745,7 +745,7 @@ msgid "The *deterministic* parameter." msgstr "" #: library/sqlite3.rst:705 library/sqlite3.rst:1019 library/sqlite3.rst:1383 -#: library/sqlite3.rst:1404 +#: library/sqlite3.rst:1411 msgid "Example:" msgstr "" @@ -890,7 +890,8 @@ msgstr "" #: library/sqlite3.rst:868 msgid "" "Call this method from a different thread to abort any queries that might be " -"executing on the connection. Aborted queries will raise an exception." +"executing on the connection. Aborted queries will raise an :exc:" +"`OperationalError`." msgstr "" #: library/sqlite3.rst:875 @@ -1210,7 +1211,7 @@ msgid "" "`tuple`." msgstr "" -#: library/sqlite3.rst:1528 library/sqlite3.rst:1551 +#: library/sqlite3.rst:1538 library/sqlite3.rst:1561 msgid "See :ref:`sqlite3-howto-row-factory` for more details." msgstr "" @@ -1287,7 +1288,8 @@ msgstr "" #: library/sqlite3.rst:1364 msgid "" "For every item in *parameters*, repeatedly execute the :ref:`parameterized " -"` SQL statement *sql*." +"` :abbr:`DML (Data Manipulation Language)` SQL " +"statement *sql*." msgstr "" #: library/sqlite3.rst:1368 @@ -1295,7 +1297,7 @@ msgid "Uses the same implicit transaction handling as :meth:`~Cursor.execute`." msgstr "" #: library/sqlite3.rst:1370 -msgid "A single SQL :abbr:`DML (Data Manipulation Language)` statement." +msgid "A single SQL DML statement." msgstr "" #: library/sqlite3.rst:1373 @@ -1311,30 +1313,36 @@ msgstr "" #: library/sqlite3.rst:1396 msgid "" +"Any resulting rows are discarded, including DML statements with `RETURNING " +"clauses`_." +msgstr "" + +#: library/sqlite3.rst:1403 +msgid "" "Execute the SQL statements in *sql_script*. If there is a pending " "transaction, an implicit ``COMMIT`` statement is executed first. No other " "implicit transaction control is performed; any transaction control must be " "added to *sql_script*." msgstr "" -#: library/sqlite3.rst:1402 +#: library/sqlite3.rst:1409 msgid "*sql_script* must be a :class:`string `." msgstr "" -#: library/sqlite3.rst:1420 +#: library/sqlite3.rst:1427 msgid "" "If :attr:`~Cursor.row_factory` is ``None``, return the next row query result " "set as a :class:`tuple`. Else, pass it to the row factory and return its " "result. Return ``None`` if no more data is available." msgstr "" -#: library/sqlite3.rst:1428 +#: library/sqlite3.rst:1435 msgid "" "Return the next set of rows of a query result as a :class:`list`. Return an " "empty list if no more rows are available." msgstr "" -#: library/sqlite3.rst:1431 +#: library/sqlite3.rst:1438 msgid "" "The number of rows to fetch per call is specified by the *size* parameter. " "If *size* is not given, :attr:`arraysize` determines the number of rows to " @@ -1342,7 +1350,7 @@ msgid "" "available are returned." msgstr "" -#: library/sqlite3.rst:1437 +#: library/sqlite3.rst:1444 msgid "" "Note there are performance considerations involved with the *size* " "parameter. For optimal performance, it is usually best to use the arraysize " @@ -1350,36 +1358,36 @@ msgid "" "the same value from one :meth:`fetchmany` call to the next." msgstr "" -#: library/sqlite3.rst:1444 +#: library/sqlite3.rst:1451 msgid "" "Return all (remaining) rows of a query result as a :class:`list`. Return an " "empty list if no rows are available. Note that the :attr:`arraysize` " "attribute can affect the performance of this operation." msgstr "" -#: library/sqlite3.rst:1451 +#: library/sqlite3.rst:1458 msgid "Close the cursor now (rather than whenever ``__del__`` is called)." msgstr "" -#: library/sqlite3.rst:1453 +#: library/sqlite3.rst:1460 msgid "" "The cursor will be unusable from this point forward; a :exc:" "`ProgrammingError` exception will be raised if any operation is attempted " "with the cursor." msgstr "" -#: library/sqlite3.rst:1462 +#: library/sqlite3.rst:1469 msgid "Required by the DB-API. Does nothing in :mod:`!sqlite3`." msgstr "" -#: library/sqlite3.rst:1466 +#: library/sqlite3.rst:1473 msgid "" "Read/write attribute that controls the number of rows returned by :meth:" "`fetchmany`. The default value is 1 which means a single row would be " "fetched per call." msgstr "" -#: library/sqlite3.rst:1471 +#: library/sqlite3.rst:1478 msgid "" "Read-only attribute that provides the SQLite database :class:`Connection` " "belonging to the cursor. A :class:`Cursor` object created by calling :meth:" @@ -1387,18 +1395,18 @@ msgid "" "that refers to *con*:" msgstr "" -#: library/sqlite3.rst:1485 +#: library/sqlite3.rst:1492 msgid "" "Read-only attribute that provides the column names of the last query. To " "remain compatible with the Python DB API, it returns a 7-tuple for each " "column where the last six items of each tuple are ``None``." msgstr "" -#: library/sqlite3.rst:1489 +#: library/sqlite3.rst:1496 msgid "It is set for ``SELECT`` statements without any matching rows as well." msgstr "" -#: library/sqlite3.rst:1493 +#: library/sqlite3.rst:1500 msgid "" "Read-only attribute that provides the row id of the last inserted row. It is " "only updated after successful ``INSERT`` or ``REPLACE`` statements using " @@ -1408,24 +1416,25 @@ msgid "" "``None``." msgstr "" -#: library/sqlite3.rst:1501 +#: library/sqlite3.rst:1508 msgid "Inserts into ``WITHOUT ROWID`` tables are not recorded." msgstr "" -#: library/sqlite3.rst:1503 +#: library/sqlite3.rst:1510 msgid "Added support for the ``REPLACE`` statement." msgstr "" -#: library/sqlite3.rst:1508 +#: library/sqlite3.rst:1515 msgid "" "Read-only attribute that provides the number of modified rows for " "``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements; is ``-1`` " "for other statements, including :abbr:`CTE (Common Table Expression)` " "queries. It is only updated by the :meth:`execute` and :meth:`executemany` " -"methods." +"methods, after the statement has run to completion. This means that any " +"resulting rows must be fetched in order for :attr:`!rowcount` to be updated." msgstr "" -#: library/sqlite3.rst:1516 +#: library/sqlite3.rst:1526 msgid "" "Control how a row fetched from this :class:`!Cursor` is represented. If " "``None``, a row is represented as a :class:`tuple`. Can be set to the " @@ -1434,18 +1443,18 @@ msgid "" "and returns a custom object representing an SQLite row." msgstr "" -#: library/sqlite3.rst:1523 +#: library/sqlite3.rst:1533 msgid "" "Defaults to what :attr:`Connection.row_factory` was set to when the :class:`!" "Cursor` was created. Assigning to this attribute does not affect :attr:" "`Connection.row_factory` of the parent connection." msgstr "" -#: library/sqlite3.rst:1539 +#: library/sqlite3.rst:1549 msgid "Row objects" msgstr "" -#: library/sqlite3.rst:1543 +#: library/sqlite3.rst:1553 msgid "" "A :class:`!Row` instance serves as a highly optimized :attr:`~Connection." "row_factory` for :class:`Connection` objects. It supports iteration, " @@ -1453,28 +1462,28 @@ msgid "" "index." msgstr "" -#: library/sqlite3.rst:1548 +#: library/sqlite3.rst:1558 msgid "" "Two :class:`!Row` objects compare equal if they have identical column names " "and values." msgstr "" -#: library/sqlite3.rst:1555 +#: library/sqlite3.rst:1565 msgid "" "Return a :class:`list` of column names as :class:`strings `. " "Immediately after a query, it is the first member of each tuple in :attr:" "`Cursor.description`." msgstr "" -#: library/sqlite3.rst:1559 +#: library/sqlite3.rst:1569 msgid "Added support of slicing." msgstr "" -#: library/sqlite3.rst:1566 +#: library/sqlite3.rst:1576 msgid "Blob objects" msgstr "" -#: library/sqlite3.rst:1572 +#: library/sqlite3.rst:1582 msgid "" "A :class:`Blob` instance is a :term:`file-like object` that can read and " "write data in an SQLite :abbr:`BLOB (Binary Large OBject)`. Call :func:" @@ -1482,24 +1491,24 @@ msgid "" "and :term:`slices ` for direct access to the blob data." msgstr "" -#: library/sqlite3.rst:1577 +#: library/sqlite3.rst:1587 msgid "" "Use the :class:`Blob` as a :term:`context manager` to ensure that the blob " "handle is closed after use." msgstr "" -#: library/sqlite3.rst:1607 +#: library/sqlite3.rst:1617 msgid "Close the blob." msgstr "" -#: library/sqlite3.rst:1609 +#: library/sqlite3.rst:1619 msgid "" "The blob will be unusable from this point onward. An :class:`~sqlite3." "Error` (or subclass) exception will be raised if any further operation is " "attempted with the blob." msgstr "" -#: library/sqlite3.rst:1615 +#: library/sqlite3.rst:1625 msgid "" "Read *length* bytes of data from the blob at the current offset position. If " "the end of the blob is reached, the data up to :abbr:`EOF (End of File)` " @@ -1507,18 +1516,18 @@ msgid "" "`~Blob.read` will read until the end of the blob." msgstr "" -#: library/sqlite3.rst:1623 +#: library/sqlite3.rst:1633 msgid "" "Write *data* to the blob at the current offset. This function cannot change " "the blob length. Writing beyond the end of the blob will raise :exc:" "`ValueError`." msgstr "" -#: library/sqlite3.rst:1629 +#: library/sqlite3.rst:1639 msgid "Return the current access position of the blob." msgstr "" -#: library/sqlite3.rst:1633 +#: library/sqlite3.rst:1643 msgid "" "Set the current access position of the blob to *offset*. The *origin* " "argument defaults to :data:`os.SEEK_SET` (absolute blob positioning). Other " @@ -1526,26 +1535,26 @@ msgid "" "position) and :data:`os.SEEK_END` (seek relative to the blob’s end)." msgstr "" -#: library/sqlite3.rst:1641 +#: library/sqlite3.rst:1651 msgid "PrepareProtocol objects" msgstr "" -#: library/sqlite3.rst:1645 +#: library/sqlite3.rst:1655 msgid "" "The PrepareProtocol type's single purpose is to act as a :pep:`246` style " "adaption protocol for objects that can :ref:`adapt themselves ` to :ref:`native SQLite types `." msgstr "" -#: library/sqlite3.rst:1653 +#: library/sqlite3.rst:1663 msgid "Exceptions" msgstr "" -#: library/sqlite3.rst:1655 +#: library/sqlite3.rst:1665 msgid "The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`)." msgstr "" -#: library/sqlite3.rst:1659 +#: library/sqlite3.rst:1669 msgid "" "This exception is not currently raised by the :mod:`!sqlite3` module, but " "may be raised by applications using :mod:`!sqlite3`, for example if a user-" @@ -1553,39 +1562,39 @@ msgid "" "of :exc:`Exception`." msgstr "" -#: library/sqlite3.rst:1666 +#: library/sqlite3.rst:1676 msgid "" "The base class of the other exceptions in this module. Use this to catch all " "errors with one single :keyword:`except` statement. ``Error`` is a subclass " "of :exc:`Exception`." msgstr "" -#: library/sqlite3.rst:1670 +#: library/sqlite3.rst:1680 msgid "" "If the exception originated from within the SQLite library, the following " "two attributes are added to the exception:" msgstr "" -#: library/sqlite3.rst:1675 +#: library/sqlite3.rst:1685 msgid "" "The numeric error code from the `SQLite API `_" msgstr "" -#: library/sqlite3.rst:1682 +#: library/sqlite3.rst:1692 msgid "" "The symbolic name of the numeric error code from the `SQLite API `_" msgstr "" -#: library/sqlite3.rst:1689 +#: library/sqlite3.rst:1699 msgid "" "Exception raised for misuse of the low-level SQLite C API. In other words, " "if this exception is raised, it probably indicates a bug in the :mod:`!" "sqlite3` module. ``InterfaceError`` is a subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1696 +#: library/sqlite3.rst:1706 msgid "" "Exception raised for errors that are related to the database. This serves as " "the base exception for several types of database errors. It is only raised " @@ -1593,14 +1602,14 @@ msgid "" "subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1703 +#: library/sqlite3.rst:1713 msgid "" "Exception raised for errors caused by problems with the processed data, like " "numeric values out of range, and strings which are too long. ``DataError`` " "is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1709 +#: library/sqlite3.rst:1719 msgid "" "Exception raised for errors that are related to the database's operation, " "and not necessarily under the control of the programmer. For example, the " @@ -1608,20 +1617,20 @@ msgid "" "``OperationalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1717 +#: library/sqlite3.rst:1727 msgid "" "Exception raised when the relational integrity of the database is affected, " "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1722 +#: library/sqlite3.rst:1732 msgid "" "Exception raised when SQLite encounters an internal error. If this is " "raised, it may indicate that there is a problem with the runtime SQLite " "library. ``InternalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1729 +#: library/sqlite3.rst:1739 msgid "" "Exception raised for :mod:`!sqlite3` API programming errors, for example " "supplying the wrong number of bindings to a query, or trying to operate on a " @@ -1629,7 +1638,7 @@ msgid "" "`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1736 +#: library/sqlite3.rst:1746 msgid "" "Exception raised in case a method or database API is not supported by the " "underlying SQLite library. For example, setting *deterministic* to ``True`` " @@ -1638,78 +1647,78 @@ msgid "" "subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1746 +#: library/sqlite3.rst:1756 msgid "SQLite and Python types" msgstr "" -#: library/sqlite3.rst:1748 +#: library/sqlite3.rst:1758 msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" -#: library/sqlite3.rst:1751 +#: library/sqlite3.rst:1761 msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" -#: library/sqlite3.rst:1771 +#: library/sqlite3.rst:1781 msgid "Python type" msgstr "" -#: library/sqlite3.rst:1771 +#: library/sqlite3.rst:1781 msgid "SQLite type" msgstr "" -#: library/sqlite3.rst:1773 +#: library/sqlite3.rst:1783 msgid "``None``" msgstr "" -#: library/sqlite3.rst:1773 +#: library/sqlite3.rst:1783 msgid "``NULL``" msgstr "" -#: library/sqlite3.rst:1775 +#: library/sqlite3.rst:1785 msgid ":class:`int`" msgstr "" -#: library/sqlite3.rst:1775 +#: library/sqlite3.rst:1785 msgid "``INTEGER``" msgstr "" -#: library/sqlite3.rst:1777 +#: library/sqlite3.rst:1787 msgid ":class:`float`" msgstr "" -#: library/sqlite3.rst:1777 +#: library/sqlite3.rst:1787 msgid "``REAL``" msgstr "" -#: library/sqlite3.rst:1762 +#: library/sqlite3.rst:1772 msgid ":class:`str`" msgstr "" -#: library/sqlite3.rst:1779 +#: library/sqlite3.rst:1789 msgid "``TEXT``" msgstr "" -#: library/sqlite3.rst:1782 +#: library/sqlite3.rst:1792 msgid ":class:`bytes`" msgstr "" -#: library/sqlite3.rst:1782 +#: library/sqlite3.rst:1792 msgid "``BLOB``" msgstr "" -#: library/sqlite3.rst:1768 +#: library/sqlite3.rst:1778 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -#: library/sqlite3.rst:1779 +#: library/sqlite3.rst:1789 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" msgstr "" -#: library/sqlite3.rst:1785 +#: library/sqlite3.rst:1795 msgid "" "The type system of the :mod:`!sqlite3` module is extensible in two ways: you " "can store additional Python types in an SQLite database via :ref:`object " @@ -1718,42 +1727,42 @@ msgid "" "converters>`." msgstr "" -#: library/sqlite3.rst:1795 +#: library/sqlite3.rst:1805 msgid "Default adapters and converters" msgstr "" -#: library/sqlite3.rst:1797 +#: library/sqlite3.rst:1807 msgid "" "There are default adapters for the date and datetime types in the datetime " "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" -#: library/sqlite3.rst:1800 +#: library/sqlite3.rst:1810 msgid "" "The default converters are registered under the name \"date\" for :class:" "`datetime.date` and under the name \"timestamp\" for :class:`datetime." "datetime`." msgstr "" -#: library/sqlite3.rst:1804 +#: library/sqlite3.rst:1814 msgid "" "This way, you can use date/timestamps from Python without any additional " "fiddling in most cases. The format of the adapters is also compatible with " "the experimental SQLite date/time functions." msgstr "" -#: library/sqlite3.rst:1808 +#: library/sqlite3.rst:1818 msgid "The following example demonstrates this." msgstr "" -#: library/sqlite3.rst:1812 +#: library/sqlite3.rst:1822 msgid "" "If a timestamp stored in SQLite has a fractional part longer than 6 numbers, " "its value will be truncated to microsecond precision by the timestamp " "converter." msgstr "" -#: library/sqlite3.rst:1818 +#: library/sqlite3.rst:1828 msgid "" "The default \"timestamp\" converter ignores UTC offsets in the database and " "always returns a naive :class:`datetime.datetime` object. To preserve UTC " @@ -1761,15 +1770,15 @@ msgid "" "offset-aware converter with :func:`register_converter`." msgstr "" -#: library/sqlite3.rst:1827 +#: library/sqlite3.rst:1837 msgid "How-to guides" msgstr "" -#: library/sqlite3.rst:1832 +#: library/sqlite3.rst:1842 msgid "How to use placeholders to bind values in SQL queries" msgstr "" -#: library/sqlite3.rst:1834 +#: library/sqlite3.rst:1844 msgid "" "SQL operations usually need to use values from Python variables. However, " "beware of using Python's string operations to assemble queries, as they are " @@ -1777,7 +1786,7 @@ msgid "" "close the single quote and inject ``OR TRUE`` to select all rows::" msgstr "" -#: library/sqlite3.rst:1847 +#: library/sqlite3.rst:1857 msgid "" "Instead, use the DB-API's parameter substitution. To insert a variable into " "a query string, use a placeholder in the string, and substitute the actual " @@ -1785,7 +1794,7 @@ msgid "" "second argument of the cursor's :meth:`~Cursor.execute` method." msgstr "" -#: library/sqlite3.rst:1852 +#: library/sqlite3.rst:1862 msgid "" "An SQL statement may use one of two kinds of placeholders: question marks " "(qmark style) or named placeholders (named style). For the qmark style, " @@ -1796,24 +1805,24 @@ msgid "" "are ignored. Here's an example of both styles:" msgstr "" -#: library/sqlite3.rst:1889 +#: library/sqlite3.rst:1899 msgid "" ":pep:`249` numeric placeholders are *not* supported. If used, they will be " "interpreted as named placeholders." msgstr "" -#: library/sqlite3.rst:1896 +#: library/sqlite3.rst:1906 msgid "How to adapt custom Python types to SQLite values" msgstr "" -#: library/sqlite3.rst:1898 +#: library/sqlite3.rst:1908 msgid "" "SQLite supports only a limited set of data types natively. To store custom " "Python types in SQLite databases, *adapt* them to one of the :ref:`Python " "types SQLite natively understands `." msgstr "" -#: library/sqlite3.rst:1902 +#: library/sqlite3.rst:1912 msgid "" "There are two ways to adapt Python objects to SQLite types: letting your " "object adapt itself, or using an *adapter callable*. The latter will take " @@ -1823,11 +1832,11 @@ msgid "" "custom adapter functions." msgstr "" -#: library/sqlite3.rst:1914 +#: library/sqlite3.rst:1924 msgid "How to write adaptable objects" msgstr "" -#: library/sqlite3.rst:1916 +#: library/sqlite3.rst:1926 msgid "" "Suppose we have a :class:`!Point` class that represents a pair of " "coordinates, ``x`` and ``y``, in a Cartesian coordinate system. The " @@ -1837,84 +1846,84 @@ msgid "" "object passed to *protocol* will be of type :class:`PrepareProtocol`." msgstr "" -#: library/sqlite3.rst:1947 +#: library/sqlite3.rst:1957 msgid "How to register adapter callables" msgstr "" -#: library/sqlite3.rst:1949 +#: library/sqlite3.rst:1959 msgid "" "The other possibility is to create a function that converts the Python " "object to an SQLite-compatible type. This function can then be registered " "using :func:`register_adapter`." msgstr "" -#: library/sqlite3.rst:1979 +#: library/sqlite3.rst:1989 msgid "How to convert SQLite values to custom Python types" msgstr "" -#: library/sqlite3.rst:1981 +#: library/sqlite3.rst:1991 msgid "" "Writing an adapter lets you convert *from* custom Python types *to* SQLite " "values. To be able to convert *from* SQLite values *to* custom Python types, " "we use *converters*." msgstr "" -#: library/sqlite3.rst:1986 +#: library/sqlite3.rst:1996 msgid "" "Let's go back to the :class:`!Point` class. We stored the x and y " "coordinates separated via semicolons as strings in SQLite." msgstr "" -#: library/sqlite3.rst:1989 +#: library/sqlite3.rst:1999 msgid "" "First, we'll define a converter function that accepts the string as a " "parameter and constructs a :class:`!Point` object from it." msgstr "" -#: library/sqlite3.rst:1994 +#: library/sqlite3.rst:2004 msgid "" "Converter functions are **always** passed a :class:`bytes` object, no matter " "the underlying SQLite data type." msgstr "" -#: library/sqlite3.rst:2003 +#: library/sqlite3.rst:2013 msgid "" "We now need to tell :mod:`!sqlite3` when it should convert a given SQLite " "value. This is done when connecting to a database, using the *detect_types* " "parameter of :func:`connect`. There are three options:" msgstr "" -#: library/sqlite3.rst:2007 +#: library/sqlite3.rst:2017 msgid "Implicit: set *detect_types* to :const:`PARSE_DECLTYPES`" msgstr "" -#: library/sqlite3.rst:2008 +#: library/sqlite3.rst:2018 msgid "Explicit: set *detect_types* to :const:`PARSE_COLNAMES`" msgstr "" -#: library/sqlite3.rst:2009 +#: library/sqlite3.rst:2019 msgid "" "Both: set *detect_types* to ``sqlite3.PARSE_DECLTYPES | sqlite3." "PARSE_COLNAMES``. Column names take precedence over declared types." msgstr "" -#: library/sqlite3.rst:2013 +#: library/sqlite3.rst:2023 msgid "The following example illustrates the implicit and explicit approaches:" msgstr "" -#: library/sqlite3.rst:2064 +#: library/sqlite3.rst:2074 msgid "Adapter and converter recipes" msgstr "" -#: library/sqlite3.rst:2066 +#: library/sqlite3.rst:2076 msgid "This section shows recipes for common adapters and converters." msgstr "" -#: library/sqlite3.rst:2128 +#: library/sqlite3.rst:2138 msgid "How to use connection shortcut methods" msgstr "" -#: library/sqlite3.rst:2130 +#: library/sqlite3.rst:2140 msgid "" "Using the :meth:`~Connection.execute`, :meth:`~Connection.executemany`, and :" "meth:`~Connection.executescript` methods of the :class:`Connection` class, " @@ -1926,11 +1935,11 @@ msgid "" "object." msgstr "" -#: library/sqlite3.rst:2171 +#: library/sqlite3.rst:2181 msgid "How to use the connection context manager" msgstr "" -#: library/sqlite3.rst:2173 +#: library/sqlite3.rst:2183 msgid "" "A :class:`Connection` object can be used as a context manager that " "automatically commits or rolls back open transactions when leaving the body " @@ -1940,58 +1949,58 @@ msgid "" "exception, the transaction is rolled back." msgstr "" -#: library/sqlite3.rst:2182 +#: library/sqlite3.rst:2192 msgid "" "If there is no open transaction upon leaving the body of the ``with`` " "statement, the context manager is a no-op." msgstr "" -#: library/sqlite3.rst:2187 +#: library/sqlite3.rst:2197 msgid "" "The context manager neither implicitly opens a new transaction nor closes " "the connection." msgstr "" -#: library/sqlite3.rst:2220 +#: library/sqlite3.rst:2230 msgid "How to work with SQLite URIs" msgstr "" -#: library/sqlite3.rst:2222 +#: library/sqlite3.rst:2232 msgid "Some useful URI tricks include:" msgstr "" -#: library/sqlite3.rst:2224 +#: library/sqlite3.rst:2234 msgid "Open a database in read-only mode:" msgstr "" -#: library/sqlite3.rst:2233 +#: library/sqlite3.rst:2243 msgid "" "Do not implicitly create a new database file if it does not already exist; " "will raise :exc:`~sqlite3.OperationalError` if unable to create a new file:" msgstr "" -#: library/sqlite3.rst:2243 +#: library/sqlite3.rst:2253 msgid "Create a shared named in-memory database:" msgstr "" -#: library/sqlite3.rst:2257 +#: library/sqlite3.rst:2267 msgid "" "More information about this feature, including a list of parameters, can be " "found in the `SQLite URI documentation`_." msgstr "" -#: library/sqlite3.rst:2266 +#: library/sqlite3.rst:2276 msgid "How to create and use row factories" msgstr "" -#: library/sqlite3.rst:2268 +#: library/sqlite3.rst:2278 msgid "" "By default, :mod:`!sqlite3` represents each row as a :class:`tuple`. If a :" "class:`!tuple` does not suit your needs, you can use the :class:`sqlite3." "Row` class or a custom :attr:`~Cursor.row_factory`." msgstr "" -#: library/sqlite3.rst:2273 +#: library/sqlite3.rst:2283 msgid "" "While :attr:`!row_factory` exists as an attribute both on the :class:" "`Cursor` and the :class:`Connection`, it is recommended to set :class:" @@ -1999,7 +2008,7 @@ msgid "" "use the same row factory." msgstr "" -#: library/sqlite3.rst:2278 +#: library/sqlite3.rst:2288 msgid "" ":class:`!Row` provides indexed and case-insensitive named access to columns, " "with minimal memory overhead and performance impact over a :class:`!tuple`. " @@ -2007,51 +2016,51 @@ msgid "" "attribute:" msgstr "" -#: library/sqlite3.rst:2288 +#: library/sqlite3.rst:2298 msgid "Queries now return :class:`!Row` objects:" msgstr "" -#: library/sqlite3.rst:2303 +#: library/sqlite3.rst:2313 msgid "" "You can create a custom :attr:`~Cursor.row_factory` that returns each row as " "a :class:`dict`, with column names mapped to values:" msgstr "" -#: library/sqlite3.rst:2312 +#: library/sqlite3.rst:2322 msgid "" "Using it, queries now return a :class:`!dict` instead of a :class:`!tuple`:" msgstr "" -#: library/sqlite3.rst:2322 +#: library/sqlite3.rst:2332 msgid "The following row factory returns a :term:`named tuple`:" msgstr "" -#: library/sqlite3.rst:2333 +#: library/sqlite3.rst:2343 msgid ":func:`!namedtuple_factory` can be used as follows:" msgstr "" -#: library/sqlite3.rst:2348 +#: library/sqlite3.rst:2358 msgid "" "With some adjustments, the above recipe can be adapted to use a :class:" "`~dataclasses.dataclass`, or any other custom class, instead of a :class:" "`~collections.namedtuple`." msgstr "" -#: library/sqlite3.rst:2356 +#: library/sqlite3.rst:2366 msgid "Explanation" msgstr "" -#: library/sqlite3.rst:2361 +#: library/sqlite3.rst:2371 msgid "Transaction control" msgstr "" -#: library/sqlite3.rst:2363 +#: library/sqlite3.rst:2373 msgid "" "The :mod:`!sqlite3` module does not adhere to the transaction handling " "recommended by :pep:`249`." msgstr "" -#: library/sqlite3.rst:2366 +#: library/sqlite3.rst:2376 msgid "" "If the connection attribute :attr:`~Connection.isolation_level` is not " "``None``, new transactions are implicitly opened before :meth:`~Cursor." @@ -2065,7 +2074,7 @@ msgid "" "attribute." msgstr "" -#: library/sqlite3.rst:2379 +#: library/sqlite3.rst:2389 msgid "" "If :attr:`~Connection.isolation_level` is set to ``None``, no transactions " "are implicitly opened at all. This leaves the underlying SQLite library in " @@ -2075,15 +2084,27 @@ msgid "" "in_transaction` attribute." msgstr "" -#: library/sqlite3.rst:2387 +#: library/sqlite3.rst:2397 msgid "" "The :meth:`~Cursor.executescript` method implicitly commits any pending " "transaction before execution of the given SQL script, regardless of the " "value of :attr:`~Connection.isolation_level`." msgstr "" -#: library/sqlite3.rst:2391 +#: library/sqlite3.rst:2401 msgid "" ":mod:`!sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." msgstr "" + +#: library/sqlite3.rst:1333 +msgid "? (question mark)" +msgstr "" + +#: library/sqlite3.rst:1334 +msgid "in SQL statements" +msgstr "" + +#: library/sqlite3.rst:1334 +msgid ": (colon)" +msgstr "" diff --git a/library/ssl.po b/library/ssl.po index fcf418980..f2aca92d3 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1414,7 +1414,7 @@ msgstr "" #: library/ssl.rst:1312 msgid "" -"Return the list of ciphers shared by the client during the handshake. Each " +"Return the list of ciphers available in both the client and server. Each " "entry of the returned list is a three-value tuple containing the name of the " "cipher, the version of the SSL protocol that defines its use, and the number " "of secret bits the cipher uses. :meth:`~SSLSocket.shared_ciphers` returns " @@ -2023,7 +2023,7 @@ msgstr "" #: library/ssl.rst:1817 msgid "" -"`SSL/TLS & Perfect Forward Secrecy `_" msgstr "" @@ -3114,3 +3114,35 @@ msgstr "" #: library/ssl.rst:2777 msgid "Mozilla" msgstr "" + +#: library/ssl.rst:12 +msgid "OpenSSL" +msgstr "" + +#: library/ssl.rst:12 +msgid "(use in module ssl)" +msgstr "" + +#: library/ssl.rst:14 +msgid "TLS" +msgstr "" + +#: library/ssl.rst:14 +msgid "SSL" +msgstr "" + +#: library/ssl.rst:14 +msgid "Transport Layer Security" +msgstr "" + +#: library/ssl.rst:14 +msgid "Secure Sockets Layer" +msgstr "" + +#: library/ssl.rst:2085 +msgid "certificates" +msgstr "" + +#: library/ssl.rst:2087 +msgid "X509 certificate" +msgstr "" diff --git a/library/statistics.po b/library/statistics.po index 0aca50b93..22bb531e4 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -33,7 +33,7 @@ msgstr "" #: library/statistics.rst:24 msgid "" "The module is not intended to be a competitor to third-party libraries such " -"as `NumPy `_, `SciPy `_, or " +"as `NumPy `_, `SciPy `_, or " "proprietary full-featured statistics packages aimed at professional " "statisticians such as Minitab, SAS and Matlab. It is aimed at the level of " "graphing and scientific calculators." diff --git a/library/stdtypes.po b/library/stdtypes.po index a94ab3f01..64dd1eb81 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2023-02-01 18:55-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -126,17 +126,17 @@ msgstr "Boolean İşlemleri --- :keyword:`!and`, :keyword:`!or`, :keyword:`!not` 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:364 library/stdtypes.rst:921 -#: library/stdtypes.rst:1126 +#: library/stdtypes.rst:143 library/stdtypes.rst:363 library/stdtypes.rst:922 +#: library/stdtypes.rst:1127 msgid "Operation" msgstr "İşlem" -#: library/stdtypes.rst:275 library/stdtypes.rst:414 library/stdtypes.rst:1126 +#: library/stdtypes.rst:275 library/stdtypes.rst:413 library/stdtypes.rst:1127 msgid "Result" msgstr "Sonuç" -#: library/stdtypes.rst:275 library/stdtypes.rst:921 library/stdtypes.rst:2371 -#: library/stdtypes.rst:3589 +#: library/stdtypes.rst:275 library/stdtypes.rst:922 library/stdtypes.rst:2372 +#: library/stdtypes.rst:3590 msgid "Notes" msgstr "Notlar" @@ -148,8 +148,8 @@ msgstr "``x or y``" msgid "if *x* is true, then *x*, else *y*" msgstr "*x* doğruysa, *x*, aksi halde *y*" -#: library/stdtypes.rst:285 library/stdtypes.rst:926 library/stdtypes.rst:2377 -#: library/stdtypes.rst:3595 +#: library/stdtypes.rst:285 library/stdtypes.rst:927 library/stdtypes.rst:2378 +#: library/stdtypes.rst:3596 msgid "\\(1)" msgstr "\\(1)" @@ -161,8 +161,8 @@ msgstr "``x and y``" msgid "if *x* is false, then *x*, else *y*" msgstr "*x* yanlışsa, *x*, aksi halde *y*" -#: library/stdtypes.rst:288 library/stdtypes.rst:1165 library/stdtypes.rst:2383 -#: library/stdtypes.rst:3601 +#: library/stdtypes.rst:288 library/stdtypes.rst:1166 library/stdtypes.rst:2384 +#: library/stdtypes.rst:3602 msgid "\\(2)" msgstr "\\(2)" @@ -174,14 +174,14 @@ msgstr "``not x``" msgid "if *x* is false, then ``True``, else ``False``" msgstr "*x* yanlışsa, ``True``, aksi halde ``False``" -#: library/stdtypes.rst:935 library/stdtypes.rst:2385 library/stdtypes.rst:2389 -#: library/stdtypes.rst:3603 library/stdtypes.rst:3607 -#: library/stdtypes.rst:3609 +#: library/stdtypes.rst:936 library/stdtypes.rst:2386 library/stdtypes.rst:2390 +#: library/stdtypes.rst:3604 library/stdtypes.rst:3608 +#: library/stdtypes.rst:3610 msgid "\\(3)" msgstr "\\(3)" -#: library/stdtypes.rst:319 library/stdtypes.rst:972 library/stdtypes.rst:2417 -#: library/stdtypes.rst:3639 +#: library/stdtypes.rst:319 library/stdtypes.rst:973 library/stdtypes.rst:2418 +#: library/stdtypes.rst:3640 msgid "Notes:" msgstr "Notlar:" @@ -232,8 +232,8 @@ msgstr "" msgid "This table summarizes the comparison operations:" msgstr "Bu tablo karşılaştırma operatörlerini özetlemektedir:" -#: library/stdtypes.rst:2348 library/stdtypes.rst:3566 -#: library/stdtypes.rst:3589 +#: library/stdtypes.rst:2349 library/stdtypes.rst:3567 +#: library/stdtypes.rst:3590 msgid "Meaning" msgstr "Anlamı" @@ -565,7 +565,7 @@ msgstr "" "gerçek kısmı *re*, sanal kısmı *im* olan bir karmaşık sayı. *im* varsayılan " "olarak sıfırdır." -#: library/stdtypes.rst:1158 library/stdtypes.rst:3626 +#: library/stdtypes.rst:1159 library/stdtypes.rst:3627 msgid "\\(6)" msgstr "\\(6)" @@ -601,8 +601,8 @@ msgstr "``pow(x, y)``" msgid "*x* to the power *y*" msgstr "*x* üzeri *y*" -#: library/stdtypes.rst:312 library/stdtypes.rst:1150 library/stdtypes.rst:2407 -#: library/stdtypes.rst:3622 library/stdtypes.rst:3629 +#: library/stdtypes.rst:312 library/stdtypes.rst:1151 library/stdtypes.rst:2408 +#: library/stdtypes.rst:3623 library/stdtypes.rst:3630 msgid "\\(5)" msgstr "\\(5)" @@ -634,18 +634,19 @@ 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:340 +#: library/stdtypes.rst:339 +#, fuzzy msgid "" -"Conversion from floating point to integer may round or truncate as in C; see " -"functions :func:`math.floor` and :func:`math.ceil` for well-defined " -"conversions." +"Conversion from :class:`float` to :class:`int` truncates, discarding the " +"fractional part. See functions :func:`math.floor` and :func:`math.ceil` for " +"alternative conversions." msgstr "" "Gerçel sayının (float) tam sayıya (integer) dönüştürülmesi, C dilinde de " "olduğu gibi sayının yuvarlanmasına veya kırpılmasına sebep olabilir; iyi " "tanımlanmış dönüşümler için :func:`math.floor` ve :func:`math.ceil` " "fonksiyonlarına bakın." -#: library/stdtypes.rst:345 +#: library/stdtypes.rst:344 msgid "" "float also accepts the strings \"nan\" and \"inf\" with an optional prefix " "\"+\" or \"-\" for Not a Number (NaN) and positive or negative infinity." @@ -654,7 +655,7 @@ msgstr "" "NaN) ve pozitif veya negatif sonsuzluk için isteğe bağlı bir \"+\" veya \"-" "\" ön ekiyle kabul eder." -#: library/stdtypes.rst:349 +#: library/stdtypes.rst:348 msgid "" "Python defines ``pow(0, 0)`` and ``0 ** 0`` to be ``1``, as is common for " "programming languages." @@ -662,7 +663,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:353 +#: library/stdtypes.rst:352 msgid "" "The numeric literals accepted include the digits ``0`` to ``9`` or any " "Unicode equivalent (code points with the ``Nd`` property)." @@ -671,7 +672,7 @@ msgstr "" "herhangi bir Unicode eş değerini (\"Nd\" özelliğine sahip kod noktaları) " "içerir." -#: library/stdtypes.rst:356 +#: library/stdtypes.rst:355 msgid "" "See https://www.unicode.org/Public/14.0.0/ucd/extracted/DerivedNumericType." "txt for a complete list of code points with the ``Nd`` property." @@ -680,7 +681,7 @@ msgstr "" "unicode.org/Public/14.0.0/ucd/extracted/DerivedNumericType.txt adresine " "bakın." -#: library/stdtypes.rst:360 +#: library/stdtypes.rst:359 msgid "" "All :class:`numbers.Real` types (:class:`int` and :class:`float`) also " "include the following operations:" @@ -688,19 +689,19 @@ msgstr "" "Tüm :class:`numbers.Real` türleri (:class:`int` ve :class:`float`) ayrıca " "aşağıdaki işlemleri içerir:" -#: library/stdtypes.rst:366 +#: library/stdtypes.rst:365 msgid ":func:`math.trunc(\\ x) `" msgstr ":func:`math.trunc(\\ x) `" -#: library/stdtypes.rst:366 +#: library/stdtypes.rst:365 msgid "*x* truncated to :class:`~numbers.Integral`" msgstr "*x* :class:`~numbers.Integral` şeklinde kısaltıldı" -#: library/stdtypes.rst:369 +#: library/stdtypes.rst:368 msgid ":func:`round(x[, n]) `" msgstr ":func:`round(x[, n]) `" -#: library/stdtypes.rst:369 +#: library/stdtypes.rst:368 msgid "" "*x* rounded to *n* digits, rounding half to even. If *n* is omitted, it " "defaults to 0." @@ -708,34 +709,34 @@ msgstr "" "*x* *n* haneye yuvarlanır, yarıdan çifte yuvarlanır. *n* atlanırsa, *n* " "varsayılan olarak 0 olur." -#: library/stdtypes.rst:373 +#: library/stdtypes.rst:372 msgid ":func:`math.floor(\\ x) `" msgstr ":func:`math.floor(\\ x) `" -#: library/stdtypes.rst:373 +#: library/stdtypes.rst:372 msgid "the greatest :class:`~numbers.Integral` <= *x*" msgstr "en büyük :class:`~numbers.Integral` <= *x*" -#: library/stdtypes.rst:376 +#: library/stdtypes.rst:375 msgid ":func:`math.ceil(x) `" msgstr ":func:`math.ceil(x) `" -#: library/stdtypes.rst:376 +#: library/stdtypes.rst:375 msgid "the least :class:`~numbers.Integral` >= *x*" msgstr "en küçük :class:`~numbers.Integral` >= *x*" -#: library/stdtypes.rst:380 +#: library/stdtypes.rst:379 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:389 +#: library/stdtypes.rst:388 msgid "Bitwise Operations on Integer Types" msgstr "Tam sayı Türlerinde Bit Düzeyinde İşlemler" -#: library/stdtypes.rst:403 +#: library/stdtypes.rst:402 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 " @@ -745,7 +746,7 @@ msgstr "" "işlemlerin sonucu, sonsuz sayıda işaret biti ile ikiye tümleyende " "gerçekleştiriliyormuş gibi hesaplanır." -#: library/stdtypes.rst:407 +#: library/stdtypes.rst:406 msgid "" "The priorities of the binary bitwise operations are all lower than the " "numeric operations and higher than the comparisons; the unary operation " @@ -756,91 +757,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:411 +#: library/stdtypes.rst:410 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:416 +#: library/stdtypes.rst:415 msgid "``x | y``" msgstr "``x | y``" -#: library/stdtypes.rst:416 +#: library/stdtypes.rst:415 msgid "bitwise :dfn:`or` of *x* and *y*" msgstr "bit düzeyinde *x* :dfn:`or` *y*" -#: library/stdtypes.rst:419 library/stdtypes.rst:1171 library/stdtypes.rst:2397 -#: library/stdtypes.rst:3615 +#: library/stdtypes.rst:418 library/stdtypes.rst:1172 library/stdtypes.rst:2398 +#: library/stdtypes.rst:3616 msgid "\\(4)" msgstr "\\(4)" -#: library/stdtypes.rst:419 +#: library/stdtypes.rst:418 msgid "``x ^ y``" msgstr "``x ^ y``" -#: library/stdtypes.rst:419 +#: library/stdtypes.rst:418 msgid "bitwise :dfn:`exclusive or` of *x* and *y*" msgstr "bit düzeyinde *x* :dfn:`exclusive or` *y*" -#: library/stdtypes.rst:422 +#: library/stdtypes.rst:421 msgid "``x & y``" msgstr "``x & y``" -#: library/stdtypes.rst:422 +#: library/stdtypes.rst:421 msgid "bitwise :dfn:`and` of *x* and *y*" msgstr "bit düzeyinde *x* :dfn:`and` *y*" -#: library/stdtypes.rst:425 +#: library/stdtypes.rst:424 msgid "``x << n``" msgstr "``x << n``" -#: library/stdtypes.rst:425 +#: library/stdtypes.rst:424 msgid "*x* shifted left by *n* bits" msgstr "*x*, *n* bit kadar sola kaydırıldı" -#: library/stdtypes.rst:425 +#: library/stdtypes.rst:424 msgid "(1)(2)" msgstr "(1)(2)" -#: library/stdtypes.rst:427 +#: library/stdtypes.rst:426 msgid "``x >> n``" msgstr "``x >> n``" -#: library/stdtypes.rst:427 +#: library/stdtypes.rst:426 msgid "*x* shifted right by *n* bits" msgstr "*x*, *n* bit kadar sağa kaydırıldı" -#: library/stdtypes.rst:427 +#: library/stdtypes.rst:426 msgid "(1)(3)" msgstr "(1)(3)" -#: library/stdtypes.rst:429 +#: library/stdtypes.rst:428 msgid "``~x``" msgstr "``~x``" -#: library/stdtypes.rst:429 +#: library/stdtypes.rst:428 msgid "the bits of *x* inverted" msgstr "*x* 'in bitleri ters çevrildi" -#: library/stdtypes.rst:435 +#: library/stdtypes.rst:434 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:438 +#: library/stdtypes.rst:437 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:441 +#: library/stdtypes.rst:440 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:444 +#: library/stdtypes.rst:443 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." @@ -852,11 +853,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:451 +#: library/stdtypes.rst:450 msgid "Additional Methods on Integer Types" msgstr "Integer (Tam sayı) Türlerinde Ek Metotlar" -#: library/stdtypes.rst:453 +#: library/stdtypes.rst:452 msgid "" "The int type implements the :class:`numbers.Integral` :term:`abstract base " "class`. In addition, it provides a few more methods:" @@ -864,7 +865,7 @@ msgstr "" "Int türü, :class:`numbers.Integral` :term:`abstract base class` 'ı uygular. " "Ek olarak, birkaç metot daha sağlar:" -#: library/stdtypes.rst:458 +#: library/stdtypes.rst:457 msgid "" "Return the number of bits necessary to represent an integer in binary, " "excluding the sign and leading zeros::" @@ -872,7 +873,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:467 +#: library/stdtypes.rst:466 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``. " @@ -886,11 +887,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:496 library/stdtypes.rst:583 +#: library/stdtypes.rst:495 library/stdtypes.rst:584 msgid "Equivalent to::" msgstr "Eşittir::" -#: library/stdtypes.rst:484 +#: library/stdtypes.rst:483 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::" @@ -898,11 +899,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:505 +#: library/stdtypes.rst:504 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:517 +#: library/stdtypes.rst:516 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 " @@ -912,7 +913,7 @@ msgstr "" "birdir. Tam sayı verilen bayt sayısıyla gösterilemezse :exc:`OverflowError` " "hatası ortaya çıkar." -#: library/stdtypes.rst:521 +#: library/stdtypes.rst:520 msgid "" "The *byteorder* argument determines the byte order used to represent the " "integer, and defaults to ``\"big\"``. If *byteorder* is ``\"big\"``, the " @@ -924,7 +925,7 @@ msgstr "" "ise, en önemli bayt, bayt dizisinin başındadır. *byteorder* ``\"little\"`` " "ise, en önemli bayt, bayt dizisinin sonundadır." -#: library/stdtypes.rst:527 +#: library/stdtypes.rst:526 msgid "" "The *signed* argument determines whether two's complement is used to " "represent the integer. If *signed* is ``False`` and a negative integer is " @@ -936,22 +937,27 @@ msgstr "" "bir tam sayı verilirse, bir :exc:`OverflowError` hatası ortaya çıkar. " "*signed* için varsayılan değer ``False`` şeklindedir." -#: library/stdtypes.rst:532 +#: library/stdtypes.rst:531 msgid "" "The default values can be used to conveniently turn an integer into a single " -"byte object. However, when using the default arguments, don't try to " -"convert a value greater than 255 or you'll get an :exc:`OverflowError`::" +"byte object::" +msgstr "" + +#: library/stdtypes.rst:537 +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:552 +#: library/stdtypes.rst:553 msgid "Added default argument values for ``length`` and ``byteorder``." msgstr "" -#: library/stdtypes.rst:557 +#: library/stdtypes.rst:558 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:570 +#: library/stdtypes.rst:571 #, fuzzy msgid "" "The argument *bytes* must either be a :term:`bytes-like object` or an " @@ -960,7 +966,7 @@ msgstr "" "*bytes* argümanı ya bir :term:`bytes-like object` ya da yinelenebilir üreten " "bayt olabilir." -#: library/stdtypes.rst:573 +#: library/stdtypes.rst:574 #, fuzzy msgid "" "The *byteorder* argument determines the byte order used to represent the " @@ -976,7 +982,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:580 +#: library/stdtypes.rst:581 msgid "" "The *signed* argument indicates whether two's complement is used to " "represent the integer." @@ -984,11 +990,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:600 +#: library/stdtypes.rst:601 msgid "Added default argument value for ``byteorder``." msgstr "" -#: library/stdtypes.rst:605 +#: library/stdtypes.rst:606 msgid "" "Return a pair of integers whose ratio is exactly equal to the original " "integer and with a positive denominator. The integer ratio of integers " @@ -999,11 +1005,11 @@ 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:613 +#: library/stdtypes.rst:614 msgid "Additional Methods on Float" msgstr "Gerçel Sayılarda Ek Metotlar" -#: library/stdtypes.rst:615 +#: library/stdtypes.rst:616 msgid "" "The float type implements the :class:`numbers.Real` :term:`abstract base " "class`. float also has the following additional methods." @@ -1011,7 +1017,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:620 +#: library/stdtypes.rst:621 msgid "" "Return a pair of integers whose ratio is exactly equal to the original float " "and with a positive denominator. Raises :exc:`OverflowError` on infinities " @@ -1021,7 +1027,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:627 +#: library/stdtypes.rst:628 msgid "" "Return ``True`` if the float instance is finite with integral value, and " "``False`` otherwise::" @@ -1029,7 +1035,7 @@ msgstr "" "Float örneği integral değeriyle sonluysa ``True``, aksi takdirde ``False`` " "döndürür::" -#: library/stdtypes.rst:635 +#: library/stdtypes.rst:636 msgid "" "Two methods support conversion to and from hexadecimal strings. Since " "Python's floats are stored internally as binary numbers, converting a float " @@ -1046,7 +1052,7 @@ msgstr "" "belirtilmesine izin verir. Bu, hata ayıklama sırasında ve sayısal " "çalışmalarda yararlı olabilir." -#: library/stdtypes.rst:646 +#: library/stdtypes.rst:647 msgid "" "Return a representation of a floating-point number as a hexadecimal string. " "For finite floating-point numbers, this representation will always include a " @@ -1056,7 +1062,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:654 +#: library/stdtypes.rst:655 msgid "" "Class method to return the float represented by a hexadecimal string *s*. " "The string *s* may have leading and trailing whitespace." @@ -1064,7 +1070,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:659 +#: library/stdtypes.rst:660 msgid "" "Note that :meth:`float.hex` is an instance method, while :meth:`float." "fromhex` is a class method." @@ -1072,11 +1078,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:662 +#: library/stdtypes.rst:663 msgid "A hexadecimal string takes the form::" msgstr "Onaltılık bir dize şu biçimi alır::" -#: library/stdtypes.rst:666 +#: library/stdtypes.rst:667 #, fuzzy msgid "" "where the optional ``sign`` may by either ``+`` or ``-``, ``integer`` and " @@ -1101,7 +1107,7 @@ msgstr "" "toHexString`` 'i tarafından üretilen onaltılık dizeler :meth:`float.fromhex` " "tarafından kabul edilir." -#: library/stdtypes.rst:679 +#: library/stdtypes.rst:680 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 " @@ -1113,7 +1119,7 @@ msgstr "" "``(3 + 10./16 + 7./16**2) * 2.0**10`` veya ``3740.0`` gerçel sayısını temsil " "eder::" -#: library/stdtypes.rst:689 +#: library/stdtypes.rst:690 msgid "" "Applying the reverse conversion to ``3740.0`` gives a different hexadecimal " "string representing the same number::" @@ -1121,11 +1127,11 @@ 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:699 +#: library/stdtypes.rst:700 msgid "Hashing of numeric types" msgstr "Sayısal türlerin hashlemesi" -#: library/stdtypes.rst:701 +#: library/stdtypes.rst:702 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." @@ -1152,7 +1158,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:716 +#: library/stdtypes.rst:717 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." @@ -1160,11 +1166,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:719 +#: library/stdtypes.rst:720 msgid "Here are the rules in detail:" msgstr "İşte ayrıntılı kurallar:" -#: library/stdtypes.rst:721 +#: library/stdtypes.rst:722 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, " @@ -1174,7 +1180,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:725 +#: library/stdtypes.rst:726 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 " @@ -1186,7 +1192,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:730 +#: library/stdtypes.rst:731 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``." @@ -1195,7 +1201,7 @@ msgstr "" "olarak tanımlayın. Elde edilen ``hash`` ``-1`` ise, bunu ``-2`` ile " "değiştirin." -#: library/stdtypes.rst:734 +#: library/stdtypes.rst:735 msgid "" "The particular values ``sys.hash_info.inf`` and ``-sys.hash_info.inf`` are " "used as hash values for positive infinity or negative infinity " @@ -1204,7 +1210,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:738 +#: library/stdtypes.rst:739 #, fuzzy msgid "" "For a :class:`complex` number ``z``, the hash values of the real and " @@ -1219,7 +1225,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:746 +#: library/stdtypes.rst:747 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:" @@ -1229,11 +1235,11 @@ 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:801 +#: library/stdtypes.rst:802 msgid "Iterator Types" msgstr "Yineleyici Türleri" -#: library/stdtypes.rst:809 +#: library/stdtypes.rst:810 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 " @@ -1245,7 +1251,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:814 +#: library/stdtypes.rst:815 msgid "" "One method needs to be defined for container objects to provide :term:" "`iterable` support:" @@ -1253,7 +1259,7 @@ msgstr "" "Container nesnelerinin :term:`iterable` desteği sağlaması için bir metodun " "tanımlanması gerekir:" -#: library/stdtypes.rst:821 +#: library/stdtypes.rst:822 msgid "" "Return an :term:`iterator` object. The object is required to support the " "iterator protocol described below. If a container supports different types " @@ -1273,7 +1279,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:830 +#: library/stdtypes.rst:831 msgid "" "The iterator objects themselves are required to support the following two " "methods, which together form the :dfn:`iterator protocol`:" @@ -1281,7 +1287,7 @@ msgstr "" "Yineleyici nesnelerinin kendilerinin, birlikte :dfn:`iterator protocol` 'ü " "oluşturan aşağıdaki iki metodu desteklemesi gerekir:" -#: library/stdtypes.rst:836 +#: library/stdtypes.rst:837 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:" @@ -1294,7 +1300,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:845 +#: library/stdtypes.rst:846 msgid "" "Return the next item from the :term:`iterator`. If there are no further " "items, raise the :exc:`StopIteration` exception. This method corresponds to " @@ -1306,7 +1312,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:850 +#: library/stdtypes.rst:851 msgid "" "Python defines several iterator objects to support iteration over general " "and specific sequence types, dictionaries, and other more specialized " @@ -1318,7 +1324,7 @@ msgstr "" "Belirli türler, yineleyici protokolünün uygulanmasının ötesinde önemli " "değildir." -#: library/stdtypes.rst:855 +#: library/stdtypes.rst:856 msgid "" "Once an iterator's :meth:`~iterator.__next__` method raises :exc:" "`StopIteration`, it must continue to do so on subsequent calls. " @@ -1328,11 +1334,11 @@ 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:863 +#: library/stdtypes.rst:864 msgid "Generator Types" msgstr "Oluşturucu Tipleri" -#: library/stdtypes.rst:865 +#: library/stdtypes.rst:866 msgid "" "Python's :term:`generator`\\s provide a convenient way to implement the " "iterator protocol. If a container object's :meth:`__iter__` method is " @@ -1349,11 +1355,11 @@ msgstr "" "bilgi :ref:`the documentation for the yield expression ` " "adresinde bulunabilir." -#: library/stdtypes.rst:877 +#: library/stdtypes.rst:878 msgid "Sequence Types --- :class:`list`, :class:`tuple`, :class:`range`" msgstr "Dizi Tipleri --- :class:`list`, :class:`tuple`, :class:`range`" -#: library/stdtypes.rst:879 +#: library/stdtypes.rst:880 msgid "" "There are three basic sequence types: lists, tuples, and range objects. " "Additional sequence types tailored for processing of :ref:`binary data " @@ -1364,11 +1370,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:888 +#: library/stdtypes.rst:889 msgid "Common Sequence Operations" msgstr "Yaygın Dizi İşlemleri" -#: library/stdtypes.rst:892 +#: library/stdtypes.rst:893 msgid "" "The operations in the following table are supported by most sequence types, " "both mutable and immutable. The :class:`collections.abc.Sequence` ABC is " @@ -1380,7 +1386,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:897 +#: library/stdtypes.rst:898 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* " @@ -1392,7 +1398,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:902 +#: library/stdtypes.rst:903 msgid "" "The ``in`` and ``not in`` operations have the same priorities as the " "comparison operations. The ``+`` (concatenation) and ``*`` (repetition) " @@ -1403,109 +1409,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:923 +#: library/stdtypes.rst:924 msgid "``x in s``" msgstr "``x in s``" -#: library/stdtypes.rst:923 +#: library/stdtypes.rst:924 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:926 +#: library/stdtypes.rst:927 msgid "``x not in s``" msgstr "``x not in s``" -#: library/stdtypes.rst:926 +#: library/stdtypes.rst:927 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:929 +#: library/stdtypes.rst:930 msgid "``s + t``" msgstr "``s + t``" -#: library/stdtypes.rst:929 +#: library/stdtypes.rst:930 msgid "the concatenation of *s* and *t*" msgstr "*s* ve *t* 'nin birleşimi" -#: library/stdtypes.rst:929 +#: library/stdtypes.rst:930 msgid "(6)(7)" msgstr "(6)(7)" -#: library/stdtypes.rst:932 +#: library/stdtypes.rst:933 msgid "``s * n`` or ``n * s``" msgstr "``s * n`` veya ``n * s``" -#: library/stdtypes.rst:932 +#: library/stdtypes.rst:933 msgid "equivalent to adding *s* to itself *n* times" msgstr "*s* 'yi kendisine *n* kez eklemeye eş değer" -#: library/stdtypes.rst:932 +#: library/stdtypes.rst:933 msgid "(2)(7)" msgstr "(2)(7)" -#: library/stdtypes.rst:935 +#: library/stdtypes.rst:936 msgid "``s[i]``" msgstr "``s[i]``" -#: library/stdtypes.rst:935 +#: library/stdtypes.rst:936 msgid "*i*\\ th item of *s*, origin 0" msgstr "*s* 'nin *i*\\ 'inci öğesi, orijin 0" -#: library/stdtypes.rst:937 +#: library/stdtypes.rst:938 msgid "``s[i:j]``" msgstr "``s[i:j]``" -#: library/stdtypes.rst:937 +#: library/stdtypes.rst:938 msgid "slice of *s* from *i* to *j*" msgstr "*s* 'nin *i* 'den *j* 'ye kadar olan dilimi" -#: library/stdtypes.rst:937 +#: library/stdtypes.rst:938 msgid "(3)(4)" msgstr "(3)(4)" -#: library/stdtypes.rst:939 +#: library/stdtypes.rst:940 msgid "``s[i:j:k]``" msgstr "``s[i:j:k]``" -#: library/stdtypes.rst:939 +#: library/stdtypes.rst:940 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:939 +#: library/stdtypes.rst:940 msgid "(3)(5)" msgstr "(3)(5)" -#: library/stdtypes.rst:942 +#: library/stdtypes.rst:943 msgid "``len(s)``" msgstr "``len(s)``" -#: library/stdtypes.rst:942 +#: library/stdtypes.rst:943 msgid "length of *s*" msgstr "*s* 'nin uzunluğu" -#: library/stdtypes.rst:944 +#: library/stdtypes.rst:945 msgid "``min(s)``" msgstr "``min(s)``" -#: library/stdtypes.rst:944 +#: library/stdtypes.rst:945 msgid "smallest item of *s*" msgstr "*s* 'nin en küçük öğesi" -#: library/stdtypes.rst:946 +#: library/stdtypes.rst:947 msgid "``max(s)``" msgstr "``max(s)``" -#: library/stdtypes.rst:946 +#: library/stdtypes.rst:947 msgid "largest item of *s*" msgstr "*s* 'nin en büyük öğesi" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 msgid "``s.index(x[, i[, j]])``" msgstr "``s.index(x[, i[, j]])``" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 msgid "" "index of the first occurrence of *x* in *s* (at or after index *i* and " "before index *j*)" @@ -1513,19 +1519,19 @@ msgstr "" "*x* 'in *s* içindeki ilk görüldüğü dizini (*i* dizininde veya sonrasında ve " "*j* dizininden önce)" -#: library/stdtypes.rst:3597 +#: library/stdtypes.rst:3598 msgid "\\(8)" msgstr "\\(8)" -#: library/stdtypes.rst:952 +#: library/stdtypes.rst:953 msgid "``s.count(x)``" msgstr "``s.count(x)``" -#: library/stdtypes.rst:952 +#: library/stdtypes.rst:953 msgid "total number of occurrences of *x* in *s*" msgstr "*s* 'de *x*'in toplam görülme sayısı" -#: library/stdtypes.rst:956 +#: library/stdtypes.rst:957 msgid "" "Sequences of the same type also support comparisons. In particular, tuples " "and lists are compared lexicographically by comparing corresponding " @@ -1540,7 +1546,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:966 +#: library/stdtypes.rst:967 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 " @@ -1549,7 +1555,7 @@ msgid "" "drops below zero)." msgstr "" -#: library/stdtypes.rst:975 +#: library/stdtypes.rst:976 msgid "" "While the ``in`` and ``not in`` operations are used only for simple " "containment testing in the general case, some specialised sequences (such " @@ -1560,7 +1566,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:984 +#: library/stdtypes.rst:985 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 " @@ -1572,7 +1578,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:996 +#: library/stdtypes.rst:997 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 " @@ -1584,7 +1590,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:1008 +#: library/stdtypes.rst:1009 msgid "" "Further explanation is available in the FAQ entry :ref:`faq-multidimensional-" "list`." @@ -1592,7 +1598,7 @@ msgstr "" "Daha fazla açıklama SSS gönderisinde mevcuttur: :ref:`faq-multidimensional-" "list`." -#: library/stdtypes.rst:1012 +#: library/stdtypes.rst:1013 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 " @@ -1602,7 +1608,7 @@ msgstr "" "veya ``len(s) + j`` değiştirilir. Ancak ``-0`` 'ın hala ``0`` olduğuna " "dikkat edin." -#: library/stdtypes.rst:1017 +#: library/stdtypes.rst:1018 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 " @@ -1616,7 +1622,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:1024 +#: library/stdtypes.rst:1025 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 " @@ -1629,7 +1635,7 @@ msgid "" "``None``, it is treated like ``1``." msgstr "" -#: library/stdtypes.rst:1035 +#: library/stdtypes.rst:1036 msgid "" "Concatenating immutable sequences always results in a new object. This " "means that building up a sequence by repeated concatenation will have a " @@ -1642,7 +1648,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:1040 +#: library/stdtypes.rst:1041 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 " @@ -1652,7 +1658,7 @@ msgstr "" "sonunda :meth:`str.join` kullanabilir veya bir :class:`io.StringIO` örneğine " "yazabilir ve tamamlandığında değerini alabilirsiniz" -#: library/stdtypes.rst:1044 +#: library/stdtypes.rst:1045 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 :" @@ -1664,17 +1670,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:1049 +#: library/stdtypes.rst:1050 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:1051 +#: library/stdtypes.rst:1052 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:1055 +#: library/stdtypes.rst:1056 msgid "" "Some sequence types (such as :class:`range`) only support item sequences " "that follow specific patterns, and hence don't support sequence " @@ -1684,7 +1690,7 @@ msgstr "" "eden öğe dizilerini destekler ve bu nedenle dizi birleştirmeyi veya " "tekrarlamayı desteklemez." -#: library/stdtypes.rst:1060 +#: library/stdtypes.rst:1061 msgid "" "``index`` raises :exc:`ValueError` when *x* is not found in *s*. Not all " "implementations support passing the additional arguments *i* and *j*. These " @@ -1700,11 +1706,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:1071 +#: library/stdtypes.rst:1072 msgid "Immutable Sequence Types" msgstr "Değiştirilemez Dizi Tipleri" -#: library/stdtypes.rst:1078 +#: library/stdtypes.rst:1079 msgid "" "The only operation that immutable sequence types generally implement that is " "not also implemented by mutable sequence types is support for the :func:" @@ -1714,7 +1720,7 @@ msgstr "" "değişken dizi türleri tarafından uygulanmayan tek işlem, gömülü :func:`hash` " "desteğidir." -#: library/stdtypes.rst:1082 +#: library/stdtypes.rst:1083 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:" @@ -1724,7 +1730,7 @@ msgstr "" "`dict` anahtarları olarak kullanılmasına, :class:`set` ve :class:`frozenset` " "örneklerinde saklanmasına izin verir." -#: library/stdtypes.rst:1086 +#: library/stdtypes.rst:1087 #, fuzzy msgid "" "Attempting to hash an immutable sequence that contains unhashable values " @@ -1733,11 +1739,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:1093 +#: library/stdtypes.rst:1094 msgid "Mutable Sequence Types" msgstr "Değiştirilebilir Dizi Tipleri" -#: library/stdtypes.rst:1100 +#: library/stdtypes.rst:1101 msgid "" "The operations in the following table are defined on mutable sequence types. " "The :class:`collections.abc.MutableSequence` ABC is provided to make it " @@ -1748,7 +1754,7 @@ msgstr "" "özel dizi türlerinde doğru şekilde uygulamayı kolaylaştırmak için " "sağlanmıştır." -#: library/stdtypes.rst:1104 +#: library/stdtypes.rst:1105 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 " @@ -1761,79 +1767,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:1128 +#: library/stdtypes.rst:1129 msgid "``s[i] = x``" msgstr "``s[i] = x``" -#: library/stdtypes.rst:1128 +#: library/stdtypes.rst:1129 msgid "item *i* of *s* is replaced by *x*" msgstr "*s* 'nin *i* öğesi *x* ile değiştirilir" -#: library/stdtypes.rst:1131 +#: library/stdtypes.rst:1132 msgid "``s[i:j] = t``" msgstr "``s[i:j] = t``" -#: library/stdtypes.rst:1131 +#: library/stdtypes.rst:1132 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:1135 +#: library/stdtypes.rst:1136 msgid "``del s[i:j]``" msgstr "``del s[i:j]``" -#: library/stdtypes.rst:1135 +#: library/stdtypes.rst:1136 msgid "same as ``s[i:j] = []``" msgstr "``s[i:j] = []`` ile eş değerdir" -#: library/stdtypes.rst:1137 +#: library/stdtypes.rst:1138 msgid "``s[i:j:k] = t``" msgstr "``s[i:j:k] = t``" -#: library/stdtypes.rst:1137 +#: library/stdtypes.rst:1138 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:1140 +#: library/stdtypes.rst:1141 msgid "``del s[i:j:k]``" msgstr "``del s[i:j:k]``" -#: library/stdtypes.rst:1140 +#: library/stdtypes.rst:1141 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:1143 +#: library/stdtypes.rst:1144 msgid "``s.append(x)``" msgstr "``s.append(x)``" -#: library/stdtypes.rst:1143 +#: library/stdtypes.rst:1144 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:1147 +#: library/stdtypes.rst:1148 msgid "``s.clear()``" msgstr "``s.clear()``" -#: library/stdtypes.rst:1147 +#: library/stdtypes.rst:1148 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:1150 +#: library/stdtypes.rst:1151 msgid "``s.copy()``" msgstr "``s.copy()``" -#: library/stdtypes.rst:1150 +#: library/stdtypes.rst:1151 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:1153 +#: library/stdtypes.rst:1154 msgid "``s.extend(t)`` or ``s += t``" msgstr "``s.extend(t)`` veya ``s += t``" -#: library/stdtypes.rst:1153 +#: library/stdtypes.rst:1154 msgid "" "extends *s* with the contents of *t* (for the most part the same as " "``s[len(s):len(s)] = t``)" @@ -1841,55 +1847,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:1158 +#: library/stdtypes.rst:1159 msgid "``s *= n``" msgstr "``s *= n``" -#: library/stdtypes.rst:1158 +#: library/stdtypes.rst:1159 msgid "updates *s* with its contents repeated *n* times" msgstr "*n* kez tekrarlanan içeriğiyle *s* 'yi günceller" -#: library/stdtypes.rst:1161 +#: library/stdtypes.rst:1162 msgid "``s.insert(i, x)``" msgstr "``s.insert(i, x)``" -#: library/stdtypes.rst:1161 +#: library/stdtypes.rst:1162 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:1165 +#: library/stdtypes.rst:1166 msgid "``s.pop()`` or ``s.pop(i)``" msgstr "``s.pop()`` veya ``s.pop(i)``" -#: library/stdtypes.rst:1165 +#: library/stdtypes.rst:1166 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:1168 +#: library/stdtypes.rst:1169 msgid "``s.remove(x)``" msgstr "``s.remove(x)``" -#: library/stdtypes.rst:1168 +#: library/stdtypes.rst:1169 #, 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:1171 +#: library/stdtypes.rst:1172 msgid "``s.reverse()``" msgstr "``s.reverse()``" -#: library/stdtypes.rst:1171 +#: library/stdtypes.rst:1172 msgid "reverses the items of *s* in place" msgstr "*s* 'nin öğelerini yerinde tersine çevirir" -#: library/stdtypes.rst:1179 +#: library/stdtypes.rst:1180 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:1182 +#: library/stdtypes.rst:1183 msgid "" "The optional argument *i* defaults to ``-1``, so that by default the last " "item is removed and returned." @@ -1897,13 +1903,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:1186 +#: library/stdtypes.rst:1187 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:1189 +#: library/stdtypes.rst:1190 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 " @@ -1913,7 +1919,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:1194 +#: library/stdtypes.rst:1195 #, fuzzy msgid "" ":meth:`clear` and :meth:`!copy` are included for consistency with the " @@ -1928,11 +1934,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:1200 +#: library/stdtypes.rst:1201 msgid ":meth:`clear` and :meth:`!copy` methods." msgstr ":meth:`clear` ve :meth:`!copy` metotları." -#: library/stdtypes.rst:1204 +#: library/stdtypes.rst:1205 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 " @@ -1944,11 +1950,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:1213 +#: library/stdtypes.rst:1214 msgid "Lists" msgstr "Listeler" -#: library/stdtypes.rst:1217 +#: library/stdtypes.rst:1218 msgid "" "Lists are mutable sequences, typically used to store collections of " "homogeneous items (where the precise degree of similarity will vary by " @@ -1958,29 +1964,29 @@ msgstr "" "değişeceği) homojen öğelerin koleksiyonlarını depolamak için kullanılan " "değiştirilebilir dizilerdir." -#: library/stdtypes.rst:1223 +#: library/stdtypes.rst:1224 msgid "Lists may be constructed in several ways:" msgstr "Listeler birkaç şekilde oluşturulabilir:" -#: library/stdtypes.rst:1225 +#: library/stdtypes.rst:1226 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:1226 +#: library/stdtypes.rst:1227 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:1227 +#: library/stdtypes.rst:1228 msgid "Using a list comprehension: ``[x for x in iterable]``" msgstr "Liste kavrayışını kullanma: ``[x for x in iterable]``" -#: library/stdtypes.rst:1228 +#: library/stdtypes.rst:1229 msgid "Using the type constructor: ``list()`` or ``list(iterable)``" msgstr "Tür oluşturucuyu kullanma: ``list()`` veya ``list(iterable)``" -#: library/stdtypes.rst:1230 +#: library/stdtypes.rst:1231 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 " @@ -1998,7 +2004,7 @@ msgstr "" "3) )``, ``[ 1, 2, 3]``. Argüman verilmezse, yapıcı ``[]`` yeni bir boş liste " "oluşturur." -#: library/stdtypes.rst:1239 +#: library/stdtypes.rst:1240 msgid "" "Many other operations also produce lists, including the :func:`sorted` built-" "in." @@ -2006,7 +2012,7 @@ msgstr "" "Gömülü :func:`sorted` dahil olmak üzere diğer birçok işlem de listeler " "üretir." -#: library/stdtypes.rst:1242 +#: library/stdtypes.rst:1243 msgid "" "Lists implement all of the :ref:`common ` and :ref:`mutable " "` sequence operations. Lists also provide the following " @@ -2016,7 +2022,7 @@ msgstr "" "mutable>` dizi işlemlerini uygular. Listeler ayrıca aşağıdaki ek metodu da " "sağlar:" -#: library/stdtypes.rst:1248 +#: library/stdtypes.rst:1249 msgid "" "This method sorts the list in place, using only ``<`` comparisons between " "items. Exceptions are not suppressed - if any comparison operations fail, " @@ -2028,7 +2034,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:1253 +#: library/stdtypes.rst:1254 msgid "" ":meth:`sort` accepts two arguments that can only be passed by keyword (:ref:" "`keyword-only arguments `):" @@ -2036,7 +2042,7 @@ msgstr "" ":meth:`sort` yalnızca anahtar kelime tarafından iletilebilen iki argümanı " "kabul eder (:ref:`keyword-only arguments `):" -#: library/stdtypes.rst:1256 +#: library/stdtypes.rst:1257 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 " @@ -2051,7 +2057,7 @@ msgstr "" "``None``, liste öğelerinin ayrı bir anahtar değeri hesaplamadan doğrudan " "sıralandığı anlamına gelir." -#: library/stdtypes.rst:1263 +#: library/stdtypes.rst:1264 msgid "" "The :func:`functools.cmp_to_key` utility is available to convert a 2.x style " "*cmp* function to a *key* function." @@ -2059,7 +2065,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:1266 +#: library/stdtypes.rst:1267 msgid "" "*reverse* is a boolean value. If set to ``True``, then the list elements " "are sorted as if each comparison were reversed." @@ -2067,7 +2073,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:1269 +#: library/stdtypes.rst:1270 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 " @@ -2079,7 +2085,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:1274 +#: library/stdtypes.rst:1275 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 " @@ -2091,14 +2097,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:1279 +#: library/stdtypes.rst:1280 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:1283 +#: library/stdtypes.rst:1284 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 " @@ -2110,11 +2116,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:1292 +#: library/stdtypes.rst:1293 msgid "Tuples" msgstr "Demetler" -#: library/stdtypes.rst:1296 +#: library/stdtypes.rst:1297 msgid "" "Tuples are immutable sequences, typically used to store collections of " "heterogeneous data (such as the 2-tuples produced by the :func:`enumerate` " @@ -2128,27 +2134,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:1304 +#: library/stdtypes.rst:1305 msgid "Tuples may be constructed in a number of ways:" msgstr "Tuple'lar çeşitli şekillerde oluşturulabilir:" -#: library/stdtypes.rst:1306 +#: library/stdtypes.rst:1307 msgid "Using a pair of parentheses to denote the empty tuple: ``()``" msgstr "Boş demeti belirtmek için bir çift parantez kullanma: ``()``" -#: library/stdtypes.rst:1307 +#: library/stdtypes.rst:1308 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:1308 +#: library/stdtypes.rst:1309 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:1309 +#: library/stdtypes.rst:1310 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:1311 +#: library/stdtypes.rst:1312 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 " @@ -2165,7 +2171,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:1319 +#: library/stdtypes.rst:1320 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 " @@ -2179,14 +2185,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:1325 +#: library/stdtypes.rst:1326 msgid "" "Tuples implement all of the :ref:`common ` sequence " "operations." msgstr "" "Tuple'lar, tüm :ref:`common ` dizi işlemlerini uygular." -#: library/stdtypes.rst:1328 +#: library/stdtypes.rst:1329 msgid "" "For heterogeneous collections of data where access by name is clearer than " "access by index, :func:`collections.namedtuple` may be a more appropriate " @@ -2196,11 +2202,11 @@ msgstr "" "koleksiyonları için, :func:`collections.namedtuple` basit bir tuple " "nesnesinden daha uygun bir seçim olabilir." -#: library/stdtypes.rst:1336 +#: library/stdtypes.rst:1337 msgid "Ranges" msgstr "Aralıklar" -#: library/stdtypes.rst:1340 +#: library/stdtypes.rst:1341 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." @@ -2209,7 +2215,7 @@ msgstr "" "genellikle :keyword:`for` döngülerinde belirli sayıda döngü yapmak için " "kullanılır." -#: library/stdtypes.rst:1347 +#: library/stdtypes.rst:1348 msgid "" "The arguments to the range constructor must be integers (either built-in :" "class:`int` or any object that implements the :meth:`~object.__index__` " @@ -2223,7 +2229,7 @@ msgstr "" "atlanırsa, varsayılan olarak ``0`` olur. *step* sıfırsa, :exc:`ValueError` " "hatası ortaya çıkar." -#: library/stdtypes.rst:1353 +#: library/stdtypes.rst:1354 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``." @@ -2231,7 +2237,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:1357 +#: library/stdtypes.rst:1358 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 " @@ -2240,7 +2246,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:1361 +#: library/stdtypes.rst:1362 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 " @@ -2251,7 +2257,7 @@ msgstr "" "indeksler tarafından belirlenen dizinin sonundan indeksleme olarak " "yorumlanır." -#: library/stdtypes.rst:1366 +#: library/stdtypes.rst:1367 msgid "" "Ranges containing absolute values larger than :data:`sys.maxsize` are " "permitted but some features (such as :func:`len`) may raise :exc:" @@ -2261,11 +2267,11 @@ msgstr "" "verilir, ancak bazı özellikler (:func:`len` gibi), :exc:`OverflowError` " "hatasınının ortaya çıkmasını sağlayabilir." -#: library/stdtypes.rst:1370 +#: library/stdtypes.rst:1371 msgid "Range examples::" msgstr "Aralık örnekleri::" -#: library/stdtypes.rst:1387 +#: library/stdtypes.rst:1388 msgid "" "Ranges implement all of the :ref:`common ` sequence " "operations except concatenation and repetition (due to the fact that range " @@ -2277,23 +2283,23 @@ msgstr "" "izleyen dizileri temsil edebilmesi ve tekrarlama ve birleştirmenin " "genellikle bu kalıbı ihlal etmesi nedeniyle)." -#: library/stdtypes.rst:1394 +#: library/stdtypes.rst:1395 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:1399 +#: library/stdtypes.rst:1400 msgid "The value of the *stop* parameter" msgstr "*stop* parametresinin değeri" -#: library/stdtypes.rst:1403 +#: library/stdtypes.rst:1404 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:1406 +#: library/stdtypes.rst:1407 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 " @@ -2307,7 +2313,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:1412 +#: library/stdtypes.rst:1413 msgid "" "Range objects implement the :class:`collections.abc.Sequence` ABC, and " "provide features such as containment tests, element index lookup, slicing " @@ -2317,7 +2323,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:1432 +#: library/stdtypes.rst:1433 msgid "" "Testing range objects for equality with ``==`` and ``!=`` compares them as " "sequences. That is, two range objects are considered equal if they " @@ -2333,7 +2339,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:1439 +#: library/stdtypes.rst:1440 msgid "" "Implement the Sequence ABC. Support slicing and negative indices. Test :" "class:`int` objects for membership in constant time instead of iterating " @@ -2343,7 +2349,7 @@ msgstr "" "öğeleri yinelemek yerine sabit zamanda üyelik için :class:`int` nesnelerini " "test eder." -#: library/stdtypes.rst:1445 +#: library/stdtypes.rst:1446 msgid "" "Define '==' and '!=' to compare range objects based on the sequence of " "values they define (instead of comparing based on object identity)." @@ -2351,14 +2357,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:1450 +#: library/stdtypes.rst:1451 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:1456 +#: library/stdtypes.rst:1457 #, fuzzy msgid "" "The `linspace recipe `_ shows " @@ -2369,11 +2375,11 @@ msgstr "" "nokta uygulamaları için uygun olan tembel bir aralığın nasıl uygulanacağını " "gösterir." -#: library/stdtypes.rst:1468 +#: library/stdtypes.rst:1469 msgid "Text Sequence Type --- :class:`str`" msgstr "Metin Sırası Türü --- :class:`str`" -#: library/stdtypes.rst:1470 +#: library/stdtypes.rst:1471 msgid "" "Textual data in Python is handled with :class:`str` objects, or :dfn:" "`strings`. Strings are immutable :ref:`sequences ` of Unicode code " @@ -2383,21 +2389,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:1475 +#: library/stdtypes.rst:1476 msgid "Single quotes: ``'allows embedded \"double\" quotes'``" msgstr "Tek tırnak: ``'katıştırılmış \"çift\" tırnaklara izin verir'``" -#: library/stdtypes.rst:1476 +#: library/stdtypes.rst:1477 msgid "Double quotes: ``\"allows embedded 'single' quotes\"``" msgstr "Çift tırnak: ``\"katıştırılmış 'tek' tırnaklara izin verir\"``" -#: library/stdtypes.rst:1477 +#: library/stdtypes.rst:1478 msgid "" "Triple quoted: ``'''Three single quotes'''``, ``\"\"\"Three double " "quotes\"\"\"``" msgstr "Üçlü tırnak: ``'''Üç tek tırnak'''``, ``\"\"\"Üç çift tırnak\"\"\"``" -#: library/stdtypes.rst:1479 +#: library/stdtypes.rst:1480 msgid "" "Triple quoted strings may span multiple lines - all associated whitespace " "will be included in the string literal." @@ -2405,7 +2411,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:1482 +#: library/stdtypes.rst:1483 msgid "" "String literals that are part of a single expression and have only " "whitespace between them will be implicitly converted to a single string " @@ -2415,7 +2421,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:1486 +#: library/stdtypes.rst:1487 msgid "" "See :ref:`strings` for more about the various forms of string literal, " "including supported escape sequences, and the ``r`` (\"raw\") prefix that " @@ -2426,7 +2432,7 @@ msgstr "" "değişmezinin çeşitli biçimleri hakkında daha fazla bilgi için bkz. :ref:" "`strings`." -#: library/stdtypes.rst:1490 +#: library/stdtypes.rst:1491 msgid "" "Strings may also be created from other objects using the :class:`str` " "constructor." @@ -2434,7 +2440,7 @@ msgstr "" "Dizeler, :class:`str` yapıcısı kullanılarak diğer nesnelerden de " "oluşturulabilir." -#: library/stdtypes.rst:1493 +#: library/stdtypes.rst:1494 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]``." @@ -2443,7 +2449,7 @@ msgstr "" "uzunluğunda dizeler üretir. Yani, boş olmayan bir *s* dizesi için ``s[0] == " "s[0:1]``." -#: library/stdtypes.rst:1499 +#: library/stdtypes.rst:1500 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 " @@ -2453,7 +2459,7 @@ msgstr "" "`io.StringIO` birden çok parçadan dizeleri verimli bir şekilde oluşturmak " "için kullanılabilir." -#: library/stdtypes.rst:1503 +#: library/stdtypes.rst:1504 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 " @@ -2463,7 +2469,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:1515 +#: library/stdtypes.rst:1516 #, fuzzy msgid "" "Return a :ref:`string ` version of *object*. If *object* is not " @@ -2474,7 +2480,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:1519 +#: library/stdtypes.rst:1520 #, fuzzy msgid "" "If neither *encoding* nor *errors* is given, ``str(object)`` returns :meth:" @@ -2490,7 +2496,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:1531 +#: library/stdtypes.rst:1532 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 " @@ -2510,7 +2516,7 @@ msgstr "" "elde edilir. Arabellek nesneleri hakkında bilgi için bkz. :ref:`binaryseq` " "ve :ref:`bufferobjects`." -#: library/stdtypes.rst:1540 +#: library/stdtypes.rst:1541 msgid "" "Passing a :class:`bytes` object to :func:`str` without the *encoding* or " "*errors* arguments falls under the first case of returning the informal " @@ -2522,7 +2528,7 @@ msgstr "" "girer (ayrıca bkz. Python için :option:`-b` komut satırı seçeneği). " "Örneğin::" -#: library/stdtypes.rst:1548 +#: library/stdtypes.rst:1549 msgid "" "For more information on the ``str`` class and its methods, see :ref:" "`textseq` and the :ref:`string-methods` section below. To output formatted " @@ -2534,11 +2540,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:1560 +#: library/stdtypes.rst:1561 msgid "String Methods" msgstr "String (Dize) Metotları" -#: library/stdtypes.rst:1565 +#: library/stdtypes.rst:1566 msgid "" "Strings implement all of the :ref:`common ` sequence " "operations, along with the additional methods described below." @@ -2546,7 +2552,7 @@ msgstr "" "Dizeler, aşağıda açıklanan ek yöntemlerle birlikte tüm :ref:`ortak ` dizi işlemlerini uygular." -#: library/stdtypes.rst:1568 +#: library/stdtypes.rst:1569 #, fuzzy msgid "" "Strings also support two styles of string formatting, one providing a large " @@ -2563,7 +2569,7 @@ msgstr "" "stilini destekler, ancak genellikle işleyebileceği durumlar için daha " "hızlıdır (:ref:`old-string-formatting`)." -#: library/stdtypes.rst:1575 +#: library/stdtypes.rst:1576 msgid "" "The :ref:`textservices` section of the standard library covers a number of " "other modules that provide various text related utilities (including regular " @@ -2573,7 +2579,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:1581 +#: library/stdtypes.rst:1582 msgid "" "Return a copy of the string with its first character capitalized and the " "rest lowercased." @@ -2581,7 +2587,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:1584 +#: library/stdtypes.rst:1585 #, fuzzy msgid "" "The first character is now put into titlecase rather than uppercase. This " @@ -2592,7 +2598,7 @@ msgstr "" "digraf gibi karakterlerin, sadece ilk harflerinin büyütüleceği anlamına " "gelir." -#: library/stdtypes.rst:1591 +#: library/stdtypes.rst:1592 msgid "" "Return a casefolded copy of the string. Casefolded strings may be used for " "caseless matching." @@ -2600,7 +2606,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:1594 +#: library/stdtypes.rst:1595 msgid "" "Casefolding is similar to lowercasing but more aggressive because it is " "intended to remove all case distinctions in a string. For example, the " @@ -2614,14 +2620,14 @@ 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:1600 +#: library/stdtypes.rst:1601 msgid "" "The casefolding algorithm is described in section 3.13 of the Unicode " "Standard." msgstr "" "Casefolding algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:1608 +#: library/stdtypes.rst:1609 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 " @@ -2632,7 +2638,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:1616 +#: library/stdtypes.rst:1617 msgid "" "Return the number of non-overlapping occurrences of substring *sub* in the " "range [*start*, *end*]. Optional arguments *start* and *end* are " @@ -2642,23 +2648,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:1620 +#: library/stdtypes.rst:1621 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:1626 +#: library/stdtypes.rst:1627 msgid "Return the string encoded to :class:`bytes`." msgstr "" -#: library/stdtypes.rst:2763 +#: library/stdtypes.rst:2764 msgid "" "*encoding* defaults to ``'utf-8'``; see :ref:`standard-encodings` for " "possible values." msgstr "" -#: library/stdtypes.rst:1631 +#: library/stdtypes.rst:1632 msgid "" "*errors* controls how encoding errors are handled. If ``'strict'`` (the " "default), a :exc:`UnicodeError` exception is raised. Other possible values " @@ -2673,18 +2679,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:1638 +#: library/stdtypes.rst:1639 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:2782 +#: library/stdtypes.rst:2783 msgid "Added support for keyword arguments." msgstr "" -#: library/stdtypes.rst:2785 +#: library/stdtypes.rst:2786 msgid "" "The value of the *errors* argument is now checked in :ref:`devmode` and in :" "ref:`debug mode `." @@ -2692,7 +2698,7 @@ msgstr "" "*errors* şimdi :ref:`devmode` ve :ref:`hata ayıklama modunda ` " "kontrol edilir." -#: library/stdtypes.rst:1653 +#: library/stdtypes.rst:1654 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. " @@ -2704,7 +2710,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:1661 +#: library/stdtypes.rst:1662 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 " @@ -2731,7 +2737,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:1682 +#: library/stdtypes.rst:1683 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 " @@ -2741,7 +2747,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:1688 +#: library/stdtypes.rst:1689 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 :" @@ -2751,7 +2757,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:1698 +#: library/stdtypes.rst:1699 msgid "" "Perform a string formatting operation. The string on which this method is " "called can contain literal text or replacement fields delimited by braces " @@ -2767,7 +2773,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:1708 +#: library/stdtypes.rst:1709 msgid "" "See :ref:`formatstrings` for a description of the various formatting options " "that can be specified in format strings." @@ -2775,7 +2781,7 @@ msgstr "" "Biçim dizelerinde (f string) belirtilebilecek çeşitli biçimlendirme " "seçeneklerinin açıklaması için bkz. :ref:`formatstrings`." -#: library/stdtypes.rst:1712 +#: library/stdtypes.rst:1713 msgid "" "When formatting a number (:class:`int`, :class:`float`, :class:`complex`, :" "class:`decimal.Decimal` and subclasses) with the ``n`` type (ex: ``'{:n}'." @@ -2793,7 +2799,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:1721 +#: library/stdtypes.rst:1722 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." @@ -2802,7 +2808,7 @@ msgstr "" "``LC_CTYPE`` yerel ayarını geçici olarak ``LC_NUMERIC`` yerel ayarına " "ayarlar." -#: library/stdtypes.rst:1729 +#: library/stdtypes.rst:1730 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 " @@ -2812,7 +2818,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:1745 +#: library/stdtypes.rst:1746 msgid "" "Like :meth:`~str.find`, but raise :exc:`ValueError` when the substring is " "not found." @@ -2820,7 +2826,7 @@ msgstr "" ":meth:`~str.find` gibi, ancak alt dize bulunamadığında :exc:`ValueError` " "yükseltir." -#: library/stdtypes.rst:1751 +#: library/stdtypes.rst:1752 msgid "" "Return ``True`` if all characters in the string are alphanumeric and there " "is at least one character, ``False`` otherwise. A character ``c`` is " @@ -2832,7 +2838,7 @@ msgstr "" "``True`` döndürüyorsa alfasayısaldır: ``c.isalpha()``, ``c.isdecimal()``, " "``c.isdigit()`` veya ``c.isnumeric()``." -#: library/stdtypes.rst:1759 +#: library/stdtypes.rst:1760 msgid "" "Return ``True`` if all characters in the string are alphabetic and there is " "at least one character, ``False`` otherwise. Alphabetic characters are " @@ -2848,7 +2854,7 @@ msgstr "" "karakterlerdir. Bunun Unicode Standardında tanımlanan \"Alfabetik\" " "özelliğinden farklı olduğunu unutmayın." -#: library/stdtypes.rst:1768 +#: library/stdtypes.rst:1769 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 " @@ -2858,7 +2864,7 @@ msgstr "" "``False`` döndürür. ASCII karakterleri U+0000-U+007F aralığında kod " "noktalarına sahiptir." -#: library/stdtypes.rst:1777 +#: library/stdtypes.rst:1778 msgid "" "Return ``True`` if all characters in the string are decimal characters and " "there is at least one character, ``False`` otherwise. Decimal characters are " @@ -2872,7 +2878,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:1787 +#: library/stdtypes.rst:1788 msgid "" "Return ``True`` if all characters in the string are digits and there is at " "least one character, ``False`` otherwise. Digits include decimal characters " @@ -2888,7 +2894,7 @@ msgstr "" "rakamları kapsar. Resmi olarak rakam, Numeric_Type=Digit veya " "Numeric_Type=Decimal özellik değerine sahip bir karakterdir." -#: library/stdtypes.rst:1797 +#: library/stdtypes.rst:1798 msgid "" "Return ``True`` if the string is a valid identifier according to the " "language definition, section :ref:`identifiers`." @@ -2896,7 +2902,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:1800 +#: library/stdtypes.rst:1801 msgid "" "Call :func:`keyword.iskeyword` to test whether string ``s`` is a reserved " "identifier, such as :keyword:`def` and :keyword:`class`." @@ -2904,11 +2910,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:1803 +#: library/stdtypes.rst:1804 msgid "Example: ::" msgstr "Örnek: ::" -#: library/stdtypes.rst:1816 +#: library/stdtypes.rst:1817 msgid "" "Return ``True`` if all cased characters [4]_ in the string are lowercase and " "there is at least one cased character, ``False`` otherwise." @@ -2916,7 +2922,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:1822 +#: library/stdtypes.rst:1823 msgid "" "Return ``True`` if all characters in the string are numeric characters, and " "there is at least one character, ``False`` otherwise. Numeric characters " @@ -2932,7 +2938,7 @@ msgstr "" "karakterler Numeric_Type=Digit, Numeric_Type=Decimal veya " "Numeric_Type=Numeric özellik değerine sahip karakterlerdir." -#: library/stdtypes.rst:1832 +#: library/stdtypes.rst:1833 msgid "" "Return ``True`` if all characters in the string are printable or the string " "is empty, ``False`` otherwise. Nonprintable characters are those characters " @@ -2951,7 +2957,7 @@ msgstr "" "data:`sys.stdout` veya :data:`sys.stderr` dosyalarına yazılan dizelerin " "işlenmesiyle bir ilgisi yoktur)" -#: library/stdtypes.rst:1843 +#: library/stdtypes.rst:1844 msgid "" "Return ``True`` if there are only whitespace characters in the string and " "there is at least one character, ``False`` otherwise." @@ -2959,7 +2965,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:1846 +#: library/stdtypes.rst:1847 msgid "" "A character is *whitespace* if in the Unicode character database (see :mod:" "`unicodedata`), either its general category is ``Zs`` (\"Separator, " @@ -2969,7 +2975,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:1854 +#: library/stdtypes.rst:1855 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 " @@ -2981,7 +2987,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:1861 +#: library/stdtypes.rst:1862 msgid "" "Return ``True`` if all cased characters [4]_ in the string are uppercase and " "there is at least one cased character, ``False`` otherwise." @@ -2989,7 +2995,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:1879 +#: library/stdtypes.rst:1880 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 " @@ -3001,7 +3007,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:1887 +#: library/stdtypes.rst:1888 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 " @@ -3012,7 +3018,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:1894 +#: library/stdtypes.rst:1895 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "lowercase." @@ -3020,14 +3026,14 @@ msgstr "" "Dizenin tüm büyük harfli karakterlerini [4]_ küçük harfe dönüştürerek bir " "kopyasını döndürür." -#: library/stdtypes.rst:1897 +#: library/stdtypes.rst:1898 msgid "" "The lowercasing algorithm used is described in section 3.13 of the Unicode " "Standard." msgstr "" "Harf küçültme algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:1903 +#: library/stdtypes.rst:1904 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 " @@ -3041,7 +3047,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:1913 +#: library/stdtypes.rst:1914 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::" @@ -3050,7 +3056,7 @@ msgstr "" "kaldıracak bir yöntem için :meth:`str.removeprefix` bölümüne bakın. " "Örneğin::" -#: library/stdtypes.rst:1924 +#: library/stdtypes.rst:1925 msgid "" "This static method returns a translation table usable for :meth:`str." "translate`." @@ -3058,7 +3064,7 @@ msgstr "" "Bu statik yöntem :meth:`str.translate` için kullanılabilecek bir çeviri " "tablosu döndürür." -#: library/stdtypes.rst:1926 +#: library/stdtypes.rst:1927 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, " @@ -3071,7 +3077,7 @@ msgstr "" "sözlük olmalıdır. Karakter anahtarları daha sonra sıradanlara " "dönüştürülecektir." -#: library/stdtypes.rst:1931 +#: library/stdtypes.rst:1932 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 " @@ -3083,7 +3089,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:1939 +#: library/stdtypes.rst:1940 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 " @@ -3095,7 +3101,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:1947 +#: library/stdtypes.rst:1948 msgid "" "If the string starts with the *prefix* string, return " "``string[len(prefix):]``. Otherwise, return a copy of the original string::" @@ -3103,7 +3109,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:1961 +#: library/stdtypes.rst:1962 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 " @@ -3113,7 +3119,7 @@ msgstr "" "``dize[:-len(suffix)]`` döndürür. Aksi takdirde, orijinal dizenin bir " "kopyasını döndürür::" -#: library/stdtypes.rst:1975 +#: library/stdtypes.rst:1976 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* " @@ -3123,7 +3129,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:1982 +#: library/stdtypes.rst:1983 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* " @@ -3134,7 +3140,7 @@ msgstr "" "*end* dilim gösterimindeki gibi yorumlanır. Başarısızlık durumunda ``-1`` " "döndürür." -#: library/stdtypes.rst:1989 +#: library/stdtypes.rst:1990 msgid "" "Like :meth:`rfind` but raises :exc:`ValueError` when the substring *sub* is " "not found." @@ -3142,7 +3148,7 @@ msgstr "" ":meth:`rfind` gibi, ancak *sub* alt dizesi bulunamadığında :exc:`ValueError` " "yükseltir." -#: library/stdtypes.rst:1995 +#: library/stdtypes.rst:1996 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 " @@ -3153,7 +3159,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:2002 +#: library/stdtypes.rst:2003 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 " @@ -3165,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:2010 +#: library/stdtypes.rst:2011 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 " @@ -3179,7 +3185,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:2019 +#: library/stdtypes.rst:2020 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 " @@ -3193,7 +3199,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:2029 +#: library/stdtypes.rst:2030 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::" @@ -3202,7 +3208,7 @@ msgstr "" "kaldıracak bir yöntem için :meth:`str.removeprefix` bölümüne bakın. " "Örneğin::" -#: library/stdtypes.rst:2039 +#: library/stdtypes.rst:2040 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, " @@ -3216,7 +3222,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:2045 +#: library/stdtypes.rst:2046 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns " @@ -3230,15 +3236,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:2067 library/stdtypes.rst:2187 -#: library/stdtypes.rst:3101 library/stdtypes.rst:3208 -#: library/stdtypes.rst:3249 library/stdtypes.rst:3291 -#: library/stdtypes.rst:3323 library/stdtypes.rst:3373 -#: library/stdtypes.rst:3442 library/stdtypes.rst:3466 +#: library/stdtypes.rst:2068 library/stdtypes.rst:2188 +#: library/stdtypes.rst:3102 library/stdtypes.rst:3209 +#: library/stdtypes.rst:3250 library/stdtypes.rst:3292 +#: library/stdtypes.rst:3324 library/stdtypes.rst:3374 +#: library/stdtypes.rst:3443 library/stdtypes.rst:3467 msgid "For example::" msgstr "Örneğin: ::" -#: library/stdtypes.rst:2060 +#: library/stdtypes.rst:2061 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, " @@ -3253,7 +3259,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:2082 +#: library/stdtypes.rst:2083 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 " @@ -3263,7 +3269,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:2086 +#: library/stdtypes.rst:2087 msgid "" "This method splits on the following line boundaries. In particular, the " "boundaries are a superset of :term:`universal newlines`." @@ -3271,107 +3277,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:2090 +#: library/stdtypes.rst:2091 msgid "Representation" msgstr "Temsil" -#: library/stdtypes.rst:2090 +#: library/stdtypes.rst:2091 msgid "Description" msgstr "Açıklama" -#: library/stdtypes.rst:2092 +#: library/stdtypes.rst:2093 msgid "``\\n``" msgstr "``\\n``" -#: library/stdtypes.rst:2092 +#: library/stdtypes.rst:2093 msgid "Line Feed" msgstr "Satır Atlama" -#: library/stdtypes.rst:2094 +#: library/stdtypes.rst:2095 msgid "``\\r``" msgstr "``\\r``" -#: library/stdtypes.rst:2094 +#: library/stdtypes.rst:2095 msgid "Carriage Return" msgstr "Satır Başına Alma" -#: library/stdtypes.rst:2096 +#: library/stdtypes.rst:2097 msgid "``\\r\\n``" msgstr "``\\r\\n``" -#: library/stdtypes.rst:2096 +#: library/stdtypes.rst:2097 msgid "Carriage Return + Line Feed" msgstr "Satır Başına Alma + Satır Atlama" -#: library/stdtypes.rst:2098 +#: library/stdtypes.rst:2099 msgid "``\\v`` or ``\\x0b``" msgstr "``\\v`` or ``\\x0b``" -#: library/stdtypes.rst:2098 +#: library/stdtypes.rst:2099 msgid "Line Tabulation" msgstr "Satır Tablolama" -#: library/stdtypes.rst:2100 +#: library/stdtypes.rst:2101 msgid "``\\f`` or ``\\x0c``" msgstr "``\\f`` or ``\\x0c``" -#: library/stdtypes.rst:2100 +#: library/stdtypes.rst:2101 msgid "Form Feed" msgstr "Form Besleme" -#: library/stdtypes.rst:2102 +#: library/stdtypes.rst:2103 msgid "``\\x1c``" msgstr "``\\x1c``" -#: library/stdtypes.rst:2102 +#: library/stdtypes.rst:2103 msgid "File Separator" msgstr "Dosya Ayırıcı" -#: library/stdtypes.rst:2104 +#: library/stdtypes.rst:2105 msgid "``\\x1d``" msgstr "``\\x1d``" -#: library/stdtypes.rst:2104 +#: library/stdtypes.rst:2105 msgid "Group Separator" msgstr "Grup Ayırıcı" -#: library/stdtypes.rst:2106 +#: library/stdtypes.rst:2107 msgid "``\\x1e``" msgstr "``\\x1e``" -#: library/stdtypes.rst:2106 +#: library/stdtypes.rst:2107 msgid "Record Separator" msgstr "Kayıt Ayırıcı" -#: library/stdtypes.rst:2108 +#: library/stdtypes.rst:2109 msgid "``\\x85``" msgstr "``\\x85``" -#: library/stdtypes.rst:2108 +#: library/stdtypes.rst:2109 msgid "Next Line (C1 Control Code)" msgstr "Yeni Satır (C1 Denetim Kodu)" -#: library/stdtypes.rst:2110 +#: library/stdtypes.rst:2111 msgid "``\\u2028``" msgstr "``\\u2028``" -#: library/stdtypes.rst:2110 +#: library/stdtypes.rst:2111 msgid "Line Separator" msgstr "Satır Ayrıcı" -#: library/stdtypes.rst:2112 +#: library/stdtypes.rst:2113 msgid "``\\u2029``" msgstr "``\\u2029``" -#: library/stdtypes.rst:2112 +#: library/stdtypes.rst:2113 msgid "Paragraph Separator" msgstr "Paragraf Ayırıcı" -#: library/stdtypes.rst:2117 +#: library/stdtypes.rst:2118 msgid "``\\v`` and ``\\f`` added to list of line boundaries." msgstr "``\\v`` ve ``\\f`` satır sınırlarına eklenir." -#: library/stdtypes.rst:2126 +#: library/stdtypes.rst:2127 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 " @@ -3381,11 +3387,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:2135 +#: library/stdtypes.rst:2136 msgid "For comparison, ``split('\\n')`` gives::" msgstr "Kıyaslayacak olursak ``split(‘\\n’)`` şu değeri verir::" -#: library/stdtypes.rst:2145 +#: library/stdtypes.rst:2146 msgid "" "Return ``True`` if string starts with the *prefix*, otherwise return " "``False``. *prefix* can also be a tuple of prefixes to look for. With " @@ -3397,7 +3403,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:2153 +#: library/stdtypes.rst:2154 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 " @@ -3412,7 +3418,7 @@ msgstr "" "veya son ek değildir; bunun yerine, değerlerinin tüm kombinasyonları " "çıkarılır::" -#: library/stdtypes.rst:2164 +#: library/stdtypes.rst:2165 msgid "" "The outermost leading and trailing *chars* argument values are stripped from " "the string. Characters are removed from the leading end until reaching a " @@ -3424,7 +3430,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:2177 +#: library/stdtypes.rst:2178 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()." @@ -3434,7 +3440,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:2184 +#: library/stdtypes.rst:2185 msgid "" "Return a titlecased version of the string where words start with an " "uppercase character and the remaining characters are lowercase." @@ -3442,7 +3448,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:3410 +#: library/stdtypes.rst:3411 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 " @@ -3454,13 +3460,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:2200 +#: library/stdtypes.rst:2201 msgid "" "The :func:`string.capwords` function does not have this problem, as it " "splits words on spaces only." msgstr "" -#: library/stdtypes.rst:2203 +#: library/stdtypes.rst:2204 #, fuzzy msgid "" "Alternatively, a workaround for apostrophes can be constructed using regular " @@ -3469,7 +3475,7 @@ msgstr "" "Alternatif olarak, kesme işaretleri için geçici bir çözüm düzenli ifadeler " "kullanılarak oluşturulabilir::" -#: library/stdtypes.rst:2218 +#: library/stdtypes.rst:2219 msgid "" "Return a copy of the string in which each character has been mapped through " "the given translation table. The table must be an object that implements " @@ -3490,19 +3496,19 @@ msgstr "" "veya karakteri kendisiyle eşlemek için bir :exc:`LookupError` istisnası " "oluşturmak." -#: library/stdtypes.rst:2227 +#: library/stdtypes.rst:2228 msgid "" "You can use :meth:`str.maketrans` to create a translation map from character-" "to-character mappings in different formats." msgstr "" -#: library/stdtypes.rst:2230 +#: library/stdtypes.rst:2231 msgid "" "See also the :mod:`codecs` module for a more flexible approach to custom " "character mappings." msgstr "" -#: library/stdtypes.rst:2236 +#: library/stdtypes.rst:2237 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`` " @@ -3511,14 +3517,14 @@ msgid "" "titlecase)." msgstr "" -#: library/stdtypes.rst:2242 +#: library/stdtypes.rst:2243 msgid "" "The uppercasing algorithm used is described in section 3.13 of the Unicode " "Standard." msgstr "" "Harf büyütme algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:2248 +#: library/stdtypes.rst:2249 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 " @@ -3526,11 +3532,11 @@ msgid "" "original string is returned if *width* is less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2266 +#: library/stdtypes.rst:2267 msgid "``printf``-style String Formatting" msgstr "" -#: library/stdtypes.rst:2279 +#: library/stdtypes.rst:2280 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 " @@ -3541,7 +3547,7 @@ msgid "" "or extensibility." msgstr "" -#: library/stdtypes.rst:2287 +#: library/stdtypes.rst:2288 msgid "" "String objects have one unique built-in operation: the ``%`` operator " "(modulo). This is also known as the string *formatting* or *interpolation* " @@ -3551,7 +3557,7 @@ msgid "" "in the C language." msgstr "" -#: library/stdtypes.rst:2293 +#: library/stdtypes.rst:2294 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 " @@ -3559,36 +3565,36 @@ msgid "" "example, a dictionary)." msgstr "" -#: library/stdtypes.rst:3521 +#: library/stdtypes.rst:3522 msgid "" "A conversion specifier contains two or more characters and has the following " "components, which must occur in this order:" msgstr "" -#: library/stdtypes.rst:3524 +#: library/stdtypes.rst:3525 msgid "The ``'%'`` character, which marks the start of the specifier." msgstr "" -#: library/stdtypes.rst:3526 +#: library/stdtypes.rst:3527 msgid "" "Mapping key (optional), consisting of a parenthesised sequence of characters " "(for example, ``(somename)``)." msgstr "" -#: library/stdtypes.rst:3529 +#: library/stdtypes.rst:3530 msgid "" "Conversion flags (optional), which affect the result of some conversion " "types." msgstr "" -#: library/stdtypes.rst:3532 +#: library/stdtypes.rst:3533 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:3536 +#: library/stdtypes.rst:3537 msgid "" "Precision (optional), given as a ``'.'`` (dot) followed by the precision. " "If specified as ``'*'`` (an asterisk), the actual precision is read from the " @@ -3596,15 +3602,15 @@ msgid "" "the precision." msgstr "" -#: library/stdtypes.rst:3541 +#: library/stdtypes.rst:3542 msgid "Length modifier (optional)." msgstr "" -#: library/stdtypes.rst:3543 +#: library/stdtypes.rst:3544 msgid "Conversion type." msgstr "" -#: library/stdtypes.rst:2327 +#: library/stdtypes.rst:2328 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 " @@ -3612,277 +3618,277 @@ msgid "" "selects the value to be formatted from the mapping. For example:" msgstr "" -#: library/stdtypes.rst:3554 +#: library/stdtypes.rst:3555 msgid "" "In this case no ``*`` specifiers may occur in a format (since they require a " "sequential parameter list)." msgstr "" -#: library/stdtypes.rst:3557 +#: library/stdtypes.rst:3558 msgid "The conversion flag characters are:" msgstr "" -#: library/stdtypes.rst:3566 +#: library/stdtypes.rst:3567 msgid "Flag" msgstr "" -#: library/stdtypes.rst:3568 +#: library/stdtypes.rst:3569 msgid "``'#'``" msgstr "" -#: library/stdtypes.rst:3568 +#: library/stdtypes.rst:3569 msgid "" "The value conversion will use the \"alternate form\" (where defined below)." msgstr "" -#: library/stdtypes.rst:3571 +#: library/stdtypes.rst:3572 msgid "``'0'``" msgstr "" -#: library/stdtypes.rst:3571 +#: library/stdtypes.rst:3572 msgid "The conversion will be zero padded for numeric values." msgstr "" -#: library/stdtypes.rst:3573 +#: library/stdtypes.rst:3574 msgid "``'-'``" msgstr "" -#: library/stdtypes.rst:3573 +#: library/stdtypes.rst:3574 msgid "" "The converted value is left adjusted (overrides the ``'0'`` conversion if " "both are given)." msgstr "" -#: library/stdtypes.rst:3576 +#: library/stdtypes.rst:3577 msgid "``' '``" msgstr "" -#: library/stdtypes.rst:3576 +#: library/stdtypes.rst:3577 msgid "" "(a space) A blank should be left before a positive number (or empty string) " "produced by a signed conversion." msgstr "" -#: library/stdtypes.rst:3579 +#: library/stdtypes.rst:3580 msgid "``'+'``" msgstr "" -#: library/stdtypes.rst:3579 +#: library/stdtypes.rst:3580 msgid "" "A sign character (``'+'`` or ``'-'``) will precede the conversion (overrides " "a \"space\" flag)." msgstr "" -#: library/stdtypes.rst:3583 +#: library/stdtypes.rst:3584 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:3586 +#: library/stdtypes.rst:3587 msgid "The conversion types are:" msgstr "" -#: library/stdtypes.rst:3589 +#: library/stdtypes.rst:3590 msgid "Conversion" msgstr "" -#: library/stdtypes.rst:3591 +#: library/stdtypes.rst:3592 msgid "``'d'``" msgstr "" -#: library/stdtypes.rst:2375 library/stdtypes.rst:3593 +#: library/stdtypes.rst:2376 library/stdtypes.rst:3594 msgid "Signed integer decimal." msgstr "" -#: library/stdtypes.rst:3593 +#: library/stdtypes.rst:3594 msgid "``'i'``" msgstr "" -#: library/stdtypes.rst:3595 +#: library/stdtypes.rst:3596 msgid "``'o'``" msgstr "" -#: library/stdtypes.rst:3595 +#: library/stdtypes.rst:3596 msgid "Signed octal value." msgstr "" -#: library/stdtypes.rst:3597 +#: library/stdtypes.rst:3598 msgid "``'u'``" msgstr "" -#: library/stdtypes.rst:3597 +#: library/stdtypes.rst:3598 msgid "Obsolete type -- it is identical to ``'d'``." msgstr "" -#: library/stdtypes.rst:3599 +#: library/stdtypes.rst:3600 msgid "``'x'``" msgstr "" -#: library/stdtypes.rst:3599 +#: library/stdtypes.rst:3600 msgid "Signed hexadecimal (lowercase)." msgstr "" -#: library/stdtypes.rst:3601 +#: library/stdtypes.rst:3602 msgid "``'X'``" msgstr "" -#: library/stdtypes.rst:3601 +#: library/stdtypes.rst:3602 msgid "Signed hexadecimal (uppercase)." msgstr "" -#: library/stdtypes.rst:3603 +#: library/stdtypes.rst:3604 msgid "``'e'``" msgstr "" -#: library/stdtypes.rst:3603 +#: library/stdtypes.rst:3604 msgid "Floating point exponential format (lowercase)." msgstr "" -#: library/stdtypes.rst:3605 +#: library/stdtypes.rst:3606 msgid "``'E'``" msgstr "" -#: library/stdtypes.rst:3605 +#: library/stdtypes.rst:3606 msgid "Floating point exponential format (uppercase)." msgstr "" -#: library/stdtypes.rst:3607 +#: library/stdtypes.rst:3608 msgid "``'f'``" msgstr "" -#: library/stdtypes.rst:2391 library/stdtypes.rst:3609 +#: library/stdtypes.rst:2392 library/stdtypes.rst:3610 msgid "Floating point decimal format." msgstr "" -#: library/stdtypes.rst:3609 +#: library/stdtypes.rst:3610 msgid "``'F'``" msgstr "" -#: library/stdtypes.rst:3611 +#: library/stdtypes.rst:3612 msgid "``'g'``" msgstr "" -#: library/stdtypes.rst:3611 +#: library/stdtypes.rst:3612 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:3615 +#: library/stdtypes.rst:3616 msgid "``'G'``" msgstr "" -#: library/stdtypes.rst:3615 +#: library/stdtypes.rst:3616 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:3619 +#: library/stdtypes.rst:3620 msgid "``'c'``" msgstr "" -#: library/stdtypes.rst:2401 +#: library/stdtypes.rst:2402 msgid "Single character (accepts integer or single character string)." msgstr "" -#: library/stdtypes.rst:3632 +#: library/stdtypes.rst:3633 msgid "``'r'``" msgstr "" -#: library/stdtypes.rst:2404 +#: library/stdtypes.rst:2405 msgid "String (converts any Python object using :func:`repr`)." msgstr "" -#: library/stdtypes.rst:3626 +#: library/stdtypes.rst:3627 msgid "``'s'``" msgstr "" -#: library/stdtypes.rst:2407 +#: library/stdtypes.rst:2408 msgid "String (converts any Python object using :func:`str`)." msgstr "" -#: library/stdtypes.rst:3629 +#: library/stdtypes.rst:3630 msgid "``'a'``" msgstr "" -#: library/stdtypes.rst:2410 +#: library/stdtypes.rst:2411 msgid "String (converts any Python object using :func:`ascii`)." msgstr "" -#: library/stdtypes.rst:3635 +#: library/stdtypes.rst:3636 msgid "``'%'``" msgstr "" -#: library/stdtypes.rst:3635 +#: library/stdtypes.rst:3636 msgid "No argument is converted, results in a ``'%'`` character in the result." msgstr "" -#: library/stdtypes.rst:3642 +#: library/stdtypes.rst:3643 msgid "" "The alternate form causes a leading octal specifier (``'0o'``) to be " "inserted before the first digit." msgstr "" -#: library/stdtypes.rst:3646 +#: library/stdtypes.rst:3647 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:3650 +#: library/stdtypes.rst:3651 msgid "" "The alternate form causes the result to always contain a decimal point, even " "if no digits follow it." msgstr "" -#: library/stdtypes.rst:3653 +#: library/stdtypes.rst:3654 msgid "" "The precision determines the number of digits after the decimal point and " "defaults to 6." msgstr "" -#: library/stdtypes.rst:3657 +#: library/stdtypes.rst:3658 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:3660 +#: library/stdtypes.rst:3661 msgid "" "The precision determines the number of significant digits before and after " "the decimal point and defaults to 6." msgstr "" -#: library/stdtypes.rst:3664 +#: library/stdtypes.rst:3665 msgid "If precision is ``N``, the output is truncated to ``N`` characters." msgstr "" -#: library/stdtypes.rst:3673 +#: library/stdtypes.rst:3674 msgid "See :pep:`237`." msgstr "" -#: library/stdtypes.rst:2447 +#: library/stdtypes.rst:2448 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:2452 +#: library/stdtypes.rst:2453 msgid "" "``%f`` conversions for numbers whose absolute value is over 1e50 are no " "longer replaced by ``%g`` conversions." msgstr "" -#: library/stdtypes.rst:2463 +#: library/stdtypes.rst:2464 msgid "" "Binary Sequence Types --- :class:`bytes`, :class:`bytearray`, :class:" "`memoryview`" msgstr "" -#: library/stdtypes.rst:2471 +#: library/stdtypes.rst:2472 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 :" @@ -3890,17 +3896,17 @@ msgid "" "objects without needing to make a copy." msgstr "" -#: library/stdtypes.rst:2476 +#: library/stdtypes.rst:2477 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:2482 +#: library/stdtypes.rst:2483 msgid "Bytes Objects" msgstr "" -#: library/stdtypes.rst:2486 +#: library/stdtypes.rst:2487 msgid "" "Bytes objects are immutable sequences of single bytes. Since many major " "binary protocols are based on the ASCII text encoding, bytes objects offer " @@ -3908,41 +3914,41 @@ msgid "" "and are closely related to string objects in a variety of other ways." msgstr "" -#: library/stdtypes.rst:2493 +#: library/stdtypes.rst:2494 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:2496 +#: library/stdtypes.rst:2497 msgid "Single quotes: ``b'still allows embedded \"double\" quotes'``" msgstr "" -#: library/stdtypes.rst:2497 +#: library/stdtypes.rst:2498 #, 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:2498 +#: library/stdtypes.rst:2499 msgid "" "Triple quoted: ``b'''3 single quotes'''``, ``b\"\"\"3 double quotes\"\"\"``" msgstr "" -#: library/stdtypes.rst:2500 +#: library/stdtypes.rst:2501 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:2504 +#: library/stdtypes.rst:2505 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:2508 +#: library/stdtypes.rst:2509 msgid "" "While bytes literals and representations are based on ASCII text, bytes " "objects actually behave like immutable sequences of integers, with each " @@ -3955,29 +3961,29 @@ msgid "" "compatible will usually lead to data corruption)." msgstr "" -#: library/stdtypes.rst:2518 +#: library/stdtypes.rst:2519 msgid "" "In addition to the literal forms, bytes objects can be created in a number " "of other ways:" msgstr "" -#: library/stdtypes.rst:2521 +#: library/stdtypes.rst:2522 msgid "A zero-filled bytes object of a specified length: ``bytes(10)``" msgstr "" -#: library/stdtypes.rst:2522 +#: library/stdtypes.rst:2523 msgid "From an iterable of integers: ``bytes(range(20))``" msgstr "" -#: library/stdtypes.rst:2523 +#: library/stdtypes.rst:2524 msgid "Copying existing binary data via the buffer protocol: ``bytes(obj)``" msgstr "" -#: library/stdtypes.rst:2525 +#: library/stdtypes.rst:2526 msgid "Also see the :ref:`bytes ` built-in." msgstr "" -#: library/stdtypes.rst:2527 +#: library/stdtypes.rst:2528 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -3985,32 +3991,32 @@ msgid "" "that format:" msgstr "" -#: library/stdtypes.rst:2533 +#: library/stdtypes.rst:2534 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:2540 +#: library/stdtypes.rst:2541 msgid "" ":meth:`bytes.fromhex` now skips all ASCII whitespace in the string, not just " "spaces." msgstr "" -#: library/stdtypes.rst:2544 +#: library/stdtypes.rst:2545 msgid "" "A reverse conversion function exists to transform a bytes object into its " "hexadecimal representation." msgstr "" -#: library/stdtypes.rst:2634 +#: library/stdtypes.rst:2635 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the instance." msgstr "" -#: library/stdtypes.rst:2555 +#: library/stdtypes.rst:2556 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, " @@ -4019,13 +4025,13 @@ msgid "" "the separator position from the right, negative values from the left." msgstr "" -#: library/stdtypes.rst:2572 +#: library/stdtypes.rst:2573 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:2576 +#: library/stdtypes.rst:2577 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 " @@ -4033,58 +4039,58 @@ msgid "" "and slicing will produce a string of length 1)" msgstr "" -#: library/stdtypes.rst:2581 +#: library/stdtypes.rst:2582 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:2589 +#: library/stdtypes.rst:2590 msgid "Bytearray Objects" msgstr "" -#: library/stdtypes.rst:2593 +#: library/stdtypes.rst:2594 msgid "" ":class:`bytearray` objects are a mutable counterpart to :class:`bytes` " "objects." msgstr "" -#: library/stdtypes.rst:2598 +#: library/stdtypes.rst:2599 msgid "" "There is no dedicated literal syntax for bytearray objects, instead they are " "always created by calling the constructor:" msgstr "" -#: library/stdtypes.rst:2601 +#: library/stdtypes.rst:2602 msgid "Creating an empty instance: ``bytearray()``" msgstr "" -#: library/stdtypes.rst:2602 +#: library/stdtypes.rst:2603 msgid "Creating a zero-filled instance with a given length: ``bytearray(10)``" msgstr "" -#: library/stdtypes.rst:2603 +#: library/stdtypes.rst:2604 msgid "From an iterable of integers: ``bytearray(range(20))``" msgstr "" -#: library/stdtypes.rst:2604 +#: library/stdtypes.rst:2605 msgid "" "Copying existing binary data via the buffer protocol: ``bytearray(b'Hi!')``" msgstr "" -#: library/stdtypes.rst:2606 +#: library/stdtypes.rst:2607 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:2610 +#: library/stdtypes.rst:2611 msgid "Also see the :ref:`bytearray ` built-in." msgstr "" -#: library/stdtypes.rst:2612 +#: library/stdtypes.rst:2613 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4092,33 +4098,33 @@ msgid "" "in that format:" msgstr "" -#: library/stdtypes.rst:2618 +#: library/stdtypes.rst:2619 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:2625 +#: library/stdtypes.rst:2626 msgid "" ":meth:`bytearray.fromhex` now skips all ASCII whitespace in the string, not " "just spaces." msgstr "" -#: library/stdtypes.rst:2629 +#: library/stdtypes.rst:2630 msgid "" "A reverse conversion function exists to transform a bytearray object into " "its hexadecimal representation." msgstr "" -#: library/stdtypes.rst:2642 +#: library/stdtypes.rst:2643 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:2647 +#: library/stdtypes.rst:2648 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 " @@ -4126,7 +4132,7 @@ msgid "" "both indexing and slicing will produce a string of length 1)" msgstr "" -#: library/stdtypes.rst:2652 +#: library/stdtypes.rst:2653 msgid "" "The representation of bytearray objects uses the bytes literal format " "(``bytearray(b'...')``) since it is often more useful than e.g. " @@ -4134,11 +4140,11 @@ msgid "" "a list of integers using ``list(b)``." msgstr "" -#: library/stdtypes.rst:2661 +#: library/stdtypes.rst:2662 msgid "Bytes and Bytearray Operations" msgstr "" -#: library/stdtypes.rst:2666 +#: library/stdtypes.rst:2667 msgid "" "Both bytes and bytearray objects support the :ref:`common ` " "sequence operations. They interoperate not just with operands of the same " @@ -4147,98 +4153,98 @@ msgid "" "return type of the result may depend on the order of operands." msgstr "" -#: library/stdtypes.rst:2674 +#: library/stdtypes.rst:2675 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:2681 +#: library/stdtypes.rst:2682 msgid "and::" msgstr "" -#: library/stdtypes.rst:2686 +#: library/stdtypes.rst:2687 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:2691 +#: library/stdtypes.rst:2692 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:2694 +#: library/stdtypes.rst:2695 msgid "" "The following methods on bytes and bytearray objects can be used with " "arbitrary binary data." msgstr "" -#: library/stdtypes.rst:2700 +#: library/stdtypes.rst:2701 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:2809 library/stdtypes.rst:2897 -#: library/stdtypes.rst:2910 +#: library/stdtypes.rst:2810 library/stdtypes.rst:2898 +#: library/stdtypes.rst:2911 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:2707 +#: library/stdtypes.rst:2708 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:2821 library/stdtypes.rst:2900 -#: library/stdtypes.rst:2913 +#: library/stdtypes.rst:2822 library/stdtypes.rst:2901 +#: library/stdtypes.rst:2914 msgid "Also accept an integer in the range 0 to 255 as the subsequence." msgstr "" -#: library/stdtypes.rst:2717 +#: library/stdtypes.rst:2718 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:2726 +#: library/stdtypes.rst:2727 msgid "The *prefix* may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2752 library/stdtypes.rst:2978 -#: library/stdtypes.rst:3023 library/stdtypes.rst:3079 -#: library/stdtypes.rst:3167 library/stdtypes.rst:3334 -#: library/stdtypes.rst:3432 library/stdtypes.rst:3475 -#: library/stdtypes.rst:3677 +#: library/stdtypes.rst:2753 library/stdtypes.rst:2979 +#: library/stdtypes.rst:3024 library/stdtypes.rst:3080 +#: library/stdtypes.rst:3168 library/stdtypes.rst:3335 +#: library/stdtypes.rst:3433 library/stdtypes.rst:3476 +#: library/stdtypes.rst:3678 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:2739 +#: library/stdtypes.rst:2740 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:2748 +#: library/stdtypes.rst:2749 msgid "The *suffix* may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2761 +#: library/stdtypes.rst:2762 msgid "Return the bytes decoded to a :class:`str`." msgstr "" -#: library/stdtypes.rst:2766 +#: library/stdtypes.rst:2767 msgid "" "*errors* controls how decoding errors are handled. If ``'strict'`` (the " "default), a :exc:`UnicodeError` exception is raised. Other possible values " @@ -4246,21 +4252,21 @@ msgid "" "`codecs.register_error`. See :ref:`error-handlers` for details." msgstr "" -#: library/stdtypes.rst:2772 +#: library/stdtypes.rst:2773 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:2778 +#: library/stdtypes.rst:2779 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:2793 +#: library/stdtypes.rst:2794 msgid "" "Return ``True`` if the binary data ends with the specified *suffix*, " "otherwise return ``False``. *suffix* can also be a tuple of suffixes to " @@ -4268,11 +4274,11 @@ msgid "" "optional *end*, stop comparing at that position." msgstr "" -#: library/stdtypes.rst:2798 +#: library/stdtypes.rst:2799 msgid "The suffix(es) to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2804 +#: library/stdtypes.rst:2805 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 " @@ -4280,20 +4286,20 @@ msgid "" "``-1`` if *sub* is not found." msgstr "" -#: library/stdtypes.rst:2814 +#: library/stdtypes.rst:2815 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:2828 +#: library/stdtypes.rst:2829 msgid "" "Like :meth:`~bytes.find`, but raise :exc:`ValueError` when the subsequence " "is not found." msgstr "" -#: library/stdtypes.rst:2841 +#: library/stdtypes.rst:2842 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 " @@ -4303,7 +4309,7 @@ msgid "" "method." msgstr "" -#: library/stdtypes.rst:2852 +#: library/stdtypes.rst:2853 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 " @@ -4311,7 +4317,7 @@ msgid "" "objects ` and have the same length." msgstr "" -#: library/stdtypes.rst:2863 +#: library/stdtypes.rst:2864 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 " @@ -4320,24 +4326,24 @@ msgid "" "by two empty bytes or bytearray objects." msgstr "" -#: library/stdtypes.rst:2927 +#: library/stdtypes.rst:2928 msgid "The separator to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2876 +#: library/stdtypes.rst:2877 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:2880 +#: library/stdtypes.rst:2881 msgid "" "The subsequence to search for and its replacement may be any :term:`bytes-" "like object`." msgstr "" -#: library/stdtypes.rst:2892 +#: library/stdtypes.rst:2893 msgid "" "Return the highest index in the sequence where the subsequence *sub* is " "found, such that *sub* is contained within ``s[start:end]``. Optional " @@ -4345,13 +4351,13 @@ msgid "" "``-1`` on failure." msgstr "" -#: library/stdtypes.rst:2907 +#: library/stdtypes.rst:2908 msgid "" "Like :meth:`~bytes.rfind` but raises :exc:`ValueError` when the subsequence " "*sub* is not found." msgstr "" -#: library/stdtypes.rst:2920 +#: library/stdtypes.rst:2921 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 " @@ -4360,7 +4366,7 @@ msgid "" "followed by a copy of the original sequence." msgstr "" -#: library/stdtypes.rst:2933 +#: library/stdtypes.rst:2934 msgid "" "Return ``True`` if the binary data starts with the specified *prefix*, " "otherwise return ``False``. *prefix* can also be a tuple of prefixes to " @@ -4368,11 +4374,11 @@ msgid "" "optional *end*, stop comparing at that position." msgstr "" -#: library/stdtypes.rst:2938 +#: library/stdtypes.rst:2939 msgid "The prefix(es) to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2944 +#: library/stdtypes.rst:2945 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 " @@ -4380,22 +4386,22 @@ msgid "" "object of length 256." msgstr "" -#: library/stdtypes.rst:2949 +#: library/stdtypes.rst:2950 msgid "" "You can use the :func:`bytes.maketrans` method to create a translation table." msgstr "" -#: library/stdtypes.rst:2952 +#: library/stdtypes.rst:2953 msgid "" "Set the *table* argument to ``None`` for translations that only delete " "characters::" msgstr "" -#: library/stdtypes.rst:2958 +#: library/stdtypes.rst:2959 msgid "*delete* is now supported as a keyword argument." msgstr "" -#: library/stdtypes.rst:2962 +#: library/stdtypes.rst:2963 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 " @@ -4404,7 +4410,7 @@ msgid "" "instead produce new objects." msgstr "" -#: library/stdtypes.rst:2971 +#: library/stdtypes.rst:2972 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). " @@ -4412,7 +4418,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2985 +#: library/stdtypes.rst:2986 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). " @@ -4420,7 +4426,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2999 +#: library/stdtypes.rst:3000 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 " @@ -4430,14 +4436,14 @@ msgid "" "all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3011 +#: library/stdtypes.rst:3012 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:3030 +#: library/stdtypes.rst:3031 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). " @@ -4445,7 +4451,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:3044 +#: library/stdtypes.rst:3045 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 " @@ -4455,7 +4461,7 @@ msgid "" "described in detail below." msgstr "" -#: library/stdtypes.rst:3055 +#: library/stdtypes.rst:3056 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 " @@ -4465,14 +4471,14 @@ msgid "" "all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3067 +#: library/stdtypes.rst:3068 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:3086 +#: library/stdtypes.rst:3087 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 " @@ -4481,7 +4487,7 @@ msgid "" "limit on the number of splits (all possible splits are made)." msgstr "" -#: library/stdtypes.rst:3092 +#: library/stdtypes.rst:3093 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',')`` " @@ -4492,7 +4498,7 @@ msgid "" "object being split. The *sep* argument may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:3110 +#: library/stdtypes.rst:3111 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 " @@ -4502,7 +4508,7 @@ msgid "" "without a specified separator returns ``[]``." msgstr "" -#: library/stdtypes.rst:3131 +#: library/stdtypes.rst:3132 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 " @@ -4512,13 +4518,13 @@ msgid "" "a prefix or suffix; rather, all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3144 +#: library/stdtypes.rst:3145 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`." msgstr "" -#: library/stdtypes.rst:3153 +#: library/stdtypes.rst:3154 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 " @@ -4526,14 +4532,14 @@ msgid "" "operate in place, and instead produce new objects." msgstr "" -#: library/stdtypes.rst:3161 +#: library/stdtypes.rst:3162 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:3174 +#: library/stdtypes.rst:3175 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 " @@ -4549,7 +4555,7 @@ msgid "" "by one regardless of how the byte value is represented when printed::" msgstr "" -#: library/stdtypes.rst:3202 +#: library/stdtypes.rst:3203 msgid "" "Return ``True`` if all bytes in the sequence are alphabetical ASCII " "characters or ASCII decimal digits and the sequence is not empty, ``False`` " @@ -4558,7 +4564,7 @@ msgid "" "digits are those byte values in the sequence ``b'0123456789'``." msgstr "" -#: library/stdtypes.rst:3219 +#: library/stdtypes.rst:3220 msgid "" "Return ``True`` if all bytes in the sequence are alphabetic ASCII characters " "and the sequence is not empty, ``False`` otherwise. Alphabetic ASCII " @@ -4566,34 +4572,34 @@ msgid "" "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``." msgstr "" -#: library/stdtypes.rst:3235 +#: library/stdtypes.rst:3236 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:3245 +#: library/stdtypes.rst:3246 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:3260 +#: library/stdtypes.rst:3261 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:3312 library/stdtypes.rst:3378 -#: library/stdtypes.rst:3447 +#: library/stdtypes.rst:3313 library/stdtypes.rst:3379 +#: library/stdtypes.rst:3448 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:3278 +#: library/stdtypes.rst:3279 msgid "" "Return ``True`` if all bytes in the sequence are ASCII whitespace and the " "sequence is not empty, ``False`` otherwise. ASCII whitespace characters are " @@ -4601,27 +4607,27 @@ msgid "" "newline, carriage return, vertical tab, form feed)." msgstr "" -#: library/stdtypes.rst:3287 +#: library/stdtypes.rst:3288 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:3302 +#: library/stdtypes.rst:3303 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:3320 +#: library/stdtypes.rst:3321 msgid "" "Return a copy of the sequence with all the uppercase ASCII characters " "converted to their corresponding lowercase counterpart." msgstr "" -#: library/stdtypes.rst:3345 +#: library/stdtypes.rst:3346 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 " @@ -4629,20 +4635,20 @@ msgid "" "*keepends* is given and true." msgstr "" -#: library/stdtypes.rst:3357 +#: library/stdtypes.rst:3358 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:3370 +#: library/stdtypes.rst:3371 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:3382 +#: library/stdtypes.rst:3383 msgid "" "Unlike :func:`str.swapcase()`, it is always the case that ``bin.swapcase()." "swapcase() == bin`` for the binary versions. Case conversions are " @@ -4650,14 +4656,14 @@ msgid "" "Unicode code points." msgstr "" -#: library/stdtypes.rst:3396 +#: library/stdtypes.rst:3397 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:3405 +#: library/stdtypes.rst:3406 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -4665,20 +4671,20 @@ msgid "" "values are uncased." msgstr "" -#: library/stdtypes.rst:3418 +#: library/stdtypes.rst:3419 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:3439 +#: library/stdtypes.rst:3440 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart." msgstr "" -#: library/stdtypes.rst:3460 +#: library/stdtypes.rst:3461 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 " @@ -4687,11 +4693,11 @@ msgid "" "*width* is less than or equal to ``len(seq)``." msgstr "" -#: library/stdtypes.rst:3482 +#: library/stdtypes.rst:3483 msgid "``printf``-style Bytes Formatting" msgstr "" -#: library/stdtypes.rst:3499 +#: library/stdtypes.rst:3500 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 " @@ -4699,7 +4705,7 @@ msgid "" "dictionary, wrap it in a tuple." msgstr "" -#: library/stdtypes.rst:3504 +#: library/stdtypes.rst:3505 msgid "" "Bytes objects (``bytes``/``bytearray``) have one unique built-in operation: " "the ``%`` operator (modulo). This is also known as the bytes *formatting* or " @@ -4709,7 +4715,7 @@ msgid "" "func:`sprintf` in the C language." msgstr "" -#: library/stdtypes.rst:3511 +#: library/stdtypes.rst:3512 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 " @@ -4717,7 +4723,7 @@ msgid "" "example, a dictionary)." msgstr "" -#: library/stdtypes.rst:3545 +#: library/stdtypes.rst:3546 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 " @@ -4725,73 +4731,73 @@ msgid "" "mapping key selects the value to be formatted from the mapping. For example:" msgstr "" -#: library/stdtypes.rst:3619 +#: library/stdtypes.rst:3620 msgid "Single byte (accepts integer or single byte objects)." msgstr "" -#: library/stdtypes.rst:3622 +#: library/stdtypes.rst:3623 msgid "``'b'``" msgstr "" -#: library/stdtypes.rst:3622 +#: library/stdtypes.rst:3623 msgid "" "Bytes (any object that follows the :ref:`buffer protocol ` or " "has :meth:`__bytes__`)." msgstr "" -#: library/stdtypes.rst:3626 +#: library/stdtypes.rst:3627 msgid "" "``'s'`` is an alias for ``'b'`` and should only be used for Python2/3 code " "bases." msgstr "" -#: library/stdtypes.rst:3629 +#: library/stdtypes.rst:3630 msgid "" "Bytes (converts any Python object using ``repr(obj).encode('ascii', " "'backslashreplace')``)." msgstr "" -#: library/stdtypes.rst:3632 +#: library/stdtypes.rst:3633 msgid "" "``'r'`` is an alias for ``'a'`` and should only be used for Python2/3 code " "bases." msgstr "" -#: library/stdtypes.rst:3632 +#: library/stdtypes.rst:3633 msgid "\\(7)" msgstr "" -#: library/stdtypes.rst:3667 +#: library/stdtypes.rst:3668 msgid "``b'%s'`` is deprecated, but will not be removed during the 3.x series." msgstr "" -#: library/stdtypes.rst:3670 +#: library/stdtypes.rst:3671 msgid "``b'%r'`` is deprecated, but will not be removed during the 3.x series." msgstr "" -#: library/stdtypes.rst:3682 +#: library/stdtypes.rst:3683 msgid ":pep:`461` - Adding % formatting to bytes and bytearray" msgstr "" -#: library/stdtypes.rst:3689 +#: library/stdtypes.rst:3690 msgid "Memory Views" msgstr "" -#: library/stdtypes.rst:3691 +#: library/stdtypes.rst:3692 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:3697 +#: library/stdtypes.rst:3698 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:3701 +#: library/stdtypes.rst:3702 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 " @@ -4799,7 +4805,7 @@ msgid "" "other types such as :class:`array.array` may have bigger elements." msgstr "" -#: library/stdtypes.rst:3706 +#: library/stdtypes.rst:3707 msgid "" "``len(view)`` is equal to the length of :class:`~memoryview.tolist`. If " "``view.ndim = 0``, the length is 1. If ``view.ndim = 1``, the length is " @@ -4809,13 +4815,13 @@ msgid "" "bytes in a single element." msgstr "" -#: library/stdtypes.rst:3713 +#: library/stdtypes.rst:3714 msgid "" "A :class:`memoryview` supports slicing and indexing to expose its data. One-" "dimensional slicing will result in a subview::" msgstr "" -#: library/stdtypes.rst:3726 +#: library/stdtypes.rst:3727 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 " @@ -4826,82 +4832,82 @@ msgid "" "memoryviews can be indexed with the empty tuple." msgstr "" -#: library/stdtypes.rst:3735 +#: library/stdtypes.rst:3736 msgid "Here is an example with a non-byte format::" msgstr "" -#: library/stdtypes.rst:3747 +#: library/stdtypes.rst:3748 msgid "" "If the underlying object is writable, the memoryview supports one-" "dimensional slice assignment. Resizing is not allowed::" msgstr "" -#: library/stdtypes.rst:3768 +#: library/stdtypes.rst:3769 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:3780 +#: library/stdtypes.rst:3781 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:3784 +#: library/stdtypes.rst:3785 msgid "" "memoryview is now registered automatically with :class:`collections.abc." "Sequence`" msgstr "" -#: library/stdtypes.rst:3788 +#: library/stdtypes.rst:3789 msgid "memoryviews can now be indexed with tuple of integers." msgstr "" -#: library/stdtypes.rst:3791 +#: library/stdtypes.rst:3792 msgid ":class:`memoryview` has several methods:" msgstr "" -#: library/stdtypes.rst:3795 +#: library/stdtypes.rst:3796 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:3799 +#: library/stdtypes.rst:3800 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:3818 +#: library/stdtypes.rst:3819 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:3834 +#: library/stdtypes.rst:3835 msgid "" "Note that, as with floating point numbers, ``v is w`` does *not* imply ``v " "== w`` for memoryview objects." msgstr "" -#: library/stdtypes.rst:3837 +#: library/stdtypes.rst:3838 msgid "" "Previous versions compared the raw memory disregarding the item format and " "the logical array structure." msgstr "" -#: library/stdtypes.rst:3843 +#: library/stdtypes.rst:3844 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:3852 +#: library/stdtypes.rst:3853 msgid "" "For non-contiguous arrays the result is equal to the flattened list " "representation with all elements converted to bytes. :meth:`tobytes` " @@ -4909,7 +4915,7 @@ msgid "" "module syntax." msgstr "" -#: library/stdtypes.rst:3857 +#: library/stdtypes.rst:3858 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' " @@ -4918,36 +4924,36 @@ msgid "" "to C first. *order=None* is the same as *order='C'*." msgstr "" -#: library/stdtypes.rst:3866 +#: library/stdtypes.rst:3867 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the buffer. ::" msgstr "" -#: library/stdtypes.rst:3875 +#: library/stdtypes.rst:3876 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:3882 +#: library/stdtypes.rst:3883 msgid "Return the data in the buffer as a list of elements. ::" msgstr "" -#: library/stdtypes.rst:3892 +#: library/stdtypes.rst:3893 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:3899 +#: library/stdtypes.rst:3900 msgid "" "Return a readonly version of the memoryview object. The original memoryview " "object is unchanged. ::" msgstr "" -#: library/stdtypes.rst:3918 +#: library/stdtypes.rst:3919 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 :" @@ -4956,20 +4962,20 @@ msgid "" "resources) as soon as possible." msgstr "" -#: library/stdtypes.rst:3924 +#: library/stdtypes.rst:3925 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:3935 +#: library/stdtypes.rst:3936 msgid "" "The context management protocol can be used for a similar effect, using the " "``with`` statement::" msgstr "" -#: library/stdtypes.rst:3951 +#: library/stdtypes.rst:3952 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 " @@ -4978,57 +4984,57 @@ msgid "" "contiguous -> 1D." msgstr "" -#: library/stdtypes.rst:3957 +#: library/stdtypes.rst:3958 msgid "" "The destination format is restricted to a single element native format in :" "mod:`struct` syntax. One of the formats must be a byte format ('B', 'b' or " "'c'). The byte length of the result must be the same as the original length." msgstr "" -#: library/stdtypes.rst:3962 +#: library/stdtypes.rst:3963 msgid "Cast 1D/long to 1D/unsigned bytes::" msgstr "" -#: library/stdtypes.rst:3985 +#: library/stdtypes.rst:3986 msgid "Cast 1D/unsigned bytes to 1D/char::" msgstr "" -#: library/stdtypes.rst:3998 +#: library/stdtypes.rst:3999 msgid "Cast 1D/bytes to 3D/ints to 1D/signed char::" msgstr "" -#: library/stdtypes.rst:4024 +#: library/stdtypes.rst:4025 msgid "Cast 1D/unsigned long to 2D/unsigned long::" msgstr "" -#: library/stdtypes.rst:4038 +#: library/stdtypes.rst:4039 msgid "The source format is no longer restricted when casting to a byte view." msgstr "" -#: library/stdtypes.rst:4041 +#: library/stdtypes.rst:4042 msgid "There are also several readonly attributes available:" msgstr "" -#: library/stdtypes.rst:4045 +#: library/stdtypes.rst:4046 msgid "The underlying object of the memoryview::" msgstr "" -#: library/stdtypes.rst:4056 +#: library/stdtypes.rst:4057 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:4075 +#: library/stdtypes.rst:4076 msgid "Multi-dimensional arrays::" msgstr "" -#: library/stdtypes.rst:4092 +#: library/stdtypes.rst:4093 msgid "A bool indicating whether the memory is read only." msgstr "" -#: library/stdtypes.rst:4096 +#: library/stdtypes.rst:4097 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 " @@ -5036,59 +5042,59 @@ msgid "" "restricted to native single element formats." msgstr "" -#: library/stdtypes.rst:4101 +#: library/stdtypes.rst:4102 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:4107 +#: library/stdtypes.rst:4108 msgid "The size in bytes of each element of the memoryview::" msgstr "" -#: library/stdtypes.rst:4120 +#: library/stdtypes.rst:4121 msgid "" "An integer indicating how many dimensions of a multi-dimensional array the " "memory represents." msgstr "" -#: library/stdtypes.rst:4125 +#: library/stdtypes.rst:4126 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:4136 +#: library/stdtypes.rst:4137 msgid "An empty tuple instead of ``None`` when ndim = 0." msgstr "" -#: library/stdtypes.rst:4133 +#: library/stdtypes.rst:4134 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:4141 +#: library/stdtypes.rst:4142 msgid "Used internally for PIL-style arrays. The value is informational only." msgstr "" -#: library/stdtypes.rst:4145 +#: library/stdtypes.rst:4146 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:4151 +#: library/stdtypes.rst:4152 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:4157 +#: library/stdtypes.rst:4158 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:4165 +#: library/stdtypes.rst:4166 msgid "Set Types --- :class:`set`, :class:`frozenset`" msgstr "Set Türleri --- :class:`set`, :class:`frozenset`" -#: library/stdtypes.rst:4169 +#: library/stdtypes.rst:4170 msgid "" "A :dfn:`set` object is an unordered collection of distinct :term:`hashable` " "objects. Common uses include membership testing, removing duplicates from a " @@ -5104,7 +5110,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:4176 +#: library/stdtypes.rst:4177 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 " @@ -5116,7 +5122,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:4181 +#: library/stdtypes.rst:4182 msgid "" "There are currently two built-in set types, :class:`set` and :class:" "`frozenset`. The :class:`set` type is mutable --- the contents can be " @@ -5135,7 +5141,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:4189 +#: library/stdtypes.rst:4190 msgid "" "Non-empty sets (not frozensets) can be created by placing a comma-separated " "list of elements within braces, for example: ``{'jack', 'sjoerd'}``, in " @@ -5145,11 +5151,11 @@ msgstr "" "parantez içine virgülle ayrılmış bir öğe listesi yerleştirilerek " "oluşturulabilir, örneğin: ``{'jack', 'sjoerd'}``." -#: library/stdtypes.rst:4193 +#: library/stdtypes.rst:4194 msgid "The constructors for both classes work the same:" msgstr "Her iki sınıfın kurucuları aynı şekilde çalışır:" -#: library/stdtypes.rst:4198 +#: library/stdtypes.rst:4199 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 " @@ -5161,24 +5167,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:4204 +#: library/stdtypes.rst:4205 msgid "Sets can be created by several means:" msgstr "Setler çeşitli yollarla oluşturulabilir:" -#: library/stdtypes.rst:4206 +#: library/stdtypes.rst:4207 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:4207 +#: library/stdtypes.rst:4208 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:4208 +#: library/stdtypes.rst:4209 msgid "" "Use the type constructor: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" @@ -5186,26 +5192,26 @@ msgstr "" "Tür kurucusunu kullanın: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" -#: library/stdtypes.rst:4210 +#: library/stdtypes.rst:4211 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:4215 +#: library/stdtypes.rst:4216 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:4219 +#: library/stdtypes.rst:4220 msgid "Test *x* for membership in *s*." msgstr "*x*'i *s* üyeliği için test edin." -#: library/stdtypes.rst:4223 +#: library/stdtypes.rst:4224 msgid "Test *x* for non-membership in *s*." msgstr "*x*'in *s*'ye üye olup olmadığını test edin." -#: library/stdtypes.rst:4227 +#: library/stdtypes.rst:4228 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." @@ -5213,11 +5219,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:4233 +#: library/stdtypes.rst:4234 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:4237 +#: library/stdtypes.rst:4238 msgid "" "Test whether the set is a proper subset of *other*, that is, ``set <= other " "and set != other``." @@ -5225,11 +5231,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:4243 +#: library/stdtypes.rst:4244 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:4247 +#: library/stdtypes.rst:4248 msgid "" "Test whether the set is a proper superset of *other*, that is, ``set >= " "other and set != other``." @@ -5237,33 +5243,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:4253 +#: library/stdtypes.rst:4254 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:4258 +#: library/stdtypes.rst:4259 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:4263 +#: library/stdtypes.rst:4264 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:4268 +#: library/stdtypes.rst:4269 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:4272 +#: library/stdtypes.rst:4273 msgid "Return a shallow copy of the set." msgstr "Kümenin yüzeysel bir kopyasını döndürür." -#: library/stdtypes.rst:4275 +#: library/stdtypes.rst:4276 msgid "" "Note, the non-operator versions of :meth:`union`, :meth:`intersection`, :" "meth:`difference`, :meth:`symmetric_difference`, :meth:`issubset`, and :meth:" @@ -5281,7 +5287,7 @@ msgstr "" "\n" "Translated with www.DeepL.com/Translator (free version)" -#: library/stdtypes.rst:4282 +#: library/stdtypes.rst:4283 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 " @@ -5300,7 +5306,7 @@ msgstr "" "\n" "Translated with www.DeepL.com/Translator (free version)" -#: library/stdtypes.rst:4289 +#: library/stdtypes.rst:4290 msgid "" "Instances of :class:`set` are compared to instances of :class:`frozenset` " "based on their members. For example, ``set('abc') == frozenset('abc')`` " @@ -5310,7 +5316,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:4293 +#: library/stdtypes.rst:4294 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 " @@ -5322,7 +5328,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:4298 +#: library/stdtypes.rst:4299 msgid "" "Since sets only define partial ordering (subset relationships), the output " "of the :meth:`list.sort` method is undefined for lists of sets." @@ -5330,11 +5336,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:4301 +#: library/stdtypes.rst:4302 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:4303 +#: library/stdtypes.rst:4304 msgid "" "Binary operations that mix :class:`set` instances with :class:`frozenset` " "return the type of the first operand. For example: ``frozenset('ab') | " @@ -5344,7 +5350,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:4307 +#: library/stdtypes.rst:4308 msgid "" "The following table lists operations available for :class:`set` that do not " "apply to immutable instances of :class:`frozenset`:" @@ -5352,31 +5358,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:4313 +#: library/stdtypes.rst:4314 msgid "Update the set, adding elements from all others." msgstr "Diğer tüm öğeleri ekleyerek seti güncelleyin." -#: library/stdtypes.rst:4318 +#: library/stdtypes.rst:4319 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:4323 +#: library/stdtypes.rst:4324 msgid "Update the set, removing elements found in others." msgstr "Diğerlerinde bulunan öğeleri kaldırarak kümeyi güncelleyin." -#: library/stdtypes.rst:4328 +#: library/stdtypes.rst:4329 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:4332 +#: library/stdtypes.rst:4333 msgid "Add element *elem* to the set." msgstr "Kümeye *elem* öğesini ekleyin." -#: library/stdtypes.rst:4336 +#: library/stdtypes.rst:4337 msgid "" "Remove element *elem* from the set. Raises :exc:`KeyError` if *elem* is not " "contained in the set." @@ -5384,11 +5390,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:4341 +#: library/stdtypes.rst:4342 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:4345 +#: library/stdtypes.rst:4346 msgid "" "Remove and return an arbitrary element from the set. Raises :exc:`KeyError` " "if the set is empty." @@ -5396,11 +5402,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:4350 +#: library/stdtypes.rst:4351 msgid "Remove all elements from the set." msgstr "Kümeden tüm öğeleri kaldırın." -#: library/stdtypes.rst:4353 +#: library/stdtypes.rst:4354 msgid "" "Note, the non-operator versions of the :meth:`update`, :meth:" "`intersection_update`, :meth:`difference_update`, and :meth:" @@ -5411,7 +5417,7 @@ msgstr "" "ve :meth:`symmetric_difference_update` metotlarının operatör olmayan " "versiyonları herhangi bir iterable'ı argüman olarak kabul edecektir." -#: library/stdtypes.rst:4358 +#: library/stdtypes.rst:4359 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 " @@ -5421,11 +5427,11 @@ msgstr "" "*elem* argümanı bir küme olabilir. Eş değer bir frozenset aramayı " "desteklemek için, *elem*'den geçici bir tane oluşturulur." -#: library/stdtypes.rst:4366 +#: library/stdtypes.rst:4367 msgid "Mapping Types --- :class:`dict`" msgstr "Mapping Types --- :class:`dict`" -#: library/stdtypes.rst:4376 +#: library/stdtypes.rst:4377 msgid "" "A :term:`mapping` object maps :term:`hashable` values to arbitrary objects. " "Mappings are mutable objects. There is currently only one standard mapping " @@ -5439,7 +5445,7 @@ msgstr "" "class:`list`, :class:`set` ve :class:`tuple` sınıflarına ve :mod:" "`collections` modülüne bakın)." -#: library/stdtypes.rst:4382 +#: library/stdtypes.rst:4383 msgid "" "A dictionary's keys are *almost* arbitrary values. Values that are not :" "term:`hashable`, that is, values containing lists, dictionaries or other " @@ -5454,7 +5460,7 @@ msgstr "" "``True`` gibi) aynı sözlük girdisini indekslemek için birbirinin yerine " "kullanılabilir." -#: library/stdtypes.rst:4393 +#: library/stdtypes.rst:4394 msgid "" "Return a new dictionary initialized from an optional positional argument and " "a possibly empty set of keyword arguments." @@ -5462,27 +5468,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:4396 +#: library/stdtypes.rst:4397 msgid "Dictionaries can be created by several means:" msgstr "Sözlükler çeşitli yollarla oluşturulabilir:" -#: library/stdtypes.rst:4398 +#: library/stdtypes.rst:4399 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:4400 +#: library/stdtypes.rst:4401 msgid "Use a dict comprehension: ``{}``, ``{x: x ** 2 for x in range(10)}``" msgstr "" -#: library/stdtypes.rst:4401 +#: library/stdtypes.rst:4402 msgid "" "Use the type constructor: ``dict()``, ``dict([('foo', 100), ('bar', " "200)])``, ``dict(foo=100, bar=200)``" msgstr "" -#: library/stdtypes.rst:4404 +#: library/stdtypes.rst:4405 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 " @@ -5494,7 +5500,7 @@ msgid "" "value for that key becomes the corresponding value in the new dictionary." msgstr "" -#: library/stdtypes.rst:4414 +#: library/stdtypes.rst:4415 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 " @@ -5502,39 +5508,39 @@ msgid "" "the value from the positional argument." msgstr "" -#: library/stdtypes.rst:4419 +#: library/stdtypes.rst:4420 msgid "" "To illustrate, the following examples all return a dictionary equal to " "``{\"one\": 1, \"two\": 2, \"three\": 3}``::" msgstr "" -#: library/stdtypes.rst:4431 +#: library/stdtypes.rst:4432 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:4435 +#: library/stdtypes.rst:4436 msgid "" "These are the operations that dictionaries support (and therefore, custom " "mapping types should support too):" msgstr "" -#: library/stdtypes.rst:4440 +#: library/stdtypes.rst:4441 msgid "Return a list of all the keys used in the dictionary *d*." msgstr "" -#: library/stdtypes.rst:4444 +#: library/stdtypes.rst:4445 msgid "Return the number of items in the dictionary *d*." msgstr "" -#: library/stdtypes.rst:4448 +#: library/stdtypes.rst:4449 msgid "" "Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is " "not in the map." msgstr "" -#: library/stdtypes.rst:4453 +#: library/stdtypes.rst:4454 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 " @@ -5545,51 +5551,51 @@ msgid "" "an instance variable::" msgstr "" -#: library/stdtypes.rst:4471 +#: library/stdtypes.rst:4472 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:4477 +#: library/stdtypes.rst:4478 msgid "Set ``d[key]`` to *value*." msgstr "" -#: library/stdtypes.rst:4481 +#: library/stdtypes.rst:4482 msgid "" "Remove ``d[key]`` from *d*. Raises a :exc:`KeyError` if *key* is not in the " "map." msgstr "" -#: library/stdtypes.rst:4486 +#: library/stdtypes.rst:4487 msgid "Return ``True`` if *d* has a key *key*, else ``False``." msgstr "" -#: library/stdtypes.rst:4490 +#: library/stdtypes.rst:4491 msgid "Equivalent to ``not key in d``." msgstr "" -#: library/stdtypes.rst:4494 +#: library/stdtypes.rst:4495 msgid "" "Return an iterator over the keys of the dictionary. This is a shortcut for " "``iter(d.keys())``." msgstr "" -#: library/stdtypes.rst:4499 +#: library/stdtypes.rst:4500 msgid "Remove all items from the dictionary." msgstr "" -#: library/stdtypes.rst:4503 +#: library/stdtypes.rst:4504 msgid "Return a shallow copy of the dictionary." msgstr "" -#: library/stdtypes.rst:4507 +#: library/stdtypes.rst:4508 msgid "" "Create a new dictionary with keys from *iterable* and values set to *value*." msgstr "" -#: library/stdtypes.rst:4509 +#: library/stdtypes.rst:4510 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 " @@ -5598,70 +5604,70 @@ msgid "" "` instead." msgstr "" -#: library/stdtypes.rst:4517 +#: library/stdtypes.rst:4518 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:4523 +#: library/stdtypes.rst:4524 msgid "" "Return a new view of the dictionary's items (``(key, value)`` pairs). See " "the :ref:`documentation of view objects `." msgstr "" -#: library/stdtypes.rst:4528 +#: library/stdtypes.rst:4529 msgid "" "Return a new view of the dictionary's keys. See the :ref:`documentation of " "view objects `." msgstr "" -#: library/stdtypes.rst:4533 +#: library/stdtypes.rst:4534 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:4539 +#: library/stdtypes.rst:4540 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:4542 +#: library/stdtypes.rst:4543 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:4546 +#: library/stdtypes.rst:4547 msgid "" "LIFO order is now guaranteed. In prior versions, :meth:`popitem` would " "return an arbitrary key/value pair." msgstr "" -#: library/stdtypes.rst:4552 +#: library/stdtypes.rst:4553 msgid "" "Return a reverse iterator over the keys of the dictionary. This is a " "shortcut for ``reversed(d.keys())``." msgstr "" -#: library/stdtypes.rst:4559 +#: library/stdtypes.rst:4560 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:4565 +#: library/stdtypes.rst:4566 msgid "" "Update the dictionary with the key/value pairs from *other*, overwriting " "existing keys. Return ``None``." msgstr "" -#: library/stdtypes.rst:4568 +#: library/stdtypes.rst:4569 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 " @@ -5669,71 +5675,71 @@ msgid "" "pairs: ``d.update(red=1, blue=2)``." msgstr "" -#: library/stdtypes.rst:4575 +#: library/stdtypes.rst:4576 msgid "" "Return a new view of the dictionary's values. See the :ref:`documentation " "of view objects `." msgstr "" -#: library/stdtypes.rst:4578 +#: library/stdtypes.rst:4579 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:4588 +#: library/stdtypes.rst:4589 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:4596 +#: library/stdtypes.rst:4597 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:4602 +#: library/stdtypes.rst:4603 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:4606 +#: library/stdtypes.rst:4607 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:4624 +#: library/stdtypes.rst:4625 msgid "" "Dictionary order is guaranteed to be insertion order. This behavior was an " "implementation detail of CPython from 3.6." msgstr "" -#: library/stdtypes.rst:4628 +#: library/stdtypes.rst:4629 msgid "Dictionaries and dictionary views are reversible. ::" msgstr "" -#: library/stdtypes.rst:4640 +#: library/stdtypes.rst:4641 msgid "Dictionaries are now reversible." msgstr "" -#: library/stdtypes.rst:4645 +#: library/stdtypes.rst:4646 msgid "" ":class:`types.MappingProxyType` can be used to create a read-only view of a :" "class:`dict`." msgstr "" -#: library/stdtypes.rst:4652 +#: library/stdtypes.rst:4653 msgid "Dictionary view objects" msgstr "" -#: library/stdtypes.rst:4654 +#: library/stdtypes.rst:4655 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 " @@ -5741,23 +5747,23 @@ msgid "" "reflects these changes." msgstr "" -#: library/stdtypes.rst:4659 +#: library/stdtypes.rst:4660 msgid "" "Dictionary views can be iterated over to yield their respective data, and " "support membership tests:" msgstr "" -#: library/stdtypes.rst:4664 +#: library/stdtypes.rst:4665 msgid "Return the number of entries in the dictionary." msgstr "" -#: library/stdtypes.rst:4668 +#: library/stdtypes.rst:4669 msgid "" "Return an iterator over the keys, values or items (represented as tuples of " "``(key, value)``) in the dictionary." msgstr "" -#: library/stdtypes.rst:4671 +#: library/stdtypes.rst:4672 msgid "" "Keys and values are iterated over in insertion order. This allows the " "creation of ``(value, key)`` pairs using :func:`zip`: ``pairs = zip(d." @@ -5765,39 +5771,39 @@ msgid "" "[(v, k) for (k, v) in d.items()]``." msgstr "" -#: library/stdtypes.rst:4676 +#: library/stdtypes.rst:4677 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:4679 +#: library/stdtypes.rst:4680 msgid "Dictionary order is guaranteed to be insertion order." msgstr "" -#: library/stdtypes.rst:4684 +#: library/stdtypes.rst:4685 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:4689 +#: library/stdtypes.rst:4690 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:4692 +#: library/stdtypes.rst:4693 msgid "Dictionary views are now reversible." msgstr "" -#: library/stdtypes.rst:4697 +#: library/stdtypes.rst:4698 msgid "" "Return a :class:`types.MappingProxyType` that wraps the original dictionary " "to which the view refers." msgstr "" -#: library/stdtypes.rst:4702 +#: library/stdtypes.rst:4703 msgid "" "Keys views are set-like since their entries are unique and :term:" "`hashable`. If all values are hashable, so that ``(key, value)`` pairs are " @@ -5808,15 +5814,15 @@ msgid "" "``<``, or ``^``)." msgstr "" -#: library/stdtypes.rst:4709 +#: library/stdtypes.rst:4710 msgid "An example of dictionary view usage::" msgstr "" -#: library/stdtypes.rst:4750 +#: library/stdtypes.rst:4751 msgid "Context Manager Types" msgstr "Bağlam Yöneticisi Türleri" -#: library/stdtypes.rst:4757 +#: library/stdtypes.rst:4758 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 " @@ -5824,7 +5830,7 @@ msgid "" "before the statement body is executed and exited when the statement ends:" msgstr "" -#: library/stdtypes.rst:4765 +#: library/stdtypes.rst:4766 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 " @@ -5832,14 +5838,14 @@ msgid "" "using this context manager." msgstr "" -#: library/stdtypes.rst:4770 +#: library/stdtypes.rst:4771 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:4774 +#: library/stdtypes.rst:4775 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 " @@ -5849,7 +5855,7 @@ msgid "" "the :keyword:`!with` statement." msgstr "" -#: library/stdtypes.rst:4784 +#: library/stdtypes.rst:4785 msgid "" "Exit the runtime context and return a Boolean flag indicating if any " "exception that occurred should be suppressed. If an exception occurred while " @@ -5858,7 +5864,7 @@ msgid "" "arguments are ``None``." msgstr "" -#: library/stdtypes.rst:4789 +#: library/stdtypes.rst:4790 msgid "" "Returning a true value from this method will cause the :keyword:`with` " "statement to suppress the exception and continue execution with the " @@ -5869,7 +5875,7 @@ msgid "" "statement." msgstr "" -#: library/stdtypes.rst:4796 +#: library/stdtypes.rst:4797 msgid "" "The exception passed in should never be reraised explicitly - instead, this " "method should return a false value to indicate that the method completed " @@ -5878,7 +5884,7 @@ msgid "" "method has actually failed." msgstr "" -#: library/stdtypes.rst:4802 +#: library/stdtypes.rst:4803 msgid "" "Python defines several context managers to support easy thread " "synchronisation, prompt closure of files or other objects, and simpler " @@ -5887,7 +5893,7 @@ msgid "" "management protocol. See the :mod:`contextlib` module for some examples." msgstr "" -#: library/stdtypes.rst:4808 +#: library/stdtypes.rst:4809 msgid "" "Python's :term:`generator`\\s and the :class:`contextlib.contextmanager` " "decorator provide a convenient way to implement these protocols. If a " @@ -5897,7 +5903,7 @@ msgid "" "rather than the iterator produced by an undecorated generator function." msgstr "" -#: library/stdtypes.rst:4815 +#: library/stdtypes.rst:4816 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 " @@ -5906,23 +5912,23 @@ msgid "" "a single class dictionary lookup is negligible." msgstr "" -#: library/stdtypes.rst:4823 +#: library/stdtypes.rst:4824 msgid "" "Type Annotation Types --- :ref:`Generic Alias `, :ref:" "`Union `" msgstr "" -#: library/stdtypes.rst:4828 +#: library/stdtypes.rst:4829 msgid "" "The core built-in types for :term:`type annotations ` are :ref:" "`Generic Alias ` and :ref:`Union `." msgstr "" -#: library/stdtypes.rst:4835 +#: library/stdtypes.rst:4836 msgid "Generic Alias Type" msgstr "Genel Takma Ad Türü" -#: library/stdtypes.rst:4841 +#: library/stdtypes.rst:4842 msgid "" "``GenericAlias`` objects are generally created by :ref:`subscripting " "` a class. They are most often used with :ref:`container " @@ -5932,13 +5938,13 @@ msgid "" "are intended primarily for use with :term:`type annotations `." msgstr "" -#: library/stdtypes.rst:4851 +#: library/stdtypes.rst:4852 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:4854 +#: library/stdtypes.rst:4855 msgid "" "A ``GenericAlias`` object acts as a proxy for a :term:`generic type`, " "implementing *parameterized generics*." @@ -5946,7 +5952,7 @@ msgstr "" "Bir ``GenericAlias`` nesnesi, :term:`generic type` için bir vekil olarak " "hareket eder ve *parameterized generics* uygular." -#: library/stdtypes.rst:4857 +#: library/stdtypes.rst:4858 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 " @@ -5955,7 +5961,7 @@ msgid "" "`bytes`." msgstr "" -#: library/stdtypes.rst:4863 +#: library/stdtypes.rst:4864 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 " @@ -5964,7 +5970,7 @@ msgid "" "the :class:`str` data type and the :class:`bytes` data type:" msgstr "" -#: library/stdtypes.rst:4869 +#: library/stdtypes.rst:4870 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 " @@ -5972,7 +5978,7 @@ msgid "" "annotations with the ``GenericAlias`` ``re.Match[str]``." msgstr "" -#: library/stdtypes.rst:4875 +#: library/stdtypes.rst:4876 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." @@ -5981,7 +5987,7 @@ msgid "" "objects>` objects with ``re.Match[bytes]``." msgstr "" -#: library/stdtypes.rst:4881 +#: library/stdtypes.rst:4882 msgid "" "``GenericAlias`` objects are instances of the class :class:`types." "GenericAlias`, which can also be used to create ``GenericAlias`` objects " @@ -5990,7 +5996,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:4887 +#: library/stdtypes.rst:4888 msgid "" "Creates a ``GenericAlias`` representing a type ``T`` parameterized by types " "*X*, *Y*, and more depending on the ``T`` used. For example, a function " @@ -6001,7 +6007,7 @@ msgstr "" "Örneğin, :class:`float` elemanları içeren bir :class:`list` bekleyen bir " "fonksiyon::" -#: library/stdtypes.rst:4895 +#: library/stdtypes.rst:4896 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 " @@ -6013,7 +6019,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:4903 +#: library/stdtypes.rst:4904 msgid "" "The builtin functions :func:`isinstance` and :func:`issubclass` do not " "accept ``GenericAlias`` types for their second argument::" @@ -6021,7 +6027,7 @@ msgstr "" "Yerleşik :func:`isinstance` ve :func:`issubclass` işlevleri ikinci " "argümanları için ``GenericAlias`` türlerini kabul etmez::" -#: library/stdtypes.rst:4911 +#: library/stdtypes.rst:4912 msgid "" "The Python runtime does not enforce :term:`type annotations `. " "This extends to generic types and their type parameters. When creating a " @@ -6035,7 +6041,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:4921 +#: library/stdtypes.rst:4922 msgid "" "Furthermore, parameterized generics erase type parameters during object " "creation::" @@ -6043,7 +6049,7 @@ msgstr "" "Ayrıca, parametrelendirilmiş jenerikler nesne oluşturma sırasında tip " "parametrelerini siler::" -#: library/stdtypes.rst:4932 +#: library/stdtypes.rst:4933 msgid "" "Calling :func:`repr` or :func:`str` on a generic shows the parameterized " "type::" @@ -6051,7 +6057,7 @@ msgstr "" "Bir jenerik üzerinde :func:`repr` veya :func:`str` çağrısı " "parametrelendirilmiş türü gösterir::" -#: library/stdtypes.rst:4940 +#: library/stdtypes.rst:4941 msgid "" "The :meth:`~object.__getitem__` method of generic containers will raise an " "exception to disallow mistakes like ``dict[str][str]``::" @@ -6059,7 +6065,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:4948 +#: library/stdtypes.rst:4949 msgid "" "However, such expressions are valid when :ref:`type variables ` " "are used. The index must have as many elements as there are type variable " @@ -6069,11 +6075,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:4959 +#: library/stdtypes.rst:4960 msgid "Standard Generic Classes" msgstr "Standart Jenerik Sınıflar" -#: library/stdtypes.rst:4961 +#: library/stdtypes.rst:4962 msgid "" "The following standard library classes support parameterized generics. This " "list is non-exhaustive." @@ -6081,235 +6087,235 @@ msgstr "" "Bu standart kütüphane sınıfları parametrelendirilmiş jenerikleri destekler. " "Bu liste kapsamlı değildir." -#: library/stdtypes.rst:4964 +#: library/stdtypes.rst:4965 msgid ":class:`tuple`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:4965 +#: library/stdtypes.rst:4966 msgid ":class:`list`" msgstr ":class:`list`" -#: library/stdtypes.rst:4966 +#: library/stdtypes.rst:4967 msgid ":class:`dict`" msgstr ":class:`dict`" -#: library/stdtypes.rst:4967 +#: library/stdtypes.rst:4968 msgid ":class:`set`" msgstr ":class:`set`" -#: library/stdtypes.rst:4968 +#: library/stdtypes.rst:4969 msgid ":class:`frozenset`" msgstr ":class:`frozenset`" -#: library/stdtypes.rst:4969 +#: library/stdtypes.rst:4970 msgid ":class:`type`" msgstr ":class:`type`" -#: library/stdtypes.rst:4970 +#: library/stdtypes.rst:4971 msgid ":class:`collections.deque`" msgstr ":class:`collections.deque`" -#: library/stdtypes.rst:4971 +#: library/stdtypes.rst:4972 msgid ":class:`collections.defaultdict`" msgstr ":class:`collections.defaultdict`" -#: library/stdtypes.rst:4972 +#: library/stdtypes.rst:4973 msgid ":class:`collections.OrderedDict`" msgstr ":class:`collections.OrderedDict`" -#: library/stdtypes.rst:4973 +#: library/stdtypes.rst:4974 msgid ":class:`collections.Counter`" msgstr ":class:`collections.Counter`" -#: library/stdtypes.rst:4974 +#: library/stdtypes.rst:4975 msgid ":class:`collections.ChainMap`" msgstr ":class:`collections.ChainMap`" -#: library/stdtypes.rst:4975 +#: library/stdtypes.rst:4976 msgid ":class:`collections.abc.Awaitable`" msgstr ":class:`collections.abc.Awaitable`" -#: library/stdtypes.rst:4976 +#: library/stdtypes.rst:4977 msgid ":class:`collections.abc.Coroutine`" msgstr ":class:`collections.abc.Coroutine`" -#: library/stdtypes.rst:4977 +#: library/stdtypes.rst:4978 msgid ":class:`collections.abc.AsyncIterable`" msgstr ":class:`collections.abc.AsyncIterable`" -#: library/stdtypes.rst:4978 +#: library/stdtypes.rst:4979 msgid ":class:`collections.abc.AsyncIterator`" msgstr ":class:`collections.abc.AsyncIterator`" -#: library/stdtypes.rst:4979 +#: library/stdtypes.rst:4980 msgid ":class:`collections.abc.AsyncGenerator`" msgstr ":class:`collections.abc.AsyncGenerator`" -#: library/stdtypes.rst:4980 +#: library/stdtypes.rst:4981 msgid ":class:`collections.abc.Iterable`" msgstr ":class:`collections.abc.Iterable`" -#: library/stdtypes.rst:4981 +#: library/stdtypes.rst:4982 msgid ":class:`collections.abc.Iterator`" msgstr ":class:`collections.abc.Iterator`" -#: library/stdtypes.rst:4982 +#: library/stdtypes.rst:4983 msgid ":class:`collections.abc.Generator`" msgstr ":class:`collections.abc.Generator`" -#: library/stdtypes.rst:4983 +#: library/stdtypes.rst:4984 msgid ":class:`collections.abc.Reversible`" msgstr ":class:`collections.abc.Reversible`" -#: library/stdtypes.rst:4984 +#: library/stdtypes.rst:4985 msgid ":class:`collections.abc.Container`" msgstr ":class:`collections.abc.Container`" -#: library/stdtypes.rst:4985 +#: library/stdtypes.rst:4986 msgid ":class:`collections.abc.Collection`" msgstr ":class:`collections.abc.Collection`" -#: library/stdtypes.rst:4986 +#: library/stdtypes.rst:4987 msgid ":class:`collections.abc.Callable`" msgstr ":class:`collections.abc.Callable`" -#: library/stdtypes.rst:4987 +#: library/stdtypes.rst:4988 msgid ":class:`collections.abc.Set`" msgstr ":class:`collections.abc.Set`" -#: library/stdtypes.rst:4988 +#: library/stdtypes.rst:4989 msgid ":class:`collections.abc.MutableSet`" msgstr ":class:`collections.abc.MutableSet`" -#: library/stdtypes.rst:4989 +#: library/stdtypes.rst:4990 msgid ":class:`collections.abc.Mapping`" msgstr ":class:`collections.abc.Mapping`" -#: library/stdtypes.rst:4990 +#: library/stdtypes.rst:4991 msgid ":class:`collections.abc.MutableMapping`" msgstr ":class:`collections.abc.MutableMapping`" -#: library/stdtypes.rst:4991 +#: library/stdtypes.rst:4992 msgid ":class:`collections.abc.Sequence`" msgstr ":class:`collections.abc.Sequence`" -#: library/stdtypes.rst:4992 +#: library/stdtypes.rst:4993 msgid ":class:`collections.abc.MutableSequence`" msgstr ":class:`collections.abc.MutableSequence`" -#: library/stdtypes.rst:4993 +#: library/stdtypes.rst:4994 msgid ":class:`collections.abc.ByteString`" msgstr ":class:`collections.abc.ByteString`" -#: library/stdtypes.rst:4994 +#: library/stdtypes.rst:4995 msgid ":class:`collections.abc.MappingView`" msgstr ":class:`collections.abc.MappingView`" -#: library/stdtypes.rst:4995 +#: library/stdtypes.rst:4996 msgid ":class:`collections.abc.KeysView`" msgstr ":class:`collections.abc.KeysView`" -#: library/stdtypes.rst:4996 +#: library/stdtypes.rst:4997 msgid ":class:`collections.abc.ItemsView`" msgstr ":class:`collections.abc.ItemsView`" -#: library/stdtypes.rst:4997 +#: library/stdtypes.rst:4998 msgid ":class:`collections.abc.ValuesView`" msgstr ":class:`collections.abc.ValuesView`" -#: library/stdtypes.rst:4998 +#: library/stdtypes.rst:4999 msgid ":class:`contextlib.AbstractContextManager`" msgstr ":class:`contextlib.AbstractContextManager`" -#: library/stdtypes.rst:4999 +#: library/stdtypes.rst:5000 msgid ":class:`contextlib.AbstractAsyncContextManager`" msgstr ":class:`contextlib.AbstractAsyncContextManager`" -#: library/stdtypes.rst:5000 +#: library/stdtypes.rst:5001 msgid ":class:`dataclasses.Field`" msgstr ":class:`dataclasses.Field`" -#: library/stdtypes.rst:5001 +#: library/stdtypes.rst:5002 msgid ":class:`functools.cached_property`" msgstr ":class:`functools.cached_property`" -#: library/stdtypes.rst:5002 +#: library/stdtypes.rst:5003 msgid ":class:`functools.partialmethod`" msgstr "" -#: library/stdtypes.rst:5003 +#: library/stdtypes.rst:5004 msgid ":class:`os.PathLike`" msgstr ":class:`os.PathLike`" -#: library/stdtypes.rst:5004 +#: library/stdtypes.rst:5005 msgid ":class:`queue.LifoQueue`" msgstr ":class:`queue.LifoQueue`" -#: library/stdtypes.rst:5005 +#: library/stdtypes.rst:5006 msgid ":class:`queue.Queue`" msgstr ":class:`queue.Queue`" -#: library/stdtypes.rst:5006 +#: library/stdtypes.rst:5007 msgid ":class:`queue.PriorityQueue`" msgstr ":class:`queue.PriorityQueue`" -#: library/stdtypes.rst:5007 +#: library/stdtypes.rst:5008 msgid ":class:`queue.SimpleQueue`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:5008 +#: library/stdtypes.rst:5009 msgid ":ref:`re.Pattern `" msgstr ":ref:`re.Pattern `" -#: library/stdtypes.rst:5009 +#: library/stdtypes.rst:5010 msgid ":ref:`re.Match `" msgstr ":ref:`re.Match `" -#: library/stdtypes.rst:5010 +#: library/stdtypes.rst:5011 msgid ":class:`shelve.BsdDbShelf`" msgstr ":class:`shelve.BsdDbShelf`" -#: library/stdtypes.rst:5011 +#: library/stdtypes.rst:5012 msgid ":class:`shelve.DbfilenameShelf`" msgstr ":class:`shelve.DbfilenameShelf`" -#: library/stdtypes.rst:5012 +#: library/stdtypes.rst:5013 msgid ":class:`shelve.Shelf`" msgstr ":class:`shelve.Shelf`" -#: library/stdtypes.rst:5013 +#: library/stdtypes.rst:5014 msgid ":class:`types.MappingProxyType`" msgstr ":class:`types.MappingProxyType`" -#: library/stdtypes.rst:5014 +#: library/stdtypes.rst:5015 msgid ":class:`weakref.WeakKeyDictionary`" msgstr "" -#: library/stdtypes.rst:5015 +#: library/stdtypes.rst:5016 msgid ":class:`weakref.WeakMethod`" msgstr "" -#: library/stdtypes.rst:5016 +#: library/stdtypes.rst:5017 msgid ":class:`weakref.WeakSet`" msgstr ":class:`weakref.WeakSet`" -#: library/stdtypes.rst:5017 +#: library/stdtypes.rst:5018 msgid ":class:`weakref.WeakValueDictionary`" msgstr "" -#: library/stdtypes.rst:5022 +#: library/stdtypes.rst:5023 msgid "Special Attributes of ``GenericAlias`` objects" msgstr "``GenericAlias`` objesinin Özel Öznitelikleri" -#: library/stdtypes.rst:5024 +#: library/stdtypes.rst:5025 msgid "All parameterized generics implement special read-only attributes." msgstr "Tüm parametreli jenerikler özel salt okunur öznitelikler uygular." -#: library/stdtypes.rst:5028 +#: library/stdtypes.rst:5029 msgid "This attribute points at the non-parameterized generic class::" msgstr "Bu öznitelik, parametrelendirilmemiş genel sınıfa işaret eder::" -#: library/stdtypes.rst:5036 +#: library/stdtypes.rst:5037 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 " @@ -6319,7 +6325,7 @@ msgstr "" "öğesine iletilen jenerik tiplerinden bir :class:`tuple` 'dır (muhtemelen 1 " "uzunluğunda)::" -#: library/stdtypes.rst:5046 +#: library/stdtypes.rst:5047 msgid "" "This attribute is a lazily computed tuple (possibly empty) of unique type " "variables found in ``__args__``::" @@ -6327,7 +6333,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:5057 +#: library/stdtypes.rst:5058 msgid "" "A ``GenericAlias`` object with :class:`typing.ParamSpec` parameters may not " "have correct ``__parameters__`` after substitution because :class:`typing." @@ -6337,49 +6343,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:5064 +#: library/stdtypes.rst:5065 msgid "" "A boolean that is true if the alias has been unpacked using the ``*`` " "operator (see :data:`~typing.TypeVarTuple`)." msgstr "" -#: library/stdtypes.rst:5073 +#: library/stdtypes.rst:5074 msgid ":pep:`484` - Type Hints" msgstr "" -#: library/stdtypes.rst:5073 +#: library/stdtypes.rst:5074 msgid "Introducing Python's framework for type annotations." msgstr "" -#: library/stdtypes.rst:5078 +#: library/stdtypes.rst:5079 msgid ":pep:`585` - Type Hinting Generics In Standard Collections" msgstr "" ":pep:`585` - Standart Koleksiyonlarda Tip İma Etme (Type Hinting) Jenerikleri" -#: library/stdtypes.rst:5076 +#: library/stdtypes.rst:5077 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:5081 +#: library/stdtypes.rst:5082 msgid "" ":ref:`Generics`, :ref:`user-defined generics ` and :" "class:`typing.Generic`" msgstr "" -#: library/stdtypes.rst:5081 +#: library/stdtypes.rst:5082 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." msgstr "" -#: library/stdtypes.rst:5090 +#: library/stdtypes.rst:5091 msgid "Union Type" msgstr "Sendika Türü" -#: library/stdtypes.rst:5096 +#: library/stdtypes.rst:5097 msgid "" "A union object holds the value of the ``|`` (bitwise or) operation on " "multiple :ref:`type objects `. These types are intended " @@ -6393,7 +6399,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:5103 +#: library/stdtypes.rst:5104 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 " @@ -6404,34 +6410,34 @@ msgstr "" "anlamına gelir. Bu, ``typing.Union[X, Y]`` ile eş değerdir. Örneğin, " "aşağıdaki işlev :class:`int` veya :class:`float`::" -#: library/stdtypes.rst:5113 +#: library/stdtypes.rst:5114 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:5115 +#: library/stdtypes.rst:5116 msgid "Unions of unions are flattened::" msgstr "Birliklerin birlikleri düzleştirimiştir::" -#: library/stdtypes.rst:5119 +#: library/stdtypes.rst:5120 msgid "Redundant types are removed::" msgstr "Gereksiz türler kaldırılır::" -#: library/stdtypes.rst:5123 +#: library/stdtypes.rst:5124 msgid "When comparing unions, the order is ignored::" msgstr "Birlikleri karşılaştırırken, sipariş göz ardı edilir::" -#: library/stdtypes.rst:5127 +#: library/stdtypes.rst:5128 msgid "It is compatible with :data:`typing.Union`::" msgstr ":data:`typing.Union`:: ile uyumludur:" -#: library/stdtypes.rst:5131 +#: library/stdtypes.rst:5132 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:5138 +#: library/stdtypes.rst:5139 msgid "" "Calls to :func:`isinstance` and :func:`issubclass` are also supported with a " "union object::" @@ -6439,13 +6445,13 @@ msgstr "" ":func:`isinstance` ve :func:`issubclass` çağrıları da bir birlik nesnesiyle " "desteklenir::" -#: library/stdtypes.rst:5144 +#: library/stdtypes.rst:5145 msgid "" "However, union objects containing :ref:`parameterized generics ` cannot be used::" msgstr "Ancak, :ref:`types-genericalias` içeren union nesneleri kullanılamaz::" -#: library/stdtypes.rst:5152 +#: library/stdtypes.rst:5153 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 " @@ -6455,7 +6461,7 @@ msgstr "" "erişilebilir ve :func:`isinstance` kontrolleri için kullanılabilir. Bir " "nesne şu türden örneklenemez::" -#: library/stdtypes.rst:5165 +#: library/stdtypes.rst:5166 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 " @@ -6465,15 +6471,15 @@ msgstr "" "için eklendi. Eğer bir metaclass :meth:`__or__` metodunu uygularsa, Union " "bunu geçersiz kılabilir::" -#: library/stdtypes.rst:5183 +#: library/stdtypes.rst:5184 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:5191 +#: library/stdtypes.rst:5192 msgid "Other Built-in Types" msgstr "Diğer Yerleşik Tipler" -#: library/stdtypes.rst:5193 +#: library/stdtypes.rst:5194 msgid "" "The interpreter supports several other kinds of objects. Most of these " "support only one or two operations." @@ -6481,11 +6487,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:5200 +#: library/stdtypes.rst:5201 msgid "Modules" msgstr "Modüller" -#: library/stdtypes.rst:5202 +#: library/stdtypes.rst:5203 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 " @@ -6503,7 +6509,7 @@ msgstr "" "bunun yerine bir yerlerde *foo* adında bir modül için (harici) bir " "*tanımlama* gerektirir)" -#: library/stdtypes.rst:5209 +#: library/stdtypes.rst:5210 msgid "" "A special attribute of every module is :attr:`~object.__dict__`. This is the " "dictionary containing the module's symbol table. Modifying this dictionary " @@ -6521,7 +6527,7 @@ msgstr "" "`` yazamazsınız). :attr:`~object.__dict__` öğesinin doğrudan değiştirilmesi " "önerilmez." -#: library/stdtypes.rst:5217 +#: library/stdtypes.rst:5218 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:5225 +#: library/stdtypes.rst:5226 msgid "Classes and Class Instances" msgstr "Sınıflar ve Sınıf Örnekleri" -#: library/stdtypes.rst:5227 +#: library/stdtypes.rst:5228 msgid "See :ref:`objects` and :ref:`class` for these." msgstr "Bunlar için :ref:`class` ve :ref:`objects` bakın." -#: library/stdtypes.rst:5233 +#: library/stdtypes.rst:5234 msgid "Functions" msgstr "Fonksiyonlar" -#: library/stdtypes.rst:5235 +#: library/stdtypes.rst:5236 msgid "" "Function objects are created by function definitions. The only operation on " "a function object is to call it: ``func(argument-list)``." @@ -6552,7 +6558,7 @@ msgstr "" "fonksiyon nesnesi üzerindeki tek işlem onu çağırmaktır: ``func(argument-" "list)``." -#: library/stdtypes.rst:5238 +#: library/stdtypes.rst:5239 msgid "" "There are really two flavors of function objects: built-in functions and " "user-defined functions. Both support the same operation (to call the " @@ -6564,15 +6570,15 @@ msgstr "" "çağırmak için), ancak uygulama farklıdır, dolayısıyla farklı nesne türleri " "vardır." -#: library/stdtypes.rst:5242 +#: library/stdtypes.rst:5243 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:5248 +#: library/stdtypes.rst:5249 msgid "Methods" msgstr "Yöntemler" -#: library/stdtypes.rst:5252 +#: library/stdtypes.rst:5253 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 " @@ -6584,7 +6590,7 @@ msgstr "" "yöntemleri. Yerleşik yöntemler, onları destekleyen türlerle birlikte " "tanımlanır." -#: library/stdtypes.rst:5257 +#: library/stdtypes.rst:5258 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:" @@ -6604,7 +6610,7 @@ msgstr "" "``m(arg-1, arg-2, ..., arg-n)`` çağrısı tamamen ``m.__func__(m.__self__, " "arg-1, arg-2, ..., arg-n)`` çağrısına eş değerdir." -#: library/stdtypes.rst:5266 +#: library/stdtypes.rst:5267 msgid "" "Like function objects, bound method objects support getting arbitrary " "attributes. However, since method attributes are actually stored on the " @@ -6621,15 +6627,15 @@ msgstr "" "ayarlamak için, bunu temel işlev nesnesi üzerinde açıkça ayarlamanız " "gerekir::" -#: library/stdtypes.rst:5317 +#: library/stdtypes.rst:5318 msgid "See :ref:`types` for more information." msgstr "Daha fazla bilgi için :ref:`types` sayfasına bakın." -#: library/stdtypes.rst:5294 +#: library/stdtypes.rst:5295 msgid "Code Objects" msgstr "Kod Nesneleri" -#: library/stdtypes.rst:5300 +#: library/stdtypes.rst:5301 msgid "" "Code objects are used by the implementation to represent \"pseudo-compiled\" " "executable Python code such as a function body. They differ from function " @@ -6645,7 +6651,7 @@ msgstr "" "tarafından döndürülür ve :attr:`__code__` niteliği aracılığıyla işlev " "nesnelerinden çıkarılabilir. Ayrıca :mod:`code` modülüne de bakınız." -#: library/stdtypes.rst:5307 +#: library/stdtypes.rst:5308 msgid "" "Accessing ``__code__`` raises an :ref:`auditing event ` ``object." "__getattr__`` with arguments ``obj`` and ``\"__code__\"``." @@ -6653,7 +6659,7 @@ msgstr "" "``__code__`` 'e erişmek,``obj`` ve ``\"__code__\"`` argümanlarıyla :ref:" "`denetim etkinliği ` ``object.__getattr__`` oluşturur." -#: library/stdtypes.rst:5314 +#: library/stdtypes.rst:5315 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." @@ -6661,11 +6667,11 @@ msgstr "" "Bir kod nesnesi (kaynak dize yerine) :func:`exec` veya :func:`eval` yerleşik " "işlevlerine geçirilerek yürütülebilir veya değerlendirilebilir." -#: library/stdtypes.rst:5323 +#: library/stdtypes.rst:5324 msgid "Type Objects" msgstr "Type Objects" -#: library/stdtypes.rst:5329 +#: library/stdtypes.rst:5330 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 " @@ -6677,15 +6683,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:5334 +#: library/stdtypes.rst:5335 msgid "Types are written like this: ````." msgstr "Türler şu şekilde yazılır: ````." -#: library/stdtypes.rst:5340 +#: library/stdtypes.rst:5341 msgid "The Null Object" msgstr "Null Nesne" -#: library/stdtypes.rst:5342 +#: library/stdtypes.rst:5343 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 " @@ -6695,15 +6701,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:5346 +#: library/stdtypes.rst:5347 msgid "It is written as ``None``." msgstr "''Yok'' olarak yazılmıştır." -#: library/stdtypes.rst:5353 +#: library/stdtypes.rst:5354 msgid "The Ellipsis Object" msgstr "Üç Nokta Nesnesi" -#: library/stdtypes.rst:5355 +#: library/stdtypes.rst:5356 msgid "" "This object is commonly used by slicing (see :ref:`slicings`). It supports " "no special operations. There is exactly one ellipsis object, named :const:" @@ -6715,15 +6721,15 @@ msgstr "" "ad) adında bir elips nesnesi vardır. ``type(Ellipsis)()``, :const:" "`Ellipsis` singletonunu üretir." -#: library/stdtypes.rst:5360 +#: library/stdtypes.rst:5361 msgid "It is written as ``Ellipsis`` or ``...``." msgstr "``Ellipsis`` veya ``...`` olarak yazılmıştır." -#: library/stdtypes.rst:5366 +#: library/stdtypes.rst:5367 msgid "The NotImplemented Object" msgstr "NotImplemented Nesnesi" -#: library/stdtypes.rst:5368 +#: library/stdtypes.rst:5369 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 " @@ -6735,15 +6741,15 @@ msgstr "" "ref:`comparisons` sayfasına bakın. Tam olarak bir ``NotImplemented`` " "nesnesi vardır. ``type(NotImplemented)()``, singleton örneğini üretir." -#: library/stdtypes.rst:5373 +#: library/stdtypes.rst:5374 msgid "It is written as ``NotImplemented``." msgstr "''NotImplemented'' olarak yazılmıştır." -#: library/stdtypes.rst:5379 +#: library/stdtypes.rst:5380 msgid "Boolean Values" msgstr "Boolean Değerleri" -#: library/stdtypes.rst:5381 +#: library/stdtypes.rst:5382 msgid "" "Boolean values are the two constant objects ``False`` and ``True``. They " "are used to represent truth values (although other values can also be " @@ -6762,15 +6768,15 @@ msgstr "" "Boolean'a dönüştürmek için kullanılabilir (yukarıdaki bölüm :ref:`truth` a " "bakın)." -#: library/stdtypes.rst:5394 +#: library/stdtypes.rst:5395 msgid "They are written as ``False`` and ``True``, respectively." msgstr "Sırasıyla ``Yanlış`` ve ``Doğru`` olarak yazılırlar." -#: library/stdtypes.rst:5400 +#: library/stdtypes.rst:5401 msgid "Internal Objects" msgstr "İç Nesneler" -#: library/stdtypes.rst:5402 +#: library/stdtypes.rst:5403 msgid "" "See :ref:`types` for this information. It describes stack frame objects, " "traceback objects, and slice objects." @@ -6778,11 +6784,11 @@ msgstr "" "Bu bilgi için :ref:`types` sayfasına bakın. Yığın çerçeve nesnelerini, geri " "izleme nesnelerini ve dilim nesnelerini açıklar." -#: library/stdtypes.rst:5409 +#: library/stdtypes.rst:5410 msgid "Special Attributes" msgstr "Özel Özellikler" -#: library/stdtypes.rst:5411 +#: library/stdtypes.rst:5412 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:" @@ -6792,7 +6798,7 @@ msgstr "" "öznitelik ekler. Bunlardan bazıları :func:`dir` yerleşik işlevi tarafından " "bildirilmez." -#: library/stdtypes.rst:5418 +#: library/stdtypes.rst:5419 msgid "" "A dictionary or other mapping object used to store an object's (writable) " "attributes." @@ -6800,20 +6806,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:5424 +#: library/stdtypes.rst:5425 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:5429 +#: library/stdtypes.rst:5430 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:5434 +#: library/stdtypes.rst:5435 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:5440 +#: library/stdtypes.rst:5441 msgid "" "The :term:`qualified name` of the class, function, method, descriptor, or " "generator instance." @@ -6821,7 +6827,7 @@ msgstr "" "Sınıf, fonksiyon, yöntem, tanımlayıcı veya üretici örneğinin :term:" "`qualified name`." -#: library/stdtypes.rst:5448 +#: library/stdtypes.rst:5449 msgid "" "This attribute is a tuple of classes that are considered when looking for " "base classes during method resolution." @@ -6829,7 +6835,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:5454 +#: library/stdtypes.rst:5455 msgid "" "This method can be overridden by a metaclass to customize the method " "resolution order for its instances. It is called at class instantiation, " @@ -6839,7 +6845,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:5461 +#: library/stdtypes.rst:5462 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 " @@ -6849,11 +6855,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:5472 +#: library/stdtypes.rst:5473 msgid "Integer string conversion length limitation" msgstr "" -#: library/stdtypes.rst:5474 +#: library/stdtypes.rst:5475 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 " @@ -6861,7 +6867,7 @@ msgid "" "binary conversions are unlimited. The limit can be configured." msgstr "" -#: library/stdtypes.rst:5479 +#: library/stdtypes.rst:5480 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 " @@ -6871,25 +6877,25 @@ msgid "" "value such as ``int('1' * 500_000)`` can take over a second on a fast CPU." msgstr "" -#: library/stdtypes.rst:5486 +#: library/stdtypes.rst:5487 msgid "" "Limiting conversion size offers a practical way to avoid `CVE-2020-10735 " "`_." msgstr "" -#: library/stdtypes.rst:5489 +#: library/stdtypes.rst:5490 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:5493 +#: library/stdtypes.rst:5494 msgid "" "When an operation would exceed the limit, a :exc:`ValueError` is raised:" msgstr "" -#: library/stdtypes.rst:5515 +#: library/stdtypes.rst:5516 msgid "" "The default limit is 4300 digits as provided in :data:`sys.int_info." "default_max_str_digits `. The lowest limit that can be " @@ -6897,95 +6903,95 @@ msgid "" "str_digits_check_threshold `." msgstr "" -#: library/stdtypes.rst:5520 +#: library/stdtypes.rst:5521 msgid "Verification:" msgstr "Doğrulama" -#: library/stdtypes.rst:5535 +#: library/stdtypes.rst:5536 msgid "Affected APIs" msgstr "" -#: library/stdtypes.rst:5537 +#: library/stdtypes.rst:5538 msgid "" "The limitation only applies to potentially slow conversions between :class:" "`int` and :class:`str` or :class:`bytes`:" msgstr "" -#: library/stdtypes.rst:5540 +#: library/stdtypes.rst:5541 msgid "``int(string)`` with default base 10." msgstr "" -#: library/stdtypes.rst:5541 +#: library/stdtypes.rst:5542 msgid "``int(string, base)`` for all bases that are not a power of 2." msgstr "" -#: library/stdtypes.rst:5542 +#: library/stdtypes.rst:5543 msgid "``str(integer)``." msgstr "" -#: library/stdtypes.rst:5543 +#: library/stdtypes.rst:5544 msgid "``repr(integer)``." msgstr "" -#: library/stdtypes.rst:5544 +#: library/stdtypes.rst:5545 msgid "" "any other string conversion to base 10, for example ``f\"{integer}\"``, " "``\"{}\".format(integer)``, or ``b\"%d\" % integer``." msgstr "" -#: library/stdtypes.rst:5547 +#: library/stdtypes.rst:5548 msgid "The limitations do not apply to functions with a linear algorithm:" msgstr "" -#: library/stdtypes.rst:5549 +#: library/stdtypes.rst:5550 msgid "``int(string, base)`` with base 2, 4, 8, 16, or 32." msgstr "" -#: library/stdtypes.rst:5550 +#: library/stdtypes.rst:5551 msgid ":func:`int.from_bytes` and :func:`int.to_bytes`." msgstr "" -#: library/stdtypes.rst:5551 +#: library/stdtypes.rst:5552 msgid ":func:`hex`, :func:`oct`, :func:`bin`." msgstr "" -#: library/stdtypes.rst:5552 +#: library/stdtypes.rst:5553 msgid ":ref:`formatspec` for hex, octal, and binary numbers." msgstr "" -#: library/stdtypes.rst:5553 +#: library/stdtypes.rst:5554 #, fuzzy msgid ":class:`str` to :class:`float`." msgstr ":class:`str` 'den :class:`float` 'a." -#: library/stdtypes.rst:5554 +#: library/stdtypes.rst:5555 msgid ":class:`str` to :class:`decimal.Decimal`." msgstr "" -#: library/stdtypes.rst:5557 +#: library/stdtypes.rst:5558 msgid "Configuring the limit" msgstr "" -#: library/stdtypes.rst:5559 +#: library/stdtypes.rst:5560 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:5562 +#: library/stdtypes.rst:5563 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:5565 +#: library/stdtypes.rst:5566 msgid "" ":option:`-X int_max_str_digits <-X>`, e.g. ``python3 -X " "int_max_str_digits=640``" msgstr "" -#: library/stdtypes.rst:5567 +#: library/stdtypes.rst:5568 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 " @@ -6994,38 +7000,38 @@ msgid "" "int_info.default_max_str_digits` was used during initialization." msgstr "" -#: library/stdtypes.rst:5573 +#: library/stdtypes.rst:5574 msgid "" "From code, you can inspect the current limit and set a new one using these :" "mod:`sys` APIs:" msgstr "" -#: library/stdtypes.rst:5576 +#: library/stdtypes.rst:5577 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:5580 +#: library/stdtypes.rst:5581 msgid "" "Information about the default and minimum can be found in :attr:`sys." "int_info`:" msgstr "" -#: library/stdtypes.rst:5582 +#: library/stdtypes.rst:5583 msgid "" ":data:`sys.int_info.default_max_str_digits ` is the compiled-" "in default limit." msgstr "" -#: library/stdtypes.rst:5584 +#: library/stdtypes.rst:5585 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:5591 +#: library/stdtypes.rst:5592 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 " @@ -7037,7 +7043,7 @@ msgid "" "constants is to convert them to ``0x`` hexadecimal form as it has no limit." msgstr "" -#: library/stdtypes.rst:5600 +#: library/stdtypes.rst:5601 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 " @@ -7045,11 +7051,11 @@ msgid "" "to precompile ``.py`` sources to ``.pyc`` files." msgstr "" -#: library/stdtypes.rst:5606 +#: library/stdtypes.rst:5607 msgid "Recommended configuration" msgstr "" -#: library/stdtypes.rst:5608 +#: library/stdtypes.rst:5609 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 " @@ -7057,19 +7063,19 @@ msgid "" "as these APIs were added in security patch releases in versions before 3.11." msgstr "" -#: library/stdtypes.rst:5613 +#: library/stdtypes.rst:5614 msgid "Example::" msgstr "Örnek::" -#: library/stdtypes.rst:5625 +#: library/stdtypes.rst:5626 msgid "If you need to disable it entirely, set it to ``0``." msgstr "" -#: library/stdtypes.rst:5629 +#: library/stdtypes.rst:5630 msgid "Footnotes" msgstr "Dipnotlar" -#: library/stdtypes.rst:5630 +#: library/stdtypes.rst:5631 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -7077,7 +7083,7 @@ msgstr "" "Bu özel yöntemler hakkında daha fazla bilgi Python Referans El Kitabında (:" "ref:`customization`) bulunabilir." -#: library/stdtypes.rst:5633 +#: library/stdtypes.rst:5634 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -7085,12 +7091,12 @@ msgstr "" "Sonuç olarak, ``[1, 2]`` listesi ``[1.0, 2.0]`` ve benzer şekilde demetler " "için eşit kabul edilir." -#: library/stdtypes.rst:5636 +#: library/stdtypes.rst:5637 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:5638 +#: library/stdtypes.rst:5639 msgid "" "Cased characters are those with general category property being one of " "\"Lu\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -7100,7 +7106,7 @@ msgstr "" "\"Ll\" (Harf, küçük harf) veya \"Lt\" (Harf, başlık) karakterlerinden biri " "olan karakterlerdir." -#: library/stdtypes.rst:5641 +#: library/stdtypes.rst:5642 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." @@ -7108,6 +7114,759 @@ msgstr "" "Bu nedenle, yalnızca bir tuple(demet) biçimlendirmek için, tek öğesi " "biçimlendirilecek tuple(demet) olan tek bir tuple(demet) sağlamanız gerekir." +#: library/stdtypes.rst:13 +#, fuzzy +msgid "built-in" +msgstr "Gömülü Türler" + +#: library/stdtypes.rst:315 library/stdtypes.rst:907 library/stdtypes.rst:1096 +#: library/stdtypes.rst:4369 library/stdtypes.rst:5326 +msgid "types" +msgstr "" + +#: library/stdtypes.rst:1111 library/stdtypes.rst:4369 +msgid "statement" +msgstr "" + +#: library/stdtypes.rst:34 +msgid "if" +msgstr "" + +#: library/stdtypes.rst:34 +msgid "while" +msgstr "" + +#: library/stdtypes.rst:34 +msgid "truth" +msgstr "" + +#: library/stdtypes.rst:34 +msgid "value" +msgstr "" + +#: library/stdtypes.rst:80 library/stdtypes.rst:5390 +#, fuzzy +msgid "Boolean" +msgstr "Boolean Değerleri" + +#: library/stdtypes.rst:80 library/stdtypes.rst:390 +#, fuzzy +msgid "operations" +msgstr "İşlem" + +#: library/stdtypes.rst:34 +msgid "false" +msgstr "" + +#: library/stdtypes.rst:44 +msgid "true" +msgstr "" + +#: library/stdtypes.rst:51 +msgid "None (Built-in object)" +msgstr "" + +#: library/stdtypes.rst:51 +msgid "False (Built-in object)" +msgstr "" + +#: library/stdtypes.rst:97 library/stdtypes.rst:194 library/stdtypes.rst:390 +#: library/stdtypes.rst:907 +#, fuzzy +msgid "operator" +msgstr "İşlem" + +#: library/stdtypes.rst:97 +msgid "or" +msgstr "" + +#: library/stdtypes.rst:97 +msgid "and" +msgstr "" + +#: library/stdtypes.rst:5390 +msgid "False" +msgstr "" + +#: library/stdtypes.rst:5390 +msgid "True" +msgstr "" + +#: library/stdtypes.rst:97 +msgid "not" +msgstr "" + +#: library/stdtypes.rst:122 +#, fuzzy +msgid "chaining" +msgstr "Anlamı" + +#: library/stdtypes.rst:122 +#, fuzzy +msgid "comparisons" +msgstr "Karşılaştırmalar" + +#: library/stdtypes.rst:122 +#, fuzzy +msgid "comparison" +msgstr "Karşılaştırmalar" + +#: library/stdtypes.rst:122 +msgid "==" +msgstr "" + +#: library/stdtypes.rst:122 +msgid "< (less)" +msgstr "" + +#: library/stdtypes.rst:122 +msgid "<=" +msgstr "" + +#: library/stdtypes.rst:122 +msgid "> (greater)" +msgstr "" + +#: library/stdtypes.rst:122 +msgid ">=" +msgstr "" + +#: library/stdtypes.rst:122 +msgid "!=" +msgstr "" + +#: library/stdtypes.rst:122 +msgid "is" +msgstr "" + +#: library/stdtypes.rst:122 +#, fuzzy +msgid "is not" +msgstr "``is not``" + +#: library/stdtypes.rst:207 library/stdtypes.rst:1074 library/stdtypes.rst:1216 +#: library/stdtypes.rst:1339 library/stdtypes.rst:1497 +#: library/stdtypes.rst:2485 library/stdtypes.rst:4168 +#: library/stdtypes.rst:4838 library/stdtypes.rst:5251 +#: library/stdtypes.rst:5290 +#, fuzzy +msgid "object" +msgstr "Kod Nesneleri" + +#: library/stdtypes.rst:207 library/stdtypes.rst:315 library/stdtypes.rst:332 +msgid "numeric" +msgstr "" + +#: library/stdtypes.rst:162 +#, fuzzy +msgid "objects" +msgstr "Kod Nesneleri" + +#: library/stdtypes.rst:162 +#, fuzzy +msgid "comparing" +msgstr "Karşılaştırmalar" + +#: library/stdtypes.rst:172 +msgid "__eq__() (instance method)" +msgstr "" + +#: library/stdtypes.rst:172 +msgid "__ne__() (instance method)" +msgstr "" + +#: library/stdtypes.rst:172 +msgid "__lt__() (instance method)" +msgstr "" + +#: library/stdtypes.rst:172 +msgid "__le__() (instance method)" +msgstr "" + +#: library/stdtypes.rst:172 +msgid "__gt__() (instance method)" +msgstr "" + +#: library/stdtypes.rst:172 +msgid "__ge__() (instance method)" +msgstr "" + +#: library/stdtypes.rst:907 +msgid "in" +msgstr "" + +#: library/stdtypes.rst:907 +#, fuzzy +msgid "not in" +msgstr "``x not in s``" + +#: library/stdtypes.rst:228 library/stdtypes.rst:390 +msgid "integer" +msgstr "" + +#: library/stdtypes.rst:228 +#, fuzzy +msgid "floating point" +msgstr "*x* 'in gerçel sayıya (float) dönüştürülmüş hali" + +#: library/stdtypes.rst:228 +msgid "complex number" +msgstr "" + +#: library/stdtypes.rst:207 +msgid "C" +msgstr "" + +#: library/stdtypes.rst:207 +msgid "language" +msgstr "" + +#: library/stdtypes.rst:228 +msgid "literals" +msgstr "" + +#: library/stdtypes.rst:228 +msgid "hexadecimal" +msgstr "" + +#: library/stdtypes.rst:228 +msgid "octal" +msgstr "" + +#: library/stdtypes.rst:228 +msgid "binary" +msgstr "" + +#: library/stdtypes.rst:245 +msgid "arithmetic" +msgstr "" + +#: library/stdtypes.rst:907 library/stdtypes.rst:4369 library/stdtypes.rst:5311 +#: library/stdtypes.rst:5326 +msgid "built-in function" +msgstr "" + +#: library/stdtypes.rst:245 +msgid "int" +msgstr "" + +#: library/stdtypes.rst:245 +msgid "float" +msgstr "" + +#: library/stdtypes.rst:245 +#, fuzzy +msgid "complex" +msgstr ":func:`complex`" + +#: library/stdtypes.rst:2342 library/stdtypes.rst:3560 +msgid "+ (plus)" +msgstr "" + +#: library/stdtypes.rst:245 +#, fuzzy +msgid "unary operator" +msgstr "Grup Ayırıcı" + +#: library/stdtypes.rst:245 +#, fuzzy +msgid "binary operator" +msgstr "Satır Ayrıcı" + +#: library/stdtypes.rst:2342 library/stdtypes.rst:3560 +msgid "- (minus)" +msgstr "" + +#: library/stdtypes.rst:2299 library/stdtypes.rst:3517 +msgid "* (asterisk)" +msgstr "" + +#: library/stdtypes.rst:245 +msgid "/ (slash)" +msgstr "" + +#: library/stdtypes.rst:245 +msgid "//" +msgstr "" + +#: library/stdtypes.rst:2269 library/stdtypes.rst:3485 +msgid "% (percent)" +msgstr "" + +#: library/stdtypes.rst:245 +msgid "**" +msgstr "" + +#: library/stdtypes.rst:390 library/stdtypes.rst:1111 library/stdtypes.rst:4369 +#, fuzzy +msgid "operations on" +msgstr "İşlem" + +#: library/stdtypes.rst:315 +#, fuzzy +msgid "conjugate() (complex number method)" +msgstr "*c* karmaşık sayısının eşleniği" + +#: library/stdtypes.rst:1563 library/stdtypes.rst:5326 +#, fuzzy +msgid "module" +msgstr "Modüller" + +#: library/stdtypes.rst:332 +msgid "math" +msgstr "" + +#: library/stdtypes.rst:332 +msgid "floor() (in module math)" +msgstr "" + +#: library/stdtypes.rst:332 +msgid "ceil() (in module math)" +msgstr "" + +#: library/stdtypes.rst:332 +msgid "trunc() (in module math)" +msgstr "" + +#: library/stdtypes.rst:332 +msgid "conversions" +msgstr "" + +#: library/stdtypes.rst:390 +msgid "bitwise" +msgstr "" + +#: library/stdtypes.rst:390 +msgid "shifting" +msgstr "" + +#: library/stdtypes.rst:390 +msgid "masking" +msgstr "" + +#: library/stdtypes.rst:390 +msgid "| (vertical bar)" +msgstr "" + +#: library/stdtypes.rst:390 +msgid "^ (caret)" +msgstr "" + +#: library/stdtypes.rst:390 +msgid "& (ampersand)" +msgstr "" + +#: library/stdtypes.rst:390 +msgid "<<" +msgstr "" + +#: library/stdtypes.rst:390 +msgid ">>" +msgstr "" + +#: library/stdtypes.rst:390 +msgid "~ (tilde)" +msgstr "" + +#: library/stdtypes.rst:804 +msgid "iterator protocol" +msgstr "" + +#: library/stdtypes.rst:4753 +msgid "protocol" +msgstr "" + +#: library/stdtypes.rst:804 +#, fuzzy +msgid "iterator" +msgstr "Yineleyici Türleri" + +#: library/stdtypes.rst:891 library/stdtypes.rst:1074 library/stdtypes.rst:1111 +msgid "sequence" +msgstr "" + +#: library/stdtypes.rst:804 +#, fuzzy +msgid "iteration" +msgstr "İşlem" + +#: library/stdtypes.rst:804 +msgid "container" +msgstr "" + +#: library/stdtypes.rst:804 +#, fuzzy +msgid "iteration over" +msgstr "İşlem" + +#: library/stdtypes.rst:4369 +msgid "len" +msgstr "" + +#: library/stdtypes.rst:907 +msgid "min" +msgstr "" + +#: library/stdtypes.rst:907 +msgid "max" +msgstr "" + +#: library/stdtypes.rst:907 +msgid "concatenation" +msgstr "" + +#: library/stdtypes.rst:907 +#, fuzzy +msgid "operation" +msgstr "İşlem" + +#: library/stdtypes.rst:907 +#, fuzzy +msgid "repetition" +msgstr "Temsil" + +#: library/stdtypes.rst:1111 +#, fuzzy +msgid "subscript" +msgstr "Açıklama" + +#: library/stdtypes.rst:1111 +msgid "slice" +msgstr "" + +#: library/stdtypes.rst:907 +msgid "count() (sequence method)" +msgstr "" + +#: library/stdtypes.rst:907 +msgid "index() (sequence method)" +msgstr "" + +#: library/stdtypes.rst:963 +msgid "loop" +msgstr "" + +#: library/stdtypes.rst:963 +#, fuzzy +msgid "over mutable sequence" +msgstr "Değiştirilemez Dizi Tipleri" + +#: library/stdtypes.rst:963 +#, fuzzy +msgid "mutable sequence" +msgstr "Değiştirilemez Dizi Tipleri" + +#: library/stdtypes.rst:963 +msgid "loop over" +msgstr "" + +#: library/stdtypes.rst:1074 +msgid "immutable" +msgstr "" + +#: library/stdtypes.rst:1295 +#, fuzzy +msgid "tuple" +msgstr "Demetler" + +#: library/stdtypes.rst:1074 +msgid "hash" +msgstr "" + +#: library/stdtypes.rst:1096 +msgid "mutable" +msgstr "" + +#: library/stdtypes.rst:1111 library/stdtypes.rst:1216 +msgid "list" +msgstr "" + +#: library/stdtypes.rst:2466 library/stdtypes.rst:2664 +#: library/stdtypes.rst:3485 +msgid "bytearray" +msgstr "" + +#: library/stdtypes.rst:4369 library/stdtypes.rst:5326 +msgid "type" +msgstr "" + +#: library/stdtypes.rst:1111 +msgid "assignment" +msgstr "" + +#: library/stdtypes.rst:4369 +msgid "del" +msgstr "" + +#: library/stdtypes.rst:1111 +msgid "append() (sequence method)" +msgstr "" + +#: library/stdtypes.rst:1111 +msgid "clear() (sequence method)" +msgstr "" + +#: library/stdtypes.rst:1111 +msgid "copy() (sequence method)" +msgstr "" + +#: library/stdtypes.rst:1111 +msgid "extend() (sequence method)" +msgstr "" + +#: library/stdtypes.rst:1111 +msgid "insert() (sequence method)" +msgstr "" + +#: library/stdtypes.rst:1111 +msgid "pop() (sequence method)" +msgstr "" + +#: library/stdtypes.rst:1111 +msgid "remove() (sequence method)" +msgstr "" + +#: library/stdtypes.rst:1111 +msgid "reverse() (sequence method)" +msgstr "" + +#: library/stdtypes.rst:1339 +#, fuzzy +msgid "range" +msgstr "Aralıklar" + +#: library/stdtypes.rst:1510 library/stdtypes.rst:2269 +msgid "string" +msgstr "" + +#: library/stdtypes.rst:1461 +#, fuzzy +msgid "text sequence type" +msgstr "Değiştirilebilir Dizi Tipleri" + +#: library/stdtypes.rst:1510 library/stdtypes.rst:1528 +#, fuzzy +msgid "str (built-in class)" +msgstr "Diğer Yerleşik Tipler" + +#: library/stdtypes.rst:1461 +msgid "(see also string)" +msgstr "" + +#: library/stdtypes.rst:1497 +msgid "io.StringIO" +msgstr "" + +#: library/stdtypes.rst:2458 +msgid "buffer protocol" +msgstr "" + +#: library/stdtypes.rst:2466 library/stdtypes.rst:2664 +#: library/stdtypes.rst:3485 +msgid "bytes" +msgstr "" + +#: library/stdtypes.rst:2664 +#, fuzzy +msgid "methods" +msgstr "Yöntemler" + +#: library/stdtypes.rst:1563 +msgid "re" +msgstr "" + +#: library/stdtypes.rst:3339 +msgid "universal newlines" +msgstr "" + +#: library/stdtypes.rst:2078 +msgid "str.splitlines method" +msgstr "" + +#: library/stdtypes.rst:2269 +msgid "formatting, string (%)" +msgstr "" + +#: library/stdtypes.rst:2269 +msgid "interpolation, string (%)" +msgstr "" + +#: library/stdtypes.rst:2269 +msgid "formatting, printf" +msgstr "" + +#: library/stdtypes.rst:2269 +msgid "interpolation, printf" +msgstr "" + +#: library/stdtypes.rst:3485 +msgid "printf-style formatting" +msgstr "" + +#: library/stdtypes.rst:3485 +msgid "sprintf-style formatting" +msgstr "" + +#: library/stdtypes.rst:3517 +msgid "() (parentheses)" +msgstr "" + +#: library/stdtypes.rst:2342 library/stdtypes.rst:3560 +msgid "in printf-style formatting" +msgstr "" + +#: library/stdtypes.rst:3517 +msgid ". (dot)" +msgstr "" + +#: library/stdtypes.rst:3560 +msgid "# (hash)" +msgstr "" + +#: library/stdtypes.rst:3560 +msgid "space" +msgstr "" + +#: library/stdtypes.rst:2458 +#, fuzzy +msgid "binary sequence types" +msgstr "Değiştirilebilir Dizi Tipleri" + +#: library/stdtypes.rst:2466 +msgid "memoryview" +msgstr "" + +#: library/stdtypes.rst:2466 +msgid "array" +msgstr "" + +#: library/stdtypes.rst:3339 +msgid "bytes.splitlines method" +msgstr "" + +#: library/stdtypes.rst:3339 +msgid "bytearray.splitlines method" +msgstr "" + +#: library/stdtypes.rst:3485 +msgid "formatting" +msgstr "" + +#: library/stdtypes.rst:3485 +msgid "bytes (%)" +msgstr "" + +#: library/stdtypes.rst:3485 +msgid "bytearray (%)" +msgstr "" + +#: library/stdtypes.rst:3485 +#, fuzzy +msgid "interpolation" +msgstr "Satır Tablolama" + +#: library/stdtypes.rst:4168 +msgid "set" +msgstr "" + +#: library/stdtypes.rst:4369 +msgid "mapping" +msgstr "" + +#: library/stdtypes.rst:4369 +msgid "dictionary" +msgstr "" + +#: library/stdtypes.rst:4452 +msgid "__missing__()" +msgstr "" + +#: library/stdtypes.rst:4753 +#, fuzzy +msgid "context manager" +msgstr "Bağlam Yöneticisi Türleri" + +#: library/stdtypes.rst:4753 +msgid "context management protocol" +msgstr "" + +#: library/stdtypes.rst:4753 +#, fuzzy +msgid "context management" +msgstr "Bağlam Yöneticisi Türleri" + +#: library/stdtypes.rst:4826 +msgid "annotation" +msgstr "" + +#: library/stdtypes.rst:4826 +msgid "type annotation; type hint" +msgstr "" + +#: library/stdtypes.rst:4838 +#, fuzzy +msgid "GenericAlias" +msgstr "Genel Takma Ad Türü" + +#: library/stdtypes.rst:4838 +msgid "Generic" +msgstr "" + +#: library/stdtypes.rst:4838 +msgid "Alias" +msgstr "" + +#: library/stdtypes.rst:5093 +#, fuzzy +msgid "Union" +msgstr "Sendika Türü" + +#: library/stdtypes.rst:5093 +msgid "union" +msgstr "" + +#: library/stdtypes.rst:5251 +#, fuzzy +msgid "method" +msgstr "Yöntemler" + +#: library/stdtypes.rst:5290 +msgid "code" +msgstr "" + +#: library/stdtypes.rst:5290 +#, fuzzy +msgid "code object" +msgstr "Kod Nesneleri" + +#: library/stdtypes.rst:5297 +msgid "compile" +msgstr "" + +#: library/stdtypes.rst:5297 +msgid "__code__ (function object attribute)" +msgstr "" + +#: library/stdtypes.rst:5311 +msgid "exec" +msgstr "" + +#: library/stdtypes.rst:5311 +msgid "eval" +msgstr "" + +#: library/stdtypes.rst:5350 +msgid "..." +msgstr "" + +#: library/stdtypes.rst:5350 +msgid "ellipsis literal" +msgstr "" + +#: library/stdtypes.rst:5390 +msgid "values" +msgstr "" + #~ msgid "if *x* is false, then *y*, else *x*" #~ msgstr "*x* yanlışsa, *y*, aksi halde *x*" diff --git a/library/string.po b/library/string.po index 5587f36d6..c213fb87f 100644 --- a/library/string.po +++ b/library/string.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1109,3 +1109,76 @@ msgid "" "trailing whitespace are removed, otherwise *sep* is used to split and join " "the words." msgstr "" + +#: library/string.rst:195 +msgid "{} (curly brackets)" +msgstr "" + +#: library/string.rst:333 library/string.rst:384 library/string.rst:407 +#: library/string.rst:416 +msgid "in string formatting" +msgstr "" + +#: library/string.rst:195 +msgid ". (dot)" +msgstr "" + +#: library/string.rst:195 +msgid "[] (square brackets)" +msgstr "" + +#: library/string.rst:195 +msgid "! (exclamation)" +msgstr "" + +#: library/string.rst:195 +msgid ": (colon)" +msgstr "" + +#: library/string.rst:333 +msgid "< (less)" +msgstr "" + +#: library/string.rst:333 +msgid "> (greater)" +msgstr "" + +#: library/string.rst:333 +msgid "= (equals)" +msgstr "" + +#: library/string.rst:333 +msgid "^ (caret)" +msgstr "" + +#: library/string.rst:365 +msgid "+ (plus)" +msgstr "" + +#: library/string.rst:365 +msgid "- (minus)" +msgstr "" + +#: library/string.rst:384 +msgid "z" +msgstr "" + +#: library/string.rst:393 +msgid "# (hash)" +msgstr "" + +#: library/string.rst:407 +msgid ", (comma)" +msgstr "" + +#: library/string.rst:416 +msgid "_ (underscore)" +msgstr "" + +#: library/string.rst:744 +msgid "$ (dollar)" +msgstr "" + +#: library/string.rst:744 +msgid "in template strings" +msgstr "" diff --git a/library/struct.po b/library/struct.po index 3fd11605f..b9ddd2ea4 100644 --- a/library/struct.po +++ b/library/struct.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -909,3 +909,51 @@ msgid "" "The calculated size of the struct (and hence of the bytes object produced by " "the :meth:`pack` method) corresponding to :attr:`format`." msgstr "" + +#: library/struct.rst:9 +msgid "C" +msgstr "" + +#: library/struct.rst:9 +msgid "structures" +msgstr "" + +#: library/struct.rst:9 +msgid "packing" +msgstr "" + +#: library/struct.rst:9 +msgid "binary" +msgstr "" + +#: library/struct.rst:9 +msgid "data" +msgstr "" + +#: library/struct.rst:132 +msgid "@ (at)" +msgstr "" + +#: library/struct.rst:261 library/struct.rst:348 +msgid "in struct format strings" +msgstr "" + +#: library/struct.rst:132 +msgid "= (equals)" +msgstr "" + +#: library/struct.rst:132 +msgid "< (less)" +msgstr "" + +#: library/struct.rst:132 +msgid "> (greater)" +msgstr "" + +#: library/struct.rst:132 +msgid "! (exclamation)" +msgstr "" + +#: library/struct.rst:348 +msgid "? (question mark)" +msgstr "" diff --git a/library/subprocess.po b/library/subprocess.po index 784b2ffb6..e79e9db12 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -147,8 +147,8 @@ msgid "" "*universal_newlines*. Added the *capture_output* parameter." msgstr "" -#: library/subprocess.rst:501 library/subprocess.rst:1221 -#: library/subprocess.rst:1284 +#: library/subprocess.rst:501 library/subprocess.rst:1224 +#: library/subprocess.rst:1287 msgid "" "Changed Windows shell search order for ``shell=True``. The current directory " "and ``%PATH%`` are replaced with ``%COMSPEC%`` and ``%SystemRoot%" @@ -172,7 +172,7 @@ msgid "" "that it ran successfully." msgstr "" -#: library/subprocess.rst:928 +#: library/subprocess.rst:931 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:1279 +#: library/subprocess.rst:1282 msgid "*text* was added as a more readable alias for *universal_newlines*." msgstr "" @@ -1009,8 +1009,8 @@ msgid "" "`asyncio.create_subprocess_exec`." msgstr "" -#: library/subprocess.rst:838 library/subprocess.rst:1216 -#: library/subprocess.rst:1270 +#: library/subprocess.rst:838 library/subprocess.rst:1219 +#: library/subprocess.rst:1273 msgid "*timeout* was added." msgstr "" @@ -1147,22 +1147,28 @@ msgstr "" #: library/subprocess.rst:924 msgid "" -"The child return code, set by :meth:`poll` and :meth:`wait` (and indirectly " -"by :meth:`communicate`). A ``None`` value indicates that the process hasn't " -"terminated yet." +"The child return code. Initially ``None``, :attr:`returncode` is set by a " +"call to the :meth:`poll`, :meth:`wait`, or :meth:`communicate` methods if " +"they detect that the process has terminated." +msgstr "" + +#: library/subprocess.rst:928 +msgid "" +"A ``None`` value indicates that the process hadn't yet terminated at the " +"time of the last method call." msgstr "" -#: library/subprocess.rst:933 +#: library/subprocess.rst:936 msgid "Windows Popen Helpers" msgstr "" -#: library/subprocess.rst:935 +#: library/subprocess.rst:938 msgid "" "The :class:`STARTUPINFO` class and following constants are only available on " "Windows." msgstr "" -#: library/subprocess.rst:941 +#: library/subprocess.rst:944 msgid "" "Partial support of the Windows `STARTUPINFO `__ structure is used for :class:`Popen` " @@ -1170,38 +1176,38 @@ msgid "" "only arguments." msgstr "" -#: library/subprocess.rst:946 +#: library/subprocess.rst:949 msgid "Keyword-only argument support was added." msgstr "" -#: library/subprocess.rst:951 +#: library/subprocess.rst:954 msgid "" "A bit field that determines whether certain :class:`STARTUPINFO` attributes " "are used when the process creates a window. ::" msgstr "" -#: library/subprocess.rst:959 +#: library/subprocess.rst:962 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:966 +#: library/subprocess.rst:969 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:973 +#: library/subprocess.rst:976 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:979 +#: library/subprocess.rst:982 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this attribute " "can be any of the values that can be specified in the ``nCmdShow`` parameter " @@ -1210,34 +1216,34 @@ msgid "" "Otherwise, this attribute is ignored." msgstr "" -#: library/subprocess.rst:986 +#: library/subprocess.rst:989 msgid "" ":data:`SW_HIDE` is provided for this attribute. It is used when :class:" "`Popen` is called with ``shell=True``." msgstr "" -#: library/subprocess.rst:991 +#: library/subprocess.rst:994 msgid "" "A dictionary of additional attributes for process creation as given in " "``STARTUPINFOEX``, see `UpdateProcThreadAttribute `__." msgstr "" -#: library/subprocess.rst:995 +#: library/subprocess.rst:998 msgid "Supported attributes:" msgstr "" -#: library/subprocess.rst:1013 +#: library/subprocess.rst:1016 msgid "**handle_list**" msgstr "" -#: library/subprocess.rst:998 +#: library/subprocess.rst:1001 msgid "" "Sequence of handles that will be inherited. *close_fds* must be true if non-" "empty." msgstr "" -#: library/subprocess.rst:1001 +#: library/subprocess.rst:1004 msgid "" "The handles must be temporarily made inheritable by :func:`os." "set_handle_inheritable` when passed to the :class:`Popen` constructor, else :" @@ -1245,7 +1251,7 @@ msgid "" "``ERROR_INVALID_PARAMETER`` (87)." msgstr "" -#: library/subprocess.rst:1008 +#: library/subprocess.rst:1011 msgid "" "In a multithreaded process, use caution to avoid leaking handles that are " "marked inheritable when combining this feature with concurrent calls to " @@ -1254,97 +1260,97 @@ msgid "" "temporarily creates inheritable handles." msgstr "" -#: library/subprocess.rst:1018 +#: library/subprocess.rst:1021 msgid "Windows Constants" msgstr "" -#: library/subprocess.rst:1020 +#: library/subprocess.rst:1023 msgid "The :mod:`subprocess` module exposes the following constants." msgstr "" -#: library/subprocess.rst:1024 +#: library/subprocess.rst:1027 msgid "" "The standard input device. Initially, this is the console input buffer, " "``CONIN$``." msgstr "" -#: library/subprocess.rst:1029 +#: library/subprocess.rst:1032 msgid "" "The standard output device. Initially, this is the active console screen " "buffer, ``CONOUT$``." msgstr "" -#: library/subprocess.rst:1034 +#: library/subprocess.rst:1037 msgid "" "The standard error device. Initially, this is the active console screen " "buffer, ``CONOUT$``." msgstr "" -#: library/subprocess.rst:1039 +#: library/subprocess.rst:1042 msgid "Hides the window. Another window will be activated." msgstr "" -#: library/subprocess.rst:1043 +#: library/subprocess.rst:1046 msgid "" "Specifies that the :attr:`STARTUPINFO.hStdInput`, :attr:`STARTUPINFO." "hStdOutput`, and :attr:`STARTUPINFO.hStdError` attributes contain additional " "information." msgstr "" -#: library/subprocess.rst:1049 +#: library/subprocess.rst:1052 msgid "" "Specifies that the :attr:`STARTUPINFO.wShowWindow` attribute contains " "additional information." msgstr "" -#: library/subprocess.rst:1054 +#: library/subprocess.rst:1057 msgid "" "The new process has a new console, instead of inheriting its parent's " "console (the default)." msgstr "" -#: library/subprocess.rst:1059 +#: library/subprocess.rst:1062 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:1063 +#: library/subprocess.rst:1066 msgid "This flag is ignored if :data:`CREATE_NEW_CONSOLE` is specified." msgstr "" -#: library/subprocess.rst:1067 +#: library/subprocess.rst:1070 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an above average priority." msgstr "" -#: library/subprocess.rst:1074 +#: library/subprocess.rst:1077 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have a below average priority." msgstr "" -#: library/subprocess.rst:1081 +#: library/subprocess.rst:1084 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have a high priority." msgstr "" -#: library/subprocess.rst:1088 +#: library/subprocess.rst:1091 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an idle (lowest) priority." msgstr "" -#: library/subprocess.rst:1095 +#: library/subprocess.rst:1098 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an normal priority. (default)" msgstr "" -#: library/subprocess.rst:1102 +#: library/subprocess.rst:1105 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have realtime priority. You should almost never use " @@ -1354,20 +1360,20 @@ msgid "" "perform brief tasks that should have limited interruptions." msgstr "" -#: library/subprocess.rst:1113 +#: library/subprocess.rst:1116 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will not create a window." msgstr "" -#: library/subprocess.rst:1120 +#: library/subprocess.rst:1123 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:1128 +#: library/subprocess.rst:1131 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 " @@ -1375,39 +1381,39 @@ msgid "" "multithreaded shell applications that run with hard errors disabled." msgstr "" -#: library/subprocess.rst:1138 +#: library/subprocess.rst:1141 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "is not associated with the job." msgstr "" -#: library/subprocess.rst:1146 +#: library/subprocess.rst:1149 msgid "Older high-level API" msgstr "" -#: library/subprocess.rst:1148 +#: library/subprocess.rst:1151 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:1155 +#: library/subprocess.rst:1158 msgid "" "Run the command described by *args*. Wait for command to complete, then " "return the :attr:`~Popen.returncode` attribute." msgstr "" -#: library/subprocess.rst:1198 +#: library/subprocess.rst:1201 msgid "" "Code needing to capture stdout or stderr should use :func:`run` instead::" msgstr "" -#: library/subprocess.rst:1202 +#: library/subprocess.rst:1205 msgid "To suppress stdout or stderr, supply a value of :data:`DEVNULL`." msgstr "" -#: library/subprocess.rst:1204 +#: library/subprocess.rst:1207 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 " @@ -1415,14 +1421,14 @@ msgid "" "to that interface." msgstr "" -#: library/subprocess.rst:1211 +#: library/subprocess.rst:1214 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:1191 +#: library/subprocess.rst:1194 msgid "" "Run command with arguments. Wait for command to complete. If the return " "code was zero then return, otherwise raise :exc:`CalledProcessError`. The :" @@ -1431,11 +1437,11 @@ msgid "" "to start the process it will propagate the exception that was raised." msgstr "" -#: library/subprocess.rst:1233 +#: library/subprocess.rst:1236 msgid "Run command with arguments and return its output." msgstr "" -#: library/subprocess.rst:1235 +#: library/subprocess.rst:1238 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:" @@ -1443,11 +1449,11 @@ msgid "" "`~CalledProcessError.output` attribute." msgstr "" -#: library/subprocess.rst:1240 +#: library/subprocess.rst:1243 msgid "This is equivalent to::" msgstr "" -#: library/subprocess.rst:1244 +#: library/subprocess.rst:1247 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 " @@ -1457,52 +1463,52 @@ msgid "" "using the parent's standard input file handle." msgstr "" -#: library/subprocess.rst:1251 +#: library/subprocess.rst:1254 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:1255 +#: library/subprocess.rst:1258 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:1259 +#: library/subprocess.rst:1262 msgid "" "To also capture standard error in the result, use ``stderr=subprocess." "STDOUT``::" msgstr "" -#: library/subprocess.rst:1273 +#: library/subprocess.rst:1276 msgid "Support for the *input* keyword argument was added." msgstr "" -#: library/subprocess.rst:1276 +#: library/subprocess.rst:1279 msgid "*encoding* and *errors* were added. See :func:`run` for details." msgstr "" -#: library/subprocess.rst:1294 +#: library/subprocess.rst:1297 msgid "Replacing Older Functions with the :mod:`subprocess` Module" msgstr "" -#: library/subprocess.rst:1296 +#: library/subprocess.rst:1299 msgid "" "In this section, \"a becomes b\" means that b can be used as a replacement " "for a." msgstr "" -#: library/subprocess.rst:1300 +#: library/subprocess.rst:1303 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:1304 +#: library/subprocess.rst:1307 msgid "" "In addition, the replacements using :func:`check_output` will fail with a :" "exc:`CalledProcessError` if the requested operation produces a non-zero " @@ -1510,133 +1516,133 @@ msgid "" "output` attribute of the raised exception." msgstr "" -#: library/subprocess.rst:1309 +#: library/subprocess.rst:1312 msgid "" "In the following examples, we assume that the relevant functions have " "already been imported from the :mod:`subprocess` module." msgstr "" -#: library/subprocess.rst:1314 +#: library/subprocess.rst:1317 msgid "Replacing :program:`/bin/sh` shell command substitution" msgstr "" -#: library/subprocess.rst:1331 library/subprocess.rst:1348 +#: library/subprocess.rst:1334 library/subprocess.rst:1351 msgid "becomes::" msgstr "" -#: library/subprocess.rst:1325 +#: library/subprocess.rst:1328 msgid "Replacing shell pipeline" msgstr "" -#: library/subprocess.rst:1338 +#: library/subprocess.rst:1341 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:1341 +#: library/subprocess.rst:1344 msgid "" "Alternatively, for trusted input, the shell's own pipeline support may still " "be used directly:" msgstr "" -#: library/subprocess.rst:1354 +#: library/subprocess.rst:1357 msgid "Replacing :func:`os.system`" msgstr "" -#: library/subprocess.rst:1362 +#: library/subprocess.rst:1365 msgid "Notes:" msgstr "" -#: library/subprocess.rst:1364 +#: library/subprocess.rst:1367 msgid "Calling the program through the shell is usually not required." msgstr "" -#: library/subprocess.rst:1365 +#: library/subprocess.rst:1368 msgid "" "The :func:`call` return value is encoded differently to that of :func:`os." "system`." msgstr "" -#: library/subprocess.rst:1368 +#: library/subprocess.rst:1371 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:1372 +#: library/subprocess.rst:1375 msgid "A more realistic example would look like this::" msgstr "" -#: library/subprocess.rst:1385 +#: library/subprocess.rst:1388 msgid "Replacing the :func:`os.spawn ` family" msgstr "" -#: library/subprocess.rst:1387 +#: library/subprocess.rst:1390 msgid "P_NOWAIT example::" msgstr "" -#: library/subprocess.rst:1393 +#: library/subprocess.rst:1396 msgid "P_WAIT example::" msgstr "" -#: library/subprocess.rst:1399 +#: library/subprocess.rst:1402 msgid "Vector example::" msgstr "" -#: library/subprocess.rst:1405 +#: library/subprocess.rst:1408 msgid "Environment example::" msgstr "" -#: library/subprocess.rst:1414 +#: library/subprocess.rst:1417 msgid "Replacing :func:`os.popen`, :func:`os.popen2`, :func:`os.popen3`" msgstr "" -#: library/subprocess.rst:1444 +#: library/subprocess.rst:1447 msgid "Return code handling translates as follows::" msgstr "" -#: library/subprocess.rst:1460 +#: library/subprocess.rst:1463 msgid "Replacing functions from the :mod:`popen2` module" msgstr "" -#: library/subprocess.rst:1464 +#: library/subprocess.rst:1467 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:1483 +#: library/subprocess.rst:1486 msgid "" ":class:`popen2.Popen3` and :class:`popen2.Popen4` basically work as :class:" "`subprocess.Popen`, except that:" msgstr "" -#: library/subprocess.rst:1486 +#: library/subprocess.rst:1489 msgid ":class:`Popen` raises an exception if the execution fails." msgstr "" -#: library/subprocess.rst:1488 +#: library/subprocess.rst:1491 msgid "The *capturestderr* argument is replaced with the *stderr* argument." msgstr "" -#: library/subprocess.rst:1490 +#: library/subprocess.rst:1493 msgid "``stdin=PIPE`` and ``stdout=PIPE`` must be specified." msgstr "" -#: library/subprocess.rst:1492 +#: library/subprocess.rst:1495 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:1498 +#: library/subprocess.rst:1501 msgid "Legacy Shell Invocation Functions" msgstr "" -#: library/subprocess.rst:1500 +#: library/subprocess.rst:1503 msgid "" "This module also provides the following legacy functions from the 2.x " "``commands`` module. These operations implicitly invoke the system shell and " @@ -1644,11 +1650,11 @@ msgid "" "handling consistency are valid for these functions." msgstr "" -#: library/subprocess.rst:1507 +#: library/subprocess.rst:1510 msgid "Return ``(exitcode, output)`` of executing *cmd* in a shell." msgstr "" -#: library/subprocess.rst:1509 +#: library/subprocess.rst:1512 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 " @@ -1656,85 +1662,85 @@ msgid "" "details." msgstr "" -#: library/subprocess.rst:1514 +#: library/subprocess.rst:1517 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:1549 +#: library/subprocess.rst:1552 msgid ":ref:`Availability `: Unix, Windows." msgstr "" -#: library/subprocess.rst:1529 +#: library/subprocess.rst:1532 msgid "Windows support was added." msgstr "" -#: library/subprocess.rst:1532 +#: library/subprocess.rst:1535 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:1554 +#: library/subprocess.rst:1557 msgid "Added *encoding* and *errors* arguments." msgstr "" -#: library/subprocess.rst:1541 +#: library/subprocess.rst:1544 msgid "Return output (stdout and stderr) of executing *cmd* in a shell." msgstr "" -#: library/subprocess.rst:1543 +#: library/subprocess.rst:1546 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:1551 +#: library/subprocess.rst:1554 msgid "Windows support added" msgstr "" -#: library/subprocess.rst:1559 +#: library/subprocess.rst:1562 msgid "Notes" msgstr "" -#: library/subprocess.rst:1564 +#: library/subprocess.rst:1567 msgid "Converting an argument sequence to a string on Windows" msgstr "" -#: library/subprocess.rst:1566 +#: library/subprocess.rst:1569 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:1570 +#: library/subprocess.rst:1573 msgid "" "Arguments are delimited by white space, which is either a space or a tab." msgstr "" -#: library/subprocess.rst:1573 +#: library/subprocess.rst:1576 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:1578 +#: library/subprocess.rst:1581 msgid "" "A double quotation mark preceded by a backslash is interpreted as a literal " "double quotation mark." msgstr "" -#: library/subprocess.rst:1581 +#: library/subprocess.rst:1584 msgid "" "Backslashes are interpreted literally, unless they immediately precede a " "double quotation mark." msgstr "" -#: library/subprocess.rst:1584 +#: library/subprocess.rst:1587 msgid "" "If backslashes immediately precede a double quotation mark, every pair of " "backslashes is interpreted as a literal backslash. If the number of " @@ -1742,33 +1748,33 @@ msgid "" "mark as described in rule 3." msgstr "" -#: library/subprocess.rst:1593 +#: library/subprocess.rst:1596 msgid ":mod:`shlex`" msgstr "" -#: library/subprocess.rst:1594 +#: library/subprocess.rst:1597 msgid "Module which provides function to parse and escape command lines." msgstr "" -#: library/subprocess.rst:1601 +#: library/subprocess.rst:1604 msgid "Disabling use of ``vfork()`` or ``posix_spawn()``" msgstr "" -#: library/subprocess.rst:1603 +#: library/subprocess.rst:1606 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:1607 +#: library/subprocess.rst:1610 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 :attr:" "`subprocess._USE_VFORK` attribute to a false value." msgstr "" -#: library/subprocess.rst:1615 +#: library/subprocess.rst:1618 msgid "" "Setting this has no impact on use of ``posix_spawn()`` which could use " "``vfork()`` internally within its libc implementation. There is a similar :" @@ -1776,25 +1782,33 @@ msgid "" "that." msgstr "" -#: library/subprocess.rst:1624 +#: library/subprocess.rst:1627 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 " "available to read. Despite their names, a true value does not indicate that " -"the corresponding function will be used, only that that it may be." +"the corresponding function will be used, only that it may be." msgstr "" -#: library/subprocess.rst:1629 +#: library/subprocess.rst:1632 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:1633 +#: library/subprocess.rst:1636 msgid "``_USE_POSIX_SPAWN``" msgstr "" -#: library/subprocess.rst:1634 +#: library/subprocess.rst:1637 msgid "``_USE_VFORK``" msgstr "" + +#: library/subprocess.rst:291 +msgid "universal newlines" +msgstr "" + +#: library/subprocess.rst:291 +msgid "subprocess module" +msgstr "" diff --git a/library/sys.po b/library/sys.po index 5ffc82341..77413ae9a 100644 --- a/library/sys.po +++ b/library/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -343,7 +343,7 @@ msgstr "" msgid "Integer specifying the handle of the Python DLL." msgstr "" -#: library/sys.rst:873 library/sys.rst:1812 +#: library/sys.rst:879 library/sys.rst:1818 msgid ":ref:`Availability `: Windows." msgstr "" @@ -388,11 +388,11 @@ msgid "" "in the future." msgstr "" -#: library/sys.rst:1020 library/sys.rst:1695 +#: library/sys.rst:1026 library/sys.rst:1701 msgid "Attribute" msgstr "" -#: library/sys.rst:1020 library/sys.rst:1695 +#: library/sys.rst:1026 library/sys.rst:1701 msgid "Explanation" msgstr "" @@ -625,7 +625,7 @@ msgid "" "The attributes are read only." msgstr "" -#: library/sys.rst:572 library/sys.rst:919 +#: library/sys.rst:572 library/sys.rst:925 msgid "attribute" msgstr "" @@ -812,16 +812,16 @@ msgstr "" msgid "float.h macro" msgstr "" -#: library/sys.rst:919 +#: library/sys.rst:925 msgid "explanation" msgstr "" #: library/sys.rst:574 -msgid ":const:`epsilon`" +msgid "``epsilon``" msgstr "" #: library/sys.rst:574 -msgid "DBL_EPSILON" +msgid "``DBL_EPSILON``" msgstr "" #: library/sys.rst:574 @@ -835,11 +835,11 @@ msgid "See also :func:`math.ulp`." msgstr "" #: library/sys.rst:579 -msgid ":const:`dig`" +msgid "``dig``" msgstr "" #: library/sys.rst:579 -msgid "DBL_DIG" +msgid "``DBL_DIG``" msgstr "" #: library/sys.rst:579 @@ -849,11 +849,11 @@ msgid "" msgstr "" #: library/sys.rst:582 -msgid ":const:`mant_dig`" +msgid "``mant_dig``" msgstr "" #: library/sys.rst:582 -msgid "DBL_MANT_DIG" +msgid "``DBL_MANT_DIG``" msgstr "" #: library/sys.rst:582 @@ -863,11 +863,11 @@ msgid "" msgstr "" #: library/sys.rst:585 -msgid ":const:`max`" +msgid "``max``" msgstr "" #: library/sys.rst:585 -msgid "DBL_MAX" +msgid "``DBL_MAX``" msgstr "" #: library/sys.rst:585 @@ -875,11 +875,11 @@ msgid "maximum representable positive finite float" msgstr "" #: library/sys.rst:587 -msgid ":const:`max_exp`" +msgid "``max_exp``" msgstr "" #: library/sys.rst:587 -msgid "DBL_MAX_EXP" +msgid "``DBL_MAX_EXP``" msgstr "" #: library/sys.rst:587 @@ -889,11 +889,11 @@ msgid "" msgstr "" #: library/sys.rst:590 -msgid ":const:`max_10_exp`" +msgid "``max_10_exp``" msgstr "" #: library/sys.rst:590 -msgid "DBL_MAX_10_EXP" +msgid "``DBL_MAX_10_EXP``" msgstr "" #: library/sys.rst:590 @@ -903,11 +903,11 @@ msgid "" msgstr "" #: library/sys.rst:593 -msgid ":const:`min`" +msgid "``min``" msgstr "" #: library/sys.rst:593 -msgid "DBL_MIN" +msgid "``DBL_MIN``" msgstr "" #: library/sys.rst:593 @@ -921,11 +921,11 @@ msgid "" msgstr "" #: library/sys.rst:599 -msgid ":const:`min_exp`" +msgid "``min_exp``" msgstr "" #: library/sys.rst:599 -msgid "DBL_MIN_EXP" +msgid "``DBL_MIN_EXP``" msgstr "" #: library/sys.rst:599 @@ -933,11 +933,11 @@ msgid "minimum integer *e* such that ``radix**(e-1)`` is a normalized float" msgstr "" #: library/sys.rst:602 -msgid ":const:`min_10_exp`" +msgid "``min_10_exp``" msgstr "" #: library/sys.rst:602 -msgid "DBL_MIN_10_EXP" +msgid "``DBL_MIN_10_EXP``" msgstr "" #: library/sys.rst:602 @@ -945,11 +945,11 @@ msgid "minimum integer *e* such that ``10**e`` is a normalized float" msgstr "" #: library/sys.rst:605 -msgid ":const:`radix`" +msgid "``radix``" msgstr "" #: library/sys.rst:605 -msgid "FLT_RADIX" +msgid "``FLT_RADIX``" msgstr "" #: library/sys.rst:605 @@ -957,22 +957,28 @@ msgid "radix of exponent representation" msgstr "" #: library/sys.rst:607 -msgid ":const:`rounds`" +msgid "``rounds``" msgstr "" #: library/sys.rst:607 -msgid "FLT_ROUNDS" +msgid "``FLT_ROUNDS``" msgstr "" #: library/sys.rst:607 msgid "" -"integer constant representing the rounding mode used for arithmetic " -"operations. This reflects the value of the system FLT_ROUNDS macro at " -"interpreter startup time. See section 5.2.4.2.2 of the C99 standard for an " -"explanation of the possible values and their meanings." +"integer representing the rounding mode for floating-point arithmetic. This " +"reflects the value of the system ``FLT_ROUNDS`` macro at interpreter startup " +"time: ``-1`` indeterminable, ``0`` toward zero, ``1`` to nearest, ``2`` " +"toward positive infinity, ``3`` toward negative infinity" +msgstr "" + +#: library/sys.rst:617 +msgid "" +"All other values for ``FLT_ROUNDS`` characterize implementation-defined " +"rounding behavior." msgstr "" -#: library/sys.rst:615 +#: library/sys.rst:621 msgid "" "The attribute :attr:`sys.float_info.dig` needs further explanation. If " "``s`` is any string representing a decimal number with at most :attr:`sys." @@ -980,13 +986,13 @@ msgid "" "back again will recover a string representing the same decimal value::" msgstr "" -#: library/sys.rst:628 +#: library/sys.rst:634 msgid "" "But for strings with more than :attr:`sys.float_info.dig` significant " "digits, this isn't always true::" msgstr "" -#: library/sys.rst:637 +#: library/sys.rst:643 msgid "" "A string indicating how the :func:`repr` function behaves for floats. If " "the string has value ``'short'`` then for a finite float ``x``, ``repr(x)`` " @@ -996,7 +1002,7 @@ msgid "" "same way as it did in versions of Python prior to 3.1." msgstr "" -#: library/sys.rst:650 +#: library/sys.rst:656 msgid "" "Return the number of memory blocks currently allocated by the interpreter, " "regardless of their size. This function is mainly useful for tracking and " @@ -1006,47 +1012,47 @@ msgid "" "results." msgstr "" -#: library/sys.rst:657 +#: library/sys.rst:663 msgid "" "If a Python build or implementation cannot reasonably compute this " "information, :func:`getallocatedblocks()` is allowed to return 0 instead." msgstr "" -#: library/sys.rst:665 +#: library/sys.rst:671 msgid "Return the build time API version of Android as an integer." msgstr "" -#: library/sys.rst:667 +#: library/sys.rst:673 msgid ":ref:`Availability `: Android." msgstr "" -#: library/sys.rst:674 +#: library/sys.rst:680 msgid "" "Return the name of the current default string encoding used by the Unicode " "implementation." msgstr "" -#: library/sys.rst:680 +#: library/sys.rst:686 msgid "" "Return the current value of the flags that are used for :c:func:`dlopen` " "calls. Symbolic names for the flag values can be found in the :mod:`os` " "module (``RTLD_xxx`` constants, e.g. :data:`os.RTLD_LAZY`)." msgstr "" -#: library/sys.rst:1341 +#: library/sys.rst:1347 msgid ":ref:`Availability `: Unix." msgstr "" -#: library/sys.rst:690 +#: library/sys.rst:696 msgid "" "Get the :term:`filesystem encoding `: " "the encoding used with the :term:`filesystem error handler ` to convert between Unicode filenames and bytes " "filenames. The filesystem error handler is returned from :func:" -"`getfilesystemencoding`." +"`getfilesystemencodeerrors`." msgstr "" -#: library/sys.rst:696 +#: library/sys.rst:702 msgid "" "For best compatibility, str should be used for filenames in all cases, " "although representing filenames as bytes is also supported. Functions " @@ -1054,13 +1060,13 @@ msgid "" "internally convert to the system's preferred representation." msgstr "" -#: library/sys.rst:729 +#: library/sys.rst:735 msgid "" ":func:`os.fsencode` and :func:`os.fsdecode` should be used to ensure that " "the correct encoding and errors mode are used." msgstr "" -#: library/sys.rst:732 +#: library/sys.rst:738 msgid "" "The :term:`filesystem encoding and error handler` are configured at Python " "startup by the :c:func:`PyConfig_Read` function: see :c:member:`~PyConfig." @@ -1068,22 +1074,22 @@ msgid "" "c:type:`PyConfig`." msgstr "" -#: library/sys.rst:709 +#: library/sys.rst:715 msgid ":func:`getfilesystemencoding` result cannot be ``None`` anymore." msgstr "" -#: library/sys.rst:712 +#: library/sys.rst:718 msgid "" "Windows is no longer guaranteed to return ``'mbcs'``. See :pep:`529` and :" "func:`_enablelegacywindowsfsencoding` for more information." msgstr "" -#: library/sys.rst:716 +#: library/sys.rst:722 msgid "" "Return ``'utf-8'`` if the :ref:`Python UTF-8 Mode ` is enabled." msgstr "" -#: library/sys.rst:723 +#: library/sys.rst:729 msgid "" "Get the :term:`filesystem error handler `: the error handler used with the :term:`filesystem encoding " @@ -1092,20 +1098,20 @@ msgid "" "func:`getfilesystemencoding`." msgstr "" -#: library/sys.rst:741 +#: library/sys.rst:747 msgid "" "Returns the current value for the :ref:`integer string conversion length " "limitation `. See also :func:`set_int_max_str_digits`." msgstr "" -#: library/sys.rst:748 +#: library/sys.rst:754 msgid "" "Return the reference count of the *object*. The count returned is generally " "one higher than you might expect, because it includes the (temporary) " "reference as an argument to :func:`getrefcount`." msgstr "" -#: library/sys.rst:755 +#: library/sys.rst:761 msgid "" "Return the current value of the recursion limit, the maximum depth of the " "Python interpreter stack. This limit prevents infinite recursion from " @@ -1113,46 +1119,46 @@ msgid "" "func:`setrecursionlimit`." msgstr "" -#: library/sys.rst:763 +#: library/sys.rst:769 msgid "" "Return the size of an object in bytes. The object can be any type of object. " "All built-in objects will return correct results, but this does not have to " "hold true for third-party extensions as it is implementation specific." msgstr "" -#: library/sys.rst:768 +#: library/sys.rst:774 msgid "" "Only the memory consumption directly attributed to the object is accounted " "for, not the memory consumption of objects it refers to." msgstr "" -#: library/sys.rst:771 +#: library/sys.rst:777 msgid "" "If given, *default* will be returned if the object does not provide means to " "retrieve the size. Otherwise a :exc:`TypeError` will be raised." msgstr "" -#: library/sys.rst:774 +#: library/sys.rst:780 msgid "" ":func:`getsizeof` calls the object's ``__sizeof__`` method and adds an " "additional garbage collector overhead if the object is managed by the " "garbage collector." msgstr "" -#: library/sys.rst:778 +#: library/sys.rst:784 msgid "" -"See `recursive sizeof recipe `_ " -"for an example of using :func:`getsizeof` recursively to find the size of " -"containers and all their contents." +"See `recursive sizeof recipe `_ for an example of using :func:`getsizeof` recursively to find the size " +"of containers and all their contents." msgstr "" -#: library/sys.rst:784 +#: library/sys.rst:790 msgid "" "Return the interpreter's \"thread switch interval\"; see :func:" "`setswitchinterval`." msgstr "" -#: library/sys.rst:792 +#: library/sys.rst:798 msgid "" "Return a frame object from the call stack. If optional integer *depth* is " "given, return the frame object that many calls below the top of the stack. " @@ -1167,21 +1173,21 @@ msgid "" "``frame``." msgstr "" -#: library/sys.rst:801 +#: library/sys.rst:807 msgid "" "This function should be used for internal and specialized purposes only. It " "is not guaranteed to exist in all implementations of Python." msgstr "" -#: library/sys.rst:811 +#: library/sys.rst:817 msgid "Get the profiler function as set by :func:`setprofile`." msgstr "" -#: library/sys.rst:820 +#: library/sys.rst:826 msgid "Get the trace function as set by :func:`settrace`." msgstr "" -#: library/sys.rst:824 +#: library/sys.rst:830 msgid "" "The :func:`gettrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -1189,7 +1195,7 @@ msgid "" "thus may not be available in all Python implementations." msgstr "" -#: library/sys.rst:832 +#: library/sys.rst:838 msgid "" "Return a named tuple describing the Windows version currently running. The " "named elements are *major*, *minor*, *build*, *platform*, *service_pack*, " @@ -1201,54 +1207,54 @@ msgid "" "first 5 elements are retrievable by indexing." msgstr "" -#: library/sys.rst:843 +#: library/sys.rst:849 msgid "*platform* will be :const:`2 (VER_PLATFORM_WIN32_NT)`." msgstr "" -#: library/sys.rst:845 +#: library/sys.rst:851 msgid "*product_type* may be one of the following values:" msgstr "" -#: library/sys.rst:848 +#: library/sys.rst:854 msgid "Constant" msgstr "" -#: library/sys.rst:848 +#: library/sys.rst:854 msgid "Meaning" msgstr "" -#: library/sys.rst:850 +#: library/sys.rst:856 msgid ":const:`1 (VER_NT_WORKSTATION)`" msgstr "" -#: library/sys.rst:850 +#: library/sys.rst:856 msgid "The system is a workstation." msgstr "" -#: library/sys.rst:852 +#: library/sys.rst:858 msgid ":const:`2 (VER_NT_DOMAIN_CONTROLLER)`" msgstr "" -#: library/sys.rst:852 +#: library/sys.rst:858 msgid "The system is a domain controller." msgstr "" -#: library/sys.rst:855 +#: library/sys.rst:861 msgid ":const:`3 (VER_NT_SERVER)`" msgstr "" -#: library/sys.rst:855 +#: library/sys.rst:861 msgid "The system is a server, but not a domain controller." msgstr "" -#: library/sys.rst:859 +#: library/sys.rst:865 msgid "" "This function wraps the Win32 :c:func:`GetVersionEx` function; see the " "Microsoft documentation on :c:func:`OSVERSIONINFOEX` for more information " "about these fields." msgstr "" -#: library/sys.rst:863 +#: library/sys.rst:869 msgid "" "*platform_version* returns the major version, minor version and build number " "of the current operating system, rather than the version that is being " @@ -1256,24 +1262,24 @@ msgid "" "feature detection." msgstr "" -#: library/sys.rst:869 +#: library/sys.rst:875 msgid "" "*platform_version* derives the version from kernel32.dll which can be of a " "different version than the OS version. Please use :mod:`platform` module for " "achieving accurate OS version." msgstr "" -#: library/sys.rst:875 +#: library/sys.rst:881 msgid "" "Changed to a named tuple and added *service_pack_minor*, " "*service_pack_major*, *suite_mask*, and *product_type*." msgstr "" -#: library/sys.rst:879 +#: library/sys.rst:885 msgid "Added *platform_version*" msgstr "" -#: library/sys.rst:885 +#: library/sys.rst:891 msgid "" "Returns an *asyncgen_hooks* object, which is similar to a :class:" "`~collections.namedtuple` of the form ``(firstiter, finalizer)``, where " @@ -1283,103 +1289,103 @@ msgid "" "loop." msgstr "" -#: library/sys.rst:892 +#: library/sys.rst:898 msgid "See :pep:`525` for more details." msgstr "" -#: library/sys.rst:1543 +#: library/sys.rst:1549 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.)" msgstr "" -#: library/sys.rst:902 +#: library/sys.rst:908 msgid "" "Get the current coroutine origin tracking depth, as set by :func:" "`set_coroutine_origin_tracking_depth`." msgstr "" -#: library/sys.rst:1564 +#: library/sys.rst:1570 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.) Use it only for debugging purposes." msgstr "" -#: library/sys.rst:914 +#: library/sys.rst:920 msgid "" "A :term:`named tuple` giving parameters of the numeric hash implementation. " "For more details about hashing of numeric types, see :ref:`numeric-hash`." msgstr "" -#: library/sys.rst:921 +#: library/sys.rst:927 msgid ":const:`width`" msgstr "" -#: library/sys.rst:921 +#: library/sys.rst:927 msgid "width in bits used for hash values" msgstr "" -#: library/sys.rst:923 +#: library/sys.rst:929 msgid ":const:`modulus`" msgstr "" -#: library/sys.rst:923 +#: library/sys.rst:929 msgid "prime modulus P used for numeric hash scheme" msgstr "" -#: library/sys.rst:925 +#: library/sys.rst:931 msgid ":const:`inf`" msgstr "" -#: library/sys.rst:925 +#: library/sys.rst:931 msgid "hash value returned for a positive infinity" msgstr "" -#: library/sys.rst:927 +#: library/sys.rst:933 msgid ":const:`nan`" msgstr "" -#: library/sys.rst:927 +#: library/sys.rst:933 msgid "(this attribute is no longer used)" msgstr "" -#: library/sys.rst:929 +#: library/sys.rst:935 msgid ":const:`imag`" msgstr "" -#: library/sys.rst:929 +#: library/sys.rst:935 msgid "multiplier used for the imaginary part of a complex number" msgstr "" -#: library/sys.rst:932 +#: library/sys.rst:938 msgid ":const:`algorithm`" msgstr "" -#: library/sys.rst:932 +#: library/sys.rst:938 msgid "name of the algorithm for hashing of str, bytes, and memoryview" msgstr "" -#: library/sys.rst:935 +#: library/sys.rst:941 msgid ":const:`hash_bits`" msgstr "" -#: library/sys.rst:935 +#: library/sys.rst:941 msgid "internal output size of the hash algorithm" msgstr "" -#: library/sys.rst:937 +#: library/sys.rst:943 msgid ":const:`seed_bits`" msgstr "" -#: library/sys.rst:937 +#: library/sys.rst:943 msgid "size of the seed key of the hash algorithm" msgstr "" -#: library/sys.rst:943 +#: library/sys.rst:949 msgid "Added *algorithm*, *hash_bits* and *seed_bits*" msgstr "" -#: library/sys.rst:949 +#: library/sys.rst:955 msgid "" "The version number encoded as a single integer. This is guaranteed to " "increase with each version, including proper support for non-production " @@ -1387,7 +1393,7 @@ msgid "" "version 1.5.2, use::" msgstr "" -#: library/sys.rst:960 +#: library/sys.rst:966 msgid "" "This is called ``hexversion`` since it only really looks meaningful when " "viewed as the result of passing it to the built-in :func:`hex` function. " @@ -1395,25 +1401,25 @@ msgid "" "human-friendly encoding of the same information." msgstr "" -#: library/sys.rst:965 +#: library/sys.rst:971 msgid "More details of ``hexversion`` can be found at :ref:`apiabiversion`." msgstr "" -#: library/sys.rst:970 +#: library/sys.rst:976 msgid "" "An object containing information about the implementation of the currently " "running Python interpreter. The following attributes are required to exist " "in all Python implementations." msgstr "" -#: library/sys.rst:974 +#: library/sys.rst:980 msgid "" "*name* is the implementation's identifier, e.g. ``'cpython'``. The actual " "string is defined by the Python implementation, but it is guaranteed to be " "lower case." msgstr "" -#: library/sys.rst:978 +#: library/sys.rst:984 msgid "" "*version* is a named tuple, in the same format as :data:`sys.version_info`. " "It represents the version of the Python *implementation*. This has a " @@ -1425,13 +1431,13 @@ msgid "" "the same value, since it is the reference implementation." msgstr "" -#: library/sys.rst:988 +#: library/sys.rst:994 msgid "" "*hexversion* is the implementation version in hexadecimal format, like :data:" "`sys.hexversion`." msgstr "" -#: library/sys.rst:991 +#: library/sys.rst:997 msgid "" "*cache_tag* is the tag used by the import machinery in the filenames of " "cached modules. By convention, it would be a composite of the " @@ -1440,7 +1446,7 @@ msgid "" "set to ``None``, it indicates that module caching should be disabled." msgstr "" -#: library/sys.rst:998 +#: library/sys.rst:1004 msgid "" ":data:`sys.implementation` may contain additional attributes specific to the " "Python implementation. These non-standard attributes must start with an " @@ -1450,61 +1456,61 @@ msgid "" "versions, however.) See :pep:`421` for more information." msgstr "" -#: library/sys.rst:1009 +#: library/sys.rst:1015 msgid "" "The addition of new required attributes must go through the normal PEP " "process. See :pep:`421` for more information." msgstr "" -#: library/sys.rst:1014 +#: library/sys.rst:1020 msgid "" "A :term:`named tuple` that holds information about Python's internal " "representation of integers. The attributes are read only." msgstr "" -#: library/sys.rst:1022 +#: library/sys.rst:1028 msgid ":const:`bits_per_digit`" msgstr "" -#: library/sys.rst:1022 +#: library/sys.rst:1028 msgid "" "number of bits held in each digit. Python integers are stored internally in " "base ``2**int_info.bits_per_digit``" msgstr "" -#: library/sys.rst:1026 +#: library/sys.rst:1032 msgid ":const:`sizeof_digit`" msgstr "" -#: library/sys.rst:1026 +#: library/sys.rst:1032 msgid "size in bytes of the C type used to represent a digit" msgstr "" -#: library/sys.rst:1029 +#: library/sys.rst:1035 msgid ":const:`default_max_str_digits`" msgstr "" -#: library/sys.rst:1029 +#: library/sys.rst:1035 msgid "" "default value for :func:`sys.get_int_max_str_digits` when it is not " "otherwise explicitly configured." msgstr "" -#: library/sys.rst:1033 +#: library/sys.rst:1039 msgid ":const:`str_digits_check_threshold`" msgstr "" -#: library/sys.rst:1033 +#: library/sys.rst:1039 msgid "" "minimum non-zero value for :func:`sys.set_int_max_str_digits`, :envvar:" "`PYTHONINTMAXSTRDIGITS`, or :option:`-X int_max_str_digits <-X>`." msgstr "" -#: library/sys.rst:1041 +#: library/sys.rst:1047 msgid "Added ``default_max_str_digits`` and ``str_digits_check_threshold``." msgstr "" -#: library/sys.rst:1047 +#: library/sys.rst:1053 msgid "" "When this attribute exists, its value is automatically called (with no " "arguments) when the interpreter is launched in :ref:`interactive mode ` ``cpython.run_interactivehook`` " "with the hook object as the argument when the hook is called on startup." msgstr "" -#: library/sys.rst:1064 +#: library/sys.rst:1070 msgid "" "Enter *string* in the table of \"interned\" strings and return the interned " "string -- which is *string* itself or a copy. Interning strings is useful to " @@ -1537,19 +1543,19 @@ msgid "" "attributes have interned keys." msgstr "" -#: library/sys.rst:1072 +#: library/sys.rst:1078 msgid "" "Interned strings are not immortal; you must keep a reference to the return " "value of :func:`intern` around to benefit from it." msgstr "" -#: library/sys.rst:1078 +#: library/sys.rst:1084 msgid "" "Return :const:`True` if the Python interpreter is :term:`shutting down " "`, :const:`False` otherwise." msgstr "" -#: library/sys.rst:1088 +#: library/sys.rst:1094 msgid "" "These three variables are not always defined; they are set when an exception " "is not handled and the interpreter prints an error message and a stack " @@ -1560,33 +1566,33 @@ msgid "" "information.)" msgstr "" -#: library/sys.rst:1096 +#: library/sys.rst:1102 msgid "" "The meaning of the variables is the same as that of the return values from :" "func:`exc_info` above." msgstr "" -#: library/sys.rst:1102 +#: library/sys.rst:1108 msgid "" "An integer giving the maximum value a variable of type :c:type:`Py_ssize_t` " "can take. It's usually ``2**31 - 1`` on a 32-bit platform and ``2**63 - 1`` " "on a 64-bit platform." msgstr "" -#: library/sys.rst:1109 +#: library/sys.rst:1115 msgid "" "An integer giving the value of the largest Unicode code point, i.e. " "``1114111`` (``0x10FFFF`` in hexadecimal)." msgstr "" -#: library/sys.rst:1112 +#: library/sys.rst:1118 msgid "" "Before :pep:`393`, ``sys.maxunicode`` used to be either ``0xFFFF`` or " "``0x10FFFF``, depending on the configuration option that specified whether " "Unicode characters were stored as UCS-2 or UCS-4." msgstr "" -#: library/sys.rst:1120 +#: library/sys.rst:1126 msgid "" "A list of :term:`meta path finder` objects that have their :meth:`~importlib." "abc.MetaPathFinder.find_spec` methods called to see if one of the objects " @@ -1599,27 +1605,27 @@ msgid "" "if the module cannot be found." msgstr "" -#: library/sys.rst:1133 +#: library/sys.rst:1139 msgid ":class:`importlib.abc.MetaPathFinder`" msgstr "" -#: library/sys.rst:1133 +#: library/sys.rst:1139 msgid "" "The abstract base class defining the interface of finder objects on :data:" "`meta_path`." msgstr "" -#: library/sys.rst:1137 +#: library/sys.rst:1143 msgid ":class:`importlib.machinery.ModuleSpec`" msgstr "" -#: library/sys.rst:1136 +#: library/sys.rst:1142 msgid "" "The concrete class which :meth:`~importlib.abc.MetaPathFinder.find_spec` " "should return instances of." msgstr "" -#: library/sys.rst:1142 +#: library/sys.rst:1148 msgid "" ":term:`Module specs ` were introduced in Python 3.4, by :pep:" "`451`. Earlier versions of Python looked for a method called :meth:" @@ -1628,7 +1634,7 @@ msgid "" "MetaPathFinder.find_spec` method." msgstr "" -#: library/sys.rst:1150 +#: library/sys.rst:1156 msgid "" "This is a dictionary that maps module names to modules which have already " "been loaded. This can be manipulated to force reloading of modules and " @@ -1640,78 +1646,78 @@ msgid "" "other threads." msgstr "" -#: library/sys.rst:1162 +#: library/sys.rst:1168 msgid "" "The list of the original command line arguments passed to the Python " "executable." msgstr "" -#: library/sys.rst:1165 +#: library/sys.rst:1171 msgid "See also :data:`sys.argv`." msgstr "" -#: library/sys.rst:1174 +#: library/sys.rst:1180 msgid "" "A list of strings that specifies the search path for modules. Initialized " "from the environment variable :envvar:`PYTHONPATH`, plus an installation-" "dependent default." msgstr "" -#: library/sys.rst:1178 +#: library/sys.rst:1184 msgid "" "By default, as initialized upon program startup, a potentially unsafe path " "is prepended to :data:`sys.path` (*before* the entries inserted as a result " "of :envvar:`PYTHONPATH`):" msgstr "" -#: library/sys.rst:1182 +#: library/sys.rst:1188 msgid "" "``python -m module`` command line: prepend the current working directory." msgstr "" -#: library/sys.rst:1184 +#: library/sys.rst:1190 msgid "" "``python script.py`` command line: prepend the script's directory. If it's a " "symbolic link, resolve symbolic links." msgstr "" -#: library/sys.rst:1186 +#: library/sys.rst:1192 msgid "" "``python -c code`` and ``python`` (REPL) command lines: prepend an empty " "string, which means the current working directory." msgstr "" -#: library/sys.rst:1189 +#: library/sys.rst:1195 msgid "" "To not prepend this potentially unsafe path, use the :option:`-P` command " "line option or the :envvar:`PYTHONSAFEPATH` environment variable." msgstr "" -#: library/sys.rst:1192 +#: library/sys.rst:1198 msgid "" "A program is free to modify this list for its own purposes. Only strings " "should be added to :data:`sys.path`; all other data types are ignored during " "import." msgstr "" -#: library/sys.rst:1198 +#: library/sys.rst:1204 msgid "" "Module :mod:`site` This describes how to use .pth files to extend :data:`sys." "path`." msgstr "" -#: library/sys.rst:1203 +#: library/sys.rst:1209 msgid "" "A list of callables that take a path argument to try to create a :term:" "`finder` for the path. If a finder can be created, it is to be returned by " "the callable, else raise :exc:`ImportError`." msgstr "" -#: library/sys.rst:1218 +#: library/sys.rst:1224 msgid "Originally specified in :pep:`302`." msgstr "" -#: library/sys.rst:1212 +#: library/sys.rst:1218 msgid "" "A dictionary acting as a cache for :term:`finder` objects. The keys are " "paths that have been passed to :data:`sys.path_hooks` and the values are the " @@ -1719,19 +1725,19 @@ msgid "" "is found on :data:`sys.path_hooks` then ``None`` is stored." msgstr "" -#: library/sys.rst:1220 +#: library/sys.rst:1226 msgid "" "``None`` is stored instead of :class:`imp.NullImporter` when no finder is " "found." msgstr "" -#: library/sys.rst:1227 +#: library/sys.rst:1233 msgid "" "This string contains a platform identifier that can be used to append " "platform-specific components to :data:`sys.path`, for instance." msgstr "" -#: library/sys.rst:1230 +#: library/sys.rst:1236 msgid "" "For Unix systems, except on Linux and AIX, this is the lowercased OS name as " "returned by ``uname -s`` with the first part of the version as returned by " @@ -1740,75 +1746,75 @@ msgid "" "version, it is therefore recommended to use the following idiom::" msgstr "" -#: library/sys.rst:1243 +#: library/sys.rst:1249 msgid "For other systems, the values are:" msgstr "" -#: library/sys.rst:1246 +#: library/sys.rst:1252 msgid "System" msgstr "" -#: library/sys.rst:1246 +#: library/sys.rst:1252 msgid "``platform`` value" msgstr "" -#: library/sys.rst:1248 +#: library/sys.rst:1254 msgid "AIX" msgstr "" -#: library/sys.rst:1248 +#: library/sys.rst:1254 msgid "``'aix'``" msgstr "" -#: library/sys.rst:1249 +#: library/sys.rst:1255 msgid "Emscripten" msgstr "" -#: library/sys.rst:1249 +#: library/sys.rst:1255 msgid "``'emscripten'``" msgstr "" -#: library/sys.rst:1250 +#: library/sys.rst:1256 msgid "Linux" msgstr "" -#: library/sys.rst:1250 +#: library/sys.rst:1256 msgid "``'linux'``" msgstr "" -#: library/sys.rst:1251 +#: library/sys.rst:1257 msgid "WASI" msgstr "" -#: library/sys.rst:1251 +#: library/sys.rst:1257 msgid "``'wasi'``" msgstr "" -#: library/sys.rst:1252 +#: library/sys.rst:1258 msgid "Windows" msgstr "" -#: library/sys.rst:1252 +#: library/sys.rst:1258 msgid "``'win32'``" msgstr "" -#: library/sys.rst:1253 +#: library/sys.rst:1259 msgid "Windows/Cygwin" msgstr "" -#: library/sys.rst:1253 +#: library/sys.rst:1259 msgid "``'cygwin'``" msgstr "" -#: library/sys.rst:1254 +#: library/sys.rst:1260 msgid "macOS" msgstr "" -#: library/sys.rst:1254 +#: library/sys.rst:1260 msgid "``'darwin'``" msgstr "" -#: library/sys.rst:1257 +#: library/sys.rst:1263 msgid "" "On Linux, :attr:`sys.platform` doesn't contain the major version anymore. It " "is always ``'linux'``, instead of ``'linux2'`` or ``'linux3'``. Since older " @@ -1816,7 +1822,7 @@ msgid "" "the ``startswith`` idiom presented above." msgstr "" -#: library/sys.rst:1263 +#: library/sys.rst:1269 msgid "" "On AIX, :attr:`sys.platform` doesn't contain the major version anymore. It " "is always ``'aix'``, instead of ``'aix5'`` or ``'aix7'``. Since older " @@ -1824,73 +1830,73 @@ msgid "" "the ``startswith`` idiom presented above." msgstr "" -#: library/sys.rst:1271 +#: library/sys.rst:1277 msgid "" ":attr:`os.name` has a coarser granularity. :func:`os.uname` gives system-" "dependent version information." msgstr "" -#: library/sys.rst:1274 +#: library/sys.rst:1280 msgid "" "The :mod:`platform` module provides detailed checks for the system's " "identity." msgstr "" -#: library/sys.rst:1280 +#: library/sys.rst:1286 msgid "" "Name of the platform-specific library directory. It is used to build the " "path of standard library and the paths of installed extension modules." msgstr "" -#: library/sys.rst:1283 +#: library/sys.rst:1289 msgid "" "It is equal to ``\"lib\"`` on most platforms. On Fedora and SuSE, it is " "equal to ``\"lib64\"`` on 64-bit platforms which gives the following ``sys." "path`` paths (where ``X.Y`` is the Python ``major.minor`` version):" msgstr "" -#: library/sys.rst:1287 +#: library/sys.rst:1293 msgid "" "``/usr/lib64/pythonX.Y/``: Standard library (like ``os.py`` of the :mod:`os` " "module)" msgstr "" -#: library/sys.rst:1289 +#: library/sys.rst:1295 msgid "" "``/usr/lib64/pythonX.Y/lib-dynload/``: C extension modules of the standard " "library (like the :mod:`errno` module, the exact filename is platform " "specific)" msgstr "" -#: library/sys.rst:1292 +#: library/sys.rst:1298 msgid "" "``/usr/lib/pythonX.Y/site-packages/`` (always use ``lib``, not :data:`sys." "platlibdir`): Third-party modules" msgstr "" -#: library/sys.rst:1294 +#: library/sys.rst:1300 msgid "" "``/usr/lib64/pythonX.Y/site-packages/``: C extension modules of third-party " "packages" msgstr "" -#: library/sys.rst:1302 +#: library/sys.rst:1308 msgid "" "A string giving the site-specific directory prefix where the platform " -"independent Python files are installed; on Unix, the default is ``'/usr/" -"local'``. This can be set at build time with the ``--prefix`` argument to " -"the :program:`configure` script. See :ref:`installation_paths` for derived " -"paths." +"independent Python files are installed; on Unix, the default is :file:`/usr/" +"local`. This can be set at build time with the :option:`--prefix` argument " +"to the :program:`configure` script. See :ref:`installation_paths` for " +"derived paths." msgstr "" -#: library/sys.rst:1308 +#: library/sys.rst:1314 msgid "" "If a :ref:`virtual environment ` is in effect, this value will be " "changed in ``site.py`` to point to the virtual environment. The value for " "the Python installation will still be available, via :data:`base_prefix`." msgstr "" -#: library/sys.rst:1323 +#: library/sys.rst:1329 msgid "" "Strings specifying the primary and secondary prompt of the interpreter. " "These are only defined if the interpreter is in interactive mode. Their " @@ -1900,7 +1906,7 @@ msgid "" "used to implement a dynamic prompt." msgstr "" -#: library/sys.rst:1333 +#: library/sys.rst:1339 msgid "" "Set the flags used by the interpreter for :c:func:`dlopen` calls, such as " "when the interpreter loads extension modules. Among other things, this will " @@ -1911,14 +1917,14 @@ msgid "" "data:`os.RTLD_LAZY`)." msgstr "" -#: library/sys.rst:1345 +#: library/sys.rst:1351 msgid "" "Set the :ref:`integer string conversion length limitation " "` used by this interpreter. See also :func:" "`get_int_max_str_digits`." msgstr "" -#: library/sys.rst:1357 +#: library/sys.rst:1363 msgid "" "Set the system's profile function, which allows you to implement a Python " "source code profiler in Python. See chapter :ref:`profile` for more " @@ -1933,7 +1939,7 @@ msgid "" "in the profile function will cause itself unset." msgstr "" -#: library/sys.rst:1368 +#: library/sys.rst:1374 msgid "" "Profile functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -1947,65 +1953,65 @@ msgid "" "arguments." msgstr "" -#: library/sys.rst:1456 +#: library/sys.rst:1462 msgid "The events have the following meaning:" msgstr "" -#: library/sys.rst:1461 +#: library/sys.rst:1467 msgid "``'call'``" msgstr "" -#: library/sys.rst:1378 +#: library/sys.rst:1384 msgid "" "A function is called (or some other code block entered). The profile " "function is called; *arg* is ``None``." msgstr "" -#: library/sys.rst:1476 +#: library/sys.rst:1482 msgid "``'return'``" msgstr "" -#: library/sys.rst:1382 +#: library/sys.rst:1388 msgid "" "A function (or other code block) is about to return. The profile function " "is called; *arg* is the value that will be returned, or ``None`` if the " "event is caused by an exception being raised." msgstr "" -#: library/sys.rst:1388 +#: library/sys.rst:1394 msgid "``'c_call'``" msgstr "" -#: library/sys.rst:1387 +#: library/sys.rst:1393 msgid "" "A C function is about to be called. This may be an extension function or a " "built-in. *arg* is the C function object." msgstr "" -#: library/sys.rst:1391 +#: library/sys.rst:1397 msgid "``'c_return'``" msgstr "" -#: library/sys.rst:1391 +#: library/sys.rst:1397 msgid "A C function has returned. *arg* is the C function object." msgstr "" -#: library/sys.rst:1393 +#: library/sys.rst:1399 msgid "``'c_exception'``" msgstr "" -#: library/sys.rst:1394 +#: library/sys.rst:1400 msgid "A C function has raised an exception. *arg* is the C function object." msgstr "" -#: library/sys.rst:1398 +#: library/sys.rst:1404 msgid "" "Set the maximum depth of the Python interpreter stack to *limit*. This " "limit prevents infinite recursion from causing an overflow of the C stack " "and crashing Python." msgstr "" -#: library/sys.rst:1402 +#: library/sys.rst:1408 msgid "" "The highest possible limit is platform-dependent. A user may need to set " "the limit higher when they have a program that requires deep recursion and a " @@ -2013,19 +2019,19 @@ msgid "" "because a too-high limit can lead to a crash." msgstr "" -#: library/sys.rst:1407 +#: library/sys.rst:1413 msgid "" "If the new limit is too low at the current recursion depth, a :exc:" "`RecursionError` exception is raised." msgstr "" -#: library/sys.rst:1410 +#: library/sys.rst:1416 msgid "" "A :exc:`RecursionError` exception is now raised if the new limit is too low " "at the current recursion depth." msgstr "" -#: library/sys.rst:1417 +#: library/sys.rst:1423 msgid "" "Set the interpreter's thread switch interval (in seconds). This floating-" "point value determines the ideal duration of the \"timeslices\" allocated to " @@ -2036,7 +2042,7 @@ msgid "" "scheduler." msgstr "" -#: library/sys.rst:1434 +#: library/sys.rst:1440 msgid "" "Set the system's trace function, which allows you to implement a Python " "source code debugger in Python. The function is thread-specific; for a " @@ -2045,7 +2051,7 @@ msgid "" "`threading.settrace`." msgstr "" -#: library/sys.rst:1439 +#: library/sys.rst:1445 msgid "" "Trace functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -2053,7 +2059,7 @@ msgid "" "the event type." msgstr "" -#: library/sys.rst:1444 +#: library/sys.rst:1450 msgid "" "The trace function is invoked (with *event* set to ``'call'``) whenever a " "new local scope is entered; it should return a reference to a local trace " @@ -2061,31 +2067,31 @@ msgid "" "traced." msgstr "" -#: library/sys.rst:1449 +#: library/sys.rst:1455 msgid "" "The local trace function should return a reference to itself (or to another " "function for further tracing in that scope), or ``None`` to turn off tracing " "in that scope." msgstr "" -#: library/sys.rst:1453 +#: library/sys.rst:1459 msgid "" "If there is any error occurred in the trace function, it will be unset, just " "like ``settrace(None)`` is called." msgstr "" -#: library/sys.rst:1459 +#: library/sys.rst:1465 msgid "" "A function is called (or some other code block entered). The global trace " "function is called; *arg* is ``None``; the return value specifies the local " "trace function." msgstr "" -#: library/sys.rst:1470 +#: library/sys.rst:1476 msgid "``'line'``" msgstr "" -#: library/sys.rst:1464 +#: library/sys.rst:1470 msgid "" "The interpreter is about to execute a new line of code or re-execute the " "condition of a loop. The local trace function is called; *arg* is ``None``; " @@ -2095,7 +2101,7 @@ msgid "" "const:`False` on that frame." msgstr "" -#: library/sys.rst:1473 +#: library/sys.rst:1479 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 " @@ -2103,22 +2109,22 @@ msgid "" "return value is ignored." msgstr "" -#: library/sys.rst:1481 +#: library/sys.rst:1487 msgid "``'exception'``" msgstr "" -#: library/sys.rst:1479 +#: library/sys.rst:1485 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:1489 +#: library/sys.rst:1495 msgid "``'opcode'``" msgstr "" -#: library/sys.rst:1484 +#: library/sys.rst:1490 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 " @@ -2127,13 +2133,13 @@ msgid "" "`f_trace_opcodes` to :const:`True` on the frame." msgstr "" -#: library/sys.rst:1491 +#: library/sys.rst:1497 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:1494 +#: library/sys.rst:1500 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 " @@ -2147,7 +2153,7 @@ msgid "" "on each frame)." msgstr "" -#: library/sys.rst:1505 +#: library/sys.rst:1511 msgid "For more information on code and frame objects, refer to :ref:`types`." msgstr "" @@ -2157,7 +2163,7 @@ msgid "" "arguments." msgstr "" -#: library/sys.rst:1511 +#: library/sys.rst:1517 msgid "" "The :func:`settrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -2165,13 +2171,13 @@ msgid "" "thus may not be available in all Python implementations." msgstr "" -#: library/sys.rst:1518 +#: library/sys.rst:1524 msgid "" "``'opcode'`` event type added; :attr:`f_trace_lines` and :attr:" "`f_trace_opcodes` attributes added to frames" msgstr "" -#: library/sys.rst:1523 +#: library/sys.rst:1529 msgid "" "Accepts two optional keyword arguments which are callables that accept an :" "term:`asynchronous generator iterator` as an argument. The *firstiter* " @@ -2192,20 +2198,20 @@ msgid "" "set_asyncgen_hooks_finalizer`` with no arguments." msgstr "" -#: library/sys.rst:1533 +#: library/sys.rst:1539 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:1536 +#: library/sys.rst:1542 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:1548 +#: library/sys.rst:1554 msgid "" "Allows enabling or disabling coroutine origin tracking. When enabled, the " "``cr_origin`` attribute on coroutine objects will contain a tuple of " @@ -2214,74 +2220,74 @@ msgid "" "disabled, ``cr_origin`` will be None." msgstr "" -#: library/sys.rst:1555 +#: library/sys.rst:1561 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:1559 +#: library/sys.rst:1565 msgid "This setting is thread-specific." msgstr "" -#: library/sys.rst:1569 +#: library/sys.rst:1575 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:1573 +#: library/sys.rst:1579 msgid "" "This is equivalent to defining the :envvar:`PYTHONLEGACYWINDOWSFSENCODING` " "environment variable before launching Python." msgstr "" -#: library/sys.rst:1576 +#: library/sys.rst:1582 msgid "" "See also :func:`sys.getfilesystemencoding` and :func:`sys." "getfilesystemencodeerrors`." msgstr "" -#: library/sys.rst:1581 +#: library/sys.rst:1587 msgid "See :pep:`529` for more details." msgstr "" -#: library/sys.rst:1588 +#: library/sys.rst:1594 msgid "" ":term:`File objects ` used by the interpreter for standard " "input, output and errors:" msgstr "" -#: library/sys.rst:1591 +#: library/sys.rst:1597 msgid "" "``stdin`` is used for all interactive input (including calls to :func:" "`input`);" msgstr "" -#: library/sys.rst:1593 +#: library/sys.rst:1599 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:1595 +#: library/sys.rst:1601 msgid "The interpreter's own prompts and its error messages go to ``stderr``." msgstr "" -#: library/sys.rst:1597 +#: library/sys.rst:1603 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:1601 +#: library/sys.rst:1607 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:1604 +#: library/sys.rst:1610 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 " @@ -2292,14 +2298,14 @@ msgid "" "initially attached to a console." msgstr "" -#: library/sys.rst:1613 +#: library/sys.rst:1619 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:1618 +#: library/sys.rst:1624 msgid "" "Under all platforms, you can override the character encoding by setting the :" "envvar:`PYTHONIOENCODING` environment variable before starting Python or by " @@ -2308,7 +2314,7 @@ msgid "" "only applies when :envvar:`PYTHONLEGACYWINDOWSSTDIO` is also set." msgstr "" -#: library/sys.rst:1625 +#: library/sys.rst:1631 msgid "" "When interactive, the ``stdout`` stream is line-buffered. Otherwise, it is " "block-buffered like regular text files. The ``stderr`` stream is line-" @@ -2317,19 +2323,19 @@ msgid "" "`PYTHONUNBUFFERED` environment variable." msgstr "" -#: library/sys.rst:1631 +#: library/sys.rst:1637 msgid "" "Non-interactive ``stderr`` is now line-buffered instead of fully buffered." msgstr "" -#: library/sys.rst:1637 +#: library/sys.rst:1643 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:1641 +#: library/sys.rst:1647 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 " @@ -2337,7 +2343,7 @@ msgid "" "support the :attr:`~io.BufferedIOBase.buffer` attribute." msgstr "" -#: library/sys.rst:1651 +#: library/sys.rst:1657 msgid "" "These objects contain the original values of ``stdin``, ``stderr`` and " "``stdout`` at the start of the program. They are used during finalization, " @@ -2345,7 +2351,7 @@ msgid "" "``sys.std*`` object has been redirected." msgstr "" -#: library/sys.rst:1656 +#: library/sys.rst:1662 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, " @@ -2353,7 +2359,7 @@ msgid "" "before replacing it, and restore the saved object." msgstr "" -#: library/sys.rst:1662 +#: library/sys.rst:1668 msgid "" "Under some conditions ``stdin``, ``stdout`` and ``stderr`` as well as the " "original values ``__stdin__``, ``__stdout__`` and ``__stderr__`` can be " @@ -2361,12 +2367,12 @@ msgid "" "to a console and Python apps started with :program:`pythonw`." msgstr "" -#: library/sys.rst:1670 +#: library/sys.rst:1676 msgid "" "A frozenset of strings containing the names of standard library modules." msgstr "" -#: library/sys.rst:1672 +#: library/sys.rst:1678 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 " @@ -2374,7 +2380,7 @@ msgid "" "modules are excluded." msgstr "" -#: library/sys.rst:1677 +#: library/sys.rst:1683 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 " @@ -2382,72 +2388,72 @@ msgid "" "listed." msgstr "" -#: library/sys.rst:1682 +#: library/sys.rst:1688 msgid "See also the :attr:`sys.builtin_module_names` list." msgstr "" -#: library/sys.rst:1689 +#: library/sys.rst:1695 msgid "" "A :term:`named tuple` holding information about the thread implementation." msgstr "" -#: library/sys.rst:1697 +#: library/sys.rst:1703 msgid ":const:`name`" msgstr "" -#: library/sys.rst:1697 +#: library/sys.rst:1703 msgid "Name of the thread implementation:" msgstr "" -#: library/sys.rst:1699 +#: library/sys.rst:1705 msgid "``'nt'``: Windows threads" msgstr "" -#: library/sys.rst:1700 +#: library/sys.rst:1706 msgid "``'pthread'``: POSIX threads" msgstr "" -#: library/sys.rst:1701 +#: library/sys.rst:1707 msgid "" "``'pthread-stubs'``: stub POSIX threads (on WebAssembly platforms without " "threading support)" msgstr "" -#: library/sys.rst:1703 +#: library/sys.rst:1709 msgid "``'solaris'``: Solaris threads" msgstr "" -#: library/sys.rst:1705 +#: library/sys.rst:1711 msgid ":const:`lock`" msgstr "" -#: library/sys.rst:1705 +#: library/sys.rst:1711 msgid "Name of the lock implementation:" msgstr "" -#: library/sys.rst:1707 +#: library/sys.rst:1713 msgid "``'semaphore'``: a lock uses a semaphore" msgstr "" -#: library/sys.rst:1708 +#: library/sys.rst:1714 msgid "``'mutex+cond'``: a lock uses a mutex and a condition variable" msgstr "" -#: library/sys.rst:1710 +#: library/sys.rst:1716 msgid "``None`` if this information is unknown" msgstr "" -#: library/sys.rst:1712 +#: library/sys.rst:1718 msgid ":const:`version`" msgstr "" -#: library/sys.rst:1712 +#: library/sys.rst:1718 msgid "" "Name and version of the thread library. It is a string, or ``None`` if this " "information is unknown." msgstr "" -#: library/sys.rst:1721 +#: library/sys.rst:1727 msgid "" "When this variable is set to an integer value, it determines the maximum " "number of levels of traceback information printed when an unhandled " @@ -2456,68 +2462,68 @@ msgid "" "are printed." msgstr "" -#: library/sys.rst:1729 +#: library/sys.rst:1735 msgid "Handle an unraisable exception." msgstr "" -#: library/sys.rst:1731 +#: library/sys.rst:1737 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:1735 +#: library/sys.rst:1741 msgid "The *unraisable* argument has the following attributes:" msgstr "" -#: library/sys.rst:1737 +#: library/sys.rst:1743 msgid "*exc_type*: Exception type." msgstr "" -#: library/sys.rst:1738 +#: library/sys.rst:1744 msgid "*exc_value*: Exception value, can be ``None``." msgstr "" -#: library/sys.rst:1739 +#: library/sys.rst:1745 msgid "*exc_traceback*: Exception traceback, can be ``None``." msgstr "" -#: library/sys.rst:1740 +#: library/sys.rst:1746 msgid "*err_msg*: Error message, can be ``None``." msgstr "" -#: library/sys.rst:1741 +#: library/sys.rst:1747 msgid "*object*: Object causing the exception, can be ``None``." msgstr "" -#: library/sys.rst:1743 +#: library/sys.rst:1749 msgid "" "The default hook formats *err_msg* and *object* as: ``f'{err_msg}: {object!" "r}'``; use \"Exception ignored in\" error message if *err_msg* is ``None``." msgstr "" -#: library/sys.rst:1747 +#: library/sys.rst:1753 msgid "" ":func:`sys.unraisablehook` can be overridden to control how unraisable " "exceptions are handled." msgstr "" -#: library/sys.rst:1750 +#: library/sys.rst:1756 msgid "" "Storing *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:1754 +#: library/sys.rst:1760 msgid "" "Storing *object* using a custom hook can resurrect it if it is set to an " "object which is being finalized. Avoid storing *object* after the custom " "hook completes to avoid resurrecting objects." msgstr "" -#: library/sys.rst:1758 +#: library/sys.rst:1764 msgid "See also :func:`excepthook` which handles uncaught exceptions." msgstr "" @@ -2527,7 +2533,7 @@ msgid "" "arguments ``hook``, ``unraisable``." msgstr "" -#: library/sys.rst:1762 +#: library/sys.rst:1768 msgid "" "Raise an auditing event ``sys.unraisablehook`` with arguments ``hook``, " "``unraisable`` when an exception that cannot be handled occurs. The " @@ -2535,7 +2541,7 @@ msgid "" "hook has been set, ``hook`` may be ``None``." msgstr "" -#: library/sys.rst:1771 +#: library/sys.rst:1777 msgid "" "A string containing the version number of the Python interpreter plus " "additional information on the build number and compiler used. This string " @@ -2544,13 +2550,13 @@ msgid "" "functions provided by the :mod:`platform` module." msgstr "" -#: library/sys.rst:1780 +#: library/sys.rst:1786 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:1786 +#: library/sys.rst:1792 msgid "" "A tuple containing the five components of the version number: *major*, " "*minor*, *micro*, *releaselevel*, and *serial*. All values except " @@ -2561,18 +2567,18 @@ msgid "" "version_info.major`` and so on." msgstr "" -#: library/sys.rst:1794 +#: library/sys.rst:1800 msgid "Added named component attributes." msgstr "" -#: library/sys.rst:1799 +#: library/sys.rst:1805 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:1806 +#: library/sys.rst:1812 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 " @@ -2581,27 +2587,87 @@ msgid "" "has no effect on the registry keys used by Python." msgstr "" -#: library/sys.rst:1817 +#: library/sys.rst:1823 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:1833 +#: library/sys.rst:1839 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:1841 +#: library/sys.rst:1847 msgid "Citations" msgstr "" -#: library/sys.rst:1842 +#: library/sys.rst:1848 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/" "n1256.pdf\\ ." msgstr "" + +#: library/sys.rst:97 +msgid "auditing" +msgstr "" + +#: library/sys.rst:443 +msgid "object" +msgstr "" + +#: library/sys.rst:443 +msgid "traceback" +msgstr "" + +#: library/sys.rst:1359 +msgid "profile function" +msgstr "" + +#: library/sys.rst:1359 +msgid "profiler" +msgstr "" + +#: library/sys.rst:1436 +msgid "trace function" +msgstr "" + +#: library/sys.rst:1436 +msgid "debugger" +msgstr "" + +#: library/sys.rst:1178 +msgid "module" +msgstr "" + +#: library/sys.rst:1178 +msgid "search" +msgstr "" + +#: library/sys.rst:1178 +msgid "path" +msgstr "" + +#: library/sys.rst:1323 +msgid "interpreter prompts" +msgstr "" + +#: library/sys.rst:1323 +msgid "prompts, interpreter" +msgstr "" + +#: library/sys.rst:1323 +msgid ">>>" +msgstr "" + +#: library/sys.rst:1323 +msgid "interpreter prompt" +msgstr "" + +#: library/sys.rst:1323 +msgid "..." +msgstr "" diff --git a/library/sysconfig.po b/library/sysconfig.po index b1a95185e..1437b4379 100644 --- a/library/sysconfig.po +++ b/library/sysconfig.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -468,3 +468,7 @@ msgid "" "func:`get_platform`, :func:`get_python_version`, :func:`get_path` and :func:" "`get_config_vars`." msgstr "" + +#: library/sysconfig.rst:14 +msgid "configuration information" +msgstr "" diff --git a/library/tarfile.po b/library/tarfile.po index ae922d4f9..b60c30c93 100644 --- a/library/tarfile.po +++ b/library/tarfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -332,11 +332,11 @@ msgstr "" msgid "Open an lzma compressed *stream* for writing." msgstr "" -#: library/tarfile.rst:336 +#: library/tarfile.rst:365 msgid "The ``'x'`` (exclusive creation) mode was added." msgstr "" -#: library/tarfile.rst:339 library/tarfile.rst:508 +#: library/tarfile.rst:368 library/tarfile.rst:605 msgid "The *name* parameter accepts a :term:`path-like object`." msgstr "" @@ -393,80 +393,113 @@ msgstr "" msgid "Is raised by :meth:`TarInfo.frombuf` if the buffer it gets is invalid." msgstr "" -#: library/tarfile.rst:209 +#: library/tarfile.rst:211 +msgid "" +"Base class for members :ref:`refused ` by filters." +msgstr "" + +#: library/tarfile.rst:216 +msgid "" +"Information about the member that the filter refused to extract, as :ref:" +"`TarInfo `." +msgstr "" + +#: library/tarfile.rst:221 +msgid "Raised to refuse extracting a member with an absolute path." +msgstr "" + +#: library/tarfile.rst:225 +msgid "Raised to refuse extracting a member outside the destination directory." +msgstr "" + +#: library/tarfile.rst:229 +msgid "Raised to refuse extracting a special file (e.g. a device or pipe)." +msgstr "" + +#: library/tarfile.rst:233 +msgid "Raised to refuse extracting a symbolic link with an absolute path." +msgstr "" + +#: library/tarfile.rst:237 +msgid "" +"Raised to refuse extracting a symbolic link pointing outside the destination " +"directory." +msgstr "" + +#: library/tarfile.rst:241 msgid "The following constants are available at the module level:" msgstr "" -#: library/tarfile.rst:213 +#: library/tarfile.rst:245 msgid "" "The default character encoding: ``'utf-8'`` on Windows, the value returned " "by :func:`sys.getfilesystemencoding` otherwise." msgstr "" -#: library/tarfile.rst:217 +#: library/tarfile.rst:249 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:224 +#: library/tarfile.rst:256 msgid "POSIX.1-1988 (ustar) format." msgstr "" -#: library/tarfile.rst:229 +#: library/tarfile.rst:261 msgid "GNU tar format." msgstr "" -#: library/tarfile.rst:234 +#: library/tarfile.rst:266 msgid "POSIX.1-2001 (pax) format." msgstr "" -#: library/tarfile.rst:239 +#: library/tarfile.rst:271 msgid "" "The default format for creating archives. This is currently :const:" "`PAX_FORMAT`." msgstr "" -#: library/tarfile.rst:241 +#: library/tarfile.rst:273 msgid "" "The default format for new archives was changed to :const:`PAX_FORMAT` from :" "const:`GNU_FORMAT`." msgstr "" -#: library/tarfile.rst:249 +#: library/tarfile.rst:281 msgid "Module :mod:`zipfile`" msgstr "" -#: library/tarfile.rst:249 +#: library/tarfile.rst:281 msgid "Documentation of the :mod:`zipfile` standard module." msgstr "" -#: library/tarfile.rst:253 +#: library/tarfile.rst:285 msgid ":ref:`archiving-operations`" msgstr "" -#: library/tarfile.rst:252 +#: library/tarfile.rst:284 msgid "" "Documentation of the higher-level archiving facilities provided by the " "standard :mod:`shutil` module." msgstr "" -#: library/tarfile.rst:255 +#: library/tarfile.rst:287 msgid "" "`GNU tar manual, Basic Tar Format `_" msgstr "" -#: library/tarfile.rst:256 +#: library/tarfile.rst:288 msgid "Documentation for tar archive files, including GNU tar extensions." msgstr "" -#: library/tarfile.rst:262 +#: library/tarfile.rst:294 msgid "TarFile Objects" msgstr "" -#: library/tarfile.rst:264 +#: library/tarfile.rst:296 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 " @@ -475,7 +508,7 @@ msgid "" "class:`TarInfo` object, see :ref:`tarinfo-objects` for details." msgstr "" -#: library/tarfile.rst:270 +#: library/tarfile.rst:302 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 " @@ -484,24 +517,24 @@ msgid "" "be closed. See the :ref:`tar-examples` section for a use case." msgstr "" -#: library/tarfile.rst:276 +#: library/tarfile.rst:308 msgid "Added support for the context management protocol." msgstr "" -#: library/tarfile.rst:281 +#: library/tarfile.rst:313 msgid "" "All following arguments are optional and can be accessed as instance " "attributes as well." msgstr "" -#: library/tarfile.rst:284 +#: library/tarfile.rst:316 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." msgstr "" -#: library/tarfile.rst:288 +#: library/tarfile.rst:320 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 " @@ -509,18 +542,18 @@ msgid "" "exist." msgstr "" -#: library/tarfile.rst:292 +#: library/tarfile.rst:324 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:298 +#: library/tarfile.rst:330 msgid "*fileobj* is not closed, when :class:`TarFile` is closed." msgstr "" -#: library/tarfile.rst:300 +#: library/tarfile.rst:332 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` " @@ -528,20 +561,20 @@ msgid "" "detected, even if different formats are present in a single archive." msgstr "" -#: library/tarfile.rst:305 +#: library/tarfile.rst:337 msgid "" "The *tarinfo* argument can be used to replace the default :class:`TarInfo` " "class with a different one." msgstr "" -#: library/tarfile.rst:308 +#: library/tarfile.rst:340 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:312 +#: library/tarfile.rst:344 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 " @@ -549,22 +582,19 @@ msgid "" "concatenated or damaged archives." msgstr "" -#: library/tarfile.rst:316 +#: library/tarfile.rst:348 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:319 +#: library/tarfile.rst:351 msgid "" -"If *errorlevel* is ``0``, all errors are ignored when using :meth:`TarFile." -"extract`. Nevertheless, they appear as error messages in the debug output, " -"when debugging is enabled. If ``1``, all *fatal* errors are raised as :exc:" -"`OSError` exceptions. If ``2``, all *non-fatal* errors are raised as :exc:" -"`TarError` exceptions as well." +"*errorlevel* controls how extraction errors are handled, see :attr:`the " +"corresponding attribute <~TarFile.errorlevel>`." msgstr "" -#: library/tarfile.rst:325 +#: library/tarfile.rst:354 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 " @@ -572,47 +602,47 @@ msgid "" "ref:`tar-unicode` for in-depth information." msgstr "" -#: library/tarfile.rst:330 +#: library/tarfile.rst:359 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:561 +#: library/tarfile.rst:678 msgid "Use ``'surrogateescape'`` as the default for the *errors* argument." msgstr "" -#: library/tarfile.rst:345 +#: library/tarfile.rst:374 msgid "" "Alternative constructor. The :func:`tarfile.open` function is actually a " "shortcut to this classmethod." msgstr "" -#: library/tarfile.rst:351 +#: library/tarfile.rst:380 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:356 +#: library/tarfile.rst:385 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:362 +#: library/tarfile.rst:391 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:368 +#: library/tarfile.rst:397 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:374 +#: library/tarfile.rst:403 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 " @@ -620,18 +650,18 @@ msgid "" "given, it must be a subset of the list returned by :meth:`getmembers`." msgstr "" -#: library/tarfile.rst:379 +#: library/tarfile.rst:408 msgid "Added the *members* parameter." msgstr "" -#: library/tarfile.rst:385 +#: library/tarfile.rst:414 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:392 +#: library/tarfile.rst:421 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 " @@ -643,14 +673,22 @@ msgid "" "fail." msgstr "" -#: library/tarfile.rst:426 +#: library/tarfile.rst:429 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:406 +#: library/tarfile.rst:433 +msgid "" +"The *filter* argument, which was added in Python 3.11.4, specifies how " +"``members`` are modified or rejected before extraction. See :ref:`tarfile-" +"extraction-filter` for details. It is recommended to set this explicitly " +"depending on which *tar* features you need to support." +msgstr "" + +#: library/tarfile.rst:441 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 " @@ -658,15 +696,25 @@ msgid "" "\"``." msgstr "" -#: library/tarfile.rst:442 +#: library/tarfile.rst:479 +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:485 msgid "Added the *numeric_owner* parameter." msgstr "" -#: library/tarfile.rst:445 +#: library/tarfile.rst:488 msgid "The *path* parameter accepts a :term:`path-like object`." msgstr "" -#: library/tarfile.rst:420 +#: library/tarfile.rst:491 library/tarfile.rst:571 +msgid "Added the *filter* parameter." +msgstr "" + +#: library/tarfile.rst:461 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. " @@ -675,21 +723,27 @@ msgid "" "File attributes (owner, mtime, mode) are set unless *set_attrs* is false." msgstr "" -#: library/tarfile.rst:432 +#: library/tarfile.rst:467 +msgid "" +"The *numeric_owner* and *filter* arguments are the same as for :meth:" +"`extractall`." +msgstr "" + +#: library/tarfile.rst:472 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:437 +#: library/tarfile.rst:477 msgid "See the warning for :meth:`extractall`." msgstr "" -#: library/tarfile.rst:439 +#: library/tarfile.rst:482 msgid "Added the *set_attrs* parameter." msgstr "" -#: library/tarfile.rst:451 +#: library/tarfile.rst:497 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 " @@ -698,11 +752,84 @@ msgid "" "the archive, :exc:`KeyError` is raised." msgstr "" -#: library/tarfile.rst:457 +#: library/tarfile.rst:503 msgid "Return an :class:`io.BufferedReader` object." msgstr "" -#: library/tarfile.rst:463 +#: library/tarfile.rst:509 +msgid "" +"If *errorlevel* is ``0``, errors are ignored when using :meth:`TarFile." +"extract` and :meth:`TarFile.extractall`. Nevertheless, they appear as error " +"messages in the debug output when *debug* is greater than 0. If ``1`` (the " +"default), all *fatal* errors are raised as :exc:`OSError` or :exc:" +"`FilterError` exceptions. If ``2``, all *non-fatal* errors are raised as :" +"exc:`TarError` exceptions as well." +msgstr "" + +#: library/tarfile.rst:517 +msgid "" +"Some exceptions, e.g. ones caused by wrong argument types or data " +"corruption, are always raised." +msgstr "" + +#: library/tarfile.rst:520 +msgid "" +"Custom :ref:`extraction filters ` should raise :" +"exc:`FilterError` for *fatal* errors and :exc:`ExtractError` for *non-fatal* " +"ones." +msgstr "" + +#: library/tarfile.rst:524 +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:531 +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:535 +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:539 +msgid "" +"If ``extraction_filter`` is ``None`` (the default), calling an extraction " +"method without a *filter* argument will use the :func:`fully_trusted " +"` filter for compatibility with previous Python " +"versions." +msgstr "" + +#: library/tarfile.rst:544 +msgid "" +"In Python 3.12+, leaving ``extraction_filter=None`` will emit a " +"``DeprecationWarning``." +msgstr "" + +#: library/tarfile.rst:547 +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:550 +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 " +"default, although, since it affects all uses of *tarfile*, it is best " +"practice to only do so in top-level applications or :mod:`site configuration " +"`. To set a global default this way, a filter function needs to be " +"wrapped in :func:`staticmethod()` to prevent injection of a ``self`` " +"argument." +msgstr "" + +#: library/tarfile.rst:560 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 " @@ -715,15 +842,11 @@ msgid "" "ref:`tar-examples` for an example." msgstr "" -#: library/tarfile.rst:474 -msgid "Added the *filter* parameter." -msgstr "" - -#: library/tarfile.rst:477 +#: library/tarfile.rst:574 msgid "Recursion adds entries in sorted order." msgstr "" -#: library/tarfile.rst:483 +#: library/tarfile.rst:580 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 " @@ -731,7 +854,7 @@ msgid "" "objects directly, or by using :meth:`gettarinfo`." msgstr "" -#: library/tarfile.rst:491 +#: library/tarfile.rst:588 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 " @@ -742,7 +865,7 @@ msgid "" "The name should be a text string." msgstr "" -#: library/tarfile.rst:500 +#: library/tarfile.rst:597 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 " @@ -752,21 +875,21 @@ msgid "" "case *arcname* could be a dummy string." msgstr "" -#: library/tarfile.rst:514 +#: library/tarfile.rst:611 msgid "" "Close the :class:`TarFile`. In write mode, two finishing zero blocks are " "appended to the archive." msgstr "" -#: library/tarfile.rst:520 +#: library/tarfile.rst:617 msgid "A dictionary containing key-value pairs of pax global headers." msgstr "" -#: library/tarfile.rst:527 +#: library/tarfile.rst:624 msgid "TarInfo Objects" msgstr "" -#: library/tarfile.rst:529 +#: library/tarfile.rst:626 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, " @@ -774,57 +897,100 @@ msgid "" "type. It does *not* contain the file's data itself." msgstr "" -#: library/tarfile.rst:534 +#: library/tarfile.rst:631 msgid "" ":class:`TarInfo` objects are returned by :class:`TarFile`'s methods :meth:" -"`getmember`, :meth:`getmembers` and :meth:`gettarinfo`." +"`~TarFile.getmember`, :meth:`~TarFile.getmembers` and :meth:`~TarFile." +"gettarinfo`." msgstr "" -#: library/tarfile.rst:540 +#: library/tarfile.rst:635 +msgid "" +"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:641 +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:645 +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:647 +msgid ":meth:`~TarFile.addfile` will fail." +msgstr "" + +#: library/tarfile.rst:648 +msgid ":meth:`~TarFile.list` will print a placeholder string." +msgstr "" + +#: library/tarfile.rst:651 +msgid "Added :meth:`~TarInfo.replace` and handling of ``None``." +msgstr "" + +#: library/tarfile.rst:657 msgid "Create a :class:`TarInfo` object." msgstr "" -#: library/tarfile.rst:545 +#: library/tarfile.rst:662 msgid "Create and return a :class:`TarInfo` object from string buffer *buf*." msgstr "" -#: library/tarfile.rst:547 +#: library/tarfile.rst:664 msgid "Raises :exc:`HeaderError` if the buffer is invalid." msgstr "" -#: library/tarfile.rst:552 +#: library/tarfile.rst:669 msgid "" "Read the next member from the :class:`TarFile` object *tarfile* and return " "it as a :class:`TarInfo` object." msgstr "" -#: library/tarfile.rst:558 +#: library/tarfile.rst:675 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:565 +#: library/tarfile.rst:682 msgid "A ``TarInfo`` object has the following public data attributes:" msgstr "" -#: library/tarfile.rst:570 +#: library/tarfile.rst:688 msgid "Name of the archive member." msgstr "" -#: library/tarfile.rst:575 +#: library/tarfile.rst:694 msgid "Size in bytes." msgstr "" -#: library/tarfile.rst:580 -msgid "Time of last modification." +#: library/tarfile.rst:700 +msgid "" +"Time of last modification in seconds since the :ref:`epoch `, as in :" +"attr:`os.stat_result.st_mtime`." msgstr "" -#: library/tarfile.rst:585 -msgid "Permission bits." +#: library/tarfile.rst:716 library/tarfile.rst:754 library/tarfile.rst:776 +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:712 +msgid "Permission bits, as for :func:`os.chmod`." msgstr "" -#: library/tarfile.rst:590 +#: library/tarfile.rst:722 msgid "" "File type. *type* is usually one of these constants: :const:`REGTYPE`, :" "const:`AREGTYPE`, :const:`LNKTYPE`, :const:`SYMTYPE`, :const:`DIRTYPE`, :" @@ -833,180 +999,555 @@ msgid "" "more conveniently, use the ``is*()`` methods below." msgstr "" -#: library/tarfile.rst:599 +#: library/tarfile.rst:732 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:605 +#: library/tarfile.rst:739 msgid "User ID of the user who originally stored this member." msgstr "" -#: library/tarfile.rst:610 +#: library/tarfile.rst:750 msgid "Group ID of the user who originally stored this member." msgstr "" -#: library/tarfile.rst:615 +#: library/tarfile.rst:761 msgid "User name." msgstr "" -#: library/tarfile.rst:620 +#: library/tarfile.rst:772 msgid "Group name." msgstr "" -#: library/tarfile.rst:625 +#: library/tarfile.rst:783 msgid "" "A dictionary containing key-value pairs of an associated pax extended header." msgstr "" -#: library/tarfile.rst:628 +#: library/tarfile.rst:791 +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:797 +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:801 msgid "A :class:`TarInfo` object also provides some convenient query methods:" msgstr "" -#: library/tarfile.rst:633 +#: library/tarfile.rst:806 msgid "Return :const:`True` if the :class:`Tarinfo` object is a regular file." msgstr "" -#: library/tarfile.rst:638 +#: library/tarfile.rst:811 msgid "Same as :meth:`isfile`." msgstr "" -#: library/tarfile.rst:643 +#: library/tarfile.rst:816 msgid "Return :const:`True` if it is a directory." msgstr "" -#: library/tarfile.rst:648 +#: library/tarfile.rst:821 msgid "Return :const:`True` if it is a symbolic link." msgstr "" -#: library/tarfile.rst:653 +#: library/tarfile.rst:826 msgid "Return :const:`True` if it is a hard link." msgstr "" -#: library/tarfile.rst:658 +#: library/tarfile.rst:831 msgid "Return :const:`True` if it is a character device." msgstr "" -#: library/tarfile.rst:663 +#: library/tarfile.rst:836 msgid "Return :const:`True` if it is a block device." msgstr "" -#: library/tarfile.rst:668 +#: library/tarfile.rst:841 msgid "Return :const:`True` if it is a FIFO." msgstr "" -#: library/tarfile.rst:673 +#: library/tarfile.rst:846 msgid "" "Return :const:`True` if it is one of character device, block device or FIFO." msgstr "" -#: library/tarfile.rst:680 +#: library/tarfile.rst:852 +msgid "Extraction filters" +msgstr "" + +#: library/tarfile.rst:856 +msgid "" +"The *tar* format is designed to capture all details of a UNIX-like " +"filesystem, which makes it very powerful. Unfortunately, the features make " +"it easy to create tar files that have unintended -- and possibly malicious " +"-- effects when extracted. For example, extracting a tar file can overwrite " +"arbitrary files in various ways (e.g. by using absolute paths, ``..`` path " +"components, or symlinks that affect later members)." +msgstr "" + +#: library/tarfile.rst:864 +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:870 +msgid ":pep:`706`" +msgstr "" + +#: library/tarfile.rst:871 +msgid "Contains further motivation and rationale behind the design." +msgstr "" + +#: library/tarfile.rst:873 +msgid "" +"The *filter* argument to :meth:`TarFile.extract` or :meth:`~TarFile." +"extractall` can be:" +msgstr "" + +#: library/tarfile.rst:876 +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:881 +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:885 +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:889 +msgid "``None`` (default): Use :attr:`TarFile.extraction_filter`." +msgstr "" + +#: library/tarfile.rst:891 +msgid "" +"If that is also ``None`` (the default), the ``'fully_trusted'`` filter will " +"be used (for compatibility with earlier versions of Python)." +msgstr "" + +#: library/tarfile.rst:894 +msgid "In Python 3.12, the default will emit a ``DeprecationWarning``." +msgstr "" + +#: library/tarfile.rst:896 +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:899 +msgid "" +"A callable which will be called for each extracted member with a :ref:" +"`TarInfo ` describing the member and the destination path " +"to where the archive is extracted (i.e. the same path is used for all " +"members)::" +msgstr "" + +#: library/tarfile.rst:906 +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:910 +msgid "" +"return a :class:`TarInfo` object which will be used instead of the metadata " +"in the archive, or" +msgstr "" + +#: library/tarfile.rst:912 +msgid "return ``None``, in which case the member will be skipped, or" +msgstr "" + +#: library/tarfile.rst:913 +msgid "" +"raise an exception to abort the operation or skip the member, depending on :" +"attr:`~TarFile.errorlevel`. Note that when extraction is aborted, :meth:" +"`~TarFile.extractall` may leave the archive partially extracted. It does not " +"attempt to clean up." +msgstr "" + +#: library/tarfile.rst:919 +msgid "Default named filters" +msgstr "" + +#: library/tarfile.rst:921 +msgid "" +"The pre-defined, named filters are available as functions, so they can be " +"reused in custom filters:" +msgstr "" + +#: library/tarfile.rst:926 +msgid "Return *member* unchanged." +msgstr "" + +#: library/tarfile.rst:928 +msgid "This implements the ``'fully_trusted'`` filter." +msgstr "" + +#: library/tarfile.rst:932 +msgid "Implements the ``'tar'`` filter." +msgstr "" + +#: library/tarfile.rst:934 +msgid "Strip leading slashes (``/`` and :attr:`os.sep`) from filenames." +msgstr "" + +#: library/tarfile.rst:935 +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:939 +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:942 +msgid "" +"Clear high mode bits (setuid, setgid, sticky) and group/other write bits (:" +"attr:`~stat.S_IWGRP`|:attr:`~stat.S_IWOTH`)." +msgstr "" + +#: library/tarfile.rst:978 +msgid "Return the modified ``TarInfo`` member." +msgstr "" + +#: library/tarfile.rst:949 +msgid "" +"Implements the ``'data'`` filter. In addition to what ``tar_filter`` does:" +msgstr "" + +#: library/tarfile.rst:952 +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:955 +msgid "" +"This raises :class:`~tarfile.AbsoluteLinkError` or :class:`~tarfile." +"LinkOutsideDestinationError`." +msgstr "" + +#: library/tarfile.rst:958 +msgid "" +"Note that such files are refused even on platforms that do not support " +"symbolic links." +msgstr "" + +#: library/tarfile.rst:961 +msgid "" +":ref:`Refuse ` to extract device files (including " +"pipes). This raises :class:`~tarfile.SpecialFileError`." +msgstr "" + +#: library/tarfile.rst:965 +msgid "For regular files, including hard links:" +msgstr "" + +#: library/tarfile.rst:967 +msgid "" +"Set the owner read and write permissions (:attr:`~stat.S_IRUSR`|:attr:`~stat." +"S_IWUSR`)." +msgstr "" + +#: library/tarfile.rst:969 +msgid "" +"Remove the group & other executable permission (:attr:`~stat.S_IXGRP`|:attr:" +"`~stat.S_IXOTH`) if the owner doesn’t have it (:attr:`~stat.S_IXUSR`)." +msgstr "" + +#: library/tarfile.rst:973 +msgid "" +"For other files (directories), set ``mode`` to ``None``, so that extraction " +"methods skip applying permission bits." +msgstr "" + +#: library/tarfile.rst:975 +msgid "" +"Set user and group info (``uid``, ``gid``, ``uname``, ``gname``) to " +"``None``, so that extraction methods skip setting it." +msgstr "" + +#: library/tarfile.rst:984 +msgid "Filter errors" +msgstr "" + +#: library/tarfile.rst:986 +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 " +"extraction if :attr:`TarFile.errorlevel` is 1 or more. With ``errorlevel=0`` " +"the error will be logged and the member will be skipped, but extraction will " +"continue." +msgstr "" + +#: library/tarfile.rst:994 +msgid "Hints for further verification" +msgstr "" + +#: library/tarfile.rst:996 +msgid "" +"Even with ``filter='data'``, *tarfile* is not suited for extracting " +"untrusted files without prior inspection. Among other issues, the pre-" +"defined filters do not prevent denial-of-service attacks. Users should do " +"additional checks." +msgstr "" + +#: library/tarfile.rst:1001 +msgid "Here is an incomplete list of things to consider:" +msgstr "" + +#: library/tarfile.rst:1003 +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:1006 +msgid "" +"When working with untrusted data, use external (e.g. OS-level) limits on " +"disk, memory and CPU usage." +msgstr "" + +#: library/tarfile.rst:1008 +msgid "" +"Check filenames against an allow-list of characters (to filter out control " +"characters, confusables, foreign path separators, etc.)." +msgstr "" + +#: library/tarfile.rst:1011 +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:1013 +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:1015 +msgid "Check for files that would be shadowed on case-insensitive filesystems." +msgstr "" + +#: library/tarfile.rst:1017 +msgid "Also note that:" +msgstr "" + +#: library/tarfile.rst:1019 +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:1023 +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:1029 +msgid "Supporting older Python versions" +msgstr "" + +#: library/tarfile.rst:1031 +msgid "" +"Extraction filters were added to Python 3.12, and are backported to older " +"versions as security updates. To check whether the feature is available, use " +"e.g. ``hasattr(tarfile, 'data_filter')`` rather than checking the Python " +"version." +msgstr "" + +#: library/tarfile.rst:1036 +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:1040 +msgid "Fully trusted archive::" +msgstr "" + +#: library/tarfile.rst:1045 +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:1052 +msgid "Use the ``'data'`` filter; *fail* if it is not available::" +msgstr "" + +#: library/tarfile.rst:1056 +msgid "or::" +msgstr "" + +#: library/tarfile.rst:1061 +msgid "Use the ``'data'`` filter; *warn* if it is not available::" +msgstr "" + +#: library/tarfile.rst:1072 +msgid "Stateful extraction filter example" +msgstr "" + +#: library/tarfile.rst:1074 +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:1081 +msgid "Such a filter can be written as, for example::" +msgstr "" + +#: library/tarfile.rst:1103 msgid "Command-Line Interface" msgstr "" -#: library/tarfile.rst:684 +#: library/tarfile.rst:1107 msgid "" "The :mod:`tarfile` module provides a simple command-line interface to " "interact with tar archives." msgstr "" -#: library/tarfile.rst:687 +#: library/tarfile.rst:1110 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:694 +#: library/tarfile.rst:1117 msgid "Passing a directory is also acceptable:" msgstr "" -#: library/tarfile.rst:700 +#: library/tarfile.rst:1123 msgid "" "If you want to extract a tar archive into the current directory, use the :" "option:`-e` option:" msgstr "" -#: library/tarfile.rst:707 +#: library/tarfile.rst:1130 msgid "" "You can also extract a tar archive into a different directory by passing the " "directory's name:" msgstr "" -#: library/tarfile.rst:714 +#: library/tarfile.rst:1137 msgid "For a list of the files in a tar archive, use the :option:`-l` option:" msgstr "" -#: library/tarfile.rst:722 +#: library/tarfile.rst:1145 msgid "Command-line options" msgstr "" -#: library/tarfile.rst:727 +#: library/tarfile.rst:1150 msgid "List files in a tarfile." msgstr "" -#: library/tarfile.rst:732 +#: library/tarfile.rst:1155 msgid "Create tarfile from source files." msgstr "" -#: library/tarfile.rst:737 +#: library/tarfile.rst:1160 msgid "" "Extract tarfile into the current directory if *output_dir* is not specified." msgstr "" -#: library/tarfile.rst:742 +#: library/tarfile.rst:1165 msgid "Test whether the tarfile is valid or not." msgstr "" -#: library/tarfile.rst:746 +#: library/tarfile.rst:1169 msgid "Verbose output." msgstr "" -#: library/tarfile.rst:751 +#: library/tarfile.rst:1173 +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:1183 msgid "Examples" msgstr "" -#: library/tarfile.rst:753 +#: library/tarfile.rst:1185 msgid "How to extract an entire tar archive to the current working directory::" msgstr "" -#: library/tarfile.rst:760 +#: library/tarfile.rst:1192 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:775 +#: library/tarfile.rst:1207 msgid "How to create an uncompressed tar archive from a list of filenames::" msgstr "" -#: library/tarfile.rst:783 +#: library/tarfile.rst:1215 msgid "The same example using the :keyword:`with` statement::" msgstr "" -#: library/tarfile.rst:790 +#: library/tarfile.rst:1222 msgid "" "How to read a gzip compressed tar archive and display some member " "information::" msgstr "" -#: library/tarfile.rst:804 +#: library/tarfile.rst:1236 msgid "" "How to create an archive and reset the user information using the *filter* " "parameter in :meth:`TarFile.add`::" msgstr "" -#: library/tarfile.rst:820 +#: library/tarfile.rst:1252 msgid "Supported tar formats" msgstr "" -#: library/tarfile.rst:822 +#: library/tarfile.rst:1254 msgid "" "There are three tar formats that can be created with the :mod:`tarfile` " "module:" msgstr "" -#: library/tarfile.rst:824 +#: library/tarfile.rst:1256 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. " @@ -1014,7 +1555,7 @@ msgid "" "supported format." msgstr "" -#: library/tarfile.rst:829 +#: library/tarfile.rst:1261 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 " @@ -1022,7 +1563,7 @@ msgid "" "extensions for long names, sparse file support is read-only." msgstr "" -#: library/tarfile.rst:834 +#: library/tarfile.rst:1266 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, " @@ -1033,7 +1574,7 @@ msgid "" "*ustar* format. It is the current default format for new archives." msgstr "" -#: library/tarfile.rst:842 +#: library/tarfile.rst:1274 msgid "" "It extends the existing *ustar* format with extra headers for information " "that cannot be stored otherwise. There are two flavours of pax headers: " @@ -1042,13 +1583,13 @@ msgid "" "in a pax header is encoded in *UTF-8* for portability reasons." msgstr "" -#: library/tarfile.rst:848 +#: library/tarfile.rst:1280 msgid "" "There are some more variants of the tar format which can be read, but not " "created:" msgstr "" -#: library/tarfile.rst:851 +#: library/tarfile.rst:1283 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 " @@ -1057,17 +1598,17 @@ msgid "" "ASCII characters." msgstr "" -#: library/tarfile.rst:856 +#: library/tarfile.rst:1288 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:862 +#: library/tarfile.rst:1294 msgid "Unicode issues" msgstr "" -#: library/tarfile.rst:864 +#: library/tarfile.rst:1296 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 " @@ -1082,13 +1623,13 @@ msgid "" "It stores non-ASCII metadata using the universal character encoding *UTF-8*." msgstr "" -#: library/tarfile.rst:876 +#: library/tarfile.rst:1308 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:879 +#: library/tarfile.rst:1311 msgid "" "*encoding* defines the character encoding to use for the metadata in the " "archive. The default value is :func:`sys.getfilesystemencoding` or " @@ -1097,7 +1638,7 @@ msgid "" "not set appropriately, this conversion may fail." msgstr "" -#: library/tarfile.rst:885 +#: library/tarfile.rst:1317 msgid "" "The *errors* argument defines how characters are treated that cannot be " "converted. Possible values are listed in section :ref:`error-handlers`. The " @@ -1105,7 +1646,7 @@ msgid "" "system calls, see :ref:`os-filenames`." msgstr "" -#: library/tarfile.rst:890 +#: library/tarfile.rst:1322 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/telnetlib.po b/library/telnetlib.po index 3e358df5b..475d591f9 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -295,3 +295,11 @@ msgstr "" #: library/telnetlib.rst:241 msgid "A simple example illustrating typical use::" msgstr "" + +#: library/telnetlib.rst:12 +msgid "protocol" +msgstr "" + +#: library/telnetlib.rst:12 +msgid "Telnet" +msgstr "" diff --git a/library/tempfile.po b/library/tempfile.po index a2c0199df..de9c8ac15 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -273,7 +273,7 @@ msgid "" "that file, in that order." msgstr "" -#: library/tempfile.rst:233 +#: library/tempfile.rst:236 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* " @@ -281,7 +281,7 @@ msgid "" "default value to be used." msgstr "" -#: library/tempfile.rst:239 +#: library/tempfile.rst:242 msgid "The *dir* parameter now accepts a :term:`path-like object`." msgstr "" @@ -305,80 +305,84 @@ msgid "" msgstr "" #: library/tempfile.rst:229 -msgid ":func:`mkdtemp` returns the absolute pathname of the new directory." +msgid "" +":func:`mkdtemp` returns the absolute pathname of the new directory if *dir* " +"is ``None`` or is an absolute path. If *dir* is a relative path, :func:" +"`mkdtemp` returns a relative path on Python 3.11 and lower. However, on 3.12 " +"it will return an absolute path in all situations." msgstr "" -#: library/tempfile.rst:245 +#: library/tempfile.rst:248 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:249 +#: library/tempfile.rst:252 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:252 +#: library/tempfile.rst:255 msgid "The directory named by the :envvar:`TMPDIR` environment variable." msgstr "" -#: library/tempfile.rst:254 +#: library/tempfile.rst:257 msgid "The directory named by the :envvar:`TEMP` environment variable." msgstr "" -#: library/tempfile.rst:256 +#: library/tempfile.rst:259 msgid "The directory named by the :envvar:`TMP` environment variable." msgstr "" -#: library/tempfile.rst:258 +#: library/tempfile.rst:261 msgid "A platform-specific location:" msgstr "" -#: library/tempfile.rst:260 +#: library/tempfile.rst:263 msgid "" "On Windows, the directories :file:`C:\\\\TEMP`, :file:`C:\\\\TMP`, :file:`\\" "\\TEMP`, and :file:`\\\\TMP`, in that order." msgstr "" -#: library/tempfile.rst:263 +#: library/tempfile.rst:266 msgid "" "On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, and :" "file:`/usr/tmp`, in that order." msgstr "" -#: library/tempfile.rst:266 +#: library/tempfile.rst:269 msgid "As a last resort, the current working directory." msgstr "" -#: library/tempfile.rst:268 +#: library/tempfile.rst:271 msgid "" "The result of this search is cached, see the description of :data:`tempdir` " "below." msgstr "" -#: library/tempfile.rst:273 +#: library/tempfile.rst:276 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:278 +#: library/tempfile.rst:281 msgid "Same as :func:`gettempdir` but the return value is in bytes." msgstr "" -#: library/tempfile.rst:284 +#: library/tempfile.rst:287 msgid "" "Return the filename prefix used to create temporary files. This does not " "contain the directory component." msgstr "" -#: library/tempfile.rst:289 +#: library/tempfile.rst:292 msgid "Same as :func:`gettempprefix` but the return value is in bytes." msgstr "" -#: library/tempfile.rst:293 +#: library/tempfile.rst:296 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 " @@ -388,21 +392,21 @@ msgid "" "unsuspecting code by changing global API behavior." msgstr "" -#: library/tempfile.rst:302 +#: library/tempfile.rst:305 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:307 +#: library/tempfile.rst:310 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:313 +#: library/tempfile.rst:316 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:" @@ -412,19 +416,19 @@ msgid "" "compatibility with the historical implementation." msgstr "" -#: library/tempfile.rst:324 +#: library/tempfile.rst:327 msgid "Examples" msgstr "" -#: library/tempfile.rst:326 +#: library/tempfile.rst:329 msgid "Here are some examples of typical usage of the :mod:`tempfile` module::" msgstr "" -#: library/tempfile.rst:358 +#: library/tempfile.rst:361 msgid "Deprecated functions and variables" msgstr "" -#: library/tempfile.rst:360 +#: library/tempfile.rst:363 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. " @@ -435,11 +439,11 @@ msgid "" "used by :func:`mkstemp` and the other functions described above." msgstr "" -#: library/tempfile.rst:371 +#: library/tempfile.rst:374 msgid "Use :func:`mkstemp` instead." msgstr "" -#: library/tempfile.rst:374 +#: library/tempfile.rst:377 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 " @@ -447,7 +451,7 @@ msgid "" "``prefix=None`` are not supported." msgstr "" -#: library/tempfile.rst:381 +#: library/tempfile.rst:384 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 " @@ -455,3 +459,15 @@ msgid "" "easily with :func:`NamedTemporaryFile`, passing it the ``delete=False`` " "parameter::" msgstr "" + +#: library/tempfile.rst:11 +msgid "temporary" +msgstr "" + +#: library/tempfile.rst:11 +msgid "file name" +msgstr "" + +#: library/tempfile.rst:11 +msgid "file" +msgstr "" diff --git a/library/termios.po b/library/termios.po index eb434d7c2..642d7a628 100644 --- a/library/termios.po +++ b/library/termios.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -128,3 +128,15 @@ msgid "" "`try` ... :keyword:`finally` statement to ensure that the old tty attributes " "are restored exactly no matter what happens::" msgstr "" + +#: library/termios.rst:8 +msgid "POSIX" +msgstr "" + +#: library/termios.rst:8 +msgid "I/O control" +msgstr "" + +#: library/termios.rst:8 +msgid "tty" +msgstr "" diff --git a/library/test.po b/library/test.po index 4cd555c52..3dd663f0e 100644 --- a/library/test.po +++ b/library/test.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1664,12 +1664,20 @@ msgstr "" #: library/test.rst:1636 msgid "" +"Suppress warnings that are instances of *category*, which must be :exc:" +"`Warning` or a subclass. Roughly equivalent to :func:`warnings." +"catch_warnings` with :meth:`warnings.simplefilter('ignore', " +"category=category) `. For example::" +msgstr "" + +#: library/test.rst:1651 +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:1643 +#: library/test.rst:1658 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 " @@ -1681,7 +1689,7 @@ msgid "" "``None``, compares to the offset of the exception." msgstr "" -#: library/test.rst:1657 +#: library/test.rst:1672 msgid "" "A convenience wrapper for :func:`warnings.catch_warnings()` that makes it " "easier to test that a warning was correctly raised. It is approximately " @@ -1690,7 +1698,7 @@ msgid "" "automatically validate the results that are recorded." msgstr "" -#: library/test.rst:1663 +#: library/test.rst:1678 msgid "" "``check_warnings`` accepts 2-tuples of the form ``(\"message regexp\", " "WarningCategory)`` as positional arguments. If one or more *filters* are " @@ -1702,15 +1710,15 @@ msgid "" "*quiet* to ``True``." msgstr "" -#: library/test.rst:1672 +#: library/test.rst:1687 msgid "If no arguments are specified, it defaults to::" msgstr "" -#: library/test.rst:1676 +#: library/test.rst:1691 msgid "In this case all warnings are caught and no errors are raised." msgstr "" -#: library/test.rst:1678 +#: library/test.rst:1693 msgid "" "On entry to the context manager, a :class:`WarningRecorder` instance is " "returned. The underlying warnings list from :func:`~warnings.catch_warnings` " @@ -1722,39 +1730,39 @@ msgid "" "return ``None``." msgstr "" -#: library/test.rst:1687 +#: library/test.rst:1702 msgid "" "The recorder object also has a :meth:`reset` method, which clears the " "warnings list." msgstr "" -#: library/test.rst:1690 +#: library/test.rst:1705 msgid "The context manager is designed to be used like this::" msgstr "" -#: library/test.rst:1697 +#: library/test.rst:1712 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:1700 +#: library/test.rst:1715 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:1714 +#: library/test.rst:1729 msgid "" "Here all warnings will be caught, and the test code tests the captured " "warnings directly." msgstr "" -#: library/test.rst:1717 +#: library/test.rst:1732 msgid "New optional arguments *filters* and *quiet*." msgstr "" -#: library/test.rst:1723 +#: library/test.rst:1738 msgid "" "Class used to record warnings for unit tests. See documentation of :func:" "`check_warnings` above for more details." diff --git a/library/textwrap.po b/library/textwrap.po index 72fedcce4..361f46222 100644 --- a/library/textwrap.po +++ b/library/textwrap.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -319,3 +319,11 @@ msgid "" "Wraps the single paragraph in *text*, and returns a single string containing " "the wrapped paragraph." msgstr "" + +#: library/textwrap.rst:285 +msgid "..." +msgstr "" + +#: library/textwrap.rst:285 +msgid "placeholder" +msgstr "" diff --git a/library/threading.po b/library/threading.po index 3f0b496b9..0fb4dcbd2 100644 --- a/library/threading.po +++ b/library/threading.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -318,7 +318,7 @@ msgstr "" #: library/threading.rst:256 msgid "" "For more details and extensive examples, see the documentation string of " -"the :mod:`_threading_local` module." +"the :mod:`_threading_local` module: :source:`Lib/_threading_local.py`." msgstr "" #: library/threading.rst:263 @@ -1413,3 +1413,15 @@ msgid "" "`Semaphore`, and :class:`BoundedSemaphore` objects may be used as :keyword:" "`with` statement context managers." msgstr "" + +#: library/threading.rst:164 +msgid "trace function" +msgstr "" + +#: library/threading.rst:164 +msgid "debugger" +msgstr "" + +#: library/threading.rst:184 +msgid "profile function" +msgstr "" diff --git a/library/time.po b/library/time.po index 36d401230..241370944 100644 --- a/library/time.po +++ b/library/time.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2023-03-01 11:44+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -192,7 +192,7 @@ msgstr "Karşı" msgid "Use" msgstr "Kullan" -#: library/time.rst:103 library/time.rst:109 +#: library/time.rst:100 library/time.rst:106 library/time.rst:109 msgid "seconds since the epoch" msgstr "zamanın başlangıcından beri geçen saniye" @@ -1733,3 +1733,51 @@ msgstr "" "uygulama 2000 yılından çok önce 4 basamaklı yıllara taşındı. Bundan sonra :" "rfc:`822` geçerliliğini yitirdi ve 4 basamaklı yıl önce :rfc:`1123` " "tarafından önerildi ve ardından :rfc:`2822` tarafından zorunlu kılındı." + +#: library/time.rst:22 +msgid "epoch" +msgstr "" + +#: library/time.rst:36 +msgid "Year 2038" +msgstr "" + +#: library/time.rst:42 +msgid "2-digit years" +msgstr "" + +#: library/time.rst:50 +msgid "UTC" +msgstr "" + +#: library/time.rst:50 +msgid "Coordinated Universal Time" +msgstr "" + +#: library/time.rst:50 +msgid "Greenwich Mean Time" +msgstr "" + +#: library/time.rst:59 +msgid "Daylight Saving Time" +msgstr "" + +#: library/time.rst:334 library/time.rst:642 +msgid "benchmarking" +msgstr "" + +#: library/time.rst:642 +msgid "CPU time" +msgstr "" + +#: library/time.rst:642 +msgid "processor time" +msgstr "" + +#: library/time.rst:526 +msgid "% (percent)" +msgstr "" + +#: library/time.rst:526 +msgid "datetime format" +msgstr "" diff --git a/library/timeit.po b/library/timeit.po index 1fd48a792..9d05f8f0b 100644 --- a/library/timeit.po +++ b/library/timeit.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -333,3 +333,11 @@ msgid "" "will cause the code to be executed within your current global namespace. " "This can be more convenient than individually specifying imports::" msgstr "" + +#: library/timeit.rst:9 +msgid "Benchmarking" +msgstr "" + +#: library/timeit.rst:9 +msgid "Performance" +msgstr "" diff --git a/library/tk.po b/library/tk.po index 4229ad1c1..6c090d619 100644 --- a/library/tk.po +++ b/library/tk.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2023-02-09 19:07+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -66,3 +66,20 @@ msgstr "" "birlikte, ilginizi çekebilecek başka birçok GUI kütüphanesi vardır. Python " "wiki, birkaç alternatif `GUI geliştirme çerçevesi ve aracını `_ sizler için listeler." + +#: library/tk.rst:7 +msgid "GUI" +msgstr "" + +#: library/tk.rst:7 +#, fuzzy +msgid "Graphical User Interface" +msgstr "Tk ile Grafik Kullanıcı Arayüzleri" + +#: library/tk.rst:7 +msgid "Tkinter" +msgstr "" + +#: library/tk.rst:7 +msgid "Tk" +msgstr "" diff --git a/library/tkinter.po b/library/tkinter.po index 2fa39f807..f8cd1bbd0 100644 --- a/library/tkinter.po +++ b/library/tkinter.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1217,7 +1217,7 @@ msgstr "" msgid "Here are some examples of typical usage::" msgstr "" -#: library/tkinter.rst:789 +#: library/tkinter.rst:791 msgid "Tk Option Data Types" msgstr "" @@ -1718,3 +1718,19 @@ msgstr "" #: library/tkinter.rst:1041 msgid "Constants used in the *mask* arguments." msgstr "" + +#: library/tkinter.rst:637 +msgid "packing (widgets)" +msgstr "" + +#: library/tkinter.rst:750 +msgid "window manager (widgets)" +msgstr "" + +#: library/tkinter.rst:867 +msgid "bind (widgets)" +msgstr "" + +#: library/tkinter.rst:867 +msgid "events (widgets)" +msgstr "" diff --git a/library/tkinter.tix.po b/library/tkinter.tix.po index 9325b94e6..c96048155 100644 --- a/library/tkinter.tix.po +++ b/library/tkinter.tix.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -511,3 +511,7 @@ msgid "" "sets using the :meth:`tix_config` method. Instead, the :meth:" "`tix_resetoptions` method must be used." msgstr "" + +#: library/tkinter.tix.rst:11 +msgid "Tix" +msgstr "" diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index 11ab0f449..cd6d6443f 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2128,3 +2128,7 @@ msgid "" "tuple (or other sequence type) where the first item is the layout name, and " "the other is a `Layout`_." msgstr "" + +#: library/tkinter.ttk.rst:11 +msgid "ttk" +msgstr "" diff --git a/library/traceback.po b/library/traceback.po index 055352414..ae0567a00 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -257,7 +257,7 @@ msgid "" "capture data for later printing in a lightweight fashion." msgstr "" -#: library/traceback.rst:283 +#: library/traceback.rst:297 msgid "" "Capture an exception for later rendering. *limit*, *lookup_lines* and " "*capture_locals* are as for the :class:`StackSummary` class." @@ -271,122 +271,142 @@ msgid "" "is ``None`` and ``__suppress_context__`` is false." msgstr "" -#: library/traceback.rst:286 +#: library/traceback.rst:300 msgid "" "Note that when locals are captured, they are also shown in the traceback." msgstr "" -#: library/traceback.rst:235 +#: library/traceback.rst:233 +msgid "" +"*max_group_width* and *max_group_depth* control the formatting of exception " +"groups (see :exc:`BaseExceptionGroup`). The depth refers to the nesting " +"level of the group, and the width refers to the size of a single exception " +"group's exceptions array. The formatted output is truncated when either " +"limit is exceeded." +msgstr "" + +#: library/traceback.rst:241 msgid "A :class:`TracebackException` of the original ``__cause__``." msgstr "" -#: library/traceback.rst:239 +#: library/traceback.rst:245 msgid "A :class:`TracebackException` of the original ``__context__``." msgstr "" -#: library/traceback.rst:243 +#: library/traceback.rst:249 +msgid "" +"If ``self`` represents an :exc:`ExceptionGroup`, this field holds a list of :" +"class:`TracebackException` instances representing the nested exceptions. " +"Otherwise it is ``None``." +msgstr "" + +#: library/traceback.rst:257 msgid "The ``__suppress_context__`` value from the original exception." msgstr "" -#: library/traceback.rst:247 +#: library/traceback.rst:261 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." msgstr "" -#: library/traceback.rst:255 +#: library/traceback.rst:269 msgid "A :class:`StackSummary` representing the traceback." msgstr "" -#: library/traceback.rst:259 +#: library/traceback.rst:273 msgid "The class of the original traceback." msgstr "" -#: library/traceback.rst:263 +#: library/traceback.rst:277 msgid "For syntax errors - the file name where the error occurred." msgstr "" -#: library/traceback.rst:267 +#: library/traceback.rst:281 msgid "For syntax errors - the line number where the error occurred." msgstr "" -#: library/traceback.rst:271 +#: library/traceback.rst:285 msgid "For syntax errors - the text where the error occurred." msgstr "" -#: library/traceback.rst:275 +#: library/traceback.rst:289 msgid "For syntax errors - the offset into the text where the error occurred." msgstr "" -#: library/traceback.rst:279 +#: library/traceback.rst:293 msgid "For syntax errors - the compiler error message." msgstr "" -#: library/traceback.rst:290 +#: library/traceback.rst:304 msgid "" "Print to *file* (default ``sys.stderr``) the exception information returned " "by :meth:`format`." msgstr "" -#: library/traceback.rst:297 +#: library/traceback.rst:311 msgid "Format the exception." msgstr "" -#: library/traceback.rst:299 +#: library/traceback.rst:313 msgid "" "If *chain* is not ``True``, ``__cause__`` and ``__context__`` will not be " "formatted." msgstr "" -#: library/traceback.rst:302 +#: library/traceback.rst:316 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:320 +#: library/traceback.rst:334 msgid "" "The message indicating which exception occurred is always the last string in " "the output." msgstr "" -#: library/traceback.rst:311 +#: library/traceback.rst:325 msgid "Format the exception part of the traceback." msgstr "" -#: library/traceback.rst:313 +#: library/traceback.rst:327 msgid "The return value is a generator of strings, each ending in a newline." msgstr "" -#: library/traceback.rst:315 +#: library/traceback.rst:329 msgid "" "Normally, the generator emits a single string; however, for :exc:" "`SyntaxError` exceptions, it emits several lines that (when printed) display " "detailed information about where the syntax error occurred." msgstr "" -#: library/traceback.rst:323 +#: library/traceback.rst:337 msgid "Added the *compact* parameter." msgstr "" -#: library/traceback.rst:328 +#: library/traceback.rst:340 +msgid "Added the *max_group_width* and *max_group_depth* parameters." +msgstr "" + +#: library/traceback.rst:345 msgid ":class:`StackSummary` Objects" msgstr "" -#: library/traceback.rst:332 +#: library/traceback.rst:349 msgid "" ":class:`StackSummary` objects represent a call stack ready for formatting." msgstr "" -#: library/traceback.rst:338 +#: library/traceback.rst:355 msgid "" "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:342 +#: library/traceback.rst:359 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 " @@ -396,14 +416,14 @@ msgid "" "class:`FrameSummary` are captured as object representations." msgstr "" -#: library/traceback.rst:352 +#: library/traceback.rst:369 msgid "" "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." msgstr "" -#: library/traceback.rst:358 +#: library/traceback.rst:375 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 " @@ -411,18 +431,18 @@ msgid "" "with source text lines." msgstr "" -#: library/traceback.rst:363 +#: library/traceback.rst:380 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:367 +#: library/traceback.rst:384 msgid "Long sequences of repeated frames are now abbreviated." msgstr "" -#: library/traceback.rst:372 +#: library/traceback.rst:389 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 :" @@ -430,16 +450,16 @@ msgid "" "from the output." msgstr "" -#: library/traceback.rst:381 +#: library/traceback.rst:398 msgid ":class:`FrameSummary` Objects" msgstr "" -#: library/traceback.rst:385 +#: library/traceback.rst:402 msgid "" "A :class:`FrameSummary` object represents a single frame in a traceback." msgstr "" -#: library/traceback.rst:389 +#: library/traceback.rst:406 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 " @@ -452,11 +472,11 @@ msgid "" "display." msgstr "" -#: library/traceback.rst:402 +#: library/traceback.rst:419 msgid "Traceback Examples" msgstr "" -#: library/traceback.rst:404 +#: library/traceback.rst:421 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 " @@ -464,22 +484,38 @@ msgid "" "`code` module. ::" msgstr "" -#: library/traceback.rst:426 +#: library/traceback.rst:443 msgid "" "The following example demonstrates the different ways to print and format " "the exception and traceback:" msgstr "" -#: library/traceback.rst:461 +#: library/traceback.rst:478 msgid "The output for the example would look similar to this:" msgstr "" -#: library/traceback.rst:503 +#: library/traceback.rst:520 msgid "" "The following example shows the different ways to print and format the " "stack::" msgstr "" -#: library/traceback.rst:529 +#: library/traceback.rst:546 msgid "This last example demonstrates the final few formatting functions:" msgstr "" + +#: library/traceback.rst:17 +msgid "object" +msgstr "" + +#: library/traceback.rst:17 +msgid "traceback" +msgstr "" + +#: library/traceback.rst:57 +msgid "^ (caret)" +msgstr "" + +#: library/traceback.rst:57 +msgid "marker" +msgstr "" diff --git a/library/turtle.po b/library/turtle.po index f4976d405..9810e6c23 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -199,7 +199,7 @@ msgstr "" msgid ":func:`home`" msgstr "" -#: library/turtle.rst:2463 +#: library/turtle.rst:2467 msgid ":func:`circle`" msgstr "" @@ -207,7 +207,7 @@ msgstr "" msgid ":func:`dot`" msgstr "" -#: library/turtle.rst:2441 +#: library/turtle.rst:2445 msgid ":func:`stamp`" msgstr "" @@ -407,7 +407,7 @@ msgstr "" msgid "Using events" msgstr "" -#: library/turtle.rst:2435 +#: library/turtle.rst:2439 msgid ":func:`onclick`" msgstr "" @@ -415,7 +415,7 @@ msgstr "" msgid ":func:`onrelease`" msgstr "" -#: library/turtle.rst:2418 +#: library/turtle.rst:2422 msgid ":func:`ondrag`" msgstr "" @@ -435,7 +435,7 @@ msgstr "" msgid ":func:`get_poly`" msgstr "" -#: library/turtle.rst:2457 +#: library/turtle.rst:2461 msgid ":func:`clone`" msgstr "" @@ -1275,7 +1275,7 @@ msgid "" "turtle will be displayed stretched according to its stretchfactors: " "*stretch_wid* is stretchfactor perpendicular to its orientation, " "*stretch_len* is stretchfactor in direction of its orientation, *outline* " -"determines the width of the shapes's outline." +"determines the width of the shape's outline." msgstr "" #: library/turtle.rst:1894 library/turtle.rst:1896 @@ -1452,8 +1452,8 @@ msgstr "" #: library/turtle.rst:1547 msgid "" -"Add as many components to this object as desired, using the :meth:" -"`addcomponent` method." +"Add as many components to this object as desired, using the :meth:`~Shape." +"addcomponent` method." msgstr "" #: library/turtle.rst:1550 @@ -1917,8 +1917,8 @@ msgstr "" #: library/turtle.rst:2128 msgid "" -"Provides screen oriented methods like :func:`setbg` etc. that are described " -"above." +"Provides screen oriented methods like :func:`bgcolor` etc. that are " +"described above." msgstr "" #: library/turtle.rst:2133 @@ -2139,52 +2139,52 @@ msgstr "" #: library/turtle.rst:2318 msgid "" -"The built in configuration would correspond to the following turtle.cfg::" +"The built in configuration would correspond to the following ``turtle.cfg``:" msgstr "" -#: library/turtle.rst:2341 +#: library/turtle.rst:2343 msgid "Short explanation of selected entries:" msgstr "" -#: library/turtle.rst:2343 +#: library/turtle.rst:2345 msgid "" -"The first four lines correspond to the arguments of the :meth:`Screen.setup` " -"method." +"The first four lines correspond to the arguments of the :func:`Screen.setup " +"` method." msgstr "" -#: library/turtle.rst:2345 +#: library/turtle.rst:2347 msgid "" -"Line 5 and 6 correspond to the arguments of the method :meth:`Screen." -"screensize`." +"Line 5 and 6 correspond to the arguments of the method :func:`Screen." +"screensize `." msgstr "" -#: library/turtle.rst:2347 +#: library/turtle.rst:2349 msgid "" "*shape* can be any of the built-in shapes, e.g: arrow, turtle, etc. For " "more info try ``help(shape)``." msgstr "" -#: library/turtle.rst:2349 +#: library/turtle.rst:2351 msgid "" -"If you want to use no fillcolor (i.e. make the turtle transparent), you have " -"to write ``fillcolor = \"\"`` (but all nonempty strings must not have quotes " -"in the cfg-file)." +"If you want to use no fill color (i.e. make the turtle transparent), you " +"have to write ``fillcolor = \"\"`` (but all nonempty strings must not have " +"quotes in the cfg file)." msgstr "" -#: library/turtle.rst:2352 +#: library/turtle.rst:2354 msgid "" "If you want to reflect the turtle its state, you have to use ``resizemode = " "auto``." msgstr "" -#: library/turtle.rst:2354 +#: library/turtle.rst:2356 msgid "" "If you set e.g. ``language = italian`` the docstringdict :file:" "`turtle_docstringdict_italian.py` will be loaded at import time (if present " "on the import path, e.g. in the same directory as :mod:`turtle`)." msgstr "" -#: library/turtle.rst:2357 +#: library/turtle.rst:2359 msgid "" "The entries *exampleturtle* and *examplescreen* define the names of these " "objects as they occur in the docstrings. The transformation of method-" @@ -2192,360 +2192,362 @@ msgid "" "docstrings." msgstr "" -#: library/turtle.rst:2361 +#: library/turtle.rst:2363 msgid "" "*using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its " "``-n`` switch (\"no subprocess\"). This will prevent :func:`exitonclick` to " "enter the mainloop." msgstr "" -#: library/turtle.rst:2365 +#: library/turtle.rst:2367 msgid "" "There can be a :file:`turtle.cfg` file in the directory where :mod:`turtle` " "is stored and an additional one in the current working directory. The " "latter will override the settings of the first one." msgstr "" -#: library/turtle.rst:2369 +#: library/turtle.rst:2371 msgid "" "The :file:`Lib/turtledemo` directory contains a :file:`turtle.cfg` file. " "You can study it as an example and see its effects when running the demos " "(preferably not from within the demo-viewer)." msgstr "" -#: library/turtle.rst:2375 +#: library/turtle.rst:2377 msgid ":mod:`turtledemo` --- Demo scripts" msgstr "" -#: library/turtle.rst:2380 +#: library/turtle.rst:2382 msgid "" "The :mod:`turtledemo` package includes a set of demo scripts. These scripts " "can be run and viewed using the supplied demo viewer as follows::" msgstr "" -#: library/turtle.rst:2385 +#: library/turtle.rst:2387 msgid "" "Alternatively, you can run the demo scripts individually. For example, ::" msgstr "" -#: library/turtle.rst:2389 +#: library/turtle.rst:2391 msgid "The :mod:`turtledemo` package directory contains:" msgstr "" -#: library/turtle.rst:2391 +#: library/turtle.rst:2393 msgid "" "A demo viewer :file:`__main__.py` which can be used to view the sourcecode " "of the scripts and run them at the same time." msgstr "" -#: library/turtle.rst:2393 +#: library/turtle.rst:2395 msgid "" "Multiple scripts demonstrating different features of the :mod:`turtle` " "module. Examples can be accessed via the Examples menu. They can also be " "run standalone." msgstr "" -#: library/turtle.rst:2396 +#: library/turtle.rst:2398 msgid "" "A :file:`turtle.cfg` file which serves as an example of how to write and use " "such files." msgstr "" -#: library/turtle.rst:2399 +#: library/turtle.rst:2401 msgid "The demo scripts are:" msgstr "" -#: library/turtle.rst:2404 +#: library/turtle.rst:2408 msgid "Name" msgstr "" -#: library/turtle.rst:2404 +#: library/turtle.rst:2408 msgid "Description" msgstr "" -#: library/turtle.rst:2404 +#: library/turtle.rst:2408 msgid "Features" msgstr "" -#: library/turtle.rst:2406 +#: library/turtle.rst:2410 msgid "bytedesign" msgstr "" -#: library/turtle.rst:2406 +#: library/turtle.rst:2410 msgid "complex classical turtle graphics pattern" msgstr "" -#: library/turtle.rst:2406 +#: library/turtle.rst:2410 msgid ":func:`tracer`, delay, :func:`update`" msgstr "" -#: library/turtle.rst:2409 +#: library/turtle.rst:2413 msgid "chaos" msgstr "" -#: library/turtle.rst:2409 +#: library/turtle.rst:2413 msgid "" "graphs Verhulst dynamics, shows that computer's computations can generate " "results sometimes against the common sense expectations" msgstr "" -#: library/turtle.rst:2409 +#: library/turtle.rst:2413 msgid "world coordinates" msgstr "" -#: library/turtle.rst:2415 +#: library/turtle.rst:2419 msgid "clock" msgstr "" -#: library/turtle.rst:2415 +#: library/turtle.rst:2419 msgid "analog clock showing time of your computer" msgstr "" -#: library/turtle.rst:2415 +#: library/turtle.rst:2419 msgid "turtles as clock's hands, ontimer" msgstr "" -#: library/turtle.rst:2418 +#: library/turtle.rst:2422 msgid "colormixer" msgstr "" -#: library/turtle.rst:2418 +#: library/turtle.rst:2422 msgid "experiment with r, g, b" msgstr "" -#: library/turtle.rst:2420 +#: library/turtle.rst:2424 msgid "forest" msgstr "" -#: library/turtle.rst:2420 +#: library/turtle.rst:2424 msgid "3 breadth-first trees" msgstr "" -#: library/turtle.rst:2420 +#: library/turtle.rst:2424 msgid "randomization" msgstr "" -#: library/turtle.rst:2422 +#: library/turtle.rst:2426 msgid "fractalcurves" msgstr "" -#: library/turtle.rst:2422 +#: library/turtle.rst:2426 msgid "Hilbert & Koch curves" msgstr "" -#: library/turtle.rst:2422 +#: library/turtle.rst:2426 msgid "recursion" msgstr "" -#: library/turtle.rst:2424 +#: library/turtle.rst:2428 msgid "lindenmayer" msgstr "" -#: library/turtle.rst:2424 +#: library/turtle.rst:2428 msgid "ethnomathematics (indian kolams)" msgstr "" -#: library/turtle.rst:2424 +#: library/turtle.rst:2428 msgid "L-System" msgstr "" -#: library/turtle.rst:2427 +#: library/turtle.rst:2431 msgid "minimal_hanoi" msgstr "" -#: library/turtle.rst:2427 +#: library/turtle.rst:2431 msgid "Towers of Hanoi" msgstr "" -#: library/turtle.rst:2427 +#: library/turtle.rst:2431 msgid "Rectangular Turtles as Hanoi discs (shape, shapesize)" msgstr "" -#: library/turtle.rst:2431 +#: library/turtle.rst:2435 msgid "nim" msgstr "" -#: library/turtle.rst:2431 +#: library/turtle.rst:2435 msgid "" "play the classical nim game with three heaps of sticks against the computer." msgstr "" -#: library/turtle.rst:2431 +#: library/turtle.rst:2435 msgid "turtles as nimsticks, event driven (mouse, keyboard)" msgstr "" -#: library/turtle.rst:2435 +#: library/turtle.rst:2439 msgid "paint" msgstr "" -#: library/turtle.rst:2435 +#: library/turtle.rst:2439 msgid "super minimalistic drawing program" msgstr "" -#: library/turtle.rst:2438 +#: library/turtle.rst:2442 msgid "peace" msgstr "" -#: library/turtle.rst:2438 +#: library/turtle.rst:2442 msgid "elementary" msgstr "" -#: library/turtle.rst:2438 +#: library/turtle.rst:2442 msgid "turtle: appearance and animation" msgstr "" -#: library/turtle.rst:2441 +#: library/turtle.rst:2445 msgid "penrose" msgstr "" -#: library/turtle.rst:2441 +#: library/turtle.rst:2445 msgid "aperiodic tiling with kites and darts" msgstr "" -#: library/turtle.rst:2444 +#: library/turtle.rst:2448 msgid "planet_and_moon" msgstr "" -#: library/turtle.rst:2444 +#: library/turtle.rst:2448 msgid "simulation of gravitational system" msgstr "" -#: library/turtle.rst:2444 +#: library/turtle.rst:2448 msgid "compound shapes, :class:`Vec2D`" msgstr "" -#: library/turtle.rst:2447 +#: library/turtle.rst:2451 msgid "rosette" msgstr "" -#: library/turtle.rst:2447 +#: library/turtle.rst:2451 msgid "a pattern from the wikipedia article on turtle graphics" msgstr "" -#: library/turtle.rst:2447 +#: library/turtle.rst:2451 msgid ":func:`clone`, :func:`undo`" msgstr "" -#: library/turtle.rst:2450 +#: library/turtle.rst:2454 msgid "round_dance" msgstr "" -#: library/turtle.rst:2450 +#: library/turtle.rst:2454 msgid "dancing turtles rotating pairwise in opposite direction" msgstr "" -#: library/turtle.rst:2450 +#: library/turtle.rst:2454 msgid "compound shapes, clone shapesize, tilt, get_shapepoly, update" msgstr "" -#: library/turtle.rst:2454 +#: library/turtle.rst:2458 msgid "sorting_animate" msgstr "" -#: library/turtle.rst:2454 +#: library/turtle.rst:2458 msgid "visual demonstration of different sorting methods" msgstr "" -#: library/turtle.rst:2454 +#: library/turtle.rst:2458 msgid "simple alignment, randomization" msgstr "" -#: library/turtle.rst:2457 +#: library/turtle.rst:2461 msgid "tree" msgstr "" -#: library/turtle.rst:2457 +#: library/turtle.rst:2461 msgid "a (graphical) breadth first tree (using generators)" msgstr "" -#: library/turtle.rst:2460 +#: library/turtle.rst:2464 msgid "two_canvases" msgstr "" -#: library/turtle.rst:2460 +#: library/turtle.rst:2464 msgid "simple design" msgstr "" -#: library/turtle.rst:2460 +#: library/turtle.rst:2464 msgid "turtles on two canvases" msgstr "" -#: library/turtle.rst:2463 +#: library/turtle.rst:2467 msgid "yinyang" msgstr "" -#: library/turtle.rst:2463 +#: library/turtle.rst:2467 msgid "another elementary example" msgstr "" -#: library/turtle.rst:2466 +#: library/turtle.rst:2470 msgid "Have fun!" msgstr "" -#: library/turtle.rst:2470 +#: library/turtle.rst:2474 msgid "Changes since Python 2.6" msgstr "" -#: library/turtle.rst:2472 +#: library/turtle.rst:2476 msgid "" -"The methods :meth:`Turtle.tracer`, :meth:`Turtle.window_width` and :meth:" -"`Turtle.window_height` have been eliminated. Methods with these names and " -"functionality are now available only as methods of :class:`Screen`. The " -"functions derived from these remain available. (In fact already in Python " -"2.6 these methods were merely duplications of the corresponding :class:" -"`TurtleScreen`/:class:`Screen`-methods.)" +"The methods :func:`Turtle.tracer `, :func:`Turtle.window_width " +"` and :func:`Turtle.window_height ` have been " +"eliminated. Methods with these names and functionality are now available " +"only as methods of :class:`Screen`. The functions derived from these remain " +"available. (In fact already in Python 2.6 these methods were merely " +"duplications of the corresponding :class:`TurtleScreen`/:class:`Screen` " +"methods.)" msgstr "" -#: library/turtle.rst:2480 +#: library/turtle.rst:2484 msgid "" -"The method :meth:`Turtle.fill` has been eliminated. The behaviour of :meth:" -"`begin_fill` and :meth:`end_fill` have changed slightly: now every filling-" +"The method :func:`!Turtle.fill` has been eliminated. The behaviour of :func:" +"`begin_fill` and :func:`end_fill` have changed slightly: now every filling " "process must be completed with an ``end_fill()`` call." msgstr "" -#: library/turtle.rst:2485 +#: library/turtle.rst:2489 msgid "" -"A method :meth:`Turtle.filling` has been added. It returns a boolean value: " -"``True`` if a filling process is under way, ``False`` otherwise. This " -"behaviour corresponds to a ``fill()`` call without arguments in Python 2.6." +"A method :func:`Turtle.filling ` has been added. It returns a " +"boolean value: ``True`` if a filling process is under way, ``False`` " +"otherwise. This behaviour corresponds to a ``fill()`` call without arguments " +"in Python 2.6." msgstr "" -#: library/turtle.rst:2491 +#: library/turtle.rst:2495 msgid "Changes since Python 3.0" msgstr "" -#: library/turtle.rst:2493 +#: library/turtle.rst:2497 msgid "" -"The methods :meth:`Turtle.shearfactor`, :meth:`Turtle.shapetransform` and :" -"meth:`Turtle.get_shapepoly` have been added. Thus the full range of regular " -"linear transforms is now available for transforming turtle shapes. :meth:" -"`Turtle.tiltangle` has been enhanced in functionality: it now can be used to " -"get or set the tiltangle. :meth:`Turtle.settiltangle` has been deprecated." -msgstr "" - -#: library/turtle.rst:2500 -msgid "" -"The method :meth:`Screen.onkeypress` has been added as a complement to :meth:" -"`Screen.onkey` which in fact binds actions to the keyrelease event. " -"Accordingly the latter has got an alias: :meth:`Screen.onkeyrelease`." +"The :class:`Turtle` methods :func:`shearfactor`, :func:`shapetransform` and :" +"func:`get_shapepoly` have been added. Thus the full range of regular linear " +"transforms is now available for transforming turtle shapes. :func:" +"`tiltangle` has been enhanced in functionality: it now can be used to get or " +"set the tilt angle. :func:`settiltangle` has been deprecated." msgstr "" #: library/turtle.rst:2504 msgid "" -"The method :meth:`Screen.mainloop` has been added. So when working only " -"with Screen and Turtle objects one must not additionally import :func:" -"`mainloop` anymore." +"The :class:`Screen` method :func:`onkeypress` has been added as a complement " +"to :func:`onkey`. As the latter binds actions to the key release event, an " +"alias: :func:`onkeyrelease` was also added for it." msgstr "" #: library/turtle.rst:2508 msgid "" -"Two input methods has been added :meth:`Screen.textinput` and :meth:`Screen." -"numinput`. These popup input dialogs and return strings and numbers " -"respectively." +"The method :func:`Screen.mainloop ` has been added, so there is no " +"longer a need to use the standalone :func:`mainloop` function when working " +"with :class:`Screen` and :class:`Turtle` objects." msgstr "" #: library/turtle.rst:2512 msgid "" +"Two input methods have been added: :func:`Screen.textinput ` and :" +"func:`Screen.numinput `. These pop up input dialogs and return " +"strings and numbers respectively." +msgstr "" + +#: library/turtle.rst:2516 +msgid "" "Two example scripts :file:`tdemo_nim.py` and :file:`tdemo_round_dance.py` " "have been added to the :file:`Lib/turtledemo` directory." msgstr "" diff --git a/library/types.po b/library/types.po index 0c5b3ca01..3efe73b2b 100644 --- a/library/types.po +++ b/library/types.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -120,11 +120,11 @@ msgstr "" #: library/types.rst:76 msgid "" "This function looks for items in *bases* that are not instances of :class:" -"`type`, and returns a tuple where each such object that has an " -"``__mro_entries__`` method is replaced with an unpacked result of calling " -"this method. If a *bases* item is an instance of :class:`type`, or it " -"doesn't have an ``__mro_entries__`` method, then it is included in the " -"return tuple unchanged." +"`type`, and returns a tuple where each such object that has an :meth:" +"`~object.__mro_entries__` method is replaced with an unpacked result of " +"calling this method. If a *bases* item is an instance of :class:`type`, or " +"it doesn't have an :meth:`!__mro_entries__` method, then it is included in " +"the return tuple unchanged." msgstr "" #: library/types.rst:87 @@ -360,35 +360,51 @@ msgid "This type can now be subclassed." msgstr "" #: library/types.rst:317 +msgid ":ref:`Generic Alias Types`" +msgstr "" + +#: library/types.rst:317 +msgid "In-depth documentation on instances of :class:`!types.GenericAlias`" +msgstr "" + +#: library/types.rst:319 +msgid ":pep:`585` - Type Hinting Generics In Standard Collections" +msgstr "" + +#: library/types.rst:320 +msgid "Introducing the :class:`!types.GenericAlias` class" +msgstr "" + +#: library/types.rst:324 msgid "The type of :ref:`union type expressions`." msgstr "" -#: library/types.rst:323 +#: library/types.rst:330 msgid "" "The type of traceback objects such as found in ``sys.exception()." "__traceback__``." msgstr "" -#: library/types.rst:325 +#: library/types.rst:332 msgid "" "See :ref:`the language reference ` for details of the " "available attributes and operations, and guidance on creating tracebacks " "dynamically." msgstr "" -#: library/types.rst:332 +#: library/types.rst:339 msgid "" "The type of frame objects such as found in ``tb.tb_frame`` if ``tb`` is a " "traceback object." msgstr "" -#: library/types.rst:335 +#: library/types.rst:342 msgid "" "See :ref:`the language reference ` for details of the " "available attributes and operations." msgstr "" -#: library/types.rst:341 +#: library/types.rst:348 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 " @@ -396,7 +412,7 @@ msgid "" "`property` type, but for classes defined in extension modules." msgstr "" -#: library/types.rst:349 +#: library/types.rst:356 msgid "" "The type of objects defined in extension modules with ``PyMemberDef``, such " "as ``datetime.timedelta.days``. This type is used as descriptor for simple " @@ -405,113 +421,113 @@ msgid "" "modules." msgstr "" -#: library/types.rst:356 +#: library/types.rst:363 msgid "" "In other implementations of Python, this type may be identical to " "``GetSetDescriptorType``." msgstr "" -#: library/types.rst:361 +#: library/types.rst:368 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:369 +#: library/types.rst:376 msgid "" "Updated to support the new union (``|``) operator from :pep:`584`, which " "simply delegates to the underlying mapping." msgstr "" -#: library/types.rst:374 +#: library/types.rst:381 msgid "" "Return ``True`` if the underlying mapping has a key *key*, else ``False``." msgstr "" -#: library/types.rst:379 +#: library/types.rst:386 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:384 +#: library/types.rst:391 msgid "" "Return an iterator over the keys of the underlying mapping. This is a " "shortcut for ``iter(proxy.keys())``." msgstr "" -#: library/types.rst:389 +#: library/types.rst:396 msgid "Return the number of items in the underlying mapping." msgstr "" -#: library/types.rst:393 +#: library/types.rst:400 msgid "Return a shallow copy of the underlying mapping." msgstr "" -#: library/types.rst:397 +#: library/types.rst:404 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:403 +#: library/types.rst:410 msgid "" "Return a new view of the underlying mapping's items (``(key, value)`` pairs)." msgstr "" -#: library/types.rst:408 +#: library/types.rst:415 msgid "Return a new view of the underlying mapping's keys." msgstr "" -#: library/types.rst:412 +#: library/types.rst:419 msgid "Return a new view of the underlying mapping's values." msgstr "" -#: library/types.rst:416 +#: library/types.rst:423 msgid "Return a reverse iterator over the keys of the underlying mapping." msgstr "" -#: library/types.rst:422 +#: library/types.rst:429 msgid "Additional Utility Classes and Functions" msgstr "" -#: library/types.rst:426 +#: library/types.rst:433 msgid "" "A simple :class:`object` subclass that provides attribute access to its " "namespace, as well as a meaningful repr." msgstr "" -#: library/types.rst:429 +#: library/types.rst:436 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:433 +#: library/types.rst:440 msgid "The type is roughly equivalent to the following code::" msgstr "" -#: library/types.rst:448 +#: library/types.rst:455 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:454 +#: library/types.rst:461 msgid "" "Attribute order in the repr changed from alphabetical to insertion (like " "``dict``)." msgstr "" -#: library/types.rst:460 +#: library/types.rst:467 msgid "Route attribute access on a class to __getattr__." msgstr "" -#: library/types.rst:462 +#: library/types.rst:469 msgid "" "This is a descriptor, used to define attributes that act differently when " "accessed through an instance and through a class. Instance access remains " @@ -519,18 +535,18 @@ msgid "" "class's __getattr__ method; this is done by raising AttributeError." msgstr "" -#: library/types.rst:467 +#: library/types.rst:474 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:474 +#: library/types.rst:481 msgid "Coroutine Utility Functions" msgstr "" -#: library/types.rst:478 +#: library/types.rst:485 msgid "" "This function transforms a :term:`generator` function into a :term:" "`coroutine function` which returns a generator-based coroutine. The " @@ -540,14 +556,22 @@ msgid "" "method." msgstr "" -#: library/types.rst:485 +#: library/types.rst:492 msgid "If *gen_func* is a generator function, it will be modified in-place." msgstr "" -#: library/types.rst:487 +#: library/types.rst:494 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 " "wrapped in an *awaitable* proxy object. All other types of objects will be " "returned as is." msgstr "" + +#: library/types.rst:149 +msgid "built-in function" +msgstr "" + +#: library/types.rst:149 +msgid "compile" +msgstr "" diff --git a/library/typing.po b/library/typing.po index 0b4491b1e..ea57d4296 100644 --- a/library/typing.po +++ b/library/typing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -35,8 +35,8 @@ msgstr "" msgid "" "This module provides runtime support for type hints. The most fundamental " "support consists of the types :data:`Any`, :data:`Union`, :data:`Callable`, :" -"class:`TypeVar`, and :class:`Generic`. For a full specification, please see :" -"pep:`484`. For a simplified introduction to type hints, see :pep:`483`." +"class:`TypeVar`, and :class:`Generic`. For a specification, please see :pep:" +"`484`. For a simplified introduction to type hints, see :pep:`483`." msgstr "" #: library/typing.rst:26 @@ -66,199 +66,219 @@ msgstr "" #: library/typing.rst:44 msgid "" +"For a quick overview of type hints, refer to `this cheat sheet `_." +msgstr "" + +#: library/typing.rst:47 +msgid "" +"The \"Type System Reference\" section of https://mypy.readthedocs.io/ -- " +"since the Python typing system is standardised via PEPs, this reference " +"should broadly apply to most Python type checkers, although some parts may " +"still be specific to mypy." +msgstr "" + +#: library/typing.rst:52 +msgid "" "The documentation at https://typing.readthedocs.io/ serves as useful " "reference for type system features, useful typing related tools and typing " "best practices." msgstr "" -#: library/typing.rst:51 +#: library/typing.rst:58 msgid "Relevant PEPs" msgstr "" -#: library/typing.rst:53 +#: library/typing.rst:60 msgid "" "Since the initial introduction of type hints in :pep:`484` and :pep:`483`, a " "number of PEPs have modified and enhanced Python's framework for type " "annotations. These include:" msgstr "" -#: library/typing.rst:58 +#: library/typing.rst:65 msgid ":pep:`526`: Syntax for Variable Annotations" msgstr "" -#: library/typing.rst:58 +#: library/typing.rst:65 msgid "" "*Introducing* syntax for annotating variables outside of function " "definitions, and :data:`ClassVar`" msgstr "" -#: library/typing.rst:61 +#: library/typing.rst:68 msgid ":pep:`544`: Protocols: Structural subtyping (static duck typing)" msgstr "" -#: library/typing.rst:61 +#: library/typing.rst:68 msgid "" "*Introducing* :class:`Protocol` and the :func:" "`@runtime_checkable` decorator" msgstr "" -#: library/typing.rst:64 +#: library/typing.rst:71 msgid ":pep:`585`: Type Hinting Generics In Standard Collections" msgstr "" -#: library/typing.rst:64 +#: library/typing.rst:71 msgid "" "*Introducing* :class:`types.GenericAlias` and the ability to use standard " "library classes as :ref:`generic types`" msgstr "" -#: library/typing.rst:66 +#: library/typing.rst:73 msgid ":pep:`586`: Literal Types" msgstr "" -#: library/typing.rst:67 +#: library/typing.rst:74 msgid "*Introducing* :data:`Literal`" msgstr "" -#: library/typing.rst:68 +#: library/typing.rst:75 msgid "" ":pep:`589`: TypedDict: Type Hints for Dictionaries with a Fixed Set of Keys" msgstr "" -#: library/typing.rst:69 +#: library/typing.rst:76 msgid "*Introducing* :class:`TypedDict`" msgstr "" -#: library/typing.rst:70 +#: library/typing.rst:77 msgid ":pep:`591`: Adding a final qualifier to typing" msgstr "" -#: library/typing.rst:71 +#: library/typing.rst:78 msgid "*Introducing* :data:`Final` and the :func:`@final` decorator" msgstr "" -#: library/typing.rst:72 +#: library/typing.rst:79 msgid ":pep:`593`: Flexible function and variable annotations" msgstr "" -#: library/typing.rst:73 +#: library/typing.rst:80 msgid "*Introducing* :data:`Annotated`" msgstr "" -#: library/typing.rst:76 +#: library/typing.rst:83 msgid ":pep:`604`: Allow writing union types as ``X | Y``" msgstr "" -#: library/typing.rst:75 +#: library/typing.rst:82 msgid "" "*Introducing* :data:`types.UnionType` and the ability to use the binary-or " "operator ``|`` to signify a :ref:`union of types`" msgstr "" -#: library/typing.rst:78 +#: library/typing.rst:85 msgid ":pep:`612`: Parameter Specification Variables" msgstr "" -#: library/typing.rst:79 +#: library/typing.rst:86 msgid "*Introducing* :class:`ParamSpec` and :data:`Concatenate`" msgstr "" -#: library/typing.rst:80 +#: library/typing.rst:87 msgid ":pep:`613`: Explicit Type Aliases" msgstr "" -#: library/typing.rst:81 +#: library/typing.rst:88 msgid "*Introducing* :data:`TypeAlias`" msgstr "" -#: library/typing.rst:82 +#: library/typing.rst:89 msgid ":pep:`646`: Variadic Generics" msgstr "" -#: library/typing.rst:83 +#: library/typing.rst:90 msgid "*Introducing* :data:`TypeVarTuple`" msgstr "" -#: library/typing.rst:84 +#: library/typing.rst:91 msgid ":pep:`647`: User-Defined Type Guards" msgstr "" -#: library/typing.rst:85 +#: library/typing.rst:92 msgid "*Introducing* :data:`TypeGuard`" msgstr "" -#: library/typing.rst:86 +#: library/typing.rst:93 msgid "" ":pep:`655`: Marking individual TypedDict items as required or potentially " "missing" msgstr "" -#: library/typing.rst:87 +#: library/typing.rst:94 msgid "*Introducing* :data:`Required` and :data:`NotRequired`" msgstr "" -#: library/typing.rst:88 +#: library/typing.rst:95 msgid ":pep:`673`: Self type" msgstr "" -#: library/typing.rst:89 +#: library/typing.rst:96 msgid "*Introducing* :data:`Self`" msgstr "" -#: library/typing.rst:90 +#: library/typing.rst:97 msgid ":pep:`675`: Arbitrary Literal String Type" msgstr "" -#: library/typing.rst:91 +#: library/typing.rst:98 msgid "*Introducing* :data:`LiteralString`" msgstr "" -#: library/typing.rst:93 +#: library/typing.rst:100 msgid ":pep:`681`: Data Class Transforms" msgstr "" -#: library/typing.rst:93 +#: library/typing.rst:100 msgid "" "*Introducing* the :func:`@dataclass_transform` decorator" msgstr "" -#: library/typing.rst:98 +#: library/typing.rst:105 msgid "Type aliases" msgstr "" -#: library/typing.rst:100 +#: library/typing.rst:107 msgid "" "A type alias is defined by assigning the type to the alias. In this example, " "``Vector`` and ``list[float]`` will be treated as interchangeable synonyms::" msgstr "" -#: library/typing.rst:111 +#: library/typing.rst:118 msgid "" "Type aliases are useful for simplifying complex type signatures. For " "example::" msgstr "" -#: library/typing.rst:129 +#: library/typing.rst:136 msgid "" "Note that ``None`` as a type hint is a special case and is replaced by " "``type(None)``." msgstr "" -#: library/typing.rst:135 +#: library/typing.rst:139 +msgid "" +"Type aliases may be marked with :data:`TypeAlias` to make it explicit that " +"the statement is a type alias declaration, not a normal variable assignment::" +msgstr "" + +#: library/typing.rst:149 msgid "NewType" msgstr "" -#: library/typing.rst:137 +#: library/typing.rst:151 msgid "Use the :class:`NewType` helper to create distinct types::" msgstr "" -#: library/typing.rst:144 +#: library/typing.rst:158 msgid "" "The static type checker will treat the new type as if it were a subclass of " "the original type. This is useful in helping catch logical errors::" msgstr "" -#: library/typing.rst:156 +#: library/typing.rst:170 msgid "" "You may still perform all ``int`` operations on a variable of type " "``UserId``, but the result will always be of type ``int``. This lets you " @@ -266,7 +286,7 @@ msgid "" "you from accidentally creating a ``UserId`` in an invalid way::" msgstr "" -#: library/typing.rst:164 +#: library/typing.rst:178 msgid "" "Note that these checks are enforced only by the static type checker. At " "runtime, the statement ``Derived = NewType('Derived', Base)`` will make " @@ -275,31 +295,31 @@ msgid "" "class or introduce much overhead beyond that of a regular function call." msgstr "" -#: library/typing.rst:170 +#: library/typing.rst:184 msgid "" "More precisely, the expression ``some_value is Derived(some_value)`` is " "always true at runtime." msgstr "" -#: library/typing.rst:173 +#: library/typing.rst:187 msgid "It is invalid to create a subtype of ``Derived``::" msgstr "" -#: library/typing.rst:182 +#: library/typing.rst:196 msgid "" "However, it is possible to create a :class:`NewType` based on a 'derived' " "``NewType``::" msgstr "" -#: library/typing.rst:190 +#: library/typing.rst:204 msgid "and typechecking for ``ProUserId`` will work as expected." msgstr "" -#: library/typing.rst:192 +#: library/typing.rst:206 msgid "See :pep:`484` for more details." msgstr "" -#: library/typing.rst:196 +#: library/typing.rst:210 msgid "" "Recall that the use of a type alias declares two types to be *equivalent* to " "one another. Doing ``Alias = Original`` will make the static type checker " @@ -307,7 +327,7 @@ msgid "" "This is useful when you want to simplify complex type signatures." msgstr "" -#: library/typing.rst:201 +#: library/typing.rst:215 msgid "" "In contrast, ``NewType`` declares one type to be a *subtype* of another. " "Doing ``Derived = NewType('Derived', Original)`` will make the static type " @@ -317,35 +337,35 @@ msgid "" "errors with minimal runtime cost." msgstr "" -#: library/typing.rst:210 +#: library/typing.rst:224 msgid "" "``NewType`` is now a class rather than a function. There is some additional " "runtime cost when calling ``NewType`` over a regular function. However, " "this cost will be reduced in 3.11.0." msgstr "" -#: library/typing.rst:217 +#: library/typing.rst:231 msgid "Callable" msgstr "" -#: library/typing.rst:219 +#: library/typing.rst:233 msgid "" "Frameworks expecting callback functions of specific signatures might be type " "hinted using ``Callable[[Arg1Type, Arg2Type], ReturnType]``." msgstr "" -#: library/typing.rst:1164 library/typing.rst:2801 +#: library/typing.rst:1192 library/typing.rst:2889 msgid "For example::" msgstr "" -#: library/typing.rst:237 +#: library/typing.rst:251 msgid "" "It is possible to declare the return type of a callable without specifying " "the call signature by substituting a literal ellipsis for the list of " "arguments in the type hint: ``Callable[..., ReturnType]``." msgstr "" -#: library/typing.rst:843 +#: library/typing.rst:871 msgid "" "Callables which take other callables as arguments may indicate that their " "parameter types are dependent on each other using :class:`ParamSpec`. " @@ -356,97 +376,97 @@ msgid "" "ReturnType]`` respectively." msgstr "" -#: library/typing.rst:855 +#: library/typing.rst:883 msgid "" "``Callable`` now supports :class:`ParamSpec` and :data:`Concatenate`. See :" "pep:`612` for more details." msgstr "" -#: library/typing.rst:254 +#: library/typing.rst:268 msgid "" "The documentation for :class:`ParamSpec` and :class:`Concatenate` provides " "examples of usage in ``Callable``." msgstr "" -#: library/typing.rst:260 +#: library/typing.rst:274 msgid "Generics" msgstr "" -#: library/typing.rst:262 +#: library/typing.rst:276 msgid "" "Since type information about objects kept in containers cannot be statically " "inferred in a generic way, abstract base classes have been extended to " "support subscription to denote expected types for container elements." msgstr "" -#: library/typing.rst:273 +#: library/typing.rst:287 msgid "" "Generics can be parameterized by using a factory available in typing called :" "class:`TypeVar`." msgstr "" -#: library/typing.rst:289 +#: library/typing.rst:303 msgid "User-defined generic types" msgstr "" -#: library/typing.rst:291 +#: library/typing.rst:305 msgid "A user-defined class can be defined as a generic class." msgstr "" -#: library/typing.rst:317 +#: library/typing.rst:331 msgid "" "``Generic[T]`` as a base class defines that the class ``LoggedVar`` takes a " "single type parameter ``T`` . This also makes ``T`` valid as a type within " "the class body." msgstr "" -#: library/typing.rst:321 +#: library/typing.rst:335 msgid "" "The :class:`Generic` base class defines :meth:`~object.__class_getitem__` so " "that ``LoggedVar[T]`` is valid as a type::" msgstr "" -#: library/typing.rst:330 +#: library/typing.rst:344 msgid "" "A generic type can have any number of type variables. All varieties of :" "class:`TypeVar` are permissible as parameters for a generic type::" msgstr "" -#: library/typing.rst:342 +#: library/typing.rst:356 msgid "" "Each type variable argument to :class:`Generic` must be distinct. This is " "thus invalid::" msgstr "" -#: library/typing.rst:353 +#: library/typing.rst:367 msgid "You can use multiple inheritance with :class:`Generic`::" msgstr "" -#: library/typing.rst:363 +#: library/typing.rst:377 msgid "" -"When inheriting from generic classes, some type variables could be fixed::" +"When inheriting from generic classes, some type parameters could be fixed::" msgstr "" -#: library/typing.rst:373 +#: library/typing.rst:387 msgid "In this case ``MyDict`` has a single parameter, ``T``." msgstr "" -#: library/typing.rst:375 +#: library/typing.rst:389 msgid "" "Using a generic class without specifying type parameters assumes :data:`Any` " "for each position. In the following example, ``MyIterable`` is not generic " "but implicitly inherits from ``Iterable[Any]``::" msgstr "" -#: library/typing.rst:383 -msgid "User defined generic type aliases are also supported. Examples::" +#: library/typing.rst:397 +msgid "User-defined generic type aliases are also supported. Examples::" msgstr "" -#: library/typing.rst:400 +#: library/typing.rst:414 msgid ":class:`Generic` no longer has a custom metaclass." msgstr "" -#: library/typing.rst:403 +#: library/typing.rst:417 msgid "" "User-defined generics for parameter expressions are also supported via " "parameter specification variables in the form ``Generic[P]``. The behavior " @@ -456,7 +476,7 @@ msgid "" "used to substitute a :class:`ParamSpec`::" msgstr "" -#: library/typing.rst:420 +#: library/typing.rst:433 msgid "" "Furthermore, a generic with only one parameter specification variable will " "accept parameter lists in the forms ``X[[Type1, Type2, ...]]`` and also " @@ -464,20 +484,20 @@ msgid "" "converted to the former, so the following are equivalent::" msgstr "" -#: library/typing.rst:432 +#: library/typing.rst:445 msgid "" "Do note that generics with :class:`ParamSpec` may not have correct " "``__parameters__`` after substitution in some cases because they are " "intended primarily for static type checking." msgstr "" -#: library/typing.rst:436 +#: library/typing.rst:449 msgid "" ":class:`Generic` can now be parameterized over parameter expressions. See :" "class:`ParamSpec` and :pep:`612` for more details." msgstr "" -#: library/typing.rst:440 +#: library/typing.rst:453 msgid "" "A user-defined generic class can have ABCs as base classes without a " "metaclass conflict. Generic metaclasses are not supported. The outcome of " @@ -485,24 +505,24 @@ msgid "" "term:`hashable` and comparable for equality." msgstr "" -#: library/typing.rst:447 +#: library/typing.rst:460 msgid "The :data:`Any` type" msgstr "" -#: library/typing.rst:449 +#: library/typing.rst:462 msgid "" "A special kind of type is :data:`Any`. A static type checker will treat " "every type as being compatible with :data:`Any` and :data:`Any` as being " "compatible with every type." msgstr "" -#: library/typing.rst:453 +#: library/typing.rst:466 msgid "" "This means that it is possible to perform any operation or method call on a " "value of type :data:`Any` and assign it to any variable::" msgstr "" -#: library/typing.rst:471 +#: library/typing.rst:484 msgid "" "Notice that no type checking is performed when assigning a value of type :" "data:`Any` to a more precise type. For example, the static type checker did " @@ -511,19 +531,19 @@ msgid "" "runtime!" msgstr "" -#: library/typing.rst:477 +#: library/typing.rst:490 msgid "" "Furthermore, all functions without a return type or parameter types will " "implicitly default to using :data:`Any`::" msgstr "" -#: library/typing.rst:490 +#: library/typing.rst:503 msgid "" "This behavior allows :data:`Any` to be used as an *escape hatch* when you " "need to mix dynamically and statically typed code." msgstr "" -#: library/typing.rst:493 +#: library/typing.rst:506 msgid "" "Contrast the behavior of :data:`Any` with the behavior of :class:`object`. " "Similar to :data:`Any`, every type is a subtype of :class:`object`. However, " @@ -531,7 +551,7 @@ msgid "" "subtype of every other type." msgstr "" -#: library/typing.rst:498 +#: library/typing.rst:511 msgid "" "That means when the type of a value is :class:`object`, a type checker will " "reject almost all operations on it, and assigning it to a variable (or using " @@ -539,24 +559,24 @@ msgid "" "example::" msgstr "" -#: library/typing.rst:520 +#: library/typing.rst:533 msgid "" "Use :class:`object` to indicate that a value could be any type in a typesafe " "manner. Use :data:`Any` to indicate that a value is dynamically typed." msgstr "" -#: library/typing.rst:525 +#: library/typing.rst:538 msgid "Nominal vs structural subtyping" msgstr "" -#: library/typing.rst:527 +#: library/typing.rst:540 msgid "" "Initially :pep:`484` defined the Python static type system as using *nominal " "subtyping*. This means that a class ``A`` is allowed where a class ``B`` is " "expected if and only if ``A`` is a subclass of ``B``." msgstr "" -#: library/typing.rst:531 +#: library/typing.rst:544 msgid "" "This requirement previously also applied to abstract base classes, such as :" "class:`~collections.abc.Iterable`. The problem with this approach is that a " @@ -565,7 +585,7 @@ msgid "" "code. For example, this conforms to :pep:`484`::" msgstr "" -#: library/typing.rst:544 +#: library/typing.rst:557 msgid "" ":pep:`544` allows to solve this problem by allowing users to write the above " "code without explicit base classes in the class definition, allowing " @@ -574,22 +594,22 @@ msgid "" "subtyping* (or static duck-typing)::" msgstr "" -#: library/typing.rst:560 +#: library/typing.rst:573 msgid "" "Moreover, by subclassing a special class :class:`Protocol`, a user can " "define new custom protocols to fully enjoy structural subtyping (see " "examples below)." msgstr "" -#: library/typing.rst:565 +#: library/typing.rst:578 msgid "Module contents" msgstr "" -#: library/typing.rst:567 +#: library/typing.rst:580 msgid "The module defines the following classes, functions and decorators." msgstr "" -#: library/typing.rst:571 +#: library/typing.rst:584 msgid "" "This module defines several types that are subclasses of pre-existing " "standard library classes which also extend :class:`Generic` to support type " @@ -597,7 +617,7 @@ msgid "" "corresponding pre-existing classes were enhanced to support ``[]``." msgstr "" -#: library/typing.rst:577 +#: library/typing.rst:590 msgid "" "The redundant types are deprecated as of Python 3.9 but no deprecation " "warnings will be issued by the interpreter. It is expected that type " @@ -605,45 +625,58 @@ msgid "" "Python 3.9 or newer." msgstr "" -#: library/typing.rst:582 +#: library/typing.rst:595 msgid "" -"The deprecated types will be removed from the :mod:`typing` module in the " -"first Python version released 5 years after the release of Python 3.9.0. See " -"details in :pep:`585`—*Type Hinting Generics In Standard Collections*." +"The deprecated types will be removed from the :mod:`typing` module no sooner " +"than the first Python version released 5 years after the release of Python " +"3.9.0. See details in :pep:`585`—*Type Hinting Generics In Standard " +"Collections*." msgstr "" -#: library/typing.rst:588 +#: library/typing.rst:601 msgid "Special typing primitives" msgstr "" -#: library/typing.rst:591 +#: library/typing.rst:604 msgid "Special types" msgstr "" -#: library/typing.rst:593 +#: library/typing.rst:606 msgid "These can be used as types in annotations and do not support ``[]``." msgstr "" -#: library/typing.rst:597 +#: library/typing.rst:610 msgid "Special type indicating an unconstrained type." msgstr "" -#: library/typing.rst:599 +#: library/typing.rst:612 msgid "Every type is compatible with :data:`Any`." msgstr "" -#: library/typing.rst:600 +#: library/typing.rst:613 msgid ":data:`Any` is compatible with every type." msgstr "" -#: library/typing.rst:602 +#: library/typing.rst:615 msgid "" ":data:`Any` can now be used as a base class. This can be useful for avoiding " "type checker errors with classes that can duck type anywhere or are highly " "dynamic." msgstr "" -#: library/typing.rst:609 +#: library/typing.rst:622 +msgid "" +"``AnyStr`` is a :ref:`constrained type variable ` defined as ``AnyStr = TypeVar('AnyStr', str, bytes)``." +msgstr "" + +#: library/typing.rst:625 +msgid "" +"It is meant to be used for functions that may accept any kind of string " +"without allowing different kinds of strings to mix. For example::" +msgstr "" + +#: library/typing.rst:637 msgid "" "Special type that includes only literal strings. A string literal is " "compatible with ``LiteralString``, as is another ``LiteralString``, but an " @@ -651,44 +684,44 @@ msgid "" "``LiteralString``-typed objects is also acceptable as a ``LiteralString``." msgstr "" -#: library/typing.rst:2443 +#: library/typing.rst:2518 msgid "Example::" msgstr "" -#: library/typing.rst:629 +#: library/typing.rst:657 msgid "" "This is useful for sensitive APIs where arbitrary user-generated strings " "could generate problems. For example, the two cases above that generate type " "checker errors could be vulnerable to an SQL injection attack." msgstr "" -#: library/typing.rst:634 +#: library/typing.rst:662 msgid "See :pep:`675` for more details." msgstr "" -#: library/typing.rst:640 +#: library/typing.rst:668 msgid "" "The `bottom type `_, a type that " "has no members." msgstr "" -#: library/typing.rst:643 +#: library/typing.rst:671 msgid "" "This can be used to define a function that should never be called, or a " "function that never returns::" msgstr "" -#: library/typing.rst:663 +#: library/typing.rst:691 msgid "" "On older Python versions, :data:`NoReturn` may be used to express the same " "concept. ``Never`` was added to make the intended meaning more explicit." msgstr "" -#: library/typing.rst:668 +#: library/typing.rst:696 msgid "Special type indicating that a function never returns. For example::" msgstr "" -#: library/typing.rst:676 +#: library/typing.rst:704 msgid "" "``NoReturn`` can also be used as a `bottom type `_, a type that has no values. Starting in Python 3.11, " @@ -696,150 +729,150 @@ msgid "" "checkers should treat the two equivalently." msgstr "" -#: library/typing.rst:687 +#: library/typing.rst:715 msgid "Special type to represent the current enclosed class. For example::" msgstr "" -#: library/typing.rst:698 +#: library/typing.rst:726 msgid "" "This annotation is semantically equivalent to the following, albeit in a " "more succinct fashion::" msgstr "" -#: library/typing.rst:710 +#: library/typing.rst:738 msgid "In general if something currently follows the pattern of::" msgstr "" -#: library/typing.rst:717 +#: library/typing.rst:745 msgid "" "You should use :data:`Self` as calls to ``SubclassOfFoo.return_self`` would " "have ``Foo`` as the return type and not ``SubclassOfFoo``." msgstr "" -#: library/typing.rst:720 +#: library/typing.rst:748 msgid "Other common use cases include:" msgstr "" -#: library/typing.rst:722 +#: library/typing.rst:750 msgid "" ":class:`classmethod`\\s that are used as alternative constructors and return " "instances of the ``cls`` parameter." msgstr "" -#: library/typing.rst:724 +#: library/typing.rst:752 msgid "Annotating an :meth:`~object.__enter__` method which returns self." msgstr "" -#: library/typing.rst:726 +#: library/typing.rst:754 msgid "See :pep:`673` for more details." msgstr "" -#: library/typing.rst:732 +#: library/typing.rst:760 msgid "" "Special annotation for explicitly declaring a :ref:`type alias `. For example::" msgstr "" -#: library/typing.rst:739 +#: library/typing.rst:767 msgid "See :pep:`613` for more details about explicit type aliases." msgstr "" -#: library/typing.rst:744 +#: library/typing.rst:772 msgid "Special forms" msgstr "" -#: library/typing.rst:746 +#: library/typing.rst:774 msgid "" "These can be used as types in annotations using ``[]``, each having a unique " "syntax." msgstr "" -#: library/typing.rst:750 +#: library/typing.rst:778 msgid "" "Tuple type; ``Tuple[X, Y]`` is the type of a tuple of two items with the " "first item of type X and the second of type Y. The type of the empty tuple " "can be written as ``Tuple[()]``." msgstr "" -#: library/typing.rst:754 +#: library/typing.rst:782 msgid "" "Example: ``Tuple[T1, T2]`` is a tuple of two elements corresponding to type " "variables T1 and T2. ``Tuple[int, float, str]`` is a tuple of an int, a " "float and a string." msgstr "" -#: library/typing.rst:758 +#: library/typing.rst:786 msgid "" "To specify a variable-length tuple of homogeneous type, use literal " "ellipsis, e.g. ``Tuple[int, ...]``. A plain :data:`Tuple` is equivalent to " "``Tuple[Any, ...]``, and in turn to :class:`tuple`." msgstr "" -#: library/typing.rst:762 +#: library/typing.rst:790 msgid "" ":class:`builtins.tuple ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:768 +#: library/typing.rst:796 msgid "" "Union type; ``Union[X, Y]`` is equivalent to ``X | Y`` and means either X or " "Y." msgstr "" -#: library/typing.rst:770 +#: library/typing.rst:798 msgid "" "To define a union, use e.g. ``Union[int, str]`` or the shorthand ``int | " "str``. Using that shorthand is recommended. Details:" msgstr "" -#: library/typing.rst:772 +#: library/typing.rst:800 msgid "The arguments must be types and there must be at least one." msgstr "" -#: library/typing.rst:774 +#: library/typing.rst:802 msgid "Unions of unions are flattened, e.g.::" msgstr "" -#: library/typing.rst:778 +#: library/typing.rst:806 msgid "Unions of a single argument vanish, e.g.::" msgstr "" -#: library/typing.rst:782 +#: library/typing.rst:810 msgid "Redundant arguments are skipped, e.g.::" msgstr "" -#: library/typing.rst:786 +#: library/typing.rst:814 msgid "When comparing unions, the argument order is ignored, e.g.::" msgstr "" -#: library/typing.rst:790 +#: library/typing.rst:818 msgid "You cannot subclass or instantiate a ``Union``." msgstr "" -#: library/typing.rst:792 +#: library/typing.rst:820 msgid "You cannot write ``Union[X][Y]``." msgstr "" -#: library/typing.rst:794 +#: library/typing.rst:822 msgid "Don't remove explicit subclasses from unions at runtime." msgstr "" -#: library/typing.rst:797 +#: library/typing.rst:825 msgid "" "Unions can now be written as ``X | Y``. See :ref:`union type " "expressions`." msgstr "" -#: library/typing.rst:803 +#: library/typing.rst:831 msgid "Optional type." msgstr "" -#: library/typing.rst:805 +#: library/typing.rst:833 msgid "``Optional[X]`` is equivalent to ``X | None`` (or ``Union[X, None]``)." msgstr "" -#: library/typing.rst:807 +#: library/typing.rst:835 msgid "" "Note that this is not the same concept as an optional argument, which is one " "that has a default. An optional argument with a default does not require " @@ -847,31 +880,31 @@ msgid "" "optional. For example::" msgstr "" -#: library/typing.rst:815 +#: library/typing.rst:843 msgid "" "On the other hand, if an explicit value of ``None`` is allowed, the use of " "``Optional`` is appropriate, whether the argument is optional or not. For " "example::" msgstr "" -#: library/typing.rst:822 +#: library/typing.rst:850 msgid "" "Optional can now be written as ``X | None``. See :ref:`union type " "expressions`." msgstr "" -#: library/typing.rst:828 +#: library/typing.rst:856 msgid "Callable type; ``Callable[[int], str]`` is a function of (int) -> str." msgstr "" -#: library/typing.rst:830 +#: library/typing.rst:858 msgid "" "The subscription syntax must always be used with exactly two values: the " "argument list and the return type. The argument list must be a list of " "types or an ellipsis; the return type must be a single type." msgstr "" -#: library/typing.rst:835 +#: library/typing.rst:863 msgid "" "There is no syntax to indicate optional or keyword arguments; such function " "types are rarely used as callback types. ``Callable[..., ReturnType]`` " @@ -881,19 +914,19 @@ msgid "" "Callable`." msgstr "" -#: library/typing.rst:851 +#: library/typing.rst:879 msgid "" ":class:`collections.abc.Callable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:860 +#: library/typing.rst:888 msgid "" "The documentation for :class:`ParamSpec` and :class:`Concatenate` provide " "examples of usage with ``Callable``." msgstr "" -#: library/typing.rst:865 +#: library/typing.rst:893 msgid "" "Used with :data:`Callable` and :class:`ParamSpec` to type annotate a higher " "order callable which adds, removes, or transforms parameters of another " @@ -903,7 +936,7 @@ msgid "" "``Concatenate`` must be a :class:`ParamSpec` or ellipsis (``...``)." msgstr "" -#: library/typing.rst:873 +#: library/typing.rst:901 msgid "" "For example, to annotate a decorator ``with_lock`` which provides a :class:" "`threading.Lock` to the decorated function, ``Concatenate`` can be used to " @@ -914,17 +947,17 @@ msgid "" "passed in::" msgstr "" -#: library/typing.rst:1500 +#: library/typing.rst:1564 msgid "" ":pep:`612` -- Parameter Specification Variables (the PEP which introduced " "``ParamSpec`` and ``Concatenate``)." msgstr "" -#: library/typing.rst:914 +#: library/typing.rst:942 msgid ":class:`ParamSpec` and :class:`Callable`." msgstr "" -#: library/typing.rst:919 +#: library/typing.rst:947 msgid "" "A variable annotated with ``C`` may accept a value of type ``C``. In " "contrast, a variable annotated with ``Type[C]`` may accept values that are " @@ -932,11 +965,11 @@ msgid "" "``C``. For example::" msgstr "" -#: library/typing.rst:928 +#: library/typing.rst:956 msgid "Note that ``Type[C]`` is covariant::" msgstr "" -#: library/typing.rst:940 +#: library/typing.rst:968 msgid "" "The fact that ``Type[C]`` is covariant implies that all subclasses of ``C`` " "should implement the same constructor signature and class method signatures " @@ -946,39 +979,39 @@ msgid "" "particular case may change in future revisions of :pep:`484`." msgstr "" -#: library/typing.rst:948 +#: library/typing.rst:976 msgid "" "The only legal parameters for :class:`Type` are classes, :data:`Any`, :ref:" "`type variables `, and unions of any of these types. For example::" msgstr "" -#: library/typing.rst:954 +#: library/typing.rst:982 msgid "" "``Type[Any]`` is equivalent to ``Type`` which in turn is equivalent to " "``type``, which is the root of Python's metaclass hierarchy." msgstr "" -#: library/typing.rst:959 +#: library/typing.rst:987 msgid "" ":class:`builtins.type ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:965 +#: library/typing.rst:993 msgid "" "A type that can be used to indicate to type checkers that the corresponding " "variable or function parameter has a value equivalent to the provided " "literal (or one of several literals). For example::" msgstr "" -#: library/typing.rst:979 +#: library/typing.rst:1007 msgid "" "``Literal[...]`` cannot be subclassed. At runtime, an arbitrary value is " "allowed as type argument to ``Literal[...]``, but type checkers may impose " "restrictions. See :pep:`586` for more details about literal types." msgstr "" -#: library/typing.rst:985 +#: library/typing.rst:1013 msgid "" "``Literal`` now de-duplicates parameters. Equality comparisons of " "``Literal`` objects are no longer order dependent. ``Literal`` objects will " @@ -986,22 +1019,22 @@ msgid "" "their parameters are not :term:`hashable`." msgstr "" -#: library/typing.rst:993 +#: library/typing.rst:1021 msgid "Special type construct to mark class variables." msgstr "" -#: library/typing.rst:995 +#: library/typing.rst:1023 msgid "" "As introduced in :pep:`526`, a variable annotation wrapped in ClassVar " "indicates that a given attribute is intended to be used as a class variable " "and should not be set on instances of that class. Usage::" msgstr "" -#: library/typing.rst:1003 +#: library/typing.rst:1031 msgid ":data:`ClassVar` accepts only types and cannot be further subscribed." msgstr "" -#: library/typing.rst:1005 +#: library/typing.rst:1033 msgid "" ":data:`ClassVar` is not a class itself, and should not be used with :func:" "`isinstance` or :func:`issubclass`. :data:`ClassVar` does not change Python " @@ -1009,29 +1042,29 @@ msgid "" "example, a type checker might flag the following code as an error::" msgstr "" -#: library/typing.rst:1019 +#: library/typing.rst:1047 msgid "" "A special typing construct to indicate to type checkers that a name cannot " "be re-assigned or overridden in a subclass. For example::" msgstr "" -#: library/typing.rst:2684 +#: library/typing.rst:2759 msgid "" "There is no runtime checking of these properties. See :pep:`591` for more " "details." msgstr "" -#: library/typing.rst:1040 +#: library/typing.rst:1068 msgid "" "Special typing constructs that mark individual keys of a :class:`TypedDict` " "as either required or non-required respectively." msgstr "" -#: library/typing.rst:1043 +#: library/typing.rst:1071 msgid "See :class:`TypedDict` and :pep:`655` for more details." msgstr "" -#: library/typing.rst:1049 +#: library/typing.rst:1077 msgid "" "A type, introduced in :pep:`593` (``Flexible function and variable " "annotations``), to decorate existing types with context-specific metadata " @@ -1048,7 +1081,7 @@ msgid "" "application." msgstr "" -#: library/typing.rst:1063 +#: library/typing.rst:1091 msgid "" "Ultimately, the responsibility of how to interpret the annotations (if at " "all) is the responsibility of the tool or library encountering the " @@ -1057,21 +1090,21 @@ msgid "" "using ``isinstance()``)." msgstr "" -#: library/typing.rst:1069 +#: library/typing.rst:1097 msgid "" "When a tool or a library does not support annotations or encounters an " "unknown annotation it should just ignore it and treat annotated type as the " "underlying type." msgstr "" -#: library/typing.rst:1073 +#: library/typing.rst:1101 msgid "" "It's up to the tool consuming the annotations to decide whether the client " "is allowed to have several annotations on one type and how to merge those " "annotations." msgstr "" -#: library/typing.rst:1077 +#: library/typing.rst:1105 msgid "" "Since the ``Annotated`` type allows you to put several annotations of the " "same (or different) type(s) on any node, the tools or libraries consuming " @@ -1079,59 +1112,59 @@ msgid "" "example, if you are doing value range analysis you might allow this::" msgstr "" -#: library/typing.rst:1086 +#: library/typing.rst:1114 msgid "" "Passing ``include_extras=True`` to :func:`get_type_hints` lets one access " "the extra annotations at runtime." msgstr "" -#: library/typing.rst:1089 +#: library/typing.rst:1117 msgid "The details of the syntax:" msgstr "" -#: library/typing.rst:1091 +#: library/typing.rst:1119 msgid "The first argument to ``Annotated`` must be a valid type" msgstr "" -#: library/typing.rst:1093 +#: library/typing.rst:1121 msgid "" "Multiple type annotations are supported (``Annotated`` supports variadic " "arguments)::" msgstr "" -#: library/typing.rst:1098 +#: library/typing.rst:1126 msgid "" "``Annotated`` must be called with at least two arguments " "( ``Annotated[int]`` is not valid)" msgstr "" -#: library/typing.rst:1101 +#: library/typing.rst:1129 msgid "" "The order of the annotations is preserved and matters for equality checks::" msgstr "" -#: library/typing.rst:1108 +#: library/typing.rst:1136 msgid "" "Nested ``Annotated`` types are flattened, with metadata ordered starting " "with the innermost annotation::" msgstr "" -#: library/typing.rst:1115 +#: library/typing.rst:1143 msgid "Duplicated annotations are not removed::" msgstr "" -#: library/typing.rst:1121 +#: library/typing.rst:1149 msgid "``Annotated`` can be used with nested and generic aliases::" msgstr "" -#: library/typing.rst:1134 +#: library/typing.rst:1162 msgid "" "Special typing form used to annotate the return type of a user-defined type " "guard function. ``TypeGuard`` only accepts a single type argument. At " "runtime, functions marked this way should return a boolean." msgstr "" -#: library/typing.rst:1138 +#: library/typing.rst:1166 msgid "" "``TypeGuard`` aims to benefit *type narrowing* -- a technique used by static " "type checkers to determine a more precise type of an expression within a " @@ -1140,44 +1173,44 @@ msgid "" "conditional expression here is sometimes referred to as a \"type guard\"::" msgstr "" -#: library/typing.rst:1153 +#: library/typing.rst:1181 msgid "" "Sometimes it would be convenient to use a user-defined boolean function as a " "type guard. Such a function should use ``TypeGuard[...]`` as its return " "type to alert static type checkers to this intention." msgstr "" -#: library/typing.rst:1157 +#: library/typing.rst:1185 msgid "" "Using ``-> TypeGuard`` tells the static type checker that for a given " "function:" msgstr "" -#: library/typing.rst:1160 +#: library/typing.rst:1188 msgid "The return value is a boolean." msgstr "" -#: library/typing.rst:1161 +#: library/typing.rst:1189 msgid "" "If the return value is ``True``, the type of its argument is the type inside " "``TypeGuard``." msgstr "" -#: library/typing.rst:1178 +#: library/typing.rst:1206 msgid "" "If ``is_str_list`` is a class or instance method, then the type in " "``TypeGuard`` maps to the type of the second parameter after ``cls`` or " "``self``." msgstr "" -#: library/typing.rst:1182 +#: library/typing.rst:1210 msgid "" "In short, the form ``def foo(arg: TypeA) -> TypeGuard[TypeB]: ...``, means " "that if ``foo(arg)`` returns ``True``, then ``arg`` narrows from ``TypeA`` " "to ``TypeB``." msgstr "" -#: library/typing.rst:1188 +#: library/typing.rst:1216 msgid "" "``TypeB`` need not be a narrower form of ``TypeA`` -- it can even be a wider " "form. The main reason is to allow for things like narrowing ``list[object]`` " @@ -1186,98 +1219,132 @@ msgid "" "guards is left to the user." msgstr "" -#: library/typing.rst:1194 +#: library/typing.rst:1222 msgid "" "``TypeGuard`` also works with type variables. See :pep:`647` for more " "details." msgstr "" -#: library/typing.rst:1200 +#: library/typing.rst:1229 +msgid "" +"A typing operator that conceptually marks an object as having been unpacked. " +"For example, using the unpack operator ``*`` on a :class:`type variable " +"tuple ` is equivalent to using ``Unpack`` to mark the type " +"variable tuple as having been unpacked::" +msgstr "" + +#: library/typing.rst:1239 +msgid "" +"In fact, ``Unpack`` can be used interchangeably with ``*`` in the context " +"of :class:`typing.TypeVarTuple ` and :class:`builtins.tuple " +"` types. You might see ``Unpack`` being used explicitly in older " +"versions of Python, where ``*`` couldn't be used in certain places::" +msgstr "" + +#: library/typing.rst:1256 msgid "Building generic types" msgstr "" -#: library/typing.rst:1202 +#: library/typing.rst:1258 msgid "" -"These are not used in annotations. They are building blocks for creating " -"generic types." +"The following objects are not used directly in annotations. Instead, they " +"are building blocks for creating generic types." msgstr "" -#: library/typing.rst:1206 +#: library/typing.rst:1263 msgid "Abstract base class for generic types." msgstr "" -#: library/typing.rst:1208 +#: library/typing.rst:1265 msgid "" "A generic type is typically declared by inheriting from an instantiation of " "this class with one or more type variables. For example, a generic mapping " "type might be defined as::" msgstr "" -#: library/typing.rst:1217 +#: library/typing.rst:1274 msgid "This class can then be used as follows::" msgstr "" -#: library/typing.rst:1230 +#: library/typing.rst:1287 msgid "Type variable." msgstr "" -#: library/typing.rst:1429 library/typing.rst:1606 +#: library/typing.rst:1385 library/typing.rst:1595 msgid "Usage::" msgstr "" -#: library/typing.rst:1238 +#: library/typing.rst:1295 msgid "" "Type variables exist primarily for the benefit of static type checkers. " "They serve as the parameters for generic types as well as for generic " -"function definitions. See :class:`Generic` for more information on generic " -"types. Generic functions work as follows::" +"function and type alias definitions. See :class:`Generic` for more " +"information on generic types. Generic functions work as follows::" msgstr "" -#: library/typing.rst:1258 +#: library/typing.rst:1316 msgid "" "Note that type variables can be *bound*, *constrained*, or neither, but " "cannot be both bound *and* constrained." msgstr "" -#: library/typing.rst:1261 +#: library/typing.rst:1319 +msgid "" +"Created type variables may be explicitly marked covariant or contravariant " +"by passing ``covariant=True`` or ``contravariant=True``. By default, type " +"variables are invariant. See :pep:`484` and :pep:`695` for more details." +msgstr "" + +#: library/typing.rst:1324 msgid "" "Bound type variables and constrained type variables have different semantics " "in several important ways. Using a *bound* type variable means that the " "``TypeVar`` will be solved using the most specific type possible::" msgstr "" -#: library/typing.rst:1276 +#: library/typing.rst:1339 msgid "" "Type variables can be bound to concrete types, abstract types (ABCs or " "protocols), and even unions of types::" msgstr "" -#: library/typing.rst:1282 +#: library/typing.rst:1347 msgid "" "Using a *constrained* type variable, however, means that the ``TypeVar`` can " "only ever be solved as being exactly one of the constraints given::" msgstr "" -#: library/typing.rst:1293 -msgid "" -"At runtime, ``isinstance(x, T)`` will raise :exc:`TypeError`. In general, :" -"func:`isinstance` and :func:`issubclass` should not be used with types." +#: library/typing.rst:1358 +msgid "At runtime, ``isinstance(x, T)`` will raise :exc:`TypeError`." msgstr "" -#: library/typing.rst:1296 -msgid "" -"Type variables may be marked covariant or contravariant by passing " -"``covariant=True`` or ``contravariant=True``. See :pep:`484` for more " -"details. By default, type variables are invariant." +#: library/typing.rst:1362 +msgid "The name of the type variable." +msgstr "" + +#: library/typing.rst:1366 +msgid "Whether the type var has been marked as covariant." +msgstr "" + +#: library/typing.rst:1370 +msgid "Whether the type var has been marked as contravariant." +msgstr "" + +#: library/typing.rst:1374 +msgid "The bound of the type variable, if any." +msgstr "" + +#: library/typing.rst:1378 +msgid "A tuple containing the constraints of the type variable, if any." msgstr "" -#: library/typing.rst:1302 +#: library/typing.rst:1382 msgid "" "Type variable tuple. A specialized form of :class:`type variable ` " "that enables *variadic* generics." msgstr "" -#: library/typing.rst:1305 +#: library/typing.rst:1393 msgid "" "A normal type variable enables parameterization with a single type. A type " "variable tuple, in contrast, allows parameterization with an *arbitrary* " @@ -1285,7 +1352,7 @@ msgid "" "wrapped in a tuple. For example::" msgstr "" -#: library/typing.rst:1333 +#: library/typing.rst:1415 msgid "" "Note the use of the unpacking operator ``*`` in ``tuple[T, *Ts]``. " "Conceptually, you can think of ``Ts`` as a tuple of type variables ``(T1, " @@ -1295,36 +1362,36 @@ msgid "" "` instead, as ``Unpack[Ts]``.)" msgstr "" -#: library/typing.rst:1341 +#: library/typing.rst:1423 msgid "" "Type variable tuples must *always* be unpacked. This helps distinguish type " "variable tuples from normal type variables::" msgstr "" -#: library/typing.rst:1348 +#: library/typing.rst:1430 msgid "" "Type variable tuples can be used in the same contexts as normal type " "variables. For example, in class definitions, arguments, and return types::" msgstr "" -#: library/typing.rst:1357 +#: library/typing.rst:1439 msgid "" "Type variable tuples can be happily combined with normal type variables::" msgstr "" -#: library/typing.rst:1370 +#: library/typing.rst:1452 msgid "" "However, note that at most one type variable tuple may appear in a single " "list of type arguments or type parameters::" msgstr "" -#: library/typing.rst:1377 +#: library/typing.rst:1459 msgid "" "Finally, an unpacked type variable tuple can be used as the type annotation " "of ``*args``::" msgstr "" -#: library/typing.rst:1387 +#: library/typing.rst:1469 msgid "" "In contrast to non-unpacked annotations of ``*args`` - e.g. ``*args: int``, " "which would specify that *all* arguments are ``int`` - ``*args: *Ts`` " @@ -1333,32 +1400,21 @@ msgid "" "``call_soon`` match the types of the (positional) arguments of ``callback``." msgstr "" -#: library/typing.rst:1394 +#: library/typing.rst:1476 msgid "See :pep:`646` for more details on type variable tuples." msgstr "" -#: library/typing.rst:1400 -msgid "" -"A typing operator that conceptually marks an object as having been unpacked. " -"For example, using the unpack operator ``*`` on a :class:`type variable " -"tuple ` is equivalent to using ``Unpack`` to mark the type " -"variable tuple as having been unpacked::" -msgstr "" - -#: library/typing.rst:1410 -msgid "" -"In fact, ``Unpack`` can be used interchangeably with ``*`` in the context of " -"types. You might see ``Unpack`` being used explicitly in older versions of " -"Python, where ``*`` couldn't be used in certain places::" +#: library/typing.rst:1480 +msgid "The name of the type variable tuple." msgstr "" -#: library/typing.rst:1426 +#: library/typing.rst:1486 msgid "" "Parameter specification variable. A specialized version of :class:`type " "variables `." msgstr "" -#: library/typing.rst:1433 +#: library/typing.rst:1493 msgid "" "Parameter specification variables exist primarily for the benefit of static " "type checkers. They are used to forward the parameter types of one callable " @@ -1368,7 +1424,7 @@ msgid "" "See :class:`Generic` for more information on generic types." msgstr "" -#: library/typing.rst:1440 +#: library/typing.rst:1500 msgid "" "For example, to add basic logging to a function, one can create a decorator " "``add_logging`` to log function calls. The parameter specification variable " @@ -1376,27 +1432,27 @@ msgid "" "new callable returned by it have inter-dependent type parameters::" msgstr "" -#: library/typing.rst:1464 +#: library/typing.rst:1524 msgid "" "Without ``ParamSpec``, the simplest way to annotate this previously was to " "use a :class:`TypeVar` with bound ``Callable[..., Any]``. However this " "causes two problems:" msgstr "" -#: library/typing.rst:1468 +#: library/typing.rst:1528 msgid "" "The type checker can't type check the ``inner`` function because ``*args`` " "and ``**kwargs`` have to be typed :data:`Any`." msgstr "" -#: library/typing.rst:1470 +#: library/typing.rst:1530 msgid "" ":func:`~cast` may be required in the body of the ``add_logging`` decorator " "when returning the ``inner`` function, or the static type checker must be " "told to ignore the ``return inner``." msgstr "" -#: library/typing.rst:1477 +#: library/typing.rst:1537 msgid "" "Since ``ParamSpec`` captures both positional and keyword parameters, ``P." "args`` and ``P.kwargs`` can be used to split a ``ParamSpec`` into its " @@ -1409,7 +1465,11 @@ msgid "" "`ParamSpecKwargs`." msgstr "" -#: library/typing.rst:1487 +#: library/typing.rst:1549 +msgid "The name of the parameter specification." +msgstr "" + +#: library/typing.rst:1551 msgid "" "Parameter specification variables created with ``covariant=True`` or " "``contravariant=True`` can be used to declare covariant or contravariant " @@ -1418,17 +1478,17 @@ msgid "" "decided." msgstr "" -#: library/typing.rst:1496 +#: library/typing.rst:1560 msgid "" "Only parameter specification variables defined in global scope can be " "pickled." msgstr "" -#: library/typing.rst:1502 +#: library/typing.rst:1566 msgid ":class:`Callable` and :class:`Concatenate`." msgstr "" -#: library/typing.rst:1507 +#: library/typing.rst:1571 msgid "" "Arguments and keyword arguments attributes of a :class:`ParamSpec`. The ``P." "args`` attribute of a ``ParamSpec`` is an instance of ``ParamSpecArgs``, and " @@ -1436,99 +1496,41 @@ msgid "" "runtime introspection and have no special meaning to static type checkers." msgstr "" -#: library/typing.rst:1512 +#: library/typing.rst:1576 msgid "" "Calling :func:`get_origin` on either of these objects will return the " "original ``ParamSpec``::" msgstr "" -#: library/typing.rst:1524 -msgid "" -"``AnyStr`` is a :class:`constrained type variable ` defined as " -"``AnyStr = TypeVar('AnyStr', str, bytes)``." -msgstr "" - -#: library/typing.rst:1527 -msgid "" -"It is meant to be used for functions that may accept any kind of string " -"without allowing different kinds of strings to mix. For example::" -msgstr "" - -#: library/typing.rst:1539 -msgid "" -"Base class for protocol classes. Protocol classes are defined like this::" -msgstr "" - -#: library/typing.rst:1545 -msgid "" -"Such classes are primarily used with static type checkers that recognize " -"structural subtyping (static duck-typing), for example::" -msgstr "" - -#: library/typing.rst:1557 -msgid "" -"See :pep:`544` for more details. Protocol classes decorated with :func:" -"`runtime_checkable` (described later) act as simple-minded runtime protocols " -"that check only the presence of given attributes, ignoring their type " -"signatures." -msgstr "" - -#: library/typing.rst:1562 -msgid "Protocol classes can be generic, for example::" -msgstr "" - -#: library/typing.rst:1572 -msgid "Mark a protocol class as a runtime protocol." -msgstr "" - -#: library/typing.rst:1574 -msgid "" -"Such a protocol can be used with :func:`isinstance` and :func:`issubclass`. " -"This raises :exc:`TypeError` when applied to a non-protocol class. This " -"allows a simple-minded structural check, very similar to \"one trick " -"ponies\" in :mod:`collections.abc` such as :class:`~collections.abc." -"Iterable`. For example::" -msgstr "" - #: library/typing.rst:1587 -msgid "" -":func:`runtime_checkable` will check only the presence of the required " -"methods, not their type signatures. For example, :class:`ssl.SSLObject` is a " -"class, therefore it passes an :func:`issubclass` check against :data:" -"`Callable`. However, the ``ssl.SSLObject.__init__`` method exists only to " -"raise a :exc:`TypeError` with a more informative message, therefore making " -"it impossible to call (instantiate) :class:`ssl.SSLObject`." -msgstr "" - -#: library/typing.rst:1598 msgid "Other special directives" msgstr "" -#: library/typing.rst:1600 +#: library/typing.rst:1589 msgid "" "These are not used in annotations. They are building blocks for declaring " "types." msgstr "" -#: library/typing.rst:1604 +#: library/typing.rst:1593 msgid "Typed version of :func:`collections.namedtuple`." msgstr "" -#: library/typing.rst:1612 +#: library/typing.rst:1601 msgid "This is equivalent to::" msgstr "" -#: library/typing.rst:1616 +#: library/typing.rst:1605 msgid "" "To give a field a default value, you can assign to it in the class body::" msgstr "" -#: library/typing.rst:1625 +#: library/typing.rst:1614 msgid "" "Fields with a default value must come after any fields without a default." msgstr "" -#: library/typing.rst:1627 +#: library/typing.rst:1616 msgid "" "The resulting class has an extra attribute ``__annotations__`` giving a dict " "that maps the field names to the field types. (The field names are in the " @@ -1537,60 +1539,127 @@ msgid "" "API.)" msgstr "" -#: library/typing.rst:1633 +#: library/typing.rst:1622 msgid "``NamedTuple`` subclasses can also have docstrings and methods::" msgstr "" -#: library/typing.rst:1643 +#: library/typing.rst:1632 msgid "``NamedTuple`` subclasses can be generic::" msgstr "" -#: library/typing.rst:1649 +#: library/typing.rst:1638 msgid "Backward-compatible usage::" msgstr "" -#: library/typing.rst:1653 +#: library/typing.rst:1642 msgid "Added support for :pep:`526` variable annotation syntax." msgstr "" -#: library/typing.rst:1656 +#: library/typing.rst:1645 msgid "Added support for default values, methods, and docstrings." msgstr "" -#: library/typing.rst:1659 +#: library/typing.rst:1648 msgid "" "The ``_field_types`` and ``__annotations__`` attributes are now regular " "dictionaries instead of instances of ``OrderedDict``." msgstr "" -#: library/typing.rst:1663 +#: library/typing.rst:1652 msgid "" "Removed the ``_field_types`` attribute in favor of the more standard " "``__annotations__`` attribute which has the same information." msgstr "" -#: library/typing.rst:1667 +#: library/typing.rst:1656 msgid "Added support for generic namedtuples." msgstr "" -#: library/typing.rst:1672 +#: library/typing.rst:1661 msgid "" "A helper class to indicate a distinct type to a typechecker, see :ref:" "`distinct`. At runtime it returns an object that returns its argument when " "called. Usage::" msgstr "" -#: library/typing.rst:1682 +#: library/typing.rst:1671 +msgid "The module in which the new type is defined." +msgstr "" + +#: library/typing.rst:1675 +msgid "The name of the new type." +msgstr "" + +#: library/typing.rst:1679 +msgid "The type that the new type is based on." +msgstr "" + +#: library/typing.rst:1683 msgid "``NewType`` is now a class rather than a function." msgstr "" -#: library/typing.rst:1687 +#: library/typing.rst:1688 +msgid "" +"Base class for protocol classes. Protocol classes are defined like this::" +msgstr "" + +#: library/typing.rst:1694 +msgid "" +"Such classes are primarily used with static type checkers that recognize " +"structural subtyping (static duck-typing), for example::" +msgstr "" + +#: library/typing.rst:1706 +msgid "" +"See :pep:`544` for more details. Protocol classes decorated with :func:" +"`runtime_checkable` (described later) act as simple-minded runtime protocols " +"that check only the presence of given attributes, ignoring their type " +"signatures." +msgstr "" + +#: library/typing.rst:1711 +msgid "Protocol classes can be generic, for example::" +msgstr "" + +#: library/typing.rst:1723 +msgid "Mark a protocol class as a runtime protocol." +msgstr "" + +#: library/typing.rst:1725 +msgid "" +"Such a protocol can be used with :func:`isinstance` and :func:`issubclass`. " +"This raises :exc:`TypeError` when applied to a non-protocol class. This " +"allows a simple-minded structural check, very similar to \"one trick " +"ponies\" in :mod:`collections.abc` such as :class:`~collections.abc." +"Iterable`. For example::" +msgstr "" + +#: library/typing.rst:1745 +msgid "" +":func:`!runtime_checkable` will check only the presence of the required " +"methods or attributes, not their type signatures or types. For example, :" +"class:`ssl.SSLObject` is a class, therefore it passes an :func:`issubclass` " +"check against :data:`Callable`. However, the ``ssl.SSLObject.__init__`` " +"method exists only to raise a :exc:`TypeError` with a more informative " +"message, therefore making it impossible to call (instantiate) :class:`ssl." +"SSLObject`." +msgstr "" + +#: library/typing.rst:1756 +msgid "" +"An :func:`isinstance` check against a runtime-checkable protocol can be " +"surprisingly slow compared to an ``isinstance()`` check against a non-" +"protocol class. Consider using alternative idioms such as :func:`hasattr` " +"calls for structural checks in performance-sensitive code." +msgstr "" + +#: library/typing.rst:1767 msgid "" "Special construct to add type hints to a dictionary. At runtime it is a " "plain :class:`dict`." msgstr "" -#: library/typing.rst:1690 +#: library/typing.rst:1770 msgid "" "``TypedDict`` declares a dictionary type that expects all of its instances " "to have a certain set of keys, where each key is associated with a value of " @@ -1598,53 +1667,53 @@ msgid "" "enforced by type checkers. Usage::" msgstr "" -#: library/typing.rst:1706 +#: library/typing.rst:1786 msgid "" "To allow using this feature with older versions of Python that do not " "support :pep:`526`, ``TypedDict`` supports two additional equivalent " "syntactic forms:" msgstr "" -#: library/typing.rst:1710 +#: library/typing.rst:1790 msgid "Using a literal :class:`dict` as the second argument::" msgstr "" -#: library/typing.rst:1714 +#: library/typing.rst:1794 msgid "Using keyword arguments::" msgstr "" -#: library/typing.rst:1721 +#: library/typing.rst:1801 msgid "" "The keyword-argument syntax is deprecated in 3.11 and will be removed in " "3.13. It may also be unsupported by static type checkers." msgstr "" -#: library/typing.rst:1722 +#: library/typing.rst:1802 msgid "" "The functional syntax should also be used when any of the keys are not " "valid :ref:`identifiers `, for example because they are " "keywords or contain hyphens. Example::" msgstr "" -#: library/typing.rst:1734 +#: library/typing.rst:1814 msgid "" "By default, all keys must be present in a ``TypedDict``. It is possible to " "mark individual keys as non-required using :data:`NotRequired`::" msgstr "" -#: library/typing.rst:1745 +#: library/typing.rst:1825 msgid "" "This means that a ``Point2D`` ``TypedDict`` can have the ``label`` key " "omitted." msgstr "" -#: library/typing.rst:1748 +#: library/typing.rst:1828 msgid "" "It is also possible to mark all keys as non-required by default by " "specifying a totality of ``False``::" msgstr "" -#: library/typing.rst:1758 +#: library/typing.rst:1838 msgid "" "This means that a ``Point2D`` ``TypedDict`` can have any of the keys " "omitted. A type checker is only expected to support a literal ``False`` or " @@ -1652,61 +1721,61 @@ msgid "" "and makes all items defined in the class body required." msgstr "" -#: library/typing.rst:1763 +#: library/typing.rst:1843 msgid "" "Individual keys of a ``total=False`` ``TypedDict`` can be marked as required " "using :data:`Required`::" msgstr "" -#: library/typing.rst:1778 +#: library/typing.rst:1858 msgid "" "It is possible for a ``TypedDict`` type to inherit from one or more other " "``TypedDict`` types using the class-based syntax. Usage::" msgstr "" -#: library/typing.rst:1785 +#: library/typing.rst:1865 msgid "" "``Point3D`` has three items: ``x``, ``y`` and ``z``. It is equivalent to " "this definition::" msgstr "" -#: library/typing.rst:1793 +#: library/typing.rst:1873 msgid "" "A ``TypedDict`` cannot inherit from a non-\\ ``TypedDict`` class, except " "for :class:`Generic`. For example::" msgstr "" -#: library/typing.rst:1811 +#: library/typing.rst:1891 msgid "A ``TypedDict`` can be generic::" msgstr "" -#: library/typing.rst:1817 +#: library/typing.rst:1897 msgid "" "A ``TypedDict`` can be introspected via annotations dicts (see :ref:" "`annotations-howto` for more information on annotations best practices), :" "attr:`__total__`, :attr:`__required_keys__`, and :attr:`__optional_keys__`." msgstr "" -#: library/typing.rst:1823 +#: library/typing.rst:1903 msgid "" "``Point2D.__total__`` gives the value of the ``total`` argument. Example::" msgstr "" -#: library/typing.rst:1843 +#: library/typing.rst:1923 msgid "" "``Point2D.__required_keys__`` and ``Point2D.__optional_keys__`` return :" "class:`frozenset` objects containing required and non-required keys, " "respectively." msgstr "" -#: library/typing.rst:1846 +#: library/typing.rst:1926 msgid "" "Keys marked with :data:`Required` will always appear in " "``__required_keys__`` and keys marked with :data:`NotRequired` will always " "appear in ``__optional_keys__``." msgstr "" -#: library/typing.rst:1849 +#: library/typing.rst:1929 msgid "" "For backwards compatibility with Python 3.10 and below, it is also possible " "to use inheritance to declare both required and non-required keys in the " @@ -1715,162 +1784,162 @@ msgid "" "``TypedDict`` with a different value for ``total``::" msgstr "" -#: library/typing.rst:1870 +#: library/typing.rst:1950 msgid "" "See :pep:`589` for more examples and detailed rules of using ``TypedDict``." msgstr "" -#: library/typing.rst:1874 +#: library/typing.rst:1954 msgid "" "Added support for marking individual keys as :data:`Required` or :data:" "`NotRequired`. See :pep:`655`." msgstr "" -#: library/typing.rst:1878 +#: library/typing.rst:1958 msgid "Added support for generic ``TypedDict``\\ s." msgstr "" -#: library/typing.rst:1882 +#: library/typing.rst:1962 msgid "Generic concrete collections" msgstr "" -#: library/typing.rst:1885 +#: library/typing.rst:1965 msgid "Corresponding to built-in types" msgstr "" -#: library/typing.rst:1889 +#: library/typing.rst:1969 msgid "" "A generic version of :class:`dict`. Useful for annotating return types. To " "annotate arguments it is preferred to use an abstract collection type such " "as :class:`Mapping`." msgstr "" -#: library/typing.rst:1893 +#: library/typing.rst:1973 msgid "This type can be used as follows::" msgstr "" -#: library/typing.rst:1898 +#: library/typing.rst:1978 msgid "" ":class:`builtins.dict ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:1904 +#: library/typing.rst:1984 msgid "" "Generic version of :class:`list`. Useful for annotating return types. To " "annotate arguments it is preferred to use an abstract collection type such " "as :class:`Sequence` or :class:`Iterable`." msgstr "" -#: library/typing.rst:1909 +#: library/typing.rst:1989 msgid "This type may be used as follows::" msgstr "" -#: library/typing.rst:1919 +#: library/typing.rst:1999 msgid "" ":class:`builtins.list ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:1925 +#: library/typing.rst:2005 msgid "" "A generic version of :class:`builtins.set `. Useful for annotating " "return types. To annotate arguments it is preferred to use an abstract " "collection type such as :class:`AbstractSet`." msgstr "" -#: library/typing.rst:1929 +#: library/typing.rst:2009 msgid "" ":class:`builtins.set ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:1935 +#: library/typing.rst:2015 msgid "A generic version of :class:`builtins.frozenset `." msgstr "" -#: library/typing.rst:1937 +#: library/typing.rst:2017 msgid "" ":class:`builtins.frozenset ` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:1942 +#: library/typing.rst:2022 msgid ":data:`Tuple` is a special form." msgstr "" -#: library/typing.rst:1945 +#: library/typing.rst:2025 msgid "Corresponding to types in :mod:`collections`" msgstr "" -#: library/typing.rst:1949 +#: library/typing.rst:2029 msgid "A generic version of :class:`collections.defaultdict`." msgstr "" -#: library/typing.rst:1953 +#: library/typing.rst:2033 msgid "" ":class:`collections.defaultdict` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:1959 +#: library/typing.rst:2039 msgid "A generic version of :class:`collections.OrderedDict`." msgstr "" -#: library/typing.rst:1963 +#: library/typing.rst:2043 msgid "" ":class:`collections.OrderedDict` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:1969 +#: library/typing.rst:2049 msgid "A generic version of :class:`collections.ChainMap`." msgstr "" -#: library/typing.rst:1974 +#: library/typing.rst:2054 msgid "" ":class:`collections.ChainMap` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:1980 +#: library/typing.rst:2060 msgid "A generic version of :class:`collections.Counter`." msgstr "" -#: library/typing.rst:1985 +#: library/typing.rst:2065 msgid "" ":class:`collections.Counter` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:1991 +#: library/typing.rst:2071 msgid "A generic version of :class:`collections.deque`." msgstr "" -#: library/typing.rst:1996 +#: library/typing.rst:2076 msgid "" ":class:`collections.deque` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2001 +#: library/typing.rst:2081 msgid "Other concrete types" msgstr "" -#: library/typing.rst:2007 +#: library/typing.rst:2087 msgid "" "Generic type ``IO[AnyStr]`` and its subclasses ``TextIO(IO[str])`` and " "``BinaryIO(IO[bytes])`` represent the types of I/O streams such as returned " "by :func:`open`." msgstr "" -#: library/typing.rst:2014 +#: library/typing.rst:2094 msgid "" "The ``typing.io`` namespace is deprecated and will be removed. These types " "should be directly imported from ``typing`` instead." msgstr "" -#: library/typing.rst:2019 +#: library/typing.rst:2099 msgid "" "These type aliases correspond to the return types from :func:`re.compile` " "and :func:`re.match`. These types (and the corresponding functions) are " @@ -1878,449 +1947,439 @@ msgid "" "``Pattern[bytes]``, ``Match[str]``, or ``Match[bytes]``." msgstr "" -#: library/typing.rst:2029 +#: library/typing.rst:2109 msgid "" "The ``typing.re`` namespace is deprecated and will be removed. These types " "should be directly imported from ``typing`` instead." msgstr "" -#: library/typing.rst:2030 +#: library/typing.rst:2110 msgid "" "Classes ``Pattern`` and ``Match`` from :mod:`re` now support ``[]``. See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2036 +#: library/typing.rst:2116 msgid "" "``Text`` is an alias for ``str``. It 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:2040 +#: library/typing.rst:2120 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:2048 +#: library/typing.rst:2128 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`` " -"wherever possible." +"planned, but users are encouraged to use :class:`str` instead of ``Text``." msgstr "" -#: library/typing.rst:2055 +#: library/typing.rst:2135 msgid "Abstract Base Classes" msgstr "" -#: library/typing.rst:2058 +#: library/typing.rst:2138 msgid "Corresponding to collections in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:2062 +#: library/typing.rst:2142 msgid "A generic version of :class:`collections.abc.Set`." msgstr "" -#: library/typing.rst:2064 +#: library/typing.rst:2144 msgid "" ":class:`collections.abc.Set` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2070 -msgid "A generic version of :class:`collections.abc.ByteString`." -msgstr "" - -#: library/typing.rst:2072 +#: library/typing.rst:2150 msgid "" "This type represents the types :class:`bytes`, :class:`bytearray`, and :" "class:`memoryview` of byte sequences." msgstr "" -#: library/typing.rst:2075 -msgid "" -"As a shorthand for this type, :class:`bytes` can be used to annotate " -"arguments of any of the types mentioned above." -msgstr "" - -#: library/typing.rst:2078 +#: library/typing.rst:2154 msgid "" -":class:`collections.abc.ByteString` now supports subscripting (``[]``). See :" -"pep:`585` and :ref:`types-genericalias`." +"Prefer ``typing_extensions.Buffer``, or a union like ``bytes | bytearray | " +"memoryview``." msgstr "" -#: library/typing.rst:2084 +#: library/typing.rst:2158 msgid "A generic version of :class:`collections.abc.Collection`" msgstr "" -#: library/typing.rst:2088 +#: library/typing.rst:2162 msgid "" ":class:`collections.abc.Collection` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2094 +#: library/typing.rst:2168 msgid "A generic version of :class:`collections.abc.Container`." msgstr "" -#: library/typing.rst:2096 +#: library/typing.rst:2170 msgid "" ":class:`collections.abc.Container` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2102 +#: library/typing.rst:2176 msgid "A generic version of :class:`collections.abc.ItemsView`." msgstr "" -#: library/typing.rst:2104 +#: library/typing.rst:2178 msgid "" ":class:`collections.abc.ItemsView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2110 +#: library/typing.rst:2184 msgid "A generic version of :class:`collections.abc.KeysView`." msgstr "" -#: library/typing.rst:2112 +#: library/typing.rst:2186 msgid "" ":class:`collections.abc.KeysView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2118 +#: library/typing.rst:2192 msgid "" "A generic version of :class:`collections.abc.Mapping`. This type can be used " "as follows::" msgstr "" -#: library/typing.rst:2124 +#: library/typing.rst:2198 msgid "" ":class:`collections.abc.Mapping` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2130 +#: library/typing.rst:2204 msgid "A generic version of :class:`collections.abc.MappingView`." msgstr "" -#: library/typing.rst:2132 +#: library/typing.rst:2206 msgid "" ":class:`collections.abc.MappingView` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2138 +#: library/typing.rst:2212 msgid "A generic version of :class:`collections.abc.MutableMapping`." msgstr "" -#: library/typing.rst:2140 +#: library/typing.rst:2214 msgid "" ":class:`collections.abc.MutableMapping` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2147 +#: library/typing.rst:2221 msgid "A generic version of :class:`collections.abc.MutableSequence`." msgstr "" -#: library/typing.rst:2149 +#: library/typing.rst:2223 msgid "" ":class:`collections.abc.MutableSequence` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2156 +#: library/typing.rst:2230 msgid "A generic version of :class:`collections.abc.MutableSet`." msgstr "" -#: library/typing.rst:2158 +#: library/typing.rst:2232 msgid "" ":class:`collections.abc.MutableSet` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2164 +#: library/typing.rst:2238 msgid "A generic version of :class:`collections.abc.Sequence`." msgstr "" -#: library/typing.rst:2166 +#: library/typing.rst:2240 msgid "" ":class:`collections.abc.Sequence` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2172 +#: library/typing.rst:2246 msgid "A generic version of :class:`collections.abc.ValuesView`." msgstr "" -#: library/typing.rst:2174 +#: library/typing.rst:2248 msgid "" ":class:`collections.abc.ValuesView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2179 +#: library/typing.rst:2253 msgid "Corresponding to other types in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:2183 +#: library/typing.rst:2257 msgid "A generic version of :class:`collections.abc.Iterable`." msgstr "" -#: library/typing.rst:2185 +#: library/typing.rst:2259 msgid "" ":class:`collections.abc.Iterable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2191 +#: library/typing.rst:2265 msgid "A generic version of :class:`collections.abc.Iterator`." msgstr "" -#: library/typing.rst:2193 +#: library/typing.rst:2267 msgid "" ":class:`collections.abc.Iterator` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2199 +#: library/typing.rst:2273 msgid "" "A generator can be annotated by the generic type ``Generator[YieldType, " "SendType, ReturnType]``. For example::" msgstr "" -#: library/typing.rst:2208 +#: library/typing.rst:2282 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:2212 +#: library/typing.rst:2286 msgid "" "If your generator will only yield values, set the ``SendType`` and " "``ReturnType`` to ``None``::" msgstr "" -#: library/typing.rst:2220 +#: library/typing.rst:2294 msgid "" "Alternatively, annotate your generator as having a return type of either " "``Iterable[YieldType]`` or ``Iterator[YieldType]``::" msgstr "" -#: library/typing.rst:2228 +#: library/typing.rst:2302 msgid "" ":class:`collections.abc.Generator` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2234 +#: library/typing.rst:2308 msgid "An alias to :class:`collections.abc.Hashable`." msgstr "" -#: library/typing.rst:2238 +#: library/typing.rst:2312 msgid "A generic version of :class:`collections.abc.Reversible`." msgstr "" -#: library/typing.rst:2240 +#: library/typing.rst:2314 msgid "" ":class:`collections.abc.Reversible` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2246 +#: library/typing.rst:2320 msgid "An alias to :class:`collections.abc.Sized`." msgstr "" -#: library/typing.rst:2249 +#: library/typing.rst:2323 msgid "Asynchronous programming" msgstr "" -#: library/typing.rst:2253 +#: library/typing.rst:2327 msgid "" "A generic version of :class:`collections.abc.Coroutine`. The variance and " "order of type variables correspond to those of :class:`Generator`, for " "example::" msgstr "" -#: library/typing.rst:2265 +#: library/typing.rst:2339 msgid "" ":class:`collections.abc.Coroutine` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2271 +#: library/typing.rst:2345 msgid "" "An async generator can be annotated by the generic type " "``AsyncGenerator[YieldType, SendType]``. For example::" msgstr "" -#: library/typing.rst:2280 +#: library/typing.rst:2354 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:2284 +#: library/typing.rst:2358 msgid "" "If your generator will only yield values, set the ``SendType`` to ``None``::" msgstr "" -#: library/typing.rst:2292 +#: library/typing.rst:2366 msgid "" "Alternatively, annotate your generator as having a return type of either " "``AsyncIterable[YieldType]`` or ``AsyncIterator[YieldType]``::" msgstr "" -#: library/typing.rst:2302 +#: library/typing.rst:2376 msgid "" ":class:`collections.abc.AsyncGenerator` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2309 +#: library/typing.rst:2383 msgid "A generic version of :class:`collections.abc.AsyncIterable`." msgstr "" -#: library/typing.rst:2313 +#: library/typing.rst:2387 msgid "" ":class:`collections.abc.AsyncIterable` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2319 +#: library/typing.rst:2393 msgid "A generic version of :class:`collections.abc.AsyncIterator`." msgstr "" -#: library/typing.rst:2323 +#: library/typing.rst:2397 msgid "" ":class:`collections.abc.AsyncIterator` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2329 +#: library/typing.rst:2403 msgid "A generic version of :class:`collections.abc.Awaitable`." msgstr "" -#: library/typing.rst:2333 +#: library/typing.rst:2407 msgid "" ":class:`collections.abc.Awaitable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2339 +#: library/typing.rst:2413 msgid "Context manager types" msgstr "" -#: library/typing.rst:2343 +#: library/typing.rst:2417 msgid "A generic version of :class:`contextlib.AbstractContextManager`." msgstr "" -#: library/typing.rst:2348 +#: library/typing.rst:2422 msgid "" ":class:`contextlib.AbstractContextManager` now supports subscripting " "(``[]``). See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2355 +#: library/typing.rst:2429 msgid "A generic version of :class:`contextlib.AbstractAsyncContextManager`." msgstr "" -#: library/typing.rst:2360 +#: library/typing.rst:2434 msgid "" ":class:`contextlib.AbstractAsyncContextManager` now supports subscripting " "(``[]``). See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:2366 +#: library/typing.rst:2440 msgid "Protocols" msgstr "" -#: library/typing.rst:2368 +#: library/typing.rst:2442 msgid "These protocols are decorated with :func:`runtime_checkable`." msgstr "" -#: library/typing.rst:2372 +#: library/typing.rst:2446 msgid "" "An ABC with one abstract method ``__abs__`` that is covariant in its return " "type." msgstr "" -#: library/typing.rst:2377 +#: library/typing.rst:2451 msgid "An ABC with one abstract method ``__bytes__``." msgstr "" -#: library/typing.rst:2381 +#: library/typing.rst:2455 msgid "An ABC with one abstract method ``__complex__``." msgstr "" -#: library/typing.rst:2385 +#: library/typing.rst:2459 msgid "An ABC with one abstract method ``__float__``." msgstr "" -#: library/typing.rst:2389 +#: library/typing.rst:2463 msgid "An ABC with one abstract method ``__index__``." msgstr "" -#: library/typing.rst:2395 +#: library/typing.rst:2469 msgid "An ABC with one abstract method ``__int__``." msgstr "" -#: library/typing.rst:2399 +#: library/typing.rst:2473 msgid "" "An ABC with one abstract method ``__round__`` that is covariant in its " "return type." msgstr "" -#: library/typing.rst:2403 +#: library/typing.rst:2477 msgid "Functions and decorators" msgstr "" -#: library/typing.rst:2407 +#: library/typing.rst:2481 msgid "Cast a value to a type." msgstr "" -#: library/typing.rst:2409 +#: library/typing.rst:2483 msgid "" "This returns the value unchanged. To the type checker this signals that the " "return value has the designated type, but at runtime we intentionally don't " "check anything (we want this to be as fast as possible)." msgstr "" -#: library/typing.rst:2416 +#: library/typing.rst:2490 msgid "" "Ask a static type checker to confirm that *val* has an inferred type of " "*typ*." msgstr "" -#: library/typing.rst:2418 +#: library/typing.rst:2492 msgid "" -"When the type checker encounters a call to ``assert_type()``, it emits an " -"error if the value is not of the specified type::" +"At runtime this does nothing: it returns the first argument unchanged with " +"no checks or side effects, no matter the actual type of the argument." msgstr "" -#: library/typing.rst:2425 +#: library/typing.rst:2495 msgid "" -"At runtime this returns the first argument unchanged with no side effects." +"When a static type checker encounters a call to ``assert_type()``, it emits " +"an error if the value is not of the specified type::" msgstr "" -#: library/typing.rst:2427 +#: library/typing.rst:2502 msgid "" "This function is useful for ensuring the type checker's understanding of a " "script is in line with the developer's intentions::" msgstr "" -#: library/typing.rst:2441 +#: library/typing.rst:2516 msgid "" "Ask a static type checker to confirm that a line of code is unreachable." msgstr "" -#: library/typing.rst:2454 +#: library/typing.rst:2529 msgid "" "Here, the annotations allow the type checker to infer that the last case can " "never execute, because ``arg`` is either an :class:`int` or a :class:`str`, " @@ -2333,53 +2392,53 @@ msgid "" "bottom type, :data:`Never`, and nothing else." msgstr "" -#: library/typing.rst:2466 +#: library/typing.rst:2541 msgid "At runtime, this throws an exception when called." msgstr "" -#: library/typing.rst:2469 +#: library/typing.rst:2544 msgid "" "`Unreachable Code and Exhaustiveness Checking `__ has more information about " "exhaustiveness checking with static typing." msgstr "" -#: library/typing.rst:2477 +#: library/typing.rst:2552 msgid "Reveal the inferred static type of an expression." msgstr "" -#: library/typing.rst:2479 +#: library/typing.rst:2554 msgid "" "When a static type checker encounters a call to this function, it emits a " "diagnostic with the type of the argument. For example::" msgstr "" -#: library/typing.rst:2485 +#: library/typing.rst:2560 msgid "" "This can be useful when you want to debug how your type checker handles a " "particular piece of code." msgstr "" -#: library/typing.rst:2488 +#: library/typing.rst:2563 msgid "" "The function returns its argument unchanged, which allows using it within an " "expression::" msgstr "" -#: library/typing.rst:2493 +#: library/typing.rst:2568 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." msgstr "" -#: library/typing.rst:2498 +#: library/typing.rst:2573 msgid "" "At runtime, this function prints the runtime type of its argument to stderr " "and returns it unchanged::" msgstr "" -#: library/typing.rst:2508 +#: library/typing.rst:2583 msgid "" ":data:`~typing.dataclass_transform` may be used to decorate a class, " "metaclass, or a function that is itself a decorator. The presence of " @@ -2388,19 +2447,19 @@ msgid "" "`dataclasses.dataclass`-like behaviors." msgstr "" -#: library/typing.rst:2514 +#: library/typing.rst:2589 msgid "Example usage with a decorator function::" msgstr "" -#: library/typing.rst:2528 +#: library/typing.rst:2603 msgid "On a base class::" msgstr "" -#: library/typing.rst:2537 +#: library/typing.rst:2612 msgid "On a metaclass::" msgstr "" -#: library/typing.rst:2548 +#: library/typing.rst:2623 msgid "" "The ``CustomerModel`` classes defined above will be treated by type checkers " "similarly to classes created with :func:`@dataclasses.dataclass `-decorated definitions for " "*func*. *func* is the function object for the implementation of the " @@ -2546,25 +2605,25 @@ msgid "" "returns an empty sequence." msgstr "" -#: library/typing.rst:2650 +#: library/typing.rst:2725 msgid "" "``get_overloads()`` can be used for introspecting an overloaded function at " "runtime." msgstr "" -#: library/typing.rst:2658 +#: library/typing.rst:2733 msgid "" "Clear all registered overloads in the internal registry. This can be used to " "reclaim the memory used by the registry." msgstr "" -#: library/typing.rst:2666 +#: library/typing.rst:2741 msgid "" "A decorator to indicate to type checkers that the decorated method cannot be " "overridden, and the decorated class cannot be subclassed. For example::" msgstr "" -#: library/typing.rst:2689 +#: library/typing.rst:2764 msgid "" "The decorator will now set the ``__final__`` attribute to ``True`` on the " "decorated object. Thus, a check like ``if getattr(obj, \"__final__\", " @@ -2574,59 +2633,59 @@ msgid "" "exception." msgstr "" -#: library/typing.rst:2700 +#: library/typing.rst:2775 msgid "Decorator to indicate that annotations are not type hints." msgstr "" -#: library/typing.rst:2702 +#: library/typing.rst:2777 msgid "" "This works as class or function :term:`decorator`. With a class, it applies " "recursively to all methods and classes defined in that class (but not to " "methods defined in its superclasses or subclasses)." msgstr "" -#: library/typing.rst:2706 +#: library/typing.rst:2781 msgid "This mutates the function(s) in place." msgstr "" -#: library/typing.rst:2710 +#: library/typing.rst:2785 msgid "Decorator to give another decorator the :func:`no_type_check` effect." msgstr "" -#: library/typing.rst:2712 +#: library/typing.rst:2787 msgid "" "This wraps the decorator with something that wraps the decorated function " "in :func:`no_type_check`." msgstr "" -#: library/typing.rst:2717 +#: library/typing.rst:2792 msgid "Decorator to mark a class or function to be unavailable at runtime." msgstr "" -#: library/typing.rst:2719 +#: library/typing.rst:2794 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:2730 +#: library/typing.rst:2805 msgid "" "Note that returning instances of private classes is not recommended. It is " "usually preferable to make such classes public." msgstr "" -#: library/typing.rst:2734 +#: library/typing.rst:2809 msgid "Introspection helpers" msgstr "" -#: library/typing.rst:2738 +#: library/typing.rst:2813 msgid "" "Return a dictionary containing type hints for a function, method, module or " "class object." msgstr "" -#: library/typing.rst:2741 +#: library/typing.rst:2816 msgid "" "This is often the same as ``obj.__annotations__``. In addition, forward " "references encoded as string literals are handled by evaluating them in " @@ -2635,51 +2694,56 @@ msgid "" "__mro__`` in reverse order." msgstr "" -#: library/typing.rst:2747 +#: library/typing.rst:2822 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:2762 +#: library/typing.rst:2837 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:2767 +#: library/typing.rst:2842 msgid "Added ``include_extras`` parameter as part of :pep:`593`." msgstr "" -#: library/typing.rst:2770 +#: library/typing.rst:2845 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:2778 -msgid "Provide basic introspection for generic types and special typing forms." +#: library/typing.rst:2852 +msgid "" +"Get the unsubscripted version of a type: for a typing object of the form " +"``X[Y, Z, ...]`` return ``X``. If ``X`` is a generic alias for a builtin or :" +"mod:`collections` class, it gets normalized to the original class. If ``X`` " +"is an instance of :class:`ParamSpecArgs` or :class:`ParamSpecKwargs`, return " +"the underlying :class:`ParamSpec`. Return ``None`` for unsupported objects. " +"Examples::" msgstr "" -#: library/typing.rst:2780 +#: library/typing.rst:2871 msgid "" -"For a typing object of the form ``X[Y, Z, ...]`` these functions return " -"``X`` and ``(Y, Z, ...)``. If ``X`` is a generic alias for a builtin or :mod:" -"`collections` class, it gets normalized to the original class. 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 arguments " -"``[Y, Z, ...]`` due to type caching. For unsupported objects return ``None`` " -"and ``()`` correspondingly. Examples::" +"Get type arguments with all substitutions performed: for a typing object of " +"the form ``X[Y, Z, ...]`` return ``(Y, Z, ...)``. 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 arguments ``[Y, " +"Z, ...]`` due to type caching. Return ``()`` for unsupported objects. " +"Examples::" msgstr "" -#: library/typing.rst:2799 +#: library/typing.rst:2887 msgid "Check if a type is a :class:`TypedDict`." msgstr "" -#: library/typing.rst:2814 +#: library/typing.rst:2902 msgid "" "A class used for internal typing representation of string forward " "references. For example, ``List[\"SomeClass\"]`` is implicitly transformed " @@ -2687,24 +2751,24 @@ msgid "" "instantiated by a user, but may be used by introspection tools." msgstr "" -#: library/typing.rst:2820 +#: library/typing.rst:2908 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:2827 +#: library/typing.rst:2915 msgid "Constant" msgstr "" -#: library/typing.rst:2831 +#: library/typing.rst:2919 msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " "checkers. It is ``False`` at runtime. Usage::" msgstr "" -#: library/typing.rst:2840 +#: library/typing.rst:2928 msgid "" "The first type annotation must be enclosed in quotes, making it a \"forward " "reference\", to hide the ``expensive_mod`` reference from the interpreter " @@ -2712,7 +2776,7 @@ msgid "" "second annotation does not need to be enclosed in quotes." msgstr "" -#: library/typing.rst:2847 +#: library/typing.rst:2935 msgid "" "If ``from __future__ import annotations`` is used, annotations are not " "evaluated at function definition time. Instead, they are stored as strings " @@ -2720,11 +2784,11 @@ msgid "" "annotation (see :pep:`563`)." msgstr "" -#: library/typing.rst:2856 +#: library/typing.rst:2944 msgid "Deprecation Timeline of Major Features" msgstr "" -#: library/typing.rst:2858 +#: library/typing.rst:2946 msgid "" "Certain features in ``typing`` are deprecated and may be removed in a future " "version of Python. The following table summarizes major deprecations for " @@ -2732,62 +2796,74 @@ msgid "" "listed." msgstr "" -#: library/typing.rst:2863 +#: library/typing.rst:2951 msgid "Feature" msgstr "" -#: library/typing.rst:2863 +#: library/typing.rst:2951 msgid "Deprecated in" msgstr "" -#: library/typing.rst:2863 +#: library/typing.rst:2951 msgid "Projected removal" msgstr "" -#: library/typing.rst:2863 +#: library/typing.rst:2951 msgid "PEP/issue" msgstr "" -#: library/typing.rst:2865 +#: library/typing.rst:2953 msgid "``typing.io`` and ``typing.re`` submodules" msgstr "" -#: library/typing.rst:2865 +#: library/typing.rst:2953 msgid "3.8" msgstr "" -#: library/typing.rst:2865 +#: library/typing.rst:2953 msgid "3.13" msgstr "" -#: library/typing.rst:2865 +#: library/typing.rst:2953 msgid ":issue:`38291`" msgstr "" -#: library/typing.rst:2868 +#: library/typing.rst:2956 msgid "``typing`` versions of standard collections" msgstr "" -#: library/typing.rst:2868 +#: library/typing.rst:2959 msgid "3.9" msgstr "" -#: library/typing.rst:2871 +#: library/typing.rst:2961 msgid "Undecided" msgstr "" -#: library/typing.rst:2868 +#: library/typing.rst:2956 msgid ":pep:`585`" msgstr "" -#: library/typing.rst:2871 +#: library/typing.rst:2959 +msgid "``typing.ByteString``" +msgstr "" + +#: library/typing.rst:2959 +msgid "3.14" +msgstr "" + +#: library/typing.rst:2959 +msgid ":gh:`91896`" +msgstr "" + +#: library/typing.rst:2961 msgid "``typing.Text``" msgstr "" -#: library/typing.rst:2871 +#: library/typing.rst:2961 msgid "3.11" msgstr "" -#: library/typing.rst:2871 +#: library/typing.rst:2961 msgid ":gh:`92332`" msgstr "" diff --git a/library/unicodedata.po b/library/unicodedata.po index efd8bdef6..1374c927f 100644 --- a/library/unicodedata.po +++ b/library/unicodedata.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -192,3 +192,15 @@ msgstr "" #: library/unicodedata.rst:180 msgid "https://www.unicode.org/Public/14.0.0/ucd/NamedSequences.txt" msgstr "" + +#: library/unicodedata.rst:11 +msgid "Unicode" +msgstr "" + +#: library/unicodedata.rst:11 +msgid "character" +msgstr "" + +#: library/unicodedata.rst:11 +msgid "database" +msgstr "" diff --git a/library/unittest.mock-examples.po b/library/unittest.mock-examples.po index e8246d666..31f3f6081 100644 --- a/library/unittest.mock-examples.po +++ b/library/unittest.mock-examples.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -852,9 +852,8 @@ msgstr "" msgid "" "Sometimes this is inconvenient. For example, `one user `_ is subclassing mock to created a `Twisted " -"adaptor `_. Having this applied to attributes too actually causes " -"errors." +"adaptor `_. Having this applied to attributes too actually causes errors." msgstr "" #: library/unittest.mock-examples.rst:1080 diff --git a/library/unittest.po b/library/unittest.po index 199924e08..ff3a64926 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -151,7 +151,7 @@ msgid "" "intended largely for ease of use for those new to unit testing. For " "production environments it is recommended that tests be driven by a " "continuous integration system such as `Buildbot `_, " -"`Jenkins `_, `GitHub Actions `_, `GitHub Actions `_, or `AppVeyor `_." msgstr "" diff --git a/library/urllib.parse.po b/library/urllib.parse.po index 48f71bb5e..0cfcb6cf1 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -99,65 +99,65 @@ msgid "" "accessed by index or as named attributes, which are:" msgstr "" -#: library/urllib.parse.rst:293 library/urllib.parse.rst:397 +#: library/urllib.parse.rst:297 library/urllib.parse.rst:410 msgid "Attribute" msgstr "" -#: library/urllib.parse.rst:293 library/urllib.parse.rst:397 +#: library/urllib.parse.rst:297 library/urllib.parse.rst:410 msgid "Index" msgstr "" -#: library/urllib.parse.rst:293 library/urllib.parse.rst:397 +#: library/urllib.parse.rst:297 library/urllib.parse.rst:410 msgid "Value" msgstr "" -#: library/urllib.parse.rst:293 library/urllib.parse.rst:397 +#: library/urllib.parse.rst:297 library/urllib.parse.rst:410 msgid "Value if not present" msgstr "" -#: library/urllib.parse.rst:295 +#: library/urllib.parse.rst:299 msgid ":attr:`scheme`" msgstr "" -#: library/urllib.parse.rst:295 library/urllib.parse.rst:399 +#: library/urllib.parse.rst:299 library/urllib.parse.rst:412 msgid "0" msgstr "" -#: library/urllib.parse.rst:295 +#: library/urllib.parse.rst:299 msgid "URL scheme specifier" msgstr "" -#: library/urllib.parse.rst:295 +#: library/urllib.parse.rst:299 msgid "*scheme* parameter" msgstr "" -#: library/urllib.parse.rst:297 +#: library/urllib.parse.rst:301 msgid ":attr:`netloc`" msgstr "" -#: library/urllib.parse.rst:297 library/urllib.parse.rst:401 +#: library/urllib.parse.rst:301 library/urllib.parse.rst:414 msgid "1" msgstr "" -#: library/urllib.parse.rst:297 +#: library/urllib.parse.rst:301 msgid "Network location part" msgstr "" #: library/urllib.parse.rst:114 library/urllib.parse.rst:119 -#: library/urllib.parse.rst:297 library/urllib.parse.rst:301 -#: library/urllib.parse.rst:399 library/urllib.parse.rst:401 +#: library/urllib.parse.rst:301 library/urllib.parse.rst:305 +#: library/urllib.parse.rst:412 library/urllib.parse.rst:414 msgid "empty string" msgstr "" -#: library/urllib.parse.rst:299 +#: library/urllib.parse.rst:303 msgid ":attr:`path`" msgstr "" -#: library/urllib.parse.rst:299 +#: library/urllib.parse.rst:303 msgid "2" msgstr "" -#: library/urllib.parse.rst:299 +#: library/urllib.parse.rst:303 msgid "Hierarchical path" msgstr "" @@ -165,7 +165,7 @@ msgstr "" msgid ":attr:`params`" msgstr "" -#: library/urllib.parse.rst:301 +#: library/urllib.parse.rst:305 msgid "3" msgstr "" @@ -173,19 +173,19 @@ msgstr "" msgid "Parameters for last path element" msgstr "" -#: library/urllib.parse.rst:301 +#: library/urllib.parse.rst:305 msgid ":attr:`query`" msgstr "" -#: library/urllib.parse.rst:303 +#: library/urllib.parse.rst:307 msgid "4" msgstr "" -#: library/urllib.parse.rst:301 +#: library/urllib.parse.rst:305 msgid "Query component" msgstr "" -#: library/urllib.parse.rst:303 library/urllib.parse.rst:401 +#: library/urllib.parse.rst:307 library/urllib.parse.rst:414 msgid ":attr:`fragment`" msgstr "" @@ -193,61 +193,61 @@ msgstr "" msgid "5" msgstr "" -#: library/urllib.parse.rst:303 library/urllib.parse.rst:401 +#: library/urllib.parse.rst:307 library/urllib.parse.rst:414 msgid "Fragment identifier" msgstr "" -#: library/urllib.parse.rst:305 +#: library/urllib.parse.rst:309 msgid ":attr:`username`" msgstr "" -#: library/urllib.parse.rst:305 +#: library/urllib.parse.rst:309 msgid "User name" msgstr "" #: library/urllib.parse.rst:125 library/urllib.parse.rst:129 -#: library/urllib.parse.rst:307 library/urllib.parse.rst:311 +#: library/urllib.parse.rst:311 library/urllib.parse.rst:315 msgid ":const:`None`" msgstr "" -#: library/urllib.parse.rst:307 +#: library/urllib.parse.rst:311 msgid ":attr:`password`" msgstr "" -#: library/urllib.parse.rst:307 +#: library/urllib.parse.rst:311 msgid "Password" msgstr "" -#: library/urllib.parse.rst:309 +#: library/urllib.parse.rst:313 msgid ":attr:`hostname`" msgstr "" -#: library/urllib.parse.rst:309 +#: library/urllib.parse.rst:313 msgid "Host name (lower case)" msgstr "" -#: library/urllib.parse.rst:311 +#: library/urllib.parse.rst:315 msgid ":attr:`port`" msgstr "" -#: library/urllib.parse.rst:311 +#: library/urllib.parse.rst:315 msgid "Port number as integer, if present" msgstr "" -#: library/urllib.parse.rst:315 +#: library/urllib.parse.rst:319 msgid "" "Reading the :attr:`port` attribute will raise a :exc:`ValueError` if an " "invalid port is specified in the URL. See section :ref:`urlparse-result-" "object` for more information on the result object." msgstr "" -#: library/urllib.parse.rst:319 +#: library/urllib.parse.rst:323 msgid "" "Unmatched square brackets in the :attr:`netloc` attribute will raise a :exc:" "`ValueError`." msgstr "" -#: library/urllib.parse.rst:322 +#: library/urllib.parse.rst:326 msgid "" "Characters in the :attr:`netloc` attribute that decompose under NFKC " "normalization (as used by the IDNA encoding) into any of ``/``, ``?``, " @@ -263,30 +263,36 @@ msgid "" "object replacing specified fields with new values." msgstr "" -#: library/urllib.parse.rst:163 +#: library/urllib.parse.rst:164 +msgid "" +":func:`urlparse` does not perform validation. See :ref:`URL parsing " +"security ` for details." +msgstr "" + +#: library/urllib.parse.rst:167 msgid "Added IPv6 URL parsing capabilities." msgstr "" -#: library/urllib.parse.rst:166 +#: library/urllib.parse.rst:170 msgid "" "The fragment is now parsed for all URL schemes (unless *allow_fragment* is " "false), in accordance with :rfc:`3986`. Previously, an allowlist of schemes " "that support fragments existed." msgstr "" -#: library/urllib.parse.rst:330 +#: library/urllib.parse.rst:340 msgid "" "Out-of-range port numbers now raise :exc:`ValueError`, instead of returning :" "const:`None`." msgstr "" -#: library/urllib.parse.rst:334 +#: library/urllib.parse.rst:344 msgid "" "Characters that affect netloc parsing under NFKC normalization will now " "raise :exc:`ValueError`." msgstr "" -#: library/urllib.parse.rst:182 +#: library/urllib.parse.rst:186 msgid "" "Parse a query string given as a string argument (data of type :mimetype:" "`application/x-www-form-urlencoded`). Data are returned as a dictionary. " @@ -294,7 +300,7 @@ msgid "" "lists of values for each name." msgstr "" -#: library/urllib.parse.rst:232 +#: library/urllib.parse.rst:236 msgid "" "The optional argument *keep_blank_values* is a flag indicating whether blank " "values in percent-encoded queries should be treated as blank strings. A true " @@ -303,48 +309,48 @@ msgid "" "treated as if they were not included." msgstr "" -#: library/urllib.parse.rst:238 +#: library/urllib.parse.rst:242 msgid "" "The optional argument *strict_parsing* is a flag indicating what to do with " "parsing errors. If false (the default), errors are silently ignored. If " "true, errors raise a :exc:`ValueError` exception." msgstr "" -#: library/urllib.parse.rst:242 +#: library/urllib.parse.rst:246 msgid "" "The optional *encoding* and *errors* parameters specify how to decode " "percent-encoded sequences into Unicode characters, as accepted by the :meth:" "`bytes.decode` method." msgstr "" -#: library/urllib.parse.rst:246 +#: library/urllib.parse.rst:250 msgid "" "The optional argument *max_num_fields* is the maximum number of fields to " "read. If set, then throws a :exc:`ValueError` if there are more than " "*max_num_fields* fields read." msgstr "" -#: library/urllib.parse.rst:250 +#: library/urllib.parse.rst:254 msgid "" "The optional argument *separator* is the symbol to use for separating the " "query arguments. It defaults to ``&``." msgstr "" -#: library/urllib.parse.rst:208 +#: library/urllib.parse.rst:212 msgid "" "Use the :func:`urllib.parse.urlencode` function (with the ``doseq`` " "parameter set to ``True``) to convert such dictionaries into query strings." msgstr "" -#: library/urllib.parse.rst:256 +#: library/urllib.parse.rst:260 msgid "Add *encoding* and *errors* parameters." msgstr "" -#: library/urllib.parse.rst:259 +#: library/urllib.parse.rst:263 msgid "Added *max_num_fields* parameter." msgstr "" -#: library/urllib.parse.rst:262 +#: library/urllib.parse.rst:266 msgid "" "Added *separator* parameter with the default value of ``&``. Python versions " "earlier than Python 3.10 allowed using both ``;`` and ``&`` as query " @@ -352,20 +358,20 @@ msgid "" "key, with ``&`` as the default separator." msgstr "" -#: library/urllib.parse.rst:228 +#: library/urllib.parse.rst:232 msgid "" "Parse a query string given as a string argument (data of type :mimetype:" "`application/x-www-form-urlencoded`). Data are returned as a list of name, " "value pairs." msgstr "" -#: library/urllib.parse.rst:253 +#: library/urllib.parse.rst:257 msgid "" "Use the :func:`urllib.parse.urlencode` function to convert such lists of " "pairs into query strings." msgstr "" -#: library/urllib.parse.rst:271 +#: library/urllib.parse.rst:275 msgid "" "Construct a URL from a tuple as returned by ``urlparse()``. The *parts* " "argument can be any six-item iterable. This may result in a slightly " @@ -374,7 +380,7 @@ msgid "" "states that these are equivalent)." msgstr "" -#: library/urllib.parse.rst:280 +#: library/urllib.parse.rst:284 msgid "" "This is similar to :func:`urlparse`, but does not split the params from the " "URL. This should generally be used instead of :func:`urlparse` if the more " @@ -384,23 +390,35 @@ msgid "" "returns a 5-item :term:`named tuple`::" msgstr "" -#: library/urllib.parse.rst:393 +#: library/urllib.parse.rst:406 msgid "" "The return value is a :term:`named tuple`, its items can be accessed by " "index or as named attributes:" msgstr "" -#: library/urllib.parse.rst:327 +#: library/urllib.parse.rst:331 +msgid "" +"Following some of the `WHATWG spec`_ that updates RFC 3986, leading C0 " +"control and space characters are stripped from the URL. ``\\n``, ``\\r`` and " +"tab ``\\t`` characters are removed from the URL at any position." +msgstr "" + +#: library/urllib.parse.rst:337 msgid "" -"Following the `WHATWG spec`_ that updates RFC 3986, ASCII newline ``\\n``, " -"``\\r`` and tab ``\\t`` characters are stripped from the URL." +":func:`urlsplit` does not perform validation. See :ref:`URL parsing " +"security ` for details." msgstr "" -#: library/urllib.parse.rst:338 +#: library/urllib.parse.rst:348 msgid "ASCII newline and tab characters are stripped from the URL." msgstr "" -#: library/urllib.parse.rst:345 +#: library/urllib.parse.rst:351 +msgid "" +"Leading WHATWG C0 control and space characters are stripped from the URL." +msgstr "" + +#: library/urllib.parse.rst:358 msgid "" "Combine the elements of a tuple as returned by :func:`urlsplit` into a " "complete URL as a string. The *parts* argument can be any five-item " @@ -409,7 +427,7 @@ msgid "" "a ? with an empty query; the RFC states that these are equivalent)." msgstr "" -#: library/urllib.parse.rst:354 +#: library/urllib.parse.rst:367 msgid "" "Construct a full (\"absolute\") URL by combining a \"base URL\" (*base*) " "with another URL (*url*). Informally, this uses components of the base URL, " @@ -417,30 +435,30 @@ msgid "" "path, to provide missing components in the relative URL. For example:" msgstr "" -#: library/urllib.parse.rst:363 +#: library/urllib.parse.rst:376 msgid "" "The *allow_fragments* argument has the same meaning and default as for :func:" "`urlparse`." msgstr "" -#: library/urllib.parse.rst:368 +#: library/urllib.parse.rst:381 msgid "" "If *url* is an absolute URL (that is, it starts with ``//`` or ``scheme://" "``), the *url*'s hostname and/or scheme will be present in the result. For " "example:" msgstr "" -#: library/urllib.parse.rst:377 +#: library/urllib.parse.rst:390 msgid "" "If you do not want that behavior, preprocess the *url* with :func:`urlsplit` " "and :func:`urlunsplit`, removing possible *scheme* and *netloc* parts." msgstr "" -#: library/urllib.parse.rst:383 +#: library/urllib.parse.rst:396 msgid "Behavior updated to match the semantics defined in :rfc:`3986`." msgstr "" -#: library/urllib.parse.rst:388 +#: library/urllib.parse.rst:401 msgid "" "If *url* contains a fragment identifier, return a modified version of *url* " "with no fragment identifier, and the fragment identifier as a separate " @@ -448,25 +466,25 @@ msgid "" "unmodified and an empty string." msgstr "" -#: library/urllib.parse.rst:399 +#: library/urllib.parse.rst:412 msgid ":attr:`url`" msgstr "" -#: library/urllib.parse.rst:399 +#: library/urllib.parse.rst:412 msgid "URL with no fragment" msgstr "" -#: library/urllib.parse.rst:404 +#: library/urllib.parse.rst:417 msgid "" "See section :ref:`urlparse-result-object` for more information on the result " "object." msgstr "" -#: library/urllib.parse.rst:407 +#: library/urllib.parse.rst:420 msgid "Result is a structured object rather than a simple 2-tuple." msgstr "" -#: library/urllib.parse.rst:412 +#: library/urllib.parse.rst:425 msgid "" "Extract the url from a wrapped URL (that is, a string formatted as ````, ````, ``URL:scheme://host/path`` " @@ -474,11 +492,52 @@ msgid "" "without changes." msgstr "" -#: library/urllib.parse.rst:420 +#: library/urllib.parse.rst:433 +msgid "URL parsing security" +msgstr "" + +#: library/urllib.parse.rst:435 +msgid "" +"The :func:`urlsplit` and :func:`urlparse` APIs do not perform **validation** " +"of inputs. They may not raise errors on inputs that other applications " +"consider invalid. They may also succeed on some inputs that might not be " +"considered URLs elsewhere. Their purpose is for practical functionality " +"rather than purity." +msgstr "" + +#: library/urllib.parse.rst:441 +msgid "" +"Instead of raising an exception on unusual input, they may instead return " +"some component parts as empty strings. Or components may contain more than " +"perhaps they should." +msgstr "" + +#: library/urllib.parse.rst:445 +msgid "" +"We recommend that users of these APIs where the values may be used anywhere " +"with security implications code defensively. Do some verification within " +"your code before trusting a returned component part. Does that ``scheme`` " +"make sense? Is that a sensible ``path``? Is there anything strange about " +"that ``hostname``? etc." +msgstr "" + +#: library/urllib.parse.rst:451 +msgid "" +"What constitutes a URL is not universally well defined. Different " +"applications have different needs and desired constraints. For instance the " +"living `WHATWG spec`_ describes what user facing web clients such as a web " +"browser require. While :rfc:`3986` is more general. These functions " +"incorporate some aspects of both, but cannot be claimed compliant with " +"either. The APIs and existing user code with expectations on specific " +"behaviors predate both standards leading us to be very cautious about making " +"API behavior changes." +msgstr "" + +#: library/urllib.parse.rst:462 msgid "Parsing ASCII Encoded Bytes" msgstr "" -#: library/urllib.parse.rst:422 +#: library/urllib.parse.rst:464 msgid "" "The URL parsing functions were originally designed to operate on character " "strings only. In practice, it is useful to be able to manipulate properly " @@ -487,14 +546,14 @@ msgid "" "`bytearray` objects in addition to :class:`str` objects." msgstr "" -#: library/urllib.parse.rst:428 +#: library/urllib.parse.rst:470 msgid "" "If :class:`str` data is passed in, the result will also contain only :class:" "`str` data. If :class:`bytes` or :class:`bytearray` data is passed in, the " "result will contain only :class:`bytes` data." msgstr "" -#: library/urllib.parse.rst:432 +#: library/urllib.parse.rst:474 msgid "" "Attempting to mix :class:`str` data with :class:`bytes` or :class:" "`bytearray` in a single function call will result in a :exc:`TypeError` " @@ -502,7 +561,7 @@ msgid "" "trigger :exc:`UnicodeDecodeError`." msgstr "" -#: library/urllib.parse.rst:437 +#: library/urllib.parse.rst:479 msgid "" "To support easier conversion of result objects between :class:`str` and :" "class:`bytes`, all return values from URL parsing functions provide either " @@ -515,14 +574,14 @@ msgid "" "`str` data (for :meth:`decode` methods)." msgstr "" -#: library/urllib.parse.rst:448 +#: library/urllib.parse.rst:490 msgid "" "Applications that need to operate on potentially improperly quoted URLs that " "may contain non-ASCII data will need to do their own decoding from bytes to " "characters before invoking the URL parsing methods." msgstr "" -#: library/urllib.parse.rst:452 +#: library/urllib.parse.rst:494 msgid "" "The behaviour described in this section applies only to the URL parsing " "functions. The URL quoting functions use their own rules when producing or " @@ -530,15 +589,15 @@ msgid "" "URL quoting functions." msgstr "" -#: library/urllib.parse.rst:457 +#: library/urllib.parse.rst:499 msgid "URL parsing functions now accept ASCII encoded byte sequences" msgstr "" -#: library/urllib.parse.rst:464 +#: library/urllib.parse.rst:506 msgid "Structured Parse Results" msgstr "" -#: library/urllib.parse.rst:466 +#: library/urllib.parse.rst:508 msgid "" "The result objects from the :func:`urlparse`, :func:`urlsplit` and :func:" "`urldefrag` functions are subclasses of the :class:`tuple` type. These " @@ -547,7 +606,7 @@ msgid "" "section, as well as an additional method:" msgstr "" -#: library/urllib.parse.rst:474 +#: library/urllib.parse.rst:516 msgid "" "Return the re-combined version of the original URL as a string. This may " "differ from the original URL in that the scheme may be normalized to lower " @@ -555,72 +614,72 @@ msgid "" "queries, and fragment identifiers will be removed." msgstr "" -#: library/urllib.parse.rst:479 +#: library/urllib.parse.rst:521 msgid "" "For :func:`urldefrag` results, only empty fragment identifiers will be " "removed. For :func:`urlsplit` and :func:`urlparse` results, all noted " "changes will be made to the URL returned by this method." msgstr "" -#: library/urllib.parse.rst:483 +#: library/urllib.parse.rst:525 msgid "" "The result of this method remains unchanged if passed back through the " "original parsing function:" msgstr "" -#: library/urllib.parse.rst:496 +#: library/urllib.parse.rst:538 msgid "" "The following classes provide the implementations of the structured parse " "results when operating on :class:`str` objects:" msgstr "" -#: library/urllib.parse.rst:501 +#: library/urllib.parse.rst:543 msgid "" "Concrete class for :func:`urldefrag` results containing :class:`str` data. " "The :meth:`encode` method returns a :class:`DefragResultBytes` instance." msgstr "" -#: library/urllib.parse.rst:509 +#: library/urllib.parse.rst:551 msgid "" "Concrete class for :func:`urlparse` results containing :class:`str` data. " "The :meth:`encode` method returns a :class:`ParseResultBytes` instance." msgstr "" -#: library/urllib.parse.rst:515 +#: library/urllib.parse.rst:557 msgid "" "Concrete class for :func:`urlsplit` results containing :class:`str` data. " "The :meth:`encode` method returns a :class:`SplitResultBytes` instance." msgstr "" -#: library/urllib.parse.rst:520 +#: library/urllib.parse.rst:562 msgid "" "The following classes provide the implementations of the parse results when " "operating on :class:`bytes` or :class:`bytearray` objects:" msgstr "" -#: library/urllib.parse.rst:525 +#: library/urllib.parse.rst:567 msgid "" "Concrete class for :func:`urldefrag` results containing :class:`bytes` data. " "The :meth:`decode` method returns a :class:`DefragResult` instance." msgstr "" -#: library/urllib.parse.rst:533 +#: library/urllib.parse.rst:575 msgid "" "Concrete class for :func:`urlparse` results containing :class:`bytes` data. " "The :meth:`decode` method returns a :class:`ParseResult` instance." msgstr "" -#: library/urllib.parse.rst:541 +#: library/urllib.parse.rst:583 msgid "" "Concrete class for :func:`urlsplit` results containing :class:`bytes` data. " "The :meth:`decode` method returns a :class:`SplitResult` instance." msgstr "" -#: library/urllib.parse.rst:549 +#: library/urllib.parse.rst:591 msgid "URL Quoting" msgstr "" -#: library/urllib.parse.rst:551 +#: library/urllib.parse.rst:593 msgid "" "The URL quoting functions focus on taking program data and making it safe " "for use as URL components by quoting special characters and appropriately " @@ -629,7 +688,7 @@ msgid "" "isn't already covered by the URL parsing functions above." msgstr "" -#: library/urllib.parse.rst:559 +#: library/urllib.parse.rst:601 msgid "" "Replace special characters in *string* using the ``%xx`` escape. Letters, " "digits, and the characters ``'_.-~'`` are never quoted. By default, this " @@ -638,17 +697,17 @@ msgid "" "quoted --- its default value is ``'/'``." msgstr "" -#: library/urllib.parse.rst:611 library/urllib.parse.rst:640 +#: library/urllib.parse.rst:653 library/urllib.parse.rst:682 msgid "*string* may be either a :class:`str` or a :class:`bytes` object." msgstr "" -#: library/urllib.parse.rst:567 +#: library/urllib.parse.rst:609 msgid "" "Moved from :rfc:`2396` to :rfc:`3986` for quoting URL strings. \"~\" is now " "included in the set of unreserved characters." msgstr "" -#: library/urllib.parse.rst:571 +#: library/urllib.parse.rst:613 msgid "" "The optional *encoding* and *errors* parameters specify how to deal with non-" "ASCII characters, as accepted by the :meth:`str.encode` method. *encoding* " @@ -658,17 +717,17 @@ msgid "" "`TypeError` is raised." msgstr "" -#: library/urllib.parse.rst:579 +#: library/urllib.parse.rst:621 msgid "" "Note that ``quote(string, safe, encoding, errors)`` is equivalent to " "``quote_from_bytes(string.encode(encoding, errors), safe)``." msgstr "" -#: library/urllib.parse.rst:582 +#: library/urllib.parse.rst:624 msgid "Example: ``quote('/El Niño/')`` yields ``'/El%20Ni%C3%B1o/'``." msgstr "" -#: library/urllib.parse.rst:587 +#: library/urllib.parse.rst:629 msgid "" "Like :func:`quote`, but also replace spaces with plus signs, as required for " "quoting HTML form values when building up a query string to go into a URL. " @@ -676,21 +735,21 @@ msgid "" "*safe*. It also does not have *safe* default to ``'/'``." msgstr "" -#: library/urllib.parse.rst:592 +#: library/urllib.parse.rst:634 msgid "Example: ``quote_plus('/El Niño/')`` yields ``'%2FEl+Ni%C3%B1o%2F'``." msgstr "" -#: library/urllib.parse.rst:597 +#: library/urllib.parse.rst:639 msgid "" "Like :func:`quote`, but accepts a :class:`bytes` object rather than a :class:" "`str`, and does not perform string-to-bytes encoding." msgstr "" -#: library/urllib.parse.rst:600 +#: library/urllib.parse.rst:642 msgid "Example: ``quote_from_bytes(b'a&\\xef')`` yields ``'a%26%EF'``." msgstr "" -#: library/urllib.parse.rst:606 +#: library/urllib.parse.rst:648 msgid "" "Replace ``%xx`` escapes with their single-character equivalent. The optional " "*encoding* and *errors* parameters specify how to decode percent-encoded " @@ -698,52 +757,52 @@ msgid "" "method." msgstr "" -#: library/urllib.parse.rst:613 +#: library/urllib.parse.rst:655 msgid "" "*encoding* defaults to ``'utf-8'``. *errors* defaults to ``'replace'``, " "meaning invalid sequences are replaced by a placeholder character." msgstr "" -#: library/urllib.parse.rst:617 +#: library/urllib.parse.rst:659 msgid "Example: ``unquote('/El%20Ni%C3%B1o/')`` yields ``'/El Niño/'``." msgstr "" -#: library/urllib.parse.rst:619 +#: library/urllib.parse.rst:661 msgid "" "*string* parameter supports bytes and str objects (previously only str)." msgstr "" -#: library/urllib.parse.rst:627 +#: library/urllib.parse.rst:669 msgid "" "Like :func:`unquote`, but also replace plus signs with spaces, as required " "for unquoting HTML form values." msgstr "" -#: library/urllib.parse.rst:630 +#: library/urllib.parse.rst:672 msgid "*string* must be a :class:`str`." msgstr "" -#: library/urllib.parse.rst:632 +#: library/urllib.parse.rst:674 msgid "Example: ``unquote_plus('/El+Ni%C3%B1o/')`` yields ``'/El Niño/'``." msgstr "" -#: library/urllib.parse.rst:637 +#: library/urllib.parse.rst:679 msgid "" "Replace ``%xx`` escapes with their single-octet equivalent, and return a :" "class:`bytes` object." msgstr "" -#: library/urllib.parse.rst:642 +#: library/urllib.parse.rst:684 msgid "" "If it is a :class:`str`, unescaped non-ASCII characters in *string* are " "encoded into UTF-8 bytes." msgstr "" -#: library/urllib.parse.rst:645 +#: library/urllib.parse.rst:687 msgid "Example: ``unquote_to_bytes('a%26%EF')`` yields ``b'a&\\xef'``." msgstr "" -#: library/urllib.parse.rst:651 +#: library/urllib.parse.rst:693 msgid "" "Convert a mapping object or a sequence of two-element tuples, which may " "contain :class:`str` or :class:`bytes` objects, to a percent-encoded ASCII " @@ -752,7 +811,7 @@ msgid "" "be encoded to bytes, otherwise it would result in a :exc:`TypeError`." msgstr "" -#: library/urllib.parse.rst:658 +#: library/urllib.parse.rst:700 msgid "" "The resulting string is a series of ``key=value`` pairs separated by ``'&'`` " "characters, where both *key* and *value* are quoted using the *quote_via* " @@ -765,7 +824,7 @@ msgid "" "``quote`` and specify a value for *safe*." msgstr "" -#: library/urllib.parse.rst:668 +#: library/urllib.parse.rst:710 msgid "" "When a sequence of two-element tuples is used as the *query* argument, the " "first element of each tuple is a key and the second is a value. The value " @@ -776,49 +835,49 @@ msgid "" "order of parameter tuples in the sequence." msgstr "" -#: library/urllib.parse.rst:676 +#: library/urllib.parse.rst:718 msgid "" "The *safe*, *encoding*, and *errors* parameters are passed down to " "*quote_via* (the *encoding* and *errors* parameters are only passed when a " "query element is a :class:`str`)." msgstr "" -#: library/urllib.parse.rst:680 +#: library/urllib.parse.rst:722 msgid "" "To reverse this encoding process, :func:`parse_qs` and :func:`parse_qsl` are " "provided in this module to parse query strings into Python data structures." msgstr "" -#: library/urllib.parse.rst:683 +#: library/urllib.parse.rst:725 msgid "" "Refer to :ref:`urllib examples ` to find out how the :func:" "`urllib.parse.urlencode` method can be used for generating the query string " "of a URL or data for a POST request." msgstr "" -#: library/urllib.parse.rst:687 +#: library/urllib.parse.rst:729 msgid "*query* supports bytes and string objects." msgstr "" -#: library/urllib.parse.rst:690 +#: library/urllib.parse.rst:732 msgid "*quote_via* parameter." msgstr "" -#: library/urllib.parse.rst:698 +#: library/urllib.parse.rst:740 msgid "`WHATWG`_ - URL Living standard" msgstr "" -#: library/urllib.parse.rst:697 +#: library/urllib.parse.rst:739 msgid "" "Working Group for the URL Standard that defines URLs, domains, IP addresses, " "the application/x-www-form-urlencoded format, and their API." msgstr "" -#: library/urllib.parse.rst:704 +#: library/urllib.parse.rst:746 msgid ":rfc:`3986` - Uniform Resource Identifiers" msgstr "" -#: library/urllib.parse.rst:701 +#: library/urllib.parse.rst:743 msgid "" "This is the current standard (STD66). Any changes to urllib.parse module " "should conform to this. Certain deviations could be observed, which are " @@ -826,47 +885,67 @@ msgid "" "requirements as commonly observed in major browsers." msgstr "" -#: library/urllib.parse.rst:707 +#: library/urllib.parse.rst:749 msgid ":rfc:`2732` - Format for Literal IPv6 Addresses in URL's." msgstr "" -#: library/urllib.parse.rst:707 +#: library/urllib.parse.rst:749 msgid "This specifies the parsing requirements of IPv6 URLs." msgstr "" -#: library/urllib.parse.rst:711 +#: library/urllib.parse.rst:753 msgid ":rfc:`2396` - Uniform Resource Identifiers (URI): Generic Syntax" msgstr "" -#: library/urllib.parse.rst:710 +#: library/urllib.parse.rst:752 msgid "" "Document describing the generic syntactic requirements for both Uniform " "Resource Names (URNs) and Uniform Resource Locators (URLs)." msgstr "" -#: library/urllib.parse.rst:714 +#: library/urllib.parse.rst:756 msgid ":rfc:`2368` - The mailto URL scheme." msgstr "" -#: library/urllib.parse.rst:714 +#: library/urllib.parse.rst:756 msgid "Parsing requirements for mailto URL schemes." msgstr "" -#: library/urllib.parse.rst:719 +#: library/urllib.parse.rst:761 msgid ":rfc:`1808` - Relative Uniform Resource Locators" msgstr "" -#: library/urllib.parse.rst:717 +#: library/urllib.parse.rst:759 msgid "" "This Request For Comments includes the rules for joining an absolute and a " "relative URL, including a fair number of \"Abnormal Examples\" which govern " "the treatment of border cases." msgstr "" -#: library/urllib.parse.rst:721 +#: library/urllib.parse.rst:763 msgid ":rfc:`1738` - Uniform Resource Locators (URL)" msgstr "" -#: library/urllib.parse.rst:722 +#: library/urllib.parse.rst:764 msgid "This specifies the formal syntax and semantics of absolute URLs." msgstr "" + +#: library/urllib.parse.rst:9 +msgid "WWW" +msgstr "" + +#: library/urllib.parse.rst:9 +msgid "World Wide Web" +msgstr "" + +#: library/urllib.parse.rst:9 +msgid "URL" +msgstr "" + +#: library/urllib.parse.rst:9 +msgid "parsing" +msgstr "" + +#: library/urllib.parse.rst:9 +msgid "relative" +msgstr "" diff --git a/library/urllib.request.po b/library/urllib.request.po index 30a7fa071..0a8622286 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -54,8 +54,8 @@ msgstr "" #: library/urllib.request.rst:31 msgid "" -"Open the URL *url*, which can be either a string or a :class:`Request` " -"object." +"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 @@ -280,7 +280,7 @@ msgid "This class is an abstraction of a URL request." msgstr "" #: library/urllib.request.rst:195 -msgid "*url* should be a string containing a valid URL." +msgid "*url* should be a string containing a valid, properly encoded URL." msgstr "" #: library/urllib.request.rst:197 @@ -1789,3 +1789,19 @@ msgstr "" #: library/urllib.request.rst:1630 library/urllib.request.rst:1635 msgid "Deprecated in favor of :attr:`~addinfourl.status`." msgstr "" + +#: library/urllib.request.rst:1539 library/urllib.request.rst:1562 +msgid "HTTP" +msgstr "" + +#: library/urllib.request.rst:1539 library/urllib.request.rst:1562 +msgid "protocol" +msgstr "" + +#: library/urllib.request.rst:1539 library/urllib.request.rst:1573 +msgid "FTP" +msgstr "" + +#: library/urllib.request.rst:1562 +msgid "HTML" +msgstr "" diff --git a/library/urllib.robotparser.po b/library/urllib.robotparser.po index 80551232e..ff8ffa80f 100644 --- a/library/urllib.robotparser.po +++ b/library/urllib.robotparser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -97,3 +97,19 @@ msgid "" "The following example demonstrates basic use of the :class:`RobotFileParser` " "class::" msgstr "" + +#: library/urllib.robotparser.rst:12 +msgid "WWW" +msgstr "" + +#: library/urllib.robotparser.rst:12 +msgid "World Wide Web" +msgstr "" + +#: library/urllib.robotparser.rst:12 +msgid "URL" +msgstr "" + +#: library/urllib.robotparser.rst:12 +msgid "robots.txt" +msgstr "" diff --git a/library/uu.po b/library/uu.po index c258f09fc..2f406b797 100644 --- a/library/uu.po +++ b/library/uu.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -95,3 +95,11 @@ msgstr "" msgid "" "Support module containing ASCII-to-binary and binary-to-ASCII conversions." msgstr "" + +#: library/uu.rst:28 +msgid "Jansen, Jack" +msgstr "" + +#: library/uu.rst:28 +msgid "Ellinghouse, Lance" +msgstr "" diff --git a/library/uuid.po b/library/uuid.po index f95a53b9d..28ead8fbe 100644 --- a/library/uuid.po +++ b/library/uuid.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -327,3 +327,23 @@ msgstr "" #: library/uuid.rst:269 msgid "Here are some examples of typical usage of the :mod:`uuid` module::" msgstr "" + +#: library/uuid.rst:173 +msgid "getnode" +msgstr "" + +#: library/uuid.rst:183 +msgid "uuid1" +msgstr "" + +#: library/uuid.rst:191 +msgid "uuid3" +msgstr "" + +#: library/uuid.rst:198 +msgid "uuid4" +msgstr "" + +#: library/uuid.rst:206 +msgid "uuid5" +msgstr "" diff --git a/library/venv.po b/library/venv.po index 594918c3a..20fe2becd 100644 --- a/library/venv.po +++ b/library/venv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -186,7 +186,7 @@ msgid "" "prefix` and :data:`sys.exec_prefix` point to the directories of the virtual " "environment, whereas :data:`sys.base_prefix` and :data:`sys." "base_exec_prefix` point to those of the base Python used to create the " -"environment. It is sufficient to check ``sys.prefix == sys.base_prefix`` to " +"environment. It is sufficient to check ``sys.prefix != sys.base_prefix`` to " "determine if the current interpreter is running from a virtual environment." msgstr "" @@ -194,7 +194,7 @@ msgstr "" msgid "" "A virtual environment may be \"activated\" using a script in its binary " "directory (``bin`` on POSIX; ``Scripts`` on Windows). This will prepend that " -"directory to your :envvar:`!PATH`, so that running :program:`!python` will " +"directory to your :envvar:`!PATH`, so that running :program:`python` will " "invoke the environment's Python interpreter and you can run installed " "scripts without having to use their full path. The invocation of the " "activation script is platform-specific (:samp:`{}` must be replaced by " @@ -266,7 +266,7 @@ msgid ":samp:`PS C:\\\\> {}\\\\Scripts\\\\Activate.ps1`" msgstr "" #: library/venv.rst:86 -msgid ":program:`!fish` and :program:`!csh` activation scripts." +msgid ":program:`fish` and :program:`csh` activation scripts." msgstr "" #: library/venv.rst:89 @@ -643,3 +643,11 @@ msgid "" "This script is also available for download `online `_." msgstr "" + +#: library/venv.rst:14 +msgid "Environments" +msgstr "" + +#: library/venv.rst:14 +msgid "virtual" +msgstr "" diff --git a/library/warnings.po b/library/warnings.po index 82dbc56a2..89591ceb4 100644 --- a/library/warnings.po +++ b/library/warnings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -709,3 +709,7 @@ msgstr "" #: library/warnings.rst:528 msgid "Added the *action*, *category*, *lineno*, and *append* parameters." msgstr "" + +#: library/warnings.rst:9 +msgid "warnings" +msgstr "" diff --git a/library/wave.po b/library/wave.po index 1ecbf31ea..4904e11a4 100644 --- a/library/wave.po +++ b/library/wave.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,43 +26,43 @@ msgstr "" #: library/wave.rst:14 msgid "" -"The :mod:`wave` module provides a convenient interface to the WAV sound " -"format. Only files using ``WAVE_FORMAT_PCM`` are supported. Note that this " -"does not include files using ``WAVE_FORMAT_EXTENSIBLE`` even if the " -"subformat is PCM." +"The :mod:`wave` module provides a convenient interface to the Waveform Audio " +"\"WAVE\" (or \"WAV\") file format. Only files using ``WAVE_FORMAT_PCM`` are " +"supported. Note that this does not include files using " +"``WAVE_FORMAT_EXTENSIBLE`` even if the subformat is PCM." msgstr "" -#: library/wave.rst:18 +#: library/wave.rst:19 msgid "The :mod:`wave` module defines the following function and exception:" msgstr "" -#: library/wave.rst:23 +#: library/wave.rst:24 msgid "" "If *file* is a string, open the file by that name, otherwise treat it as a " "file-like object. *mode* can be:" msgstr "" -#: library/wave.rst:27 +#: library/wave.rst:28 msgid "``'rb'``" msgstr "" -#: library/wave.rst:27 +#: library/wave.rst:28 msgid "Read only mode." msgstr "" -#: library/wave.rst:30 +#: library/wave.rst:31 msgid "``'wb'``" msgstr "" -#: library/wave.rst:30 +#: library/wave.rst:31 msgid "Write only mode." msgstr "" -#: library/wave.rst:32 +#: library/wave.rst:33 msgid "Note that it does not allow read/write WAV files." msgstr "" -#: library/wave.rst:34 +#: library/wave.rst:35 msgid "" "A *mode* of ``'rb'`` returns a :class:`Wave_read` object, while a *mode* of " "``'wb'`` returns a :class:`Wave_write` object. If *mode* is omitted and a " @@ -70,22 +70,21 @@ msgid "" "value for *mode*." msgstr "" -#: library/wave.rst:39 +#: library/wave.rst:40 msgid "" "If you pass in a file-like object, the wave object will not close it when " -"its :meth:`close` method is called; it is the caller's responsibility to " -"close the file object." +"its ``close()`` method is called; it is the caller's responsibility to close " +"the file object." msgstr "" -#: library/wave.rst:43 +#: library/wave.rst:44 msgid "" "The :func:`.open` function may be used in a :keyword:`with` statement. When " -"the :keyword:`!with` block completes, the :meth:`Wave_read.close() ` or :meth:`Wave_write.close() ` " -"method is called." +"the :keyword:`!with` block completes, the :meth:`Wave_read.close()` or :meth:" +"`Wave_write.close()` method is called." msgstr "" -#: library/wave.rst:164 +#: library/wave.rst:172 msgid "Added support for unseekable files." msgstr "" @@ -99,112 +98,122 @@ msgstr "" msgid "Wave_read Objects" msgstr "" -#: library/wave.rst:62 +#: library/wave.rst:64 +msgid "Read a WAV file." +msgstr "" + +#: library/wave.rst:66 msgid "" "Wave_read objects, as returned by :func:`.open`, have the following methods:" msgstr "" -#: library/wave.rst:67 +#: library/wave.rst:71 msgid "" "Close the stream if it was opened by :mod:`wave`, and make the instance " "unusable. This is called automatically on object collection." msgstr "" -#: library/wave.rst:73 +#: library/wave.rst:77 msgid "Returns number of audio channels (``1`` for mono, ``2`` for stereo)." msgstr "" -#: library/wave.rst:78 +#: library/wave.rst:82 msgid "Returns sample width in bytes." msgstr "" -#: library/wave.rst:83 +#: library/wave.rst:87 msgid "Returns sampling frequency." msgstr "" -#: library/wave.rst:88 +#: library/wave.rst:92 msgid "Returns number of audio frames." msgstr "" -#: library/wave.rst:93 +#: library/wave.rst:97 msgid "Returns compression type (``'NONE'`` is the only supported type)." msgstr "" -#: library/wave.rst:98 +#: library/wave.rst:102 msgid "" "Human-readable version of :meth:`getcomptype`. Usually ``'not compressed'`` " "parallels ``'NONE'``." msgstr "" -#: library/wave.rst:104 +#: library/wave.rst:108 msgid "" "Returns a :func:`~collections.namedtuple` ``(nchannels, sampwidth, " -"framerate, nframes, comptype, compname)``, equivalent to output of the :meth:" -"`get\\*` methods." +"framerate, nframes, comptype, compname)``, equivalent to output of the " +"``get*()`` methods." msgstr "" -#: library/wave.rst:111 +#: library/wave.rst:115 msgid "" "Reads and returns at most *n* frames of audio, as a :class:`bytes` object." msgstr "" -#: library/wave.rst:116 +#: library/wave.rst:120 msgid "Rewind the file pointer to the beginning of the audio stream." msgstr "" -#: library/wave.rst:118 +#: library/wave.rst:122 msgid "" "The following two methods are defined for compatibility with the :mod:`aifc` " "module, and don't do anything interesting." msgstr "" -#: library/wave.rst:124 +#: library/wave.rst:128 msgid "Returns ``None``." msgstr "" -#: library/wave.rst:129 +#: library/wave.rst:133 msgid "Raise an error." msgstr "" -#: library/wave.rst:131 +#: library/wave.rst:135 msgid "" "The following two methods define a term \"position\" which is compatible " "between them, and is otherwise implementation dependent." msgstr "" -#: library/wave.rst:137 +#: library/wave.rst:141 msgid "Set the file pointer to the specified position." msgstr "" -#: library/wave.rst:142 +#: library/wave.rst:146 msgid "Return current file pointer position." msgstr "" -#: library/wave.rst:148 +#: library/wave.rst:152 msgid "Wave_write Objects" msgstr "" -#: library/wave.rst:150 +#: library/wave.rst:156 +msgid "Write a WAV file." +msgstr "" + +#: library/wave.rst:158 +msgid "Wave_write objects, as returned by :func:`.open`." +msgstr "" + +#: library/wave.rst:160 msgid "" "For seekable output streams, the ``wave`` header will automatically be " "updated to reflect the number of frames actually written. For unseekable " "streams, the *nframes* value must be accurate when the first frame data is " "written. An accurate *nframes* value can be achieved either by calling :" -"meth:`~Wave_write.setnframes` or :meth:`~Wave_write.setparams` with the " -"number of frames that will be written before :meth:`~Wave_write.close` is " -"called and then using :meth:`~Wave_write.writeframesraw` to write the frame " -"data, or by calling :meth:`~Wave_write.writeframes` with all of the frame " -"data to be written. In the latter case :meth:`~Wave_write.writeframes` will " -"calculate the number of frames in the data and set *nframes* accordingly " -"before writing the frame data." +"meth:`setnframes` or :meth:`setparams` with the number of frames that will " +"be written before :meth:`close` is called and then using :meth:" +"`writeframesraw` to write the frame data, or by calling :meth:`writeframes` " +"with all of the frame data to be written. In the latter case :meth:" +"`writeframes` will calculate the number of frames in the data and set " +"*nframes* accordingly before writing the frame data." msgstr "" -#: library/wave.rst:162 -msgid "" -"Wave_write objects, as returned by :func:`.open`, have the following methods:" +#: library/wave.rst:175 +msgid "Wave_write objects have the following methods:" msgstr "" -#: library/wave.rst:170 +#: library/wave.rst:179 msgid "" "Make sure *nframes* is correct, and close the file if it was opened by :mod:" "`wave`. This method is called upon object collection. It will raise an " @@ -212,57 +221,57 @@ msgid "" "the number of frames actually written." msgstr "" -#: library/wave.rst:178 +#: library/wave.rst:187 msgid "Set the number of channels." msgstr "" -#: library/wave.rst:183 +#: library/wave.rst:192 msgid "Set the sample width to *n* bytes." msgstr "" -#: library/wave.rst:188 +#: library/wave.rst:197 msgid "Set the frame rate to *n*." msgstr "" -#: library/wave.rst:190 +#: library/wave.rst:199 msgid "A non-integral input to this method is rounded to the nearest integer." msgstr "" -#: library/wave.rst:197 +#: library/wave.rst:206 msgid "" "Set the number of frames to *n*. This will be changed later if the number " "of frames actually written is different (this update attempt will raise an " "error if the output stream is not seekable)." msgstr "" -#: library/wave.rst:204 +#: library/wave.rst:213 msgid "" "Set the compression type and description. At the moment, only compression " "type ``NONE`` is supported, meaning no compression." msgstr "" -#: library/wave.rst:210 +#: library/wave.rst:219 msgid "" "The *tuple* should be ``(nchannels, sampwidth, framerate, nframes, comptype, " -"compname)``, with values valid for the :meth:`set\\*` methods. Sets all " +"compname)``, with values valid for the ``set*()`` methods. Sets all " "parameters." msgstr "" -#: library/wave.rst:217 +#: library/wave.rst:226 msgid "" "Return current position in the file, with the same disclaimer for the :meth:" "`Wave_read.tell` and :meth:`Wave_read.setpos` methods." msgstr "" -#: library/wave.rst:223 +#: library/wave.rst:232 msgid "Write audio frames, without correcting *nframes*." msgstr "" -#: library/wave.rst:236 +#: library/wave.rst:245 msgid "Any :term:`bytes-like object` is now accepted." msgstr "" -#: library/wave.rst:231 +#: library/wave.rst:240 msgid "" "Write audio frames and make sure *nframes* is correct. It will raise an " "error if the output stream is not seekable and the total number of frames " @@ -270,7 +279,7 @@ msgid "" "previously set value for *nframes*." msgstr "" -#: library/wave.rst:240 +#: library/wave.rst:248 msgid "" "Note that it is invalid to set any parameters after calling :meth:" "`writeframes` or :meth:`writeframesraw`, and any attempt to do so will " diff --git a/library/winreg.po b/library/winreg.po index 360343ca8..55142be01 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -936,3 +936,11 @@ msgstr "" msgid "" "will automatically close *key* when control leaves the :keyword:`with` block." msgstr "" + +#: library/winreg.rst:242 +msgid "% (percent)" +msgstr "" + +#: library/winreg.rst:242 +msgid "environment variables expansion (Windows)" +msgstr "" diff --git a/library/xdrlib.po b/library/xdrlib.po index 50dcb2157..48778a427 100644 --- a/library/xdrlib.po +++ b/library/xdrlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -307,3 +307,11 @@ msgstr "" #: library/xdrlib.rst:275 msgid "Here is an example of how you would catch one of these exceptions::" msgstr "" + +#: library/xdrlib.rst:10 +msgid "XDR" +msgstr "" + +#: library/xdrlib.rst:10 +msgid "External Data Representation" +msgstr "" diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index a4e946e7a..9c61500cb 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -267,7 +267,7 @@ msgid "" msgstr "" #: library/xmlrpc.client.rst:166 -msgid "`XML-RPC HOWTO `_" +msgid "`XML-RPC HOWTO `_" msgstr "" #: library/xmlrpc.client.rst:165 diff --git a/library/zipapp.po b/library/zipapp.po index d9db3c7f0..9fe24ecdc 100644 --- a/library/zipapp.po +++ b/library/zipapp.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -270,11 +270,11 @@ msgstr "" #: library/zipapp.rst:218 msgid "" "To update the file in place, do the replacement in memory using a :class:" -"`BytesIO` object, and then overwrite the source afterwards. Note that there " -"is a risk when overwriting a file in place that an error will result in the " -"loss of the original file. This code does not protect against such errors, " -"but production code should do so. Also, this method will only work if the " -"archive fits in memory::" +"`~io.BytesIO` object, and then overwrite the source afterwards. Note that " +"there is a risk when overwriting a file in place that an error will result " +"in the loss of the original file. This code does not protect against such " +"errors, but production code should do so. Also, this method will only work " +"if the archive fits in memory::" msgstr "" #: library/zipapp.rst:236 @@ -538,3 +538,7 @@ msgid "" "application archives - the module is a convenience, but archives in the " "above format created by any means are acceptable to Python." msgstr "" + +#: library/zipapp.rst:11 +msgid "Executable Zip Files" +msgstr "" diff --git a/library/zipfile.po b/library/zipfile.po index c729adca8..8afa99e11 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -142,7 +142,7 @@ msgid "" msgstr "" #: library/zipfile.rst:132 -msgid "`Info-ZIP Home Page `_" +msgid "`Info-ZIP Home Page `_" msgstr "" #: library/zipfile.rst:132 @@ -335,8 +335,8 @@ msgid "" "With *mode* ``'r'`` the file-like object (``ZipExtFile``) is read-only and " "provides the following methods: :meth:`~io.BufferedIOBase.read`, :meth:`~io." "IOBase.readline`, :meth:`~io.IOBase.readlines`, :meth:`~io.IOBase.seek`, :" -"meth:`~io.IOBase.tell`, :meth:`__iter__`, :meth:`~iterator.__next__`. These " -"objects can operate independently of the ZipFile." +"meth:`~io.IOBase.tell`, :meth:`~container.__iter__`, :meth:`~iterator." +"__next__`. These objects can operate independently of the ZipFile." msgstr "" #: library/zipfile.rst:294 diff --git a/library/zlib.po b/library/zlib.po index 5e37a1760..f4647ca2c 100644 --- a/library/zlib.po +++ b/library/zlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -452,3 +452,11 @@ msgid "" "The zlib manual explains the semantics and usage of the library's many " "functions." msgstr "" + +#: library/zlib.rst:123 +msgid "Cyclic Redundancy Check" +msgstr "" + +#: library/zlib.rst:123 +msgid "checksum" +msgstr "" diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 650a033fc..3910bf79f 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -294,12 +294,19 @@ msgstr "" #: reference/compound_stmts.rst:368 msgid "" +"From version 3.11.4, when the entire :exc:`ExceptionGroup` is handled and " +"only one exception is raised from an :keyword:`!except*` clause, this " +"exception is no longer wrapped to form a new :exc:`ExceptionGroup`." +msgstr "" + +#: reference/compound_stmts.rst:372 +msgid "" "If the raised exception is not an exception group and its type matches one " "of the :keyword:`!except*` clauses, it is caught and wrapped by an exception " "group with an empty message string. ::" msgstr "" -#: reference/compound_stmts.rst:379 +#: reference/compound_stmts.rst:383 msgid "" "An :keyword:`!except*` clause must have a matching type, and this type " "cannot be a subclass of :exc:`BaseExceptionGroup`. It is not possible to " @@ -308,11 +315,11 @@ msgid "" "an :keyword:`!except*` clause." msgstr "" -#: reference/compound_stmts.rst:396 +#: reference/compound_stmts.rst:400 msgid ":keyword:`!else` clause" msgstr "" -#: reference/compound_stmts.rst:398 +#: reference/compound_stmts.rst:402 msgid "" "The optional :keyword:`!else` clause is executed if the control flow leaves " "the :keyword:`try` suite, no exception was raised, and no :keyword:" @@ -321,11 +328,11 @@ msgid "" "keyword:`except` clauses." msgstr "" -#: reference/compound_stmts.rst:410 +#: reference/compound_stmts.rst:414 msgid ":keyword:`!finally` clause" msgstr "" -#: reference/compound_stmts.rst:412 +#: reference/compound_stmts.rst:416 msgid "" "If :keyword:`!finally` is present, it specifies a 'cleanup' handler. The :" "keyword:`try` clause is executed, including any :keyword:`except` and :" @@ -339,13 +346,13 @@ msgid "" "exception is discarded::" msgstr "" -#: reference/compound_stmts.rst:431 +#: reference/compound_stmts.rst:435 msgid "" "The exception information is not available to the program during execution " "of the :keyword:`!finally` clause." msgstr "" -#: reference/compound_stmts.rst:439 +#: reference/compound_stmts.rst:443 msgid "" "When a :keyword:`return`, :keyword:`break` or :keyword:`continue` statement " "is executed in the :keyword:`try` suite of a :keyword:`!try`...\\ :keyword:`!" @@ -353,7 +360,7 @@ msgid "" "way out.'" msgstr "" -#: reference/compound_stmts.rst:443 +#: reference/compound_stmts.rst:447 msgid "" "The return value of a function is determined by the last :keyword:`return` " "statement executed. Since the :keyword:`!finally` clause always executes, " @@ -361,17 +368,17 @@ msgid "" "will always be the last one executed::" msgstr "" -#: reference/compound_stmts.rst:457 +#: reference/compound_stmts.rst:461 msgid "" "Prior to Python 3.8, a :keyword:`continue` statement was illegal in the :" "keyword:`!finally` clause due to a problem with the implementation." msgstr "" -#: reference/compound_stmts.rst:466 +#: reference/compound_stmts.rst:470 msgid "The :keyword:`!with` statement" msgstr "" -#: reference/compound_stmts.rst:475 +#: reference/compound_stmts.rst:479 msgid "" "The :keyword:`with` statement is used to wrap the execution of a block with " "methods defined by a context manager (see section :ref:`context-managers`). " @@ -379,37 +386,37 @@ msgid "" "`finally` usage patterns to be encapsulated for convenient reuse." msgstr "" -#: reference/compound_stmts.rst:485 +#: reference/compound_stmts.rst:489 msgid "" "The execution of the :keyword:`with` statement with one \"item\" proceeds as " "follows:" msgstr "" -#: reference/compound_stmts.rst:487 +#: reference/compound_stmts.rst:491 msgid "" "The context expression (the expression given in the :token:`~python-grammar:" "with_item`) is evaluated to obtain a context manager." msgstr "" -#: reference/compound_stmts.rst:490 +#: reference/compound_stmts.rst:494 msgid "The context manager's :meth:`__enter__` is loaded for later use." msgstr "" -#: reference/compound_stmts.rst:492 +#: reference/compound_stmts.rst:496 msgid "The context manager's :meth:`__exit__` is loaded for later use." msgstr "" -#: reference/compound_stmts.rst:494 +#: reference/compound_stmts.rst:498 msgid "The context manager's :meth:`__enter__` method is invoked." msgstr "" -#: reference/compound_stmts.rst:496 +#: reference/compound_stmts.rst:500 msgid "" "If a target was included in the :keyword:`with` statement, the return value " "from :meth:`__enter__` is assigned to it." msgstr "" -#: reference/compound_stmts.rst:501 +#: reference/compound_stmts.rst:505 msgid "" "The :keyword:`with` statement guarantees that if the :meth:`__enter__` " "method returns without an error, then :meth:`__exit__` will always be " @@ -418,11 +425,11 @@ msgid "" "See step 7 below." msgstr "" -#: reference/compound_stmts.rst:507 +#: reference/compound_stmts.rst:511 msgid "The suite is executed." msgstr "" -#: reference/compound_stmts.rst:509 +#: reference/compound_stmts.rst:513 msgid "" "The context manager's :meth:`__exit__` method is invoked. If an exception " "caused the suite to be exited, its type, value, and traceback are passed as " @@ -430,7 +437,7 @@ msgid "" "supplied." msgstr "" -#: reference/compound_stmts.rst:514 +#: reference/compound_stmts.rst:518 msgid "" "If the suite was exited due to an exception, and the return value from the :" "meth:`__exit__` method was false, the exception is reraised. If the return " @@ -438,115 +445,115 @@ msgid "" "the statement following the :keyword:`with` statement." msgstr "" -#: reference/compound_stmts.rst:519 +#: reference/compound_stmts.rst:523 msgid "" "If the suite was exited for any reason other than an exception, the return " "value from :meth:`__exit__` is ignored, and execution proceeds at the normal " "location for the kind of exit that was taken." msgstr "" -#: reference/compound_stmts.rst:523 reference/compound_stmts.rst:1514 -#: reference/compound_stmts.rst:1555 +#: reference/compound_stmts.rst:527 reference/compound_stmts.rst:1518 +#: reference/compound_stmts.rst:1559 msgid "The following code::" msgstr "" -#: reference/compound_stmts.rst:528 reference/compound_stmts.rst:553 -#: reference/compound_stmts.rst:1560 +#: reference/compound_stmts.rst:532 reference/compound_stmts.rst:557 +#: reference/compound_stmts.rst:1564 msgid "is semantically equivalent to::" msgstr "" -#: reference/compound_stmts.rst:547 +#: reference/compound_stmts.rst:551 msgid "" "With more than one item, the context managers are processed as if multiple :" "keyword:`with` statements were nested::" msgstr "" -#: reference/compound_stmts.rst:559 +#: reference/compound_stmts.rst:563 msgid "" "You can also write multi-item context managers in multiple lines if the " "items are surrounded by parentheses. For example::" msgstr "" -#: reference/compound_stmts.rst:568 +#: reference/compound_stmts.rst:572 msgid "Support for multiple context expressions." msgstr "" -#: reference/compound_stmts.rst:571 +#: reference/compound_stmts.rst:575 msgid "" "Support for using grouping parentheses to break the statement in multiple " "lines." msgstr "" -#: reference/compound_stmts.rst:577 +#: reference/compound_stmts.rst:581 msgid ":pep:`343` - The \"with\" statement" msgstr "" -#: reference/compound_stmts.rst:577 +#: reference/compound_stmts.rst:581 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." msgstr "" -#: reference/compound_stmts.rst:583 +#: reference/compound_stmts.rst:587 msgid "The :keyword:`!match` statement" msgstr "" -#: reference/compound_stmts.rst:597 +#: reference/compound_stmts.rst:601 msgid "The match statement is used for pattern matching. Syntax:" msgstr "" -#: reference/compound_stmts.rst:606 +#: reference/compound_stmts.rst:610 msgid "" "This section uses single quotes to denote :ref:`soft keywords `." msgstr "" -#: reference/compound_stmts.rst:609 +#: reference/compound_stmts.rst:613 msgid "" "Pattern matching takes a pattern as input (following ``case``) and a subject " "value (following ``match``). The pattern (which may contain subpatterns) is " "matched against the subject value. The outcomes are:" msgstr "" -#: reference/compound_stmts.rst:613 +#: reference/compound_stmts.rst:617 msgid "A match success or failure (also termed a pattern success or failure)." msgstr "" -#: reference/compound_stmts.rst:615 +#: reference/compound_stmts.rst:619 msgid "" "Possible binding of matched values to a name. The prerequisites for this " "are further discussed below." msgstr "" -#: reference/compound_stmts.rst:618 +#: reference/compound_stmts.rst:622 msgid "" "The ``match`` and ``case`` keywords are :ref:`soft keywords `." msgstr "" -#: reference/compound_stmts.rst:622 reference/compound_stmts.rst:1177 +#: reference/compound_stmts.rst:626 reference/compound_stmts.rst:1181 msgid ":pep:`634` -- Structural Pattern Matching: Specification" msgstr "" -#: reference/compound_stmts.rst:623 reference/compound_stmts.rst:1178 +#: reference/compound_stmts.rst:627 reference/compound_stmts.rst:1182 msgid ":pep:`636` -- Structural Pattern Matching: Tutorial" msgstr "" -#: reference/compound_stmts.rst:627 +#: reference/compound_stmts.rst:631 msgid "Overview" msgstr "" -#: reference/compound_stmts.rst:629 +#: reference/compound_stmts.rst:633 msgid "Here's an overview of the logical flow of a match statement:" msgstr "" -#: reference/compound_stmts.rst:632 +#: reference/compound_stmts.rst:636 msgid "" "The subject expression ``subject_expr`` is evaluated and a resulting subject " "value obtained. If the subject expression contains a comma, a tuple is " "constructed using :ref:`the standard rules `." msgstr "" -#: reference/compound_stmts.rst:636 +#: reference/compound_stmts.rst:640 msgid "" "Each pattern in a ``case_block`` is attempted to match with the subject " "value. The specific rules for success or failure are described below. The " @@ -556,7 +563,7 @@ msgid "" "outlive the executed block and can be used after the match statement**." msgstr "" -#: reference/compound_stmts.rst:645 +#: reference/compound_stmts.rst:649 msgid "" "During failed pattern matches, some subpatterns may succeed. Do not rely on " "bindings being made for a failed match. Conversely, do not rely on " @@ -565,87 +572,87 @@ msgid "" "made to allow different implementations to add optimizations." msgstr "" -#: reference/compound_stmts.rst:652 +#: reference/compound_stmts.rst:656 msgid "" "If the pattern succeeds, the corresponding guard (if present) is evaluated. " "In this case all name bindings are guaranteed to have happened." msgstr "" -#: reference/compound_stmts.rst:655 +#: reference/compound_stmts.rst:659 msgid "" "If the guard evaluates as true or is missing, the ``block`` inside " "``case_block`` is executed." msgstr "" -#: reference/compound_stmts.rst:658 +#: reference/compound_stmts.rst:662 msgid "Otherwise, the next ``case_block`` is attempted as described above." msgstr "" -#: reference/compound_stmts.rst:660 +#: reference/compound_stmts.rst:664 msgid "If there are no further case blocks, the match statement is completed." msgstr "" -#: reference/compound_stmts.rst:664 +#: reference/compound_stmts.rst:668 msgid "" "Users should generally never rely on a pattern being evaluated. Depending " "on implementation, the interpreter may cache values or use other " "optimizations which skip repeated evaluations." msgstr "" -#: reference/compound_stmts.rst:668 +#: reference/compound_stmts.rst:672 msgid "A sample match statement::" msgstr "" -#: reference/compound_stmts.rst:684 +#: reference/compound_stmts.rst:688 msgid "" "In this case, ``if flag`` is a guard. Read more about that in the next " "section." msgstr "" -#: reference/compound_stmts.rst:687 +#: reference/compound_stmts.rst:691 msgid "Guards" msgstr "" -#: reference/compound_stmts.rst:694 +#: reference/compound_stmts.rst:698 msgid "" "A ``guard`` (which is part of the ``case``) must succeed for code inside the " "``case`` block to execute. It takes the form: :keyword:`if` followed by an " "expression." msgstr "" -#: reference/compound_stmts.rst:699 +#: reference/compound_stmts.rst:703 msgid "The logical flow of a ``case`` block with a ``guard`` follows:" msgstr "" -#: reference/compound_stmts.rst:701 +#: reference/compound_stmts.rst:705 msgid "" "Check that the pattern in the ``case`` block succeeded. If the pattern " "failed, the ``guard`` is not evaluated and the next ``case`` block is " "checked." msgstr "" -#: reference/compound_stmts.rst:705 +#: reference/compound_stmts.rst:709 msgid "If the pattern succeeded, evaluate the ``guard``." msgstr "" -#: reference/compound_stmts.rst:707 +#: reference/compound_stmts.rst:711 msgid "" "If the ``guard`` condition evaluates as true, the case block is selected." msgstr "" -#: reference/compound_stmts.rst:710 +#: reference/compound_stmts.rst:714 msgid "" "If the ``guard`` condition evaluates as false, the case block is not " "selected." msgstr "" -#: reference/compound_stmts.rst:713 +#: reference/compound_stmts.rst:717 msgid "" "If the ``guard`` raises an exception during evaluation, the exception " "bubbles up." msgstr "" -#: reference/compound_stmts.rst:716 +#: reference/compound_stmts.rst:720 msgid "" "Guards are allowed to have side effects as they are expressions. Guard " "evaluation must proceed from the first to the last case block, one at a " @@ -654,17 +661,17 @@ msgid "" "block is selected." msgstr "" -#: reference/compound_stmts.rst:726 +#: reference/compound_stmts.rst:730 msgid "Irrefutable Case Blocks" msgstr "" -#: reference/compound_stmts.rst:730 +#: reference/compound_stmts.rst:734 msgid "" "An irrefutable case block is a match-all case block. A match statement may " "have at most one irrefutable case block, and it must be last." msgstr "" -#: reference/compound_stmts.rst:733 +#: reference/compound_stmts.rst:737 msgid "" "A case block is considered irrefutable if it has no guard and its pattern is " "irrefutable. A pattern is considered irrefutable if we can prove from its " @@ -672,47 +679,47 @@ msgid "" "irrefutable:" msgstr "" -#: reference/compound_stmts.rst:738 +#: reference/compound_stmts.rst:742 msgid ":ref:`as-patterns` whose left-hand side is irrefutable" msgstr "" -#: reference/compound_stmts.rst:740 +#: reference/compound_stmts.rst:744 msgid ":ref:`or-patterns` containing at least one irrefutable pattern" msgstr "" -#: reference/compound_stmts.rst:742 +#: reference/compound_stmts.rst:746 msgid ":ref:`capture-patterns`" msgstr "" -#: reference/compound_stmts.rst:744 +#: reference/compound_stmts.rst:748 msgid ":ref:`wildcard-patterns`" msgstr "" -#: reference/compound_stmts.rst:746 +#: reference/compound_stmts.rst:750 msgid "parenthesized irrefutable patterns" msgstr "" -#: reference/compound_stmts.rst:750 +#: reference/compound_stmts.rst:754 msgid "Patterns" msgstr "" -#: reference/compound_stmts.rst:757 +#: reference/compound_stmts.rst:761 msgid "This section uses grammar notations beyond standard EBNF:" msgstr "" -#: reference/compound_stmts.rst:759 +#: reference/compound_stmts.rst:763 msgid "the notation ``SEP.RULE+`` is shorthand for ``RULE (SEP RULE)*``" msgstr "" -#: reference/compound_stmts.rst:761 +#: reference/compound_stmts.rst:765 msgid "the notation ``!RULE`` is shorthand for a negative lookahead assertion" msgstr "" -#: reference/compound_stmts.rst:764 +#: reference/compound_stmts.rst:768 msgid "The top-level syntax for ``patterns`` is:" msgstr "" -#: reference/compound_stmts.rst:778 +#: reference/compound_stmts.rst:782 msgid "" "The descriptions below will include a description \"in simple terms\" of " "what a pattern does for illustration purposes (credits to Raymond Hettinger " @@ -722,70 +729,70 @@ msgid "" "forms." msgstr "" -#: reference/compound_stmts.rst:788 +#: reference/compound_stmts.rst:792 msgid "OR Patterns" msgstr "" -#: reference/compound_stmts.rst:790 +#: reference/compound_stmts.rst:794 msgid "" "An OR pattern is two or more patterns separated by vertical bars ``|``. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:796 +#: reference/compound_stmts.rst:800 msgid "" "Only the final subpattern may be :ref:`irrefutable `, and " "each subpattern must bind the same set of names to avoid ambiguity." msgstr "" -#: reference/compound_stmts.rst:799 +#: reference/compound_stmts.rst:803 msgid "" "An OR pattern matches each of its subpatterns in turn to the subject value, " "until one succeeds. The OR pattern is then considered successful. " "Otherwise, if none of the subpatterns succeed, the OR pattern fails." msgstr "" -#: reference/compound_stmts.rst:803 +#: reference/compound_stmts.rst:807 msgid "" "In simple terms, ``P1 | P2 | ...`` will try to match ``P1``, if it fails it " "will try to match ``P2``, succeeding immediately if any succeeds, failing " "otherwise." msgstr "" -#: reference/compound_stmts.rst:809 +#: reference/compound_stmts.rst:813 msgid "AS Patterns" msgstr "" -#: reference/compound_stmts.rst:811 +#: reference/compound_stmts.rst:815 msgid "" "An AS pattern matches an OR pattern on the left of the :keyword:`as` keyword " "against a subject. Syntax:" msgstr "" -#: reference/compound_stmts.rst:817 +#: reference/compound_stmts.rst:821 msgid "" "If the OR pattern fails, the AS pattern fails. Otherwise, the AS pattern " "binds the subject to the name on the right of the as keyword and succeeds. " -"``capture_pattern`` cannot be a a ``_``." +"``capture_pattern`` cannot be a ``_``." msgstr "" -#: reference/compound_stmts.rst:821 +#: reference/compound_stmts.rst:825 msgid "" "In simple terms ``P as NAME`` will match with ``P``, and on success it will " "set ``NAME = ``." msgstr "" -#: reference/compound_stmts.rst:828 +#: reference/compound_stmts.rst:832 msgid "Literal Patterns" msgstr "" -#: reference/compound_stmts.rst:830 +#: reference/compound_stmts.rst:834 msgid "" "A literal pattern corresponds to most :ref:`literals ` in Python. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:843 +#: reference/compound_stmts.rst:847 msgid "" "The rule ``strings`` and the token ``NUMBER`` are defined in the :doc:" "`standard Python grammar <./grammar>`. Triple-quoted strings are " @@ -793,42 +800,42 @@ msgid "" "are not supported." msgstr "" -#: reference/compound_stmts.rst:848 +#: reference/compound_stmts.rst:852 msgid "" "The forms ``signed_number '+' NUMBER`` and ``signed_number '-' NUMBER`` are " "for expressing :ref:`complex numbers `; they require a real " "number on the left and an imaginary number on the right. E.g. ``3 + 4j``." msgstr "" -#: reference/compound_stmts.rst:852 +#: reference/compound_stmts.rst:856 msgid "" "In simple terms, ``LITERAL`` will succeed only if `` == LITERAL``. " "For the singletons ``None``, ``True`` and ``False``, the :keyword:`is` " "operator is used." msgstr "" -#: reference/compound_stmts.rst:858 +#: reference/compound_stmts.rst:862 msgid "Capture Patterns" msgstr "" -#: reference/compound_stmts.rst:860 +#: reference/compound_stmts.rst:864 msgid "A capture pattern binds the subject value to a name. Syntax:" msgstr "" -#: reference/compound_stmts.rst:866 +#: reference/compound_stmts.rst:870 msgid "" "A single underscore ``_`` is not a capture pattern (this is what ``!'_'`` " "expresses). It is instead treated as a :token:`~python-grammar:" "wildcard_pattern`." msgstr "" -#: reference/compound_stmts.rst:870 +#: reference/compound_stmts.rst:874 msgid "" "In a given pattern, a given name can only be bound once. E.g. ``case x, " "x: ...`` is invalid while ``case [x] | x: ...`` is allowed." msgstr "" -#: reference/compound_stmts.rst:873 +#: reference/compound_stmts.rst:877 msgid "" "Capture patterns always succeed. The binding follows scoping rules " "established by the assignment expression operator in :pep:`572`; the name " @@ -836,55 +843,55 @@ msgid "" "there's an applicable :keyword:`global` or :keyword:`nonlocal` statement." msgstr "" -#: reference/compound_stmts.rst:878 +#: reference/compound_stmts.rst:882 msgid "" "In simple terms ``NAME`` will always succeed and it will set ``NAME = " "``." msgstr "" -#: reference/compound_stmts.rst:883 +#: reference/compound_stmts.rst:887 msgid "Wildcard Patterns" msgstr "" -#: reference/compound_stmts.rst:885 +#: reference/compound_stmts.rst:889 msgid "" "A wildcard pattern always succeeds (matches anything) and binds no name. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:891 +#: reference/compound_stmts.rst:895 msgid "" "``_`` is a :ref:`soft keyword ` within any pattern, but only " "within patterns. It is an identifier, as usual, even within ``match`` " "subject expressions, ``guard``\\ s, and ``case`` blocks." msgstr "" -#: reference/compound_stmts.rst:895 +#: reference/compound_stmts.rst:899 msgid "In simple terms, ``_`` will always succeed." msgstr "" -#: reference/compound_stmts.rst:900 +#: reference/compound_stmts.rst:904 msgid "Value Patterns" msgstr "" -#: reference/compound_stmts.rst:902 +#: reference/compound_stmts.rst:906 msgid "A value pattern represents a named value in Python. Syntax:" msgstr "" -#: reference/compound_stmts.rst:910 +#: reference/compound_stmts.rst:914 msgid "" "The dotted name in the pattern is looked up using standard Python :ref:`name " "resolution rules `. The pattern succeeds if the value found " "compares equal to the subject value (using the ``==`` equality operator)." msgstr "" -#: reference/compound_stmts.rst:915 +#: reference/compound_stmts.rst:919 msgid "" "In simple terms ``NAME1.NAME2`` will succeed only if `` == NAME1." "NAME2``" msgstr "" -#: reference/compound_stmts.rst:919 +#: reference/compound_stmts.rst:923 msgid "" "If the same value occurs multiple times in the same match statement, the " "interpreter may cache the first value found and reuse it rather than repeat " @@ -892,44 +899,44 @@ msgid "" "given match statement." msgstr "" -#: reference/compound_stmts.rst:927 +#: reference/compound_stmts.rst:931 msgid "Group Patterns" msgstr "" -#: reference/compound_stmts.rst:929 +#: reference/compound_stmts.rst:933 msgid "" "A group pattern allows users to add parentheses around patterns to emphasize " "the intended grouping. Otherwise, it has no additional syntax. Syntax:" msgstr "" -#: reference/compound_stmts.rst:936 +#: reference/compound_stmts.rst:940 msgid "In simple terms ``(P)`` has the same effect as ``P``." msgstr "" -#: reference/compound_stmts.rst:941 +#: reference/compound_stmts.rst:945 msgid "Sequence Patterns" msgstr "" -#: reference/compound_stmts.rst:943 +#: reference/compound_stmts.rst:947 msgid "" "A sequence pattern contains several subpatterns to be matched against " "sequence elements. The syntax is similar to the unpacking of a list or tuple." msgstr "" -#: reference/compound_stmts.rst:954 +#: reference/compound_stmts.rst:958 msgid "" "There is no difference if parentheses or square brackets are used for " "sequence patterns (i.e. ``(...)`` vs ``[...]`` )." msgstr "" -#: reference/compound_stmts.rst:958 +#: reference/compound_stmts.rst:962 msgid "" "A single pattern enclosed in parentheses without a trailing comma (e.g. ``(3 " "| 4)``) is a :ref:`group pattern `. While a single pattern " "enclosed in square brackets (e.g. ``[3 | 4]``) is still a sequence pattern." msgstr "" -#: reference/compound_stmts.rst:963 +#: reference/compound_stmts.rst:967 msgid "" "At most one star subpattern may be in a sequence pattern. The star " "subpattern may occur in any position. If no star subpattern is present, the " @@ -937,40 +944,40 @@ msgid "" "variable-length sequence pattern." msgstr "" -#: reference/compound_stmts.rst:968 +#: reference/compound_stmts.rst:972 msgid "" "The following is the logical flow for matching a sequence pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:971 +#: reference/compound_stmts.rst:975 msgid "" "If the subject value is not a sequence [#]_, the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:974 +#: reference/compound_stmts.rst:978 msgid "" "If the subject value is an instance of ``str``, ``bytes`` or ``bytearray`` " "the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:977 +#: reference/compound_stmts.rst:981 msgid "" "The subsequent steps depend on whether the sequence pattern is fixed or " "variable-length." msgstr "" -#: reference/compound_stmts.rst:980 +#: reference/compound_stmts.rst:984 msgid "If the sequence pattern is fixed-length:" msgstr "" -#: reference/compound_stmts.rst:982 +#: reference/compound_stmts.rst:986 msgid "" "If the length of the subject sequence is not equal to the number of " "subpatterns, the sequence pattern fails" msgstr "" -#: reference/compound_stmts.rst:985 +#: reference/compound_stmts.rst:989 msgid "" "Subpatterns in the sequence pattern are matched to their corresponding items " "in the subject sequence from left to right. Matching stops as soon as a " @@ -978,118 +985,118 @@ msgid "" "corresponding item, the sequence pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:990 +#: reference/compound_stmts.rst:994 msgid "Otherwise, if the sequence pattern is variable-length:" msgstr "" -#: reference/compound_stmts.rst:992 +#: reference/compound_stmts.rst:996 msgid "" "If the length of the subject sequence is less than the number of non-star " "subpatterns, the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:995 +#: reference/compound_stmts.rst:999 msgid "" "The leading non-star subpatterns are matched to their corresponding items as " "for fixed-length sequences." msgstr "" -#: reference/compound_stmts.rst:998 +#: reference/compound_stmts.rst:1002 msgid "" "If the previous step succeeds, the star subpattern matches a list formed of " "the remaining subject items, excluding the remaining items corresponding to " "non-star subpatterns following the star subpattern." msgstr "" -#: reference/compound_stmts.rst:1002 +#: reference/compound_stmts.rst:1006 msgid "" "Remaining non-star subpatterns are matched to their corresponding subject " "items, as for a fixed-length sequence." msgstr "" -#: reference/compound_stmts.rst:1005 +#: reference/compound_stmts.rst:1009 msgid "" "The length of the subject sequence is obtained via :func:`len` (i.e. via " "the :meth:`__len__` protocol). This length may be cached by the interpreter " "in a similar manner as :ref:`value patterns `." msgstr "" -#: reference/compound_stmts.rst:1011 +#: reference/compound_stmts.rst:1015 msgid "" "In simple terms ``[P1, P2, P3,`` ... ``, P]`` matches only if all the " "following happens:" msgstr "" -#: reference/compound_stmts.rst:1014 +#: reference/compound_stmts.rst:1018 msgid "check ```` is a sequence" msgstr "" -#: reference/compound_stmts.rst:1015 +#: reference/compound_stmts.rst:1019 msgid "``len(subject) == ``" msgstr "" -#: reference/compound_stmts.rst:1016 +#: reference/compound_stmts.rst:1020 msgid "" "``P1`` matches ``[0]`` (note that this match can also bind names)" msgstr "" -#: reference/compound_stmts.rst:1017 +#: reference/compound_stmts.rst:1021 msgid "" "``P2`` matches ``[1]`` (note that this match can also bind names)" msgstr "" -#: reference/compound_stmts.rst:1018 +#: reference/compound_stmts.rst:1022 msgid "... and so on for the corresponding pattern/element." msgstr "" -#: reference/compound_stmts.rst:1023 +#: reference/compound_stmts.rst:1027 msgid "Mapping Patterns" msgstr "" -#: reference/compound_stmts.rst:1025 +#: reference/compound_stmts.rst:1029 msgid "" "A mapping pattern contains one or more key-value patterns. The syntax is " "similar to the construction of a dictionary. Syntax:" msgstr "" -#: reference/compound_stmts.rst:1036 +#: reference/compound_stmts.rst:1040 msgid "" "At most one double star pattern may be in a mapping pattern. The double " "star pattern must be the last subpattern in the mapping pattern." msgstr "" -#: reference/compound_stmts.rst:1039 +#: reference/compound_stmts.rst:1043 msgid "" "Duplicate keys in mapping patterns are disallowed. Duplicate literal keys " "will raise a :exc:`SyntaxError`. Two keys that otherwise have the same value " "will raise a :exc:`ValueError` at runtime." msgstr "" -#: reference/compound_stmts.rst:1043 +#: reference/compound_stmts.rst:1047 msgid "" "The following is the logical flow for matching a mapping pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:1046 +#: reference/compound_stmts.rst:1050 msgid "If the subject value is not a mapping [#]_,the mapping pattern fails." msgstr "" -#: reference/compound_stmts.rst:1048 +#: reference/compound_stmts.rst:1052 msgid "" "If every key given in the mapping pattern is present in the subject mapping, " "and the pattern for each key matches the corresponding item of the subject " "mapping, the mapping pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:1052 +#: reference/compound_stmts.rst:1056 msgid "" "If duplicate keys are detected in the mapping pattern, the pattern is " "considered invalid. A :exc:`SyntaxError` is raised for duplicate literal " "values; or a :exc:`ValueError` for named keys of the same value." msgstr "" -#: reference/compound_stmts.rst:1056 +#: reference/compound_stmts.rst:1060 msgid "" "Key-value pairs are matched using the two-argument form of the mapping " "subject's ``get()`` method. Matched key-value pairs must already be present " @@ -1097,254 +1104,254 @@ msgid "" "`__getitem__`." msgstr "" -#: reference/compound_stmts.rst:1061 +#: reference/compound_stmts.rst:1065 msgid "" "In simple terms ``{KEY1: P1, KEY2: P2, ... }`` matches only if all the " "following happens:" msgstr "" -#: reference/compound_stmts.rst:1064 +#: reference/compound_stmts.rst:1068 msgid "check ```` is a mapping" msgstr "" -#: reference/compound_stmts.rst:1065 +#: reference/compound_stmts.rst:1069 msgid "``KEY1 in ``" msgstr "" -#: reference/compound_stmts.rst:1066 +#: reference/compound_stmts.rst:1070 msgid "``P1`` matches ``[KEY1]``" msgstr "" -#: reference/compound_stmts.rst:1067 +#: reference/compound_stmts.rst:1071 msgid "... and so on for the corresponding KEY/pattern pair." msgstr "" -#: reference/compound_stmts.rst:1073 +#: reference/compound_stmts.rst:1077 msgid "Class Patterns" msgstr "" -#: reference/compound_stmts.rst:1075 +#: reference/compound_stmts.rst:1079 msgid "" "A class pattern represents a class and its positional and keyword arguments " "(if any). Syntax:" msgstr "" -#: reference/compound_stmts.rst:1086 +#: reference/compound_stmts.rst:1090 msgid "The same keyword should not be repeated in class patterns." msgstr "" -#: reference/compound_stmts.rst:1088 +#: reference/compound_stmts.rst:1092 msgid "" "The following is the logical flow for matching a class pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:1091 +#: reference/compound_stmts.rst:1095 msgid "" "If ``name_or_attr`` is not an instance of the builtin :class:`type` , raise :" "exc:`TypeError`." msgstr "" -#: reference/compound_stmts.rst:1094 +#: reference/compound_stmts.rst:1098 msgid "" "If the subject value is not an instance of ``name_or_attr`` (tested via :" "func:`isinstance`), the class pattern fails." msgstr "" -#: reference/compound_stmts.rst:1097 +#: reference/compound_stmts.rst:1101 msgid "" "If no pattern arguments are present, the pattern succeeds. Otherwise, the " "subsequent steps depend on whether keyword or positional argument patterns " "are present." msgstr "" -#: reference/compound_stmts.rst:1101 +#: reference/compound_stmts.rst:1105 msgid "" "For a number of built-in types (specified below), a single positional " "subpattern is accepted which will match the entire subject; for these types " "keyword patterns also work as for other types." msgstr "" -#: reference/compound_stmts.rst:1105 +#: reference/compound_stmts.rst:1109 msgid "" "If only keyword patterns are present, they are processed as follows, one by " "one:" msgstr "" -#: reference/compound_stmts.rst:1108 +#: reference/compound_stmts.rst:1112 msgid "I. The keyword is looked up as an attribute on the subject." msgstr "" -#: reference/compound_stmts.rst:1110 +#: reference/compound_stmts.rst:1114 msgid "" "If this raises an exception other than :exc:`AttributeError`, the exception " "bubbles up." msgstr "" -#: reference/compound_stmts.rst:1113 +#: reference/compound_stmts.rst:1117 msgid "If this raises :exc:`AttributeError`, the class pattern has failed." msgstr "" -#: reference/compound_stmts.rst:1115 +#: reference/compound_stmts.rst:1119 msgid "" "Else, the subpattern associated with the keyword pattern is matched against " "the subject's attribute value. If this fails, the class pattern fails; if " "this succeeds, the match proceeds to the next keyword." msgstr "" -#: reference/compound_stmts.rst:1120 +#: reference/compound_stmts.rst:1124 msgid "II. If all keyword patterns succeed, the class pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:1122 +#: reference/compound_stmts.rst:1126 msgid "" "If any positional patterns are present, they are converted to keyword " "patterns using the :data:`~object.__match_args__` attribute on the class " "``name_or_attr`` before matching:" msgstr "" -#: reference/compound_stmts.rst:1126 +#: reference/compound_stmts.rst:1130 msgid "" "I. The equivalent of ``getattr(cls, \"__match_args__\", ())`` is called." msgstr "" -#: reference/compound_stmts.rst:1128 +#: reference/compound_stmts.rst:1132 msgid "If this raises an exception, the exception bubbles up." msgstr "" -#: reference/compound_stmts.rst:1130 +#: reference/compound_stmts.rst:1134 msgid "" "If the returned value is not a tuple, the conversion fails and :exc:" "`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1133 +#: reference/compound_stmts.rst:1137 msgid "" "If there are more positional patterns than ``len(cls.__match_args__)``, :exc:" "`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1136 +#: reference/compound_stmts.rst:1140 msgid "" "Otherwise, positional pattern ``i`` is converted to a keyword pattern using " "``__match_args__[i]`` as the keyword. ``__match_args__[i]`` must be a " "string; if not :exc:`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1140 +#: reference/compound_stmts.rst:1144 msgid "If there are duplicate keywords, :exc:`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1142 +#: reference/compound_stmts.rst:1146 msgid ":ref:`class-pattern-matching`" msgstr "" -#: reference/compound_stmts.rst:1145 +#: reference/compound_stmts.rst:1149 msgid "" "II. Once all positional patterns have been converted to keyword patterns," msgstr "" -#: reference/compound_stmts.rst:1145 +#: reference/compound_stmts.rst:1149 msgid "the match proceeds as if there were only keyword patterns." msgstr "" -#: reference/compound_stmts.rst:1147 +#: reference/compound_stmts.rst:1151 msgid "" "For the following built-in types the handling of positional subpatterns is " "different:" msgstr "" -#: reference/compound_stmts.rst:1150 +#: reference/compound_stmts.rst:1154 msgid ":class:`bool`" msgstr "" -#: reference/compound_stmts.rst:1151 +#: reference/compound_stmts.rst:1155 msgid ":class:`bytearray`" msgstr "" -#: reference/compound_stmts.rst:1152 +#: reference/compound_stmts.rst:1156 msgid ":class:`bytes`" msgstr "" -#: reference/compound_stmts.rst:1153 +#: reference/compound_stmts.rst:1157 msgid ":class:`dict`" msgstr "" -#: reference/compound_stmts.rst:1154 +#: reference/compound_stmts.rst:1158 msgid ":class:`float`" msgstr "" -#: reference/compound_stmts.rst:1155 +#: reference/compound_stmts.rst:1159 msgid ":class:`frozenset`" msgstr "" -#: reference/compound_stmts.rst:1156 +#: reference/compound_stmts.rst:1160 msgid ":class:`int`" msgstr "" -#: reference/compound_stmts.rst:1157 reference/compound_stmts.rst:1608 +#: reference/compound_stmts.rst:1161 reference/compound_stmts.rst:1612 msgid ":class:`list`" msgstr "" -#: reference/compound_stmts.rst:1158 +#: reference/compound_stmts.rst:1162 msgid ":class:`set`" msgstr "" -#: reference/compound_stmts.rst:1159 +#: reference/compound_stmts.rst:1163 msgid ":class:`str`" msgstr "" -#: reference/compound_stmts.rst:1160 reference/compound_stmts.rst:1611 +#: reference/compound_stmts.rst:1164 reference/compound_stmts.rst:1615 msgid ":class:`tuple`" msgstr "" -#: reference/compound_stmts.rst:1162 +#: reference/compound_stmts.rst:1166 msgid "" "These classes accept a single positional argument, and the pattern there is " "matched against the whole object rather than an attribute. For example " "``int(0|1)`` matches the value ``0``, but not the value ``0.0``." msgstr "" -#: reference/compound_stmts.rst:1166 +#: reference/compound_stmts.rst:1170 msgid "" "In simple terms ``CLS(P1, attr=P2)`` matches only if the following happens:" msgstr "" -#: reference/compound_stmts.rst:1168 +#: reference/compound_stmts.rst:1172 msgid "``isinstance(, CLS)``" msgstr "" -#: reference/compound_stmts.rst:1169 +#: reference/compound_stmts.rst:1173 msgid "convert ``P1`` to a keyword pattern using ``CLS.__match_args__``" msgstr "" -#: reference/compound_stmts.rst:1171 +#: reference/compound_stmts.rst:1175 msgid "For each keyword argument ``attr=P2``:" msgstr "" -#: reference/compound_stmts.rst:1171 +#: reference/compound_stmts.rst:1175 msgid "``hasattr(, \"attr\")``" msgstr "" -#: reference/compound_stmts.rst:1172 +#: reference/compound_stmts.rst:1176 msgid "``P2`` matches ``.attr``" msgstr "" -#: reference/compound_stmts.rst:1173 +#: reference/compound_stmts.rst:1177 msgid "... and so on for the corresponding keyword argument/pattern pair." msgstr "" -#: reference/compound_stmts.rst:1188 +#: reference/compound_stmts.rst:1192 msgid "Function definitions" msgstr "" -#: reference/compound_stmts.rst:1203 +#: reference/compound_stmts.rst:1207 msgid "" "A function definition defines a user-defined function object (see section :" "ref:`types`):" msgstr "" -#: reference/compound_stmts.rst:1222 +#: reference/compound_stmts.rst:1226 msgid "" "A function definition is an executable statement. Its execution binds the " "function name in the current local namespace to a function object (a wrapper " @@ -1353,13 +1360,13 @@ msgid "" "used when the function is called." msgstr "" -#: reference/compound_stmts.rst:1228 +#: reference/compound_stmts.rst:1232 msgid "" "The function definition does not execute the function body; this gets " "executed only when the function is called. [#]_" msgstr "" -#: reference/compound_stmts.rst:1234 +#: reference/compound_stmts.rst:1238 msgid "" "A function definition may be wrapped by one or more :term:`decorator` " "expressions. Decorator expressions are evaluated when the function is " @@ -1370,24 +1377,24 @@ msgid "" "example, the following code ::" msgstr "" -#: reference/compound_stmts.rst:1245 reference/compound_stmts.rst:1422 +#: reference/compound_stmts.rst:1249 reference/compound_stmts.rst:1426 msgid "is roughly equivalent to ::" msgstr "" -#: reference/compound_stmts.rst:1250 +#: reference/compound_stmts.rst:1254 msgid "" "except that the original function is not temporarily bound to the name " "``func``." msgstr "" -#: reference/compound_stmts.rst:1252 +#: reference/compound_stmts.rst:1256 msgid "" "Functions may be decorated with any valid :token:`~python-grammar:" "assignment_expression`. Previously, the grammar was much more restrictive; " "see :pep:`614` for details." msgstr "" -#: reference/compound_stmts.rst:1262 +#: reference/compound_stmts.rst:1266 msgid "" "When one or more :term:`parameters ` have the form *parameter* " "``=`` *expression*, the function is said to have \"default parameter values." @@ -1398,7 +1405,7 @@ msgid "" "syntactic restriction that is not expressed by the grammar." msgstr "" -#: reference/compound_stmts.rst:1270 +#: reference/compound_stmts.rst:1274 msgid "" "**Default parameter values are evaluated from left to right when the " "function definition is executed.** This means that the expression is " @@ -1411,7 +1418,7 @@ msgid "" "the default, and explicitly test for it in the body of the function, e.g.::" msgstr "" -#: reference/compound_stmts.rst:1291 +#: reference/compound_stmts.rst:1295 msgid "" "Function call semantics are described in more detail in section :ref:" "`calls`. A function call always assigns values to all parameters mentioned " @@ -1427,13 +1434,13 @@ msgid "" "positional arguments." msgstr "" -#: reference/compound_stmts.rst:1303 +#: reference/compound_stmts.rst:1307 msgid "" "The ``/`` function parameter syntax may be used to indicate positional-only " "parameters. See :pep:`570` for details." msgstr "" -#: reference/compound_stmts.rst:1312 +#: reference/compound_stmts.rst:1316 msgid "" "Parameters may have an :term:`annotation ` of the form " "\"``: expression``\" following the parameter name. Any parameter may have " @@ -1450,7 +1457,7 @@ msgid "" "different order than they appear in the source code." msgstr "" -#: reference/compound_stmts.rst:1327 +#: reference/compound_stmts.rst:1331 msgid "" "It is also possible to create anonymous functions (functions not bound to a " "name), for immediate use in expressions. This uses lambda expressions, " @@ -1462,7 +1469,7 @@ msgid "" "execution of multiple statements and annotations." msgstr "" -#: reference/compound_stmts.rst:1335 +#: reference/compound_stmts.rst:1339 msgid "" "**Programmer's note:** Functions are first-class objects. A \"``def``\" " "statement executed inside a function definition defines a local function " @@ -1471,51 +1478,51 @@ msgid "" "See section :ref:`naming` for details." msgstr "" -#: reference/compound_stmts.rst:1344 +#: reference/compound_stmts.rst:1348 msgid ":pep:`3107` - Function Annotations" msgstr "" -#: reference/compound_stmts.rst:1344 +#: reference/compound_stmts.rst:1348 msgid "The original specification for function annotations." msgstr "" -#: reference/compound_stmts.rst:1347 +#: reference/compound_stmts.rst:1351 msgid ":pep:`484` - Type Hints" msgstr "" -#: reference/compound_stmts.rst:1347 +#: reference/compound_stmts.rst:1351 msgid "Definition of a standard meaning for annotations: type hints." msgstr "" -#: reference/compound_stmts.rst:1351 +#: reference/compound_stmts.rst:1355 msgid ":pep:`526` - Syntax for Variable Annotations" msgstr "" -#: reference/compound_stmts.rst:1350 +#: reference/compound_stmts.rst:1354 msgid "" "Ability to type hint variable declarations, including class variables and " "instance variables" msgstr "" -#: reference/compound_stmts.rst:1354 +#: reference/compound_stmts.rst:1358 msgid ":pep:`563` - Postponed Evaluation of Annotations" msgstr "" -#: reference/compound_stmts.rst:1354 +#: reference/compound_stmts.rst:1358 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:1361 +#: reference/compound_stmts.rst:1365 msgid "Class definitions" msgstr "" -#: reference/compound_stmts.rst:1376 +#: reference/compound_stmts.rst:1380 msgid "A class definition defines a class object (see section :ref:`types`):" msgstr "" -#: reference/compound_stmts.rst:1383 +#: reference/compound_stmts.rst:1387 msgid "" "A class definition is an executable statement. The inheritance list usually " "gives a list of base classes (see :ref:`metaclasses` for more advanced " @@ -1524,11 +1531,11 @@ msgid "" "default, from the base class :class:`object`; hence, ::" msgstr "" -#: reference/compound_stmts.rst:1392 +#: reference/compound_stmts.rst:1396 msgid "is equivalent to ::" msgstr "" -#: reference/compound_stmts.rst:1397 +#: reference/compound_stmts.rst:1401 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 " @@ -1540,7 +1547,7 @@ msgid "" "original local namespace." msgstr "" -#: reference/compound_stmts.rst:1406 +#: reference/compound_stmts.rst:1410 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 " @@ -1548,30 +1555,30 @@ msgid "" "definition syntax." msgstr "" -#: reference/compound_stmts.rst:1411 +#: reference/compound_stmts.rst:1415 msgid "" "Class creation can be customized heavily using :ref:`metaclasses " "`." msgstr "" -#: reference/compound_stmts.rst:1416 +#: reference/compound_stmts.rst:1420 msgid "Classes can also be decorated: just like when decorating functions, ::" msgstr "" -#: reference/compound_stmts.rst:1427 +#: reference/compound_stmts.rst:1431 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:1430 +#: reference/compound_stmts.rst:1434 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:1435 +#: reference/compound_stmts.rst:1439 msgid "" "**Programmer's note:** Variables defined in the class definition are class " "attributes; they are shared by instances. Instance attributes can be set in " @@ -1584,35 +1591,35 @@ msgid "" "implementation details." msgstr "" -#: reference/compound_stmts.rst:1450 +#: reference/compound_stmts.rst:1454 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/compound_stmts.rst:1448 +#: reference/compound_stmts.rst:1452 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:1453 +#: reference/compound_stmts.rst:1457 msgid ":pep:`3129` - Class Decorators" msgstr "" -#: reference/compound_stmts.rst:1453 +#: reference/compound_stmts.rst:1457 msgid "" "The proposal that added class decorators. Function and method decorators " "were introduced in :pep:`318`." msgstr "" -#: reference/compound_stmts.rst:1460 +#: reference/compound_stmts.rst:1464 msgid "Coroutines" msgstr "" -#: reference/compound_stmts.rst:1468 +#: reference/compound_stmts.rst:1472 msgid "Coroutine function definition" msgstr "" -#: reference/compound_stmts.rst:1478 +#: reference/compound_stmts.rst:1482 msgid "" "Execution of Python coroutines can be suspended and resumed at many points " "(see :term:`coroutine`). :keyword:`await` expressions, :keyword:`async for` " @@ -1620,185 +1627,544 @@ msgid "" "function." msgstr "" -#: reference/compound_stmts.rst:1482 +#: reference/compound_stmts.rst:1486 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:1485 +#: reference/compound_stmts.rst:1489 msgid "" "It is a :exc:`SyntaxError` to use a ``yield from`` expression inside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1488 +#: reference/compound_stmts.rst:1492 msgid "An example of a coroutine function::" msgstr "" -#: reference/compound_stmts.rst:1494 +#: reference/compound_stmts.rst:1498 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:1502 +#: reference/compound_stmts.rst:1506 msgid "The :keyword:`!async for` statement" msgstr "" -#: reference/compound_stmts.rst:1507 +#: reference/compound_stmts.rst:1511 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:1511 +#: reference/compound_stmts.rst:1515 msgid "" "The ``async for`` statement allows convenient iteration over asynchronous " "iterables." msgstr "" -#: reference/compound_stmts.rst:1521 +#: reference/compound_stmts.rst:1525 msgid "Is semantically equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1537 +#: reference/compound_stmts.rst:1541 msgid "" "See also :meth:`~object.__aiter__` and :meth:`~object.__anext__` for details." msgstr "" -#: reference/compound_stmts.rst:1539 +#: reference/compound_stmts.rst:1543 msgid "" "It is a :exc:`SyntaxError` to use an ``async for`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1547 +#: reference/compound_stmts.rst:1551 msgid "The :keyword:`!async with` statement" msgstr "" -#: reference/compound_stmts.rst:1552 +#: reference/compound_stmts.rst:1556 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:1579 +#: reference/compound_stmts.rst:1583 msgid "" "See also :meth:`~object.__aenter__` and :meth:`~object.__aexit__` for " "details." msgstr "" -#: reference/compound_stmts.rst:1581 +#: reference/compound_stmts.rst:1585 msgid "" "It is a :exc:`SyntaxError` to use an ``async with`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1587 +#: reference/compound_stmts.rst:1591 msgid ":pep:`492` - Coroutines with async and await syntax" msgstr "" -#: reference/compound_stmts.rst:1587 +#: reference/compound_stmts.rst:1591 msgid "" "The proposal that made coroutines a proper standalone concept in Python, and " "added supporting syntax." msgstr "" -#: reference/compound_stmts.rst:1592 +#: reference/compound_stmts.rst:1596 msgid "Footnotes" msgstr "" -#: reference/compound_stmts.rst:1593 +#: reference/compound_stmts.rst:1597 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:1597 +#: reference/compound_stmts.rst:1601 msgid "In pattern matching, a sequence is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1599 +#: reference/compound_stmts.rst:1603 msgid "a class that inherits from :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1600 +#: reference/compound_stmts.rst:1604 msgid "" "a Python class that has been registered as :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1601 +#: reference/compound_stmts.rst:1605 msgid "" "a builtin class that has its (CPython) :data:`Py_TPFLAGS_SEQUENCE` bit set" msgstr "" -#: reference/compound_stmts.rst:1602 reference/compound_stmts.rst:1621 +#: reference/compound_stmts.rst:1606 reference/compound_stmts.rst:1625 msgid "a class that inherits from any of the above" msgstr "" -#: reference/compound_stmts.rst:1604 +#: reference/compound_stmts.rst:1608 msgid "The following standard library classes are sequences:" msgstr "" -#: reference/compound_stmts.rst:1606 +#: reference/compound_stmts.rst:1610 msgid ":class:`array.array`" msgstr "" -#: reference/compound_stmts.rst:1607 +#: reference/compound_stmts.rst:1611 msgid ":class:`collections.deque`" msgstr "" -#: reference/compound_stmts.rst:1609 +#: reference/compound_stmts.rst:1613 msgid ":class:`memoryview`" msgstr "" -#: reference/compound_stmts.rst:1610 +#: reference/compound_stmts.rst:1614 msgid ":class:`range`" msgstr "" -#: reference/compound_stmts.rst:1613 +#: reference/compound_stmts.rst:1617 msgid "" "Subject values of type ``str``, ``bytes``, and ``bytearray`` do not match " "sequence patterns." msgstr "" -#: reference/compound_stmts.rst:1616 +#: reference/compound_stmts.rst:1620 msgid "In pattern matching, a mapping is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1618 +#: reference/compound_stmts.rst:1622 msgid "a class that inherits from :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1619 +#: reference/compound_stmts.rst:1623 msgid "" "a Python class that has been registered as :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1620 +#: reference/compound_stmts.rst:1624 msgid "" "a builtin class that has its (CPython) :data:`Py_TPFLAGS_MAPPING` bit set" msgstr "" -#: reference/compound_stmts.rst:1623 +#: reference/compound_stmts.rst:1627 msgid "" "The standard library classes :class:`dict` and :class:`types." "MappingProxyType` are mappings." msgstr "" -#: reference/compound_stmts.rst:1626 +#: reference/compound_stmts.rst:1630 msgid "" "A string literal appearing as the first statement in the function body is " "transformed into the function's ``__doc__`` attribute and therefore the " "function's :term:`docstring`." msgstr "" -#: reference/compound_stmts.rst:1630 +#: reference/compound_stmts.rst:1634 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 :" "term:`docstring`." msgstr "" + +#: reference/compound_stmts.rst:7 +msgid "compound" +msgstr "" + +#: reference/compound_stmts.rst:86 reference/compound_stmts.rst:111 +#: reference/compound_stmts.rst:129 reference/compound_stmts.rst:144 +#: reference/compound_stmts.rst:169 reference/compound_stmts.rst:207 +#: reference/compound_stmts.rst:391 reference/compound_stmts.rst:438 +#: reference/compound_stmts.rst:472 reference/compound_stmts.rst:589 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1367 +#: reference/compound_stmts.rst:1468 reference/compound_stmts.rst:1502 +#: reference/compound_stmts.rst:1547 +msgid "statement" +msgstr "" + +#: reference/compound_stmts.rst:21 +msgid "clause" +msgstr "" + +#: reference/compound_stmts.rst:21 +msgid "suite" +msgstr "" + +#: reference/compound_stmts.rst:21 +msgid "; (semicolon)" +msgstr "" + +#: reference/compound_stmts.rst:64 +msgid "NEWLINE token" +msgstr "" + +#: reference/compound_stmts.rst:64 +msgid "DEDENT token" +msgstr "" + +#: reference/compound_stmts.rst:64 +msgid "dangling" +msgstr "" + +#: reference/compound_stmts.rst:64 reference/compound_stmts.rst:86 +#: reference/compound_stmts.rst:111 reference/compound_stmts.rst:144 +#: reference/compound_stmts.rst:207 reference/compound_stmts.rst:391 +msgid "else" +msgstr "" + +#: reference/compound_stmts.rst:86 reference/compound_stmts.rst:589 +msgid "if" +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:328 reference/compound_stmts.rst:391 +#: reference/compound_stmts.rst:409 reference/compound_stmts.rst:472 +#: reference/compound_stmts.rst:589 reference/compound_stmts.rst:1478 +msgid "keyword" +msgstr "" + +#: reference/compound_stmts.rst:86 +msgid "elif" +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:472 reference/compound_stmts.rst:589 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1311 +#: reference/compound_stmts.rst:1367 +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:472 reference/compound_stmts.rst:589 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1367 +msgid "compound statement" +msgstr "" + +#: reference/compound_stmts.rst:111 +msgid "while" +msgstr "" + +#: reference/compound_stmts.rst:111 reference/compound_stmts.rst:144 +msgid "loop" +msgstr "" + +#: reference/compound_stmts.rst:129 reference/compound_stmts.rst:169 +#: reference/compound_stmts.rst:391 reference/compound_stmts.rst:438 +msgid "break" +msgstr "" + +#: reference/compound_stmts.rst:129 reference/compound_stmts.rst:169 +#: reference/compound_stmts.rst:391 reference/compound_stmts.rst:438 +msgid "continue" +msgstr "" + +#: reference/compound_stmts.rst:144 +msgid "for" +msgstr "" + +#: reference/compound_stmts.rst:144 +msgid "in" +msgstr "" + +#: reference/compound_stmts.rst:144 +msgid "target" +msgstr "" + +#: reference/compound_stmts.rst:144 +msgid "list" +msgstr "" + +#: reference/compound_stmts.rst:144 reference/compound_stmts.rst:299 +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1367 +msgid "object" +msgstr "" + +#: reference/compound_stmts.rst:144 +msgid "sequence" +msgstr "" + +#: reference/compound_stmts.rst:190 +msgid "built-in function" +msgstr "" + +#: reference/compound_stmts.rst:190 +msgid "range" +msgstr "" + +#: reference/compound_stmts.rst:207 +msgid "try" +msgstr "" + +#: reference/compound_stmts.rst:207 +msgid "except" +msgstr "" + +#: reference/compound_stmts.rst:207 reference/compound_stmts.rst:409 +msgid "finally" +msgstr "" + +#: reference/compound_stmts.rst:207 reference/compound_stmts.rst:266 +#: reference/compound_stmts.rst:472 reference/compound_stmts.rst:589 +msgid "as" +msgstr "" + +#: reference/compound_stmts.rst:266 +msgid "except clause" +msgstr "" + +#: reference/compound_stmts.rst:299 +msgid "module" +msgstr "" + +#: reference/compound_stmts.rst:299 +msgid "sys" +msgstr "" + +#: reference/compound_stmts.rst:299 +msgid "traceback" +msgstr "" + +#: reference/compound_stmts.rst:328 +msgid "except_star" +msgstr "" + +#: reference/compound_stmts.rst:391 reference/compound_stmts.rst:438 +msgid "return" +msgstr "" + +#: reference/compound_stmts.rst:472 +msgid "with" +msgstr "" + +#: reference/compound_stmts.rst:472 +msgid "with statement" +msgstr "" + +#: reference/compound_stmts.rst:472 reference/compound_stmts.rst:1194 +#: reference/compound_stmts.rst:1367 +msgid ", (comma)" +msgstr "" + +#: reference/compound_stmts.rst:589 +msgid "match" +msgstr "" + +#: reference/compound_stmts.rst:589 +msgid "case" +msgstr "" + +#: reference/compound_stmts.rst:589 +msgid "pattern matching" +msgstr "" + +#: reference/compound_stmts.rst:589 +msgid "match statement" +msgstr "" + +#: reference/compound_stmts.rst:693 +msgid "guard" +msgstr "" + +#: reference/compound_stmts.rst:732 +msgid "irrefutable case block" +msgstr "" + +#: reference/compound_stmts.rst:732 +msgid "case block" +msgstr "" + +#: reference/compound_stmts.rst:756 +msgid "! patterns" +msgstr "" + +#: reference/compound_stmts.rst:756 +msgid "AS pattern, OR pattern, capture pattern, wildcard pattern" +msgstr "" + +#: reference/compound_stmts.rst:1185 reference/compound_stmts.rst:1261 +msgid "parameter" +msgstr "" + +#: reference/compound_stmts.rst:1185 reference/compound_stmts.rst:1194 +#: reference/compound_stmts.rst:1235 reference/compound_stmts.rst:1261 +#: reference/compound_stmts.rst:1290 +msgid "function definition" +msgstr "" + +#: reference/compound_stmts.rst:1194 +msgid "def" +msgstr "" + +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1311 +msgid "function" +msgstr "" + +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1367 +msgid "definition" +msgstr "" + +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1367 +msgid "name" +msgstr "" + +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1367 +msgid "binding" +msgstr "" + +#: reference/compound_stmts.rst:1194 +msgid "user-defined function" +msgstr "" + +#: reference/compound_stmts.rst:1194 reference/compound_stmts.rst:1367 +msgid "() (parentheses)" +msgstr "" + +#: reference/compound_stmts.rst:1194 +msgid "parameter list" +msgstr "" + +#: reference/compound_stmts.rst:1235 reference/compound_stmts.rst:1417 +msgid "@ (at)" +msgstr "" + +#: reference/compound_stmts.rst:1261 +msgid "default" +msgstr "" + +#: reference/compound_stmts.rst:1261 +msgid "value" +msgstr "" + +#: reference/compound_stmts.rst:1261 +msgid "argument" +msgstr "" + +#: reference/compound_stmts.rst:1261 +msgid "= (equals)" +msgstr "" + +#: reference/compound_stmts.rst:1290 +msgid "/ (slash)" +msgstr "" + +#: reference/compound_stmts.rst:1290 +msgid "* (asterisk)" +msgstr "" + +#: reference/compound_stmts.rst:1290 +msgid "**" +msgstr "" + +#: reference/compound_stmts.rst:1311 +msgid "annotations" +msgstr "" + +#: reference/compound_stmts.rst:1311 +msgid "->" +msgstr "" + +#: reference/compound_stmts.rst:1311 +msgid "function annotations" +msgstr "" + +#: reference/compound_stmts.rst:1329 +msgid "lambda" +msgstr "" + +#: reference/compound_stmts.rst:1329 +msgid "expression" +msgstr "" + +#: reference/compound_stmts.rst:1367 +msgid "class" +msgstr "" + +#: reference/compound_stmts.rst:1367 +msgid "execution" +msgstr "" + +#: reference/compound_stmts.rst:1367 +msgid "frame" +msgstr "" + +#: reference/compound_stmts.rst:1367 +msgid "inheritance" +msgstr "" + +#: reference/compound_stmts.rst:1367 +msgid "docstring" +msgstr "" + +#: reference/compound_stmts.rst:1367 reference/compound_stmts.rst:1417 +msgid "class definition" +msgstr "" + +#: reference/compound_stmts.rst:1367 +msgid "expression list" +msgstr "" + +#: reference/compound_stmts.rst:1468 +msgid "async def" +msgstr "" + +#: reference/compound_stmts.rst:1478 +msgid "async" +msgstr "" + +#: reference/compound_stmts.rst:1478 +msgid "await" +msgstr "" + +#: reference/compound_stmts.rst:1502 +msgid "async for" +msgstr "" + +#: reference/compound_stmts.rst:1547 +msgid "async with" +msgstr "" diff --git a/reference/datamodel.po b/reference/datamodel.po index db2553957..099988ab5 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1857,7 +1857,7 @@ msgstr "" 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 " -"insertion, O(n\\ :sup:`2`) complexity. See http://www.ocert.org/advisories/" +"insertion, O(n\\ :sup:`2`) complexity. See http://ocert.org/advisories/" "ocert-2011-003.html for details." msgstr "" @@ -2313,16 +2313,17 @@ msgstr "" #: reference/datamodel.rst:1947 msgid "" -"Nonempty *__slots__* does not work for classes derived from \"variable-" -"length\" built-in types such as :class:`int`, :class:`bytes` and :class:" +":exc:`TypeError` will be raised if nonempty *__slots__* are defined for a " +"class derived from a :c:member:`\"variable-length\" built-in type " +"` such as :class:`int`, :class:`bytes`, and :class:" "`tuple`." msgstr "" -#: reference/datamodel.rst:1950 +#: reference/datamodel.rst:1952 msgid "Any non-string :term:`iterable` may be assigned to *__slots__*." msgstr "" -#: reference/datamodel.rst:1952 +#: reference/datamodel.rst:1954 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 " @@ -2330,13 +2331,13 @@ msgid "" "func:`inspect.getdoc` and displayed in the output of :func:`help`." msgstr "" -#: reference/datamodel.rst:1957 +#: reference/datamodel.rst:1959 msgid "" ":attr:`~instance.__class__` assignment works only if both classes have the " "same *__slots__*." msgstr "" -#: reference/datamodel.rst:1960 +#: reference/datamodel.rst:1962 msgid "" ":ref:`Multiple inheritance ` with multiple slotted parent " "classes can be used, but only one parent is allowed to have attributes " @@ -2344,18 +2345,18 @@ msgid "" "raise :exc:`TypeError`." msgstr "" -#: reference/datamodel.rst:1966 +#: reference/datamodel.rst:1968 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:1974 +#: reference/datamodel.rst:1976 msgid "Customizing class creation" msgstr "" -#: reference/datamodel.rst:1976 +#: reference/datamodel.rst:1978 msgid "" "Whenever a class inherits from another class, :meth:`~object." "__init_subclass__` is called on the parent class. This way, it is possible " @@ -2365,14 +2366,14 @@ msgid "" "future subclasses of the class defining the method." msgstr "" -#: reference/datamodel.rst:1985 +#: reference/datamodel.rst:1987 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:1989 +#: reference/datamodel.rst:1991 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 " @@ -2380,13 +2381,13 @@ msgid "" "pass the others over to the base class, as in::" msgstr "" -#: reference/datamodel.rst:2003 +#: reference/datamodel.rst:2005 msgid "" "The default implementation ``object.__init_subclass__`` does nothing, but " "raises an error if it is called with any arguments." msgstr "" -#: reference/datamodel.rst:2008 +#: reference/datamodel.rst:2010 msgid "" "The metaclass hint ``metaclass`` is consumed by the rest of the type " "machinery, and is never passed to ``__init_subclass__`` implementations. The " @@ -2394,41 +2395,41 @@ msgid "" "``type(cls)``." msgstr "" -#: reference/datamodel.rst:2016 +#: reference/datamodel.rst:2018 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:2021 +#: reference/datamodel.rst:2023 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:2027 +#: reference/datamodel.rst:2029 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:2038 +#: reference/datamodel.rst:2040 msgid "See :ref:`class-object-creation` for more details." msgstr "" -#: reference/datamodel.rst:2046 +#: reference/datamodel.rst:2048 msgid "Metaclasses" msgstr "" -#: reference/datamodel.rst:2053 +#: reference/datamodel.rst:2055 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:2057 +#: reference/datamodel.rst:2059 msgid "" "The class creation process can be customized by passing the ``metaclass`` " "keyword argument in the class definition line, or by inheriting from an " @@ -2436,80 +2437,95 @@ msgid "" "both ``MyClass`` and ``MySubclass`` are instances of ``Meta``::" msgstr "" -#: reference/datamodel.rst:2071 +#: reference/datamodel.rst:2073 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:2074 +#: reference/datamodel.rst:2076 msgid "When a class definition is executed, the following steps occur:" msgstr "" -#: reference/datamodel.rst:2076 +#: reference/datamodel.rst:2078 msgid "MRO entries are resolved;" msgstr "" -#: reference/datamodel.rst:2077 +#: reference/datamodel.rst:2079 msgid "the appropriate metaclass is determined;" msgstr "" -#: reference/datamodel.rst:2078 +#: reference/datamodel.rst:2080 msgid "the class namespace is prepared;" msgstr "" -#: reference/datamodel.rst:2079 +#: reference/datamodel.rst:2081 msgid "the class body is executed;" msgstr "" -#: reference/datamodel.rst:2080 +#: reference/datamodel.rst:2082 msgid "the class object is created." msgstr "" -#: reference/datamodel.rst:2084 +#: reference/datamodel.rst:2086 msgid "Resolving MRO entries" msgstr "" -#: reference/datamodel.rst:2086 +#: reference/datamodel.rst:2090 msgid "" -"If a base that appears in class definition is not an instance of :class:" -"`type`, then an ``__mro_entries__`` method is searched on it. If found, it " -"is called with the original bases tuple. This method must return a tuple of " -"classes that will be used instead of this base. The tuple may be empty, in " -"such case the original base is ignored." +"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 " +"an :meth:`!__mro_entries__` method is found, the base is substituted with " +"the result of a call to :meth:`!__mro_entries__` when creating the class. " +"The method is called with the original bases tuple passed to the *bases* " +"parameter, and must return a tuple of classes that will be used instead of " +"the base. The returned tuple may be empty: in these cases, the original base " +"is ignored." +msgstr "" + +#: reference/datamodel.rst:2102 +msgid ":func:`types.resolve_bases`" +msgstr "" + +#: reference/datamodel.rst:2102 +msgid "Dynamically resolve bases that are not instances of :class:`type`." msgstr "" -#: reference/datamodel.rst:2094 -msgid ":pep:`560` - Core support for typing module and generic types" +#: reference/datamodel.rst:2104 +msgid ":pep:`560`" +msgstr "" + +#: reference/datamodel.rst:2105 +msgid "Core support for typing module and generic types." msgstr "" -#: reference/datamodel.rst:2098 +#: reference/datamodel.rst:2109 msgid "Determining the appropriate metaclass" msgstr "" -#: reference/datamodel.rst:2102 +#: reference/datamodel.rst:2113 msgid "" "The appropriate metaclass for a class definition is determined as follows:" msgstr "" -#: reference/datamodel.rst:2104 +#: reference/datamodel.rst:2115 msgid "" "if no bases and no explicit metaclass are given, then :func:`type` is used;" msgstr "" -#: reference/datamodel.rst:2105 +#: reference/datamodel.rst:2116 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:2107 +#: reference/datamodel.rst:2118 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:2110 +#: reference/datamodel.rst:2121 msgid "" "The most derived metaclass is selected from the explicitly specified " "metaclass (if any) and the metaclasses (i.e. ``type(cls)``) of all specified " @@ -2518,11 +2534,11 @@ msgid "" "that criterion, then the class definition will fail with ``TypeError``." msgstr "" -#: reference/datamodel.rst:2120 +#: reference/datamodel.rst:2131 msgid "Preparing the class namespace" msgstr "" -#: reference/datamodel.rst:2125 +#: reference/datamodel.rst:2136 msgid "" "Once the appropriate metaclass has been identified, then the class namespace " "is prepared. If the metaclass has a ``__prepare__`` attribute, it is called " @@ -2534,25 +2550,25 @@ msgid "" "copied into a new ``dict``." msgstr "" -#: reference/datamodel.rst:2134 +#: reference/datamodel.rst:2145 msgid "" "If the metaclass has no ``__prepare__`` attribute, then the class namespace " "is initialised as an empty ordered mapping." msgstr "" -#: reference/datamodel.rst:2139 +#: reference/datamodel.rst:2150 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/datamodel.rst:2140 +#: reference/datamodel.rst:2151 msgid "Introduced the ``__prepare__`` namespace hook" msgstr "" -#: reference/datamodel.rst:2144 +#: reference/datamodel.rst:2155 msgid "Executing the class body" msgstr "" -#: reference/datamodel.rst:2149 +#: reference/datamodel.rst:2160 msgid "" "The class body is executed (approximately) as ``exec(body, globals(), " "namespace)``. The key difference from a normal call to :func:`exec` is that " @@ -2561,7 +2577,7 @@ msgid "" "inside a function." msgstr "" -#: reference/datamodel.rst:2155 +#: reference/datamodel.rst:2166 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. " @@ -2570,11 +2586,11 @@ msgid "" "reference described in the next section." msgstr "" -#: reference/datamodel.rst:2164 +#: reference/datamodel.rst:2175 msgid "Creating the class object" msgstr "" -#: reference/datamodel.rst:2171 +#: reference/datamodel.rst:2182 msgid "" "Once the class namespace has been populated by executing the class body, the " "class object is created by calling ``metaclass(name, bases, namespace, " @@ -2582,7 +2598,7 @@ msgid "" "to ``__prepare__``)." msgstr "" -#: reference/datamodel.rst:2176 +#: reference/datamodel.rst:2187 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 " @@ -2593,7 +2609,7 @@ msgid "" "is identified based on the first argument passed to the method." msgstr "" -#: reference/datamodel.rst:2186 +#: reference/datamodel.rst:2197 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 " @@ -2602,39 +2618,39 @@ msgid "" "in Python 3.8." msgstr "" -#: reference/datamodel.rst:2192 +#: reference/datamodel.rst:2203 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:2196 +#: reference/datamodel.rst:2207 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:2198 +#: reference/datamodel.rst:2209 msgid "" "Those ``__set_name__`` methods are called with the class being defined and " "the assigned name of that particular attribute;" msgstr "" -#: reference/datamodel.rst:2200 +#: reference/datamodel.rst:2211 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:2203 +#: reference/datamodel.rst:2214 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:2207 +#: reference/datamodel.rst:2218 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 " @@ -2642,19 +2658,19 @@ msgid "" "becomes the :attr:`~object.__dict__` attribute of the class object." msgstr "" -#: reference/datamodel.rst:2214 +#: reference/datamodel.rst:2225 msgid ":pep:`3135` - New super" msgstr "" -#: reference/datamodel.rst:2215 +#: reference/datamodel.rst:2226 msgid "Describes the implicit ``__class__`` closure reference" msgstr "" -#: reference/datamodel.rst:2219 +#: reference/datamodel.rst:2230 msgid "Uses for metaclasses" msgstr "" -#: reference/datamodel.rst:2221 +#: reference/datamodel.rst:2232 msgid "" "The potential uses for metaclasses are boundless. Some ideas that have been " "explored include enum, logging, interface checking, automatic delegation, " @@ -2662,17 +2678,17 @@ msgid "" "locking/synchronization." msgstr "" -#: reference/datamodel.rst:2228 +#: reference/datamodel.rst:2239 msgid "Customizing instance and subclass checks" msgstr "" -#: reference/datamodel.rst:2230 +#: reference/datamodel.rst:2241 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:2233 +#: reference/datamodel.rst:2244 msgid "" "In particular, the metaclass :class:`abc.ABCMeta` implements these methods " "in order to allow the addition of Abstract Base Classes (ABCs) as \"virtual " @@ -2680,21 +2696,21 @@ msgid "" "other ABCs." msgstr "" -#: reference/datamodel.rst:2240 +#: reference/datamodel.rst:2251 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:2247 +#: reference/datamodel.rst:2258 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:2252 +#: reference/datamodel.rst:2263 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 " @@ -2702,11 +2718,11 @@ msgid "" "only in this case the instance is itself a class." msgstr "" -#: reference/datamodel.rst:2263 +#: reference/datamodel.rst:2274 msgid ":pep:`3119` - Introducing Abstract Base Classes" msgstr "" -#: reference/datamodel.rst:2260 +#: reference/datamodel.rst:2271 msgid "" "Includes the specification for customizing :func:`isinstance` and :func:" "`issubclass` behavior through :meth:`~class.__instancecheck__` and :meth:" @@ -2715,11 +2731,11 @@ msgid "" "language." msgstr "" -#: reference/datamodel.rst:2268 +#: reference/datamodel.rst:2279 msgid "Emulating generic types" msgstr "" -#: reference/datamodel.rst:2270 +#: reference/datamodel.rst:2281 msgid "" "When using :term:`type annotations`, it is often useful to " "*parameterize* a :term:`generic type` using Python's square-brackets " @@ -2727,65 +2743,65 @@ msgid "" "a :class:`list` in which all the elements are of type :class:`int`." msgstr "" -#: reference/datamodel.rst:2278 +#: reference/datamodel.rst:2289 msgid ":pep:`484` - Type Hints" msgstr "" -#: reference/datamodel.rst:2278 +#: reference/datamodel.rst:2289 msgid "Introducing Python's framework for type annotations" msgstr "" -#: reference/datamodel.rst:2281 +#: reference/datamodel.rst:2292 msgid ":ref:`Generic Alias Types`" msgstr "" -#: reference/datamodel.rst:2281 +#: reference/datamodel.rst:2292 msgid "Documentation for objects representing parameterized generic classes" msgstr "" -#: reference/datamodel.rst:2284 +#: reference/datamodel.rst:2295 msgid "" ":ref:`Generics`, :ref:`user-defined generics` and :" "class:`typing.Generic`" msgstr "" -#: reference/datamodel.rst:2284 +#: reference/datamodel.rst:2295 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." msgstr "" -#: reference/datamodel.rst:2287 +#: reference/datamodel.rst:2298 msgid "" "A class can *generally* only be parameterized if it defines the special " "class method ``__class_getitem__()``." msgstr "" -#: reference/datamodel.rst:2292 +#: reference/datamodel.rst:2303 msgid "" "Return an object representing the specialization of a generic class by type " "arguments found in *key*." msgstr "" -#: reference/datamodel.rst:2295 +#: reference/datamodel.rst:2306 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:2301 +#: reference/datamodel.rst:2312 msgid "The purpose of *__class_getitem__*" msgstr "" -#: reference/datamodel.rst:2303 +#: reference/datamodel.rst:2314 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:2307 +#: reference/datamodel.rst:2318 msgid "" "To implement custom generic classes that can be parameterized at runtime and " "understood by static type-checkers, users should either inherit from a " @@ -2794,7 +2810,7 @@ msgid "" "own implementation of ``__class_getitem__()``." msgstr "" -#: reference/datamodel.rst:2313 +#: reference/datamodel.rst:2324 msgid "" "Custom implementations of :meth:`~object.__class_getitem__` on classes " "defined outside of the standard library may not be understood by third-party " @@ -2802,11 +2818,11 @@ msgid "" "purposes other than type hinting is discouraged." msgstr "" -#: reference/datamodel.rst:2323 +#: reference/datamodel.rst:2334 msgid "*__class_getitem__* versus *__getitem__*" msgstr "" -#: reference/datamodel.rst:2325 +#: reference/datamodel.rst:2336 msgid "" "Usually, the :ref:`subscription` of an object using square " "brackets will call the :meth:`~object.__getitem__` instance method defined " @@ -2816,14 +2832,14 @@ msgid "" "genericalias>` object if it is properly defined." msgstr "" -#: reference/datamodel.rst:2332 +#: reference/datamodel.rst:2343 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:2360 +#: reference/datamodel.rst:2371 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 " @@ -2833,40 +2849,40 @@ msgid "" "__class_getitem__` being called::" msgstr "" -#: reference/datamodel.rst:2379 +#: reference/datamodel.rst:2390 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:2404 +#: reference/datamodel.rst:2415 msgid ":pep:`560` - Core Support for typing module and generic types" msgstr "" -#: reference/datamodel.rst:2403 +#: reference/datamodel.rst:2414 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:2411 +#: reference/datamodel.rst:2422 msgid "Emulating callable objects" msgstr "" -#: reference/datamodel.rst:2418 +#: reference/datamodel.rst:2429 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:2425 +#: reference/datamodel.rst:2436 msgid "Emulating container types" msgstr "" -#: reference/datamodel.rst:2427 +#: reference/datamodel.rst:2438 msgid "" "The following methods can be defined to implement container objects. " "Containers usually are :term:`sequences ` (such as :class:`lists " @@ -2902,7 +2918,7 @@ msgid "" "the values." msgstr "" -#: reference/datamodel.rst:2467 +#: reference/datamodel.rst:2478 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 " @@ -2910,7 +2926,7 @@ msgid "" "zero is considered to be false in a Boolean context." msgstr "" -#: reference/datamodel.rst:2474 +#: reference/datamodel.rst:2485 msgid "" "In CPython, the length is required to be at most :attr:`sys.maxsize`. If the " "length is larger than :attr:`!sys.maxsize` some features (such as :func:" @@ -2919,7 +2935,7 @@ msgid "" "`__bool__` method." msgstr "" -#: reference/datamodel.rst:2483 +#: reference/datamodel.rst:2494 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). " @@ -2929,20 +2945,20 @@ msgid "" "never required for correctness." msgstr "" -#: reference/datamodel.rst:2497 +#: reference/datamodel.rst:2508 msgid "" "Slicing is done exclusively with the following three methods. A call like ::" msgstr "" -#: reference/datamodel.rst:2501 +#: reference/datamodel.rst:2512 msgid "is translated to ::" msgstr "" -#: reference/datamodel.rst:2505 +#: reference/datamodel.rst:2516 msgid "and so forth. Missing slice items are always filled in with ``None``." msgstr "" -#: reference/datamodel.rst:2510 +#: reference/datamodel.rst:2521 msgid "" "Called to implement evaluation of ``self[key]``. For :term:`sequence` types, " "the accepted keys should be integers and slice objects. Note that the " @@ -2955,20 +2971,20 @@ msgid "" "`KeyError` should be raised." msgstr "" -#: reference/datamodel.rst:2522 +#: reference/datamodel.rst:2533 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:2527 +#: reference/datamodel.rst:2538 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:2535 +#: reference/datamodel.rst:2546 msgid "" "Called to implement assignment to ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -2977,7 +2993,7 @@ msgid "" "for improper *key* values as for the :meth:`__getitem__` method." msgstr "" -#: reference/datamodel.rst:2544 +#: reference/datamodel.rst:2555 msgid "" "Called to implement deletion of ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -2986,13 +3002,13 @@ msgid "" "values as for the :meth:`__getitem__` method." msgstr "" -#: reference/datamodel.rst:2553 +#: reference/datamodel.rst:2564 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:2559 +#: reference/datamodel.rst:2570 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 " @@ -3000,14 +3016,14 @@ msgid "" "of the container." msgstr "" -#: reference/datamodel.rst:2567 +#: reference/datamodel.rst:2578 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:2571 +#: reference/datamodel.rst:2582 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 :" @@ -3016,7 +3032,7 @@ msgid "" "more efficient than the one provided by :func:`reversed`." msgstr "" -#: reference/datamodel.rst:2578 +#: reference/datamodel.rst:2589 msgid "" "The membership test operators (:keyword:`in` and :keyword:`not in`) are " "normally implemented as an iteration through a container. However, container " @@ -3024,14 +3040,14 @@ msgid "" "implementation, which also does not require the object be iterable." msgstr "" -#: reference/datamodel.rst:2585 +#: reference/datamodel.rst:2596 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:2589 +#: reference/datamodel.rst:2600 msgid "" "For objects that don't define :meth:`__contains__`, the membership test " "first tries iteration via :meth:`__iter__`, then the old sequence iteration " @@ -3039,11 +3055,11 @@ msgid "" "reference `." msgstr "" -#: reference/datamodel.rst:2598 +#: reference/datamodel.rst:2609 msgid "Emulating numeric types" msgstr "" -#: reference/datamodel.rst:2600 +#: reference/datamodel.rst:2611 msgid "" "The following methods can be defined to emulate numeric objects. Methods " "corresponding to operations that are not supported by the particular kind of " @@ -3051,7 +3067,7 @@ msgid "" "should be left undefined." msgstr "" -#: reference/datamodel.rst:2626 +#: reference/datamodel.rst:2637 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:" @@ -3065,13 +3081,13 @@ msgid "" "function is to be supported." msgstr "" -#: reference/datamodel.rst:2637 +#: reference/datamodel.rst:2648 msgid "" "If one of those methods does not support the operation with the supplied " "arguments, it should return ``NotImplemented``." msgstr "" -#: reference/datamodel.rst:2660 +#: reference/datamodel.rst:2671 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:" @@ -3084,13 +3100,13 @@ msgid "" "*NotImplemented*." msgstr "" -#: reference/datamodel.rst:2672 +#: reference/datamodel.rst:2683 msgid "" "Note that ternary :func:`pow` will not try calling :meth:`__rpow__` (the " "coercion rules would become too complicated)." msgstr "" -#: reference/datamodel.rst:2677 +#: reference/datamodel.rst:2688 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 " @@ -3099,7 +3115,7 @@ msgid "" "ancestors' operations." msgstr "" -#: reference/datamodel.rst:2698 +#: reference/datamodel.rst:2709 msgid "" "These methods are called to implement the augmented arithmetic assignments " "(``+=``, ``-=``, ``*=``, ``@=``, ``/=``, ``//=``, ``%=``, ``**=``, ``<<=``, " @@ -3115,19 +3131,19 @@ msgid "" "fact part of the data model." msgstr "" -#: reference/datamodel.rst:2719 +#: reference/datamodel.rst:2730 msgid "" "Called to implement the unary arithmetic operations (``-``, ``+``, :func:" "`abs` and ``~``)." msgstr "" -#: reference/datamodel.rst:2732 +#: reference/datamodel.rst:2743 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:2739 +#: reference/datamodel.rst:2750 msgid "" "Called to implement :func:`operator.index`, and whenever Python needs to " "losslessly convert the numeric object to an integer object (such as in " @@ -3136,14 +3152,14 @@ msgid "" "integer type. Must return an integer." msgstr "" -#: reference/datamodel.rst:2745 +#: reference/datamodel.rst:2756 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:2757 +#: reference/datamodel.rst:2768 msgid "" "Called to implement the built-in function :func:`round` and :mod:`math` " "functions :func:`~math.trunc`, :func:`~math.floor` and :func:`~math.ceil`. " @@ -3152,21 +3168,21 @@ msgid "" "(typically an :class:`int`)." msgstr "" -#: reference/datamodel.rst:2763 +#: reference/datamodel.rst:2774 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:2766 +#: reference/datamodel.rst:2777 msgid "The delegation of :func:`int` to :meth:`__trunc__` is deprecated." msgstr "" -#: reference/datamodel.rst:2773 +#: reference/datamodel.rst:2784 msgid "With Statement Context Managers" msgstr "" -#: reference/datamodel.rst:2775 +#: reference/datamodel.rst:2786 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 " @@ -3176,32 +3192,32 @@ msgid "" "can also be used by directly invoking their methods." msgstr "" -#: reference/datamodel.rst:2786 +#: reference/datamodel.rst:2797 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:2789 +#: reference/datamodel.rst:2800 msgid "" "For more information on context managers, see :ref:`typecontextmanager`." msgstr "" -#: reference/datamodel.rst:2794 +#: reference/datamodel.rst:2805 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:2801 +#: reference/datamodel.rst:2812 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:2805 +#: reference/datamodel.rst:2816 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. " @@ -3209,27 +3225,27 @@ msgid "" "method." msgstr "" -#: reference/datamodel.rst:2809 +#: reference/datamodel.rst:2820 msgid "" "Note that :meth:`__exit__` methods should not reraise the passed-in " "exception; this is the caller's responsibility." msgstr "" -#: reference/datamodel.rst:2816 +#: reference/datamodel.rst:2827 msgid ":pep:`343` - The \"with\" statement" msgstr "" -#: reference/datamodel.rst:2816 +#: reference/datamodel.rst:2827 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." msgstr "" -#: reference/datamodel.rst:2823 +#: reference/datamodel.rst:2834 msgid "Customizing positional arguments in class pattern matching" msgstr "" -#: reference/datamodel.rst:2825 +#: reference/datamodel.rst:2836 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 " @@ -3237,7 +3253,7 @@ msgid "" "pattern, the class needs to define a *__match_args__* attribute." msgstr "" -#: reference/datamodel.rst:2832 +#: reference/datamodel.rst:2843 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 " @@ -3246,7 +3262,7 @@ msgid "" "to setting it to ``()``." msgstr "" -#: reference/datamodel.rst:2838 +#: reference/datamodel.rst:2849 msgid "" "For example, if ``MyClass.__match_args__`` is ``(\"left\", \"center\", " "\"right\")`` that means that ``case MyClass(x, y)`` is equivalent to ``case " @@ -3256,19 +3272,19 @@ msgid "" "exc:`TypeError`." msgstr "" -#: reference/datamodel.rst:2848 +#: reference/datamodel.rst:2859 msgid ":pep:`634` - Structural Pattern Matching" msgstr "" -#: reference/datamodel.rst:2849 +#: reference/datamodel.rst:2860 msgid "The specification for the Python ``match`` statement." msgstr "" -#: reference/datamodel.rst:2855 +#: reference/datamodel.rst:2866 msgid "Special method lookup" msgstr "" -#: reference/datamodel.rst:2857 +#: reference/datamodel.rst:2868 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 " @@ -3276,7 +3292,7 @@ msgid "" "following code raises an exception::" msgstr "" -#: reference/datamodel.rst:2872 +#: reference/datamodel.rst:2883 msgid "" "The rationale behind this behaviour lies with a number of special methods " "such as :meth:`~object.__hash__` and :meth:`~object.__repr__` that are " @@ -3285,21 +3301,21 @@ msgid "" "invoked on the type object itself::" msgstr "" -#: reference/datamodel.rst:2886 +#: reference/datamodel.rst:2897 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:2895 +#: reference/datamodel.rst:2906 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:2921 +#: reference/datamodel.rst:2932 msgid "" "Bypassing the :meth:`~object.__getattribute__` machinery in this fashion " "provides significant scope for speed optimisations within the interpreter, " @@ -3308,36 +3324,36 @@ msgid "" "consistently invoked by the interpreter)." msgstr "" -#: reference/datamodel.rst:2932 +#: reference/datamodel.rst:2943 msgid "Coroutines" msgstr "" -#: reference/datamodel.rst:2936 +#: reference/datamodel.rst:2947 msgid "Awaitable Objects" msgstr "" -#: reference/datamodel.rst:2938 +#: reference/datamodel.rst:2949 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:2944 +#: reference/datamodel.rst:2955 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:2950 +#: reference/datamodel.rst:2961 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:2956 +#: reference/datamodel.rst:2967 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 " @@ -3345,15 +3361,15 @@ msgid "" "g. :mod:`asyncio`) that will be managing the :term:`awaitable` object." msgstr "" -#: reference/datamodel.rst:2964 +#: reference/datamodel.rst:2975 msgid ":pep:`492` for additional information about awaitable objects." msgstr "" -#: reference/datamodel.rst:2970 +#: reference/datamodel.rst:2981 msgid "Coroutine Objects" msgstr "" -#: reference/datamodel.rst:2972 +#: reference/datamodel.rst:2983 msgid "" ":term:`Coroutine objects ` are :term:`awaitable` objects. A " "coroutine's execution can be controlled by calling :meth:`~object.__await__` " @@ -3364,18 +3380,18 @@ msgid "" "should not directly raise unhandled :exc:`StopIteration` exceptions." msgstr "" -#: reference/datamodel.rst:2980 +#: reference/datamodel.rst:2991 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:2984 +#: reference/datamodel.rst:2995 msgid "It is a :exc:`RuntimeError` to await on a coroutine more than once." msgstr "" -#: reference/datamodel.rst:2990 +#: reference/datamodel.rst:3001 msgid "" "Starts or resumes execution of the coroutine. If *value* is ``None``, this " "is equivalent to advancing the iterator returned by :meth:`~object." @@ -3386,7 +3402,7 @@ msgid "" "value, described above." msgstr "" -#: reference/datamodel.rst:3001 +#: reference/datamodel.rst:3012 msgid "" "Raises the specified exception in the coroutine. This method delegates to " "the :meth:`~generator.throw` method of the iterator that caused the " @@ -3397,7 +3413,7 @@ msgid "" "not caught in the coroutine, it propagates back to the caller." msgstr "" -#: reference/datamodel.rst:3012 +#: reference/datamodel.rst:3023 msgid "" "Causes the coroutine to clean itself up and exit. If the coroutine is " "suspended, this method first delegates to the :meth:`~generator.close` " @@ -3407,99 +3423,99 @@ msgid "" "is marked as having finished executing, even if it was never started." msgstr "" -#: reference/datamodel.rst:3020 +#: reference/datamodel.rst:3031 msgid "" "Coroutine objects are automatically closed using the above process when they " "are about to be destroyed." msgstr "" -#: reference/datamodel.rst:3026 +#: reference/datamodel.rst:3037 msgid "Asynchronous Iterators" msgstr "" -#: reference/datamodel.rst:3028 +#: reference/datamodel.rst:3039 msgid "" "An *asynchronous iterator* can call asynchronous code in its ``__anext__`` " "method." msgstr "" -#: reference/datamodel.rst:3031 +#: reference/datamodel.rst:3042 msgid "" "Asynchronous iterators can be used in an :keyword:`async for` statement." msgstr "" -#: reference/datamodel.rst:3035 +#: reference/datamodel.rst:3046 msgid "Must return an *asynchronous iterator* object." msgstr "" -#: reference/datamodel.rst:3039 +#: reference/datamodel.rst:3050 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:3042 +#: reference/datamodel.rst:3053 msgid "An example of an asynchronous iterable object::" msgstr "" -#: reference/datamodel.rst:3059 +#: reference/datamodel.rst:3070 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:3064 +#: reference/datamodel.rst:3075 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:3072 +#: reference/datamodel.rst:3083 msgid "Asynchronous Context Managers" msgstr "" -#: reference/datamodel.rst:3074 +#: reference/datamodel.rst:3085 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:3077 +#: reference/datamodel.rst:3088 msgid "" "Asynchronous context managers can be used in an :keyword:`async with` " "statement." msgstr "" -#: reference/datamodel.rst:3081 +#: reference/datamodel.rst:3092 msgid "" "Semantically similar to :meth:`__enter__`, the only difference being that it " "must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3086 +#: reference/datamodel.rst:3097 msgid "" "Semantically similar to :meth:`__exit__`, the only difference being that it " "must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3089 +#: reference/datamodel.rst:3100 msgid "An example of an asynchronous context manager class::" msgstr "" -#: reference/datamodel.rst:3102 +#: reference/datamodel.rst:3113 msgid "Footnotes" msgstr "" -#: reference/datamodel.rst:3103 +#: reference/datamodel.rst:3114 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:3107 +#: reference/datamodel.rst:3118 msgid "" "The :meth:`~object.__hash__`, :meth:`~object.__iter__`, :meth:`~object." "__reversed__`, and :meth:`~object.__contains__` methods have special " @@ -3507,7 +3523,7 @@ msgid "" "by relying on the behavior that ``None`` is not callable." msgstr "" -#: reference/datamodel.rst:3113 +#: reference/datamodel.rst:3124 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 " @@ -3515,9 +3531,918 @@ msgid "" "instead have the opposite effect of explicitly *blocking* such fallback." msgstr "" -#: reference/datamodel.rst:3119 +#: reference/datamodel.rst:3130 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 " "operation is not supported, which is why the reflected method is not called." msgstr "" + +#: reference/datamodel.rst:145 reference/datamodel.rst:173 +#: reference/datamodel.rst:212 reference/datamodel.rst:244 +#: reference/datamodel.rst:269 reference/datamodel.rst:330 +#: reference/datamodel.rst:366 reference/datamodel.rst:405 +#: reference/datamodel.rst:420 reference/datamodel.rst:467 +#: reference/datamodel.rst:582 reference/datamodel.rst:705 +#: reference/datamodel.rst:807 reference/datamodel.rst:894 +#: reference/datamodel.rst:998 reference/datamodel.rst:1117 +#: reference/datamodel.rst:2504 +msgid "object" +msgstr "" + +#: reference/datamodel.rst:122 +msgid "data" +msgstr "" + +#: reference/datamodel.rst:269 reference/datamodel.rst:386 +#: reference/datamodel.rst:690 reference/datamodel.rst:1179 +#: reference/datamodel.rst:1418 reference/datamodel.rst:2050 +#: reference/datamodel.rst:2632 reference/datamodel.rst:2681 +#: reference/datamodel.rst:2738 reference/datamodel.rst:2766 +msgid "built-in function" +msgstr "" + +#: reference/datamodel.rst:23 +msgid "id" +msgstr "" + +#: reference/datamodel.rst:122 reference/datamodel.rst:2050 +msgid "type" +msgstr "" + +#: reference/datamodel.rst:23 +msgid "identity of an object" +msgstr "" + +#: reference/datamodel.rst:23 +msgid "value of an object" +msgstr "" + +#: reference/datamodel.rst:23 +msgid "type of an object" +msgstr "" + +#: reference/datamodel.rst:23 +msgid "mutable object" +msgstr "" + +#: reference/datamodel.rst:23 +msgid "immutable object" +msgstr "" + +#: reference/datamodel.rst:60 +msgid "garbage collection" +msgstr "" + +#: reference/datamodel.rst:60 +msgid "reference counting" +msgstr "" + +#: reference/datamodel.rst:60 +msgid "unreachable object" +msgstr "" + +#: reference/datamodel.rst:807 +msgid "container" +msgstr "" + +#: reference/datamodel.rst:122 +msgid "hierarchy" +msgstr "" + +#: reference/datamodel.rst:122 +msgid "extension" +msgstr "" + +#: reference/datamodel.rst:380 reference/datamodel.rst:729 +#: reference/datamodel.rst:910 +msgid "module" +msgstr "" + +#: reference/datamodel.rst:244 reference/datamodel.rst:690 +msgid "C" +msgstr "" + +#: reference/datamodel.rst:244 reference/datamodel.rst:690 +msgid "language" +msgstr "" + +#: reference/datamodel.rst:807 reference/datamodel.rst:867 +#: reference/datamodel.rst:887 +msgid "attribute" +msgstr "" + +#: reference/datamodel.rst:135 +msgid "special" +msgstr "" + +#: reference/datamodel.rst:135 +msgid "generic" +msgstr "" + +#: reference/datamodel.rst:173 +msgid "..." +msgstr "" + +#: reference/datamodel.rst:173 +msgid "ellipsis literal" +msgstr "" + +#: reference/datamodel.rst:894 +msgid "numeric" +msgstr "" + +#: reference/datamodel.rst:238 reference/datamodel.rst:310 +msgid "integer" +msgstr "" + +#: reference/datamodel.rst:227 +msgid "Boolean" +msgstr "" + +#: reference/datamodel.rst:227 +msgid "False" +msgstr "" + +#: reference/datamodel.rst:227 +msgid "True" +msgstr "" + +#: reference/datamodel.rst:238 +msgid "representation" +msgstr "" + +#: reference/datamodel.rst:244 +msgid "floating point" +msgstr "" + +#: reference/datamodel.rst:259 +msgid "number" +msgstr "" + +#: reference/datamodel.rst:244 +msgid "Java" +msgstr "" + +#: reference/datamodel.rst:2738 +msgid "complex" +msgstr "" + +#: reference/datamodel.rst:386 reference/datamodel.rst:2474 +msgid "len" +msgstr "" + +#: reference/datamodel.rst:894 +msgid "sequence" +msgstr "" + +#: reference/datamodel.rst:269 +msgid "index operation" +msgstr "" + +#: reference/datamodel.rst:269 +msgid "item selection" +msgstr "" + +#: reference/datamodel.rst:352 reference/datamodel.rst:420 +msgid "subscription" +msgstr "" + +#: reference/datamodel.rst:352 +msgid "slicing" +msgstr "" + +#: reference/datamodel.rst:295 +msgid "immutable sequence" +msgstr "" + +#: reference/datamodel.rst:295 +msgid "immutable" +msgstr "" + +#: reference/datamodel.rst:1388 reference/datamodel.rst:1418 +msgid "string" +msgstr "" + +#: reference/datamodel.rst:306 +msgid "immutable sequences" +msgstr "" + +#: reference/datamodel.rst:310 +msgid "chr" +msgstr "" + +#: reference/datamodel.rst:310 +msgid "ord" +msgstr "" + +#: reference/datamodel.rst:310 +msgid "character" +msgstr "" + +#: reference/datamodel.rst:310 +msgid "Unicode" +msgstr "" + +#: reference/datamodel.rst:330 +msgid "tuple" +msgstr "" + +#: reference/datamodel.rst:330 +msgid "singleton" +msgstr "" + +#: reference/datamodel.rst:330 +msgid "empty" +msgstr "" + +#: reference/datamodel.rst:1413 +msgid "bytes" +msgstr "" + +#: reference/datamodel.rst:343 +msgid "byte" +msgstr "" + +#: reference/datamodel.rst:352 +msgid "mutable sequence" +msgstr "" + +#: reference/datamodel.rst:352 +msgid "mutable" +msgstr "" + +#: reference/datamodel.rst:824 reference/datamodel.rst:887 +msgid "assignment" +msgstr "" + +#: reference/datamodel.rst:729 reference/datamodel.rst:1309 +#: reference/datamodel.rst:2793 +msgid "statement" +msgstr "" + +#: reference/datamodel.rst:366 +msgid "list" +msgstr "" + +#: reference/datamodel.rst:373 +msgid "bytearray" +msgstr "" + +#: reference/datamodel.rst:380 +msgid "array" +msgstr "" + +#: reference/datamodel.rst:386 +msgid "set type" +msgstr "" + +#: reference/datamodel.rst:405 +msgid "set" +msgstr "" + +#: reference/datamodel.rst:412 +msgid "frozenset" +msgstr "" + +#: reference/datamodel.rst:894 +msgid "mapping" +msgstr "" + +#: reference/datamodel.rst:807 reference/datamodel.rst:1499 +msgid "dictionary" +msgstr "" + +#: reference/datamodel.rst:453 +msgid "dbm.ndbm" +msgstr "" + +#: reference/datamodel.rst:453 +msgid "dbm.gnu" +msgstr "" + +#: reference/datamodel.rst:467 +msgid "callable" +msgstr "" + +#: reference/datamodel.rst:477 reference/datamodel.rst:660 +#: reference/datamodel.rst:690 +msgid "function" +msgstr "" + +#: reference/datamodel.rst:807 reference/datamodel.rst:2427 +msgid "call" +msgstr "" + +#: reference/datamodel.rst:467 +msgid "invocation" +msgstr "" + +#: reference/datamodel.rst:467 +msgid "argument" +msgstr "" + +#: reference/datamodel.rst:582 +msgid "user-defined" +msgstr "" + +#: reference/datamodel.rst:477 +msgid "user-defined function" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "__doc__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "__name__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "__module__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "__dict__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "__defaults__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "__closure__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "__code__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "__globals__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "__annotations__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "__kwdefaults__ (function attribute)" +msgstr "" + +#: reference/datamodel.rst:491 +msgid "global" +msgstr "" + +#: reference/datamodel.rst:748 +msgid "namespace" +msgstr "" + +#: reference/datamodel.rst:705 +msgid "method" +msgstr "" + +#: reference/datamodel.rst:582 +msgid "user-defined method" +msgstr "" + +#: reference/datamodel.rst:590 +msgid "__func__ (method attribute)" +msgstr "" + +#: reference/datamodel.rst:590 +msgid "__self__ (method attribute)" +msgstr "" + +#: reference/datamodel.rst:590 +msgid "__doc__ (method attribute)" +msgstr "" + +#: reference/datamodel.rst:590 +msgid "__name__ (method attribute)" +msgstr "" + +#: reference/datamodel.rst:590 +msgid "__module__ (method attribute)" +msgstr "" + +#: reference/datamodel.rst:998 +msgid "generator" +msgstr "" + +#: reference/datamodel.rst:645 +msgid "iterator" +msgstr "" + +#: reference/datamodel.rst:2939 +msgid "coroutine" +msgstr "" + +#: reference/datamodel.rst:670 +msgid "asynchronous generator" +msgstr "" + +#: reference/datamodel.rst:670 +msgid "asynchronous iterator" +msgstr "" + +#: reference/datamodel.rst:705 +msgid "built-in method" +msgstr "" + +#: reference/datamodel.rst:705 +msgid "built-in" +msgstr "" + +#: reference/datamodel.rst:729 +msgid "import" +msgstr "" + +#: reference/datamodel.rst:748 +msgid "__name__ (module attribute)" +msgstr "" + +#: reference/datamodel.rst:748 +msgid "__doc__ (module attribute)" +msgstr "" + +#: reference/datamodel.rst:748 +msgid "__file__ (module attribute)" +msgstr "" + +#: reference/datamodel.rst:748 +msgid "__annotations__ (module attribute)" +msgstr "" + +#: reference/datamodel.rst:779 +msgid "__dict__ (module attribute)" +msgstr "" + +#: reference/datamodel.rst:824 reference/datamodel.rst:1292 +#: reference/datamodel.rst:2157 +msgid "class" +msgstr "" + +#: reference/datamodel.rst:867 reference/datamodel.rst:887 +msgid "class instance" +msgstr "" + +#: reference/datamodel.rst:867 reference/datamodel.rst:2427 +msgid "instance" +msgstr "" + +#: reference/datamodel.rst:829 +msgid "class object" +msgstr "" + +#: reference/datamodel.rst:833 +msgid "__name__ (class attribute)" +msgstr "" + +#: reference/datamodel.rst:833 +msgid "__module__ (class attribute)" +msgstr "" + +#: reference/datamodel.rst:833 +msgid "__dict__ (class attribute)" +msgstr "" + +#: reference/datamodel.rst:833 +msgid "__bases__ (class attribute)" +msgstr "" + +#: reference/datamodel.rst:833 +msgid "__doc__ (class attribute)" +msgstr "" + +#: reference/datamodel.rst:833 +msgid "__annotations__ (class attribute)" +msgstr "" + +#: reference/datamodel.rst:902 +msgid "__dict__ (instance attribute)" +msgstr "" + +#: reference/datamodel.rst:902 +msgid "__class__ (instance attribute)" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "open" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "io" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "popen() (in module os)" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "makefile() (socket method)" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "sys.stdin" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "sys.stdout" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "sys.stderr" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "stdio" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "stdin (in module sys)" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "stdout (in module sys)" +msgstr "" + +#: reference/datamodel.rst:910 +msgid "stderr (in module sys)" +msgstr "" + +#: reference/datamodel.rst:936 +msgid "internal type" +msgstr "" + +#: reference/datamodel.rst:936 +msgid "types, internal" +msgstr "" + +#: reference/datamodel.rst:944 +msgid "bytecode" +msgstr "" + +#: reference/datamodel.rst:944 +msgid "code" +msgstr "" + +#: reference/datamodel.rst:944 +msgid "code object" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_argcount (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_posonlyargcount (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_kwonlyargcount (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_code (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_consts (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_filename (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_firstlineno (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_flags (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_lnotab (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_name (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_names (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_nlocals (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_stacksize (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_varnames (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_cellvars (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_freevars (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:956 +msgid "co_qualname (code object attribute)" +msgstr "" + +#: reference/datamodel.rst:1014 +msgid "documentation string" +msgstr "" + +#: reference/datamodel.rst:1055 +msgid "frame" +msgstr "" + +#: reference/datamodel.rst:1060 +msgid "f_back (frame attribute)" +msgstr "" + +#: reference/datamodel.rst:1060 +msgid "f_code (frame attribute)" +msgstr "" + +#: reference/datamodel.rst:1060 +msgid "f_globals (frame attribute)" +msgstr "" + +#: reference/datamodel.rst:1060 +msgid "f_locals (frame attribute)" +msgstr "" + +#: reference/datamodel.rst:1060 +msgid "f_lasti (frame attribute)" +msgstr "" + +#: reference/datamodel.rst:1060 +msgid "f_builtins (frame attribute)" +msgstr "" + +#: reference/datamodel.rst:1079 +msgid "f_trace (frame attribute)" +msgstr "" + +#: reference/datamodel.rst:1079 +msgid "f_trace_lines (frame attribute)" +msgstr "" + +#: reference/datamodel.rst:1079 +msgid "f_trace_opcodes (frame attribute)" +msgstr "" + +#: reference/datamodel.rst:1079 +msgid "f_lineno (frame attribute)" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "traceback" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "stack" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "trace" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "exception" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "handler" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "execution" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "exc_info (in module sys)" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "last_traceback (in module sys)" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "sys.exc_info" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "sys.exception" +msgstr "" + +#: reference/datamodel.rst:1117 +msgid "sys.last_traceback" +msgstr "" + +#: reference/datamodel.rst:1149 +msgid "tb_frame (traceback attribute)" +msgstr "" + +#: reference/datamodel.rst:1149 +msgid "tb_lineno (traceback attribute)" +msgstr "" + +#: reference/datamodel.rst:1149 +msgid "tb_lasti (traceback attribute)" +msgstr "" + +#: reference/datamodel.rst:1149 +msgid "try" +msgstr "" + +#: reference/datamodel.rst:1167 +msgid "tb_next (traceback attribute)" +msgstr "" + +#: reference/datamodel.rst:2504 +msgid "slice" +msgstr "" + +#: reference/datamodel.rst:1185 +msgid "start (slice object attribute)" +msgstr "" + +#: reference/datamodel.rst:1185 +msgid "stop (slice object attribute)" +msgstr "" + +#: reference/datamodel.rst:1185 +msgid "step (slice object attribute)" +msgstr "" + +#: reference/datamodel.rst:1227 +msgid "operator" +msgstr "" + +#: reference/datamodel.rst:1227 +msgid "overloading" +msgstr "" + +#: reference/datamodel.rst:1227 +msgid "__getitem__() (mapping object method)" +msgstr "" + +#: reference/datamodel.rst:1263 +msgid "subclassing" +msgstr "" + +#: reference/datamodel.rst:1263 +msgid "immutable types" +msgstr "" + +#: reference/datamodel.rst:1292 +msgid "constructor" +msgstr "" + +#: reference/datamodel.rst:1309 +msgid "destructor" +msgstr "" + +#: reference/datamodel.rst:1309 +msgid "finalizer" +msgstr "" + +#: reference/datamodel.rst:1309 +msgid "del" +msgstr "" + +#: reference/datamodel.rst:1371 +msgid "repr() (built-in function)" +msgstr "" + +#: reference/datamodel.rst:1371 +msgid "__repr__() (object method)" +msgstr "" + +#: reference/datamodel.rst:1388 +msgid "__str__() (object method)" +msgstr "" + +#: reference/datamodel.rst:1388 +msgid "format() (built-in function)" +msgstr "" + +#: reference/datamodel.rst:1388 +msgid "print() (built-in function)" +msgstr "" + +#: reference/datamodel.rst:1418 +msgid "__format__() (object method)" +msgstr "" + +#: reference/datamodel.rst:1418 +msgid "conversion" +msgstr "" + +#: reference/datamodel.rst:1418 +msgid "print" +msgstr "" + +#: reference/datamodel.rst:1457 +msgid "comparisons" +msgstr "" + +#: reference/datamodel.rst:1499 +msgid "hash" +msgstr "" + +#: reference/datamodel.rst:1580 +msgid "__len__() (mapping object method)" +msgstr "" + +#: reference/datamodel.rst:1683 +msgid "__getattr__ (module attribute)" +msgstr "" + +#: reference/datamodel.rst:1683 +msgid "__dir__ (module attribute)" +msgstr "" + +#: reference/datamodel.rst:1683 +msgid "__class__ (module attribute)" +msgstr "" + +#: reference/datamodel.rst:2050 +msgid "metaclass" +msgstr "" + +#: reference/datamodel.rst:2050 +msgid "= (equals)" +msgstr "" + +#: reference/datamodel.rst:2050 +msgid "class definition" +msgstr "" + +#: reference/datamodel.rst:2110 +msgid "metaclass hint" +msgstr "" + +#: reference/datamodel.rst:2133 +msgid "__prepare__ (metaclass method)" +msgstr "" + +#: reference/datamodel.rst:2157 +msgid "body" +msgstr "" + +#: reference/datamodel.rst:2177 +msgid "__class__ (method cell)" +msgstr "" + +#: reference/datamodel.rst:2177 +msgid "__classcell__ (class namespace entry)" +msgstr "" + +#: reference/datamodel.rst:2474 +msgid "__bool__() (object method)" +msgstr "" + +#: reference/datamodel.rst:2667 +msgid "divmod" +msgstr "" + +#: reference/datamodel.rst:2667 reference/datamodel.rst:2681 +msgid "pow" +msgstr "" + +#: reference/datamodel.rst:2728 +msgid "abs" +msgstr "" + +#: reference/datamodel.rst:2738 +msgid "int" +msgstr "" + +#: reference/datamodel.rst:2738 +msgid "float" +msgstr "" + +#: reference/datamodel.rst:2766 +msgid "round" +msgstr "" + +#: reference/datamodel.rst:2793 +msgid "with" +msgstr "" + +#: reference/datamodel.rst:2793 +msgid "context manager" +msgstr "" diff --git a/reference/executionmodel.po b/reference/executionmodel.po index f71eec788..5b4307def 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -343,3 +343,111 @@ msgid "" "This limitation occurs because the code that is executed by these operations " "is not available at the time the module is compiled." msgstr "" + +#: reference/executionmodel.rst:8 +msgid "execution model" +msgstr "" + +#: reference/executionmodel.rst:8 +msgid "code" +msgstr "" + +#: reference/executionmodel.rst:17 +msgid "block" +msgstr "" + +#: reference/executionmodel.rst:31 reference/executionmodel.rst:179 +msgid "execution" +msgstr "" + +#: reference/executionmodel.rst:31 +msgid "frame" +msgstr "" + +#: reference/executionmodel.rst:42 +msgid "namespace" +msgstr "" + +#: reference/executionmodel.rst:42 reference/executionmodel.rst:101 +msgid "scope" +msgstr "" + +#: reference/executionmodel.rst:51 +msgid "name" +msgstr "" + +#: reference/executionmodel.rst:51 +msgid "binding" +msgstr "" + +#: reference/executionmodel.rst:57 +msgid "from" +msgstr "" + +#: reference/executionmodel.rst:57 +msgid "import statement" +msgstr "" + +#: reference/executionmodel.rst:85 +msgid "free" +msgstr "" + +#: reference/executionmodel.rst:85 +msgid "variable" +msgstr "" + +#: reference/executionmodel.rst:109 +msgid "environment" +msgstr "" + +#: reference/executionmodel.rst:115 +msgid "NameError (built-in exception)" +msgstr "" + +#: reference/executionmodel.rst:115 +msgid "UnboundLocalError" +msgstr "" + +#: reference/executionmodel.rst:154 +msgid "module" +msgstr "" + +#: reference/executionmodel.rst:154 +msgid "__main__" +msgstr "" + +#: reference/executionmodel.rst:179 +msgid "restricted" +msgstr "" + +#: reference/executionmodel.rst:226 +msgid "exception" +msgstr "" + +#: reference/executionmodel.rst:228 +msgid "raise an exception" +msgstr "" + +#: reference/executionmodel.rst:228 +msgid "handle an exception" +msgstr "" + +#: reference/executionmodel.rst:228 +msgid "exception handler" +msgstr "" + +#: reference/executionmodel.rst:228 +msgid "errors" +msgstr "" + +#: reference/executionmodel.rst:228 +msgid "error handling" +msgstr "" + +#: reference/executionmodel.rst:249 +msgid "termination model" +msgstr "" + +#: reference/executionmodel.rst:256 +msgid "SystemExit (built-in exception)" +msgstr "" diff --git a/reference/expressions.po b/reference/expressions.po index d3b2eb4ff..a90b83c44 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2227,3 +2227,728 @@ msgid "" "The ``%`` operator is also used for string formatting; the same precedence " "applies." msgstr "" + +#: reference/expressions.rst:362 reference/expressions.rst:1695 +#: reference/expressions.rst:1808 reference/expressions.rst:1836 +msgid "expression" +msgstr "" + +#: reference/expressions.rst:8 +msgid "BNF" +msgstr "" + +#: reference/expressions.rst:1196 reference/expressions.rst:1244 +msgid "arithmetic" +msgstr "" + +#: reference/expressions.rst:28 +msgid "conversion" +msgstr "" + +#: reference/expressions.rst:51 +msgid "atom" +msgstr "" + +#: reference/expressions.rst:82 +msgid "name" +msgstr "" + +#: reference/expressions.rst:68 +msgid "identifier" +msgstr "" + +#: reference/expressions.rst:537 reference/expressions.rst:709 +#: reference/expressions.rst:801 reference/expressions.rst:1279 +#: reference/expressions.rst:1369 +msgid "exception" +msgstr "" + +#: reference/expressions.rst:74 +msgid "NameError" +msgstr "" + +#: reference/expressions.rst:82 +msgid "mangling" +msgstr "" + +#: reference/expressions.rst:82 +msgid "private" +msgstr "" + +#: reference/expressions.rst:82 +msgid "names" +msgstr "" + +#: reference/expressions.rst:104 +msgid "literal" +msgstr "" + +#: reference/expressions.rst:341 +msgid "immutable" +msgstr "" + +#: reference/expressions.rst:117 +msgid "data" +msgstr "" + +#: reference/expressions.rst:117 +msgid "type" +msgstr "" + +#: reference/expressions.rst:244 reference/expressions.rst:298 +#: reference/expressions.rst:362 reference/expressions.rst:699 +#: reference/expressions.rst:824 reference/expressions.rst:941 +#: reference/expressions.rst:1102 reference/expressions.rst:1123 +#: reference/expressions.rst:1846 +msgid "object" +msgstr "" + +#: reference/expressions.rst:133 +msgid "parenthesized form" +msgstr "" + +#: reference/expressions.rst:362 reference/expressions.rst:941 +msgid "() (parentheses)" +msgstr "" + +#: reference/expressions.rst:133 +msgid "tuple display" +msgstr "" + +#: reference/expressions.rst:244 +msgid "empty" +msgstr "" + +#: reference/expressions.rst:824 reference/expressions.rst:1846 +msgid "tuple" +msgstr "" + +#: reference/expressions.rst:1865 +msgid "comma" +msgstr "" + +#: reference/expressions.rst:244 reference/expressions.rst:298 +#: reference/expressions.rst:941 reference/expressions.rst:1836 +msgid ", (comma)" +msgstr "" + +#: reference/expressions.rst:244 reference/expressions.rst:298 +msgid "comprehensions" +msgstr "" + +#: reference/expressions.rst:177 +msgid "for" +msgstr "" + +#: reference/expressions.rst:212 +msgid "in comprehensions" +msgstr "" + +#: reference/expressions.rst:1782 +msgid "if" +msgstr "" + +#: reference/expressions.rst:177 +msgid "async for" +msgstr "" + +#: reference/expressions.rst:1141 +msgid "await" +msgstr "" + +#: reference/expressions.rst:801 reference/expressions.rst:897 +#: reference/expressions.rst:1836 +msgid "list" +msgstr "" + +#: reference/expressions.rst:270 reference/expressions.rst:298 +msgid "display" +msgstr "" + +#: reference/expressions.rst:820 +msgid "[] (square brackets)" +msgstr "" + +#: reference/expressions.rst:244 +msgid "list expression" +msgstr "" + +#: reference/expressions.rst:270 reference/expressions.rst:1836 +msgid "expression list" +msgstr "" + +#: reference/expressions.rst:270 +msgid "set" +msgstr "" + +#: reference/expressions.rst:298 +msgid "{} (curly brackets)" +msgstr "" + +#: reference/expressions.rst:270 +msgid "set expression" +msgstr "" + +#: reference/expressions.rst:324 reference/expressions.rst:824 +msgid "dictionary" +msgstr "" + +#: reference/expressions.rst:298 +msgid "key" +msgstr "" + +#: reference/expressions.rst:298 +msgid "datum" +msgstr "" + +#: reference/expressions.rst:298 +msgid "key/datum pair" +msgstr "" + +#: reference/expressions.rst:298 +msgid "dictionary expression" +msgstr "" + +#: reference/expressions.rst:891 reference/expressions.rst:1808 +msgid ": (colon)" +msgstr "" + +#: reference/expressions.rst:298 +msgid "in dictionary expressions" +msgstr "" + +#: reference/expressions.rst:324 +msgid "in dictionary displays" +msgstr "" + +#: reference/expressions.rst:1024 reference/expressions.rst:1853 +msgid "unpacking" +msgstr "" + +#: reference/expressions.rst:1054 reference/expressions.rst:1161 +msgid "**" +msgstr "" + +#: reference/expressions.rst:341 +msgid "hashable" +msgstr "" + +#: reference/expressions.rst:417 reference/expressions.rst:525 +msgid "generator" +msgstr "" + +#: reference/expressions.rst:362 +msgid "generator expression" +msgstr "" + +#: reference/expressions.rst:1141 +msgid "keyword" +msgstr "" + +#: reference/expressions.rst:600 +msgid "yield" +msgstr "" + +#: reference/expressions.rst:484 +msgid "from" +msgstr "" + +#: reference/expressions.rst:1089 reference/expressions.rst:1808 +msgid "function" +msgstr "" + +#: reference/expressions.rst:470 +msgid "coroutine" +msgstr "" + +#: reference/expressions.rst:484 +msgid "yield from expression" +msgstr "" + +#: reference/expressions.rst:537 +msgid "StopIteration" +msgstr "" + +#: reference/expressions.rst:755 +msgid "GeneratorExit" +msgstr "" + +#: reference/expressions.rst:600 +msgid "examples" +msgstr "" + +#: reference/expressions.rst:699 +msgid "asynchronous-generator" +msgstr "" + +#: reference/expressions.rst:709 +msgid "StopAsyncIteration" +msgstr "" + +#: reference/expressions.rst:778 +msgid "primary" +msgstr "" + +#: reference/expressions.rst:792 +msgid "attribute" +msgstr "" + +#: reference/expressions.rst:792 +msgid "reference" +msgstr "" + +#: reference/expressions.rst:792 +msgid ". (dot)" +msgstr "" + +#: reference/expressions.rst:792 +msgid "attribute reference" +msgstr "" + +#: reference/expressions.rst:801 +msgid "AttributeError" +msgstr "" + +#: reference/expressions.rst:801 +msgid "module" +msgstr "" + +#: reference/expressions.rst:820 +msgid "subscription" +msgstr "" + +#: reference/expressions.rst:897 reference/expressions.rst:1660 +msgid "sequence" +msgstr "" + +#: reference/expressions.rst:824 +msgid "mapping" +msgstr "" + +#: reference/expressions.rst:877 reference/expressions.rst:897 +msgid "string" +msgstr "" + +#: reference/expressions.rst:877 +msgid "item" +msgstr "" + +#: reference/expressions.rst:877 +msgid "character" +msgstr "" + +#: reference/expressions.rst:891 +msgid "slicing" +msgstr "" + +#: reference/expressions.rst:891 +msgid "slice" +msgstr "" + +#: reference/expressions.rst:923 +msgid "start (slice object attribute)" +msgstr "" + +#: reference/expressions.rst:923 +msgid "stop (slice object attribute)" +msgstr "" + +#: reference/expressions.rst:923 +msgid "step (slice object attribute)" +msgstr "" + +#: reference/expressions.rst:941 +msgid "callable" +msgstr "" + +#: reference/expressions.rst:1089 reference/expressions.rst:1116 +#: reference/expressions.rst:1133 +msgid "call" +msgstr "" + +#: reference/expressions.rst:941 +msgid "argument" +msgstr "" + +#: reference/expressions.rst:974 +msgid "call semantics" +msgstr "" + +#: reference/expressions.rst:941 +msgid "argument list" +msgstr "" + +#: reference/expressions.rst:941 +msgid "= (equals)" +msgstr "" + +#: reference/expressions.rst:1024 reference/expressions.rst:1054 +msgid "in function calls" +msgstr "" + +#: reference/expressions.rst:974 +msgid "parameter" +msgstr "" + +#: reference/expressions.rst:1257 reference/expressions.rst:1853 +msgid "* (asterisk)" +msgstr "" + +#: reference/expressions.rst:1089 +msgid "user-defined" +msgstr "" + +#: reference/expressions.rst:1089 +msgid "user-defined function" +msgstr "" + +#: reference/expressions.rst:1102 +msgid "built-in function" +msgstr "" + +#: reference/expressions.rst:1102 +msgid "method" +msgstr "" + +#: reference/expressions.rst:1102 +msgid "built-in method" +msgstr "" + +#: reference/expressions.rst:1116 +msgid "class" +msgstr "" + +#: reference/expressions.rst:1116 +msgid "class object" +msgstr "" + +#: reference/expressions.rst:1123 +msgid "class instance" +msgstr "" + +#: reference/expressions.rst:1133 +msgid "instance" +msgstr "" + +#: reference/expressions.rst:1133 +msgid "__call__() (object method)" +msgstr "" + +#: reference/expressions.rst:1161 +msgid "power" +msgstr "" + +#: reference/expressions.rst:1196 reference/expressions.rst:1353 +#: reference/expressions.rst:1695 +msgid "operation" +msgstr "" + +#: reference/expressions.rst:1205 reference/expressions.rst:1222 +#: reference/expressions.rst:1270 reference/expressions.rst:1295 +#: reference/expressions.rst:1337 reference/expressions.rst:1389 +#: reference/expressions.rst:1406 reference/expressions.rst:1660 +#: reference/expressions.rst:1711 reference/expressions.rst:1721 +#: reference/expressions.rst:1900 +msgid "operator" +msgstr "" + +#: reference/expressions.rst:1196 +msgid "unary" +msgstr "" + +#: reference/expressions.rst:1380 reference/expressions.rst:1397 +#: reference/expressions.rst:1406 +msgid "bitwise" +msgstr "" + +#: reference/expressions.rst:1205 +msgid "negation" +msgstr "" + +#: reference/expressions.rst:1205 +msgid "minus" +msgstr "" + +#: reference/expressions.rst:1337 +msgid "- (minus)" +msgstr "" + +#: reference/expressions.rst:1214 +msgid "unary operator" +msgstr "" + +#: reference/expressions.rst:1214 +msgid "plus" +msgstr "" + +#: reference/expressions.rst:1324 +msgid "+ (plus)" +msgstr "" + +#: reference/expressions.rst:1222 +msgid "inversion" +msgstr "" + +#: reference/expressions.rst:1222 +msgid "~ (tilde)" +msgstr "" + +#: reference/expressions.rst:1233 +msgid "TypeError" +msgstr "" + +#: reference/expressions.rst:1380 +msgid "binary" +msgstr "" + +#: reference/expressions.rst:1257 +msgid "multiplication" +msgstr "" + +#: reference/expressions.rst:1270 +msgid "matrix multiplication" +msgstr "" + +#: reference/expressions.rst:1270 +msgid "@ (at)" +msgstr "" + +#: reference/expressions.rst:1279 +msgid "ZeroDivisionError" +msgstr "" + +#: reference/expressions.rst:1279 +msgid "division" +msgstr "" + +#: reference/expressions.rst:1279 +msgid "/ (slash)" +msgstr "" + +#: reference/expressions.rst:1279 +msgid "//" +msgstr "" + +#: reference/expressions.rst:1295 +msgid "modulo" +msgstr "" + +#: reference/expressions.rst:1295 +msgid "% (percent)" +msgstr "" + +#: reference/expressions.rst:1324 +msgid "addition" +msgstr "" + +#: reference/expressions.rst:1337 +msgid "binary operator" +msgstr "" + +#: reference/expressions.rst:1337 +msgid "subtraction" +msgstr "" + +#: reference/expressions.rst:1353 +msgid "shifting" +msgstr "" + +#: reference/expressions.rst:1353 +msgid "<<" +msgstr "" + +#: reference/expressions.rst:1353 +msgid ">>" +msgstr "" + +#: reference/expressions.rst:1369 +msgid "ValueError" +msgstr "" + +#: reference/expressions.rst:1716 +msgid "and" +msgstr "" + +#: reference/expressions.rst:1389 +msgid "& (ampersand)" +msgstr "" + +#: reference/expressions.rst:1397 +msgid "xor" +msgstr "" + +#: reference/expressions.rst:1397 +msgid "exclusive" +msgstr "" + +#: reference/expressions.rst:1406 reference/expressions.rst:1721 +msgid "or" +msgstr "" + +#: reference/expressions.rst:1397 +msgid "^ (caret)" +msgstr "" + +#: reference/expressions.rst:1406 +msgid "inclusive" +msgstr "" + +#: reference/expressions.rst:1406 +msgid "| (vertical bar)" +msgstr "" + +#: reference/expressions.rst:1421 +msgid "comparison" +msgstr "" + +#: reference/expressions.rst:1421 +msgid "C" +msgstr "" + +#: reference/expressions.rst:1421 +msgid "language" +msgstr "" + +#: reference/expressions.rst:1421 +msgid "< (less)" +msgstr "" + +#: reference/expressions.rst:1421 +msgid "> (greater)" +msgstr "" + +#: reference/expressions.rst:1421 +msgid "<=" +msgstr "" + +#: reference/expressions.rst:1421 +msgid ">=" +msgstr "" + +#: reference/expressions.rst:1421 +msgid "==" +msgstr "" + +#: reference/expressions.rst:1421 +msgid "!=" +msgstr "" + +#: reference/expressions.rst:1445 +msgid "chaining" +msgstr "" + +#: reference/expressions.rst:1445 +msgid "comparisons" +msgstr "" + +#: reference/expressions.rst:1660 +msgid "in" +msgstr "" + +#: reference/expressions.rst:1660 +msgid "not in" +msgstr "" + +#: reference/expressions.rst:1660 +msgid "membership" +msgstr "" + +#: reference/expressions.rst:1669 +msgid "test" +msgstr "" + +#: reference/expressions.rst:1669 +msgid "is" +msgstr "" + +#: reference/expressions.rst:1669 +msgid "is not" +msgstr "" + +#: reference/expressions.rst:1669 +msgid "identity" +msgstr "" + +#: reference/expressions.rst:1695 +msgid "Conditional" +msgstr "" + +#: reference/expressions.rst:1695 +msgid "Boolean" +msgstr "" + +#: reference/expressions.rst:1711 +msgid "not" +msgstr "" + +#: reference/expressions.rst:1735 +msgid ":= (colon equals)" +msgstr "" + +#: reference/expressions.rst:1735 +msgid "assignment expression" +msgstr "" + +#: reference/expressions.rst:1735 +msgid "walrus operator" +msgstr "" + +#: reference/expressions.rst:1735 +msgid "named expression" +msgstr "" + +#: reference/expressions.rst:1782 +msgid "conditional" +msgstr "" + +#: reference/expressions.rst:1782 +msgid "ternary" +msgstr "" + +#: reference/expressions.rst:1782 +msgid "conditional expression" +msgstr "" + +#: reference/expressions.rst:1782 +msgid "else" +msgstr "" + +#: reference/expressions.rst:1808 +msgid "lambda" +msgstr "" + +#: reference/expressions.rst:1808 +msgid "form" +msgstr "" + +#: reference/expressions.rst:1808 +msgid "anonymous" +msgstr "" + +#: reference/expressions.rst:1808 +msgid "lambda expression" +msgstr "" + +#: reference/expressions.rst:1853 +msgid "iterable" +msgstr "" + +#: reference/expressions.rst:1853 +msgid "in expression lists" +msgstr "" + +#: reference/expressions.rst:1865 +msgid "trailing" +msgstr "" + +#: reference/expressions.rst:1879 +msgid "evaluation" +msgstr "" + +#: reference/expressions.rst:1879 +msgid "order" +msgstr "" + +#: reference/expressions.rst:1900 +msgid "precedence" +msgstr "" diff --git a/reference/import.po b/reference/import.po index 2a818103f..6892e82c7 100644 --- a/reference/import.po +++ b/reference/import.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1384,3 +1384,95 @@ msgid "" "that code be changed to use ``None`` instead. See :ref:`portingpythoncode` " "for more details." msgstr "" + +#: reference/import.rst:8 +msgid "import machinery" +msgstr "" + +#: reference/import.rst:95 reference/import.rst:129 +msgid "package" +msgstr "" + +#: reference/import.rst:95 +msgid "regular" +msgstr "" + +#: reference/import.rst:129 +msgid "namespace" +msgstr "" + +#: reference/import.rst:129 +msgid "portion" +msgstr "" + +#: reference/import.rst:175 +msgid "sys.modules" +msgstr "" + +#: reference/import.rst:276 +msgid "finder" +msgstr "" + +#: reference/import.rst:210 +msgid "loader" +msgstr "" + +#: reference/import.rst:210 +msgid "module spec" +msgstr "" + +#: reference/import.rst:249 +msgid "import hooks" +msgstr "" + +#: reference/import.rst:249 +msgid "meta hooks" +msgstr "" + +#: reference/import.rst:249 +msgid "path hooks" +msgstr "" + +#: reference/import.rst:249 +msgid "hooks" +msgstr "" + +#: reference/import.rst:249 +msgid "import" +msgstr "" + +#: reference/import.rst:249 +msgid "meta" +msgstr "" + +#: reference/import.rst:249 +msgid "path" +msgstr "" + +#: reference/import.rst:276 +msgid "sys.meta_path" +msgstr "" + +#: reference/import.rst:276 +msgid "find_spec" +msgstr "" + +#: reference/import.rst:727 +msgid "path based finder" +msgstr "" + +#: reference/import.rst:776 +msgid "sys.path" +msgstr "" + +#: reference/import.rst:776 +msgid "sys.path_hooks" +msgstr "" + +#: reference/import.rst:776 +msgid "sys.path_importer_cache" +msgstr "" + +#: reference/import.rst:776 +msgid "PYTHONPATH" +msgstr "" diff --git a/reference/introduction.po b/reference/introduction.po index 10d37d194..7fd49d535 100644 --- a/reference/introduction.po +++ b/reference/introduction.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -135,8 +135,8 @@ msgid "" "support and a Just in Time compiler. One of the goals of the project is to " "encourage experimentation with the language itself by making it easier to " "modify the interpreter (since it is written in Python). Additional " -"information is available on `the PyPy project's home page `_." +"information is available on `the PyPy project's home page `_." msgstr "" #: reference/introduction.rst:79 @@ -202,3 +202,27 @@ msgid "" "are lexical definitions; uses in subsequent chapters are syntactic " "definitions." msgstr "" + +#: reference/introduction.rst:91 +msgid "BNF" +msgstr "" + +#: reference/introduction.rst:91 +msgid "grammar" +msgstr "" + +#: reference/introduction.rst:91 +msgid "syntax" +msgstr "" + +#: reference/introduction.rst:91 +msgid "notation" +msgstr "" + +#: reference/introduction.rst:117 +msgid "lexical definitions" +msgstr "" + +#: reference/introduction.rst:117 +msgid "ASCII" +msgstr "" diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index 15023fac9..fc161daed 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1138,3 +1138,417 @@ msgstr "" #: reference/lexical_analysis.rst:1012 msgid "https://www.unicode.org/Public/11.0.0/ucd/NameAliases.txt" msgstr "" + +#: reference/lexical_analysis.rst:8 +msgid "lexical analysis" +msgstr "" + +#: reference/lexical_analysis.rst:8 +msgid "parser" +msgstr "" + +#: reference/lexical_analysis.rst:8 +msgid "token" +msgstr "" + +#: reference/lexical_analysis.rst:25 +msgid "line structure" +msgstr "" + +#: reference/lexical_analysis.rst:35 +msgid "logical line" +msgstr "" + +#: reference/lexical_analysis.rst:35 reference/lexical_analysis.rst:115 +#: reference/lexical_analysis.rst:529 +msgid "physical line" +msgstr "" + +#: reference/lexical_analysis.rst:35 reference/lexical_analysis.rst:115 +msgid "line joining" +msgstr "" + +#: reference/lexical_analysis.rst:35 +msgid "NEWLINE token" +msgstr "" + +#: reference/lexical_analysis.rst:67 +msgid "comment" +msgstr "" + +#: reference/lexical_analysis.rst:67 +msgid "hash character" +msgstr "" + +#: reference/lexical_analysis.rst:67 reference/lexical_analysis.rst:81 +msgid "# (hash)" +msgstr "" + +#: reference/lexical_analysis.rst:81 +msgid "source character set" +msgstr "" + +#: reference/lexical_analysis.rst:81 +msgid "encoding declarations (source file)" +msgstr "" + +#: reference/lexical_analysis.rst:81 +msgid "source encoding declaration" +msgstr "" + +#: reference/lexical_analysis.rst:115 +msgid "line continuation" +msgstr "" + +#: reference/lexical_analysis.rst:115 +msgid "backslash character" +msgstr "" + +#: reference/lexical_analysis.rst:160 +msgid "blank line" +msgstr "" + +#: reference/lexical_analysis.rst:175 +msgid "indentation" +msgstr "" + +#: reference/lexical_analysis.rst:175 +msgid "leading whitespace" +msgstr "" + +#: reference/lexical_analysis.rst:175 +msgid "space" +msgstr "" + +#: reference/lexical_analysis.rst:175 +msgid "tab" +msgstr "" + +#: reference/lexical_analysis.rst:175 +msgid "grouping" +msgstr "" + +#: reference/lexical_analysis.rst:175 +msgid "statement grouping" +msgstr "" + +#: reference/lexical_analysis.rst:203 +msgid "INDENT token" +msgstr "" + +#: reference/lexical_analysis.rst:203 +msgid "DEDENT token" +msgstr "" + +#: reference/lexical_analysis.rst:278 +msgid "identifier" +msgstr "" + +#: reference/lexical_analysis.rst:278 +msgid "name" +msgstr "" + +#: reference/lexical_analysis.rst:335 reference/lexical_analysis.rst:359 +msgid "keyword" +msgstr "" + +#: reference/lexical_analysis.rst:335 +msgid "reserved word" +msgstr "" + +#: reference/lexical_analysis.rst:359 +msgid "soft keyword" +msgstr "" + +#: reference/lexical_analysis.rst:374 +msgid "_, identifiers" +msgstr "" + +#: reference/lexical_analysis.rst:374 +msgid "__, identifiers" +msgstr "" + +#: reference/lexical_analysis.rst:430 +msgid "literal" +msgstr "" + +#: reference/lexical_analysis.rst:430 +msgid "constant" +msgstr "" + +#: reference/lexical_analysis.rst:435 reference/lexical_analysis.rst:476 +msgid "string literal" +msgstr "" + +#: reference/lexical_analysis.rst:435 reference/lexical_analysis.rst:487 +msgid "bytes literal" +msgstr "" + +#: reference/lexical_analysis.rst:435 +msgid "ASCII" +msgstr "" + +#: reference/lexical_analysis.rst:435 +msgid "' (single quote)" +msgstr "" + +#: reference/lexical_analysis.rst:435 +msgid "\" (double quote)" +msgstr "" + +#: reference/lexical_analysis.rst:435 +msgid "u'" +msgstr "" + +#: reference/lexical_analysis.rst:435 +msgid "u\"" +msgstr "" + +#: reference/lexical_analysis.rst:476 +msgid "triple-quoted string" +msgstr "" + +#: reference/lexical_analysis.rst:476 +msgid "Unicode Consortium" +msgstr "" + +#: reference/lexical_analysis.rst:476 +msgid "raw string" +msgstr "" + +#: reference/lexical_analysis.rst:476 +msgid "\"\"\"" +msgstr "" + +#: reference/lexical_analysis.rst:476 +msgid "'''" +msgstr "" + +#: reference/lexical_analysis.rst:487 +msgid "b'" +msgstr "" + +#: reference/lexical_analysis.rst:487 +msgid "b\"" +msgstr "" + +#: reference/lexical_analysis.rst:496 +msgid "r'" +msgstr "" + +#: reference/lexical_analysis.rst:496 +msgid "raw string literal" +msgstr "" + +#: reference/lexical_analysis.rst:496 +msgid "r\"" +msgstr "" + +#: reference/lexical_analysis.rst:516 +msgid "f'" +msgstr "" + +#: reference/lexical_analysis.rst:516 reference/lexical_analysis.rst:682 +msgid "formatted string literal" +msgstr "" + +#: reference/lexical_analysis.rst:516 +msgid "f\"" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "escape sequence" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "Standard C" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "C" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\ (backslash)" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\\\" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\a" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\b" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\f" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\n" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\r" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\t" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\v" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\x" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\N" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\u" +msgstr "" + +#: reference/lexical_analysis.rst:529 +msgid "\\U" +msgstr "" + +#: reference/lexical_analysis.rst:635 +msgid "unrecognized escape sequence" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "interpolated string literal" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "string" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "formatted literal" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "interpolated literal" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "f-string" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "fstring" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "{} (curly brackets)" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "in formatted string literal" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "! (exclamation)" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid ": (colon)" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "= (equals)" +msgstr "" + +#: reference/lexical_analysis.rst:682 +msgid "for help in debugging using string literals" +msgstr "" + +#: reference/lexical_analysis.rst:845 +msgid "number" +msgstr "" + +#: reference/lexical_analysis.rst:845 +msgid "numeric literal" +msgstr "" + +#: reference/lexical_analysis.rst:845 reference/lexical_analysis.rst:858 +msgid "integer literal" +msgstr "" + +#: reference/lexical_analysis.rst:845 +msgid "floating point literal" +msgstr "" + +#: reference/lexical_analysis.rst:845 +msgid "hexadecimal literal" +msgstr "" + +#: reference/lexical_analysis.rst:845 +msgid "octal literal" +msgstr "" + +#: reference/lexical_analysis.rst:845 +msgid "binary literal" +msgstr "" + +#: reference/lexical_analysis.rst:845 +msgid "decimal literal" +msgstr "" + +#: reference/lexical_analysis.rst:845 +msgid "imaginary literal" +msgstr "" + +#: reference/lexical_analysis.rst:845 +msgid "complex literal" +msgstr "" + +#: reference/lexical_analysis.rst:858 +msgid "0b" +msgstr "" + +#: reference/lexical_analysis.rst:858 +msgid "0o" +msgstr "" + +#: reference/lexical_analysis.rst:858 +msgid "0x" +msgstr "" + +#: reference/lexical_analysis.rst:858 reference/lexical_analysis.rst:904 +msgid "_ (underscore)" +msgstr "" + +#: reference/lexical_analysis.rst:858 reference/lexical_analysis.rst:904 +#: reference/lexical_analysis.rst:936 +msgid "in numeric literal" +msgstr "" + +#: reference/lexical_analysis.rst:904 +msgid ". (dot)" +msgstr "" + +#: reference/lexical_analysis.rst:904 +msgid "e" +msgstr "" + +#: reference/lexical_analysis.rst:936 +msgid "j" +msgstr "" + +#: reference/lexical_analysis.rst:962 +msgid "operators" +msgstr "" + +#: reference/lexical_analysis.rst:979 +msgid "delimiters" +msgstr "" diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index bc16e6235..f0129ba11 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1051,3 +1051,458 @@ msgstr "" #: reference/simple_stmts.rst:1014 msgid "The specification for the :keyword:`nonlocal` statement." msgstr "" + +#: reference/simple_stmts.rst:8 +msgid "simple" +msgstr "" + +#: reference/simple_stmts.rst:38 reference/simple_stmts.rst:262 +#: reference/simple_stmts.rst:378 reference/simple_stmts.rst:443 +#: reference/simple_stmts.rst:482 reference/simple_stmts.rst:555 +#: reference/simple_stmts.rst:703 reference/simple_stmts.rst:858 +#: reference/simple_stmts.rst:991 +msgid "statement" +msgstr "" + +#: reference/simple_stmts.rst:41 +msgid "expression" +msgstr "" + +#: reference/simple_stmts.rst:41 reference/simple_stmts.rst:115 +#: reference/simple_stmts.rst:443 +msgid "list" +msgstr "" + +#: reference/simple_stmts.rst:972 +msgid "built-in function" +msgstr "" + +#: reference/simple_stmts.rst:55 +msgid "repr" +msgstr "" + +#: reference/simple_stmts.rst:74 reference/simple_stmts.rst:195 +#: reference/simple_stmts.rst:577 +msgid "object" +msgstr "" + +#: reference/simple_stmts.rst:55 +msgid "None" +msgstr "" + +#: reference/simple_stmts.rst:55 +msgid "string" +msgstr "" + +#: reference/simple_stmts.rst:55 +msgid "conversion" +msgstr "" + +#: reference/simple_stmts.rst:55 +msgid "output" +msgstr "" + +#: reference/simple_stmts.rst:55 +msgid "standard" +msgstr "" + +#: reference/simple_stmts.rst:55 +msgid "writing" +msgstr "" + +#: reference/simple_stmts.rst:55 +msgid "values" +msgstr "" + +#: reference/simple_stmts.rst:55 +msgid "procedure" +msgstr "" + +#: reference/simple_stmts.rst:55 +msgid "call" +msgstr "" + +#: reference/simple_stmts.rst:74 +msgid "= (equals)" +msgstr "" + +#: reference/simple_stmts.rst:74 +msgid "assignment statement" +msgstr "" + +#: reference/simple_stmts.rst:115 reference/simple_stmts.rst:186 +#: reference/simple_stmts.rst:262 reference/simple_stmts.rst:321 +msgid "assignment" +msgstr "" + +#: reference/simple_stmts.rst:728 reference/simple_stmts.rst:944 +msgid "binding" +msgstr "" + +#: reference/simple_stmts.rst:456 reference/simple_stmts.rst:783 +#: reference/simple_stmts.rst:944 +msgid "name" +msgstr "" + +#: reference/simple_stmts.rst:74 +msgid "rebinding" +msgstr "" + +#: reference/simple_stmts.rst:186 +msgid "mutable" +msgstr "" + +#: reference/simple_stmts.rst:158 reference/simple_stmts.rst:465 +msgid "attribute" +msgstr "" + +#: reference/simple_stmts.rst:115 reference/simple_stmts.rst:682 +msgid "target" +msgstr "" + +#: reference/simple_stmts.rst:378 reference/simple_stmts.rst:944 +#: reference/simple_stmts.rst:991 +msgid ", (comma)" +msgstr "" + +#: reference/simple_stmts.rst:115 +msgid "in target list" +msgstr "" + +#: reference/simple_stmts.rst:809 +msgid "* (asterisk)" +msgstr "" + +#: reference/simple_stmts.rst:115 +msgid "in assignment target list" +msgstr "" + +#: reference/simple_stmts.rst:115 +msgid "[] (square brackets)" +msgstr "" + +#: reference/simple_stmts.rst:115 +msgid "() (parentheses)" +msgstr "" + +#: reference/simple_stmts.rst:152 +msgid "destructor" +msgstr "" + +#: reference/simple_stmts.rst:186 +msgid "subscription" +msgstr "" + +#: reference/simple_stmts.rst:195 +msgid "sequence" +msgstr "" + +#: reference/simple_stmts.rst:206 +msgid "mapping" +msgstr "" + +#: reference/simple_stmts.rst:206 +msgid "dictionary" +msgstr "" + +#: reference/simple_stmts.rst:219 +msgid "slicing" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "augmented" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "assignment, augmented" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "+=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "augmented assignment" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "-=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "*=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "/=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "%=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "&=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "^=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "|=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "**=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "//=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid ">>=" +msgstr "" + +#: reference/simple_stmts.rst:262 +msgid "<<=" +msgstr "" + +#: reference/simple_stmts.rst:321 +msgid "annotated" +msgstr "" + +#: reference/simple_stmts.rst:321 +msgid "assignment, annotated" +msgstr "" + +#: reference/simple_stmts.rst:321 +msgid ": (colon)" +msgstr "" + +#: reference/simple_stmts.rst:321 +msgid "annotated variable" +msgstr "" + +#: reference/simple_stmts.rst:378 +msgid "assert" +msgstr "" + +#: reference/simple_stmts.rst:378 +msgid "debugging" +msgstr "" + +#: reference/simple_stmts.rst:378 +msgid "assertions" +msgstr "" + +#: reference/simple_stmts.rst:378 +msgid "expression list" +msgstr "" + +#: reference/simple_stmts.rst:399 +msgid "__debug__" +msgstr "" + +#: reference/simple_stmts.rst:519 reference/simple_stmts.rst:587 +#: reference/simple_stmts.rst:728 +msgid "exception" +msgstr "" + +#: reference/simple_stmts.rst:399 +msgid "AssertionError" +msgstr "" + +#: reference/simple_stmts.rst:421 +msgid "pass" +msgstr "" + +#: reference/simple_stmts.rst:421 +msgid "null" +msgstr "" + +#: reference/simple_stmts.rst:421 +msgid "operation" +msgstr "" + +#: reference/simple_stmts.rst:443 +msgid "del" +msgstr "" + +#: reference/simple_stmts.rst:465 +msgid "deletion" +msgstr "" + +#: reference/simple_stmts.rst:944 +msgid "global" +msgstr "" + +#: reference/simple_stmts.rst:456 +msgid "unbinding" +msgstr "" + +#: reference/simple_stmts.rst:482 +msgid "return" +msgstr "" + +#: reference/simple_stmts.rst:519 +msgid "function" +msgstr "" + +#: reference/simple_stmts.rst:482 +msgid "definition" +msgstr "" + +#: reference/simple_stmts.rst:482 +msgid "class" +msgstr "" + +#: reference/simple_stmts.rst:682 reference/simple_stmts.rst:703 +#: reference/simple_stmts.rst:728 +msgid "keyword" +msgstr "" + +#: reference/simple_stmts.rst:691 reference/simple_stmts.rst:703 +msgid "finally" +msgstr "" + +#: reference/simple_stmts.rst:519 +msgid "yield" +msgstr "" + +#: reference/simple_stmts.rst:519 +msgid "generator" +msgstr "" + +#: reference/simple_stmts.rst:519 +msgid "iterator" +msgstr "" + +#: reference/simple_stmts.rst:519 +msgid "StopIteration" +msgstr "" + +#: reference/simple_stmts.rst:555 +msgid "raise" +msgstr "" + +#: reference/simple_stmts.rst:555 +msgid "raising" +msgstr "" + +#: reference/simple_stmts.rst:555 +msgid "__traceback__ (exception attribute)" +msgstr "" + +#: reference/simple_stmts.rst:577 +msgid "traceback" +msgstr "" + +#: reference/simple_stmts.rst:587 +msgid "chaining" +msgstr "" + +#: reference/simple_stmts.rst:587 +msgid "__cause__ (exception attribute)" +msgstr "" + +#: reference/simple_stmts.rst:587 +msgid "__context__ (exception attribute)" +msgstr "" + +#: reference/simple_stmts.rst:669 +msgid "break" +msgstr "" + +#: reference/simple_stmts.rst:703 +msgid "for" +msgstr "" + +#: reference/simple_stmts.rst:703 +msgid "while" +msgstr "" + +#: reference/simple_stmts.rst:703 +msgid "loop" +msgstr "" + +#: reference/simple_stmts.rst:682 +msgid "else" +msgstr "" + +#: reference/simple_stmts.rst:682 +msgid "loop control" +msgstr "" + +#: reference/simple_stmts.rst:703 +msgid "continue" +msgstr "" + +#: reference/simple_stmts.rst:831 +msgid "import" +msgstr "" + +#: reference/simple_stmts.rst:728 +msgid "module" +msgstr "" + +#: reference/simple_stmts.rst:728 +msgid "importing" +msgstr "" + +#: reference/simple_stmts.rst:783 +msgid "from" +msgstr "" + +#: reference/simple_stmts.rst:770 +msgid "as" +msgstr "" + +#: reference/simple_stmts.rst:728 +msgid "ImportError" +msgstr "" + +#: reference/simple_stmts.rst:770 reference/simple_stmts.rst:809 +msgid "import statement" +msgstr "" + +#: reference/simple_stmts.rst:815 +msgid "__all__ (optional module attribute)" +msgstr "" + +#: reference/simple_stmts.rst:831 +msgid "relative" +msgstr "" + +#: reference/simple_stmts.rst:858 +msgid "future" +msgstr "" + +#: reference/simple_stmts.rst:858 +msgid "__future__" +msgstr "" + +#: reference/simple_stmts.rst:858 +msgid "future statement" +msgstr "" + +#: reference/simple_stmts.rst:991 +msgid "identifier list" +msgstr "" + +#: reference/simple_stmts.rst:972 +msgid "exec" +msgstr "" + +#: reference/simple_stmts.rst:972 +msgid "eval" +msgstr "" + +#: reference/simple_stmts.rst:972 +msgid "compile" +msgstr "" + +#: reference/simple_stmts.rst:991 +msgid "nonlocal" +msgstr "" diff --git a/reference/toplevel_components.po b/reference/toplevel_components.po index ca2087746..a9bdf11d1 100644 --- a/reference/toplevel_components.po +++ b/reference/toplevel_components.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -116,3 +116,59 @@ msgid "" ":func:`eval` is used for expression input. It ignores leading whitespace. " "The string argument to :func:`eval` must have the following form:" msgstr "" + +#: reference/toplevel_components.rst:8 +msgid "interpreter" +msgstr "" + +#: reference/toplevel_components.rst:21 +msgid "program" +msgstr "" + +#: reference/toplevel_components.rst:23 reference/toplevel_components.rst:39 +msgid "module" +msgstr "" + +#: reference/toplevel_components.rst:23 +msgid "sys" +msgstr "" + +#: reference/toplevel_components.rst:23 reference/toplevel_components.rst:39 +msgid "__main__" +msgstr "" + +#: reference/toplevel_components.rst:23 +msgid "builtins" +msgstr "" + +#: reference/toplevel_components.rst:39 +msgid "interactive mode" +msgstr "" + +#: reference/toplevel_components.rst:49 +msgid "UNIX" +msgstr "" + +#: reference/toplevel_components.rst:49 +msgid "Windows" +msgstr "" + +#: reference/toplevel_components.rst:49 +msgid "command line" +msgstr "" + +#: reference/toplevel_components.rst:49 +msgid "standard input" +msgstr "" + +#: reference/toplevel_components.rst:100 +msgid "input" +msgstr "" + +#: reference/toplevel_components.rst:101 +msgid "built-in function" +msgstr "" + +#: reference/toplevel_components.rst:101 +msgid "eval" +msgstr "" diff --git a/sphinx.po b/sphinx.po index 9f86c44bc..e27141d1e 100644 --- a/sphinx.po +++ b/sphinx.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2022-12-28 16:25-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -44,23 +44,35 @@ msgid "Deprecated since version {deprecated}, removed in version {removed}" msgstr "" "Sürüm {deprecated} 'den beri kullanım dışı, sürüm {removed} 'da kaldırıldı" +#: tools/templates/dummy.html:12 +msgid "Return value: Always NULL." +msgstr "" + #: tools/templates/dummy.html:13 +msgid "Return value: New reference." +msgstr "" + +#: tools/templates/dummy.html:14 +msgid "Return value: Borrowed reference." +msgstr "" + +#: tools/templates/dummy.html:18 msgid "in development" msgstr "geliştirme aşamasında" -#: tools/templates/dummy.html:14 +#: tools/templates/dummy.html:19 msgid "pre-release" msgstr "önsürüm" -#: tools/templates/dummy.html:15 +#: tools/templates/dummy.html:20 msgid "stable" msgstr "kararlı" -#: tools/templates/dummy.html:16 +#: tools/templates/dummy.html:21 msgid "security-fixes" msgstr "güvenlik düzeltmeleri" -#: tools/templates/dummy.html:17 +#: tools/templates/dummy.html:22 msgid "EOL" msgstr "EOL" @@ -292,3 +304,15 @@ msgstr "" #: tools/templates/layout.html:8 msgid " Python documentation for the current stable release" msgstr " Mevcut kararlı sürüm için olan Python dokümantasyonunu okumalısın" + +#: tools/templates/layout.html:14 +msgid "" +"This is a deploy preview created from a pull request.\n" +" For authoritative documentation, see the " +msgstr "" + +#: 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" diff --git a/tutorial/classes.po b/tutorial/classes.po index f03529cdd..96f18eb2f 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2023-02-02 02:32+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1335,3 +1335,20 @@ msgstr "" "global bir isim değildir. Kuşkusuz, bu durum ad alanlarının soyutlanış " "özelliklerine aykırı, dolayısıyla sadece programın durması sonrası çalışan " "hata ayıklayıcılar gibilerinin kullanımına kısıtlanmalı." + +#: tutorial/classes.rst:347 +#, fuzzy +msgid "object" +msgstr "Metot Nesneleri" + +#: tutorial/classes.rst:347 +msgid "method" +msgstr "" + +#: tutorial/classes.rst:683 +msgid "name" +msgstr "" + +#: tutorial/classes.rst:683 +msgid "mangling" +msgstr "" diff --git a/tutorial/controlflow.po b/tutorial/controlflow.po index d9c88b68e..782486526 100644 --- a/tutorial/controlflow.po +++ b/tutorial/controlflow.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2022-12-28 21:35+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1353,3 +1353,69 @@ msgstr "" "Aslında, *nesne referansı ile çağırma* daha iyi bir tanımlama olacaktır, " "çünkü değiştirilebilir bir nesne aktarılırsa, çağıran, çağırılanın üzerinde " "yaptığı tüm değişiklikleri (bir listeye eklenen öğeler) görecektir." + +#: tutorial/controlflow.rst:48 +msgid "statement" +msgstr "" + +#: tutorial/controlflow.rst:48 +msgid "for" +msgstr "" + +#: tutorial/controlflow.rst:974 +#, fuzzy +msgid "documentation strings" +msgstr "Dokümantasyon Stringler'i" + +#: tutorial/controlflow.rst:974 +#, fuzzy +msgid "docstrings" +msgstr "Docstrings kullanın." + +#: tutorial/controlflow.rst:974 +msgid "strings, documentation" +msgstr "" + +#: tutorial/controlflow.rst:878 +msgid "* (asterisk)" +msgstr "" + +#: tutorial/controlflow.rst:922 +#, fuzzy +msgid "in function calls" +msgstr "Fonksiyon Örnekleri" + +#: tutorial/controlflow.rst:922 +msgid "**" +msgstr "" + +#: tutorial/controlflow.rst:1026 +#, fuzzy +msgid "function" +msgstr "Fonksiyonların Tanımlanması" + +#: tutorial/controlflow.rst:1026 +#, fuzzy +msgid "annotations" +msgstr "Fonksiyon Ek Açıklamaları" + +#: tutorial/controlflow.rst:1026 +msgid "->" +msgstr "" + +#: tutorial/controlflow.rst:1026 +#, fuzzy +msgid "function annotations" +msgstr "Fonksiyon Ek Açıklamaları" + +#: tutorial/controlflow.rst:1026 +msgid ": (colon)" +msgstr "" + +#: tutorial/controlflow.rst:1060 +msgid "coding" +msgstr "" + +#: tutorial/controlflow.rst:1060 +msgid "style" +msgstr "" diff --git a/tutorial/floatingpoint.po b/tutorial/floatingpoint.po index 2a00d348f..462eb41f5 100644 --- a/tutorial/floatingpoint.po +++ b/tutorial/floatingpoint.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2022-12-28 22:25+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -216,12 +216,16 @@ msgstr "" "gelmesi için sonradan yuvarlama yapmaya yarayabilir::" #: tutorial/floatingpoint.rst:128 +#, fuzzy msgid "" "Binary floating-point arithmetic holds many surprises like this. The " "problem with \"0.1\" is explained in precise detail below, in the " -"\"Representation Error\" section. See `The Perils of Floating Point " -"`_ for a more complete account of other " -"common surprises." +"\"Representation Error\" section. See `Examples of Floating Point Problems " +"`_ 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." 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 " @@ -229,7 +233,7 @@ msgstr "" "`The Perils of Floating Point `_ bölümüne " "bakınız." -#: tutorial/floatingpoint.rst:133 +#: tutorial/floatingpoint.rst:137 msgid "" "As that says near the end, \"there are no easy answers.\" Still, don't be " "unduly wary of floating-point! The errors in Python float operations are " @@ -247,7 +251,7 @@ msgstr "" "işleminin yeni bir yuvarlama hatasına maruz kalabileceğini aklınızda " "bulundurmanız gerekir." -#: tutorial/floatingpoint.rst:140 +#: tutorial/floatingpoint.rst:144 msgid "" "While pathological cases do exist, for most casual use of floating-point " "arithmetic you'll see the result you expect in the end if you simply round " @@ -262,7 +266,7 @@ msgstr "" "`formatstrings` içindeki :meth:`str.format` yönteminin biçim " "belirleyicilerine bakın." -#: tutorial/floatingpoint.rst:146 +#: tutorial/floatingpoint.rst:150 msgid "" "For use cases which require exact decimal representation, try using the :mod:" "`decimal` module which implements decimal arithmetic suitable for accounting " @@ -272,7 +276,7 @@ msgstr "" "yüksek hassasiyetli uygulamalar için uygun ondalık aritmetiği uygulayan :mod:" "`decimal` modülünü kullanmayı deneyin." -#: tutorial/floatingpoint.rst:150 +#: tutorial/floatingpoint.rst:154 msgid "" "Another form of exact arithmetic is supported by the :mod:`fractions` module " "which implements arithmetic based on rational numbers (so the numbers like " @@ -282,9 +286,10 @@ msgstr "" "uygulayan :mod:`fractions` modülü tarafından desteklenir (böylece 1/3 gibi " "sayılar tam olarak temsil edilebilir)." -#: tutorial/floatingpoint.rst:154 +#: tutorial/floatingpoint.rst:158 +#, fuzzy msgid "" -"If you are a heavy user of floating point operations you should take a look " +"If you are a heavy user of floating-point operations you should take a look " "at the NumPy package and many other packages for mathematical and " "statistical operations supplied by the SciPy project. See ." @@ -293,7 +298,7 @@ msgstr "" "SciPy projesi tarafından sağlanan matematiksel ve istatistiksel işlemler " "için olan birçok pakete göz atmalısınız. adresine bakın." -#: tutorial/floatingpoint.rst:158 +#: tutorial/floatingpoint.rst:162 msgid "" "Python provides tools that may help on those rare occasions when you really " "*do* want to know the exact value of a float. The :meth:`float." @@ -304,7 +309,7 @@ msgstr "" "as_integer_ratio` metodu bir kayan noktanın değerini kesir olarak ifade " "eder::" -#: tutorial/floatingpoint.rst:167 +#: tutorial/floatingpoint.rst:171 msgid "" "Since the ratio is exact, it can be used to losslessly recreate the original " "value::" @@ -312,7 +317,7 @@ msgstr "" "Oran tam olduğundan, orijinal değeri kayıpsız olarak yeniden oluşturmak için " "kullanılabilir::" -#: tutorial/floatingpoint.rst:173 +#: tutorial/floatingpoint.rst:177 msgid "" "The :meth:`float.hex` method expresses a float in hexadecimal (base 16), " "again giving the exact value stored by your computer::" @@ -321,7 +326,7 @@ msgstr "" "olarak ifade eder ve yine bilgisayarınız tarafından depolanan tam değeri " "verir::" -#: tutorial/floatingpoint.rst:179 +#: tutorial/floatingpoint.rst:183 msgid "" "This precise hexadecimal representation can be used to reconstruct the float " "value exactly::" @@ -329,7 +334,7 @@ msgstr "" "Bu hassas onaltılık gösterim, float değerini tam olarak yeniden oluşturmak " "için kullanılabilir::" -#: tutorial/floatingpoint.rst:185 +#: tutorial/floatingpoint.rst:189 msgid "" "Since the representation is exact, it is useful for reliably porting values " "across different versions of Python (platform independence) and exchanging " @@ -341,7 +346,7 @@ msgstr "" "destekleyen diğer dillerle (Java ve C99 gibi) veri alışverişi yapmak için " "kullanışlıdır." -#: tutorial/floatingpoint.rst:189 +#: tutorial/floatingpoint.rst:193 msgid "" "Another helpful tool is the :func:`math.fsum` function which helps mitigate " "loss-of-precision during summation. It tracks \"lost digits\" as values are " @@ -355,11 +360,11 @@ msgstr "" "yaratabilir, böylece hatalar nihai toplamı etkileyecek noktaya kadar " "birikmez:" -#: tutorial/floatingpoint.rst:203 +#: tutorial/floatingpoint.rst:207 msgid "Representation Error" msgstr "Temsil Hatası" -#: tutorial/floatingpoint.rst:205 +#: tutorial/floatingpoint.rst:209 msgid "" "This section explains the \"0.1\" example in detail, and shows how you can " "perform an exact analysis of cases like this yourself. Basic familiarity " @@ -369,7 +374,7 @@ msgstr "" "tam analizini kendiniz nasıl yapabileceğinizi göstermektedir. İkili kayan " "nokta gösterimine temel düzeyde aşina olunduğu varsayılmaktadır." -#: tutorial/floatingpoint.rst:209 +#: tutorial/floatingpoint.rst:213 msgid "" ":dfn:`Representation error` refers to the fact that some (most, actually) " "decimal fractions cannot be represented exactly as binary (base 2) " @@ -382,15 +387,16 @@ msgstr "" "Bu, Python'un (veya Perl, C, C++, Java, Fortran ve diğerlerinin) genellikle " "beklediğiniz tam ondalık sayıyı göstermemesinin başlıca nedenidir." -#: tutorial/floatingpoint.rst:214 +#: tutorial/floatingpoint.rst:218 +#, fuzzy msgid "" -"Why is that? 1/10 is not exactly representable as a binary fraction. Almost " -"all machines today (November 2000) use IEEE-754 floating point arithmetic, " -"and almost all platforms map Python floats to IEEE-754 \"double " -"precision\". 754 doubles contain 53 bits of precision, so on input the " -"computer strives to convert 0.1 to the closest fraction it can of the form " -"*J*/2**\\ *N* where *J* is an integer containing exactly 53 bits. " -"Rewriting ::" +"Why is that? 1/10 is not exactly representable as a binary fraction. Since " +"at least 2000, almost all machines use IEEE 754 binary floating-point " +"arithmetic, and almost all platforms map Python floats to IEEE 754 binary64 " +"\"double precision\" values. IEEE 754 binary64 values contain 53 bits of " +"precision, so on input the computer strives to convert 0.1 to the closest " +"fraction it can of the form *J*/2**\\ *N* where *J* is an integer containing " +"exactly 53 bits. Rewriting ::" msgstr "" "Peki bu neden gerçekleşir? 1/10 tam olarak ikili bir kesir olarak temsil " "edilemez. Günümüzde (Kasım 2000) neredeyse tüm makineler IEEE-754 kayan " @@ -400,11 +406,11 @@ msgstr "" "formundaki en yakın kesre dönüştürmeye çalışır, burada *J* tam olarak 53 bit " "içeren bir tamsayıdır. Yeniden Yazma ::" -#: tutorial/floatingpoint.rst:223 +#: tutorial/floatingpoint.rst:229 msgid "as ::" msgstr "şu şekilde ::" -#: tutorial/floatingpoint.rst:227 +#: tutorial/floatingpoint.rst:233 msgid "" "and recalling that *J* has exactly 53 bits (is ``>= 2**52`` but ``< " "2**53``), the best value for *N* is 56::" @@ -412,7 +418,7 @@ msgstr "" "ve *J*'nin tam olarak 53 bit olduğunu hatırlarsak (``>= 2**52`` ama ``< " "2**53``), *N* için en iyi değer 56:'dır:" -#: tutorial/floatingpoint.rst:233 +#: tutorial/floatingpoint.rst:239 msgid "" "That is, 56 is the only value for *N* that leaves *J* with exactly 53 bits. " "The best possible value for *J* is then that quotient rounded::" @@ -420,7 +426,7 @@ msgstr "" "Yani, *N* için *J*'ye tam olarak 53 bit bırakan tek değer 56'dır. O halde " "*J* için mümkün olan en iyi değer, bu bölümün yuvarlanmış halidir::" -#: tutorial/floatingpoint.rst:240 +#: tutorial/floatingpoint.rst:246 msgid "" "Since the remainder is more than half of 10, the best approximation is " "obtained by rounding up::" @@ -428,19 +434,20 @@ msgstr "" "Kalanın değeri 10'un yarısından fazla olduğu için, en iyi yaklaşım yukarı " "yuvarlama ile elde edilir::" -#: tutorial/floatingpoint.rst:246 +#: tutorial/floatingpoint.rst:252 +#, fuzzy msgid "" -"Therefore the best possible approximation to 1/10 in 754 double precision " -"is::" +"Therefore the best possible approximation to 1/10 in IEEE 754 double " +"precision is::" msgstr "" "Bu nedenle 754 çift duyarlılıkta, 1/10'a mümkün olan en iyi yaklaşım şudur ::" -#: tutorial/floatingpoint.rst:250 +#: tutorial/floatingpoint.rst:257 msgid "" "Dividing both the numerator and denominator by two reduces the fraction to::" msgstr "Hem pay hem de paydayı ikiye böldüğünüzde kesir şuna indirgenir::" -#: tutorial/floatingpoint.rst:254 +#: tutorial/floatingpoint.rst:261 msgid "" "Note that since we rounded up, this is actually a little bit larger than " "1/10; if we had not rounded up, the quotient would have been a little bit " @@ -450,15 +457,16 @@ msgstr "" "olduğuna dikkat edin; yukarı yuvarlamamış olsaydık, bölüm 1/10'dan biraz " "daha küçük olurdu. Ancak hiçbir durumda *tam olarak* 1/10 olamaz!" -#: tutorial/floatingpoint.rst:258 +#: tutorial/floatingpoint.rst:265 +#, fuzzy msgid "" "So the computer never \"sees\" 1/10: what it sees is the exact fraction " -"given above, the best 754 double approximation it can get::" +"given above, the best IEEE 754 double approximation it can get:" msgstr "" "Yani bilgisayar asla 1/10'u \"görmez\": gördüğü şey yukarıda verilen tam " "kesirdir, alabileceği en iyi 754 çift yaklaşımıdır::" -#: tutorial/floatingpoint.rst:264 +#: tutorial/floatingpoint.rst:271 msgid "" "If we multiply that fraction by 10\\*\\*55, we can see the value out to 55 " "decimal digits::" @@ -466,7 +474,7 @@ msgstr "" "Bu kesri 10\\*\\*55 ile çarparsak, değeri 55 ondalık basamağa kadar " "görebiliriz::" -#: tutorial/floatingpoint.rst:270 +#: tutorial/floatingpoint.rst:277 msgid "" "meaning that the exact number stored in the computer is equal to the decimal " "value 0.1000000000000000055511151231257827021181583404541015625. Instead of " @@ -478,7 +486,7 @@ msgstr "" "olduğu anlamına gelir. Python’un eski sürümleri dahil olmak üzere çoğu dil, " "tam kesri göstermek yerine sonucu 17 anlamlı basamağa yuvarlar::" -#: tutorial/floatingpoint.rst:278 +#: tutorial/floatingpoint.rst:285 msgid "" "The :mod:`fractions` and :mod:`decimal` modules make these calculations " "easy::" diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index f7230cd40..52b1346b8 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2022-12-28 22:43+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -719,3 +719,27 @@ msgstr "" "güvensizdir: güvenilmeyen bir kaynaktan gelen pickle verilerinin dizilerinin " "seri halden çıkarılması, veriler yetenekli bir saldırgan tarafından " "hazırlanmışsa rasgele kod yürütebilir." + +#: tutorial/inputoutput.rst:287 +msgid "built-in function" +msgstr "" + +#: tutorial/inputoutput.rst:287 +msgid "open" +msgstr "" + +#: tutorial/inputoutput.rst:287 +msgid "object" +msgstr "" + +#: tutorial/inputoutput.rst:287 +msgid "file" +msgstr "" + +#: tutorial/inputoutput.rst:469 +msgid "module" +msgstr "" + +#: tutorial/inputoutput.rst:469 +msgid "json" +msgstr "" diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 8f20b2b57..9308068f8 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2023-03-01 12:10+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -654,3 +654,11 @@ msgstr "" "sahiptir. İkisi arasındaki tek fark, tek tırnak içinde ``\"`` dan kaçmanıza " "gerek olmamasıdır (ancak ``\\'`` dan kaçmanız gerekir) ve bunun tersi de " "geçerlidir." + +#: tutorial/introduction.rst:21 +msgid "# (hash)" +msgstr "" + +#: tutorial/introduction.rst:21 +msgid "comment" +msgstr "" diff --git a/tutorial/modules.po b/tutorial/modules.po index 73ee931ff..b2b28d6e3 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2022-12-29 00:15+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -581,13 +581,14 @@ msgstr "" "üzerindeki dizinleri arar." #: tutorial/modules.rst:439 +#, 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``, 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." +"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 " @@ -853,3 +854,28 @@ msgstr "" "Aslında işlev tanımları aynı zamanda 'çalıştırılan' 'ifadelerdir'; modül " "düzeyinde bir işlev tanımının çalıştırılması, işlev adını modülün genel ad " "alanına ekler." + +#: tutorial/modules.rst:267 tutorial/modules.rst:348 +#, fuzzy +msgid "module" +msgstr "Modüller" + +#: tutorial/modules.rst:184 +msgid "search" +msgstr "" + +#: tutorial/modules.rst:184 +msgid "path" +msgstr "" + +#: tutorial/modules.rst:267 +msgid "sys" +msgstr "" + +#: tutorial/modules.rst:348 +msgid "builtins" +msgstr "" + +#: tutorial/modules.rst:492 +msgid "__all__" +msgstr "" diff --git a/tutorial/stdlib.po b/tutorial/stdlib.po index 47195e322..bd6696e5e 100644 --- a/tutorial/stdlib.po +++ b/tutorial/stdlib.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2022-12-28 22:49+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -382,3 +382,11 @@ msgid "" msgstr "" "Uluslararasılaştırma :mod:`gettext`, :mod:`locale` ve :mod:`codecs` paketi " "dahil olmak üzere bir dizi modül tarafından desteklenir." + +#: tutorial/stdlib.rst:27 +msgid "built-in function" +msgstr "" + +#: tutorial/stdlib.rst:27 +msgid "help" +msgstr "" diff --git a/using/cmdline.po b/using/cmdline.po index 38c216688..1c259ec9a 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -474,7 +474,7 @@ msgid "" "Hash randomization is intended to provide protection against a denial-of-" "service caused by carefully chosen inputs that exploit the worst case " "performance of a dict construction, O(n\\ :sup:`2`) complexity. See http://" -"www.ocert.org/advisories/ocert-2011-003.html for details." +"ocert.org/advisories/ocert-2011-003.html for details." msgstr "" #: using/cmdline.rst:372 @@ -493,7 +493,7 @@ msgid "" "`sys.path`." msgstr "" -#: using/cmdline.rst:790 using/cmdline.rst:802 +#: using/cmdline.rst:793 using/cmdline.rst:805 msgid ":pep:`370` -- Per user site-packages directory" msgstr "" @@ -543,7 +543,7 @@ msgid "" "messages to :data:`sys.stderr`." msgstr "" -#: using/cmdline.rst:818 +#: using/cmdline.rst:821 msgid "" "The simplest settings apply a particular action unconditionally to all " "warnings emitted by a process (even those that are otherwise ignored by " @@ -616,7 +616,7 @@ msgid "" "can be used to use a regular expression on the warning message." msgstr "" -#: using/cmdline.rst:829 +#: using/cmdline.rst:832 msgid "" "See :ref:`warning-filter` and :ref:`describing-warning-filters` for more " "details." @@ -635,10 +635,12 @@ msgid "" msgstr "" #: using/cmdline.rst:495 -msgid "``-X faulthandler`` to enable :mod:`faulthandler`;" +msgid "" +"``-X faulthandler`` to enable :mod:`faulthandler`. See also :envvar:" +"`PYTHONFAULTHANDLER`." msgstr "" -#: using/cmdline.rst:496 +#: using/cmdline.rst:497 msgid "" "``-X showrefcount`` to output the total reference count and number of used " "memory blocks when the program finishes or after each statement in the " @@ -646,23 +648,23 @@ msgid "" "build>`." msgstr "" -#: using/cmdline.rst:500 +#: using/cmdline.rst:501 msgid "" "``-X tracemalloc`` to start tracing Python memory allocations using the :mod:" "`tracemalloc` module. By default, only the most recent frame is stored in a " "traceback of a trace. Use ``-X tracemalloc=NFRAME`` to start tracing with a " -"traceback limit of *NFRAME* frames. See the :func:`tracemalloc.start` for " -"more information." +"traceback limit of *NFRAME* frames. See :func:`tracemalloc.start` and :" +"envvar:`PYTHONTRACEMALLOC` for more information." msgstr "" -#: using/cmdline.rst:505 +#: using/cmdline.rst:507 msgid "" "``-X int_max_str_digits`` configures the :ref:`integer string conversion " "length limitation `. See also :envvar:" "`PYTHONINTMAXSTRDIGITS`." msgstr "" -#: using/cmdline.rst:508 +#: using/cmdline.rst:510 msgid "" "``-X importtime`` to show how long each import takes. It shows module name, " "cumulative time (including nested imports) and self time (excluding nested " @@ -671,34 +673,34 @@ msgid "" "asyncio'``. See also :envvar:`PYTHONPROFILEIMPORTTIME`." msgstr "" -#: using/cmdline.rst:513 +#: using/cmdline.rst:515 msgid "" "``-X dev``: enable :ref:`Python Development Mode `, introducing " "additional runtime checks that are too expensive to be enabled by default." msgstr "" -#: using/cmdline.rst:516 +#: using/cmdline.rst:518 msgid "" "``-X utf8`` enables the :ref:`Python UTF-8 Mode `. ``-X utf8=0`` " "explicitly disables :ref:`Python UTF-8 Mode ` (even when it would " -"otherwise activate automatically)." +"otherwise activate automatically). See also :envvar:`PYTHONUTF8`." msgstr "" -#: using/cmdline.rst:519 +#: using/cmdline.rst:522 msgid "" "``-X pycache_prefix=PATH`` enables writing ``.pyc`` files to a parallel tree " "rooted at the given directory instead of to the code tree. See also :envvar:" "`PYTHONPYCACHEPREFIX`." msgstr "" -#: using/cmdline.rst:522 +#: using/cmdline.rst:525 msgid "" "``-X warn_default_encoding`` issues a :class:`EncodingWarning` when the " "locale-specific default encoding is used for opening files. See also :envvar:" "`PYTHONWARNDEFAULTENCODING`." msgstr "" -#: using/cmdline.rst:525 +#: using/cmdline.rst:528 msgid "" "``-X no_debug_ranges`` disables the inclusion of the tables mapping extra " "location information (end line, start column offset and end column offset) " @@ -708,7 +710,7 @@ msgid "" "envvar:`PYTHONNODEBUGRANGES`." msgstr "" -#: using/cmdline.rst:531 +#: using/cmdline.rst:534 msgid "" "``-X frozen_modules`` determines whether or not frozen modules are ignored " "by the import machinery. A value of \"on\" means they get imported and " @@ -719,81 +721,81 @@ msgid "" "are always used, even if this flag is set to \"off\"." msgstr "" -#: using/cmdline.rst:539 +#: using/cmdline.rst:542 msgid "" "It also allows passing arbitrary values and retrieving them through the :" "data:`sys._xoptions` dictionary." msgstr "" -#: using/cmdline.rst:542 +#: using/cmdline.rst:545 msgid "The :option:`-X` option was added." msgstr "" -#: using/cmdline.rst:545 +#: using/cmdline.rst:548 msgid "The ``-X faulthandler`` option." msgstr "" -#: using/cmdline.rst:548 +#: using/cmdline.rst:551 msgid "The ``-X showrefcount`` and ``-X tracemalloc`` options." msgstr "" -#: using/cmdline.rst:551 +#: using/cmdline.rst:554 msgid "The ``-X showalloccount`` option." msgstr "" -#: using/cmdline.rst:554 +#: using/cmdline.rst:557 msgid "The ``-X importtime``, ``-X dev`` and ``-X utf8`` options." msgstr "" -#: using/cmdline.rst:557 +#: using/cmdline.rst:560 msgid "" "The ``-X pycache_prefix`` option. The ``-X dev`` option now logs ``close()`` " "exceptions in :class:`io.IOBase` destructor." msgstr "" -#: using/cmdline.rst:561 +#: using/cmdline.rst:564 msgid "" "Using ``-X dev`` option, check *encoding* and *errors* arguments on string " "encoding and decoding operations." msgstr "" -#: using/cmdline.rst:565 +#: using/cmdline.rst:568 msgid "The ``-X showalloccount`` option has been removed." msgstr "" -#: using/cmdline.rst:567 +#: using/cmdline.rst:570 msgid "The ``-X warn_default_encoding`` option." msgstr "" -#: using/cmdline.rst:572 +#: using/cmdline.rst:575 msgid "The ``-X oldparser`` option." msgstr "" -#: using/cmdline.rst:573 +#: using/cmdline.rst:576 msgid "The ``-X no_debug_ranges`` option." msgstr "" -#: using/cmdline.rst:576 +#: using/cmdline.rst:579 msgid "The ``-X frozen_modules`` option." msgstr "" -#: using/cmdline.rst:579 +#: using/cmdline.rst:582 msgid "The ``-X int_max_str_digits`` option." msgstr "" -#: using/cmdline.rst:584 +#: using/cmdline.rst:587 msgid "Options you shouldn't use" msgstr "" -#: using/cmdline.rst:588 +#: using/cmdline.rst:591 msgid "Reserved for use by Jython_." msgstr "" -#: using/cmdline.rst:596 +#: using/cmdline.rst:599 msgid "Environment variables" msgstr "" -#: using/cmdline.rst:598 +#: using/cmdline.rst:601 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 " @@ -801,7 +803,7 @@ msgid "" "conflict." msgstr "" -#: using/cmdline.rst:605 +#: using/cmdline.rst:608 msgid "" "Change the location of the standard Python libraries. By default, the " "libraries are searched in :file:`{prefix}/lib/python{version}` and :file:" @@ -810,14 +812,14 @@ msgid "" "file:`/usr/local`." msgstr "" -#: using/cmdline.rst:611 +#: using/cmdline.rst:614 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:618 +#: using/cmdline.rst:621 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 :" @@ -825,21 +827,21 @@ msgid "" "existent directories are silently ignored." msgstr "" -#: using/cmdline.rst:623 +#: using/cmdline.rst:626 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:627 +#: using/cmdline.rst:630 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:631 +#: using/cmdline.rst:634 msgid "" "An additional directory will be inserted in the search path in front of :" "envvar:`PYTHONPATH` as described above under :ref:`using-on-interface-" @@ -847,19 +849,19 @@ msgid "" "the variable :data:`sys.path`." msgstr "" -#: using/cmdline.rst:639 +#: using/cmdline.rst:642 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:647 +#: using/cmdline.rst:650 msgid "" "If this is set to a non-empty string, it overrides the :data:`sys." "platlibdir` value." msgstr "" -#: using/cmdline.rst:655 +#: using/cmdline.rst:658 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 " @@ -876,20 +878,20 @@ msgid "" "argument ``filename``." msgstr "" -#: using/cmdline.rst:664 +#: using/cmdline.rst:667 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_startup`` with the " "filename as the argument when called on startup." msgstr "" -#: using/cmdline.rst:670 +#: using/cmdline.rst:673 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:677 +#: using/cmdline.rst:680 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 " @@ -900,52 +902,52 @@ msgid "" "breakpointhook` to do nothing but return immediately." msgstr "" -#: using/cmdline.rst:689 +#: using/cmdline.rst:692 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:696 +#: using/cmdline.rst:699 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-i` option." msgstr "" -#: using/cmdline.rst:699 +#: using/cmdline.rst:702 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:705 +#: using/cmdline.rst:708 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-u` option." msgstr "" -#: using/cmdline.rst:711 +#: using/cmdline.rst:714 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:718 +#: using/cmdline.rst:721 msgid "" "If this is set, Python ignores case in :keyword:`import` statements. This " "only works on Windows and macOS." msgstr "" -#: using/cmdline.rst:724 +#: using/cmdline.rst:727 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:731 +#: using/cmdline.rst:734 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 " @@ -953,40 +955,40 @@ msgid "" "``pycache_prefix=PATH`` option." msgstr "" -#: using/cmdline.rst:741 +#: using/cmdline.rst:744 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:744 +#: using/cmdline.rst:747 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:748 +#: using/cmdline.rst:751 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:752 +#: using/cmdline.rst:755 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:759 +#: using/cmdline.rst:762 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:767 +#: using/cmdline.rst:770 msgid "" "If this is set before running the interpreter, it overrides the encoding " "used for stdin/stdout/stderr, in the syntax ``encodingname:errorhandler``. " @@ -994,17 +996,17 @@ msgid "" "have the same meaning as in :func:`str.encode`." msgstr "" -#: using/cmdline.rst:772 +#: using/cmdline.rst:775 msgid "" "For stderr, the ``:errorhandler`` part is ignored; the handler will always " "be ``'backslashreplace'``." msgstr "" -#: using/cmdline.rst:775 +#: using/cmdline.rst:778 msgid "The ``encodingname`` part is now optional." msgstr "" -#: using/cmdline.rst:778 +#: using/cmdline.rst:781 msgid "" "On Windows, the encoding specified by this variable is ignored for " "interactive console buffers unless :envvar:`PYTHONLEGACYWINDOWSSTDIO` is " @@ -1012,13 +1014,13 @@ msgid "" "not affected." msgstr "" -#: using/cmdline.rst:785 +#: using/cmdline.rst:788 msgid "" "If this is set, Python won't add the :data:`user site-packages directory " "` to :data:`sys.path`." msgstr "" -#: using/cmdline.rst:795 +#: using/cmdline.rst:798 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:874 +#: using/cmdline.rst:879 msgid "Set the Python memory allocators and/or install debug hooks." msgstr "" -#: using/cmdline.rst:876 +#: using/cmdline.rst:881 msgid "Set the family of memory allocators used by Python:" msgstr "" -#: using/cmdline.rst:878 +#: using/cmdline.rst:883 msgid "" "``default``: use the :ref:`default memory allocators `." msgstr "" -#: using/cmdline.rst:880 +#: using/cmdline.rst:885 msgid "" "``malloc``: use the :c:func:`malloc` function of the C library for all " "domains (:c:data:`PYMEM_DOMAIN_RAW`, :c:data:`PYMEM_DOMAIN_MEM`, :c:data:" "`PYMEM_DOMAIN_OBJ`)." msgstr "" -#: using/cmdline.rst:883 +#: using/cmdline.rst:888 msgid "" "``pymalloc``: use the :ref:`pymalloc allocator ` for :c:data:" "`PYMEM_DOMAIN_MEM` and :c:data:`PYMEM_DOMAIN_OBJ` domains and use the :c:" "func:`malloc` function for the :c:data:`PYMEM_DOMAIN_RAW` domain." msgstr "" -#: using/cmdline.rst:887 +#: using/cmdline.rst:892 msgid "Install :ref:`debug hooks `:" msgstr "" -#: using/cmdline.rst:889 +#: using/cmdline.rst:894 msgid "" "``debug``: install debug hooks on top of the :ref:`default memory allocators " "`." msgstr "" -#: using/cmdline.rst:891 +#: using/cmdline.rst:896 msgid "``malloc_debug``: same as ``malloc`` but also install debug hooks." msgstr "" -#: using/cmdline.rst:892 +#: using/cmdline.rst:897 msgid "``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks." msgstr "" -#: using/cmdline.rst:894 +#: using/cmdline.rst:899 msgid "Added the ``\"default\"`` allocator." msgstr "" -#: using/cmdline.rst:902 +#: using/cmdline.rst:907 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:906 +#: using/cmdline.rst:911 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:910 +#: using/cmdline.rst:915 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:917 +#: using/cmdline.rst:922 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 " @@ -1148,41 +1151,41 @@ msgid "" "'surrogatepass' are used." msgstr "" -#: using/cmdline.rst:922 +#: using/cmdline.rst:927 msgid "" "This may also be enabled at runtime with :func:`sys." "_enablelegacywindowsfsencoding()`." msgstr "" -#: using/cmdline.rst:939 +#: using/cmdline.rst:944 msgid ":ref:`Availability `: Windows." msgstr "" -#: using/cmdline.rst:927 +#: using/cmdline.rst:932 msgid "See :pep:`529` for more details." msgstr "" -#: using/cmdline.rst:932 +#: using/cmdline.rst:937 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:936 +#: using/cmdline.rst:941 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:946 +#: using/cmdline.rst:951 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:950 +#: using/cmdline.rst:955 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 " @@ -1193,19 +1196,19 @@ msgid "" "runtime:" msgstr "" -#: using/cmdline.rst:958 +#: using/cmdline.rst:963 msgid "``C.UTF-8``" msgstr "" -#: using/cmdline.rst:959 +#: using/cmdline.rst:964 msgid "``C.utf8``" msgstr "" -#: using/cmdline.rst:960 +#: using/cmdline.rst:965 msgid "``UTF-8``" msgstr "" -#: using/cmdline.rst:962 +#: using/cmdline.rst:967 msgid "" "If setting one of these locale categories succeeds, then the ``LC_CTYPE`` " "environment variable will also be set accordingly in the current process " @@ -1218,7 +1221,7 @@ msgid "" "(such as Python's own :func:`locale.getdefaultlocale`)." msgstr "" -#: using/cmdline.rst:972 +#: using/cmdline.rst:977 msgid "" "Configuring one of these locales (either explicitly or via the above " "implicit locale coercion) automatically enables the ``surrogateescape`` :ref:" @@ -1228,7 +1231,7 @@ msgid "" "envvar:`PYTHONIOENCODING` as usual." msgstr "" -#: using/cmdline.rst:979 +#: using/cmdline.rst:984 msgid "" "For debugging purposes, setting ``PYTHONCOERCECLOCALE=warn`` will cause " "Python to emit warning messages on ``stderr`` if either the locale coercion " @@ -1236,7 +1239,7 @@ msgid "" "active when the Python runtime is initialized." msgstr "" -#: using/cmdline.rst:984 +#: using/cmdline.rst:989 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 " @@ -1245,46 +1248,47 @@ msgid "" "system interfaces." msgstr "" -#: using/cmdline.rst:990 +#: using/cmdline.rst:995 msgid ":ref:`Availability `: Unix." msgstr "" -#: using/cmdline.rst:992 +#: using/cmdline.rst:997 msgid "See :pep:`538` for more details." msgstr "" -#: using/cmdline.rst:998 +#: using/cmdline.rst:1003 msgid "" "If this environment variable is set to a non-empty string, enable :ref:" "`Python Development Mode `, introducing additional runtime checks " -"that are too expensive to be enabled by default." +"that are too expensive to be enabled by default. This is equivalent to " +"setting the :option:`-X` ``dev`` option." msgstr "" -#: using/cmdline.rst:1006 +#: using/cmdline.rst:1012 msgid "If set to ``1``, enable the :ref:`Python UTF-8 Mode `." msgstr "" -#: using/cmdline.rst:1008 +#: using/cmdline.rst:1014 msgid "If set to ``0``, disable the :ref:`Python UTF-8 Mode `." msgstr "" -#: using/cmdline.rst:1010 +#: using/cmdline.rst:1016 msgid "" "Setting any other non-empty string causes an error during interpreter " "initialisation." msgstr "" -#: using/cmdline.rst:1017 +#: using/cmdline.rst:1023 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:1020 +#: using/cmdline.rst:1026 msgid "See :ref:`io-encoding-warning` for details." msgstr "" -#: using/cmdline.rst:1026 +#: using/cmdline.rst:1032 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 " @@ -1293,30 +1297,30 @@ msgid "" "visual location indicators when the interpreter displays tracebacks." msgstr "" -#: using/cmdline.rst:1037 +#: using/cmdline.rst:1043 msgid "Debug-mode variables" msgstr "" -#: using/cmdline.rst:1041 +#: using/cmdline.rst:1047 msgid "If set, Python will print threading debug info into stdout." msgstr "" -#: using/cmdline.rst:1043 +#: using/cmdline.rst:1049 msgid "Need a :ref:`debug build of Python `." msgstr "" -#: using/cmdline.rst:1050 +#: using/cmdline.rst:1056 msgid "" "If set, Python will dump objects and reference counts still alive after " "shutting down the interpreter." msgstr "" -#: using/cmdline.rst:1060 +#: using/cmdline.rst:1066 msgid "" "Need Python configured with the :option:`--with-trace-refs` build option." msgstr "" -#: using/cmdline.rst:1057 +#: using/cmdline.rst:1063 msgid "" "If set, Python will dump objects and reference counts still alive after " "shutting down the interpreter into a file called *FILENAME*." diff --git a/using/configure.po b/using/configure.po index bbd351ec1..2c12c2e03 100644 --- a/using/configure.po +++ b/using/configure.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -250,172 +250,198 @@ msgstr "" #: using/configure.rst:179 msgid "" +"Install architecture-independent files in PREFIX. On Unix, it defaults to :" +"file:`/usr/local`." +msgstr "" + +#: using/configure.rst:182 +msgid "This value can be retrived at runtime using :data:`sys.prefix`." +msgstr "" + +#: using/configure.rst:184 +msgid "" +"As an example, one can use ``--prefix=\"$HOME/.local/\"`` to install a " +"Python in its home directory." +msgstr "" + +#: using/configure.rst:189 +msgid "" +"Install architecture-dependent files in EPREFIX, defaults to :option:`--" +"prefix`." +msgstr "" + +#: using/configure.rst:191 +msgid "This value can be retrived at runtime using :data:`sys.exec_prefix`." +msgstr "" + +#: using/configure.rst:195 +msgid "" "Don't build nor install test modules, like the :mod:`test` package or the :" "mod:`_testcapi` extension module (built and installed by default)." msgstr "" -#: using/configure.rst:186 +#: using/configure.rst:202 msgid "Select the :mod:`ensurepip` command run on Python installation:" msgstr "" -#: using/configure.rst:188 +#: using/configure.rst:204 msgid "" "``upgrade`` (default): run ``python -m ensurepip --altinstall --upgrade`` " "command." msgstr "" -#: using/configure.rst:190 +#: using/configure.rst:206 msgid "``install``: run ``python -m ensurepip --altinstall`` command;" msgstr "" -#: using/configure.rst:191 +#: using/configure.rst:207 msgid "``no``: don't run ensurepip;" msgstr "" -#: using/configure.rst:197 +#: using/configure.rst:213 msgid "Performance options" msgstr "" -#: using/configure.rst:199 +#: using/configure.rst:215 msgid "" "Configuring Python using ``--enable-optimizations --with-lto`` (PGO + LTO) " "is recommended for best performance." msgstr "" -#: using/configure.rst:204 +#: using/configure.rst:220 msgid "" "Enable Profile Guided Optimization (PGO) using :envvar:`PROFILE_TASK` " "(disabled by default)." msgstr "" -#: using/configure.rst:207 +#: using/configure.rst:223 msgid "" "The C compiler Clang requires ``llvm-profdata`` program for PGO. On macOS, " "GCC also requires it: GCC is just an alias to Clang on macOS." msgstr "" -#: using/configure.rst:210 +#: using/configure.rst:226 msgid "" "Disable also semantic interposition in libpython if ``--enable-shared`` and " "GCC is used: add ``-fno-semantic-interposition`` to the compiler and linker " "flags." msgstr "" -#: using/configure.rst:216 +#: using/configure.rst:232 msgid "Use ``-fno-semantic-interposition`` on GCC." msgstr "" -#: using/configure.rst:221 +#: using/configure.rst:237 msgid "" "Environment variable used in the Makefile: Python command line arguments for " "the PGO generation task." msgstr "" -#: using/configure.rst:224 +#: using/configure.rst:240 msgid "Default: ``-m test --pgo --timeout=$(TESTTIMEOUT)``." msgstr "" -#: using/configure.rst:230 +#: using/configure.rst:246 msgid "Enable Link Time Optimization (LTO) in any build (disabled by default)." msgstr "" -#: using/configure.rst:232 +#: using/configure.rst:248 msgid "" "The C compiler Clang requires ``llvm-ar`` for LTO (``ar`` on macOS), as well " "as an LTO-aware linker (``ld.gold`` or ``lld``)." msgstr "" -#: using/configure.rst:237 +#: using/configure.rst:253 msgid "To use ThinLTO feature, use ``--with-lto=thin`` on Clang." msgstr "" -#: using/configure.rst:242 +#: using/configure.rst:258 msgid "" "Enable computed gotos in evaluation loop (enabled by default on supported " "compilers)." msgstr "" -#: using/configure.rst:247 +#: using/configure.rst:263 msgid "" "Disable the specialized Python memory allocator :ref:`pymalloc ` " "(enabled by default)." msgstr "" -#: using/configure.rst:250 +#: using/configure.rst:266 msgid "See also :envvar:`PYTHONMALLOC` environment variable." msgstr "" -#: using/configure.rst:254 +#: using/configure.rst:270 msgid "" "Disable static documentation strings to reduce the memory footprint (enabled " "by default). Documentation strings defined in Python are not affected." msgstr "" -#: using/configure.rst:257 +#: using/configure.rst:273 msgid "Don't define the ``WITH_DOC_STRINGS`` macro." msgstr "" -#: using/configure.rst:259 +#: using/configure.rst:275 msgid "See the ``PyDoc_STRVAR()`` macro." msgstr "" -#: using/configure.rst:263 +#: using/configure.rst:279 msgid "Enable C-level code profiling with ``gprof`` (disabled by default)." msgstr "" -#: using/configure.rst:269 +#: using/configure.rst:285 msgid "Python Debug Build" msgstr "" -#: using/configure.rst:271 +#: using/configure.rst:287 msgid "" "A debug build is Python built with the :option:`--with-pydebug` configure " "option." msgstr "" -#: using/configure.rst:274 +#: using/configure.rst:290 msgid "Effects of a debug build:" msgstr "" -#: using/configure.rst:276 +#: using/configure.rst:292 msgid "" "Display all warnings by default: the list of default warning filters is " "empty in the :mod:`warnings` module." msgstr "" -#: using/configure.rst:278 +#: using/configure.rst:294 msgid "Add ``d`` to :data:`sys.abiflags`." msgstr "" -#: using/configure.rst:279 +#: using/configure.rst:295 msgid "Add :func:`sys.gettotalrefcount` function." msgstr "" -#: using/configure.rst:280 +#: using/configure.rst:296 msgid "Add :option:`-X showrefcount <-X>` command line option." msgstr "" -#: using/configure.rst:281 +#: using/configure.rst:297 msgid "Add :envvar:`PYTHONTHREADDEBUG` environment variable." msgstr "" -#: using/configure.rst:282 +#: using/configure.rst:298 msgid "" "Add support for the ``__lltrace__`` variable: enable low-level tracing in " "the bytecode evaluation loop if the variable is defined." msgstr "" -#: using/configure.rst:284 +#: using/configure.rst:300 msgid "" "Install :ref:`debug hooks on memory allocators ` " "to detect buffer overflow and other memory errors." msgstr "" -#: using/configure.rst:286 +#: using/configure.rst:302 msgid "Define ``Py_DEBUG`` and ``Py_REF_DEBUG`` macros." msgstr "" -#: using/configure.rst:287 +#: using/configure.rst:303 msgid "" "Add runtime checks: code surrounded by ``#ifdef Py_DEBUG`` and ``#endif``. " "Enable ``assert(...)`` and ``_PyObject_ASSERT(...)`` assertions: don't set " @@ -423,45 +449,45 @@ msgid "" "option). Main runtime checks:" msgstr "" -#: using/configure.rst:292 +#: using/configure.rst:308 msgid "Add sanity checks on the function arguments." msgstr "" -#: using/configure.rst:293 +#: using/configure.rst:309 msgid "" "Unicode and int objects are created with their memory filled with a pattern " "to detect usage of uninitialized objects." msgstr "" -#: using/configure.rst:295 +#: using/configure.rst:311 msgid "" "Ensure that functions which can clear or replace the current exception are " "not called with an exception raised." msgstr "" -#: using/configure.rst:297 +#: using/configure.rst:313 msgid "Check that deallocator functions don't change the current exception." msgstr "" -#: using/configure.rst:298 +#: using/configure.rst:314 msgid "" "The garbage collector (:func:`gc.collect` function) runs some basic checks " "on objects consistency." msgstr "" -#: using/configure.rst:300 +#: using/configure.rst:316 msgid "" "The :c:macro:`Py_SAFE_DOWNCAST()` macro checks for integer underflow and " "overflow when downcasting from wide types to narrow types." msgstr "" -#: using/configure.rst:303 +#: using/configure.rst:319 msgid "" "See also the :ref:`Python Development Mode ` and the :option:`--" "with-trace-refs` configure option." msgstr "" -#: using/configure.rst:306 +#: using/configure.rst:322 msgid "" "Release builds and debug builds are now ABI compatible: defining the " "``Py_DEBUG`` macro no longer implies the ``Py_TRACE_REFS`` macro (see the :" @@ -469,326 +495,326 @@ msgid "" "incompatibility." msgstr "" -#: using/configure.rst:314 +#: using/configure.rst:330 msgid "Debug options" msgstr "" -#: using/configure.rst:318 +#: using/configure.rst:334 msgid "" ":ref:`Build Python in debug mode `: define the ``Py_DEBUG`` " "macro (disabled by default)." msgstr "" -#: using/configure.rst:323 +#: using/configure.rst:339 msgid "Enable tracing references for debugging purpose (disabled by default)." msgstr "" -#: using/configure.rst:325 +#: using/configure.rst:341 msgid "Effects:" msgstr "" -#: using/configure.rst:327 +#: using/configure.rst:343 msgid "Define the ``Py_TRACE_REFS`` macro." msgstr "" -#: using/configure.rst:328 +#: using/configure.rst:344 msgid "Add :func:`sys.getobjects` function." msgstr "" -#: using/configure.rst:329 +#: using/configure.rst:345 msgid "Add :envvar:`PYTHONDUMPREFS` environment variable." msgstr "" -#: using/configure.rst:331 +#: using/configure.rst:347 msgid "" "This build is not ABI compatible with release build (default build) or debug " "build (``Py_DEBUG`` and ``Py_REF_DEBUG`` macros)." msgstr "" -#: using/configure.rst:338 +#: using/configure.rst:354 msgid "" "Build with C assertions enabled (default is no): ``assert(...);`` and " "``_PyObject_ASSERT(...);``." msgstr "" -#: using/configure.rst:341 +#: using/configure.rst:357 msgid "" "If set, the ``NDEBUG`` macro is not defined in the :envvar:`OPT` compiler " "variable." msgstr "" -#: using/configure.rst:344 +#: using/configure.rst:360 msgid "" "See also the :option:`--with-pydebug` option (:ref:`debug build `) which also enables assertions." msgstr "" -#: using/configure.rst:351 +#: using/configure.rst:367 msgid "Enable Valgrind support (default is no)." msgstr "" -#: using/configure.rst:355 +#: using/configure.rst:371 msgid "Enable DTrace support (default is no)." msgstr "" -#: using/configure.rst:357 +#: using/configure.rst:373 msgid "" "See :ref:`Instrumenting CPython with DTrace and SystemTap `." msgstr "" -#: using/configure.rst:364 +#: using/configure.rst:380 msgid "" "Enable AddressSanitizer memory error detector, ``asan`` (default is no)." msgstr "" -#: using/configure.rst:370 +#: using/configure.rst:386 msgid "" "Enable MemorySanitizer allocation error detector, ``msan`` (default is no)." msgstr "" -#: using/configure.rst:376 +#: using/configure.rst:392 msgid "" "Enable UndefinedBehaviorSanitizer undefined behaviour detector, ``ubsan`` " "(default is no)." msgstr "" -#: using/configure.rst:383 +#: using/configure.rst:399 msgid "Linker options" msgstr "" -#: using/configure.rst:387 +#: using/configure.rst:403 msgid "Enable building a shared Python library: ``libpython`` (default is no)." msgstr "" -#: using/configure.rst:391 +#: using/configure.rst:407 msgid "" "Do not build ``libpythonMAJOR.MINOR.a`` and do not install ``python.o`` " "(built and enabled by default)." msgstr "" -#: using/configure.rst:398 +#: using/configure.rst:414 msgid "Libraries options" msgstr "" -#: using/configure.rst:402 +#: using/configure.rst:418 msgid "Link against additional libraries (default is no)." msgstr "" -#: using/configure.rst:406 +#: using/configure.rst:422 msgid "" "Build the :mod:`pyexpat` module using an installed ``expat`` library " "(default is no)." msgstr "" -#: using/configure.rst:411 +#: using/configure.rst:427 msgid "" "Build the :mod:`_ctypes` extension module using an installed ``ffi`` " "library, see the :mod:`ctypes` module (default is system-dependent)." msgstr "" -#: using/configure.rst:416 +#: using/configure.rst:432 msgid "" "Build the ``_decimal`` extension module using an installed ``mpdec`` " "library, see the :mod:`decimal` module (default is no)." msgstr "" -#: using/configure.rst:423 +#: using/configure.rst:439 msgid "Use ``editline`` library for backend of the :mod:`readline` module." msgstr "" -#: using/configure.rst:425 +#: using/configure.rst:441 msgid "Define the ``WITH_EDITLINE`` macro." msgstr "" -#: using/configure.rst:431 +#: using/configure.rst:447 msgid "Don't build the :mod:`readline` module (built by default)." msgstr "" -#: using/configure.rst:433 +#: using/configure.rst:449 msgid "Don't define the ``HAVE_LIBREADLINE`` macro." msgstr "" -#: using/configure.rst:439 +#: using/configure.rst:455 msgid "" "Override ``libm`` math library to *STRING* (default is system-dependent)." msgstr "" -#: using/configure.rst:443 +#: using/configure.rst:459 msgid "Override ``libc`` C library to *STRING* (default is system-dependent)." msgstr "" -#: using/configure.rst:447 +#: using/configure.rst:463 msgid "Root of the OpenSSL directory." msgstr "" -#: using/configure.rst:453 +#: using/configure.rst:469 msgid "Set runtime library directory (rpath) for OpenSSL libraries:" msgstr "" -#: using/configure.rst:455 +#: using/configure.rst:471 msgid "``no`` (default): don't set rpath;" msgstr "" -#: using/configure.rst:456 +#: using/configure.rst:472 msgid "" "``auto``: auto-detect rpath from :option:`--with-openssl` and ``pkg-config``;" msgstr "" -#: using/configure.rst:458 +#: using/configure.rst:474 msgid "*DIR*: set an explicit rpath." msgstr "" -#: using/configure.rst:464 +#: using/configure.rst:480 msgid "Security Options" msgstr "" -#: using/configure.rst:468 +#: using/configure.rst:484 msgid "Select hash algorithm for use in ``Python/pyhash.c``:" msgstr "" -#: using/configure.rst:470 +#: using/configure.rst:486 msgid "``siphash13`` (default);" msgstr "" -#: using/configure.rst:471 +#: using/configure.rst:487 msgid "``siphash24``;" msgstr "" -#: using/configure.rst:472 +#: using/configure.rst:488 msgid "``fnv``." msgstr "" -#: using/configure.rst:476 +#: using/configure.rst:492 msgid "``siphash13`` is added and it is the new default." msgstr "" -#: using/configure.rst:481 +#: using/configure.rst:497 msgid "Built-in hash modules:" msgstr "" -#: using/configure.rst:483 +#: using/configure.rst:499 msgid "``md5``;" msgstr "" -#: using/configure.rst:484 +#: using/configure.rst:500 msgid "``sha1``;" msgstr "" -#: using/configure.rst:485 +#: using/configure.rst:501 msgid "``sha256``;" msgstr "" -#: using/configure.rst:486 +#: using/configure.rst:502 msgid "``sha512``;" msgstr "" -#: using/configure.rst:487 +#: using/configure.rst:503 msgid "``sha3`` (with shake);" msgstr "" -#: using/configure.rst:488 +#: using/configure.rst:504 msgid "``blake2``." msgstr "" -#: using/configure.rst:494 +#: using/configure.rst:510 msgid "Override the OpenSSL default cipher suites string:" msgstr "" -#: using/configure.rst:496 +#: using/configure.rst:512 msgid "``python`` (default): use Python's preferred selection;" msgstr "" -#: using/configure.rst:497 +#: using/configure.rst:513 msgid "``openssl``: leave OpenSSL's defaults untouched;" msgstr "" -#: using/configure.rst:498 +#: using/configure.rst:514 msgid "*STRING*: use a custom string" msgstr "" -#: using/configure.rst:500 +#: using/configure.rst:516 msgid "See the :mod:`ssl` module." msgstr "" -#: using/configure.rst:506 +#: using/configure.rst:522 msgid "" "The settings ``python`` and *STRING* also set TLS 1.2 as minimum protocol " "version." msgstr "" -#: using/configure.rst:510 +#: using/configure.rst:526 msgid "macOS Options" msgstr "" -#: using/configure.rst:512 +#: using/configure.rst:528 msgid "See ``Mac/README.rst``." msgstr "" -#: using/configure.rst:517 +#: using/configure.rst:533 msgid "" "Create a universal binary build. *SDKDIR* specifies which macOS SDK should " "be used to perform the build (default is no)." msgstr "" -#: using/configure.rst:523 +#: using/configure.rst:539 msgid "" "Create a Python.framework rather than a traditional Unix install. Optional " "*INSTALLDIR* specifies the installation path (default is no)." msgstr "" -#: using/configure.rst:528 +#: using/configure.rst:544 msgid "" "Specify the kind of universal binary that should be created. This option is " "only valid when :option:`--enable-universalsdk` is set." msgstr "" -#: using/configure.rst:531 +#: using/configure.rst:547 msgid "Options:" msgstr "" -#: using/configure.rst:533 +#: using/configure.rst:549 msgid "``universal2``;" msgstr "" -#: using/configure.rst:534 +#: using/configure.rst:550 msgid "``32-bit``;" msgstr "" -#: using/configure.rst:535 +#: using/configure.rst:551 msgid "``64-bit``;" msgstr "" -#: using/configure.rst:536 +#: using/configure.rst:552 msgid "``3-way``;" msgstr "" -#: using/configure.rst:537 +#: using/configure.rst:553 msgid "``intel``;" msgstr "" -#: using/configure.rst:538 +#: using/configure.rst:554 msgid "``intel-32``;" msgstr "" -#: using/configure.rst:539 +#: using/configure.rst:555 msgid "``intel-64``;" msgstr "" -#: using/configure.rst:540 +#: using/configure.rst:556 msgid "``all``." msgstr "" -#: using/configure.rst:544 +#: using/configure.rst:560 msgid "" "Specify the name for the python framework on macOS only valid when :option:" "`--enable-framework` is set (default: ``Python``)." msgstr "" -#: using/configure.rst:549 +#: using/configure.rst:565 msgid "Cross Compiling Options" msgstr "" -#: using/configure.rst:551 +#: using/configure.rst:567 msgid "" "Cross compiling, also known as cross building, can be used to build Python " "for another CPU architecture or platform. Cross compiling requires a Python " @@ -796,101 +822,101 @@ msgid "" "match the version of the cross compiled host Python." msgstr "" -#: using/configure.rst:558 +#: using/configure.rst:574 msgid "" "configure for building on BUILD, usually guessed by :program:`config.guess`." msgstr "" -#: using/configure.rst:562 +#: using/configure.rst:578 msgid "cross-compile to build programs to run on HOST (target platform)" msgstr "" -#: using/configure.rst:566 +#: using/configure.rst:582 msgid "path to build ``python`` binary for cross compiling" msgstr "" -#: using/configure.rst:572 +#: using/configure.rst:588 msgid "An environment variable that points to a file with configure overrides." msgstr "" -#: using/configure.rst:574 +#: using/configure.rst:590 msgid "Example *config.site* file::" msgstr "" -#: using/configure.rst:582 +#: using/configure.rst:598 msgid "Cross compiling example::" msgstr "" -#: using/configure.rst:591 +#: using/configure.rst:607 msgid "Python Build System" msgstr "" -#: using/configure.rst:594 +#: using/configure.rst:610 msgid "Main files of the build system" msgstr "" -#: using/configure.rst:596 +#: using/configure.rst:612 msgid ":file:`configure.ac` => :file:`configure`;" msgstr "" -#: using/configure.rst:597 +#: using/configure.rst:613 msgid "" ":file:`Makefile.pre.in` => :file:`Makefile` (created by :file:`configure`);" msgstr "" -#: using/configure.rst:598 +#: using/configure.rst:614 msgid ":file:`pyconfig.h` (created by :file:`configure`);" msgstr "" -#: using/configure.rst:599 +#: using/configure.rst:615 msgid "" ":file:`Modules/Setup`: C extensions built by the Makefile using :file:" "`Module/makesetup` shell script;" msgstr "" -#: using/configure.rst:601 +#: using/configure.rst:617 msgid ":file:`setup.py`: C extensions built using the :mod:`distutils` module." msgstr "" -#: using/configure.rst:604 +#: using/configure.rst:620 msgid "Main build steps" msgstr "" -#: using/configure.rst:606 +#: using/configure.rst:622 msgid "C files (``.c``) are built as object files (``.o``)." msgstr "" -#: using/configure.rst:607 +#: using/configure.rst:623 msgid "A static ``libpython`` library (``.a``) is created from objects files." msgstr "" -#: using/configure.rst:608 +#: using/configure.rst:624 msgid "" "``python.o`` and the static ``libpython`` library are linked into the final " "``python`` program." msgstr "" -#: using/configure.rst:610 +#: using/configure.rst:626 msgid "" "C extensions are built by the Makefile (see :file:`Modules/Setup`) and " "``python setup.py build``." msgstr "" -#: using/configure.rst:614 +#: using/configure.rst:630 msgid "Main Makefile targets" msgstr "" -#: using/configure.rst:616 +#: using/configure.rst:632 msgid "``make``: Build Python with the standard library." msgstr "" -#: using/configure.rst:617 +#: using/configure.rst:633 msgid "" "``make platform:``: build the ``python`` program, but don't build the " "standard library extension modules." msgstr "" -#: using/configure.rst:619 +#: using/configure.rst:635 msgid "" "``make profile-opt``: build Python using Profile Guided Optimization (PGO). " "You can use the configure :option:`--enable-optimizations` option to make " @@ -898,53 +924,53 @@ msgid "" "``make``)." msgstr "" -#: using/configure.rst:623 +#: using/configure.rst:639 msgid "" "``make buildbottest``: Build Python and run the Python test suite, the same " "way than buildbots test Python. Set ``TESTTIMEOUT`` variable (in seconds) to " "change the test timeout (1200 by default: 20 minutes)." msgstr "" -#: using/configure.rst:626 +#: using/configure.rst:642 msgid "``make install``: Build and install Python." msgstr "" -#: using/configure.rst:627 +#: using/configure.rst:643 msgid "" "``make regen-all``: Regenerate (almost) all generated files; ``make regen-" "stdlib-module-names`` and ``autoconf`` must be run separately for the " "remaining generated files." msgstr "" -#: using/configure.rst:630 +#: using/configure.rst:646 msgid "``make clean``: Remove built files." msgstr "" -#: using/configure.rst:631 +#: using/configure.rst:647 msgid "" "``make distclean``: Same than ``make clean``, but remove also files created " "by the configure script." msgstr "" -#: using/configure.rst:635 +#: using/configure.rst:651 msgid "C extensions" msgstr "" -#: using/configure.rst:637 +#: using/configure.rst:653 msgid "" "Some C extensions are built as built-in modules, like the ``sys`` module. " "They are built with the ``Py_BUILD_CORE_BUILTIN`` macro defined. Built-in " "modules have no ``__file__`` attribute::" msgstr "" -#: using/configure.rst:649 +#: using/configure.rst:665 msgid "" "Other C extensions are built as dynamic libraries, like the ``_asyncio`` " "module. They are built with the ``Py_BUILD_CORE_MODULE`` macro defined. " "Example on Linux x86-64::" msgstr "" -#: using/configure.rst:659 +#: using/configure.rst:675 msgid "" ":file:`Modules/Setup` is used to generate Makefile targets to build C " "extensions. At the beginning of the files, C extensions are built as built-" @@ -952,322 +978,322 @@ msgid "" "dynamic libraries." msgstr "" -#: using/configure.rst:663 +#: using/configure.rst:679 msgid "" "The :file:`setup.py` script only builds C extensions as shared libraries " "using the :mod:`distutils` module." msgstr "" -#: using/configure.rst:666 +#: using/configure.rst:682 msgid "" "The :c:macro:`PyAPI_FUNC()`, :c:macro:`PyAPI_API()` and :c:macro:" "`PyMODINIT_FUNC()` macros of :file:`Include/pyport.h` are defined " "differently depending if the ``Py_BUILD_CORE_MODULE`` macro is defined:" msgstr "" -#: using/configure.rst:670 +#: using/configure.rst:686 msgid "Use ``Py_EXPORTED_SYMBOL`` if the ``Py_BUILD_CORE_MODULE`` is defined" msgstr "" -#: using/configure.rst:671 +#: using/configure.rst:687 msgid "Use ``Py_IMPORTED_SYMBOL`` otherwise." msgstr "" -#: using/configure.rst:673 +#: using/configure.rst:689 msgid "" "If the ``Py_BUILD_CORE_BUILTIN`` macro is used by mistake on a C extension " "built as a shared library, its ``PyInit_xxx()`` function is not exported, " "causing an :exc:`ImportError` on import." msgstr "" -#: using/configure.rst:679 +#: using/configure.rst:695 msgid "Compiler and linker flags" msgstr "" -#: using/configure.rst:681 +#: using/configure.rst:697 msgid "" "Options set by the ``./configure`` script and environment variables and used " "by ``Makefile``." msgstr "" -#: using/configure.rst:685 +#: using/configure.rst:701 msgid "Preprocessor flags" msgstr "" -#: using/configure.rst:689 +#: using/configure.rst:705 msgid "" "Value of :envvar:`CPPFLAGS` variable passed to the ``./configure`` script." msgstr "" -#: using/configure.rst:695 +#: using/configure.rst:711 msgid "" "(Objective) C/C++ preprocessor flags, e.g. ``-I`` if you have " "headers in a nonstandard directory ````." msgstr "" -#: using/configure.rst:893 +#: using/configure.rst:909 msgid "" "Both :envvar:`CPPFLAGS` and :envvar:`LDFLAGS` need to contain the shell's " "value for setup.py to be able to build extension modules using the " "directories specified in the environment variables." msgstr "" -#: using/configure.rst:708 +#: using/configure.rst:724 msgid "" "Extra preprocessor flags added for building the interpreter object files." msgstr "" -#: using/configure.rst:710 +#: using/configure.rst:726 msgid "" "Default: ``$(BASECPPFLAGS) -I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) " "$(CPPFLAGS)``." msgstr "" -#: using/configure.rst:715 +#: using/configure.rst:731 msgid "Compiler flags" msgstr "" -#: using/configure.rst:719 +#: using/configure.rst:735 msgid "C compiler command." msgstr "" -#: using/configure.rst:721 +#: using/configure.rst:737 msgid "Example: ``gcc -pthread``." msgstr "" -#: using/configure.rst:725 +#: using/configure.rst:741 msgid "" "C compiler command used to build the ``main()`` function of programs like " "``python``." msgstr "" -#: using/configure.rst:728 +#: using/configure.rst:744 msgid "" "Variable set by the :option:`--with-cxx-main` option of the configure script." msgstr "" -#: using/configure.rst:731 +#: using/configure.rst:747 msgid "Default: ``$(CC)``." msgstr "" -#: using/configure.rst:735 +#: using/configure.rst:751 msgid "C++ compiler command." msgstr "" -#: using/configure.rst:737 +#: using/configure.rst:753 msgid "Used if the :option:`--with-cxx-main` option is used." msgstr "" -#: using/configure.rst:739 +#: using/configure.rst:755 msgid "Example: ``g++ -pthread``." msgstr "" -#: using/configure.rst:743 +#: using/configure.rst:759 msgid "C compiler flags." msgstr "" -#: using/configure.rst:747 +#: using/configure.rst:763 msgid "" ":envvar:`CFLAGS_NODIST` is used for building the interpreter and stdlib C " "extensions. Use it when a compiler flag should *not* be part of the " "distutils :envvar:`CFLAGS` once Python is installed (:issue:`21121`)." msgstr "" -#: using/configure.rst:751 +#: using/configure.rst:767 msgid "In particular, :envvar:`CFLAGS` should not contain:" msgstr "" -#: using/configure.rst:753 +#: using/configure.rst:769 msgid "" "the compiler flag ``-I`` (for setting the search path for include files). " "The ``-I`` flags are processed from left to right, and any flags in :envvar:" "`CFLAGS` would take precedence over user- and package-supplied ``-I`` flags." msgstr "" -#: using/configure.rst:758 +#: using/configure.rst:774 msgid "" "hardening flags such as ``-Werror`` because distributions cannot control " "whether packages installed by users conform to such heightened standards." msgstr "" -#: using/configure.rst:766 +#: using/configure.rst:782 msgid "Extra C compiler flags." msgstr "" -#: using/configure.rst:770 +#: using/configure.rst:786 msgid "" "Value of :envvar:`CFLAGS` variable passed to the ``./configure`` script." msgstr "" -#: using/configure.rst:777 +#: using/configure.rst:793 msgid "" "Value of :envvar:`CFLAGS_NODIST` variable passed to the ``./configure`` " "script." msgstr "" -#: using/configure.rst:784 +#: using/configure.rst:800 msgid "Base compiler flags." msgstr "" -#: using/configure.rst:788 +#: using/configure.rst:804 msgid "Optimization flags." msgstr "" -#: using/configure.rst:792 +#: using/configure.rst:808 msgid "Strict or non-strict aliasing flags used to compile ``Python/dtoa.c``." msgstr "" -#: using/configure.rst:798 +#: using/configure.rst:814 msgid "Compiler flags used to build a shared library." msgstr "" -#: using/configure.rst:800 +#: using/configure.rst:816 msgid "For example, ``-fPIC`` is used on Linux and on BSD." msgstr "" -#: using/configure.rst:804 +#: using/configure.rst:820 msgid "Extra C flags added for building the interpreter object files." msgstr "" -#: using/configure.rst:806 +#: using/configure.rst:822 msgid "" "Default: ``$(CCSHARED)`` when :option:`--enable-shared` is used, or an empty " "string otherwise." msgstr "" -#: using/configure.rst:811 +#: using/configure.rst:827 msgid "" "Default: ``$(BASECFLAGS) $(OPT) $(CONFIGURE_CFLAGS) $(CFLAGS) " "$(EXTRA_CFLAGS)``." msgstr "" -#: using/configure.rst:815 +#: using/configure.rst:831 msgid "" "Default: ``$(CONFIGURE_CFLAGS_NODIST) $(CFLAGS_NODIST) -I$(srcdir)/Include/" "internal``." msgstr "" -#: using/configure.rst:821 +#: using/configure.rst:837 msgid "C flags used for building the interpreter object files." msgstr "" -#: using/configure.rst:823 +#: using/configure.rst:839 msgid "" "Default: ``$(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) " "$(CFLAGSFORSHARED)``." msgstr "" -#: using/configure.rst:829 +#: using/configure.rst:845 msgid "Default: ``$(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE``." msgstr "" -#: using/configure.rst:835 +#: using/configure.rst:851 msgid "" "Compiler flags to build a standard library extension module as a built-in " "module, like the :mod:`posix` module." msgstr "" -#: using/configure.rst:838 +#: using/configure.rst:854 msgid "Default: ``$(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE_BUILTIN``." msgstr "" -#: using/configure.rst:844 +#: using/configure.rst:860 msgid "Purify command. Purify is a memory debugger program." msgstr "" -#: using/configure.rst:846 +#: using/configure.rst:862 msgid "Default: empty string (not used)." msgstr "" -#: using/configure.rst:850 +#: using/configure.rst:866 msgid "Linker flags" msgstr "" -#: using/configure.rst:854 +#: using/configure.rst:870 msgid "" "Linker command used to build programs like ``python`` and ``_testembed``." msgstr "" -#: using/configure.rst:856 +#: using/configure.rst:872 msgid "Default: ``$(PURIFY) $(MAINCC)``." msgstr "" -#: using/configure.rst:860 +#: using/configure.rst:876 msgid "" "Value of :envvar:`LDFLAGS` variable passed to the ``./configure`` script." msgstr "" -#: using/configure.rst:862 +#: using/configure.rst:878 msgid "" "Avoid assigning :envvar:`CFLAGS`, :envvar:`LDFLAGS`, etc. so users can use " "them on the command line to append to these values without stomping the pre-" "set values." msgstr "" -#: using/configure.rst:870 +#: using/configure.rst:886 msgid "" ":envvar:`LDFLAGS_NODIST` is used in the same manner as :envvar:" "`CFLAGS_NODIST`. Use it when a linker flag should *not* be part of the " "distutils :envvar:`LDFLAGS` once Python is installed (:issue:`35257`)." msgstr "" -#: using/configure.rst:874 +#: using/configure.rst:890 msgid "In particular, :envvar:`LDFLAGS` should not contain:" msgstr "" -#: using/configure.rst:876 +#: using/configure.rst:892 msgid "" "the compiler flag ``-L`` (for setting the search path for libraries). The ``-" "L`` flags are processed from left to right, and any flags in :envvar:" "`LDFLAGS` would take precedence over user- and package-supplied ``-L`` flags." msgstr "" -#: using/configure.rst:883 +#: using/configure.rst:899 msgid "" "Value of :envvar:`LDFLAGS_NODIST` variable passed to the ``./configure`` " "script." msgstr "" -#: using/configure.rst:890 +#: using/configure.rst:906 msgid "" "Linker flags, e.g. ``-L`` if you have libraries in a nonstandard " "directory ````." msgstr "" -#: using/configure.rst:899 +#: using/configure.rst:915 msgid "" "Linker flags to pass libraries to the linker when linking the Python " "executable." msgstr "" -#: using/configure.rst:902 +#: using/configure.rst:918 msgid "Example: ``-lrt``." msgstr "" -#: using/configure.rst:906 +#: using/configure.rst:922 msgid "Command to build a shared library." msgstr "" -#: using/configure.rst:908 +#: using/configure.rst:924 msgid "Default: ``@LDSHARED@ $(PY_LDFLAGS)``." msgstr "" -#: using/configure.rst:912 +#: using/configure.rst:928 msgid "Command to build ``libpython`` shared library." msgstr "" -#: using/configure.rst:914 +#: using/configure.rst:930 msgid "Default: ``@BLDSHARED@ $(PY_CORE_LDFLAGS)``." msgstr "" -#: using/configure.rst:918 +#: using/configure.rst:934 msgid "Default: ``$(CONFIGURE_LDFLAGS) $(LDFLAGS)``." msgstr "" -#: using/configure.rst:922 +#: using/configure.rst:938 msgid "Default: ``$(CONFIGURE_LDFLAGS_NODIST) $(LDFLAGS_NODIST)``." msgstr "" -#: using/configure.rst:928 +#: using/configure.rst:944 msgid "Linker flags used for building the interpreter object files." msgstr "" diff --git a/using/mac.po b/using/mac.po index 360b88c38..cd27c9bc0 100644 --- a/using/mac.po +++ b/using/mac.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -113,8 +113,8 @@ msgid "" "`BBEdit` or :program:`TextWrangler` from Bare Bones Software (see http://www." "barebones.com/products/bbedit/index.html) are good choices, as is :program:" "`TextMate` (see https://macromates.com/). Other editors include :program:" -"`Gvim` (https://macvim-dev.github.io/macvim/) and :program:`Aquamacs` " -"(http://aquamacs.org/)." +"`Gvim` (https://macvim.org/macvim/) and :program:`Aquamacs` (http://aquamacs." +"org/)." msgstr "" #: using/mac.rst:72 diff --git a/using/unix.po b/using/unix.po index 3c7416dbe..c2167cc81 100644 --- a/using/unix.po +++ b/using/unix.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -142,9 +142,9 @@ msgstr "" #: using/unix.rst:95 msgid "" "These are subject to difference depending on local installation " -"conventions; :envvar:`prefix` (``${prefix}``) and :envvar:`exec_prefix` " -"(``${exec_prefix}``) are installation-dependent and should be interpreted as " -"for GNU software; they may be the same." +"conventions; :option:`prefix <--prefix>` and :option:`exec_prefix <--exec-" +"prefix>` are installation-dependent and should be interpreted as for GNU " +"software; they may be the same." msgstr "" #: using/unix.rst:100 diff --git a/using/windows.po b/using/windows.po index 853f69b90..cb559b899 100644 --- a/using/windows.po +++ b/using/windows.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -806,7 +806,7 @@ msgid "" "settings, and installed packages. The standard library is included as pre-" "compiled and optimized ``.pyc`` files in a ZIP, and ``python3.dll``, " "``python37.dll``, ``python.exe`` and ``pythonw.exe`` are all provided. Tcl/" -"tk (including all dependants, such as Idle), pip and the Python " +"tk (including all dependents, such as Idle), pip and the Python " "documentation are not included." msgstr "" @@ -913,7 +913,7 @@ msgid "" msgstr "" #: using/windows.rst:532 -msgid "`ActivePython `_" +msgid "`ActivePython `_" msgstr "" #: using/windows.rst:532 diff --git a/whatsnew/2.0.po b/whatsnew/2.0.po index 78b9ace64..8ddc9170c 100644 --- a/whatsnew/2.0.po +++ b/whatsnew/2.0.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1130,7 +1130,7 @@ msgstr "" #: whatsnew/2.0.rst:935 msgid "" "For more information, consult the Python documentation, or the XML HOWTO at " -"http://pyxml.sourceforge.net/topics/howto/xml-howto.html." +"https://pyxml.sourceforge.net/topics/howto/xml-howto.html." msgstr "" #: whatsnew/2.0.rst:940 diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index d711f23f3..688f40e3d 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -758,7 +758,7 @@ msgid "" "framework based on running embedded examples in docstrings and comparing the " "results against the expected output. PyUnit, contributed by Steve Purcell, " "is a unit testing framework inspired by JUnit, which was in turn an " -"adaptation of Kent Beck's Smalltalk testing framework. See http://pyunit." +"adaptation of Kent Beck's Smalltalk testing framework. See https://pyunit." "sourceforge.net/ for more information about PyUnit." msgstr "" diff --git a/whatsnew/2.2.po b/whatsnew/2.2.po index 3bc9222cb..ba330a9e3 100644 --- a/whatsnew/2.2.po +++ b/whatsnew/2.2.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -702,10 +702,10 @@ msgstr "" #: whatsnew/2.2.rst:634 msgid "" "The idea of generators comes from other programming languages, especially " -"Icon (https://www.cs.arizona.edu/icon/), where the idea of generators is " +"Icon (https://www2.cs.arizona.edu/icon/), where the idea of generators is " "central. In Icon, every expression and function call behaves like a " "generator. One example from \"An Overview of the Icon Programming " -"Language\" at https://www.cs.arizona.edu/icon/docs/ipd266.htm gives an idea " +"Language\" at https://www2.cs.arizona.edu/icon/docs/ipd266.htm gives an idea " "of what this looks like::" msgstr "" diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index 344378419..641393bba 100644 --- a/whatsnew/2.3.po +++ b/whatsnew/2.3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -220,10 +220,10 @@ msgstr "" #: whatsnew/2.3.rst:220 msgid "" "The idea of generators comes from other programming languages, especially " -"Icon (https://www.cs.arizona.edu/icon/), where the idea of generators is " +"Icon (https://www2.cs.arizona.edu/icon/), where the idea of generators is " "central. In Icon, every expression and function call behaves like a " "generator. One example from \"An Overview of the Icon Programming " -"Language\" at https://www.cs.arizona.edu/icon/docs/ipd266.htm gives an idea " +"Language\" at https://www2.cs.arizona.edu/icon/docs/ipd266.htm gives an idea " "of what this looks like::" msgstr "" @@ -1438,7 +1438,7 @@ msgstr "" #: whatsnew/2.3.rst:1334 msgid "" "The IDLE integrated development environment has been updated using the code " -"from the IDLEfork project (http://idlefork.sourceforge.net). The most " +"from the IDLEfork project (https://idlefork.sourceforge.net). The most " "notable feature is that the code being developed is now executed in a " "subprocess, meaning that there's no longer any need for manual ``reload()`` " "operations. IDLE's core code has been incorporated into the standard library " @@ -2344,3 +2344,11 @@ msgid "" "Norwitz, Hans Nowak, Chris Reedy, Francesco Ricciardi, Vinay Sajip, Neil " "Schemenauer, Roman Suzi, Jason Tishler, Just van Rossum." msgstr "" + +#: whatsnew/2.3.rst:371 +msgid "universal newlines" +msgstr "" + +#: whatsnew/2.3.rst:371 +msgid "What's new" +msgstr "" diff --git a/whatsnew/2.4.po b/whatsnew/2.4.po index f1dba6654..466db8556 100644 --- a/whatsnew/2.4.po +++ b/whatsnew/2.4.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -840,8 +840,8 @@ msgstr "" #: whatsnew/2.4.rst:758 msgid "" -"The code for these functions came from the GLib library (https://developer." -"gnome.org/glib/stable/), whose developers kindly relicensed the relevant " +"The code for these functions came from the GLib library (https://developer-" +"old.gnome.org/glib/2.26/), whose developers kindly relicensed the relevant " "functions and donated them to the Python Software Foundation. The :mod:" "`locale` module can now change the numeric locale, letting extensions such " "as GTK+ produce the correct results." @@ -1801,3 +1801,11 @@ msgid "" "Koray Can, Hye-Shik Chang, Michael Dyck, Raymond Hettinger, Brian Hurt, " "Hamish Lawson, Fredrik Lundh, Sean Reifschneider, Sadruddin Rejeb." msgstr "" + +#: whatsnew/2.4.rst:414 +msgid "universal newlines" +msgstr "" + +#: whatsnew/2.4.rst:414 +msgid "What's new" +msgstr "" diff --git a/whatsnew/2.5.po b/whatsnew/2.5.po index 4a07c627a..fcfec5e2c 100644 --- a/whatsnew/2.5.po +++ b/whatsnew/2.5.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2737,3 +2737,11 @@ msgid "" "Paul Prescod, James Pryor, Mike Rovner, Scott Weikart, Barry Warsaw, Thomas " "Wouters." msgstr "" + +#: whatsnew/2.5.rst:1342 +msgid "universal newlines" +msgstr "" + +#: whatsnew/2.5.rst:1342 +msgid "What's new" +msgstr "" diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index c0e8a0712..139504568 100644 --- a/whatsnew/2.6.po +++ b/whatsnew/2.6.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -185,7 +185,7 @@ msgstr "" #: whatsnew/2.6.rst:174 msgid "" "Hosting of the Python bug tracker is kindly provided by `Upfront Systems " -"`__ of Stellenbosch, South Africa. Martin " +"`__ of Stellenbosch, South Africa. Martin " "von Löwis put a lot of effort into importing existing bugs and patches from " "SourceForge; his scripts for this import operation are at ``https://svn." "python.org/view/tracker/importer/`` and may be useful to other projects " @@ -1564,8 +1564,9 @@ msgstr "" #: whatsnew/2.6.rst:1436 msgid "" -"`Scheme's number datatypes `__ from the R5RS Scheme specification." +"`Scheme's number datatypes `__ from the R5RS " +"Scheme specification." msgstr "" #: whatsnew/2.6.rst:1440 @@ -2645,8 +2646,8 @@ msgstr "" #: whatsnew/2.6.rst:2366 msgid "" -"The :mod:`socket` module now supports TIPC (http://tipc.sourceforge.net/), a " -"high-performance non-IP-based protocol designed for use in clustered " +"The :mod:`socket` module now supports TIPC (https://tipc.sourceforge.net/), " +"a high-performance non-IP-based protocol designed for use in clustered " "environments. TIPC addresses are 4- or 5-tuples. (Contributed by Alberto " "Bertogli; :issue:`1646`.)" msgstr "" @@ -3688,3 +3689,11 @@ msgid "" "Georg Brandl, Steve Brown, Nick Coghlan, Ralph Corderoy, Jim Jewett, Kent " "Johnson, Chris Lambacher, Martin Michlmayr, Antoine Pitrou, Brian Warner." msgstr "" + +#: whatsnew/2.6.rst:1072 +msgid "universal newlines" +msgstr "" + +#: whatsnew/2.6.rst:1072 +msgid "What's new" +msgstr "" diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index 733d1af65..ecc87d0bb 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2438,14 +2438,15 @@ msgstr "" #: whatsnew/2.7.rst:2104 msgid "" "The latest release of the GNU Debugger, GDB 7, can be `scripted using Python " -"`__. When you " -"begin debugging an executable program P, GDB will look for a file named ``P-" -"gdb.py`` and automatically read it. Dave Malcolm contributed a :file:" -"`python-gdb.py` that adds a number of commands useful when debugging Python " -"itself. For example, ``py-up`` and ``py-down`` go up or down one Python " -"stack frame, which usually corresponds to several C stack frames. ``py-" -"print`` prints the value of a Python variable, and ``py-bt`` prints the " -"Python stack trace. (Added as a result of :issue:`8032`.)" +"`__. When you begin debugging an " +"executable program P, GDB will look for a file named ``P-gdb.py`` and " +"automatically read it. Dave Malcolm contributed a :file:`python-gdb.py` " +"that adds a number of commands useful when debugging Python itself. For " +"example, ``py-up`` and ``py-down`` go up or down one Python stack frame, " +"which usually corresponds to several C stack frames. ``py-print`` prints " +"the value of a Python variable, and ``py-bt`` prints the Python stack " +"trace. (Added as a result of :issue:`8032`.)" msgstr "" #: whatsnew/2.7.rst:2116 diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index 1eac16ad6..369d1fb45 100644 --- a/whatsnew/3.11.po +++ b/whatsnew/3.11.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -151,7 +151,7 @@ msgid "" "pep670>`" msgstr "" -#: whatsnew/3.11.rst:2175 +#: whatsnew/3.11.rst:2195 msgid "New Features" msgstr "" @@ -265,7 +265,7 @@ msgid "" "significantly updated. It now supports company/tag syntax as defined in :pep:" "`514` using the ``-V:/`` argument instead of the limited ``-" ".``. This allows launching distributions other than " -"``PythonCore``, the one hosted on `python.org `_." +"``PythonCore``, the one hosted on `python.org `_." msgstr "" #: whatsnew/3.11.rst:227 @@ -770,51 +770,41 @@ msgstr "" #: whatsnew/3.11.rst:671 msgid "" -"Changed :class:`~enum.IntEnum`, :class:`~enum.IntFlag` and :class:`~enum." -"StrEnum` to now inherit from :class:`~enum.ReprEnum`, so their :func:`str` " -"output now matches :func:`format` (both ``str(AnIntEnum.ONE)`` and " -"``format(AnIntEnum.ONE)`` return ``'1'``, whereas before ``str(AnIntEnum." -"ONE)`` returned ``'AnIntEnum.ONE'``." -msgstr "" - -#: whatsnew/3.11.rst:677 -msgid "" "Changed :meth:`Enum.__format__() ` (the default for :" -"func:`format`, :meth:`str.format` and :term:`f-string`\\s) of enums with " -"mixed-in types (e.g. :class:`int`, :class:`str`) to also include the class " -"name in the output, not just the member's key. This matches the existing " -"behavior of :meth:`enum.Enum.__str__`, returning e.g. ``'AnEnum.MEMBER'`` " -"for an enum ``AnEnum(str, Enum)`` instead of just ``'MEMBER'``." +"func:`format`, :meth:`str.format` and :term:`f-string`\\s) to always produce " +"the same result as :meth:`Enum.__str__()`: for enums inheriting from :class:" +"`~enum.ReprEnum` it will be the member's value; for all other enums it will " +"be the enum and member name (e.g. ``Color.RED``)." msgstr "" -#: whatsnew/3.11.rst:685 +#: whatsnew/3.11.rst:677 msgid "" "Added a new *boundary* class parameter to :class:`~enum.Flag` enums and the :" "class:`~enum.FlagBoundary` enum with its options, to control how to handle " "out-of-range flag values." msgstr "" -#: whatsnew/3.11.rst:689 +#: whatsnew/3.11.rst:681 msgid "" "Added the :func:`~enum.verify` enum decorator and the :class:`~enum." "EnumCheck` enum with its options, to check enum classes against several " "specific constraints." msgstr "" -#: whatsnew/3.11.rst:693 +#: whatsnew/3.11.rst:685 msgid "" "Added the :func:`~enum.member` and :func:`~enum.nonmember` decorators, to " "ensure the decorated object is/is not converted to an enum member." msgstr "" -#: whatsnew/3.11.rst:696 +#: whatsnew/3.11.rst:688 msgid "" "Added the :func:`~enum.property` decorator, which works like :func:" "`property` except for enums. Use this instead of :func:`types." "DynamicClassAttribute`." msgstr "" -#: whatsnew/3.11.rst:700 +#: whatsnew/3.11.rst:692 msgid "" "Added the :func:`~enum.global_enum` enum decorator, which adjusts :meth:" "`~object.__repr__` and :meth:`~object.__str__` to show values as members of " @@ -823,80 +813,80 @@ msgid "" "``'RegexFlag.ASCII'``." msgstr "" -#: whatsnew/3.11.rst:706 +#: whatsnew/3.11.rst:698 msgid "" "Enhanced :class:`~enum.Flag` to support :func:`len`, iteration and :keyword:" "`in`/:keyword:`not in` on its members. For example, the following now works: " "``len(AFlag(3)) == 2 and list(AFlag(3)) == (AFlag.ONE, AFlag.TWO)``" msgstr "" -#: whatsnew/3.11.rst:711 +#: whatsnew/3.11.rst:703 msgid "" "Changed :class:`~enum.Enum` and :class:`~enum.Flag` so that members are now " "defined before :meth:`~object.__init_subclass__` is called; :func:`dir` now " "includes methods, etc., from mixed-in data types." msgstr "" -#: whatsnew/3.11.rst:716 +#: whatsnew/3.11.rst:708 msgid "" "Changed :class:`~enum.Flag` to only consider primary values (power of two) " "canonical while composite values (``3``, ``6``, ``10``, etc.) are considered " "aliases; inverted flags are coerced to their positive equivalent." msgstr "" -#: whatsnew/3.11.rst:725 +#: whatsnew/3.11.rst:717 msgid "fcntl" msgstr "" -#: whatsnew/3.11.rst:727 +#: whatsnew/3.11.rst:719 msgid "" "On FreeBSD, the :data:`!F_DUP2FD` and :data:`!F_DUP2FD_CLOEXEC` flags " "respectively are supported, the former equals to ``dup2`` usage while the " "latter set the ``FD_CLOEXEC`` flag in addition." msgstr "" -#: whatsnew/3.11.rst:735 +#: whatsnew/3.11.rst:727 msgid "fractions" msgstr "" -#: whatsnew/3.11.rst:737 +#: whatsnew/3.11.rst:729 msgid "" "Support :PEP:`515`-style initialization of :class:`~fractions.Fraction` from " "string. (Contributed by Sergey B Kirpichev in :issue:`44258`.)" msgstr "" -#: whatsnew/3.11.rst:740 +#: whatsnew/3.11.rst:732 msgid "" ":class:`~fractions.Fraction` now implements an ``__int__`` method, so that " "an ``isinstance(some_fraction, typing.SupportsInt)`` check passes. " "(Contributed by Mark Dickinson in :issue:`44547`.)" msgstr "" -#: whatsnew/3.11.rst:748 +#: whatsnew/3.11.rst:740 msgid "functools" msgstr "" -#: whatsnew/3.11.rst:750 +#: whatsnew/3.11.rst:742 msgid "" ":func:`functools.singledispatch` now supports :data:`types.UnionType` and :" "data:`typing.Union` as annotations to the dispatch argument.::" msgstr "" -#: whatsnew/3.11.rst:775 +#: whatsnew/3.11.rst:767 msgid "(Contributed by Yurii Karabas in :issue:`46014`.)" msgstr "" -#: whatsnew/3.11.rst:781 +#: whatsnew/3.11.rst:773 msgid "hashlib" msgstr "" -#: whatsnew/3.11.rst:783 +#: whatsnew/3.11.rst:775 msgid "" ":func:`hashlib.blake2b` and :func:`hashlib.blake2s` now prefer `libb2`_ over " "Python's vendored copy. (Contributed by Christian Heimes in :issue:`47095`.)" msgstr "" -#: whatsnew/3.11.rst:787 +#: whatsnew/3.11.rst:779 msgid "" "The internal ``_sha3`` module with SHA3 and SHAKE algorithms now uses " "*tiny_sha3* instead of the *Keccak Code Package* to reduce code and binary " @@ -905,47 +895,47 @@ msgid "" "OpenSSL support. (Contributed by Christian Heimes in :issue:`47098`.)" msgstr "" -#: whatsnew/3.11.rst:794 +#: whatsnew/3.11.rst:786 msgid "" "Add :func:`hashlib.file_digest`, a helper function for efficient hashing of " "files or file-like objects. (Contributed by Christian Heimes in :gh:`89313`.)" msgstr "" -#: whatsnew/3.11.rst:802 +#: whatsnew/3.11.rst:794 msgid "IDLE and idlelib" msgstr "" -#: whatsnew/3.11.rst:804 +#: whatsnew/3.11.rst:796 msgid "" "Apply syntax highlighting to ``.pyi`` files. (Contributed by Alex Waygood " "and Terry Jan Reedy in :issue:`45447`.)" msgstr "" -#: whatsnew/3.11.rst:807 +#: whatsnew/3.11.rst:799 msgid "" "Include prompts when saving Shell with inputs and outputs. (Contributed by " "Terry Jan Reedy in :gh:`95191`.)" msgstr "" -#: whatsnew/3.11.rst:814 +#: whatsnew/3.11.rst:806 msgid "inspect" msgstr "" -#: whatsnew/3.11.rst:816 +#: whatsnew/3.11.rst:808 msgid "" "Add :func:`~inspect.getmembers_static` to return all members without " "triggering dynamic lookup via the descriptor protocol. (Contributed by " "Weipeng Hong in :issue:`30533`.)" msgstr "" -#: whatsnew/3.11.rst:820 +#: whatsnew/3.11.rst:812 msgid "" "Add :func:`~inspect.ismethodwrapper` for checking if the type of an object " "is a :class:`~types.MethodWrapperType`. (Contributed by Hakan Çelik in :" "issue:`29418`.)" msgstr "" -#: whatsnew/3.11.rst:824 +#: whatsnew/3.11.rst:816 msgid "" "Change the frame-related functions in the :mod:`inspect` module to return " "new :class:`~inspect.FrameInfo` and :class:`~inspect.Traceback` class " @@ -954,46 +944,46 @@ msgid "" "line number, column and end column). The affected functions are:" msgstr "" -#: whatsnew/3.11.rst:830 +#: whatsnew/3.11.rst:822 msgid ":func:`inspect.getframeinfo`" msgstr "" -#: whatsnew/3.11.rst:831 +#: whatsnew/3.11.rst:823 msgid ":func:`inspect.getouterframes`" msgstr "" -#: whatsnew/3.11.rst:832 +#: whatsnew/3.11.rst:824 msgid ":func:`inspect.getinnerframes`," msgstr "" -#: whatsnew/3.11.rst:833 +#: whatsnew/3.11.rst:825 msgid ":func:`inspect.stack`" msgstr "" -#: whatsnew/3.11.rst:834 +#: whatsnew/3.11.rst:826 msgid ":func:`inspect.trace`" msgstr "" -#: whatsnew/3.11.rst:836 +#: whatsnew/3.11.rst:828 msgid "(Contributed by Pablo Galindo in :gh:`88116`.)" msgstr "" -#: whatsnew/3.11.rst:842 +#: whatsnew/3.11.rst:834 msgid "locale" msgstr "" -#: whatsnew/3.11.rst:844 +#: whatsnew/3.11.rst:836 msgid "" "Add :func:`locale.getencoding` to get the current locale encoding. It is " "similar to ``locale.getpreferredencoding(False)`` but ignores the :ref:" "`Python UTF-8 Mode `." msgstr "" -#: whatsnew/3.11.rst:852 +#: whatsnew/3.11.rst:844 msgid "logging" msgstr "" -#: whatsnew/3.11.rst:854 +#: whatsnew/3.11.rst:846 msgid "" "Added :func:`~logging.getLevelNamesMapping` to return a mapping from logging " "level names (e.g. ``'CRITICAL'``) to the values of their corresponding :ref:" @@ -1001,7 +991,7 @@ msgid "" "`88024`.)" msgstr "" -#: whatsnew/3.11.rst:859 +#: whatsnew/3.11.rst:851 msgid "" "Added a :meth:`~logging.handlers.SysLogHandler.createSocket` method to :" "class:`~logging.handlers.SysLogHandler`, to match :meth:`SocketHandler." @@ -1010,23 +1000,23 @@ msgid "" "there is no active socket. (Contributed by Kirill Pinchuk in :gh:`88457`.)" msgstr "" -#: whatsnew/3.11.rst:871 +#: whatsnew/3.11.rst:863 msgid "math" msgstr "" -#: whatsnew/3.11.rst:873 +#: whatsnew/3.11.rst:865 msgid "" "Add :func:`math.exp2`: return 2 raised to the power of x. (Contributed by " "Gideon Mitchell in :issue:`45917`.)" msgstr "" -#: whatsnew/3.11.rst:876 +#: whatsnew/3.11.rst:868 msgid "" "Add :func:`math.cbrt`: return the cube root of x. (Contributed by Ajith " "Ramachandran in :issue:`44357`.)" msgstr "" -#: whatsnew/3.11.rst:879 +#: whatsnew/3.11.rst:871 msgid "" "The behaviour of two :func:`math.pow` corner cases was changed, for " "consistency with the IEEE 754 specification. The operations ``math.pow(0.0, -" @@ -1035,39 +1025,39 @@ msgid "" "`44339`.)" msgstr "" -#: whatsnew/3.11.rst:885 +#: whatsnew/3.11.rst:877 msgid "" "The :data:`math.nan` value is now always available. (Contributed by Victor " "Stinner in :issue:`46917`.)" msgstr "" -#: whatsnew/3.11.rst:892 +#: whatsnew/3.11.rst:884 msgid "operator" msgstr "" -#: whatsnew/3.11.rst:894 +#: whatsnew/3.11.rst:886 msgid "" "A new function ``operator.call`` has been added, such that ``operator." "call(obj, *args, **kwargs) == obj(*args, **kwargs)``. (Contributed by Antony " "Lee in :issue:`44019`.)" msgstr "" -#: whatsnew/3.11.rst:902 +#: whatsnew/3.11.rst:894 msgid "os" msgstr "" -#: whatsnew/3.11.rst:904 +#: whatsnew/3.11.rst:896 msgid "" "On Windows, :func:`os.urandom` now uses ``BCryptGenRandom()``, instead of " "``CryptGenRandom()`` which is deprecated. (Contributed by Dong-hee Na in :" "issue:`44611`.)" msgstr "" -#: whatsnew/3.11.rst:912 +#: whatsnew/3.11.rst:904 msgid "pathlib" msgstr "" -#: whatsnew/3.11.rst:914 +#: whatsnew/3.11.rst:906 msgid "" ":meth:`~pathlib.Path.glob` and :meth:`~pathlib.Path.rglob` return only " "directories if *pattern* ends with a pathname components separator: :data:" @@ -1075,56 +1065,56 @@ msgid "" "`22276` and :issue:`33392`.)" msgstr "" -#: whatsnew/3.11.rst:923 +#: whatsnew/3.11.rst:915 msgid "re" msgstr "" -#: whatsnew/3.11.rst:925 +#: whatsnew/3.11.rst:917 msgid "" "Atomic grouping (``(?>...)``) and possessive quantifiers (``*+``, ``++``, ``?" "+``, ``{m,n}+``) are now supported in regular expressions. (Contributed by " "Jeffrey C. Jacobs and Serhiy Storchaka in :issue:`433030`.)" msgstr "" -#: whatsnew/3.11.rst:933 +#: whatsnew/3.11.rst:925 msgid "shutil" msgstr "" -#: whatsnew/3.11.rst:935 +#: whatsnew/3.11.rst:927 msgid "" "Add optional parameter *dir_fd* in :func:`shutil.rmtree`. (Contributed by " "Serhiy Storchaka in :issue:`46245`.)" msgstr "" -#: whatsnew/3.11.rst:942 +#: whatsnew/3.11.rst:934 msgid "socket" msgstr "" -#: whatsnew/3.11.rst:944 +#: whatsnew/3.11.rst:936 msgid "" "Add CAN Socket support for NetBSD. (Contributed by Thomas Klausner in :issue:" "`30512`.)" msgstr "" -#: whatsnew/3.11.rst:947 +#: whatsnew/3.11.rst:939 msgid "" ":meth:`~socket.create_connection` has an option to raise, in case of failure " "to connect, an :exc:`ExceptionGroup` containing all errors instead of only " "raising the last error. (Contributed by Irit Katriel in :issue:`29980`.)" msgstr "" -#: whatsnew/3.11.rst:956 +#: whatsnew/3.11.rst:948 msgid "sqlite3" msgstr "" -#: whatsnew/3.11.rst:958 +#: whatsnew/3.11.rst:950 msgid "" "You can now disable the authorizer by passing :const:`None` to :meth:" "`~sqlite3.Connection.set_authorizer`. (Contributed by Erlend E. Aasland in :" "issue:`44491`.)" msgstr "" -#: whatsnew/3.11.rst:962 +#: whatsnew/3.11.rst:954 msgid "" "Collation name :meth:`~sqlite3.Connection.create_collation` can now contain " "any Unicode character. Collation names with invalid characters now raise :" @@ -1132,7 +1122,7 @@ msgid "" "(Contributed by Erlend E. Aasland in :issue:`44688`.)" msgstr "" -#: whatsnew/3.11.rst:967 +#: whatsnew/3.11.rst:959 msgid "" ":mod:`sqlite3` exceptions now include the SQLite extended error code as :" "attr:`~sqlite3.Error.sqlite_errorcode` and the SQLite error name as :attr:" @@ -1140,7 +1130,7 @@ msgid "" "Shahaf, and Erlend E. Aasland in :issue:`16379` and :issue:`24139`.)" msgstr "" -#: whatsnew/3.11.rst:973 +#: whatsnew/3.11.rst:965 msgid "" "Add :meth:`~sqlite3.Connection.setlimit` and :meth:`~sqlite3.Connection." "getlimit` to :class:`sqlite3.Connection` for setting and getting SQLite " @@ -1148,14 +1138,14 @@ msgid "" "`45243`.)" msgstr "" -#: whatsnew/3.11.rst:978 +#: whatsnew/3.11.rst:970 msgid "" ":mod:`sqlite3` now sets :attr:`sqlite3.threadsafety` based on the default " "threading mode the underlying SQLite library has been compiled with. " "(Contributed by Erlend E. Aasland in :issue:`45613`.)" msgstr "" -#: whatsnew/3.11.rst:982 +#: whatsnew/3.11.rst:974 msgid "" ":mod:`sqlite3` C callbacks now use unraisable exceptions if callback " "tracebacks are enabled. Users can now register an :func:`unraisable hook " @@ -1163,14 +1153,14 @@ msgid "" "(Contributed by Erlend E. Aasland in :issue:`45828`.)" msgstr "" -#: whatsnew/3.11.rst:988 +#: whatsnew/3.11.rst:980 msgid "" "Fetch across rollback no longer raises :exc:`~sqlite3.InterfaceError`. " "Instead we leave it to the SQLite library to handle these cases. " "(Contributed by Erlend E. Aasland in :issue:`44092`.)" msgstr "" -#: whatsnew/3.11.rst:992 +#: whatsnew/3.11.rst:984 msgid "" "Add :meth:`~sqlite3.Connection.serialize` and :meth:`~sqlite3.Connection." "deserialize` to :class:`sqlite3.Connection` for serializing and " @@ -1178,25 +1168,25 @@ msgid "" "`41930`.)" msgstr "" -#: whatsnew/3.11.rst:997 +#: whatsnew/3.11.rst:989 msgid "" "Add :meth:`~sqlite3.Connection.create_window_function` to :class:`sqlite3." "Connection` for creating aggregate window functions. (Contributed by Erlend " "E. Aasland in :issue:`34916`.)" msgstr "" -#: whatsnew/3.11.rst:1001 +#: whatsnew/3.11.rst:993 msgid "" "Add :meth:`~sqlite3.Connection.blobopen` to :class:`sqlite3.Connection`. :" "class:`sqlite3.Blob` allows incremental I/O operations on blobs. " "(Contributed by Aviv Palivoda and Erlend E. Aasland in :issue:`24905`.)" msgstr "" -#: whatsnew/3.11.rst:1009 +#: whatsnew/3.11.rst:1001 msgid "string" msgstr "" -#: whatsnew/3.11.rst:1011 +#: whatsnew/3.11.rst:1003 msgid "" "Add :meth:`~string.Template.get_identifiers` and :meth:`~string.Template." "is_valid` to :class:`string.Template`, which respectively return all valid " @@ -1204,11 +1194,11 @@ msgid "" "by Ben Kehoe in :gh:`90465`.)" msgstr "" -#: whatsnew/3.11.rst:1021 +#: whatsnew/3.11.rst:1013 msgid "sys" msgstr "" -#: whatsnew/3.11.rst:1023 +#: whatsnew/3.11.rst:1015 msgid "" ":func:`sys.exc_info` now derives the ``type`` and ``traceback`` fields from " "the ``value`` (the exception instance), so when an exception is modified " @@ -1217,24 +1207,24 @@ msgid "" "issue:`45711`.)" msgstr "" -#: whatsnew/3.11.rst:1029 +#: whatsnew/3.11.rst:1021 msgid "" "Add :func:`sys.exception` which returns the active exception instance " "(equivalent to ``sys.exc_info()[1]``). (Contributed by Irit Katriel in :" "issue:`46328`.)" msgstr "" -#: whatsnew/3.11.rst:1033 +#: whatsnew/3.11.rst:1025 msgid "" "Add the :data:`sys.flags.safe_path ` flag. (Contributed by Victor " "Stinner in :gh:`57684`.)" msgstr "" -#: whatsnew/3.11.rst:1040 +#: whatsnew/3.11.rst:1032 msgid "sysconfig" msgstr "" -#: whatsnew/3.11.rst:1042 +#: whatsnew/3.11.rst:1034 msgid "" "Three new :ref:`installation schemes ` (*posix_venv*, " "*nt_venv* and *venv*) were added and are used when Python creates new " @@ -1248,11 +1238,11 @@ msgid "" "(Contributed by Miro Hrončok in :issue:`45413`.)" msgstr "" -#: whatsnew/3.11.rst:1059 +#: whatsnew/3.11.rst:1051 msgid "tempfile" msgstr "" -#: whatsnew/3.11.rst:1061 +#: whatsnew/3.11.rst:1053 msgid "" ":class:`~tempfile.SpooledTemporaryFile` objects now fully implement the " "methods of :class:`io.BufferedIOBase` or :class:`io.TextIOBase` (depending " @@ -1261,11 +1251,11 @@ msgid "" "`70363`.)" msgstr "" -#: whatsnew/3.11.rst:1072 +#: whatsnew/3.11.rst:1064 msgid "threading" msgstr "" -#: whatsnew/3.11.rst:1074 +#: whatsnew/3.11.rst:1066 msgid "" "On Unix, if the ``sem_clockwait()`` function is available in the C library " "(glibc 2.30 and newer), the :meth:`threading.Lock.acquire` method now uses " @@ -1275,11 +1265,11 @@ msgid "" "`41710`.)" msgstr "" -#: whatsnew/3.11.rst:1085 +#: whatsnew/3.11.rst:1077 msgid "time" msgstr "" -#: whatsnew/3.11.rst:1087 +#: whatsnew/3.11.rst:1079 msgid "" "On Unix, :func:`time.sleep` now uses the ``clock_nanosleep()`` or " "``nanosleep()`` function, if available, which has a resolution of 1 " @@ -1288,7 +1278,7 @@ msgid "" "Benjamin Szőke and Victor Stinner in :issue:`21302`.)" msgstr "" -#: whatsnew/3.11.rst:1093 +#: whatsnew/3.11.rst:1085 msgid "" "On Windows 8.1 and newer, :func:`time.sleep` now uses a waitable timer based " "on `high-resolution timers `. " "(Contributed by Niklas Rosenstein in :gh:`85542`.)" msgstr "" -#: whatsnew/3.11.rst:1184 +#: whatsnew/3.11.rst:1176 msgid "" ":func:`typing.get_type_hints` no longer adds :data:`~typing.Optional` to " "parameters with ``None`` as a default. (Contributed by Nikita Sobolev in :gh:" "`90353`.)" msgstr "" -#: whatsnew/3.11.rst:1188 +#: whatsnew/3.11.rst:1180 msgid "" ":func:`typing.get_type_hints` now supports evaluating bare stringified :data:" "`~typing.ClassVar` annotations. (Contributed by Gregory Beauregard in :gh:" "`90711`.)" msgstr "" -#: whatsnew/3.11.rst:1192 +#: whatsnew/3.11.rst:1184 msgid "" ":func:`typing.no_type_check` no longer modifies external classes and " "functions. It also now correctly marks classmethods as not to be type " "checked. (Contributed by Nikita Sobolev in :gh:`90729`.)" msgstr "" -#: whatsnew/3.11.rst:1200 +#: whatsnew/3.11.rst:1192 msgid "unicodedata" msgstr "" -#: whatsnew/3.11.rst:1202 +#: whatsnew/3.11.rst:1194 msgid "" "The Unicode database has been updated to version 14.0.0. (Contributed by " "Benjamin Peterson in :issue:`45190`)." msgstr "" -#: whatsnew/3.11.rst:1209 +#: whatsnew/3.11.rst:1201 msgid "unittest" msgstr "" -#: whatsnew/3.11.rst:1211 +#: whatsnew/3.11.rst:1203 msgid "" "Added methods :meth:`~unittest.TestCase.enterContext` and :meth:`~unittest." "TestCase.enterClassContext` of class :class:`~unittest.TestCase`, method :" @@ -1462,11 +1452,11 @@ msgid "" "enterModuleContext`. (Contributed by Serhiy Storchaka in :issue:`45046`.)" msgstr "" -#: whatsnew/3.11.rst:1223 +#: whatsnew/3.11.rst:1215 msgid "venv" msgstr "" -#: whatsnew/3.11.rst:1225 +#: whatsnew/3.11.rst:1217 msgid "" "When new Python virtual environments are created, the *venv* :ref:`sysconfig " "installation scheme ` is used to determine the paths " @@ -1478,11 +1468,11 @@ msgid "" "`45413`.)" msgstr "" -#: whatsnew/3.11.rst:1239 +#: whatsnew/3.11.rst:1231 msgid "warnings" msgstr "" -#: whatsnew/3.11.rst:1241 +#: whatsnew/3.11.rst:1233 msgid "" ":func:`warnings.catch_warnings` now accepts arguments for :func:`warnings." "simplefilter`, providing a more concise way to locally ignore warnings or " @@ -1490,41 +1480,41 @@ msgid "" "`47074`.)" msgstr "" -#: whatsnew/3.11.rst:1249 +#: whatsnew/3.11.rst:1241 msgid "zipfile" msgstr "" -#: whatsnew/3.11.rst:1251 +#: whatsnew/3.11.rst:1243 msgid "" "Added support for specifying member name encoding for reading metadata in a :" "class:`~zipfile.ZipFile`'s directory and file headers. (Contributed by " "Stephen J. Turnbull and Serhiy Storchaka in :issue:`28080`.)" msgstr "" -#: whatsnew/3.11.rst:1255 +#: whatsnew/3.11.rst:1247 msgid "" "Added :meth:`ZipFile.mkdir() ` for creating new " "directories inside ZIP archives. (Contributed by Sam Ezeh in :gh:`49083`.)" msgstr "" -#: whatsnew/3.11.rst:1259 +#: whatsnew/3.11.rst:1251 msgid "" "Added :attr:`~zipfile.Path.stem`, :attr:`~zipfile.Path.suffix` and :attr:" "`~zipfile.Path.suffixes` to :class:`zipfile.Path`. (Contributed by Miguel " "Brito in :gh:`88261`.)" msgstr "" -#: whatsnew/3.11.rst:1267 +#: whatsnew/3.11.rst:1259 msgid "Optimizations" msgstr "" -#: whatsnew/3.11.rst:1269 +#: whatsnew/3.11.rst:1261 msgid "" "This section covers specific optimizations independent of the :ref:" "`whatsnew311-faster-cpython` project, which is covered in its own section." msgstr "" -#: whatsnew/3.11.rst:1272 +#: whatsnew/3.11.rst:1264 msgid "" "The compiler now optimizes simple :ref:`printf-style % formatting ` on string literals containing only the format codes " @@ -1532,7 +1522,7 @@ msgid "" "string` expression. (Contributed by Serhiy Storchaka in :issue:`28307`.)" msgstr "" -#: whatsnew/3.11.rst:1278 +#: whatsnew/3.11.rst:1270 msgid "" "Integer division (``//``) is better tuned for optimization by compilers. It " "is now around 20% faster on x86-64 when dividing an :class:`int` by a value " @@ -1540,20 +1530,20 @@ msgid "" "gh:`90564`.)" msgstr "" -#: whatsnew/3.11.rst:1283 +#: whatsnew/3.11.rst:1275 msgid "" ":func:`sum` is now nearly 30% faster for integers smaller than ``2**30``. " "(Contributed by Stefan Behnel in :gh:`68264`.)" msgstr "" -#: whatsnew/3.11.rst:1286 +#: whatsnew/3.11.rst:1278 msgid "" "Resizing lists is streamlined for the common case, speeding up :meth:`list." "append` by ≈15% and simple :term:`list comprehension`\\s by up to 20-30% " "(Contributed by Dennis Sweeney in :gh:`91165`.)" msgstr "" -#: whatsnew/3.11.rst:1291 +#: whatsnew/3.11.rst:1283 msgid "" "Dictionaries don't store hash values when all keys are Unicode objects, " "decreasing :class:`dict` size. For example, ``sys.getsizeof(dict." @@ -1561,21 +1551,21 @@ msgid "" "smaller) on 64-bit platforms. (Contributed by Inada Naoki in :issue:`46845`.)" msgstr "" -#: whatsnew/3.11.rst:1297 +#: whatsnew/3.11.rst:1289 msgid "" "Using :class:`asyncio.DatagramProtocol` is now orders of magnitude faster " "when transferring large files over UDP, with speeds over 100 times higher " "for a ≈60 MiB file. (Contributed by msoxzw in :gh:`91487`.)" msgstr "" -#: whatsnew/3.11.rst:1302 +#: whatsnew/3.11.rst:1294 msgid "" ":mod:`math` functions :func:`~math.comb` and :func:`~math.perm` are now ≈10 " "times faster for large arguments (with a larger speedup for larger *k*). " "(Contributed by Serhiy Storchaka in :issue:`37295`.)" msgstr "" -#: whatsnew/3.11.rst:1306 +#: whatsnew/3.11.rst:1298 msgid "" "The :mod:`statistics` functions :func:`~statistics.mean`, :func:`~statistics." "variance` and :func:`~statistics.stdev` now consume iterators in one pass " @@ -1584,179 +1574,179 @@ msgid "" "`90415`.)" msgstr "" -#: whatsnew/3.11.rst:1312 +#: whatsnew/3.11.rst:1304 msgid "" ":func:`unicodedata.normalize` now normalizes pure-ASCII strings in constant " "time. (Contributed by Dong-hee Na in :issue:`44987`.)" msgstr "" -#: whatsnew/3.11.rst:1320 +#: whatsnew/3.11.rst:1312 msgid "Faster CPython" msgstr "" -#: whatsnew/3.11.rst:1322 +#: whatsnew/3.11.rst:1314 msgid "" -"CPython 3.11 is on average `25% faster `_ than CPython 3.10 when measured with the " +"CPython 3.11 is an average of `25% faster `_ than CPython 3.10 as measured with the " "`pyperformance `_ benchmark suite, " -"and compiled with GCC on Ubuntu Linux. Depending on your workload, the " -"speedup could be up to 10-60% faster." +"when compiled with GCC on Ubuntu Linux. Depending on your workload, the " +"overall speedup could be 10-60%." msgstr "" -#: whatsnew/3.11.rst:1328 +#: whatsnew/3.11.rst:1321 msgid "" -"This project focuses on two major areas in Python: faster startup and faster " -"runtime. Other optimizations not under this project are listed in " -"`Optimizations`_." +"This project focuses on two major areas in Python: :ref:`whatsnew311-faster-" +"startup` and :ref:`whatsnew311-faster-runtime`. Optimizations not covered by " +"this project are listed separately under :ref:`whatsnew311-optimizations`." msgstr "" -#: whatsnew/3.11.rst:1335 +#: whatsnew/3.11.rst:1330 msgid "Faster Startup" msgstr "" -#: whatsnew/3.11.rst:1340 +#: whatsnew/3.11.rst:1335 msgid "Frozen imports / Static code objects" msgstr "" -#: whatsnew/3.11.rst:1342 +#: whatsnew/3.11.rst:1337 msgid "" -"Python caches bytecode in the :ref:`__pycache__` directory to " -"speed up module loading." +"Python caches :term:`bytecode` in the :ref:`__pycache__ ` " +"directory to speed up module loading." msgstr "" -#: whatsnew/3.11.rst:1345 +#: whatsnew/3.11.rst:1340 msgid "Previously in 3.10, Python module execution looked like this:" msgstr "" -#: whatsnew/3.11.rst:1351 +#: whatsnew/3.11.rst:1346 msgid "" "In Python 3.11, the core modules essential for Python startup are " -"\"frozen\". This means that their code objects (and bytecode) are statically " -"allocated by the interpreter. This reduces the steps in module execution " -"process to this:" +"\"frozen\". This means that their :ref:`codeobjects` (and bytecode) are " +"statically allocated by the interpreter. This reduces the steps in module " +"execution process to:" msgstr "" -#: whatsnew/3.11.rst:1359 +#: whatsnew/3.11.rst:1355 msgid "" "Interpreter startup is now 10-15% faster in Python 3.11. This has a big " "impact for short-running programs using Python." msgstr "" -#: whatsnew/3.11.rst:1362 +#: whatsnew/3.11.rst:1358 msgid "" -"(Contributed by Eric Snow, Guido van Rossum and Kumar Aditya in numerous " -"issues.)" +"(Contributed by Eric Snow, Guido van Rossum and Kumar Aditya in many issues.)" msgstr "" -#: whatsnew/3.11.rst:1368 +#: whatsnew/3.11.rst:1364 msgid "Faster Runtime" msgstr "" -#: whatsnew/3.11.rst:1373 +#: whatsnew/3.11.rst:1369 msgid "Cheaper, lazy Python frames" msgstr "" -#: whatsnew/3.11.rst:1375 +#: whatsnew/3.11.rst:1371 msgid "" -"Python frames are created whenever Python calls a Python function. This " -"frame holds execution information. The following are new frame optimizations:" +"Python frames, holding execution information, are created whenever Python " +"calls a Python function. The following are new frame optimizations:" msgstr "" -#: whatsnew/3.11.rst:1378 +#: whatsnew/3.11.rst:1375 msgid "Streamlined the frame creation process." msgstr "" -#: whatsnew/3.11.rst:1379 +#: whatsnew/3.11.rst:1376 msgid "" "Avoided memory allocation by generously re-using frame space on the C stack." msgstr "" -#: whatsnew/3.11.rst:1380 +#: whatsnew/3.11.rst:1377 msgid "" "Streamlined the internal frame struct to contain only essential information. " "Frames previously held extra debugging and memory management information." msgstr "" -#: whatsnew/3.11.rst:1383 +#: whatsnew/3.11.rst:1380 msgid "" -"Old-style frame objects are now created only when requested by debuggers or " -"by Python introspection functions such as ``sys._getframe`` or ``inspect." -"currentframe``. For most user code, no frame objects are created at all. As " -"a result, nearly all Python functions calls have sped up significantly. We " -"measured a 3-7% speedup in pyperformance." +"Old-style :ref:`frame objects ` are now created only when " +"requested by debuggers or by Python introspection functions such as :func:" +"`sys._getframe` and :func:`inspect.currentframe`. For most user code, no " +"frame objects are created at all. As a result, nearly all Python functions " +"calls have sped up significantly. We measured a 3-7% speedup in " +"pyperformance." msgstr "" -#: whatsnew/3.11.rst:1389 +#: whatsnew/3.11.rst:1387 msgid "(Contributed by Mark Shannon in :issue:`44590`.)" msgstr "" -#: whatsnew/3.11.rst:1396 +#: whatsnew/3.11.rst:1394 msgid "Inlined Python function calls" msgstr "" -#: whatsnew/3.11.rst:1398 +#: whatsnew/3.11.rst:1396 msgid "" "During a Python function call, Python will call an evaluating C function to " "interpret that function's code. This effectively limits pure Python " "recursion to what's safe for the C stack." msgstr "" -#: whatsnew/3.11.rst:1402 +#: whatsnew/3.11.rst:1400 msgid "" "In 3.11, when CPython detects Python code calling another Python function, " "it sets up a new frame, and \"jumps\" to the new code inside the new frame. " "This avoids calling the C interpreting function altogether." msgstr "" -#: whatsnew/3.11.rst:1406 +#: whatsnew/3.11.rst:1404 msgid "" -"Most Python function calls now consume no C stack space. This speeds up most " -"of such calls. In simple recursive functions like fibonacci or factorial, a " -"1.7x speedup was observed. This also means recursive functions can recurse " -"significantly deeper (if the user increases the recursion limit). We " -"measured a 1-3% improvement in pyperformance." +"Most Python function calls now consume no C stack space, speeding them up. " +"In simple recursive functions like fibonacci or factorial, we observed a " +"1.7x speedup. This also means recursive functions can recurse significantly " +"deeper (if the user increases the recursion limit with :func:`sys." +"setrecursionlimit`). We measured a 1-3% improvement in pyperformance." msgstr "" -#: whatsnew/3.11.rst:1412 +#: whatsnew/3.11.rst:1411 msgid "(Contributed by Pablo Galindo and Mark Shannon in :issue:`45256`.)" msgstr "" -#: whatsnew/3.11.rst:1418 +#: whatsnew/3.11.rst:1417 msgid "PEP 659: Specializing Adaptive Interpreter" msgstr "" -#: whatsnew/3.11.rst:1420 +#: whatsnew/3.11.rst:1419 msgid "" -":pep:`659` is one of the key parts of the faster CPython project. The " +":pep:`659` is one of the key parts of the Faster CPython project. The " "general idea is that while Python is a dynamic language, most code has " "regions where objects and types rarely change. This concept is known as " "*type stability*." msgstr "" -#: whatsnew/3.11.rst:1424 +#: whatsnew/3.11.rst:1423 msgid "" "At runtime, Python will try to look for common patterns and type stability " "in the executing code. Python will then replace the current operation with a " "more specialized one. This specialized operation uses fast paths available " "only to those use cases/types, which generally outperform their generic " "counterparts. This also brings in another concept called *inline caching*, " -"where Python caches the results of expensive operations directly in the " -"bytecode." +"where Python caches the results of expensive operations directly in the :" +"term:`bytecode`." msgstr "" #: whatsnew/3.11.rst:1431 msgid "" "The specializer will also combine certain common instruction pairs into one " -"superinstruction. This reduces the overhead during execution." +"superinstruction, reducing the overhead during execution." msgstr "" #: whatsnew/3.11.rst:1434 msgid "" "Python will only specialize when it sees code that is \"hot\" (executed " -"multiple times). This prevents Python from wasting time for run-once code. " +"multiple times). This prevents Python from wasting time on run-once code. " "Python can also de-specialize when code is too dynamic or when the use " "changes. Specialization is attempted periodically, and specialization " -"attempts are not too expensive. This allows specialization to adapt to new " +"attempts are not too expensive, allowing specialization to adapt to new " "circumstances." msgstr "" @@ -1792,13 +1782,22 @@ msgid "Binary operations" msgstr "" #: whatsnew/3.11.rst:1452 -msgid "``x+x; x*x; x-x;``" +msgid "``x + x``" +msgstr "" + +#: whatsnew/3.11.rst:1454 +msgid "``x - x``" +msgstr "" + +#: whatsnew/3.11.rst:1456 +msgid "``x * x``" msgstr "" #: whatsnew/3.11.rst:1452 msgid "" -"Binary add, multiply and subtract for common types such as ``int``, " -"``float``, and ``str`` take custom fast paths for their underlying types." +"Binary add, multiply and subtract for common types such as :class:`int`, :" +"class:`float` and :class:`str` take custom fast paths for their underlying " +"types." msgstr "" #: whatsnew/3.11.rst:1452 @@ -1809,70 +1808,74 @@ msgstr "" msgid "Mark Shannon, Dong-hee Na, Brandt Bucher, Dennis Sweeney" msgstr "" -#: whatsnew/3.11.rst:1457 +#: whatsnew/3.11.rst:1458 msgid "Subscript" msgstr "" -#: whatsnew/3.11.rst:1457 +#: whatsnew/3.11.rst:1458 msgid "``a[i]``" msgstr "" -#: whatsnew/3.11.rst:1457 +#: whatsnew/3.11.rst:1458 msgid "" -"Subscripting container types such as ``list``, ``tuple`` and ``dict`` " -"directly index the underlying data structures." +"Subscripting container types such as :class:`list`, :class:`tuple` and :" +"class:`dict` directly index the underlying data structures." msgstr "" -#: whatsnew/3.11.rst:1461 +#: whatsnew/3.11.rst:1462 msgid "" -"Subscripting custom ``__getitem__`` is also inlined similar to :ref:`inline-" -"calls`." +"Subscripting custom :meth:`~object.__getitem__` is also inlined similar to :" +"ref:`inline-calls`." msgstr "" -#: whatsnew/3.11.rst:1464 +#: whatsnew/3.11.rst:1465 msgid "10-25%" msgstr "" -#: whatsnew/3.11.rst:1457 +#: whatsnew/3.11.rst:1458 msgid "Irit Katriel, Mark Shannon" msgstr "" -#: whatsnew/3.11.rst:1464 +#: whatsnew/3.11.rst:1465 msgid "Store subscript" msgstr "" -#: whatsnew/3.11.rst:1464 +#: whatsnew/3.11.rst:1465 msgid "``a[i] = z``" msgstr "" -#: whatsnew/3.11.rst:1464 +#: whatsnew/3.11.rst:1465 msgid "Similar to subscripting specialization above." msgstr "" -#: whatsnew/3.11.rst:1464 +#: whatsnew/3.11.rst:1465 msgid "Dennis Sweeney" msgstr "" -#: whatsnew/3.11.rst:1467 +#: whatsnew/3.11.rst:1468 msgid "Calls" msgstr "" -#: whatsnew/3.11.rst:1467 -msgid "``f(arg)`` ``C(arg)``" +#: whatsnew/3.11.rst:1468 +msgid "``f(arg)``" +msgstr "" + +#: whatsnew/3.11.rst:1470 +msgid "``C(arg)``" msgstr "" -#: whatsnew/3.11.rst:1467 +#: whatsnew/3.11.rst:1468 msgid "" -"Calls to common builtin (C) functions and types such as ``len`` and ``str`` " -"directly call their underlying C version. This avoids going through the " -"internal calling convention." +"Calls to common builtin (C) functions and types such as :func:`len` and :" +"class:`str` directly call their underlying C version. This avoids going " +"through the internal calling convention." msgstr "" -#: whatsnew/3.11.rst:1467 +#: whatsnew/3.11.rst:1468 msgid "20%" msgstr "" -#: whatsnew/3.11.rst:1467 +#: whatsnew/3.11.rst:1468 msgid "Mark Shannon, Ken Jin" msgstr "" @@ -1881,7 +1884,11 @@ msgid "Load global variable" msgstr "" #: whatsnew/3.11.rst:1473 -msgid "``print`` ``len``" +msgid "``print``" +msgstr "" + +#: whatsnew/3.11.rst:1475 +msgid "``len``" msgstr "" #: whatsnew/3.11.rst:1473 @@ -1891,7 +1898,7 @@ msgid "" msgstr "" #: whatsnew/3.11.rst:1473 -msgid "[1]_" +msgid "[#load-global]_" msgstr "" #: whatsnew/3.11.rst:1477 whatsnew/3.11.rst:1486 @@ -1914,7 +1921,7 @@ msgid "" msgstr "" #: whatsnew/3.11.rst:1477 -msgid "[2]_" +msgid "[#load-attr]_" msgstr "" #: whatsnew/3.11.rst:1482 @@ -1965,8 +1972,8 @@ msgstr "" #: whatsnew/3.11.rst:1489 msgid "" -"Specialized for common containers such as ``list`` and ``tuple``. Avoids " -"internal calling convention." +"Specialized for common containers such as :class:`list` and :class:`tuple`. " +"Avoids internal calling convention." msgstr "" #: whatsnew/3.11.rst:1489 @@ -1977,95 +1984,112 @@ msgstr "" msgid "Brandt Bucher" msgstr "" -#: whatsnew/3.11.rst:1493 +#: whatsnew/3.11.rst:1494 msgid "" -"A similar optimization already existed since Python 3.8. 3.11 specializes " +"A similar optimization already existed since Python 3.8. 3.11 specializes " "for more forms and reduces some overhead." msgstr "" -#: whatsnew/3.11.rst:1496 +#: whatsnew/3.11.rst:1497 msgid "" "A similar optimization already existed since Python 3.10. 3.11 specializes " "for more forms. Furthermore, all attribute loads should be sped up by :issue:" "`45947`." msgstr "" -#: whatsnew/3.11.rst:1504 +#: whatsnew/3.11.rst:1505 msgid "Misc" msgstr "" -#: whatsnew/3.11.rst:1506 +#: whatsnew/3.11.rst:1507 msgid "" "Objects now require less memory due to lazily created object namespaces. " "Their namespace dictionaries now also share keys more freely. (Contributed " "Mark Shannon in :issue:`45340` and :issue:`40116`.)" msgstr "" -#: whatsnew/3.11.rst:1510 +#: whatsnew/3.11.rst:1511 +msgid "" +"\"Zero-cost\" exceptions are implemented, eliminating the cost of :keyword:" +"`try` statements when no exception is raised. (Contributed by Mark Shannon " +"in :issue:`40222`.)" +msgstr "" + +#: whatsnew/3.11.rst:1515 msgid "" "A more concise representation of exceptions in the interpreter reduced the " "time required for catching an exception by about 10%. (Contributed by Irit " "Katriel in :issue:`45711`.)" msgstr "" -#: whatsnew/3.11.rst:1518 +#: whatsnew/3.11.rst:1519 +msgid "" +":mod:`re`'s regular expression matching engine has been partially " +"refactored, and now uses computed gotos (or \"threaded code\") on supported " +"platforms. As a result, Python 3.11 executes the `pyperformance regular " +"expression benchmarks `_ up to 10% faster than Python 3.10. (Contributed by Brandt " +"Bucher in :gh:`91404`.)" +msgstr "" + +#: whatsnew/3.11.rst:1530 msgid "FAQ" msgstr "" -#: whatsnew/3.11.rst:1520 -msgid "Q: How should I write my code to utilize these speedups?" +#: whatsnew/3.11.rst:1535 +msgid "How should I write my code to utilize these speedups?" msgstr "" -#: whatsnew/3.11.rst:1524 +#: whatsnew/3.11.rst:1537 msgid "" -"A: You don't have to change your code. Write Pythonic code that follows " -"common best practices. The Faster CPython project optimizes for common code " +"Write Pythonic code that follows common best practices; you don't have to " +"change your code. The Faster CPython project optimizes for common code " "patterns we observe." msgstr "" -#: whatsnew/3.11.rst:1527 -msgid "Q: Will CPython 3.11 use more memory?" +#: whatsnew/3.11.rst:1545 +msgid "Will CPython 3.11 use more memory?" msgstr "" -#: whatsnew/3.11.rst:1531 +#: whatsnew/3.11.rst:1547 msgid "" -"A: Maybe not. We don't expect memory use to exceed 20% more than 3.10. This " +"Maybe not; we don't expect memory use to exceed 20% higher than 3.10. This " "is offset by memory optimizations for frame objects and object dictionaries " "as mentioned above." msgstr "" -#: whatsnew/3.11.rst:1534 -msgid "Q: I don't see any speedups in my workload. Why?" +#: whatsnew/3.11.rst:1555 +msgid "I don't see any speedups in my workload. Why?" msgstr "" -#: whatsnew/3.11.rst:1539 +#: whatsnew/3.11.rst:1557 msgid "" -"A: Certain code won't have noticeable benefits. If your code spends most of " -"its time on I/O operations, or already does most of its computation in a C " -"extension library like numpy, there won't be significant speedup. This " +"Certain code won't have noticeable benefits. If your code spends most of its " +"time on I/O operations, or already does most of its computation in a C " +"extension library like NumPy, there won't be significant speedups. This " "project currently benefits pure-Python workloads the most." msgstr "" -#: whatsnew/3.11.rst:1543 +#: whatsnew/3.11.rst:1562 msgid "" "Furthermore, the pyperformance figures are a geometric mean. Even within the " "pyperformance benchmarks, certain benchmarks have slowed down slightly, " "while others have sped up by nearly 2x!" msgstr "" -#: whatsnew/3.11.rst:1546 -msgid "Q: Is there a JIT compiler?" +#: whatsnew/3.11.rst:1570 +msgid "Is there a JIT compiler?" msgstr "" -#: whatsnew/3.11.rst:1548 -msgid "A: No. We're still exploring other optimizations." +#: whatsnew/3.11.rst:1572 +msgid "No. We're still exploring other optimizations." msgstr "" -#: whatsnew/3.11.rst:1554 +#: whatsnew/3.11.rst:1578 msgid "About" msgstr "" -#: whatsnew/3.11.rst:1556 +#: whatsnew/3.11.rst:1580 msgid "" "Faster CPython explores optimizations for :term:`CPython`. The main team is " "funded by Microsoft to work on this full-time. Pablo Galindo Salgado is also " @@ -2073,11 +2097,11 @@ msgid "" "contributors are volunteers from the community." msgstr "" -#: whatsnew/3.11.rst:1565 +#: whatsnew/3.11.rst:1589 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.11.rst:1567 +#: whatsnew/3.11.rst:1591 msgid "" "The bytecode now contains inline cache entries, which take the form of the " "newly-added :opcode:`CACHE` instructions. Many opcodes expect to be followed " @@ -2087,62 +2111,62 @@ msgid "" "containing quickened data." msgstr "" -#: whatsnew/3.11.rst:1579 +#: whatsnew/3.11.rst:1603 msgid "New opcodes" msgstr "" -#: whatsnew/3.11.rst:1581 +#: whatsnew/3.11.rst:1605 msgid "" ":opcode:`ASYNC_GEN_WRAP`, :opcode:`RETURN_GENERATOR` and :opcode:`SEND`, " "used in generators and co-routines." msgstr "" -#: whatsnew/3.11.rst:1584 +#: whatsnew/3.11.rst:1608 msgid "" ":opcode:`COPY_FREE_VARS`, which avoids needing special caller-side code for " "closures." msgstr "" -#: whatsnew/3.11.rst:1587 +#: whatsnew/3.11.rst:1611 msgid "" ":opcode:`JUMP_BACKWARD_NO_INTERRUPT`, for use in certain loops where " "handling interrupts is undesirable." msgstr "" -#: whatsnew/3.11.rst:1590 +#: whatsnew/3.11.rst:1614 msgid ":opcode:`MAKE_CELL`, to create :ref:`cell-objects`." msgstr "" -#: whatsnew/3.11.rst:1592 +#: whatsnew/3.11.rst:1616 msgid "" ":opcode:`CHECK_EG_MATCH` and :opcode:`PREP_RERAISE_STAR`, to handle the :" "ref:`new exception groups and except* ` added in :pep:" "`654`." msgstr "" -#: whatsnew/3.11.rst:1596 +#: whatsnew/3.11.rst:1620 msgid ":opcode:`PUSH_EXC_INFO`, for use in exception handlers." msgstr "" -#: whatsnew/3.11.rst:1598 +#: whatsnew/3.11.rst:1622 msgid "" ":opcode:`RESUME`, a no-op, for internal tracing, debugging and optimization " "checks." msgstr "" -#: whatsnew/3.11.rst:1605 +#: whatsnew/3.11.rst:1629 msgid "Replaced opcodes" msgstr "" -#: whatsnew/3.11.rst:1608 +#: whatsnew/3.11.rst:1632 msgid "Replaced Opcode(s)" msgstr "" -#: whatsnew/3.11.rst:1608 +#: whatsnew/3.11.rst:1632 msgid "New Opcode(s)" msgstr "" -#: whatsnew/3.11.rst:1608 +#: whatsnew/3.11.rst:1632 msgid "Notes" msgstr "" @@ -2154,11 +2178,11 @@ msgstr "" msgid ":opcode:`!INPLACE_*`" msgstr "" -#: whatsnew/3.11.rst:1610 +#: whatsnew/3.11.rst:1634 msgid ":opcode:`BINARY_OP`" msgstr "" -#: whatsnew/3.11.rst:1610 +#: whatsnew/3.11.rst:1634 msgid "Replaced all numeric binary/in-place opcodes with a single opcode" msgstr "" @@ -2190,7 +2214,7 @@ msgstr "" msgid ":opcode:`PUSH_NULL`" msgstr "" -#: whatsnew/3.11.rst:1613 +#: whatsnew/3.11.rst:1637 msgid "" "Decouples argument shifting for methods from handling of keyword arguments; " "allows better specialization of calls" @@ -2228,7 +2252,7 @@ msgstr "" msgid ":opcode:`SWAP`" msgstr "" -#: whatsnew/3.11.rst:1618 +#: whatsnew/3.11.rst:1642 msgid "Stack manipulation instructions" msgstr "" @@ -2240,7 +2264,7 @@ msgstr "" msgid ":opcode:`CHECK_EXC_MATCH`" msgstr "" -#: whatsnew/3.11.rst:1625 +#: whatsnew/3.11.rst:1649 msgid "Now performs check but doesn't jump" msgstr "" @@ -2268,7 +2292,7 @@ msgstr "" msgid ":opcode:`POP_JUMP_FORWARD_IF_* `" msgstr "" -#: whatsnew/3.11.rst:1627 +#: whatsnew/3.11.rst:1651 msgid "" "See [#bytecode-jump]_; ``TRUE``, ``FALSE``, ``NONE`` and ``NOT_NONE`` " "variants for each direction" @@ -2282,64 +2306,64 @@ msgstr "" msgid ":opcode:`!SETUP_ASYNC_WITH`" msgstr "" -#: whatsnew/3.11.rst:1633 +#: whatsnew/3.11.rst:1657 msgid ":opcode:`BEFORE_WITH`" msgstr "" -#: whatsnew/3.11.rst:1633 +#: whatsnew/3.11.rst:1657 msgid ":keyword:`with` block setup" msgstr "" -#: whatsnew/3.11.rst:1637 +#: whatsnew/3.11.rst:1661 msgid "" "All jump opcodes are now relative, including the existing :opcode:" "`JUMP_IF_TRUE_OR_POP` and :opcode:`JUMP_IF_FALSE_OR_POP`. The argument is " "now an offset from the current instruction rather than an absolute location." msgstr "" -#: whatsnew/3.11.rst:1648 +#: whatsnew/3.11.rst:1672 msgid "Changed/removed opcodes" msgstr "" -#: whatsnew/3.11.rst:1650 +#: whatsnew/3.11.rst:1674 msgid "" "Changed :opcode:`MATCH_CLASS` and :opcode:`MATCH_KEYS` to no longer push an " "additional boolean value to indicate success/failure. Instead, ``None`` is " "pushed on failure in place of the tuple of extracted values." msgstr "" -#: whatsnew/3.11.rst:1655 +#: whatsnew/3.11.rst:1679 msgid "" "Changed opcodes that work with exceptions to reflect them now being " "represented as one item on the stack instead of three (see :gh:`89874`)." msgstr "" -#: whatsnew/3.11.rst:1659 +#: whatsnew/3.11.rst:1683 msgid "" "Removed :opcode:`!COPY_DICT_WITHOUT_KEYS`, :opcode:`!GEN_START`, :opcode:`!" "POP_BLOCK`, :opcode:`!SETUP_FINALLY` and :opcode:`!YIELD_FROM`." msgstr "" -#: whatsnew/3.11.rst:2543 +#: whatsnew/3.11.rst:2563 msgid "Deprecated" msgstr "" -#: whatsnew/3.11.rst:1669 +#: whatsnew/3.11.rst:1693 msgid "" "This section lists Python APIs that have been deprecated in Python 3.11." msgstr "" -#: whatsnew/3.11.rst:1671 +#: whatsnew/3.11.rst:1695 msgid "" "Deprecated C APIs are :ref:`listed separately `." msgstr "" -#: whatsnew/3.11.rst:1678 +#: whatsnew/3.11.rst:1702 msgid "Language/Builtins" msgstr "" -#: whatsnew/3.11.rst:1680 +#: whatsnew/3.11.rst:1704 msgid "" "Chaining :class:`classmethod` descriptors (introduced in :issue:`19072`) is " "now deprecated. It can no longer be used to wrap other descriptors such as :" @@ -2349,7 +2373,7 @@ msgid "" "3.10. (Contributed by Raymond Hettinger in :gh:`89519`.)" msgstr "" -#: whatsnew/3.11.rst:1688 +#: whatsnew/3.11.rst:1712 msgid "" "Octal escapes in string and bytes literals with values larger than ``0o377`` " "(255 in decimal) now produce a :exc:`DeprecationWarning`. In a future Python " @@ -2357,7 +2381,7 @@ msgid "" "`SyntaxError`. (Contributed by Serhiy Storchaka in :gh:`81548`.)" msgstr "" -#: whatsnew/3.11.rst:1694 +#: whatsnew/3.11.rst:1718 msgid "" "The delegation of :func:`int` to :meth:`~object.__trunc__` is now " "deprecated. Calling ``int(a)`` when ``type(a)`` implements :meth:`!" @@ -2366,99 +2390,99 @@ msgid "" "`44977`.)" msgstr "" -#: whatsnew/3.11.rst:1704 +#: whatsnew/3.11.rst:1728 msgid "Modules" msgstr "" -#: whatsnew/3.11.rst:1708 +#: whatsnew/3.11.rst:1732 msgid "" ":pep:`594` led to the deprecations of the following modules slated for " "removal in Python 3.13:" msgstr "" -#: whatsnew/3.11.rst:1712 +#: whatsnew/3.11.rst:1736 msgid ":mod:`aifc`" msgstr "" -#: whatsnew/3.11.rst:1712 +#: whatsnew/3.11.rst:1736 msgid ":mod:`chunk`" msgstr "" -#: whatsnew/3.11.rst:1712 +#: whatsnew/3.11.rst:1736 msgid ":mod:`msilib`" msgstr "" -#: whatsnew/3.11.rst:1712 +#: whatsnew/3.11.rst:1736 msgid ":mod:`pipes`" msgstr "" -#: whatsnew/3.11.rst:1712 +#: whatsnew/3.11.rst:1736 msgid ":mod:`telnetlib`" msgstr "" -#: whatsnew/3.11.rst:1714 +#: whatsnew/3.11.rst:1738 msgid ":mod:`audioop`" msgstr "" -#: whatsnew/3.11.rst:1714 +#: whatsnew/3.11.rst:1738 msgid ":mod:`crypt`" msgstr "" -#: whatsnew/3.11.rst:1714 +#: whatsnew/3.11.rst:1738 msgid ":mod:`nis`" msgstr "" -#: whatsnew/3.11.rst:1714 +#: whatsnew/3.11.rst:1738 msgid ":mod:`sndhdr`" msgstr "" -#: whatsnew/3.11.rst:1714 +#: whatsnew/3.11.rst:1738 msgid ":mod:`uu`" msgstr "" -#: whatsnew/3.11.rst:1716 +#: whatsnew/3.11.rst:1740 msgid ":mod:`cgi`" msgstr "" -#: whatsnew/3.11.rst:1716 +#: whatsnew/3.11.rst:1740 msgid ":mod:`imghdr`" msgstr "" -#: whatsnew/3.11.rst:1716 +#: whatsnew/3.11.rst:1740 msgid ":mod:`nntplib`" msgstr "" -#: whatsnew/3.11.rst:1716 +#: whatsnew/3.11.rst:1740 msgid ":mod:`spwd`" msgstr "" -#: whatsnew/3.11.rst:1716 +#: whatsnew/3.11.rst:1740 msgid ":mod:`xdrlib`" msgstr "" -#: whatsnew/3.11.rst:1718 +#: whatsnew/3.11.rst:1742 msgid ":mod:`cgitb`" msgstr "" -#: whatsnew/3.11.rst:1718 +#: whatsnew/3.11.rst:1742 msgid ":mod:`mailcap`" msgstr "" -#: whatsnew/3.11.rst:1718 +#: whatsnew/3.11.rst:1742 msgid ":mod:`ossaudiodev`" msgstr "" -#: whatsnew/3.11.rst:1718 +#: whatsnew/3.11.rst:1742 msgid ":mod:`sunau`" msgstr "" -#: whatsnew/3.11.rst:1721 +#: whatsnew/3.11.rst:1745 msgid "" "(Contributed by Brett Cannon in :issue:`47061` and Victor Stinner in :gh:" "`68966`.)" msgstr "" -#: whatsnew/3.11.rst:1724 +#: whatsnew/3.11.rst:1748 msgid "" "The :mod:`asynchat`, :mod:`asyncore` and :mod:`smtpd` modules have been " "deprecated since at least Python 3.6. Their documentation and deprecation " @@ -2466,7 +2490,7 @@ msgid "" "(Contributed by Hugo van Kemenade in :issue:`47022`.)" msgstr "" -#: whatsnew/3.11.rst:1729 +#: whatsnew/3.11.rst:1753 msgid "" "The :mod:`lib2to3` package and :ref:`2to3 <2to3-reference>` tool are now " "deprecated and may not be able to parse Python 3.10 or newer. See :pep:" @@ -2474,41 +2498,41 @@ msgid "" "Stinner in :issue:`40360`.)" msgstr "" -#: whatsnew/3.11.rst:1734 +#: whatsnew/3.11.rst:1758 msgid "" "Undocumented modules :mod:`!sre_compile`, :mod:`!sre_constants` and :mod:`!" "sre_parse` are now deprecated. (Contributed by Serhiy Storchaka in :issue:" "`47152`.)" msgstr "" -#: whatsnew/3.11.rst:1742 +#: whatsnew/3.11.rst:1766 msgid "Standard Library" msgstr "" -#: whatsnew/3.11.rst:1744 +#: whatsnew/3.11.rst:1768 msgid "" "The following have been deprecated in :mod:`configparser` since Python 3.2. " "Their deprecation warnings have now been updated to note they will be " "removed in Python 3.12:" msgstr "" -#: whatsnew/3.11.rst:1748 +#: whatsnew/3.11.rst:1772 msgid "the :class:`!configparser.SafeConfigParser` class" msgstr "" -#: whatsnew/3.11.rst:1749 +#: whatsnew/3.11.rst:1773 msgid "the :attr:`!configparser.ParsingError.filename` property" msgstr "" -#: whatsnew/3.11.rst:1750 +#: whatsnew/3.11.rst:1774 msgid "the :meth:`configparser.RawConfigParser.readfp` method" msgstr "" -#: whatsnew/3.11.rst:1752 +#: whatsnew/3.11.rst:1776 msgid "(Contributed by Hugo van Kemenade in :issue:`45173`.)" msgstr "" -#: whatsnew/3.11.rst:1754 +#: whatsnew/3.11.rst:1778 msgid "" ":class:`!configparser.LegacyInterpolation` has been deprecated in the " "docstring since Python 3.2, and is not listed in the :mod:`configparser` " @@ -2518,7 +2542,7 @@ msgid "" "Kemenade in :issue:`46607`.)" msgstr "" -#: whatsnew/3.11.rst:1761 +#: whatsnew/3.11.rst:1785 msgid "" "The older set of :mod:`importlib.resources` functions were deprecated in " "favor of the replacements added in Python 3.9 and will be removed in a " @@ -2526,35 +2550,35 @@ msgid "" "package subdirectories:" msgstr "" -#: whatsnew/3.11.rst:1766 +#: whatsnew/3.11.rst:1790 msgid ":func:`importlib.resources.contents`" msgstr "" -#: whatsnew/3.11.rst:1767 +#: whatsnew/3.11.rst:1791 msgid ":func:`importlib.resources.is_resource`" msgstr "" -#: whatsnew/3.11.rst:1768 +#: whatsnew/3.11.rst:1792 msgid ":func:`importlib.resources.open_binary`" msgstr "" -#: whatsnew/3.11.rst:1769 +#: whatsnew/3.11.rst:1793 msgid ":func:`importlib.resources.open_text`" msgstr "" -#: whatsnew/3.11.rst:1770 +#: whatsnew/3.11.rst:1794 msgid ":func:`importlib.resources.read_binary`" msgstr "" -#: whatsnew/3.11.rst:1771 +#: whatsnew/3.11.rst:1795 msgid ":func:`importlib.resources.read_text`" msgstr "" -#: whatsnew/3.11.rst:1772 +#: whatsnew/3.11.rst:1796 msgid ":func:`importlib.resources.path`" msgstr "" -#: whatsnew/3.11.rst:1774 +#: whatsnew/3.11.rst:1798 msgid "" "The :func:`locale.getdefaultlocale` function is deprecated and will be " "removed in Python 3.13. Use :func:`locale.setlocale`, :func:`locale." @@ -2562,14 +2586,14 @@ msgid "" "getlocale` functions instead. (Contributed by Victor Stinner in :gh:`90817`.)" msgstr "" -#: whatsnew/3.11.rst:1780 +#: whatsnew/3.11.rst:1804 msgid "" "The :func:`locale.resetlocale` function is deprecated and will be removed in " "Python 3.13. Use ``locale.setlocale(locale.LC_ALL, \"\")`` instead. " "(Contributed by Victor Stinner in :gh:`90817`.)" msgstr "" -#: whatsnew/3.11.rst:1784 +#: whatsnew/3.11.rst:1808 msgid "" "Stricter rules will now be applied for numerical group references and group " "names in :ref:`regular expressions `. Only sequences of ASCII " @@ -2580,7 +2604,7 @@ msgid "" "`91760`.)" msgstr "" -#: whatsnew/3.11.rst:1792 +#: whatsnew/3.11.rst:1816 msgid "" "In the :mod:`re` module, the :func:`!re.template` function and the " "corresponding :data:`!re.TEMPLATE` and :data:`!re.T` flags are deprecated, " @@ -2589,7 +2613,7 @@ msgid "" "in :gh:`92728`.)" msgstr "" -#: whatsnew/3.11.rst:1798 +#: whatsnew/3.11.rst:1822 msgid "" ":func:`turtle.settiltangle` has been deprecated since Python 3.1; it now " "emits a deprecation warning and will be removed in Python 3.13. Use :func:" @@ -2598,7 +2622,7 @@ msgid "" "issue:`45837`.)" msgstr "" -#: whatsnew/3.11.rst:1804 +#: whatsnew/3.11.rst:1828 msgid "" ":class:`typing.Text`, which exists solely to provide compatibility support " "between Python 2 and Python 3 code, is now deprecated. Its removal is " @@ -2606,341 +2630,347 @@ msgid "" "wherever possible. (Contributed by Alex Waygood in :gh:`92332`.)" msgstr "" -#: whatsnew/3.11.rst:1810 +#: whatsnew/3.11.rst:1834 msgid "" "The keyword argument syntax for constructing :data:`typing.TypedDict` types " "is now deprecated. Support will be removed in Python 3.13. (Contributed by " "Jingchen Ye in :gh:`90224`.)" msgstr "" -#: whatsnew/3.11.rst:1814 +#: whatsnew/3.11.rst:1838 msgid "" ":class:`!webbrowser.MacOSX` is deprecated and will be removed in Python " "3.13. It is untested, undocumented, and not used by :mod:`webbrowser` " "itself. (Contributed by Dong-hee Na in :issue:`42255`.)" msgstr "" -#: whatsnew/3.11.rst:1818 +#: whatsnew/3.11.rst:1842 msgid "" "The behavior of returning a value from a :class:`~unittest.TestCase` and :" "class:`~unittest.IsolatedAsyncioTestCase` test methods (other than the " "default ``None`` value) is now deprecated." msgstr "" -#: whatsnew/3.11.rst:1822 +#: whatsnew/3.11.rst:1846 msgid "" "Deprecated the following not-formally-documented :mod:`unittest` functions, " "scheduled for removal in Python 3.13:" msgstr "" -#: whatsnew/3.11.rst:1825 +#: whatsnew/3.11.rst:1849 msgid ":func:`!unittest.findTestCases`" msgstr "" -#: whatsnew/3.11.rst:1826 +#: whatsnew/3.11.rst:1850 msgid ":func:`!unittest.makeSuite`" msgstr "" -#: whatsnew/3.11.rst:1827 +#: whatsnew/3.11.rst:1851 msgid ":func:`!unittest.getTestCaseNames`" msgstr "" -#: whatsnew/3.11.rst:1829 +#: whatsnew/3.11.rst:1853 msgid "Use :class:`~unittest.TestLoader` methods instead:" msgstr "" -#: whatsnew/3.11.rst:1831 +#: whatsnew/3.11.rst:1855 msgid ":meth:`unittest.TestLoader.loadTestsFromModule`" msgstr "" -#: whatsnew/3.11.rst:1832 +#: whatsnew/3.11.rst:1856 msgid ":meth:`unittest.TestLoader.loadTestsFromTestCase`" msgstr "" -#: whatsnew/3.11.rst:1833 +#: whatsnew/3.11.rst:1857 msgid ":meth:`unittest.TestLoader.getTestCaseNames`" msgstr "" -#: whatsnew/3.11.rst:1835 +#: whatsnew/3.11.rst:1859 msgid "(Contributed by Erlend E. Aasland in :issue:`5846`.)" msgstr "" -#: whatsnew/3.11.rst:2571 +#: whatsnew/3.11.rst:1861 +msgid "" +":meth:`~!unittest.TestProgram.usageExit` is marked deprecated, to be removed " +"in 3.13. (Contributed by Carlos Damázio in :gh:`67048`.)" +msgstr "" + +#: whatsnew/3.11.rst:2591 msgid "Pending Removal in Python 3.12" msgstr "" -#: whatsnew/3.11.rst:1844 +#: whatsnew/3.11.rst:1872 msgid "" "The following Python APIs have been deprecated in earlier Python releases, " "and will be removed in Python 3.12." msgstr "" -#: whatsnew/3.11.rst:1847 +#: whatsnew/3.11.rst:1875 msgid "" "C APIs pending removal are :ref:`listed separately `." msgstr "" -#: whatsnew/3.11.rst:1850 +#: whatsnew/3.11.rst:1878 msgid "The :mod:`asynchat` module" msgstr "" -#: whatsnew/3.11.rst:1851 +#: whatsnew/3.11.rst:1879 msgid "The :mod:`asyncore` module" msgstr "" -#: whatsnew/3.11.rst:1852 +#: whatsnew/3.11.rst:1880 msgid "The :ref:`entire distutils package `" msgstr "" -#: whatsnew/3.11.rst:1853 +#: whatsnew/3.11.rst:1881 msgid "The :mod:`imp` module" msgstr "" -#: whatsnew/3.11.rst:1854 +#: whatsnew/3.11.rst:1882 msgid "The :class:`typing.io ` namespace" msgstr "" -#: whatsnew/3.11.rst:1855 +#: whatsnew/3.11.rst:1883 msgid "The :class:`typing.re ` namespace" msgstr "" -#: whatsnew/3.11.rst:1856 +#: whatsnew/3.11.rst:1884 msgid ":func:`!cgi.log`" msgstr "" -#: whatsnew/3.11.rst:1857 +#: whatsnew/3.11.rst:1885 msgid ":func:`importlib.find_loader`" msgstr "" -#: whatsnew/3.11.rst:1858 +#: whatsnew/3.11.rst:1886 msgid ":meth:`importlib.abc.Loader.module_repr`" msgstr "" -#: whatsnew/3.11.rst:1859 +#: whatsnew/3.11.rst:1887 msgid ":meth:`importlib.abc.MetaPathFinder.find_module`" msgstr "" -#: whatsnew/3.11.rst:1860 +#: whatsnew/3.11.rst:1888 msgid ":meth:`importlib.abc.PathEntryFinder.find_loader`" msgstr "" -#: whatsnew/3.11.rst:1861 +#: whatsnew/3.11.rst:1889 msgid ":meth:`importlib.abc.PathEntryFinder.find_module`" msgstr "" -#: whatsnew/3.11.rst:1862 +#: whatsnew/3.11.rst:1890 msgid ":meth:`!importlib.machinery.BuiltinImporter.find_module`" msgstr "" -#: whatsnew/3.11.rst:1863 +#: whatsnew/3.11.rst:1891 msgid ":meth:`!importlib.machinery.BuiltinLoader.module_repr`" msgstr "" -#: whatsnew/3.11.rst:1864 +#: whatsnew/3.11.rst:1892 msgid ":meth:`!importlib.machinery.FileFinder.find_loader`" msgstr "" -#: whatsnew/3.11.rst:1865 +#: whatsnew/3.11.rst:1893 msgid ":meth:`!importlib.machinery.FileFinder.find_module`" msgstr "" -#: whatsnew/3.11.rst:1866 +#: whatsnew/3.11.rst:1894 msgid ":meth:`!importlib.machinery.FrozenImporter.find_module`" msgstr "" -#: whatsnew/3.11.rst:1867 +#: whatsnew/3.11.rst:1895 msgid ":meth:`!importlib.machinery.FrozenLoader.module_repr`" msgstr "" -#: whatsnew/3.11.rst:1868 +#: whatsnew/3.11.rst:1896 msgid ":meth:`importlib.machinery.PathFinder.find_module`" msgstr "" -#: whatsnew/3.11.rst:1869 +#: whatsnew/3.11.rst:1897 msgid ":meth:`!importlib.machinery.WindowsRegistryFinder.find_module`" msgstr "" -#: whatsnew/3.11.rst:1870 +#: whatsnew/3.11.rst:1898 msgid ":func:`importlib.util.module_for_loader`" msgstr "" -#: whatsnew/3.11.rst:1871 +#: whatsnew/3.11.rst:1899 msgid ":func:`!importlib.util.set_loader_wrapper`" msgstr "" -#: whatsnew/3.11.rst:1872 +#: whatsnew/3.11.rst:1900 msgid ":func:`!importlib.util.set_package_wrapper`" msgstr "" -#: whatsnew/3.11.rst:1873 +#: whatsnew/3.11.rst:1901 msgid ":class:`pkgutil.ImpImporter`" msgstr "" -#: whatsnew/3.11.rst:1874 +#: whatsnew/3.11.rst:1902 msgid ":class:`pkgutil.ImpLoader`" msgstr "" -#: whatsnew/3.11.rst:1875 +#: whatsnew/3.11.rst:1903 msgid ":meth:`pathlib.Path.link_to`" msgstr "" -#: whatsnew/3.11.rst:1876 +#: whatsnew/3.11.rst:1904 msgid ":func:`!sqlite3.enable_shared_cache`" msgstr "" -#: whatsnew/3.11.rst:1877 +#: whatsnew/3.11.rst:1905 msgid ":func:`!sqlite3.OptimizedUnicode`" msgstr "" -#: whatsnew/3.11.rst:1878 +#: whatsnew/3.11.rst:1906 msgid ":envvar:`PYTHONTHREADDEBUG` environment variable" msgstr "" -#: whatsnew/3.11.rst:1879 +#: whatsnew/3.11.rst:1907 msgid "The following deprecated aliases in :mod:`unittest`:" msgstr "" -#: whatsnew/3.11.rst:1882 +#: whatsnew/3.11.rst:1910 msgid "Deprecated alias" msgstr "" -#: whatsnew/3.11.rst:1882 +#: whatsnew/3.11.rst:1910 msgid "Method Name" msgstr "" -#: whatsnew/3.11.rst:1882 +#: whatsnew/3.11.rst:1910 msgid "Deprecated in" msgstr "" -#: whatsnew/3.11.rst:1884 +#: whatsnew/3.11.rst:1912 msgid "``failUnless``" msgstr "" -#: whatsnew/3.11.rst:1891 +#: whatsnew/3.11.rst:1919 msgid ":meth:`.assertTrue`" msgstr "" -#: whatsnew/3.11.rst:1885 whatsnew/3.11.rst:1887 whatsnew/3.11.rst:1889 -#: whatsnew/3.11.rst:1890 +#: whatsnew/3.11.rst:1913 whatsnew/3.11.rst:1915 whatsnew/3.11.rst:1917 +#: whatsnew/3.11.rst:1918 msgid "3.1" msgstr "" -#: whatsnew/3.11.rst:1885 +#: whatsnew/3.11.rst:1913 msgid "``failIf``" msgstr "" -#: whatsnew/3.11.rst:1885 +#: whatsnew/3.11.rst:1913 msgid ":meth:`.assertFalse`" msgstr "" -#: whatsnew/3.11.rst:1886 +#: whatsnew/3.11.rst:1914 msgid "``failUnlessEqual``" msgstr "" -#: whatsnew/3.11.rst:1892 +#: whatsnew/3.11.rst:1920 msgid ":meth:`.assertEqual`" msgstr "" -#: whatsnew/3.11.rst:1887 +#: whatsnew/3.11.rst:1915 msgid "``failIfEqual``" msgstr "" -#: whatsnew/3.11.rst:1893 +#: whatsnew/3.11.rst:1921 msgid ":meth:`.assertNotEqual`" msgstr "" -#: whatsnew/3.11.rst:1888 +#: whatsnew/3.11.rst:1916 msgid "``failUnlessAlmostEqual``" msgstr "" -#: whatsnew/3.11.rst:1894 +#: whatsnew/3.11.rst:1922 msgid ":meth:`.assertAlmostEqual`" msgstr "" -#: whatsnew/3.11.rst:1889 +#: whatsnew/3.11.rst:1917 msgid "``failIfAlmostEqual``" msgstr "" -#: whatsnew/3.11.rst:1895 +#: whatsnew/3.11.rst:1923 msgid ":meth:`.assertNotAlmostEqual`" msgstr "" -#: whatsnew/3.11.rst:1890 +#: whatsnew/3.11.rst:1918 msgid "``failUnlessRaises``" msgstr "" -#: whatsnew/3.11.rst:1890 +#: whatsnew/3.11.rst:1918 msgid ":meth:`.assertRaises`" msgstr "" -#: whatsnew/3.11.rst:1891 +#: whatsnew/3.11.rst:1919 msgid "``assert_``" msgstr "" -#: whatsnew/3.11.rst:1892 whatsnew/3.11.rst:1894 whatsnew/3.11.rst:1896 -#: whatsnew/3.11.rst:1897 +#: whatsnew/3.11.rst:1920 whatsnew/3.11.rst:1922 whatsnew/3.11.rst:1924 +#: whatsnew/3.11.rst:1925 msgid "3.2" msgstr "" -#: whatsnew/3.11.rst:1892 +#: whatsnew/3.11.rst:1920 msgid "``assertEquals``" msgstr "" -#: whatsnew/3.11.rst:1893 +#: whatsnew/3.11.rst:1921 msgid "``assertNotEquals``" msgstr "" -#: whatsnew/3.11.rst:1894 +#: whatsnew/3.11.rst:1922 msgid "``assertAlmostEquals``" msgstr "" -#: whatsnew/3.11.rst:1895 +#: whatsnew/3.11.rst:1923 msgid "``assertNotAlmostEquals``" msgstr "" -#: whatsnew/3.11.rst:1896 +#: whatsnew/3.11.rst:1924 msgid "``assertRegexpMatches``" msgstr "" -#: whatsnew/3.11.rst:1896 +#: whatsnew/3.11.rst:1924 msgid ":meth:`.assertRegex`" msgstr "" -#: whatsnew/3.11.rst:1897 +#: whatsnew/3.11.rst:1925 msgid "``assertRaisesRegexp``" msgstr "" -#: whatsnew/3.11.rst:1897 +#: whatsnew/3.11.rst:1925 msgid ":meth:`.assertRaisesRegex`" msgstr "" -#: whatsnew/3.11.rst:1898 +#: whatsnew/3.11.rst:1926 msgid "``assertNotRegexpMatches``" msgstr "" -#: whatsnew/3.11.rst:1898 +#: whatsnew/3.11.rst:1926 msgid ":meth:`.assertNotRegex`" msgstr "" -#: whatsnew/3.11.rst:1898 +#: whatsnew/3.11.rst:1926 msgid "3.5" msgstr "" -#: whatsnew/3.11.rst:2597 +#: whatsnew/3.11.rst:2617 msgid "Removed" msgstr "" -#: whatsnew/3.11.rst:1907 +#: whatsnew/3.11.rst:1935 msgid "This section lists Python APIs that have been removed in Python 3.11." msgstr "" -#: whatsnew/3.11.rst:1909 +#: whatsnew/3.11.rst:1937 msgid "" "Removed C APIs are :ref:`listed separately `." msgstr "" -#: whatsnew/3.11.rst:1911 +#: whatsnew/3.11.rst:1939 msgid "" "Removed the :func:`!@asyncio.coroutine` :term:`decorator` enabling legacy " "generator-based coroutines to be compatible with :keyword:`async` / :keyword:" @@ -2949,14 +2979,14 @@ msgid "" "instead. (Contributed by Illia Volochii in :issue:`43216`.)" msgstr "" -#: whatsnew/3.11.rst:1918 +#: whatsnew/3.11.rst:1946 msgid "" "Removed :class:`!asyncio.coroutines.CoroWrapper` used for wrapping legacy " "generator-based coroutine objects in the debug mode. (Contributed by Illia " "Volochii in :issue:`43216`.)" msgstr "" -#: whatsnew/3.11.rst:1922 +#: whatsnew/3.11.rst:1950 msgid "" "Due to significant security concerns, the *reuse_address* parameter of :meth:" "`asyncio.loop.create_datagram_endpoint`, disabled in Python 3.9, is now " @@ -2965,44 +2995,44 @@ msgid "" "`45129`.)" msgstr "" -#: whatsnew/3.11.rst:1928 +#: whatsnew/3.11.rst:1956 msgid "" "Removed the :mod:`!binhex` module, deprecated in Python 3.9. Also removed " "the related, similarly-deprecated :mod:`binascii` functions:" msgstr "" -#: whatsnew/3.11.rst:1931 +#: whatsnew/3.11.rst:1959 msgid ":func:`!binascii.a2b_hqx`" msgstr "" -#: whatsnew/3.11.rst:1932 +#: whatsnew/3.11.rst:1960 msgid ":func:`!binascii.b2a_hqx`" msgstr "" -#: whatsnew/3.11.rst:1933 +#: whatsnew/3.11.rst:1961 msgid ":func:`!binascii.rlecode_hqx`" msgstr "" -#: whatsnew/3.11.rst:1934 +#: whatsnew/3.11.rst:1962 msgid ":func:`!binascii.rldecode_hqx`" msgstr "" -#: whatsnew/3.11.rst:1936 +#: whatsnew/3.11.rst:1964 msgid "The :func:`binascii.crc_hqx` function remains available." msgstr "" -#: whatsnew/3.11.rst:1938 +#: whatsnew/3.11.rst:1966 msgid "(Contributed by Victor Stinner in :issue:`45085`.)" msgstr "" -#: whatsnew/3.11.rst:1940 +#: whatsnew/3.11.rst:1968 msgid "" "Removed the :mod:`distutils` ``bdist_msi`` command deprecated in Python 3.9. " "Use ``bdist_wheel`` (wheel packages) instead. (Contributed by Hugo van " "Kemenade in :issue:`45124`.)" msgstr "" -#: whatsnew/3.11.rst:1944 +#: whatsnew/3.11.rst:1972 msgid "" "Removed the :meth:`~object.__getitem__` methods of :class:`xml.dom.pulldom." "DOMEventStream`, :class:`wsgiref.util.FileWrapper` and :class:`fileinput." @@ -3010,7 +3040,7 @@ msgid "" "in :issue:`45132`.)" msgstr "" -#: whatsnew/3.11.rst:1949 +#: whatsnew/3.11.rst:1977 msgid "" "Removed the deprecated :mod:`gettext` functions :func:`!lgettext`, :func:`!" "ldgettext`, :func:`!lngettext` and :func:`!ldngettext`. Also removed the :" @@ -3021,62 +3051,62 @@ msgid "" "by Dong-hee Na and Serhiy Storchaka in :issue:`44235`.)" msgstr "" -#: whatsnew/3.11.rst:1959 +#: whatsnew/3.11.rst:1987 msgid "Removed from the :mod:`inspect` module:" msgstr "" -#: whatsnew/3.11.rst:1961 +#: whatsnew/3.11.rst:1989 msgid "" "The :func:`!getargspec` function, deprecated since Python 3.0; use :func:" "`inspect.signature` or :func:`inspect.getfullargspec` instead." msgstr "" -#: whatsnew/3.11.rst:1964 +#: whatsnew/3.11.rst:1992 msgid "" "The :func:`!formatargspec` function, deprecated since Python 3.5; use the :" "func:`inspect.signature` function or the :class:`inspect.Signature` object " "directly." msgstr "" -#: whatsnew/3.11.rst:1968 +#: whatsnew/3.11.rst:1996 msgid "" "The undocumented :meth:`!Signature.from_builtin` and :meth:`!Signature." "from_function` methods, deprecated since Python 3.5; use the :meth:" "`Signature.from_callable() ` method instead." msgstr "" -#: whatsnew/3.11.rst:1973 +#: whatsnew/3.11.rst:2001 msgid "(Contributed by Hugo van Kemenade in :issue:`45320`.)" msgstr "" -#: whatsnew/3.11.rst:1975 +#: whatsnew/3.11.rst:2003 msgid "" "Removed the :meth:`~object.__class_getitem__` method from :class:`pathlib." "PurePath`, because it was not used and added by mistake in previous " "versions. (Contributed by Nikita Sobolev in :issue:`46483`.)" msgstr "" -#: whatsnew/3.11.rst:1980 +#: whatsnew/3.11.rst:2008 msgid "" "Removed the :class:`!MailmanProxy` class in the :mod:`smtpd` module, as it " "is unusable without the external :mod:`!mailman` package. (Contributed by " "Dong-hee Na in :issue:`35800`.)" msgstr "" -#: whatsnew/3.11.rst:1984 +#: whatsnew/3.11.rst:2012 msgid "" "Removed the deprecated :meth:`!split` method of :class:`!_tkinter." "TkappType`. (Contributed by Erlend E. Aasland in :issue:`38371`.)" msgstr "" -#: whatsnew/3.11.rst:1987 +#: whatsnew/3.11.rst:2015 msgid "" "Removed namespace package support from :mod:`unittest` discovery. It was " "introduced in Python 3.4 but has been broken since Python 3.7. (Contributed " "by Inada Naoki in :issue:`23882`.)" msgstr "" -#: whatsnew/3.11.rst:1991 +#: whatsnew/3.11.rst:2019 msgid "" "Removed the undocumented private :meth:`!float.__set_format__()` method, " "previously known as :meth:`!float.__setformat__()` in Python 3.7. Its " @@ -3085,14 +3115,14 @@ msgid "" "in :issue:`46852`.)" msgstr "" -#: whatsnew/3.11.rst:1997 +#: whatsnew/3.11.rst:2025 msgid "" "The :option:`!--experimental-isolated-subinterpreters` configure flag (and " "corresponding :c:macro:`!EXPERIMENTAL_ISOLATED_SUBINTERPRETERS` macro) have " "been removed." msgstr "" -#: whatsnew/3.11.rst:2001 +#: whatsnew/3.11.rst:2029 msgid "" "`Pynche `_ --- The Pythonically Natural " "Color and Hue Editor --- has been moved out of ``Tools/scripts`` and is " @@ -3100,23 +3130,23 @@ msgid "" "main>`_ from the Python source tree." msgstr "" -#: whatsnew/3.11.rst:2241 +#: whatsnew/3.11.rst:2261 msgid "Porting to Python 3.11" msgstr "" -#: whatsnew/3.11.rst:2013 +#: whatsnew/3.11.rst:2041 msgid "" "This section lists previously described changes and other bugfixes in the " "Python API that may require changes to your Python code." msgstr "" -#: whatsnew/3.11.rst:2016 +#: whatsnew/3.11.rst:2044 msgid "" "Porting notes for the C API are :ref:`listed separately `." msgstr "" -#: whatsnew/3.11.rst:2019 +#: whatsnew/3.11.rst:2047 msgid "" ":func:`open`, :func:`io.open`, :func:`codecs.open` and :class:`fileinput." "FileInput` no longer accept ``'U'`` (\"universal newline\") in the file " @@ -3127,7 +3157,7 @@ msgid "" "Stinner in :issue:`37330`.)" msgstr "" -#: whatsnew/3.11.rst:2028 +#: whatsnew/3.11.rst:2056 msgid "" ":class:`ast.AST` node positions are now validated when provided to :func:" "`compile` and other related functions. If invalid positions are detected, a :" @@ -3135,14 +3165,14 @@ msgid "" "`93351`)" msgstr "" -#: whatsnew/3.11.rst:2032 +#: whatsnew/3.11.rst:2060 msgid "" "Prohibited passing non-:class:`concurrent.futures.ThreadPoolExecutor` " "executors to :meth:`asyncio.loop.set_default_executor` following a " "deprecation in Python 3.8. (Contributed by Illia Volochii in :issue:`43234`.)" msgstr "" -#: whatsnew/3.11.rst:2037 +#: whatsnew/3.11.rst:2065 msgid "" ":mod:`calendar`: The :class:`calendar.LocaleTextCalendar` and :class:" "`calendar.LocaleHTMLCalendar` classes now use :func:`locale.getlocale`, " @@ -3150,14 +3180,14 @@ msgid "" "(Contributed by Victor Stinner in :issue:`46659`.)" msgstr "" -#: whatsnew/3.11.rst:2043 +#: whatsnew/3.11.rst:2071 msgid "" "The :mod:`pdb` module now reads the :file:`.pdbrc` configuration file with " "the ``'UTF-8'`` encoding. (Contributed by Srinivas Reddy Thatiparthy (శ్రీనివాస్ " "రెడ్డి తాటిపర్తి) in :issue:`41137`.)" msgstr "" -#: whatsnew/3.11.rst:2047 +#: whatsnew/3.11.rst:2075 msgid "" "The *population* parameter of :func:`random.sample` must be a sequence, and " "automatic conversion of :class:`set`\\s to :class:`list`\\s is no longer " @@ -3166,14 +3196,14 @@ msgid "" "`40465`.)" msgstr "" -#: whatsnew/3.11.rst:2053 +#: whatsnew/3.11.rst:2081 msgid "" "The *random* optional parameter of :func:`random.shuffle` was removed. It " "was previously an arbitrary random function to use for the shuffle; now, :" "func:`random.random` (its previous default) will always be used." msgstr "" -#: whatsnew/3.11.rst:2057 +#: whatsnew/3.11.rst:2085 msgid "" "In :mod:`re` :ref:`re-syntax`, global inline flags (e.g. ``(?i)``) can now " "only be used at the start of regular expressions. Using them elsewhere has " @@ -3181,7 +3211,7 @@ msgid "" "`47066`.)" msgstr "" -#: whatsnew/3.11.rst:2062 +#: whatsnew/3.11.rst:2090 msgid "" "In the :mod:`re` module, several long-standing bugs where fixed that, in " "rare cases, could cause capture groups to get the wrong result. Therefore, " @@ -3189,11 +3219,11 @@ msgid "" "in :issue:`35859`.)" msgstr "" -#: whatsnew/3.11.rst:2071 +#: whatsnew/3.11.rst:2099 msgid "Build Changes" msgstr "" -#: whatsnew/3.11.rst:2073 +#: whatsnew/3.11.rst:2101 msgid "" "CPython now has :pep:`11` :pep:`Tier 3 support <11#tier-3>` for cross " "compiling to the `WebAssembly `_ platforms " @@ -3208,48 +3238,39 @@ msgid "" "gh:`90473`; platforms promoted in :gh:`95085`)" msgstr "" -#: whatsnew/3.11.rst:2087 -msgid "Building Python now requires:" +#: whatsnew/3.11.rst:2115 +msgid "Building CPython now requires:" msgstr "" -#: whatsnew/3.11.rst:2089 +#: whatsnew/3.11.rst:2117 msgid "" -"A `C11 `_ compiler. `Optional C11 " -"features `_ compiler and standard library. " +"`Optional C11 features `_ are not required. " -"(Contributed by Victor Stinner in :issue:`46656`.)" +"(Contributed by Victor Stinner in :issue:`46656`, :issue:`45440` and :issue:" +"`46640`.)" msgstr "" -#: whatsnew/3.11.rst:2095 +#: whatsnew/3.11.rst:2124 msgid "" "Support for `IEEE 754 `_ floating " "point numbers. (Contributed by Victor Stinner in :issue:`46917`.)" msgstr "" -#: whatsnew/3.11.rst:2099 +#: whatsnew/3.11.rst:2128 msgid "" -"Support for `floating point Not-a-Number (NaN) `_, as the :c:macro:`!Py_NO_NAN` macro has been " -"removed. (Contributed by Victor Stinner in :issue:`46656`.)" +"The :c:macro:`!Py_NO_NAN` macro has been removed. Since CPython now requires " +"IEEE 754 floats, NaN values are always available. (Contributed by Victor " +"Stinner in :issue:`46656`.)" msgstr "" -#: whatsnew/3.11.rst:2104 -msgid "" -"A `C99 `_ ```` header file " -"providing the :c:func:`!copysign`, :c:func:`!hypot`, :c:func:`!isfinite`, :c:" -"func:`!isinf`, :c:func:`!isnan`, and :c:func:`!round` functions (contributed " -"by Victor Stinner in :issue:`45440`); and a :c:data:`!NAN` constant or the :" -"c:func:`!__builtin_nan` function (Contributed by Victor Stinner in :issue:" -"`46640`)." -msgstr "" - -#: whatsnew/3.11.rst:2112 +#: whatsnew/3.11.rst:2132 msgid "" "The :mod:`tkinter` package now requires `Tcl/Tk `_ " "version 8.5.12 or newer. (Contributed by Serhiy Storchaka in :issue:`46996`.)" msgstr "" -#: whatsnew/3.11.rst:2116 +#: whatsnew/3.11.rst:2136 msgid "" "Build dependencies, compiler flags, and linker flags for most stdlib " "extension modules are now detected by :program:`configure`. libffi, libnsl, " @@ -3261,13 +3282,13 @@ msgid "" "`45847`, :issue:`45747`, and :issue:`45763`.)" msgstr "" -#: whatsnew/3.11.rst:2126 +#: whatsnew/3.11.rst:2146 msgid "" "libpython is no longer linked against libcrypt. (Contributed by Mike Gilbert " "in :issue:`45433`.)" msgstr "" -#: whatsnew/3.11.rst:2129 +#: whatsnew/3.11.rst:2149 msgid "" "CPython can now be built with the `ThinLTO `_ option via passing ``thin`` to :option:`--with-lto`, i.e. " @@ -3275,7 +3296,7 @@ msgid "" "`44340`.)" msgstr "" -#: whatsnew/3.11.rst:2134 +#: whatsnew/3.11.rst:2154 msgid "" "Freelists for object structs can now be disabled. A new :program:`configure` " "option :option:`!--without-freelists` can be used to disable all freelists " @@ -3283,7 +3304,7 @@ msgid "" "`45522`.)" msgstr "" -#: whatsnew/3.11.rst:2139 +#: whatsnew/3.11.rst:2159 msgid "" "``Modules/Setup`` and ``Modules/makesetup`` have been improved and tied up. " "Extension modules can now be built through ``makesetup``. All except some " @@ -3292,7 +3313,7 @@ msgid "" "`45570`, :issue:`45571`, and :issue:`43974`.)" msgstr "" -#: whatsnew/3.11.rst:2146 +#: whatsnew/3.11.rst:2166 msgid "" "Use the environment variables :envvar:`!TCLTK_CFLAGS` and :envvar:`!" "TCLTK_LIBS` to manually specify the location of Tcl/Tk headers and " @@ -3300,7 +3321,7 @@ msgid "" "and :option:`!--with-tcltk-libs` have been removed." msgstr "" -#: whatsnew/3.11.rst:2152 +#: whatsnew/3.11.rst:2172 msgid "" "On RHEL 7 and CentOS 7 the development packages do not provide ``tcl.pc`` " "and ``tk.pc``; use ``TCLTK_LIBS=\"-ltk8.5 -ltkstub8.5 -ltcl8.5\"``. The " @@ -3308,7 +3329,7 @@ msgid "" "build Python with RHEL 7's and CentOS 7's Tcl/Tk and OpenSSL." msgstr "" -#: whatsnew/3.11.rst:2157 +#: whatsnew/3.11.rst:2177 msgid "" "CPython will now use 30-bit digits by default for the Python :class:`int` " "implementation. Previously, the default was to use 30-bit digits on " @@ -3320,23 +3341,23 @@ msgid "" "in :issue:`45569`.)" msgstr "" -#: whatsnew/3.11.rst:2170 +#: whatsnew/3.11.rst:2190 msgid "C API Changes" msgstr "" -#: whatsnew/3.11.rst:2177 +#: whatsnew/3.11.rst:2197 msgid "" "Add a new :c:func:`PyType_GetName` function to get type's short name. " "(Contributed by Hai Shi in :issue:`42035`.)" msgstr "" -#: whatsnew/3.11.rst:2180 +#: whatsnew/3.11.rst:2200 msgid "" "Add a new :c:func:`PyType_GetQualName` function to get type's qualified " "name. (Contributed by Hai Shi in :issue:`42035`.)" msgstr "" -#: whatsnew/3.11.rst:2183 +#: whatsnew/3.11.rst:2203 msgid "" "Add new :c:func:`PyThreadState_EnterTracing` and :c:func:" "`PyThreadState_LeaveTracing` functions to the limited C API to suspend and " @@ -3344,78 +3365,78 @@ msgid "" "`43760`.)" msgstr "" -#: whatsnew/3.11.rst:2188 +#: whatsnew/3.11.rst:2208 msgid "" "Added the :c:data:`Py_Version` constant which bears the same value as :c:" "macro:`PY_VERSION_HEX`. (Contributed by Gabriele N. Tornetta in :issue:" "`43931`.)" msgstr "" -#: whatsnew/3.11.rst:2192 +#: whatsnew/3.11.rst:2212 msgid "" ":c:type:`Py_buffer` and APIs are now part of the limited API and the stable " "ABI:" msgstr "" -#: whatsnew/3.11.rst:2195 +#: whatsnew/3.11.rst:2215 msgid ":c:func:`PyObject_CheckBuffer`" msgstr "" -#: whatsnew/3.11.rst:2196 +#: whatsnew/3.11.rst:2216 msgid ":c:func:`PyObject_GetBuffer`" msgstr "" -#: whatsnew/3.11.rst:2197 +#: whatsnew/3.11.rst:2217 msgid ":c:func:`PyBuffer_GetPointer`" msgstr "" -#: whatsnew/3.11.rst:2198 +#: whatsnew/3.11.rst:2218 msgid ":c:func:`PyBuffer_SizeFromFormat`" msgstr "" -#: whatsnew/3.11.rst:2199 +#: whatsnew/3.11.rst:2219 msgid ":c:func:`PyBuffer_ToContiguous`" msgstr "" -#: whatsnew/3.11.rst:2200 +#: whatsnew/3.11.rst:2220 msgid ":c:func:`PyBuffer_FromContiguous`" msgstr "" -#: whatsnew/3.11.rst:2201 +#: whatsnew/3.11.rst:2221 msgid ":c:func:`PyBuffer_CopyData`" msgstr "" -#: whatsnew/3.11.rst:2202 +#: whatsnew/3.11.rst:2222 msgid ":c:func:`PyBuffer_IsContiguous`" msgstr "" -#: whatsnew/3.11.rst:2203 +#: whatsnew/3.11.rst:2223 msgid ":c:func:`PyBuffer_FillContiguousStrides`" msgstr "" -#: whatsnew/3.11.rst:2204 +#: whatsnew/3.11.rst:2224 msgid ":c:func:`PyBuffer_FillInfo`" msgstr "" -#: whatsnew/3.11.rst:2205 +#: whatsnew/3.11.rst:2225 msgid ":c:func:`PyBuffer_Release`" msgstr "" -#: whatsnew/3.11.rst:2206 +#: whatsnew/3.11.rst:2226 msgid ":c:func:`PyMemoryView_FromBuffer`" msgstr "" -#: whatsnew/3.11.rst:2207 +#: whatsnew/3.11.rst:2227 msgid "" ":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs." "bf_releasebuffer` type slots" msgstr "" -#: whatsnew/3.11.rst:2210 +#: whatsnew/3.11.rst:2230 msgid "(Contributed by Christian Heimes in :issue:`45459`.)" msgstr "" -#: whatsnew/3.11.rst:2212 +#: whatsnew/3.11.rst:2232 msgid "" "Added the :c:data:`PyType_GetModuleByDef` function, used to get the module " "in which a method was defined, in cases where this information is not " @@ -3423,7 +3444,7 @@ msgid "" "in :issue:`46613`.)" msgstr "" -#: whatsnew/3.11.rst:2217 +#: whatsnew/3.11.rst:2237 msgid "" "Add new functions to pack and unpack C double (serialize and deserialize): :" "c:func:`PyFloat_Pack2`, :c:func:`PyFloat_Pack4`, :c:func:`PyFloat_Pack8`, :c:" @@ -3431,14 +3452,14 @@ msgid "" "`PyFloat_Unpack8`. (Contributed by Victor Stinner in :issue:`46906`.)" msgstr "" -#: whatsnew/3.11.rst:2223 +#: whatsnew/3.11.rst:2243 msgid "" "Add new functions to get frame object attributes: :c:func:" "`PyFrame_GetBuiltins`, :c:func:`PyFrame_GetGenerator`, :c:func:" "`PyFrame_GetGlobals`, :c:func:`PyFrame_GetLasti`." msgstr "" -#: whatsnew/3.11.rst:2227 +#: whatsnew/3.11.rst:2247 msgid "" "Added two new functions to get and set the active exception instance: :c:" "func:`PyErr_GetHandledException` and :c:func:`PyErr_SetHandledException`. " @@ -3447,13 +3468,13 @@ msgid "" "exceptions. (Contributed by Irit Katriel in :issue:`46343`.)" msgstr "" -#: whatsnew/3.11.rst:2234 +#: whatsnew/3.11.rst:2254 msgid "" "Added the :c:member:`PyConfig.safe_path` member. (Contributed by Victor " "Stinner in :gh:`57684`.)" msgstr "" -#: whatsnew/3.11.rst:2245 +#: whatsnew/3.11.rst:2265 msgid "" "Some macros have been converted to static inline functions to avoid `macro " "pitfalls `_. The " @@ -3465,7 +3486,7 @@ msgid "" "Stinner and Erlend E. Aasland in :gh:`89653`.)" msgstr "" -#: whatsnew/3.11.rst:2256 +#: whatsnew/3.11.rst:2276 msgid "" ":c:func:`PyErr_SetExcInfo()` no longer uses the ``type`` and ``traceback`` " "arguments, the interpreter now derives those values from the exception " @@ -3473,14 +3494,14 @@ msgid "" "all three arguments. (Contributed by Irit Katriel in :issue:`45711`.)" msgstr "" -#: whatsnew/3.11.rst:2262 +#: whatsnew/3.11.rst:2282 msgid "" ":c:func:`PyErr_GetExcInfo()` now derives the ``type`` and ``traceback`` " "fields of the result from the exception instance (the ``value`` field). " "(Contributed by Irit Katriel in :issue:`45711`.)" msgstr "" -#: whatsnew/3.11.rst:2266 +#: whatsnew/3.11.rst:2286 msgid "" ":c:struct:`_frozen` has a new ``is_package`` field to indicate whether or " "not the frozen module is a package. Previously, a negative value in the " @@ -3488,14 +3509,14 @@ msgid "" "``size``. (Contributed by Kumar Aditya in :issue:`46608`.)" msgstr "" -#: whatsnew/3.11.rst:2272 +#: whatsnew/3.11.rst:2292 msgid "" ":c:func:`_PyFrameEvalFunction` now takes ``_PyInterpreterFrame*`` as its " "second parameter, instead of ``PyFrameObject*``. See :pep:`523` for more " "details of how to use this function pointer type." msgstr "" -#: whatsnew/3.11.rst:2276 +#: whatsnew/3.11.rst:2296 msgid "" ":c:func:`PyCode_New` and :c:func:`PyCode_NewWithPosOnlyArgs` now take an " "additional ``exception_table`` argument. Using these functions should be " @@ -3504,7 +3525,7 @@ msgid "" "method." msgstr "" -#: whatsnew/3.11.rst:2282 +#: whatsnew/3.11.rst:2302 msgid "" ":c:type:`PyCodeObject` no longer has the ``co_code``, ``co_varnames``, " "``co_cellvars`` and ``co_freevars`` fields. Instead, use :c:func:" @@ -3514,35 +3535,35 @@ msgid "" "and :gh:`94936`.)" msgstr "" -#: whatsnew/3.11.rst:2290 +#: whatsnew/3.11.rst:2310 msgid "" "The old trashcan macros (``Py_TRASHCAN_SAFE_BEGIN``/" "``Py_TRASHCAN_SAFE_END``) are now deprecated. They should be replaced by the " "new macros ``Py_TRASHCAN_BEGIN`` and ``Py_TRASHCAN_END``." msgstr "" -#: whatsnew/3.11.rst:2294 +#: whatsnew/3.11.rst:2314 msgid "A tp_dealloc function that has the old macros, such as::" msgstr "" -#: whatsnew/3.11.rst:2305 +#: whatsnew/3.11.rst:2325 msgid "should migrate to the new macros as follows::" msgstr "" -#: whatsnew/3.11.rst:2316 +#: whatsnew/3.11.rst:2336 msgid "" "Note that ``Py_TRASHCAN_BEGIN`` has a second argument which should be the " "deallocation function it is in." msgstr "" -#: whatsnew/3.11.rst:2319 +#: whatsnew/3.11.rst:2339 msgid "" "To support older Python versions in the same codebase, you can define the " "following macros and use them throughout the code (credit: these were copied " "from the ``mypy`` codebase)::" msgstr "" -#: whatsnew/3.11.rst:2331 +#: whatsnew/3.11.rst:2351 msgid "" "The :c:func:`PyType_Ready` function now raises an error if a type is defined " "with the :const:`Py_TPFLAGS_HAVE_GC` flag set but has no traverse function (:" @@ -3550,7 +3571,7 @@ msgid "" "issue:`44263`.)" msgstr "" -#: whatsnew/3.11.rst:2336 +#: whatsnew/3.11.rst:2356 msgid "" "Heap types with the :const:`Py_TPFLAGS_IMMUTABLETYPE` flag can now inherit " "the :pep:`590` vectorcall protocol. Previously, this was only possible for :" @@ -3558,7 +3579,7 @@ msgid "" "issue:`43908`)" msgstr "" -#: whatsnew/3.11.rst:2341 +#: whatsnew/3.11.rst:2361 msgid "" "Since :c:func:`Py_TYPE()` is changed to a inline static function, " "``Py_TYPE(obj) = new_type`` must be replaced with ``Py_SET_TYPE(obj, " @@ -3566,11 +3587,11 @@ msgid "" "Python 3.9). For backward compatibility, this macro can be used::" msgstr "" -#: whatsnew/3.11.rst:2367 +#: whatsnew/3.11.rst:2387 msgid "(Contributed by Victor Stinner in :issue:`39573`.)" msgstr "" -#: whatsnew/3.11.rst:2355 +#: whatsnew/3.11.rst:2375 msgid "" "Since :c:func:`Py_SIZE()` is changed to a inline static function, " "``Py_SIZE(obj) = new_size`` must be replaced with ``Py_SET_SIZE(obj, " @@ -3578,7 +3599,7 @@ msgid "" "Python 3.9). For backward compatibility, this macro can be used::" msgstr "" -#: whatsnew/3.11.rst:2369 +#: whatsnew/3.11.rst:2389 msgid "" "```` no longer includes the header files ````, ````, ```` and ```` when the ``Py_LIMITED_API`` macro is " @@ -3587,7 +3608,7 @@ msgid "" "(Contributed by Victor Stinner in :issue:`45434`.)" msgstr "" -#: whatsnew/3.11.rst:2375 +#: whatsnew/3.11.rst:2395 msgid "" "The non-limited API files ``cellobject.h``, ``classobject.h``, ``code.h``, " "``context.h``, ``funcobject.h``, ``genobject.h`` and ``longintrepr.h`` have " @@ -3598,7 +3619,7 @@ msgid "" "instead. (Contributed by Victor Stinner in :issue:`35134`.)" msgstr "" -#: whatsnew/3.11.rst:2383 +#: whatsnew/3.11.rst:2403 msgid "" "The :c:func:`PyUnicode_CHECK_INTERNED` macro has been excluded from the " "limited C API. It was never usable there, because it used internal " @@ -3606,149 +3627,149 @@ msgid "" "Victor Stinner in :issue:`46007`.)" msgstr "" -#: whatsnew/3.11.rst:2388 +#: whatsnew/3.11.rst:2408 msgid "" "The following frame functions and type are now directly available with " "``#include ``, it's no longer needed to add ``#include " "``:" msgstr "" -#: whatsnew/3.11.rst:2392 +#: whatsnew/3.11.rst:2412 msgid ":c:func:`PyFrame_Check`" msgstr "" -#: whatsnew/3.11.rst:2393 +#: whatsnew/3.11.rst:2413 msgid ":c:func:`PyFrame_GetBack`" msgstr "" -#: whatsnew/3.11.rst:2394 +#: whatsnew/3.11.rst:2414 msgid ":c:func:`PyFrame_GetBuiltins`" msgstr "" -#: whatsnew/3.11.rst:2395 +#: whatsnew/3.11.rst:2415 msgid ":c:func:`PyFrame_GetGenerator`" msgstr "" -#: whatsnew/3.11.rst:2396 +#: whatsnew/3.11.rst:2416 msgid ":c:func:`PyFrame_GetGlobals`" msgstr "" -#: whatsnew/3.11.rst:2397 +#: whatsnew/3.11.rst:2417 msgid ":c:func:`PyFrame_GetLasti`" msgstr "" -#: whatsnew/3.11.rst:2398 +#: whatsnew/3.11.rst:2418 msgid ":c:func:`PyFrame_GetLocals`" msgstr "" -#: whatsnew/3.11.rst:2399 +#: whatsnew/3.11.rst:2419 msgid ":c:type:`PyFrame_Type`" msgstr "" -#: whatsnew/3.11.rst:2401 +#: whatsnew/3.11.rst:2421 msgid "(Contributed by Victor Stinner in :gh:`93937`.)" msgstr "" -#: whatsnew/3.11.rst:2405 +#: whatsnew/3.11.rst:2425 msgid "" "The :c:type:`PyFrameObject` structure members have been removed from the " "public C API." msgstr "" -#: whatsnew/3.11.rst:2408 +#: whatsnew/3.11.rst:2428 msgid "" "While the documentation notes that the :c:type:`PyFrameObject` fields are " "subject to change at any time, they have been stable for a long time and " "were used in several popular extensions." msgstr "" -#: whatsnew/3.11.rst:2412 +#: whatsnew/3.11.rst:2432 msgid "" "In Python 3.11, the frame struct was reorganized to allow performance " "optimizations. Some fields were removed entirely, as they were details of " "the old implementation." msgstr "" -#: whatsnew/3.11.rst:2416 +#: whatsnew/3.11.rst:2436 msgid ":c:type:`PyFrameObject` fields:" msgstr "" -#: whatsnew/3.11.rst:2418 +#: whatsnew/3.11.rst:2438 msgid "``f_back``: use :c:func:`PyFrame_GetBack`." msgstr "" -#: whatsnew/3.11.rst:2419 +#: whatsnew/3.11.rst:2439 msgid "``f_blockstack``: removed." msgstr "" -#: whatsnew/3.11.rst:2420 +#: whatsnew/3.11.rst:2440 msgid "``f_builtins``: use :c:func:`PyFrame_GetBuiltins`." msgstr "" -#: whatsnew/3.11.rst:2421 +#: whatsnew/3.11.rst:2441 msgid "``f_code``: use :c:func:`PyFrame_GetCode`." msgstr "" -#: whatsnew/3.11.rst:2422 +#: whatsnew/3.11.rst:2442 msgid "``f_gen``: use :c:func:`PyFrame_GetGenerator`." msgstr "" -#: whatsnew/3.11.rst:2423 +#: whatsnew/3.11.rst:2443 msgid "``f_globals``: use :c:func:`PyFrame_GetGlobals`." msgstr "" -#: whatsnew/3.11.rst:2424 +#: whatsnew/3.11.rst:2444 msgid "``f_iblock``: removed." msgstr "" -#: whatsnew/3.11.rst:2425 +#: whatsnew/3.11.rst:2445 msgid "" "``f_lasti``: use :c:func:`PyFrame_GetLasti`. Code using ``f_lasti`` with " "``PyCode_Addr2Line()`` should use :c:func:`PyFrame_GetLineNumber` instead; " "it may be faster." msgstr "" -#: whatsnew/3.11.rst:2428 +#: whatsnew/3.11.rst:2448 msgid "``f_lineno``: use :c:func:`PyFrame_GetLineNumber`" msgstr "" -#: whatsnew/3.11.rst:2429 +#: whatsnew/3.11.rst:2449 msgid "``f_locals``: use :c:func:`PyFrame_GetLocals`." msgstr "" -#: whatsnew/3.11.rst:2430 +#: whatsnew/3.11.rst:2450 msgid "``f_stackdepth``: removed." msgstr "" -#: whatsnew/3.11.rst:2431 +#: whatsnew/3.11.rst:2451 msgid "``f_state``: no public API (renamed to ``f_frame.f_state``)." msgstr "" -#: whatsnew/3.11.rst:2432 +#: whatsnew/3.11.rst:2452 msgid "``f_trace``: no public API." msgstr "" -#: whatsnew/3.11.rst:2433 +#: whatsnew/3.11.rst:2453 msgid "" "``f_trace_lines``: use ``PyObject_GetAttrString((PyObject*)frame, " "\"f_trace_lines\")``." msgstr "" -#: whatsnew/3.11.rst:2434 +#: whatsnew/3.11.rst:2454 msgid "" "``f_trace_opcodes``: use ``PyObject_GetAttrString((PyObject*)frame, " "\"f_trace_opcodes\")``." msgstr "" -#: whatsnew/3.11.rst:2435 +#: whatsnew/3.11.rst:2455 msgid "``f_localsplus``: no public API (renamed to ``f_frame.localsplus``)." msgstr "" -#: whatsnew/3.11.rst:2436 +#: whatsnew/3.11.rst:2456 msgid "``f_valuestack``: removed." msgstr "" -#: whatsnew/3.11.rst:2438 +#: whatsnew/3.11.rst:2458 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 " @@ -3756,7 +3777,7 @@ msgid "" "instead." msgstr "" -#: whatsnew/3.11.rst:2443 +#: whatsnew/3.11.rst:2463 msgid "" "Debuggers that accessed the ``f_locals`` directly *must* call :c:func:" "`PyFrame_GetLocals` instead. They no longer need to call :c:func:" @@ -3765,71 +3786,71 @@ msgid "" "now managed by the virtual machine." msgstr "" -#: whatsnew/3.11.rst:2449 +#: whatsnew/3.11.rst:2469 msgid "Code defining ``PyFrame_GetCode()`` on Python 3.8 and older::" msgstr "" -#: whatsnew/3.11.rst:2459 +#: whatsnew/3.11.rst:2479 msgid "Code defining ``PyFrame_GetBack()`` on Python 3.8 and older::" msgstr "" -#: whatsnew/3.11.rst:2469 +#: whatsnew/3.11.rst:2489 msgid "" -"Or use the `pythoncapi_compat project `__ to get these two functions on older Python versions." +"Or use the `pythoncapi_compat project `__ to get these two functions on older Python versions." msgstr "" -#: whatsnew/3.11.rst:2473 +#: whatsnew/3.11.rst:2493 msgid "Changes of the :c:type:`PyThreadState` structure members:" msgstr "" -#: whatsnew/3.11.rst:2475 +#: whatsnew/3.11.rst:2495 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:2479 +#: whatsnew/3.11.rst:2499 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:2482 +#: whatsnew/3.11.rst:2502 msgid "" "``recursion_depth``: removed, use ``(tstate->recursion_limit - tstate-" ">recursion_remaining)`` instead." msgstr "" -#: whatsnew/3.11.rst:2484 +#: whatsnew/3.11.rst:2504 msgid "``stackcheck_counter``: removed." msgstr "" -#: whatsnew/3.11.rst:2486 +#: whatsnew/3.11.rst:2506 msgid "Code defining ``PyThreadState_GetFrame()`` on Python 3.8 and older::" msgstr "" -#: whatsnew/3.11.rst:2496 +#: whatsnew/3.11.rst:2516 msgid "" "Code defining ``PyThreadState_EnterTracing()`` and " "``PyThreadState_LeaveTracing()`` on Python 3.10 and older::" msgstr "" -#: whatsnew/3.11.rst:2522 +#: whatsnew/3.11.rst:2542 msgid "" -"Or use `the pythoncapi_compat project `__ to get these functions on old Python functions." +"Or use `the pythoncapi-compat project `__ to get these functions on old Python functions." msgstr "" -#: whatsnew/3.11.rst:2526 +#: whatsnew/3.11.rst:2546 msgid "" "Distributors are encouraged to build Python with the optimized Blake2 " "library `libb2`_." msgstr "" -#: whatsnew/3.11.rst:2529 +#: whatsnew/3.11.rst:2549 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 " @@ -3837,7 +3858,7 @@ msgid "" "path and replace any values added to ``module_search_paths``." msgstr "" -#: whatsnew/3.11.rst:2534 +#: whatsnew/3.11.rst:2554 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 " @@ -3846,177 +3867,177 @@ msgid "" "object and modify it directly." msgstr "" -#: whatsnew/3.11.rst:2545 +#: whatsnew/3.11.rst:2565 msgid "" "Deprecate the following functions to configure the Python initialization:" msgstr "" -#: whatsnew/3.11.rst:2547 +#: whatsnew/3.11.rst:2567 msgid ":c:func:`PySys_AddWarnOptionUnicode`" msgstr "" -#: whatsnew/3.11.rst:2548 +#: whatsnew/3.11.rst:2568 msgid ":c:func:`PySys_AddWarnOption`" msgstr "" -#: whatsnew/3.11.rst:2549 +#: whatsnew/3.11.rst:2569 msgid ":c:func:`PySys_AddXOption`" msgstr "" -#: whatsnew/3.11.rst:2550 +#: whatsnew/3.11.rst:2570 msgid ":c:func:`PySys_HasWarnOptions`" msgstr "" -#: whatsnew/3.11.rst:2551 +#: whatsnew/3.11.rst:2571 msgid ":c:func:`PySys_SetArgvEx`" msgstr "" -#: whatsnew/3.11.rst:2552 +#: whatsnew/3.11.rst:2572 msgid ":c:func:`PySys_SetArgv`" msgstr "" -#: whatsnew/3.11.rst:2553 +#: whatsnew/3.11.rst:2573 msgid ":c:func:`PySys_SetPath`" msgstr "" -#: whatsnew/3.11.rst:2554 +#: whatsnew/3.11.rst:2574 msgid ":c:func:`Py_SetPath`" msgstr "" -#: whatsnew/3.11.rst:2555 +#: whatsnew/3.11.rst:2575 msgid ":c:func:`Py_SetProgramName`" msgstr "" -#: whatsnew/3.11.rst:2556 +#: whatsnew/3.11.rst:2576 msgid ":c:func:`Py_SetPythonHome`" msgstr "" -#: whatsnew/3.11.rst:2557 +#: whatsnew/3.11.rst:2577 msgid ":c:func:`Py_SetStandardStreamEncoding`" msgstr "" -#: whatsnew/3.11.rst:2558 +#: whatsnew/3.11.rst:2578 msgid ":c:func:`_Py_SetProgramFullPath`" msgstr "" -#: whatsnew/3.11.rst:2560 +#: whatsnew/3.11.rst:2580 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:2564 +#: whatsnew/3.11.rst:2584 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:2573 +#: whatsnew/3.11.rst:2593 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:2576 +#: whatsnew/3.11.rst:2596 msgid ":c:func:`PyUnicode_AS_DATA`" msgstr "" -#: whatsnew/3.11.rst:2577 +#: whatsnew/3.11.rst:2597 msgid ":c:func:`PyUnicode_AS_UNICODE`" msgstr "" -#: whatsnew/3.11.rst:2578 +#: whatsnew/3.11.rst:2598 msgid ":c:func:`PyUnicode_AsUnicodeAndSize`" msgstr "" -#: whatsnew/3.11.rst:2579 +#: whatsnew/3.11.rst:2599 msgid ":c:func:`PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.11.rst:2580 +#: whatsnew/3.11.rst:2600 msgid ":c:func:`PyUnicode_FromUnicode`" msgstr "" -#: whatsnew/3.11.rst:2581 +#: whatsnew/3.11.rst:2601 msgid ":c:func:`PyUnicode_GET_DATA_SIZE`" msgstr "" -#: whatsnew/3.11.rst:2582 +#: whatsnew/3.11.rst:2602 msgid ":c:func:`PyUnicode_GET_SIZE`" msgstr "" -#: whatsnew/3.11.rst:2583 +#: whatsnew/3.11.rst:2603 msgid ":c:func:`PyUnicode_GetSize`" msgstr "" -#: whatsnew/3.11.rst:2584 +#: whatsnew/3.11.rst:2604 msgid ":c:func:`PyUnicode_IS_COMPACT`" msgstr "" -#: whatsnew/3.11.rst:2585 +#: whatsnew/3.11.rst:2605 msgid ":c:func:`PyUnicode_IS_READY`" msgstr "" -#: whatsnew/3.11.rst:2586 +#: whatsnew/3.11.rst:2606 msgid ":c:func:`PyUnicode_READY`" msgstr "" -#: whatsnew/3.11.rst:2587 +#: whatsnew/3.11.rst:2607 msgid ":c:func:`Py_UNICODE_WSTR_LENGTH`" msgstr "" -#: whatsnew/3.11.rst:2588 +#: whatsnew/3.11.rst:2608 msgid ":c:func:`_PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.11.rst:2589 +#: whatsnew/3.11.rst:2609 msgid ":c:macro:`PyUnicode_WCHAR_KIND`" msgstr "" -#: whatsnew/3.11.rst:2590 +#: whatsnew/3.11.rst:2610 msgid ":c:type:`PyUnicodeObject`" msgstr "" -#: whatsnew/3.11.rst:2591 +#: whatsnew/3.11.rst:2611 msgid ":c:func:`PyUnicode_InternImmortal()`" msgstr "" -#: whatsnew/3.11.rst:2599 +#: whatsnew/3.11.rst:2619 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:2603 +#: whatsnew/3.11.rst:2623 msgid "Remove the following math macros using the ``errno`` variable:" msgstr "" -#: whatsnew/3.11.rst:2605 +#: whatsnew/3.11.rst:2625 msgid "``Py_ADJUST_ERANGE1()``" msgstr "" -#: whatsnew/3.11.rst:2606 +#: whatsnew/3.11.rst:2626 msgid "``Py_ADJUST_ERANGE2()``" msgstr "" -#: whatsnew/3.11.rst:2607 +#: whatsnew/3.11.rst:2627 msgid "``Py_OVERFLOWED()``" msgstr "" -#: whatsnew/3.11.rst:2608 +#: whatsnew/3.11.rst:2628 msgid "``Py_SET_ERANGE_IF_OVERFLOW()``" msgstr "" -#: whatsnew/3.11.rst:2609 +#: whatsnew/3.11.rst:2629 msgid "``Py_SET_ERRNO_ON_MATH_ERROR()``" msgstr "" -#: whatsnew/3.11.rst:2611 +#: whatsnew/3.11.rst:2631 msgid "(Contributed by Victor Stinner in :issue:`45412`.)" msgstr "" -#: whatsnew/3.11.rst:2613 +#: whatsnew/3.11.rst:2633 msgid "" "Remove ``Py_UNICODE_COPY()`` and ``Py_UNICODE_FILL()`` macros, deprecated " "since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or ``memcpy()`` " @@ -4024,62 +4045,62 @@ msgid "" "(Contributed by Victor Stinner in :issue:`41123`.)" msgstr "" -#: whatsnew/3.11.rst:2618 +#: whatsnew/3.11.rst:2638 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:2622 +#: whatsnew/3.11.rst:2642 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:2626 +#: whatsnew/3.11.rst:2646 msgid "" "The following items are no longer available when :c:macro:`Py_LIMITED_API` " "is defined:" msgstr "" -#: whatsnew/3.11.rst:2629 +#: whatsnew/3.11.rst:2649 msgid ":c:func:`PyMarshal_WriteLongToFile`" msgstr "" -#: whatsnew/3.11.rst:2630 +#: whatsnew/3.11.rst:2650 msgid ":c:func:`PyMarshal_WriteObjectToFile`" msgstr "" -#: whatsnew/3.11.rst:2631 +#: whatsnew/3.11.rst:2651 msgid ":c:func:`PyMarshal_ReadObjectFromString`" msgstr "" -#: whatsnew/3.11.rst:2632 +#: whatsnew/3.11.rst:2652 msgid ":c:func:`PyMarshal_WriteObjectToString`" msgstr "" -#: whatsnew/3.11.rst:2633 +#: whatsnew/3.11.rst:2653 msgid "the ``Py_MARSHAL_VERSION`` macro" msgstr "" -#: whatsnew/3.11.rst:2635 +#: whatsnew/3.11.rst:2655 msgid "These are not part of the :ref:`limited API `." msgstr "" -#: whatsnew/3.11.rst:2637 +#: whatsnew/3.11.rst:2657 msgid "(Contributed by Victor Stinner in :issue:`45474`.)" msgstr "" -#: whatsnew/3.11.rst:2639 +#: whatsnew/3.11.rst:2659 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:2644 +#: whatsnew/3.11.rst:2664 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 " @@ -4087,77 +4108,96 @@ msgid "" "in :issue:`40170`.)" msgstr "" -#: whatsnew/3.11.rst:2649 +#: whatsnew/3.11.rst:2669 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:2655 +#: whatsnew/3.11.rst:2675 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:2660 +#: whatsnew/3.11.rst:2680 msgid "The removed functions are:" msgstr "" -#: whatsnew/3.11.rst:2662 +#: whatsnew/3.11.rst:2682 msgid ":func:`!PyUnicode_Encode`" msgstr "" -#: whatsnew/3.11.rst:2663 +#: whatsnew/3.11.rst:2683 msgid ":func:`!PyUnicode_EncodeASCII`" msgstr "" -#: whatsnew/3.11.rst:2664 +#: whatsnew/3.11.rst:2684 msgid ":func:`!PyUnicode_EncodeLatin1`" msgstr "" -#: whatsnew/3.11.rst:2665 +#: whatsnew/3.11.rst:2685 msgid ":func:`!PyUnicode_EncodeUTF7`" msgstr "" -#: whatsnew/3.11.rst:2666 +#: whatsnew/3.11.rst:2686 msgid ":func:`!PyUnicode_EncodeUTF8`" msgstr "" -#: whatsnew/3.11.rst:2667 +#: whatsnew/3.11.rst:2687 msgid ":func:`!PyUnicode_EncodeUTF16`" msgstr "" -#: whatsnew/3.11.rst:2668 +#: whatsnew/3.11.rst:2688 msgid ":func:`!PyUnicode_EncodeUTF32`" msgstr "" -#: whatsnew/3.11.rst:2669 +#: whatsnew/3.11.rst:2689 msgid ":func:`!PyUnicode_EncodeUnicodeEscape`" msgstr "" -#: whatsnew/3.11.rst:2670 +#: whatsnew/3.11.rst:2690 msgid ":func:`!PyUnicode_EncodeRawUnicodeEscape`" msgstr "" -#: whatsnew/3.11.rst:2671 +#: whatsnew/3.11.rst:2691 msgid ":func:`!PyUnicode_EncodeCharmap`" msgstr "" -#: whatsnew/3.11.rst:2672 +#: whatsnew/3.11.rst:2692 msgid ":func:`!PyUnicode_TranslateCharmap`" msgstr "" -#: whatsnew/3.11.rst:2673 +#: whatsnew/3.11.rst:2693 msgid ":func:`!PyUnicode_EncodeDecimal`" msgstr "" -#: whatsnew/3.11.rst:2674 +#: whatsnew/3.11.rst:2694 msgid ":func:`!PyUnicode_TransformDecimalToASCII`" msgstr "" -#: whatsnew/3.11.rst:2676 +#: whatsnew/3.11.rst:2696 msgid "" "See :pep:`624` for details and :pep:`migration guidance <624#alternative-" "apis>`. (Contributed by Inada Naoki in :issue:`44029`.)" msgstr "" + +#: whatsnew/3.11.rst:2702 +msgid "Notable Changes in 3.11.4" +msgstr "" + +#: whatsnew/3.11.rst:2705 +msgid "tarfile" +msgstr "" + +#: whatsnew/3.11.rst:2707 +msgid "" +"The extraction methods in :mod:`tarfile`, and :func:`shutil.unpack_archive`, " +"have a new a *filter* argument that allows limiting tar features than may be " +"surprising or dangerous, such as creating files outside the destination " +"directory. See :ref:`tarfile-extraction-filter` for details. In Python 3.12, " +"use without the *filter* argument will show a :exc:`DeprecationWarning`. In " +"Python 3.14, the default will switch to ``'data'``. (Contributed by Petr " +"Viktorin in :pep:`706`.)" +msgstr "" diff --git a/whatsnew/3.2.po b/whatsnew/3.2.po index 9d2b31a4f..d94885282 100644 --- a/whatsnew/3.2.po +++ b/whatsnew/3.2.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -865,8 +865,8 @@ msgstr "" msgid "" "(Contributed by Raymond Hettinger and incorporating design ideas from Jim " "Baker, Miki Tebeka, and Nick Coghlan; see `recipe 498245 `_\\, `recipe 577479 `_\\, :issue:`10586`, and :issue:`10593`.)" +"activestate.com/recipes/498245/>`_\\, `recipe 577479 `_\\, :issue:`10586`, and :issue:`10593`.)" msgstr "" #: whatsnew/3.2.rst:790 @@ -3008,9 +3008,9 @@ msgid "" "BuildScript/README.txt>`_ for details. For users running a 32/64-bit build, " "there is a known problem with the default Tcl/Tk on Mac OS X 10.6. " "Accordingly, we recommend installing an updated alternative such as " -"`ActiveState Tcl/Tk 8.5.9 `_\\. See https://www.python.org/download/mac/tcltk/ for " -"additional details." +"`ActiveState Tcl/Tk 8.5.9 `_\\. See https://www.python." +"org/download/mac/tcltk/ for additional details." msgstr "" #: whatsnew/3.2.rst:2608 diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index 71560de71..ec65614b2 100644 --- a/whatsnew/3.3.po +++ b/whatsnew/3.3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2748,8 +2748,9 @@ msgstr "" #: whatsnew/3.3.rst:1893 msgid "" "The :class:`~socket.socket` class now supports the PF_RDS protocol family " -"(https://en.wikipedia.org/wiki/Reliable_Datagram_Sockets and https://oss." -"oracle.com/projects/rds/)." +"(https://en.wikipedia.org/wiki/Reliable_Datagram_Sockets and `https://oss." +"oracle.com/projects/rds `__)." msgstr "" #: whatsnew/3.3.rst:1897 @@ -3836,3 +3837,11 @@ msgstr "" msgid "" "(:issue:`11591`, contributed by Carl Meyer with editions by Éric Araujo.)" msgstr "" + +#: whatsnew/3.3.rst:396 +msgid "yield" +msgstr "" + +#: whatsnew/3.3.rst:396 +msgid "yield from (in What's New)" +msgstr "" diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index ef5b2f7dd..4f36aaf78 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -445,7 +445,7 @@ msgid "" "While these annotations are available at runtime through the usual :attr:" "`__annotations__` attribute, *no automatic type checking happens at " "runtime*. Instead, it is assumed that a separate off-line type checker (e." -"g. `mypy `_) will be used for on-demand source code " +"g. `mypy `_) will be used for on-demand source code " "analysis." msgstr "" @@ -2812,7 +2812,8 @@ msgstr "" #: whatsnew/3.5.rst:2214 msgid "" "Windows builds now require Microsoft Visual C++ 14.0, which is available as " -"part of `Visual Studio 2015 `_." +"part of `Visual Studio 2015 `_." msgstr "" #: whatsnew/3.5.rst:2217 diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index f4796b744..72d406262 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.6.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -307,7 +307,7 @@ msgstr "" #: whatsnew/3.6.rst:240 msgid "" -"Tools that use or will use the new syntax: `mypy `_, `pytype `_, PyCharm, etc." msgstr "" diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index 2ab9099b6..3b69e90b2 100644 --- a/whatsnew/3.8.po +++ b/whatsnew/3.8.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2023-02-03 17:30+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -3895,12 +3895,13 @@ msgid "Here's a summary of performance improvements since Python 3.3:" msgstr "İşte Python 3.3'ten bu yana performans iyileştirmelerinin bir özeti:" #: whatsnew/3.8.rst:2225 +#, fuzzy msgid "" "The benchmarks were measured on an `Intel® Core™ i7-4960HQ processor " "`_ running the macOS 64-bit " -"builds found at `python.org `_. " -"The benchmark script displays timings in nanoseconds." +"builds found at `python.org `_. The " +"benchmark script displays timings in nanoseconds." msgstr "" "Kıyaslamalar `python.org `_ " "adresinde bulunan macOS 64-bit yapılarını çalıştıran bir `Intel® Core™ " diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index 26c7e77a8..b54a2c490 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2023-06-01 00:20+0000\n" "PO-Revision-Date: 2023-03-01 11:48+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1607,6 +1607,7 @@ msgstr "" "bir özeti:" #: whatsnew/3.9.rst:846 +#, fuzzy msgid "" "These results were generated from the variable access benchmark script at: " "``Tools/scripts/var_access_benchmark.py``. The benchmark script displays " @@ -1614,7 +1615,7 @@ msgid "" "i7-4960HQ processor `_ running the macOS 64-bit builds found at `python.org `_." +"python.org/downloads/macos/>`_." msgstr "" "Bu sonuçlar, ``Tools/scripts/var_access_benchmark.py`` adresindeki değişken " "erişim kıyaslama betiğinden oluşturulmuştur. Kıyaslama komut dosyası, "