diff --git a/Makefile b/Makefile index e87c6d8aa..6bf12dc41 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ # test build, we're building with the .rst files that generated our # .po files. -CPYTHON_CURRENT_COMMIT := b912d2b24a3fbd552595e3584bf851f9a2c75127 +CPYTHON_CURRENT_COMMIT := ebef3c5ba48aa4d5bdf8c02aba6c6356aef9d56b LANGUAGE := tr BRANCH := 3.12 diff --git a/bugs.po b/bugs.po index 125c56f35..78cd0f4cc 100644 --- a/bugs.po +++ b/bugs.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2023-03-01 12:08+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -66,6 +66,13 @@ msgstr "" #: bugs.rst:25 msgid "" +"If you find a bug in the theme (HTML / CSS / JavaScript) of the " +"documentation, please submit a bug report on the `python-doc-theme bug " +"tracker `_." +msgstr "" + +#: bugs.rst:29 +msgid "" "If you're short on time, you can also email documentation bug reports to " "docs@python.org (behavioral bugs can be sent to python-list@python.org). " "'docs@' is a mailing list run by volunteers; your request will be noticed, " @@ -77,27 +84,27 @@ msgstr "" "posta listesidir; talebiniz fark edilecektir, ancak işlenmesi biraz zaman " "alabilir." -#: bugs.rst:33 +#: bugs.rst:36 msgid "`Documentation bugs`_" msgstr "`Dokümantasyon hataları`_" -#: bugs.rst:33 +#: bugs.rst:37 msgid "" "A list of documentation bugs that have been submitted to the Python issue " "tracker." msgstr "Python sorun takipçisine gönderilen dokümantasyon hatalarının listesi." -#: bugs.rst:36 +#: bugs.rst:39 msgid "`Issue Tracking `_" msgstr "`Hata Takibi `_" -#: bugs.rst:36 +#: bugs.rst:40 msgid "" "Overview of the process involved in reporting an improvement on the tracker." msgstr "" "Takipçide bir iyileştirmenin bildirilmesiyle ilgili sürece genel bakış." -#: bugs.rst:39 +#: bugs.rst:42 msgid "" "`Helping with Documentation `_" @@ -105,7 +112,7 @@ msgstr "" "`Dokümantasyona Yardım Etmek `_" -#: bugs.rst:39 +#: bugs.rst:43 msgid "" "Comprehensive guide for individuals that are interested in contributing to " "Python documentation." @@ -113,7 +120,7 @@ msgstr "" "Python dokümantasyonuna katkıda bulunmak isteyen bireyler için kapsamlı " "kılavuz." -#: bugs.rst:41 +#: bugs.rst:45 msgid "" "`Documentation Translations `_" @@ -121,7 +128,7 @@ msgstr "" "`Dokümantasyon Çevirileri `_" -#: bugs.rst:42 +#: bugs.rst:46 msgid "" "A list of GitHub pages for documentation translation and their primary " "contacts." @@ -129,11 +136,11 @@ msgstr "" "Dokümantasyon çevirilerinin GitHub sayfaları ve bunların iletişim " "bilgilerini içeren bir liste." -#: bugs.rst:48 +#: bugs.rst:52 msgid "Using the Python issue tracker" msgstr "Python hata takipçisini kullanmak" -#: bugs.rst:50 +#: bugs.rst:54 msgid "" "Issue reports for Python itself should be submitted via the GitHub issues " "tracker (https://github.com/python/cpython/issues). The GitHub issues " @@ -145,7 +152,7 @@ msgstr "" "bilgilerin girilmesini ve geliştiricilere gönderilmesini sağlayan bir web " "formu sunar." -#: bugs.rst:55 +#: bugs.rst:59 msgid "" "The first step in filing a report is to determine whether the problem has " "already been reported. The advantage in doing so, aside from saving the " @@ -162,7 +169,7 @@ msgstr "" "mümkünse bilgileri sağlayabilirsiniz!). Bunu yapmak için, sayfanın üst " "kısmındaki arama kutusunu kullanarak hata veritabanında arama yapın." -#: bugs.rst:62 +#: bugs.rst:66 msgid "" "If the problem you're reporting is not already in the list, log in to " "GitHub. If you don't already have a GitHub account, create a new account " @@ -173,7 +180,7 @@ msgstr "" "hesabınız, \"Kayıt Ol\" bağlantısına tıklayın. Hata raporunu anonim olarak " "göndermek mümkün değildir." -#: bugs.rst:67 +#: bugs.rst:71 msgid "" "Being now logged in, you can submit an issue. Click on the \"New issue\" " "button in the top bar to report a new issue." @@ -181,11 +188,11 @@ msgstr "" "Oturum açtıktan sonra bir hata raporu gönderebilirsiniz. Yeni bir rapor " "oluşturmak için sayfanın üst kısmındaki \"New issue\" butonuna tıklayın." -#: bugs.rst:70 +#: bugs.rst:74 msgid "The submission form has two fields, \"Title\" and \"Comment\"." msgstr "Form iki kısımdan oluşur. \"Başlık\" ve \"Yorum\"." -#: bugs.rst:72 +#: bugs.rst:76 msgid "" "For the \"Title\" field, enter a *very* short description of the problem; " "fewer than ten words is good." @@ -193,7 +200,7 @@ msgstr "" "\"Başlık\" için hatanın *çok* kısa açıklamasını girin; başlığın on kelimeden " "az olması iyidir." -#: bugs.rst:75 +#: bugs.rst:79 msgid "" "In the \"Comment\" field, describe the problem in detail, including what you " "expected to happen and what did happen. Be sure to include whether any " @@ -205,7 +212,7 @@ msgstr "" "dahil olup olmadığını, hangi donanım ve yazılım platformunu kullandığınızı " "(uygun sürüm bilgileri dahil) eklediğinizden emin olun." -#: bugs.rst:80 +#: bugs.rst:84 msgid "" "Each issue report will be reviewed by a developer who will determine what " "needs to be done to correct the problem. You will receive an update each " @@ -215,7 +222,7 @@ msgstr "" "bir geliştiriciye atanır. Hata üzerinde her işlem başlatıldığında bir " "güncelleme alırsınız." -#: bugs.rst:89 +#: bugs.rst:91 msgid "" "`How to Report Bugs Effectively `_" @@ -223,7 +230,7 @@ msgstr "" "'Hataları Etkili Bir Şekilde Bildirmek '_" -#: bugs.rst:88 +#: bugs.rst:92 msgid "" "Article which goes into some detail about how to create a useful bug report. " "This describes what kind of information is useful and why it is useful." @@ -232,7 +239,7 @@ msgstr "" "giren makale. Bu makale, ne tür bilgilerin yararlı olduğunu ve neden yararlı " "olduğunu açıklar." -#: bugs.rst:92 +#: bugs.rst:95 msgid "" "`Bug Writing Guidelines `_" @@ -240,7 +247,7 @@ msgstr "" "'Hata Raporu Yazma Yönergeleri '_" -#: bugs.rst:92 +#: bugs.rst:96 msgid "" "Information about writing a good bug report. Some of this is specific to " "the Mozilla project, but describes general good practices." @@ -248,11 +255,11 @@ msgstr "" "İyi bir hata raporu yazma hakkında bilgi. Bunların bir kısmı Mozilla " "projesine özgüdür, ancak genel iyi uygulamaları açıklar." -#: bugs.rst:98 +#: bugs.rst:102 msgid "Getting started contributing to Python yourself" msgstr "Python'a kendiniz katkıda bulunmaya başlayın" -#: bugs.rst:100 +#: bugs.rst:104 msgid "" "Beyond just reporting bugs that you find, you are also welcome to submit " "patches to fix them. You can find more information on how to get started " diff --git a/c-api/arg.po b/c-api/arg.po index 0ad378d44..2ba328083 100644 --- a/c-api/arg.po +++ b/c-api/arg.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -120,7 +120,7 @@ msgid "" "otherwise." msgstr "" -#: c-api/arg.rst:98 +#: c-api/arg.rst:80 msgid "``s`` (:class:`str`) [const char \\*]" msgstr "" @@ -148,7 +148,7 @@ msgid "" "encountered in the Python string." msgstr "" -#: c-api/arg.rst:104 +#: c-api/arg.rst:100 msgid "``s*`` (:class:`str` or :term:`bytes-like object`) [Py_buffer]" msgstr "" @@ -160,7 +160,7 @@ msgid "" "converted to C strings using ``'utf-8'`` encoding." msgstr "" -#: c-api/arg.rst:111 +#: c-api/arg.rst:106 msgid "" "``s#`` (:class:`str`, read-only :term:`bytes-like object`) [const char \\*, :" "c:type:`Py_ssize_t`]" @@ -175,7 +175,7 @@ msgid "" "encoding." msgstr "" -#: c-api/arg.rst:547 +#: c-api/arg.rst:546 msgid "``z`` (:class:`str` or ``None``) [const char \\*]" msgstr "" @@ -185,7 +185,7 @@ msgid "" "pointer is set to ``NULL``." msgstr "" -#: c-api/arg.rst:119 +#: c-api/arg.rst:117 msgid "" "``z*`` (:class:`str`, :term:`bytes-like object` or ``None``) [Py_buffer]" msgstr "" @@ -196,7 +196,7 @@ msgid "" "``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``." msgstr "" -#: c-api/arg.rst:123 +#: c-api/arg.rst:121 msgid "" "``z#`` (:class:`str`, read-only :term:`bytes-like object` or ``None``) " "[const char \\*, :c:type:`Py_ssize_t`]" @@ -208,7 +208,7 @@ msgid "" "pointer is set to ``NULL``." msgstr "" -#: c-api/arg.rst:134 +#: c-api/arg.rst:125 msgid "``y`` (read-only :term:`bytes-like object`) [const char \\*]" msgstr "" @@ -226,7 +226,7 @@ msgid "" "encountered in the bytes buffer." msgstr "" -#: c-api/arg.rst:139 +#: c-api/arg.rst:136 msgid "``y*`` (:term:`bytes-like object`) [Py_buffer]" msgstr "" @@ -236,7 +236,7 @@ msgid "" "objects. **This is the recommended way to accept binary data.**" msgstr "" -#: c-api/arg.rst:143 +#: c-api/arg.rst:141 msgid "" "``y#`` (read-only :term:`bytes-like object`) [const char \\*, :c:type:" "`Py_ssize_t`]" @@ -248,7 +248,7 @@ msgid "" "objects." msgstr "" -#: c-api/arg.rst:148 +#: c-api/arg.rst:145 msgid "``S`` (:class:`bytes`) [PyBytesObject \\*]" msgstr "" @@ -259,7 +259,7 @@ msgid "" "bytes object. The C variable may also be declared as :c:expr:`PyObject*`." msgstr "" -#: c-api/arg.rst:153 +#: c-api/arg.rst:150 msgid "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]" msgstr "" @@ -271,7 +271,7 @@ msgid "" "`PyObject*`." msgstr "" -#: c-api/arg.rst:158 +#: c-api/arg.rst:155 msgid "``U`` (:class:`str`) [PyObject \\*]" msgstr "" @@ -282,7 +282,7 @@ msgid "" "The C variable may also be declared as :c:expr:`PyObject*`." msgstr "" -#: c-api/arg.rst:164 +#: c-api/arg.rst:160 msgid "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]" msgstr "" @@ -294,7 +294,7 @@ msgid "" "`PyBuffer_Release` when it is done with the buffer." msgstr "" -#: c-api/arg.rst:181 +#: c-api/arg.rst:166 msgid "``es`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer]" msgstr "" @@ -323,7 +323,7 @@ msgid "" "`PyMem_Free` to free the allocated buffer after use." msgstr "" -#: c-api/arg.rst:186 +#: c-api/arg.rst:183 msgid "" "``et`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char " "\\*encoding, char \\*\\*buffer]" @@ -336,7 +336,7 @@ msgid "" "object uses the encoding passed in as parameter." msgstr "" -#: c-api/arg.rst:217 +#: c-api/arg.rst:188 msgid "" "``es#`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer, :c:type:" "`Py_ssize_t` \\*buffer_length]" @@ -390,7 +390,7 @@ msgid "" "without the trailing NUL byte." msgstr "" -#: c-api/arg.rst:222 +#: c-api/arg.rst:219 msgid "" "``et#`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char " "\\*encoding, char \\*\\*buffer, :c:type:`Py_ssize_t` \\*buffer_length]" @@ -413,7 +413,7 @@ msgstr "" msgid "Numbers" msgstr "" -#: c-api/arg.rst:234 +#: c-api/arg.rst:232 msgid "``b`` (:class:`int`) [unsigned char]" msgstr "" @@ -423,7 +423,7 @@ msgid "" "c:expr:`unsigned char`." msgstr "" -#: c-api/arg.rst:581 +#: c-api/arg.rst:580 msgid "``B`` (:class:`int`) [unsigned char]" msgstr "" @@ -433,7 +433,7 @@ msgid "" "a C :c:expr:`unsigned char`." msgstr "" -#: c-api/arg.rst:575 +#: c-api/arg.rst:574 msgid "``h`` (:class:`int`) [short int]" msgstr "" @@ -441,7 +441,7 @@ msgstr "" msgid "Convert a Python integer to a C :c:expr:`short int`." msgstr "" -#: c-api/arg.rst:584 +#: c-api/arg.rst:583 msgid "``H`` (:class:`int`) [unsigned short int]" msgstr "" @@ -451,7 +451,7 @@ msgid "" "overflow checking." msgstr "" -#: c-api/arg.rst:569 +#: c-api/arg.rst:568 msgid "``i`` (:class:`int`) [int]" msgstr "" @@ -459,7 +459,7 @@ msgstr "" msgid "Convert a Python integer to a plain C :c:expr:`int`." msgstr "" -#: c-api/arg.rst:587 +#: c-api/arg.rst:586 msgid "``I`` (:class:`int`) [unsigned int]" msgstr "" @@ -469,7 +469,7 @@ msgid "" "checking." msgstr "" -#: c-api/arg.rst:578 +#: c-api/arg.rst:577 msgid "``l`` (:class:`int`) [long int]" msgstr "" @@ -477,7 +477,7 @@ msgstr "" msgid "Convert a Python integer to a C :c:expr:`long int`." msgstr "" -#: c-api/arg.rst:590 +#: c-api/arg.rst:589 msgid "``k`` (:class:`int`) [unsigned long]" msgstr "" @@ -487,7 +487,7 @@ msgid "" "checking." msgstr "" -#: c-api/arg.rst:593 +#: c-api/arg.rst:592 msgid "``L`` (:class:`int`) [long long]" msgstr "" @@ -495,7 +495,7 @@ msgstr "" msgid "Convert a Python integer to a C :c:expr:`long long`." msgstr "" -#: c-api/arg.rst:596 +#: c-api/arg.rst:595 msgid "``K`` (:class:`int`) [unsigned long long]" msgstr "" @@ -505,7 +505,7 @@ msgid "" "overflow checking." msgstr "" -#: c-api/arg.rst:599 +#: c-api/arg.rst:598 msgid "``n`` (:class:`int`) [:c:type:`Py_ssize_t`]" msgstr "" @@ -513,7 +513,7 @@ msgstr "" msgid "Convert a Python integer to a C :c:type:`Py_ssize_t`." msgstr "" -#: c-api/arg.rst:276 +#: c-api/arg.rst:271 msgid "``c`` (:class:`bytes` or :class:`bytearray` of length 1) [char]" msgstr "" @@ -527,7 +527,7 @@ msgstr "" msgid "Allow :class:`bytearray` objects." msgstr "" -#: c-api/arg.rst:607 +#: c-api/arg.rst:605 msgid "``C`` (:class:`str` of length 1) [int]" msgstr "" @@ -537,7 +537,7 @@ msgid "" "1, to a C :c:expr:`int`." msgstr "" -#: c-api/arg.rst:613 +#: c-api/arg.rst:612 msgid "``f`` (:class:`float`) [float]" msgstr "" @@ -545,7 +545,7 @@ msgstr "" msgid "Convert a Python floating point number to a C :c:expr:`float`." msgstr "" -#: c-api/arg.rst:610 +#: c-api/arg.rst:609 msgid "``d`` (:class:`float`) [double]" msgstr "" @@ -553,7 +553,7 @@ msgstr "" msgid "Convert a Python floating point number to a C :c:expr:`double`." msgstr "" -#: c-api/arg.rst:289 +#: c-api/arg.rst:288 msgid "``D`` (:class:`complex`) [Py_complex]" msgstr "" @@ -565,7 +565,7 @@ msgstr "" msgid "Other objects" msgstr "" -#: c-api/arg.rst:626 +#: c-api/arg.rst:618 msgid "``O`` (object) [PyObject \\*]" msgstr "" @@ -577,7 +577,7 @@ msgid "" "not increased). The pointer stored is not ``NULL``." msgstr "" -#: c-api/arg.rst:306 +#: c-api/arg.rst:301 msgid "``O!`` (object) [*typeobject*, PyObject \\*]" msgstr "" @@ -590,7 +590,7 @@ msgid "" "required type, :exc:`TypeError` is raised." msgstr "" -#: c-api/arg.rst:640 +#: c-api/arg.rst:636 msgid "``O&`` (object) [*converter*, *anything*]" msgstr "" @@ -625,7 +625,7 @@ msgstr "" msgid "``Py_CLEANUP_SUPPORTED`` was added." msgstr "" -#: c-api/arg.rst:340 +#: c-api/arg.rst:333 msgid "``p`` (:class:`bool`) [int]" msgstr "" @@ -638,7 +638,7 @@ msgid "" "how Python tests values for truth." msgstr "" -#: c-api/arg.rst:643 +#: c-api/arg.rst:642 msgid "``(items)`` (:class:`tuple`) [*matching-items*]" msgstr "" @@ -664,7 +664,7 @@ msgid "" "occur inside nested parentheses. They are:" msgstr "" -#: c-api/arg.rst:361 +#: c-api/arg.rst:356 msgid "``|``" msgstr "" @@ -677,7 +677,7 @@ msgid "" "corresponding C variable(s)." msgstr "" -#: c-api/arg.rst:370 +#: c-api/arg.rst:363 msgid "``$``" msgstr "" @@ -689,7 +689,7 @@ msgid "" "be specified before ``$`` in the format string." msgstr "" -#: c-api/arg.rst:375 +#: c-api/arg.rst:372 msgid "``:``" msgstr "" @@ -700,7 +700,7 @@ msgid "" "exception that :c:func:`PyArg_ParseTuple` raises)." msgstr "" -#: c-api/arg.rst:380 +#: c-api/arg.rst:377 msgid "``;``" msgstr "" @@ -871,7 +871,7 @@ msgid "" "format strings a tad more readable." msgstr "" -#: c-api/arg.rst:531 +#: c-api/arg.rst:529 msgid "``s`` (:class:`str` or ``None``) [const char \\*]" msgstr "" @@ -881,7 +881,7 @@ msgid "" "``'utf-8'`` encoding. If the C string pointer is ``NULL``, ``None`` is used." msgstr "" -#: c-api/arg.rst:536 +#: c-api/arg.rst:533 msgid "" "``s#`` (:class:`str` or ``None``) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" @@ -893,7 +893,7 @@ msgid "" "ignored and ``None`` is returned." msgstr "" -#: c-api/arg.rst:540 +#: c-api/arg.rst:538 msgid "``y`` (:class:`bytes`) [const char \\*]" msgstr "" @@ -903,7 +903,7 @@ msgid "" "pointer is ``NULL``, ``None`` is returned." msgstr "" -#: c-api/arg.rst:544 +#: c-api/arg.rst:542 msgid "``y#`` (:class:`bytes`) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" @@ -917,7 +917,7 @@ msgstr "" msgid "Same as ``s``." msgstr "" -#: c-api/arg.rst:550 +#: c-api/arg.rst:549 msgid "" "``z#`` (:class:`str` or ``None``) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" @@ -926,7 +926,7 @@ msgstr "" msgid "Same as ``s#``." msgstr "" -#: c-api/arg.rst:555 +#: c-api/arg.rst:552 msgid "``u`` (:class:`str`) [const wchar_t \\*]" msgstr "" @@ -937,7 +937,7 @@ msgid "" "``NULL``, ``None`` is returned." msgstr "" -#: c-api/arg.rst:560 +#: c-api/arg.rst:557 msgid "``u#`` (:class:`str`) [const wchar_t \\*, :c:type:`Py_ssize_t`]" msgstr "" @@ -948,11 +948,11 @@ msgid "" "ignored and ``None`` is returned." msgstr "" -#: c-api/arg.rst:563 +#: c-api/arg.rst:562 msgid "``U`` (:class:`str` or ``None``) [const char \\*]" msgstr "" -#: c-api/arg.rst:566 +#: c-api/arg.rst:565 msgid "" "``U#`` (:class:`str` or ``None``) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" @@ -961,7 +961,7 @@ msgstr "" msgid "Convert a plain C :c:expr:`int` to a Python integer object." msgstr "" -#: c-api/arg.rst:572 +#: c-api/arg.rst:571 msgid "``b`` (:class:`int`) [char]" msgstr "" @@ -1005,7 +1005,7 @@ msgstr "" msgid "Convert a C :c:type:`Py_ssize_t` to a Python integer." msgstr "" -#: c-api/arg.rst:603 +#: c-api/arg.rst:601 msgid "``c`` (:class:`bytes` of length 1) [char]" msgstr "" @@ -1029,7 +1029,7 @@ msgstr "" msgid "Convert a C :c:expr:`float` to a Python floating point number." msgstr "" -#: c-api/arg.rst:616 +#: c-api/arg.rst:615 msgid "``D`` (:class:`complex`) [Py_complex \\*]" msgstr "" @@ -1047,7 +1047,7 @@ msgid "" "no exception has been raised yet, :exc:`SystemError` is set." msgstr "" -#: c-api/arg.rst:629 +#: c-api/arg.rst:628 msgid "``S`` (object) [PyObject \\*]" msgstr "" @@ -1055,7 +1055,7 @@ msgstr "" msgid "Same as ``O``." msgstr "" -#: c-api/arg.rst:634 +#: c-api/arg.rst:631 msgid "``N`` (object) [PyObject \\*]" msgstr "" @@ -1080,7 +1080,7 @@ msgid "" "items." msgstr "" -#: c-api/arg.rst:646 +#: c-api/arg.rst:645 msgid "``[items]`` (:class:`list`) [*matching-items*]" msgstr "" @@ -1090,7 +1090,7 @@ msgid "" "items." msgstr "" -#: c-api/arg.rst:651 +#: c-api/arg.rst:648 msgid "``{items}`` (:class:`dict`) [*matching-items*]" msgstr "" diff --git a/c-api/call.po b/c-api/call.po index eb42d55ad..f120214e9 100644 --- a/c-api/call.po +++ b/c-api/call.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -114,7 +114,7 @@ msgstr "" msgid "*callable* is the object being called." msgstr "" -#: c-api/call.rst:84 +#: c-api/call.rst:83 msgid "" "*args* is a C array consisting of the positional arguments followed by the" msgstr "" @@ -125,7 +125,7 @@ msgid "" "arguments." msgstr "" -#: c-api/call.rst:88 +#: c-api/call.rst:86 msgid "*nargsf* is the number of positional arguments plus possibly the" msgstr "" @@ -135,7 +135,7 @@ msgid "" "positional arguments from *nargsf*, use :c:func:`PyVectorcall_NARGS`." msgstr "" -#: c-api/call.rst:94 +#: c-api/call.rst:90 msgid "*kwnames* is a tuple containing the names of the keyword arguments;" msgstr "" diff --git a/c-api/exceptions.po b/c-api/exceptions.po index f52f1e734..aeee089b4 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -240,28 +240,29 @@ msgstr "" #: c-api/exceptions.rst:211 msgid "" -"This is a convenience function to raise :exc:`WindowsError`. If called with " +"This is a convenience function to raise :exc:`OSError`. If called with " "*ierr* of ``0``, the error code returned by a call to :c:func:`!" "GetLastError` is used instead. It calls the Win32 function :c:func:`!" "FormatMessage` to retrieve the Windows description of error code given by " -"*ierr* or :c:func:`!GetLastError`, then it constructs a tuple object whose " -"first item is the *ierr* value and whose second item is the corresponding " -"error message (gotten from :c:func:`!FormatMessage`), and then calls " -"``PyErr_SetObject(PyExc_WindowsError, object)``. This function always " -"returns ``NULL``." +"*ierr* or :c:func:`!GetLastError`, then it constructs a :exc:`OSError` " +"object with the :attr:`~OSError.winerror` attribute set to the error code, " +"the :attr:`~OSError.strerror` attribute set to the corresponding error " +"message (gotten from :c:func:`!FormatMessage`), and then calls " +"``PyErr_SetObject(PyExc_OSError, object)``. This function always returns " +"``NULL``." msgstr "" -#: c-api/exceptions.rst:228 c-api/exceptions.rst:249 c-api/exceptions.rst:267 +#: c-api/exceptions.rst:229 c-api/exceptions.rst:250 c-api/exceptions.rst:268 msgid ":ref:`Availability `: Windows." msgstr "" -#: c-api/exceptions.rst:225 +#: c-api/exceptions.rst:226 msgid "" "Similar to :c:func:`PyErr_SetFromWindowsErr`, with an additional parameter " "specifying the exception type to be raised." msgstr "" -#: c-api/exceptions.rst:233 +#: c-api/exceptions.rst:234 msgid "" "Similar to :c:func:`PyErr_SetFromWindowsErr`, with the additional behavior " "that if *filename* is not ``NULL``, it is decoded from the filesystem " @@ -270,7 +271,7 @@ msgid "" "attribute of the exception instance." msgstr "" -#: c-api/exceptions.rst:244 +#: c-api/exceptions.rst:245 msgid "" "Similar to :c:func:`PyErr_SetExcFromWindowsErr`, with the additional " "behavior that if *filename* is not ``NULL``, it is passed to the constructor " @@ -278,19 +279,19 @@ msgid "" "filename` attribute of the exception instance." msgstr "" -#: c-api/exceptions.rst:254 +#: c-api/exceptions.rst:255 msgid "" "Similar to :c:func:`PyErr_SetExcFromWindowsErrWithFilenameObject`, but " "accepts a second filename object." msgstr "" -#: c-api/exceptions.rst:264 +#: c-api/exceptions.rst:265 msgid "" "Similar to :c:func:`PyErr_SetFromWindowsErrWithFilename`, with an additional " "parameter specifying the exception type to be raised." msgstr "" -#: c-api/exceptions.rst:272 +#: c-api/exceptions.rst:273 msgid "" "This is a convenience function to raise :exc:`ImportError`. *msg* will be " "set as the exception's message string. *name* and *path*, both of which can " @@ -298,13 +299,13 @@ msgid "" "``path`` attributes." msgstr "" -#: c-api/exceptions.rst:282 +#: c-api/exceptions.rst:283 msgid "" "Much like :c:func:`PyErr_SetImportError` but this function allows for " "specifying a subclass of :exc:`ImportError` to raise." msgstr "" -#: c-api/exceptions.rst:290 +#: c-api/exceptions.rst:291 msgid "" "Set file, line, and offset information for the current exception. If the " "current exception is not a :exc:`SyntaxError`, then it sets additional " @@ -312,19 +313,19 @@ msgid "" "is a :exc:`SyntaxError`." msgstr "" -#: c-api/exceptions.rst:300 +#: c-api/exceptions.rst:301 msgid "" "Like :c:func:`PyErr_SyntaxLocationObject`, but *filename* is a byte string " "decoded from the :term:`filesystem encoding and error handler`." msgstr "" -#: c-api/exceptions.rst:308 +#: c-api/exceptions.rst:309 msgid "" "Like :c:func:`PyErr_SyntaxLocationEx`, but the *col_offset* parameter is " "omitted." msgstr "" -#: c-api/exceptions.rst:314 +#: c-api/exceptions.rst:315 msgid "" "This is a shorthand for ``PyErr_SetString(PyExc_SystemError, message)``, " "where *message* indicates that an internal operation (e.g. a Python/C API " @@ -332,11 +333,11 @@ msgid "" "use." msgstr "" -#: c-api/exceptions.rst:321 +#: c-api/exceptions.rst:322 msgid "Issuing warnings" msgstr "" -#: c-api/exceptions.rst:323 +#: c-api/exceptions.rst:324 msgid "" "Use these functions to issue warnings from C code. They mirror similar " "functions exported by the Python :mod:`warnings` module. They normally " @@ -352,7 +353,7 @@ msgid "" "return an error value)." msgstr "" -#: c-api/exceptions.rst:338 +#: c-api/exceptions.rst:339 msgid "" "Issue a warning message. The *category* argument is a warning category (see " "below) or ``NULL``; the *message* argument is a UTF-8 encoded string. " @@ -362,7 +363,7 @@ msgid "" "`PyErr_WarnEx`, 2 is the function above that, and so forth." msgstr "" -#: c-api/exceptions.rst:345 +#: c-api/exceptions.rst:346 msgid "" "Warning categories must be subclasses of :c:data:`PyExc_Warning`; :c:data:" "`PyExc_Warning` is a subclass of :c:data:`PyExc_Exception`; the default " @@ -371,14 +372,14 @@ msgid "" "enumerated at :ref:`standardwarningcategories`." msgstr "" -#: c-api/exceptions.rst:351 +#: c-api/exceptions.rst:352 msgid "" "For information about warning control, see the documentation for the :mod:" "`warnings` module and the :option:`-W` option in the command line " "documentation. There is no C API for warning control." msgstr "" -#: c-api/exceptions.rst:358 +#: c-api/exceptions.rst:359 msgid "" "Issue a warning message with explicit control over all warning attributes. " "This is a straightforward wrapper around the Python function :func:`warnings." @@ -386,32 +387,32 @@ msgid "" "arguments may be set to ``NULL`` to get the default effect described there." msgstr "" -#: c-api/exceptions.rst:369 +#: c-api/exceptions.rst:370 msgid "" "Similar to :c:func:`PyErr_WarnExplicitObject` except that *message* and " "*module* are UTF-8 encoded strings, and *filename* is decoded from the :term:" "`filesystem encoding and error handler`." msgstr "" -#: c-api/exceptions.rst:376 +#: c-api/exceptions.rst:377 msgid "" "Function similar to :c:func:`PyErr_WarnEx`, but use :c:func:" "`PyUnicode_FromFormat` to format the warning message. *format* is an ASCII-" "encoded string." msgstr "" -#: c-api/exceptions.rst:385 +#: c-api/exceptions.rst:386 msgid "" "Function similar to :c:func:`PyErr_WarnFormat`, but *category* is :exc:" "`ResourceWarning` and it passes *source* to :class:`!warnings." "WarningMessage`." msgstr "" -#: c-api/exceptions.rst:392 +#: c-api/exceptions.rst:393 msgid "Querying the error indicator" msgstr "" -#: c-api/exceptions.rst:396 +#: c-api/exceptions.rst:397 msgid "" "Test whether the error indicator is set. If set, return the exception " "*type* (the first argument to the last call to one of the ``PyErr_Set*`` " @@ -420,11 +421,11 @@ msgid "" "`Py_DECREF` it." msgstr "" -#: c-api/exceptions.rst:402 +#: c-api/exceptions.rst:403 msgid "The caller must hold the GIL." msgstr "" -#: c-api/exceptions.rst:406 +#: c-api/exceptions.rst:407 msgid "" "Do not compare the return value to a specific exception; use :c:func:" "`PyErr_ExceptionMatches` instead, shown below. (The comparison could easily " @@ -432,14 +433,14 @@ msgid "" "of a class exception, or it may be a subclass of the expected exception.)" msgstr "" -#: c-api/exceptions.rst:414 +#: c-api/exceptions.rst:415 msgid "" "Equivalent to ``PyErr_GivenExceptionMatches(PyErr_Occurred(), exc)``. This " "should only be called when an exception is actually set; a memory access " "violation will occur if no exception has been raised." msgstr "" -#: c-api/exceptions.rst:421 +#: c-api/exceptions.rst:422 msgid "" "Return true if the *given* exception matches the exception type in *exc*. " "If *exc* is a class object, this also returns true when *given* is an " @@ -447,43 +448,43 @@ msgid "" "tuple (and recursively in subtuples) are searched for a match." msgstr "" -#: c-api/exceptions.rst:429 +#: c-api/exceptions.rst:430 msgid "" "Return the exception currently being raised, clearing the error indicator at " "the same time. Return ``NULL`` if the error indicator is not set." msgstr "" -#: c-api/exceptions.rst:432 +#: c-api/exceptions.rst:433 msgid "" "This function is used by code that needs to catch exceptions, or code that " "needs to save and restore the error indicator temporarily." msgstr "" -#: c-api/exceptions.rst:479 +#: c-api/exceptions.rst:480 msgid "For example::" msgstr "" -#: c-api/exceptions.rst:445 +#: c-api/exceptions.rst:446 msgid "" ":c:func:`PyErr_GetHandledException`, to save the exception currently being " "handled." msgstr "" -#: c-api/exceptions.rst:453 +#: c-api/exceptions.rst:454 msgid "" "Set *exc* as the exception currently being raised, clearing the existing " "exception if one is set." msgstr "" -#: c-api/exceptions.rst:458 +#: c-api/exceptions.rst:459 msgid "This call steals a reference to *exc*, which must be a valid exception." msgstr "" -#: c-api/exceptions.rst:467 +#: c-api/exceptions.rst:468 msgid "Use :c:func:`PyErr_GetRaisedException` instead." msgstr "" -#: c-api/exceptions.rst:469 +#: c-api/exceptions.rst:470 msgid "" "Retrieve the error indicator into three variables whose addresses are " "passed. If the error indicator is not set, set all three variables to " @@ -492,17 +493,17 @@ msgid "" "the type object is not." msgstr "" -#: c-api/exceptions.rst:476 +#: c-api/exceptions.rst:477 msgid "" "This function is normally only used by legacy code that needs to catch " "exceptions or save and restore the error indicator temporarily." msgstr "" -#: c-api/exceptions.rst:495 +#: c-api/exceptions.rst:496 msgid "Use :c:func:`PyErr_SetRaisedException` instead." msgstr "" -#: c-api/exceptions.rst:497 +#: c-api/exceptions.rst:498 msgid "" "Set the error indicator from the three objects, *type*, *value*, and " "*traceback*, clearing the existing exception if one is set. If the objects " @@ -515,20 +516,20 @@ msgid "" "don't use this function. I warned you.)" msgstr "" -#: c-api/exceptions.rst:511 +#: c-api/exceptions.rst:512 msgid "" "This function is normally only used by legacy code that needs to save and " "restore the error indicator temporarily. Use :c:func:`PyErr_Fetch` to save " "the current error indicator." msgstr "" -#: c-api/exceptions.rst:520 +#: c-api/exceptions.rst:521 msgid "" "Use :c:func:`PyErr_GetRaisedException` instead, to avoid any possible de-" "normalization." msgstr "" -#: c-api/exceptions.rst:523 +#: c-api/exceptions.rst:524 msgid "" "Under certain circumstances, the values returned by :c:func:`PyErr_Fetch` " "below can be \"unnormalized\", meaning that ``*exc`` is a class object but " @@ -538,14 +539,14 @@ msgid "" "improve performance." msgstr "" -#: c-api/exceptions.rst:531 +#: c-api/exceptions.rst:532 msgid "" "This function *does not* implicitly set the :attr:`~BaseException." "__traceback__` attribute on the exception value. If setting the traceback " "appropriately is desired, the following additional snippet is needed::" msgstr "" -#: c-api/exceptions.rst:543 +#: c-api/exceptions.rst:544 msgid "" "Retrieve the active exception instance, as would be returned by :func:`sys." "exception`. This refers to an exception that was *already caught*, not to an " @@ -553,7 +554,7 @@ msgid "" "or ``NULL``. Does not modify the interpreter's exception state." msgstr "" -#: c-api/exceptions.rst:550 +#: c-api/exceptions.rst:551 msgid "" "This function is not normally used by code that wants to handle exceptions. " "Rather, it can be used when code needs to save and restore the exception " @@ -561,14 +562,14 @@ msgid "" "clear the exception state." msgstr "" -#: c-api/exceptions.rst:559 +#: c-api/exceptions.rst:560 msgid "" "Set the active exception, as known from ``sys.exception()``. This refers to " "an exception that was *already caught*, not to an exception that was freshly " "raised. To clear the exception state, pass ``NULL``." msgstr "" -#: c-api/exceptions.rst:566 +#: c-api/exceptions.rst:567 msgid "" "This function is not normally used by code that wants to handle exceptions. " "Rather, it can be used when code needs to save and restore the exception " @@ -576,7 +577,7 @@ msgid "" "exception state." msgstr "" -#: c-api/exceptions.rst:575 +#: c-api/exceptions.rst:576 msgid "" "Retrieve the old-style representation of the exception info, as known from :" "func:`sys.exc_info`. This refers to an exception that was *already caught*, " @@ -586,7 +587,7 @@ msgid "" "using :c:func:`PyErr_GetHandledException`." msgstr "" -#: c-api/exceptions.rst:584 +#: c-api/exceptions.rst:585 msgid "" "This function is not normally used by code that wants to handle exceptions. " "Rather, it can be used when code needs to save and restore the exception " @@ -594,7 +595,7 @@ msgid "" "exception state." msgstr "" -#: c-api/exceptions.rst:594 +#: c-api/exceptions.rst:595 msgid "" "Set the exception info, as known from ``sys.exc_info()``. This refers to an " "exception that was *already caught*, not to an exception that was freshly " @@ -604,7 +605,7 @@ msgid "" "`PyErr_SetHandledException`." msgstr "" -#: c-api/exceptions.rst:603 +#: c-api/exceptions.rst:604 msgid "" "This function is not normally used by code that wants to handle exceptions. " "Rather, it can be used when code needs to save and restore the exception " @@ -612,22 +613,22 @@ msgid "" "state." msgstr "" -#: c-api/exceptions.rst:610 +#: c-api/exceptions.rst:611 msgid "" "The ``type`` and ``traceback`` arguments are no longer used and can be NULL. " "The interpreter now derives them from the exception instance (the ``value`` " "argument). The function still steals references of all three arguments." msgstr "" -#: c-api/exceptions.rst:618 +#: c-api/exceptions.rst:619 msgid "Signal Handling" msgstr "" -#: c-api/exceptions.rst:628 +#: c-api/exceptions.rst:629 msgid "This function interacts with Python's signal handling." msgstr "" -#: c-api/exceptions.rst:630 +#: c-api/exceptions.rst:631 msgid "" "If the function is called from the main thread and under the main Python " "interpreter, it checks whether a signal has been sent to the processes and " @@ -635,7 +636,7 @@ msgid "" "module is supported, this can invoke a signal handler written in Python." msgstr "" -#: c-api/exceptions.rst:635 +#: c-api/exceptions.rst:636 msgid "" "The function attempts to handle all pending signals, and then returns ``0``. " "However, if a Python signal handler raises an exception, the error indicator " @@ -644,44 +645,44 @@ msgid "" "`PyErr_CheckSignals()` invocation)." msgstr "" -#: c-api/exceptions.rst:641 +#: c-api/exceptions.rst:642 msgid "" "If the function is called from a non-main thread, or under a non-main Python " "interpreter, it does nothing and returns ``0``." msgstr "" -#: c-api/exceptions.rst:644 +#: c-api/exceptions.rst:645 msgid "" "This function can be called by long-running C code that wants to be " "interruptible by user requests (such as by pressing Ctrl-C)." msgstr "" -#: c-api/exceptions.rst:648 +#: c-api/exceptions.rst:649 msgid "" "The default Python signal handler for :c:macro:`!SIGINT` raises the :exc:" "`KeyboardInterrupt` exception." msgstr "" -#: c-api/exceptions.rst:659 +#: c-api/exceptions.rst:660 msgid "" "Simulate the effect of a :c:macro:`!SIGINT` signal arriving. This is " "equivalent to ``PyErr_SetInterruptEx(SIGINT)``." msgstr "" -#: c-api/exceptions.rst:690 +#: c-api/exceptions.rst:691 msgid "" "This function is async-signal-safe. It can be called without the :term:" "`GIL` and from a C signal handler." msgstr "" -#: c-api/exceptions.rst:673 +#: c-api/exceptions.rst:674 msgid "" "Simulate the effect of a signal arriving. The next time :c:func:" "`PyErr_CheckSignals` is called, the Python signal handler for the given " "signal number will be called." msgstr "" -#: c-api/exceptions.rst:677 +#: c-api/exceptions.rst:678 msgid "" "This function can be called by C code that sets up its own signal handling " "and wants Python signal handlers to be invoked as expected when an " @@ -689,27 +690,27 @@ msgid "" "interrupt an operation)." msgstr "" -#: c-api/exceptions.rst:682 +#: c-api/exceptions.rst:683 msgid "" "If the given signal isn't handled by Python (it was set to :py:const:`signal." "SIG_DFL` or :py:const:`signal.SIG_IGN`), it will be ignored." msgstr "" -#: c-api/exceptions.rst:685 +#: c-api/exceptions.rst:686 msgid "" "If *signum* is outside of the allowed range of signal numbers, ``-1`` is " "returned. Otherwise, ``0`` is returned. The error indicator is never " "changed by this function." msgstr "" -#: c-api/exceptions.rst:698 +#: c-api/exceptions.rst:699 msgid "" "This utility function specifies a file descriptor to which the signal number " "is written as a single byte whenever a signal is received. *fd* must be non-" "blocking. It returns the previous such file descriptor." msgstr "" -#: c-api/exceptions.rst:702 +#: c-api/exceptions.rst:703 msgid "" "The value ``-1`` disables the feature; this is the initial state. This is " "equivalent to :func:`signal.set_wakeup_fd` in Python, but without any error " @@ -717,15 +718,15 @@ msgid "" "be called from the main thread." msgstr "" -#: c-api/exceptions.rst:707 +#: c-api/exceptions.rst:708 msgid "On Windows, the function now also supports socket handles." msgstr "" -#: c-api/exceptions.rst:712 +#: c-api/exceptions.rst:713 msgid "Exception Classes" msgstr "" -#: c-api/exceptions.rst:716 +#: c-api/exceptions.rst:717 msgid "" "This utility function creates and returns a new exception class. The *name* " "argument must be the name of the new exception, a C string of the form " @@ -734,7 +735,7 @@ msgid "" "(accessible in C as :c:data:`PyExc_Exception`)." msgstr "" -#: c-api/exceptions.rst:722 +#: c-api/exceptions.rst:723 msgid "" "The :attr:`!__module__` attribute of the new class is set to the first part " "(up to the last dot) of the *name* argument, and the class name is set to " @@ -744,31 +745,31 @@ msgid "" "variables and methods." msgstr "" -#: c-api/exceptions.rst:731 +#: c-api/exceptions.rst:732 msgid "" "Same as :c:func:`PyErr_NewException`, except that the new exception class " "can easily be given a docstring: If *doc* is non-``NULL``, it will be used " "as the docstring for the exception class." msgstr "" -#: c-api/exceptions.rst:739 +#: c-api/exceptions.rst:740 msgid "Exception Objects" msgstr "" -#: c-api/exceptions.rst:743 +#: c-api/exceptions.rst:744 msgid "" "Return the traceback associated with the exception as a new reference, as " "accessible from Python through the :attr:`~BaseException.__traceback__` " "attribute. If there is no traceback associated, this returns ``NULL``." msgstr "" -#: c-api/exceptions.rst:751 +#: c-api/exceptions.rst:752 msgid "" "Set the traceback associated with the exception to *tb*. Use ``Py_None`` to " "clear it." msgstr "" -#: c-api/exceptions.rst:757 +#: c-api/exceptions.rst:758 msgid "" "Return the context (another exception instance during whose handling *ex* " "was raised) associated with the exception as a new reference, as accessible " @@ -776,14 +777,14 @@ msgid "" "there is no context associated, this returns ``NULL``." msgstr "" -#: c-api/exceptions.rst:765 +#: c-api/exceptions.rst:766 msgid "" "Set the context associated with the exception to *ctx*. Use ``NULL`` to " "clear it. There is no type check to make sure that *ctx* is an exception " "instance. This steals a reference to *ctx*." msgstr "" -#: c-api/exceptions.rst:772 +#: c-api/exceptions.rst:773 msgid "" "Return the cause (either an exception instance, or ``None``, set by " "``raise ... from ...``) associated with the exception as a new reference, as " @@ -791,28 +792,28 @@ msgid "" "attribute." msgstr "" -#: c-api/exceptions.rst:780 +#: c-api/exceptions.rst:781 msgid "" "Set the cause associated with the exception to *cause*. Use ``NULL`` to " "clear it. There is no type check to make sure that *cause* is either an " "exception instance or ``None``. This steals a reference to *cause*." msgstr "" -#: c-api/exceptions.rst:784 +#: c-api/exceptions.rst:785 msgid "" "The :attr:`~BaseException.__suppress_context__` attribute is implicitly set " "to ``True`` by this function." msgstr "" -#: c-api/exceptions.rst:790 +#: c-api/exceptions.rst:791 msgid "Return :attr:`~BaseException.args` of exception *ex*." msgstr "" -#: c-api/exceptions.rst:795 +#: c-api/exceptions.rst:796 msgid "Set :attr:`~BaseException.args` of exception *ex* to *args*." msgstr "" -#: c-api/exceptions.rst:799 +#: c-api/exceptions.rst:800 msgid "" "Implement part of the interpreter's implementation of :keyword:`!except*`. " "*orig* is the original exception that was caught, and *excs* is the list of " @@ -824,72 +825,72 @@ msgid "" "if there is nothing to reraise." msgstr "" -#: c-api/exceptions.rst:813 +#: c-api/exceptions.rst:814 msgid "Unicode Exception Objects" msgstr "" -#: c-api/exceptions.rst:815 +#: c-api/exceptions.rst:816 msgid "" "The following functions are used to create and modify Unicode exceptions " "from C." msgstr "" -#: c-api/exceptions.rst:819 +#: c-api/exceptions.rst:820 msgid "" "Create a :class:`UnicodeDecodeError` object with the attributes *encoding*, " "*object*, *length*, *start*, *end* and *reason*. *encoding* and *reason* are " "UTF-8 encoded strings." msgstr "" -#: c-api/exceptions.rst:826 +#: c-api/exceptions.rst:827 msgid "Return the *encoding* attribute of the given exception object." msgstr "" -#: c-api/exceptions.rst:832 +#: c-api/exceptions.rst:833 msgid "Return the *object* attribute of the given exception object." msgstr "" -#: c-api/exceptions.rst:838 +#: c-api/exceptions.rst:839 msgid "" "Get the *start* attribute of the given exception object and place it into " "*\\*start*. *start* must not be ``NULL``. Return ``0`` on success, ``-1`` " "on failure." msgstr "" -#: c-api/exceptions.rst:846 +#: c-api/exceptions.rst:847 msgid "" "Set the *start* attribute of the given exception object to *start*. Return " "``0`` on success, ``-1`` on failure." msgstr "" -#: c-api/exceptions.rst:853 +#: c-api/exceptions.rst:854 msgid "" "Get the *end* attribute of the given exception object and place it into " "*\\*end*. *end* must not be ``NULL``. Return ``0`` on success, ``-1`` on " "failure." msgstr "" -#: c-api/exceptions.rst:861 +#: c-api/exceptions.rst:862 msgid "" "Set the *end* attribute of the given exception object to *end*. Return " "``0`` on success, ``-1`` on failure." msgstr "" -#: c-api/exceptions.rst:868 +#: c-api/exceptions.rst:869 msgid "Return the *reason* attribute of the given exception object." msgstr "" -#: c-api/exceptions.rst:874 +#: c-api/exceptions.rst:875 msgid "" "Set the *reason* attribute of the given exception object to *reason*. " "Return ``0`` on success, ``-1`` on failure." msgstr "" -#: c-api/exceptions.rst:881 +#: c-api/exceptions.rst:882 msgid "Recursion Control" msgstr "" -#: c-api/exceptions.rst:883 +#: c-api/exceptions.rst:884 msgid "" "These two functions provide a way to perform safe recursive calls at the C " "level, both in the core and in extension modules. They are needed if the " @@ -899,44 +900,44 @@ msgid "" "recursion handling." msgstr "" -#: c-api/exceptions.rst:892 +#: c-api/exceptions.rst:893 msgid "Marks a point where a recursive C-level call is about to be performed." msgstr "" -#: c-api/exceptions.rst:894 +#: c-api/exceptions.rst:895 msgid "" "If :c:macro:`!USE_STACKCHECK` is defined, this function checks if the OS " "stack overflowed using :c:func:`PyOS_CheckStack`. If this is the case, it " "sets a :exc:`MemoryError` and returns a nonzero value." msgstr "" -#: c-api/exceptions.rst:898 +#: c-api/exceptions.rst:899 msgid "" "The function then checks if the recursion limit is reached. If this is the " "case, a :exc:`RecursionError` is set and a nonzero value is returned. " "Otherwise, zero is returned." msgstr "" -#: c-api/exceptions.rst:902 +#: c-api/exceptions.rst:903 msgid "" "*where* should be a UTF-8 encoded string such as ``\" in instance check\"`` " "to be concatenated to the :exc:`RecursionError` message caused by the " "recursion depth limit." msgstr "" -#: c-api/exceptions.rst:914 +#: c-api/exceptions.rst:915 msgid "" "This function is now also available in the :ref:`limited API `." msgstr "" -#: c-api/exceptions.rst:911 +#: c-api/exceptions.rst:912 msgid "" "Ends a :c:func:`Py_EnterRecursiveCall`. Must be called once for each " "*successful* invocation of :c:func:`Py_EnterRecursiveCall`." msgstr "" -#: c-api/exceptions.rst:917 +#: c-api/exceptions.rst:918 msgid "" "Properly implementing :c:member:`~PyTypeObject.tp_repr` for container types " "requires special recursion handling. In addition to protecting the stack, :" @@ -945,13 +946,13 @@ msgid "" "Effectively, these are the C equivalent to :func:`reprlib.recursive_repr`." msgstr "" -#: c-api/exceptions.rst:925 +#: c-api/exceptions.rst:926 msgid "" "Called at the beginning of the :c:member:`~PyTypeObject.tp_repr` " "implementation to detect cycles." msgstr "" -#: c-api/exceptions.rst:928 +#: c-api/exceptions.rst:929 msgid "" "If the object has already been processed, the function returns a positive " "integer. In that case the :c:member:`~PyTypeObject.tp_repr` implementation " @@ -959,30 +960,30 @@ msgid "" "`dict` objects return ``{...}`` and :class:`list` objects return ``[...]``." msgstr "" -#: c-api/exceptions.rst:934 +#: c-api/exceptions.rst:935 msgid "" "The function will return a negative integer if the recursion limit is " "reached. In that case the :c:member:`~PyTypeObject.tp_repr` implementation " "should typically return ``NULL``." msgstr "" -#: c-api/exceptions.rst:938 +#: c-api/exceptions.rst:939 msgid "" "Otherwise, the function returns zero and the :c:member:`~PyTypeObject." "tp_repr` implementation can continue normally." msgstr "" -#: c-api/exceptions.rst:943 +#: c-api/exceptions.rst:944 msgid "" "Ends a :c:func:`Py_ReprEnter`. Must be called once for each invocation of :" "c:func:`Py_ReprEnter` that returns zero." msgstr "" -#: c-api/exceptions.rst:950 +#: c-api/exceptions.rst:951 msgid "Standard Exceptions" msgstr "" -#: c-api/exceptions.rst:952 +#: c-api/exceptions.rst:953 msgid "" "All standard Python exceptions are available as global variables whose names " "are ``PyExc_`` followed by the Python exception name. These have the type :" @@ -990,448 +991,448 @@ msgid "" "all the variables:" msgstr "" -#: c-api/exceptions.rst:1146 c-api/exceptions.rst:1191 +#: c-api/exceptions.rst:1147 c-api/exceptions.rst:1192 msgid "C Name" msgstr "" -#: c-api/exceptions.rst:1191 +#: c-api/exceptions.rst:1192 msgid "Python Name" msgstr "" -#: c-api/exceptions.rst:1146 c-api/exceptions.rst:1191 +#: c-api/exceptions.rst:1147 c-api/exceptions.rst:1192 msgid "Notes" msgstr "" -#: c-api/exceptions.rst:1015 +#: c-api/exceptions.rst:1016 msgid ":c:data:`PyExc_BaseException`" msgstr "" -#: c-api/exceptions.rst:1015 +#: c-api/exceptions.rst:1016 msgid ":exc:`BaseException`" msgstr "" -#: c-api/exceptions.rst:1017 c-api/exceptions.rst:1065 -#: c-api/exceptions.rst:1077 +#: c-api/exceptions.rst:1018 c-api/exceptions.rst:1066 +#: c-api/exceptions.rst:1078 msgid "[1]_" msgstr "" -#: c-api/exceptions.rst:1017 +#: c-api/exceptions.rst:1018 msgid ":c:data:`PyExc_Exception`" msgstr "" -#: c-api/exceptions.rst:1017 +#: c-api/exceptions.rst:1018 msgid ":exc:`Exception`" msgstr "" -#: c-api/exceptions.rst:1019 +#: c-api/exceptions.rst:1020 msgid ":c:data:`PyExc_ArithmeticError`" msgstr "" -#: c-api/exceptions.rst:1019 +#: c-api/exceptions.rst:1020 msgid ":exc:`ArithmeticError`" msgstr "" -#: c-api/exceptions.rst:1021 +#: c-api/exceptions.rst:1022 msgid ":c:data:`PyExc_AssertionError`" msgstr "" -#: c-api/exceptions.rst:1021 +#: c-api/exceptions.rst:1022 msgid ":exc:`AssertionError`" msgstr "" -#: c-api/exceptions.rst:1023 +#: c-api/exceptions.rst:1024 msgid ":c:data:`PyExc_AttributeError`" msgstr "" -#: c-api/exceptions.rst:1023 +#: c-api/exceptions.rst:1024 msgid ":exc:`AttributeError`" msgstr "" -#: c-api/exceptions.rst:1025 +#: c-api/exceptions.rst:1026 msgid ":c:data:`PyExc_BlockingIOError`" msgstr "" -#: c-api/exceptions.rst:1025 +#: c-api/exceptions.rst:1026 msgid ":exc:`BlockingIOError`" msgstr "" -#: c-api/exceptions.rst:1027 +#: c-api/exceptions.rst:1028 msgid ":c:data:`PyExc_BrokenPipeError`" msgstr "" -#: c-api/exceptions.rst:1027 +#: c-api/exceptions.rst:1028 msgid ":exc:`BrokenPipeError`" msgstr "" -#: c-api/exceptions.rst:1029 +#: c-api/exceptions.rst:1030 msgid ":c:data:`PyExc_BufferError`" msgstr "" -#: c-api/exceptions.rst:1029 +#: c-api/exceptions.rst:1030 msgid ":exc:`BufferError`" msgstr "" -#: c-api/exceptions.rst:1031 +#: c-api/exceptions.rst:1032 msgid ":c:data:`PyExc_ChildProcessError`" msgstr "" -#: c-api/exceptions.rst:1031 +#: c-api/exceptions.rst:1032 msgid ":exc:`ChildProcessError`" msgstr "" -#: c-api/exceptions.rst:1033 +#: c-api/exceptions.rst:1034 msgid ":c:data:`PyExc_ConnectionAbortedError`" msgstr "" -#: c-api/exceptions.rst:1033 +#: c-api/exceptions.rst:1034 msgid ":exc:`ConnectionAbortedError`" msgstr "" -#: c-api/exceptions.rst:1035 +#: c-api/exceptions.rst:1036 msgid ":c:data:`PyExc_ConnectionError`" msgstr "" -#: c-api/exceptions.rst:1035 +#: c-api/exceptions.rst:1036 msgid ":exc:`ConnectionError`" msgstr "" -#: c-api/exceptions.rst:1037 +#: c-api/exceptions.rst:1038 msgid ":c:data:`PyExc_ConnectionRefusedError`" msgstr "" -#: c-api/exceptions.rst:1037 +#: c-api/exceptions.rst:1038 msgid ":exc:`ConnectionRefusedError`" msgstr "" -#: c-api/exceptions.rst:1039 +#: c-api/exceptions.rst:1040 msgid ":c:data:`PyExc_ConnectionResetError`" msgstr "" -#: c-api/exceptions.rst:1039 +#: c-api/exceptions.rst:1040 msgid ":exc:`ConnectionResetError`" msgstr "" -#: c-api/exceptions.rst:1041 +#: c-api/exceptions.rst:1042 msgid ":c:data:`PyExc_EOFError`" msgstr "" -#: c-api/exceptions.rst:1041 +#: c-api/exceptions.rst:1042 msgid ":exc:`EOFError`" msgstr "" -#: c-api/exceptions.rst:1043 +#: c-api/exceptions.rst:1044 msgid ":c:data:`PyExc_FileExistsError`" msgstr "" -#: c-api/exceptions.rst:1043 +#: c-api/exceptions.rst:1044 msgid ":exc:`FileExistsError`" msgstr "" -#: c-api/exceptions.rst:1045 +#: c-api/exceptions.rst:1046 msgid ":c:data:`PyExc_FileNotFoundError`" msgstr "" -#: c-api/exceptions.rst:1045 +#: c-api/exceptions.rst:1046 msgid ":exc:`FileNotFoundError`" msgstr "" -#: c-api/exceptions.rst:1047 +#: c-api/exceptions.rst:1048 msgid ":c:data:`PyExc_FloatingPointError`" msgstr "" -#: c-api/exceptions.rst:1047 +#: c-api/exceptions.rst:1048 msgid ":exc:`FloatingPointError`" msgstr "" -#: c-api/exceptions.rst:1049 +#: c-api/exceptions.rst:1050 msgid ":c:data:`PyExc_GeneratorExit`" msgstr "" -#: c-api/exceptions.rst:1049 +#: c-api/exceptions.rst:1050 msgid ":exc:`GeneratorExit`" msgstr "" -#: c-api/exceptions.rst:1051 +#: c-api/exceptions.rst:1052 msgid ":c:data:`PyExc_ImportError`" msgstr "" -#: c-api/exceptions.rst:1051 +#: c-api/exceptions.rst:1052 msgid ":exc:`ImportError`" msgstr "" -#: c-api/exceptions.rst:1053 +#: c-api/exceptions.rst:1054 msgid ":c:data:`PyExc_IndentationError`" msgstr "" -#: c-api/exceptions.rst:1053 +#: c-api/exceptions.rst:1054 msgid ":exc:`IndentationError`" msgstr "" -#: c-api/exceptions.rst:1055 +#: c-api/exceptions.rst:1056 msgid ":c:data:`PyExc_IndexError`" msgstr "" -#: c-api/exceptions.rst:1055 +#: c-api/exceptions.rst:1056 msgid ":exc:`IndexError`" msgstr "" -#: c-api/exceptions.rst:1057 +#: c-api/exceptions.rst:1058 msgid ":c:data:`PyExc_InterruptedError`" msgstr "" -#: c-api/exceptions.rst:1057 +#: c-api/exceptions.rst:1058 msgid ":exc:`InterruptedError`" msgstr "" -#: c-api/exceptions.rst:1059 +#: c-api/exceptions.rst:1060 msgid ":c:data:`PyExc_IsADirectoryError`" msgstr "" -#: c-api/exceptions.rst:1059 +#: c-api/exceptions.rst:1060 msgid ":exc:`IsADirectoryError`" msgstr "" -#: c-api/exceptions.rst:1061 +#: c-api/exceptions.rst:1062 msgid ":c:data:`PyExc_KeyError`" msgstr "" -#: c-api/exceptions.rst:1061 +#: c-api/exceptions.rst:1062 msgid ":exc:`KeyError`" msgstr "" -#: c-api/exceptions.rst:1063 +#: c-api/exceptions.rst:1064 msgid ":c:data:`PyExc_KeyboardInterrupt`" msgstr "" -#: c-api/exceptions.rst:1063 +#: c-api/exceptions.rst:1064 msgid ":exc:`KeyboardInterrupt`" msgstr "" -#: c-api/exceptions.rst:1065 +#: c-api/exceptions.rst:1066 msgid ":c:data:`PyExc_LookupError`" msgstr "" -#: c-api/exceptions.rst:1065 +#: c-api/exceptions.rst:1066 msgid ":exc:`LookupError`" msgstr "" -#: c-api/exceptions.rst:1067 +#: c-api/exceptions.rst:1068 msgid ":c:data:`PyExc_MemoryError`" msgstr "" -#: c-api/exceptions.rst:1067 +#: c-api/exceptions.rst:1068 msgid ":exc:`MemoryError`" msgstr "" -#: c-api/exceptions.rst:1069 +#: c-api/exceptions.rst:1070 msgid ":c:data:`PyExc_ModuleNotFoundError`" msgstr "" -#: c-api/exceptions.rst:1069 +#: c-api/exceptions.rst:1070 msgid ":exc:`ModuleNotFoundError`" msgstr "" -#: c-api/exceptions.rst:1071 +#: c-api/exceptions.rst:1072 msgid ":c:data:`PyExc_NameError`" msgstr "" -#: c-api/exceptions.rst:1071 +#: c-api/exceptions.rst:1072 msgid ":exc:`NameError`" msgstr "" -#: c-api/exceptions.rst:1073 +#: c-api/exceptions.rst:1074 msgid ":c:data:`PyExc_NotADirectoryError`" msgstr "" -#: c-api/exceptions.rst:1073 +#: c-api/exceptions.rst:1074 msgid ":exc:`NotADirectoryError`" msgstr "" -#: c-api/exceptions.rst:1075 +#: c-api/exceptions.rst:1076 msgid ":c:data:`PyExc_NotImplementedError`" msgstr "" -#: c-api/exceptions.rst:1075 +#: c-api/exceptions.rst:1076 msgid ":exc:`NotImplementedError`" msgstr "" -#: c-api/exceptions.rst:1077 +#: c-api/exceptions.rst:1078 msgid ":c:data:`PyExc_OSError`" msgstr "" -#: c-api/exceptions.rst:1077 +#: c-api/exceptions.rst:1078 msgid ":exc:`OSError`" msgstr "" -#: c-api/exceptions.rst:1079 +#: c-api/exceptions.rst:1080 msgid ":c:data:`PyExc_OverflowError`" msgstr "" -#: c-api/exceptions.rst:1079 +#: c-api/exceptions.rst:1080 msgid ":exc:`OverflowError`" msgstr "" -#: c-api/exceptions.rst:1081 +#: c-api/exceptions.rst:1082 msgid ":c:data:`PyExc_PermissionError`" msgstr "" -#: c-api/exceptions.rst:1081 +#: c-api/exceptions.rst:1082 msgid ":exc:`PermissionError`" msgstr "" -#: c-api/exceptions.rst:1083 +#: c-api/exceptions.rst:1084 msgid ":c:data:`PyExc_ProcessLookupError`" msgstr "" -#: c-api/exceptions.rst:1083 +#: c-api/exceptions.rst:1084 msgid ":exc:`ProcessLookupError`" msgstr "" -#: c-api/exceptions.rst:1085 +#: c-api/exceptions.rst:1086 msgid ":c:data:`PyExc_RecursionError`" msgstr "" -#: c-api/exceptions.rst:1085 +#: c-api/exceptions.rst:1086 msgid ":exc:`RecursionError`" msgstr "" -#: c-api/exceptions.rst:1087 +#: c-api/exceptions.rst:1088 msgid ":c:data:`PyExc_ReferenceError`" msgstr "" -#: c-api/exceptions.rst:1087 +#: c-api/exceptions.rst:1088 msgid ":exc:`ReferenceError`" msgstr "" -#: c-api/exceptions.rst:1089 +#: c-api/exceptions.rst:1090 msgid ":c:data:`PyExc_RuntimeError`" msgstr "" -#: c-api/exceptions.rst:1089 +#: c-api/exceptions.rst:1090 msgid ":exc:`RuntimeError`" msgstr "" -#: c-api/exceptions.rst:1091 +#: c-api/exceptions.rst:1092 msgid ":c:data:`PyExc_StopAsyncIteration`" msgstr "" -#: c-api/exceptions.rst:1091 +#: c-api/exceptions.rst:1092 msgid ":exc:`StopAsyncIteration`" msgstr "" -#: c-api/exceptions.rst:1093 +#: c-api/exceptions.rst:1094 msgid ":c:data:`PyExc_StopIteration`" msgstr "" -#: c-api/exceptions.rst:1093 +#: c-api/exceptions.rst:1094 msgid ":exc:`StopIteration`" msgstr "" -#: c-api/exceptions.rst:1095 +#: c-api/exceptions.rst:1096 msgid ":c:data:`PyExc_SyntaxError`" msgstr "" -#: c-api/exceptions.rst:1095 +#: c-api/exceptions.rst:1096 msgid ":exc:`SyntaxError`" msgstr "" -#: c-api/exceptions.rst:1097 +#: c-api/exceptions.rst:1098 msgid ":c:data:`PyExc_SystemError`" msgstr "" -#: c-api/exceptions.rst:1097 +#: c-api/exceptions.rst:1098 msgid ":exc:`SystemError`" msgstr "" -#: c-api/exceptions.rst:1099 +#: c-api/exceptions.rst:1100 msgid ":c:data:`PyExc_SystemExit`" msgstr "" -#: c-api/exceptions.rst:1099 +#: c-api/exceptions.rst:1100 msgid ":exc:`SystemExit`" msgstr "" -#: c-api/exceptions.rst:1101 +#: c-api/exceptions.rst:1102 msgid ":c:data:`PyExc_TabError`" msgstr "" -#: c-api/exceptions.rst:1101 +#: c-api/exceptions.rst:1102 msgid ":exc:`TabError`" msgstr "" -#: c-api/exceptions.rst:1103 +#: c-api/exceptions.rst:1104 msgid ":c:data:`PyExc_TimeoutError`" msgstr "" -#: c-api/exceptions.rst:1103 +#: c-api/exceptions.rst:1104 msgid ":exc:`TimeoutError`" msgstr "" -#: c-api/exceptions.rst:1105 +#: c-api/exceptions.rst:1106 msgid ":c:data:`PyExc_TypeError`" msgstr "" -#: c-api/exceptions.rst:1105 +#: c-api/exceptions.rst:1106 msgid ":exc:`TypeError`" msgstr "" -#: c-api/exceptions.rst:1107 +#: c-api/exceptions.rst:1108 msgid ":c:data:`PyExc_UnboundLocalError`" msgstr "" -#: c-api/exceptions.rst:1107 +#: c-api/exceptions.rst:1108 msgid ":exc:`UnboundLocalError`" msgstr "" -#: c-api/exceptions.rst:1109 +#: c-api/exceptions.rst:1110 msgid ":c:data:`PyExc_UnicodeDecodeError`" msgstr "" -#: c-api/exceptions.rst:1109 +#: c-api/exceptions.rst:1110 msgid ":exc:`UnicodeDecodeError`" msgstr "" -#: c-api/exceptions.rst:1111 +#: c-api/exceptions.rst:1112 msgid ":c:data:`PyExc_UnicodeEncodeError`" msgstr "" -#: c-api/exceptions.rst:1111 +#: c-api/exceptions.rst:1112 msgid ":exc:`UnicodeEncodeError`" msgstr "" -#: c-api/exceptions.rst:1113 +#: c-api/exceptions.rst:1114 msgid ":c:data:`PyExc_UnicodeError`" msgstr "" -#: c-api/exceptions.rst:1113 +#: c-api/exceptions.rst:1114 msgid ":exc:`UnicodeError`" msgstr "" -#: c-api/exceptions.rst:1115 +#: c-api/exceptions.rst:1116 msgid ":c:data:`PyExc_UnicodeTranslateError`" msgstr "" -#: c-api/exceptions.rst:1115 +#: c-api/exceptions.rst:1116 msgid ":exc:`UnicodeTranslateError`" msgstr "" -#: c-api/exceptions.rst:1117 +#: c-api/exceptions.rst:1118 msgid ":c:data:`PyExc_ValueError`" msgstr "" -#: c-api/exceptions.rst:1117 +#: c-api/exceptions.rst:1118 msgid ":exc:`ValueError`" msgstr "" -#: c-api/exceptions.rst:1119 +#: c-api/exceptions.rst:1120 msgid ":c:data:`PyExc_ZeroDivisionError`" msgstr "" -#: c-api/exceptions.rst:1119 +#: c-api/exceptions.rst:1120 msgid ":exc:`ZeroDivisionError`" msgstr "" -#: c-api/exceptions.rst:1122 +#: c-api/exceptions.rst:1123 msgid "" ":c:data:`PyExc_BlockingIOError`, :c:data:`PyExc_BrokenPipeError`, :c:data:" "`PyExc_ChildProcessError`, :c:data:`PyExc_ConnectionError`, :c:data:" @@ -1443,57 +1444,57 @@ msgid "" "`PyExc_TimeoutError` were introduced following :pep:`3151`." msgstr "" -#: c-api/exceptions.rst:1132 +#: c-api/exceptions.rst:1133 msgid ":c:data:`PyExc_StopAsyncIteration` and :c:data:`PyExc_RecursionError`." msgstr "" -#: c-api/exceptions.rst:1135 +#: c-api/exceptions.rst:1136 msgid ":c:data:`PyExc_ModuleNotFoundError`." msgstr "" -#: c-api/exceptions.rst:1138 +#: c-api/exceptions.rst:1139 msgid "These are compatibility aliases to :c:data:`PyExc_OSError`:" msgstr "" -#: c-api/exceptions.rst:1148 +#: c-api/exceptions.rst:1149 msgid ":c:data:`!PyExc_EnvironmentError`" msgstr "" -#: c-api/exceptions.rst:1150 +#: c-api/exceptions.rst:1151 msgid ":c:data:`!PyExc_IOError`" msgstr "" -#: c-api/exceptions.rst:1152 +#: c-api/exceptions.rst:1153 msgid ":c:data:`!PyExc_WindowsError`" msgstr "" -#: c-api/exceptions.rst:1152 +#: c-api/exceptions.rst:1153 msgid "[2]_" msgstr "" -#: c-api/exceptions.rst:1155 +#: c-api/exceptions.rst:1156 msgid "These aliases used to be separate exception types." msgstr "" -#: c-api/exceptions.rst:1219 +#: c-api/exceptions.rst:1220 msgid "Notes:" msgstr "" -#: c-api/exceptions.rst:1161 +#: c-api/exceptions.rst:1162 msgid "This is a base class for other standard exceptions." msgstr "" -#: c-api/exceptions.rst:1164 +#: c-api/exceptions.rst:1165 msgid "" "Only defined on Windows; protect code that uses this by testing that the " "preprocessor macro ``MS_WINDOWS`` is defined." msgstr "" -#: c-api/exceptions.rst:1170 +#: c-api/exceptions.rst:1171 msgid "Standard Warning Categories" msgstr "" -#: c-api/exceptions.rst:1172 +#: c-api/exceptions.rst:1173 msgid "" "All standard Python warning categories are available as global variables " "whose names are ``PyExc_`` followed by the Python exception name. These have " @@ -1501,103 +1502,103 @@ msgid "" "here are all the variables:" msgstr "" -#: c-api/exceptions.rst:1193 +#: c-api/exceptions.rst:1194 msgid ":c:data:`PyExc_Warning`" msgstr "" -#: c-api/exceptions.rst:1193 +#: c-api/exceptions.rst:1194 msgid ":exc:`Warning`" msgstr "" -#: c-api/exceptions.rst:1193 +#: c-api/exceptions.rst:1194 msgid "[3]_" msgstr "" -#: c-api/exceptions.rst:1195 +#: c-api/exceptions.rst:1196 msgid ":c:data:`PyExc_BytesWarning`" msgstr "" -#: c-api/exceptions.rst:1195 +#: c-api/exceptions.rst:1196 msgid ":exc:`BytesWarning`" msgstr "" -#: c-api/exceptions.rst:1197 +#: c-api/exceptions.rst:1198 msgid ":c:data:`PyExc_DeprecationWarning`" msgstr "" -#: c-api/exceptions.rst:1197 +#: c-api/exceptions.rst:1198 msgid ":exc:`DeprecationWarning`" msgstr "" -#: c-api/exceptions.rst:1199 +#: c-api/exceptions.rst:1200 msgid ":c:data:`PyExc_FutureWarning`" msgstr "" -#: c-api/exceptions.rst:1199 +#: c-api/exceptions.rst:1200 msgid ":exc:`FutureWarning`" msgstr "" -#: c-api/exceptions.rst:1201 +#: c-api/exceptions.rst:1202 msgid ":c:data:`PyExc_ImportWarning`" msgstr "" -#: c-api/exceptions.rst:1201 +#: c-api/exceptions.rst:1202 msgid ":exc:`ImportWarning`" msgstr "" -#: c-api/exceptions.rst:1203 +#: c-api/exceptions.rst:1204 msgid ":c:data:`PyExc_PendingDeprecationWarning`" msgstr "" -#: c-api/exceptions.rst:1203 +#: c-api/exceptions.rst:1204 msgid ":exc:`PendingDeprecationWarning`" msgstr "" -#: c-api/exceptions.rst:1205 +#: c-api/exceptions.rst:1206 msgid ":c:data:`PyExc_ResourceWarning`" msgstr "" -#: c-api/exceptions.rst:1205 +#: c-api/exceptions.rst:1206 msgid ":exc:`ResourceWarning`" msgstr "" -#: c-api/exceptions.rst:1207 +#: c-api/exceptions.rst:1208 msgid ":c:data:`PyExc_RuntimeWarning`" msgstr "" -#: c-api/exceptions.rst:1207 +#: c-api/exceptions.rst:1208 msgid ":exc:`RuntimeWarning`" msgstr "" -#: c-api/exceptions.rst:1209 +#: c-api/exceptions.rst:1210 msgid ":c:data:`PyExc_SyntaxWarning`" msgstr "" -#: c-api/exceptions.rst:1209 +#: c-api/exceptions.rst:1210 msgid ":exc:`SyntaxWarning`" msgstr "" -#: c-api/exceptions.rst:1211 +#: c-api/exceptions.rst:1212 msgid ":c:data:`PyExc_UnicodeWarning`" msgstr "" -#: c-api/exceptions.rst:1211 +#: c-api/exceptions.rst:1212 msgid ":exc:`UnicodeWarning`" msgstr "" -#: c-api/exceptions.rst:1213 +#: c-api/exceptions.rst:1214 msgid ":c:data:`PyExc_UserWarning`" msgstr "" -#: c-api/exceptions.rst:1213 +#: c-api/exceptions.rst:1214 msgid ":exc:`UserWarning`" msgstr "" -#: c-api/exceptions.rst:1216 +#: c-api/exceptions.rst:1217 msgid ":c:data:`PyExc_ResourceWarning`." msgstr "" -#: c-api/exceptions.rst:1222 +#: c-api/exceptions.rst:1223 msgid "This is a base class for other standard warning categories." msgstr "" @@ -1605,286 +1606,286 @@ msgstr "" msgid "strerror (C function)" msgstr "" -#: c-api/exceptions.rst:654 c-api/exceptions.rst:669 +#: c-api/exceptions.rst:655 c-api/exceptions.rst:670 msgid "module" msgstr "" -#: c-api/exceptions.rst:654 c-api/exceptions.rst:669 +#: c-api/exceptions.rst:655 c-api/exceptions.rst:670 msgid "signal" msgstr "" -#: c-api/exceptions.rst:654 +#: c-api/exceptions.rst:655 msgid "SIGINT (C macro)" msgstr "" -#: c-api/exceptions.rst:654 c-api/exceptions.rst:669 +#: c-api/exceptions.rst:655 c-api/exceptions.rst:670 msgid "KeyboardInterrupt (built-in exception)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_BaseException (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_Exception (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ArithmeticError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_AssertionError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_AttributeError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_BlockingIOError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_BrokenPipeError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_BufferError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ChildProcessError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ConnectionAbortedError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ConnectionError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ConnectionRefusedError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ConnectionResetError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_EOFError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_FileExistsError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_FileNotFoundError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_FloatingPointError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_GeneratorExit (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ImportError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_IndentationError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_IndexError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_InterruptedError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_IsADirectoryError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_KeyError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_KeyboardInterrupt (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_LookupError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_MemoryError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ModuleNotFoundError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_NameError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_NotADirectoryError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_NotImplementedError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_OSError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_OverflowError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_PermissionError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ProcessLookupError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_RecursionError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ReferenceError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_RuntimeError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_StopAsyncIteration (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_StopIteration (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_SyntaxError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_SystemError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_SystemExit (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_TabError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_TimeoutError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_TypeError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_UnboundLocalError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_UnicodeDecodeError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_UnicodeEncodeError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_UnicodeError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_UnicodeTranslateError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ValueError (C var)" msgstr "" -#: c-api/exceptions.rst:957 +#: c-api/exceptions.rst:958 msgid "PyExc_ZeroDivisionError (C var)" msgstr "" -#: c-api/exceptions.rst:1140 +#: c-api/exceptions.rst:1141 msgid "PyExc_EnvironmentError (C var)" msgstr "" -#: c-api/exceptions.rst:1140 +#: c-api/exceptions.rst:1141 msgid "PyExc_IOError (C var)" msgstr "" -#: c-api/exceptions.rst:1140 +#: c-api/exceptions.rst:1141 msgid "PyExc_WindowsError (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_Warning (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_BytesWarning (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_DeprecationWarning (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_FutureWarning (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_ImportWarning (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_PendingDeprecationWarning (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_ResourceWarning (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_RuntimeWarning (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_SyntaxWarning (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_UnicodeWarning (C var)" msgstr "" -#: c-api/exceptions.rst:1177 +#: c-api/exceptions.rst:1178 msgid "PyExc_UserWarning (C var)" msgstr "" diff --git a/c-api/gcsupport.po b/c-api/gcsupport.po index 73a9cd1eb..a7d2ce0c6 100644 --- a/c-api/gcsupport.po +++ b/c-api/gcsupport.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -39,7 +39,7 @@ msgid "" "implementation must also be provided." msgstr "" -#: c-api/gcsupport.rst:24 +#: c-api/gcsupport.rst:21 msgid ":c:macro:`Py_TPFLAGS_HAVE_GC`" msgstr "" diff --git a/c-api/init.po b/c-api/init.po index 268765184..3a53ce487 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -932,8 +932,7 @@ msgstr "" msgid "" "It is recommended that applications embedding the Python interpreter for " "purposes other than executing a single script pass ``0`` as *updatepath*, " -"and update :data:`sys.path` themselves if desired. See `CVE-2008-5983 " -"`_." +"and update :data:`sys.path` themselves if desired. See :cve:`2008-5983`." msgstr "" #: c-api/init.rst:765 diff --git a/c-api/memory.po b/c-api/memory.po index f91b276bc..8b2e35b70 100644 --- a/c-api/memory.po +++ b/c-api/memory.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -811,7 +811,7 @@ msgid "" "from a Python slice):" msgstr "" -#: c-api/memory.rst:563 +#: c-api/memory.rst:562 msgid "``p[-2*S:-S]``" msgstr "" @@ -821,7 +821,7 @@ msgid "" "to read in a memory dump)." msgstr "" -#: c-api/memory.rst:570 +#: c-api/memory.rst:565 msgid "``p[-S]``" msgstr "" @@ -841,7 +841,7 @@ msgstr "" msgid "``'o'`` for :c:macro:`PYMEM_DOMAIN_OBJ`." msgstr "" -#: c-api/memory.rst:573 +#: c-api/memory.rst:572 msgid "``p[-S+1:0]``" msgstr "" @@ -849,7 +849,7 @@ msgstr "" msgid "Copies of PYMEM_FORBIDDENBYTE. Used to catch under- writes and reads." msgstr "" -#: c-api/memory.rst:582 +#: c-api/memory.rst:575 msgid "``p[0:N]``" msgstr "" @@ -864,7 +864,7 @@ msgid "" "bytes are also filled with PYMEM_DEADBYTE." msgstr "" -#: c-api/memory.rst:585 +#: c-api/memory.rst:584 msgid "``p[N:N+S]``" msgstr "" @@ -872,7 +872,7 @@ msgstr "" msgid "Copies of PYMEM_FORBIDDENBYTE. Used to catch over- writes and reads." msgstr "" -#: c-api/memory.rst:596 +#: c-api/memory.rst:587 msgid "``p[N+S:N+2*S]``" msgstr "" diff --git a/c-api/structures.po b/c-api/structures.po index e71afa542..e3d8cd98c 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -272,7 +272,7 @@ msgid "" "METH_KEYWORDS>`." msgstr "" -#: c-api/structures.rst:288 +#: c-api/structures.rst:282 msgid ":c:expr:`METH_VARARGS | METH_KEYWORDS`" msgstr "" @@ -298,7 +298,7 @@ msgstr "" msgid "``METH_FASTCALL`` is now part of the :ref:`stable ABI `." msgstr "" -#: c-api/structures.rst:319 +#: c-api/structures.rst:307 msgid ":c:expr:`METH_FASTCALL | METH_KEYWORDS`" msgstr "" @@ -320,7 +320,7 @@ msgid "" "METH_FASTCALL | METH_KEYWORDS `." msgstr "" -#: c-api/structures.rst:340 +#: c-api/structures.rst:329 msgid ":c:expr:`METH_METHOD | METH_FASTCALL | METH_KEYWORDS`" msgstr "" diff --git a/c-api/tuple.po b/c-api/tuple.po index a95f523d5..74fce3381 100644 --- a/c-api/tuple.po +++ b/c-api/tuple.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -71,44 +71,52 @@ msgid "" "`IndexError` exception." msgstr "" -#: c-api/tuple.rst:65 +#: c-api/tuple.rst:62 +msgid "" +"The returned reference is borrowed from the tuple *p* (that is: it is only " +"valid as long as you hold a reference to *p*). To get a :term:`strong " +"reference`, use :c:func:`Py_NewRef(PyTuple_GetItem(...)) ` or :c:" +"func:`PySequence_GetItem`." +msgstr "" + +#: c-api/tuple.rst:71 msgid "Like :c:func:`PyTuple_GetItem`, but does no checking of its arguments." msgstr "" -#: c-api/tuple.rst:70 +#: c-api/tuple.rst:76 msgid "" "Return the slice of the tuple pointed to by *p* between *low* and *high*, or " "``NULL`` on failure. This is the equivalent of the Python expression " "``p[low:high]``. Indexing from the end of the tuple is not supported." msgstr "" -#: c-api/tuple.rst:77 +#: c-api/tuple.rst:83 msgid "" "Insert a reference to object *o* at position *pos* of the tuple pointed to " "by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` " "and set an :exc:`IndexError` exception." msgstr "" -#: c-api/tuple.rst:83 +#: c-api/tuple.rst:89 msgid "" "This function \"steals\" a reference to *o* and discards a reference to an " "item already in the tuple at the affected position." msgstr "" -#: c-api/tuple.rst:89 +#: c-api/tuple.rst:95 msgid "" "Like :c:func:`PyTuple_SetItem`, but does no error checking, and should " "*only* be used to fill in brand new tuples." msgstr "" -#: c-api/tuple.rst:94 +#: c-api/tuple.rst:100 msgid "" "This function \"steals\" a reference to *o*, and, unlike :c:func:" "`PyTuple_SetItem`, does *not* discard a reference to any item that is being " "replaced; any reference in the tuple at position *pos* will be leaked." msgstr "" -#: c-api/tuple.rst:102 +#: c-api/tuple.rst:108 msgid "" "Can be used to resize a tuple. *newsize* will be the new length of the " "tuple. Because tuples are *supposed* to be immutable, this should only be " @@ -123,11 +131,11 @@ msgid "" "`SystemError`." msgstr "" -#: c-api/tuple.rst:117 +#: c-api/tuple.rst:123 msgid "Struct Sequence Objects" msgstr "" -#: c-api/tuple.rst:119 +#: c-api/tuple.rst:125 msgid "" "Struct sequence objects are the C equivalent of :func:`~collections." "namedtuple` objects, i.e. a sequence whose items can also be accessed " @@ -135,44 +143,44 @@ msgid "" "specific struct sequence type." msgstr "" -#: c-api/tuple.rst:126 +#: c-api/tuple.rst:132 msgid "" "Create a new struct sequence type from the data in *desc*, described below. " "Instances of the resulting type can be created with :c:func:" "`PyStructSequence_New`." msgstr "" -#: c-api/tuple.rst:132 +#: c-api/tuple.rst:138 msgid "Initializes a struct sequence type *type* from *desc* in place." msgstr "" -#: c-api/tuple.rst:137 +#: c-api/tuple.rst:143 msgid "" "The same as ``PyStructSequence_InitType``, but returns ``0`` on success and " "``-1`` on failure." msgstr "" -#: c-api/tuple.rst:145 +#: c-api/tuple.rst:151 msgid "Contains the meta information of a struct sequence type to create." msgstr "" -#: c-api/tuple.rst:149 +#: c-api/tuple.rst:155 msgid "Name of the struct sequence type." msgstr "" -#: c-api/tuple.rst:153 +#: c-api/tuple.rst:159 msgid "Pointer to docstring for the type or ``NULL`` to omit." msgstr "" -#: c-api/tuple.rst:157 +#: c-api/tuple.rst:163 msgid "Pointer to ``NULL``-terminated array with field names of the new type." msgstr "" -#: c-api/tuple.rst:161 +#: c-api/tuple.rst:167 msgid "Number of fields visible to the Python side (if used as tuple)." msgstr "" -#: c-api/tuple.rst:166 +#: c-api/tuple.rst:172 msgid "" "Describes a field of a struct sequence. As a struct sequence is modeled as a " "tuple, all fields are typed as :c:expr:`PyObject*`. The index in the :c:" @@ -181,52 +189,52 @@ msgid "" "described." msgstr "" -#: c-api/tuple.rst:174 +#: c-api/tuple.rst:180 msgid "" "Name for the field or ``NULL`` to end the list of named fields, set to :c:" "data:`PyStructSequence_UnnamedField` to leave unnamed." msgstr "" -#: c-api/tuple.rst:179 +#: c-api/tuple.rst:185 msgid "Field docstring or ``NULL`` to omit." msgstr "" -#: c-api/tuple.rst:184 +#: c-api/tuple.rst:190 msgid "Special value for a field name to leave it unnamed." msgstr "" -#: c-api/tuple.rst:186 +#: c-api/tuple.rst:192 msgid "The type was changed from ``char *``." msgstr "" -#: c-api/tuple.rst:192 +#: c-api/tuple.rst:198 msgid "" "Creates an instance of *type*, which must have been created with :c:func:" "`PyStructSequence_NewType`." msgstr "" -#: c-api/tuple.rst:198 +#: c-api/tuple.rst:204 msgid "" "Return the object at position *pos* in the struct sequence pointed to by " "*p*. No bounds checking is performed." msgstr "" -#: c-api/tuple.rst:204 +#: c-api/tuple.rst:210 msgid "Macro equivalent of :c:func:`PyStructSequence_GetItem`." msgstr "" -#: c-api/tuple.rst:209 +#: c-api/tuple.rst:215 msgid "" "Sets the field at index *pos* of the struct sequence *p* to value *o*. " "Like :c:func:`PyTuple_SET_ITEM`, this should only be used to fill in brand " "new instances." msgstr "" -#: c-api/tuple.rst:225 +#: c-api/tuple.rst:231 msgid "This function \"steals\" a reference to *o*." msgstr "" -#: c-api/tuple.rst:220 +#: c-api/tuple.rst:226 msgid "" "Similar to :c:func:`PyStructSequence_SetItem`, but implemented as a static " "inlined function." diff --git a/c-api/typeobj.po b/c-api/typeobj.po index 4687af8f2..db316683c 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1129,14 +1129,14 @@ msgstr "" #: c-api/typeobj.rst:526 c-api/typeobj.rst:562 c-api/typeobj.rst:649 #: c-api/typeobj.rst:749 c-api/typeobj.rst:783 c-api/typeobj.rst:825 #: c-api/typeobj.rst:854 c-api/typeobj.rst:899 c-api/typeobj.rst:937 -#: c-api/typeobj.rst:984 c-api/typeobj.rst:1019 c-api/typeobj.rst:1068 -#: c-api/typeobj.rst:1088 c-api/typeobj.rst:1120 c-api/typeobj.rst:1158 -#: c-api/typeobj.rst:1193 c-api/typeobj.rst:1258 c-api/typeobj.rst:1307 -#: c-api/typeobj.rst:1355 c-api/typeobj.rst:1491 c-api/typeobj.rst:1588 -#: c-api/typeobj.rst:1636 c-api/typeobj.rst:1664 c-api/typeobj.rst:1708 -#: c-api/typeobj.rst:1766 c-api/typeobj.rst:1813 c-api/typeobj.rst:1874 -#: c-api/typeobj.rst:1937 c-api/typeobj.rst:1997 c-api/typeobj.rst:2020 -#: c-api/typeobj.rst:2054 c-api/typeobj.rst:2114 c-api/typeobj.rst:2137 +#: c-api/typeobj.rst:984 c-api/typeobj.rst:1019 c-api/typeobj.rst:1069 +#: c-api/typeobj.rst:1089 c-api/typeobj.rst:1121 c-api/typeobj.rst:1159 +#: c-api/typeobj.rst:1194 c-api/typeobj.rst:1259 c-api/typeobj.rst:1308 +#: c-api/typeobj.rst:1356 c-api/typeobj.rst:1492 c-api/typeobj.rst:1589 +#: c-api/typeobj.rst:1637 c-api/typeobj.rst:1665 c-api/typeobj.rst:1709 +#: c-api/typeobj.rst:1767 c-api/typeobj.rst:1814 c-api/typeobj.rst:1875 +#: c-api/typeobj.rst:1938 c-api/typeobj.rst:1998 c-api/typeobj.rst:2021 +#: c-api/typeobj.rst:2055 c-api/typeobj.rst:2115 c-api/typeobj.rst:2138 msgid "**Inheritance:**" msgstr "" @@ -1164,8 +1164,8 @@ msgid "" "class. :c:func:`PyType_Ready` will not change this field if it is non-zero." msgstr "" -#: c-api/typeobj.rst:710 c-api/typeobj.rst:919 c-api/typeobj.rst:1615 -#: c-api/typeobj.rst:1768 c-api/typeobj.rst:1859 c-api/typeobj.rst:2116 +#: c-api/typeobj.rst:710 c-api/typeobj.rst:919 c-api/typeobj.rst:1616 +#: c-api/typeobj.rst:1769 c-api/typeobj.rst:1860 c-api/typeobj.rst:2117 msgid "This field is inherited by subtypes." msgstr "" @@ -1514,9 +1514,9 @@ msgid "" "``'>'`` from which both the type and the value of the object can be deduced." msgstr "" -#: c-api/typeobj.rst:941 c-api/typeobj.rst:992 c-api/typeobj.rst:1561 -#: c-api/typeobj.rst:1712 c-api/typeobj.rst:1820 c-api/typeobj.rst:1879 -#: c-api/typeobj.rst:1942 c-api/typeobj.rst:1973 +#: c-api/typeobj.rst:941 c-api/typeobj.rst:992 c-api/typeobj.rst:1562 +#: c-api/typeobj.rst:1713 c-api/typeobj.rst:1821 c-api/typeobj.rst:1880 +#: c-api/typeobj.rst:1943 c-api/typeobj.rst:1974 msgid "**Default:**" msgstr "" @@ -1602,7 +1602,7 @@ msgid "" "`PyObject_HashNotImplemented`." msgstr "" -#: c-api/typeobj.rst:1554 +#: c-api/typeobj.rst:1555 msgid "" "Group: :c:member:`~PyTypeObject.tp_hash`, :c:member:`~PyTypeObject." "tp_richcompare`" @@ -1772,33 +1772,35 @@ msgid "" "a reference to the type, and the type object is INCREF'ed when a new " "instance is created, and DECREF'ed when an instance is destroyed (this does " "not apply to instances of subtypes; only the type referenced by the " -"instance's ob_type gets INCREF'ed or DECREF'ed)." +"instance's ob_type gets INCREF'ed or DECREF'ed). Heap types should also :ref:" +"`support garbage collection ` as they can form a " +"reference cycle with their own module object." msgstr "" -#: c-api/typeobj.rst:1070 c-api/typeobj.rst:1090 c-api/typeobj.rst:1122 +#: c-api/typeobj.rst:1071 c-api/typeobj.rst:1091 c-api/typeobj.rst:1123 msgid "???" msgstr "" -#: c-api/typeobj.rst:1064 +#: c-api/typeobj.rst:1065 msgid "" "This bit is set when the type can be used as the base type of another type. " "If this bit is clear, the type cannot be subtyped (similar to a \"final\" " "class in Java)." msgstr "" -#: c-api/typeobj.rst:1075 +#: c-api/typeobj.rst:1076 msgid "" "This bit is set when the type object has been fully initialized by :c:func:" "`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:1085 +#: c-api/typeobj.rst:1086 msgid "" "This bit is set while :c:func:`PyType_Ready` is in the process of " "initializing the type object." msgstr "" -#: c-api/typeobj.rst:1095 +#: c-api/typeobj.rst:1096 msgid "" "This bit is set when the object supports garbage collection. If this bit is " "set, instances must be created using :c:macro:`PyObject_GC_New` and " @@ -1808,13 +1810,13 @@ msgid "" "tp_clear` are present in the type object." msgstr "" -#: c-api/typeobj.rst:1425 c-api/typeobj.rst:1493 +#: c-api/typeobj.rst:1426 c-api/typeobj.rst:1494 msgid "" "Group: :c:macro:`Py_TPFLAGS_HAVE_GC`, :c:member:`~PyTypeObject." "tp_traverse`, :c:member:`~PyTypeObject.tp_clear`" msgstr "" -#: c-api/typeobj.rst:1106 +#: c-api/typeobj.rst:1107 msgid "" "The :c:macro:`Py_TPFLAGS_HAVE_GC` flag bit is inherited together with the :c:" "member:`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject.tp_clear` " @@ -1824,99 +1826,99 @@ msgid "" "values." msgstr "" -#: c-api/typeobj.rst:1116 +#: c-api/typeobj.rst:1117 msgid "" "This is a bitmask of all the bits that pertain to the existence of certain " "fields in the type object and its extension structures. Currently, it " "includes the following bits: :c:macro:`Py_TPFLAGS_HAVE_STACKLESS_EXTENSION`." msgstr "" -#: c-api/typeobj.rst:1127 +#: c-api/typeobj.rst:1128 msgid "This bit indicates that objects behave like unbound methods." msgstr "" -#: c-api/typeobj.rst:1129 +#: c-api/typeobj.rst:1130 msgid "If this flag is set for ``type(meth)``, then:" msgstr "" -#: c-api/typeobj.rst:1131 +#: c-api/typeobj.rst:1132 msgid "" "``meth.__get__(obj, cls)(*args, **kwds)`` (with ``obj`` not None) must be " "equivalent to ``meth(obj, *args, **kwds)``." msgstr "" -#: c-api/typeobj.rst:1134 +#: c-api/typeobj.rst:1135 msgid "" "``meth.__get__(None, cls)(*args, **kwds)`` must be equivalent to " "``meth(*args, **kwds)``." msgstr "" -#: c-api/typeobj.rst:1137 +#: c-api/typeobj.rst:1138 msgid "" "This flag enables an optimization for typical method calls like ``obj." "meth()``: it avoids creating a temporary \"bound method\" object for ``obj." "meth``." msgstr "" -#: c-api/typeobj.rst:1145 +#: c-api/typeobj.rst:1146 msgid "" "This flag is never inherited by types without the :c:macro:" "`Py_TPFLAGS_IMMUTABLETYPE` flag set. For extension types, it is inherited " "whenever :c:member:`~PyTypeObject.tp_descr_get` is inherited." msgstr "" -#: c-api/typeobj.rst:1151 +#: c-api/typeobj.rst:1152 msgid "" "This bit indicates that instances of the class have a ``__dict__`` " "attribute, and that the space for the dictionary is managed by the VM." msgstr "" -#: c-api/typeobj.rst:1154 +#: c-api/typeobj.rst:1155 msgid "If this flag is set, :c:macro:`Py_TPFLAGS_HAVE_GC` should also be set." msgstr "" -#: c-api/typeobj.rst:1160 +#: c-api/typeobj.rst:1161 msgid "" "This flag is inherited unless the :c:member:`~PyTypeObject.tp_dictoffset` " "field is set in a superclass." msgstr "" -#: c-api/typeobj.rst:1166 +#: c-api/typeobj.rst:1167 msgid "" "This bit indicates that instances of the class should be weakly " "referenceable." msgstr "" -#: c-api/typeobj.rst:1173 +#: c-api/typeobj.rst:1174 msgid "" "This flag is inherited unless the :c:member:`~PyTypeObject." "tp_weaklistoffset` field is set in a superclass." msgstr "" -#: c-api/typeobj.rst:1179 +#: c-api/typeobj.rst:1180 msgid "" "Only usable with variable-size types, i.e. ones with non-zero :c:member:" "`~PyTypeObject.tp_itemsize`." msgstr "" -#: c-api/typeobj.rst:1182 +#: c-api/typeobj.rst:1183 msgid "" "Indicates that the variable-sized portion of an instance of this type is at " "the end of the instance's memory area, at an offset of ``Py_TYPE(obj)-" ">tp_basicsize`` (which may be different in each subclass)." msgstr "" -#: c-api/typeobj.rst:1187 +#: c-api/typeobj.rst:1188 msgid "" "When setting this flag, be sure that all superclasses either use this memory " "layout, or are not variable-sized. Python does not check this." msgstr "" -#: c-api/typeobj.rst:1195 +#: c-api/typeobj.rst:1196 msgid "This flag is inherited." msgstr "" -#: c-api/typeobj.rst:1209 +#: c-api/typeobj.rst:1210 msgid "" "These flags are used by functions such as :c:func:`PyLong_Check` to quickly " "determine if a type is a subclass of a built-in type; such specific checks " @@ -1926,90 +1928,90 @@ msgid "" "behave differently depending on what kind of check is used." msgstr "" -#: c-api/typeobj.rst:1220 +#: c-api/typeobj.rst:1221 msgid "" "This bit is set when the :c:member:`~PyTypeObject.tp_finalize` slot is " "present in the type structure." msgstr "" -#: c-api/typeobj.rst:1225 +#: c-api/typeobj.rst:1226 msgid "" "This flag isn't necessary anymore, as the interpreter assumes the :c:member:" "`~PyTypeObject.tp_finalize` slot is always present in the type structure." msgstr "" -#: c-api/typeobj.rst:1233 +#: c-api/typeobj.rst:1234 msgid "" "This bit is set when the class implements the :ref:`vectorcall protocol " "`. See :c:member:`~PyTypeObject.tp_vectorcall_offset` for " "details." msgstr "" -#: c-api/typeobj.rst:1239 +#: c-api/typeobj.rst:1240 msgid "" "This bit is inherited if :c:member:`~PyTypeObject.tp_call` is also inherited." msgstr "" -#: c-api/typeobj.rst:1246 +#: c-api/typeobj.rst:1247 msgid "" "This flag is now removed from a class when the class's :py:meth:`~object." "__call__` method is reassigned." msgstr "" -#: c-api/typeobj.rst:1249 +#: c-api/typeobj.rst:1250 msgid "This flag can now be inherited by mutable classes." msgstr "" -#: c-api/typeobj.rst:1253 +#: c-api/typeobj.rst:1254 msgid "" "This bit is set for type objects that are immutable: type attributes cannot " "be set nor deleted." msgstr "" -#: c-api/typeobj.rst:1255 +#: c-api/typeobj.rst:1256 msgid "" ":c:func:`PyType_Ready` automatically applies this flag to :ref:`static types " "`." msgstr "" -#: c-api/typeobj.rst:1260 +#: c-api/typeobj.rst:1261 msgid "This flag is not inherited." msgstr "" -#: c-api/typeobj.rst:1266 +#: c-api/typeobj.rst:1267 msgid "" "Disallow creating instances of the type: set :c:member:`~PyTypeObject." "tp_new` to NULL and don't create the ``__new__`` key in the type dictionary." msgstr "" -#: c-api/typeobj.rst:1270 +#: c-api/typeobj.rst:1271 msgid "" "The flag must be set before creating the type, not after. For example, it " "must be set before :c:func:`PyType_Ready` is called on the type." msgstr "" -#: c-api/typeobj.rst:1273 +#: c-api/typeobj.rst:1274 msgid "" "The flag is set automatically on :ref:`static types ` if :c:" "member:`~PyTypeObject.tp_base` is NULL or ``&PyBaseObject_Type`` and :c:" "member:`~PyTypeObject.tp_new` is NULL." msgstr "" -#: c-api/typeobj.rst:1279 +#: c-api/typeobj.rst:1280 msgid "" "This flag is not inherited. However, subclasses will not be instantiable " "unless they provide a non-NULL :c:member:`~PyTypeObject.tp_new` (which is " "only possible via the C API)." msgstr "" -#: c-api/typeobj.rst:1286 +#: c-api/typeobj.rst:1287 msgid "" "To disallow instantiating a class directly but allow instantiating its " "subclasses (e.g. for an :term:`abstract base class`), do not use this flag. " "Instead, make :c:member:`~PyTypeObject.tp_new` only succeed for subclasses." msgstr "" -#: c-api/typeobj.rst:1297 +#: c-api/typeobj.rst:1298 msgid "" "This bit indicates that instances of the class may match mapping patterns " "when used as the subject of a :keyword:`match` block. It is automatically " @@ -2017,23 +2019,23 @@ msgid "" "unset when registering :class:`collections.abc.Sequence`." msgstr "" -#: c-api/typeobj.rst:1326 +#: c-api/typeobj.rst:1327 msgid "" ":c:macro:`Py_TPFLAGS_MAPPING` and :c:macro:`Py_TPFLAGS_SEQUENCE` are " "mutually exclusive; it is an error to enable both flags simultaneously." msgstr "" -#: c-api/typeobj.rst:1309 +#: c-api/typeobj.rst:1310 msgid "" "This flag is inherited by types that do not already set :c:macro:" "`Py_TPFLAGS_SEQUENCE`." msgstr "" -#: c-api/typeobj.rst:1334 +#: c-api/typeobj.rst:1335 msgid ":pep:`634` -- Structural Pattern Matching: Specification" msgstr "" -#: c-api/typeobj.rst:1319 +#: c-api/typeobj.rst:1320 msgid "" "This bit indicates that instances of the class may match sequence patterns " "when used as the subject of a :keyword:`match` block. It is automatically " @@ -2041,49 +2043,49 @@ msgid "" "unset when registering :class:`collections.abc.Mapping`." msgstr "" -#: c-api/typeobj.rst:1331 +#: c-api/typeobj.rst:1332 msgid "" "This flag is inherited by types that do not already set :c:macro:" "`Py_TPFLAGS_MAPPING`." msgstr "" -#: c-api/typeobj.rst:1341 +#: c-api/typeobj.rst:1342 msgid "" "Internal. Do not set or unset this flag. To indicate that a class has " "changed call :c:func:`PyType_Modified`" msgstr "" -#: c-api/typeobj.rst:1345 +#: c-api/typeobj.rst:1346 msgid "" "This flag is present in header files, but is an internal feature and should " "not be used. It will be removed in a future version of CPython" msgstr "" -#: c-api/typeobj.rst:1351 +#: c-api/typeobj.rst:1352 msgid "" "An optional pointer to a NUL-terminated C string giving the docstring for " "this type object. This is exposed as the :attr:`__doc__` attribute on the " "type and instances of the type." msgstr "" -#: c-api/typeobj.rst:1357 +#: c-api/typeobj.rst:1358 msgid "This field is *not* inherited by subtypes." msgstr "" -#: c-api/typeobj.rst:1362 +#: c-api/typeobj.rst:1363 msgid "" "An optional pointer to a traversal function for the garbage collector. This " "is only used if the :c:macro:`Py_TPFLAGS_HAVE_GC` flag bit is set. The " "signature is::" msgstr "" -#: c-api/typeobj.rst:1488 +#: c-api/typeobj.rst:1489 msgid "" "More information about Python's garbage collection scheme can be found in " "section :ref:`supporting-cycle-detection`." msgstr "" -#: c-api/typeobj.rst:1370 +#: c-api/typeobj.rst:1371 msgid "" "The :c:member:`~PyTypeObject.tp_traverse` pointer is used by the garbage " "collector to detect reference cycles. A typical implementation of a :c:" @@ -2093,7 +2095,7 @@ msgid "" "`!_thread` extension module::" msgstr "" -#: c-api/typeobj.rst:1385 +#: c-api/typeobj.rst:1386 msgid "" "Note that :c:func:`Py_VISIT` is called only on those members that can " "participate in reference cycles. Although there is also a ``self->key`` " @@ -2101,14 +2103,14 @@ msgid "" "part of a reference cycle." msgstr "" -#: c-api/typeobj.rst:1389 +#: c-api/typeobj.rst:1390 msgid "" "On the other hand, even if you know a member can never be part of a cycle, " "as a debugging aid you may want to visit it anyway just so the :mod:`gc` " "module's :func:`~gc.get_referents` function will include it." msgstr "" -#: c-api/typeobj.rst:1394 +#: c-api/typeobj.rst:1395 msgid "" "When implementing :c:member:`~PyTypeObject.tp_traverse`, only the members " "that the instance *owns* (by having :term:`strong references ` hold a reference to " "their type. Their traversal function must therefore either visit :c:func:" @@ -2137,14 +2139,14 @@ msgid "" "superclass). If they do not, the type object may not be garbage-collected." msgstr "" -#: c-api/typeobj.rst:1418 +#: c-api/typeobj.rst:1419 msgid "" "Heap-allocated types are expected to visit ``Py_TYPE(self)`` in " "``tp_traverse``. In earlier versions of Python, due to `bug 40217 `_, doing this may lead to crashes in subclasses." msgstr "" -#: c-api/typeobj.rst:1427 +#: c-api/typeobj.rst:1428 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_clear` and the :c:macro:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :c:" @@ -2152,14 +2154,14 @@ msgid "" "are all inherited from the base type if they are all zero in the subtype." msgstr "" -#: c-api/typeobj.rst:1435 +#: c-api/typeobj.rst:1436 msgid "" "An optional pointer to a clear function for the garbage collector. This is " "only used if the :c:macro:`Py_TPFLAGS_HAVE_GC` flag bit is set. The " "signature is::" msgstr "" -#: c-api/typeobj.rst:1440 +#: c-api/typeobj.rst:1441 msgid "" "The :c:member:`~PyTypeObject.tp_clear` member function is used to break " "reference cycles in cyclic garbage detected by the garbage collector. Taken " @@ -2174,7 +2176,7 @@ msgid "" "good reason to avoid implementing :c:member:`~PyTypeObject.tp_clear`." msgstr "" -#: c-api/typeobj.rst:1450 +#: c-api/typeobj.rst:1451 msgid "" "Implementations of :c:member:`~PyTypeObject.tp_clear` should drop the " "instance's references to those of its members that may be Python objects, " @@ -2182,7 +2184,7 @@ msgid "" "example::" msgstr "" -#: c-api/typeobj.rst:1464 +#: c-api/typeobj.rst:1465 msgid "" "The :c:func:`Py_CLEAR` macro should be used, because clearing references is " "delicate: the reference to the contained object must not be released (via :" @@ -2197,7 +2199,7 @@ msgid "" "performs the operations in a safe order." msgstr "" -#: c-api/typeobj.rst:1476 +#: c-api/typeobj.rst:1477 msgid "" "Note that :c:member:`~PyTypeObject.tp_clear` is not *always* called before " "an instance is deallocated. For example, when reference counting is enough " @@ -2205,7 +2207,7 @@ msgid "" "is not involved and :c:member:`~PyTypeObject.tp_dealloc` is called directly." msgstr "" -#: c-api/typeobj.rst:1482 +#: c-api/typeobj.rst:1483 msgid "" "Because the goal of :c:member:`~PyTypeObject.tp_clear` functions is to break " "reference cycles, it's not necessary to clear contained objects like Python " @@ -2215,7 +2217,7 @@ msgid "" "invoke :c:member:`~PyTypeObject.tp_clear`." msgstr "" -#: c-api/typeobj.rst:1495 +#: c-api/typeobj.rst:1496 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_traverse` and the :c:macro:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :" @@ -2223,18 +2225,18 @@ msgid "" "are all inherited from the base type if they are all zero in the subtype." msgstr "" -#: c-api/typeobj.rst:1503 +#: c-api/typeobj.rst:1504 msgid "" "An optional pointer to the rich comparison function, whose signature is::" msgstr "" -#: c-api/typeobj.rst:1507 +#: c-api/typeobj.rst:1508 msgid "" "The first parameter is guaranteed to be an instance of the type that is " "defined by :c:type:`PyTypeObject`." msgstr "" -#: c-api/typeobj.rst:1510 +#: c-api/typeobj.rst:1511 msgid "" "The function should return the result of the comparison (usually ``Py_True`` " "or ``Py_False``). If the comparison is undefined, it must return " @@ -2242,50 +2244,50 @@ msgid "" "set an exception condition." msgstr "" -#: c-api/typeobj.rst:1515 +#: c-api/typeobj.rst:1516 msgid "" "The following constants are defined to be used as the third argument for :c:" "member:`~PyTypeObject.tp_richcompare` and for :c:func:`PyObject_RichCompare`:" msgstr "" -#: c-api/typeobj.rst:1521 +#: c-api/typeobj.rst:1522 msgid "Constant" msgstr "" -#: c-api/typeobj.rst:1521 +#: c-api/typeobj.rst:1522 msgid "Comparison" msgstr "" -#: c-api/typeobj.rst:1523 +#: c-api/typeobj.rst:1524 msgid "``<``" msgstr "" -#: c-api/typeobj.rst:1525 +#: c-api/typeobj.rst:1526 msgid "``<=``" msgstr "" -#: c-api/typeobj.rst:1527 +#: c-api/typeobj.rst:1528 msgid "``==``" msgstr "" -#: c-api/typeobj.rst:1529 +#: c-api/typeobj.rst:1530 msgid "``!=``" msgstr "" -#: c-api/typeobj.rst:1531 +#: c-api/typeobj.rst:1532 msgid "``>``" msgstr "" -#: c-api/typeobj.rst:1533 +#: c-api/typeobj.rst:1534 msgid "``>=``" msgstr "" -#: c-api/typeobj.rst:1536 +#: c-api/typeobj.rst:1537 msgid "" "The following macro is defined to ease writing rich comparison functions:" msgstr "" -#: c-api/typeobj.rst:1540 +#: c-api/typeobj.rst:1541 msgid "" "Return ``Py_True`` or ``Py_False`` from the function, depending on the " "result of a comparison. VAL_A and VAL_B must be orderable by C comparison " @@ -2293,15 +2295,15 @@ msgid "" "specifies the requested operation, as for :c:func:`PyObject_RichCompare`." msgstr "" -#: c-api/typeobj.rst:1546 +#: c-api/typeobj.rst:1547 msgid "The returned value is a new :term:`strong reference`." msgstr "" -#: c-api/typeobj.rst:1548 +#: c-api/typeobj.rst:1549 msgid "On error, sets an exception and returns ``NULL`` from the function." msgstr "" -#: c-api/typeobj.rst:1556 +#: c-api/typeobj.rst:1557 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_hash`: a subtype inherits :c:member:`~PyTypeObject.tp_richcompare` and :c:" @@ -2309,7 +2311,7 @@ msgid "" "tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:1563 +#: c-api/typeobj.rst:1564 msgid "" ":c:data:`PyBaseObject_Type` provides a :c:member:`~PyTypeObject." "tp_richcompare` implementation, which may be inherited. However, if only :c:" @@ -2318,13 +2320,13 @@ msgid "" "comparisons." msgstr "" -#: c-api/typeobj.rst:1572 +#: c-api/typeobj.rst:1573 msgid "" "While this field is still supported, :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` " "should be used instead, if at all possible." msgstr "" -#: c-api/typeobj.rst:1575 +#: c-api/typeobj.rst:1576 msgid "" "If the instances of this type are weakly referenceable, this field is " "greater than zero and contains the offset in the instance structure of the " @@ -2334,19 +2336,19 @@ msgid "" "`PyObject*` which is initialized to ``NULL``." msgstr "" -#: c-api/typeobj.rst:1582 +#: c-api/typeobj.rst:1583 msgid "" "Do not confuse this field with :c:member:`~PyTypeObject.tp_weaklist`; that " "is the list head for weak references to the type object itself." msgstr "" -#: c-api/typeobj.rst:1585 +#: c-api/typeobj.rst:1586 msgid "" "It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit " "and :c:member:`~PyTypeObject.tp_weaklist`." msgstr "" -#: c-api/typeobj.rst:1590 +#: c-api/typeobj.rst:1591 msgid "" "This field is inherited by subtypes, but see the rules listed below. A " "subtype may override this offset; this means that the subtype uses a " @@ -2355,7 +2357,7 @@ msgid "" "not be a problem." msgstr "" -#: c-api/typeobj.rst:1597 +#: c-api/typeobj.rst:1598 msgid "" "If the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit is set in the :c:member:" "`~PyTypeObject.tp_dict` field, then :c:member:`~PyTypeObject." @@ -2363,24 +2365,24 @@ msgid "" "unsafe to use this field." msgstr "" -#: c-api/typeobj.rst:1605 +#: c-api/typeobj.rst:1606 msgid "" "An optional pointer to a function that returns an :term:`iterator` for the " "object. Its presence normally signals that the instances of this type are :" "term:`iterable` (although sequences may be iterable without this function)." msgstr "" -#: c-api/typeobj.rst:1609 +#: c-api/typeobj.rst:1610 msgid "This function has the same signature as :c:func:`PyObject_GetIter`::" msgstr "" -#: c-api/typeobj.rst:1620 +#: c-api/typeobj.rst:1621 msgid "" "An optional pointer to a function that returns the next item in an :term:" "`iterator`. The signature is::" msgstr "" -#: c-api/typeobj.rst:1625 +#: c-api/typeobj.rst:1626 msgid "" "When the iterator is exhausted, it must return ``NULL``; a :exc:" "`StopIteration` exception may or may not be set. When another error occurs, " @@ -2388,74 +2390,74 @@ msgid "" "this type are iterators." msgstr "" -#: c-api/typeobj.rst:1630 +#: c-api/typeobj.rst:1631 msgid "" "Iterator types should also define the :c:member:`~PyTypeObject.tp_iter` " "function, and that function should return the iterator instance itself (not " "a new iterator instance)." msgstr "" -#: c-api/typeobj.rst:1634 +#: c-api/typeobj.rst:1635 msgid "This function has the same signature as :c:func:`PyIter_Next`." msgstr "" -#: c-api/typeobj.rst:1643 +#: c-api/typeobj.rst:1644 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyMethodDef` structures, declaring regular methods of this type." msgstr "" -#: c-api/typeobj.rst:1646 +#: c-api/typeobj.rst:1647 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a method descriptor." msgstr "" -#: c-api/typeobj.rst:1651 +#: c-api/typeobj.rst:1652 msgid "" "This field is not inherited by subtypes (methods are inherited through a " "different mechanism)." msgstr "" -#: c-api/typeobj.rst:1657 +#: c-api/typeobj.rst:1658 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyMemberDef` structures, declaring regular data members (fields or slots) " "of instances of this type." msgstr "" -#: c-api/typeobj.rst:1661 +#: c-api/typeobj.rst:1662 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a member descriptor." msgstr "" -#: c-api/typeobj.rst:1666 +#: c-api/typeobj.rst:1667 msgid "" "This field is not inherited by subtypes (members are inherited through a " "different mechanism)." msgstr "" -#: c-api/typeobj.rst:1672 +#: c-api/typeobj.rst:1673 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyGetSetDef` structures, declaring computed attributes of instances of this " "type." msgstr "" -#: c-api/typeobj.rst:1675 +#: c-api/typeobj.rst:1676 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a getset descriptor." msgstr "" -#: c-api/typeobj.rst:1680 +#: c-api/typeobj.rst:1681 msgid "" "This field is not inherited by subtypes (computed attributes are inherited " "through a different mechanism)." msgstr "" -#: c-api/typeobj.rst:1686 +#: c-api/typeobj.rst:1687 msgid "" "An optional pointer to a base type from which type properties are " "inherited. At this level, only single inheritance is supported; multiple " @@ -2463,7 +2465,7 @@ msgid "" "metatype." msgstr "" -#: c-api/typeobj.rst:1694 +#: c-api/typeobj.rst:1695 msgid "" "Slot initialization is subject to the rules of initializing globals. C99 " "requires the initializers to be \"address constants\". Function designators " @@ -2471,7 +2473,7 @@ msgid "" "valid C99 address constants." msgstr "" -#: c-api/typeobj.rst:1699 +#: c-api/typeobj.rst:1700 msgid "" "However, the unary '&' operator applied to a non-static variable like :c:" "data:`PyBaseObject_Type` is not required to produce an address constant. " @@ -2479,27 +2481,27 @@ msgid "" "strictly standard conforming in this particular behavior." msgstr "" -#: c-api/typeobj.rst:1705 +#: c-api/typeobj.rst:1706 msgid "" "Consequently, :c:member:`~PyTypeObject.tp_base` should be set in the " "extension module's init function." msgstr "" -#: c-api/typeobj.rst:1710 +#: c-api/typeobj.rst:1711 msgid "This field is not inherited by subtypes (obviously)." msgstr "" -#: c-api/typeobj.rst:1714 +#: c-api/typeobj.rst:1715 msgid "" "This field defaults to ``&PyBaseObject_Type`` (which to Python programmers " "is known as the type :class:`object`)." msgstr "" -#: c-api/typeobj.rst:1720 +#: c-api/typeobj.rst:1721 msgid "The type's dictionary is stored here by :c:func:`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:1722 +#: c-api/typeobj.rst:1723 msgid "" "This field should normally be initialized to ``NULL`` before PyType_Ready is " "called; it may also be initialized to a dictionary containing initial " @@ -2510,62 +2512,62 @@ msgid "" "be treated as read-only." msgstr "" -#: c-api/typeobj.rst:1730 +#: c-api/typeobj.rst:1731 msgid "" "Some types may not store their dictionary in this slot. Use :c:func:" "`PyType_GetDict` to retrieve the dictionary for an arbitrary type." msgstr "" -#: c-api/typeobj.rst:1736 +#: c-api/typeobj.rst:1737 msgid "" "Internals detail: For static builtin types, this is always ``NULL``. " "Instead, the dict for such types is stored on ``PyInterpreterState``. Use :c:" "func:`PyType_GetDict` to get the dict for an arbitrary type." msgstr "" -#: c-api/typeobj.rst:1742 +#: c-api/typeobj.rst:1743 msgid "" "This field is not inherited by subtypes (though the attributes defined in " "here are inherited through a different mechanism)." msgstr "" -#: c-api/typeobj.rst:1747 +#: c-api/typeobj.rst:1748 msgid "" "If this field is ``NULL``, :c:func:`PyType_Ready` will assign a new " "dictionary to it." msgstr "" -#: c-api/typeobj.rst:1752 +#: c-api/typeobj.rst:1753 msgid "" "It is not safe to use :c:func:`PyDict_SetItem` on or otherwise modify :c:" "member:`~PyTypeObject.tp_dict` with the dictionary C-API." msgstr "" -#: c-api/typeobj.rst:1758 +#: c-api/typeobj.rst:1759 msgid "An optional pointer to a \"descriptor get\" function." msgstr "" -#: c-api/typeobj.rst:1776 c-api/typeobj.rst:1870 c-api/typeobj.rst:1894 +#: c-api/typeobj.rst:1777 c-api/typeobj.rst:1871 c-api/typeobj.rst:1895 msgid "The function signature is::" msgstr "" -#: c-api/typeobj.rst:1773 +#: c-api/typeobj.rst:1774 msgid "" "An optional pointer to a function for setting and deleting a descriptor's " "value." msgstr "" -#: c-api/typeobj.rst:1780 +#: c-api/typeobj.rst:1781 msgid "The *value* argument is set to ``NULL`` to delete the value." msgstr "" -#: c-api/typeobj.rst:1791 +#: c-api/typeobj.rst:1792 msgid "" "While this field is still supported, :c:macro:`Py_TPFLAGS_MANAGED_DICT` " "should be used instead, if at all possible." msgstr "" -#: c-api/typeobj.rst:1794 +#: c-api/typeobj.rst:1795 msgid "" "If the instances of this type have a dictionary containing instance " "variables, this field is non-zero and contains the offset in the instances " @@ -2573,19 +2575,19 @@ msgid "" "func:`PyObject_GenericGetAttr`." msgstr "" -#: c-api/typeobj.rst:1799 +#: c-api/typeobj.rst:1800 msgid "" "Do not confuse this field with :c:member:`~PyTypeObject.tp_dict`; that is " "the dictionary for attributes of the type object itself." msgstr "" -#: c-api/typeobj.rst:1802 +#: c-api/typeobj.rst:1803 msgid "" "The value specifies the offset of the dictionary from the start of the " "instance structure." msgstr "" -#: c-api/typeobj.rst:1804 +#: c-api/typeobj.rst:1805 msgid "" "The :c:member:`~PyTypeObject.tp_dictoffset` should be regarded as write-" "only. To get the pointer to the dictionary call :c:func:" @@ -2594,13 +2596,13 @@ msgid "" "to call :c:func:`PyObject_GetAttr` when accessing an attribute on the object." msgstr "" -#: c-api/typeobj.rst:1810 +#: c-api/typeobj.rst:1811 msgid "" "It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit " "and :c:member:`~PyTypeObject.tp_dictoffset`." msgstr "" -#: c-api/typeobj.rst:1815 +#: c-api/typeobj.rst:1816 msgid "" "This field is inherited by subtypes. A subtype should not override this " "offset; doing so could be unsafe, if C code tries to access the dictionary " @@ -2608,25 +2610,25 @@ msgid "" "`Py_TPFLAGS_MANAGED_DICT`." msgstr "" -#: c-api/typeobj.rst:1822 +#: c-api/typeobj.rst:1823 msgid "" "This slot has no default. For :ref:`static types `, if the " "field is ``NULL`` then no :attr:`~object.__dict__` gets created for " "instances." msgstr "" -#: c-api/typeobj.rst:1825 +#: c-api/typeobj.rst:1826 msgid "" "If the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit is set in the :c:member:" "`~PyTypeObject.tp_dict` field, then :c:member:`~PyTypeObject.tp_dictoffset` " "will be set to ``-1``, to indicate that it is unsafe to use this field." msgstr "" -#: c-api/typeobj.rst:1833 +#: c-api/typeobj.rst:1834 msgid "An optional pointer to an instance initialization function." msgstr "" -#: c-api/typeobj.rst:1835 +#: c-api/typeobj.rst:1836 msgid "" "This function corresponds to the :meth:`~object.__init__` method of " "classes. Like :meth:`!__init__`, it is possible to create an instance " @@ -2634,14 +2636,14 @@ msgid "" "instance by calling its :meth:`!__init__` method again." msgstr "" -#: c-api/typeobj.rst:1844 +#: c-api/typeobj.rst:1845 msgid "" "The self argument is the instance to be initialized; the *args* and *kwds* " "arguments represent positional and keyword arguments of the call to :meth:" "`~object.__init__`." msgstr "" -#: c-api/typeobj.rst:1848 +#: c-api/typeobj.rst:1849 msgid "" "The :c:member:`~PyTypeObject.tp_init` function, if not ``NULL``, is called " "when an instance is created normally by calling its type, after the type's :" @@ -2653,43 +2655,43 @@ msgid "" "subtype's :c:member:`~PyTypeObject.tp_init` is called." msgstr "" -#: c-api/typeobj.rst:1855 +#: c-api/typeobj.rst:1856 msgid "Returns ``0`` on success, ``-1`` and sets an exception on error." msgstr "" -#: c-api/typeobj.rst:1863 +#: c-api/typeobj.rst:1864 msgid "" "For :ref:`static types ` this field does not have a default." msgstr "" -#: c-api/typeobj.rst:1868 +#: c-api/typeobj.rst:1869 msgid "An optional pointer to an instance allocation function." msgstr "" -#: c-api/typeobj.rst:1876 +#: c-api/typeobj.rst:1877 msgid "" "This field is inherited by static subtypes, but not by dynamic subtypes " "(subtypes created by a class statement)." msgstr "" -#: c-api/typeobj.rst:1881 +#: c-api/typeobj.rst:1882 msgid "" "For dynamic subtypes, this field is always set to :c:func:" "`PyType_GenericAlloc`, to force a standard heap allocation strategy." msgstr "" -#: c-api/typeobj.rst:1885 +#: c-api/typeobj.rst:1886 msgid "" "For static subtypes, :c:data:`PyBaseObject_Type` uses :c:func:" "`PyType_GenericAlloc`. That is the recommended value for all statically " "defined types." msgstr "" -#: c-api/typeobj.rst:1892 +#: c-api/typeobj.rst:1893 msgid "An optional pointer to an instance creation function." msgstr "" -#: c-api/typeobj.rst:1898 +#: c-api/typeobj.rst:1899 msgid "" "The *subtype* argument is the type of the object being created; the *args* " "and *kwds* arguments represent positional and keyword arguments of the call " @@ -2698,7 +2700,7 @@ msgid "" "that type (but not an unrelated type)." msgstr "" -#: c-api/typeobj.rst:1904 +#: c-api/typeobj.rst:1905 msgid "" "The :c:member:`~PyTypeObject.tp_new` function should call ``subtype-" ">tp_alloc(subtype, nitems)`` to allocate space for the object, and then do " @@ -2710,20 +2712,20 @@ msgid "" "be deferred to :c:member:`~PyTypeObject.tp_init`." msgstr "" -#: c-api/typeobj.rst:1912 +#: c-api/typeobj.rst:1913 msgid "" "Set the :c:macro:`Py_TPFLAGS_DISALLOW_INSTANTIATION` flag to disallow " "creating instances of the type in Python." msgstr "" -#: c-api/typeobj.rst:1917 +#: c-api/typeobj.rst:1918 msgid "" "This field is inherited by subtypes, except it is not inherited by :ref:" "`static types ` whose :c:member:`~PyTypeObject.tp_base` is " "``NULL`` or ``&PyBaseObject_Type``." msgstr "" -#: c-api/typeobj.rst:1923 +#: c-api/typeobj.rst:1924 msgid "" "For :ref:`static types ` this field has no default. This means " "if the slot is defined as ``NULL``, the type cannot be called to create new " @@ -2731,40 +2733,40 @@ msgid "" "factory function." msgstr "" -#: c-api/typeobj.rst:1931 +#: c-api/typeobj.rst:1932 msgid "" "An optional pointer to an instance deallocation function. Its signature is::" msgstr "" -#: c-api/typeobj.rst:1935 +#: c-api/typeobj.rst:1936 msgid "" "An initializer that is compatible with this signature is :c:func:" "`PyObject_Free`." msgstr "" -#: c-api/typeobj.rst:1939 +#: c-api/typeobj.rst:1940 msgid "" "This field is inherited by static subtypes, but not by dynamic subtypes " "(subtypes created by a class statement)" msgstr "" -#: c-api/typeobj.rst:1944 +#: c-api/typeobj.rst:1945 msgid "" "In dynamic subtypes, this field is set to a deallocator suitable to match :c:" "func:`PyType_GenericAlloc` and the value of the :c:macro:" "`Py_TPFLAGS_HAVE_GC` flag bit." msgstr "" -#: c-api/typeobj.rst:1948 +#: c-api/typeobj.rst:1949 msgid "" "For static subtypes, :c:data:`PyBaseObject_Type` uses :c:func:`PyObject_Del`." msgstr "" -#: c-api/typeobj.rst:1953 +#: c-api/typeobj.rst:1954 msgid "An optional pointer to a function called by the garbage collector." msgstr "" -#: c-api/typeobj.rst:1955 +#: c-api/typeobj.rst:1956 msgid "" "The garbage collector needs to know whether a particular object is " "collectible or not. Normally, it is sufficient to look at the object's " @@ -2776,87 +2778,87 @@ msgid "" "instance. The signature is::" msgstr "" -#: c-api/typeobj.rst:1965 +#: c-api/typeobj.rst:1966 msgid "" "(The only example of this are types themselves. The metatype, :c:data:" "`PyType_Type`, defines this function to distinguish between statically and :" "ref:`dynamically allocated types `.)" msgstr "" -#: c-api/typeobj.rst:1975 +#: c-api/typeobj.rst:1976 msgid "" "This slot has no default. If this field is ``NULL``, :c:macro:" "`Py_TPFLAGS_HAVE_GC` is used as the functional equivalent." msgstr "" -#: c-api/typeobj.rst:1981 +#: c-api/typeobj.rst:1982 msgid "Tuple of base types." msgstr "" -#: c-api/typeobj.rst:2007 +#: c-api/typeobj.rst:2008 msgid "" "This field should be set to ``NULL`` and treated as read-only. Python will " "fill it in when the type is :c:func:`initialized `." msgstr "" -#: c-api/typeobj.rst:1986 +#: c-api/typeobj.rst:1987 msgid "" "For dynamically created classes, the ``Py_tp_bases`` :c:type:`slot " "` can be used instead of the *bases* argument of :c:func:" "`PyType_FromSpecWithBases`. The argument form is preferred." msgstr "" -#: c-api/typeobj.rst:1993 +#: c-api/typeobj.rst:1994 msgid "" "Multiple inheritance does not work well for statically defined types. If you " "set ``tp_bases`` to a tuple, Python will not raise an error, but some slots " "will only be inherited from the first base." msgstr "" -#: c-api/typeobj.rst:2022 c-api/typeobj.rst:2056 c-api/typeobj.rst:2070 +#: c-api/typeobj.rst:2023 c-api/typeobj.rst:2057 c-api/typeobj.rst:2071 msgid "This field is not inherited." msgstr "" -#: c-api/typeobj.rst:2004 +#: c-api/typeobj.rst:2005 msgid "" "Tuple containing the expanded set of base types, starting with the type " "itself and ending with :class:`object`, in Method Resolution Order." msgstr "" -#: c-api/typeobj.rst:2012 +#: c-api/typeobj.rst:2013 msgid "" "This field is not inherited; it is calculated fresh by :c:func:" "`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:2018 +#: c-api/typeobj.rst:2019 msgid "Unused. Internal use only." msgstr "" -#: c-api/typeobj.rst:2027 +#: c-api/typeobj.rst:2028 msgid "" "A collection of subclasses. Internal use only. May be an invalid pointer." msgstr "" -#: c-api/typeobj.rst:2029 +#: c-api/typeobj.rst:2030 msgid "" "To get a list of subclasses, call the Python method :py:meth:`~class." "__subclasses__`." msgstr "" -#: c-api/typeobj.rst:2034 +#: c-api/typeobj.rst:2035 msgid "" "For some types, this field does not hold a valid :c:expr:`PyObject*`. The " "type was changed to :c:expr:`void*` to indicate this." msgstr "" -#: c-api/typeobj.rst:2044 +#: c-api/typeobj.rst:2045 msgid "" "Weak reference list head, for weak references to this type object. Not " "inherited. Internal use only." msgstr "" -#: c-api/typeobj.rst:2049 +#: c-api/typeobj.rst:2050 msgid "" "Internals detail: For the static builtin types this is always ``NULL``, even " "if weakrefs are added. Instead, the weakrefs for each are stored on " @@ -2864,21 +2866,21 @@ msgid "" "``_PyObject_GET_WEAKREFS_LISTPTR()`` macro to avoid the distinction." msgstr "" -#: c-api/typeobj.rst:2061 +#: c-api/typeobj.rst:2062 msgid "" "This field is deprecated. Use :c:member:`~PyTypeObject.tp_finalize` instead." msgstr "" -#: c-api/typeobj.rst:2066 +#: c-api/typeobj.rst:2067 msgid "Used to index into the method cache. Internal use only." msgstr "" -#: c-api/typeobj.rst:2075 +#: c-api/typeobj.rst:2076 msgid "" "An optional pointer to an instance finalization function. Its signature is::" msgstr "" -#: c-api/typeobj.rst:2079 +#: c-api/typeobj.rst:2080 msgid "" "If :c:member:`~PyTypeObject.tp_finalize` is set, the interpreter calls it " "once when finalizing an instance. It is called either from the garbage " @@ -2888,14 +2890,14 @@ msgid "" "object in a sane state." msgstr "" -#: c-api/typeobj.rst:2086 +#: c-api/typeobj.rst:2087 msgid "" ":c:member:`~PyTypeObject.tp_finalize` should not mutate the current " "exception status; therefore, a recommended way to write a non-trivial " "finalizer is::" msgstr "" -#: c-api/typeobj.rst:2103 +#: c-api/typeobj.rst:2104 msgid "" "Also, note that, in a garbage collected Python, :c:member:`~PyTypeObject." "tp_dealloc` may be called from any Python thread, not just the thread which " @@ -2908,18 +2910,18 @@ msgid "" "which called tp_dealloc will not violate any assumptions of the library." msgstr "" -#: c-api/typeobj.rst:2122 +#: c-api/typeobj.rst:2123 msgid "" "Before version 3.8 it was necessary to set the :c:macro:" "`Py_TPFLAGS_HAVE_FINALIZE` flags bit in order for this field to be used. " "This is no longer required." msgstr "" -#: c-api/typeobj.rst:2126 +#: c-api/typeobj.rst:2127 msgid "\"Safe object finalization\" (:pep:`442`)" msgstr "" -#: c-api/typeobj.rst:2131 +#: c-api/typeobj.rst:2132 msgid "" "Vectorcall function to use for calls of this type object. In other words, it " "is used to implement :ref:`vectorcall ` for ``type.__call__``. " @@ -2927,65 +2929,65 @@ msgid "" "meth:`~object.__new__` and :meth:`~object.__init__` is used." msgstr "" -#: c-api/typeobj.rst:2139 +#: c-api/typeobj.rst:2140 msgid "This field is never inherited." msgstr "" -#: c-api/typeobj.rst:2141 +#: c-api/typeobj.rst:2142 msgid "(the field exists since 3.8 but it's only used since 3.9)" msgstr "" -#: c-api/typeobj.rst:2146 +#: c-api/typeobj.rst:2147 msgid "Internal. Do not use." msgstr "" -#: c-api/typeobj.rst:2154 +#: c-api/typeobj.rst:2155 msgid "Static Types" msgstr "" -#: c-api/typeobj.rst:2156 +#: c-api/typeobj.rst:2157 msgid "" "Traditionally, types defined in C code are *static*, that is, a static :c:" "type:`PyTypeObject` structure is defined directly in code and initialized " "using :c:func:`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:2160 +#: c-api/typeobj.rst:2161 msgid "" "This results in types that are limited relative to types defined in Python:" msgstr "" -#: c-api/typeobj.rst:2162 +#: c-api/typeobj.rst:2163 msgid "" "Static types are limited to one base, i.e. they cannot use multiple " "inheritance." msgstr "" -#: c-api/typeobj.rst:2164 +#: c-api/typeobj.rst:2165 msgid "" "Static type objects (but not necessarily their instances) are immutable. It " "is not possible to add or modify the type object's attributes from Python." msgstr "" -#: c-api/typeobj.rst:2166 +#: c-api/typeobj.rst:2167 msgid "" "Static type objects are shared across :ref:`sub-interpreters `, so they should not include any subinterpreter-" "specific state." msgstr "" -#: c-api/typeobj.rst:2170 +#: c-api/typeobj.rst:2171 msgid "" "Also, since :c:type:`PyTypeObject` is only part of the :ref:`Limited API " "` as an opaque struct, any extension modules using static " "types must be compiled for a specific Python minor version." msgstr "" -#: c-api/typeobj.rst:2178 +#: c-api/typeobj.rst:2179 msgid "Heap Types" msgstr "" -#: c-api/typeobj.rst:2180 +#: c-api/typeobj.rst:2181 msgid "" "An alternative to :ref:`static types ` is *heap-allocated " "types*, or *heap types* for short, which correspond closely to classes " @@ -2993,29 +2995,29 @@ msgid "" "`Py_TPFLAGS_HEAPTYPE` flag set." msgstr "" -#: c-api/typeobj.rst:2185 +#: c-api/typeobj.rst:2186 msgid "" "This is done by filling a :c:type:`PyType_Spec` structure and calling :c:" "func:`PyType_FromSpec`, :c:func:`PyType_FromSpecWithBases`, :c:func:" "`PyType_FromModuleAndSpec`, or :c:func:`PyType_FromMetaclass`." msgstr "" -#: c-api/typeobj.rst:2193 +#: c-api/typeobj.rst:2194 msgid "Number Object Structures" msgstr "" -#: c-api/typeobj.rst:2200 +#: c-api/typeobj.rst:2201 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the number protocol. Each function is used by the function of " "similar name documented in the :ref:`number` section." msgstr "" -#: c-api/typeobj.rst:2530 +#: c-api/typeobj.rst:2531 msgid "Here is the structure definition::" msgstr "" -#: c-api/typeobj.rst:2253 +#: c-api/typeobj.rst:2254 msgid "" "Binary and ternary functions must check the type of all their operands, and " "implement the necessary conversions (at least one of the operands is an " @@ -3025,31 +3027,31 @@ msgid "" "and set an exception." msgstr "" -#: c-api/typeobj.rst:2262 +#: c-api/typeobj.rst:2263 msgid "" "The :c:member:`~PyNumberMethods.nb_reserved` field should always be " "``NULL``. It was previously called :c:member:`!nb_long`, and was renamed in " "Python 3.0.1." msgstr "" -#: c-api/typeobj.rst:2307 +#: c-api/typeobj.rst:2308 msgid "Mapping Object Structures" msgstr "" -#: c-api/typeobj.rst:2314 +#: c-api/typeobj.rst:2315 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the mapping protocol. It has three members:" msgstr "" -#: c-api/typeobj.rst:2319 +#: c-api/typeobj.rst:2320 msgid "" "This function is used by :c:func:`PyMapping_Size` and :c:func:" "`PyObject_Size`, and has the same signature. This slot may be set to " "``NULL`` if the object has no defined length." msgstr "" -#: c-api/typeobj.rst:2325 +#: c-api/typeobj.rst:2326 msgid "" "This function is used by :c:func:`PyObject_GetItem` and :c:func:" "`PySequence_GetSlice`, and has the same signature as :c:func:`!" @@ -3057,7 +3059,7 @@ msgid "" "`PyMapping_Check` function to return ``1``, it can be ``NULL`` otherwise." msgstr "" -#: c-api/typeobj.rst:2333 +#: c-api/typeobj.rst:2334 msgid "" "This function is used by :c:func:`PyObject_SetItem`, :c:func:" "`PyObject_DelItem`, :c:func:`PySequence_SetSlice` and :c:func:" @@ -3067,17 +3069,17 @@ msgid "" "deletion." msgstr "" -#: c-api/typeobj.rst:2344 +#: c-api/typeobj.rst:2345 msgid "Sequence Object Structures" msgstr "" -#: c-api/typeobj.rst:2351 +#: c-api/typeobj.rst:2352 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the sequence protocol." msgstr "" -#: c-api/typeobj.rst:2356 +#: c-api/typeobj.rst:2357 msgid "" "This function is used by :c:func:`PySequence_Size` and :c:func:" "`PyObject_Size`, and has the same signature. It is also used for handling " @@ -3085,21 +3087,21 @@ msgid "" "member:`~PySequenceMethods.sq_ass_item` slots." msgstr "" -#: c-api/typeobj.rst:2363 +#: c-api/typeobj.rst:2364 msgid "" "This function is used by :c:func:`PySequence_Concat` and has the same " "signature. It is also used by the ``+`` operator, after trying the numeric " "addition via the :c:member:`~PyNumberMethods.nb_add` slot." msgstr "" -#: c-api/typeobj.rst:2369 +#: c-api/typeobj.rst:2370 msgid "" "This function is used by :c:func:`PySequence_Repeat` and has the same " "signature. It is also used by the ``*`` operator, after trying numeric " "multiplication via the :c:member:`~PyNumberMethods.nb_multiply` slot." msgstr "" -#: c-api/typeobj.rst:2375 +#: c-api/typeobj.rst:2376 msgid "" "This function is used by :c:func:`PySequence_GetItem` and has the same " "signature. It is also used by :c:func:`PyObject_GetItem`, after trying the " @@ -3108,7 +3110,7 @@ msgid "" "``1``, it can be ``NULL`` otherwise." msgstr "" -#: c-api/typeobj.rst:2381 +#: c-api/typeobj.rst:2382 msgid "" "Negative indexes are handled as follows: if the :c:member:" "`~PySequenceMethods.sq_length` slot is filled, it is called and the sequence " @@ -3117,7 +3119,7 @@ msgid "" "index is passed as is to the function." msgstr "" -#: c-api/typeobj.rst:2388 +#: c-api/typeobj.rst:2389 msgid "" "This function is used by :c:func:`PySequence_SetItem` and has the same " "signature. It is also used by :c:func:`PyObject_SetItem` and :c:func:" @@ -3126,14 +3128,14 @@ msgid "" "``NULL`` if the object does not support item assignment and deletion." msgstr "" -#: c-api/typeobj.rst:2397 +#: c-api/typeobj.rst:2398 msgid "" "This function may be used by :c:func:`PySequence_Contains` and has the same " "signature. This slot may be left to ``NULL``, in this case :c:func:`!" "PySequence_Contains` simply traverses the sequence until it finds a match." msgstr "" -#: c-api/typeobj.rst:2404 +#: c-api/typeobj.rst:2405 msgid "" "This function is used by :c:func:`PySequence_InPlaceConcat` and has the same " "signature. It should modify its first operand, and return it. This slot " @@ -3143,7 +3145,7 @@ msgid "" "c:member:`~PyNumberMethods.nb_inplace_add` slot." msgstr "" -#: c-api/typeobj.rst:2413 +#: c-api/typeobj.rst:2414 msgid "" "This function is used by :c:func:`PySequence_InPlaceRepeat` and has the same " "signature. It should modify its first operand, and return it. This slot " @@ -3153,70 +3155,70 @@ msgid "" "via the :c:member:`~PyNumberMethods.nb_inplace_multiply` slot." msgstr "" -#: c-api/typeobj.rst:2424 +#: c-api/typeobj.rst:2425 msgid "Buffer Object Structures" msgstr "" -#: c-api/typeobj.rst:2432 +#: c-api/typeobj.rst:2433 msgid "" "This structure holds pointers to the functions required by the :ref:`Buffer " "protocol `. The protocol defines how an exporter object can " "expose its internal data to consumer objects." msgstr "" -#: c-api/typeobj.rst:2487 c-api/typeobj.rst:2552 c-api/typeobj.rst:2574 +#: c-api/typeobj.rst:2488 c-api/typeobj.rst:2553 c-api/typeobj.rst:2575 msgid "The signature of this function is::" msgstr "" -#: c-api/typeobj.rst:2442 +#: c-api/typeobj.rst:2443 msgid "" "Handle a request to *exporter* to fill in *view* as specified by *flags*. " "Except for point (3), an implementation of this function MUST take these " "steps:" msgstr "" -#: c-api/typeobj.rst:2446 +#: c-api/typeobj.rst:2447 msgid "" "Check if the request can be met. If not, raise :exc:`BufferError`, set :c:" "expr:`view->obj` to ``NULL`` and return ``-1``." msgstr "" -#: c-api/typeobj.rst:2449 +#: c-api/typeobj.rst:2450 msgid "Fill in the requested fields." msgstr "" -#: c-api/typeobj.rst:2451 +#: c-api/typeobj.rst:2452 msgid "Increment an internal counter for the number of exports." msgstr "" -#: c-api/typeobj.rst:2453 +#: c-api/typeobj.rst:2454 msgid "" "Set :c:expr:`view->obj` to *exporter* and increment :c:expr:`view->obj`." msgstr "" -#: c-api/typeobj.rst:2455 +#: c-api/typeobj.rst:2456 msgid "Return ``0``." msgstr "" -#: c-api/typeobj.rst:2457 +#: c-api/typeobj.rst:2458 msgid "" "If *exporter* is part of a chain or tree of buffer providers, two main " "schemes can be used:" msgstr "" -#: c-api/typeobj.rst:2460 +#: c-api/typeobj.rst:2461 msgid "" "Re-export: Each member of the tree acts as the exporting object and sets :c:" "expr:`view->obj` to a new reference to itself." msgstr "" -#: c-api/typeobj.rst:2463 +#: c-api/typeobj.rst:2464 msgid "" "Redirect: The buffer request is redirected to the root object of the tree. " "Here, :c:expr:`view->obj` will be a new reference to the root object." msgstr "" -#: c-api/typeobj.rst:2467 +#: c-api/typeobj.rst:2468 msgid "" "The individual fields of *view* are described in section :ref:`Buffer " "structure `, the rules how an exporter must react to " @@ -3224,7 +3226,7 @@ msgid "" "types>`." msgstr "" -#: c-api/typeobj.rst:2472 +#: c-api/typeobj.rst:2473 msgid "" "All memory pointed to in the :c:type:`Py_buffer` structure belongs to the " "exporter and must remain valid until there are no consumers left. :c:member:" @@ -3233,19 +3235,19 @@ msgid "" "internal` are read-only for the consumer." msgstr "" -#: c-api/typeobj.rst:2479 +#: c-api/typeobj.rst:2480 msgid "" ":c:func:`PyBuffer_FillInfo` provides an easy way of exposing a simple bytes " "buffer while dealing correctly with all request types." msgstr "" -#: c-api/typeobj.rst:2482 +#: c-api/typeobj.rst:2483 msgid "" ":c:func:`PyObject_GetBuffer` is the interface for the consumer that wraps " "this function." msgstr "" -#: c-api/typeobj.rst:2491 +#: c-api/typeobj.rst:2492 msgid "" "Handle a request to release the resources of the buffer. If no resources " "need to be released, :c:member:`PyBufferProcs.bf_releasebuffer` may be " @@ -3253,15 +3255,15 @@ msgid "" "these optional steps:" msgstr "" -#: c-api/typeobj.rst:2496 +#: c-api/typeobj.rst:2497 msgid "Decrement an internal counter for the number of exports." msgstr "" -#: c-api/typeobj.rst:2498 +#: c-api/typeobj.rst:2499 msgid "If the counter is ``0``, free all memory associated with *view*." msgstr "" -#: c-api/typeobj.rst:2500 +#: c-api/typeobj.rst:2501 msgid "" "The exporter MUST use the :c:member:`~Py_buffer.internal` field to keep " "track of buffer-specific resources. This field is guaranteed to remain " @@ -3269,68 +3271,68 @@ msgid "" "*view* argument." msgstr "" -#: c-api/typeobj.rst:2506 +#: c-api/typeobj.rst:2507 msgid "" "This function MUST NOT decrement :c:expr:`view->obj`, since that is done " "automatically in :c:func:`PyBuffer_Release` (this scheme is useful for " "breaking reference cycles)." msgstr "" -#: c-api/typeobj.rst:2511 +#: c-api/typeobj.rst:2512 msgid "" ":c:func:`PyBuffer_Release` is the interface for the consumer that wraps this " "function." msgstr "" -#: c-api/typeobj.rst:2519 +#: c-api/typeobj.rst:2520 msgid "Async Object Structures" msgstr "" -#: c-api/typeobj.rst:2527 +#: c-api/typeobj.rst:2528 msgid "" "This structure holds pointers to the functions required to implement :term:" "`awaitable` and :term:`asynchronous iterator` objects." msgstr "" -#: c-api/typeobj.rst:2545 +#: c-api/typeobj.rst:2546 msgid "" "The returned object must be an :term:`iterator`, i.e. :c:func:`PyIter_Check` " "must return ``1`` for it." msgstr "" -#: c-api/typeobj.rst:2548 +#: c-api/typeobj.rst:2549 msgid "" "This slot may be set to ``NULL`` if an object is not an :term:`awaitable`." msgstr "" -#: c-api/typeobj.rst:2556 +#: c-api/typeobj.rst:2557 msgid "" "Must return an :term:`asynchronous iterator` object. See :meth:`~object." "__anext__` for details." msgstr "" -#: c-api/typeobj.rst:2559 +#: c-api/typeobj.rst:2560 msgid "" "This slot may be set to ``NULL`` if an object does not implement " "asynchronous iteration protocol." msgstr "" -#: c-api/typeobj.rst:2568 +#: c-api/typeobj.rst:2569 msgid "" "Must return an :term:`awaitable` object. See :meth:`~object.__anext__` for " "details. This slot may be set to ``NULL``." msgstr "" -#: c-api/typeobj.rst:2578 +#: c-api/typeobj.rst:2579 msgid "" "See :c:func:`PyIter_Send` for details. This slot may be set to ``NULL``." msgstr "" -#: c-api/typeobj.rst:2587 +#: c-api/typeobj.rst:2588 msgid "Slot Type typedefs" msgstr "" -#: c-api/typeobj.rst:2591 +#: c-api/typeobj.rst:2592 msgid "" "The purpose of this function is to separate memory allocation from memory " "initialization. It should return a pointer to a block of memory of adequate " @@ -3344,80 +3346,80 @@ msgid "" "length of the block should be :c:member:`~PyTypeObject.tp_basicsize`." msgstr "" -#: c-api/typeobj.rst:2601 +#: c-api/typeobj.rst:2602 msgid "" "This function should not do any other instance initialization, not even to " "allocate additional memory; that should be done by :c:member:`~PyTypeObject." "tp_new`." msgstr "" -#: c-api/typeobj.rst:2608 +#: c-api/typeobj.rst:2609 msgid "See :c:member:`~PyTypeObject.tp_free`." msgstr "" -#: c-api/typeobj.rst:2612 +#: c-api/typeobj.rst:2613 msgid "See :c:member:`~PyTypeObject.tp_new`." msgstr "" -#: c-api/typeobj.rst:2616 +#: c-api/typeobj.rst:2617 msgid "See :c:member:`~PyTypeObject.tp_init`." msgstr "" -#: c-api/typeobj.rst:2620 +#: c-api/typeobj.rst:2621 msgid "See :c:member:`~PyTypeObject.tp_repr`." msgstr "" -#: c-api/typeobj.rst:2633 +#: c-api/typeobj.rst:2634 msgid "Return the value of the named attribute for the object." msgstr "" -#: c-api/typeobj.rst:2639 +#: c-api/typeobj.rst:2640 msgid "" "Set the value of the named attribute for the object. The value argument is " "set to ``NULL`` to delete the attribute." msgstr "" -#: c-api/typeobj.rst:2635 +#: c-api/typeobj.rst:2636 msgid "See :c:member:`~PyTypeObject.tp_getattro`." msgstr "" -#: c-api/typeobj.rst:2642 +#: c-api/typeobj.rst:2643 msgid "See :c:member:`~PyTypeObject.tp_setattro`." msgstr "" -#: c-api/typeobj.rst:2646 +#: c-api/typeobj.rst:2647 msgid "See :c:member:`~PyTypeObject.tp_descr_get`." msgstr "" -#: c-api/typeobj.rst:2650 +#: c-api/typeobj.rst:2651 msgid "See :c:member:`~PyTypeObject.tp_descr_set`." msgstr "" -#: c-api/typeobj.rst:2654 +#: c-api/typeobj.rst:2655 msgid "See :c:member:`~PyTypeObject.tp_hash`." msgstr "" -#: c-api/typeobj.rst:2658 +#: c-api/typeobj.rst:2659 msgid "See :c:member:`~PyTypeObject.tp_richcompare`." msgstr "" -#: c-api/typeobj.rst:2662 +#: c-api/typeobj.rst:2663 msgid "See :c:member:`~PyTypeObject.tp_iter`." msgstr "" -#: c-api/typeobj.rst:2666 +#: c-api/typeobj.rst:2667 msgid "See :c:member:`~PyTypeObject.tp_iternext`." msgstr "" -#: c-api/typeobj.rst:2680 +#: c-api/typeobj.rst:2681 msgid "See :c:member:`~PyAsyncMethods.am_send`." msgstr "" -#: c-api/typeobj.rst:2696 +#: c-api/typeobj.rst:2697 msgid "Examples" msgstr "" -#: c-api/typeobj.rst:2698 +#: c-api/typeobj.rst:2699 msgid "" "The following are simple examples of Python type definitions. They include " "common usage you may encounter. Some demonstrate tricky corner cases. For " @@ -3425,33 +3427,33 @@ msgid "" "and :ref:`new-types-topics`." msgstr "" -#: c-api/typeobj.rst:2703 +#: c-api/typeobj.rst:2704 msgid "A basic :ref:`static type `::" msgstr "" -#: c-api/typeobj.rst:2720 +#: c-api/typeobj.rst:2721 msgid "" "You may also find older code (especially in the CPython code base) with a " "more verbose initializer::" msgstr "" -#: c-api/typeobj.rst:2764 +#: c-api/typeobj.rst:2765 msgid "A type that supports weakrefs, instance dicts, and hashing::" msgstr "" -#: c-api/typeobj.rst:2789 +#: c-api/typeobj.rst:2790 msgid "" "A str subclass that cannot be subclassed and cannot be called to create " "instances (e.g. uses a separate factory func) using :c:macro:" "`Py_TPFLAGS_DISALLOW_INSTANTIATION` flag::" msgstr "" -#: c-api/typeobj.rst:2808 +#: c-api/typeobj.rst:2809 msgid "" "The simplest :ref:`static type ` with fixed-length instances::" msgstr "" -#: c-api/typeobj.rst:2819 +#: c-api/typeobj.rst:2820 msgid "" "The simplest :ref:`static type ` with variable-length " "instances::" diff --git a/extending/embedding.po b/extending/embedding.po index 036242a2a..1484f9a95 100644 --- a/extending/embedding.po +++ b/extending/embedding.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2022-12-29 00:34-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -90,7 +90,7 @@ msgstr "" "ve kullanmak için önceki bölümlerde açıklanan alt düzey işlemleri de " "çağırabilirsiniz." -#: extending/embedding.rst:42 +#: extending/embedding.rst:41 msgid ":ref:`c-api-index`" msgstr ":ref:`c-api-index`" diff --git a/extending/index.po b/extending/index.po index e75023f43..33f653e64 100644 --- a/extending/index.po +++ b/extending/index.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2023-02-01 17:48-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -80,7 +80,7 @@ msgstr "" "Python için C ve C++ uzantıları oluşturmaya yönelik hem daha basit hem de " "daha karmaşık yaklaşımlar sunar." -#: extending/index.rst:40 +#: extending/index.rst:37 msgid "" "`Python Packaging User Guide: Binary Extensions `_" diff --git a/extending/newtypes.po b/extending/newtypes.po index e2e2b68f9..582d8010c 100644 --- a/extending/newtypes.po +++ b/extending/newtypes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -558,7 +558,7 @@ msgid "" "sample of its use might be something like the following::" msgstr "" -#: extending/newtypes.rst:595 +#: extending/newtypes.rst:594 msgid "Download CPython source releases." msgstr "" diff --git a/faq/library.po b/faq/library.po index 657a3c290..00fdc77ec 100644 --- a/faq/library.po +++ b/faq/library.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -573,37 +573,37 @@ msgid "" "popen`, you need to use ``p.read(n)``." msgstr "" -#: faq/library.rst:618 +#: faq/library.rst:617 msgid "How do I access the serial (RS232) port?" msgstr "" -#: faq/library.rst:620 +#: faq/library.rst:619 msgid "For Win32, OSX, Linux, BSD, Jython, IronPython:" msgstr "" -#: faq/library.rst:622 -msgid "https://pypi.org/project/pyserial/" +#: faq/library.rst:621 +msgid ":pypi:`pyserial`" msgstr "" -#: faq/library.rst:624 +#: faq/library.rst:623 msgid "For Unix, see a Usenet post by Mitch Chapman:" msgstr "" -#: faq/library.rst:626 +#: faq/library.rst:625 msgid "https://groups.google.com/groups?selm=34A04430.CF9@ohioee.com" msgstr "" -#: faq/library.rst:630 +#: faq/library.rst:629 msgid "Why doesn't closing sys.stdout (stdin, stderr) really close it?" msgstr "" -#: faq/library.rst:632 +#: faq/library.rst:631 msgid "" "Python :term:`file objects ` are a high-level layer of " "abstraction on low-level C file descriptors." msgstr "" -#: faq/library.rst:635 +#: faq/library.rst:634 msgid "" "For most file objects you create in Python via the built-in :func:`open` " "function, ``f.close()`` marks the Python file object as being closed from " @@ -612,7 +612,7 @@ msgid "" "``f`` becomes garbage." msgstr "" -#: faq/library.rst:641 +#: faq/library.rst:640 msgid "" "But stdin, stdout and stderr are treated specially by Python, because of the " "special status also given to them by C. Running ``sys.stdout.close()`` " @@ -620,95 +620,95 @@ msgid "" "associated C file descriptor." msgstr "" -#: faq/library.rst:646 +#: faq/library.rst:645 msgid "" "To close the underlying C file descriptor for one of these three, you should " "first be sure that's what you really want to do (e.g., you may confuse " "extension modules trying to do I/O). If it is, use :func:`os.close`::" msgstr "" -#: faq/library.rst:654 +#: faq/library.rst:653 msgid "Or you can use the numeric constants 0, 1 and 2, respectively." msgstr "" -#: faq/library.rst:658 +#: faq/library.rst:657 msgid "Network/Internet Programming" msgstr "" -#: faq/library.rst:661 +#: faq/library.rst:660 msgid "What WWW tools are there for Python?" msgstr "" -#: faq/library.rst:663 +#: faq/library.rst:662 msgid "" "See the chapters titled :ref:`internet` and :ref:`netdata` in the Library " "Reference Manual. Python has many modules that will help you build server-" "side and client-side web systems." msgstr "" -#: faq/library.rst:669 +#: faq/library.rst:668 msgid "" "A summary of available frameworks is maintained by Paul Boddie at https://" "wiki.python.org/moin/WebProgramming\\ ." msgstr "" -#: faq/library.rst:672 +#: faq/library.rst:671 msgid "" "Cameron Laird maintains a useful set of pages about Python web technologies " "at https://web.archive.org/web/20210224183619/http://phaseit.net/claird/comp." "lang.python/web_python." msgstr "" -#: faq/library.rst:677 +#: faq/library.rst:676 msgid "How can I mimic CGI form submission (METHOD=POST)?" msgstr "" -#: faq/library.rst:679 +#: faq/library.rst:678 msgid "" "I would like to retrieve web pages that are the result of POSTing a form. Is " "there existing code that would let me do this easily?" msgstr "" -#: faq/library.rst:682 +#: faq/library.rst:681 msgid "Yes. Here's a simple example that uses :mod:`urllib.request`::" msgstr "" -#: faq/library.rst:697 +#: faq/library.rst:696 msgid "" "Note that in general for percent-encoded POST operations, query strings must " "be quoted using :func:`urllib.parse.urlencode`. For example, to send " "``name=Guy Steele, Jr.``::" msgstr "" -#: faq/library.rst:705 +#: faq/library.rst:704 msgid ":ref:`urllib-howto` for extensive examples." msgstr "" -#: faq/library.rst:709 +#: faq/library.rst:708 msgid "What module should I use to help with generating HTML?" msgstr "" -#: faq/library.rst:713 +#: faq/library.rst:712 msgid "" "You can find a collection of useful links on the `Web Programming wiki page " "`_." msgstr "" -#: faq/library.rst:718 +#: faq/library.rst:717 msgid "How do I send mail from a Python script?" msgstr "" -#: faq/library.rst:720 +#: faq/library.rst:719 msgid "Use the standard library module :mod:`smtplib`." msgstr "" -#: faq/library.rst:722 +#: faq/library.rst:721 msgid "" "Here's a very simple interactive mail sender that uses it. This method will " "work on any host that supports an SMTP listener. ::" msgstr "" -#: faq/library.rst:742 +#: faq/library.rst:741 msgid "" "A Unix-only alternative uses sendmail. The location of the sendmail program " "varies between systems; sometimes it is ``/usr/lib/sendmail``, sometimes ``/" @@ -716,17 +716,17 @@ msgid "" "some sample code::" msgstr "" -#: faq/library.rst:762 +#: faq/library.rst:761 msgid "How do I avoid blocking in the connect() method of a socket?" msgstr "" -#: faq/library.rst:764 +#: faq/library.rst:763 msgid "" "The :mod:`select` module is commonly used to help with asynchronous I/O on " "sockets." msgstr "" -#: faq/library.rst:767 +#: faq/library.rst:766 msgid "" "To prevent the TCP connect from blocking, you can set the socket to non-" "blocking mode. Then when you do the :meth:`~socket.socket.connect`, you " @@ -737,7 +737,7 @@ msgid "" "your system." msgstr "" -#: faq/library.rst:775 +#: faq/library.rst:774 msgid "" "You can use the :meth:`~socket.socket.connect_ex` method to avoid creating " "an exception. It will just return the errno value. To poll, you can call :" @@ -746,7 +746,7 @@ msgid "" "`select.select` to check if it's writable." msgstr "" -#: faq/library.rst:783 +#: faq/library.rst:782 msgid "" "The :mod:`asyncio` module provides a general purpose single-threaded and " "concurrent asynchronous library, which can be used for writing non-blocking " @@ -754,19 +754,19 @@ msgid "" "popular and feature-rich alternative." msgstr "" -#: faq/library.rst:791 +#: faq/library.rst:790 msgid "Databases" msgstr "" -#: faq/library.rst:794 +#: faq/library.rst:793 msgid "Are there any interfaces to database packages in Python?" msgstr "" -#: faq/library.rst:796 +#: faq/library.rst:795 msgid "Yes." msgstr "" -#: faq/library.rst:798 +#: faq/library.rst:797 msgid "" "Interfaces to disk-based hashes such as :mod:`DBM ` and :mod:`GDBM " "` are also included with standard Python. There is also the :mod:" @@ -774,18 +774,18 @@ msgid "" "database." msgstr "" -#: faq/library.rst:803 +#: faq/library.rst:802 msgid "" "Support for most relational databases is available. See the " "`DatabaseProgramming wiki page `_ for details." msgstr "" -#: faq/library.rst:809 +#: faq/library.rst:808 msgid "How do you implement persistent objects in Python?" msgstr "" -#: faq/library.rst:811 +#: faq/library.rst:810 msgid "" "The :mod:`pickle` library module solves this in a very general way (though " "you still can't store things like open files, sockets or windows), and the :" @@ -793,55 +793,55 @@ msgid "" "mappings containing arbitrary Python objects." msgstr "" -#: faq/library.rst:818 +#: faq/library.rst:817 msgid "Mathematics and Numerics" msgstr "" -#: faq/library.rst:821 +#: faq/library.rst:820 msgid "How do I generate random numbers in Python?" msgstr "" -#: faq/library.rst:823 +#: faq/library.rst:822 msgid "" "The standard module :mod:`random` implements a random number generator. " "Usage is simple::" msgstr "" -#: faq/library.rst:829 +#: faq/library.rst:828 msgid "This returns a random floating point number in the range [0, 1)." msgstr "" -#: faq/library.rst:831 +#: faq/library.rst:830 msgid "" "There are also many other specialized generators in this module, such as:" msgstr "" -#: faq/library.rst:833 +#: faq/library.rst:832 msgid "``randrange(a, b)`` chooses an integer in the range [a, b)." msgstr "" -#: faq/library.rst:834 +#: faq/library.rst:833 msgid "``uniform(a, b)`` chooses a floating point number in the range [a, b)." msgstr "" -#: faq/library.rst:835 +#: faq/library.rst:834 msgid "" "``normalvariate(mean, sdev)`` samples the normal (Gaussian) distribution." msgstr "" -#: faq/library.rst:837 +#: faq/library.rst:836 msgid "Some higher-level functions operate on sequences directly, such as:" msgstr "" -#: faq/library.rst:839 +#: faq/library.rst:838 msgid "``choice(S)`` chooses a random element from a given sequence." msgstr "" -#: faq/library.rst:840 +#: faq/library.rst:839 msgid "``shuffle(L)`` shuffles a list in-place, i.e. permutes it randomly." msgstr "" -#: faq/library.rst:842 +#: faq/library.rst:841 msgid "" "There's also a ``Random`` class you can instantiate to create independent " "multiple random number generators." diff --git a/glossary.po b/glossary.po index 78da2e70e..62ff29853 100644 --- a/glossary.po +++ b/glossary.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2022-12-28 16:12-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1654,7 +1654,7 @@ msgstr "" msgid "keyword argument" msgstr "anahtar kelime argümanı" -#: glossary.rst:1001 +#: glossary.rst:1000 msgid "See :term:`argument`." msgstr "Bakınız :term:`argument`." @@ -1861,7 +1861,7 @@ msgstr "" msgid "More information can be found in :ref:`metaclasses`." msgstr "Daha fazla bilgi :ref:`metaclasses` içinde bulunabilir." -#: glossary.rst:1131 +#: glossary.rst:1130 msgid "method" msgstr "metot" @@ -1882,22 +1882,22 @@ msgid "method resolution order" msgstr "metot kalite sıralaması" #: glossary.rst:801 +#, fuzzy msgid "" "Method Resolution Order is the order in which base classes are searched for " -"a member during lookup. See `The Python 2.3 Method Resolution Order `_ for details of the algorithm " -"used by the Python interpreter since the 2.3 release." +"a member during lookup. See :ref:`python_2.3_mro` for details of the " +"algorithm used by the Python interpreter since the 2.3 release." msgstr "" "Metot Çözüm Sırası, arama sırasında bir üye için temel sınıfların arandığı " "sıradır. 2.3 sürümünden bu yana Python yorumlayıcısı tarafından kullanılan " "algoritmanın ayrıntıları için bkz. `The Python 2.3 Method Resolution Order " "`_." -#: glossary.rst:805 +#: glossary.rst:804 msgid "module" msgstr "modül" -#: glossary.rst:807 +#: glossary.rst:806 msgid "" "An object that serves as an organizational unit of Python code. Modules " "have a namespace containing arbitrary Python objects. Modules are loaded " @@ -1907,15 +1907,15 @@ msgstr "" "rastgele Python nesneleri içeren bir ad alanına sahiptir. Modüller, :term:" "`importing` işlemiyle Python'a yüklenir." -#: glossary.rst:811 +#: glossary.rst:810 msgid "See also :term:`package`." msgstr "Ayrıca bakınız :term:`package`." -#: glossary.rst:812 +#: glossary.rst:811 msgid "module spec" msgstr "modül özelliği" -#: glossary.rst:814 +#: glossary.rst:813 msgid "" "A namespace containing the import-related information used to load a module. " "An instance of :class:`importlib.machinery.ModuleSpec`." @@ -1923,19 +1923,19 @@ msgstr "" "Bir modülü yüklemek için kullanılan içe aktarmayla ilgili bilgileri içeren " "bir ad alanı. Bir :class:`importlib.machinery.ModuleSpec` örneği." -#: glossary.rst:816 +#: glossary.rst:815 msgid "MRO" msgstr "MRO" -#: glossary.rst:818 +#: glossary.rst:817 msgid "See :term:`method resolution order`." msgstr "Bakınız :term:`metot çözüm sırası `." -#: glossary.rst:819 +#: glossary.rst:818 msgid "mutable" msgstr "değiştirilebilir" -#: glossary.rst:821 +#: glossary.rst:820 msgid "" "Mutable objects can change their value but keep their :func:`id`. See also :" "term:`immutable`." @@ -1943,11 +1943,11 @@ msgstr "" "Değiştirilebilir (mutable) nesneler değerlerini değiştirebilir ancak :func:" "`idlerini ` koruyabilirler. Ayrıca bkz. :term:`immutable`." -#: glossary.rst:823 +#: glossary.rst:822 msgid "named tuple" msgstr "adlandırılmış demet" -#: glossary.rst:825 +#: glossary.rst:824 msgid "" "The term \"named tuple\" applies to any type or class that inherits from " "tuple and whose indexable elements are also accessible using named " @@ -1957,7 +1957,7 @@ msgstr "" "adlandırılmış nitelikler kullanılarak erişilebilen herhangi bir tür veya " "sınıf için geçerlidir. Tür veya sınıfın başka özellikleri de olabilir." -#: glossary.rst:829 +#: glossary.rst:828 msgid "" "Several built-in types are named tuples, including the values returned by :" "func:`time.localtime` and :func:`os.stat`. Another example is :data:`sys." @@ -1967,7 +1967,7 @@ msgstr "" "tarafından döndürülen değerler de dahil olmak üzere, tanımlama grupları " "olarak adlandırılır. Başka bir örnek :data:`sys.float_info`::" -#: glossary.rst:840 +#: glossary.rst:839 #, fuzzy msgid "" "Some named tuples are built-in types (such as the above examples). " @@ -1986,11 +1986,11 @@ msgstr "" "yazılmış veya yerleşik adlandırılmış demetlerde bulunmayan bazı ekstra " "yöntemler ekler." -#: glossary.rst:848 +#: glossary.rst:847 msgid "namespace" msgstr "ad alanı" -#: glossary.rst:850 +#: glossary.rst:849 msgid "" "The place where a variable is stored. Namespaces are implemented as " "dictionaries. There are the local, global and built-in namespaces as well " @@ -2012,11 +2012,11 @@ msgstr "" "yazmak, bu işlevlerin sırasıyla :mod:`random` ve :mod:`itertools` modülleri " "tarafından uygulandığını açıkça gösterir." -#: glossary.rst:860 +#: glossary.rst:859 msgid "namespace package" msgstr "ad alanı paketi" -#: glossary.rst:862 +#: glossary.rst:861 msgid "" "A :pep:`420` :term:`package` which serves only as a container for " "subpackages. Namespace packages may have no physical representation, and " @@ -2028,15 +2028,15 @@ msgstr "" "``__init__.py`` dosyası olmadığından özellikle :term:`regular package` gibi " "değildirler." -#: glossary.rst:867 +#: glossary.rst:866 msgid "See also :term:`module`." msgstr "Ayrıca bkz. :term:`module`." -#: glossary.rst:868 +#: glossary.rst:867 msgid "nested scope" msgstr "iç içe kapsam" -#: glossary.rst:870 +#: glossary.rst:869 msgid "" "The ability to refer to a variable in an enclosing definition. For " "instance, a function defined inside another function can refer to variables " @@ -2053,11 +2053,11 @@ msgstr "" "global değişkenler global ad alanını okur ve yazar. :keyword:`nonlocal`, dış " "kapsamlara yazmaya izin verir." -#: glossary.rst:877 +#: glossary.rst:876 msgid "new-style class" msgstr "yeni stil sınıf" -#: glossary.rst:879 +#: glossary.rst:878 #, fuzzy msgid "" "Old name for the flavor of classes now used for all class objects. In " @@ -2071,11 +2071,11 @@ msgstr "" "sınıf yöntemleri ve statik yöntemler gibi daha yeni, çok yönlü özelliklerini " "kullanabilirdi." -#: glossary.rst:884 +#: glossary.rst:883 msgid "object" msgstr "obje" -#: glossary.rst:886 +#: glossary.rst:885 msgid "" "Any data with state (attributes or value) and defined behavior (methods). " "Also the ultimate base class of any :term:`new-style class`." @@ -2084,11 +2084,11 @@ msgstr "" "herhangi bir veri. Ayrıca herhangi bir :term:`yeni tarz sınıfın ` nihai temel sınıfı." -#: glossary.rst:889 +#: glossary.rst:888 msgid "package" msgstr "paket" -#: glossary.rst:891 +#: glossary.rst:890 msgid "" "A Python :term:`module` which can contain submodules or recursively, " "subpackages. Technically, a package is a Python module with a ``__path__`` " @@ -2098,15 +2098,15 @@ msgstr "" "`module`. Teknik olarak bir paket, ``__path__`` özniteliğine sahip bir " "Python modülüdür." -#: glossary.rst:895 +#: glossary.rst:894 msgid "See also :term:`regular package` and :term:`namespace package`." msgstr "Ayrıca bkz. :term:`regular package` ve :term:`namespace package`." -#: glossary.rst:896 +#: glossary.rst:895 msgid "parameter" msgstr "parametre" -#: glossary.rst:898 +#: glossary.rst:897 msgid "" "A named entity in a :term:`function` (or method) definition that specifies " "an :term:`argument` (or in some cases, arguments) that the function can " @@ -2116,7 +2116,7 @@ msgstr "" "term:`argument` (veya bazı durumlarda, argümanlar) belirten adlandırılmış " "bir varlık. Beş çeşit parametre vardır:" -#: glossary.rst:902 +#: glossary.rst:901 msgid "" ":dfn:`positional-or-keyword`: specifies an argument that can be passed " "either :term:`positionally ` or as a :term:`keyword argument " @@ -2127,7 +2127,7 @@ msgstr "" "`keyword argümanı ` olarak iletilebilen bir argüman belirtir. Bu, " "varsayılan parametre türüdür, örneğin aşağıdakilerde *foo* ve *bar*::" -#: glossary.rst:911 +#: glossary.rst:910 msgid "" ":dfn:`positional-only`: specifies an argument that can be supplied only by " "position. Positional-only parameters can be defined by including a ``/`` " @@ -2139,7 +2139,7 @@ msgstr "" "parametre listesine bir ``/`` karakteri eklenerek tanımlanabilir, örneğin " "aşağıdakilerde *posonly1* ve *posonly2*::" -#: glossary.rst:920 +#: glossary.rst:919 msgid "" ":dfn:`keyword-only`: specifies an argument that can be supplied only by " "keyword. Keyword-only parameters can be defined by including a single var-" @@ -2153,7 +2153,7 @@ msgstr "" "parametre veya çıplak ``*`` dahil edilerek tanımlanabilir, örneğin " "aşağıdakilerde *kw_only1* ve *kw_only2*::" -#: glossary.rst:928 +#: glossary.rst:927 msgid "" ":dfn:`var-positional`: specifies that an arbitrary sequence of positional " "arguments can be provided (in addition to any positional arguments already " @@ -2167,7 +2167,7 @@ msgstr "" "parametre adının başına ``*`` eklenerek tanımlanabilir, örneğin " "aşağıdakilerde *args*::" -#: glossary.rst:936 +#: glossary.rst:935 msgid "" ":dfn:`var-keyword`: specifies that arbitrarily many keyword arguments can be " "provided (in addition to any keyword arguments already accepted by other " @@ -2180,7 +2180,7 @@ msgstr "" "parametre adının başına ``**``, örneğin yukarıdaki örnekte *kwargs* " "eklenerek tanımlanabilir." -#: glossary.rst:942 +#: glossary.rst:941 msgid "" "Parameters can specify both optional and required arguments, as well as " "default values for some optional arguments." @@ -2188,7 +2188,7 @@ msgstr "" "Parametreler, hem isteğe bağlı hem de gerekli argümanleri ve ayrıca bazı " "isteğe bağlı bağımsız değişkenler için varsayılan değerleri belirtebilir." -#: glossary.rst:945 +#: glossary.rst:944 msgid "" "See also the :term:`argument` glossary entry, the FAQ question on :ref:`the " "difference between arguments and parameters `, " @@ -2199,11 +2199,11 @@ msgstr "" "arasındaki fark `, :class:`inspect.Parameter`, :" "ref:`function` ve :pep:`362`." -#: glossary.rst:949 +#: glossary.rst:948 msgid "path entry" msgstr "yol girişi" -#: glossary.rst:951 +#: glossary.rst:950 msgid "" "A single location on the :term:`import path` which the :term:`path based " "finder` consults to find modules for importing." @@ -2211,11 +2211,11 @@ msgstr "" ":term:`path based finder` içe aktarma modüllerini bulmak için başvurduğu :" "term:`import path` üzerindeki tek bir konum." -#: glossary.rst:953 +#: glossary.rst:952 msgid "path entry finder" msgstr "yol girişi bulucu" -#: glossary.rst:955 +#: glossary.rst:954 msgid "" "A :term:`finder` returned by a callable on :data:`sys.path_hooks` (i.e. a :" "term:`path entry hook`) which knows how to locate modules given a :term:" @@ -2225,7 +2225,7 @@ msgstr "" "kancası`) üzerinde bir çağrılabilir tarafından döndürülür ve :term:`path " "entry` verilen modüllerin nasıl bulunacağını bilir." -#: glossary.rst:959 +#: glossary.rst:958 msgid "" "See :class:`importlib.abc.PathEntryFinder` for the methods that path entry " "finders implement." @@ -2233,11 +2233,11 @@ msgstr "" "Yol girişi bulucularının uyguladığı yöntemler için :class:`importlib.abc." "PathEntryFinder` bölümüne bakın." -#: glossary.rst:961 +#: glossary.rst:960 msgid "path entry hook" msgstr "yol giriş kancası" -#: glossary.rst:963 +#: glossary.rst:962 #, fuzzy msgid "" "A callable on the :data:`sys.path_hooks` list which returns a :term:`path " @@ -2248,11 +2248,11 @@ msgstr "" "entry>` modülleri nasıl bulacağını biliyorsa, bir :term:`yol girişi bulucu " "` döndüren bir çağrılabilir." -#: glossary.rst:966 +#: glossary.rst:965 msgid "path based finder" msgstr "yol tabanlı bulucu" -#: glossary.rst:968 +#: glossary.rst:967 msgid "" "One of the default :term:`meta path finders ` which " "searches an :term:`import path` for modules." @@ -2260,11 +2260,11 @@ msgstr "" "Modüller için bir :term:`import path` arayan varsayılan :term:`meta yol " "buluculardan ` biri." -#: glossary.rst:970 +#: glossary.rst:969 msgid "path-like object" msgstr "yol benzeri nesne" -#: glossary.rst:972 +#: glossary.rst:971 msgid "" "An object representing a file system path. A path-like object is either a :" "class:`str` or :class:`bytes` object representing a path, or an object " @@ -2284,11 +2284,11 @@ msgstr "" "veya :class:`bytes` sonucunu garanti etmek için kullanılabilir. :pep:`519` " "tarafından tanıtıldı." -#: glossary.rst:980 +#: glossary.rst:979 msgid "PEP" msgstr "PEP" -#: glossary.rst:982 +#: glossary.rst:981 msgid "" "Python Enhancement Proposal. A PEP is a design document providing " "information to the Python community, or describing a new feature for Python " @@ -2300,7 +2300,7 @@ msgstr "" "tasarım belgesidir. PEP'ler, önerilen özellikler için özlü bir teknik " "şartname ve bir gerekçe sağlamalıdır." -#: glossary.rst:988 +#: glossary.rst:987 msgid "" "PEPs are intended to be the primary mechanisms for proposing major new " "features, for collecting community input on an issue, and for documenting " @@ -2313,15 +2313,15 @@ msgstr "" "birincil mekanizmalar olması amaçlanmıştır. PEP yazarı, topluluk içinde " "fikir birliği oluşturmaktan ve muhalif görüşleri belgelemekten sorumludur." -#: glossary.rst:994 +#: glossary.rst:993 msgid "See :pep:`1`." msgstr "Bakınız :pep:`1`." -#: glossary.rst:995 +#: glossary.rst:994 msgid "portion" msgstr "kısım" -#: glossary.rst:997 +#: glossary.rst:996 msgid "" "A set of files in a single directory (possibly stored in a zip file) that " "contribute to a namespace package, as defined in :pep:`420`." @@ -2329,15 +2329,15 @@ msgstr "" ":pep:`420` içinde tanımlandığı gibi, bir ad alanı paketine katkıda bulunan " "tek bir dizindeki (muhtemelen bir zip dosyasında depolanan) bir dizi dosya." -#: glossary.rst:999 +#: glossary.rst:998 msgid "positional argument" msgstr "konumsal argüman" -#: glossary.rst:1002 +#: glossary.rst:1001 msgid "provisional API" msgstr "geçici API" -#: glossary.rst:1004 +#: glossary.rst:1003 msgid "" "A provisional API is one which has been deliberately excluded from the " "standard library's backwards compatibility guarantees. While major changes " @@ -2356,7 +2356,7 @@ msgstr "" "yalnızca API'nin eklenmesinden önce gözden kaçan ciddi temel kusurlar ortaya " "çıkarsa gerçekleşecektir." -#: glossary.rst:1013 +#: glossary.rst:1012 msgid "" "Even for provisional APIs, backwards incompatible changes are seen as a " "\"solution of last resort\" - every attempt will still be made to find a " @@ -2366,7 +2366,7 @@ msgstr "" "çözümü\" olarak görülür - tanımlanan herhangi bir soruna geriye dönük uyumlu " "bir çözüm bulmak için her türlü girişimde bulunulacaktır." -#: glossary.rst:1017 +#: glossary.rst:1016 msgid "" "This process allows the standard library to continue to evolve over time, " "without locking in problematic design errors for extended periods of time. " @@ -2376,19 +2376,19 @@ msgstr "" "hatalarına kilitlenmeden zaman içinde gelişmeye devam etmesini sağlar. Daha " "fazla ayrıntı için bkz. :pep:`411`." -#: glossary.rst:1020 +#: glossary.rst:1019 msgid "provisional package" msgstr "geçici paket" -#: glossary.rst:1022 +#: glossary.rst:1021 msgid "See :term:`provisional API`." msgstr "Bakınız :term:`provisional API`." -#: glossary.rst:1023 +#: glossary.rst:1022 msgid "Python 3000" msgstr "Python 3000" -#: glossary.rst:1025 +#: glossary.rst:1024 msgid "" "Nickname for the Python 3.x release line (coined long ago when the release " "of version 3 was something in the distant future.) This is also abbreviated " @@ -2398,11 +2398,11 @@ msgstr "" "sürülmesi uzak bir gelecekte olduğu zaman ortaya çıktı.) Bu aynı zamanda " "\"Py3k\" olarak da kısaltılır." -#: glossary.rst:1028 +#: glossary.rst:1027 msgid "Pythonic" msgstr "Pythonic" -#: glossary.rst:1030 +#: glossary.rst:1029 msgid "" "An idea or piece of code which closely follows the most common idioms of the " "Python language, rather than implementing code using concepts common to " @@ -2418,15 +2418,15 @@ msgstr "" "oluşturmaktır. Diğer birçok dilde bu tür bir yapı yoktur, bu nedenle " "Python'a aşina olmayan kişiler bazen bunun yerine sayısal bir sayaç kullanır:" -#: glossary.rst:1040 +#: glossary.rst:1039 msgid "As opposed to the cleaner, Pythonic method::" msgstr "Temizleyicinin aksine, Pythonic yöntemi::" -#: glossary.rst:1044 +#: glossary.rst:1043 msgid "qualified name" msgstr "nitelikli isim" -#: glossary.rst:1046 +#: glossary.rst:1045 msgid "" "A dotted name showing the \"path\" from a module's global scope to a class, " "function or method defined in that module, as defined in :pep:`3155`. For " @@ -2438,7 +2438,7 @@ msgstr "" "noktalı ad. Üst düzey işlevler ve sınıflar için nitelikli ad, nesnenin " "adıyla aynıdır::" -#: glossary.rst:1063 +#: glossary.rst:1062 msgid "" "When used to refer to modules, the *fully qualified name* means the entire " "dotted path to the module, including any parent packages, e.g. ``email.mime." @@ -2448,11 +2448,11 @@ msgstr "" "herhangi bir üst paket de dahil olmak üzere, modüle giden tüm noktalı yol " "anlamına gelir, örn. ``email.mime.text``::" -#: glossary.rst:1070 +#: glossary.rst:1069 msgid "reference count" msgstr "referans sayısı" -#: glossary.rst:1072 +#: glossary.rst:1071 #, fuzzy msgid "" "The number of references to an object. When the reference count of an " @@ -2469,26 +2469,26 @@ msgstr "" "öğesidir. Programcılar, belirli bir nesne için başvuru sayısını döndürmek " "için :func:`sys.getrefcount` işlevini çağırabilir." -#: glossary.rst:1080 +#: glossary.rst:1079 msgid "regular package" msgstr "sürekli paketleme" -#: glossary.rst:1082 +#: glossary.rst:1081 msgid "" "A traditional :term:`package`, such as a directory containing an ``__init__." "py`` file." msgstr "" "``__init__.py`` dosyası içeren bir dizin gibi geleneksel bir :term:`package`." -#: glossary.rst:1085 +#: glossary.rst:1084 msgid "See also :term:`namespace package`." msgstr "Ayrıca bkz. :term:`ad alanı paketi`." -#: glossary.rst:1086 +#: glossary.rst:1085 msgid "__slots__" msgstr "__slots__" -#: glossary.rst:1088 +#: glossary.rst:1087 msgid "" "A declaration inside a class that saves memory by pre-declaring space for " "instance attributes and eliminating instance dictionaries. Though popular, " @@ -2502,11 +2502,11 @@ msgstr "" "açısından kritik bir uygulamada çok sayıda örneğin bulunduğu nadir durumlar " "için ayrılmıştır." -#: glossary.rst:1093 +#: glossary.rst:1092 msgid "sequence" msgstr "dizi" -#: glossary.rst:1095 +#: glossary.rst:1094 #, fuzzy msgid "" "An :term:`iterable` which supports efficient element access using integer " @@ -2527,7 +2527,7 @@ msgstr "" "`immutable` anahtarları kullandığından bir diziden ziyade bir eşleme olarak " "kabul edilir." -#: glossary.rst:1104 +#: glossary.rst:1103 #, fuzzy msgid "" "The :class:`collections.abc.Sequence` abstract base class defines a much " @@ -2544,11 +2544,11 @@ msgstr "" "arayüzü tanımlar. Bu genişletilmiş arabirimi uygulayan türler, :func:`~abc." "ABCMeta.register` kullanılarak açıkça kaydedilebilir." -#: glossary.rst:1113 +#: glossary.rst:1112 msgid "set comprehension" msgstr "anlamak" -#: glossary.rst:1115 +#: glossary.rst:1114 msgid "" "A compact way to process all or part of the elements in an iterable and " "return a set with the results. ``results = {c for c in 'abracadabra' if c " @@ -2560,11 +2560,11 @@ msgstr "" "for c in 'abracadabra' if c not in 'abc'}``, ``{'r', 'd'}`` dizelerini " "oluşturur. Bakınız :ref:`comprehensions`." -#: glossary.rst:1119 +#: glossary.rst:1118 msgid "single dispatch" msgstr "tek sevk" -#: glossary.rst:1121 +#: glossary.rst:1120 msgid "" "A form of :term:`generic function` dispatch where the implementation is " "chosen based on the type of a single argument." @@ -2572,11 +2572,11 @@ msgstr "" "Uygulamanın tek bir argüman türüne göre seçildiği bir :term:`generic " "function` gönderimi biçimi." -#: glossary.rst:1123 +#: glossary.rst:1122 msgid "slice" msgstr "parçalamak" -#: glossary.rst:1125 +#: glossary.rst:1124 msgid "" "An object usually containing a portion of a :term:`sequence`. A slice is " "created using the subscript notation, ``[]`` with colons between numbers " @@ -2589,11 +2589,11 @@ msgstr "" "gösterimi kullanılarak oluşturulur. Köşeli ayraç (alt simge) gösterimi, " "dahili olarak :class:`slice` nesnelerini kullanır." -#: glossary.rst:1129 +#: glossary.rst:1128 msgid "special method" msgstr "özel metod" -#: glossary.rst:1133 +#: glossary.rst:1132 msgid "" "A method that is called implicitly by Python to execute a certain operation " "on a type, such as addition. Such methods have names starting and ending " @@ -2605,11 +2605,11 @@ msgstr "" "çizgi ile başlayan ve biten adları vardır. Özel yöntemler :ref:" "`specialnames` içinde belgelenmiştir." -#: glossary.rst:1137 +#: glossary.rst:1136 msgid "statement" msgstr "ifade (değer döndürmez)" -#: glossary.rst:1139 +#: glossary.rst:1138 msgid "" "A statement is part of a suite (a \"block\" of code). A statement is either " "an :term:`expression` or one of several constructs with a keyword, such as :" @@ -2619,22 +2619,22 @@ msgstr "" "`expression` veya :keyword:`if`, :keyword:`while` veya :keyword:`for` gibi " "bir anahtar kelimeye sahip birkaç yapıdan biridir." -#: glossary.rst:1142 +#: glossary.rst:1141 msgid "static type checker" msgstr "" -#: glossary.rst:1144 +#: glossary.rst:1143 msgid "" "An external tool that reads Python code and analyzes it, looking for issues " "such as incorrect types. See also :term:`type hints ` and the :" "mod:`typing` module." msgstr "" -#: glossary.rst:1147 +#: glossary.rst:1146 msgid "strong reference" msgstr "güçlü referans" -#: glossary.rst:1149 +#: glossary.rst:1148 #, fuzzy msgid "" "In Python's C API, a strong reference is a reference to an object which is " @@ -2646,7 +2646,7 @@ msgstr "" "referans sayısını artıran ve silindiğinde nesnenin referans sayısını azaltan " "bir nesneye yapılan referanstır." -#: glossary.rst:1155 +#: glossary.rst:1154 msgid "" "The :c:func:`Py_NewRef` function can be used to create a strong reference to " "an object. Usually, the :c:func:`Py_DECREF` function must be called on the " @@ -2658,15 +2658,15 @@ msgstr "" "referansın sızmasını önlemek için güçlü referans kapsamından çıkmadan önce " "güçlü referansta çağrılmalıdır." -#: glossary.rst:1160 +#: glossary.rst:1159 msgid "See also :term:`borrowed reference`." msgstr "Ayrıca bkz. :term:`ödünç alınan referans `." -#: glossary.rst:1161 +#: glossary.rst:1160 msgid "text encoding" msgstr "yazı çözümleme" -#: glossary.rst:1163 +#: glossary.rst:1162 msgid "" "A string in Python is a sequence of Unicode code points (in range " "``U+0000``--``U+10FFFF``). To store or transfer a string, it needs to be " @@ -2676,7 +2676,7 @@ msgstr "" "``U+10FFFF`` aralığında). Bir dizeyi depolamak veya aktarmak için, bir bayt " "dizisi olarak seri hale getirilmesi gerekir." -#: glossary.rst:1167 +#: glossary.rst:1166 msgid "" "Serializing a string into a sequence of bytes is known as \"encoding\", and " "recreating the string from the sequence of bytes is known as \"decoding\"." @@ -2685,7 +2685,7 @@ msgstr "" "olarak bilinir ve dizeyi bayt dizisinden yeniden oluşturmak \"kod çözme " "(decoding)\" olarak bilinir." -#: glossary.rst:1170 +#: glossary.rst:1169 msgid "" "There are a variety of different text serialization :ref:`codecs `, which are collectively referred to as \"text encodings\"." @@ -2693,11 +2693,11 @@ msgstr "" "Toplu olarak \"metin kodlamaları\" olarak adlandırılan çeşitli farklı metin " "serileştirme :ref:`kodekleri ` vardır." -#: glossary.rst:1173 +#: glossary.rst:1172 msgid "text file" msgstr "yazı dosyası" -#: glossary.rst:1175 +#: glossary.rst:1174 msgid "" "A :term:`file object` able to read and write :class:`str` objects. Often, a " "text file actually accesses a byte-oriented datastream and handles the :term:" @@ -2711,7 +2711,7 @@ msgstr "" "metin modunda açılan dosyalar (``'r'`` veya ``'w'``), :data:`sys.stdin`, :" "data:`sys.stdout` ve :class:`io.StringIO` örnekleri verilebilir." -#: glossary.rst:1182 +#: glossary.rst:1181 msgid "" "See also :term:`binary file` for a file object able to read and write :term:" "`bytes-like objects `." @@ -2719,11 +2719,11 @@ msgstr "" "Ayrıca :term:`ikili dosyaları ` okuyabilen ve yazabilen bir " "dosya nesnesi için :term:`bayt benzeri nesnelere ` bakın." -#: glossary.rst:1184 +#: glossary.rst:1183 msgid "triple-quoted string" msgstr "üç tırnaklı dize" -#: glossary.rst:1186 +#: glossary.rst:1185 msgid "" "A string which is bound by three instances of either a quotation mark (\") " "or an apostrophe ('). While they don't provide any functionality not " @@ -2740,11 +2740,11 @@ msgstr "" "yayılabilir, bu da onları özellikle belge dizileri yazarken kullanışlı hale " "getirir." -#: glossary.rst:1193 +#: glossary.rst:1192 msgid "type" msgstr "tip" -#: glossary.rst:1195 +#: glossary.rst:1194 msgid "" "The type of a Python object determines what kind of object it is; every " "object has a type. An object's type is accessible as its :attr:`~instance." @@ -2754,15 +2754,15 @@ msgstr "" "nesnenin bir türü vardır. Bir nesnenin tipine :attr:`~instance.__class__` " "niteliği ile erişilebilir veya ``type(obj)`` ile alınabilir." -#: glossary.rst:1199 +#: glossary.rst:1198 msgid "type alias" msgstr "tip takma adı" -#: glossary.rst:1201 +#: glossary.rst:1200 msgid "A synonym for a type, created by assigning the type to an identifier." msgstr "Bir tanımlayıcıya tür atanarak oluşturulan, bir tür için eş anlamlı." -#: glossary.rst:1203 +#: glossary.rst:1202 msgid "" "Type aliases are useful for simplifying :term:`type hints `. For " "example::" @@ -2770,19 +2770,19 @@ msgstr "" "Tür takma adları, :term:`tür ipuçlarını ` basitleştirmek için " "kullanışlıdır. Örneğin::" -#: glossary.rst:1210 +#: glossary.rst:1209 msgid "could be made more readable like this::" msgstr "bu şekilde daha okunaklı hale getirilebilir::" -#: glossary.rst:1231 +#: glossary.rst:1230 msgid "See :mod:`typing` and :pep:`484`, which describe this functionality." msgstr "Bu işlevi açıklayan :mod:`typing` ve :pep:`484` bölümlerine bakın." -#: glossary.rst:1218 +#: glossary.rst:1217 msgid "type hint" msgstr "tür ipucu" -#: glossary.rst:1220 +#: glossary.rst:1219 msgid "" "An :term:`annotation` that specifies the expected type for a variable, a " "class attribute, or a function parameter or return value." @@ -2790,7 +2790,7 @@ msgstr "" "Bir değişken, bir sınıf niteliği veya bir işlev parametresi veya dönüş " "değeri için beklenen türü belirten bir :term:`ek açıklama `." -#: glossary.rst:1223 +#: glossary.rst:1222 #, fuzzy msgid "" "Type hints are optional and are not enforced by Python but they are useful " @@ -2801,7 +2801,7 @@ msgstr "" "statik tip analiz araçları için faydalıdır ve kod tamamlama ve yeniden " "düzenleme ile IDE'lere yardımcı olur." -#: glossary.rst:1227 +#: glossary.rst:1226 msgid "" "Type hints of global variables, class attributes, and functions, but not " "local variables, can be accessed using :func:`typing.get_type_hints`." @@ -2810,11 +2810,11 @@ msgstr "" "yerel değişkenlere değil, :func:`typing.get_type_hints` kullanılarak " "erişilebilir." -#: glossary.rst:1232 +#: glossary.rst:1231 msgid "universal newlines" msgstr "evrensel yeni satırlar" -#: glossary.rst:1234 +#: glossary.rst:1233 msgid "" "A manner of interpreting text streams in which all of the following are " "recognized as ending a line: the Unix end-of-line convention ``'\\n'``, the " @@ -2827,23 +2827,23 @@ msgstr "" "kuralı ``'\\r\\n'``, ve eski Macintosh kuralı ``'\\r'``. Ek bir kullanım " "için :pep:`278` ve :pep:`3116` ve ayrıca :func:`bytes.splitlines` bakın." -#: glossary.rst:1239 +#: glossary.rst:1238 msgid "variable annotation" msgstr "değişken açıklama" -#: glossary.rst:1241 +#: glossary.rst:1240 msgid "An :term:`annotation` of a variable or a class attribute." msgstr "" "Bir değişkenin veya bir sınıf özniteliğinin :term:`ek açıklaması " "`." -#: glossary.rst:1243 +#: glossary.rst:1242 msgid "" "When annotating a variable or a class attribute, assignment is optional::" msgstr "" "Bir değişkene veya sınıf niteliğine açıklama eklerken atama isteğe bağlıdır::" -#: glossary.rst:1248 +#: glossary.rst:1247 msgid "" "Variable annotations are usually used for :term:`type hints `: " "for example this variable is expected to take :class:`int` values::" @@ -2851,11 +2851,11 @@ msgstr "" "Değişken açıklamaları genellikle :term:`tür ipuçları ` için " "kullanılır: örneğin, bu değişkenin :class:`int` değerlerini alması beklenir::" -#: glossary.rst:1254 +#: glossary.rst:1253 msgid "Variable annotation syntax is explained in section :ref:`annassign`." msgstr "Değişken açıklama sözdizimi :ref:`annassign` bölümünde açıklanmıştır." -#: glossary.rst:1256 +#: glossary.rst:1255 msgid "" "See :term:`function annotation`, :pep:`484` and :pep:`526`, which describe " "this functionality. Also see :ref:`annotations-howto` for best practices on " @@ -2865,11 +2865,11 @@ msgstr "" "bölümlerine bakın. Ek açıklamalarla çalışmaya ilişkin en iyi uygulamalar " "için ayrıca bkz. :ref:`annotations-howto`." -#: glossary.rst:1260 +#: glossary.rst:1259 msgid "virtual environment" msgstr "sanal ortam" -#: glossary.rst:1262 +#: glossary.rst:1261 msgid "" "A cooperatively isolated runtime environment that allows Python users and " "applications to install and upgrade Python distribution packages without " @@ -2881,15 +2881,15 @@ msgstr "" "paketlerini kurmasına ve yükseltmesine olanak tanıyan, işbirliği içinde " "yalıtılmış bir çalışma zamanı ortamı." -#: glossary.rst:1267 +#: glossary.rst:1266 msgid "See also :mod:`venv`." msgstr "Ayrıca bakınız :mod:`venv`." -#: glossary.rst:1268 +#: glossary.rst:1267 msgid "virtual machine" msgstr "sanal makine" -#: glossary.rst:1270 +#: glossary.rst:1269 msgid "" "A computer defined entirely in software. Python's virtual machine executes " "the :term:`bytecode` emitted by the bytecode compiler." @@ -2897,11 +2897,11 @@ msgstr "" "Tamamen yazılımla tanımlanmış bir bilgisayar. Python'un sanal makinesi, bayt " "kodu derleyicisi tarafından yayınlanan :term:`bytecode` 'u çalıştırır." -#: glossary.rst:1272 +#: glossary.rst:1271 msgid "Zen of Python" msgstr "Python'un Zen'i" -#: glossary.rst:1274 +#: glossary.rst:1273 msgid "" "Listing of Python design principles and philosophies that are helpful in " "understanding and using the language. The listing can be found by typing " @@ -2925,7 +2925,7 @@ msgstr "bitişik" msgid "magic" msgstr "" -#: glossary.rst:1131 +#: glossary.rst:1130 #, fuzzy msgid "special" msgstr "özel metod" diff --git a/howto/curses.po b/howto/curses.po index 8989e3296..1976e0f89 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -80,8 +80,7 @@ msgid "" "curses library will figure out what control codes need to be sent to the " "terminal to produce the right output. curses doesn't provide many user-" "interface concepts such as buttons, checkboxes, or dialogs; if you need such " -"features, consider a user interface library such as `Urwid `_." +"features, consider a user interface library such as :pypi:`Urwid`." msgstr "" #: howto/curses.rst:48 @@ -100,15 +99,14 @@ msgstr "" #: howto/curses.rst:58 msgid "" "The Windows version of Python doesn't include the :mod:`curses` module. A " -"ported version called `UniCurses `_ is " -"available." +"ported version called :pypi:`UniCurses` is available." msgstr "" -#: howto/curses.rst:64 +#: howto/curses.rst:63 msgid "The Python curses module" msgstr "" -#: howto/curses.rst:66 +#: howto/curses.rst:65 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 " @@ -119,7 +117,7 @@ msgid "" "this covered in more detail later." msgstr "" -#: howto/curses.rst:74 +#: howto/curses.rst:73 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,11 +125,11 @@ msgid "" "pages for ncurses. It will, however, give you the basic ideas." msgstr "" -#: howto/curses.rst:81 +#: howto/curses.rst:80 msgid "Starting and ending a curses application" msgstr "" -#: howto/curses.rst:83 +#: howto/curses.rst:82 msgid "" "Before doing anything, curses must be initialized. This is done by calling " "the :func:`~curses.initscr` function, which will determine the terminal " @@ -141,21 +139,21 @@ msgid "" "after the name of the corresponding C variable. ::" msgstr "" -#: howto/curses.rst:94 +#: howto/curses.rst:93 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:101 +#: howto/curses.rst:100 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:107 +#: howto/curses.rst:106 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 +163,20 @@ msgid "" "keypad mode. ::" msgstr "" -#: howto/curses.rst:116 +#: howto/curses.rst:115 msgid "" "Terminating a curses application is much easier than starting one. You'll " "need to call::" msgstr "" -#: howto/curses.rst:123 +#: howto/curses.rst:122 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:129 +#: howto/curses.rst:128 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,13 +185,13 @@ msgid "" "you type them, for example, which makes using the shell difficult." msgstr "" -#: howto/curses.rst:135 +#: howto/curses.rst:134 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:154 +#: howto/curses.rst:153 msgid "" "The :func:`~curses.wrapper` function takes a callable object and does the " "initializations described above, also initializing colors if color support " @@ -206,18 +204,18 @@ msgid "" "and traceback." msgstr "" -#: howto/curses.rst:166 +#: howto/curses.rst:165 msgid "Windows and Pads" msgstr "" -#: howto/curses.rst:168 +#: howto/curses.rst:167 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:172 +#: howto/curses.rst:171 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 +225,7 @@ msgid "" "window object. ::" msgstr "" -#: howto/curses.rst:183 +#: howto/curses.rst:182 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 +235,7 @@ msgid "" "curses since it was first written, and it's too late to change things now." msgstr "" -#: howto/curses.rst:191 +#: howto/curses.rst:190 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,14 +243,14 @@ msgid "" "- 1, curses.COLS - 1)``." msgstr "" -#: howto/curses.rst:196 +#: howto/curses.rst:195 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:201 +#: howto/curses.rst:200 msgid "" "This is because curses was originally written with slow 300-baud terminal " "connections in mind; with these terminals, minimizing the time required to " @@ -263,7 +261,7 @@ msgid "" "because they're never visible." msgstr "" -#: howto/curses.rst:210 +#: howto/curses.rst:209 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 " @@ -273,7 +271,7 @@ msgid "" "stdscr.refresh` or the :meth:`!refresh` method of some other relevant window." msgstr "" -#: howto/curses.rst:218 +#: howto/curses.rst:217 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,7 +280,7 @@ msgid "" "will be displayed. ::" msgstr "" -#: howto/curses.rst:239 +#: howto/curses.rst:238 msgid "" "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 " @@ -291,36 +289,36 @@ msgid "" "the same methods." msgstr "" -#: howto/curses.rst:245 +#: howto/curses.rst:244 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:" msgstr "" -#: howto/curses.rst:250 +#: howto/curses.rst:249 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:253 +#: howto/curses.rst:252 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:256 +#: howto/curses.rst:255 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." msgstr "" -#: howto/curses.rst:262 +#: howto/curses.rst:261 msgid "Displaying Text" msgstr "" -#: howto/curses.rst:264 +#: howto/curses.rst:263 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` " @@ -332,7 +330,7 @@ msgid "" "coordinate." msgstr "" -#: howto/curses.rst:273 +#: howto/curses.rst:272 msgid "" "Fortunately the Python interface hides all these details. ``stdscr`` is a " "window object like any other, and methods such as :meth:`~curses.window." @@ -340,58 +338,58 @@ msgid "" "forms." msgstr "" -#: howto/curses.rst:279 +#: howto/curses.rst:278 msgid "Form" msgstr "" -#: howto/curses.rst:347 +#: howto/curses.rst:346 msgid "Description" msgstr "" -#: howto/curses.rst:281 +#: howto/curses.rst:280 msgid "*str* or *ch*" msgstr "" -#: howto/curses.rst:281 +#: howto/curses.rst:280 msgid "Display the string *str* or character *ch* at the current position" msgstr "" -#: howto/curses.rst:284 +#: howto/curses.rst:283 msgid "*str* or *ch*, *attr*" msgstr "" -#: howto/curses.rst:284 +#: howto/curses.rst:283 msgid "" "Display the string *str* or character *ch*, using attribute *attr* at the " "current position" msgstr "" -#: howto/curses.rst:288 +#: howto/curses.rst:287 msgid "*y*, *x*, *str* or *ch*" msgstr "" -#: howto/curses.rst:288 +#: howto/curses.rst:287 msgid "Move to position *y,x* within the window, and display *str* or *ch*" msgstr "" -#: howto/curses.rst:291 +#: howto/curses.rst:290 msgid "*y*, *x*, *str* or *ch*, *attr*" msgstr "" -#: howto/curses.rst:291 +#: howto/curses.rst:290 msgid "" "Move to position *y,x* within the window, and display *str* or *ch*, using " "attribute *attr*" msgstr "" -#: howto/curses.rst:295 +#: howto/curses.rst:294 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:300 +#: howto/curses.rst:299 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 " @@ -400,13 +398,13 @@ msgid "" "system encoding as returned by :func:`locale.getencoding`." msgstr "" -#: howto/curses.rst:306 +#: howto/curses.rst:305 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:309 +#: howto/curses.rst:308 msgid "" "Constants are provided for extension characters; these constants are " "integers greater than 255. For example, :const:`ACS_PLMINUS` is a +/- " @@ -414,7 +412,7 @@ msgid "" "for drawing borders). You can also use the appropriate Unicode character." msgstr "" -#: howto/curses.rst:315 +#: howto/curses.rst:314 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 " @@ -425,7 +423,7 @@ msgid "" "cursor blinking at some apparently random location." msgstr "" -#: howto/curses.rst:323 +#: howto/curses.rst:322 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 " @@ -435,11 +433,11 @@ msgid "" "leaving it in odd locations." msgstr "" -#: howto/curses.rst:332 +#: howto/curses.rst:331 msgid "Attributes and Color" msgstr "" -#: howto/curses.rst:334 +#: howto/curses.rst:333 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 " @@ -447,7 +445,7 @@ msgid "" "an attribute for each cell on the screen." msgstr "" -#: howto/curses.rst:339 +#: howto/curses.rst:338 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 " @@ -457,72 +455,72 @@ msgid "" "attributes, listed here." msgstr "" -#: howto/curses.rst:347 +#: howto/curses.rst:346 msgid "Attribute" msgstr "" -#: howto/curses.rst:349 +#: howto/curses.rst:348 msgid ":const:`A_BLINK`" msgstr "" -#: howto/curses.rst:349 +#: howto/curses.rst:348 msgid "Blinking text" msgstr "" -#: howto/curses.rst:351 +#: howto/curses.rst:350 msgid ":const:`A_BOLD`" msgstr "" -#: howto/curses.rst:351 +#: howto/curses.rst:350 msgid "Extra bright or bold text" msgstr "" -#: howto/curses.rst:353 +#: howto/curses.rst:352 msgid ":const:`A_DIM`" msgstr "" -#: howto/curses.rst:353 +#: howto/curses.rst:352 msgid "Half bright text" msgstr "" -#: howto/curses.rst:355 +#: howto/curses.rst:354 msgid ":const:`A_REVERSE`" msgstr "" -#: howto/curses.rst:355 +#: howto/curses.rst:354 msgid "Reverse-video text" msgstr "" -#: howto/curses.rst:357 +#: howto/curses.rst:356 msgid ":const:`A_STANDOUT`" msgstr "" -#: howto/curses.rst:357 +#: howto/curses.rst:356 msgid "The best highlighting mode available" msgstr "" -#: howto/curses.rst:359 +#: howto/curses.rst:358 msgid ":const:`A_UNDERLINE`" msgstr "" -#: howto/curses.rst:359 +#: howto/curses.rst:358 msgid "Underlined text" msgstr "" -#: howto/curses.rst:362 +#: howto/curses.rst:361 msgid "" "So, to display a reverse-video status line on the top line of the screen, " "you could code::" msgstr "" -#: howto/curses.rst:369 +#: howto/curses.rst:368 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:373 +#: howto/curses.rst:372 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 " @@ -534,7 +532,7 @@ msgid "" "for the sake of these functions.)" msgstr "" -#: howto/curses.rst:383 +#: howto/curses.rst:382 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 " @@ -544,11 +542,11 @@ msgid "" "work on all terminals." msgstr "" -#: howto/curses.rst:390 +#: howto/curses.rst:389 msgid "An example, which displays a line of text using color pair 1::" msgstr "" -#: howto/curses.rst:395 +#: howto/curses.rst:394 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 " @@ -556,7 +554,7 @@ msgid "" "hard-wired to white on black, and cannot be changed." msgstr "" -#: howto/curses.rst:400 +#: howto/curses.rst:399 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:" @@ -565,20 +563,20 @@ msgid "" "const:`curses.COLOR_RED`, and so forth." msgstr "" -#: howto/curses.rst:406 +#: howto/curses.rst:405 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:411 +#: howto/curses.rst:410 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:417 +#: howto/curses.rst:416 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 " @@ -590,23 +588,22 @@ msgid "" "your system's man pages for more information." msgstr "" -#: howto/curses.rst:428 +#: howto/curses.rst:427 msgid "User Input" msgstr "" -#: howto/curses.rst:430 +#: howto/curses.rst:429 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 " -"`Urwid `_ have more extensive collections " -"of widgets.)" +"`curses` module adds a basic text-input widget. (Other libraries such as :" +"pypi:`Urwid` have more extensive collections of widgets.)" msgstr "" -#: howto/curses.rst:435 +#: howto/curses.rst:433 msgid "There are two methods for getting input from a window:" msgstr "" -#: howto/curses.rst:437 +#: howto/curses.rst:435 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 " @@ -614,7 +611,7 @@ msgid "" "should be moved before pausing." msgstr "" -#: howto/curses.rst:442 +#: howto/curses.rst:440 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 " @@ -622,7 +619,7 @@ msgid "" "name such as ``KEY_UP`` or ``^G``." msgstr "" -#: howto/curses.rst:447 +#: howto/curses.rst:445 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:`!" @@ -634,7 +631,7 @@ msgid "" "tenths of a second), curses raises an exception." msgstr "" -#: howto/curses.rst:457 +#: howto/curses.rst:455 msgid "" "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 " @@ -644,7 +641,7 @@ msgid "" "program may look something like this::" msgstr "" -#: howto/curses.rst:473 +#: howto/curses.rst:471 msgid "" "The :mod:`curses.ascii` module supplies ASCII class membership functions " "that take either integer or 1-character string arguments; these may be " @@ -654,7 +651,7 @@ msgid "" "returns the control character corresponding to its argument." msgstr "" -#: howto/curses.rst:480 +#: howto/curses.rst:478 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 " @@ -663,7 +660,7 @@ msgid "" "number of characters. ::" msgstr "" -#: howto/curses.rst:491 +#: howto/curses.rst:489 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." @@ -671,16 +668,16 @@ msgid "" "results either with or without trailing spaces. Here's an example::" msgstr "" -#: howto/curses.rst:515 +#: howto/curses.rst:513 msgid "" "See the library documentation on :mod:`curses.textpad` for more details." msgstr "" -#: howto/curses.rst:519 +#: howto/curses.rst:517 msgid "For More Information" msgstr "" -#: howto/curses.rst:521 +#: howto/curses.rst:519 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 " @@ -688,7 +685,7 @@ msgid "" "complete. You should browse it next." msgstr "" -#: howto/curses.rst:526 +#: howto/curses.rst:524 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 " @@ -697,7 +694,7 @@ msgid "" "ref:`ACS_\\* ` characters available to you." msgstr "" -#: howto/curses.rst:533 +#: howto/curses.rst:531 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, " @@ -707,29 +704,29 @@ msgid "" "org/>`_ to learn more about submitting patches to Python." msgstr "" -#: howto/curses.rst:541 +#: howto/curses.rst:539 msgid "" "`Writing Programs with NCURSES `_: a lengthy tutorial for C programmers." msgstr "" -#: howto/curses.rst:543 +#: howto/curses.rst:541 msgid "`The ncurses man page `_" msgstr "" -#: howto/curses.rst:544 +#: howto/curses.rst:542 msgid "" "`The ncurses FAQ `_" msgstr "" -#: howto/curses.rst:545 +#: howto/curses.rst:543 msgid "" "`\"Use curses... don't swear\" `_: video of a PyCon 2013 talk on controlling terminals using " "curses or Urwid." msgstr "" -#: howto/curses.rst:547 +#: howto/curses.rst:545 msgid "" "`\"Console Applications with Urwid\" `_: video of a PyCon CA 2012 talk demonstrating some " diff --git a/howto/functional.po b/howto/functional.po index d2e8bc9b5..d8a39ece8 100644 --- a/howto/functional.po +++ b/howto/functional.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -728,7 +728,7 @@ msgid "" "the features of generator expressions:" msgstr "" -#: howto/functional.rst:640 +#: howto/functional.rst:631 msgid "" ":func:`map(f, iterA, iterB, ...) ` returns an iterator over the sequence" msgstr "" diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index dfe6dcf1c..1cd6b6ba4 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1037,7 +1037,7 @@ msgstr "" msgid "Subclassing QueueHandler and QueueListener- a ZeroMQ example" msgstr "" -#: howto/logging-cookbook.rst:1853 howto/logging-cookbook.rst:1985 +#: howto/logging-cookbook.rst:1853 howto/logging-cookbook.rst:1986 msgid "Subclass ``QueueHandler``" msgstr "" @@ -1071,22 +1071,38 @@ msgstr "" #: howto/logging-cookbook.rst:1914 msgid "" "In a similar way to the above section, we can implement a listener and " -"handler using `pynng `_, which is a Python " -"binding to `NNG `_, billed as a spiritual " -"successor to ZeroMQ. The following snippets illustrate -- you can test them " -"in an environment which has ``pynng`` installed. Juat for variety, we " -"present the listener first." +"handler using :pypi:`pynng`, which is a Python binding to `NNG `_, billed as a spiritual successor to ZeroMQ. The following " +"snippets illustrate -- you can test them in an environment which has " +"``pynng`` installed. Just for variety, we present the listener first." msgstr "" -#: howto/logging-cookbook.rst:2034 -msgid "You can run the above two snippets in separate command shells." +#: howto/logging-cookbook.rst:2037 +msgid "" +"You can run the above two snippets in separate command shells. If we run the " +"listener in one shell and run the sender in two separate shells, we should " +"see something like the following. In the first sender shell:" +msgstr "" + +#: howto/logging-cookbook.rst:2054 +msgid "In the second sender shell:" +msgstr "" + +#: howto/logging-cookbook.rst:2069 +msgid "In the listener shell:" msgstr "" -#: howto/logging-cookbook.rst:2038 +#: howto/logging-cookbook.rst:2093 +msgid "" +"As you can see, the logging from the two sender processes is interleaved in " +"the listener's output." +msgstr "" + +#: howto/logging-cookbook.rst:2098 msgid "An example dictionary-based configuration" msgstr "" -#: howto/logging-cookbook.rst:2040 +#: howto/logging-cookbook.rst:2100 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:2100 +#: howto/logging-cookbook.rst:2160 msgid "Using a rotator and namer to customize log rotation processing" msgstr "" -#: howto/logging-cookbook.rst:2102 +#: howto/logging-cookbook.rst:2162 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:2133 +#: howto/logging-cookbook.rst:2193 msgid "" "After running this, you will see six new files, five of which are compressed:" msgstr "" -#: howto/logging-cookbook.rst:2146 +#: howto/logging-cookbook.rst:2206 msgid "A more elaborate multiprocessing example" msgstr "" -#: howto/logging-cookbook.rst:2148 +#: howto/logging-cookbook.rst:2208 msgid "" "The following working example shows how logging can be used with " "multiprocessing using configuration files. The configurations are fairly " @@ -1128,7 +1144,7 @@ msgid "" "in a real multiprocessing scenario." msgstr "" -#: howto/logging-cookbook.rst:2153 +#: howto/logging-cookbook.rst:2213 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 " @@ -1141,17 +1157,17 @@ msgid "" "own scenario." msgstr "" -#: howto/logging-cookbook.rst:2163 +#: howto/logging-cookbook.rst:2223 msgid "" "Here's the script - the docstrings and the comments hopefully explain how it " "works::" msgstr "" -#: howto/logging-cookbook.rst:2375 +#: howto/logging-cookbook.rst:2435 msgid "Inserting a BOM into messages sent to a SysLogHandler" msgstr "" -#: howto/logging-cookbook.rst:2377 +#: howto/logging-cookbook.rst:2437 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 " @@ -1160,7 +1176,7 @@ msgid "" "<5424#section-6>`.)" msgstr "" -#: howto/logging-cookbook.rst:2383 +#: howto/logging-cookbook.rst:2443 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 " @@ -1168,7 +1184,7 @@ msgid "" "hence not allowing any pure-ASCII component to appear before it." msgstr "" -#: howto/logging-cookbook.rst:2389 +#: howto/logging-cookbook.rst:2449 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 " @@ -1177,33 +1193,33 @@ msgid "" "encoded using UTF-8, then you need to do the following:" msgstr "" -#: howto/logging-cookbook.rst:2395 +#: howto/logging-cookbook.rst:2455 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:2401 +#: howto/logging-cookbook.rst:2461 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:2404 +#: howto/logging-cookbook.rst:2464 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:2408 +#: howto/logging-cookbook.rst:2468 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:2412 +#: howto/logging-cookbook.rst:2472 msgid "" "The formatted message *will* be encoded using UTF-8 encoding by " "``SysLogHandler``. If you follow the above rules, you should be able to " @@ -1212,11 +1228,11 @@ msgid "" "daemon may complain." msgstr "" -#: howto/logging-cookbook.rst:2419 +#: howto/logging-cookbook.rst:2479 msgid "Implementing structured logging" msgstr "" -#: howto/logging-cookbook.rst:2421 +#: howto/logging-cookbook.rst:2481 msgid "" "Although most logging messages are intended for reading by humans, and thus " "not readily machine-parseable, there might be circumstances where you want " @@ -1228,31 +1244,31 @@ msgid "" "machine-parseable manner::" msgstr "" -#: howto/logging-cookbook.rst:2445 +#: howto/logging-cookbook.rst:2505 msgid "If the above script is run, it prints:" msgstr "" -#: howto/logging-cookbook.rst:2451 howto/logging-cookbook.rst:2493 +#: howto/logging-cookbook.rst:2511 howto/logging-cookbook.rst:2553 msgid "" "Note that the order of items might be different according to the version of " "Python used." msgstr "" -#: howto/logging-cookbook.rst:2454 +#: howto/logging-cookbook.rst:2514 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:2487 +#: howto/logging-cookbook.rst:2547 msgid "When the above script is run, it prints:" msgstr "" -#: howto/logging-cookbook.rst:2502 +#: howto/logging-cookbook.rst:2562 msgid "Customizing handlers with :func:`dictConfig`" msgstr "" -#: howto/logging-cookbook.rst:2504 +#: howto/logging-cookbook.rst:2564 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 " @@ -1262,24 +1278,24 @@ msgid "" "customize handler creation using a plain function such as::" msgstr "" -#: howto/logging-cookbook.rst:2518 +#: howto/logging-cookbook.rst:2578 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:2551 +#: howto/logging-cookbook.rst:2611 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:2598 +#: howto/logging-cookbook.rst:2658 msgid "To run this, you will probably need to run as ``root``:" msgstr "" -#: howto/logging-cookbook.rst:2608 +#: howto/logging-cookbook.rst:2668 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 " @@ -1288,17 +1304,17 @@ msgid "" "change using e.g. :func:`os.chown`." msgstr "" -#: howto/logging-cookbook.rst:2614 +#: howto/logging-cookbook.rst:2674 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:2619 +#: howto/logging-cookbook.rst:2679 msgid "you could use e.g.::" msgstr "" -#: howto/logging-cookbook.rst:2623 +#: howto/logging-cookbook.rst:2683 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://" @@ -1306,25 +1322,25 @@ msgid "" "resolved by :func:`dictConfig` from the ``ext://`` specification." msgstr "" -#: howto/logging-cookbook.rst:2628 +#: howto/logging-cookbook.rst:2688 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:2632 +#: howto/logging-cookbook.rst:2692 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:2642 +#: howto/logging-cookbook.rst:2702 msgid "Using particular formatting styles throughout your application" msgstr "" -#: howto/logging-cookbook.rst:2644 +#: howto/logging-cookbook.rst:2704 msgid "" "In Python 3.2, the :class:`~logging.Formatter` gained a ``style`` keyword " "parameter which, while defaulting to ``%`` for backward compatibility, " @@ -1335,7 +1351,7 @@ msgid "" "is constructed." msgstr "" -#: howto/logging-cookbook.rst:2651 +#: howto/logging-cookbook.rst:2711 msgid "" "Logging calls (:meth:`~Logger.debug`, :meth:`~Logger.info` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -1350,7 +1366,7 @@ msgid "" "calls which are out there in existing code will be using %-format strings." msgstr "" -#: howto/logging-cookbook.rst:2663 +#: howto/logging-cookbook.rst:2723 msgid "" "There have been suggestions to associate format styles with specific " "loggers, but that approach also runs into backward compatibility problems " @@ -1358,7 +1374,7 @@ msgid "" "formatting." msgstr "" -#: howto/logging-cookbook.rst:2667 +#: howto/logging-cookbook.rst:2727 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 " @@ -1366,11 +1382,11 @@ msgid "" "formatting styles can be accommodated." msgstr "" -#: howto/logging-cookbook.rst:2674 +#: howto/logging-cookbook.rst:2734 msgid "Using LogRecord factories" msgstr "" -#: howto/logging-cookbook.rst:2676 +#: howto/logging-cookbook.rst:2736 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 " @@ -1385,17 +1401,17 @@ msgid "" "implementation does." msgstr "" -#: howto/logging-cookbook.rst:2687 +#: howto/logging-cookbook.rst:2747 msgid "" "Refer to the reference documentation on :func:`setLogRecordFactory` and :" "class:`LogRecord` for more information." msgstr "" -#: howto/logging-cookbook.rst:2692 +#: howto/logging-cookbook.rst:2752 msgid "Using custom message objects" msgstr "" -#: howto/logging-cookbook.rst:2694 +#: howto/logging-cookbook.rst:2754 msgid "" "There is another, perhaps simpler way that you can use {}- and $- formatting " "to construct your individual log messages. You may recall (from :ref:" @@ -1405,7 +1421,7 @@ msgid "" "following two classes::" msgstr "" -#: howto/logging-cookbook.rst:2719 +#: howto/logging-cookbook.rst:2779 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 " @@ -1416,17 +1432,17 @@ msgid "" "using ``_`` for localization)." msgstr "" -#: howto/logging-cookbook.rst:2727 +#: howto/logging-cookbook.rst:2787 msgid "" "Examples of this approach are given below. Firstly, formatting with :meth:" "`str.format`::" msgstr "" -#: howto/logging-cookbook.rst:2741 +#: howto/logging-cookbook.rst:2801 msgid "Secondly, formatting with :class:`string.Template`::" msgstr "" -#: howto/logging-cookbook.rst:2748 +#: howto/logging-cookbook.rst:2808 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 " @@ -1438,11 +1454,11 @@ msgid "" "shown above." msgstr "" -#: howto/logging-cookbook.rst:2762 +#: howto/logging-cookbook.rst:2822 msgid "Configuring filters with :func:`dictConfig`" msgstr "" -#: howto/logging-cookbook.rst:2764 +#: howto/logging-cookbook.rst:2824 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). " @@ -1457,22 +1473,22 @@ msgid "" "complete example::" msgstr "" -#: howto/logging-cookbook.rst:2817 +#: howto/logging-cookbook.rst:2877 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:2825 +#: howto/logging-cookbook.rst:2885 msgid "which shows that the filter is working as configured." msgstr "" -#: howto/logging-cookbook.rst:2827 +#: howto/logging-cookbook.rst:2887 msgid "A couple of extra points to note:" msgstr "" -#: howto/logging-cookbook.rst:2829 +#: howto/logging-cookbook.rst:2889 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 " @@ -1482,7 +1498,7 @@ msgid "" "the above example." msgstr "" -#: howto/logging-cookbook.rst:2836 +#: howto/logging-cookbook.rst:2896 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 " @@ -1491,11 +1507,11 @@ msgid "" "above." msgstr "" -#: howto/logging-cookbook.rst:2845 +#: howto/logging-cookbook.rst:2905 msgid "Customized exception formatting" msgstr "" -#: howto/logging-cookbook.rst:2847 +#: howto/logging-cookbook.rst:2907 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, " @@ -1503,22 +1519,22 @@ msgid "" "formatter class, as shown in the following example::" msgstr "" -#: howto/logging-cookbook.rst:2888 +#: howto/logging-cookbook.rst:2948 msgid "When run, this produces a file with exactly two lines:" msgstr "" -#: howto/logging-cookbook.rst:2895 +#: howto/logging-cookbook.rst:2955 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:2902 +#: howto/logging-cookbook.rst:2962 msgid "Speaking logging messages" msgstr "" -#: howto/logging-cookbook.rst:2904 +#: howto/logging-cookbook.rst:2964 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 " @@ -1535,24 +1551,24 @@ msgid "" "approach, which assumes that the ``espeak`` TTS package is available::" msgstr "" -#: howto/logging-cookbook.rst:2946 +#: howto/logging-cookbook.rst:3006 msgid "" "When run, this script should say \"Hello\" and then \"Goodbye\" in a female " "voice." msgstr "" -#: howto/logging-cookbook.rst:2948 +#: howto/logging-cookbook.rst:3008 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:2956 +#: howto/logging-cookbook.rst:3016 msgid "Buffering logging messages and outputting them conditionally" msgstr "" -#: howto/logging-cookbook.rst:2958 +#: howto/logging-cookbook.rst:3018 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 " @@ -1562,7 +1578,7 @@ msgid "" "debug information to be output as well as the error." msgstr "" -#: howto/logging-cookbook.rst:2965 +#: howto/logging-cookbook.rst:3025 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 " @@ -1575,7 +1591,7 @@ msgid "" "subclass of ``MemoryHandler`` if you want custom flushing behavior." msgstr "" -#: howto/logging-cookbook.rst:2975 +#: howto/logging-cookbook.rst:3035 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 " @@ -1584,7 +1600,7 @@ msgid "" "levels - otherwise, it only logs at DEBUG, INFO and WARNING levels." msgstr "" -#: howto/logging-cookbook.rst:2981 +#: howto/logging-cookbook.rst:3041 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 " @@ -1596,30 +1612,30 @@ msgid "" "respectively." msgstr "" -#: howto/logging-cookbook.rst:2989 +#: howto/logging-cookbook.rst:3049 msgid "Here's the script::" msgstr "" -#: howto/logging-cookbook.rst:3052 +#: howto/logging-cookbook.rst:3112 msgid "When this script is run, the following output should be observed:" msgstr "" -#: howto/logging-cookbook.rst:3082 +#: howto/logging-cookbook.rst:3142 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:3086 +#: howto/logging-cookbook.rst:3146 msgid "You can of course use the conventional means of decoration::" msgstr "" -#: howto/logging-cookbook.rst:3096 +#: howto/logging-cookbook.rst:3156 msgid "Sending logging messages to email, with buffering" msgstr "" -#: howto/logging-cookbook.rst:3098 +#: howto/logging-cookbook.rst:3158 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." @@ -1630,7 +1646,7 @@ msgid "" "argument to see the required and optional arguments.)" msgstr "" -#: howto/logging-cookbook.rst:3170 +#: howto/logging-cookbook.rst:3230 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 " @@ -1638,17 +1654,17 @@ msgid "" "messages. That makes up 102 messages as specified in the script." msgstr "" -#: howto/logging-cookbook.rst:3178 +#: howto/logging-cookbook.rst:3238 msgid "Formatting times using UTC (GMT) via configuration" msgstr "" -#: howto/logging-cookbook.rst:3180 +#: howto/logging-cookbook.rst:3240 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:3189 +#: howto/logging-cookbook.rst:3249 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 " @@ -1656,21 +1672,21 @@ msgid "" "the following complete example::" msgstr "" -#: howto/logging-cookbook.rst:3232 +#: howto/logging-cookbook.rst:3292 msgid "When this script is run, it should print something like:" msgstr "" -#: howto/logging-cookbook.rst:3239 +#: howto/logging-cookbook.rst:3299 msgid "" "showing how the time is formatted both as local time and UTC, one for each " "handler." msgstr "" -#: howto/logging-cookbook.rst:3246 +#: howto/logging-cookbook.rst:3306 msgid "Using a context manager for selective logging" msgstr "" -#: howto/logging-cookbook.rst:3248 +#: howto/logging-cookbook.rst:3308 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 " @@ -1680,7 +1696,7 @@ msgid "" "scope of the context manager::" msgstr "" -#: howto/logging-cookbook.rst:3281 +#: howto/logging-cookbook.rst:3341 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 " @@ -1689,13 +1705,13 @@ msgid "" "block exit - you could do this if you don't need the handler any more." msgstr "" -#: howto/logging-cookbook.rst:3287 +#: howto/logging-cookbook.rst:3347 msgid "" "To illustrate how it works, we can add the following block of code to the " "above::" msgstr "" -#: howto/logging-cookbook.rst:3305 +#: howto/logging-cookbook.rst:3365 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 " @@ -1708,56 +1724,56 @@ msgid "" "(like message #1) whereas message #7 doesn't (just like message #2)." msgstr "" -#: howto/logging-cookbook.rst:3315 +#: howto/logging-cookbook.rst:3375 msgid "If we run the resulting script, the result is as follows:" msgstr "" -#: howto/logging-cookbook.rst:3326 +#: howto/logging-cookbook.rst:3386 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:3334 +#: howto/logging-cookbook.rst:3394 msgid "Once again, but piping ``stdout`` to ``/dev/null``, we get:" msgstr "" -#: howto/logging-cookbook.rst:3344 +#: howto/logging-cookbook.rst:3404 msgid "" "In this case, the message #5 printed to ``stdout`` doesn't appear, as " "expected." msgstr "" -#: howto/logging-cookbook.rst:3346 +#: howto/logging-cookbook.rst:3406 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:3354 +#: howto/logging-cookbook.rst:3414 msgid "A CLI application starter template" msgstr "" -#: howto/logging-cookbook.rst:3356 +#: howto/logging-cookbook.rst:3416 msgid "Here's an example which shows how you can:" msgstr "" -#: howto/logging-cookbook.rst:3358 +#: howto/logging-cookbook.rst:3418 msgid "Use a logging level based on command-line arguments" msgstr "" -#: howto/logging-cookbook.rst:3359 +#: howto/logging-cookbook.rst:3419 msgid "" "Dispatch to multiple subcommands in separate files, all logging at the same " "level in a consistent way" msgstr "" -#: howto/logging-cookbook.rst:3361 +#: howto/logging-cookbook.rst:3421 msgid "Make use of simple, minimal configuration" msgstr "" -#: howto/logging-cookbook.rst:3363 +#: howto/logging-cookbook.rst:3423 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 " @@ -1768,61 +1784,61 @@ msgid "" "``logging.INFO``. Here's one way that ``app.py`` could be written::" msgstr "" -#: howto/logging-cookbook.rst:3412 +#: howto/logging-cookbook.rst:3472 msgid "" "And the ``start``, ``stop`` and ``restart`` commands can be implemented in " "separate modules, like so for starting::" msgstr "" -#: howto/logging-cookbook.rst:3425 +#: howto/logging-cookbook.rst:3485 msgid "and thus for stopping::" msgstr "" -#: howto/logging-cookbook.rst:3446 +#: howto/logging-cookbook.rst:3506 msgid "and similarly for restarting::" msgstr "" -#: howto/logging-cookbook.rst:3467 +#: howto/logging-cookbook.rst:3527 msgid "" "If we run this application with the default log level, we get output like " "this:" msgstr "" -#: howto/logging-cookbook.rst:3480 +#: howto/logging-cookbook.rst:3540 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:3483 +#: howto/logging-cookbook.rst:3543 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:3500 +#: howto/logging-cookbook.rst:3560 msgid "And if we want less:" msgstr "" -#: howto/logging-cookbook.rst:3508 +#: howto/logging-cookbook.rst:3568 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:3514 +#: howto/logging-cookbook.rst:3574 msgid "A Qt GUI for logging" msgstr "" -#: howto/logging-cookbook.rst:3516 +#: howto/logging-cookbook.rst:3576 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-" -"platform UI framework with Python bindings using `PySide2 `_ or `PyQt5 `_ libraries." +"platform UI framework with Python bindings using :pypi:`PySide2` or :pypi:" +"`PyQt5` libraries." msgstr "" -#: howto/logging-cookbook.rst:3522 +#: howto/logging-cookbook.rst:3581 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 " @@ -1832,14 +1848,14 @@ msgid "" "logging messages at random levels with random short delays in between)." msgstr "" -#: howto/logging-cookbook.rst:3529 +#: howto/logging-cookbook.rst:3588 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:3533 +#: howto/logging-cookbook.rst:3592 msgid "" "The code should work with recent releases of any of ``PySide6``, ``PyQt6``, " "``PySide2`` or ``PyQt5``. You should be able to adapt the approach to " @@ -1847,11 +1863,11 @@ msgid "" "more detailed information." msgstr "" -#: howto/logging-cookbook.rst:3770 +#: howto/logging-cookbook.rst:3829 msgid "Logging to syslog with RFC5424 support" msgstr "" -#: howto/logging-cookbook.rst:3772 +#: howto/logging-cookbook.rst:3831 msgid "" "Although :rfc:`5424` dates from 2009, most syslog servers are configured by " "default to use the older :rfc:`3164`, which hails from 2001. When " @@ -1861,14 +1877,14 @@ msgid "" "handlers.SysLogHandler` functionality has not been updated." msgstr "" -#: howto/logging-cookbook.rst:3779 +#: howto/logging-cookbook.rst:3838 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:3845 +#: howto/logging-cookbook.rst:3904 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 " @@ -1877,11 +1893,11 @@ msgid "" "using something like this::" msgstr "" -#: howto/logging-cookbook.rst:3859 +#: howto/logging-cookbook.rst:3918 msgid "How to treat a logger like an output stream" msgstr "" -#: howto/logging-cookbook.rst:3861 +#: howto/logging-cookbook.rst:3920 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 " @@ -1889,17 +1905,17 @@ msgid "" "API. Here's a short script illustrating such a class:" msgstr "" -#: howto/logging-cookbook.rst:3901 +#: howto/logging-cookbook.rst:3960 msgid "When this script is run, it prints" msgstr "" -#: howto/logging-cookbook.rst:3908 +#: howto/logging-cookbook.rst:3967 msgid "" "You could also use ``LoggerWriter`` to redirect ``sys.stdout`` and ``sys." "stderr`` by doing something like this:" msgstr "" -#: howto/logging-cookbook.rst:3918 +#: howto/logging-cookbook.rst:3977 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." @@ -1907,25 +1923,25 @@ msgid "" "Then, you'd get this kind of result:" msgstr "" -#: howto/logging-cookbook.rst:3931 +#: howto/logging-cookbook.rst:3990 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:3935 +#: howto/logging-cookbook.rst:3994 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:3944 +#: howto/logging-cookbook.rst:4003 msgid "then running the script results in" msgstr "" -#: howto/logging-cookbook.rst:3962 +#: howto/logging-cookbook.rst:4021 msgid "" "As you can see, this output isn't ideal. That's because the underlying code " "which writes to ``sys.stderr`` makes multiple writes, each of which results " @@ -1935,17 +1951,17 @@ msgid "" "``LoggerWriter``:" msgstr "" -#: howto/logging-cookbook.rst:3987 +#: howto/logging-cookbook.rst:4046 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:4003 +#: howto/logging-cookbook.rst:4062 msgid "Patterns to avoid" msgstr "" -#: howto/logging-cookbook.rst:4005 +#: howto/logging-cookbook.rst:4064 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 " @@ -1953,11 +1969,11 @@ msgid "" "The following sections are in no particular order." msgstr "" -#: howto/logging-cookbook.rst:4011 +#: howto/logging-cookbook.rst:4070 msgid "Opening the same log file multiple times" msgstr "" -#: howto/logging-cookbook.rst:4013 +#: howto/logging-cookbook.rst:4072 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. " @@ -1965,32 +1981,32 @@ msgid "" "file multiple times. This could be done accidentally, for example by:" msgstr "" -#: howto/logging-cookbook.rst:4018 +#: howto/logging-cookbook.rst:4077 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:4021 +#: howto/logging-cookbook.rst:4080 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:4024 +#: howto/logging-cookbook.rst:4083 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:4028 +#: howto/logging-cookbook.rst:4087 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:4031 +#: howto/logging-cookbook.rst:4090 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 " @@ -1999,7 +2015,7 @@ msgid "" "different handler instances which happen to point to the same file." msgstr "" -#: howto/logging-cookbook.rst:4037 +#: howto/logging-cookbook.rst:4096 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 " @@ -2009,17 +2025,17 @@ msgid "" "being supposedly in place." msgstr "" -#: howto/logging-cookbook.rst:4044 +#: howto/logging-cookbook.rst:4103 msgid "" "Use the techniques outlined in :ref:`multiple-processes` to circumvent such " "issues." msgstr "" -#: howto/logging-cookbook.rst:4048 +#: howto/logging-cookbook.rst:4107 msgid "Using loggers as attributes in a class or passing them as parameters" msgstr "" -#: howto/logging-cookbook.rst:4050 +#: howto/logging-cookbook.rst:4109 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 " @@ -2030,13 +2046,13 @@ msgid "" "module (and not the class) is the unit of software decomposition." msgstr "" -#: howto/logging-cookbook.rst:4059 +#: howto/logging-cookbook.rst:4118 msgid "" "Adding handlers other than :class:`~logging.NullHandler` to a logger in a " "library" msgstr "" -#: howto/logging-cookbook.rst:4061 +#: howto/logging-cookbook.rst:4120 msgid "" "Configuring logging by adding handlers, formatters and filters is the " "responsibility of the application developer, not the library developer. If " @@ -2044,11 +2060,11 @@ msgid "" "your loggers other than a :class:`~logging.NullHandler` instance." msgstr "" -#: howto/logging-cookbook.rst:4067 +#: howto/logging-cookbook.rst:4126 msgid "Creating a lot of loggers" msgstr "" -#: howto/logging-cookbook.rst:4069 +#: howto/logging-cookbook.rst:4128 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. " @@ -2059,38 +2075,38 @@ msgid "" "occasionally slightly more fine-grained than that)." msgstr "" -#: howto/logging-cookbook.rst:4080 +#: howto/logging-cookbook.rst:4139 msgid "Other resources" msgstr "" -#: howto/logging-cookbook.rst:4085 +#: howto/logging-cookbook.rst:4143 msgid "Module :mod:`logging`" msgstr "" -#: howto/logging-cookbook.rst:4085 +#: howto/logging-cookbook.rst:4144 msgid "API reference for the logging module." msgstr "" -#: howto/logging-cookbook.rst:4088 +#: howto/logging-cookbook.rst:4146 msgid "Module :mod:`logging.config`" msgstr "" -#: howto/logging-cookbook.rst:4088 +#: howto/logging-cookbook.rst:4147 msgid "Configuration API for the logging module." msgstr "" -#: howto/logging-cookbook.rst:4091 +#: howto/logging-cookbook.rst:4149 msgid "Module :mod:`logging.handlers`" msgstr "" -#: howto/logging-cookbook.rst:4091 +#: howto/logging-cookbook.rst:4150 msgid "Useful handlers included with the logging module." msgstr "" -#: howto/logging-cookbook.rst:4093 +#: howto/logging-cookbook.rst:4152 msgid ":ref:`Basic Tutorial `" msgstr "" -#: howto/logging-cookbook.rst:4095 +#: howto/logging-cookbook.rst:4154 msgid ":ref:`Advanced Tutorial `" msgstr "" diff --git a/howto/logging.po b/howto/logging.po index f35d806ce..94e2adc5d 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1418,7 +1418,7 @@ msgstr "" msgid "Other resources" msgstr "" -#: howto/logging.rst:1089 +#: howto/logging.rst:1088 msgid "Module :mod:`logging`" msgstr "" @@ -1426,7 +1426,7 @@ msgstr "" msgid "API reference for the logging module." msgstr "" -#: howto/logging.rst:1092 +#: howto/logging.rst:1091 msgid "Module :mod:`logging.config`" msgstr "" @@ -1434,7 +1434,7 @@ msgstr "" msgid "Configuration API for the logging module." msgstr "" -#: howto/logging.rst:1095 +#: howto/logging.rst:1094 msgid "Module :mod:`logging.handlers`" msgstr "" diff --git a/howto/mro.po b/howto/mro.po new file mode 100644 index 000000000..e7dc066dc --- /dev/null +++ b/howto/mro.po @@ -0,0 +1,604 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2001-2024, Python Software Foundation +# This file is distributed under the same license as the Python package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Python 3.12\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: howto/mro.rst:4 +msgid "The Python 2.3 Method Resolution Order" +msgstr "" + +#: howto/mro.rst:8 +msgid "" +"This is a historical document, provided as an appendix to the official " +"documentation. The Method Resolution Order discussed here was *introduced* " +"in Python 2.3, but it is still used in later versions -- including Python 3." +msgstr "" + +#: howto/mro.rst:13 +msgid "By `Michele Simionato `__." +msgstr "" + +#: howto/mro.rst:0 +msgid "Abstract" +msgstr "" + +#: howto/mro.rst:17 +msgid "" +"*This document is intended for Python programmers who want to understand the " +"C3 Method Resolution Order used in Python 2.3. Although it is not intended " +"for newbies, it is quite pedagogical with many worked out examples. I am " +"not aware of other publicly available documents with the same scope, " +"therefore it should be useful.*" +msgstr "" + +#: howto/mro.rst:23 +msgid "Disclaimer:" +msgstr "" + +#: howto/mro.rst:25 +msgid "" +"*I donate this document to the Python Software Foundation, under the Python " +"2.3 license. As usual in these circumstances, I warn the reader that what " +"follows* should *be correct, but I don't give any warranty. Use it at your " +"own risk and peril!*" +msgstr "" + +#: howto/mro.rst:30 +msgid "Acknowledgments:" +msgstr "" + +#: howto/mro.rst:32 +msgid "" +"*All the people of the Python mailing list who sent me their support. Paul " +"Foley who pointed out various imprecisions and made me to add the part on " +"local precedence ordering. David Goodger for help with the formatting in " +"reStructuredText. David Mertz for help with the editing. Finally, Guido van " +"Rossum who enthusiastically added this document to the official Python 2.3 " +"home-page.*" +msgstr "" + +#: howto/mro.rst:40 +msgid "The beginning" +msgstr "" + +#: howto/mro.rst:42 +msgid "*Felix qui potuit rerum cognoscere causas* -- Virgilius" +msgstr "" + +#: howto/mro.rst:44 +msgid "" +"Everything started with a post by Samuele Pedroni to the Python development " +"mailing list [#]_. In his post, Samuele showed that the Python 2.2 method " +"resolution order is not monotonic and he proposed to replace it with the C3 " +"method resolution order. Guido agreed with his arguments and therefore now " +"Python 2.3 uses C3. The C3 method itself has nothing to do with Python, " +"since it was invented by people working on Dylan and it is described in a " +"paper intended for lispers [#]_. The present paper gives a (hopefully) " +"readable discussion of the C3 algorithm for Pythonistas who want to " +"understand the reasons for the change." +msgstr "" + +#: howto/mro.rst:55 +msgid "" +"First of all, let me point out that what I am going to say only applies to " +"the *new style classes* introduced in Python 2.2: *classic classes* " +"maintain their old method resolution order, depth first and then left to " +"right. Therefore, there is no breaking of old code for classic classes; and " +"even if in principle there could be breaking of code for Python 2.2 new " +"style classes, in practice the cases in which the C3 resolution order " +"differs from the Python 2.2 method resolution order are so rare that no real " +"breaking of code is expected. Therefore:" +msgstr "" + +#: howto/mro.rst:64 +msgid "*Don't be scared!*" +msgstr "" + +#: howto/mro.rst:66 +msgid "" +"Moreover, unless you make strong use of multiple inheritance and you have " +"non-trivial hierarchies, you don't need to understand the C3 algorithm, and " +"you can easily skip this paper. On the other hand, if you really want to " +"know how multiple inheritance works, then this paper is for you. The good " +"news is that things are not as complicated as you might expect." +msgstr "" + +#: howto/mro.rst:73 +msgid "Let me begin with some basic definitions." +msgstr "" + +#: howto/mro.rst:75 +msgid "" +"Given a class C in a complicated multiple inheritance hierarchy, it is a non-" +"trivial task to specify the order in which methods are overridden, i.e. to " +"specify the order of the ancestors of C." +msgstr "" + +#: howto/mro.rst:79 +msgid "" +"The list of the ancestors of a class C, including the class itself, ordered " +"from the nearest ancestor to the furthest, is called the class precedence " +"list or the *linearization* of C." +msgstr "" + +#: howto/mro.rst:83 +msgid "" +"The *Method Resolution Order* (MRO) is the set of rules that construct the " +"linearization. In the Python literature, the idiom \"the MRO of C\" is also " +"used as a synonymous for the linearization of the class C." +msgstr "" + +#: howto/mro.rst:88 +msgid "" +"For instance, in the case of single inheritance hierarchy, if C is a " +"subclass of C1, and C1 is a subclass of C2, then the linearization of C is " +"simply the list [C, C1 , C2]. However, with multiple inheritance " +"hierarchies, the construction of the linearization is more cumbersome, since " +"it is more difficult to construct a linearization that respects *local " +"precedence ordering* and *monotonicity*." +msgstr "" + +#: howto/mro.rst:96 +msgid "" +"I will discuss the local precedence ordering later, but I can give the " +"definition of monotonicity here. A MRO is monotonic when the following is " +"true: *if C1 precedes C2 in the linearization of C, then C1 precedes C2 in " +"the linearization of any subclass of C*. Otherwise, the innocuous operation " +"of deriving a new class could change the resolution order of methods, " +"potentially introducing very subtle bugs. Examples where this happens will " +"be shown later." +msgstr "" + +#: howto/mro.rst:104 +msgid "" +"Not all classes admit a linearization. There are cases, in complicated " +"hierarchies, where it is not possible to derive a class such that its " +"linearization respects all the desired properties." +msgstr "" + +#: howto/mro.rst:108 +msgid "Here I give an example of this situation. Consider the hierarchy" +msgstr "" + +#: howto/mro.rst:116 +msgid "" +"which can be represented with the following inheritance graph, where I have " +"denoted with O the ``object`` class, which is the beginning of any hierarchy " +"for new style classes:" +msgstr "" + +#: howto/mro.rst:133 +msgid "" +"In this case, it is not possible to derive a new class C from A and B, since " +"X precedes Y in A, but Y precedes X in B, therefore the method resolution " +"order would be ambiguous in C." +msgstr "" + +#: howto/mro.rst:137 +msgid "" +"Python 2.3 raises an exception in this situation (TypeError: MRO conflict " +"among bases Y, X) forbidding the naive programmer from creating ambiguous " +"hierarchies. Python 2.2 instead does not raise an exception, but chooses an " +"*ad hoc* ordering (CABXYO in this case)." +msgstr "" + +#: howto/mro.rst:143 +msgid "The C3 Method Resolution Order" +msgstr "" + +#: howto/mro.rst:145 +msgid "" +"Let me introduce a few simple notations which will be useful for the " +"following discussion. I will use the shortcut notation::" +msgstr "" + +#: howto/mro.rst:150 +msgid "to indicate the list of classes [C1, C2, ... , CN]." +msgstr "" + +#: howto/mro.rst:152 +msgid "The *head* of the list is its first element::" +msgstr "" + +#: howto/mro.rst:156 +msgid "whereas the *tail* is the rest of the list::" +msgstr "" + +#: howto/mro.rst:160 +msgid "I shall also use the notation::" +msgstr "" + +#: howto/mro.rst:164 +msgid "to denote the sum of the lists [C] + [C1, C2, ... ,CN]." +msgstr "" + +#: howto/mro.rst:166 +msgid "Now I can explain how the MRO works in Python 2.3." +msgstr "" + +#: howto/mro.rst:168 +msgid "" +"Consider a class C in a multiple inheritance hierarchy, with C inheriting " +"from the base classes B1, B2, ... , BN. We want to compute the " +"linearization L[C] of the class C. The rule is the following:" +msgstr "" + +#: howto/mro.rst:173 +msgid "" +"*the linearization of C is the sum of C plus the merge of the linearizations " +"of the parents and the list of the parents.*" +msgstr "" + +#: howto/mro.rst:176 +msgid "In symbolic notation::" +msgstr "" + +#: howto/mro.rst:180 +msgid "" +"In particular, if C is the ``object`` class, which has no parents, the " +"linearization is trivial::" +msgstr "" + +#: howto/mro.rst:185 +msgid "" +"However, in general one has to compute the merge according to the following " +"prescription:" +msgstr "" + +#: howto/mro.rst:188 +msgid "" +"*take the head of the first list, i.e L[B1][0]; if this head is not in the " +"tail of any of the other lists, then add it to the linearization of C and " +"remove it from the lists in the merge, otherwise look at the head of the " +"next list and take it, if it is a good head. Then repeat the operation " +"until all the class are removed or it is impossible to find good heads. In " +"this case, it is impossible to construct the merge, Python 2.3 will refuse " +"to create the class C and will raise an exception.*" +msgstr "" + +#: howto/mro.rst:197 +msgid "" +"This prescription ensures that the merge operation *preserves* the ordering, " +"if the ordering can be preserved. On the other hand, if the order cannot be " +"preserved (as in the example of serious order disagreement discussed above) " +"then the merge cannot be computed." +msgstr "" + +#: howto/mro.rst:202 +msgid "" +"The computation of the merge is trivial if C has only one parent (single " +"inheritance); in this case::" +msgstr "" + +#: howto/mro.rst:207 +msgid "" +"However, in the case of multiple inheritance things are more cumbersome and " +"I don't expect you can understand the rule without a couple of examples ;-)" +msgstr "" + +#: howto/mro.rst:212 +msgid "Examples" +msgstr "" + +#: howto/mro.rst:214 +msgid "First example. Consider the following hierarchy:" +msgstr "" + +#: howto/mro.rst:224 +msgid "In this case the inheritance graph can be drawn as:" +msgstr "" + +#: howto/mro.rst:251 +msgid "The linearizations of O,D,E and F are trivial::" +msgstr "" + +#: howto/mro.rst:258 +msgid "The linearization of B can be computed as::" +msgstr "" + +#: howto/mro.rst:262 +msgid "" +"We see that D is a good head, therefore we take it and we are reduced to " +"compute ``merge(O,EO,E)``. Now O is not a good head, since it is in the " +"tail of the sequence EO. In this case the rule says that we have to skip to " +"the next sequence. Then we see that E is a good head; we take it and we are " +"reduced to compute ``merge(O,O)`` which gives O. Therefore::" +msgstr "" + +#: howto/mro.rst:270 +msgid "Using the same procedure one finds::" +msgstr "" + +#: howto/mro.rst:277 +msgid "Now we can compute::" +msgstr "" + +#: howto/mro.rst:287 +msgid "" +"In this example, the linearization is ordered in a pretty nice way according " +"to the inheritance level, in the sense that lower levels (i.e. more " +"specialized classes) have higher precedence (see the inheritance graph). " +"However, this is not the general case." +msgstr "" + +#: howto/mro.rst:292 +msgid "" +"I leave as an exercise for the reader to compute the linearization for my " +"second example:" +msgstr "" + +#: howto/mro.rst:303 +msgid "" +"The only difference with the previous example is the change B(D,E) --> B(E," +"D); however even such a little modification completely changes the ordering " +"of the hierarchy:" +msgstr "" + +#: howto/mro.rst:332 +msgid "" +"Notice that the class E, which is in the second level of the hierarchy, " +"precedes the class C, which is in the first level of the hierarchy, i.e. E " +"is more specialized than C, even if it is in a higher level." +msgstr "" + +#: howto/mro.rst:336 +msgid "" +"A lazy programmer can obtain the MRO directly from Python 2.2, since in this " +"case it coincides with the Python 2.3 linearization. It is enough to invoke " +"the .mro() method of class A:" +msgstr "" + +#: howto/mro.rst:345 +msgid "" +"Finally, let me consider the example discussed in the first section, " +"involving a serious order disagreement. In this case, it is straightforward " +"to compute the linearizations of O, X, Y, A and B:" +msgstr "" + +#: howto/mro.rst:357 +msgid "" +"However, it is impossible to compute the linearization for a class C that " +"inherits from A and B::" +msgstr "" + +#: howto/mro.rst:364 +msgid "" +"At this point we cannot merge the lists XYO and YXO, since X is in the tail " +"of YXO whereas Y is in the tail of XYO: therefore there are no good heads " +"and the C3 algorithm stops. Python 2.3 raises an error and refuses to " +"create the class C." +msgstr "" + +#: howto/mro.rst:370 +msgid "Bad Method Resolution Orders" +msgstr "" + +#: howto/mro.rst:372 +msgid "" +"A MRO is *bad* when it breaks such fundamental properties as local " +"precedence ordering and monotonicity. In this section, I will show that " +"both the MRO for classic classes and the MRO for new style classes in Python " +"2.2 are bad." +msgstr "" + +#: howto/mro.rst:377 +msgid "" +"It is easier to start with the local precedence ordering. Consider the " +"following example:" +msgstr "" + +#: howto/mro.rst:384 +msgid "with inheritance diagram" +msgstr "" + +#: howto/mro.rst:399 +msgid "" +"We see that class G inherits from F and E, with F *before* E: therefore we " +"would expect the attribute *G.remember2buy* to be inherited by *F." +"rembermer2buy* and not by *E.remember2buy*: nevertheless Python 2.2 gives" +msgstr "" + +#: howto/mro.rst:407 +msgid "" +"This is a breaking of local precedence ordering since the order in the local " +"precedence list, i.e. the list of the parents of G, is not preserved in the " +"Python 2.2 linearization of G::" +msgstr "" + +#: howto/mro.rst:413 +msgid "" +"One could argue that the reason why F follows E in the Python 2.2 " +"linearization is that F is less specialized than E, since F is the " +"superclass of E; nevertheless the breaking of local precedence ordering is " +"quite non-intuitive and error prone. This is particularly true since it is " +"a different from old style classes:" +msgstr "" + +#: howto/mro.rst:425 +msgid "" +"In this case the MRO is GFEF and the local precedence ordering is preserved." +msgstr "" + +#: howto/mro.rst:428 +msgid "" +"As a general rule, hierarchies such as the previous one should be avoided, " +"since it is unclear if F should override E or viceversa. Python 2.3 solves " +"the ambiguity by raising an exception in the creation of class G, " +"effectively stopping the programmer from generating ambiguous hierarchies. " +"The reason for that is that the C3 algorithm fails when the merge::" +msgstr "" + +#: howto/mro.rst:437 +msgid "" +"cannot be computed, because F is in the tail of EFO and E is in the tail of " +"FE." +msgstr "" + +#: howto/mro.rst:440 +msgid "" +"The real solution is to design a non-ambiguous hierarchy, i.e. to derive G " +"from E and F (the more specific first) and not from F and E; in this case " +"the MRO is GEF without any doubt." +msgstr "" + +#: howto/mro.rst:456 +msgid "" +"Python 2.3 forces the programmer to write good hierarchies (or, at least, " +"less error-prone ones)." +msgstr "" + +#: howto/mro.rst:459 +msgid "" +"On a related note, let me point out that the Python 2.3 algorithm is smart " +"enough to recognize obvious mistakes, as the duplication of classes in the " +"list of parents:" +msgstr "" + +#: howto/mro.rst:469 +msgid "" +"Python 2.2 (both for classic classes and new style classes) in this " +"situation, would not raise any exception." +msgstr "" + +#: howto/mro.rst:472 +msgid "" +"Finally, I would like to point out two lessons we have learned from this " +"example:" +msgstr "" + +#: howto/mro.rst:475 +msgid "" +"despite the name, the MRO determines the resolution order of attributes, not " +"only of methods;" +msgstr "" + +#: howto/mro.rst:478 +msgid "" +"the default food for Pythonistas is spam ! (but you already knew that ;-)" +msgstr "" + +#: howto/mro.rst:481 +msgid "" +"Having discussed the issue of local precedence ordering, let me now consider " +"the issue of monotonicity. My goal is to show that neither the MRO for " +"classic classes nor that for Python 2.2 new style classes is monotonic." +msgstr "" + +#: howto/mro.rst:486 +msgid "" +"To prove that the MRO for classic classes is non-monotonic is rather " +"trivial, it is enough to look at the diamond diagram:" +msgstr "" + +#: howto/mro.rst:500 +msgid "One easily discerns the inconsistency::" +msgstr "" + +#: howto/mro.rst:505 +msgid "" +"On the other hand, there are no problems with the Python 2.2 and 2.3 MROs, " +"they give both::" +msgstr "" + +#: howto/mro.rst:510 +msgid "" +"Guido points out in his essay [#]_ that the classic MRO is not so bad in " +"practice, since one can typically avoids diamonds for classic classes. But " +"all new style classes inherit from ``object``, therefore diamonds are " +"unavoidable and inconsistencies shows up in every multiple inheritance graph." +msgstr "" + +#: howto/mro.rst:516 +msgid "" +"The MRO of Python 2.2 makes breaking monotonicity difficult, but not " +"impossible. The following example, originally provided by Samuele Pedroni, " +"shows that the MRO of Python 2.2 is non-monotonic:" +msgstr "" + +#: howto/mro.rst:530 +msgid "" +"Here are the linearizations according to the C3 MRO (the reader should " +"verify these linearizations as an exercise and draw the inheritance " +"diagram ;-) ::" +msgstr "" + +#: howto/mro.rst:544 +msgid "" +"Python 2.2 gives exactly the same linearizations for A, B, C, D, E, K1, K2 " +"and K3, but a different linearization for Z::" +msgstr "" + +#: howto/mro.rst:549 +msgid "" +"It is clear that this linearization is *wrong*, since A comes before D " +"whereas in the linearization of K3 A comes *after* D. In other words, in K3 " +"methods derived by D override methods derived by A, but in Z, which still is " +"a subclass of K3, methods derived by A override methods derived by D! This " +"is a violation of monotonicity. Moreover, the Python 2.2 linearization of Z " +"is also inconsistent with local precedence ordering, since the local " +"precedence list of the class Z is [K1, K2, K3] (K2 precedes K3), whereas in " +"the linearization of Z K2 *follows* K3. These problems explain why the 2.2 " +"rule has been dismissed in favor of the C3 rule." +msgstr "" + +#: howto/mro.rst:561 +msgid "The end" +msgstr "" + +#: howto/mro.rst:563 +msgid "" +"This section is for the impatient reader, who skipped all the previous " +"sections and jumped immediately to the end. This section is for the lazy " +"programmer too, who didn't want to exercise her/his brain. Finally, it is " +"for the programmer with some hubris, otherwise s/he would not be reading a " +"paper on the C3 method resolution order in multiple inheritance " +"hierarchies ;-) These three virtues taken all together (and *not* " +"separately) deserve a prize: the prize is a short Python 2.2 script that " +"allows you to compute the 2.3 MRO without risk to your brain. Simply change " +"the last line to play with the various examples I have discussed in this " +"paper.::" +msgstr "" + +#: howto/mro.rst:656 +msgid "That's all folks," +msgstr "" + +#: howto/mro.rst:658 +msgid "enjoy !" +msgstr "" + +#: howto/mro.rst:662 +msgid "Resources" +msgstr "" + +#: howto/mro.rst:664 +msgid "" +"The thread on python-dev started by Samuele Pedroni: https://mail.python.org/" +"pipermail/python-dev/2002-October/029035.html" +msgstr "" + +#: howto/mro.rst:667 +msgid "" +"The paper *A Monotonic Superclass Linearization for Dylan*: https://doi." +"org/10.1145/236337.236343" +msgstr "" + +#: howto/mro.rst:670 +msgid "" +"Guido van Rossum's essay, *Unifying types and classes in Python 2.2*: " +"https://web.archive.org/web/20140210194412/http://www.python.org/download/" +"releases/2.2.2/descrintro" +msgstr "" diff --git a/howto/regex.po b/howto/regex.po index 26b1438bf..f00cca248 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -191,7 +191,7 @@ msgid "" "character that's in the appropriate category in the Unicode database." msgstr "" -#: howto/regex.rst:131 +#: howto/regex.rst:130 msgid "``\\d``" msgstr "" @@ -199,7 +199,7 @@ msgstr "" msgid "Matches any decimal digit; this is equivalent to the class ``[0-9]``." msgstr "" -#: howto/regex.rst:134 +#: howto/regex.rst:133 msgid "``\\D``" msgstr "" @@ -208,7 +208,7 @@ msgid "" "Matches any non-digit character; this is equivalent to the class ``[^0-9]``." msgstr "" -#: howto/regex.rst:138 +#: howto/regex.rst:136 msgid "``\\s``" msgstr "" @@ -218,7 +218,7 @@ msgid "" "``[ \\t\\n\\r\\f\\v]``." msgstr "" -#: howto/regex.rst:142 +#: howto/regex.rst:140 msgid "``\\S``" msgstr "" @@ -228,7 +228,7 @@ msgid "" "\\t\\n\\r\\f\\v]``." msgstr "" -#: howto/regex.rst:146 +#: howto/regex.rst:144 msgid "``\\w``" msgstr "" @@ -238,7 +238,7 @@ msgid "" "Z0-9_]``." msgstr "" -#: howto/regex.rst:150 +#: howto/regex.rst:148 msgid "``\\W``" msgstr "" @@ -1035,7 +1035,7 @@ msgid "" "of times." msgstr "" -#: howto/regex.rst:704 +#: howto/regex.rst:696 msgid "``|``" msgstr "" @@ -1055,7 +1055,7 @@ msgid "" "class, as in ``[|]``." msgstr "" -#: howto/regex.rst:719 +#: howto/regex.rst:706 msgid "``^``" msgstr "" @@ -1077,7 +1077,7 @@ msgstr "" msgid "To match a literal ``'^'``, use ``\\^``." msgstr "" -#: howto/regex.rst:733 +#: howto/regex.rst:721 msgid "``$``" msgstr "" @@ -1093,7 +1093,7 @@ msgid "" "class, as in ``[$]``." msgstr "" -#: howto/regex.rst:739 +#: howto/regex.rst:735 msgid "``\\A``" msgstr "" @@ -1106,7 +1106,7 @@ msgid "" "newline character." msgstr "" -#: howto/regex.rst:742 +#: howto/regex.rst:741 msgid "``\\Z``" msgstr "" @@ -1114,7 +1114,7 @@ msgstr "" msgid "Matches only at the end of the string." msgstr "" -#: howto/regex.rst:777 +#: howto/regex.rst:744 msgid "``\\b``" msgstr "" @@ -1150,7 +1150,7 @@ msgid "" "string literals." msgstr "" -#: howto/regex.rst:782 +#: howto/regex.rst:779 msgid "``\\B``" msgstr "" @@ -1373,7 +1373,7 @@ msgid "" "this:" msgstr "" -#: howto/regex.rst:990 +#: howto/regex.rst:985 msgid "``(?=...)``" msgstr "" @@ -1386,7 +1386,7 @@ msgid "" "is tried right where the assertion started." msgstr "" -#: howto/regex.rst:995 +#: howto/regex.rst:992 msgid "``(?!...)``" msgstr "" diff --git a/library/__future__.po b/library/__future__.po index 281227522..202e540ff 100644 --- a/library/__future__.po +++ b/library/__future__.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -269,7 +269,7 @@ msgid "" "final decision has been made yet. See also :pep:`563` and :pep:`649`." msgstr "" -#: library/__future__.rst:128 +#: library/__future__.rst:127 msgid ":ref:`future`" msgstr "" diff --git a/library/array.po b/library/array.po index 53760d67c..56cf7c222 100644 --- a/library/array.po +++ b/library/array.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -407,7 +407,7 @@ msgid "" "defined if it contains corresponding floating point values. Examples::" msgstr "" -#: library/array.rst:268 +#: library/array.rst:267 msgid "Module :mod:`struct`" msgstr "" @@ -415,7 +415,7 @@ msgstr "" msgid "Packing and unpacking of heterogeneous binary data." msgstr "" -#: library/array.rst:272 +#: library/array.rst:270 msgid "Module :mod:`xdrlib`" msgstr "" diff --git a/library/ast.po b/library/ast.po index cbe2c525d..8d9b61286 100644 --- a/library/ast.po +++ b/library/ast.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1433,24 +1433,24 @@ msgstr "" #: library/ast.rst:2523 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." +"`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:2527 +#: library/ast.rst:2528 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:2532 +#: library/ast.rst:2533 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." +"in your Python file." msgstr "" #: library/ast.rst:59 diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 304ecfa4e..20cb71d2b 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1640,7 +1640,7 @@ msgstr "" msgid "'socket' (optional): :class:`socket.socket` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1372 +#: library/asyncio-eventloop.rst:1371 msgid "'asyncgen' (optional): Asynchronous generator that caused" msgstr "" diff --git a/library/atexit.po b/library/atexit.po index 64251de1e..96896b458 100644 --- a/library/atexit.po +++ b/library/atexit.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -104,7 +104,7 @@ msgid "" "references do not need to have matching identities." msgstr "" -#: library/atexit.rst:75 +#: library/atexit.rst:74 msgid "Module :mod:`readline`" msgstr "" diff --git a/library/base64.po b/library/base64.po index c0ccef395..e84f18428 100644 --- a/library/base64.po +++ b/library/base64.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -360,7 +360,7 @@ msgid "" "production." msgstr "" -#: library/base64.rst:306 +#: library/base64.rst:305 msgid "Module :mod:`binascii`" msgstr "" @@ -369,7 +369,7 @@ msgid "" "Support module containing ASCII-to-binary and binary-to-ASCII conversions." msgstr "" -#: library/base64.rst:309 +#: library/base64.rst:308 msgid "" ":rfc:`1521` - MIME (Multipurpose Internet Mail Extensions) Part One: " "Mechanisms for Specifying and Describing the Format of Internet Message " diff --git a/library/bdb.po b/library/bdb.po index 35ad18208..e04fbfbc1 100644 --- a/library/bdb.po +++ b/library/bdb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -352,112 +352,118 @@ msgid "" "function." msgstr "" -#: library/bdb.rst:245 +#: library/bdb.rst:243 +msgid "" +"*argument_list* is not used anymore and will always be ``None``. The " +"argument is kept for backwards compatibility." +msgstr "" + +#: library/bdb.rst:248 msgid "" "Called from :meth:`dispatch_line` when either :meth:`stop_here` or :meth:" "`break_here` returns ``True``." msgstr "" -#: library/bdb.rst:250 +#: library/bdb.rst:253 msgid "" "Called from :meth:`dispatch_return` when :meth:`stop_here` returns ``True``." msgstr "" -#: library/bdb.rst:254 +#: library/bdb.rst:257 msgid "" "Called from :meth:`dispatch_exception` when :meth:`stop_here` returns " "``True``." msgstr "" -#: library/bdb.rst:259 +#: library/bdb.rst:262 msgid "Handle how a breakpoint must be removed when it is a temporary one." msgstr "" -#: library/bdb.rst:261 +#: library/bdb.rst:264 msgid "This method must be implemented by derived classes." msgstr "" -#: library/bdb.rst:264 +#: library/bdb.rst:267 msgid "" "Derived classes and clients can call the following methods to affect the " "stepping state." msgstr "" -#: library/bdb.rst:269 +#: library/bdb.rst:272 msgid "Stop after one line of code." msgstr "" -#: library/bdb.rst:273 +#: library/bdb.rst:276 msgid "Stop on the next line in or below the given frame." msgstr "" -#: library/bdb.rst:277 +#: library/bdb.rst:280 msgid "Stop when returning from the given frame." msgstr "" -#: library/bdb.rst:281 +#: library/bdb.rst:284 msgid "" "Stop when the line with the *lineno* greater than the current one is reached " "or when returning from current frame." msgstr "" -#: library/bdb.rst:286 +#: library/bdb.rst:289 msgid "" "Start debugging from *frame*. If *frame* is not specified, debugging starts " "from caller's frame." msgstr "" -#: library/bdb.rst:291 +#: library/bdb.rst:294 msgid "" "Stop only at breakpoints or when finished. If there are no breakpoints, set " "the system trace function to ``None``." msgstr "" -#: library/bdb.rst:298 +#: library/bdb.rst:301 msgid "" "Set the :attr:`!quitting` attribute to ``True``. This raises :exc:`BdbQuit` " "in the next call to one of the :meth:`!dispatch_\\*` methods." msgstr "" -#: library/bdb.rst:302 +#: library/bdb.rst:305 msgid "" "Derived classes and clients can call the following methods to manipulate " "breakpoints. These methods return a string containing an error message if " "something went wrong, or ``None`` if all is well." msgstr "" -#: library/bdb.rst:308 +#: library/bdb.rst:311 msgid "" "Set a new breakpoint. If the *lineno* line doesn't exist for the *filename* " "passed as argument, return an error message. The *filename* should be in " "canonical form, as described in the :meth:`canonic` method." msgstr "" -#: library/bdb.rst:314 +#: library/bdb.rst:317 msgid "" "Delete the breakpoints in *filename* and *lineno*. If none were set, return " "an error message." msgstr "" -#: library/bdb.rst:319 +#: library/bdb.rst:322 msgid "" "Delete the breakpoint which has the index *arg* in the :attr:`Breakpoint." "bpbynumber`. If *arg* is not numeric or out of range, return an error " "message." msgstr "" -#: library/bdb.rst:325 +#: library/bdb.rst:328 msgid "" "Delete all breakpoints in *filename*. If none were set, return an error " "message." msgstr "" -#: library/bdb.rst:330 +#: library/bdb.rst:333 msgid "" "Delete all existing breakpoints. If none were set, return an error message." msgstr "" -#: library/bdb.rst:335 +#: library/bdb.rst:338 msgid "" "Return a breakpoint specified by the given number. If *arg* is a string, it " "will be converted to a number. If *arg* is a non-numeric string, if the " @@ -465,103 +471,103 @@ msgid "" "raised." msgstr "" -#: library/bdb.rst:344 +#: library/bdb.rst:347 msgid "Return True if there is a breakpoint for *lineno* in *filename*." msgstr "" -#: library/bdb.rst:348 +#: library/bdb.rst:351 msgid "" "Return all breakpoints for *lineno* in *filename*, or an empty list if none " "are set." msgstr "" -#: library/bdb.rst:353 +#: library/bdb.rst:356 msgid "Return all breakpoints in *filename*, or an empty list if none are set." msgstr "" -#: library/bdb.rst:357 +#: library/bdb.rst:360 msgid "Return all breakpoints that are set." msgstr "" -#: library/bdb.rst:360 +#: library/bdb.rst:363 msgid "" "Derived classes and clients can call the following methods to get a data " "structure representing a stack trace." msgstr "" -#: library/bdb.rst:365 +#: library/bdb.rst:368 msgid "Return a list of (frame, lineno) tuples in a stack trace, and a size." msgstr "" -#: library/bdb.rst:367 +#: library/bdb.rst:370 msgid "" "The most recently called frame is last in the list. The size is the number " "of frames below the frame where the debugger was invoked." msgstr "" -#: library/bdb.rst:372 +#: library/bdb.rst:375 msgid "" "Return a string with information about a stack entry, which is a ``(frame, " "lineno)`` tuple. The return string contains:" msgstr "" -#: library/bdb.rst:375 +#: library/bdb.rst:378 msgid "The canonical filename which contains the frame." msgstr "" -#: library/bdb.rst:376 +#: library/bdb.rst:379 msgid "The function name or ``\"\"``." msgstr "" -#: library/bdb.rst:377 +#: library/bdb.rst:380 msgid "The input arguments." msgstr "" -#: library/bdb.rst:378 +#: library/bdb.rst:381 msgid "The return value." msgstr "" -#: library/bdb.rst:379 +#: library/bdb.rst:382 msgid "The line of code (if it exists)." msgstr "" -#: library/bdb.rst:382 +#: library/bdb.rst:385 msgid "" "The following two methods can be called by clients to use a debugger to " "debug a :term:`statement`, given as a string." msgstr "" -#: library/bdb.rst:387 +#: library/bdb.rst:390 msgid "" "Debug a statement executed via the :func:`exec` function. *globals* " "defaults to :attr:`!__main__.__dict__`, *locals* defaults to *globals*." msgstr "" -#: library/bdb.rst:392 +#: library/bdb.rst:395 msgid "" "Debug an expression executed via the :func:`eval` function. *globals* and " "*locals* have the same meaning as in :meth:`run`." msgstr "" -#: library/bdb.rst:397 +#: library/bdb.rst:400 msgid "For backwards compatibility. Calls the :meth:`run` method." msgstr "" -#: library/bdb.rst:401 +#: library/bdb.rst:404 msgid "Debug a single function call, and return its result." msgstr "" -#: library/bdb.rst:404 +#: library/bdb.rst:407 msgid "Finally, the module defines the following functions:" msgstr "" -#: library/bdb.rst:408 +#: library/bdb.rst:411 msgid "" "Return True if we should break here, depending on the way the :class:" "`Breakpoint` *b* was set." msgstr "" -#: library/bdb.rst:411 +#: library/bdb.rst:414 msgid "" "If it was set via line number, it checks if :attr:`b.line ` is the same as the one in *frame*. If the breakpoint was set via :" @@ -570,13 +576,13 @@ msgid "" "line." msgstr "" -#: library/bdb.rst:420 +#: library/bdb.rst:423 msgid "" "Return ``(active breakpoint, delete temporary flag)`` or ``(None, None)`` as " "the breakpoint to act upon." msgstr "" -#: library/bdb.rst:423 +#: library/bdb.rst:426 msgid "" "The *active breakpoint* is the first entry in :attr:`bplist ` for the (:attr:`file `, :attr:`line ` count is ignored)." msgstr "" -#: library/bdb.rst:434 +#: library/bdb.rst:437 msgid "If no such entry exists, then (None, None) is returned." msgstr "" -#: library/bdb.rst:439 +#: library/bdb.rst:442 msgid "Start debugging with a :class:`Bdb` instance from caller's frame." msgstr "" -#: library/bdb.rst:296 +#: library/bdb.rst:299 msgid "quitting (bdb.Bdb attribute)" msgstr "" diff --git a/library/binascii.po b/library/binascii.po index db6b779f4..1bce9ccbe 100644 --- a/library/binascii.po +++ b/library/binascii.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -205,7 +205,7 @@ msgid "" "errors, but may be handled by reading a little more data and trying again." msgstr "" -#: library/binascii.rst:181 +#: library/binascii.rst:179 msgid "Module :mod:`base64`" msgstr "" @@ -214,7 +214,7 @@ msgid "" "Support for RFC compliant base64-style encoding in base 16, 32, 64, and 85." msgstr "" -#: library/binascii.rst:184 +#: library/binascii.rst:183 msgid "Module :mod:`uu`" msgstr "" diff --git a/library/calendar.po b/library/calendar.po index 430ce0a3e..b0f4be604 100644 --- a/library/calendar.po +++ b/library/calendar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -470,7 +470,7 @@ msgstr "" msgid "The invalid weekday number." msgstr "" -#: library/calendar.rst:495 +#: library/calendar.rst:493 msgid "Module :mod:`datetime`" msgstr "" diff --git a/library/cgi.po b/library/cgi.po index 3f3425dff..122d66762 100644 --- a/library/cgi.po +++ b/library/cgi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -34,9 +34,8 @@ msgstr "" msgid "" "The :class:`FieldStorage` class can typically be replaced with :func:`urllib." "parse.parse_qsl` for ``GET`` and ``HEAD`` requests, and the :mod:`email." -"message` module or `multipart `_ for " -"``POST`` and ``PUT``. Most :ref:`utility functions ` have replacements." +"message` module or :pypi:`multipart` for ``POST`` and ``PUT``. Most :ref:" +"`utility functions ` have replacements." msgstr "" #: library/cgi.rst:30 @@ -409,8 +408,7 @@ msgid "" "This function, like the rest of the :mod:`cgi` module, is deprecated. It can " "be replaced with the functionality in the :mod:`email` package (e.g. :class:" "`email.message.EmailMessage`/:class:`email.message.Message`) which " -"implements the same MIME RFCs, or with the `multipart `__ PyPI project." +"implements the same MIME RFCs, or with the :pypi:`multipart` PyPI project." msgstr "" #: library/cgi.rst:342 diff --git a/library/code.po b/library/code.po index 565a1b342..5c443f714 100644 --- a/library/code.po +++ b/library/code.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -54,10 +54,10 @@ msgid "" "instance of :class:`InteractiveConsole` and sets *readfunc* to be used as " "the :meth:`InteractiveConsole.raw_input` method, if provided. If *local* is " "provided, it is passed to the :class:`InteractiveConsole` constructor for " -"use as the default namespace for the interpreter loop. The :meth:`interact` " -"method of the instance is then run with *banner* and *exitmsg* passed as the " -"banner and exit message to use, if provided. The console object is " -"discarded after use." +"use as the default namespace for the interpreter loop. The :meth:" +"`~InteractiveConsole.interact` method of the instance is then run with " +"*banner* and *exitmsg* passed as the banner and exit message to use, if " +"provided. The console object is discarded after use." msgstr "" #: library/code.rst:44 diff --git a/library/codecs.po b/library/codecs.po index 999cefe4d..1bcab024a 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2550,7 +2550,7 @@ msgstr "" #: library/codecs.rst:1481 msgid "" "If you need the IDNA 2008 standard from :rfc:`5891` and :rfc:`5895`, use the " -"third-party `idna module `_." +"third-party :pypi:`idna` module." msgstr "" #: library/codecs.rst:1484 diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index 7e35bd41b..cb4ca3683 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -558,7 +558,7 @@ msgid "" "*timeout* is not specified or ``None``, there is no limit to the wait time." msgstr "" -#: library/concurrent.futures.rst:522 +#: library/concurrent.futures.rst:521 msgid ":pep:`3148` -- futures - execute computations asynchronously" msgstr "" diff --git a/library/configparser.po b/library/configparser.po index c2571fdad..67bf3bbb5 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -38,7 +38,7 @@ msgid "" "the Windows Registry extended version of INI syntax." msgstr "" -#: library/configparser.rst:38 +#: library/configparser.rst:36 msgid "Module :mod:`tomllib`" msgstr "" @@ -48,7 +48,7 @@ msgid "" "specifically designed to be an improved version of INI." msgstr "" -#: library/configparser.rst:42 +#: library/configparser.rst:40 msgid "Module :mod:`shlex`" msgstr "" @@ -58,7 +58,7 @@ msgid "" "for application configuration files." msgstr "" -#: library/configparser.rst:45 +#: library/configparser.rst:44 msgid "Module :mod:`json`" msgstr "" diff --git a/library/contextlib.po b/library/contextlib.po index a8f171bd2..213e18b8b 100644 --- a/library/contextlib.po +++ b/library/contextlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -740,7 +740,7 @@ msgid "" "use an explicit ``with`` statement." msgstr "" -#: library/contextlib.rst:888 +#: library/contextlib.rst:887 msgid ":pep:`343` - The \"with\" statement" msgstr "" diff --git a/library/copy.po b/library/copy.po index 61d53cef6..b7c2ca1bc 100644 --- a/library/copy.po +++ b/library/copy.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -139,7 +139,7 @@ msgid "" "opaque object." msgstr "" -#: library/copy.rst:95 +#: library/copy.rst:94 msgid "Module :mod:`pickle`" msgstr "" diff --git a/library/crypt.po b/library/crypt.po index 552e91c84..c95bb2ac9 100644 --- a/library/crypt.po +++ b/library/crypt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,8 +28,8 @@ msgstr "" msgid "" "The :mod:`crypt` module is deprecated (see :pep:`PEP 594 <594#crypt>` for " "details and alternatives). The :mod:`hashlib` module is a potential " -"replacement for certain use cases. The `passlib `_ package can replace all use cases of this module." +"replacement for certain use cases. The :pypi:`passlib` package can replace " +"all use cases of this module." msgstr "" #: library/crypt.rst:27 diff --git a/library/ctypes.po b/library/ctypes.po index 348d85c13..f458f20f6 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1793,7 +1793,7 @@ msgid "" "the parameter:" msgstr "" -#: library/ctypes.rst:1785 +#: library/ctypes.rst:1784 msgid "1" msgstr "" @@ -1801,7 +1801,7 @@ msgstr "" msgid "Specifies an input parameter to the function." msgstr "" -#: library/ctypes.rst:1788 +#: library/ctypes.rst:1787 msgid "2" msgstr "" @@ -1809,7 +1809,7 @@ msgstr "" msgid "Output parameter. The foreign function fills in a value." msgstr "" -#: library/ctypes.rst:1791 +#: library/ctypes.rst:1790 msgid "4" msgstr "" @@ -2125,15 +2125,14 @@ msgstr "" #: library/ctypes.rst:2077 msgid "" -"This function returns the C string starting at memory address *address* as a " -"bytes object. If size is specified, it is used as size, otherwise the string " -"is assumed to be zero-terminated." +"Return the byte string at *void \\*ptr*. If *size* is specified, it is used " +"as size, otherwise the string is assumed to be zero-terminated." msgstr "" #: library/ctypes.rst:2081 msgid "" "Raises an :ref:`auditing event ` ``ctypes.string_at`` with " -"arguments ``address``, ``size``." +"arguments ``ptr``, ``size``." msgstr "" #: library/ctypes.rst:2086 @@ -2153,16 +2152,15 @@ msgstr "" #: library/ctypes.rst:2099 msgid "" -"This function returns the wide character string starting at memory address " -"*address* as a string. If *size* is specified, it is used as the number of " -"characters of the string, otherwise the string is assumed to be zero-" -"terminated." +"Return the wide-character string at *void \\*ptr*. If *size* is specified, " +"it is used as the number of characters of the string, otherwise the string " +"is assumed to be zero-terminated." msgstr "" #: library/ctypes.rst:2104 msgid "" "Raises an :ref:`auditing event ` ``ctypes.wstring_at`` with " -"arguments ``address``, ``size``." +"arguments ``ptr``, ``size``." msgstr "" #: library/ctypes.rst:2110 diff --git a/library/curses.po b/library/curses.po index 1f8c8d177..5878eb00c 100644 --- a/library/curses.po +++ b/library/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -50,7 +50,7 @@ msgid "" "as a Unicode string or a byte string." msgstr "" -#: library/curses.rst:35 +#: library/curses.rst:34 msgid "Module :mod:`curses.ascii`" msgstr "" @@ -60,7 +60,7 @@ msgid "" "settings." msgstr "" -#: library/curses.rst:38 +#: library/curses.rst:37 msgid "Module :mod:`curses.panel`" msgstr "" @@ -68,7 +68,7 @@ msgstr "" msgid "A panel stack extension that adds depth to curses windows." msgstr "" -#: library/curses.rst:41 +#: library/curses.rst:40 msgid "Module :mod:`curses.textpad`" msgstr "" @@ -78,7 +78,7 @@ msgid "" "bindings." msgstr "" -#: library/curses.rst:44 +#: library/curses.rst:43 msgid ":ref:`curses-howto`" msgstr "" diff --git a/library/dataclasses.po b/library/dataclasses.po index 021c59a99..2fe21a746 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+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:`~object.__init__` and :" -"meth:`~object.__repr__` to user-defined classes. It was originally " -"described in :pep:`557`." +"generated :term:`special methods ` 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 @@ -45,7 +45,7 @@ msgstr "" #: library/dataclasses.rst:41 msgid "" "Note that this method is automatically added to the class: it is not " -"directly specified in the ``InventoryItem`` definition shown above." +"directly specified in the :class:`!InventoryItem` definition shown above." msgstr "" #: library/dataclasses.rst:47 @@ -94,7 +94,7 @@ msgstr "" #: library/dataclasses.rst:89 msgid "" -"``init``: If true (the default), a :meth:`~object.__init__` method will be " +"*init*: If true (the default), a :meth:`~object.__init__` method will be " "generated." msgstr "" @@ -105,7 +105,7 @@ msgstr "" #: library/dataclasses.rst:95 msgid "" -"``repr``: If true (the default), a :meth:`~object.__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 " @@ -120,7 +120,7 @@ msgstr "" #: library/dataclasses.rst:105 msgid "" -"``eq``: If true (the default), an :meth:`~object.__eq__` method will be " +"*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." @@ -133,12 +133,11 @@ msgstr "" #: library/dataclasses.rst:113 msgid "" -"``order``: If true (the default is ``False``), :meth:`~object.__lt__`, :meth:" +"*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." +"type. If *order* is true and *eq* is false, a :exc:`ValueError` is raised." msgstr "" #: library/dataclasses.rst:120 @@ -149,8 +148,8 @@ msgstr "" #: library/dataclasses.rst:124 msgid "" -"``unsafe_hash``: If ``False`` (the default), a :meth:`~object.__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 @@ -159,7 +158,7 @@ msgid "" "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`` " +"and behavior of :meth:`!__eq__`, and the values of the *eq* and *frozen* " "flags in the ``@dataclass`` decorator." msgstr "" @@ -192,18 +191,18 @@ msgstr "" #: library/dataclasses.rst:152 msgid "" -"If ``eq`` and ``frozen`` are both true, by default ``@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)." +"If *eq* and *frozen* are both true, by default ``@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)." msgstr "" #: library/dataclasses.rst:160 msgid "" -"``frozen``: If true (the default is ``False``), assigning to fields will " +"*frozen*: If true (the default is ``False``), assigning to fields will " "generate an exception. This emulates read-only frozen instances. If :meth:" "`~object.__setattr__` or :meth:`~object.__delattr__` is defined in the " "class, then :exc:`TypeError` is raised. See the discussion below." @@ -211,18 +210,18 @@ 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:" -"`~object.__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." +"*match_args*: If true (the default is ``True``), the :attr:`~object." +"__match_args__` tuple will be created from the list of parameters to the " +"generated :meth:`~object.__init__` method (even if :meth:`!__init__` is not " +"generated, see above). If false, or if :attr:`!__match_args__` is already " +"defined in the class, then :attr:`!__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:`~object.__init__` parameter generated from a " +"*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:`~object.__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` " @@ -231,7 +230,7 @@ msgstr "" #: library/dataclasses.rst:185 msgid "" -"``slots``: If true (the default is ``False``), :attr:`~object.__slots__` " +"*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:`!__slots__` is already defined in the class, then :" "exc:`TypeError` is raised." @@ -239,17 +238,17 @@ msgstr "" #: library/dataclasses.rst:192 msgid "" -"If a field name is already included in the ``__slots__`` of a base class, it " -"will not be included in the generated ``__slots__`` to prevent :ref:" -"`overriding them `. Therefore, do not use " -"``__slots__`` to retrieve the field names of a dataclass. Use :func:`fields` " -"instead. To be able to determine inherited slots, base class ``__slots__`` " -"may be any iterable, but *not* an iterator." +"If a field name is already included in the :attr:`!__slots__` of a base " +"class, it will not be included in the generated :attr:`!__slots__` to " +"prevent :ref:`overriding them `. Therefore, do not " +"use :attr:`!__slots__` to retrieve the field names of a dataclass. Use :func:" +"`fields` instead. To be able to determine inherited slots, base class :attr:" +"`!__slots__` may be any iterable, but *not* an iterator." msgstr "" #: library/dataclasses.rst:202 msgid "" -"``weakref_slot``: If true (the default is ``False``), add a slot named " +"*weakref_slot*: If true (the default is ``False``), add a slot named " "\"__weakref__\", which is required to make an instance weakref-able. It is " "an error to specify ``weakref_slot=True`` without also specifying " "``slots=True``." @@ -263,8 +262,8 @@ msgstr "" #: library/dataclasses.rst:217 msgid "" -"In this example, both ``a`` and ``b`` will be included in the added :meth:" -"`~object.__init__` method, which will be defined as::" +"In this example, both :attr:`!a` and :attr:`!b` will be included in the " +"added :meth:`~object.__init__` method, which will be defined as::" msgstr "" #: library/dataclasses.rst:222 @@ -297,40 +296,39 @@ msgstr "" #: library/dataclasses.rst:248 msgid "" -"``default``: If provided, this will be the default value for this field. " -"This is needed because the :func:`!field` call itself replaces the normal " +"*default*: If provided, this will be the default value for this field. This " +"is needed because the :func:`!field` call itself replaces the normal " "position of the default value." msgstr "" #: library/dataclasses.rst:252 msgid "" -"``default_factory``: If provided, it must be a zero-argument callable that " +"*default_factory*: If provided, it must be a zero-argument callable that " "will be called when a default value is needed for this field. Among other " "purposes, this can be used to specify fields with mutable default values, as " -"discussed below. It is an error to specify both ``default`` and " -"``default_factory``." +"discussed below. It is an error to specify both *default* and " +"*default_factory*." msgstr "" #: library/dataclasses.rst:258 msgid "" -"``init``: If true (the default), this field is included as a parameter to " -"the generated :meth:`~object.__init__` method." +"*init*: If true (the default), this field is included as a parameter to 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:`~object.__repr__` method." +"*repr*: If true (the default), this field is included in the string 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:`~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." +"*hash*: This can be a bool or ``None``. If true, this field is included in " +"the generated :meth:`~object.__hash__` method. If ``None`` (the default), " +"use the value of *compare*: this would normally be the expected behavior. A " +"field should be considered in the hash if it's used for comparisons. " +"Setting this value to anything other than ``None`` is discouraged." msgstr "" #: library/dataclasses.rst:271 @@ -344,14 +342,14 @@ msgstr "" #: library/dataclasses.rst:277 msgid "" -"``compare``: If true (the default), this field is included in the generated " +"*compare*: If true (the default), this field is included in the generated " "equality and comparison methods (:meth:`~object.__eq__`, :meth:`~object." "__gt__`, et al.)." msgstr "" #: library/dataclasses.rst:281 msgid "" -"``metadata``: This can be a mapping or None. None is treated as an empty " +"*metadata*: This can be a mapping or None. None is treated as an empty " "dict. This value is wrapped in :func:`~types.MappingProxyType` to make it " "read-only, and exposed on the :class:`Field` object. It is not used at all " "by Data Classes, and is provided as a third-party extension mechanism. " @@ -361,16 +359,15 @@ 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:`~object.__init__` method's parameters are " -"computed." +"*kw_only*: If true, this field will be marked as keyword-only. This is used " +"when the generated :meth:`~object.__init__` method's parameters are computed." msgstr "" #: library/dataclasses.rst:295 msgid "" "If the default value of a field is specified by a call to :func:`!field`, " "then the class attribute for this field will be replaced by the specified " -"``default`` value. If no ``default`` is provided, then the class attribute " +"*default* value. If *default* is not provided, then the class attribute " "will be deleted. The intent is that after the :func:`@dataclass " "` decorator runs, the class attributes will all contain the " "default values for the fields, just as if the default value itself were " @@ -379,8 +376,9 @@ msgstr "" #: library/dataclasses.rst:311 msgid "" -"The class attribute ``C.z`` will be ``10``, the class attribute ``C.t`` will " -"be ``20``, and the class attributes ``C.x`` and ``C.y`` will not be set." +"The class attribute :attr:`!C.z` will be ``10``, the class attribute :attr:`!" +"C.t` will be ``20``, and the class attributes :attr:`!C.x` and :attr:`!C.y` " +"will not be set." msgstr "" #: library/dataclasses.rst:317 @@ -392,18 +390,18 @@ msgid "" msgstr "" #: library/dataclasses.rst:322 -msgid "``name``: The name of the field." +msgid ":attr:`!name`: The name of the field." msgstr "" #: library/dataclasses.rst:323 -msgid "``type``: The type of the field." +msgid ":attr:`!type`: The type of the field." msgstr "" #: library/dataclasses.rst:324 msgid "" -"``default``, ``default_factory``, ``init``, ``repr``, ``hash``, ``compare``, " -"``metadata``, and ``kw_only`` have the identical meaning and values as they " -"do in the :func:`field` function." +":attr:`!default`, :attr:`!default_factory`, :attr:`!init`, :attr:`!repr`, :" +"attr:`!hash`, :attr:`!compare`, :attr:`!metadata`, and :attr:`!kw_only` have " +"the identical meaning and values as they do in the :func:`field` function." msgstr "" #: library/dataclasses.rst:328 @@ -422,8 +420,8 @@ msgstr "" #: library/dataclasses.rst:340 msgid "" -"Converts the dataclass ``obj`` to a dict (by using the factory function " -"``dict_factory``). Each dataclass is converted to a dict of its fields, as " +"Converts the dataclass *obj* to a dict (by using the factory function " +"*dict_factory*). Each dataclass is converted to a dict of its fields, as " "``name: value`` pairs. dataclasses, dicts, lists, and tuples are recursed " "into. Other objects are copied with :func:`copy.deepcopy`." msgstr "" @@ -438,14 +436,13 @@ msgstr "" #: library/dataclasses.rst:367 msgid "" -":func:`!asdict` raises :exc:`TypeError` if ``obj`` is not a dataclass " -"instance." +":func:`!asdict` raises :exc:`TypeError` if *obj* is not a dataclass instance." msgstr "" #: library/dataclasses.rst:372 msgid "" -"Converts the dataclass ``obj`` to a tuple (by using the factory function " -"``tuple_factory``). Each dataclass is converted to a tuple of its field " +"Converts the dataclass *obj* to a tuple (by using the factory function " +"*tuple_factory*). Each dataclass is converted to a tuple of its field " "values. dataclasses, dicts, lists, and tuples are recursed into. Other " "objects are copied with :func:`copy.deepcopy`." msgstr "" @@ -456,35 +453,34 @@ msgstr "" #: library/dataclasses.rst:387 msgid "" -":func:`!astuple` raises :exc:`TypeError` if ``obj`` is not a dataclass " +":func:`!astuple` raises :exc:`TypeError` if *obj* is not a dataclass " "instance." msgstr "" #: library/dataclasses.rst:392 msgid "" -"Creates a new dataclass with name ``cls_name``, fields as defined in " -"``fields``, base classes as given in ``bases``, and initialized with a " -"namespace as given in ``namespace``. ``fields`` is an iterable whose " -"elements are each either ``name``, ``(name, type)``, or ``(name, type, " -"Field)``. If just ``name`` is supplied, ``typing.Any`` is used for " -"``type``. The values of ``init``, ``repr``, ``eq``, ``order``, " -"``unsafe_hash``, ``frozen``, ``match_args``, ``kw_only``, ``slots``, and " -"``weakref_slot`` have the same meaning as they do in :func:`@dataclass " -"`." +"Creates a new dataclass with name *cls_name*, fields as defined in *fields*, " +"base classes as given in *bases*, and initialized with a namespace as given " +"in *namespace*. *fields* is an iterable whose elements are each either " +"``name``, ``(name, type)``, or ``(name, type, Field)``. If just ``name`` is " +"supplied, :data:`typing.Any` is used for ``type``. The values of *init*, " +"*repr*, *eq*, *order*, *unsafe_hash*, *frozen*, *match_args*, *kw_only*, " +"*slots*, and *weakref_slot* have the same meaning as they do in :func:" +"`@dataclass `." msgstr "" #: library/dataclasses.rst:402 msgid "" -"If ``module`` is defined, the ``__module__`` attribute of the dataclass is " -"set to that value. By default, it is set to the module name of the caller." +"If *module* is defined, the :attr:`!__module__` attribute of the dataclass " +"is set to that value. By default, it is set to the module name of the caller." msgstr "" #: library/dataclasses.rst:406 msgid "" "This function is not strictly required, because any Python mechanism for " -"creating a new class with ``__annotations__`` can then apply the " -"``@dataclass`` function to convert that class to a dataclass. This function " -"is provided as a convenience. For example::" +"creating a new class with :attr:`!__annotations__` can then apply the :func:" +"`@dataclass ` function to convert that class to a dataclass. " +"This function is provided as a convenience. For example::" msgstr "" #: library/dataclasses.rst:418 @@ -493,9 +489,9 @@ msgstr "" #: library/dataclasses.rst:431 msgid "" -"Creates a new object of the same type as ``obj``, replacing fields with " -"values from ``changes``. If ``obj`` is not a Data Class, raises :exc:" -"`TypeError`. If values in ``changes`` do not specify fields, raises :exc:" +"Creates a new object of the same type as *obj*, replacing fields with values " +"from *changes*. If *obj* is not a Data Class, raises :exc:`TypeError`. If " +"keys in *changes* are not field names of the given dataclass, raises :exc:" "`TypeError`." msgstr "" @@ -515,7 +511,7 @@ msgstr "" #: library/dataclasses.rst:444 msgid "" -"It is an error for ``changes`` to contain any fields that are defined as " +"It is an error for *changes* to contain any fields that are defined as " "having ``init=False``. A :exc:`ValueError` will be raised in this case." msgstr "" @@ -526,7 +522,7 @@ msgid "" "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 " +"perhaps a custom :func:`!replace` (or similarly named) method which handles " "instance copying." msgstr "" @@ -584,10 +580,11 @@ msgstr "" #: library/dataclasses.rst:513 msgid "" "When defined on the class, it will be called by the generated :meth:`~object." -"__init__`, normally 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." +"__init__`, normally as :meth:`!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." msgstr "" #: library/dataclasses.rst:520 @@ -618,26 +615,26 @@ msgid "" "handles ``init=False`` fields." msgstr "" -#: library/dataclasses.rst:558 +#: library/dataclasses.rst:560 msgid "Class variables" msgstr "" -#: library/dataclasses.rst:560 +#: library/dataclasses.rst:562 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:`526`. It does this by checking if the type of the field is " -"``typing.ClassVar``. If a field is a ``ClassVar``, it is excluded from " -"consideration as a field and is ignored by the dataclass mechanisms. Such " -"``ClassVar`` pseudo-fields are not returned by the module-level :func:" +"defined in :pep:`526`. It does this by checking if the type of the field " +"is :data:`typing.ClassVar`. If a field is a ``ClassVar``, it is excluded " +"from consideration as a field and is ignored by the dataclass mechanisms. " +"Such ``ClassVar`` pseudo-fields are not returned by the module-level :func:" "`fields` function." msgstr "" -#: library/dataclasses.rst:569 +#: library/dataclasses.rst:573 msgid "Init-only variables" msgstr "" -#: library/dataclasses.rst:571 +#: library/dataclasses.rst:575 msgid "" "Another place where :func:`@dataclass ` inspects a type " "annotation is to determine if a field is an init-only variable. It does " @@ -650,23 +647,23 @@ msgid "" "dataclasses." msgstr "" -#: library/dataclasses.rst:581 +#: library/dataclasses.rst:585 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:596 +#: library/dataclasses.rst:600 msgid "" -"In this case, :func:`fields` will return :class:`Field` objects for ``i`` " -"and ``j``, but not for ``database``." +"In this case, :func:`fields` will return :class:`Field` objects for :attr:`!" +"i` and :attr:`!j`, but not for :attr:`!database`." msgstr "" -#: library/dataclasses.rst:600 +#: library/dataclasses.rst:606 msgid "Frozen instances" msgstr "" -#: library/dataclasses.rst:602 +#: library/dataclasses.rst:608 msgid "" "It is not possible to create truly immutable Python objects. However, by " "passing ``frozen=True`` to the :func:`@dataclass ` decorator you " @@ -675,18 +672,18 @@ msgid "" "methods will raise a :exc:`FrozenInstanceError` when invoked." msgstr "" -#: library/dataclasses.rst:608 +#: library/dataclasses.rst:614 msgid "" "There is a tiny performance penalty when using ``frozen=True``: :meth:" "`~object.__init__` cannot use simple assignment to initialize fields, and " "must use :meth:`!__setattr__`." msgstr "" -#: library/dataclasses.rst:613 +#: library/dataclasses.rst:621 msgid "Inheritance" msgstr "" -#: library/dataclasses.rst:615 +#: library/dataclasses.rst:623 msgid "" "When the dataclass is being created by the :func:`@dataclass ` " "decorator, it looks through all of the class's base classes in reverse MRO " @@ -698,22 +695,24 @@ msgid "" "order, derived classes override base classes. An example::" msgstr "" -#: library/dataclasses.rst:635 +#: library/dataclasses.rst:643 msgid "" -"The final list of fields is, in order, ``x``, ``y``, ``z``. The final type " -"of ``x`` is ``int``, as specified in class ``C``." +"The final list of fields is, in order, :attr:`!x`, :attr:`!y`, :attr:`!z`. " +"The final type of :attr:`!x` is :class:`int`, as specified in class :class:`!" +"C`." msgstr "" -#: library/dataclasses.rst:638 +#: library/dataclasses.rst:646 msgid "" -"The generated :meth:`~object.__init__` method for ``C`` will look like::" +"The generated :meth:`~object.__init__` method for :class:`!C` will look " +"like::" msgstr "" -#: library/dataclasses.rst:643 +#: library/dataclasses.rst:651 msgid "Re-ordering of keyword-only parameters in :meth:`!__init__`" msgstr "" -#: library/dataclasses.rst:645 +#: library/dataclasses.rst:653 msgid "" "After the parameters needed for :meth:`~object.__init__` are computed, any " "keyword-only parameters are moved to come after all regular (non-keyword-" @@ -721,124 +720,125 @@ msgid "" "implemented in Python: they must come after non-keyword-only parameters." msgstr "" -#: library/dataclasses.rst:651 +#: library/dataclasses.rst:659 msgid "" -"In this example, ``Base.y``, ``Base.w``, and ``D.t`` are keyword-only " -"fields, and ``Base.x`` and ``D.z`` are regular fields::" +"In this example, :attr:`!Base.y`, :attr:`!Base.w`, and :attr:`!D.t` are " +"keyword-only fields, and :attr:`!Base.x` and :attr:`!D.z` are regular " +"fields::" msgstr "" -#: library/dataclasses.rst:666 -msgid "The generated :meth:`!__init__` method for ``D`` will look like::" +#: library/dataclasses.rst:674 +msgid "The generated :meth:`!__init__` method for :class:`!D` will look like::" msgstr "" -#: library/dataclasses.rst:670 +#: library/dataclasses.rst:678 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:674 +#: library/dataclasses.rst:682 msgid "" "The relative ordering of keyword-only parameters is maintained in the re-" "ordered :meth:`!__init__` parameter list." msgstr "" -#: library/dataclasses.rst:679 +#: library/dataclasses.rst:687 msgid "Default factory functions" msgstr "" -#: library/dataclasses.rst:681 +#: library/dataclasses.rst:689 msgid "" -"If a :func:`field` specifies a ``default_factory``, it is called with zero " +"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:687 +#: library/dataclasses.rst:695 msgid "" "If a field is excluded from :meth:`~object.__init__` (using ``init=False``) " -"and the field also specifies ``default_factory``, then the default factory " +"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." msgstr "" -#: library/dataclasses.rst:694 +#: library/dataclasses.rst:702 msgid "Mutable default values" msgstr "" -#: library/dataclasses.rst:696 +#: library/dataclasses.rst:704 msgid "" "Python stores default member variable values in class attributes. Consider " "this example, not using dataclasses::" msgstr "" -#: library/dataclasses.rst:711 +#: library/dataclasses.rst:719 msgid "" -"Note that the two instances of class ``C`` share the same class variable " -"``x``, as expected." +"Note that the two instances of class :class:`!C` share the same class " +"variable :attr:`!x`, as expected." msgstr "" -#: library/dataclasses.rst:714 +#: library/dataclasses.rst:722 msgid "Using dataclasses, *if* this code was valid::" msgstr "" -#: library/dataclasses.rst:722 +#: library/dataclasses.rst:730 msgid "it would generate code similar to::" msgstr "" -#: library/dataclasses.rst:733 +#: library/dataclasses.rst:741 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 " -"creating a class instance will share the same copy of ``x``. Because " -"dataclasses just use normal Python class creation they also share this " -"behavior. There is no general way for Data Classes to detect this " -"condition. Instead, the :func:`@dataclass ` decorator will raise " -"a :exc:`ValueError` if it detects an unhashable default parameter. The " -"assumption is that if a value is unhashable, it is mutable. This is a " +"This has the same issue as the original example using class :class:`!C`. " +"That is, two instances of class :class:`!D` that do not specify a value for :" +"attr:`!x` when creating a class instance will share the same copy of :attr:`!" +"x`. Because dataclasses just use normal Python class creation they also " +"share this behavior. There is no general way for Data Classes to detect " +"this condition. Instead, the :func:`@dataclass ` decorator will " +"raise a :exc:`ValueError` if it detects an unhashable default parameter. " +"The assumption is that if a value is unhashable, it is mutable. This is a " "partial solution, but it does protect against many common errors." msgstr "" -#: library/dataclasses.rst:744 +#: library/dataclasses.rst:752 msgid "" "Using default factory functions is a way to create new instances of mutable " "types as default values for fields::" msgstr "" -#: library/dataclasses.rst:753 +#: library/dataclasses.rst:761 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." +"Instead of looking for and disallowing objects of type :class:`list`, :class:" +"`dict`, or :class:`set`, unhashable objects are now not allowed as default " +"values. Unhashability is used to approximate mutability." msgstr "" -#: library/dataclasses.rst:760 +#: library/dataclasses.rst:768 msgid "Descriptor-typed fields" msgstr "" -#: library/dataclasses.rst:762 +#: library/dataclasses.rst:770 msgid "" "Fields that are assigned :ref:`descriptor objects ` as their " "default value have the following special behaviors:" msgstr "" -#: library/dataclasses.rst:765 +#: library/dataclasses.rst:773 msgid "" "The value for the field passed to the dataclass's :meth:`~object.__init__` " "method is passed to the descriptor's :meth:`~object.__set__` method rather " "than overwriting the descriptor object." msgstr "" -#: library/dataclasses.rst:769 +#: library/dataclasses.rst:777 msgid "" "Similarly, when getting or setting the field, the descriptor's :meth:" "`~object.__get__` or :meth:`!__set__` method is called rather than returning " "or overwriting the descriptor object." msgstr "" -#: library/dataclasses.rst:773 +#: library/dataclasses.rst:781 msgid "" "To determine whether a field contains a default value, :func:`@dataclass " "` will call the descriptor's :meth:`!__get__` method using its " @@ -848,7 +848,7 @@ msgid "" "in this situation, no default value will be provided for the field." msgstr "" -#: library/dataclasses.rst:808 +#: library/dataclasses.rst:816 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 48a4dd2ad..814d4d342 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2024-04-15 00:06-0400\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -43,7 +43,7 @@ msgstr "" msgid "Skip to :ref:`the format codes `." msgstr ":ref:`Biçim kodları ` kısmına atlayın." -#: library/datetime.rst:29 +#: library/datetime.rst:28 msgid "Module :mod:`calendar`" msgstr "Modül :mod:`calendar`" @@ -51,7 +51,7 @@ msgstr "Modül :mod:`calendar`" msgid "General calendar related functions." msgstr "Takvimle ilgili genel fonksiyonlar." -#: library/datetime.rst:32 +#: library/datetime.rst:31 msgid "Module :mod:`time`" msgstr "Modül :mod:`time`" @@ -59,7 +59,7 @@ msgstr "Modül :mod:`time`" msgid "Time access and conversions." msgstr "Zamana erişim ve dönüşümler." -#: library/datetime.rst:35 +#: library/datetime.rst:34 msgid "Module :mod:`zoneinfo`" msgstr "Modül :mod:`zoneinfo`" @@ -67,7 +67,7 @@ msgstr "Modül :mod:`zoneinfo`" msgid "Concrete time zones representing the IANA time zone database." msgstr "IANA zaman dilimi veritabanını temsil eden somut zaman dilimleri." -#: library/datetime.rst:38 +#: library/datetime.rst:37 msgid "Package `dateutil `_" msgstr "Paket `dateutil `_" @@ -77,9 +77,9 @@ msgstr "" "Genişletilmiş saat dilimi ve ayrıştırma desteğine sahip üçüncü-parti " "kütüphane." -#: library/datetime.rst:42 -msgid "Package `DateType `_" -msgstr "Paket `DateType `_" +#: library/datetime.rst:40 +msgid "Package :pypi:`DateType`" +msgstr "" #: library/datetime.rst:41 #, fuzzy @@ -181,17 +181,19 @@ msgid "The :mod:`!datetime` module exports the following constants:" msgstr ":mod:`datetime` modülü aşağıdaki sabitleri dışa aktarır:" #: library/datetime.rst:87 +#, fuzzy msgid "" "The smallest year number allowed in a :class:`date` or :class:`.datetime` " -"object. :const:`MINYEAR` is ``1``." +"object. :const:`MINYEAR` is 1." msgstr "" "Bir :class:`date` veya :class:`.datetime` nesnesinde izin verilen en küçük " "yıl sayısı. :const:`MINYEAR`, ``1``'e eşittir." #: library/datetime.rst:93 +#, fuzzy msgid "" "The largest year number allowed in a :class:`date` or :class:`.datetime` " -"object. :const:`MAXYEAR` is ``9999``." +"object. :const:`MAXYEAR` is 9999." msgstr "" "Bir :class:`date` veya :class:`.datetime` nesnesinde izin verilen en büyük " "yıl sayısı. :const:`MAXYEAR`, ``9999``'a eşittir." @@ -374,9 +376,10 @@ msgstr "" "örneği arasındaki fark olan bir süreyi temsil eder." #: library/datetime.rst:210 +#, fuzzy msgid "" -"All arguments are optional and default to ``0``. Arguments may be integers " -"or floats, and may be positive or negative." +"All arguments are optional and default to 0. Arguments may be integers or " +"floats, and may be positive or negative." msgstr "" "Tüm argümanlar isteğe bağlıdır ve varsayılan değer ``0``'dır. Bağımsız " "değişkenler tamsayı veya ondalıklı sayı olabilir ve pozitif veya negatif " @@ -492,9 +495,11 @@ msgstr "" "fark, ``timedelta(microseconds=1)``." #: library/datetime.rst:283 +#, fuzzy msgid "" -"Note that, because of normalization, ``timedelta.max`` > ``-timedelta.min``. " -"``-timedelta.max`` is not representable as a :class:`timedelta` object." +"Note that, because of normalization, ``timedelta.max`` is greater than ``-" +"timedelta.min``. ``-timedelta.max`` is not representable as a :class:" +"`timedelta` object." msgstr "" "Normalleştirme nedeniyle ``timedelta.max`` > ``-timedelta.min`` olduğuna " "dikkat edin. ``-timedelta.max`` bir :class:`timedelta` nesnesi olarak temsil " @@ -553,113 +558,115 @@ msgid "``t1 = t2 + t3``" msgstr "``t1 = t2 + t3``" #: library/datetime.rst:305 +#, fuzzy msgid "" -"Sum of *t2* and *t3*. Afterwards *t1*-*t2* == *t3* and *t1*-*t3* == *t2* are " -"true. (1)" +"Sum of ``t2`` and ``t3``. Afterwards ``t1 - t2 == t3`` and ``t1 - t3 == t2`` " +"are true. (1)" msgstr "" "*t2* ve *t3* 'ün toplamıdır. Daha sonra *t1*-*t2* == *t3* ve *t1*-*t3* == " "*t2* doğrudur. (1)" -#: library/datetime.rst:308 +#: library/datetime.rst:309 msgid "``t1 = t2 - t3``" msgstr "``t1 = t2 - t3``" -#: library/datetime.rst:308 +#: library/datetime.rst:309 +#, fuzzy msgid "" -"Difference of *t2* and *t3*. Afterwards *t1* == *t2* - *t3* and *t2* == *t1* " -"+ *t3* are true. (1)(6)" +"Difference of ``t2`` and ``t3``. Afterwards ``t1 == t2 - t3`` and ``t2 == " +"t1 + t3`` are true. (1)(6)" msgstr "" "*t2* ve *t3* 'ün farkı. Daha sonra *t1* == *t2* - *t3* ve *t2* == *t1* + " "*t3* doğrudur. (1)(6)" -#: library/datetime.rst:312 +#: library/datetime.rst:313 msgid "``t1 = t2 * i or t1 = i * t2``" msgstr "" -#: library/datetime.rst:312 +#: library/datetime.rst:313 msgid "" -"Delta multiplied by an integer. Afterwards *t1* // i == *t2* is true, " +"Delta multiplied by an integer. Afterwards ``t1 // i == t2`` is true, " "provided ``i != 0``." msgstr "" -#: library/datetime.rst:316 -msgid "In general, *t1* \\* i == *t1* \\* (i-1) + *t1* is true. (1)" +#: library/datetime.rst:317 +msgid "In general, ``t1 * i == t1 * (i-1) + t1`` is true. (1)" msgstr "" -#: library/datetime.rst:319 +#: library/datetime.rst:320 msgid "``t1 = t2 * f or t1 = f * t2``" msgstr "" -#: library/datetime.rst:319 +#: library/datetime.rst:320 msgid "" "Delta multiplied by a float. The result is rounded to the nearest multiple " "of timedelta.resolution using round-half-to-even." msgstr "" -#: library/datetime.rst:323 +#: library/datetime.rst:324 msgid "``f = t2 / t3``" msgstr "" -#: library/datetime.rst:323 +#: library/datetime.rst:324 msgid "" -"Division (3) of overall duration *t2* by interval unit *t3*. Returns a :" +"Division (3) of overall duration ``t2`` by interval unit ``t3``. Returns a :" "class:`float` object." msgstr "" -#: library/datetime.rst:327 +#: library/datetime.rst:328 msgid "``t1 = t2 / f or t1 = t2 / i``" msgstr "" -#: library/datetime.rst:327 +#: library/datetime.rst:328 msgid "" "Delta divided by a float or an int. The result is rounded to the nearest " "multiple of timedelta.resolution using round-half-to-even." msgstr "" -#: library/datetime.rst:331 +#: library/datetime.rst:332 msgid "``t1 = t2 // i`` or ``t1 = t2 // t3``" msgstr "" -#: library/datetime.rst:331 +#: library/datetime.rst:332 msgid "" "The floor is computed and the remainder (if any) is thrown away. In the " "second case, an integer is returned. (3)" msgstr "" -#: library/datetime.rst:335 +#: library/datetime.rst:336 msgid "``t1 = t2 % t3``" msgstr "" -#: library/datetime.rst:335 +#: library/datetime.rst:336 msgid "The remainder is computed as a :class:`timedelta` object. (3)" msgstr "" -#: library/datetime.rst:338 +#: library/datetime.rst:339 msgid "``q, r = divmod(t1, t2)``" msgstr "" -#: library/datetime.rst:338 +#: library/datetime.rst:339 msgid "" "Computes the quotient and the remainder: ``q = t1 // t2`` (3) and ``r = t1 % " "t2``. q is an integer and r is a :class:`timedelta` object." msgstr "" -#: library/datetime.rst:343 +#: library/datetime.rst:344 msgid "``+t1``" msgstr "" -#: library/datetime.rst:343 +#: library/datetime.rst:344 msgid "Returns a :class:`timedelta` object with the same value. (2)" msgstr "" -#: library/datetime.rst:346 +#: library/datetime.rst:347 msgid "``-t1``" msgstr "" -#: library/datetime.rst:346 +#: library/datetime.rst:347 msgid "" -"equivalent to :class:`timedelta`\\ (-*t1.days*, -*t1.seconds*, -*t1." -"microseconds*), and to *t1*\\* -1. (1)(4)" +"Equivalent to ``timedelta(-t1.days, -t1.seconds*, -t1.microseconds)``, and " +"to ``t1 * -1``. (1)(4)" msgstr "" #: library/datetime.rst:351 @@ -668,8 +675,8 @@ msgstr "" #: library/datetime.rst:351 msgid "" -"equivalent to +\\ *t* when ``t.days >= 0``, and to -*t* when ``t.days < 0``. " -"(2)" +"Equivalent to ``+t`` when ``t.days >= 0``, and to ``-t`` when ``t.days < " +"0``. (2)" msgstr "" #: library/datetime.rst:354 @@ -705,12 +712,16 @@ msgid "This is exact and cannot overflow." msgstr "" #: library/datetime.rst:373 -msgid "Division by 0 raises :exc:`ZeroDivisionError`." +msgid "Division by zero raises :exc:`ZeroDivisionError`." msgstr "" #: library/datetime.rst:376 -msgid "-*timedelta.max* is not representable as a :class:`timedelta` object." +#, fuzzy +msgid "``-timedelta.max`` is not representable as a :class:`timedelta` object." msgstr "" +"Normalleştirme nedeniyle ``timedelta.max`` > ``-timedelta.min`` olduğuna " +"dikkat edin. ``-timedelta.max`` bir :class:`timedelta` nesnesi olarak temsil " +"edilemez." #: library/datetime.rst:379 msgid "" @@ -935,7 +946,7 @@ msgid "``date2 = date1 + timedelta``" msgstr "" #: library/datetime.rst:586 -msgid "*date2* will be ``timedelta.days`` days after *date1*. (1)" +msgid "``date2`` will be ``timedelta.days`` days after ``date1``. (1)" msgstr "" #: library/datetime.rst:589 @@ -943,7 +954,7 @@ msgid "``date2 = date1 - timedelta``" msgstr "" #: library/datetime.rst:589 -msgid "Computes *date2* such that ``date2 + timedelta == date1``. (2)" +msgid "Computes ``date2`` such that ``date2 + timedelta == date1``. (2)" msgstr "" #: library/datetime.rst:592 @@ -1001,8 +1012,8 @@ msgstr "" #: library/datetime.rst:616 msgid "" -"This is exact, and cannot overflow. timedelta.seconds and timedelta." -"microseconds are 0, and date2 + timedelta == date1 after." +"This is exact, and cannot overflow. ``timedelta.seconds`` and ``timedelta." +"microseconds`` are 0, and ``date2 + timedelta == date1`` after." msgstr "" #: library/datetime.rst:620 @@ -1048,7 +1059,7 @@ msgstr "" #: library/datetime.rst:654 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." +"day number within the current year starting with 1 for January 1st." msgstr "" #: library/datetime.rst:660 @@ -1495,8 +1506,9 @@ 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 " "daylight saving time or when the UTC offset for the current zone is " -"decreased for political reasons.) The value 0 (1) represents the earlier " -"(later) of the two moments with the same wall time representation." +"decreased for political reasons.) The values 0 and 1 represent, " +"respectively, the earlier and later of the two moments with the same wall " +"time representation." msgstr "" #: library/datetime.rst:1143 @@ -1546,21 +1558,21 @@ msgstr "" #: library/datetime.rst:1159 msgid "" -"datetime2 is a duration of timedelta removed from datetime1, moving forward " -"in time if ``timedelta.days`` > 0, or backward if ``timedelta.days`` < 0. " -"The result has the same :attr:`~.datetime.tzinfo` attribute as the input " -"datetime, and datetime2 - datetime1 == timedelta after. :exc:`OverflowError` " -"is raised if datetime2.year would be smaller than :const:`MINYEAR` or larger " -"than :const:`MAXYEAR`. Note that no time zone adjustments are done even if " -"the input is an aware object." +"``datetime2`` is a duration of ``timedelta`` removed from ``datetime1``, " +"moving forward in time if ``timedelta.days > 0``, or backward if ``timedelta." +"days < 0``. The result has the same :attr:`~.datetime.tzinfo` attribute as " +"the input datetime, and ``datetime2 - datetime1 == timedelta`` after. :exc:" +"`OverflowError` is raised if ``datetime2.year`` would be smaller than :const:" +"`MINYEAR` or larger than :const:`MAXYEAR`. Note that no time zone " +"adjustments are done even if the input is an aware object." msgstr "" #: library/datetime.rst:1168 msgid "" -"Computes the datetime2 such that datetime2 + timedelta == datetime1. As for " -"addition, the result has the same :attr:`~.datetime.tzinfo` attribute as the " -"input datetime, and no time zone adjustments are done even if the input is " -"aware." +"Computes the ``datetime2`` such that ``datetime2 + timedelta == datetime1``. " +"As for addition, the result has the same :attr:`~.datetime.tzinfo` attribute " +"as the input datetime, and no time zone adjustments are done even if the " +"input is aware." msgstr "" #: library/datetime.rst:1173 @@ -1757,12 +1769,12 @@ msgstr "" #: library/datetime.rst:1345 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 :" +"day number within the current year starting with 1 for January 1st. The :" "attr:`~time.struct_time.tm_isdst` flag of the result is set according to " "the :meth:`dst` method: :attr:`.tzinfo` is ``None`` or :meth:`dst` returns " "``None``, :attr:`!tm_isdst` is set to ``-1``; else if :meth:`dst` returns a " -"non-zero value, :attr:`!tm_isdst` is set to ``1``; else :attr:`!tm_isdst` is " -"set to ``0``." +"non-zero value, :attr:`!tm_isdst` is set to 1; else :attr:`!tm_isdst` is set " +"to 0." msgstr "" #: library/datetime.rst:1356 @@ -1778,8 +1790,8 @@ 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 " "returned. :attr:`!tm_isdst` is forced to 0. Note that an :exc:" -"`OverflowError` may be raised if *d*.year was ``MINYEAR`` or ``MAXYEAR`` and " -"UTC adjustment spills over a year boundary." +"`OverflowError` may be raised if ``d.year`` was ``MINYEAR`` or ``MAXYEAR`` " +"and UTC adjustment spills over a year boundary." msgstr "" #: library/datetime.rst:1369 @@ -2019,7 +2031,7 @@ msgstr "" #: library/datetime.rst:1693 msgid "" "If an argument outside those ranges is given, :exc:`ValueError` is raised. " -"All default to ``0`` except *tzinfo*, which defaults to :const:`None`." +"All default to 0 except *tzinfo*, which defaults to ``None``." msgstr "" #: library/datetime.rst:1701 @@ -2306,7 +2318,7 @@ msgstr "" #: library/datetime.rst:2038 msgid "" "must return the same result for every :class:`.datetime` *dt* with ``dt." -"tzinfo == tz`` For sane :class:`tzinfo` subclasses, this expression yields " +"tzinfo == tz``. For sane :class:`tzinfo` subclasses, this expression yields " "the time zone's \"standard offset\", which should not depend on the date or " "the time, but only on geographic location. The implementation of :meth:" "`datetime.astimezone` relies on this, but cannot detect violations; it's the " @@ -2336,12 +2348,13 @@ 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:`!" "datetime` module, and there's no requirement that it mean anything in " -"particular. For example, \"GMT\", \"UTC\", \"-500\", \"-5:00\", \"EDT\", " -"\"US/Eastern\", \"America/New York\" are all valid replies. Return ``None`` " -"if a string name isn't known. Note that this is a method rather than a fixed " -"string primarily because some :class:`tzinfo` subclasses will wish to return " -"different names depending on the specific value of *dt* passed, especially " -"if the :class:`tzinfo` class is accounting for daylight time." +"particular. For example, ``\"GMT\"``, ``\"UTC\"``, ``\"-500\"``, " +"``\"-5:00\"``, ``\"EDT\"``, ``\"US/Eastern\"``, ``\"America/New York\"`` are " +"all valid replies. Return ``None`` if a string name isn't known. Note that " +"this is a method rather than a fixed string primarily because some :class:" +"`tzinfo` subclasses will wish to return different names depending on the " +"specific value of *dt* passed, especially if the :class:`tzinfo` class is " +"accounting for daylight time." msgstr "" #: library/datetime.rst:2083 @@ -2470,7 +2483,7 @@ msgid "" "offset -4 hours))." msgstr "" -#: library/datetime.rst:2222 +#: library/datetime.rst:2216 msgid ":mod:`zoneinfo`" msgstr "" @@ -2487,7 +2500,7 @@ msgid "" "database) to Python, and its usage is recommended." msgstr "" -#: library/datetime.rst:2228 +#: library/datetime.rst:2224 msgid "`IANA timezone database `_" msgstr "" @@ -2895,7 +2908,7 @@ msgstr "" msgid "\\(5)" msgstr "" -#: library/datetime.rst:2580 +#: library/datetime.rst:2570 msgid "``%z``" msgstr "" @@ -2913,7 +2926,7 @@ msgstr "" msgid "\\(6)" msgstr "" -#: library/datetime.rst:2608 +#: library/datetime.rst:2596 msgid "``%Z``" msgstr "" @@ -3081,7 +3094,7 @@ msgstr "" msgid "\\(8), \\(9)" msgstr "" -#: library/datetime.rst:2594 +#: library/datetime.rst:2592 msgid "``%:z``" msgstr "" @@ -3155,15 +3168,14 @@ msgstr "" 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 " -"anyway, ``1900`` is substituted for the year, and ``1`` for the month and " -"day." +"anyway, 1900 is substituted for the year, and 1 for the month and day." msgstr "" #: library/datetime.rst:2519 msgid "" "For :class:`date` objects, the format codes for hours, minutes, seconds, and " "microseconds should not be used, as :class:`date` objects have no such " -"values. If they're used anyway, ``0`` is substituted for them." +"values. If they're used anyway, 0 is substituted for them." msgstr "" #: library/datetime.rst:2523 @@ -3343,8 +3355,8 @@ msgstr "" #: library/datetime.rst:2645 msgid "" -"Passing ``datetime.strptime('Feb 29', '%b %d')`` will fail since ``1900`` is " -"not a leap year." +"Passing ``datetime.strptime('Feb 29', '%b %d')`` will fail since 1900 is not " +"a leap year." msgstr "" #: library/datetime.rst:2305 @@ -3354,3 +3366,6 @@ msgstr "" #: library/datetime.rst:2305 msgid "datetime format" msgstr "" + +#~ msgid "Package `DateType `_" +#~ msgstr "Paket `DateType `_" diff --git a/library/difflib.po b/library/difflib.po index b0848430d..231faac3e 100644 --- a/library/difflib.po +++ b/library/difflib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -401,7 +401,7 @@ msgid "" "for parameter *charjunk* in :func:`ndiff`." msgstr "" -#: library/difflib.rst:355 +#: library/difflib.rst:354 msgid "" "`Pattern Matching: The Gestalt Approach `_" diff --git a/library/email.po b/library/email.po index 98852e1fb..30e5f37c9 100644 --- a/library/email.po +++ b/library/email.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -154,7 +154,7 @@ msgstr "" msgid "Legacy API:" msgstr "" -#: library/email.rst:136 +#: library/email.rst:135 msgid "Module :mod:`smtplib`" msgstr "" @@ -162,7 +162,7 @@ msgstr "" msgid "SMTP (Simple Mail Transport Protocol) client" msgstr "" -#: library/email.rst:139 +#: library/email.rst:138 msgid "Module :mod:`poplib`" msgstr "" @@ -170,7 +170,7 @@ msgstr "" msgid "POP (Post Office Protocol) client" msgstr "" -#: library/email.rst:142 +#: library/email.rst:141 msgid "Module :mod:`imaplib`" msgstr "" @@ -178,7 +178,7 @@ msgstr "" msgid "IMAP (Internet Message Access Protocol) client" msgstr "" -#: library/email.rst:145 +#: library/email.rst:144 msgid "Module :mod:`nntplib`" msgstr "" @@ -186,7 +186,7 @@ msgstr "" msgid "NNTP (Net News Transport Protocol) client" msgstr "" -#: library/email.rst:148 +#: library/email.rst:147 msgid "Module :mod:`mailbox`" msgstr "" diff --git a/library/ensurepip.po b/library/ensurepip.po index 4d3958180..185ccaae0 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -48,7 +48,7 @@ msgid "" "bootstrap ``pip`` are included as internal parts of the package." msgstr "" -#: library/ensurepip.rst:36 +#: library/ensurepip.rst:35 msgid ":ref:`installing-index`" msgstr "" diff --git a/library/enum.po b/library/enum.po index c235d3d4a..d9e8905fb 100644 --- a/library/enum.po +++ b/library/enum.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -433,7 +433,7 @@ msgid "The value given to the ``Enum`` member::" msgstr "" #: library/enum.rst:292 -msgid "Value of the member, can be set in :meth:`~object.__new__`." +msgid "Value of the member, can be set in :meth:`~Enum.__new__`." msgstr "" #: library/enum.rst:274 @@ -556,11 +556,8 @@ msgstr "" #: library/enum.rst:400 msgid "" -"..note:: When writing a custom ``__new__``, do not use ``super().__new__`` --" -msgstr "" - -#: library/enum.rst:401 -msgid "call the appropriate ``__new__`` instead." +"When writing a custom ``__new__``, do not use ``super().__new__`` -- call " +"the appropriate ``__new__`` instead." msgstr "" #: library/enum.rst:405 @@ -835,7 +832,7 @@ msgstr "" #: library/enum.rst:820 msgid "" -":meth:`~object.__new__`, if specified, must create and return the enum " +":meth:`~Enum.__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 "" diff --git a/library/faulthandler.po b/library/faulthandler.po index a511932e8..3656cd9b0 100644 --- a/library/faulthandler.po +++ b/library/faulthandler.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -24,22 +24,22 @@ msgstr "" msgid "" "This module contains functions to dump Python tracebacks explicitly, on a " "fault, after a timeout, or on a user signal. Call :func:`faulthandler." -"enable` to install fault handlers for the :const:`SIGSEGV`, :const:" -"`SIGFPE`, :const:`SIGABRT`, :const:`SIGBUS`, and :const:`SIGILL` signals. " -"You can also enable them at startup by setting the :envvar:" -"`PYTHONFAULTHANDLER` environment variable or by using the :option:`-X` " -"``faulthandler`` command line option." +"enable` to install fault handlers for the :const:`~signal.SIGSEGV`, :const:" +"`~signal.SIGFPE`, :const:`~signal.SIGABRT`, :const:`~signal.SIGBUS`, and :" +"const:`~signal.SIGILL` signals. You can also enable them at startup by " +"setting the :envvar:`PYTHONFAULTHANDLER` environment variable or by using " +"the :option:`-X` ``faulthandler`` command line option." msgstr "" -#: library/faulthandler.rst:18 +#: library/faulthandler.rst:19 msgid "" "The fault handler is compatible with system fault handlers like Apport or " "the Windows fault handler. The module uses an alternative stack for signal " -"handlers if the :c:func:`sigaltstack` function is available. This allows it " +"handlers if the :c:func:`!sigaltstack` function is available. This allows it " "to dump the traceback even on a stack overflow." msgstr "" -#: library/faulthandler.rst:23 +#: library/faulthandler.rst:24 msgid "" "The fault handler is called on catastrophic cases and therefore can only use " "signal-safe functions (e.g. it cannot allocate memory on the heap). Because " @@ -47,44 +47,44 @@ msgid "" "tracebacks:" msgstr "" -#: library/faulthandler.rst:28 +#: library/faulthandler.rst:29 msgid "" "Only ASCII is supported. The ``backslashreplace`` error handler is used on " "encoding." msgstr "" -#: library/faulthandler.rst:30 +#: library/faulthandler.rst:31 msgid "Each string is limited to 500 characters." msgstr "" -#: library/faulthandler.rst:31 +#: library/faulthandler.rst:32 msgid "" "Only the filename, the function name and the line number are displayed. (no " "source code)" msgstr "" -#: library/faulthandler.rst:33 +#: library/faulthandler.rst:34 msgid "It is limited to 100 frames and 100 threads." msgstr "" -#: library/faulthandler.rst:34 +#: library/faulthandler.rst:35 msgid "The order is reversed: the most recent call is shown first." msgstr "" -#: library/faulthandler.rst:36 +#: library/faulthandler.rst:37 msgid "" "By default, the Python traceback is written to :data:`sys.stderr`. To see " "tracebacks, applications must be run in the terminal. A log file can " "alternatively be passed to :func:`faulthandler.enable`." msgstr "" -#: library/faulthandler.rst:40 +#: library/faulthandler.rst:41 msgid "" "The module is implemented in C, so tracebacks can be dumped on a crash or " "when Python is deadlocked." msgstr "" -#: library/faulthandler.rst:43 +#: library/faulthandler.rst:44 msgid "" "The :ref:`Python Development Mode ` calls :func:`faulthandler." "enable` at Python startup." @@ -94,144 +94,145 @@ msgstr "" msgid "Module :mod:`pdb`" msgstr "" -#: library/faulthandler.rst:49 +#: library/faulthandler.rst:50 msgid "Interactive source code debugger for Python programs." msgstr "" -#: library/faulthandler.rst:51 +#: library/faulthandler.rst:52 msgid "Module :mod:`traceback`" msgstr "" -#: library/faulthandler.rst:52 +#: library/faulthandler.rst:53 msgid "" "Standard interface to extract, format and print stack traces of Python " "programs." msgstr "" -#: library/faulthandler.rst:55 +#: library/faulthandler.rst:56 msgid "Dumping the traceback" msgstr "" -#: library/faulthandler.rst:59 +#: library/faulthandler.rst:60 msgid "" "Dump the tracebacks of all threads into *file*. If *all_threads* is " "``False``, dump only the current thread." msgstr "" -#: library/faulthandler.rst:62 +#: library/faulthandler.rst:63 msgid "" ":func:`traceback.print_tb`, which can be used to print a traceback object." msgstr "" -#: library/faulthandler.rst:82 library/faulthandler.rst:146 +#: library/faulthandler.rst:84 library/faulthandler.rst:148 msgid "Added support for passing file descriptor to this function." msgstr "" -#: library/faulthandler.rst:69 +#: library/faulthandler.rst:70 msgid "Fault handler state" msgstr "" -#: library/faulthandler.rst:73 +#: library/faulthandler.rst:74 msgid "" -"Enable the fault handler: install handlers for the :const:`SIGSEGV`, :const:" -"`SIGFPE`, :const:`SIGABRT`, :const:`SIGBUS` and :const:`SIGILL` signals to " -"dump the Python traceback. If *all_threads* is ``True``, produce tracebacks " -"for every running thread. Otherwise, dump only the current thread." +"Enable the fault handler: install handlers for the :const:`~signal." +"SIGSEGV`, :const:`~signal.SIGFPE`, :const:`~signal.SIGABRT`, :const:`~signal." +"SIGBUS` and :const:`~signal.SIGILL` signals to dump the Python traceback. If " +"*all_threads* is ``True``, produce tracebacks for every running thread. " +"Otherwise, dump only the current thread." msgstr "" -#: library/faulthandler.rst:79 +#: library/faulthandler.rst:81 msgid "" "The *file* must be kept open until the fault handler is disabled: see :ref:" "`issue with file descriptors `." msgstr "" -#: library/faulthandler.rst:85 +#: library/faulthandler.rst:87 msgid "On Windows, a handler for Windows exception is also installed." msgstr "" -#: library/faulthandler.rst:88 +#: library/faulthandler.rst:90 msgid "" "The dump now mentions if a garbage collector collection is running if " "*all_threads* is true." msgstr "" -#: library/faulthandler.rst:94 +#: library/faulthandler.rst:96 msgid "" "Disable the fault handler: uninstall the signal handlers installed by :func:" "`enable`." msgstr "" -#: library/faulthandler.rst:99 +#: library/faulthandler.rst:101 msgid "Check if the fault handler is enabled." msgstr "" -#: library/faulthandler.rst:103 +#: library/faulthandler.rst:105 msgid "Dumping the tracebacks after a timeout" msgstr "" -#: library/faulthandler.rst:107 +#: library/faulthandler.rst:109 msgid "" "Dump the tracebacks of all threads, after a timeout of *timeout* seconds, or " "every *timeout* seconds if *repeat* is ``True``. If *exit* is ``True``, " -"call :c:func:`_exit` with status=1 after dumping the tracebacks. (Note :c:" -"func:`_exit` exits the process immediately, which means it doesn't do any " +"call :c:func:`!_exit` with status=1 after dumping the tracebacks. (Note :c:" +"func:`!_exit` exits the process immediately, which means it doesn't do any " "cleanup like flushing file buffers.) If the function is called twice, the " "new call replaces previous parameters and resets the timeout. The timer has " "a sub-second resolution." msgstr "" -#: library/faulthandler.rst:115 +#: library/faulthandler.rst:117 msgid "" "The *file* must be kept open until the traceback is dumped or :func:" "`cancel_dump_traceback_later` is called: see :ref:`issue with file " "descriptors `." msgstr "" -#: library/faulthandler.rst:119 +#: library/faulthandler.rst:121 msgid "This function is implemented using a watchdog thread." msgstr "" -#: library/faulthandler.rst:124 +#: library/faulthandler.rst:126 msgid "This function is now always available." msgstr "" -#: library/faulthandler.rst:129 +#: library/faulthandler.rst:131 msgid "Cancel the last call to :func:`dump_traceback_later`." msgstr "" -#: library/faulthandler.rst:133 +#: library/faulthandler.rst:135 msgid "Dumping the traceback on a user signal" msgstr "" -#: library/faulthandler.rst:137 +#: library/faulthandler.rst:139 msgid "" "Register a user signal: install a handler for the *signum* signal to dump " "the traceback of all threads, or of the current thread if *all_threads* is " "``False``, into *file*. Call the previous handler if chain is ``True``." msgstr "" -#: library/faulthandler.rst:141 +#: library/faulthandler.rst:143 msgid "" "The *file* must be kept open until the signal is unregistered by :func:" "`unregister`: see :ref:`issue with file descriptors `." msgstr "" -#: library/faulthandler.rst:155 +#: library/faulthandler.rst:157 msgid "Not available on Windows." msgstr "" -#: library/faulthandler.rst:151 +#: library/faulthandler.rst:153 msgid "" "Unregister a user signal: uninstall the handler of the *signum* signal " "installed by :func:`register`. Return ``True`` if the signal was registered, " "``False`` otherwise." msgstr "" -#: library/faulthandler.rst:161 +#: library/faulthandler.rst:163 msgid "Issue with file descriptors" msgstr "" -#: library/faulthandler.rst:163 +#: library/faulthandler.rst:165 msgid "" ":func:`enable`, :func:`dump_traceback_later` and :func:`register` keep the " "file descriptor of their *file* argument. If the file is closed and its file " @@ -240,11 +241,11 @@ msgid "" "Call these functions again each time that the file is replaced." msgstr "" -#: library/faulthandler.rst:171 +#: library/faulthandler.rst:173 msgid "Example" msgstr "" -#: library/faulthandler.rst:173 +#: library/faulthandler.rst:175 msgid "" "Example of a segmentation fault on Linux with and without enabling the fault " "handler:" diff --git a/library/fcntl.po b/library/fcntl.po index bc324f0a2..ea6c83c97 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -283,7 +283,7 @@ msgid "" "therefore using the :func:`flock` call may be better." msgstr "" -#: library/fcntl.rst:217 +#: library/fcntl.rst:214 msgid "Module :mod:`os`" msgstr "" diff --git a/library/filesys.po b/library/filesys.po index 9456fd385..72da801ce 100644 --- a/library/filesys.po +++ b/library/filesys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgid "" "full list of modules in this chapter is:" msgstr "" -#: library/filesys.rst:31 +#: library/filesys.rst:29 msgid "Module :mod:`os`" msgstr "" @@ -38,7 +38,7 @@ msgid "" "lower level than Python :term:`file objects `." msgstr "" -#: library/filesys.rst:35 +#: library/filesys.rst:33 msgid "Module :mod:`io`" msgstr "" diff --git a/library/ftplib.po b/library/ftplib.po index d0daf62c0..614e20605 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -548,7 +548,7 @@ msgid "" "four exceptions listed above as well as :exc:`OSError` and :exc:`EOFError`." msgstr "" -#: library/ftplib.rst:597 +#: library/ftplib.rst:595 msgid "Module :mod:`netrc`" msgstr "" diff --git a/library/glob.po b/library/glob.po index 1484162ad..07684594b 100644 --- a/library/glob.po +++ b/library/glob.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -92,13 +92,13 @@ msgid "" "directories." msgstr "" -#: library/glob.rst:96 +#: library/glob.rst:100 msgid "" "Raises an :ref:`auditing event ` ``glob.glob`` with arguments " "``pathname``, ``recursive``." msgstr "" -#: library/glob.rst:97 +#: library/glob.rst:101 msgid "" "Raises an :ref:`auditing event ` ``glob.glob/2`` with arguments " "``pathname``, ``recursive``, ``root_dir``, ``dir_fd``." @@ -110,25 +110,31 @@ msgid "" "inordinate amount of time." msgstr "" -#: library/glob.rst:99 +#: library/glob.rst:104 +msgid "" +"This function may return duplicate path names if *pathname* contains " +"multiple \"``**``\" patterns and *recursive* is true." +msgstr "" + +#: library/glob.rst:107 msgid "Support for recursive globs using \"``**``\"." msgstr "" -#: library/glob.rst:102 +#: library/glob.rst:110 msgid "Added the *root_dir* and *dir_fd* parameters." msgstr "" -#: library/glob.rst:105 +#: library/glob.rst:113 msgid "Added the *include_hidden* parameter." msgstr "" -#: library/glob.rst:93 +#: library/glob.rst:97 msgid "" "Return an :term:`iterator` which yields the same values as :func:`glob` " "without actually storing them all simultaneously." msgstr "" -#: library/glob.rst:111 +#: library/glob.rst:119 msgid "" "Escape all special characters (``'?'``, ``'*'`` and ``'['``). This is useful " "if you want to match an arbitrary literal string that may have special " @@ -137,7 +143,7 @@ msgid "" "c:/Quo vadis[?].txt'``." msgstr "" -#: library/glob.rst:120 +#: library/glob.rst:128 msgid "" "For example, consider a directory containing the following files: :file:`1." "gif`, :file:`2.txt`, :file:`card.gif` and a subdirectory :file:`sub` which " @@ -146,18 +152,18 @@ msgid "" "preserved. ::" msgstr "" -#: library/glob.rst:138 +#: library/glob.rst:146 msgid "" "If the directory contains files starting with ``.`` they won't be matched by " "default. For example, consider a directory containing :file:`card.gif` and :" "file:`.card.gif`::" msgstr "" -#: library/glob.rst:150 +#: library/glob.rst:158 msgid "Module :mod:`fnmatch`" msgstr "" -#: library/glob.rst:151 +#: library/glob.rst:159 msgid "Shell-style filename (not path) expansion" msgstr "" diff --git a/library/grp.po b/library/grp.po index 0d4511aa3..aa3ce6637 100644 --- a/library/grp.po +++ b/library/grp.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -133,7 +133,7 @@ msgstr "" msgid "Return a list of all available group entries, in arbitrary order." msgstr "" -#: library/grp.rst:65 +#: library/grp.rst:64 msgid "Module :mod:`pwd`" msgstr "" diff --git a/library/gzip.po b/library/gzip.po index e2104d48f..64723dc73 100644 --- a/library/gzip.po +++ b/library/gzip.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -321,7 +321,7 @@ msgstr "" msgid "Example of how to GZIP compress a binary string::" msgstr "" -#: library/gzip.rst:247 +#: library/gzip.rst:246 msgid "Module :mod:`zlib`" msgstr "" diff --git a/library/hashlib.po b/library/hashlib.po index f5b61391d..6ff27bb11 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -566,7 +566,7 @@ msgid "" "(``False`` for sequential mode)." msgstr "" -#: library/hashlib.rst:-1 +#: library/hashlib.rst:464 msgid "Explanation of tree mode parameters." msgstr "" @@ -837,7 +837,7 @@ msgstr "" msgid "*Alexandr Sokolovskiy*" msgstr "" -#: library/hashlib.rst:820 +#: library/hashlib.rst:819 msgid "Module :mod:`hmac`" msgstr "" @@ -845,7 +845,7 @@ msgstr "" msgid "A module to generate message authentication codes using hashes." msgstr "" -#: library/hashlib.rst:823 +#: library/hashlib.rst:822 msgid "Module :mod:`base64`" msgstr "" @@ -853,7 +853,7 @@ msgstr "" msgid "Another way to encode binary hashes for non-binary environments." msgstr "" -#: library/hashlib.rst:826 +#: library/hashlib.rst:825 msgid "https://nvlpubs.nist.gov/nistpubs/fips/nist.fips.180-4.pdf" msgstr "" @@ -861,7 +861,7 @@ msgstr "" msgid "The FIPS 180-4 publication on Secure Hash Algorithms." msgstr "" -#: library/hashlib.rst:829 +#: library/hashlib.rst:828 msgid "https://csrc.nist.gov/publications/detail/fips/202/final" msgstr "" @@ -869,7 +869,7 @@ msgstr "" msgid "The FIPS 202 publication on the SHA-3 Standard." msgstr "" -#: library/hashlib.rst:832 +#: library/hashlib.rst:831 msgid "https://www.blake2.net/" msgstr "" @@ -877,7 +877,7 @@ msgstr "" msgid "Official BLAKE2 website." msgstr "" -#: library/hashlib.rst:836 +#: library/hashlib.rst:834 msgid "https://en.wikipedia.org/wiki/Cryptographic_hash_function" msgstr "" @@ -887,7 +887,7 @@ msgid "" "what that means regarding their use." msgstr "" -#: library/hashlib.rst:839 +#: library/hashlib.rst:838 msgid "https://www.ietf.org/rfc/rfc8018.txt" msgstr "" diff --git a/library/heapq.po b/library/heapq.po index 41dfaa721..a03489785 100644 --- a/library/heapq.po +++ b/library/heapq.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -33,14 +33,20 @@ msgstr "" #: library/heapq.rst:19 msgid "" "Heaps are binary trees for which every parent node has a value less than or " -"equal to any of its children. This implementation uses arrays for which " -"``heap[k] <= heap[2*k+1]`` and ``heap[k] <= heap[2*k+2]`` for all *k*, " -"counting elements from zero. For the sake of comparison, non-existing " -"elements are considered to be infinite. The interesting property of a heap " -"is that its smallest element is always the root, ``heap[0]``." +"equal to any of its children. We refer to this condition as the heap " +"invariant." +msgstr "" + +#: library/heapq.rst:22 +msgid "" +"This implementation uses arrays for which ``heap[k] <= heap[2*k+1]`` and " +"``heap[k] <= heap[2*k+2]`` for all *k*, counting elements from zero. For " +"the sake of comparison, non-existing elements are considered to be " +"infinite. The interesting property of a heap is that its smallest element " +"is always the root, ``heap[0]``." msgstr "" -#: library/heapq.rst:26 +#: library/heapq.rst:28 msgid "" "The API below differs from textbook heap algorithms in two aspects: (a) We " "use zero-based indexing. This makes the relationship between the index for " @@ -51,53 +57,53 @@ msgid "" "sorting)." msgstr "" -#: library/heapq.rst:33 +#: library/heapq.rst:35 msgid "" "These two make it possible to view the heap as a regular Python list without " "surprises: ``heap[0]`` is the smallest item, and ``heap.sort()`` maintains " "the heap invariant!" msgstr "" -#: library/heapq.rst:37 +#: library/heapq.rst:39 msgid "" "To create a heap, use a list initialized to ``[]``, or you can transform a " "populated list into a heap via function :func:`heapify`." msgstr "" -#: library/heapq.rst:40 +#: library/heapq.rst:42 msgid "The following functions are provided:" msgstr "" -#: library/heapq.rst:45 +#: library/heapq.rst:47 msgid "Push the value *item* onto the *heap*, maintaining the heap invariant." msgstr "" -#: library/heapq.rst:50 +#: library/heapq.rst:52 msgid "" "Pop and return the smallest item from the *heap*, maintaining the heap " "invariant. If the heap is empty, :exc:`IndexError` is raised. To access " "the smallest item without popping it, use ``heap[0]``." msgstr "" -#: library/heapq.rst:57 +#: library/heapq.rst:59 msgid "" "Push *item* on the heap, then pop and return the smallest item from the " "*heap*. The combined action runs more efficiently than :func:`heappush` " "followed by a separate call to :func:`heappop`." msgstr "" -#: library/heapq.rst:64 +#: library/heapq.rst:66 msgid "Transform list *x* into a heap, in-place, in linear time." msgstr "" -#: library/heapq.rst:69 +#: library/heapq.rst:71 msgid "" "Pop and return the smallest item from the *heap*, and also push the new " "*item*. The heap size doesn't change. If the heap is empty, :exc:" "`IndexError` is raised." msgstr "" -#: library/heapq.rst:72 +#: library/heapq.rst:74 msgid "" "This one step operation is more efficient than a :func:`heappop` followed " "by :func:`heappush` and can be more appropriate when using a fixed-size " @@ -105,7 +111,7 @@ msgid "" "replaces it with *item*." msgstr "" -#: library/heapq.rst:77 +#: library/heapq.rst:79 msgid "" "The value returned may be larger than the *item* added. If that isn't " "desired, consider using :func:`heappushpop` instead. Its push/pop " @@ -113,37 +119,37 @@ msgid "" "on the heap." msgstr "" -#: library/heapq.rst:83 +#: library/heapq.rst:85 msgid "The module also offers three general purpose functions based on heaps." msgstr "" -#: library/heapq.rst:88 +#: library/heapq.rst:90 msgid "" "Merge multiple sorted inputs into a single sorted output (for example, merge " "timestamped entries from multiple log files). Returns an :term:`iterator` " "over the sorted values." msgstr "" -#: library/heapq.rst:92 +#: library/heapq.rst:94 msgid "" "Similar to ``sorted(itertools.chain(*iterables))`` but returns an iterable, " "does not pull the data into memory all at once, and assumes that each of the " "input streams is already sorted (smallest to largest)." msgstr "" -#: library/heapq.rst:96 +#: library/heapq.rst:98 msgid "" "Has two optional arguments which must be specified as keyword arguments." msgstr "" -#: library/heapq.rst:98 +#: library/heapq.rst:100 msgid "" "*key* specifies a :term:`key function` of one argument that is used to " "extract a comparison key from each input element. The default value is " "``None`` (compare the elements directly)." msgstr "" -#: library/heapq.rst:102 +#: library/heapq.rst:104 msgid "" "*reverse* is a boolean value. If set to ``True``, then the input elements " "are merged as if each comparison were reversed. To achieve behavior similar " @@ -151,11 +157,11 @@ msgid "" "be sorted from largest to smallest." msgstr "" -#: library/heapq.rst:107 +#: library/heapq.rst:109 msgid "Added the optional *key* and *reverse* parameters." msgstr "" -#: library/heapq.rst:113 +#: library/heapq.rst:115 msgid "" "Return a list with the *n* largest elements from the dataset defined by " "*iterable*. *key*, if provided, specifies a function of one argument that " @@ -164,7 +170,7 @@ msgid "" "reverse=True)[:n]``." msgstr "" -#: library/heapq.rst:122 +#: library/heapq.rst:124 msgid "" "Return a list with the *n* smallest elements from the dataset defined by " "*iterable*. *key*, if provided, specifies a function of one argument that " @@ -173,7 +179,7 @@ msgid "" "n]``." msgstr "" -#: library/heapq.rst:128 +#: library/heapq.rst:130 msgid "" "The latter two functions perform best for smaller values of *n*. For larger " "values, it is more efficient to use the :func:`sorted` function. Also, when " @@ -182,64 +188,64 @@ msgid "" "turning the iterable into an actual heap." msgstr "" -#: library/heapq.rst:136 +#: library/heapq.rst:138 msgid "Basic Examples" msgstr "" -#: library/heapq.rst:138 +#: library/heapq.rst:140 msgid "" "A `heapsort `_ can be implemented by " "pushing all values onto a heap and then popping off the smallest values one " "at a time::" msgstr "" -#: library/heapq.rst:151 +#: library/heapq.rst:153 msgid "" "This is similar to ``sorted(iterable)``, but unlike :func:`sorted`, this " "implementation is not stable." msgstr "" -#: library/heapq.rst:154 +#: library/heapq.rst:156 msgid "" "Heap elements can be tuples. This is useful for assigning comparison values " "(such as task priorities) alongside the main record being tracked::" msgstr "" -#: library/heapq.rst:167 +#: library/heapq.rst:169 msgid "Priority Queue Implementation Notes" msgstr "" -#: library/heapq.rst:169 +#: library/heapq.rst:171 msgid "" "A `priority queue `_ is common " "use for a heap, and it presents several implementation challenges:" msgstr "" -#: library/heapq.rst:172 +#: library/heapq.rst:174 msgid "" "Sort stability: how do you get two tasks with equal priorities to be " "returned in the order they were originally added?" msgstr "" -#: library/heapq.rst:175 +#: library/heapq.rst:177 msgid "" "Tuple comparison breaks for (priority, task) pairs if the priorities are " "equal and the tasks do not have a default comparison order." msgstr "" -#: library/heapq.rst:178 +#: library/heapq.rst:180 msgid "" "If the priority of a task changes, how do you move it to a new position in " "the heap?" msgstr "" -#: library/heapq.rst:181 +#: library/heapq.rst:183 msgid "" "Or if a pending task needs to be deleted, how do you find it and remove it " "from the queue?" msgstr "" -#: library/heapq.rst:184 +#: library/heapq.rst:186 msgid "" "A solution to the first two challenges is to store entries as 3-element list " "including the priority, an entry count, and the task. The entry count " @@ -248,32 +254,32 @@ msgid "" "same, the tuple comparison will never attempt to directly compare two tasks." msgstr "" -#: library/heapq.rst:190 +#: library/heapq.rst:192 msgid "" "Another solution to the problem of non-comparable tasks is to create a " "wrapper class that ignores the task item and only compares the priority " "field::" msgstr "" -#: library/heapq.rst:201 +#: library/heapq.rst:203 msgid "" "The remaining challenges revolve around finding a pending task and making " "changes to its priority or removing it entirely. Finding a task can be done " "with a dictionary pointing to an entry in the queue." msgstr "" -#: library/heapq.rst:205 +#: library/heapq.rst:207 msgid "" "Removing the entry or changing its priority is more difficult because it " "would break the heap structure invariants. So, a possible solution is to " "mark the entry as removed and add a new entry with the revised priority::" msgstr "" -#: library/heapq.rst:239 +#: library/heapq.rst:241 msgid "Theory" msgstr "" -#: library/heapq.rst:241 +#: library/heapq.rst:243 msgid "" "Heaps are arrays for which ``a[k] <= a[2*k+1]`` and ``a[k] <= a[2*k+2]`` for " "all *k*, counting elements from 0. For the sake of comparison, non-existing " @@ -281,13 +287,13 @@ msgid "" "is that ``a[0]`` is always its smallest element." msgstr "" -#: library/heapq.rst:246 +#: library/heapq.rst:248 msgid "" "The strange invariant above is meant to be an efficient memory " "representation for a tournament. The numbers below are *k*, not ``a[k]``::" msgstr "" -#: library/heapq.rst:259 +#: library/heapq.rst:261 msgid "" "In the tree above, each cell *k* is topping ``2*k+1`` and ``2*k+2``. In a " "usual binary tournament we see in sports, each cell is the winner over the " @@ -300,7 +306,7 @@ msgid "" "over the two topped cells." msgstr "" -#: library/heapq.rst:268 +#: library/heapq.rst:270 msgid "" "If this heap invariant is protected at all time, index 0 is clearly the " "overall winner. The simplest algorithmic way to remove it and find the " @@ -311,7 +317,7 @@ msgid "" "items, you get an *O*\\ (*n* log *n*) sort." msgstr "" -#: library/heapq.rst:275 +#: library/heapq.rst:277 msgid "" "A nice feature of this sort is that you can efficiently insert new items " "while the sort is going on, provided that the inserted items are not " @@ -323,7 +329,7 @@ msgid "" "implementing schedulers (this is what I used for my MIDI sequencer :-)." msgstr "" -#: library/heapq.rst:284 +#: library/heapq.rst:286 msgid "" "Various structures for implementing schedulers have been extensively " "studied, and heaps are good for this, as they are reasonably speedy, the " @@ -332,7 +338,7 @@ msgid "" "efficient overall, yet the worst cases might be terrible." msgstr "" -#: library/heapq.rst:290 +#: library/heapq.rst:292 msgid "" "Heaps are also very useful in big disk sorts. You most probably all know " "that a big sort implies producing \"runs\" (which are pre-sorted sequences, " @@ -346,7 +352,7 @@ msgid "" "input fuzzily ordered." msgstr "" -#: library/heapq.rst:300 +#: library/heapq.rst:302 msgid "" "Moreover, if you output the 0'th item on disk and get an input which may not " "fit in the current tournament (because the value \"wins\" over the last " @@ -357,17 +363,17 @@ msgid "" "switch heaps and start a new run. Clever and quite effective!" msgstr "" -#: library/heapq.rst:308 +#: library/heapq.rst:310 msgid "" "In a word, heaps are useful memory structures to know. I use them in a few " "applications, and I think it is good to keep a 'heap' module around. :-)" msgstr "" -#: library/heapq.rst:312 +#: library/heapq.rst:314 msgid "Footnotes" msgstr "" -#: library/heapq.rst:313 +#: library/heapq.rst:315 msgid "" "The disk balancing algorithms which are current, nowadays, are more annoying " "than clever, and this is a consequence of the seeking capabilities of the " diff --git a/library/http.cookiejar.po b/library/http.cookiejar.po index 791750ae1..61b787c44 100644 --- a/library/http.cookiejar.po +++ b/library/http.cookiejar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -150,7 +150,7 @@ msgid "" "class:`CookieJar` instance." msgstr "" -#: library/http.cookiejar.rst:120 +#: library/http.cookiejar.rst:119 msgid "Module :mod:`urllib.request`" msgstr "" @@ -158,7 +158,7 @@ msgstr "" msgid "URL opening with automatic cookie handling." msgstr "" -#: library/http.cookiejar.rst:125 +#: library/http.cookiejar.rst:122 msgid "Module :mod:`http.cookies`" msgstr "" @@ -168,7 +168,7 @@ msgid "" "`http.cookiejar` and :mod:`http.cookies` modules do not depend on each other." msgstr "" -#: library/http.cookiejar.rst:131 +#: library/http.cookiejar.rst:127 msgid "https://curl.se/rfc/cookie_spec.html" msgstr "" @@ -180,7 +180,7 @@ msgid "" "resemblance to the one sketched out in ``cookie_spec.html``." msgstr "" -#: library/http.cookiejar.rst:134 +#: library/http.cookiejar.rst:133 msgid ":rfc:`2109` - HTTP State Management Mechanism" msgstr "" @@ -188,7 +188,7 @@ msgstr "" msgid "Obsoleted by :rfc:`2965`. Uses :mailheader:`Set-Cookie` with version=1." msgstr "" -#: library/http.cookiejar.rst:138 +#: library/http.cookiejar.rst:136 msgid ":rfc:`2965` - HTTP State Management Mechanism" msgstr "" @@ -198,7 +198,7 @@ msgid "" "in place of :mailheader:`Set-Cookie`. Not widely used." msgstr "" -#: library/http.cookiejar.rst:141 +#: library/http.cookiejar.rst:140 msgid "http://kristol.org/cookie/errata.html" msgstr "" diff --git a/library/http.cookies.po b/library/http.cookies.po index 0723ac404..95137cc8b 100644 --- a/library/http.cookies.po +++ b/library/http.cookies.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -87,7 +87,7 @@ msgid "" "string. Values received from HTTP are kept as strings." msgstr "" -#: library/http.cookies.rst:68 +#: library/http.cookies.rst:66 msgid "Module :mod:`http.cookiejar`" msgstr "" diff --git a/library/idle.po b/library/idle.po index 025ad6640..7ed2f8840 100644 --- a/library/idle.po +++ b/library/idle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -94,7 +94,7 @@ msgstr "" msgid "File menu (Shell and Editor)" msgstr "" -#: library/idle.rst:57 +#: library/idle.rst:56 msgid "New File" msgstr "" @@ -102,7 +102,7 @@ msgstr "" msgid "Create a new file editing window." msgstr "" -#: library/idle.rst:60 +#: library/idle.rst:59 msgid "Open..." msgstr "" @@ -110,7 +110,7 @@ msgstr "" msgid "Open an existing file with an Open dialog." msgstr "" -#: library/idle.rst:63 +#: library/idle.rst:62 msgid "Open Module..." msgstr "" @@ -118,7 +118,7 @@ msgstr "" msgid "Open an existing module (searches sys.path)." msgstr "" -#: library/idle.rst:66 +#: library/idle.rst:65 msgid "Recent Files" msgstr "" @@ -126,7 +126,7 @@ msgstr "" msgid "Open a list of recent files. Click one to open it." msgstr "" -#: library/idle.rst:74 +#: library/idle.rst:72 msgid "Module Browser" msgstr "" @@ -136,7 +136,7 @@ msgid "" "structure. In the shell, open a module first." msgstr "" -#: library/idle.rst:78 +#: library/idle.rst:76 msgid "Path Browser" msgstr "" @@ -146,7 +146,7 @@ msgid "" "structure." msgstr "" -#: library/idle.rst:84 +#: library/idle.rst:80 msgid "Save" msgstr "" @@ -158,7 +158,7 @@ msgid "" "instead." msgstr "" -#: library/idle.rst:91 +#: library/idle.rst:86 msgid "Save As..." msgstr "" @@ -171,7 +171,7 @@ msgid "" "text files, except that on macOS Aqua,'.py' is added for all files.)" msgstr "" -#: library/idle.rst:95 +#: library/idle.rst:93 msgid "Save Copy As..." msgstr "" @@ -181,7 +181,7 @@ msgid "" "file. (See Save As note above about filename extensions.)" msgstr "" -#: library/idle.rst:98 +#: library/idle.rst:97 msgid "Print Window" msgstr "" @@ -189,7 +189,7 @@ msgstr "" msgid "Print the current window to the default printer." msgstr "" -#: library/idle.rst:103 +#: library/idle.rst:100 msgid "Close Window" msgstr "" @@ -200,7 +200,7 @@ msgid "" "Shell window also closes Shell. If this is the only window, also exit IDLE." msgstr "" -#: library/idle.rst:106 +#: library/idle.rst:105 msgid "Exit IDLE" msgstr "" @@ -212,7 +212,7 @@ msgstr "" msgid "Edit menu (Shell and Editor)" msgstr "" -#: library/idle.rst:113 +#: library/idle.rst:111 msgid "Undo" msgstr "" @@ -222,7 +222,7 @@ msgid "" "be undone." msgstr "" -#: library/idle.rst:116 +#: library/idle.rst:115 msgid "Redo" msgstr "" @@ -230,7 +230,7 @@ msgstr "" msgid "Redo the last undone change to the current window." msgstr "" -#: library/idle.rst:119 +#: library/idle.rst:118 msgid "Select All" msgstr "" @@ -238,7 +238,7 @@ msgstr "" msgid "Select the entire contents of the current window." msgstr "" -#: library/idle.rst:353 library/idle.rst:368 +#: library/idle.rst:353 library/idle.rst:367 msgid "Cut" msgstr "" @@ -247,7 +247,7 @@ msgid "" "Copy selection into the system-wide clipboard; then delete the selection." msgstr "" -#: library/idle.rst:353 library/idle.rst:371 +#: library/idle.rst:353 library/idle.rst:370 msgid "Copy" msgstr "" @@ -255,7 +255,7 @@ msgstr "" msgid "Copy selection into the system-wide clipboard." msgstr "" -#: library/idle.rst:353 library/idle.rst:374 +#: library/idle.rst:353 library/idle.rst:373 msgid "Paste" msgstr "" @@ -267,7 +267,7 @@ msgstr "" msgid "The clipboard functions are also available in context menus." msgstr "" -#: library/idle.rst:133 +#: library/idle.rst:132 msgid "Find..." msgstr "" @@ -275,7 +275,7 @@ msgstr "" msgid "Open a search dialog with many options" msgstr "" -#: library/idle.rst:136 +#: library/idle.rst:135 msgid "Find Again" msgstr "" @@ -283,7 +283,7 @@ msgstr "" msgid "Repeat the last search, if there is one." msgstr "" -#: library/idle.rst:139 +#: library/idle.rst:138 msgid "Find Selection" msgstr "" @@ -291,7 +291,7 @@ msgstr "" msgid "Search for the currently selected string, if there is one." msgstr "" -#: library/idle.rst:142 +#: library/idle.rst:141 msgid "Find in Files..." msgstr "" @@ -299,7 +299,7 @@ msgstr "" msgid "Open a file search dialog. Put results in a new output window." msgstr "" -#: library/idle.rst:145 +#: library/idle.rst:144 msgid "Replace..." msgstr "" @@ -307,7 +307,7 @@ msgstr "" msgid "Open a search-and-replace dialog." msgstr "" -#: library/idle.rst:150 +#: library/idle.rst:147 msgid "Go to Line" msgstr "" @@ -318,7 +318,7 @@ msgid "" "selection and update the line and column status." msgstr "" -#: library/idle.rst:154 +#: library/idle.rst:152 msgid "Show Completions" msgstr "" @@ -328,7 +328,7 @@ msgid "" "`Completions ` in the Editing and navigation section below." msgstr "" -#: library/idle.rst:158 +#: library/idle.rst:156 msgid "Expand Word" msgstr "" @@ -338,7 +338,7 @@ msgid "" "repeat to get a different expansion." msgstr "" -#: library/idle.rst:163 +#: library/idle.rst:160 msgid "Show Call Tip" msgstr "" @@ -349,7 +349,7 @@ msgid "" "navigation section below." msgstr "" -#: library/idle.rst:166 +#: library/idle.rst:165 msgid "Show Surrounding Parens" msgstr "" @@ -361,7 +361,7 @@ msgstr "" msgid "Format menu (Editor window only)" msgstr "" -#: library/idle.rst:176 +#: library/idle.rst:173 msgid "Format Paragraph" msgstr "" @@ -372,7 +372,7 @@ msgid "" "will be formatted to less than N columns, where N defaults to 72." msgstr "" -#: library/idle.rst:179 +#: library/idle.rst:178 msgid "Indent Region" msgstr "" @@ -380,7 +380,7 @@ msgstr "" msgid "Shift selected lines right by the indent width (default 4 spaces)." msgstr "" -#: library/idle.rst:182 +#: library/idle.rst:181 msgid "Dedent Region" msgstr "" @@ -388,7 +388,7 @@ msgstr "" msgid "Shift selected lines left by the indent width (default 4 spaces)." msgstr "" -#: library/idle.rst:185 +#: library/idle.rst:184 msgid "Comment Out Region" msgstr "" @@ -396,7 +396,7 @@ msgstr "" msgid "Insert ## in front of selected lines." msgstr "" -#: library/idle.rst:188 +#: library/idle.rst:187 msgid "Uncomment Region" msgstr "" @@ -404,7 +404,7 @@ msgstr "" msgid "Remove leading # or ## from selected lines." msgstr "" -#: library/idle.rst:192 +#: library/idle.rst:190 msgid "Tabify Region" msgstr "" @@ -414,7 +414,7 @@ msgid "" "space blocks to indent Python code.)" msgstr "" -#: library/idle.rst:195 +#: library/idle.rst:194 msgid "Untabify Region" msgstr "" @@ -422,7 +422,7 @@ msgstr "" msgid "Turn *all* tabs into the correct number of spaces." msgstr "" -#: library/idle.rst:198 +#: library/idle.rst:197 msgid "Toggle Tabs" msgstr "" @@ -430,7 +430,7 @@ msgstr "" msgid "Open a dialog to switch between indenting with spaces and tabs." msgstr "" -#: library/idle.rst:202 +#: library/idle.rst:200 msgid "New Indent Width" msgstr "" @@ -440,7 +440,7 @@ msgid "" "community is 4 spaces." msgstr "" -#: library/idle.rst:208 +#: library/idle.rst:204 msgid "Strip Trailing Chitespace" msgstr "" @@ -456,7 +456,7 @@ msgstr "" msgid "Run menu (Editor window only)" msgstr "" -#: library/idle.rst:225 +#: library/idle.rst:218 msgid "Run Module" msgstr "" @@ -470,7 +470,7 @@ msgid "" "similar to executing a file with ``python -i file`` at a command line." msgstr "" -#: library/idle.rst:232 +#: library/idle.rst:229 msgid "Run... Customized" msgstr "" @@ -481,7 +481,7 @@ msgid "" "a command line. The module can be run in the Shell without restarting." msgstr "" -#: library/idle.rst:241 +#: library/idle.rst:236 msgid "Check Module" msgstr "" @@ -494,7 +494,7 @@ msgid "" "window." msgstr "" -#: library/idle.rst:247 +#: library/idle.rst:245 msgid "Python Shell" msgstr "" @@ -506,7 +506,7 @@ msgstr "" msgid "Shell menu (Shell window only)" msgstr "" -#: library/idle.rst:253 +#: library/idle.rst:252 msgid "View Last Restart" msgstr "" @@ -514,7 +514,7 @@ msgstr "" msgid "Scroll the shell window to the last Shell restart." msgstr "" -#: library/idle.rst:256 +#: library/idle.rst:255 msgid "Restart Shell" msgstr "" @@ -524,7 +524,7 @@ msgid "" "handling." msgstr "" -#: library/idle.rst:259 +#: library/idle.rst:258 msgid "Previous History" msgstr "" @@ -533,7 +533,7 @@ msgid "" "Cycle through earlier commands in history which match the current entry." msgstr "" -#: library/idle.rst:262 +#: library/idle.rst:261 msgid "Next History" msgstr "" @@ -541,7 +541,7 @@ msgstr "" msgid "Cycle through later commands in history which match the current entry." msgstr "" -#: library/idle.rst:265 +#: library/idle.rst:264 msgid "Interrupt Execution" msgstr "" @@ -553,7 +553,7 @@ msgstr "" msgid "Debug menu (Shell window only)" msgstr "" -#: library/idle.rst:275 +#: library/idle.rst:270 msgid "Go to File/Line" msgstr "" @@ -566,7 +566,7 @@ msgid "" "Shell window and Output windows." msgstr "" -#: library/idle.rst:284 +#: library/idle.rst:281 msgid "Debugger (toggle)" msgstr "" @@ -577,7 +577,7 @@ msgid "" "menu. This feature is still incomplete and somewhat experimental." msgstr "" -#: library/idle.rst:288 +#: library/idle.rst:286 msgid "Stack Viewer" msgstr "" @@ -587,7 +587,7 @@ msgid "" "to locals and globals." msgstr "" -#: library/idle.rst:291 +#: library/idle.rst:290 msgid "Auto-open Stack Viewer" msgstr "" @@ -600,7 +600,7 @@ msgstr "" msgid "Options menu (Shell and Editor)" msgstr "" -#: library/idle.rst:302 +#: library/idle.rst:296 msgid "Configure IDLE" msgstr "" @@ -619,7 +619,7 @@ msgid "" "option items below only apply to the active window." msgstr "" -#: library/idle.rst:311 +#: library/idle.rst:307 msgid "Show/Hide Code Context (Editor Window only)" msgstr "" @@ -630,7 +630,7 @@ msgid "" "Context ` in the Editing and Navigation section below." msgstr "" -#: library/idle.rst:316 +#: library/idle.rst:313 msgid "Show/Hide Line Numbers (Editor Window only)" msgstr "" @@ -641,7 +641,7 @@ msgid "" "(see :ref:`Setting preferences `)." msgstr "" -#: library/idle.rst:324 +#: library/idle.rst:318 msgid "Zoom/Restore Height" msgstr "" @@ -669,7 +669,7 @@ msgstr "" msgid "Help menu (Shell and Editor)" msgstr "" -#: library/idle.rst:336 +#: library/idle.rst:335 msgid "About IDLE" msgstr "" @@ -677,7 +677,7 @@ msgstr "" msgid "Display version, copyright, license, credits, and more." msgstr "" -#: library/idle.rst:340 +#: library/idle.rst:338 msgid "IDLE Help" msgstr "" @@ -687,7 +687,7 @@ msgid "" "navigation, and other tips." msgstr "" -#: library/idle.rst:344 +#: library/idle.rst:342 msgid "Python Docs" msgstr "" @@ -697,7 +697,7 @@ msgid "" "open docs.python.org showing the latest Python documentation." msgstr "" -#: library/idle.rst:347 +#: library/idle.rst:346 msgid "Turtle Demo" msgstr "" @@ -730,7 +730,7 @@ msgid "" "directory." msgstr "" -#: library/idle.rst:382 +#: library/idle.rst:381 msgid "Set Breakpoint" msgstr "" @@ -738,7 +738,7 @@ msgstr "" msgid "Set a breakpoint on the current line." msgstr "" -#: library/idle.rst:385 +#: library/idle.rst:384 msgid "Clear Breakpoint" msgstr "" @@ -750,7 +750,7 @@ msgstr "" msgid "Shell and Output windows also have the following." msgstr "" -#: library/idle.rst:390 +#: library/idle.rst:389 msgid "Go to file/line" msgstr "" @@ -764,7 +764,7 @@ msgid "" "*Python Shell window* subsection below." msgstr "" -#: library/idle.rst:398 +#: library/idle.rst:395 msgid "Squeeze" msgstr "" diff --git a/library/importlib.metadata.po b/library/importlib.metadata.po index 0b24fa02e..25a13d7b3 100644 --- a/library/importlib.metadata.po +++ b/library/importlib.metadata.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -45,11 +45,11 @@ msgstr "" #: library/importlib.metadata.rst:27 msgid "" "``importlib.metadata`` operates on third-party *distribution packages* " -"installed into Python's ``site-packages`` directory via tools such as `pip " -"`_. Specifically, it works with distributions " -"with discoverable ``dist-info`` or ``egg-info`` directories, and metadata " -"defined by the `Core metadata specifications `_." +"installed into Python's ``site-packages`` directory via tools such as :pypi:" +"`pip`. Specifically, it works with distributions with discoverable ``dist-" +"info`` or ``egg-info`` directories, and metadata defined by the `Core " +"metadata specifications `_." msgstr "" #: library/importlib.metadata.rst:36 @@ -70,7 +70,7 @@ msgid "" "can live almost anywhere." msgstr "" -#: library/importlib.metadata.rst:62 +#: library/importlib.metadata.rst:55 msgid "https://importlib-metadata.readthedocs.io/" msgstr "" @@ -195,9 +195,8 @@ msgid "" "3.6 and Python 3.10. Prior to those changes, ``entry_points`` accepted no " "parameters and always returned a dictionary of entry points, keyed by group. " "With ``importlib_metadata`` 5.0 and Python 3.12, ``entry_points`` always " -"returns an ``EntryPoints`` object. See `backports.entry_points_selectable " -"`_ for " -"compatibility options." +"returns an ``EntryPoints`` object. See :pypi:`backports." +"entry_points_selectable` for compatibility options." msgstr "" #: library/importlib.metadata.rst:188 diff --git a/library/importlib.po b/library/importlib.po index b15cde84a..0c01a64ea 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -68,7 +68,7 @@ msgid "" "\"resources\" from Python packages." msgstr "" -#: library/importlib.rst:44 +#: library/importlib.rst:43 msgid ":ref:`import`" msgstr "" @@ -76,7 +76,7 @@ msgstr "" msgid "The language reference for the :keyword:`import` statement." msgstr "" -#: library/importlib.rst:49 +#: library/importlib.rst:46 msgid "" "`Packages specification `__" msgstr "" @@ -88,7 +88,7 @@ msgid "" "modules`)." msgstr "" -#: library/importlib.rst:52 +#: library/importlib.rst:51 msgid "The :func:`.__import__` function" msgstr "" @@ -96,7 +96,7 @@ msgstr "" msgid "The :keyword:`import` statement is syntactic sugar for this function." msgstr "" -#: library/importlib.rst:55 +#: library/importlib.rst:54 msgid ":ref:`sys-path-init`" msgstr "" @@ -104,7 +104,7 @@ msgstr "" msgid "The initialization of :data:`sys.path`." msgstr "" -#: library/importlib.rst:58 +#: library/importlib.rst:57 msgid ":pep:`235`" msgstr "" @@ -112,7 +112,7 @@ msgstr "" msgid "Import on Case-Insensitive Platforms" msgstr "" -#: library/importlib.rst:61 +#: library/importlib.rst:60 msgid ":pep:`263`" msgstr "" @@ -120,7 +120,7 @@ msgstr "" msgid "Defining Python Source Code Encodings" msgstr "" -#: library/importlib.rst:64 +#: library/importlib.rst:63 msgid ":pep:`302`" msgstr "" @@ -128,7 +128,7 @@ msgstr "" msgid "New Import Hooks" msgstr "" -#: library/importlib.rst:67 +#: library/importlib.rst:66 msgid ":pep:`328`" msgstr "" @@ -136,7 +136,7 @@ msgstr "" msgid "Imports: Multi-Line and Absolute/Relative" msgstr "" -#: library/importlib.rst:70 +#: library/importlib.rst:69 msgid ":pep:`366`" msgstr "" @@ -144,7 +144,7 @@ msgstr "" msgid "Main module explicit relative imports" msgstr "" -#: library/importlib.rst:73 +#: library/importlib.rst:72 msgid ":pep:`420`" msgstr "" @@ -152,7 +152,7 @@ msgstr "" msgid "Implicit namespace packages" msgstr "" -#: library/importlib.rst:76 +#: library/importlib.rst:75 msgid ":pep:`451`" msgstr "" @@ -160,7 +160,7 @@ msgstr "" msgid "A ModuleSpec Type for the Import System" msgstr "" -#: library/importlib.rst:79 +#: library/importlib.rst:78 msgid ":pep:`488`" msgstr "" @@ -168,7 +168,7 @@ msgstr "" msgid "Elimination of PYO files" msgstr "" -#: library/importlib.rst:82 +#: library/importlib.rst:81 msgid ":pep:`489`" msgstr "" @@ -176,7 +176,7 @@ msgstr "" msgid "Multi-phase extension module initialization" msgstr "" -#: library/importlib.rst:85 +#: library/importlib.rst:84 msgid ":pep:`552`" msgstr "" @@ -184,7 +184,7 @@ msgstr "" msgid "Deterministic pycs" msgstr "" -#: library/importlib.rst:88 +#: library/importlib.rst:87 msgid ":pep:`3120`" msgstr "" @@ -490,7 +490,7 @@ msgid "" "these attributes can change when a module is reloaded):" msgstr "" -#: library/importlib.rst:360 +#: library/importlib.rst:358 msgid ":attr:`__name__`" msgstr "" @@ -500,7 +500,7 @@ msgid "" "module." msgstr "" -#: library/importlib.rst:365 +#: library/importlib.rst:362 msgid ":attr:`__file__`" msgstr "" @@ -511,7 +511,7 @@ msgid "" "modules (e.g. built-in modules)." msgstr "" -#: library/importlib.rst:369 +#: library/importlib.rst:367 msgid ":attr:`__cached__`" msgstr "" @@ -521,7 +521,7 @@ msgid "" "all modules (e.g. built-in modules)." msgstr "" -#: library/importlib.rst:377 +#: library/importlib.rst:371 msgid ":attr:`__path__`" msgstr "" @@ -534,7 +534,7 @@ msgid "" "as an indicator that the module is a package." msgstr "" -#: library/importlib.rst:382 +#: library/importlib.rst:379 msgid ":attr:`__package__`" msgstr "" @@ -545,7 +545,7 @@ msgid "" "same as :attr:`__name__`." msgstr "" -#: library/importlib.rst:385 +#: library/importlib.rst:384 msgid ":attr:`__loader__`" msgstr "" @@ -744,7 +744,7 @@ msgstr "" msgid ":meth:`ResourceLoader.get_data`" msgstr "" -#: library/importlib.rst:564 +#: library/importlib.rst:562 msgid ":meth:`ExecutionLoader.get_filename`" msgstr "" @@ -1453,7 +1453,7 @@ msgid "" "is the same as :attr:`name`." msgstr "" -#: library/importlib.rst:1240 +#: library/importlib.rst:1239 msgid "``True`` if the spec's :attr:`origin` refers to a loadable location," msgstr "" diff --git a/library/importlib.resources.abc.po b/library/importlib.resources.abc.po index fa5ff6999..500b6dc61 100644 --- a/library/importlib.resources.abc.po +++ b/library/importlib.resources.abc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -144,31 +144,58 @@ msgid "Return True if self is a file." msgstr "" #: library/importlib.resources.abc.rst:114 -#: library/importlib.resources.abc.rst:118 -msgid "Return Traversable child in self." +msgid "" +"Traverse directories according to *pathsegments* and return the result as :" +"class:`!Traversable`." +msgstr "" + +#: library/importlib.resources.abc.rst:117 +msgid "" +"Each *pathsegments* argument may contain multiple names separated by forward " +"slashes (``/``, ``posixpath.sep`` ). For example, the following are " +"equivalent::" +msgstr "" + +#: library/importlib.resources.abc.rst:124 +msgid "" +"Note that some :class:`!Traversable` implementations might not be updated to " +"the latest version of the protocol. For compatibility with such " +"implementations, provide a single argument without path separators to each " +"call to ``joinpath``. For example::" msgstr "" -#: library/importlib.resources.abc.rst:122 +#: library/importlib.resources.abc.rst:133 +msgid "" +"``joinpath`` accepts multiple *pathsegments*, and these segments may contain " +"forward slashes as path separators. Previously, only a single *child* " +"argument was accepted." +msgstr "" + +#: library/importlib.resources.abc.rst:139 +msgid "Return Traversable child in self. Equivalent to ``joinpath(child)``." +msgstr "" + +#: library/importlib.resources.abc.rst:144 msgid "" "*mode* may be 'r' or 'rb' to open as text or binary. Return a handle " "suitable for reading (same as :attr:`pathlib.Path.open`)." msgstr "" -#: library/importlib.resources.abc.rst:125 +#: library/importlib.resources.abc.rst:147 msgid "" "When opening as text, accepts encoding parameters such as those accepted by :" "class:`io.TextIOWrapper`." msgstr "" -#: library/importlib.resources.abc.rst:130 +#: library/importlib.resources.abc.rst:152 msgid "Read contents of self as bytes." msgstr "" -#: library/importlib.resources.abc.rst:134 +#: library/importlib.resources.abc.rst:156 msgid "Read contents of self as text." msgstr "" -#: library/importlib.resources.abc.rst:139 +#: library/importlib.resources.abc.rst:161 msgid "" "An abstract base class for resource readers capable of serving the :meth:" "`importlib.resources.files` interface. Subclasses :class:`ResourceReader` " @@ -177,13 +204,13 @@ msgid "" "TraversableResources` also supplies :class:`!ResourceReader`." msgstr "" -#: library/importlib.resources.abc.rst:146 +#: library/importlib.resources.abc.rst:168 msgid "" "Loaders that wish to support resource reading are expected to implement this " "interface." msgstr "" -#: library/importlib.resources.abc.rst:151 +#: library/importlib.resources.abc.rst:173 msgid "" "Returns a :class:`importlib.resources.abc.Traversable` object for the loaded " "package." diff --git a/library/io.po b/library/io.po index 4ca330f20..30af99480 100644 --- a/library/io.po +++ b/library/io.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -169,7 +169,7 @@ msgid "" "``encoding=\"locale\"`` is supported since Python 3.10." msgstr "" -#: library/io.rst:135 +#: library/io.rst:133 msgid ":ref:`utf8-mode`" msgstr "" @@ -307,7 +307,7 @@ msgid "" "when an unsupported operation is called on a stream." msgstr "" -#: library/io.rst:244 +#: library/io.rst:243 msgid ":mod:`sys`" msgstr "" diff --git a/library/ipaddress.po b/library/ipaddress.po index e416d36bb..8f0bdb7f0 100644 --- a/library/ipaddress.po +++ b/library/ipaddress.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -207,38 +207,97 @@ msgstr "" #: library/ipaddress.rst:181 msgid "" -"``True`` if the address is allocated for private networks. See iana-ipv4-" -"special-registry_ (for IPv4) or iana-ipv6-special-registry_ (for IPv6)." +"``True`` if the address is defined as not globally reachable by iana-ipv4-" +"special-registry_ (for IPv4) or iana-ipv6-special-registry_ (for IPv6) with " +"the following exceptions:" msgstr "" -#: library/ipaddress.rst:187 +#: library/ipaddress.rst:185 msgid "" -"``True`` if the address is allocated for public networks. See iana-ipv4-" -"special-registry_ (for IPv4) or iana-ipv6-special-registry_ (for IPv6)." +"``is_private`` is ``False`` for the shared address space (``100.64.0.0/10``)" msgstr "" -#: library/ipaddress.rst:195 +#: library/ipaddress.rst:213 +msgid "" +"For IPv4-mapped IPv6-addresses the ``is_private`` value is determined by the " +"semantics of the underlying IPv4 addresses and the following condition holds " +"(see :attr:`IPv6Address.ipv4_mapped`)::" +msgstr "" + +#: library/ipaddress.rst:192 +msgid "" +"``is_private`` has value opposite to :attr:`is_global`, except for the " +"shared address space (``100.64.0.0/10`` range) where they are both ``False``." +msgstr "" + +#: library/ipaddress.rst:197 +msgid "Fixed some false positives and false negatives." +msgstr "" + +#: library/ipaddress.rst:199 +msgid "" +"``192.0.0.0/24`` is considered private with the exception of " +"``192.0.0.9/32`` and ``192.0.0.10/32`` (previously: only the " +"``192.0.0.0/29`` sub-range was considered private)." +msgstr "" + +#: library/ipaddress.rst:201 +msgid "``64:ff9b:1::/48`` is considered private." +msgstr "" + +#: library/ipaddress.rst:202 +msgid "``2002::/16`` is considered private." +msgstr "" + +#: library/ipaddress.rst:203 +msgid "" +"There are exceptions within ``2001::/23`` (otherwise considered private): " +"``2001:1::1/128``, ``2001:1::2/128``, ``2001:3::/32``, ``2001:4:112::/48``, " +"``2001:20::/28``, ``2001:30::/28``. The exceptions are not considered " +"private." +msgstr "" + +#: library/ipaddress.rst:209 +msgid "" +"``True`` if the address is defined as globally reachable by iana-ipv4-" +"special-registry_ (for IPv4) or iana-ipv6-special-registry_ (for IPv6) with " +"the following exception:" +msgstr "" + +#: library/ipaddress.rst:219 +msgid "" +"``is_global`` has value opposite to :attr:`is_private`, except for the " +"shared address space (``100.64.0.0/10`` range) where they are both ``False``." +msgstr "" + +#: library/ipaddress.rst:226 +msgid "" +"Fixed some false positives and false negatives, see :attr:`is_private` for " +"details." +msgstr "" + +#: library/ipaddress.rst:230 msgid "" "``True`` if the address is unspecified. See :RFC:`5735` (for IPv4) or :RFC:" "`2373` (for IPv6)." msgstr "" -#: library/ipaddress.rst:200 +#: library/ipaddress.rst:235 msgid "``True`` if the address is otherwise IETF reserved." msgstr "" -#: library/ipaddress.rst:204 +#: library/ipaddress.rst:239 msgid "" "``True`` if this is a loopback address. See :RFC:`3330` (for IPv4) or :RFC:" "`2373` (for IPv6)." msgstr "" -#: library/ipaddress.rst:209 +#: library/ipaddress.rst:244 msgid "" "``True`` if the address is reserved for link-local usage. See :RFC:`3927`." msgstr "" -#: library/ipaddress.rst:217 +#: library/ipaddress.rst:252 msgid "" "Returns a string representation of the IP address, controlled by an explicit " "format string. *fmt* can be one of the following: ``'s'``, the default " @@ -250,17 +309,17 @@ msgid "" "used by ``format``, ``str.format`` and f-strings." msgstr "" -#: library/ipaddress.rst:244 +#: library/ipaddress.rst:279 msgid "" "Construct an IPv6 address. An :exc:`AddressValueError` is raised if " "*address* is not a valid IPv6 address." msgstr "" -#: library/ipaddress.rst:247 +#: library/ipaddress.rst:282 msgid "The following constitutes a valid IPv6 address:" msgstr "" -#: library/ipaddress.rst:249 +#: library/ipaddress.rst:284 msgid "" "A string consisting of eight groups of four hexadecimal digits, each group " "representing 16 bits. The groups are separated by colons. This describes an " @@ -270,7 +329,7 @@ msgid "" "to ``\"::abc:7:def\"``." msgstr "" -#: library/ipaddress.rst:257 +#: library/ipaddress.rst:292 msgid "" "Optionally, the string may also have a scope zone ID, expressed with a " "suffix ``%scope_id``. If present, the scope ID must be non-empty, and may " @@ -279,43 +338,39 @@ msgid "" "the node." msgstr "" -#: library/ipaddress.rst:262 +#: library/ipaddress.rst:297 msgid "An integer that fits into 128 bits." msgstr "" -#: library/ipaddress.rst:263 +#: library/ipaddress.rst:298 msgid "" "An integer packed into a :class:`bytes` object of length 16, big-endian." msgstr "" -#: library/ipaddress.rst:273 +#: library/ipaddress.rst:308 msgid "" "The short form of the address representation, with leading zeroes in groups " "omitted and the longest sequence of groups consisting entirely of zeroes " "collapsed to a single empty group." msgstr "" -#: library/ipaddress.rst:277 +#: library/ipaddress.rst:312 msgid "This is also the value returned by ``str(addr)`` for IPv6 addresses." msgstr "" -#: library/ipaddress.rst:281 +#: library/ipaddress.rst:316 msgid "" "The long form of the address representation, with all leading zeroes and " "groups consisting entirely of zeroes included." msgstr "" -#: library/ipaddress.rst:285 +#: library/ipaddress.rst:320 msgid "" "For the following attributes and methods, see the corresponding " "documentation of the :class:`IPv4Address` class:" msgstr "" -#: library/ipaddress.rst:300 -msgid "is_global" -msgstr "" - -#: library/ipaddress.rst:305 +#: library/ipaddress.rst:340 msgid "" "``True`` if the address is reserved for site-local usage. Note that the " "site-local address space has been deprecated by :RFC:`3879`. Use :attr:" @@ -323,21 +378,21 @@ msgid "" "local addresses as defined by :RFC:`4193`." msgstr "" -#: library/ipaddress.rst:312 +#: library/ipaddress.rst:347 msgid "" "For addresses that appear to be IPv4 mapped addresses (starting with ``::" "FFFF/96``), this property will report the embedded IPv4 address. For any " "other address, this property will be ``None``." msgstr "" -#: library/ipaddress.rst:318 +#: library/ipaddress.rst:353 msgid "" "For scoped addresses as defined by :RFC:`4007`, this property identifies the " "particular zone of the address's scope that the address belongs to, as a " "string. When no scope zone is specified, this property will be ``None``." msgstr "" -#: library/ipaddress.rst:324 +#: library/ipaddress.rst:359 msgid "" "For addresses that appear to be 6to4 addresses (starting with " "``2002::/16``) as defined by :RFC:`3056`, this property will report the " @@ -345,7 +400,7 @@ msgid "" "``None``." msgstr "" -#: library/ipaddress.rst:331 +#: library/ipaddress.rst:366 msgid "" "For addresses that appear to be Teredo addresses (starting with " "``2001::/32``) as defined by :RFC:`4380`, this property will report the " @@ -353,64 +408,64 @@ msgid "" "property will be ``None``." msgstr "" -#: library/ipaddress.rst:338 +#: library/ipaddress.rst:373 msgid "" "Refer to the corresponding method documentation in :class:`IPv4Address`." msgstr "" -#: library/ipaddress.rst:344 +#: library/ipaddress.rst:379 msgid "Conversion to Strings and Integers" msgstr "" -#: library/ipaddress.rst:346 +#: library/ipaddress.rst:381 msgid "" "To interoperate with networking interfaces such as the socket module, " "addresses must be converted to strings or integers. This is handled using " "the :func:`str` and :func:`int` builtin functions::" msgstr "" -#: library/ipaddress.rst:359 +#: library/ipaddress.rst:394 msgid "" "Note that IPv6 scoped addresses are converted to integers without scope zone " "ID." msgstr "" -#: library/ipaddress.rst:747 library/ipaddress.rst:883 +#: library/ipaddress.rst:782 library/ipaddress.rst:918 msgid "Operators" msgstr "" -#: library/ipaddress.rst:365 +#: library/ipaddress.rst:400 msgid "" "Address objects support some operators. Unless stated otherwise, operators " "can only be applied between compatible objects (i.e. IPv4 with IPv4, IPv6 " "with IPv6)." msgstr "" -#: library/ipaddress.rst:371 +#: library/ipaddress.rst:406 msgid "Comparison operators" msgstr "" -#: library/ipaddress.rst:373 +#: library/ipaddress.rst:408 msgid "" "Address objects can be compared with the usual set of comparison operators. " "Same IPv6 addresses with different scope zone IDs are not equal. Some " "examples::" msgstr "" -#: library/ipaddress.rst:390 +#: library/ipaddress.rst:425 msgid "Arithmetic operators" msgstr "" -#: library/ipaddress.rst:392 +#: library/ipaddress.rst:427 msgid "" "Integers can be added to or subtracted from address objects. Some examples::" msgstr "" -#: library/ipaddress.rst:405 +#: library/ipaddress.rst:440 msgid "IP Network definitions" msgstr "" -#: library/ipaddress.rst:407 +#: library/ipaddress.rst:442 msgid "" "The :class:`IPv4Network` and :class:`IPv6Network` objects provide a " "mechanism for defining and inspecting IP network definitions. A network " @@ -421,11 +476,11 @@ msgid "" "addresses in the inclusive range ``192.168.1.0`` to ``192.168.1.255``." msgstr "" -#: library/ipaddress.rst:417 +#: library/ipaddress.rst:452 msgid "Prefix, net mask and host mask" msgstr "" -#: library/ipaddress.rst:419 +#: library/ipaddress.rst:454 msgid "" "There are several equivalent ways to specify IP network masks. A *prefix* " "``/`` is a notation that denotes how many high-order bits are set in " @@ -437,11 +492,11 @@ msgid "" "mask equivalent to ``/24`` in IPv4 is ``0.0.0.255``." msgstr "" -#: library/ipaddress.rst:430 +#: library/ipaddress.rst:465 msgid "Network objects" msgstr "" -#: library/ipaddress.rst:432 +#: library/ipaddress.rst:467 msgid "" "All attributes implemented by address objects are implemented by network " "objects as well. In addition, network objects implement additional " @@ -451,12 +506,12 @@ msgid "" "keys in dictionaries." msgstr "" -#: library/ipaddress.rst:441 +#: library/ipaddress.rst:476 msgid "" "Construct an IPv4 network definition. *address* can be one of the following:" msgstr "" -#: library/ipaddress.rst:443 +#: library/ipaddress.rst:478 msgid "" "A string consisting of an IP address and an optional mask, separated by a " "slash (``/``). The IP address is the network address, and the mask can be " @@ -468,26 +523,26 @@ msgid "" "it's considered to be ``/32``." msgstr "" -#: library/ipaddress.rst:452 +#: library/ipaddress.rst:487 msgid "" "For example, the following *address* specifications are equivalent: " "``192.168.1.0/24``, ``192.168.1.0/255.255.255.0`` and " "``192.168.1.0/0.0.0.255``." msgstr "" -#: library/ipaddress.rst:456 +#: library/ipaddress.rst:491 msgid "" "An integer that fits into 32 bits. This is equivalent to a single-address " "network, with the network address being *address* and the mask being ``/32``." msgstr "" -#: library/ipaddress.rst:460 +#: library/ipaddress.rst:495 msgid "" "An integer packed into a :class:`bytes` object of length 4, big-endian. The " "interpretation is similar to an integer *address*." msgstr "" -#: library/ipaddress.rst:463 +#: library/ipaddress.rst:498 msgid "" "A two-tuple of an address description and a netmask, where the address " "description is either a string, a 32-bits integer, a 4-bytes packed integer, " @@ -496,92 +551,92 @@ msgid "" "prefix mask (e.g. ``255.255.255.0``)." msgstr "" -#: library/ipaddress.rst:469 +#: library/ipaddress.rst:504 msgid "" "An :exc:`AddressValueError` is raised if *address* is not a valid IPv4 " "address. A :exc:`NetmaskValueError` is raised if the mask is not valid for " "an IPv4 address." msgstr "" -#: library/ipaddress.rst:693 +#: library/ipaddress.rst:728 msgid "" "If *strict* is ``True`` and host bits are set in the supplied address, then :" "exc:`ValueError` is raised. Otherwise, the host bits are masked out to " "determine the appropriate network address." msgstr "" -#: library/ipaddress.rst:477 +#: library/ipaddress.rst:512 msgid "" "Unless stated otherwise, all network methods accepting other network/address " "objects will raise :exc:`TypeError` if the argument's IP version is " "incompatible to ``self``." msgstr "" -#: library/ipaddress.rst:699 +#: library/ipaddress.rst:734 msgid "Added the two-tuple form for the *address* constructor parameter." msgstr "" -#: library/ipaddress.rst:488 +#: library/ipaddress.rst:523 msgid "" "Refer to the corresponding attribute documentation in :class:`IPv4Address`." msgstr "" -#: library/ipaddress.rst:498 +#: library/ipaddress.rst:533 msgid "" "These attributes are true for the network as a whole if they are true for " "both the network address and the broadcast address." msgstr "" -#: library/ipaddress.rst:503 +#: library/ipaddress.rst:538 msgid "" "The network address for the network. The network address and the prefix " "length together uniquely define a network." msgstr "" -#: library/ipaddress.rst:508 +#: library/ipaddress.rst:543 msgid "" "The broadcast address for the network. Packets sent to the broadcast address " "should be received by every host on the network." msgstr "" -#: library/ipaddress.rst:513 +#: library/ipaddress.rst:548 msgid "The host mask, as an :class:`IPv4Address` object." msgstr "" -#: library/ipaddress.rst:517 +#: library/ipaddress.rst:552 msgid "The net mask, as an :class:`IPv4Address` object." msgstr "" -#: library/ipaddress.rst:523 +#: library/ipaddress.rst:558 msgid "" "A string representation of the network, with the mask in prefix notation." msgstr "" -#: library/ipaddress.rst:526 +#: library/ipaddress.rst:561 msgid "" "``with_prefixlen`` and ``compressed`` are always the same as " "``str(network)``. ``exploded`` uses the exploded form the network address." msgstr "" -#: library/ipaddress.rst:532 +#: library/ipaddress.rst:567 msgid "" "A string representation of the network, with the mask in net mask notation." msgstr "" -#: library/ipaddress.rst:537 +#: library/ipaddress.rst:572 msgid "" "A string representation of the network, with the mask in host mask notation." msgstr "" -#: library/ipaddress.rst:542 +#: library/ipaddress.rst:577 msgid "The total number of addresses in the network." msgstr "" -#: library/ipaddress.rst:546 +#: library/ipaddress.rst:581 msgid "Length of the network prefix, in bits." msgstr "" -#: library/ipaddress.rst:550 +#: library/ipaddress.rst:585 msgid "" "Returns an iterator over the usable hosts in the network. The usable hosts " "are all the IP addresses that belong to the network, except the network " @@ -591,20 +646,20 @@ msgid "" "containing the single host address." msgstr "" -#: library/ipaddress.rst:568 +#: library/ipaddress.rst:603 msgid "" "``True`` if this network is partly or wholly contained in *other* or *other* " "is wholly contained in this network." msgstr "" -#: library/ipaddress.rst:573 +#: library/ipaddress.rst:608 msgid "" "Computes the network definitions resulting from removing the given *network* " "from this one. Returns an iterator of network objects. Raises :exc:" "`ValueError` if *network* is not completely contained in this network." msgstr "" -#: library/ipaddress.rst:586 +#: library/ipaddress.rst:621 msgid "" "The subnets that join to make the current network definition, depending on " "the argument values. *prefixlen_diff* is the amount our prefix length " @@ -614,7 +669,7 @@ msgid "" "network objects." msgstr "" -#: library/ipaddress.rst:611 +#: library/ipaddress.rst:646 msgid "" "The supernet containing this network definition, depending on the argument " "values. *prefixlen_diff* is the amount our prefix length should be " @@ -623,33 +678,33 @@ msgid "" "*new_prefix* must be set. Returns a single network object." msgstr "" -#: library/ipaddress.rst:627 +#: library/ipaddress.rst:662 msgid "Return ``True`` if this network is a subnet of *other*." msgstr "" -#: library/ipaddress.rst:638 +#: library/ipaddress.rst:673 msgid "Return ``True`` if this network is a supernet of *other*." msgstr "" -#: library/ipaddress.rst:649 +#: library/ipaddress.rst:684 msgid "" "Compare this network to *other*. In this comparison only the network " "addresses are considered; host bits aren't. Returns either ``-1``, ``0`` or " "``1``." msgstr "" -#: library/ipaddress.rst:660 +#: library/ipaddress.rst:695 msgid "" "It uses the same ordering and comparison algorithm as \"<\", \"==\", and " "\">\"" msgstr "" -#: library/ipaddress.rst:666 +#: library/ipaddress.rst:701 msgid "" "Construct an IPv6 network definition. *address* can be one of the following:" msgstr "" -#: library/ipaddress.rst:668 +#: library/ipaddress.rst:703 msgid "" "A string consisting of an IP address and an optional prefix length, " "separated by a slash (``/``). The IP address is the network address, and " @@ -657,26 +712,26 @@ msgid "" "length is provided, it's considered to be ``/128``." msgstr "" -#: library/ipaddress.rst:673 +#: library/ipaddress.rst:708 msgid "" "Note that currently expanded netmasks are not supported. That means ``2001:" "db00::0/24`` is a valid argument while ``2001:db00::0/ffff:ff00::`` is not." msgstr "" -#: library/ipaddress.rst:677 +#: library/ipaddress.rst:712 msgid "" "An integer that fits into 128 bits. This is equivalent to a single-address " "network, with the network address being *address* and the mask being " "``/128``." msgstr "" -#: library/ipaddress.rst:681 +#: library/ipaddress.rst:716 msgid "" "An integer packed into a :class:`bytes` object of length 16, big-endian. The " "interpretation is similar to an integer *address*." msgstr "" -#: library/ipaddress.rst:684 +#: library/ipaddress.rst:719 msgid "" "A two-tuple of an address description and a netmask, where the address " "description is either a string, a 128-bits integer, a 16-bytes packed " @@ -684,14 +739,14 @@ msgid "" "representing the prefix length." msgstr "" -#: library/ipaddress.rst:689 +#: library/ipaddress.rst:724 msgid "" "An :exc:`AddressValueError` is raised if *address* is not a valid IPv6 " "address. A :exc:`NetmaskValueError` is raised if the mask is not valid for " "an IPv6 address." msgstr "" -#: library/ipaddress.rst:722 +#: library/ipaddress.rst:757 msgid "" "Returns an iterator over the usable hosts in the network. The usable hosts " "are all the IP addresses that belong to the network, except the Subnet-" @@ -700,139 +755,139 @@ msgid "" "of 128 will return a list containing the single host address." msgstr "" -#: library/ipaddress.rst:737 +#: library/ipaddress.rst:772 msgid "" "Refer to the corresponding attribute documentation in :class:`IPv4Network`." msgstr "" -#: library/ipaddress.rst:742 +#: library/ipaddress.rst:777 msgid "" "These attribute is true for the network as a whole if it is true for both " "the network address and the broadcast address." msgstr "" -#: library/ipaddress.rst:749 +#: library/ipaddress.rst:784 msgid "" "Network objects support some operators. Unless stated otherwise, operators " "can only be applied between compatible objects (i.e. IPv4 with IPv4, IPv6 " "with IPv6)." msgstr "" -#: library/ipaddress.rst:891 +#: library/ipaddress.rst:926 msgid "Logical operators" msgstr "" -#: library/ipaddress.rst:757 +#: library/ipaddress.rst:792 msgid "" "Network objects can be compared with the usual set of logical operators. " "Network objects are ordered first by network address, then by net mask." msgstr "" -#: library/ipaddress.rst:762 +#: library/ipaddress.rst:797 msgid "Iteration" msgstr "" -#: library/ipaddress.rst:764 +#: library/ipaddress.rst:799 msgid "" "Network objects can be iterated to list all the addresses belonging to the " "network. For iteration, *all* hosts are returned, including unusable hosts " "(for usable hosts, use the :meth:`~IPv4Network.hosts` method). An example::" msgstr "" -#: library/ipaddress.rst:791 +#: library/ipaddress.rst:826 msgid "Networks as containers of addresses" msgstr "" -#: library/ipaddress.rst:793 +#: library/ipaddress.rst:828 msgid "Network objects can act as containers of addresses. Some examples::" msgstr "" -#: library/ipaddress.rst:806 +#: library/ipaddress.rst:841 msgid "Interface objects" msgstr "" -#: library/ipaddress.rst:808 +#: library/ipaddress.rst:843 msgid "" "Interface objects are :term:`hashable`, so they can be used as keys in " "dictionaries." msgstr "" -#: library/ipaddress.rst:813 +#: library/ipaddress.rst:848 msgid "" "Construct an IPv4 interface. The meaning of *address* is as in the " "constructor of :class:`IPv4Network`, except that arbitrary host addresses " "are always accepted." msgstr "" -#: library/ipaddress.rst:817 +#: library/ipaddress.rst:852 msgid "" ":class:`IPv4Interface` is a subclass of :class:`IPv4Address`, so it inherits " "all the attributes from that class. In addition, the following attributes " "are available:" msgstr "" -#: library/ipaddress.rst:823 +#: library/ipaddress.rst:858 msgid "The address (:class:`IPv4Address`) without network information." msgstr "" -#: library/ipaddress.rst:831 +#: library/ipaddress.rst:866 msgid "The network (:class:`IPv4Network`) this interface belongs to." msgstr "" -#: library/ipaddress.rst:839 +#: library/ipaddress.rst:874 msgid "" "A string representation of the interface with the mask in prefix notation." msgstr "" -#: library/ipaddress.rst:847 +#: library/ipaddress.rst:882 msgid "" "A string representation of the interface with the network as a net mask." msgstr "" -#: library/ipaddress.rst:855 +#: library/ipaddress.rst:890 msgid "" "A string representation of the interface with the network as a host mask." msgstr "" -#: library/ipaddress.rst:864 +#: library/ipaddress.rst:899 msgid "" "Construct an IPv6 interface. The meaning of *address* is as in the " "constructor of :class:`IPv6Network`, except that arbitrary host addresses " "are always accepted." msgstr "" -#: library/ipaddress.rst:868 +#: library/ipaddress.rst:903 msgid "" ":class:`IPv6Interface` is a subclass of :class:`IPv6Address`, so it inherits " "all the attributes from that class. In addition, the following attributes " "are available:" msgstr "" -#: library/ipaddress.rst:878 +#: library/ipaddress.rst:913 msgid "" "Refer to the corresponding attribute documentation in :class:`IPv4Interface`." msgstr "" -#: library/ipaddress.rst:885 +#: library/ipaddress.rst:920 msgid "" "Interface objects support some operators. Unless stated otherwise, " "operators can only be applied between compatible objects (i.e. IPv4 with " "IPv4, IPv6 with IPv6)." msgstr "" -#: library/ipaddress.rst:893 +#: library/ipaddress.rst:928 msgid "" "Interface objects can be compared with the usual set of logical operators." msgstr "" -#: library/ipaddress.rst:895 +#: library/ipaddress.rst:930 msgid "" "For equality comparison (``==`` and ``!=``), both the IP address and network " "must be the same for the objects to be equal. An interface will not compare " "equal to any address or network object." msgstr "" -#: library/ipaddress.rst:899 +#: library/ipaddress.rst:934 msgid "" "For ordering (``<``, ``>``, etc) the rules are different. Interface and " "address objects with the same IP version can be compared, and the address " @@ -841,15 +896,15 @@ msgid "" "then by their IP addresses." msgstr "" -#: library/ipaddress.rst:907 +#: library/ipaddress.rst:942 msgid "Other Module Level Functions" msgstr "" -#: library/ipaddress.rst:909 +#: library/ipaddress.rst:944 msgid "The module also provides the following module level functions:" msgstr "" -#: library/ipaddress.rst:913 +#: library/ipaddress.rst:948 msgid "" "Represent an address as 4 packed bytes in network (big-endian) order. " "*address* is an integer representation of an IPv4 IP address. A :exc:" @@ -857,7 +912,7 @@ msgid "" "IP address." msgstr "" -#: library/ipaddress.rst:926 +#: library/ipaddress.rst:961 msgid "" "Represent an address as 16 packed bytes in network (big-endian) order. " "*address* is an integer representation of an IPv6 IP address. A :exc:" @@ -865,7 +920,7 @@ msgid "" "IP address." msgstr "" -#: library/ipaddress.rst:934 +#: library/ipaddress.rst:969 msgid "" "Return an iterator of the summarized network range given the first and last " "IP addresses. *first* is the first :class:`IPv4Address` or :class:" @@ -876,7 +931,7 @@ msgid "" "address version is not 4 or 6." msgstr "" -#: library/ipaddress.rst:950 +#: library/ipaddress.rst:985 msgid "" "Return an iterator of the collapsed :class:`IPv4Network` or :class:" "`IPv6Network` objects. *addresses* is an iterator of :class:`IPv4Network` " @@ -884,38 +939,38 @@ msgid "" "*addresses* contains mixed version objects." msgstr "" -#: library/ipaddress.rst:963 +#: library/ipaddress.rst:998 msgid "" "Return a key suitable for sorting between networks and addresses. Address " "and Network objects are not sortable by default; they're fundamentally " "different, so the expression::" msgstr "" -#: library/ipaddress.rst:969 +#: library/ipaddress.rst:1004 msgid "" "doesn't make sense. There are some times however, where you may wish to " "have :mod:`ipaddress` sort these anyway. If you need to do this, you can " "use this function as the *key* argument to :func:`sorted()`." msgstr "" -#: library/ipaddress.rst:973 +#: library/ipaddress.rst:1008 msgid "*obj* is either a network or address object." msgstr "" -#: library/ipaddress.rst:977 +#: library/ipaddress.rst:1012 msgid "Custom Exceptions" msgstr "" -#: library/ipaddress.rst:979 +#: library/ipaddress.rst:1014 msgid "" "To support more specific error reporting from class constructors, the module " "defines the following exceptions:" msgstr "" -#: library/ipaddress.rst:984 +#: library/ipaddress.rst:1019 msgid "Any value error related to the address." msgstr "" -#: library/ipaddress.rst:989 +#: library/ipaddress.rst:1024 msgid "Any value error related to the net mask." msgstr "" diff --git a/library/itertools.po b/library/itertools.po index cffa3ef37..141d695ff 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -870,8 +870,7 @@ msgstr "" #: library/itertools.rst:785 msgid "" "Substantially all of these recipes and many, many others can be installed " -"from the `more-itertools project `_ found on the Python Package Index::" +"from the :pypi:`more-itertools` project found on the Python Package Index::" msgstr "" #: library/itertools.rst:791 diff --git a/library/logging.config.po b/library/logging.config.po index 62629e51f..dc777fa0b 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1084,7 +1084,7 @@ msgid "" "`listen` documentation for more information." msgstr "" -#: library/logging.config.rst:992 +#: library/logging.config.rst:991 msgid "Module :mod:`logging`" msgstr "" diff --git a/library/logging.handlers.po b/library/logging.handlers.po index 473f978d2..1a5a0b99d 100644 --- a/library/logging.handlers.po +++ b/library/logging.handlers.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1603,7 +1603,7 @@ msgid "" "if you want to use timeouts or work with custom queue implementations." msgstr "" -#: library/logging.handlers.rst:1196 +#: library/logging.handlers.rst:1195 msgid "Module :mod:`logging`" msgstr "" diff --git a/library/logging.po b/library/logging.po index 99a868ca9..de4e07e7c 100644 --- a/library/logging.po +++ b/library/logging.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -66,16 +66,16 @@ msgstr "" #: library/logging.rst:66 msgid "" -"The key features of this idiomatic usage is that the majority of code is " +"The key feature of this idiomatic usage is that the majority of code is " "simply creating a module level logger with ``getLogger(__name__)``, and " -"using that logger to do any needed logging. This is concise while allowing " -"downstream code fine grained control if needed. Logged messages to the " -"module-level logger get forwarded up to handlers of loggers in higher-level " -"modules, all the way up to the root logger; for this reason this approach is " -"known as hierarchical logging." +"using that logger to do any needed logging. This is concise, while allowing " +"downstream code fine-grained control if needed. Logged messages to the " +"module-level logger get forwarded to handlers of loggers in higher-level " +"modules, all the way up to the highest-level logger known as the root " +"logger; this approach is known as hierarchical logging." msgstr "" -#: library/logging.rst:73 +#: library/logging.rst:74 msgid "" "For logging to be useful, it needs to be configured: setting the levels and " "destinations for each logger, potentially changing how specific modules log, " @@ -86,44 +86,44 @@ msgid "" "to configure the root logger that handles many use cases." msgstr "" -#: library/logging.rst:81 +#: library/logging.rst:82 msgid "" "The module provides a lot of functionality and flexibility. If you are " "unfamiliar with logging, the best way to get to grips with it is to view the " "tutorials (**see the links above and on the right**)." msgstr "" -#: library/logging.rst:85 +#: library/logging.rst:86 msgid "" -"The basic classes defined by the module, together with their functions, are " -"listed below." +"The basic classes defined by the module, together with their attributes and " +"methods, are listed in the sections below." msgstr "" -#: library/logging.rst:88 +#: library/logging.rst:89 msgid "Loggers expose the interface that application code directly uses." msgstr "" -#: library/logging.rst:89 +#: library/logging.rst:90 msgid "" "Handlers send the log records (created by loggers) to the appropriate " "destination." msgstr "" -#: library/logging.rst:91 +#: library/logging.rst:92 msgid "" "Filters provide a finer grained facility for determining which log records " "to output." msgstr "" -#: library/logging.rst:93 +#: library/logging.rst:94 msgid "Formatters specify the layout of log records in the final output." msgstr "" -#: library/logging.rst:99 +#: library/logging.rst:100 msgid "Logger Objects" msgstr "" -#: library/logging.rst:101 +#: library/logging.rst:102 msgid "" "Loggers have the following attributes and methods. Note that Loggers should " "*NEVER* be instantiated directly, but always through the module-level " @@ -131,7 +131,7 @@ msgid "" "with the same name will always return a reference to the same Logger object." msgstr "" -#: library/logging.rst:106 +#: library/logging.rst:107 msgid "" "The ``name`` is potentially a period-separated hierarchical value, like " "``foo.bar.baz`` (though it could also be just plain ``foo``, for example). " @@ -145,37 +145,37 @@ msgid "" "module's name in the Python package namespace." msgstr "" -#: library/logging.rst:122 +#: library/logging.rst:123 msgid "" "This is the logger's name, and is the value that was passed to :func:" "`getLogger` to obtain the logger." msgstr "" -#: library/logging.rst:185 +#: library/logging.rst:186 msgid "This attribute should be treated as read-only." msgstr "" -#: library/logging.rst:129 +#: library/logging.rst:130 msgid "The threshold of this logger, as set by the :meth:`setLevel` method." msgstr "" -#: library/logging.rst:131 +#: library/logging.rst:132 msgid "" "Do not set this attribute directly - always use :meth:`setLevel`, which has " "checks for the level passed to it." msgstr "" -#: library/logging.rst:136 +#: library/logging.rst:137 msgid "" "The parent logger of this logger. It may change based on later instantiation " "of loggers which are higher up in the namespace hierarchy." msgstr "" -#: library/logging.rst:139 +#: library/logging.rst:140 msgid "This value should be treated as read-only." msgstr "" -#: library/logging.rst:143 +#: library/logging.rst:144 msgid "" "If this attribute evaluates to true, events logged to this logger will be " "passed to the handlers of higher level (ancestor) loggers, in addition to " @@ -184,13 +184,13 @@ msgid "" "loggers in question are considered." msgstr "" -#: library/logging.rst:149 +#: library/logging.rst:150 msgid "" "If this evaluates to false, logging messages are not passed to the handlers " "of ancestor loggers." msgstr "" -#: library/logging.rst:152 +#: library/logging.rst:153 msgid "" "Spelling it out with an example: If the propagate attribute of the logger " "named ``A.B.C`` evaluates to true, any event logged to ``A.B.C`` via a " @@ -203,11 +203,11 @@ msgid "" "handle, and propagation stops at that point." msgstr "" -#: library/logging.rst:161 +#: library/logging.rst:162 msgid "The constructor sets this attribute to ``True``." msgstr "" -#: library/logging.rst:163 +#: library/logging.rst:164 msgid "" "If you attach a handler to a logger *and* one or more of its ancestors, it " "may emit the same record multiple times. In general, you should not need to " @@ -219,24 +219,24 @@ msgid "" "rest." msgstr "" -#: library/logging.rst:174 +#: library/logging.rst:175 msgid "The list of handlers directly attached to this logger instance." msgstr "" -#: library/logging.rst:176 +#: library/logging.rst:177 msgid "" "This attribute should be treated as read-only; it is normally changed via " "the :meth:`addHandler` and :meth:`removeHandler` methods, which use locks to " "ensure thread-safe operation." msgstr "" -#: library/logging.rst:182 +#: library/logging.rst:183 msgid "" "This attribute disables handling of any events. It is set to ``False`` in " "the initializer, and only changed by logging configuration code." msgstr "" -#: library/logging.rst:189 +#: library/logging.rst:190 msgid "" "Sets the threshold for this logger to *level*. Logging messages which are " "less severe than *level* will be ignored; logging messages which have " @@ -245,7 +245,7 @@ msgid "" "severity level than *level*." msgstr "" -#: library/logging.rst:194 +#: library/logging.rst:195 msgid "" "When a logger is created, the level is set to :const:`NOTSET` (which causes " "all messages to be processed when the logger is the root logger, or " @@ -253,32 +253,32 @@ msgid "" "the root logger is created with level :const:`WARNING`." msgstr "" -#: library/logging.rst:199 +#: library/logging.rst:200 msgid "" "The term 'delegation to the parent' means that if a logger has a level of " "NOTSET, its chain of ancestor loggers is traversed until either an ancestor " "with a level other than NOTSET is found, or the root is reached." msgstr "" -#: library/logging.rst:203 +#: library/logging.rst:204 msgid "" "If an ancestor is found with a level other than NOTSET, then that ancestor's " "level is treated as the effective level of the logger where the ancestor " "search began, and is used to determine how a logging event is handled." msgstr "" -#: library/logging.rst:207 +#: library/logging.rst:208 msgid "" "If the root is reached, and it has a level of NOTSET, then all messages will " "be processed. Otherwise, the root's level will be used as the effective " "level." msgstr "" -#: library/logging.rst:553 +#: library/logging.rst:554 msgid "See :ref:`levels` for a list of levels." msgstr "" -#: library/logging.rst:212 +#: library/logging.rst:213 msgid "" "The *level* parameter now accepts a string representation of the level such " "as 'INFO' as an alternative to the integer constants such as :const:`INFO`. " @@ -287,7 +287,7 @@ msgid "" "expect to be passed integers." msgstr "" -#: library/logging.rst:222 +#: library/logging.rst:223 msgid "" "Indicates if a message of severity *level* would be processed by this " "logger. This method checks first the module-level level set by ``logging." @@ -295,7 +295,7 @@ msgid "" "meth:`getEffectiveLevel`." msgstr "" -#: library/logging.rst:230 +#: library/logging.rst:231 msgid "" "Indicates the effective level for this logger. If a value other than :const:" "`NOTSET` has been set using :meth:`setLevel`, it is returned. Otherwise, the " @@ -304,7 +304,7 @@ msgid "" "integer, typically one of :const:`logging.DEBUG`, :const:`logging.INFO` etc." msgstr "" -#: library/logging.rst:240 +#: library/logging.rst:241 msgid "" "Returns a logger which is a descendant to this logger, as determined by the " "suffix. Thus, ``logging.getLogger('abc').getChild('def.ghi')`` would return " @@ -313,7 +313,7 @@ msgid "" "named using e.g. ``__name__`` rather than a literal string." msgstr "" -#: library/logging.rst:251 +#: library/logging.rst:252 msgid "" "Returns a set of loggers which are immediate children of this logger. So for " "example ``logging.getLogger().getChildren()`` might return a set containing " @@ -323,7 +323,7 @@ msgid "" "include one named ``foo.bar.baz``." msgstr "" -#: library/logging.rst:263 +#: library/logging.rst:264 msgid "" "Logs a message with level :const:`DEBUG` on this logger. The *msg* is the " "message format string, and the *args* are the arguments which are merged " @@ -333,13 +333,13 @@ msgid "" "are supplied." msgstr "" -#: library/logging.rst:269 +#: library/logging.rst:270 msgid "" "There are four keyword arguments in *kwargs* which are inspected: " "*exc_info*, *stack_info*, *stacklevel* and *extra*." msgstr "" -#: library/logging.rst:272 +#: library/logging.rst:273 msgid "" "If *exc_info* does not evaluate as false, it causes exception information to " "be added to the logging message. If an exception tuple (in the format " @@ -348,7 +348,7 @@ msgid "" "information." msgstr "" -#: library/logging.rst:277 +#: library/logging.rst:278 msgid "" "The second optional keyword argument is *stack_info*, which defaults to " "``False``. If true, stack information is added to the logging message, " @@ -360,20 +360,20 @@ msgid "" "handlers." msgstr "" -#: library/logging.rst:286 +#: library/logging.rst:287 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:294 +#: library/logging.rst:295 msgid "" "This mimics the ``Traceback (most recent call last):`` which is used when " "displaying exception frames." msgstr "" -#: library/logging.rst:297 +#: library/logging.rst:298 msgid "" "The third optional keyword argument is *stacklevel*, which defaults to " "``1``. If greater than 1, the corresponding number of stack frames are " @@ -385,7 +385,7 @@ msgid "" "module." msgstr "" -#: library/logging.rst:305 +#: library/logging.rst:306 msgid "" "The fourth keyword argument is *extra* which can be used to pass a " "dictionary which is used to populate the __dict__ of the :class:`LogRecord` " @@ -394,18 +394,18 @@ msgid "" "incorporated into logged messages. For example::" msgstr "" -#: library/logging.rst:317 +#: library/logging.rst:318 msgid "would print something like" msgstr "" -#: library/logging.rst:323 +#: library/logging.rst:324 msgid "" "The keys in the dictionary passed in *extra* should not clash with the keys " "used by the logging system. (See the section on :ref:`logrecord-attributes` " "for more information on which keys are used by the logging system.)" msgstr "" -#: library/logging.rst:327 +#: library/logging.rst:328 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:" @@ -416,7 +416,7 @@ msgid "" "dictionary with these keys." msgstr "" -#: library/logging.rst:334 +#: library/logging.rst:335 msgid "" "While this might be annoying, this feature is intended for use in " "specialized circumstances, such as multi-threaded servers where the same " @@ -427,78 +427,78 @@ msgid "" "particular :class:`Handler`\\ s." msgstr "" -#: library/logging.rst:341 +#: library/logging.rst:342 msgid "" "If no handler is attached to this logger (or any of its ancestors, taking " "into account the relevant :attr:`Logger.propagate` attributes), the message " "will be sent to the handler set on :attr:`lastResort`." msgstr "" -#: library/logging.rst:345 +#: library/logging.rst:346 msgid "The *stack_info* parameter was added." msgstr "" -#: library/logging.rst:348 +#: library/logging.rst:349 msgid "The *exc_info* parameter can now accept exception instances." msgstr "" -#: library/logging.rst:351 +#: library/logging.rst:352 msgid "The *stacklevel* parameter was added." msgstr "" -#: library/logging.rst:357 +#: library/logging.rst:358 msgid "" "Logs a message with level :const:`INFO` on this logger. The arguments are " "interpreted as for :meth:`debug`." msgstr "" -#: library/logging.rst:363 +#: library/logging.rst:364 msgid "" "Logs a message with level :const:`WARNING` on this logger. The arguments are " "interpreted as for :meth:`debug`." msgstr "" -#: library/logging.rst:366 +#: library/logging.rst:367 msgid "" "There is an obsolete method ``warn`` which is functionally identical to " "``warning``. As ``warn`` is deprecated, please do not use it - use " "``warning`` instead." msgstr "" -#: library/logging.rst:372 +#: library/logging.rst:373 msgid "" "Logs a message with level :const:`ERROR` on this logger. The arguments are " "interpreted as for :meth:`debug`." msgstr "" -#: library/logging.rst:378 +#: library/logging.rst:379 msgid "" "Logs a message with level :const:`CRITICAL` on this logger. The arguments " "are interpreted as for :meth:`debug`." msgstr "" -#: library/logging.rst:384 +#: library/logging.rst:385 msgid "" "Logs a message with integer level *level* on this logger. The other " "arguments are interpreted as for :meth:`debug`." msgstr "" -#: library/logging.rst:390 +#: library/logging.rst:391 msgid "" "Logs a message with level :const:`ERROR` on this logger. The arguments are " "interpreted as for :meth:`debug`. Exception info is added to the logging " "message. This method should only be called from an exception handler." msgstr "" -#: library/logging.rst:397 +#: library/logging.rst:398 msgid "Adds the specified filter *filter* to this logger." msgstr "" -#: library/logging.rst:402 +#: library/logging.rst:403 msgid "Removes the specified filter *filter* from this logger." msgstr "" -#: library/logging.rst:407 +#: library/logging.rst:408 msgid "" "Apply this logger's filters to the record and return ``True`` if the record " "is to be processed. The filters are consulted in turn, until one of them " @@ -507,22 +507,22 @@ msgid "" "processing of the record occurs." msgstr "" -#: library/logging.rst:416 +#: library/logging.rst:417 msgid "Adds the specified handler *hdlr* to this logger." msgstr "" -#: library/logging.rst:421 +#: library/logging.rst:422 msgid "Removes the specified handler *hdlr* from this logger." msgstr "" -#: library/logging.rst:426 +#: library/logging.rst:427 msgid "" "Finds the caller's source filename and line number. Returns the filename, " "line number, function name and stack information as a 4-element tuple. The " "stack information is returned as ``None`` unless *stack_info* is ``True``." msgstr "" -#: library/logging.rst:430 +#: library/logging.rst:431 msgid "" "The *stacklevel* parameter is passed from code calling the :meth:`debug` and " "other APIs. If greater than 1, the excess is used to skip stack frames " @@ -532,7 +532,7 @@ msgid "" "calls it." msgstr "" -#: library/logging.rst:440 +#: library/logging.rst:441 msgid "" "Handles a record by passing it to all handlers associated with this logger " "and its ancestors (until a false value of *propagate* is found). This method " @@ -541,13 +541,13 @@ msgid "" "filter`." msgstr "" -#: library/logging.rst:448 +#: library/logging.rst:449 msgid "" "This is a factory method which can be overridden in subclasses to create " "specialized :class:`LogRecord` instances." msgstr "" -#: library/logging.rst:453 +#: library/logging.rst:454 msgid "" "Checks to see if this logger has any handlers configured. This is done by " "looking for handlers in this logger and its parents in the logger hierarchy. " @@ -557,15 +557,15 @@ msgid "" "the existence of handlers." msgstr "" -#: library/logging.rst:462 +#: library/logging.rst:463 msgid "Loggers can now be pickled and unpickled." msgstr "" -#: library/logging.rst:468 +#: library/logging.rst:469 msgid "Logging Levels" msgstr "" -#: library/logging.rst:470 +#: library/logging.rst:471 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 " @@ -574,83 +574,83 @@ msgid "" "value; the predefined name is lost." msgstr "" -#: library/logging.rst:477 +#: library/logging.rst:478 msgid "Level" msgstr "" -#: library/logging.rst:477 +#: library/logging.rst:478 msgid "Numeric value" msgstr "" -#: library/logging.rst:477 +#: library/logging.rst:478 msgid "What it means / When to use it" msgstr "" -#: library/logging.rst:479 +#: library/logging.rst:480 msgid "0" msgstr "" -#: library/logging.rst:479 +#: library/logging.rst:480 msgid "" "When set on a logger, indicates that ancestor loggers are to be consulted to " "determine the effective level. If that still resolves to :const:`!NOTSET`, " "then all events are logged. When set on a handler, all events are handled." msgstr "" -#: library/logging.rst:487 +#: library/logging.rst:488 msgid "10" msgstr "" -#: library/logging.rst:487 +#: library/logging.rst:488 msgid "" "Detailed information, typically only of interest to a developer trying to " "diagnose a problem." msgstr "" -#: library/logging.rst:491 +#: library/logging.rst:492 msgid "20" msgstr "" -#: library/logging.rst:491 +#: library/logging.rst:492 msgid "Confirmation that things are working as expected." msgstr "" -#: library/logging.rst:494 +#: library/logging.rst:495 msgid "30" msgstr "" -#: library/logging.rst:494 +#: library/logging.rst:495 msgid "" "An indication that something unexpected happened, or that a problem might " "occur in the near future (e.g. 'disk space low'). The software is still " "working as expected." msgstr "" -#: library/logging.rst:501 +#: library/logging.rst:502 msgid "40" msgstr "" -#: library/logging.rst:501 +#: library/logging.rst:502 msgid "" "Due to a more serious problem, the software has not been able to perform " "some function." msgstr "" -#: library/logging.rst:505 +#: library/logging.rst:506 msgid "50" msgstr "" -#: library/logging.rst:505 +#: library/logging.rst:506 msgid "" "A serious error, indicating that the program itself may be unable to " "continue running." msgstr "" -#: library/logging.rst:514 +#: library/logging.rst:515 msgid "Handler Objects" msgstr "" -#: library/logging.rst:516 +#: library/logging.rst:517 msgid "" "Handlers have the following attributes and methods. Note that :class:" "`Handler` is never instantiated directly; this class acts as a base for more " @@ -658,53 +658,53 @@ msgid "" "to call :meth:`Handler.__init__`." msgstr "" -#: library/logging.rst:525 +#: library/logging.rst:526 msgid "" "Initializes the :class:`Handler` instance by setting its level, setting the " "list of filters to the empty list and creating a lock (using :meth:" "`createLock`) for serializing access to an I/O mechanism." msgstr "" -#: library/logging.rst:532 +#: library/logging.rst:533 msgid "" "Initializes a thread lock which can be used to serialize access to " "underlying I/O functionality which may not be threadsafe." msgstr "" -#: library/logging.rst:538 +#: library/logging.rst:539 msgid "Acquires the thread lock created with :meth:`createLock`." msgstr "" -#: library/logging.rst:543 +#: library/logging.rst:544 msgid "Releases the thread lock acquired with :meth:`acquire`." msgstr "" -#: library/logging.rst:548 +#: library/logging.rst:549 msgid "" "Sets the threshold for this handler to *level*. Logging messages which are " "less severe than *level* will be ignored. When a handler is created, the " "level is set to :const:`NOTSET` (which causes all messages to be processed)." msgstr "" -#: library/logging.rst:555 +#: library/logging.rst:556 msgid "" "The *level* parameter now accepts a string representation of the level such " "as 'INFO' as an alternative to the integer constants such as :const:`INFO`." msgstr "" -#: library/logging.rst:563 +#: library/logging.rst:564 msgid "Sets the :class:`Formatter` for this handler to *fmt*." msgstr "" -#: library/logging.rst:568 +#: library/logging.rst:569 msgid "Adds the specified filter *filter* to this handler." msgstr "" -#: library/logging.rst:573 +#: library/logging.rst:574 msgid "Removes the specified filter *filter* from this handler." msgstr "" -#: library/logging.rst:578 +#: library/logging.rst:579 msgid "" "Apply this handler's filters to the record and return ``True`` if the record " "is to be processed. The filters are consulted in turn, until one of them " @@ -713,13 +713,13 @@ msgid "" "record." msgstr "" -#: library/logging.rst:587 +#: library/logging.rst:588 msgid "" "Ensure all logging output has been flushed. This version does nothing and is " "intended to be implemented by subclasses." msgstr "" -#: library/logging.rst:593 +#: library/logging.rst:594 msgid "" "Tidy up any resources used by the handler. This version does no output but " "removes the handler from an internal list of handlers which is closed when :" @@ -727,14 +727,14 @@ msgid "" "from overridden :meth:`close` methods." msgstr "" -#: library/logging.rst:601 +#: library/logging.rst:602 msgid "" "Conditionally emits the specified logging record, depending on filters which " "may have been added to the handler. Wraps the actual emission of the record " "with acquisition/release of the I/O thread lock." msgstr "" -#: library/logging.rst:608 +#: library/logging.rst:609 msgid "" "This method should be called from handlers when an exception is encountered " "during an :meth:`emit` call. If the module-level attribute :data:" @@ -747,20 +747,20 @@ msgid "" "is more useful during development)." msgstr "" -#: library/logging.rst:621 +#: library/logging.rst:622 msgid "" "Do formatting for a record - if a formatter is set, use it. Otherwise, use " "the default formatter for the module." msgstr "" -#: library/logging.rst:627 +#: library/logging.rst:628 msgid "" "Do whatever it takes to actually log the specified logging record. This " "version is intended to be implemented by subclasses and so raises a :exc:" "`NotImplementedError`." msgstr "" -#: library/logging.rst:631 +#: library/logging.rst:632 msgid "" "This method is called after a handler-level lock is acquired, which is " "released after this method returns. When you override this method, note that " @@ -769,13 +769,13 @@ msgid "" "Specifically:" msgstr "" -#: library/logging.rst:637 +#: library/logging.rst:638 msgid "" "Logging configuration APIs acquire the module-level lock, and then " "individual handler-level locks as those handlers are configured." msgstr "" -#: library/logging.rst:640 +#: library/logging.rst:641 msgid "" "Many logging APIs lock the module-level lock. If such an API is called from " "this method, it could cause a deadlock if a configuration call is made on " @@ -785,16 +785,16 @@ msgid "" "method, the handler-level lock has already been acquired)." msgstr "" -#: library/logging.rst:647 +#: library/logging.rst:648 msgid "" "For a list of handlers included as standard, see :mod:`logging.handlers`." msgstr "" -#: library/logging.rst:652 +#: library/logging.rst:653 msgid "Formatter Objects" msgstr "" -#: library/logging.rst:658 +#: library/logging.rst:659 msgid "" "Responsible for converting a :class:`LogRecord` to an output string to be " "interpreted by a human or external system." @@ -804,7 +804,7 @@ msgstr "" msgid "Parameters" msgstr "" -#: library/logging.rst:661 +#: library/logging.rst:662 msgid "" "A format string in the given *style* for the logged output as a whole. The " "possible mapping keys are drawn from the :class:`LogRecord` object's :ref:" @@ -812,14 +812,14 @@ msgid "" "is just the logged message." msgstr "" -#: library/logging.rst:669 +#: library/logging.rst:670 msgid "" "A format string in the given *style* for the date/time portion of the logged " "output. If not specified, the default described in :meth:`formatTime` is " "used." msgstr "" -#: library/logging.rst:674 +#: library/logging.rst:675 msgid "" "Can be one of ``'%'``, ``'{'`` or ``'$'`` and determines how the format " "string will be merged with its data: using one of :ref:`old-string-" @@ -830,32 +830,32 @@ msgid "" "use ``{``- and ``$``-formatting for log messages." msgstr "" -#: library/logging.rst:684 +#: library/logging.rst:685 msgid "" "If ``True`` (the default), incorrect or mismatched *fmt* and *style* will " "raise a :exc:`ValueError`; for example, ``logging.Formatter('%(asctime)s - " "%(message)s', style='{')``." msgstr "" -#: library/logging.rst:689 +#: library/logging.rst:690 msgid "" "A dictionary with default values to use in custom fields. For example, " "``logging.Formatter('%(ip)s %(message)s', defaults={\"ip\": None})``" msgstr "" -#: library/logging.rst:694 +#: library/logging.rst:695 msgid "Added the *style* parameter." msgstr "" -#: library/logging.rst:697 +#: library/logging.rst:698 msgid "Added the *validate* parameter." msgstr "" -#: library/logging.rst:700 +#: library/logging.rst:701 msgid "Added the *defaults* parameter." msgstr "" -#: library/logging.rst:706 +#: library/logging.rst:707 msgid "" "The record's attribute dictionary is used as the operand to a string " "formatting operation. Returns the resulting string. Before formatting the " @@ -874,13 +874,13 @@ msgid "" "recalculates it afresh." msgstr "" -#: library/logging.rst:722 +#: library/logging.rst:723 msgid "" "If stack information is available, it's appended after the exception " "information, using :meth:`formatStack` to transform it if necessary." msgstr "" -#: library/logging.rst:728 +#: library/logging.rst:729 msgid "" "This method should be called from :meth:`format` by a formatter which wants " "to make use of a formatted time. This method can be overridden in formatters " @@ -893,7 +893,7 @@ msgid "" "resulting string is returned." msgstr "" -#: library/logging.rst:738 +#: library/logging.rst:739 msgid "" "This function uses a user-configurable function to convert the creation time " "to a tuple. By default, :func:`time.localtime` is used; to change this for a " @@ -903,7 +903,7 @@ msgid "" "be shown in GMT, set the ``converter`` attribute in the ``Formatter`` class." msgstr "" -#: library/logging.rst:746 +#: library/logging.rst:747 msgid "" "Previously, the default format was hard-coded as in this example: " "``2010-09-06 22:38:15,292`` where the part before the comma is handled by a " @@ -918,11 +918,11 @@ msgid "" "the millisecond value)." msgstr "" -#: library/logging.rst:759 +#: library/logging.rst:760 msgid "The ``default_msec_format`` can be ``None``." msgstr "" -#: library/logging.rst:764 +#: library/logging.rst:765 msgid "" "Formats the specified exception information (a standard exception tuple as " "returned by :func:`sys.exc_info`) as a string. This default implementation " @@ -930,14 +930,14 @@ msgid "" "returned." msgstr "" -#: library/logging.rst:771 +#: library/logging.rst:772 msgid "" "Formats the specified stack information (a string as returned by :func:" "`traceback.print_stack`, but with the last newline removed) as a string. " "This default implementation just returns the input value." msgstr "" -#: library/logging.rst:777 +#: library/logging.rst:778 msgid "" "A base formatter class suitable for subclassing when you want to format a " "number of records. You can pass a :class:`Formatter` instance which you want " @@ -946,7 +946,7 @@ msgid "" "used as the line formatter." msgstr "" -#: library/logging.rst:785 +#: library/logging.rst:786 msgid "" "Return a header for a list of *records*. The base implementation just " "returns the empty string. You will need to override this method if you want " @@ -954,14 +954,14 @@ msgid "" "separator line." msgstr "" -#: library/logging.rst:792 +#: library/logging.rst:793 msgid "" "Return a footer for a list of *records*. The base implementation just " "returns the empty string. You will need to override this method if you want " "specific behaviour, e.g. to show the count of records or a separator line." msgstr "" -#: library/logging.rst:799 +#: library/logging.rst:800 msgid "" "Return formatted text for a list of *records*. The base implementation just " "returns the empty string if there are no records; otherwise, it returns the " @@ -969,11 +969,11 @@ msgid "" "and the footer." msgstr "" -#: library/logging.rst:807 +#: library/logging.rst:808 msgid "Filter Objects" msgstr "" -#: library/logging.rst:809 +#: library/logging.rst:810 msgid "" "``Filters`` can be used by ``Handlers`` and ``Loggers`` for more " "sophisticated filtering than is provided by levels. The base filter class " @@ -983,7 +983,7 @@ msgid "" "If initialized with the empty string, all events are passed." msgstr "" -#: library/logging.rst:819 +#: library/logging.rst:820 msgid "" "Returns an instance of the :class:`Filter` class. If *name* is specified, it " "names a logger which, together with its children, will have its events " @@ -991,7 +991,7 @@ msgid "" "event." msgstr "" -#: library/logging.rst:826 +#: library/logging.rst:827 msgid "" "Is the specified record to be logged? Returns false for no, true for yes. " "Filters can either modify log records in-place or return a completely " @@ -999,7 +999,7 @@ msgid "" "future processing of the event." msgstr "" -#: library/logging.rst:831 +#: library/logging.rst:832 msgid "" "Note that filters attached to handlers are consulted before an event is " "emitted by the handler, whereas filters attached to loggers are consulted " @@ -1009,13 +1009,13 @@ msgid "" "setting, unless the filter has also been applied to those descendant loggers." msgstr "" -#: library/logging.rst:838 +#: library/logging.rst:839 msgid "" "You don't actually need to subclass ``Filter``: you can pass any instance " "which has a ``filter`` method with the same semantics." msgstr "" -#: library/logging.rst:841 +#: library/logging.rst:842 msgid "" "You don't need to create specialized ``Filter`` classes, or use other " "classes with a ``filter`` method: you can use a function (or other callable) " @@ -1026,7 +1026,7 @@ msgid "" "value should conform to that returned by :meth:`~Filter.filter`." msgstr "" -#: library/logging.rst:851 +#: library/logging.rst:852 msgid "" "You can now return a :class:`LogRecord` instance from filters to replace the " "log record rather than modifying it in place. This allows filters attached " @@ -1034,7 +1034,7 @@ msgid "" "having side effects on other handlers." msgstr "" -#: library/logging.rst:857 +#: library/logging.rst:858 msgid "" "Although filters are used primarily to filter records based on more " "sophisticated criteria than levels, they get to see every record which is " @@ -1046,11 +1046,11 @@ msgid "" "contextual information into logs (see :ref:`filters-contextual`)." msgstr "" -#: library/logging.rst:870 +#: library/logging.rst:871 msgid "LogRecord Objects" msgstr "" -#: library/logging.rst:872 +#: library/logging.rst:873 msgid "" ":class:`LogRecord` instances are created automatically by the :class:" "`Logger` every time something is logged, and can be created manually via :" @@ -1058,17 +1058,17 @@ msgid "" "wire)." msgstr "" -#: library/logging.rst:880 +#: library/logging.rst:881 msgid "Contains all the information pertinent to the event being logged." msgstr "" -#: library/logging.rst:882 +#: library/logging.rst:883 msgid "" "The primary information is passed in *msg* and *args*, which are combined " "using ``msg % args`` to create the :attr:`!message` attribute of the record." msgstr "" -#: library/logging.rst:886 +#: library/logging.rst:887 msgid "" "The name of the logger used to log the event represented by this :class:`!" "LogRecord`. Note that the logger name in the :class:`!LogRecord` will always " @@ -1076,7 +1076,7 @@ msgid "" "different (ancestor) logger." msgstr "" -#: library/logging.rst:894 +#: library/logging.rst:895 msgid "" "The :ref:`numeric level ` of the logging event (such as ``10`` for " "``DEBUG``, ``20`` for ``INFO``, etc). Note that this is converted to *two* " @@ -1084,46 +1084,46 @@ msgid "" "attr:`!levelname` for the corresponding level name." msgstr "" -#: library/logging.rst:901 +#: library/logging.rst:902 msgid "" "The full string path of the source file where the logging call was made." msgstr "" -#: library/logging.rst:905 +#: library/logging.rst:906 msgid "The line number in the source file where the logging call was made." msgstr "" -#: library/logging.rst:909 +#: library/logging.rst:910 msgid "" "The event description message, which can be a %-format string with " "placeholders for variable data, or an arbitrary object (see :ref:`arbitrary-" "object-messages`)." msgstr "" -#: library/logging.rst:914 +#: library/logging.rst:915 msgid "" "Variable data to merge into the *msg* argument to obtain the event " "description." msgstr "" -#: library/logging.rst:918 +#: library/logging.rst:919 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:923 +#: library/logging.rst:924 msgid "" "The name of the function or method from which the logging call was invoked." msgstr "" -#: library/logging.rst:927 +#: library/logging.rst:928 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:934 +#: library/logging.rst:935 msgid "" "Returns the message for this :class:`LogRecord` instance after merging any " "user-supplied arguments with the message. If the user-supplied message " @@ -1132,7 +1132,7 @@ msgid "" "whose ``__str__`` method can return the actual format string to be used." msgstr "" -#: library/logging.rst:941 +#: library/logging.rst:942 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 " @@ -1140,24 +1140,24 @@ msgid "" "this for the factory's signature)." msgstr "" -#: library/logging.rst:947 +#: library/logging.rst:948 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:959 +#: library/logging.rst:960 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:968 +#: library/logging.rst:969 msgid "LogRecord attributes" msgstr "" -#: library/logging.rst:970 +#: library/logging.rst:971 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 " @@ -1168,7 +1168,7 @@ msgid "" "style format string." msgstr "" -#: library/logging.rst:978 +#: library/logging.rst:979 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 (:" @@ -1176,7 +1176,7 @@ msgid "" "course, replace ``attrname`` with the actual attribute name you want to use." msgstr "" -#: library/logging.rst:984 +#: library/logging.rst:985 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: " @@ -1185,323 +1185,323 @@ msgid "" "on the options available to you." msgstr "" -#: library/logging.rst:991 +#: library/logging.rst:992 msgid "Attribute name" msgstr "" -#: library/logging.rst:1351 +#: library/logging.rst:1352 msgid "Format" msgstr "" -#: library/logging.rst:1351 +#: library/logging.rst:1352 msgid "Description" msgstr "" -#: library/logging.rst:993 +#: library/logging.rst:994 msgid "args" msgstr "" -#: library/logging.rst:1007 library/logging.rst:1053 +#: library/logging.rst:1008 library/logging.rst:1054 msgid "You shouldn't need to format this yourself." msgstr "" -#: library/logging.rst:993 +#: library/logging.rst:994 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:998 +#: library/logging.rst:999 msgid "asctime" msgstr "" -#: library/logging.rst:998 +#: library/logging.rst:999 msgid "``%(asctime)s``" msgstr "" -#: library/logging.rst:998 +#: library/logging.rst:999 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:1004 +#: library/logging.rst:1005 msgid "created" msgstr "" -#: library/logging.rst:1004 +#: library/logging.rst:1005 msgid "``%(created)f``" msgstr "" -#: library/logging.rst:1004 +#: library/logging.rst:1005 msgid "" "Time when the :class:`LogRecord` was created (as returned by :func:`time." "time`)." msgstr "" -#: library/logging.rst:1007 +#: library/logging.rst:1008 msgid "exc_info" msgstr "" -#: library/logging.rst:1007 +#: library/logging.rst:1008 msgid "" "Exception tuple (à la ``sys.exc_info``) or, if no exception has occurred, " "``None``." msgstr "" -#: library/logging.rst:1010 +#: library/logging.rst:1011 msgid "filename" msgstr "" -#: library/logging.rst:1010 +#: library/logging.rst:1011 msgid "``%(filename)s``" msgstr "" -#: library/logging.rst:1010 +#: library/logging.rst:1011 msgid "Filename portion of ``pathname``." msgstr "" -#: library/logging.rst:1012 +#: library/logging.rst:1013 msgid "funcName" msgstr "" -#: library/logging.rst:1012 +#: library/logging.rst:1013 msgid "``%(funcName)s``" msgstr "" -#: library/logging.rst:1012 +#: library/logging.rst:1013 msgid "Name of function containing the logging call." msgstr "" -#: library/logging.rst:1014 +#: library/logging.rst:1015 msgid "levelname" msgstr "" -#: library/logging.rst:1014 +#: library/logging.rst:1015 msgid "``%(levelname)s``" msgstr "" -#: library/logging.rst:1014 +#: library/logging.rst:1015 msgid "" "Text logging level for the message (``'DEBUG'``, ``'INFO'``, ``'WARNING'``, " "``'ERROR'``, ``'CRITICAL'``)." msgstr "" -#: library/logging.rst:1018 +#: library/logging.rst:1019 msgid "levelno" msgstr "" -#: library/logging.rst:1018 +#: library/logging.rst:1019 msgid "``%(levelno)s``" msgstr "" -#: library/logging.rst:1018 +#: library/logging.rst:1019 msgid "" "Numeric logging level for the message (:const:`DEBUG`, :const:`INFO`, :const:" "`WARNING`, :const:`ERROR`, :const:`CRITICAL`)." msgstr "" -#: library/logging.rst:1023 +#: library/logging.rst:1024 msgid "lineno" msgstr "" -#: library/logging.rst:1023 +#: library/logging.rst:1024 msgid "``%(lineno)d``" msgstr "" -#: library/logging.rst:1023 +#: library/logging.rst:1024 msgid "Source line number where the logging call was issued (if available)." msgstr "" -#: library/logging.rst:1026 +#: library/logging.rst:1027 msgid "message" msgstr "" -#: library/logging.rst:1026 +#: library/logging.rst:1027 msgid "``%(message)s``" msgstr "" -#: library/logging.rst:1026 +#: library/logging.rst:1027 msgid "" "The logged message, computed as ``msg % args``. This is set when :meth:" "`Formatter.format` is invoked." msgstr "" -#: library/logging.rst:1030 +#: library/logging.rst:1031 msgid "module" msgstr "" -#: library/logging.rst:1030 +#: library/logging.rst:1031 msgid "``%(module)s``" msgstr "" -#: library/logging.rst:1030 +#: library/logging.rst:1031 msgid "Module (name portion of ``filename``)." msgstr "" -#: library/logging.rst:1032 +#: library/logging.rst:1033 msgid "msecs" msgstr "" -#: library/logging.rst:1032 +#: library/logging.rst:1033 msgid "``%(msecs)d``" msgstr "" -#: library/logging.rst:1032 +#: library/logging.rst:1033 msgid "" "Millisecond portion of the time when the :class:`LogRecord` was created." msgstr "" -#: library/logging.rst:1035 +#: library/logging.rst:1036 msgid "msg" msgstr "" -#: library/logging.rst:1035 +#: library/logging.rst:1036 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:1040 +#: library/logging.rst:1041 msgid "name" msgstr "" -#: library/logging.rst:1040 +#: library/logging.rst:1041 msgid "``%(name)s``" msgstr "" -#: library/logging.rst:1040 +#: library/logging.rst:1041 msgid "Name of the logger used to log the call." msgstr "" -#: library/logging.rst:1042 +#: library/logging.rst:1043 msgid "pathname" msgstr "" -#: library/logging.rst:1042 +#: library/logging.rst:1043 msgid "``%(pathname)s``" msgstr "" -#: library/logging.rst:1042 +#: library/logging.rst:1043 msgid "" "Full pathname of the source file where the logging call was issued (if " "available)." msgstr "" -#: library/logging.rst:1045 +#: library/logging.rst:1046 msgid "process" msgstr "" -#: library/logging.rst:1045 +#: library/logging.rst:1046 msgid "``%(process)d``" msgstr "" -#: library/logging.rst:1045 +#: library/logging.rst:1046 msgid "Process ID (if available)." msgstr "" -#: library/logging.rst:1047 +#: library/logging.rst:1048 msgid "processName" msgstr "" -#: library/logging.rst:1047 +#: library/logging.rst:1048 msgid "``%(processName)s``" msgstr "" -#: library/logging.rst:1047 +#: library/logging.rst:1048 msgid "Process name (if available)." msgstr "" -#: library/logging.rst:1049 +#: library/logging.rst:1050 msgid "relativeCreated" msgstr "" -#: library/logging.rst:1049 +#: library/logging.rst:1050 msgid "``%(relativeCreated)d``" msgstr "" -#: library/logging.rst:1049 +#: library/logging.rst:1050 msgid "" "Time in milliseconds when the LogRecord was created, relative to the time " "the logging module was loaded." msgstr "" -#: library/logging.rst:1053 +#: library/logging.rst:1054 msgid "stack_info" msgstr "" -#: library/logging.rst:1053 +#: library/logging.rst:1054 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:1059 +#: library/logging.rst:1060 msgid "thread" msgstr "" -#: library/logging.rst:1059 +#: library/logging.rst:1060 msgid "``%(thread)d``" msgstr "" -#: library/logging.rst:1059 +#: library/logging.rst:1060 msgid "Thread ID (if available)." msgstr "" -#: library/logging.rst:1061 +#: library/logging.rst:1062 msgid "threadName" msgstr "" -#: library/logging.rst:1061 +#: library/logging.rst:1062 msgid "``%(threadName)s``" msgstr "" -#: library/logging.rst:1061 +#: library/logging.rst:1062 msgid "Thread name (if available)." msgstr "" -#: library/logging.rst:1063 +#: library/logging.rst:1064 msgid "taskName" msgstr "" -#: library/logging.rst:1063 +#: library/logging.rst:1064 msgid "``%(taskName)s``" msgstr "" -#: library/logging.rst:1063 +#: library/logging.rst:1064 msgid ":class:`asyncio.Task` name (if available)." msgstr "" -#: library/logging.rst:1066 +#: library/logging.rst:1067 msgid "*processName* was added." msgstr "" -#: library/logging.rst:1069 +#: library/logging.rst:1070 msgid "*taskName* was added." msgstr "" -#: library/logging.rst:1075 +#: library/logging.rst:1076 msgid "LoggerAdapter Objects" msgstr "" -#: library/logging.rst:1077 +#: library/logging.rst:1078 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:1083 +#: library/logging.rst:1084 msgid "" "Returns an instance of :class:`LoggerAdapter` initialized with an " "underlying :class:`Logger` instance and a dict-like object." msgstr "" -#: library/logging.rst:1088 +#: library/logging.rst:1089 msgid "" "Modifies the message and/or keyword arguments passed to a logging call in " "order to insert contextual information. This implementation takes the object " @@ -1510,15 +1510,15 @@ msgid "" "(possibly modified) versions of the arguments passed in." msgstr "" -#: library/logging.rst:1096 +#: library/logging.rst:1097 msgid "Delegates to the underlying :attr:`!manager`` on *logger*." msgstr "" -#: library/logging.rst:1100 +#: library/logging.rst:1101 msgid "Delegates to the underlying :meth:`!_log`` method on *logger*." msgstr "" -#: library/logging.rst:1102 +#: library/logging.rst:1103 msgid "" "In addition to the above, :class:`LoggerAdapter` supports the following " "methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`, :" @@ -1530,24 +1530,24 @@ msgid "" "interchangeably." msgstr "" -#: library/logging.rst:1113 +#: library/logging.rst:1114 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:1119 +#: library/logging.rst:1120 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:1124 +#: library/logging.rst:1125 msgid "Thread Safety" msgstr "" -#: library/logging.rst:1126 +#: library/logging.rst:1127 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 " @@ -1556,7 +1556,7 @@ msgid "" "O." msgstr "" -#: library/logging.rst:1131 +#: library/logging.rst:1132 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 " @@ -1564,17 +1564,17 @@ msgid "" "always re-entrant, and so cannot be invoked from such signal handlers." msgstr "" -#: library/logging.rst:1138 +#: library/logging.rst:1139 msgid "Module-Level Functions" msgstr "" -#: library/logging.rst:1140 +#: library/logging.rst:1141 msgid "" "In addition to the classes described above, there are a number of module-" "level functions." msgstr "" -#: library/logging.rst:1146 +#: library/logging.rst:1147 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 " @@ -1583,14 +1583,14 @@ msgid "" "logging." msgstr "" -#: library/logging.rst:1151 +#: library/logging.rst:1152 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:1158 +#: library/logging.rst:1159 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 " @@ -1599,37 +1599,37 @@ msgid "" "example::" msgstr "" -#: library/logging.rst:1169 +#: library/logging.rst:1170 msgid "Return a callable which is used to create a :class:`LogRecord`." msgstr "" -#: library/logging.rst:1171 +#: library/logging.rst:1172 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:1176 +#: library/logging.rst:1177 msgid "" "See :func:`setLogRecordFactory` for more information about the how the " "factory is called." msgstr "" -#: library/logging.rst:1181 +#: library/logging.rst:1182 msgid "" "This is a convenience function that calls :meth:`Logger.debug`, on the root " "logger. The handling of the arguments is in every way identical to what is " "described in that method." msgstr "" -#: library/logging.rst:1185 +#: library/logging.rst:1186 msgid "" "The only difference is that if the root logger has no handlers, then :func:" "`basicConfig` is called, prior to calling ``debug`` on the root logger." msgstr "" -#: library/logging.rst:1188 +#: library/logging.rst:1189 msgid "" "For very short scripts or quick demonstrations of ``logging`` facilities, " "``debug`` and the other module-level functions may be convenient. However, " @@ -1639,38 +1639,38 @@ msgid "" "described at the beginnning of this documentation." msgstr "" -#: library/logging.rst:1198 +#: library/logging.rst:1199 msgid "" "Logs a message with level :const:`INFO` on the root logger. The arguments " "and behavior are otherwise the same as for :func:`debug`." msgstr "" -#: library/logging.rst:1204 +#: library/logging.rst:1205 msgid "" "Logs a message with level :const:`WARNING` on the root logger. The arguments " "and behavior are otherwise the same as for :func:`debug`." msgstr "" -#: library/logging.rst:1207 +#: library/logging.rst:1208 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:1214 +#: library/logging.rst:1215 msgid "" "Logs a message with level :const:`ERROR` on the root logger. The arguments " "and behavior are otherwise the same as for :func:`debug`." msgstr "" -#: library/logging.rst:1220 +#: library/logging.rst:1221 msgid "" "Logs a message with level :const:`CRITICAL` on the root logger. The " "arguments and behavior are otherwise the same as for :func:`debug`." msgstr "" -#: library/logging.rst:1226 +#: library/logging.rst:1227 msgid "" "Logs a message with level :const:`ERROR` on the root logger. The arguments " "and behavior are otherwise the same as for :func:`debug`. Exception info is " @@ -1678,13 +1678,13 @@ msgid "" "exception handler." msgstr "" -#: library/logging.rst:1232 +#: library/logging.rst:1233 msgid "" "Logs a message with level *level* on the root logger. The arguments and " "behavior are otherwise the same as for :func:`debug`." msgstr "" -#: library/logging.rst:1237 +#: library/logging.rst:1238 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 " @@ -1698,7 +1698,7 @@ msgid "" "individual loggers." msgstr "" -#: library/logging.rst:1248 +#: library/logging.rst:1249 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 " @@ -1706,13 +1706,13 @@ msgid "" "a suitable value." msgstr "" -#: library/logging.rst:1253 +#: library/logging.rst:1254 msgid "" "The *level* parameter was defaulted to level ``CRITICAL``. See :issue:" "`28524` for more information about this change." msgstr "" -#: library/logging.rst:1259 +#: library/logging.rst:1260 msgid "" "Associates level *level* with text *levelName* in an internal dictionary, " "which is used to map numeric levels to a textual representation, for example " @@ -1722,24 +1722,24 @@ msgid "" "and they should increase in increasing order of severity." msgstr "" -#: library/logging.rst:1266 +#: library/logging.rst:1267 msgid "" "If you are thinking of defining your own levels, please see the section on :" "ref:`custom-levels`." msgstr "" -#: library/logging.rst:1271 +#: library/logging.rst:1272 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:1279 +#: library/logging.rst:1280 msgid "Returns the textual or numeric representation of logging level *level*." msgstr "" -#: library/logging.rst:1281 +#: library/logging.rst:1282 msgid "" "If *level* is one of the predefined levels :const:`CRITICAL`, :const:" "`ERROR`, :const:`WARNING`, :const:`INFO` or :const:`DEBUG` then you get the " @@ -1749,20 +1749,20 @@ msgid "" "the corresponding string representation is returned." msgstr "" -#: library/logging.rst:1288 +#: library/logging.rst:1289 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:1292 +#: library/logging.rst:1293 msgid "" "If no matching numeric or string value is passed in, the string 'Level %s' % " "level is returned." msgstr "" -#: library/logging.rst:1295 +#: library/logging.rst:1296 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 " @@ -1771,7 +1771,7 @@ msgid "" "vice versa." msgstr "" -#: library/logging.rst:1301 +#: library/logging.rst:1302 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. " @@ -1779,17 +1779,17 @@ msgid "" "Python 3.4, but reinstated in 3.4.2 due to retain backward compatibility." msgstr "" -#: library/logging.rst:1309 +#: library/logging.rst:1310 msgid "" "Returns a handler with the specified *name*, or ``None`` if there is no " "handler with that name." msgstr "" -#: library/logging.rst:1316 +#: library/logging.rst:1317 msgid "Returns an immutable set of all known handler names." msgstr "" -#: library/logging.rst:1322 +#: library/logging.rst:1323 msgid "" "Creates and returns a new :class:`LogRecord` instance whose attributes are " "defined by *attrdict*. This function is useful for taking a pickled :class:" @@ -1797,7 +1797,7 @@ msgid "" "as a :class:`LogRecord` instance at the receiving end." msgstr "" -#: library/logging.rst:1330 +#: library/logging.rst:1331 msgid "" "Does basic configuration for the logging system by creating a :class:" "`StreamHandler` with a default :class:`Formatter` and adding it to the root " @@ -1806,13 +1806,13 @@ msgid "" "no handlers are defined for the root logger." msgstr "" -#: library/logging.rst:1336 +#: library/logging.rst:1337 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:1339 +#: library/logging.rst:1340 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 " @@ -1821,54 +1821,54 @@ msgid "" "unexpected results such as messages being duplicated in the log." msgstr "" -#: library/logging.rst:1346 +#: library/logging.rst:1347 msgid "The following keyword arguments are supported." msgstr "" -#: library/logging.rst:1353 +#: library/logging.rst:1354 msgid "*filename*" msgstr "" -#: library/logging.rst:1353 +#: library/logging.rst:1354 msgid "" "Specifies that a :class:`FileHandler` be created, using the specified " "filename, rather than a :class:`StreamHandler`." msgstr "" -#: library/logging.rst:1357 +#: library/logging.rst:1358 msgid "*filemode*" msgstr "" -#: library/logging.rst:1357 +#: library/logging.rst:1358 msgid "" "If *filename* is specified, open the file in this :ref:`mode `. " "Defaults to ``'a'``." msgstr "" -#: library/logging.rst:1361 +#: library/logging.rst:1362 msgid "*format*" msgstr "" -#: library/logging.rst:1361 +#: library/logging.rst:1362 msgid "" "Use the specified format string for the handler. Defaults to attributes " "``levelname``, ``name`` and ``message`` separated by colons." msgstr "" -#: library/logging.rst:1366 +#: library/logging.rst:1367 msgid "*datefmt*" msgstr "" -#: library/logging.rst:1366 +#: library/logging.rst:1367 msgid "" "Use the specified date/time format, as accepted by :func:`time.strftime`." msgstr "" -#: library/logging.rst:1369 +#: library/logging.rst:1370 msgid "*style*" msgstr "" -#: library/logging.rst:1369 +#: library/logging.rst:1370 msgid "" "If *format* is specified, use this style for the format string. One of " "``'%'``, ``'{'`` or ``'$'`` for :ref:`printf-style `." msgstr "" -#: library/logging.rst:1380 +#: library/logging.rst:1381 msgid "*stream*" msgstr "" -#: library/logging.rst:1380 +#: library/logging.rst:1381 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:1386 +#: library/logging.rst:1387 msgid "*handlers*" msgstr "" -#: library/logging.rst:1386 +#: library/logging.rst:1387 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 " @@ -1908,33 +1908,33 @@ msgid "" "present, a ``ValueError`` is raised." msgstr "" -#: library/logging.rst:1395 +#: library/logging.rst:1396 msgid "*force*" msgstr "" -#: library/logging.rst:1395 +#: library/logging.rst:1396 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:1401 +#: library/logging.rst:1402 msgid "*encoding*" msgstr "" -#: library/logging.rst:1401 +#: library/logging.rst:1402 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:1406 +#: library/logging.rst:1407 msgid "*errors*" msgstr "" -#: library/logging.rst:1406 +#: library/logging.rst:1407 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 " @@ -1943,39 +1943,39 @@ msgid "" "`open`, which means that it will be treated the same as passing 'errors'." msgstr "" -#: library/logging.rst:1417 +#: library/logging.rst:1418 msgid "The *style* argument was added." msgstr "" -#: library/logging.rst:1420 +#: library/logging.rst:1421 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:1426 +#: library/logging.rst:1427 msgid "The *force* argument was added." msgstr "" -#: library/logging.rst:1429 +#: library/logging.rst:1430 msgid "The *encoding* and *errors* arguments were added." msgstr "" -#: library/logging.rst:1434 +#: library/logging.rst:1435 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:1438 +#: library/logging.rst:1439 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:1445 +#: library/logging.rst:1446 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 " @@ -1987,32 +1987,32 @@ msgid "" "loggers." msgstr "" -#: library/logging.rst:1456 +#: library/logging.rst:1457 msgid "Set a callable which is used to create a :class:`LogRecord`." msgstr "" -#: library/logging.rst:1458 +#: library/logging.rst:1459 msgid "The factory callable to be used to instantiate a log record." msgstr "" -#: library/logging.rst:1460 +#: library/logging.rst:1461 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:1465 +#: library/logging.rst:1466 msgid "The factory has the following signature:" msgstr "" -#: library/logging.rst:1467 +#: library/logging.rst:1468 msgid "" "``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, " "**kwargs)``" msgstr "" -#: library/logging.rst:1469 +#: library/logging.rst:1470 msgid "The logger name." msgstr "" @@ -2020,7 +2020,7 @@ msgstr "" msgid "level" msgstr "" -#: library/logging.rst:1470 +#: library/logging.rst:1471 msgid "The logging level (numeric)." msgstr "" @@ -2028,7 +2028,7 @@ msgstr "" msgid "fn" msgstr "" -#: library/logging.rst:1471 +#: library/logging.rst:1472 msgid "The full pathname of the file where the logging call was made." msgstr "" @@ -2036,19 +2036,19 @@ msgstr "" msgid "lno" msgstr "" -#: library/logging.rst:1472 +#: library/logging.rst:1473 msgid "The line number in the file where the logging call was made." msgstr "" -#: library/logging.rst:1473 +#: library/logging.rst:1474 msgid "The logging message." msgstr "" -#: library/logging.rst:1474 +#: library/logging.rst:1475 msgid "The arguments for the logging message." msgstr "" -#: library/logging.rst:1475 +#: library/logging.rst:1476 msgid "An exception tuple, or ``None``." msgstr "" @@ -2056,7 +2056,7 @@ msgstr "" msgid "func" msgstr "" -#: library/logging.rst:1476 +#: library/logging.rst:1477 msgid "The name of the function or method which invoked the logging call." msgstr "" @@ -2064,7 +2064,7 @@ msgstr "" msgid "sinfo" msgstr "" -#: library/logging.rst:1478 +#: library/logging.rst:1479 msgid "" "A stack traceback such as is provided by :func:`traceback.print_stack`, " "showing the call hierarchy." @@ -2074,15 +2074,15 @@ msgstr "" msgid "kwargs" msgstr "" -#: library/logging.rst:1480 +#: library/logging.rst:1481 msgid "Additional keyword arguments." msgstr "" -#: library/logging.rst:1484 +#: library/logging.rst:1485 msgid "Module-Level Attributes" msgstr "" -#: library/logging.rst:1488 +#: library/logging.rst:1489 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``, " @@ -2093,15 +2093,15 @@ msgid "" "reason, ``lastResort`` can be set to ``None``." msgstr "" -#: library/logging.rst:1500 +#: library/logging.rst:1501 msgid "Used to see if exceptions during handling should be propagated." msgstr "" -#: library/logging.rst:1502 +#: library/logging.rst:1503 msgid "Default: ``True``." msgstr "" -#: library/logging.rst:1504 +#: library/logging.rst:1505 msgid "" "If :data:`raiseExceptions` is ``False``, exceptions get silently ignored. " "This is what is mostly wanted for a logging system - most users will not " @@ -2109,22 +2109,22 @@ msgid "" "application errors." msgstr "" -#: library/logging.rst:1511 +#: library/logging.rst:1512 msgid "Integration with the warnings module" msgstr "" -#: library/logging.rst:1513 +#: library/logging.rst:1514 msgid "" "The :func:`captureWarnings` function can be used to integrate :mod:`logging` " "with the :mod:`warnings` module." msgstr "" -#: library/logging.rst:1518 +#: library/logging.rst:1519 msgid "" "This function is used to turn the capture of warnings by logging on and off." msgstr "" -#: library/logging.rst:1521 +#: library/logging.rst:1522 msgid "" "If *capture* is ``True``, warnings issued by the :mod:`warnings` module will " "be redirected to the logging system. Specifically, a warning will be " @@ -2133,7 +2133,7 @@ msgid "" "`WARNING`." msgstr "" -#: library/logging.rst:1526 +#: library/logging.rst:1527 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." @@ -2144,7 +2144,7 @@ msgstr "" msgid "Module :mod:`logging.config`" msgstr "" -#: library/logging.rst:1534 +#: library/logging.rst:1535 msgid "Configuration API for the logging module." msgstr "" @@ -2152,27 +2152,27 @@ msgstr "" msgid "Module :mod:`logging.handlers`" msgstr "" -#: library/logging.rst:1537 +#: library/logging.rst:1538 msgid "Useful handlers included with the logging module." msgstr "" -#: library/logging.rst:1541 +#: library/logging.rst:1540 msgid ":pep:`282` - A Logging System" msgstr "" -#: library/logging.rst:1540 +#: library/logging.rst:1541 msgid "" "The proposal which described this feature for inclusion in the Python " "standard library." msgstr "" -#: library/logging.rst:1546 +#: library/logging.rst:1544 msgid "" "`Original Python logging package `_" msgstr "" -#: library/logging.rst:1544 +#: library/logging.rst:1545 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, " diff --git a/library/lzma.po b/library/lzma.po index 8ed9bde7a..341d38936 100644 --- a/library/lzma.po +++ b/library/lzma.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -199,7 +199,7 @@ msgid "" "Possible values are:" msgstr "" -#: library/lzma.rst:145 +#: library/lzma.rst:144 msgid ":const:`FORMAT_XZ`: The ``.xz`` container format." msgstr "" @@ -207,7 +207,7 @@ msgstr "" msgid "This is the default format." msgstr "" -#: library/lzma.rst:149 +#: library/lzma.rst:147 msgid ":const:`FORMAT_ALONE`: The legacy ``.lzma`` container format." msgstr "" @@ -217,7 +217,7 @@ msgid "" "checks or multiple filters." msgstr "" -#: library/lzma.rst:155 +#: library/lzma.rst:151 msgid ":const:`FORMAT_RAW`: A raw data stream, not using any container format." msgstr "" diff --git a/library/mailbox.po b/library/mailbox.po index c1caf3689..318f4455b 100644 --- a/library/mailbox.po +++ b/library/mailbox.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -482,7 +482,7 @@ msgid "" "the underlying message while the returned file remains open." msgstr "" -#: library/mailbox.rst:447 +#: library/mailbox.rst:445 msgid "" "`maildir man page from Courier `_" msgstr "" @@ -493,7 +493,7 @@ msgid "" "folders." msgstr "" -#: library/mailbox.rst:450 +#: library/mailbox.rst:449 msgid "`Using maildir format `_" msgstr "" @@ -556,7 +556,7 @@ msgid "" "func:`!flock` and :c:func:`!lockf` system calls." msgstr "" -#: library/mailbox.rst:502 +#: library/mailbox.rst:501 msgid "" "`mbox man page from tin `_" @@ -566,7 +566,7 @@ msgstr "" msgid "A specification of the format, with details on locking." msgstr "" -#: library/mailbox.rst:505 +#: library/mailbox.rst:504 msgid "" "`Configuring Netscape Mail on Unix: Why The Content-Length Format is Bad " "`_" @@ -702,7 +702,7 @@ msgid "" "equivalent to :meth:`unlock`." msgstr "" -#: library/mailbox.rst:634 +#: library/mailbox.rst:633 msgid "`nmh - Message Handling System `_" msgstr "" @@ -712,7 +712,7 @@ msgid "" "`mh`." msgstr "" -#: library/mailbox.rst:637 +#: library/mailbox.rst:636 msgid "" "`MH & nmh: Email for Users & Programmers `_" @@ -793,7 +793,7 @@ msgid "" "memory compared to a string representation." msgstr "" -#: library/mailbox.rst:711 +#: library/mailbox.rst:710 msgid "" "`Format of Version 5 Babyl Files `_" msgstr "" @@ -852,7 +852,7 @@ msgid "" "raise an exception." msgstr "" -#: library/mailbox.rst:762 +#: library/mailbox.rst:761 msgid "" "`mmdf man page from tin `_" @@ -863,7 +863,7 @@ msgid "" "A specification of MMDF format from the documentation of tin, a newsreader." msgstr "" -#: library/mailbox.rst:765 +#: library/mailbox.rst:764 msgid "`MMDF `_" msgstr "" diff --git a/library/multiprocessing.po b/library/multiprocessing.po index 9e52912e7..02fd1ae9b 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -110,7 +110,7 @@ msgid "" "start a process. These *start methods* are" msgstr "" -#: library/multiprocessing.rst:118 +#: library/multiprocessing.rst:110 msgid "*spawn*" msgstr "" @@ -129,7 +129,7 @@ msgid "" "Available on POSIX and Windows platforms. The default on Windows and macOS." msgstr "" -#: library/multiprocessing.rst:138 +#: library/multiprocessing.rst:120 msgid "*fork*" msgstr "" @@ -161,7 +161,7 @@ msgid "" "fork` documentation for further explanation." msgstr "" -#: library/multiprocessing.rst:151 +#: library/multiprocessing.rst:140 msgid "*forkserver*" msgstr "" diff --git a/library/optparse.po b/library/optparse.po index 9f4d13574..133dbe7a9 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -96,7 +96,7 @@ msgstr "" msgid "Terminology" msgstr "" -#: library/optparse.rst:104 +#: library/optparse.rst:95 msgid "argument" msgstr "" @@ -116,7 +116,7 @@ msgid "" "argv[1:]``\"." msgstr "" -#: library/optparse.rst:134 +#: library/optparse.rst:106 msgid "option" msgstr "" @@ -169,7 +169,7 @@ msgid "" "Windows or certain legacy platforms (e.g. VMS, MS-DOS)." msgstr "" -#: library/optparse.rst:160 +#: library/optparse.rst:136 msgid "option argument" msgstr "" @@ -196,7 +196,7 @@ msgid "" "support this feature." msgstr "" -#: library/optparse.rst:165 +#: library/optparse.rst:162 msgid "positional argument" msgstr "" @@ -207,7 +207,7 @@ msgid "" "argument list." msgstr "" -#: library/optparse.rst:171 +#: library/optparse.rst:167 msgid "required option" msgstr "" @@ -520,7 +520,7 @@ msgstr "" msgid "Some other actions supported by :mod:`optparse` are:" msgstr "" -#: library/optparse.rst:929 +#: library/optparse.rst:928 msgid "``\"store_const\"``" msgstr "" @@ -528,7 +528,7 @@ msgstr "" msgid "store a constant value, pre-set via :attr:`Option.const`" msgstr "" -#: library/optparse.rst:938 +#: library/optparse.rst:937 msgid "``\"append\"``" msgstr "" @@ -536,7 +536,7 @@ msgstr "" msgid "append this option's argument to a list" msgstr "" -#: library/optparse.rst:944 +#: library/optparse.rst:943 msgid "``\"count\"``" msgstr "" @@ -544,7 +544,7 @@ msgstr "" msgid "increment a counter by one" msgstr "" -#: library/optparse.rst:947 +#: library/optparse.rst:946 msgid "``\"callback\"``" msgstr "" @@ -907,7 +907,7 @@ msgid "" "arguments, i.e. do not rely on the order in which the arguments are declared." msgstr "" -#: library/optparse.rst:815 +#: library/optparse.rst:810 msgid "``usage`` (default: ``\"%prog [options]\"``)" msgstr "" @@ -920,7 +920,7 @@ msgid "" "value :const:`optparse.SUPPRESS_USAGE`." msgstr "" -#: library/optparse.rst:822 +#: library/optparse.rst:817 msgid "``option_list`` (default: ``[]``)" msgstr "" @@ -933,7 +933,7 @@ msgid "" "the parser instead." msgstr "" -#: library/optparse.rst:825 +#: library/optparse.rst:824 msgid "``option_class`` (default: optparse.Option)" msgstr "" @@ -941,7 +941,7 @@ msgstr "" msgid "Class to use when adding options to the parser in :meth:`add_option`." msgstr "" -#: library/optparse.rst:831 +#: library/optparse.rst:827 msgid "``version`` (default: ``None``)" msgstr "" @@ -953,7 +953,7 @@ msgid "" "``%prog`` is expanded the same as for ``usage``." msgstr "" -#: library/optparse.rst:836 +#: library/optparse.rst:833 msgid "``conflict_handler`` (default: ``\"error\"``)" msgstr "" @@ -963,7 +963,7 @@ msgid "" "to the parser; see section :ref:`optparse-conflicts-between-options`." msgstr "" -#: library/optparse.rst:842 +#: library/optparse.rst:838 msgid "``description`` (default: ``None``)" msgstr "" @@ -975,7 +975,7 @@ msgid "" "options)." msgstr "" -#: library/optparse.rst:847 +#: library/optparse.rst:844 msgid "``formatter`` (default: a new :class:`IndentedHelpFormatter`)" msgstr "" @@ -986,7 +986,7 @@ msgid "" "IndentedHelpFormatter and TitledHelpFormatter." msgstr "" -#: library/optparse.rst:851 +#: library/optparse.rst:849 msgid "``add_help_option`` (default: ``True``)" msgstr "" @@ -996,7 +996,7 @@ msgid "" "and ``--help``) to the parser." msgstr "" -#: library/optparse.rst:855 +#: library/optparse.rst:853 msgid "``prog``" msgstr "" @@ -1092,7 +1092,7 @@ msgid "" "into :mod:`optparse` are:" msgstr "" -#: library/optparse.rst:926 +#: library/optparse.rst:925 msgid "``\"store\"``" msgstr "" @@ -1100,7 +1100,7 @@ msgstr "" msgid "store this option's argument (default)" msgstr "" -#: library/optparse.rst:932 +#: library/optparse.rst:931 msgid "``\"store_true\"``" msgstr "" @@ -1108,7 +1108,7 @@ msgstr "" msgid "store ``True``" msgstr "" -#: library/optparse.rst:935 +#: library/optparse.rst:934 msgid "``\"store_false\"``" msgstr "" @@ -1116,7 +1116,7 @@ msgstr "" msgid "store ``False``" msgstr "" -#: library/optparse.rst:941 +#: library/optparse.rst:940 msgid "``\"append_const\"``" msgstr "" @@ -1610,7 +1610,7 @@ msgstr "" msgid "The input parameters are" msgstr "" -#: library/optparse.rst:1364 library/optparse.rst:1684 +#: library/optparse.rst:1364 library/optparse.rst:1682 msgid "``args``" msgstr "" @@ -1618,7 +1618,7 @@ msgstr "" msgid "the list of arguments to process (default: ``sys.argv[1:]``)" msgstr "" -#: library/optparse.rst:1356 +#: library/optparse.rst:1353 msgid "``values``" msgstr "" @@ -1633,7 +1633,7 @@ msgstr "" msgid "and the return value is a pair ``(options, args)`` where" msgstr "" -#: library/optparse.rst:1362 +#: library/optparse.rst:1360 msgid "``options``" msgstr "" @@ -1757,7 +1757,7 @@ msgstr "" msgid "The available conflict handlers are:" msgstr "" -#: library/optparse.rst:1459 +#: library/optparse.rst:1457 msgid "``\"error\"`` (default)" msgstr "" @@ -1767,7 +1767,7 @@ msgid "" "`OptionConflictError`" msgstr "" -#: library/optparse.rst:1463 +#: library/optparse.rst:1461 msgid "``\"resolve\"``" msgstr "" @@ -1931,7 +1931,7 @@ msgid "" "define a callback option:" msgstr "" -#: library/optparse.rst:1616 +#: library/optparse.rst:1612 msgid ":attr:`~Option.type`" msgstr "" @@ -1943,7 +1943,7 @@ msgid "" "though, :mod:`optparse` passes it to your callback function." msgstr "" -#: library/optparse.rst:1622 +#: library/optparse.rst:1618 msgid ":attr:`~Option.nargs`" msgstr "" @@ -1955,7 +1955,7 @@ msgid "" "callback." msgstr "" -#: library/optparse.rst:1625 +#: library/optparse.rst:1624 msgid ":attr:`~Option.callback_args`" msgstr "" @@ -1963,7 +1963,7 @@ msgstr "" msgid "a tuple of extra positional arguments to pass to the callback" msgstr "" -#: library/optparse.rst:1629 +#: library/optparse.rst:1627 msgid ":attr:`~Option.callback_kwargs`" msgstr "" @@ -1979,7 +1979,7 @@ msgstr "" msgid "All callbacks are called as follows::" msgstr "" -#: library/optparse.rst:1643 +#: library/optparse.rst:1642 msgid "``option``" msgstr "" @@ -1987,7 +1987,7 @@ msgstr "" msgid "is the Option instance that's calling the callback" msgstr "" -#: library/optparse.rst:1650 +#: library/optparse.rst:1645 msgid "``opt_str``" msgstr "" @@ -2000,7 +2000,7 @@ msgid "" "``\"--foobar\"``.)" msgstr "" -#: library/optparse.rst:1657 +#: library/optparse.rst:1652 msgid "``value``" msgstr "" @@ -2014,7 +2014,7 @@ msgid "" "of values of the appropriate type." msgstr "" -#: library/optparse.rst:1680 +#: library/optparse.rst:1659 msgid "``parser``" msgstr "" @@ -2024,7 +2024,7 @@ msgid "" "you can access some other interesting data through its instance attributes:" msgstr "" -#: library/optparse.rst:1667 +#: library/optparse.rst:1663 msgid "``parser.largs``" msgstr "" @@ -2037,7 +2037,7 @@ msgid "" "parse_args`.)" msgstr "" -#: library/optparse.rst:1673 +#: library/optparse.rst:1669 msgid "``parser.rargs``" msgstr "" @@ -2048,7 +2048,7 @@ msgid "" "Feel free to modify ``parser.rargs``, e.g. by consuming more arguments." msgstr "" -#: library/optparse.rst:1680 +#: library/optparse.rst:1675 msgid "``parser.values``" msgstr "" @@ -2067,7 +2067,7 @@ msgid "" "callback_args` option attribute." msgstr "" -#: library/optparse.rst:1689 +#: library/optparse.rst:1686 msgid "``kwargs``" msgstr "" @@ -2323,7 +2323,7 @@ msgid "" "mod:`optparse` has a couple of classifications for actions:" msgstr "" -#: library/optparse.rst:1962 +#: library/optparse.rst:1959 msgid "\"store\" actions" msgstr "" @@ -2334,7 +2334,7 @@ msgid "" "dest` attribute to be supplied to the Option constructor." msgstr "" -#: library/optparse.rst:1968 +#: library/optparse.rst:1964 msgid "\"typed\" actions" msgstr "" diff --git a/library/os.path.po b/library/os.path.po index 598f6401e..51c36f1a0 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -22,8 +22,8 @@ msgstr "" #: library/os.path.rst:7 msgid "" -"**Source code:** :source:`Lib/posixpath.py` (for POSIX) and :source:`Lib/" -"ntpath.py` (for Windows)." +"**Source code:** :source:`Lib/genericpath.py`, :source:`Lib/posixpath.py` " +"(for POSIX) and :source:`Lib/ntpath.py` (for Windows)." msgstr "" #: library/os.path.rst:14 @@ -87,11 +87,11 @@ msgid "" "follows: ``normpath(join(os.getcwd(), path))``." msgstr "" -#: library/os.path.rst:76 library/os.path.rst:125 library/os.path.rst:151 -#: library/os.path.rst:197 library/os.path.rst:226 library/os.path.rst:245 -#: library/os.path.rst:265 library/os.path.rst:303 library/os.path.rst:372 -#: library/os.path.rst:417 library/os.path.rst:448 library/os.path.rst:480 -#: library/os.path.rst:569 +#: library/os.path.rst:76 library/os.path.rst:123 library/os.path.rst:149 +#: library/os.path.rst:195 library/os.path.rst:224 library/os.path.rst:243 +#: library/os.path.rst:263 library/os.path.rst:301 library/os.path.rst:370 +#: library/os.path.rst:413 library/os.path.rst:440 library/os.path.rst:470 +#: library/os.path.rst:559 msgid "Accepts a :term:`path-like object`." msgstr "" @@ -112,34 +112,30 @@ msgid "" "empty. Unlike :func:`commonprefix`, this returns a valid path." msgstr "" -#: library/os.path.rst:415 library/os.path.rst:443 library/os.path.rst:459 -msgid ":ref:`Availability `: Unix, Windows." -msgstr "" - -#: library/os.path.rst:92 +#: library/os.path.rst:90 msgid "Accepts a sequence of :term:`path-like objects `." msgstr "" -#: library/os.path.rst:98 +#: library/os.path.rst:96 msgid "" "Return the longest path prefix (taken character-by-character) that is a " "prefix of all paths in *list*. If *list* is empty, return the empty string " "(``''``)." msgstr "" -#: library/os.path.rst:104 +#: library/os.path.rst:102 msgid "" "This function may return invalid paths because it works a character at a " "time. To obtain a valid path, see :func:`commonpath`." msgstr "" -#: library/os.path.rst:122 +#: library/os.path.rst:120 msgid "" "Return the directory name of pathname *path*. This is the first element of " "the pair returned by passing *path* to the function :func:`split`." msgstr "" -#: library/os.path.rst:131 +#: library/os.path.rst:129 msgid "" "Return ``True`` if *path* refers to an existing path or an open file " "descriptor. Returns ``False`` for broken symbolic links. On some " @@ -148,26 +144,26 @@ msgid "" "physically exists." msgstr "" -#: library/os.path.rst:137 +#: library/os.path.rst:135 msgid "" "*path* can now be an integer: ``True`` is returned if it is an open file " "descriptor, ``False`` otherwise." msgstr "" -#: library/os.path.rst:147 +#: library/os.path.rst:145 msgid "" -"Return ``True`` if *path* refers to an existing path. Returns ``True`` for " -"broken symbolic links. Equivalent to :func:`exists` on platforms lacking :" -"func:`os.lstat`." +"Return ``True`` if *path* refers to an existing path, including broken " +"symbolic links. Equivalent to :func:`exists` on platforms lacking :func:" +"`os.lstat`." msgstr "" -#: library/os.path.rst:159 +#: library/os.path.rst:157 msgid "" "On Unix and Windows, return the argument with an initial component of ``~`` " "or ``~user`` replaced by that *user*'s home directory." msgstr "" -#: library/os.path.rst:164 +#: library/os.path.rst:162 msgid "" "On Unix, an initial ``~`` is replaced by the environment variable :envvar:" "`HOME` if it is set; otherwise the current user's home directory is looked " @@ -175,7 +171,7 @@ msgid "" "initial ``~user`` is looked up directly in the password directory." msgstr "" -#: library/os.path.rst:169 +#: library/os.path.rst:167 msgid "" "On Windows, :envvar:`USERPROFILE` will be used if set, otherwise a " "combination of :envvar:`HOMEPATH` and :envvar:`HOMEDRIVE` will be used. An " @@ -184,17 +180,17 @@ msgid "" "replacing it if so." msgstr "" -#: library/os.path.rst:174 +#: library/os.path.rst:172 msgid "" "If the expansion fails or if the path does not begin with a tilde, the path " "is returned unchanged." msgstr "" -#: library/os.path.rst:180 +#: library/os.path.rst:178 msgid "No longer uses :envvar:`HOME` on Windows." msgstr "" -#: library/os.path.rst:189 +#: library/os.path.rst:187 msgid "" "Return the argument with environment variables expanded. Substrings of the " "form ``$name`` or ``${name}`` are replaced by the value of environment " @@ -202,13 +198,13 @@ msgid "" "variables are left unchanged." msgstr "" -#: library/os.path.rst:194 +#: library/os.path.rst:192 msgid "" "On Windows, ``%name%`` expansions are supported in addition to ``$name`` and " "``${name}``." msgstr "" -#: library/os.path.rst:203 +#: library/os.path.rst:201 msgid "" "Return the time of last access of *path*. The return value is a floating " "point number giving the number of seconds since the epoch (see the :mod:" @@ -216,7 +212,7 @@ msgid "" "inaccessible." msgstr "" -#: library/os.path.rst:210 +#: library/os.path.rst:208 msgid "" "Return the time of last modification of *path*. The return value is a " "floating point number giving the number of seconds since the epoch (see " @@ -224,7 +220,7 @@ msgid "" "is inaccessible." msgstr "" -#: library/os.path.rst:220 +#: library/os.path.rst:218 msgid "" "Return the system's ctime which, on some systems (like Unix) is the time of " "the last metadata change, and, on others (like Windows), is the creation " @@ -233,48 +229,48 @@ msgid "" "file does not exist or is inaccessible." msgstr "" -#: library/os.path.rst:232 +#: library/os.path.rst:230 msgid "" "Return the size, in bytes, of *path*. Raise :exc:`OSError` if the file does " "not exist or is inaccessible." msgstr "" -#: library/os.path.rst:241 +#: library/os.path.rst:239 msgid "" "Return ``True`` if *path* is an absolute pathname. On Unix, that means it " "begins with a slash, on Windows that it begins with a (back)slash after " "chopping off a potential drive letter." msgstr "" -#: library/os.path.rst:251 +#: library/os.path.rst:249 msgid "" "Return ``True`` if *path* is an :func:`existing ` regular file. This " "follows symbolic links, so both :func:`islink` and :func:`isfile` can be " "true for the same path." msgstr "" -#: library/os.path.rst:261 +#: library/os.path.rst:259 msgid "" "Return ``True`` if *path* is an :func:`existing ` directory. This " "follows symbolic links, so both :func:`islink` and :func:`isdir` can be true " "for the same path." msgstr "" -#: library/os.path.rst:271 +#: library/os.path.rst:269 msgid "" "Return ``True`` if *path* refers to an :func:`existing ` directory " "entry that is a junction. Always return ``False`` if junctions are not " "supported on the current platform." msgstr "" -#: library/os.path.rst:280 +#: library/os.path.rst:278 msgid "" "Return ``True`` if *path* refers to an :func:`existing ` directory " "entry that is a symbolic link. Always ``False`` if symbolic links are not " "supported by the Python runtime." msgstr "" -#: library/os.path.rst:290 +#: library/os.path.rst:288 msgid "" "Return ``True`` if pathname *path* is a :dfn:`mount point`: a point in a " "file system where a different file system has been mounted. On POSIX, the " @@ -287,11 +283,11 @@ msgid "" "called to see if it is different from the input path." msgstr "" -#: library/os.path.rst:300 -msgid "Support for detecting non-root mount points on Windows." +#: library/os.path.rst:298 +msgid "Added support for detecting non-root mount points on Windows." msgstr "" -#: library/os.path.rst:309 +#: library/os.path.rst:307 msgid "" "Return ``True`` if pathname *path* is located on a Windows Dev Drive. A Dev " "Drive is optimized for developer scenarios, and offers faster performance " @@ -300,7 +296,7 @@ msgid "" "operations." msgstr "" -#: library/os.path.rst:315 +#: library/os.path.rst:313 msgid "" "May raise an error for an invalid path, for example, one without a " "recognizable drive, but returns ``False`` on platforms that do not support " @@ -308,11 +304,11 @@ msgid "" "windows/dev-drive/>`_ for information on enabling and creating Dev Drives." msgstr "" -#: library/os.path.rst:320 +#: library/os.path.rst:318 msgid ":ref:`Availability `: Windows." msgstr "" -#: library/os.path.rst:327 +#: library/os.path.rst:325 msgid "" "Join one or more path segments intelligently. The return value is the " "concatenation of *path* and all members of *\\*paths*, with exactly one " @@ -323,7 +319,7 @@ msgid "" "and joining continues from the absolute path segment." msgstr "" -#: library/os.path.rst:335 +#: library/os.path.rst:333 msgid "" "On Windows, the drive is not reset when a rooted path segment (e.g., " "``r'\\foo'``) is encountered. If a segment is on a different drive or is an " @@ -333,18 +329,18 @@ msgid "" "on drive :file:`C:` (:file:`c:foo`), not :file:`c:\\\\foo`." msgstr "" -#: library/os.path.rst:342 +#: library/os.path.rst:340 msgid "Accepts a :term:`path-like object` for *path* and *paths*." msgstr "" -#: library/os.path.rst:348 +#: library/os.path.rst:346 msgid "" "Normalize the case of a pathname. On Windows, convert all characters in the " "pathname to lowercase, and also convert forward slashes to backward slashes. " "On other operating systems, return the path unchanged." msgstr "" -#: library/os.path.rst:358 +#: library/os.path.rst:356 msgid "" "Normalize a pathname by collapsing redundant separators and up-level " "references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all " @@ -353,7 +349,7 @@ msgid "" "backward slashes. To normalize case, use :func:`normcase`." msgstr "" -#: library/os.path.rst:365 +#: library/os.path.rst:363 msgid "" "On POSIX systems, in accordance with `IEEE Std 1003.1 2013 Edition; 4.13 " "Pathname Resolution `_.) For example::" msgstr "" -#: library/os.path.rst:530 +#: library/os.path.rst:520 msgid "" "On Windows, *drive* may be empty, a drive-letter name, a UNC share, or a " "device name. The *root* may be empty, a forward slash, or a backward slash. " "For example::" msgstr "" -#: library/os.path.rst:544 +#: library/os.path.rst:534 msgid "" "Split the pathname *path* into a pair ``(root, ext)`` such that ``root + " "ext == path``, and the extension, *ext*, is empty or begins with a period " "and contains at most one period." msgstr "" -#: library/os.path.rst:548 +#: library/os.path.rst:538 msgid "If the path contains no extension, *ext* will be ``''``::" msgstr "" -#: library/os.path.rst:553 +#: library/os.path.rst:543 msgid "" "If the path contains an extension, then *ext* will be set to this extension, " "including the leading period. Note that previous periods will be ignored::" msgstr "" -#: library/os.path.rst:561 +#: library/os.path.rst:551 msgid "" "Leading periods of the last component of the path are considered to be part " "of the root::" msgstr "" -#: library/os.path.rst:575 +#: library/os.path.rst:565 msgid "" "``True`` if arbitrary Unicode strings can be used as file names (within " "limitations imposed by the file system)." @@ -540,34 +536,34 @@ msgstr "" msgid "operations" msgstr "" -#: library/os.path.rst:155 +#: library/os.path.rst:153 msgid "~ (tilde)" msgstr "" -#: library/os.path.rst:155 +#: library/os.path.rst:153 msgid "home directory expansion" msgstr "" -#: library/os.path.rst:162 +#: library/os.path.rst:160 msgid "module" msgstr "" -#: library/os.path.rst:162 +#: library/os.path.rst:160 msgid "pwd" msgstr "" -#: library/os.path.rst:183 +#: library/os.path.rst:181 msgid "$ (dollar)" msgstr "" -#: library/os.path.rst:183 +#: library/os.path.rst:181 msgid "environment variables expansion" msgstr "" -#: library/os.path.rst:183 +#: library/os.path.rst:181 msgid "% (percent)" msgstr "" -#: library/os.path.rst:183 +#: library/os.path.rst:181 msgid "environment variables expansion (Windows)" msgstr "" diff --git a/library/os.po b/library/os.po index 2fe53629a..617cb13f5 100644 --- a/library/os.po +++ b/library/os.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1289,7 +1289,7 @@ msgstr "" msgid "Adjust the file position relative to the current file position." msgstr "" -#: library/os.rst:1197 +#: library/os.rst:1196 msgid ":const:`SEEK_END`" msgstr "" @@ -1308,7 +1308,7 @@ msgid "" "holes on sparsely allocated files." msgstr "" -#: library/os.rst:1211 +#: library/os.rst:1209 msgid ":data:`!SEEK_DATA`" msgstr "" @@ -1318,7 +1318,7 @@ msgid "" "seek position." msgstr "" -#: library/os.rst:1216 +#: library/os.rst:1213 msgid ":data:`!SEEK_HOLE`" msgstr "" diff --git a/library/ossaudiodev.po b/library/ossaudiodev.po index c66324e04..80bbf4eac 100644 --- a/library/ossaudiodev.po +++ b/library/ossaudiodev.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -40,7 +40,7 @@ msgid "" "raised." msgstr "" -#: library/ossaudiodev.rst:55 +#: library/ossaudiodev.rst:54 msgid "" "`Open Sound System Programmer's Guide `_" diff --git a/library/pdb.po b/library/pdb.po index affa8a4dd..0c414d743 100644 --- a/library/pdb.po +++ b/library/pdb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -41,7 +41,7 @@ msgid "" "source. The extension interface uses the modules :mod:`bdb` and :mod:`cmd`." msgstr "" -#: library/pdb.rst:34 +#: library/pdb.rst:32 msgid "Module :mod:`faulthandler`" msgstr "" diff --git a/library/pickle.po b/library/pickle.po index f0aec451b..adf1f9213 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1327,7 +1327,7 @@ msgstr "" msgid "The following example reads the resulting pickled data. ::" msgstr "" -#: library/pickle.rst:1192 +#: library/pickle.rst:1191 msgid "Module :mod:`copyreg`" msgstr "" @@ -1335,7 +1335,7 @@ msgstr "" msgid "Pickle interface constructor registration for extension types." msgstr "" -#: library/pickle.rst:1195 +#: library/pickle.rst:1194 msgid "Module :mod:`pickletools`" msgstr "" @@ -1343,7 +1343,7 @@ msgstr "" msgid "Tools for working with and analyzing pickled data." msgstr "" -#: library/pickle.rst:1198 +#: library/pickle.rst:1197 msgid "Module :mod:`shelve`" msgstr "" @@ -1351,7 +1351,7 @@ msgstr "" msgid "Indexed databases of objects; uses :mod:`pickle`." msgstr "" -#: library/pickle.rst:1201 +#: library/pickle.rst:1200 msgid "Module :mod:`copy`" msgstr "" diff --git a/library/platform.po b/library/platform.po index dd5420743..8c7b70e3b 100644 --- a/library/platform.po +++ b/library/platform.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -263,9 +263,9 @@ msgstr "" msgid "" "As a hint: *ptype* is ``'Uniprocessor Free'`` on single processor NT " "machines and ``'Multiprocessor Free'`` on multi processor machines. The " -"*'Free'* refers to the OS version being free of debugging code. It could " -"also state *'Checked'* which means the OS version uses debugging code, i.e. " -"code that checks arguments, ranges, etc." +"``'Free'`` refers to the OS version being free of debugging code. It could " +"also state ``'Checked'`` which means the OS version uses debugging code, i." +"e. code that checks arguments, ranges, etc." msgstr "" #: library/platform.rst:220 diff --git a/library/poplib.po b/library/poplib.po index 132152812..ed02842aa 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -134,7 +134,7 @@ msgid "" "constructor as a string." msgstr "" -#: library/poplib.rst:102 +#: library/poplib.rst:101 msgid "Module :mod:`imaplib`" msgstr "" @@ -142,7 +142,7 @@ msgstr "" msgid "The standard Python IMAP module." msgstr "" -#: library/poplib.rst:106 +#: library/poplib.rst:104 msgid "" "`Frequently Asked Questions About Fetchmail `_" diff --git a/library/pprint.po b/library/pprint.po index 21fac59a7..9735967f9 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -37,28 +37,27 @@ msgstr "" #: library/pprint.rst:21 msgid "" "The formatted representation keeps objects on a single line if it can, and " -"breaks them onto multiple lines if they don't fit within the allowed width. " -"Construct :class:`PrettyPrinter` objects explicitly if you need to adjust " -"the width constraint." +"breaks them onto multiple lines if they don't fit within the allowed width, " +"adjustable by the *width* parameter defaulting to 80 characters." msgstr "" -#: library/pprint.rst:26 +#: library/pprint.rst:25 msgid "Dictionaries are sorted by key before the display is computed." msgstr "" -#: library/pprint.rst:28 +#: library/pprint.rst:27 msgid "Added support for pretty-printing :class:`types.SimpleNamespace`." msgstr "" -#: library/pprint.rst:31 +#: library/pprint.rst:30 msgid "Added support for pretty-printing :class:`dataclasses.dataclass`." msgstr "" -#: library/pprint.rst:37 +#: library/pprint.rst:36 msgid "Functions" msgstr "" -#: library/pprint.rst:41 +#: library/pprint.rst:40 msgid "" "Prints the formatted representation of *object* followed by a newline. If " "*sort_dicts* is false (the default), dictionaries will be displayed with " @@ -67,7 +66,7 @@ msgid "" "parameters." msgstr "" -#: library/pprint.rst:64 +#: library/pprint.rst:63 msgid "" "Prints the formatted representation of *object* on *stream*, followed by a " "newline. If *stream* is ``None``, :data:`sys.stdout` is used. This may be " @@ -76,7 +75,7 @@ msgid "" "use within a scope)." msgstr "" -#: library/pprint.rst:70 +#: library/pprint.rst:69 msgid "" "The configuration parameters *stream*, *indent*, *width*, *depth*, " "*compact*, *sort_dicts* and *underscore_numbers* are passed to the :class:" @@ -84,13 +83,13 @@ msgid "" "documentation below." msgstr "" -#: library/pprint.rst:75 +#: library/pprint.rst:74 msgid "" "Note that *sort_dicts* is ``True`` by default and you might want to use :" "func:`~pprint.pp` instead where it is ``False`` by default." msgstr "" -#: library/pprint.rst:81 +#: library/pprint.rst:80 msgid "" "Return the formatted representation of *object* as a string. *indent*, " "*width*, *depth*, *compact*, *sort_dicts* and *underscore_numbers* are " @@ -98,21 +97,21 @@ msgid "" "and their meanings are as described in its documentation below." msgstr "" -#: library/pprint.rst:91 +#: library/pprint.rst:90 msgid "" "Determine if the formatted representation of *object* is \"readable\", or " "can be used to reconstruct the value using :func:`eval`. This always " "returns ``False`` for recursive objects." msgstr "" -#: library/pprint.rst:101 +#: library/pprint.rst:100 msgid "" "Determine if *object* requires a recursive representation. This function is " "subject to the same limitations as noted in :func:`saferepr` below and may " "raise an :exc:`RecursionError` if it fails to detect a recursive object." msgstr "" -#: library/pprint.rst:108 +#: library/pprint.rst:107 msgid "" "Return a string representation of *object*, protected against recursion in " "some common data structures, namely instances of :class:`dict`, :class:" @@ -122,21 +121,21 @@ msgid "" "id=number>``. The representation is not otherwise formatted." msgstr "" -#: library/pprint.rst:121 +#: library/pprint.rst:120 msgid "PrettyPrinter Objects" msgstr "" -#: library/pprint.rst:123 +#: library/pprint.rst:122 msgid "This module defines one class:" msgstr "" -#: library/pprint.rst:133 +#: library/pprint.rst:132 msgid "" "Construct a :class:`PrettyPrinter` instance. This constructor understands " "several keyword parameters." msgstr "" -#: library/pprint.rst:136 +#: library/pprint.rst:135 msgid "" "*stream* (default :data:`!sys.stdout`) is a :term:`file-like object` to " "which the output will be written by calling its :meth:`!write` method. If " @@ -144,19 +143,19 @@ msgid "" "`~PrettyPrinter.pprint` silently returns." msgstr "" -#: library/pprint.rst:141 +#: library/pprint.rst:140 msgid "" "Other values configure the manner in which nesting of complex data " "structures is displayed." msgstr "" -#: library/pprint.rst:144 +#: library/pprint.rst:143 msgid "" "*indent* (default 1) specifies the amount of indentation added for each " "nesting level." msgstr "" -#: library/pprint.rst:147 +#: library/pprint.rst:146 msgid "" "*depth* controls the number of nesting levels which may be printed; if the " "data structure being printed is too deep, the next contained level is " @@ -164,14 +163,14 @@ msgid "" "objects being formatted." msgstr "" -#: library/pprint.rst:152 +#: library/pprint.rst:151 msgid "" "*width* (default 80) specifies the desired maximum number of characters per " "line in the output. If a structure cannot be formatted within the width " "constraint, a best effort will be made." msgstr "" -#: library/pprint.rst:156 +#: library/pprint.rst:155 msgid "" "*compact* impacts the way that long sequences (lists, tuples, sets, etc) are " "formatted. If *compact* is false (the default) then each item of a sequence " @@ -179,52 +178,52 @@ msgid "" "as will fit within the *width* will be formatted on each output line." msgstr "" -#: library/pprint.rst:162 +#: library/pprint.rst:161 msgid "" "If *sort_dicts* is true (the default), dictionaries will be formatted with " "their keys sorted, otherwise they will display in insertion order." msgstr "" -#: library/pprint.rst:165 +#: library/pprint.rst:164 msgid "" "If *underscore_numbers* is true, integers will be formatted with the ``_`` " "character for a thousands separator, otherwise underscores are not displayed " "(the default)." msgstr "" -#: library/pprint.rst:169 +#: library/pprint.rst:168 msgid "Added the *compact* parameter." msgstr "" -#: library/pprint.rst:172 +#: library/pprint.rst:171 msgid "Added the *sort_dicts* parameter." msgstr "" -#: library/pprint.rst:175 +#: library/pprint.rst:174 msgid "Added the *underscore_numbers* parameter." msgstr "" -#: library/pprint.rst:178 +#: library/pprint.rst:177 msgid "No longer attempts to write to :data:`!sys.stdout` if it is ``None``." msgstr "" -#: library/pprint.rst:205 +#: library/pprint.rst:204 msgid ":class:`PrettyPrinter` instances have the following methods:" msgstr "" -#: library/pprint.rst:210 +#: library/pprint.rst:209 msgid "" "Return the formatted representation of *object*. This takes into account " "the options passed to the :class:`PrettyPrinter` constructor." msgstr "" -#: library/pprint.rst:216 +#: library/pprint.rst:215 msgid "" "Print the formatted representation of *object* on the configured stream, " "followed by a newline." msgstr "" -#: library/pprint.rst:219 +#: library/pprint.rst:218 msgid "" "The following methods provide the implementations for the corresponding " "functions of the same names. Using these methods on an instance is slightly " @@ -232,7 +231,7 @@ msgid "" "created." msgstr "" -#: library/pprint.rst:229 +#: library/pprint.rst:228 msgid "" "Determine if the formatted representation of the object is \"readable,\" or " "can be used to reconstruct the value using :func:`eval`. Note that this " @@ -241,18 +240,18 @@ msgid "" "returns ``False``." msgstr "" -#: library/pprint.rst:238 +#: library/pprint.rst:237 msgid "Determine if the object requires a recursive representation." msgstr "" -#: library/pprint.rst:240 +#: library/pprint.rst:239 msgid "" "This method is provided as a hook to allow subclasses to modify the way " "objects are converted to strings. The default implementation uses the " "internals of the :func:`saferepr` implementation." msgstr "" -#: library/pprint.rst:247 +#: library/pprint.rst:246 msgid "" "Returns three values: the formatted version of *object* as a string, a flag " "indicating whether the result is readable, and a flag indicating whether " @@ -270,45 +269,45 @@ msgid "" "of the current call." msgstr "" -#: library/pprint.rst:265 +#: library/pprint.rst:264 msgid "Example" msgstr "" -#: library/pprint.rst:267 +#: library/pprint.rst:266 msgid "" "To demonstrate several uses of the :func:`~pprint.pp` function and its " "parameters, let's fetch information about a project from `PyPI `_::" msgstr "" -#: library/pprint.rst:276 +#: library/pprint.rst:275 msgid "In its basic form, :func:`~pprint.pp` shows the whole object::" msgstr "" -#: library/pprint.rst:332 +#: library/pprint.rst:331 msgid "" "The result can be limited to a certain *depth* (ellipsis is used for deeper " "contents)::" msgstr "" -#: library/pprint.rst:378 +#: library/pprint.rst:377 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:227 +#: library/pprint.rst:226 msgid "built-in function" msgstr "" -#: library/pprint.rst:227 +#: library/pprint.rst:226 msgid "eval" msgstr "" -#: library/pprint.rst:128 +#: library/pprint.rst:127 msgid "..." msgstr "" -#: library/pprint.rst:128 +#: library/pprint.rst:127 msgid "placeholder" msgstr "" diff --git a/library/profile.po b/library/profile.po index ad0ee525a..0c2eea095 100644 --- a/library/profile.po +++ b/library/profile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -103,7 +103,7 @@ msgid "" "sorted by the ``cumtime`` values. The column headings include:" msgstr "" -#: library/profile.rst:89 +#: library/profile.rst:88 msgid "ncalls" msgstr "" @@ -111,7 +111,7 @@ msgstr "" msgid "for the number of calls." msgstr "" -#: library/profile.rst:93 +#: library/profile.rst:91 msgid "tottime" msgstr "" @@ -121,7 +121,7 @@ msgid "" "calls to sub-functions)" msgstr "" -#: library/profile.rst:103 +#: library/profile.rst:102 msgid "percall" msgstr "" @@ -129,7 +129,7 @@ msgstr "" msgid "is the quotient of ``tottime`` divided by ``ncalls``" msgstr "" -#: library/profile.rst:100 +#: library/profile.rst:98 msgid "cumtime" msgstr "" @@ -143,7 +143,7 @@ msgstr "" msgid "is the quotient of ``cumtime`` divided by primitive calls" msgstr "" -#: library/profile.rst:106 +#: library/profile.rst:105 msgid "filename:lineno(function)" msgstr "" @@ -905,7 +905,7 @@ msgid "" "``your_time_func``'s return value will be interpreted differently:" msgstr "" -#: library/profile.rst:681 +#: library/profile.rst:667 msgid ":class:`profile.Profile`" msgstr "" @@ -930,7 +930,7 @@ msgid "" "along with the appropriate calibration constant." msgstr "" -#: library/profile.rst:695 +#: library/profile.rst:683 msgid ":class:`cProfile.Profile`" msgstr "" diff --git a/library/pwd.po b/library/pwd.po index c1dd58de2..991081d1f 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -168,7 +168,7 @@ msgid "" "Return a list of all available password database entries, in arbitrary order." msgstr "" -#: library/pwd.rst:74 +#: library/pwd.rst:73 msgid "Module :mod:`grp`" msgstr "" diff --git a/library/py_compile.po b/library/py_compile.po index 9cc4a7188..613386b83 100644 --- a/library/py_compile.po +++ b/library/py_compile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -132,7 +132,7 @@ msgstr "" #: library/py_compile.rst:99 msgid "" -"A enumeration of possible methods the interpreter can use to determine " +"An enumeration of possible methods the interpreter can use to determine " "whether a bytecode file is up to date with a source file. The ``.pyc`` file " "indicates the desired invalidation mode in its header. See :ref:`pyc-" "invalidation` for more information on how Python invalidates ``.pyc`` files " diff --git a/library/queue.po b/library/queue.po index 8b9c80e9e..44d098a1b 100644 --- a/library/queue.po +++ b/library/queue.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -279,7 +279,7 @@ msgid "" "meth:`Queue.put_nowait`." msgstr "" -#: library/queue.rst:275 +#: library/queue.rst:273 msgid "Class :class:`multiprocessing.Queue`" msgstr "" diff --git a/library/re.po b/library/re.po index 1a68a3a57..d733b1f26 100644 --- a/library/re.po +++ b/library/re.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -75,9 +75,9 @@ msgstr "" #: library/re.rst:51 msgid "" -"The third-party `regex `_ module, which has " -"an API compatible with the standard library :mod:`re` module, but offers " -"additional functionality and a more thorough Unicode support." +"The third-party :pypi:`regex` module, which has an API compatible with the " +"standard library :mod:`re` module, but offers additional functionality and a " +"more thorough Unicode support." msgstr "" #: library/re.rst:59 @@ -155,7 +155,7 @@ msgid "" "including a newline." msgstr "" -#: library/re.rst:110 +#: library/re.rst:108 msgid "``^``" msgstr "" @@ -165,7 +165,7 @@ msgid "" "also matches immediately after each newline." msgstr "" -#: library/re.rst:121 +#: library/re.rst:114 msgid "``$``" msgstr "" @@ -181,7 +181,7 @@ msgid "" "string." msgstr "" -#: library/re.rst:128 +#: library/re.rst:125 msgid "``*``" msgstr "" @@ -192,7 +192,7 @@ msgid "" "followed by any number of 'b's." msgstr "" -#: library/re.rst:135 +#: library/re.rst:132 msgid "``+``" msgstr "" @@ -203,7 +203,7 @@ msgid "" "match just 'a'." msgstr "" -#: library/re.rst:141 +#: library/re.rst:139 msgid "``?``" msgstr "" @@ -213,7 +213,7 @@ msgid "" "``ab?`` will match either 'a' or 'ab'." msgstr "" -#: library/re.rst:155 +#: library/re.rst:148 msgid "``*?``, ``+?``, ``??``" msgstr "" @@ -228,7 +228,7 @@ msgid "" "only ``''``." msgstr "" -#: library/re.rst:179 +#: library/re.rst:162 msgid "``*+``, ``++``, ``?+``" msgstr "" @@ -249,7 +249,7 @@ msgid "" "``(?>x?)`` correspondingly." msgstr "" -#: library/re.rst:187 +#: library/re.rst:184 msgid "``{m}``" msgstr "" @@ -260,7 +260,7 @@ msgid "" "match exactly six ``'a'`` characters, but not five." msgstr "" -#: library/re.rst:196 +#: library/re.rst:189 msgid "``{m,n}``" msgstr "" @@ -276,7 +276,7 @@ msgid "" "described form." msgstr "" -#: library/re.rst:203 +#: library/re.rst:198 msgid "``{m,n}?``" msgstr "" @@ -289,7 +289,7 @@ msgid "" "while ``a{3,5}?`` will only match 3 characters." msgstr "" -#: library/re.rst:218 +#: library/re.rst:205 msgid "``{m,n}+``" msgstr "" @@ -306,7 +306,7 @@ msgid "" "``aa`` in the pattern. ``x{m,n}+`` is equivalent to ``(?>x{m,n})``." msgstr "" -#: library/re.rst:233 +#: library/re.rst:222 msgid "``\\``" msgstr "" @@ -328,7 +328,7 @@ msgid "" "recommended that you use raw strings for all but the simplest expressions." msgstr "" -#: library/re.rst:293 +#: library/re.rst:238 msgid "``[]``" msgstr "" @@ -400,7 +400,7 @@ msgid "" "will change semantically in the future." msgstr "" -#: library/re.rst:306 +#: library/re.rst:297 msgid "``|``" msgstr "" @@ -417,7 +417,7 @@ msgid "" "use ``\\|``, or enclose it inside a character class, as in ``[|]``." msgstr "" -#: library/re.rst:316 +#: library/re.rst:311 msgid "``(...)``" msgstr "" @@ -431,7 +431,7 @@ msgid "" "character class: ``[(]``, ``[)]``." msgstr "" -#: library/re.rst:325 +#: library/re.rst:320 msgid "``(?...)``" msgstr "" @@ -444,7 +444,7 @@ msgid "" "rule. Following are the currently supported extensions." msgstr "" -#: library/re.rst:348 +#: library/re.rst:327 msgid "``(?aiLmsux)``" msgstr "" @@ -495,7 +495,7 @@ msgstr "" msgid "This construction can only be used at the start of the expression." msgstr "" -#: library/re.rst:356 +#: library/re.rst:352 msgid "``(?:...)``" msgstr "" @@ -507,7 +507,7 @@ msgid "" "pattern." msgstr "" -#: library/re.rst:388 +#: library/re.rst:358 msgid "``(?aiLmsux-imsx:...)``" msgstr "" @@ -540,7 +540,7 @@ msgstr "" msgid "The letters ``'a'``, ``'L'`` and ``'u'`` also can be used in a group." msgstr "" -#: library/re.rst:403 +#: library/re.rst:390 msgid "``(?>...)``" msgstr "" @@ -558,7 +558,7 @@ msgid "" "thus fail to match." msgstr "" -#: library/re.rst:435 +#: library/re.rst:407 msgid "``(?P...)``" msgstr "" @@ -629,7 +629,7 @@ msgid "" "range (``b'\\x00'``-``b'\\x7f'``)." msgstr "" -#: library/re.rst:441 +#: library/re.rst:439 msgid "``(?P=name)``" msgstr "" @@ -639,7 +639,7 @@ msgid "" "the earlier group named *name*." msgstr "" -#: library/re.rst:446 +#: library/re.rst:445 msgid "``(?#...)``" msgstr "" @@ -647,7 +647,7 @@ msgstr "" msgid "A comment; the contents of the parentheses are simply ignored." msgstr "" -#: library/re.rst:453 +#: library/re.rst:450 msgid "``(?=...)``" msgstr "" @@ -658,7 +658,7 @@ msgid "" "=Asimov)`` will match ``'Isaac '`` only if it's followed by ``'Asimov'``." msgstr "" -#: library/re.rst:460 +#: library/re.rst:457 msgid "``(?!...)``" msgstr "" @@ -669,7 +669,7 @@ msgid "" "if it's *not* followed by ``'Asimov'``." msgstr "" -#: library/re.rst:487 +#: library/re.rst:464 msgid "``(?<=...)``" msgstr "" @@ -695,7 +695,7 @@ msgstr "" msgid "Added support for group references of fixed length." msgstr "" -#: library/re.rst:496 +#: library/re.rst:491 msgid "``(?\n" @@ -243,7 +243,7 @@ msgid "" "deprecated." msgstr "" -#: library/runpy.rst:179 +#: library/runpy.rst:178 msgid ":pep:`338` -- Executing modules as scripts" msgstr "" @@ -251,11 +251,11 @@ msgstr "" msgid "PEP written and implemented by Nick Coghlan." msgstr "" -#: library/runpy.rst:182 +#: library/runpy.rst:181 msgid ":pep:`366` -- Main module explicit relative imports" msgstr "" -#: library/runpy.rst:185 +#: library/runpy.rst:184 msgid ":pep:`451` -- A ModuleSpec Type for the Import System" msgstr "" diff --git a/library/secrets.po b/library/secrets.po index 530d81e0d..2eec1700c 100644 --- a/library/secrets.po +++ b/library/secrets.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -167,10 +167,9 @@ msgstr "" #: library/secrets.rst:157 msgid "" -"Applications should not `store passwords in a recoverable format `_, whether plain text or " -"encrypted. They should be salted and hashed using a cryptographically " -"strong one-way (irreversible) hash function." +"Applications should not :cwe:`store passwords in a recoverable format " +"<257>`, whether plain text or encrypted. They should be salted and hashed " +"using a cryptographically strong one-way (irreversible) hash function." msgstr "" #: library/secrets.rst:163 diff --git a/library/shelve.po b/library/shelve.po index 752475641..9bfba8e14 100644 --- a/library/shelve.po +++ b/library/shelve.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -230,7 +230,7 @@ msgid "" "object)::" msgstr "" -#: library/shelve.rst:219 +#: library/shelve.rst:218 msgid "Module :mod:`dbm`" msgstr "" diff --git a/library/smtplib.po b/library/smtplib.po index b1dec6638..feb705f48 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -231,7 +231,7 @@ msgid "" "username/password combination provided." msgstr "" -#: library/smtplib.rst:201 +#: library/smtplib.rst:199 msgid ":rfc:`821` - Simple Mail Transfer Protocol" msgstr "" @@ -241,7 +241,7 @@ msgid "" "procedure, and protocol details for SMTP." msgstr "" -#: library/smtplib.rst:205 +#: library/smtplib.rst:203 msgid ":rfc:`1869` - SMTP Service Extensions" msgstr "" @@ -355,7 +355,7 @@ msgid "" "first." msgstr "" -#: library/smtplib.rst:319 library/smtplib.rst:476 +#: library/smtplib.rst:318 library/smtplib.rst:475 msgid ":exc:`SMTPHeloError`" msgstr "" @@ -390,7 +390,7 @@ msgid "" "successful, or may raise the following exceptions:" msgstr "" -#: library/smtplib.rst:322 +#: library/smtplib.rst:321 msgid ":exc:`SMTPAuthenticationError`" msgstr "" @@ -398,7 +398,7 @@ msgstr "" msgid "The server didn't accept the username/password combination." msgstr "" -#: library/smtplib.rst:410 library/smtplib.rst:487 +#: library/smtplib.rst:409 library/smtplib.rst:485 msgid ":exc:`SMTPNotSupportedError`" msgstr "" @@ -406,7 +406,7 @@ msgstr "" msgid "The ``AUTH`` command is not supported by the server." msgstr "" -#: library/smtplib.rst:328 +#: library/smtplib.rst:327 msgid ":exc:`SMTPException`" msgstr "" @@ -522,7 +522,7 @@ msgstr "" msgid "The server does not support the STARTTLS extension." msgstr "" -#: library/smtplib.rst:413 +#: library/smtplib.rst:412 msgid ":exc:`RuntimeError`" msgstr "" @@ -599,7 +599,7 @@ msgstr "" msgid "This method may raise the following exceptions:" msgstr "" -#: library/smtplib.rst:473 +#: library/smtplib.rst:469 msgid ":exc:`SMTPRecipientsRefused`" msgstr "" @@ -611,7 +611,7 @@ msgid "" "accepted)." msgstr "" -#: library/smtplib.rst:479 +#: library/smtplib.rst:478 msgid ":exc:`SMTPSenderRefused`" msgstr "" @@ -619,7 +619,7 @@ msgstr "" msgid "The server didn't accept the *from_addr*." msgstr "" -#: library/smtplib.rst:483 +#: library/smtplib.rst:481 msgid ":exc:`SMTPDataError`" msgstr "" diff --git a/library/socket.po b/library/socket.po index ffcf9c008..5f159fe07 100644 --- a/library/socket.po +++ b/library/socket.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -59,7 +59,7 @@ msgid "" "operations is automatic, and buffer length is implicit on send operations." msgstr "" -#: library/socket.rst:36 +#: library/socket.rst:35 msgid "Module :mod:`socketserver`" msgstr "" diff --git a/library/spwd.po b/library/spwd.po index 7a27bcc0d..b7163eb04 100644 --- a/library/spwd.po +++ b/library/spwd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-01 00:18+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -202,7 +202,7 @@ msgid "" "arbitrary order." msgstr "" -#: library/spwd.rst:78 +#: library/spwd.rst:77 msgid "Module :mod:`grp`" msgstr "" diff --git a/library/sqlite3.po b/library/sqlite3.po index d3e97bc49..702eb800a 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -24,7 +24,7 @@ msgstr "" msgid "**Source code:** :source:`Lib/sqlite3/`" msgstr "" -#: library/sqlite3.rst:23 +#: library/sqlite3.rst:25 msgid "" "SQLite is a C library that provides a lightweight disk-based database that " "doesn't require a separate server process and allows accessing the database " @@ -34,32 +34,32 @@ msgid "" "PostgreSQL or Oracle." msgstr "" -#: library/sqlite3.rst:30 +#: library/sqlite3.rst:32 msgid "" "The :mod:`!sqlite3` module was written by Gerhard Häring. It provides an " "SQL interface compliant with the DB-API 2.0 specification described by :pep:" "`249`, and requires SQLite 3.7.15 or newer." msgstr "" -#: library/sqlite3.rst:34 +#: library/sqlite3.rst:36 msgid "This document includes four main sections:" msgstr "" -#: library/sqlite3.rst:36 +#: library/sqlite3.rst:38 msgid ":ref:`sqlite3-tutorial` teaches how to use the :mod:`!sqlite3` module." msgstr "" -#: library/sqlite3.rst:37 +#: library/sqlite3.rst:39 msgid "" ":ref:`sqlite3-reference` describes the classes and functions this module " "defines." msgstr "" -#: library/sqlite3.rst:39 +#: library/sqlite3.rst:41 msgid ":ref:`sqlite3-howtos` details how to handle specific tasks." msgstr "" -#: library/sqlite3.rst:40 +#: library/sqlite3.rst:42 msgid "" ":ref:`sqlite3-explanation` provides in-depth background on transaction " "control." @@ -69,40 +69,40 @@ msgstr "" msgid "https://www.sqlite.org" msgstr "" -#: library/sqlite3.rst:46 +#: library/sqlite3.rst:48 msgid "" "The SQLite web page; the documentation describes the syntax and the " "available data types for the supported SQL dialect." msgstr "" -#: library/sqlite3.rst:50 +#: library/sqlite3.rst:51 msgid "https://www.w3schools.com/sql/" msgstr "" -#: library/sqlite3.rst:50 +#: library/sqlite3.rst:52 msgid "Tutorial, reference and examples for learning SQL syntax." msgstr "" -#: library/sqlite3.rst:52 +#: library/sqlite3.rst:54 msgid ":pep:`249` - Database API Specification 2.0" msgstr "" -#: library/sqlite3.rst:53 +#: library/sqlite3.rst:55 msgid "PEP written by Marc-André Lemburg." msgstr "" -#: library/sqlite3.rst:66 +#: library/sqlite3.rst:68 msgid "Tutorial" msgstr "" -#: library/sqlite3.rst:68 +#: library/sqlite3.rst:70 msgid "" "In this tutorial, you will create a database of Monty Python movies using " "basic :mod:`!sqlite3` functionality. It assumes a fundamental understanding " "of database concepts, including `cursors`_ and `transactions`_." msgstr "" -#: library/sqlite3.rst:73 +#: library/sqlite3.rst:75 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 " @@ -110,20 +110,20 @@ msgid "" "working directory, implicitly creating it if it does not exist:" msgstr "" -#: library/sqlite3.rst:84 +#: library/sqlite3.rst:86 msgid "" "The returned :class:`Connection` object ``con`` represents the connection to " "the on-disk database." msgstr "" -#: library/sqlite3.rst:87 +#: library/sqlite3.rst:89 msgid "" "In order to execute SQL statements and fetch results from SQL queries, we " "will need to use a database cursor. Call :meth:`con.cursor() ` to create the :class:`Cursor`:" msgstr "" -#: library/sqlite3.rst:95 +#: library/sqlite3.rst:97 msgid "" "Now that we've got a database connection and a cursor, we can create a " "database table ``movie`` with columns for title, release year, and review " @@ -133,7 +133,7 @@ msgid "" "`cur.execute(...) `:" msgstr "" -#: library/sqlite3.rst:111 +#: library/sqlite3.rst:113 msgid "" "We can verify that the new table has been created by querying the " "``sqlite_master`` table built-in to SQLite, which should now contain an " @@ -143,21 +143,21 @@ msgid "" "` to fetch the resulting row:" msgstr "" -#: library/sqlite3.rst:125 +#: library/sqlite3.rst:127 msgid "" "We can see that the table has been created, as the query returns a :class:" "`tuple` containing the table's name. If we query ``sqlite_master`` for a non-" "existent table ``spam``, :meth:`!res.fetchone()` will return ``None``:" msgstr "" -#: library/sqlite3.rst:136 +#: library/sqlite3.rst:138 msgid "" "Now, add two rows of data supplied as SQL literals by executing an " "``INSERT`` statement, once again by calling :meth:`cur.execute(...) `:" msgstr "" -#: library/sqlite3.rst:148 +#: library/sqlite3.rst:150 msgid "" "The ``INSERT`` statement implicitly opens a transaction, which needs to be " "committed before changes are saved in the database (see :ref:`sqlite3-" @@ -165,7 +165,7 @@ msgid "" "commit>` on the connection object to commit the transaction:" msgstr "" -#: library/sqlite3.rst:158 +#: library/sqlite3.rst:160 msgid "" "We can verify that the data was inserted correctly by executing a ``SELECT`` " "query. Use the now-familiar :meth:`cur.execute(...) ` to " @@ -173,19 +173,19 @@ msgid "" "fetchall>` to return all resulting rows:" msgstr "" -#: library/sqlite3.rst:170 +#: library/sqlite3.rst:172 msgid "" "The result is a :class:`list` of two :class:`!tuple`\\s, one per row, each " "containing that row's ``score`` value." msgstr "" -#: library/sqlite3.rst:173 +#: library/sqlite3.rst:175 msgid "" "Now, insert three more rows by calling :meth:`cur.executemany(...) `:" msgstr "" -#: library/sqlite3.rst:186 +#: library/sqlite3.rst:188 msgid "" "Notice that ``?`` placeholders are used to bind ``data`` to the query. " "Always use placeholders instead of :ref:`string formatting ` " @@ -193,69 +193,69 @@ msgid "" "(see :ref:`sqlite3-placeholders` for more details)." msgstr "" -#: library/sqlite3.rst:192 +#: library/sqlite3.rst:194 msgid "" "We can verify that the new rows were inserted by executing a ``SELECT`` " "query, this time iterating over the results of the query:" msgstr "" -#: library/sqlite3.rst:206 +#: library/sqlite3.rst:208 msgid "" "Each row is a two-item :class:`tuple` of ``(year, title)``, matching the " "columns selected in the query." msgstr "" -#: library/sqlite3.rst:209 +#: library/sqlite3.rst:211 msgid "" "Finally, verify that the database has been written to disk by calling :meth:" "`con.close() ` to close the existing connection, opening a " "new one, creating a new cursor, then querying the database:" msgstr "" -#: library/sqlite3.rst:224 +#: library/sqlite3.rst:227 msgid "" "You've now created an SQLite database using the :mod:`!sqlite3` module, " "inserted data and retrieved values from it in multiple ways." msgstr "" -#: library/sqlite3.rst:236 +#: library/sqlite3.rst:239 msgid ":ref:`sqlite3-howtos` for further reading:" msgstr "" -#: library/sqlite3.rst:238 +#: library/sqlite3.rst:241 msgid ":ref:`sqlite3-placeholders`" msgstr "" -#: library/sqlite3.rst:239 +#: library/sqlite3.rst:242 msgid ":ref:`sqlite3-adapters`" msgstr "" -#: library/sqlite3.rst:240 +#: library/sqlite3.rst:243 msgid ":ref:`sqlite3-converters`" msgstr "" -#: library/sqlite3.rst:625 +#: library/sqlite3.rst:610 msgid ":ref:`sqlite3-connection-context-manager`" msgstr "" -#: library/sqlite3.rst:242 +#: library/sqlite3.rst:245 msgid ":ref:`sqlite3-howto-row-factory`" msgstr "" -#: library/sqlite3.rst:244 +#: library/sqlite3.rst:247 msgid "" ":ref:`sqlite3-explanation` for in-depth background on transaction control." msgstr "" -#: library/sqlite3.rst:249 +#: library/sqlite3.rst:252 msgid "Reference" msgstr "" -#: library/sqlite3.rst:257 +#: library/sqlite3.rst:260 msgid "Module functions" msgstr "" -#: library/sqlite3.rst:265 +#: library/sqlite3.rst:268 msgid "Open a connection to an SQLite database." msgstr "" @@ -263,14 +263,14 @@ msgstr "" msgid "Parameters" msgstr "" -#: library/sqlite3.rst:267 +#: library/sqlite3.rst:270 msgid "" "The path to the database file to be opened. You can pass ``\":memory:\"`` to " "create an `SQLite database existing only in memory `_, and open a connection to it." msgstr "" -#: library/sqlite3.rst:274 +#: library/sqlite3.rst:277 msgid "" "How many seconds the connection should wait before raising an :exc:" "`OperationalError` when a table is locked. If another connection opens a " @@ -278,7 +278,7 @@ msgid "" "transaction is committed. Default five seconds." msgstr "" -#: library/sqlite3.rst:281 +#: library/sqlite3.rst:284 msgid "" "Control whether and how data types not :ref:`natively supported by SQLite " "` are looked up to be converted to Python types, using the " @@ -291,7 +291,7 @@ msgid "" "disabled." msgstr "" -#: library/sqlite3.rst:295 +#: library/sqlite3.rst:298 msgid "" "Control legacy transaction handling behaviour. See :attr:`Connection." "isolation_level` and :ref:`sqlite3-transaction-control-isolation-level` for " @@ -301,7 +301,7 @@ msgid "" "`~sqlite3.LEGACY_TRANSACTION_CONTROL` (the default)." msgstr "" -#: library/sqlite3.rst:305 +#: library/sqlite3.rst:308 msgid "" "If ``True`` (default), :exc:`ProgrammingError` will be raised if the " "database connection is used by a thread other than the one that created it. " @@ -310,19 +310,19 @@ msgid "" "See :attr:`threadsafety` for more information." msgstr "" -#: library/sqlite3.rst:314 +#: library/sqlite3.rst:317 msgid "" "A custom subclass of :class:`Connection` to create the connection with, if " "not the default :class:`Connection` class." msgstr "" -#: library/sqlite3.rst:318 +#: library/sqlite3.rst:321 msgid "" "The number of statements that :mod:`!sqlite3` should internally cache for " "this connection, to avoid parsing overhead. By default, 128 statements." msgstr "" -#: library/sqlite3.rst:323 +#: library/sqlite3.rst:326 msgid "" "If set to ``True``, *database* is interpreted as a :abbr:`URI (Uniform " "Resource Identifier)` with a file path and an optional query string. The " @@ -331,7 +331,7 @@ msgid "" "various :ref:`sqlite3-uri-tricks`." msgstr "" -#: library/sqlite3.rst:332 +#: library/sqlite3.rst:335 msgid "" "Control :pep:`249` transaction handling behaviour. See :attr:`Connection." "autocommit` and :ref:`sqlite3-transaction-control-autocommit` for more " @@ -344,36 +344,36 @@ msgstr "" msgid "Return type" msgstr "" -#: library/sqlite3.rst:343 +#: library/sqlite3.rst:346 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.connect`` with argument " "``database``." msgstr "" -#: library/sqlite3.rst:344 +#: library/sqlite3.rst:347 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.connect/handle`` with " "argument ``connection_handle``." msgstr "" -#: library/sqlite3.rst:346 +#: library/sqlite3.rst:349 msgid "Added the *uri* parameter." msgstr "" -#: library/sqlite3.rst:349 +#: library/sqlite3.rst:352 msgid "" "*database* can now also be a :term:`path-like object`, not only a string." msgstr "" -#: library/sqlite3.rst:352 +#: library/sqlite3.rst:355 msgid "Added the ``sqlite3.connect/handle`` auditing event." msgstr "" -#: library/sqlite3.rst:355 +#: library/sqlite3.rst:358 msgid "Added the *autocommit* parameter." msgstr "" -#: library/sqlite3.rst:360 +#: library/sqlite3.rst:363 msgid "" "Return ``True`` if the string *statement* appears to contain one or more " "complete SQL statements. No syntactic verification or parsing of any kind is " @@ -381,24 +381,24 @@ msgid "" "and the statement is terminated by a semicolon." msgstr "" -#: library/sqlite3.rst:366 +#: library/sqlite3.rst:369 msgid "For example:" msgstr "" -#: library/sqlite3.rst:375 +#: library/sqlite3.rst:378 msgid "" "This function may be useful during command-line input to determine if the " "entered text seems to form a complete SQL statement, or if additional input " "is needed before calling :meth:`~Cursor.execute`." msgstr "" -#: library/sqlite3.rst:379 +#: library/sqlite3.rst:382 msgid "" "See :func:`!runsource` in :source:`Lib/sqlite3/__main__.py` for real-world " "use." msgstr "" -#: library/sqlite3.rst:384 +#: library/sqlite3.rst:387 msgid "" "Enable or disable callback tracebacks. By default you will not get any " "tracebacks in user-defined functions, aggregates, converters, authorizer " @@ -407,13 +407,14 @@ msgid "" "on :data:`sys.stderr`. Use ``False`` to disable the feature again." msgstr "" -#: library/sqlite3.rst:391 +#: library/sqlite3.rst:396 msgid "" -"Register an :func:`unraisable hook handler ` for an " -"improved debug experience:" +"Errors in user-defined function callbacks are logged as unraisable " +"exceptions. Use an :func:`unraisable hook handler ` for " +"introspection of the failed callback." msgstr "" -#: library/sqlite3.rst:417 +#: library/sqlite3.rst:402 msgid "" "Register an *adapter* :term:`callable` to adapt the Python type *type* into " "an SQLite type. The adapter is called with a Python object of type *type* as " @@ -421,7 +422,7 @@ msgid "" "natively understands `." msgstr "" -#: library/sqlite3.rst:425 +#: library/sqlite3.rst:410 msgid "" "Register the *converter* :term:`callable` to convert SQLite objects of type " "*typename* into a Python object of a specific type. The converter is invoked " @@ -431,24 +432,24 @@ msgid "" "type detection works." msgstr "" -#: library/sqlite3.rst:433 +#: library/sqlite3.rst:418 msgid "" "Note: *typename* and the name of the type in your query are matched case-" "insensitively." msgstr "" -#: library/sqlite3.rst:440 +#: library/sqlite3.rst:425 msgid "Module constants" msgstr "" -#: library/sqlite3.rst:444 +#: library/sqlite3.rst:429 msgid "" "Set :attr:`~Connection.autocommit` to this constant to select old style (pre-" "Python 3.12) transaction control behaviour. See :ref:`sqlite3-transaction-" "control-isolation-level` for more information." msgstr "" -#: library/sqlite3.rst:450 +#: library/sqlite3.rst:435 msgid "" "Pass this flag value to the *detect_types* parameter of :func:`connect` to " "look up a converter function by using the type name, parsed from the query " @@ -456,13 +457,13 @@ msgid "" "in square brackets (``[]``)." msgstr "" -#: library/sqlite3.rst:460 +#: library/sqlite3.rst:445 msgid "" "This flag may be combined with :const:`PARSE_DECLTYPES` using the ``|`` " "(bitwise or) operator." msgstr "" -#: library/sqlite3.rst:465 +#: library/sqlite3.rst:450 msgid "" "Pass this flag value to the *detect_types* parameter of :func:`connect` to " "look up a converter function using the declared types for each column. The " @@ -471,61 +472,61 @@ msgid "" "the converter dictionary key. For example:" msgstr "" -#: library/sqlite3.rst:481 +#: library/sqlite3.rst:466 msgid "" "This flag may be combined with :const:`PARSE_COLNAMES` using the ``|`` " "(bitwise or) operator." msgstr "" -#: library/sqlite3.rst:488 +#: library/sqlite3.rst:473 msgid "" "Flags that should be returned by the *authorizer_callback* :term:`callable` " "passed to :meth:`Connection.set_authorizer`, to indicate whether:" msgstr "" -#: library/sqlite3.rst:491 +#: library/sqlite3.rst:476 msgid "Access is allowed (:const:`!SQLITE_OK`)," msgstr "" -#: library/sqlite3.rst:492 +#: library/sqlite3.rst:477 msgid "" "The SQL statement should be aborted with an error (:const:`!SQLITE_DENY`)" msgstr "" -#: library/sqlite3.rst:493 +#: library/sqlite3.rst:478 msgid "" "The column should be treated as a ``NULL`` value (:const:`!SQLITE_IGNORE`)" msgstr "" -#: library/sqlite3.rst:497 +#: library/sqlite3.rst:482 msgid "" "String constant stating the supported DB-API level. Required by the DB-API. " "Hard-coded to ``\"2.0\"``." msgstr "" -#: library/sqlite3.rst:502 +#: library/sqlite3.rst:487 msgid "" "String constant stating the type of parameter marker formatting expected by " "the :mod:`!sqlite3` module. Required by the DB-API. Hard-coded to " "``\"qmark\"``." msgstr "" -#: library/sqlite3.rst:508 +#: library/sqlite3.rst:493 msgid "The ``named`` DB-API parameter style is also supported." msgstr "" -#: library/sqlite3.rst:512 +#: library/sqlite3.rst:497 msgid "" "Version number of the runtime SQLite library as a :class:`string `." msgstr "" -#: library/sqlite3.rst:516 +#: library/sqlite3.rst:501 msgid "" "Version number of the runtime SQLite library as a :class:`tuple` of :class:" "`integers `." msgstr "" -#: library/sqlite3.rst:521 +#: library/sqlite3.rst:506 msgid "" "Integer constant required by the DB-API 2.0, stating the level of thread " "safety the :mod:`!sqlite3` module supports. This attribute is set based on " @@ -533,181 +534,181 @@ msgid "" "underlying SQLite library is compiled with. The SQLite threading modes are:" msgstr "" -#: library/sqlite3.rst:526 +#: library/sqlite3.rst:511 msgid "" "**Single-thread**: In this mode, all mutexes are disabled and SQLite is " "unsafe to use in more than a single thread at once." msgstr "" -#: library/sqlite3.rst:528 +#: library/sqlite3.rst:513 msgid "" "**Multi-thread**: In this mode, SQLite can be safely used by multiple " "threads provided that no single database connection is used simultaneously " "in two or more threads." msgstr "" -#: library/sqlite3.rst:531 +#: library/sqlite3.rst:516 msgid "" "**Serialized**: In serialized mode, SQLite can be safely used by multiple " "threads with no restriction." msgstr "" -#: library/sqlite3.rst:534 +#: library/sqlite3.rst:519 msgid "" "The mappings from SQLite threading modes to DB-API 2.0 threadsafety levels " "are as follows:" msgstr "" -#: library/sqlite3.rst:538 +#: library/sqlite3.rst:523 msgid "SQLite threading mode" msgstr "" -#: library/sqlite3.rst:538 +#: library/sqlite3.rst:523 msgid "`threadsafety`_" msgstr "" -#: library/sqlite3.rst:538 +#: library/sqlite3.rst:523 msgid "`SQLITE_THREADSAFE`_" msgstr "" -#: library/sqlite3.rst:538 +#: library/sqlite3.rst:523 msgid "DB-API 2.0 meaning" msgstr "" -#: library/sqlite3.rst:541 +#: library/sqlite3.rst:526 msgid "single-thread" msgstr "" -#: library/sqlite3.rst:541 +#: library/sqlite3.rst:526 msgid "0" msgstr "" -#: library/sqlite3.rst:541 +#: library/sqlite3.rst:526 msgid "Threads may not share the module" msgstr "" -#: library/sqlite3.rst:544 +#: library/sqlite3.rst:529 msgid "multi-thread" msgstr "" -#: library/sqlite3.rst:547 +#: library/sqlite3.rst:532 msgid "1" msgstr "" -#: library/sqlite3.rst:544 +#: library/sqlite3.rst:529 msgid "2" msgstr "" -#: library/sqlite3.rst:544 +#: library/sqlite3.rst:529 msgid "Threads may share the module, but not connections" msgstr "" -#: library/sqlite3.rst:547 +#: library/sqlite3.rst:532 msgid "serialized" msgstr "" -#: library/sqlite3.rst:547 +#: library/sqlite3.rst:532 msgid "3" msgstr "" -#: library/sqlite3.rst:547 +#: library/sqlite3.rst:532 msgid "Threads may share the module, connections and cursors" msgstr "" -#: library/sqlite3.rst:554 +#: library/sqlite3.rst:539 msgid "Set *threadsafety* dynamically instead of hard-coding it to ``1``." msgstr "" -#: library/sqlite3.rst:559 +#: library/sqlite3.rst:544 msgid "" "Version number of this module as a :class:`string `. This is not the " "version of the SQLite library." msgstr "" -#: library/sqlite3.rst:575 +#: library/sqlite3.rst:560 msgid "" "This constant used to reflect the version number of the ``pysqlite`` " "package, a third-party library which used to upstream changes to :mod:`!" "sqlite3`. Today, it carries no meaning or practical value." msgstr "" -#: library/sqlite3.rst:569 +#: library/sqlite3.rst:554 msgid "" "Version number of this module as a :class:`tuple` of :class:`integers " "`. This is not the version of the SQLite library." msgstr "" -#: library/sqlite3.rst:596 +#: library/sqlite3.rst:581 msgid "" "These constants are used for the :meth:`Connection.setconfig` and :meth:" "`~Connection.getconfig` methods." msgstr "" -#: library/sqlite3.rst:599 +#: library/sqlite3.rst:584 msgid "" "The availability of these constants varies depending on the version of " "SQLite Python was compiled with." msgstr "" -#: library/sqlite3.rst:606 +#: library/sqlite3.rst:591 msgid "https://www.sqlite.org/c3ref/c_dbconfig_defensive.html" msgstr "" -#: library/sqlite3.rst:607 +#: library/sqlite3.rst:592 msgid "SQLite docs: Database Connection Configuration Options" msgstr "" -#: library/sqlite3.rst:613 +#: library/sqlite3.rst:598 msgid "Connection objects" msgstr "" -#: library/sqlite3.rst:617 +#: library/sqlite3.rst:602 msgid "" "Each open SQLite database is represented by a ``Connection`` object, which " "is created using :func:`sqlite3.connect`. Their main purpose is creating :" "class:`Cursor` objects, and :ref:`sqlite3-controlling-transactions`." msgstr "" -#: library/sqlite3.rst:624 +#: library/sqlite3.rst:609 msgid ":ref:`sqlite3-connection-shortcuts`" msgstr "" -#: library/sqlite3.rst:627 +#: library/sqlite3.rst:612 msgid "An SQLite database connection has the following attributes and methods:" msgstr "" -#: library/sqlite3.rst:631 +#: library/sqlite3.rst:616 msgid "" "Create and return a :class:`Cursor` object. The cursor method accepts a " "single optional parameter *factory*. If supplied, this must be a :term:" "`callable` returning an instance of :class:`Cursor` or its subclasses." msgstr "" -#: library/sqlite3.rst:638 +#: library/sqlite3.rst:623 msgid "" "Open a :class:`Blob` handle to an existing :abbr:`BLOB (Binary Large " "OBject)`." msgstr "" -#: library/sqlite3.rst:641 +#: library/sqlite3.rst:626 msgid "The name of the table where the blob is located." msgstr "" -#: library/sqlite3.rst:644 +#: library/sqlite3.rst:629 msgid "The name of the column where the blob is located." msgstr "" -#: library/sqlite3.rst:647 +#: library/sqlite3.rst:632 msgid "The name of the row where the blob is located." msgstr "" -#: library/sqlite3.rst:650 +#: library/sqlite3.rst:635 msgid "" "Set to ``True`` if the blob should be opened without write permissions. " "Defaults to ``False``." msgstr "" -#: library/sqlite3.rst:655 +#: library/sqlite3.rst:640 msgid "" "The name of the database where the blob is located. Defaults to ``\"main\"``." msgstr "" @@ -716,17 +717,17 @@ msgstr "" msgid "Raises" msgstr "" -#: library/sqlite3.rst:659 +#: library/sqlite3.rst:644 msgid "When trying to open a blob in a ``WITHOUT ROWID`` table." msgstr "" -#: library/sqlite3.rst:666 +#: library/sqlite3.rst:651 msgid "" "The blob size cannot be changed using the :class:`Blob` class. Use the SQL " "function ``zeroblob`` to create a blob with a fixed size." msgstr "" -#: library/sqlite3.rst:673 +#: library/sqlite3.rst:658 msgid "" "Commit any pending transaction to the database. If :attr:`autocommit` is " "``True``, or there is no open transaction, this method does nothing. If :" @@ -734,7 +735,7 @@ msgid "" "pending transaction was committed by this method." msgstr "" -#: library/sqlite3.rst:681 +#: library/sqlite3.rst:666 msgid "" "Roll back to the start of any pending transaction. If :attr:`autocommit` is " "``True``, or there is no open transaction, this method does nothing. If :" @@ -742,7 +743,7 @@ msgid "" "pending transaction was rolled back by this method." msgstr "" -#: library/sqlite3.rst:689 +#: library/sqlite3.rst:674 msgid "" "Close the database connection. If :attr:`autocommit` is ``False``, any " "pending transaction is implicitly rolled back. If :attr:`!autocommit` is " @@ -751,79 +752,79 @@ msgid "" "losing pending changes." msgstr "" -#: library/sqlite3.rst:699 +#: library/sqlite3.rst:684 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.execute` on it " "with the given *sql* and *parameters*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:705 +#: library/sqlite3.rst:690 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.executemany` on " "it with the given *sql* and *parameters*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:711 +#: library/sqlite3.rst:696 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.executescript` " "on it with the given *sql_script*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:717 +#: library/sqlite3.rst:702 msgid "Create or remove a user-defined SQL function." msgstr "" -#: library/sqlite3.rst:719 +#: library/sqlite3.rst:704 msgid "The name of the SQL function." msgstr "" -#: library/sqlite3.rst:722 +#: library/sqlite3.rst:707 msgid "" "The number of arguments the SQL function can accept. If ``-1``, it may take " "any number of arguments." msgstr "" -#: library/sqlite3.rst:726 +#: library/sqlite3.rst:711 msgid "" "A :term:`callable` that is called when the SQL function is invoked. The " "callable must return :ref:`a type natively supported by SQLite `. Set to ``None`` to remove an existing SQL function." msgstr "" -#: library/sqlite3.rst:733 +#: library/sqlite3.rst:718 msgid "" "If ``True``, the created SQL function is marked as `deterministic `_, which allows SQLite to perform additional " "optimizations." msgstr "" -#: library/sqlite3.rst:738 +#: library/sqlite3.rst:723 msgid "If *deterministic* is used with SQLite versions older than 3.8.3." msgstr "" -#: library/sqlite3.rst:741 +#: library/sqlite3.rst:726 msgid "Added the *deterministic* parameter." msgstr "" -#: library/sqlite3.rst:782 library/sqlite3.rst:1115 library/sqlite3.rst:1568 +#: library/sqlite3.rst:768 library/sqlite3.rst:1091 library/sqlite3.rst:1554 msgid "Example:" msgstr "" -#: library/sqlite3.rst:760 +#: library/sqlite3.rst:746 msgid "Create or remove a user-defined SQL aggregate function." msgstr "" -#: library/sqlite3.rst:762 +#: library/sqlite3.rst:748 msgid "The name of the SQL aggregate function." msgstr "" -#: library/sqlite3.rst:765 +#: library/sqlite3.rst:751 msgid "" "The number of arguments the SQL aggregate function can accept. If ``-1``, it " "may take any number of arguments." msgstr "" -#: library/sqlite3.rst:769 +#: library/sqlite3.rst:755 msgid "" "A class must implement the following methods: * ``step()``: Add a row to " "the aggregate. * ``finalize()``: Return the final result of the aggregate " @@ -832,45 +833,45 @@ msgid "" "*n_arg*. Set to ``None`` to remove an existing SQL aggregate function." msgstr "" -#: library/sqlite3.rst:770 +#: library/sqlite3.rst:756 msgid "A class must implement the following methods:" msgstr "" -#: library/sqlite3.rst:772 +#: library/sqlite3.rst:758 msgid "``step()``: Add a row to the aggregate." msgstr "" -#: library/sqlite3.rst:829 +#: library/sqlite3.rst:815 msgid "" "``finalize()``: Return the final result of the aggregate as :ref:`a type " "natively supported by SQLite `." msgstr "" -#: library/sqlite3.rst:776 +#: library/sqlite3.rst:762 msgid "" "The number of arguments that the ``step()`` method must accept is controlled " "by *n_arg*." msgstr "" -#: library/sqlite3.rst:779 +#: library/sqlite3.rst:765 msgid "Set to ``None`` to remove an existing SQL aggregate function." msgstr "" -#: library/sqlite3.rst:814 +#: library/sqlite3.rst:800 msgid "Create or remove a user-defined aggregate window function." msgstr "" -#: library/sqlite3.rst:816 +#: library/sqlite3.rst:802 msgid "The name of the SQL aggregate window function to create or remove." msgstr "" -#: library/sqlite3.rst:819 +#: library/sqlite3.rst:805 msgid "" "The number of arguments the SQL aggregate window function can accept. If " "``-1``, it may take any number of arguments." msgstr "" -#: library/sqlite3.rst:823 +#: library/sqlite3.rst:809 msgid "" "A class that must implement the following methods: * ``step()``: Add a row " "to the current window. * ``value()``: Return the current value of the " @@ -882,79 +883,79 @@ msgid "" "function." msgstr "" -#: library/sqlite3.rst:824 +#: library/sqlite3.rst:810 msgid "A class that must implement the following methods:" msgstr "" -#: library/sqlite3.rst:826 +#: library/sqlite3.rst:812 msgid "``step()``: Add a row to the current window." msgstr "" -#: library/sqlite3.rst:827 +#: library/sqlite3.rst:813 msgid "``value()``: Return the current value of the aggregate." msgstr "" -#: library/sqlite3.rst:828 +#: library/sqlite3.rst:814 msgid "``inverse()``: Remove a row from the current window." msgstr "" -#: library/sqlite3.rst:832 +#: library/sqlite3.rst:818 msgid "" "The number of arguments that the ``step()`` and ``value()`` methods must " "accept is controlled by *num_params*." msgstr "" -#: library/sqlite3.rst:835 +#: library/sqlite3.rst:821 msgid "Set to ``None`` to remove an existing SQL aggregate window function." msgstr "" -#: library/sqlite3.rst:837 +#: library/sqlite3.rst:823 msgid "" "If used with a version of SQLite older than 3.25.0, which does not support " "aggregate window functions." msgstr "" -#: library/sqlite3.rst:900 +#: library/sqlite3.rst:887 msgid "" "Create a collation named *name* using the collating function *callable*. " "*callable* is passed two :class:`string ` arguments, and it should " "return an :class:`integer `:" msgstr "" -#: library/sqlite3.rst:904 +#: library/sqlite3.rst:891 msgid "``1`` if the first is ordered higher than the second" msgstr "" -#: library/sqlite3.rst:905 +#: library/sqlite3.rst:892 msgid "``-1`` if the first is ordered lower than the second" msgstr "" -#: library/sqlite3.rst:906 +#: library/sqlite3.rst:893 msgid "``0`` if they are ordered equal" msgstr "" -#: library/sqlite3.rst:908 +#: library/sqlite3.rst:895 msgid "The following example shows a reverse sorting collation:" msgstr "" -#: library/sqlite3.rst:936 +#: library/sqlite3.rst:923 msgid "Remove a collation function by setting *callable* to ``None``." msgstr "" -#: library/sqlite3.rst:938 +#: library/sqlite3.rst:925 msgid "" "The collation name can contain any Unicode character. Earlier, only ASCII " "characters were allowed." msgstr "" -#: library/sqlite3.rst:945 +#: library/sqlite3.rst:932 msgid "" "Call this method from a different thread to abort any queries that might be " "executing on the connection. Aborted queries will raise an :exc:" "`OperationalError`." msgstr "" -#: library/sqlite3.rst:952 +#: library/sqlite3.rst:939 msgid "" "Register :term:`callable` *authorizer_callback* to be invoked for each " "attempt to access a column of a table in the database. The callback should " @@ -963,7 +964,7 @@ msgid "" "underlying SQLite library." msgstr "" -#: library/sqlite3.rst:959 +#: library/sqlite3.rst:946 msgid "" "The first argument to the callback signifies what kind of operation is to be " "authorized. The second and third argument will be arguments or ``None`` " @@ -973,7 +974,7 @@ msgid "" "attempt or ``None`` if this access attempt is directly from input SQL code." msgstr "" -#: library/sqlite3.rst:966 +#: library/sqlite3.rst:953 msgid "" "Please consult the SQLite documentation about the possible values for the " "first argument and the meaning of the second and third argument depending on " @@ -981,15 +982,15 @@ msgid "" "module." msgstr "" -#: library/sqlite3.rst:970 +#: library/sqlite3.rst:957 msgid "Passing ``None`` as *authorizer_callback* will disable the authorizer." msgstr "" -#: library/sqlite3.rst:972 +#: library/sqlite3.rst:959 msgid "Added support for disabling the authorizer using ``None``." msgstr "" -#: library/sqlite3.rst:978 +#: library/sqlite3.rst:965 msgid "" "Register :term:`callable` *progress_handler* to be invoked for every *n* " "instructions of the SQLite virtual machine. This is useful if you want to " @@ -997,26 +998,26 @@ msgid "" "a GUI." msgstr "" -#: library/sqlite3.rst:983 +#: library/sqlite3.rst:970 msgid "" "If you want to clear any previously installed progress handler, call the " "method with ``None`` for *progress_handler*." msgstr "" -#: library/sqlite3.rst:986 +#: library/sqlite3.rst:973 msgid "" "Returning a non-zero value from the handler function will terminate the " "currently executing query and cause it to raise a :exc:`DatabaseError` " "exception." msgstr "" -#: library/sqlite3.rst:993 +#: library/sqlite3.rst:980 msgid "" "Register :term:`callable` *trace_callback* to be invoked for each SQL " "statement that is actually executed by the SQLite backend." msgstr "" -#: library/sqlite3.rst:996 +#: library/sqlite3.rst:983 msgid "" "The only argument passed to the callback is the statement (as :class:`str`) " "that is being executed. The return value of the callback is ignored. Note " @@ -1026,18 +1027,18 @@ msgid "" "execution of triggers defined in the current database." msgstr "" -#: library/sqlite3.rst:1004 +#: library/sqlite3.rst:991 msgid "Passing ``None`` as *trace_callback* will disable the trace callback." msgstr "" -#: library/sqlite3.rst:1007 +#: library/sqlite3.rst:994 msgid "" "Exceptions raised in the trace callback are not propagated. As a development " "and debugging aid, use :meth:`~sqlite3.enable_callback_tracebacks` to enable " "printing tracebacks from exceptions raised in the trace callback." msgstr "" -#: library/sqlite3.rst:1017 +#: library/sqlite3.rst:1004 msgid "" "Enable the SQLite engine to load SQLite extensions from shared libraries if " "*enabled* is ``True``; else, disallow loading SQLite extensions. SQLite " @@ -1046,7 +1047,7 @@ msgid "" "distributed with SQLite." msgstr "" -#: library/sqlite3.rst:1026 +#: library/sqlite3.rst:1013 msgid "" "The :mod:`!sqlite3` module is not built with loadable extension support by " "default, because some platforms (notably macOS) have SQLite libraries which " @@ -1055,79 +1056,79 @@ msgid "" "program:`configure`." msgstr "" -#: library/sqlite3.rst:1033 +#: library/sqlite3.rst:1020 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.enable_load_extension`` " "with arguments ``connection``, ``enabled``." msgstr "" -#: library/sqlite3.rst:1037 +#: library/sqlite3.rst:1024 msgid "Added the ``sqlite3.enable_load_extension`` auditing event." msgstr "" -#: library/sqlite3.rst:1080 +#: library/sqlite3.rst:1056 msgid "" "Load an SQLite extension from a shared library. Enable extension loading " "with :meth:`enable_load_extension` before calling this method." msgstr "" -#: library/sqlite3.rst:1084 +#: library/sqlite3.rst:1060 msgid "The path to the SQLite extension." msgstr "" -#: library/sqlite3.rst:1088 +#: library/sqlite3.rst:1064 msgid "" "Entry point name. If ``None`` (the default), SQLite will come up with an " "entry point name of its own; see the SQLite docs `Loading an Extension`_ for " "details." msgstr "" -#: library/sqlite3.rst:1097 +#: library/sqlite3.rst:1073 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.load_extension`` with " "arguments ``connection``, ``path``." msgstr "" -#: library/sqlite3.rst:1101 +#: library/sqlite3.rst:1077 msgid "Added the ``sqlite3.load_extension`` auditing event." msgstr "" -#: library/sqlite3.rst:1104 +#: library/sqlite3.rst:1080 msgid "Added the *entrypoint* parameter." msgstr "" -#: library/sqlite3.rst:1111 +#: library/sqlite3.rst:1087 msgid "" "Return an :term:`iterator` to dump the database as SQL source code. Useful " "when saving an in-memory database for later restoration. Similar to the ``." "dump`` command in the :program:`sqlite3` shell." msgstr "" -#: library/sqlite3.rst:1198 +#: library/sqlite3.rst:1176 msgid ":ref:`sqlite3-howto-encoding`" msgstr "" -#: library/sqlite3.rst:1133 +#: library/sqlite3.rst:1109 msgid "Create a backup of an SQLite database." msgstr "" -#: library/sqlite3.rst:1135 +#: library/sqlite3.rst:1111 msgid "" "Works even if the database is being accessed by other clients or " "concurrently by the same connection." msgstr "" -#: library/sqlite3.rst:1138 +#: library/sqlite3.rst:1114 msgid "The database connection to save the backup to." msgstr "" -#: library/sqlite3.rst:1141 +#: library/sqlite3.rst:1117 msgid "" "The number of pages to copy at a time. If equal to or less than ``0``, the " "entire database is copied in a single step. Defaults to ``-1``." msgstr "" -#: library/sqlite3.rst:1147 +#: library/sqlite3.rst:1123 msgid "" "If set to a :term:`callable`, it is invoked with three integer arguments for " "every backup iteration: the *status* of the last iteration, the *remaining* " @@ -1135,46 +1136,46 @@ msgid "" "Defaults to ``None``." msgstr "" -#: library/sqlite3.rst:1156 +#: library/sqlite3.rst:1132 msgid "" "The name of the database to back up. Either ``\"main\"`` (the default) for " "the main database, ``\"temp\"`` for the temporary database, or the name of a " "custom database as attached using the ``ATTACH DATABASE`` SQL statement." msgstr "" -#: library/sqlite3.rst:1163 +#: library/sqlite3.rst:1139 msgid "" "The number of seconds to sleep between successive attempts to back up " "remaining pages." msgstr "" -#: library/sqlite3.rst:1167 +#: library/sqlite3.rst:1143 msgid "Example 1, copy an existing database into another:" msgstr "" -#: library/sqlite3.rst:1186 +#: library/sqlite3.rst:1162 msgid "Example 2, copy an existing database into a transient copy:" msgstr "" -#: library/sqlite3.rst:1202 +#: library/sqlite3.rst:1180 msgid "Get a connection runtime limit." msgstr "" -#: library/sqlite3.rst:1204 +#: library/sqlite3.rst:1182 msgid "The `SQLite limit category`_ to be queried." msgstr "" -#: library/sqlite3.rst:1246 +#: library/sqlite3.rst:1224 msgid "If *category* is not recognised by the underlying SQLite library." msgstr "" -#: library/sqlite3.rst:1212 +#: library/sqlite3.rst:1190 msgid "" "Example, query the maximum length of an SQL statement for :class:" "`Connection` ``con`` (the default is 1000000000):" msgstr "" -#: library/sqlite3.rst:1232 +#: library/sqlite3.rst:1210 msgid "" "Set a connection runtime limit. Attempts to increase a limit above its hard " "upper bound are silently truncated to the hard upper bound. Regardless of " @@ -1182,40 +1183,40 @@ msgid "" "returned." msgstr "" -#: library/sqlite3.rst:1237 +#: library/sqlite3.rst:1215 msgid "The `SQLite limit category`_ to be set." msgstr "" -#: library/sqlite3.rst:1240 +#: library/sqlite3.rst:1218 msgid "" "The value of the new limit. If negative, the current limit is unchanged." msgstr "" -#: library/sqlite3.rst:1249 +#: library/sqlite3.rst:1227 msgid "" "Example, limit the number of attached databases to 1 for :class:`Connection` " "``con`` (the default limit is 10):" msgstr "" -#: library/sqlite3.rst:1266 +#: library/sqlite3.rst:1248 msgid "Query a boolean connection configuration option." msgstr "" -#: library/sqlite3.rst:1279 +#: library/sqlite3.rst:1261 msgid "A :ref:`SQLITE_DBCONFIG code `." msgstr "" -#: library/sqlite3.rst:1277 +#: library/sqlite3.rst:1259 msgid "Set a boolean connection configuration option." msgstr "" -#: library/sqlite3.rst:1282 +#: library/sqlite3.rst:1264 msgid "" "``True`` if the configuration option should be enabled (default); ``False`` " "if it should be disabled." msgstr "" -#: library/sqlite3.rst:1290 +#: library/sqlite3.rst:1272 msgid "" "Serialize a database into a :class:`bytes` object. For an ordinary on-disk " "database file, the serialization is just a copy of the disk file. For an in-" @@ -1224,17 +1225,17 @@ msgid "" "backed up to disk." msgstr "" -#: library/sqlite3.rst:1296 +#: library/sqlite3.rst:1278 msgid "The database name to be serialized. Defaults to ``\"main\"``." msgstr "" -#: library/sqlite3.rst:1304 +#: library/sqlite3.rst:1286 msgid "" "This method is only available if the underlying SQLite library has the " "serialize API." msgstr "" -#: library/sqlite3.rst:1312 +#: library/sqlite3.rst:1294 msgid "" "Deserialize a :meth:`serialized ` database into a :class:" "`Connection`. This method causes the database connection to disconnect from " @@ -1242,96 +1243,96 @@ msgid "" "serialization contained in *data*." msgstr "" -#: library/sqlite3.rst:1318 +#: library/sqlite3.rst:1300 msgid "A serialized database." msgstr "" -#: library/sqlite3.rst:1321 +#: library/sqlite3.rst:1303 msgid "The database name to deserialize into. Defaults to ``\"main\"``." msgstr "" -#: library/sqlite3.rst:1325 +#: library/sqlite3.rst:1307 msgid "" "If the database connection is currently involved in a read transaction or a " "backup operation." msgstr "" -#: library/sqlite3.rst:1329 +#: library/sqlite3.rst:1311 msgid "If *data* does not contain a valid SQLite database." msgstr "" -#: library/sqlite3.rst:1332 +#: library/sqlite3.rst:1314 msgid "If :func:`len(data) ` is larger than ``2**63 - 1``." msgstr "" -#: library/sqlite3.rst:1337 +#: library/sqlite3.rst:1319 msgid "" "This method is only available if the underlying SQLite library has the " "deserialize API." msgstr "" -#: library/sqlite3.rst:1344 +#: library/sqlite3.rst:1326 msgid "" "This attribute controls :pep:`249`-compliant transaction behaviour. :attr:`!" "autocommit` has three allowed values:" msgstr "" -#: library/sqlite3.rst:1347 +#: library/sqlite3.rst:1329 msgid "" "``False``: Select :pep:`249`-compliant transaction behaviour, implying that :" "mod:`!sqlite3` ensures a transaction is always open. Use :meth:`commit` and :" "meth:`rollback` to close transactions." msgstr "" -#: library/sqlite3.rst:1351 +#: library/sqlite3.rst:1333 msgid "This is the recommended value of :attr:`!autocommit`." msgstr "" -#: library/sqlite3.rst:1353 +#: library/sqlite3.rst:1335 msgid "" "``True``: Use SQLite's `autocommit mode`_. :meth:`commit` and :meth:" "`rollback` have no effect in this mode." msgstr "" -#: library/sqlite3.rst:1356 +#: library/sqlite3.rst:1338 msgid "" ":data:`LEGACY_TRANSACTION_CONTROL`: Pre-Python 3.12 (non-:pep:`249`-" "compliant) transaction control. See :attr:`isolation_level` for more details." msgstr "" -#: library/sqlite3.rst:1360 +#: library/sqlite3.rst:1342 msgid "This is currently the default value of :attr:`!autocommit`." msgstr "" -#: library/sqlite3.rst:1362 +#: library/sqlite3.rst:1344 msgid "" "Changing :attr:`!autocommit` to ``False`` will open a new transaction, and " "changing it to ``True`` will commit any pending transaction." msgstr "" -#: library/sqlite3.rst:1365 +#: library/sqlite3.rst:1347 msgid "See :ref:`sqlite3-transaction-control-autocommit` for more details." msgstr "" -#: library/sqlite3.rst:1369 +#: library/sqlite3.rst:1351 msgid "" "The :attr:`isolation_level` attribute has no effect unless :attr:" "`autocommit` is :data:`LEGACY_TRANSACTION_CONTROL`." msgstr "" -#: library/sqlite3.rst:1376 +#: library/sqlite3.rst:1358 msgid "" "This read-only attribute corresponds to the low-level SQLite `autocommit " "mode`_." msgstr "" -#: library/sqlite3.rst:1379 +#: library/sqlite3.rst:1361 msgid "" "``True`` if a transaction is active (there are uncommitted changes), " "``False`` otherwise." msgstr "" -#: library/sqlite3.rst:1386 +#: library/sqlite3.rst:1368 msgid "" "Controls the :ref:`legacy transaction handling mode ` of :mod:`!sqlite3`. If set to ``None``, " @@ -1341,13 +1342,13 @@ msgid "" "` is performed." msgstr "" -#: library/sqlite3.rst:1394 +#: library/sqlite3.rst:1376 msgid "" "If not overridden by the *isolation_level* parameter of :func:`connect`, the " "default is ``\"\"``, which is an alias for ``\"DEFERRED\"``." msgstr "" -#: library/sqlite3.rst:1399 +#: library/sqlite3.rst:1381 msgid "" "Using :attr:`autocommit` to control transaction handling is recommended over " "using :attr:`!isolation_level`. :attr:`!isolation_level` has no effect " @@ -1355,7 +1356,7 @@ msgid "" "default)." msgstr "" -#: library/sqlite3.rst:1406 +#: library/sqlite3.rst:1388 msgid "" "The initial :attr:`~Cursor.row_factory` for :class:`Cursor` objects created " "from this connection. Assigning to this attribute does not affect the :attr:" @@ -1364,32 +1365,32 @@ msgid "" "`tuple`." msgstr "" -#: library/sqlite3.rst:1694 library/sqlite3.rst:1717 +#: library/sqlite3.rst:1681 library/sqlite3.rst:1704 msgid "See :ref:`sqlite3-howto-row-factory` for more details." msgstr "" -#: library/sqlite3.rst:1417 +#: library/sqlite3.rst:1399 msgid "" "A :term:`callable` that accepts a :class:`bytes` parameter and returns a " "text representation of it. The callable is invoked for SQLite values with " "the ``TEXT`` data type. By default, this attribute is set to :class:`str`." msgstr "" -#: library/sqlite3.rst:1422 +#: library/sqlite3.rst:1404 msgid "See :ref:`sqlite3-howto-encoding` for more details." msgstr "" -#: library/sqlite3.rst:1426 +#: library/sqlite3.rst:1408 msgid "" "Return the total number of database rows that have been modified, inserted, " "or deleted since the database connection was opened." msgstr "" -#: library/sqlite3.rst:1433 +#: library/sqlite3.rst:1415 msgid "Cursor objects" msgstr "" -#: library/sqlite3.rst:1435 +#: library/sqlite3.rst:1417 msgid "" "A ``Cursor`` object represents a `database cursor`_ which is used to execute " "SQL statements, and manage the context of a fetch operation. Cursors are " @@ -1397,39 +1398,39 @@ msgid "" "`connection shortcut methods `." msgstr "" -#: library/sqlite3.rst:1442 +#: library/sqlite3.rst:1424 msgid "" "Cursor objects are :term:`iterators `, meaning that if you :meth:" "`~Cursor.execute` a ``SELECT`` query, you can simply iterate over the cursor " "to fetch the resulting rows:" msgstr "" -#: library/sqlite3.rst:1467 +#: library/sqlite3.rst:1449 msgid "A :class:`Cursor` instance has the following attributes and methods." msgstr "" -#: library/sqlite3.rst:1474 +#: library/sqlite3.rst:1456 msgid "" "Execute a single SQL statement, optionally binding Python values using :ref:" "`placeholders `." msgstr "" -#: library/sqlite3.rst:1478 +#: library/sqlite3.rst:1460 msgid "A single SQL statement." msgstr "" -#: library/sqlite3.rst:1481 +#: library/sqlite3.rst:1463 msgid "" "Python values to bind to placeholders in *sql*. A :class:`!dict` if named " "placeholders are used. A :term:`!sequence` if unnamed placeholders are used. " "See :ref:`sqlite3-placeholders`." msgstr "" -#: library/sqlite3.rst:1488 +#: library/sqlite3.rst:1470 msgid "If *sql* contains more than one SQL statement." msgstr "" -#: library/sqlite3.rst:1491 +#: library/sqlite3.rst:1473 msgid "" "If :attr:`~Connection.autocommit` is :data:`LEGACY_TRANSACTION_CONTROL`, :" "attr:`~Connection.isolation_level` is not ``None``, *sql* is an ``INSERT``, " @@ -1437,7 +1438,7 @@ msgid "" "transaction, a transaction is implicitly opened before executing *sql*." msgstr "" -#: library/sqlite3.rst:1500 +#: library/sqlite3.rst:1482 msgid "" ":exc:`DeprecationWarning` is emitted if :ref:`named placeholders ` are used and *parameters* is a sequence instead of a :class:" @@ -1445,43 +1446,43 @@ msgid "" "instead." msgstr "" -#: library/sqlite3.rst:1506 +#: library/sqlite3.rst:1488 msgid "Use :meth:`executescript` to execute multiple SQL statements." msgstr "" -#: library/sqlite3.rst:1510 +#: library/sqlite3.rst:1492 msgid "" "For every item in *parameters*, repeatedly execute the :ref:`parameterized " "` :abbr:`DML (Data Manipulation Language)` SQL " "statement *sql*." msgstr "" -#: library/sqlite3.rst:1514 +#: library/sqlite3.rst:1496 msgid "Uses the same implicit transaction handling as :meth:`~Cursor.execute`." msgstr "" -#: library/sqlite3.rst:1516 +#: library/sqlite3.rst:1498 msgid "A single SQL DML statement." msgstr "" -#: library/sqlite3.rst:1519 +#: library/sqlite3.rst:1501 msgid "" "An :term:`!iterable` of parameters to bind with the placeholders in *sql*. " "See :ref:`sqlite3-placeholders`." msgstr "" -#: library/sqlite3.rst:1525 +#: library/sqlite3.rst:1507 msgid "" "If *sql* contains more than one SQL statement, or is not a DML statement." msgstr "" -#: library/sqlite3.rst:1542 +#: library/sqlite3.rst:1528 msgid "" "Any resulting rows are discarded, including DML statements with `RETURNING " "clauses`_." msgstr "" -#: library/sqlite3.rst:1549 +#: library/sqlite3.rst:1535 msgid "" ":exc:`DeprecationWarning` is emitted if :ref:`named placeholders ` are used and the items in *parameters* are sequences instead " @@ -1489,7 +1490,7 @@ msgid "" "be raised instead." msgstr "" -#: library/sqlite3.rst:1558 +#: library/sqlite3.rst:1544 msgid "" "Execute the SQL statements in *sql_script*. If the :attr:`~Connection." "autocommit` is :data:`LEGACY_TRANSACTION_CONTROL` and there is a pending " @@ -1498,24 +1499,24 @@ msgid "" "added to *sql_script*." msgstr "" -#: library/sqlite3.rst:1566 +#: library/sqlite3.rst:1552 msgid "*sql_script* must be a :class:`string `." msgstr "" -#: library/sqlite3.rst:1583 +#: library/sqlite3.rst:1569 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:1591 +#: library/sqlite3.rst:1577 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:1594 +#: library/sqlite3.rst:1580 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 " @@ -1523,7 +1524,7 @@ msgid "" "available are returned." msgstr "" -#: library/sqlite3.rst:1600 +#: library/sqlite3.rst:1586 msgid "" "Note there are performance considerations involved with the *size* " "parameter. For optimal performance, it is usually best to use the arraysize " @@ -1531,36 +1532,36 @@ msgid "" "the same value from one :meth:`fetchmany` call to the next." msgstr "" -#: library/sqlite3.rst:1607 +#: library/sqlite3.rst:1593 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:1614 +#: library/sqlite3.rst:1600 msgid "Close the cursor now (rather than whenever ``__del__`` is called)." msgstr "" -#: library/sqlite3.rst:1616 +#: library/sqlite3.rst:1602 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:1625 +#: library/sqlite3.rst:1611 msgid "Required by the DB-API. Does nothing in :mod:`!sqlite3`." msgstr "" -#: library/sqlite3.rst:1629 +#: library/sqlite3.rst:1615 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:1634 +#: library/sqlite3.rst:1620 msgid "" "Read-only attribute that provides the SQLite database :class:`Connection` " "belonging to the cursor. A :class:`Cursor` object created by calling :meth:" @@ -1568,18 +1569,18 @@ msgid "" "that refers to *con*:" msgstr "" -#: library/sqlite3.rst:1648 +#: library/sqlite3.rst:1635 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:1652 +#: library/sqlite3.rst:1639 msgid "It is set for ``SELECT`` statements without any matching rows as well." msgstr "" -#: library/sqlite3.rst:1656 +#: library/sqlite3.rst:1643 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 " @@ -1589,15 +1590,15 @@ msgid "" "``None``." msgstr "" -#: library/sqlite3.rst:1664 +#: library/sqlite3.rst:1651 msgid "Inserts into ``WITHOUT ROWID`` tables are not recorded." msgstr "" -#: library/sqlite3.rst:1666 +#: library/sqlite3.rst:1653 msgid "Added support for the ``REPLACE`` statement." msgstr "" -#: library/sqlite3.rst:1671 +#: library/sqlite3.rst:1658 msgid "" "Read-only attribute that provides the number of modified rows for " "``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements; is ``-1`` " @@ -1607,7 +1608,7 @@ msgid "" "resulting rows must be fetched in order for :attr:`!rowcount` to be updated." msgstr "" -#: library/sqlite3.rst:1682 +#: library/sqlite3.rst:1669 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 " @@ -1616,18 +1617,18 @@ msgid "" "and returns a custom object representing an SQLite row." msgstr "" -#: library/sqlite3.rst:1689 +#: library/sqlite3.rst:1676 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:1705 +#: library/sqlite3.rst:1692 msgid "Row objects" msgstr "" -#: library/sqlite3.rst:1709 +#: library/sqlite3.rst:1696 msgid "" "A :class:`!Row` instance serves as a highly optimized :attr:`~Connection." "row_factory` for :class:`Connection` objects. It supports iteration, " @@ -1635,28 +1636,28 @@ msgid "" "index." msgstr "" -#: library/sqlite3.rst:1714 +#: library/sqlite3.rst:1701 msgid "" "Two :class:`!Row` objects compare equal if they have identical column names " "and values." msgstr "" -#: library/sqlite3.rst:1721 +#: library/sqlite3.rst:1708 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:1725 +#: library/sqlite3.rst:1712 msgid "Added support of slicing." msgstr "" -#: library/sqlite3.rst:1732 +#: library/sqlite3.rst:1719 msgid "Blob objects" msgstr "" -#: library/sqlite3.rst:1738 +#: library/sqlite3.rst:1725 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:" @@ -1664,24 +1665,24 @@ msgid "" "and :term:`slices ` for direct access to the blob data." msgstr "" -#: library/sqlite3.rst:1743 +#: library/sqlite3.rst:1730 msgid "" "Use the :class:`Blob` as a :term:`context manager` to ensure that the blob " "handle is closed after use." msgstr "" -#: library/sqlite3.rst:1773 +#: library/sqlite3.rst:1761 msgid "Close the blob." msgstr "" -#: library/sqlite3.rst:1775 +#: library/sqlite3.rst:1763 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:1781 +#: library/sqlite3.rst:1769 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)` " @@ -1689,18 +1690,18 @@ msgid "" "`~Blob.read` will read until the end of the blob." msgstr "" -#: library/sqlite3.rst:1789 +#: library/sqlite3.rst:1777 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:1795 +#: library/sqlite3.rst:1783 msgid "Return the current access position of the blob." msgstr "" -#: library/sqlite3.rst:1799 +#: library/sqlite3.rst:1787 msgid "" "Set the current access position of the blob to *offset*. The *origin* " "argument defaults to :const:`os.SEEK_SET` (absolute blob positioning). Other " @@ -1708,26 +1709,26 @@ msgid "" "position) and :const:`os.SEEK_END` (seek relative to the blob’s end)." msgstr "" -#: library/sqlite3.rst:1807 +#: library/sqlite3.rst:1795 msgid "PrepareProtocol objects" msgstr "" -#: library/sqlite3.rst:1811 +#: library/sqlite3.rst:1799 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:1819 +#: library/sqlite3.rst:1807 msgid "Exceptions" msgstr "" -#: library/sqlite3.rst:1821 +#: library/sqlite3.rst:1809 msgid "The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`)." msgstr "" -#: library/sqlite3.rst:1825 +#: library/sqlite3.rst:1813 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-" @@ -1735,39 +1736,39 @@ msgid "" "of :exc:`Exception`." msgstr "" -#: library/sqlite3.rst:1832 +#: library/sqlite3.rst:1820 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:1836 +#: library/sqlite3.rst:1824 msgid "" "If the exception originated from within the SQLite library, the following " "two attributes are added to the exception:" msgstr "" -#: library/sqlite3.rst:1841 +#: library/sqlite3.rst:1829 msgid "" "The numeric error code from the `SQLite API `_" msgstr "" -#: library/sqlite3.rst:1848 +#: library/sqlite3.rst:1836 msgid "" "The symbolic name of the numeric error code from the `SQLite API `_" msgstr "" -#: library/sqlite3.rst:1855 +#: library/sqlite3.rst:1843 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:1862 +#: library/sqlite3.rst:1850 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 " @@ -1775,14 +1776,14 @@ msgid "" "subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1869 +#: library/sqlite3.rst:1857 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:1875 +#: library/sqlite3.rst:1863 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 " @@ -1790,20 +1791,20 @@ msgid "" "``OperationalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1883 +#: library/sqlite3.rst:1871 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:1888 +#: library/sqlite3.rst:1876 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:1895 +#: library/sqlite3.rst:1883 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 " @@ -1811,7 +1812,7 @@ msgid "" "`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1902 +#: library/sqlite3.rst:1890 msgid "" "Exception raised in case a method or database API is not supported by the " "underlying SQLite library. For example, setting *deterministic* to ``True`` " @@ -1820,78 +1821,78 @@ msgid "" "subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1912 +#: library/sqlite3.rst:1900 msgid "SQLite and Python types" msgstr "" -#: library/sqlite3.rst:1914 +#: library/sqlite3.rst:1902 msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" -#: library/sqlite3.rst:1917 +#: library/sqlite3.rst:1905 msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" -#: library/sqlite3.rst:1937 +#: library/sqlite3.rst:1925 msgid "Python type" msgstr "" -#: library/sqlite3.rst:1937 +#: library/sqlite3.rst:1925 msgid "SQLite type" msgstr "" -#: library/sqlite3.rst:1939 +#: library/sqlite3.rst:1927 msgid "``None``" msgstr "" -#: library/sqlite3.rst:1939 +#: library/sqlite3.rst:1927 msgid "``NULL``" msgstr "" -#: library/sqlite3.rst:1941 +#: library/sqlite3.rst:1929 msgid ":class:`int`" msgstr "" -#: library/sqlite3.rst:1941 +#: library/sqlite3.rst:1929 msgid "``INTEGER``" msgstr "" -#: library/sqlite3.rst:1943 +#: library/sqlite3.rst:1931 msgid ":class:`float`" msgstr "" -#: library/sqlite3.rst:1943 +#: library/sqlite3.rst:1931 msgid "``REAL``" msgstr "" -#: library/sqlite3.rst:1928 +#: library/sqlite3.rst:1916 msgid ":class:`str`" msgstr "" -#: library/sqlite3.rst:1945 +#: library/sqlite3.rst:1933 msgid "``TEXT``" msgstr "" -#: library/sqlite3.rst:1948 +#: library/sqlite3.rst:1936 msgid ":class:`bytes`" msgstr "" -#: library/sqlite3.rst:1948 +#: library/sqlite3.rst:1936 msgid "``BLOB``" msgstr "" -#: library/sqlite3.rst:1934 +#: library/sqlite3.rst:1922 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -#: library/sqlite3.rst:1945 +#: library/sqlite3.rst:1933 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" msgstr "" -#: library/sqlite3.rst:1951 +#: library/sqlite3.rst:1939 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 " @@ -1900,47 +1901,47 @@ msgid "" "converters>`." msgstr "" -#: library/sqlite3.rst:1961 +#: library/sqlite3.rst:1949 msgid "Default adapters and converters (deprecated)" msgstr "" -#: library/sqlite3.rst:1965 +#: library/sqlite3.rst:1953 msgid "" "The default adapters and converters are deprecated as of Python 3.12. " "Instead, use the :ref:`sqlite3-adapter-converter-recipes` and tailor them to " "your needs." msgstr "" -#: library/sqlite3.rst:1969 +#: library/sqlite3.rst:1957 msgid "The deprecated default adapters and converters consist of:" msgstr "" -#: library/sqlite3.rst:1971 +#: library/sqlite3.rst:1959 msgid "" "An adapter for :class:`datetime.date` objects to :class:`strings ` in " "`ISO 8601`_ format." msgstr "" -#: library/sqlite3.rst:1973 +#: library/sqlite3.rst:1961 msgid "" "An adapter for :class:`datetime.datetime` objects to strings in ISO 8601 " "format." msgstr "" -#: library/sqlite3.rst:1975 +#: library/sqlite3.rst:1963 msgid "" "A converter for :ref:`declared ` \"date\" types to :" "class:`datetime.date` objects." msgstr "" -#: library/sqlite3.rst:1977 +#: library/sqlite3.rst:1965 msgid "" "A converter for declared \"timestamp\" types to :class:`datetime.datetime` " "objects. Fractional parts will be truncated to 6 digits (microsecond " "precision)." msgstr "" -#: library/sqlite3.rst:1983 +#: library/sqlite3.rst:1971 msgid "" "The default \"timestamp\" converter ignores UTC offsets in the database and " "always returns a naive :class:`datetime.datetime` object. To preserve UTC " @@ -1948,38 +1949,38 @@ msgid "" "offset-aware converter with :func:`register_converter`." msgstr "" -#: library/sqlite3.rst:1996 +#: library/sqlite3.rst:1984 msgid "Command-line interface" msgstr "" -#: library/sqlite3.rst:1998 +#: library/sqlite3.rst:1986 msgid "" "The :mod:`!sqlite3` module can be invoked as a script, using the " "interpreter's :option:`-m` switch, in order to provide a simple SQLite " "shell. The argument signature is as follows::" msgstr "" -#: library/sqlite3.rst:2005 +#: library/sqlite3.rst:1993 msgid "Type ``.quit`` or CTRL-D to exit the shell." msgstr "" -#: library/sqlite3.rst:2011 +#: library/sqlite3.rst:1999 msgid "Print CLI help." msgstr "" -#: library/sqlite3.rst:2015 +#: library/sqlite3.rst:2003 msgid "Print underlying SQLite library version." msgstr "" -#: library/sqlite3.rst:2023 +#: library/sqlite3.rst:2011 msgid "How-to guides" msgstr "" -#: library/sqlite3.rst:2028 +#: library/sqlite3.rst:2016 msgid "How to use placeholders to bind values in SQL queries" msgstr "" -#: library/sqlite3.rst:2030 +#: library/sqlite3.rst:2018 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 " @@ -1987,7 +1988,7 @@ msgid "" "close the single quote and inject ``OR TRUE`` to select all rows::" msgstr "" -#: library/sqlite3.rst:2043 +#: library/sqlite3.rst:2031 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 " @@ -1995,7 +1996,7 @@ msgid "" "second argument of the cursor's :meth:`~Cursor.execute` method." msgstr "" -#: library/sqlite3.rst:2048 +#: library/sqlite3.rst:2036 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, " @@ -2006,24 +2007,24 @@ msgid "" "ignored. Here's an example of both styles:" msgstr "" -#: library/sqlite3.rst:2085 +#: library/sqlite3.rst:2074 msgid "" ":pep:`249` numeric placeholders are *not* supported. If used, they will be " "interpreted as named placeholders." msgstr "" -#: library/sqlite3.rst:2092 +#: library/sqlite3.rst:2081 msgid "How to adapt custom Python types to SQLite values" msgstr "" -#: library/sqlite3.rst:2094 +#: library/sqlite3.rst:2083 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:2098 +#: library/sqlite3.rst:2087 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 " @@ -2033,11 +2034,11 @@ msgid "" "custom adapter functions." msgstr "" -#: library/sqlite3.rst:2110 +#: library/sqlite3.rst:2099 msgid "How to write adaptable objects" msgstr "" -#: library/sqlite3.rst:2112 +#: library/sqlite3.rst:2101 msgid "" "Suppose we have a :class:`!Point` class that represents a pair of " "coordinates, ``x`` and ``y``, in a Cartesian coordinate system. The " @@ -2047,84 +2048,84 @@ msgid "" "object passed to *protocol* will be of type :class:`PrepareProtocol`." msgstr "" -#: library/sqlite3.rst:2143 +#: library/sqlite3.rst:2133 msgid "How to register adapter callables" msgstr "" -#: library/sqlite3.rst:2145 +#: library/sqlite3.rst:2135 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:2175 +#: library/sqlite3.rst:2166 msgid "How to convert SQLite values to custom Python types" msgstr "" -#: library/sqlite3.rst:2177 +#: library/sqlite3.rst:2168 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:2182 +#: library/sqlite3.rst:2173 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:2185 +#: library/sqlite3.rst:2176 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:2190 +#: library/sqlite3.rst:2181 msgid "" "Converter functions are **always** passed a :class:`bytes` object, no matter " "the underlying SQLite data type." msgstr "" -#: library/sqlite3.rst:2199 +#: library/sqlite3.rst:2190 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:2203 +#: library/sqlite3.rst:2194 msgid "Implicit: set *detect_types* to :const:`PARSE_DECLTYPES`" msgstr "" -#: library/sqlite3.rst:2204 +#: library/sqlite3.rst:2195 msgid "Explicit: set *detect_types* to :const:`PARSE_COLNAMES`" msgstr "" -#: library/sqlite3.rst:2205 +#: library/sqlite3.rst:2196 msgid "" "Both: set *detect_types* to ``sqlite3.PARSE_DECLTYPES | sqlite3." "PARSE_COLNAMES``. Column names take precedence over declared types." msgstr "" -#: library/sqlite3.rst:2209 +#: library/sqlite3.rst:2200 msgid "The following example illustrates the implicit and explicit approaches:" msgstr "" -#: library/sqlite3.rst:2260 +#: library/sqlite3.rst:2253 msgid "Adapter and converter recipes" msgstr "" -#: library/sqlite3.rst:2262 +#: library/sqlite3.rst:2255 msgid "This section shows recipes for common adapters and converters." msgstr "" -#: library/sqlite3.rst:2324 +#: library/sqlite3.rst:2317 msgid "How to use connection shortcut methods" msgstr "" -#: library/sqlite3.rst:2326 +#: library/sqlite3.rst:2319 msgid "" "Using the :meth:`~Connection.execute`, :meth:`~Connection.executemany`, and :" "meth:`~Connection.executescript` methods of the :class:`Connection` class, " @@ -2136,11 +2137,11 @@ msgid "" "object." msgstr "" -#: library/sqlite3.rst:2367 +#: library/sqlite3.rst:2360 msgid "How to use the connection context manager" msgstr "" -#: library/sqlite3.rst:2369 +#: library/sqlite3.rst:2362 msgid "" "A :class:`Connection` object can be used as a context manager that " "automatically commits or rolls back open transactions when leaving the body " @@ -2152,60 +2153,60 @@ msgid "" "rolling back." msgstr "" -#: library/sqlite3.rst:2380 +#: library/sqlite3.rst:2373 msgid "" "If there is no open transaction upon leaving the body of the ``with`` " "statement, or if :attr:`~Connection.autocommit` is ``True``, the context " "manager does nothing." msgstr "" -#: library/sqlite3.rst:2385 +#: library/sqlite3.rst:2378 msgid "" "The context manager neither implicitly opens a new transaction nor closes " "the connection. If you need a closing context manager, consider using :meth:" "`contextlib.closing`." msgstr "" -#: library/sqlite3.rst:2419 +#: library/sqlite3.rst:2412 msgid "How to work with SQLite URIs" msgstr "" -#: library/sqlite3.rst:2421 +#: library/sqlite3.rst:2414 msgid "Some useful URI tricks include:" msgstr "" -#: library/sqlite3.rst:2423 +#: library/sqlite3.rst:2416 msgid "Open a database in read-only mode:" msgstr "" -#: library/sqlite3.rst:2432 +#: library/sqlite3.rst:2425 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:2442 +#: library/sqlite3.rst:2435 msgid "Create a shared named in-memory database:" msgstr "" -#: library/sqlite3.rst:2456 +#: library/sqlite3.rst:2451 msgid "" "More information about this feature, including a list of parameters, can be " "found in the `SQLite URI documentation`_." msgstr "" -#: library/sqlite3.rst:2465 +#: library/sqlite3.rst:2460 msgid "How to create and use row factories" msgstr "" -#: library/sqlite3.rst:2467 +#: library/sqlite3.rst:2462 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:2472 +#: library/sqlite3.rst:2467 msgid "" "While :attr:`!row_factory` exists as an attribute both on the :class:" "`Cursor` and the :class:`Connection`, it is recommended to set :class:" @@ -2213,7 +2214,7 @@ msgid "" "use the same row factory." msgstr "" -#: library/sqlite3.rst:2477 +#: library/sqlite3.rst:2472 msgid "" ":class:`!Row` provides indexed and case-insensitive named access to columns, " "with minimal memory overhead and performance impact over a :class:`!tuple`. " @@ -2221,11 +2222,11 @@ msgid "" "attribute:" msgstr "" -#: library/sqlite3.rst:2487 +#: library/sqlite3.rst:2482 msgid "Queries now return :class:`!Row` objects:" msgstr "" -#: library/sqlite3.rst:2504 +#: library/sqlite3.rst:2500 msgid "" "The ``FROM`` clause can be omitted in the ``SELECT`` statement, as in the " "above example. In such cases, SQLite returns a single row with columns " @@ -2233,37 +2234,37 @@ msgid "" "alias``." msgstr "" -#: library/sqlite3.rst:2509 +#: library/sqlite3.rst:2505 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:2518 +#: library/sqlite3.rst:2514 msgid "" "Using it, queries now return a :class:`!dict` instead of a :class:`!tuple`:" msgstr "" -#: library/sqlite3.rst:2528 +#: library/sqlite3.rst:2525 msgid "The following row factory returns a :term:`named tuple`:" msgstr "" -#: library/sqlite3.rst:2539 +#: library/sqlite3.rst:2536 msgid ":func:`!namedtuple_factory` can be used as follows:" msgstr "" -#: library/sqlite3.rst:2554 +#: library/sqlite3.rst:2552 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:2562 +#: library/sqlite3.rst:2560 msgid "How to handle non-UTF-8 text encodings" msgstr "" -#: library/sqlite3.rst:2564 +#: library/sqlite3.rst:2562 msgid "" "By default, :mod:`!sqlite3` uses :class:`str` to adapt SQLite values with " "the ``TEXT`` data type. This works well for UTF-8 encoded text, but it might " @@ -2271,7 +2272,7 @@ msgid "" "`~Connection.text_factory` to handle such cases." msgstr "" -#: library/sqlite3.rst:2570 +#: library/sqlite3.rst:2568 msgid "" "Because of SQLite's `flexible typing`_, it is not uncommon to encounter " "table columns with the ``TEXT`` data type containing non-UTF-8 encodings, or " @@ -2282,31 +2283,31 @@ msgid "" "text using this :attr:`~Connection.text_factory`:" msgstr "" -#: library/sqlite3.rst:2583 +#: library/sqlite3.rst:2581 msgid "" "For invalid UTF-8 or arbitrary data in stored in ``TEXT`` table columns, you " "can use the following technique, borrowed from the :ref:`unicode-howto`:" msgstr "" -#: library/sqlite3.rst:2592 +#: library/sqlite3.rst:2590 msgid "" "The :mod:`!sqlite3` module API does not support strings containing " "surrogates." msgstr "" -#: library/sqlite3.rst:2597 +#: library/sqlite3.rst:2595 msgid ":ref:`unicode-howto`" msgstr "" -#: library/sqlite3.rst:2603 +#: library/sqlite3.rst:2601 msgid "Explanation" msgstr "" -#: library/sqlite3.rst:2609 +#: library/sqlite3.rst:2607 msgid "Transaction control" msgstr "" -#: library/sqlite3.rst:2611 +#: library/sqlite3.rst:2609 msgid "" ":mod:`!sqlite3` offers multiple methods of controlling whether, when and how " "database transactions are opened and closed. :ref:`sqlite3-transaction-" @@ -2314,24 +2315,24 @@ msgid "" "isolation-level` retains the pre-Python 3.12 behaviour." msgstr "" -#: library/sqlite3.rst:2620 +#: library/sqlite3.rst:2618 msgid "Transaction control via the ``autocommit`` attribute" msgstr "" -#: library/sqlite3.rst:2622 +#: library/sqlite3.rst:2620 msgid "" "The recommended way of controlling transaction behaviour is through the :" "attr:`Connection.autocommit` attribute, which should preferably be set using " "the *autocommit* parameter of :func:`connect`." msgstr "" -#: library/sqlite3.rst:2627 +#: library/sqlite3.rst:2625 msgid "" "It is suggested to set *autocommit* to ``False``, which implies :pep:`249`-" "compliant transaction control. This means:" msgstr "" -#: library/sqlite3.rst:2631 +#: library/sqlite3.rst:2629 msgid "" ":mod:`!sqlite3` ensures that a transaction is always open, so :func:" "`connect`, :meth:`Connection.commit`, and :meth:`Connection.rollback` will " @@ -2340,21 +2341,21 @@ msgid "" "when opening transactions." msgstr "" -#: library/sqlite3.rst:2636 +#: library/sqlite3.rst:2634 msgid "Transactions should be committed explicitly using :meth:`!commit`." msgstr "" -#: library/sqlite3.rst:2637 +#: library/sqlite3.rst:2635 msgid "Transactions should be rolled back explicitly using :meth:`!rollback`." msgstr "" -#: library/sqlite3.rst:2638 +#: library/sqlite3.rst:2636 msgid "" "An implicit rollback is performed if the database is :meth:`~Connection." "close`-ed with pending changes." msgstr "" -#: library/sqlite3.rst:2641 +#: library/sqlite3.rst:2639 msgid "" "Set *autocommit* to ``True`` to enable SQLite's `autocommit mode`_. In this " "mode, :meth:`Connection.commit` and :meth:`Connection.rollback` have no " @@ -2363,25 +2364,25 @@ msgid "" "in_transaction` to query the low-level SQLite autocommit mode." msgstr "" -#: library/sqlite3.rst:2649 +#: library/sqlite3.rst:2647 msgid "" "Set *autocommit* to :data:`LEGACY_TRANSACTION_CONTROL` to leave transaction " "control behaviour to the :attr:`Connection.isolation_level` attribute. See :" "ref:`sqlite3-transaction-control-isolation-level` for more information." msgstr "" -#: library/sqlite3.rst:2658 +#: library/sqlite3.rst:2656 msgid "Transaction control via the ``isolation_level`` attribute" msgstr "" -#: library/sqlite3.rst:2662 +#: library/sqlite3.rst:2660 msgid "" "The recommended way of controlling transactions is via the :attr:" "`~Connection.autocommit` attribute. See :ref:`sqlite3-transaction-control-" "autocommit`." msgstr "" -#: library/sqlite3.rst:2666 +#: library/sqlite3.rst:2664 msgid "" "If :attr:`Connection.autocommit` is set to :data:" "`LEGACY_TRANSACTION_CONTROL` (the default), transaction behaviour is " @@ -2389,7 +2390,7 @@ msgid "" "Otherwise, :attr:`!isolation_level` has no effect." msgstr "" -#: library/sqlite3.rst:2672 +#: library/sqlite3.rst:2670 msgid "" "If the connection attribute :attr:`~Connection.isolation_level` is not " "``None``, new transactions are implicitly opened before :meth:`~Cursor." @@ -2403,7 +2404,7 @@ msgid "" "attribute." msgstr "" -#: library/sqlite3.rst:2685 +#: library/sqlite3.rst:2683 msgid "" "If :attr:`~Connection.isolation_level` is set to ``None``, no transactions " "are implicitly opened at all. This leaves the underlying SQLite library in " @@ -2413,33 +2414,33 @@ msgid "" "in_transaction` attribute." msgstr "" -#: library/sqlite3.rst:2693 +#: library/sqlite3.rst:2691 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:2697 +#: library/sqlite3.rst:2695 msgid "" ":mod:`!sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." msgstr "" -#: library/sqlite3.rst:2701 +#: library/sqlite3.rst:2699 msgid "" "The recommended way of controlling transactions is now via the :attr:" "`~Connection.autocommit` attribute." msgstr "" -#: library/sqlite3.rst:1469 +#: library/sqlite3.rst:1451 msgid "? (question mark)" msgstr "" -#: library/sqlite3.rst:1470 +#: library/sqlite3.rst:1452 msgid "in SQL statements" msgstr "" -#: library/sqlite3.rst:1470 +#: library/sqlite3.rst:1452 msgid ": (colon)" msgstr "" diff --git a/library/ssl.po b/library/ssl.po index 6181ca210..750421a86 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2913,7 +2913,7 @@ msgid "" "signature algorithm configuration, and rekeying are not supported yet." msgstr "" -#: library/ssl.rst:2653 +#: library/ssl.rst:2652 msgid "Class :class:`socket.socket`" msgstr "" @@ -2921,7 +2921,7 @@ msgstr "" msgid "Documentation of underlying :mod:`socket` class" msgstr "" -#: library/ssl.rst:2656 +#: library/ssl.rst:2655 msgid "" "`SSL/TLS Strong Encryption: An Introduction `_" @@ -2931,7 +2931,7 @@ msgstr "" msgid "Intro from the Apache HTTP Server documentation" msgstr "" -#: library/ssl.rst:2659 +#: library/ssl.rst:2658 msgid "" ":rfc:`RFC 1422: Privacy Enhancement for Internet Electronic Mail: Part II: " "Certificate-Based Key Management <1422>`" @@ -2941,7 +2941,7 @@ msgstr "" msgid "Steve Kent" msgstr "" -#: library/ssl.rst:2662 +#: library/ssl.rst:2661 msgid ":rfc:`RFC 4086: Randomness Requirements for Security <4086>`" msgstr "" @@ -2949,7 +2949,7 @@ msgstr "" msgid "Donald E., Jeffrey I. Schiller" msgstr "" -#: library/ssl.rst:2665 +#: library/ssl.rst:2664 msgid "" ":rfc:`RFC 5280: Internet X.509 Public Key Infrastructure Certificate and " "Certificate Revocation List (CRL) Profile <5280>`" @@ -2959,7 +2959,7 @@ msgstr "" msgid "D. Cooper" msgstr "" -#: library/ssl.rst:2668 +#: library/ssl.rst:2667 msgid "" ":rfc:`RFC 5246: The Transport Layer Security (TLS) Protocol Version 1.2 " "<5246>`" @@ -2969,7 +2969,7 @@ msgstr "" msgid "T. Dierks et. al." msgstr "" -#: library/ssl.rst:2671 +#: library/ssl.rst:2670 msgid ":rfc:`RFC 6066: Transport Layer Security (TLS) Extensions <6066>`" msgstr "" @@ -2977,7 +2977,7 @@ msgstr "" msgid "D. Eastlake" msgstr "" -#: library/ssl.rst:2674 +#: library/ssl.rst:2673 msgid "" "`IANA TLS: Transport Layer Security (TLS) Parameters `_" @@ -2987,7 +2987,7 @@ msgstr "" msgid "IANA" msgstr "" -#: library/ssl.rst:2677 +#: library/ssl.rst:2676 msgid "" ":rfc:`RFC 7525: Recommendations for Secure Use of Transport Layer Security " "(TLS) and Datagram Transport Layer Security (DTLS) <7525>`" diff --git a/library/statistics.po b/library/statistics.po index d4017625a..e8bf7598a 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -561,10 +561,10 @@ msgstr "" #: library/statistics.rst:452 msgid "" -"If the optional second argument *mu* is given, it is typically the mean of " -"the *data*. It can also be used to compute the second moment around a point " -"that is not the mean. If it is missing or ``None`` (the default), the " -"arithmetic mean is automatically calculated." +"If the optional second argument *mu* is given, it should be the *population* " +"mean of the *data*. It can also be used to compute the second moment around " +"a point that is not the mean. If it is missing or ``None`` (the default), " +"the arithmetic mean is automatically calculated." msgstr "" #: library/statistics.rst:457 @@ -625,8 +625,8 @@ msgstr "" #: library/statistics.rst:524 msgid "" -"If the optional second argument *xbar* is given, it should be the mean of " -"*data*. If it is missing or ``None`` (the default), the mean is " +"If the optional second argument *xbar* is given, it should be the *sample* " +"mean of *data*. If it is missing or ``None`` (the default), the mean is " "automatically calculated." msgstr "" @@ -642,8 +642,8 @@ msgstr "" #: library/statistics.rst:541 msgid "" -"If you have already calculated the mean of your data, you can pass it as the " -"optional second argument *xbar* to avoid recalculation:" +"If you have already calculated the sample mean of your data, you can pass it " +"as the optional second argument *xbar* to avoid recalculation:" msgstr "" #: library/statistics.rst:550 @@ -1165,6 +1165,6 @@ msgstr "" msgid "The points in ``xarr`` and ``yarr`` can be used to make a PDF plot:" msgstr "" -#: library/statistics.rst:-1 +#: library/statistics.rst:1126 msgid "Scatter plot of the estimated probability density function." msgstr "" diff --git a/library/stdtypes.po b/library/stdtypes.po index f68d0cd2c..b1de63e14 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2023-02-01 18:55-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -6438,7 +6438,7 @@ msgid "" "operator (see :data:`~typing.TypeVarTuple`)." msgstr "" -#: library/stdtypes.rst:5135 +#: library/stdtypes.rst:5134 msgid ":pep:`484` - Type Hints" msgstr "" @@ -6446,7 +6446,7 @@ msgstr "" msgid "Introducing Python's framework for type annotations." msgstr "" -#: library/stdtypes.rst:5140 +#: library/stdtypes.rst:5137 msgid ":pep:`585` - Type Hinting Generics In Standard Collections" msgstr "" ":pep:`585` - Standart Koleksiyonlarda Tip İma Etme (Type Hinting) Jenerikleri" @@ -6458,7 +6458,7 @@ msgid "" "__class_getitem__`." msgstr "" -#: library/stdtypes.rst:5143 +#: library/stdtypes.rst:5142 msgid "" ":ref:`Generics`, :ref:`user-defined generics ` and :" "class:`typing.Generic`" @@ -6975,23 +6975,22 @@ msgstr "" #: library/stdtypes.rst:5553 msgid "" -"Limiting conversion size offers a practical way to avoid `CVE-2020-10735 " -"`_." +"Limiting conversion size offers a practical way to avoid :cve:`2020-10735`." msgstr "" -#: library/stdtypes.rst:5556 +#: library/stdtypes.rst:5555 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:5560 +#: library/stdtypes.rst:5559 msgid "" "When an operation would exceed the limit, a :exc:`ValueError` is raised:" msgstr "" -#: library/stdtypes.rst:5582 +#: library/stdtypes.rst:5581 msgid "" "The default limit is 4300 digits as provided in :data:`sys.int_info." "default_max_str_digits `. The lowest limit that can be " @@ -6999,95 +6998,95 @@ msgid "" "str_digits_check_threshold `." msgstr "" -#: library/stdtypes.rst:5587 +#: library/stdtypes.rst:5586 msgid "Verification:" msgstr "Doğrulama" -#: library/stdtypes.rst:5602 +#: library/stdtypes.rst:5601 msgid "Affected APIs" msgstr "" -#: library/stdtypes.rst:5604 +#: library/stdtypes.rst:5603 msgid "" "The limitation only applies to potentially slow conversions between :class:" "`int` and :class:`str` or :class:`bytes`:" msgstr "" -#: library/stdtypes.rst:5607 +#: library/stdtypes.rst:5606 msgid "``int(string)`` with default base 10." msgstr "" -#: library/stdtypes.rst:5608 +#: library/stdtypes.rst:5607 msgid "``int(string, base)`` for all bases that are not a power of 2." msgstr "" -#: library/stdtypes.rst:5609 +#: library/stdtypes.rst:5608 msgid "``str(integer)``." msgstr "" -#: library/stdtypes.rst:5610 +#: library/stdtypes.rst:5609 msgid "``repr(integer)``." msgstr "" -#: library/stdtypes.rst:5611 +#: library/stdtypes.rst:5610 msgid "" "any other string conversion to base 10, for example ``f\"{integer}\"``, " "``\"{}\".format(integer)``, or ``b\"%d\" % integer``." msgstr "" -#: library/stdtypes.rst:5614 +#: library/stdtypes.rst:5613 msgid "The limitations do not apply to functions with a linear algorithm:" msgstr "" -#: library/stdtypes.rst:5616 +#: library/stdtypes.rst:5615 msgid "``int(string, base)`` with base 2, 4, 8, 16, or 32." msgstr "" -#: library/stdtypes.rst:5617 +#: library/stdtypes.rst:5616 msgid ":func:`int.from_bytes` and :func:`int.to_bytes`." msgstr "" -#: library/stdtypes.rst:5618 +#: library/stdtypes.rst:5617 msgid ":func:`hex`, :func:`oct`, :func:`bin`." msgstr "" -#: library/stdtypes.rst:5619 +#: library/stdtypes.rst:5618 msgid ":ref:`formatspec` for hex, octal, and binary numbers." msgstr "" -#: library/stdtypes.rst:5620 +#: library/stdtypes.rst:5619 #, fuzzy msgid ":class:`str` to :class:`float`." msgstr ":class:`str` 'den :class:`float` 'a." -#: library/stdtypes.rst:5621 +#: library/stdtypes.rst:5620 msgid ":class:`str` to :class:`decimal.Decimal`." msgstr "" -#: library/stdtypes.rst:5624 +#: library/stdtypes.rst:5623 msgid "Configuring the limit" msgstr "" -#: library/stdtypes.rst:5626 +#: library/stdtypes.rst:5625 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:5629 +#: library/stdtypes.rst:5628 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:5632 +#: library/stdtypes.rst:5631 msgid "" ":option:`-X int_max_str_digits <-X>`, e.g. ``python3 -X " "int_max_str_digits=640``" msgstr "" -#: library/stdtypes.rst:5634 +#: library/stdtypes.rst:5633 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 " @@ -7096,38 +7095,38 @@ msgid "" "int_info.default_max_str_digits` was used during initialization." msgstr "" -#: library/stdtypes.rst:5640 +#: library/stdtypes.rst:5639 msgid "" "From code, you can inspect the current limit and set a new one using these :" "mod:`sys` APIs:" msgstr "" -#: library/stdtypes.rst:5643 +#: library/stdtypes.rst:5642 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:5647 +#: library/stdtypes.rst:5646 msgid "" "Information about the default and minimum can be found in :data:`sys." "int_info`:" msgstr "" -#: library/stdtypes.rst:5649 +#: library/stdtypes.rst:5648 msgid "" ":data:`sys.int_info.default_max_str_digits ` is the compiled-" "in default limit." msgstr "" -#: library/stdtypes.rst:5651 +#: library/stdtypes.rst:5650 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:5658 +#: library/stdtypes.rst:5657 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 " @@ -7139,7 +7138,7 @@ msgid "" "constants is to convert them to ``0x`` hexadecimal form as it has no limit." msgstr "" -#: library/stdtypes.rst:5667 +#: library/stdtypes.rst:5666 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 " @@ -7147,11 +7146,11 @@ msgid "" "to precompile ``.py`` sources to ``.pyc`` files." msgstr "" -#: library/stdtypes.rst:5673 +#: library/stdtypes.rst:5672 msgid "Recommended configuration" msgstr "" -#: library/stdtypes.rst:5675 +#: library/stdtypes.rst:5674 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 " @@ -7159,19 +7158,19 @@ msgid "" "as these APIs were added in security patch releases in versions before 3.12." msgstr "" -#: library/stdtypes.rst:5680 +#: library/stdtypes.rst:5679 msgid "Example::" msgstr "Örnek::" -#: library/stdtypes.rst:5692 +#: library/stdtypes.rst:5691 msgid "If you need to disable it entirely, set it to ``0``." msgstr "" -#: library/stdtypes.rst:5696 +#: library/stdtypes.rst:5695 msgid "Footnotes" msgstr "Dipnotlar" -#: library/stdtypes.rst:5697 +#: library/stdtypes.rst:5696 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -7179,7 +7178,7 @@ msgstr "" "Bu özel yöntemler hakkında daha fazla bilgi Python Referans El Kitabında (:" "ref:`customization`) bulunabilir." -#: library/stdtypes.rst:5700 +#: library/stdtypes.rst:5699 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -7187,12 +7186,12 @@ msgstr "" "Sonuç olarak, ``[1, 2]`` listesi ``[1.0, 2.0]`` ve benzer şekilde demetler " "için eşit kabul edilir." -#: library/stdtypes.rst:5703 +#: library/stdtypes.rst:5702 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:5705 +#: library/stdtypes.rst:5704 msgid "" "Cased characters are those with general category property being one of " "\"Lu\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -7202,7 +7201,7 @@ msgstr "" "\"Ll\" (Harf, küçük harf) veya \"Lt\" (Harf, başlık) karakterlerinden biri " "olan karakterlerdir." -#: library/stdtypes.rst:5708 +#: library/stdtypes.rst:5707 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." diff --git a/library/struct.po b/library/struct.po index b0f5dc2d9..0268c918e 100644 --- a/library/struct.po +++ b/library/struct.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -755,7 +755,7 @@ msgid "" "end, assuming the platform's longs are aligned on 4-byte boundaries::" msgstr "" -#: library/struct.rst:447 +#: library/struct.rst:446 msgid "Module :mod:`array`" msgstr "" @@ -763,7 +763,7 @@ msgstr "" msgid "Packed binary storage of homogeneous data." msgstr "" -#: library/struct.rst:450 +#: library/struct.rst:449 msgid "Module :mod:`json`" msgstr "" diff --git a/library/subprocess.po b/library/subprocess.po index d06097191..ad3dca870 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -82,14 +82,15 @@ msgstr "" #: library/subprocess.rst:53 msgid "" "If *capture_output* is true, stdout and stderr will be captured. When used, " -"the internal :class:`Popen` object is automatically created with " -"``stdout=PIPE`` and ``stderr=PIPE``. The *stdout* and *stderr* arguments may " -"not be supplied at the same time as *capture_output*. If you wish to " -"capture and combine both streams into one, use ``stdout=PIPE`` and " -"``stderr=STDOUT`` instead of *capture_output*." +"the internal :class:`Popen` object is automatically created with *stdout* " +"and *stdin* both set to :data:`~subprocess.PIPE`. The *stdout* and *stderr* " +"arguments may not be supplied at the same time as *capture_output*. If you " +"wish to capture and combine both streams into one, set *stdout* to :data:" +"`~subprocess.PIPE` and *stderr* to :data:`~subprocess.STDOUT`, instead of " +"using *capture_output*." msgstr "" -#: library/subprocess.rst:60 +#: library/subprocess.rst:62 msgid "" "A *timeout* may be specified in seconds, it is internally passed on to :meth:" "`Popen.communicate`. If the timeout expires, the child process will be " @@ -99,16 +100,16 @@ msgid "" "a timeout exception until at least after however long process creation takes." msgstr "" -#: library/subprocess.rst:68 +#: library/subprocess.rst:70 msgid "" "The *input* argument is passed to :meth:`Popen.communicate` and thus to the " "subprocess's stdin. If used it must be a byte sequence, or a string if " "*encoding* or *errors* is specified or *text* is true. When used, the " -"internal :class:`Popen` object is automatically created with ``stdin=PIPE``, " -"and the *stdin* argument may not be used as well." +"internal :class:`Popen` object is automatically created with *stdin* set to :" +"data:`~subprocess.PIPE`, and the *stdin* argument may not be used as well." msgstr "" -#: library/subprocess.rst:74 +#: library/subprocess.rst:77 msgid "" "If *check* is true, and the process exits with a non-zero exit code, a :exc:" "`CalledProcessError` exception will be raised. Attributes of that exception " @@ -116,7 +117,7 @@ msgid "" "captured." msgstr "" -#: library/subprocess.rst:79 +#: library/subprocess.rst:82 msgid "" "If *encoding* or *errors* are specified, or *text* is true, file objects for " "stdin, stdout and stderr are opened in text mode using the specified " @@ -125,7 +126,7 @@ msgid "" "backwards compatibility. By default, file objects are opened in binary mode." msgstr "" -#: library/subprocess.rst:85 +#: library/subprocess.rst:88 msgid "" "If *env* is not ``None``, it must be a mapping that defines the environment " "variables for the new process; these are used instead of the default " @@ -135,22 +136,22 @@ msgid "" "`os.environb`." msgstr "" -#: library/subprocess.rst:92 +#: library/subprocess.rst:95 msgid "Examples::" msgstr "" -#: library/subprocess.rst:110 +#: library/subprocess.rst:113 msgid "Added *encoding* and *errors* parameters" msgstr "" -#: library/subprocess.rst:114 +#: library/subprocess.rst:117 msgid "" "Added the *text* parameter, as a more understandable alias of " "*universal_newlines*. Added the *capture_output* parameter." msgstr "" -#: library/subprocess.rst:503 library/subprocess.rst:1227 -#: library/subprocess.rst:1290 +#: library/subprocess.rst:506 library/subprocess.rst:1238 +#: library/subprocess.rst:1301 msgid "" "Changed Windows shell search order for ``shell=True``. The current directory " "and ``%PATH%`` are replaced with ``%COMSPEC%`` and ``%SystemRoot%" @@ -158,92 +159,92 @@ msgid "" "exe`` into a current directory no longer works." msgstr "" -#: library/subprocess.rst:127 +#: library/subprocess.rst:130 msgid "" "The return value from :func:`run`, representing a process that has finished." msgstr "" -#: library/subprocess.rst:131 +#: library/subprocess.rst:134 msgid "" "The arguments used to launch the process. This may be a list or a string." msgstr "" -#: library/subprocess.rst:135 +#: library/subprocess.rst:138 msgid "" "Exit status of the child process. Typically, an exit status of 0 indicates " "that it ran successfully." msgstr "" -#: library/subprocess.rst:934 +#: library/subprocess.rst:945 msgid "" "A negative value ``-N`` indicates that the child was terminated by signal " "``N`` (POSIX only)." msgstr "" -#: library/subprocess.rst:143 +#: library/subprocess.rst:146 msgid "" "Captured stdout from the child process. A bytes sequence, or a string if :" "func:`run` was called with an encoding, errors, or text=True. ``None`` if " "stdout was not captured." msgstr "" -#: library/subprocess.rst:147 +#: library/subprocess.rst:150 msgid "" "If you ran the process with ``stderr=subprocess.STDOUT``, stdout and stderr " "will be combined in this attribute, and :attr:`stderr` will be ``None``." msgstr "" -#: library/subprocess.rst:153 +#: library/subprocess.rst:156 msgid "" "Captured stderr from the child process. A bytes sequence, or a string if :" "func:`run` was called with an encoding, errors, or text=True. ``None`` if " "stderr was not captured." msgstr "" -#: library/subprocess.rst:159 +#: library/subprocess.rst:162 msgid "If :attr:`returncode` is non-zero, raise a :exc:`CalledProcessError`." msgstr "" -#: library/subprocess.rst:165 +#: library/subprocess.rst:168 msgid "" "Special value that can be used as the *stdin*, *stdout* or *stderr* argument " "to :class:`Popen` and indicates that the special file :data:`os.devnull` " "will be used." msgstr "" -#: library/subprocess.rst:174 +#: library/subprocess.rst:177 msgid "" "Special value that can be used as the *stdin*, *stdout* or *stderr* argument " "to :class:`Popen` and indicates that a pipe to the standard stream should be " "opened. Most useful with :meth:`Popen.communicate`." msgstr "" -#: library/subprocess.rst:181 +#: library/subprocess.rst:184 msgid "" "Special value that can be used as the *stderr* argument to :class:`Popen` " "and indicates that standard error should go into the same handle as standard " "output." msgstr "" -#: library/subprocess.rst:188 +#: library/subprocess.rst:191 msgid "Base class for all other exceptions from this module." msgstr "" -#: library/subprocess.rst:195 +#: library/subprocess.rst:198 msgid "" "Subclass of :exc:`SubprocessError`, raised when a timeout expires while " "waiting for a child process." msgstr "" -#: library/subprocess.rst:244 +#: library/subprocess.rst:247 msgid "Command that was used to spawn the child process." msgstr "" -#: library/subprocess.rst:204 +#: library/subprocess.rst:207 msgid "Timeout in seconds." msgstr "" -#: library/subprocess.rst:208 +#: library/subprocess.rst:211 msgid "" "Output of the child process if it was captured by :func:`run` or :func:" "`check_output`. Otherwise, ``None``. This is always :class:`bytes` when " @@ -251,11 +252,11 @@ msgid "" "remain ``None`` instead of ``b''`` when no output was observed." msgstr "" -#: library/subprocess.rst:253 +#: library/subprocess.rst:256 msgid "Alias for output, for symmetry with :attr:`stderr`." msgstr "" -#: library/subprocess.rst:220 +#: library/subprocess.rst:223 msgid "" "Stderr output of the child process if it was captured by :func:`run`. " "Otherwise, ``None``. This is always :class:`bytes` when stderr output was " @@ -263,40 +264,40 @@ msgid "" "instead of ``b''`` when no stderr output was observed." msgstr "" -#: library/subprocess.rst:260 +#: library/subprocess.rst:263 msgid "*stdout* and *stderr* attributes added" msgstr "" -#: library/subprocess.rst:232 +#: library/subprocess.rst:235 msgid "" "Subclass of :exc:`SubprocessError`, raised when a process run by :func:" "`check_call`, :func:`check_output`, or :func:`run` (with ``check=True``) " "returns a non-zero exit status." msgstr "" -#: library/subprocess.rst:239 +#: library/subprocess.rst:242 msgid "" "Exit status of the child process. If the process exited due to a signal, " "this will be the negative signal number." msgstr "" -#: library/subprocess.rst:248 +#: library/subprocess.rst:251 msgid "" "Output of the child process if it was captured by :func:`run` or :func:" "`check_output`. Otherwise, ``None``." msgstr "" -#: library/subprocess.rst:257 +#: library/subprocess.rst:260 msgid "" "Stderr output of the child process if it was captured by :func:`run`. " "Otherwise, ``None``." msgstr "" -#: library/subprocess.rst:267 +#: library/subprocess.rst:270 msgid "Frequently Used Arguments" msgstr "" -#: library/subprocess.rst:269 +#: library/subprocess.rst:272 msgid "" "To support a wide variety of use cases, the :class:`Popen` constructor (and " "the convenience functions) accept a large number of optional arguments. For " @@ -304,7 +305,7 @@ msgid "" "default values. The arguments that are most commonly needed are:" msgstr "" -#: library/subprocess.rst:274 +#: library/subprocess.rst:277 msgid "" "*args* is required for all calls and should be a string, or a sequence of " "program arguments. Providing a sequence of arguments is generally preferred, " @@ -314,7 +315,7 @@ msgid "" "simply name the program to be executed without specifying any arguments." msgstr "" -#: library/subprocess.rst:282 +#: library/subprocess.rst:285 msgid "" "*stdin*, *stdout* and *stderr* specify the executed program's standard " "input, standard output and standard error file handles, respectively. Valid " @@ -328,7 +329,7 @@ msgid "" "captured into the same file handle as for *stdout*." msgstr "" -#: library/subprocess.rst:296 +#: library/subprocess.rst:299 msgid "" "If *encoding* or *errors* are specified, or *text* (also known as " "*universal_newlines*) is true, the file objects *stdin*, *stdout* and " @@ -336,7 +337,7 @@ msgid "" "specified in the call or the defaults for :class:`io.TextIOWrapper`." msgstr "" -#: library/subprocess.rst:302 +#: library/subprocess.rst:305 msgid "" "For *stdin*, line ending characters ``'\\n'`` in the input will be converted " "to the default line separator :data:`os.linesep`. For *stdout* and *stderr*, " @@ -345,28 +346,28 @@ msgid "" "when the *newline* argument to its constructor is ``None``." msgstr "" -#: library/subprocess.rst:308 +#: library/subprocess.rst:311 msgid "" "If text mode is not used, *stdin*, *stdout* and *stderr* will be opened as " "binary streams. No encoding or line ending conversion is performed." msgstr "" -#: library/subprocess.rst:1542 library/subprocess.rst:1560 +#: library/subprocess.rst:1553 library/subprocess.rst:1571 msgid "Added the *encoding* and *errors* parameters." msgstr "" -#: library/subprocess.rst:314 +#: library/subprocess.rst:317 msgid "Added the *text* parameter as an alias for *universal_newlines*." msgstr "" -#: library/subprocess.rst:319 +#: library/subprocess.rst:322 msgid "" "The newlines attribute of the file objects :attr:`Popen.stdin`, :attr:`Popen." "stdout` and :attr:`Popen.stderr` are not updated by the :meth:`Popen." "communicate` method." msgstr "" -#: library/subprocess.rst:323 +#: library/subprocess.rst:326 msgid "" "If *shell* is ``True``, the specified command will be executed through the " "shell. This can be useful if you are using Python primarily for the " @@ -379,7 +380,7 @@ msgid "" "expanduser`, and :mod:`shutil`)." msgstr "" -#: library/subprocess.rst:333 +#: library/subprocess.rst:336 msgid "" "When *universal_newlines* is ``True``, the class uses the encoding :func:" "`locale.getpreferredencoding(False) ` instead " @@ -387,22 +388,22 @@ msgid "" "class for more information on this change." msgstr "" -#: library/subprocess.rst:462 +#: library/subprocess.rst:465 msgid "" "Read the `Security Considerations`_ section before using ``shell=True``." msgstr "" -#: library/subprocess.rst:343 +#: library/subprocess.rst:346 msgid "" "These options, along with all of the other options, are described in more " "detail in the :class:`Popen` constructor documentation." msgstr "" -#: library/subprocess.rst:348 +#: library/subprocess.rst:351 msgid "Popen Constructor" msgstr "" -#: library/subprocess.rst:350 +#: library/subprocess.rst:353 msgid "" "The underlying process creation and management in this module is handled by " "the :class:`Popen` class. It offers a lot of flexibility so that developers " @@ -410,7 +411,7 @@ msgid "" "functions." msgstr "" -#: library/subprocess.rst:365 +#: library/subprocess.rst:368 msgid "" "Execute a child program in a new process. On POSIX, the class uses :meth:" "`os.execvpe`-like behavior to execute the child program. On Windows, the " @@ -418,7 +419,7 @@ msgid "" "class:`Popen` are as follows." msgstr "" -#: library/subprocess.rst:370 +#: library/subprocess.rst:373 msgid "" "*args* should be a sequence of program arguments or else a single string or :" "term:`path-like object`. By default, the program to execute is the first " @@ -429,7 +430,7 @@ msgid "" "sequence." msgstr "" -#: library/subprocess.rst:380 +#: library/subprocess.rst:383 msgid "" "For maximum reliability, use a fully qualified path for the executable. To " "search for an unqualified name on :envvar:`PATH`, use :meth:`shutil.which`. " @@ -438,7 +439,7 @@ msgid "" "format to launch an installed module." msgstr "" -#: library/subprocess.rst:386 +#: library/subprocess.rst:389 msgid "" "Resolving the path of *executable* (or the first item of *args*) is platform " "dependent. For POSIX, see :meth:`os.execvpe`, and note that when resolving " @@ -452,27 +453,27 @@ msgid "" "variations." msgstr "" -#: library/subprocess.rst:397 +#: library/subprocess.rst:400 msgid "" "An example of passing some arguments to an external program as a sequence " "is::" msgstr "" -#: library/subprocess.rst:402 +#: library/subprocess.rst:405 msgid "" "On POSIX, if *args* is a string, the string is interpreted as the name or " "path of the program to execute. However, this can only be done if not " "passing arguments to the program." msgstr "" -#: library/subprocess.rst:408 +#: library/subprocess.rst:411 msgid "" "It may not be obvious how to break a shell command into a sequence of " "arguments, especially in complex cases. :meth:`shlex.split` can illustrate " "how to determine the correct tokenization for *args*::" msgstr "" -#: library/subprocess.rst:420 +#: library/subprocess.rst:423 msgid "" "Note in particular that options (such as *-input*) and arguments (such as " "*eggs.txt*) that are separated by whitespace in the shell go in separate " @@ -481,33 +482,33 @@ msgid "" "shown above) are single list elements." msgstr "" -#: library/subprocess.rst:426 +#: library/subprocess.rst:429 msgid "" "On Windows, if *args* is a sequence, it will be converted to a string in a " "manner described in :ref:`converting-argument-sequence`. This is because " "the underlying ``CreateProcess()`` operates on strings." msgstr "" -#: library/subprocess.rst:430 +#: library/subprocess.rst:433 msgid "" "*args* parameter accepts a :term:`path-like object` if *shell* is ``False`` " "and a sequence containing path-like objects on POSIX." msgstr "" -#: library/subprocess.rst:434 +#: library/subprocess.rst:437 msgid "" "*args* parameter accepts a :term:`path-like object` if *shell* is ``False`` " "and a sequence containing bytes and path-like objects on Windows." msgstr "" -#: library/subprocess.rst:439 +#: library/subprocess.rst:442 msgid "" "The *shell* argument (which defaults to ``False``) specifies whether to use " "the shell as the program to execute. If *shell* is ``True``, it is " "recommended to pass *args* as a string rather than as a sequence." msgstr "" -#: library/subprocess.rst:443 +#: library/subprocess.rst:446 msgid "" "On POSIX with ``shell=True``, the shell defaults to :file:`/bin/sh`. If " "*args* is a string, the string specifies the command to execute through the " @@ -519,7 +520,7 @@ msgid "" "class:`Popen` does the equivalent of::" msgstr "" -#: library/subprocess.rst:454 +#: library/subprocess.rst:457 msgid "" "On Windows with ``shell=True``, the :envvar:`COMSPEC` environment variable " "specifies the default shell. The only time you need to specify " @@ -528,35 +529,35 @@ msgid "" "``shell=True`` to run a batch file or console-based executable." msgstr "" -#: library/subprocess.rst:464 +#: library/subprocess.rst:467 msgid "" "*bufsize* will be supplied as the corresponding argument to the :func:`open` " "function when creating the stdin/stdout/stderr pipe file objects:" msgstr "" -#: library/subprocess.rst:468 +#: library/subprocess.rst:471 msgid "" "``0`` means unbuffered (read and write are one system call and can return " "short)" msgstr "" -#: library/subprocess.rst:470 +#: library/subprocess.rst:473 msgid "" "``1`` means line buffered (only usable if ``text=True`` or " "``universal_newlines=True``)" msgstr "" -#: library/subprocess.rst:472 +#: library/subprocess.rst:475 msgid "any other positive value means use a buffer of approximately that size" msgstr "" -#: library/subprocess.rst:474 +#: library/subprocess.rst:477 msgid "" "negative bufsize (the default) means the system default of io." "DEFAULT_BUFFER_SIZE will be used." msgstr "" -#: library/subprocess.rst:477 +#: library/subprocess.rst:480 msgid "" "*bufsize* now defaults to -1 to enable buffering by default to match the " "behavior that most code expects. In versions prior to Python 3.2.4 and " @@ -565,7 +566,7 @@ msgid "" "Python 2 as most code expected." msgstr "" -#: library/subprocess.rst:484 +#: library/subprocess.rst:487 msgid "" "The *executable* argument specifies a replacement program to execute. It " "is very seldom needed. When ``shell=False``, *executable* replaces the " @@ -578,17 +579,17 @@ msgid "" "default :file:`/bin/sh`." msgstr "" -#: library/subprocess.rst:494 +#: library/subprocess.rst:497 msgid "*executable* parameter accepts a :term:`path-like object` on POSIX." msgstr "" -#: library/subprocess.rst:497 +#: library/subprocess.rst:500 msgid "" "*executable* parameter accepts a bytes and :term:`path-like object` on " "Windows." msgstr "" -#: library/subprocess.rst:509 +#: library/subprocess.rst:512 msgid "" "*stdin*, *stdout* and *stderr* specify the executed program's standard " "input, standard output and standard error file handles, respectively. Valid " @@ -602,19 +603,19 @@ msgid "" "captured into the same file handle as for *stdout*." msgstr "" -#: library/subprocess.rst:520 +#: library/subprocess.rst:523 msgid "" "If *preexec_fn* is set to a callable object, this object will be called in " "the child process just before the child is executed. (POSIX only)" msgstr "" -#: library/subprocess.rst:526 +#: library/subprocess.rst:529 msgid "" "The *preexec_fn* parameter is NOT SAFE to use in the presence of threads in " "your application. The child process could deadlock before exec is called." msgstr "" -#: library/subprocess.rst:532 +#: library/subprocess.rst:535 msgid "" "If you need to modify the environment for the child use the *env* parameter " "rather than doing it in a *preexec_fn*. The *start_new_session* and " @@ -622,7 +623,7 @@ msgid "" "to call :func:`os.setsid` or :func:`os.setpgid` in the child." msgstr "" -#: library/subprocess.rst:539 +#: library/subprocess.rst:542 msgid "" "The *preexec_fn* parameter is no longer supported in subinterpreters. The " "use of the parameter in a subinterpreter raises :exc:`RuntimeError`. The new " @@ -630,7 +631,7 @@ msgid "" "and other embedded environments." msgstr "" -#: library/subprocess.rst:544 +#: library/subprocess.rst:547 msgid "" "If *close_fds* is true, all file descriptors except ``0``, ``1`` and ``2`` " "will be closed before the child process is executed. Otherwise when " @@ -638,38 +639,38 @@ msgid "" "described in :ref:`fd_inheritance`." msgstr "" -#: library/subprocess.rst:549 +#: library/subprocess.rst:552 msgid "" "On Windows, if *close_fds* is true then no handles will be inherited by the " "child process unless explicitly passed in the ``handle_list`` element of :" "attr:`STARTUPINFO.lpAttributeList`, or by standard handle redirection." msgstr "" -#: library/subprocess.rst:553 +#: library/subprocess.rst:556 msgid "" "The default for *close_fds* was changed from :const:`False` to what is " "described above." msgstr "" -#: library/subprocess.rst:557 +#: library/subprocess.rst:560 msgid "" "On Windows the default for *close_fds* was changed from :const:`False` to :" "const:`True` when redirecting the standard handles. It's now possible to set " "*close_fds* to :const:`True` when redirecting the standard handles." msgstr "" -#: library/subprocess.rst:562 +#: library/subprocess.rst:565 msgid "" "*pass_fds* is an optional sequence of file descriptors to keep open between " "the parent and child. Providing any *pass_fds* forces *close_fds* to be :" "const:`True`. (POSIX only)" msgstr "" -#: library/subprocess.rst:566 +#: library/subprocess.rst:569 msgid "The *pass_fds* parameter was added." msgstr "" -#: library/subprocess.rst:569 +#: library/subprocess.rst:572 msgid "" "If *cwd* is not ``None``, the function changes the working directory to " "*cwd* before executing the child. *cwd* can be a string, bytes or :term:" @@ -678,56 +679,56 @@ msgid "" "executable path is a relative path." msgstr "" -#: library/subprocess.rst:575 +#: library/subprocess.rst:578 msgid "*cwd* parameter accepts a :term:`path-like object` on POSIX." msgstr "" -#: library/subprocess.rst:578 +#: library/subprocess.rst:581 msgid "*cwd* parameter accepts a :term:`path-like object` on Windows." msgstr "" -#: library/subprocess.rst:581 +#: library/subprocess.rst:584 msgid "*cwd* parameter accepts a bytes object on Windows." msgstr "" -#: library/subprocess.rst:584 +#: library/subprocess.rst:587 msgid "" "If *restore_signals* is true (the default) all signals that Python has set " "to SIG_IGN are restored to SIG_DFL in the child process before the exec. " "Currently this includes the SIGPIPE, SIGXFZ and SIGXFSZ signals. (POSIX only)" msgstr "" -#: library/subprocess.rst:589 +#: library/subprocess.rst:592 msgid "*restore_signals* was added." msgstr "" -#: library/subprocess.rst:592 +#: library/subprocess.rst:595 msgid "" "If *start_new_session* is true the ``setsid()`` system call will be made in " "the child process prior to the execution of the subprocess." msgstr "" -#: library/subprocess.rst:602 library/subprocess.rst:621 -#: library/subprocess.rst:636 +#: library/subprocess.rst:605 library/subprocess.rst:624 +#: library/subprocess.rst:639 msgid ":ref:`Availability `: POSIX" msgstr "" -#: library/subprocess.rst:596 +#: library/subprocess.rst:599 msgid "*start_new_session* was added." msgstr "" -#: library/subprocess.rst:599 +#: library/subprocess.rst:602 msgid "" "If *process_group* is a non-negative integer, the ``setpgid(0, value)`` " "system call will be made in the child process prior to the execution of the " "subprocess." msgstr "" -#: library/subprocess.rst:603 +#: library/subprocess.rst:606 msgid "*process_group* was added." msgstr "" -#: library/subprocess.rst:606 +#: library/subprocess.rst:609 msgid "" "If *group* is not ``None``, the setregid() system call will be made in the " "child process prior to the execution of the subprocess. If the provided " @@ -736,7 +737,7 @@ msgid "" "passed verbatim. (POSIX only)" msgstr "" -#: library/subprocess.rst:615 +#: library/subprocess.rst:618 msgid "" "If *extra_groups* is not ``None``, the setgroups() system call will be made " "in the child process prior to the execution of the subprocess. Strings " @@ -745,7 +746,7 @@ msgid "" "verbatim. (POSIX only)" msgstr "" -#: library/subprocess.rst:624 +#: library/subprocess.rst:627 msgid "" "If *user* is not ``None``, the setreuid() system call will be made in the " "child process prior to the execution of the subprocess. If the provided " @@ -754,13 +755,13 @@ msgid "" "passed verbatim. (POSIX only)" msgstr "" -#: library/subprocess.rst:633 +#: library/subprocess.rst:636 msgid "" "If *umask* is not negative, the umask() system call will be made in the " "child process prior to the execution of the subprocess." msgstr "" -#: library/subprocess.rst:639 +#: library/subprocess.rst:642 msgid "" "If *env* is not ``None``, it must be a mapping that defines the environment " "variables for the new process; these are used instead of the default " @@ -769,14 +770,14 @@ msgid "" "data:`os.environ` or :data:`os.environb`." msgstr "" -#: library/subprocess.rst:647 +#: library/subprocess.rst:650 msgid "" "If specified, *env* must provide any variables required for the program to " "execute. On Windows, in order to run a `side-by-side assembly`_ the " "specified *env* **must** include a valid :envvar:`SystemRoot`." msgstr "" -#: library/subprocess.rst:653 +#: library/subprocess.rst:656 msgid "" "If *encoding* or *errors* are specified, or *text* is true, the file objects " "*stdin*, *stdout* and *stderr* are opened in text mode with the specified " @@ -786,73 +787,73 @@ msgid "" "in binary mode." msgstr "" -#: library/subprocess.rst:659 +#: library/subprocess.rst:662 msgid "*encoding* and *errors* were added." msgstr "" -#: library/subprocess.rst:1285 +#: library/subprocess.rst:1296 msgid "*text* was added as a more readable alias for *universal_newlines*." msgstr "" -#: library/subprocess.rst:665 +#: library/subprocess.rst:668 msgid "" "If given, *startupinfo* will be a :class:`STARTUPINFO` object, which is " "passed to the underlying ``CreateProcess`` function." msgstr "" -#: library/subprocess.rst:668 +#: library/subprocess.rst:671 msgid "If given, *creationflags*, can be one or more of the following flags:" msgstr "" -#: library/subprocess.rst:670 +#: library/subprocess.rst:673 msgid ":data:`CREATE_NEW_CONSOLE`" msgstr "" -#: library/subprocess.rst:671 +#: library/subprocess.rst:674 msgid ":data:`CREATE_NEW_PROCESS_GROUP`" msgstr "" -#: library/subprocess.rst:672 +#: library/subprocess.rst:675 msgid ":data:`ABOVE_NORMAL_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:673 +#: library/subprocess.rst:676 msgid ":data:`BELOW_NORMAL_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:674 +#: library/subprocess.rst:677 msgid ":data:`HIGH_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:675 +#: library/subprocess.rst:678 msgid ":data:`IDLE_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:676 +#: library/subprocess.rst:679 msgid ":data:`NORMAL_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:677 +#: library/subprocess.rst:680 msgid ":data:`REALTIME_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:678 +#: library/subprocess.rst:681 msgid ":data:`CREATE_NO_WINDOW`" msgstr "" -#: library/subprocess.rst:679 +#: library/subprocess.rst:682 msgid ":data:`DETACHED_PROCESS`" msgstr "" -#: library/subprocess.rst:680 +#: library/subprocess.rst:683 msgid ":data:`CREATE_DEFAULT_ERROR_MODE`" msgstr "" -#: library/subprocess.rst:681 +#: library/subprocess.rst:684 msgid ":data:`CREATE_BREAKAWAY_FROM_JOB`" msgstr "" -#: library/subprocess.rst:683 +#: library/subprocess.rst:686 msgid "" "*pipesize* can be used to change the size of the pipe when :data:`PIPE` is " "used for *stdin*, *stdout* or *stderr*. The size of the pipe is only changed " @@ -860,24 +861,24 @@ msgid "" "platforms will ignore this parameter." msgstr "" -#: library/subprocess.rst:688 +#: library/subprocess.rst:691 msgid "Added the *pipesize* parameter." msgstr "" -#: library/subprocess.rst:691 +#: library/subprocess.rst:694 msgid "" "Popen objects are supported as context managers via the :keyword:`with` " "statement: on exit, standard file descriptors are closed, and the process is " "waited for. ::" msgstr "" -#: library/subprocess.rst:709 +#: library/subprocess.rst:712 msgid "" "Raises an :ref:`auditing event ` ``subprocess.Popen`` with " "arguments ``executable``, ``args``, ``cwd``, ``env``." msgstr "" -#: library/subprocess.rst:700 +#: library/subprocess.rst:703 msgid "" "Popen and the other functions in this module that use it raise an :ref:" "`auditing event ` ``subprocess.Popen`` with arguments " @@ -885,17 +886,17 @@ msgid "" "be a single string or a list of strings, depending on platform." msgstr "" -#: library/subprocess.rst:705 +#: library/subprocess.rst:708 msgid "Added context manager support." msgstr "" -#: library/subprocess.rst:708 +#: library/subprocess.rst:711 msgid "" "Popen destructor now emits a :exc:`ResourceWarning` warning if the child " "process is still running." msgstr "" -#: library/subprocess.rst:712 +#: library/subprocess.rst:715 msgid "" "Popen can use :func:`os.posix_spawn` in some cases for better performance. " "On Windows Subsystem for Linux and QEMU User Emulation, Popen constructor " @@ -904,17 +905,17 @@ msgid "" "returncode`." msgstr "" -#: library/subprocess.rst:721 +#: library/subprocess.rst:724 msgid "Exceptions" msgstr "" -#: library/subprocess.rst:723 +#: library/subprocess.rst:726 msgid "" "Exceptions raised in the child process, before the new program has started " "to execute, will be re-raised in the parent." msgstr "" -#: library/subprocess.rst:726 +#: library/subprocess.rst:729 msgid "" "The most common exception raised is :exc:`OSError`. This occurs, for " "example, when trying to execute a non-existent file. Applications should " @@ -925,42 +926,42 @@ msgid "" "subprocess." msgstr "" -#: library/subprocess.rst:733 +#: library/subprocess.rst:736 msgid "" "A :exc:`ValueError` will be raised if :class:`Popen` is called with invalid " "arguments." msgstr "" -#: library/subprocess.rst:736 +#: library/subprocess.rst:739 msgid "" ":func:`check_call` and :func:`check_output` will raise :exc:" "`CalledProcessError` if the called process returns a non-zero return code." msgstr "" -#: library/subprocess.rst:740 +#: library/subprocess.rst:743 msgid "" "All of the functions and methods that accept a *timeout* parameter, such as :" "func:`run` and :meth:`Popen.communicate` will raise :exc:`TimeoutExpired` if " "the timeout expires before the process exits." msgstr "" -#: library/subprocess.rst:744 +#: library/subprocess.rst:747 msgid "" "Exceptions defined in this module all inherit from :exc:`SubprocessError`." msgstr "" -#: library/subprocess.rst:746 +#: library/subprocess.rst:749 msgid "The :exc:`SubprocessError` base class was added." msgstr "" -#: library/subprocess.rst:752 +#: library/subprocess.rst:755 msgid "Security Considerations" msgstr "" -#: library/subprocess.rst:754 +#: library/subprocess.rst:757 msgid "" -"Unlike some other popen functions, this implementation will never implicitly " -"call a system shell. This means that all characters, including shell " +"Unlike some other popen functions, this library will not implicitly choose " +"to call a system shell. This means that all characters, including shell " "metacharacters, can safely be passed to child processes. If the shell is " "invoked explicitly, via ``shell=True``, it is the application's " "responsibility to ensure that all whitespace and metacharacters are quoted " @@ -970,34 +971,45 @@ msgid "" "escaping." msgstr "" -#: library/subprocess.rst:766 +#: library/subprocess.rst:767 +msgid "" +"On Windows, batch files (:file:`*.bat` or :file:`*.cmd`) may be launched by " +"the operating system in a system shell regardless of the arguments passed to " +"this library. This could result in arguments being parsed according to shell " +"rules, but without any escaping added by Python. If you are intentionally " +"launching a batch file with arguments from untrusted sources, consider " +"passing ``shell=True`` to allow Python to escape special characters. See :gh:" +"`114539` for additional discussion." +msgstr "" + +#: library/subprocess.rst:777 msgid "Popen Objects" msgstr "" -#: library/subprocess.rst:768 +#: library/subprocess.rst:779 msgid "Instances of the :class:`Popen` class have the following methods:" msgstr "" -#: library/subprocess.rst:773 +#: library/subprocess.rst:784 msgid "" "Check if child process has terminated. Set and return :attr:`~Popen." "returncode` attribute. Otherwise, returns ``None``." msgstr "" -#: library/subprocess.rst:779 +#: library/subprocess.rst:790 msgid "" "Wait for child process to terminate. Set and return :attr:`~Popen." "returncode` attribute." msgstr "" -#: library/subprocess.rst:782 +#: library/subprocess.rst:793 msgid "" "If the process does not terminate after *timeout* seconds, raise a :exc:" "`TimeoutExpired` exception. It is safe to catch this exception and retry " "the wait." msgstr "" -#: library/subprocess.rst:788 +#: library/subprocess.rst:799 msgid "" "This will deadlock when using ``stdout=PIPE`` or ``stderr=PIPE`` and the " "child process generates enough output to a pipe such that it blocks waiting " @@ -1005,7 +1017,7 @@ msgid "" "when using pipes to avoid that." msgstr "" -#: library/subprocess.rst:795 +#: library/subprocess.rst:806 msgid "" "When the ``timeout`` parameter is not ``None``, then (on POSIX) the function " "is implemented using a busy loop (non-blocking call and short sleeps). Use " @@ -1013,12 +1025,12 @@ msgid "" "create_subprocess_exec`." msgstr "" -#: library/subprocess.rst:841 library/subprocess.rst:1222 -#: library/subprocess.rst:1276 +#: library/subprocess.rst:852 library/subprocess.rst:1233 +#: library/subprocess.rst:1287 msgid "*timeout* was added." msgstr "" -#: library/subprocess.rst:805 +#: library/subprocess.rst:816 msgid "" "Interact with process: Send data to stdin. Read data from stdout and " "stderr, until end-of-file is reached. Wait for process to terminate and set " @@ -1028,13 +1040,13 @@ msgid "" "must be a string. Otherwise, it must be bytes." msgstr "" -#: library/subprocess.rst:812 +#: library/subprocess.rst:823 msgid "" ":meth:`communicate` returns a tuple ``(stdout_data, stderr_data)``. The data " "will be strings if streams were opened in text mode; otherwise, bytes." msgstr "" -#: library/subprocess.rst:816 +#: library/subprocess.rst:827 msgid "" "Note that if you want to send data to the process's stdin, you need to " "create the Popen object with ``stdin=PIPE``. Similarly, to get anything " @@ -1042,67 +1054,67 @@ msgid "" "and/or ``stderr=PIPE`` too." msgstr "" -#: library/subprocess.rst:821 +#: library/subprocess.rst:832 msgid "" "If the process does not terminate after *timeout* seconds, a :exc:" "`TimeoutExpired` exception will be raised. Catching this exception and " "retrying communication will not lose any output." msgstr "" -#: library/subprocess.rst:825 +#: library/subprocess.rst:836 msgid "" "The child process is not killed if the timeout expires, so in order to " "cleanup properly a well-behaved application should kill the child process " "and finish communication::" msgstr "" -#: library/subprocess.rst:838 +#: library/subprocess.rst:849 msgid "" "The data read is buffered in memory, so do not use this method if the data " "size is large or unlimited." msgstr "" -#: library/subprocess.rst:847 +#: library/subprocess.rst:858 msgid "Sends the signal *signal* to the child." msgstr "" -#: library/subprocess.rst:849 +#: library/subprocess.rst:860 msgid "Do nothing if the process completed." msgstr "" -#: library/subprocess.rst:853 +#: library/subprocess.rst:864 msgid "" "On Windows, SIGTERM is an alias for :meth:`terminate`. CTRL_C_EVENT and " "CTRL_BREAK_EVENT can be sent to processes started with a *creationflags* " "parameter which includes ``CREATE_NEW_PROCESS_GROUP``." msgstr "" -#: library/subprocess.rst:860 +#: library/subprocess.rst:871 msgid "" "Stop the child. On POSIX OSs the method sends :py:const:`~signal.SIGTERM` to " "the child. On Windows the Win32 API function :c:func:`!TerminateProcess` is " "called to stop the child." msgstr "" -#: library/subprocess.rst:867 +#: library/subprocess.rst:878 msgid "" "Kills the child. On POSIX OSs the function sends SIGKILL to the child. On " "Windows :meth:`kill` is an alias for :meth:`terminate`." msgstr "" -#: library/subprocess.rst:871 +#: library/subprocess.rst:882 msgid "" "The following attributes are also set by the class for you to access. " "Reassigning them to new values is unsupported:" msgstr "" -#: library/subprocess.rst:876 +#: library/subprocess.rst:887 msgid "" "The *args* argument as it was passed to :class:`Popen` -- a sequence of " "program arguments or else a single string." msgstr "" -#: library/subprocess.rst:883 +#: library/subprocess.rst:894 msgid "" "If the *stdin* argument was :data:`PIPE`, this attribute is a writeable " "stream object as returned by :func:`open`. If the *encoding* or *errors* " @@ -1111,7 +1123,7 @@ msgid "" "*stdin* argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: library/subprocess.rst:892 +#: library/subprocess.rst:903 msgid "" "If the *stdout* argument was :data:`PIPE`, this attribute is a readable " "stream object as returned by :func:`open`. Reading from the stream provides " @@ -1121,7 +1133,7 @@ msgid "" "argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: library/subprocess.rst:902 +#: library/subprocess.rst:913 msgid "" "If the *stderr* argument was :data:`PIPE`, this attribute is a readable " "stream object as returned by :func:`open`. Reading from the stream provides " @@ -1131,7 +1143,7 @@ msgid "" "argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: library/subprocess.rst:911 +#: library/subprocess.rst:922 msgid "" "Use :meth:`~Popen.communicate` rather than :attr:`.stdin.write `, :attr:`.stdout.read ` or :attr:`.stderr.read `__ structure is used for :class:`Popen` " @@ -1180,38 +1192,38 @@ msgid "" "only arguments." msgstr "" -#: library/subprocess.rst:952 +#: library/subprocess.rst:963 msgid "Keyword-only argument support was added." msgstr "" -#: library/subprocess.rst:957 +#: library/subprocess.rst:968 msgid "" "A bit field that determines whether certain :class:`STARTUPINFO` attributes " "are used when the process creates a window. ::" msgstr "" -#: library/subprocess.rst:965 +#: library/subprocess.rst:976 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:972 +#: library/subprocess.rst:983 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:979 +#: library/subprocess.rst:990 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:985 +#: library/subprocess.rst:996 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this attribute " "can be any of the values that can be specified in the ``nCmdShow`` parameter " @@ -1220,34 +1232,34 @@ msgid "" "Otherwise, this attribute is ignored." msgstr "" -#: library/subprocess.rst:992 +#: library/subprocess.rst:1003 msgid "" ":data:`SW_HIDE` is provided for this attribute. It is used when :class:" "`Popen` is called with ``shell=True``." msgstr "" -#: library/subprocess.rst:997 +#: library/subprocess.rst:1008 msgid "" "A dictionary of additional attributes for process creation as given in " "``STARTUPINFOEX``, see `UpdateProcThreadAttribute `__." msgstr "" -#: library/subprocess.rst:1001 +#: library/subprocess.rst:1012 msgid "Supported attributes:" msgstr "" -#: library/subprocess.rst:1019 +#: library/subprocess.rst:1014 msgid "**handle_list**" msgstr "" -#: library/subprocess.rst:1004 +#: library/subprocess.rst:1015 msgid "" "Sequence of handles that will be inherited. *close_fds* must be true if non-" "empty." msgstr "" -#: library/subprocess.rst:1007 +#: library/subprocess.rst:1018 msgid "" "The handles must be temporarily made inheritable by :func:`os." "set_handle_inheritable` when passed to the :class:`Popen` constructor, else :" @@ -1255,7 +1267,7 @@ msgid "" "``ERROR_INVALID_PARAMETER`` (87)." msgstr "" -#: library/subprocess.rst:1014 +#: library/subprocess.rst:1025 msgid "" "In a multithreaded process, use caution to avoid leaking handles that are " "marked inheritable when combining this feature with concurrent calls to " @@ -1264,97 +1276,97 @@ msgid "" "temporarily creates inheritable handles." msgstr "" -#: library/subprocess.rst:1024 +#: library/subprocess.rst:1035 msgid "Windows Constants" msgstr "" -#: library/subprocess.rst:1026 +#: library/subprocess.rst:1037 msgid "The :mod:`subprocess` module exposes the following constants." msgstr "" -#: library/subprocess.rst:1030 +#: library/subprocess.rst:1041 msgid "" "The standard input device. Initially, this is the console input buffer, " "``CONIN$``." msgstr "" -#: library/subprocess.rst:1035 +#: library/subprocess.rst:1046 msgid "" "The standard output device. Initially, this is the active console screen " "buffer, ``CONOUT$``." msgstr "" -#: library/subprocess.rst:1040 +#: library/subprocess.rst:1051 msgid "" "The standard error device. Initially, this is the active console screen " "buffer, ``CONOUT$``." msgstr "" -#: library/subprocess.rst:1045 +#: library/subprocess.rst:1056 msgid "Hides the window. Another window will be activated." msgstr "" -#: library/subprocess.rst:1049 +#: library/subprocess.rst:1060 msgid "" "Specifies that the :attr:`STARTUPINFO.hStdInput`, :attr:`STARTUPINFO." "hStdOutput`, and :attr:`STARTUPINFO.hStdError` attributes contain additional " "information." msgstr "" -#: library/subprocess.rst:1055 +#: library/subprocess.rst:1066 msgid "" "Specifies that the :attr:`STARTUPINFO.wShowWindow` attribute contains " "additional information." msgstr "" -#: library/subprocess.rst:1060 +#: library/subprocess.rst:1071 msgid "" "The new process has a new console, instead of inheriting its parent's " "console (the default)." msgstr "" -#: library/subprocess.rst:1065 +#: library/subprocess.rst:1076 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:1069 +#: library/subprocess.rst:1080 msgid "This flag is ignored if :data:`CREATE_NEW_CONSOLE` is specified." msgstr "" -#: library/subprocess.rst:1073 +#: library/subprocess.rst:1084 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an above average priority." msgstr "" -#: library/subprocess.rst:1080 +#: library/subprocess.rst:1091 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have a below average priority." msgstr "" -#: library/subprocess.rst:1087 +#: library/subprocess.rst:1098 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have a high priority." msgstr "" -#: library/subprocess.rst:1094 +#: library/subprocess.rst:1105 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an idle (lowest) priority." msgstr "" -#: library/subprocess.rst:1101 +#: library/subprocess.rst:1112 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an normal priority. (default)" msgstr "" -#: library/subprocess.rst:1108 +#: library/subprocess.rst:1119 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have realtime priority. You should almost never use " @@ -1364,20 +1376,20 @@ msgid "" "perform brief tasks that should have limited interruptions." msgstr "" -#: library/subprocess.rst:1119 +#: library/subprocess.rst:1130 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will not create a window." msgstr "" -#: library/subprocess.rst:1126 +#: library/subprocess.rst:1137 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:1134 +#: library/subprocess.rst:1145 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 " @@ -1385,39 +1397,39 @@ msgid "" "multithreaded shell applications that run with hard errors disabled." msgstr "" -#: library/subprocess.rst:1144 +#: library/subprocess.rst:1155 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "is not associated with the job." msgstr "" -#: library/subprocess.rst:1152 +#: library/subprocess.rst:1163 msgid "Older high-level API" msgstr "" -#: library/subprocess.rst:1154 +#: library/subprocess.rst:1165 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:1161 +#: library/subprocess.rst:1172 msgid "" "Run the command described by *args*. Wait for command to complete, then " "return the :attr:`~Popen.returncode` attribute." msgstr "" -#: library/subprocess.rst:1204 +#: library/subprocess.rst:1215 msgid "" "Code needing to capture stdout or stderr should use :func:`run` instead::" msgstr "" -#: library/subprocess.rst:1208 +#: library/subprocess.rst:1219 msgid "To suppress stdout or stderr, supply a value of :data:`DEVNULL`." msgstr "" -#: library/subprocess.rst:1210 +#: library/subprocess.rst:1221 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 " @@ -1425,14 +1437,14 @@ msgid "" "to that interface." msgstr "" -#: library/subprocess.rst:1217 +#: library/subprocess.rst:1228 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:1197 +#: library/subprocess.rst:1208 msgid "" "Run command with arguments. Wait for command to complete. If the return " "code was zero then return, otherwise raise :exc:`CalledProcessError`. The :" @@ -1441,11 +1453,11 @@ msgid "" "to start the process it will propagate the exception that was raised." msgstr "" -#: library/subprocess.rst:1239 +#: library/subprocess.rst:1250 msgid "Run command with arguments and return its output." msgstr "" -#: library/subprocess.rst:1241 +#: library/subprocess.rst:1252 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:" @@ -1453,11 +1465,11 @@ msgid "" "`~CalledProcessError.output` attribute." msgstr "" -#: library/subprocess.rst:1246 +#: library/subprocess.rst:1257 msgid "This is equivalent to::" msgstr "" -#: library/subprocess.rst:1250 +#: library/subprocess.rst:1261 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 " @@ -1467,52 +1479,52 @@ msgid "" "using the parent's standard input file handle." msgstr "" -#: library/subprocess.rst:1257 +#: library/subprocess.rst:1268 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:1261 +#: library/subprocess.rst:1272 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:1265 +#: library/subprocess.rst:1276 msgid "" "To also capture standard error in the result, use ``stderr=subprocess." "STDOUT``::" msgstr "" -#: library/subprocess.rst:1279 +#: library/subprocess.rst:1290 msgid "Support for the *input* keyword argument was added." msgstr "" -#: library/subprocess.rst:1282 +#: library/subprocess.rst:1293 msgid "*encoding* and *errors* were added. See :func:`run` for details." msgstr "" -#: library/subprocess.rst:1300 +#: library/subprocess.rst:1311 msgid "Replacing Older Functions with the :mod:`subprocess` Module" msgstr "" -#: library/subprocess.rst:1302 +#: library/subprocess.rst:1313 msgid "" "In this section, \"a becomes b\" means that b can be used as a replacement " "for a." msgstr "" -#: library/subprocess.rst:1306 +#: library/subprocess.rst:1317 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:1310 +#: library/subprocess.rst:1321 msgid "" "In addition, the replacements using :func:`check_output` will fail with a :" "exc:`CalledProcessError` if the requested operation produces a non-zero " @@ -1520,133 +1532,133 @@ msgid "" "output` attribute of the raised exception." msgstr "" -#: library/subprocess.rst:1315 +#: library/subprocess.rst:1326 msgid "" "In the following examples, we assume that the relevant functions have " "already been imported from the :mod:`subprocess` module." msgstr "" -#: library/subprocess.rst:1320 +#: library/subprocess.rst:1331 msgid "Replacing :program:`/bin/sh` shell command substitution" msgstr "" -#: library/subprocess.rst:1337 library/subprocess.rst:1354 +#: library/subprocess.rst:1348 library/subprocess.rst:1365 msgid "becomes::" msgstr "" -#: library/subprocess.rst:1331 +#: library/subprocess.rst:1342 msgid "Replacing shell pipeline" msgstr "" -#: library/subprocess.rst:1344 +#: library/subprocess.rst:1355 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:1347 +#: library/subprocess.rst:1358 msgid "" "Alternatively, for trusted input, the shell's own pipeline support may still " "be used directly:" msgstr "" -#: library/subprocess.rst:1360 +#: library/subprocess.rst:1371 msgid "Replacing :func:`os.system`" msgstr "" -#: library/subprocess.rst:1368 +#: library/subprocess.rst:1379 msgid "Notes:" msgstr "" -#: library/subprocess.rst:1370 +#: library/subprocess.rst:1381 msgid "Calling the program through the shell is usually not required." msgstr "" -#: library/subprocess.rst:1371 +#: library/subprocess.rst:1382 msgid "" "The :func:`call` return value is encoded differently to that of :func:`os." "system`." msgstr "" -#: library/subprocess.rst:1374 +#: library/subprocess.rst:1385 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:1378 +#: library/subprocess.rst:1389 msgid "A more realistic example would look like this::" msgstr "" -#: library/subprocess.rst:1391 +#: library/subprocess.rst:1402 msgid "Replacing the :func:`os.spawn ` family" msgstr "" -#: library/subprocess.rst:1393 +#: library/subprocess.rst:1404 msgid "P_NOWAIT example::" msgstr "" -#: library/subprocess.rst:1399 +#: library/subprocess.rst:1410 msgid "P_WAIT example::" msgstr "" -#: library/subprocess.rst:1405 +#: library/subprocess.rst:1416 msgid "Vector example::" msgstr "" -#: library/subprocess.rst:1411 +#: library/subprocess.rst:1422 msgid "Environment example::" msgstr "" -#: library/subprocess.rst:1420 +#: library/subprocess.rst:1431 msgid "Replacing :func:`os.popen`, :func:`os.popen2`, :func:`os.popen3`" msgstr "" -#: library/subprocess.rst:1450 +#: library/subprocess.rst:1461 msgid "Return code handling translates as follows::" msgstr "" -#: library/subprocess.rst:1466 +#: library/subprocess.rst:1477 msgid "Replacing functions from the :mod:`!popen2` module" msgstr "" -#: library/subprocess.rst:1470 +#: library/subprocess.rst:1481 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:1489 +#: library/subprocess.rst:1500 msgid "" ":class:`popen2.Popen3` and :class:`popen2.Popen4` basically work as :class:" "`subprocess.Popen`, except that:" msgstr "" -#: library/subprocess.rst:1492 +#: library/subprocess.rst:1503 msgid ":class:`Popen` raises an exception if the execution fails." msgstr "" -#: library/subprocess.rst:1494 +#: library/subprocess.rst:1505 msgid "The *capturestderr* argument is replaced with the *stderr* argument." msgstr "" -#: library/subprocess.rst:1496 +#: library/subprocess.rst:1507 msgid "``stdin=PIPE`` and ``stdout=PIPE`` must be specified." msgstr "" -#: library/subprocess.rst:1498 +#: library/subprocess.rst:1509 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:1504 +#: library/subprocess.rst:1515 msgid "Legacy Shell Invocation Functions" msgstr "" -#: library/subprocess.rst:1506 +#: library/subprocess.rst:1517 msgid "" "This module also provides the following legacy functions from the 2.x " "``commands`` module. These operations implicitly invoke the system shell and " @@ -1654,11 +1666,11 @@ msgid "" "handling consistency are valid for these functions." msgstr "" -#: library/subprocess.rst:1513 +#: library/subprocess.rst:1524 msgid "Return ``(exitcode, output)`` of executing *cmd* in a shell." msgstr "" -#: library/subprocess.rst:1515 +#: library/subprocess.rst:1526 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 " @@ -1666,81 +1678,81 @@ msgid "" "details." msgstr "" -#: library/subprocess.rst:1520 +#: library/subprocess.rst:1531 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:1555 +#: library/subprocess.rst:1566 msgid ":ref:`Availability `: Unix, Windows." msgstr "" -#: library/subprocess.rst:1535 +#: library/subprocess.rst:1546 msgid "Windows support was added." msgstr "" -#: library/subprocess.rst:1538 +#: library/subprocess.rst:1549 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:1547 +#: library/subprocess.rst:1558 msgid "Return output (stdout and stderr) of executing *cmd* in a shell." msgstr "" -#: library/subprocess.rst:1549 +#: library/subprocess.rst:1560 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:1557 +#: library/subprocess.rst:1568 msgid "Windows support added" msgstr "" -#: library/subprocess.rst:1565 +#: library/subprocess.rst:1576 msgid "Notes" msgstr "" -#: library/subprocess.rst:1570 +#: library/subprocess.rst:1581 msgid "Converting an argument sequence to a string on Windows" msgstr "" -#: library/subprocess.rst:1572 +#: library/subprocess.rst:1583 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:1576 +#: library/subprocess.rst:1587 msgid "" "Arguments are delimited by white space, which is either a space or a tab." msgstr "" -#: library/subprocess.rst:1579 +#: library/subprocess.rst:1590 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:1584 +#: library/subprocess.rst:1595 msgid "" "A double quotation mark preceded by a backslash is interpreted as a literal " "double quotation mark." msgstr "" -#: library/subprocess.rst:1587 +#: library/subprocess.rst:1598 msgid "" "Backslashes are interpreted literally, unless they immediately precede a " "double quotation mark." msgstr "" -#: library/subprocess.rst:1590 +#: library/subprocess.rst:1601 msgid "" "If backslashes immediately precede a double quotation mark, every pair of " "backslashes is interpreted as a literal backslash. If the number of " @@ -1748,33 +1760,33 @@ msgid "" "mark as described in rule 3." msgstr "" -#: library/subprocess.rst:1599 +#: library/subprocess.rst:1610 msgid ":mod:`shlex`" msgstr "" -#: library/subprocess.rst:1600 +#: library/subprocess.rst:1611 msgid "Module which provides function to parse and escape command lines." msgstr "" -#: library/subprocess.rst:1607 +#: library/subprocess.rst:1618 msgid "Disabling use of ``vfork()`` or ``posix_spawn()``" msgstr "" -#: library/subprocess.rst:1609 +#: library/subprocess.rst:1620 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:1613 +#: library/subprocess.rst:1624 msgid "" "If you ever encounter a presumed highly unusual situation where you need to " "prevent ``vfork()`` from being used by Python, you can set the :const:" "`subprocess._USE_VFORK` attribute to a false value." msgstr "" -#: library/subprocess.rst:1621 +#: library/subprocess.rst:1632 msgid "" "Setting this has no impact on use of ``posix_spawn()`` which could use " "``vfork()`` internally within its libc implementation. There is a similar :" @@ -1782,7 +1794,7 @@ msgid "" "that." msgstr "" -#: library/subprocess.rst:1630 +#: library/subprocess.rst:1641 msgid "" "It is safe to set these to false on any Python version. They will have no " "effect on older versions when unsupported. Do not assume the attributes are " @@ -1790,25 +1802,25 @@ msgid "" "the corresponding function will be used, only that it may be." msgstr "" -#: library/subprocess.rst:1635 +#: library/subprocess.rst:1646 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:1639 +#: library/subprocess.rst:1650 msgid "``_USE_POSIX_SPAWN``" msgstr "" -#: library/subprocess.rst:1640 +#: library/subprocess.rst:1651 msgid "``_USE_VFORK``" msgstr "" -#: library/subprocess.rst:293 +#: library/subprocess.rst:296 msgid "universal newlines" msgstr "" -#: library/subprocess.rst:293 +#: library/subprocess.rst:296 msgid "subprocess module" msgstr "" diff --git a/library/sunau.po b/library/sunau.po index 4fb94ecd2..ef11371f1 100644 --- a/library/sunau.po +++ b/library/sunau.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -124,7 +124,7 @@ msgid "" "seekable file-like object. *mode* can be any of" msgstr "" -#: library/sunau.rst:56 +#: library/sunau.rst:55 msgid "``'r'``" msgstr "" @@ -132,7 +132,7 @@ msgstr "" msgid "Read only mode." msgstr "" -#: library/sunau.rst:59 +#: library/sunau.rst:58 msgid "``'w'``" msgstr "" diff --git a/library/sys.po b/library/sys.po index 4a4b48bc7..f06fe104b 100644 --- a/library/sys.po +++ b/library/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1501,7 +1501,7 @@ msgid "" "if the module cannot be found." msgstr "" -#: library/sys.rst:1249 +#: library/sys.rst:1248 msgid ":class:`importlib.abc.MetaPathFinder`" msgstr "" @@ -1511,7 +1511,7 @@ msgid "" "`meta_path`." msgstr "" -#: library/sys.rst:1253 +#: library/sys.rst:1251 msgid ":class:`importlib.machinery.ModuleSpec`" msgstr "" @@ -1856,7 +1856,7 @@ msgstr "" msgid "The events have the following meaning:" msgstr "" -#: library/sys.rst:1588 +#: library/sys.rst:1585 msgid "``'call'``" msgstr "" @@ -1866,7 +1866,7 @@ msgid "" "function is called; *arg* is ``None``." msgstr "" -#: library/sys.rst:1604 +#: library/sys.rst:1600 msgid "``'return'``" msgstr "" @@ -1877,7 +1877,7 @@ msgid "" "event is caused by an exception being raised." msgstr "" -#: library/sys.rst:1509 +#: library/sys.rst:1507 msgid "``'c_call'``" msgstr "" @@ -1887,7 +1887,7 @@ msgid "" "built-in. *arg* is the C function object." msgstr "" -#: library/sys.rst:1512 +#: library/sys.rst:1511 msgid "``'c_return'``" msgstr "" @@ -1895,7 +1895,7 @@ msgstr "" msgid "A C function has returned. *arg* is the C function object." msgstr "" -#: library/sys.rst:1515 +#: library/sys.rst:1514 msgid "``'c_exception'``" msgstr "" @@ -1997,7 +1997,7 @@ msgid "" "trace function." msgstr "" -#: library/sys.rst:1598 +#: library/sys.rst:1590 msgid "``'line'``" msgstr "" @@ -2019,7 +2019,7 @@ msgid "" "return value is ignored." msgstr "" -#: library/sys.rst:1609 +#: library/sys.rst:1606 msgid "``'exception'``" msgstr "" @@ -2030,7 +2030,7 @@ msgid "" "local trace function." msgstr "" -#: library/sys.rst:1617 +#: library/sys.rst:1611 msgid "``'opcode'``" msgstr "" diff --git a/library/syslog.po b/library/syslog.po index 2facd2615..7a4bdd208 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -156,7 +156,7 @@ msgstr "" msgid "The module defines the following constants:" msgstr "" -#: library/syslog.rst:113 +#: library/syslog.rst:110 msgid "Priority levels (high to low):" msgstr "" @@ -167,7 +167,7 @@ msgid "" "const:`LOG_DEBUG`." msgstr "" -#: library/syslog.rst:120 +#: library/syslog.rst:115 msgid "Facilities:" msgstr "" @@ -179,7 +179,7 @@ msgid "" "const:`LOG_LOCAL7`, and, if defined in ````, :const:`LOG_AUTHPRIV`." msgstr "" -#: library/syslog.rst:126 +#: library/syslog.rst:122 msgid "Log options:" msgstr "" diff --git a/library/tarfile.po b/library/tarfile.po index 09d1e016a..8c12a6130 100644 --- a/library/tarfile.po +++ b/library/tarfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -524,7 +524,7 @@ msgid "" "const:`GNU_FORMAT`." msgstr "" -#: library/tarfile.rst:338 +#: library/tarfile.rst:337 msgid "Module :mod:`zipfile`" msgstr "" @@ -532,7 +532,7 @@ msgstr "" msgid "Documentation of the :mod:`zipfile` standard module." msgstr "" -#: library/tarfile.rst:342 +#: library/tarfile.rst:340 msgid ":ref:`archiving-operations`" msgstr "" diff --git a/library/test.po b/library/test.po index 5f9b1b5be..6c3f9025a 100644 --- a/library/test.po +++ b/library/test.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -46,7 +46,7 @@ msgid "" "printed to ``sys.stdout``; this style of test is considered deprecated." msgstr "" -#: library/test.rst:33 +#: library/test.rst:32 msgid "Module :mod:`unittest`" msgstr "" diff --git a/library/time.po b/library/time.po index 5e3e4c8b4..8a87e9aa3 100644 --- a/library/time.po +++ b/library/time.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2023-03-01 11:44+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -767,7 +767,7 @@ msgstr "Onluk sayı şeklinde ayın günü [01,31]." msgid "``%f``" msgstr "" -#: library/time.rst:431 +#: library/time.rst:430 #, fuzzy msgid "Microseconds as a decimal number" msgstr "Onluk sayı şeklinde saniye [00,61]." @@ -1355,7 +1355,7 @@ msgstr "" msgid "Where the components are:" msgstr "Bileşenlerin olduğu yerde:" -#: library/time.rst:735 +#: library/time.rst:733 msgid "``std`` and ``dst``" msgstr "``std`` ve ``dst``" @@ -1367,7 +1367,7 @@ msgstr "" "Üç veya daha fazla harfler ve sayılar saat dilimi kısaltmalarını veriyor. " "Bunlar time.tzname içine yayılacaktır" -#: library/time.rst:741 +#: library/time.rst:737 msgid "``offset``" msgstr "``offset``" @@ -1384,7 +1384,7 @@ msgstr "" "bir sapma yoksa, yaz saatinin standart saatten bir saat ileri olduğu " "varsayılır." -#: library/time.rst:763 +#: library/time.rst:743 msgid "``start[/time], end[/time]``" msgstr "``start[/time], end[/time]``" @@ -1396,7 +1396,7 @@ msgstr "" "DST'ye ne zaman geçileceğini ve DST'den geri dönüleceğini gösterir. " "Başlangıç ve bitiş tarihlerinin biçimi aşağıdakilerden biridir:" -#: library/time.rst:749 +#: library/time.rst:747 msgid ":samp:`J{n}`" msgstr ":samp:`J{n}`" @@ -1408,7 +1408,7 @@ msgstr "" "Jülyen günü *n* (1 <= *n* <= 365). Artık günler sayılmaz, yani bütün " "yıllarda 28 Şubat 59. gün ve 1 Mart 60. gündür." -#: library/time.rst:753 +#: library/time.rst:751 msgid ":samp:`{n}`" msgstr ":samp:`{n}`" @@ -1420,7 +1420,7 @@ msgstr "" "Sıfır tabanlı Jülyen günü (0 <= *n* <= 365). Artık günler dahil edilmiştir, " "ve 29 Şubat'tan bahsetmek mümkündür." -#: library/time.rst:760 +#: library/time.rst:755 msgid ":samp:`M{m}.{n}.{d}`" msgstr ":samp:`M{m}.{n}.{d}`" @@ -1666,7 +1666,7 @@ msgstr "" "almak için :func:`localtime`'den :attr:`tm_gmtoff` ve :attr:`tm_zone` " "sonuçlarının kullanılması önerilir." -#: library/time.rst:958 +#: library/time.rst:957 msgid "Module :mod:`datetime`" msgstr ":mod:`datetime` modülü" @@ -1674,7 +1674,7 @@ msgstr ":mod:`datetime` modülü" msgid "More object-oriented interface to dates and times." msgstr "Tarihler ve zamanlar için daha fazla nesne tabanlı arayüz." -#: library/time.rst:962 +#: library/time.rst:960 msgid "Module :mod:`locale`" msgstr ":mod:`locale` modülü" @@ -1687,7 +1687,7 @@ msgstr "" "Uluslararasılaştırma servisleri. Yerel ayar, :func:`strftime` ve :func:" "`strptime` içindeki birçok biçim belirticisinin yorumlanmasını etkiler." -#: library/time.rst:965 +#: library/time.rst:964 msgid "Module :mod:`calendar`" msgstr ":mod:`calendar` modülü" diff --git a/library/tkinter.font.po b/library/tkinter.font.po index 7cd680e5d..e2e3deadd 100644 --- a/library/tkinter.font.po +++ b/library/tkinter.font.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -126,7 +126,7 @@ msgstr "" msgid "Return font-specific data. Options include:" msgstr "" -#: library/tkinter.font.rst:76 +#: library/tkinter.font.rst:75 msgid "*ascent* - distance between baseline and highest point that a" msgstr "" @@ -134,11 +134,11 @@ msgstr "" msgid "character of the font can occupy" msgstr "" -#: library/tkinter.font.rst:79 +#: library/tkinter.font.rst:78 msgid "*descent* - distance between baseline and lowest point that a" msgstr "" -#: library/tkinter.font.rst:82 +#: library/tkinter.font.rst:81 msgid "*linespace* - minimum vertical separation necessary between any two" msgstr "" diff --git a/library/tkinter.messagebox.po b/library/tkinter.messagebox.po index 64f5dca16..45bcdd3a4 100644 --- a/library/tkinter.messagebox.po +++ b/library/tkinter.messagebox.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -45,7 +45,7 @@ msgstr "" msgid "The following options are supported:" msgstr "" -#: library/tkinter.messagebox.rst:33 +#: library/tkinter.messagebox.rst:29 msgid "*command*" msgstr "" @@ -56,7 +56,7 @@ msgid "" "This is only available on macOS." msgstr "" -#: library/tkinter.messagebox.rst:39 +#: library/tkinter.messagebox.rst:35 msgid "*default*" msgstr "" @@ -68,7 +68,7 @@ msgid "" "default." msgstr "" -#: library/tkinter.messagebox.rst:46 +#: library/tkinter.messagebox.rst:41 msgid "*detail*" msgstr "" @@ -79,7 +79,7 @@ msgid "" "where supported by the OS, in a less emphasized font than the main message." msgstr "" -#: library/tkinter.messagebox.rst:51 +#: library/tkinter.messagebox.rst:48 msgid "*icon*" msgstr "" @@ -89,7 +89,7 @@ msgid "" "not specified, then the :data:`INFO` icon will be displayed." msgstr "" -#: library/tkinter.messagebox.rst:55 +#: library/tkinter.messagebox.rst:53 msgid "*message*" msgstr "" @@ -99,7 +99,7 @@ msgid "" "an empty string." msgstr "" -#: library/tkinter.messagebox.rst:59 +#: library/tkinter.messagebox.rst:57 msgid "*parent*" msgstr "" @@ -109,7 +109,7 @@ msgid "" "message box is displayed on top of its parent window." msgstr "" -#: library/tkinter.messagebox.rst:64 +#: library/tkinter.messagebox.rst:61 msgid "*title*" msgstr "" @@ -120,7 +120,7 @@ msgid "" "this kind of dialog." msgstr "" -#: library/tkinter.messagebox.rst:68 +#: library/tkinter.messagebox.rst:66 msgid "*type*" msgstr "" diff --git a/library/tkinter.po b/library/tkinter.po index 4600c1c0b..b56ade48a 100644 --- a/library/tkinter.po +++ b/library/tkinter.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 14:57+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -65,7 +65,7 @@ msgid "" "and can be woefully outdated." msgstr "" -#: library/tkinter.rst:43 +#: library/tkinter.rst:41 msgid "`TkDocs `_" msgstr "" @@ -75,7 +75,7 @@ msgid "" "concepts, and illustrates recommended approaches using the modern API." msgstr "" -#: library/tkinter.rst:46 +#: library/tkinter.rst:45 msgid "" "`Tkinter 8.5 reference: a GUI for Python `_" msgstr "" @@ -90,7 +90,7 @@ msgstr "" msgid "Tcl/Tk Resources:" msgstr "" -#: library/tkinter.rst:51 +#: library/tkinter.rst:50 msgid "`Tk commands `_" msgstr "" @@ -100,7 +100,7 @@ msgid "" "Tkinter." msgstr "" -#: library/tkinter.rst:54 +#: library/tkinter.rst:53 msgid "`Tcl/Tk Home Page `_" msgstr "" @@ -112,7 +112,7 @@ msgstr "" msgid "Books:" msgstr "" -#: library/tkinter.rst:59 +#: library/tkinter.rst:58 msgid "" "`Modern Tkinter for Busy Python Developers `_" msgstr "" @@ -121,7 +121,7 @@ msgstr "" msgid "By Mark Roseman. (ISBN 978-1999149567)" msgstr "" -#: library/tkinter.rst:62 +#: library/tkinter.rst:61 msgid "" "`Python GUI programming with Tkinter `_" @@ -131,7 +131,7 @@ msgstr "" msgid "By Alan D. Moore. (ISBN 978-1788835886)" msgstr "" -#: library/tkinter.rst:65 +#: library/tkinter.rst:64 msgid "`Programming Python `_" msgstr "" @@ -163,7 +163,7 @@ msgid "" "with it." msgstr "" -#: library/tkinter.rst:90 +#: library/tkinter.rst:79 msgid "Tcl" msgstr "" @@ -194,7 +194,7 @@ msgid "" "appearance. Tk uses Tcl's event queue to generate and process GUI events." msgstr "" -#: library/tkinter.rst:103 +#: library/tkinter.rst:99 msgid "Ttk" msgstr "" @@ -246,7 +246,7 @@ msgid "" "However, the following keyword arguments are currently recognized:" msgstr "" -#: library/tkinter.rst:137 +#: library/tkinter.rst:136 msgid "*screenName*" msgstr "" @@ -256,7 +256,7 @@ msgid "" "(X11 only)" msgstr "" -#: library/tkinter.rst:140 +#: library/tkinter.rst:139 msgid "*baseName*" msgstr "" @@ -266,7 +266,7 @@ msgid "" "program name (``sys.argv[0]``)." msgstr "" -#: library/tkinter.rst:143 +#: library/tkinter.rst:142 msgid "*className*" msgstr "" @@ -276,7 +276,7 @@ msgid "" "which Tcl is invoked (*argv0* in *interp*)." msgstr "" -#: library/tkinter.rst:146 +#: library/tkinter.rst:145 msgid "*useTk*" msgstr "" @@ -286,7 +286,7 @@ msgid "" "function sets this to ``False``." msgstr "" -#: library/tkinter.rst:149 +#: library/tkinter.rst:148 msgid "*sync*" msgstr "" @@ -296,7 +296,7 @@ msgid "" "reported immediately. Can be used for debugging. (X11 only)" msgstr "" -#: library/tkinter.rst:159 +#: library/tkinter.rst:151 msgid "*use*" msgstr "" @@ -363,7 +363,7 @@ msgstr "" msgid "The modules that provide Tk support include:" msgstr "" -#: library/tkinter.rst:206 +#: library/tkinter.rst:205 msgid ":mod:`tkinter`" msgstr "" @@ -371,7 +371,7 @@ msgstr "" msgid "Main Tkinter module." msgstr "" -#: library/tkinter.rst:209 +#: library/tkinter.rst:208 msgid ":mod:`tkinter.colorchooser`" msgstr "" @@ -379,7 +379,7 @@ msgstr "" msgid "Dialog to let the user choose a color." msgstr "" -#: library/tkinter.rst:212 +#: library/tkinter.rst:211 msgid ":mod:`tkinter.commondialog`" msgstr "" @@ -387,7 +387,7 @@ msgstr "" msgid "Base class for the dialogs defined in the other modules listed here." msgstr "" -#: library/tkinter.rst:215 +#: library/tkinter.rst:214 msgid ":mod:`tkinter.filedialog`" msgstr "" @@ -395,7 +395,7 @@ msgstr "" msgid "Common dialogs to allow the user to specify a file to open or save." msgstr "" -#: library/tkinter.rst:218 +#: library/tkinter.rst:217 msgid ":mod:`tkinter.font`" msgstr "" @@ -403,7 +403,7 @@ msgstr "" msgid "Utilities to help work with fonts." msgstr "" -#: library/tkinter.rst:221 +#: library/tkinter.rst:220 msgid ":mod:`tkinter.messagebox`" msgstr "" @@ -411,7 +411,7 @@ msgstr "" msgid "Access to standard Tk dialog boxes." msgstr "" -#: library/tkinter.rst:224 +#: library/tkinter.rst:223 msgid ":mod:`tkinter.scrolledtext`" msgstr "" @@ -419,7 +419,7 @@ msgstr "" msgid "Text widget with a vertical scroll bar built in." msgstr "" -#: library/tkinter.rst:227 +#: library/tkinter.rst:226 msgid ":mod:`tkinter.simpledialog`" msgstr "" @@ -427,7 +427,7 @@ msgstr "" msgid "Basic dialogs and convenience functions." msgstr "" -#: library/tkinter.rst:231 +#: library/tkinter.rst:229 msgid ":mod:`tkinter.ttk`" msgstr "" @@ -441,7 +441,7 @@ msgstr "" msgid "Additional modules:" msgstr "" -#: library/tkinter.rst:243 +#: library/tkinter.rst:238 msgid ":mod:`_tkinter`" msgstr "" @@ -454,7 +454,7 @@ msgid "" "interpreter." msgstr "" -#: library/tkinter.rst:247 +#: library/tkinter.rst:245 msgid ":mod:`idlelib`" msgstr "" @@ -464,7 +464,7 @@ msgid "" "mod:`tkinter`." msgstr "" -#: library/tkinter.rst:252 +#: library/tkinter.rst:249 msgid ":mod:`tkinter.constants`" msgstr "" @@ -475,7 +475,7 @@ msgid "" "`tkinter` module." msgstr "" -#: library/tkinter.rst:256 +#: library/tkinter.rst:254 msgid ":mod:`tkinter.dnd`" msgstr "" @@ -485,7 +485,7 @@ msgid "" "deprecated when it is replaced with the Tk DND." msgstr "" -#: library/tkinter.rst:260 +#: library/tkinter.rst:258 msgid ":mod:`tkinter.tix`" msgstr "" @@ -495,7 +495,7 @@ msgid "" "widgets. Better alternatives for most can be found in :mod:`tkinter.ttk`." msgstr "" -#: library/tkinter.rst:264 +#: library/tkinter.rst:262 msgid ":mod:`turtle`" msgstr "" @@ -577,7 +577,7 @@ msgstr "" msgid "Even this simple program illustrates the following key Tk concepts:" msgstr "" -#: library/tkinter.rst:329 +#: library/tkinter.rst:326 msgid "widgets" msgstr "" @@ -588,7 +588,7 @@ msgid "" "Frame`, :class:`ttk.Label`, and :class:`ttk.Button`." msgstr "" -#: library/tkinter.rst:335 +#: library/tkinter.rst:331 msgid "widget hierarchy" msgstr "" @@ -600,7 +600,7 @@ msgid "" "argument to the widget constructor." msgstr "" -#: library/tkinter.rst:340 +#: library/tkinter.rst:337 msgid "configuration options" msgstr "" @@ -611,7 +611,7 @@ msgid "" "classes of widgets will have different sets of options." msgstr "" -#: library/tkinter.rst:345 +#: library/tkinter.rst:342 msgid "geometry management" msgstr "" @@ -622,7 +622,7 @@ msgid "" "interface they are placed." msgstr "" -#: library/tkinter.rst:351 +#: library/tkinter.rst:347 msgid "event loop" msgstr "" @@ -916,15 +916,15 @@ msgid "" "can be set in three ways:" msgstr "" -#: library/tkinter.rst:574 +#: library/tkinter.rst:571 msgid "At object creation time, using keyword arguments" msgstr "" -#: library/tkinter.rst:580 +#: library/tkinter.rst:576 msgid "After object creation, treating the option name like a dictionary index" msgstr "" -#: library/tkinter.rst:585 +#: library/tkinter.rst:582 msgid "" "Use the config() method to update multiple attrs subsequent to object " "creation" @@ -1100,7 +1100,7 @@ msgid "" "take, see the man pages and page 183 of John Ousterhout's book." msgstr "" -#: library/tkinter.rst:798 +#: library/tkinter.rst:796 msgid "anchor" msgstr "" @@ -1109,7 +1109,7 @@ msgid "" "Anchor type. Denotes where the packer is to place each slave in its parcel." msgstr "" -#: library/tkinter.rst:681 +#: library/tkinter.rst:680 msgid "expand" msgstr "" @@ -1117,7 +1117,7 @@ msgstr "" msgid "Boolean, ``0`` or ``1``." msgstr "" -#: library/tkinter.rst:684 +#: library/tkinter.rst:683 msgid "fill" msgstr "" @@ -1125,7 +1125,7 @@ msgstr "" msgid "Legal values: ``'x'``, ``'y'``, ``'both'``, ``'none'``." msgstr "" -#: library/tkinter.rst:687 +#: library/tkinter.rst:686 msgid "ipadx and ipady" msgstr "" @@ -1134,7 +1134,7 @@ msgid "" "A distance - designating internal padding on each side of the slave widget." msgstr "" -#: library/tkinter.rst:690 +#: library/tkinter.rst:689 msgid "padx and pady" msgstr "" @@ -1143,7 +1143,7 @@ msgid "" "A distance - designating external padding on each side of the slave widget." msgstr "" -#: library/tkinter.rst:694 +#: library/tkinter.rst:692 msgid "side" msgstr "" @@ -1228,7 +1228,7 @@ msgid "" "``\"center\"``." msgstr "" -#: library/tkinter.rst:804 +#: library/tkinter.rst:800 msgid "bitmap" msgstr "" @@ -1240,7 +1240,7 @@ msgid "" "file, preceded with an ``@``, as in ``\"@/usr/contrib/bitmap/gumby.bit\"``." msgstr "" -#: library/tkinter.rst:807 +#: library/tkinter.rst:806 msgid "boolean" msgstr "" @@ -1248,7 +1248,7 @@ msgstr "" msgid "You can pass integers 0 or 1 or the strings ``\"yes\"`` or ``\"no\"``." msgstr "" -#: library/tkinter.rst:814 +#: library/tkinter.rst:809 msgid "callback" msgstr "" @@ -1256,7 +1256,7 @@ msgstr "" msgid "This is any Python function that takes no arguments. For example::" msgstr "" -#: library/tkinter.rst:820 +#: library/tkinter.rst:816 msgid "color" msgstr "" @@ -1269,7 +1269,7 @@ msgid "" "digit. See page 160 of Ousterhout's book for details." msgstr "" -#: library/tkinter.rst:826 +#: library/tkinter.rst:822 msgid "cursor" msgstr "" @@ -1281,7 +1281,7 @@ msgid "" "of your own. See page 179 of Ousterhout's book." msgstr "" -#: library/tkinter.rst:833 +#: library/tkinter.rst:828 msgid "distance" msgstr "" @@ -1294,7 +1294,7 @@ msgid "" "is expressed as ``\"3.5i\"``." msgstr "" -#: library/tkinter.rst:838 +#: library/tkinter.rst:835 msgid "font" msgstr "" @@ -1305,7 +1305,7 @@ msgid "" "are measured in pixels." msgstr "" -#: library/tkinter.rst:843 +#: library/tkinter.rst:840 msgid "geometry" msgstr "" @@ -1316,7 +1316,7 @@ msgid "" "text). For example: ``fred[\"geometry\"] = \"200x100\"``." msgstr "" -#: library/tkinter.rst:847 +#: library/tkinter.rst:845 msgid "justify" msgstr "" @@ -1326,7 +1326,7 @@ msgid "" "and ``\"fill\"``." msgstr "" -#: library/tkinter.rst:852 +#: library/tkinter.rst:849 msgid "region" msgstr "" @@ -1337,7 +1337,7 @@ msgid "" "2i\"`` and ``\"3c 2c 4c 10.43c\"`` are all legal regions." msgstr "" -#: library/tkinter.rst:856 +#: library/tkinter.rst:854 msgid "relief" msgstr "" @@ -1348,7 +1348,7 @@ msgid "" "``\"ridge\"``." msgstr "" -#: library/tkinter.rst:860 +#: library/tkinter.rst:858 msgid "scrollcommand" msgstr "" @@ -1358,7 +1358,7 @@ msgid "" "can be any widget method that takes a single argument." msgstr "" -#: library/tkinter.rst:863 +#: library/tkinter.rst:862 msgid "wrap" msgstr "" @@ -1381,7 +1381,7 @@ msgstr "" msgid "where:" msgstr "" -#: library/tkinter.rst:885 +#: library/tkinter.rst:882 msgid "sequence" msgstr "" @@ -1392,7 +1392,7 @@ msgid "" "reference:`Tcl and the Tk Toolkit (2nd edition)`, for details)." msgstr "" -#: library/tkinter.rst:890 +#: library/tkinter.rst:887 msgid "func" msgstr "" @@ -1403,7 +1403,7 @@ msgid "" "deployed this way are commonly known as *callbacks*.)" msgstr "" -#: library/tkinter.rst:896 +#: library/tkinter.rst:892 msgid "add" msgstr "" @@ -1567,7 +1567,7 @@ msgid "" "characters in an Entry widget, or to particular menu items in a Menu widget." msgstr "" -#: library/tkinter.rst:941 +#: library/tkinter.rst:938 msgid "Entry widget indexes (index, view index, etc.)" msgstr "" @@ -1578,7 +1578,7 @@ msgid "" "special points in text widgets:" msgstr "" -#: library/tkinter.rst:945 +#: library/tkinter.rst:943 msgid "Text widget indexes" msgstr "" @@ -1588,7 +1588,7 @@ msgid "" "the Tk man pages." msgstr "" -#: library/tkinter.rst:970 +#: library/tkinter.rst:947 msgid "Menu indexes (menu.invoke(), menu.entryconfig(), etc.)" msgstr "" diff --git a/library/tkinter.tix.po b/library/tkinter.tix.po index d7104bf80..b60f45e6a 100644 --- a/library/tkinter.tix.po +++ b/library/tkinter.tix.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -51,7 +51,7 @@ msgid "" "match the special needs of your application and users." msgstr "" -#: library/tkinter.tix.rst:38 +#: library/tkinter.tix.rst:36 msgid "`Tix Homepage `_" msgstr "" @@ -61,7 +61,7 @@ msgid "" "documentation and downloads." msgstr "" -#: library/tkinter.tix.rst:41 +#: library/tkinter.tix.rst:40 msgid "`Tix Man Pages `_" msgstr "" @@ -69,7 +69,7 @@ msgstr "" msgid "On-line version of the man pages and reference material." msgstr "" -#: library/tkinter.tix.rst:44 +#: library/tkinter.tix.rst:43 msgid "" "`Tix Programming Guide `_" @@ -79,7 +79,7 @@ msgstr "" msgid "On-line version of the programmer's reference material." msgstr "" -#: library/tkinter.tix.rst:48 +#: library/tkinter.tix.rst:46 msgid "" "`Tix Development Applications `_" diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index 573b4e060..c4bb8f735 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -80,7 +80,7 @@ msgid "" "styling effects." msgstr "" -#: library/tkinter.ttk.rst:60 +#: library/tkinter.ttk.rst:59 msgid "" "`Converting existing applications to use Tile widgets `_" @@ -1498,7 +1498,7 @@ msgstr "" msgid "Returns the column name. This is a read-only option." msgstr "" -#: library/tkinter.ttk.rst:992 +#: library/tkinter.ttk.rst:991 msgid "*anchor*: One of the standard Tk anchor values." msgstr "" @@ -1508,7 +1508,7 @@ msgid "" "cell." msgstr "" -#: library/tkinter.ttk.rst:996 +#: library/tkinter.ttk.rst:994 msgid "*minwidth*: width" msgstr "" @@ -1519,7 +1519,7 @@ msgid "" "resized or the user drags a column." msgstr "" -#: library/tkinter.ttk.rst:999 +#: library/tkinter.ttk.rst:998 msgid "*stretch*: ``True``/``False``" msgstr "" @@ -1529,7 +1529,7 @@ msgid "" "resized." msgstr "" -#: library/tkinter.ttk.rst:1002 +#: library/tkinter.ttk.rst:1001 msgid "*width*: width" msgstr "" @@ -1600,7 +1600,7 @@ msgstr "" msgid "Specifies an image to display to the right of the column heading." msgstr "" -#: library/tkinter.ttk.rst:1049 +#: library/tkinter.ttk.rst:1048 msgid "*anchor*: anchor" msgstr "" @@ -1610,7 +1610,7 @@ msgid "" "anchor values." msgstr "" -#: library/tkinter.ttk.rst:1052 +#: library/tkinter.ttk.rst:1051 msgid "*command*: callback" msgstr "" @@ -1967,7 +1967,7 @@ msgid "" "following options:" msgstr "" -#: library/tkinter.ttk.rst:1402 +#: library/tkinter.ttk.rst:1400 msgid "border=padding" msgstr "" @@ -1977,7 +1977,7 @@ msgid "" "and bottom borders, respectively." msgstr "" -#: library/tkinter.ttk.rst:1406 +#: library/tkinter.ttk.rst:1404 msgid "height=height" msgstr "" @@ -1987,7 +1987,7 @@ msgid "" "image's height is used as a default." msgstr "" -#: library/tkinter.ttk.rst:1410 +#: library/tkinter.ttk.rst:1408 msgid "padding=padding" msgstr "" @@ -1997,7 +1997,7 @@ msgid "" "specified." msgstr "" -#: library/tkinter.ttk.rst:1414 +#: library/tkinter.ttk.rst:1412 msgid "sticky=spec" msgstr "" @@ -2007,7 +2007,7 @@ msgid "" "zero or more characters \"n\", \"s\", \"w\", or \"e\"." msgstr "" -#: library/tkinter.ttk.rst:1418 +#: library/tkinter.ttk.rst:1416 msgid "width=width" msgstr "" @@ -2092,7 +2092,7 @@ msgid "" "each element is allocated a parcel." msgstr "" -#: library/tkinter.ttk.rst:1525 +#: library/tkinter.ttk.rst:1522 msgid "*side*: whichside" msgstr "" @@ -2102,7 +2102,7 @@ msgid "" "bottom or left. If omitted, the element occupies the entire cavity." msgstr "" -#: library/tkinter.ttk.rst:1528 +#: library/tkinter.ttk.rst:1527 msgid "*sticky*: nswe" msgstr "" @@ -2110,7 +2110,7 @@ msgstr "" msgid "Specifies where the element is placed inside its allocated parcel." msgstr "" -#: library/tkinter.ttk.rst:1533 +#: library/tkinter.ttk.rst:1530 msgid "*unit*: 0 or 1" msgstr "" @@ -2121,7 +2121,7 @@ msgid "" "used for things like scrollbar thumbs with grips." msgstr "" -#: library/tkinter.ttk.rst:1538 +#: library/tkinter.ttk.rst:1535 msgid "*children*: [sublayout... ]" msgstr "" diff --git a/library/tomllib.po b/library/tomllib.po index 6b784a17c..ef38fbdd1 100644 --- a/library/tomllib.po +++ b/library/tomllib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -33,18 +33,16 @@ msgstr "" #: library/tomllib.rst:22 msgid "" -"The `Tomli-W package `__ is a TOML writer " -"that can be used in conjunction with this module, providing a write API " -"familiar to users of the standard library :mod:`marshal` and :mod:`pickle` " -"modules." +"The :pypi:`Tomli-W package ` is a TOML writer that can be used in " +"conjunction with this module, providing a write API familiar to users of the " +"standard library :mod:`marshal` and :mod:`pickle` modules." msgstr "" #: library/tomllib.rst:29 msgid "" -"The `TOML Kit package `__ is a style-" -"preserving TOML library with both read and write capability. It is a " -"recommended replacement for this module for editing already existing TOML " -"files." +"The :pypi:`TOML Kit package ` is a style-preserving TOML library " +"with both read and write capability. It is a recommended replacement for " +"this module for editing already existing TOML files." msgstr "" #: library/tomllib.rst:35 diff --git a/library/trace.po b/library/trace.po index b73b3bcab..11f07123f 100644 --- a/library/trace.po +++ b/library/trace.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,7 +32,7 @@ msgid "" "program or from the command line." msgstr "" -#: library/trace.rst:19 +#: library/trace.rst:18 msgid "`Coverage.py `_" msgstr "" diff --git a/library/traceback.po b/library/traceback.po index e3386545e..1deb130d3 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -41,7 +41,7 @@ msgid "" "instances." msgstr "" -#: library/traceback.rst:27 +#: library/traceback.rst:26 msgid "Module :mod:`faulthandler`" msgstr "" diff --git a/library/turtle.po b/library/turtle.po index 218be6e88..6059e98e4 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -116,7 +116,7 @@ msgid "" "Experiment with those commands, and also with ``backward()`` and ``right()``." msgstr "" -#: library/turtle.rst:346 library/turtle.rst:1016 +#: library/turtle.rst:325 library/turtle.rst:1016 msgid "Pen control" msgstr "" @@ -346,7 +346,7 @@ msgstr "" msgid "Turtle motion" msgstr "" -#: library/turtle.rst:311 +#: library/turtle.rst:294 msgid "Move and draw" msgstr "" @@ -446,7 +446,7 @@ msgstr "" msgid ":func:`distance`" msgstr "" -#: library/turtle.rst:323 +#: library/turtle.rst:321 msgid "Setting and measurement" msgstr "" @@ -766,7 +766,7 @@ msgstr "" msgid ":func:`numinput`" msgstr "" -#: library/turtle.rst:424 +#: library/turtle.rst:419 msgid "Methods specific to Screen" msgstr "" @@ -1196,7 +1196,7 @@ msgstr "" msgid "Four input formats are allowed:" msgstr "" -#: library/turtle.rst:1122 +#: library/turtle.rst:1119 msgid "``pencolor()``" msgstr "" @@ -1206,7 +1206,7 @@ msgid "" "example). May be used as input to another color/pencolor/fillcolor call." msgstr "" -#: library/turtle.rst:1126 +#: library/turtle.rst:1124 msgid "``pencolor(colorstring)``" msgstr "" @@ -1216,7 +1216,7 @@ msgid "" "such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``." msgstr "" -#: library/turtle.rst:1131 +#: library/turtle.rst:1128 msgid "``pencolor((r, g, b))``" msgstr "" @@ -1227,7 +1227,7 @@ msgid "" "colormode is either 1.0 or 255 (see :func:`colormode`)." msgstr "" -#: library/turtle.rst:1135 +#: library/turtle.rst:1133 msgid "``pencolor(r, g, b)``" msgstr "" @@ -1247,7 +1247,7 @@ msgstr "" msgid "Return or set the fillcolor." msgstr "" -#: library/turtle.rst:1171 +#: library/turtle.rst:1168 msgid "``fillcolor()``" msgstr "" @@ -1258,7 +1258,7 @@ msgid "" "fillcolor call." msgstr "" -#: library/turtle.rst:1175 +#: library/turtle.rst:1173 msgid "``fillcolor(colorstring)``" msgstr "" @@ -1268,7 +1268,7 @@ msgid "" "such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``." msgstr "" -#: library/turtle.rst:1180 +#: library/turtle.rst:1177 msgid "``fillcolor((r, g, b))``" msgstr "" @@ -1279,7 +1279,7 @@ msgid "" "colormode is either 1.0 or 255 (see :func:`colormode`)." msgstr "" -#: library/turtle.rst:1184 +#: library/turtle.rst:1182 msgid "``fillcolor(r, g, b)``" msgstr "" @@ -1304,7 +1304,7 @@ msgid "" "Several input formats are allowed. They use 0 to 3 arguments as follows:" msgstr "" -#: library/turtle.rst:1215 +#: library/turtle.rst:1212 msgid "``color()``" msgstr "" @@ -1315,7 +1315,7 @@ msgid "" "`fillcolor`." msgstr "" -#: library/turtle.rst:1219 +#: library/turtle.rst:1217 msgid "``color(colorstring)``, ``color((r,g,b))``, ``color(r,g,b)``" msgstr "" @@ -1325,7 +1325,7 @@ msgid "" "given value." msgstr "" -#: library/turtle.rst:1223 +#: library/turtle.rst:1221 msgid "" "``color(colorstring1, colorstring2)``, ``color((r1,g1,b1), (r2,g2,b2))``" msgstr "" diff --git a/library/types.po b/library/types.po index ac7c48210..7c57b5624 100644 --- a/library/types.po +++ b/library/types.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -97,7 +97,7 @@ msgid "" "metaclass does not have a ``__prepare__`` method." msgstr "" -#: library/types.rst:67 +#: library/types.rst:66 msgid ":ref:`metaclasses`" msgstr "" @@ -375,7 +375,7 @@ msgstr "" msgid "This type can now be subclassed." msgstr "" -#: library/types.rst:351 +#: library/types.rst:350 msgid ":ref:`Generic Alias Types`" msgstr "" diff --git a/library/typing.po b/library/typing.po index ff4794d1f..0377f1e6e 100644 --- a/library/typing.po +++ b/library/typing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,294 +32,124 @@ msgid "" msgstr "" #: library/typing.rst:26 -msgid "" -"This module provides runtime support for type hints. For the original " -"specification of the typing system, see :pep:`484`. For a simplified " -"introduction to type hints, see :pep:`483`." +msgid "This module provides runtime support for type hints." msgstr "" -#: library/typing.rst:31 -msgid "" -"The function below takes and returns a string and is annotated as follows::" +#: library/typing.rst:28 +msgid "Consider the function below::" msgstr "" -#: library/typing.rst:36 +#: library/typing.rst:33 msgid "" -"In the function ``greeting``, the argument ``name`` is expected to be of " -"type :class:`str` and the return type :class:`str`. Subtypes are accepted as " -"arguments." +"The function ``moon_weight`` takes an argument expected to be an instance " +"of :class:`float`, as indicated by the *type hint* ``earth_weight: float``. " +"The function is expected to return an instance of :class:`str`, as indicated " +"by the ``-> str`` hint." msgstr "" -#: library/typing.rst:40 +#: library/typing.rst:37 msgid "" -"New features are frequently added to the ``typing`` module. The " -"`typing_extensions `_ package " -"provides backports of these new features to older versions of Python." +"While type hints can be simple classes like :class:`float` or :class:`str`, " +"they can also be more complex. The :mod:`typing` module provides a " +"vocabulary of more advanced type hints." msgstr "" -#: library/typing.rst:44 +#: library/typing.rst:41 msgid "" -"For a summary of deprecated features and a deprecation timeline, please see " -"`Deprecation Timeline of Major Features`_." +"New features are frequently added to the ``typing`` module. The :pypi:" +"`typing_extensions` package provides backports of these new features to " +"older versions of Python." msgstr "" -#: library/typing.rst:50 +#: library/typing.rst:47 msgid "" "`\"Typing cheat sheet\" `_" msgstr "" -#: library/typing.rst:50 +#: library/typing.rst:48 msgid "A quick overview of type hints (hosted at the mypy docs)" msgstr "" -#: library/typing.rst:55 +#: library/typing.rst:50 msgid "" "\"Type System Reference\" section of `the mypy docs `_" msgstr "" -#: library/typing.rst:53 +#: library/typing.rst:51 msgid "" "The Python typing system is standardised via PEPs, so this reference should " "broadly apply to most Python type checkers. (Some parts may still be " "specific to mypy.)" msgstr "" -#: library/typing.rst:59 +#: library/typing.rst:55 msgid "" "`\"Static Typing with Python\" `_" msgstr "" -#: library/typing.rst:58 +#: library/typing.rst:56 msgid "" "Type-checker-agnostic documentation written by the community detailing type " "system features, useful typing related tools and typing best practices." msgstr "" -#: library/typing.rst:65 -msgid "Relevant PEPs" -msgstr "" - -#: library/typing.rst:67 -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:" -msgstr "" - -#: library/typing.rst:77 -msgid ":pep:`526`: Syntax for Variable Annotations" -msgstr "" - -#: library/typing.rst:77 -msgid "" -"*Introducing* syntax for annotating variables outside of function " -"definitions, and :data:`ClassVar`" -msgstr "" - -#: library/typing.rst:80 -msgid ":pep:`544`: Protocols: Structural subtyping (static duck typing)" -msgstr "" - -#: library/typing.rst:80 -msgid "" -"*Introducing* :class:`Protocol` and the :func:" -"`@runtime_checkable` decorator" -msgstr "" - -#: library/typing.rst:83 -msgid ":pep:`585`: Type Hinting Generics In Standard Collections" -msgstr "" - -#: library/typing.rst:83 -msgid "" -"*Introducing* :class:`types.GenericAlias` and the ability to use standard " -"library classes as :ref:`generic types`" -msgstr "" - -#: library/typing.rst:85 -msgid ":pep:`586`: Literal Types" -msgstr "" - -#: library/typing.rst:86 -msgid "*Introducing* :data:`Literal`" -msgstr "" - -#: library/typing.rst:87 -msgid "" -":pep:`589`: TypedDict: Type Hints for Dictionaries with a Fixed Set of Keys" -msgstr "" - -#: library/typing.rst:88 -msgid "*Introducing* :class:`TypedDict`" -msgstr "" - -#: library/typing.rst:89 -msgid ":pep:`591`: Adding a final qualifier to typing" -msgstr "" - -#: library/typing.rst:90 -msgid "*Introducing* :data:`Final` and the :func:`@final` decorator" -msgstr "" - -#: library/typing.rst:91 -msgid ":pep:`593`: Flexible function and variable annotations" +#: library/typing.rst:63 +msgid "Specification for the Python Type System" msgstr "" -#: library/typing.rst:92 -msgid "*Introducing* :data:`Annotated`" -msgstr "" - -#: library/typing.rst:95 -msgid ":pep:`604`: Allow writing union types as ``X | Y``" -msgstr "" - -#: library/typing.rst:94 -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:97 -msgid ":pep:`612`: Parameter Specification Variables" -msgstr "" - -#: library/typing.rst:98 -msgid "*Introducing* :class:`ParamSpec` and :data:`Concatenate`" -msgstr "" - -#: library/typing.rst:99 -msgid ":pep:`613`: Explicit Type Aliases" -msgstr "" - -#: library/typing.rst:100 -msgid "*Introducing* :data:`TypeAlias`" -msgstr "" - -#: library/typing.rst:101 -msgid ":pep:`646`: Variadic Generics" -msgstr "" - -#: library/typing.rst:102 -msgid "*Introducing* :data:`TypeVarTuple`" -msgstr "" - -#: library/typing.rst:103 -msgid ":pep:`647`: User-Defined Type Guards" -msgstr "" - -#: library/typing.rst:104 -msgid "*Introducing* :data:`TypeGuard`" -msgstr "" - -#: library/typing.rst:105 -msgid "" -":pep:`655`: Marking individual TypedDict items as required or potentially " -"missing" -msgstr "" - -#: library/typing.rst:106 -msgid "*Introducing* :data:`Required` and :data:`NotRequired`" -msgstr "" - -#: library/typing.rst:107 -msgid ":pep:`673`: Self type" -msgstr "" - -#: library/typing.rst:108 -msgid "*Introducing* :data:`Self`" -msgstr "" - -#: library/typing.rst:109 -msgid ":pep:`675`: Arbitrary Literal String Type" -msgstr "" - -#: library/typing.rst:110 -msgid "*Introducing* :data:`LiteralString`" -msgstr "" - -#: library/typing.rst:111 -msgid ":pep:`681`: Data Class Transforms" -msgstr "" - -#: library/typing.rst:112 -msgid "" -"*Introducing* the :func:`@dataclass_transform` decorator" -msgstr "" - -#: library/typing.rst:114 -msgid ":pep:`692`: Using ``TypedDict`` for more precise ``**kwargs`` typing" -msgstr "" - -#: library/typing.rst:114 +#: library/typing.rst:65 msgid "" -"*Introducing* a new way of typing ``**kwargs`` with :data:`Unpack` and :data:" -"`TypedDict`" +"The canonical, up-to-date specification of the Python type system can be " +"found at `\"Specification for the Python type system\" `_." msgstr "" -#: library/typing.rst:116 -msgid ":pep:`695`: Type Parameter Syntax" -msgstr "" - -#: library/typing.rst:117 -msgid "" -"*Introducing* builtin syntax for creating generic functions, classes, and " -"type aliases." -msgstr "" - -#: library/typing.rst:119 -msgid ":pep:`698`: Adding an override decorator to typing" -msgstr "" - -#: library/typing.rst:119 -msgid "*Introducing* the :func:`@override` decorator" -msgstr "" - -#: library/typing.rst:129 +#: library/typing.rst:71 msgid "Type aliases" msgstr "" -#: library/typing.rst:131 +#: library/typing.rst:73 msgid "" "A type alias is defined using the :keyword:`type` statement, which creates " "an instance of :class:`TypeAliasType`. In this example, ``Vector`` and " "``list[float]`` will be treated equivalently by static type checkers::" msgstr "" -#: library/typing.rst:144 +#: library/typing.rst:86 msgid "" "Type aliases are useful for simplifying complex type signatures. For " "example::" msgstr "" -#: library/typing.rst:162 +#: library/typing.rst:104 msgid "" "The :keyword:`type` statement is new in Python 3.12. For backwards " "compatibility, type aliases can also be created through simple assignment::" msgstr "" -#: library/typing.rst:167 +#: library/typing.rst:109 msgid "" "Or marked with :data:`TypeAlias` to make it explicit that this is a type " "alias, not a normal variable assignment::" msgstr "" -#: library/typing.rst:177 +#: library/typing.rst:119 msgid "NewType" msgstr "" -#: library/typing.rst:179 +#: library/typing.rst:121 msgid "Use the :class:`NewType` helper to create distinct types::" msgstr "" -#: library/typing.rst:186 +#: library/typing.rst:128 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:198 +#: library/typing.rst:140 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 " @@ -327,7 +157,7 @@ msgid "" "you from accidentally creating a ``UserId`` in an invalid way::" msgstr "" -#: library/typing.rst:206 +#: library/typing.rst:148 msgid "" "Note that these checks are enforced only by the static type checker. At " "runtime, the statement ``Derived = NewType('Derived', Base)`` will make " @@ -336,31 +166,31 @@ msgid "" "class or introduce much overhead beyond that of a regular function call." msgstr "" -#: library/typing.rst:212 +#: library/typing.rst:154 msgid "" "More precisely, the expression ``some_value is Derived(some_value)`` is " "always true at runtime." msgstr "" -#: library/typing.rst:215 +#: library/typing.rst:157 msgid "It is invalid to create a subtype of ``Derived``::" msgstr "" -#: library/typing.rst:224 +#: library/typing.rst:166 msgid "" "However, it is possible to create a :class:`NewType` based on a 'derived' " "``NewType``::" msgstr "" -#: library/typing.rst:232 +#: library/typing.rst:174 msgid "and typechecking for ``ProUserId`` will work as expected." msgstr "" -#: library/typing.rst:234 +#: library/typing.rst:176 msgid "See :pep:`484` for more details." msgstr "" -#: library/typing.rst:238 +#: library/typing.rst:180 msgid "" "Recall that the use of a type alias declares two types to be *equivalent* to " "one another. Doing ``type Alias = Original`` will make the static type " @@ -368,7 +198,7 @@ msgid "" "cases. This is useful when you want to simplify complex type signatures." msgstr "" -#: library/typing.rst:243 +#: library/typing.rst:185 msgid "" "In contrast, ``NewType`` declares one type to be a *subtype* of another. " "Doing ``Derived = NewType('Derived', Original)`` will make the static type " @@ -378,24 +208,24 @@ msgid "" "errors with minimal runtime cost." msgstr "" -#: library/typing.rst:252 +#: library/typing.rst:194 msgid "" "``NewType`` is now a class rather than a function. As a result, there is " "some additional runtime cost when calling ``NewType`` over a regular " "function." msgstr "" -#: library/typing.rst:257 +#: library/typing.rst:199 msgid "" "The performance of calling ``NewType`` has been restored to its level in " "Python 3.9." msgstr "" -#: library/typing.rst:264 +#: library/typing.rst:206 msgid "Annotating callable objects" msgstr "" -#: library/typing.rst:266 +#: library/typing.rst:208 msgid "" "Functions -- or other :term:`callable` objects -- can be annotated using :" "class:`collections.abc.Callable` or :data:`typing.Callable`. " @@ -403,11 +233,11 @@ msgid "" "of type :class:`int` and returns a :class:`str`." msgstr "" -#: library/typing.rst:2889 library/typing.rst:3031 +#: library/typing.rst:2831 library/typing.rst:2975 msgid "For example:" msgstr "" -#: library/typing.rst:289 +#: library/typing.rst:231 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 " @@ -415,13 +245,13 @@ msgid "" "type must be a single type." msgstr "" -#: library/typing.rst:294 +#: library/typing.rst:236 msgid "" "If a literal ellipsis ``...`` is given as the argument list, it indicates " "that a callable with any arbitrary parameter list would be acceptable:" msgstr "" -#: library/typing.rst:306 +#: library/typing.rst:248 msgid "" "``Callable`` cannot express complex signatures such as functions that take a " "variadic number of arguments, :ref:`overloaded functions `, or " @@ -430,7 +260,7 @@ msgid "" "__call__` method:" msgstr "" -#: library/typing.rst:333 +#: library/typing.rst:275 msgid "" "Callables which take other callables as arguments may indicate that their " "parameter types are dependent on each other using :class:`ParamSpec`. " @@ -441,54 +271,54 @@ msgid "" "ReturnType]`` respectively." msgstr "" -#: library/typing.rst:3557 +#: library/typing.rst:3501 msgid "" "``Callable`` now supports :class:`ParamSpec` and :data:`Concatenate`. See :" "pep:`612` for more details." msgstr "" -#: library/typing.rst:346 +#: library/typing.rst:288 msgid "" "The documentation for :class:`ParamSpec` and :class:`Concatenate` provides " "examples of usage in ``Callable``." msgstr "" -#: library/typing.rst:352 +#: library/typing.rst:294 msgid "Generics" msgstr "" -#: library/typing.rst:354 +#: library/typing.rst:296 msgid "" "Since type information about objects kept in containers cannot be statically " "inferred in a generic way, many container classes in the standard library " "support subscription to denote the expected types of container elements." msgstr "" -#: library/typing.rst:371 +#: library/typing.rst:313 msgid "" "Generic functions and classes can be parameterized by using :ref:`type " "parameter syntax `::" msgstr "" -#: library/typing.rst:379 +#: library/typing.rst:321 msgid "Or by using the :class:`TypeVar` factory directly::" msgstr "" -#: library/typing.rst:389 +#: library/typing.rst:331 msgid "Syntactic support for generics is new in Python 3.12." msgstr "" -#: library/typing.rst:395 +#: library/typing.rst:337 msgid "Annotating tuples" msgstr "" -#: library/typing.rst:397 +#: library/typing.rst:339 msgid "" "For most containers in Python, the typing system assumes that all elements " "in the container will be of the same type. For example::" msgstr "" -#: library/typing.rst:412 +#: library/typing.rst:354 msgid "" ":class:`list` only accepts one type argument, so a type checker would emit " "an error on the ``y`` assignment above. Similarly, :class:`~collections.abc." @@ -496,7 +326,7 @@ msgid "" "the keys, and the second indicates the type of the values." msgstr "" -#: library/typing.rst:418 +#: library/typing.rst:360 msgid "" "Unlike most other Python containers, however, it is common in idiomatic " "Python code for tuples to have elements which are not all of the same type. " @@ -504,7 +334,7 @@ msgid "" "`tuple` accepts *any number* of type arguments::" msgstr "" -#: library/typing.rst:434 +#: library/typing.rst:376 msgid "" "To denote a tuple which could be of *any* length, and in which all elements " "are of the same type ``T``, use ``tuple[T, ...]``. To denote an empty tuple, " @@ -512,11 +342,11 @@ msgid "" "using ``tuple[Any, ...]``::" msgstr "" -#: library/typing.rst:457 +#: library/typing.rst:399 msgid "The type of class objects" msgstr "" -#: library/typing.rst:459 +#: library/typing.rst:401 msgid "" "A variable annotated with ``C`` may accept a value of type ``C``. In " "contrast, a variable annotated with ``type[C]`` (or :class:`typing.Type[C] " @@ -524,104 +354,104 @@ msgid "" "will accept the *class object* of ``C``. For example::" msgstr "" -#: library/typing.rst:469 +#: library/typing.rst:411 msgid "Note that ``type[C]`` is covariant::" msgstr "" -#: library/typing.rst:485 +#: library/typing.rst:427 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:497 +#: library/typing.rst:439 msgid "" "``type[Any]`` is equivalent to :class:`type`, which is the root of Python's :" "ref:`metaclass hierarchy `." msgstr "" -#: library/typing.rst:503 +#: library/typing.rst:445 msgid "User-defined generic types" msgstr "" -#: library/typing.rst:505 +#: library/typing.rst:447 msgid "A user-defined class can be defined as a generic class." msgstr "" -#: library/typing.rst:528 +#: library/typing.rst:470 msgid "" "This syntax indicates that the class ``LoggedVar`` is parameterised around a " "single :ref:`type variable ` ``T`` . This also makes ``T`` valid as " "a type within the class body." msgstr "" -#: library/typing.rst:532 +#: library/typing.rst:474 msgid "" "Generic classes implicitly inherit from :class:`Generic`. For compatibility " "with Python 3.11 and lower, it is also possible to inherit explicitly from :" "class:`Generic` to indicate a generic class::" msgstr "" -#: library/typing.rst:543 +#: library/typing.rst:485 msgid "" "Generic classes have :meth:`~object.__class_getitem__` methods, meaning they " "can be parameterised at runtime (e.g. ``LoggedVar[int]`` below)::" msgstr "" -#: library/typing.rst:552 +#: library/typing.rst:494 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:567 +#: library/typing.rst:509 msgid "" "Each type variable argument to :class:`Generic` must be distinct. This is " "thus invalid::" msgstr "" -#: library/typing.rst:581 +#: library/typing.rst:523 msgid "Generic classes can also inherit from other classes::" msgstr "" -#: library/typing.rst:588 +#: library/typing.rst:530 msgid "" "When inheriting from generic classes, some type parameters could be fixed::" msgstr "" -#: library/typing.rst:595 +#: library/typing.rst:537 msgid "In this case ``MyDict`` has a single parameter, ``T``." msgstr "" -#: library/typing.rst:597 +#: library/typing.rst:539 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:608 +#: library/typing.rst:550 msgid "User-defined generic type aliases are also supported. Examples::" msgstr "" -#: library/typing.rst:623 +#: library/typing.rst:565 msgid "" "For backward compatibility, generic type aliases can also be created through " "a simple assignment::" msgstr "" -#: library/typing.rst:632 +#: library/typing.rst:574 msgid ":class:`Generic` no longer has a custom metaclass." msgstr "" -#: library/typing.rst:635 +#: library/typing.rst:577 msgid "" "Syntactic support for generics and type aliases is new in version 3.12. " "Previously, generic classes had to explicitly inherit from :class:`Generic` " "or contain a type variable in one of their bases." msgstr "" -#: library/typing.rst:640 +#: library/typing.rst:582 msgid "" "User-defined generics for parameter expressions are also supported via " "parameter specification variables in the form ``[**P]``. The behavior is " @@ -631,13 +461,13 @@ msgid "" "a :class:`ParamSpec`::" msgstr "" -#: library/typing.rst:651 +#: library/typing.rst:593 msgid "" "Classes generic over a :class:`ParamSpec` can also be created using explicit " "inheritance from :class:`Generic`. In this case, ``**`` is not used::" msgstr "" -#: library/typing.rst:661 +#: library/typing.rst:603 msgid "" "Another difference between :class:`TypeVar` and :class:`ParamSpec` is that a " "generic with only one parameter specification variable will accept parameter " @@ -646,20 +476,20 @@ msgid "" "the former, so the following are equivalent::" msgstr "" -#: library/typing.rst:674 +#: library/typing.rst:616 msgid "" "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:678 +#: library/typing.rst:620 msgid "" ":class:`Generic` can now be parameterized over parameter expressions. See :" "class:`ParamSpec` and :pep:`612` for more details." msgstr "" -#: library/typing.rst:682 +#: library/typing.rst:624 msgid "" "A user-defined generic class can have ABCs as base classes without a " "metaclass conflict. Generic metaclasses are not supported. The outcome of " @@ -667,24 +497,24 @@ msgid "" "term:`hashable` and comparable for equality." msgstr "" -#: library/typing.rst:689 +#: library/typing.rst:631 msgid "The :data:`Any` type" msgstr "" -#: library/typing.rst:691 +#: library/typing.rst:633 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:695 +#: library/typing.rst:637 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:713 +#: library/typing.rst:655 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 " @@ -693,19 +523,19 @@ msgid "" "runtime!" msgstr "" -#: library/typing.rst:719 +#: library/typing.rst:661 msgid "" "Furthermore, all functions without a return type or parameter types will " "implicitly default to using :data:`Any`::" msgstr "" -#: library/typing.rst:732 +#: library/typing.rst:674 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:735 +#: library/typing.rst:677 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, " @@ -713,7 +543,7 @@ msgid "" "subtype of every other type." msgstr "" -#: library/typing.rst:740 +#: library/typing.rst:682 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 " @@ -721,24 +551,24 @@ msgid "" "example::" msgstr "" -#: library/typing.rst:762 +#: library/typing.rst:704 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:767 +#: library/typing.rst:709 msgid "Nominal vs structural subtyping" msgstr "" -#: library/typing.rst:769 +#: library/typing.rst:711 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:773 +#: library/typing.rst:715 msgid "" "This requirement previously also applied to abstract base classes, such as :" "class:`~collections.abc.Iterable`. The problem with this approach is that a " @@ -747,7 +577,7 @@ msgid "" "code. For example, this conforms to :pep:`484`::" msgstr "" -#: library/typing.rst:786 +#: library/typing.rst:728 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 " @@ -756,87 +586,87 @@ msgid "" "subtyping* (or static duck-typing)::" msgstr "" -#: library/typing.rst:802 +#: library/typing.rst:744 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:807 +#: library/typing.rst:749 msgid "Module contents" msgstr "" -#: library/typing.rst:809 +#: library/typing.rst:751 msgid "" "The ``typing`` module defines the following classes, functions and " "decorators." msgstr "" -#: library/typing.rst:812 +#: library/typing.rst:754 msgid "Special typing primitives" msgstr "" -#: library/typing.rst:815 +#: library/typing.rst:757 msgid "Special types" msgstr "" -#: library/typing.rst:817 +#: library/typing.rst:759 msgid "" "These can be used as types in annotations. They do not support subscription " "using ``[]``." msgstr "" -#: library/typing.rst:822 +#: library/typing.rst:764 msgid "Special type indicating an unconstrained type." msgstr "" -#: library/typing.rst:824 +#: library/typing.rst:766 msgid "Every type is compatible with :data:`Any`." msgstr "" -#: library/typing.rst:825 +#: library/typing.rst:767 msgid ":data:`Any` is compatible with every type." msgstr "" -#: library/typing.rst:827 +#: library/typing.rst:769 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:834 +#: library/typing.rst:776 msgid "A :ref:`constrained type variable `." msgstr "" -#: library/typing.rst:836 +#: library/typing.rst:778 msgid "Definition::" msgstr "" -#: library/typing.rst:840 +#: library/typing.rst:782 msgid "" "``AnyStr`` is meant to be used for functions that may accept :class:`str` " "or :class:`bytes` arguments but cannot allow the two to mix." msgstr "" -#: library/typing.rst:934 library/typing.rst:1010 library/typing.rst:1233 -#: library/typing.rst:2829 +#: library/typing.rst:876 library/typing.rst:952 library/typing.rst:1175 +#: library/typing.rst:2771 msgid "For example::" msgstr "" -#: library/typing.rst:852 +#: library/typing.rst:794 msgid "" "Note that, despite its name, ``AnyStr`` has nothing to do with the :class:" "`Any` type, nor does it mean \"any string\". In particular, ``AnyStr`` and " "``str | bytes`` are different from each other and have different use cases::" msgstr "" -#: library/typing.rst:869 +#: library/typing.rst:811 msgid "Special type that includes only literal strings." msgstr "" -#: library/typing.rst:871 +#: library/typing.rst:813 msgid "" "Any string literal is compatible with ``LiteralString``, as is another " "``LiteralString``. However, an object typed as just ``str`` is not. A string " @@ -844,11 +674,11 @@ msgid "" "``LiteralString``." msgstr "" -#: library/typing.rst:1957 +#: library/typing.rst:1899 msgid "Example:" msgstr "" -#: library/typing.rst:893 +#: library/typing.rst:835 msgid "" "``LiteralString`` is useful for sensitive APIs where arbitrary user-" "generated strings could generate problems. For example, the two cases above " @@ -856,33 +686,33 @@ msgid "" "attack." msgstr "" -#: library/typing.rst:898 +#: library/typing.rst:840 msgid "See :pep:`675` for more details." msgstr "" -#: library/typing.rst:904 +#: library/typing.rst:846 msgid "" "The `bottom type `_, a type that " "has no members." msgstr "" -#: library/typing.rst:907 +#: library/typing.rst:849 msgid "" "This can be used to define a function that should never be called, or a " "function that never returns::" msgstr "" -#: library/typing.rst:927 +#: library/typing.rst:869 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:932 +#: library/typing.rst:874 msgid "Special type indicating that a function never returns." msgstr "" -#: library/typing.rst:941 +#: library/typing.rst:883 msgid "" "``NoReturn`` can also be used as a `bottom type `_, a type that has no values. Starting in Python 3.11, " @@ -890,17 +720,17 @@ msgid "" "checkers should treat the two equivalently." msgstr "" -#: library/typing.rst:951 +#: library/typing.rst:893 msgid "Special type to represent the current enclosed class." msgstr "" -#: library/typing.rst:967 +#: library/typing.rst:909 msgid "" "This annotation is semantically equivalent to the following, albeit in a " "more succinct fashion::" msgstr "" -#: library/typing.rst:979 +#: library/typing.rst:921 msgid "" "In general, if something returns ``self``, as in the above examples, you " "should use ``Self`` as the return annotation. If ``Foo.return_self`` was " @@ -909,48 +739,48 @@ msgid "" "rather than ``SubclassOfFoo``." msgstr "" -#: library/typing.rst:985 +#: library/typing.rst:927 msgid "Other common use cases include:" msgstr "" -#: library/typing.rst:987 +#: library/typing.rst:929 msgid "" ":class:`classmethod`\\s that are used as alternative constructors and return " "instances of the ``cls`` parameter." msgstr "" -#: library/typing.rst:989 +#: library/typing.rst:931 msgid "Annotating an :meth:`~object.__enter__` method which returns self." msgstr "" -#: library/typing.rst:991 +#: library/typing.rst:933 msgid "" "You should not use ``Self`` as the return annotation if the method is not " "guaranteed to return an instance of a subclass when the class is subclassed::" msgstr "" -#: library/typing.rst:1002 +#: library/typing.rst:944 msgid "See :pep:`673` for more details." msgstr "" -#: library/typing.rst:1008 +#: library/typing.rst:950 msgid "" "Special annotation for explicitly declaring a :ref:`type alias `." msgstr "" -#: library/typing.rst:1016 +#: library/typing.rst:958 msgid "" "``TypeAlias`` is particularly useful on older Python versions for annotating " "aliases that make use of forward references, as it can be hard for type " "checkers to distinguish these from normal variable assignments:" msgstr "" -#: library/typing.rst:1036 +#: library/typing.rst:978 msgid "See :pep:`613` for more details." msgstr "" -#: library/typing.rst:1040 +#: library/typing.rst:982 msgid "" ":data:`TypeAlias` is deprecated in favor of the :keyword:`type` statement, " "which creates instances of :class:`TypeAliasType` and which natively " @@ -961,71 +791,71 @@ msgid "" "to :keyword:`type` statements." msgstr "" -#: library/typing.rst:1051 +#: library/typing.rst:993 msgid "Special forms" msgstr "" -#: library/typing.rst:1053 +#: library/typing.rst:995 msgid "" "These can be used as types in annotations. They all support subscription " "using ``[]``, but each has a unique syntax." msgstr "" -#: library/typing.rst:1058 +#: library/typing.rst:1000 msgid "" "Union type; ``Union[X, Y]`` is equivalent to ``X | Y`` and means either X or " "Y." msgstr "" -#: library/typing.rst:1060 +#: library/typing.rst:1002 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:1062 +#: library/typing.rst:1004 msgid "The arguments must be types and there must be at least one." msgstr "" -#: library/typing.rst:1064 +#: library/typing.rst:1006 msgid "Unions of unions are flattened, e.g.::" msgstr "" -#: library/typing.rst:1068 +#: library/typing.rst:1010 msgid "Unions of a single argument vanish, e.g.::" msgstr "" -#: library/typing.rst:1072 +#: library/typing.rst:1014 msgid "Redundant arguments are skipped, e.g.::" msgstr "" -#: library/typing.rst:1076 +#: library/typing.rst:1018 msgid "When comparing unions, the argument order is ignored, e.g.::" msgstr "" -#: library/typing.rst:1080 +#: library/typing.rst:1022 msgid "You cannot subclass or instantiate a ``Union``." msgstr "" -#: library/typing.rst:1082 +#: library/typing.rst:1024 msgid "You cannot write ``Union[X][Y]``." msgstr "" -#: library/typing.rst:1084 +#: library/typing.rst:1026 msgid "Don't remove explicit subclasses from unions at runtime." msgstr "" -#: library/typing.rst:1087 +#: library/typing.rst:1029 msgid "" "Unions can now be written as ``X | Y``. See :ref:`union type " "expressions`." msgstr "" -#: library/typing.rst:1093 +#: library/typing.rst:1035 msgid "``Optional[X]`` is equivalent to ``X | None`` (or ``Union[X, None]``)." msgstr "" -#: library/typing.rst:1095 +#: library/typing.rst:1037 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 " @@ -1033,24 +863,24 @@ msgid "" "optional. For example::" msgstr "" -#: library/typing.rst:1103 +#: library/typing.rst:1045 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:1110 +#: library/typing.rst:1052 msgid "" "Optional can now be written as ``X | None``. See :ref:`union type " "expressions`." msgstr "" -#: library/typing.rst:1116 +#: library/typing.rst:1058 msgid "Special form for annotating higher-order functions." msgstr "" -#: library/typing.rst:1118 +#: library/typing.rst:1060 msgid "" "``Concatenate`` can be used in conjunction with :ref:`Callable ` and :class:`ParamSpec` to annotate a higher-order callable which " @@ -1061,7 +891,7 @@ msgid "" "``Concatenate`` must be a :class:`ParamSpec` or ellipsis (``...``)." msgstr "" -#: library/typing.rst:1127 +#: library/typing.rst:1069 msgid "" "For example, to annotate a decorator ``with_lock`` which provides a :class:" "`threading.Lock` to the decorated function, ``Concatenate`` can be used to " @@ -1072,38 +902,38 @@ msgid "" "passed in::" msgstr "" -#: library/typing.rst:1925 +#: library/typing.rst:1867 msgid "" ":pep:`612` -- Parameter Specification Variables (the PEP which introduced " "``ParamSpec`` and ``Concatenate``)" msgstr "" -#: library/typing.rst:1165 +#: library/typing.rst:1107 msgid ":class:`ParamSpec`" msgstr "" -#: library/typing.rst:1928 +#: library/typing.rst:1870 msgid ":ref:`annotating-callables`" msgstr "" -#: library/typing.rst:1170 +#: library/typing.rst:1112 msgid "Special typing form to define \"literal types\"." msgstr "" -#: library/typing.rst:1172 +#: library/typing.rst:1114 msgid "" "``Literal`` can be used to indicate to type checkers that the annotated " "object has a value equivalent to one of the provided literals." msgstr "" -#: library/typing.rst:1188 +#: library/typing.rst:1130 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:1194 +#: library/typing.rst:1136 msgid "" "``Literal`` now de-duplicates parameters. Equality comparisons of " "``Literal`` objects are no longer order dependent. ``Literal`` objects will " @@ -1111,22 +941,22 @@ msgid "" "their parameters are not :term:`hashable`." msgstr "" -#: library/typing.rst:1202 +#: library/typing.rst:1144 msgid "Special type construct to mark class variables." msgstr "" -#: library/typing.rst:1204 +#: library/typing.rst:1146 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:1212 +#: library/typing.rst:1154 msgid ":data:`ClassVar` accepts only types and cannot be further subscribed." msgstr "" -#: library/typing.rst:1214 +#: library/typing.rst:1156 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 " @@ -1134,47 +964,47 @@ msgid "" "example, a type checker might flag the following code as an error::" msgstr "" -#: library/typing.rst:1228 +#: library/typing.rst:1170 msgid "Special typing construct to indicate final names to type checkers." msgstr "" -#: library/typing.rst:1230 +#: library/typing.rst:1172 msgid "" "Final names cannot be reassigned in any scope. Final names declared in class " "scopes cannot be overridden in subclasses." msgstr "" -#: library/typing.rst:2845 +#: library/typing.rst:2787 msgid "" "There is no runtime checking of these properties. See :pep:`591` for more " "details." msgstr "" -#: library/typing.rst:1251 +#: library/typing.rst:1193 msgid "Special typing construct to mark a :class:`TypedDict` key as required." msgstr "" -#: library/typing.rst:1253 +#: library/typing.rst:1195 msgid "" "This is mainly useful for ``total=False`` TypedDicts. See :class:`TypedDict` " "and :pep:`655` for more details." msgstr "" -#: library/typing.rst:1260 +#: library/typing.rst:1202 msgid "" "Special typing construct to mark a :class:`TypedDict` key as potentially " "missing." msgstr "" -#: library/typing.rst:1263 +#: library/typing.rst:1205 msgid "See :class:`TypedDict` and :pep:`655` for more details." msgstr "" -#: library/typing.rst:1269 +#: library/typing.rst:1211 msgid "Special typing form to add context-specific metadata to an annotation." msgstr "" -#: library/typing.rst:1271 +#: library/typing.rst:1213 msgid "" "Add metadata ``x`` to a given type ``T`` by using the annotation " "``Annotated[T, x]``. Metadata added using ``Annotated`` can be used by " @@ -1182,7 +1012,7 @@ msgid "" "a :attr:`!__metadata__` attribute." msgstr "" -#: library/typing.rst:1276 +#: library/typing.rst:1218 msgid "" "If a library or tool encounters an annotation ``Annotated[T, x]`` and has no " "special logic for the metadata, it should ignore the metadata and simply " @@ -1191,7 +1021,7 @@ msgid "" "system." msgstr "" -#: library/typing.rst:1282 +#: library/typing.rst:1224 msgid "" "Using ``Annotated[T, x]`` as an annotation still allows for static " "typechecking of ``T``, as type checkers will simply ignore the metadata " @@ -1201,7 +1031,7 @@ msgid "" "for a function or class." msgstr "" -#: library/typing.rst:1289 +#: library/typing.rst:1231 msgid "" "The responsibility of how to interpret the metadata lies with the tool or " "library encountering an ``Annotated`` annotation. A tool or library " @@ -1209,105 +1039,105 @@ msgid "" "determine if they are of interest (e.g., using :func:`isinstance`)." msgstr "" -#: library/typing.rst:1297 +#: library/typing.rst:1239 msgid "" "Here is an example of how you might use ``Annotated`` to add metadata to " "type annotations if you were doing range analysis:" msgstr "" -#: library/typing.rst:1310 +#: library/typing.rst:1252 msgid "Details of the syntax:" msgstr "" -#: library/typing.rst:1312 +#: library/typing.rst:1254 msgid "The first argument to ``Annotated`` must be a valid type" msgstr "" -#: library/typing.rst:1314 +#: library/typing.rst:1256 msgid "" "Multiple metadata elements can be supplied (``Annotated`` supports variadic " "arguments)::" msgstr "" -#: library/typing.rst:1323 +#: library/typing.rst:1265 msgid "" "It is up to the tool consuming the annotations to decide whether the client " "is allowed to add multiple metadata elements to one annotation and how to " "merge those annotations." msgstr "" -#: library/typing.rst:1327 +#: library/typing.rst:1269 msgid "" "``Annotated`` must be subscripted with at least two arguments " "( ``Annotated[int]`` is not valid)" msgstr "" -#: library/typing.rst:1330 +#: library/typing.rst:1272 msgid "" "The order of the metadata elements is preserved and matters for equality " "checks::" msgstr "" -#: library/typing.rst:1337 +#: library/typing.rst:1279 msgid "" "Nested ``Annotated`` types are flattened. The order of the metadata elements " "starts with the innermost annotation::" msgstr "" -#: library/typing.rst:1344 +#: library/typing.rst:1286 msgid "Duplicated metadata elements are not removed::" msgstr "" -#: library/typing.rst:1350 +#: library/typing.rst:1292 msgid "``Annotated`` can be used with nested and generic aliases:" msgstr "" -#: library/typing.rst:1364 +#: library/typing.rst:1306 msgid "``Annotated`` cannot be used with an unpacked :class:`TypeVarTuple`::" msgstr "" -#: library/typing.rst:1368 +#: library/typing.rst:1310 msgid "This would be equivalent to::" msgstr "" -#: library/typing.rst:1372 +#: library/typing.rst:1314 msgid "" "where ``T1``, ``T2``, etc. are :class:`TypeVars `. This would be " "invalid: only one type should be passed to Annotated." msgstr "" -#: library/typing.rst:1375 +#: library/typing.rst:1317 msgid "" "By default, :func:`get_type_hints` strips the metadata from annotations. " "Pass ``include_extras=True`` to have the metadata preserved:" msgstr "" -#: library/typing.rst:1388 +#: library/typing.rst:1330 msgid "" "At runtime, the metadata associated with an ``Annotated`` type can be " "retrieved via the :attr:`!__metadata__` attribute:" msgstr "" -#: library/typing.rst:1402 +#: library/typing.rst:1344 msgid ":pep:`593` - Flexible function and variable annotations" msgstr "" -#: library/typing.rst:1403 +#: library/typing.rst:1345 msgid "The PEP introducing ``Annotated`` to the standard library." msgstr "" -#: library/typing.rst:1410 +#: library/typing.rst:1352 msgid "Special typing construct for marking user-defined type guard functions." msgstr "" -#: library/typing.rst:1412 +#: library/typing.rst:1354 msgid "" "``TypeGuard`` can be 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:1416 +#: library/typing.rst:1358 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 " @@ -1316,44 +1146,44 @@ msgid "" "conditional expression here is sometimes referred to as a \"type guard\"::" msgstr "" -#: library/typing.rst:1431 +#: library/typing.rst:1373 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:1435 +#: library/typing.rst:1377 msgid "" "Using ``-> TypeGuard`` tells the static type checker that for a given " "function:" msgstr "" -#: library/typing.rst:1438 +#: library/typing.rst:1380 msgid "The return value is a boolean." msgstr "" -#: library/typing.rst:1439 +#: library/typing.rst:1381 msgid "" "If the return value is ``True``, the type of its argument is the type inside " "``TypeGuard``." msgstr "" -#: library/typing.rst:1456 +#: library/typing.rst:1398 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:1460 +#: library/typing.rst:1402 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:1466 +#: library/typing.rst:1408 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]`` " @@ -1362,24 +1192,24 @@ msgid "" "guards is left to the user." msgstr "" -#: library/typing.rst:1472 +#: library/typing.rst:1414 msgid "" "``TypeGuard`` also works with type variables. See :pep:`647` for more " "details." msgstr "" -#: library/typing.rst:1479 +#: library/typing.rst:1421 msgid "Typing operator to conceptually mark an object as having been unpacked." msgstr "" -#: library/typing.rst:1481 +#: library/typing.rst:1423 msgid "" "For example, using the unpack operator ``*`` on a :ref:`type variable tuple " "` is equivalent to using ``Unpack`` to mark the type variable " "tuple as having been unpacked::" msgstr "" -#: library/typing.rst:1490 +#: library/typing.rst:1432 msgid "" "In fact, ``Unpack`` can be used interchangeably with ``*`` in the context " "of :class:`typing.TypeVarTuple ` and :class:`builtins.tuple " @@ -1387,29 +1217,29 @@ msgid "" "versions of Python, where ``*`` couldn't be used in certain places::" msgstr "" -#: library/typing.rst:1504 +#: library/typing.rst:1446 msgid "" "``Unpack`` can also be used along with :class:`typing.TypedDict` for typing " "``**kwargs`` in a function signature::" msgstr "" -#: library/typing.rst:1517 +#: library/typing.rst:1459 msgid "" "See :pep:`692` for more details on using ``Unpack`` for ``**kwargs`` typing." msgstr "" -#: library/typing.rst:1522 +#: library/typing.rst:1464 msgid "Building generic types and type aliases" msgstr "" -#: library/typing.rst:1524 +#: library/typing.rst:1466 msgid "" "The following classes should not be used directly as annotations. Their " "intended purpose is to be building blocks for creating generic types and " "type aliases." msgstr "" -#: library/typing.rst:1528 +#: library/typing.rst:1470 msgid "" "These objects can be created through special syntax (:ref:`type parameter " "lists ` and the :keyword:`type` statement). For compatibility " @@ -1417,62 +1247,62 @@ msgid "" "syntax, as documented below." msgstr "" -#: library/typing.rst:1535 +#: library/typing.rst:1477 msgid "Abstract base class for generic types." msgstr "" -#: library/typing.rst:1537 +#: library/typing.rst:1479 msgid "" "A generic type is typically declared by adding a list of type parameters " "after the class name::" msgstr "" -#: library/typing.rst:1545 +#: library/typing.rst:1487 msgid "" "Such a class implicitly inherits from ``Generic``. The runtime semantics of " "this syntax are discussed in the :ref:`Language Reference `." msgstr "" -#: library/typing.rst:1549 +#: library/typing.rst:1491 msgid "This class can then be used as follows::" msgstr "" -#: library/typing.rst:1557 +#: library/typing.rst:1499 msgid "" "Here the brackets after the function name indicate a :ref:`generic function " "`." msgstr "" -#: library/typing.rst:1560 +#: library/typing.rst:1502 msgid "" "For backwards compatibility, generic classes can also be declared by " "explicitly inheriting from ``Generic``. In this case, the type parameters " "must be declared separately::" msgstr "" -#: library/typing.rst:1577 +#: library/typing.rst:1519 msgid "Type variable." msgstr "" -#: library/typing.rst:1579 +#: library/typing.rst:1521 msgid "" "The preferred way to construct a type variable is via the dedicated syntax " "for :ref:`generic functions `, :ref:`generic classes " "`, and :ref:`generic type aliases `::" msgstr "" -#: library/typing.rst:1587 +#: library/typing.rst:1529 msgid "" "This syntax can also be used to create bound and constrained type variables::" msgstr "" -#: library/typing.rst:1597 +#: library/typing.rst:1539 msgid "" "However, if desired, reusable type variables can also be constructed " "manually, like so::" msgstr "" -#: library/typing.rst:1603 +#: library/typing.rst:1545 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 " @@ -1480,13 +1310,13 @@ msgid "" "information on generic types. Generic functions work as follows::" msgstr "" -#: library/typing.rst:1624 +#: library/typing.rst:1566 msgid "" "Note that type variables can be *bound*, *constrained*, or neither, but " "cannot be both bound *and* constrained." msgstr "" -#: library/typing.rst:1627 +#: library/typing.rst:1569 msgid "" "The variance of type variables is inferred by type checkers when they are " "created through the :ref:`type parameter syntax ` or when " @@ -1496,92 +1326,92 @@ msgid "" "invariant. See :pep:`484` and :pep:`695` for more details." msgstr "" -#: library/typing.rst:1635 +#: library/typing.rst:1577 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:1650 +#: library/typing.rst:1592 msgid "" "Type variables can be bound to concrete types, abstract types (ABCs or " "protocols), and even unions of types::" msgstr "" -#: library/typing.rst:1662 +#: library/typing.rst:1604 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:1673 +#: library/typing.rst:1615 msgid "At runtime, ``isinstance(x, T)`` will raise :exc:`TypeError`." msgstr "" -#: library/typing.rst:1677 +#: library/typing.rst:1619 msgid "The name of the type variable." msgstr "" -#: library/typing.rst:1681 +#: library/typing.rst:1623 msgid "Whether the type var has been explicitly marked as covariant." msgstr "" -#: library/typing.rst:1685 +#: library/typing.rst:1627 msgid "Whether the type var has been explicitly marked as contravariant." msgstr "" -#: library/typing.rst:1689 +#: library/typing.rst:1631 msgid "" "Whether the type variable's variance should be inferred by type checkers." msgstr "" -#: library/typing.rst:1695 +#: library/typing.rst:1637 msgid "The bound of the type variable, if any." msgstr "" -#: library/typing.rst:1699 +#: library/typing.rst:1641 msgid "" "For type variables created through :ref:`type parameter syntax `, the bound is evaluated only when the attribute is accessed, not " "when the type variable is created (see :ref:`lazy-evaluation`)." msgstr "" -#: library/typing.rst:1705 +#: library/typing.rst:1647 msgid "A tuple containing the constraints of the type variable, if any." msgstr "" -#: library/typing.rst:1709 +#: library/typing.rst:1651 msgid "" "For type variables created through :ref:`type parameter syntax `, the constraints are evaluated only when the attribute is accessed, " "not when the type variable is created (see :ref:`lazy-evaluation`)." msgstr "" -#: library/typing.rst:1715 +#: library/typing.rst:1657 msgid "" "Type variables can now be declared using the :ref:`type parameter ` syntax introduced by :pep:`695`. The ``infer_variance`` parameter " "was added." msgstr "" -#: library/typing.rst:1723 +#: library/typing.rst:1665 msgid "" "Type variable tuple. A specialized form of :ref:`type variable ` " "that enables *variadic* generics." msgstr "" -#: library/typing.rst:1726 +#: library/typing.rst:1668 msgid "" "Type variable tuples can be declared in :ref:`type parameter lists ` using a single asterisk (``*``) before the name::" msgstr "" -#: library/typing.rst:1732 +#: library/typing.rst:1674 msgid "Or by explicitly invoking the ``TypeVarTuple`` constructor::" msgstr "" -#: library/typing.rst:1740 +#: library/typing.rst:1682 msgid "" "A normal type variable enables parameterization with a single type. A type " "variable tuple, in contrast, allows parameterization with an *arbitrary* " @@ -1589,7 +1419,7 @@ msgid "" "wrapped in a tuple. For example::" msgstr "" -#: library/typing.rst:1762 +#: library/typing.rst:1704 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, " @@ -1599,36 +1429,36 @@ msgid "" "` instead, as ``Unpack[Ts]``.)" msgstr "" -#: library/typing.rst:1770 +#: library/typing.rst:1712 msgid "" "Type variable tuples must *always* be unpacked. This helps distinguish type " "variable tuples from normal type variables::" msgstr "" -#: library/typing.rst:1777 +#: library/typing.rst:1719 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:1785 +#: library/typing.rst:1727 msgid "" "Type variable tuples can be happily combined with normal type variables:" msgstr "" -#: library/typing.rst:1801 +#: library/typing.rst:1743 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:1808 +#: library/typing.rst:1750 msgid "" "Finally, an unpacked type variable tuple can be used as the type annotation " "of ``*args``::" msgstr "" -#: library/typing.rst:1818 +#: library/typing.rst:1760 msgid "" "In contrast to non-unpacked annotations of ``*args`` - e.g. ``*args: int``, " "which would specify that *all* arguments are ``int`` - ``*args: *Ts`` " @@ -1637,39 +1467,39 @@ msgid "" "``call_soon`` match the types of the (positional) arguments of ``callback``." msgstr "" -#: library/typing.rst:1825 +#: library/typing.rst:1767 msgid "See :pep:`646` for more details on type variable tuples." msgstr "" -#: library/typing.rst:1829 +#: library/typing.rst:1771 msgid "The name of the type variable tuple." msgstr "" -#: library/typing.rst:1835 +#: library/typing.rst:1777 msgid "" "Type variable tuples can now be declared using the :ref:`type parameter " "` syntax introduced by :pep:`695`." msgstr "" -#: library/typing.rst:1840 +#: library/typing.rst:1782 msgid "" "Parameter specification variable. A specialized version of :ref:`type " "variables `." msgstr "" -#: library/typing.rst:1843 +#: library/typing.rst:1785 msgid "" "In :ref:`type parameter lists `, parameter specifications can " "be declared with two asterisks (``**``)::" msgstr "" -#: library/typing.rst:1848 +#: library/typing.rst:1790 msgid "" "For compatibility with Python 3.11 and earlier, ``ParamSpec`` objects can " "also be created as follows::" msgstr "" -#: library/typing.rst:1853 +#: library/typing.rst:1795 msgid "" "Parameter specification variables exist primarily for the benefit of static " "type checkers. They are used to forward the parameter types of one callable " @@ -1679,7 +1509,7 @@ msgid "" "See :class:`Generic` for more information on generic types." msgstr "" -#: library/typing.rst:1860 +#: library/typing.rst:1802 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 " @@ -1687,27 +1517,27 @@ msgid "" "new callable returned by it have inter-dependent type parameters::" msgstr "" -#: library/typing.rst:1880 +#: library/typing.rst:1822 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:1884 +#: library/typing.rst:1826 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:1886 +#: library/typing.rst:1828 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:1893 +#: library/typing.rst:1835 msgid "" "Since ``ParamSpec`` captures both positional and keyword parameters, ``P." "args`` and ``P.kwargs`` can be used to split a ``ParamSpec`` into its " @@ -1720,11 +1550,11 @@ msgid "" "`ParamSpecKwargs`." msgstr "" -#: library/typing.rst:1905 +#: library/typing.rst:1847 msgid "The name of the parameter specification." msgstr "" -#: library/typing.rst:1907 +#: library/typing.rst:1849 msgid "" "Parameter specification variables created with ``covariant=True`` or " "``contravariant=True`` can be used to declare covariant or contravariant " @@ -1733,23 +1563,23 @@ msgid "" "decided." msgstr "" -#: library/typing.rst:1917 +#: library/typing.rst:1859 msgid "" "Parameter specifications can now be declared using the :ref:`type parameter " "` syntax introduced by :pep:`695`." msgstr "" -#: library/typing.rst:1921 +#: library/typing.rst:1863 msgid "" "Only parameter specification variables defined in global scope can be " "pickled." msgstr "" -#: library/typing.rst:1927 +#: library/typing.rst:1869 msgid ":data:`Concatenate`" msgstr "" -#: library/typing.rst:1933 +#: library/typing.rst:1875 msgid "" "Arguments and keyword arguments attributes of a :class:`ParamSpec`. The ``P." "args`` attribute of a ``ParamSpec`` is an instance of ``ParamSpecArgs``, and " @@ -1757,71 +1587,71 @@ msgid "" "runtime introspection and have no special meaning to static type checkers." msgstr "" -#: library/typing.rst:1938 +#: library/typing.rst:1880 msgid "" "Calling :func:`get_origin` on either of these objects will return the " "original ``ParamSpec``:" msgstr "" -#: library/typing.rst:1955 +#: library/typing.rst:1897 msgid "The type of type aliases created through the :keyword:`type` statement." msgstr "" -#: library/typing.rst:1969 +#: library/typing.rst:1911 msgid "The name of the type alias:" msgstr "" -#: library/typing.rst:1979 +#: library/typing.rst:1921 msgid "The module in which the type alias was defined::" msgstr "" -#: library/typing.rst:1987 +#: library/typing.rst:1929 msgid "" "The type parameters of the type alias, or an empty tuple if the alias is not " "generic:" msgstr "" -#: library/typing.rst:2001 +#: library/typing.rst:1943 msgid "" "The type alias's value. This is :ref:`lazily evaluated `, " "so names used in the definition of the alias are not resolved until the " "``__value__`` attribute is accessed:" msgstr "" -#: library/typing.rst:2019 +#: library/typing.rst:1961 msgid "Other special directives" msgstr "" -#: library/typing.rst:2021 +#: library/typing.rst:1963 msgid "" "These functions and classes should not be used directly as annotations. " "Their intended purpose is to be building blocks for creating and declaring " "types." msgstr "" -#: library/typing.rst:2027 +#: library/typing.rst:1969 msgid "Typed version of :func:`collections.namedtuple`." msgstr "" -#: library/typing.rst:2106 library/typing.rst:3071 +#: library/typing.rst:2048 library/typing.rst:3015 msgid "Usage::" msgstr "" -#: library/typing.rst:2035 +#: library/typing.rst:1977 msgid "This is equivalent to::" msgstr "" -#: library/typing.rst:2039 +#: library/typing.rst:1981 msgid "" "To give a field a default value, you can assign to it in the class body::" msgstr "" -#: library/typing.rst:2048 +#: library/typing.rst:1990 msgid "" "Fields with a default value must come after any fields without a default." msgstr "" -#: library/typing.rst:2050 +#: library/typing.rst:1992 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 " @@ -1830,83 +1660,83 @@ msgid "" "API.)" msgstr "" -#: library/typing.rst:2056 +#: library/typing.rst:1998 msgid "``NamedTuple`` subclasses can also have docstrings and methods::" msgstr "" -#: library/typing.rst:2066 +#: library/typing.rst:2008 msgid "``NamedTuple`` subclasses can be generic::" msgstr "" -#: library/typing.rst:2072 +#: library/typing.rst:2014 msgid "Backward-compatible usage::" msgstr "" -#: library/typing.rst:2082 +#: library/typing.rst:2024 msgid "Added support for :pep:`526` variable annotation syntax." msgstr "" -#: library/typing.rst:2085 +#: library/typing.rst:2027 msgid "Added support for default values, methods, and docstrings." msgstr "" -#: library/typing.rst:2088 +#: library/typing.rst:2030 msgid "" "The ``_field_types`` and ``__annotations__`` attributes are now regular " "dictionaries instead of instances of ``OrderedDict``." msgstr "" -#: library/typing.rst:2092 +#: library/typing.rst:2034 msgid "" "Removed the ``_field_types`` attribute in favor of the more standard " "``__annotations__`` attribute which has the same information." msgstr "" -#: library/typing.rst:2096 +#: library/typing.rst:2038 msgid "Added support for generic namedtuples." msgstr "" -#: library/typing.rst:2101 +#: library/typing.rst:2043 msgid "Helper class to create low-overhead :ref:`distinct types `." msgstr "" -#: library/typing.rst:2103 +#: library/typing.rst:2045 msgid "" "A ``NewType`` is considered a distinct type by a typechecker. At runtime, " "however, calling a ``NewType`` returns its argument unchanged." msgstr "" -#: library/typing.rst:2113 +#: library/typing.rst:2055 msgid "The module in which the new type is defined." msgstr "" -#: library/typing.rst:2117 +#: library/typing.rst:2059 msgid "The name of the new type." msgstr "" -#: library/typing.rst:2121 +#: library/typing.rst:2063 msgid "The type that the new type is based on." msgstr "" -#: library/typing.rst:2125 +#: library/typing.rst:2067 msgid "``NewType`` is now a class rather than a function." msgstr "" -#: library/typing.rst:2130 +#: library/typing.rst:2072 msgid "Base class for protocol classes." msgstr "" -#: library/typing.rst:2132 +#: library/typing.rst:2074 msgid "Protocol classes are defined like this::" msgstr "" -#: library/typing.rst:2138 +#: library/typing.rst:2080 msgid "" "Such classes are primarily used with static type checkers that recognize " "structural subtyping (static duck-typing), for example::" msgstr "" -#: library/typing.rst:2150 +#: library/typing.rst:2092 msgid "" "See :pep:`544` for more details. Protocol classes decorated with :func:" "`runtime_checkable` (described later) act as simple-minded runtime protocols " @@ -1914,21 +1744,21 @@ msgid "" "signatures." msgstr "" -#: library/typing.rst:2155 +#: library/typing.rst:2097 msgid "Protocol classes can be generic, for example::" msgstr "" -#: library/typing.rst:2161 +#: library/typing.rst:2103 msgid "" "In code that needs to be compatible with Python 3.11 or older, generic " "Protocols can be written as follows::" msgstr "" -#: library/typing.rst:2174 +#: library/typing.rst:2116 msgid "Mark a protocol class as a runtime protocol." msgstr "" -#: library/typing.rst:2176 +#: library/typing.rst:2118 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 " @@ -1937,7 +1767,7 @@ msgid "" "Iterable`. For example::" msgstr "" -#: library/typing.rst:2196 +#: library/typing.rst:2138 msgid "" ":func:`!runtime_checkable` will check only the presence of the required " "methods or attributes, not their type signatures or types. For example, :" @@ -1948,7 +1778,7 @@ msgid "" "(instantiate) :class:`ssl.SSLObject`." msgstr "" -#: library/typing.rst:2207 +#: library/typing.rst:2149 msgid "" "An :func:`isinstance` check against a runtime-checkable protocol can be " "surprisingly slow compared to an ``isinstance()`` check against a non-" @@ -1956,7 +1786,7 @@ msgid "" "calls for structural checks in performance-sensitive code." msgstr "" -#: library/typing.rst:2215 +#: library/typing.rst:2157 msgid "" "The internal implementation of :func:`isinstance` checks against runtime-" "checkable protocols now uses :func:`inspect.getattr_static` to look up " @@ -1966,7 +1796,7 @@ msgid "" "versa. Most users are unlikely to be affected by this change." msgstr "" -#: library/typing.rst:2224 +#: library/typing.rst:2166 msgid "" "The members of a runtime-checkable protocol are now considered \"frozen\" at " "runtime as soon as the class has been created. Monkey-patching attributes " @@ -1975,13 +1805,13 @@ msgid "" "`\"What's new in Python 3.12\" ` for more details." msgstr "" -#: library/typing.rst:2235 +#: library/typing.rst:2177 msgid "" "Special construct to add type hints to a dictionary. At runtime it is a " "plain :class:`dict`." msgstr "" -#: library/typing.rst:2238 +#: library/typing.rst:2180 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 " @@ -1989,53 +1819,53 @@ msgid "" "enforced by type checkers. Usage::" msgstr "" -#: library/typing.rst:2254 +#: library/typing.rst:2196 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:2258 +#: library/typing.rst:2200 msgid "Using a literal :class:`dict` as the second argument::" msgstr "" -#: library/typing.rst:2262 +#: library/typing.rst:2204 msgid "Using keyword arguments::" msgstr "" -#: library/typing.rst:2269 +#: library/typing.rst:2211 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:2270 +#: library/typing.rst:2212 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:2282 +#: library/typing.rst:2224 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:2293 +#: library/typing.rst:2235 msgid "" "This means that a ``Point2D`` ``TypedDict`` can have the ``label`` key " "omitted." msgstr "" -#: library/typing.rst:2296 +#: library/typing.rst:2238 msgid "" "It is also possible to mark all keys as non-required by default by " "specifying a totality of ``False``::" msgstr "" -#: library/typing.rst:2306 +#: library/typing.rst:2248 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 " @@ -2043,53 +1873,53 @@ msgid "" "and makes all items defined in the class body required." msgstr "" -#: library/typing.rst:2311 +#: library/typing.rst:2253 msgid "" "Individual keys of a ``total=False`` ``TypedDict`` can be marked as required " "using :data:`Required`::" msgstr "" -#: library/typing.rst:2326 +#: library/typing.rst:2268 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:2333 +#: library/typing.rst:2275 msgid "" "``Point3D`` has three items: ``x``, ``y`` and ``z``. It is equivalent to " "this definition::" msgstr "" -#: library/typing.rst:2341 +#: library/typing.rst:2283 msgid "" "A ``TypedDict`` cannot inherit from a non-\\ ``TypedDict`` class, except " "for :class:`Generic`. For example::" msgstr "" -#: library/typing.rst:2356 +#: library/typing.rst:2298 msgid "A ``TypedDict`` can be generic::" msgstr "" -#: library/typing.rst:2362 +#: library/typing.rst:2304 msgid "" "To create a generic ``TypedDict`` that is compatible with Python 3.11 or " "lower, inherit from :class:`Generic` explicitly:" msgstr "" -#: library/typing.rst:2373 +#: library/typing.rst:2315 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:2379 +#: library/typing.rst:2321 msgid "" "``Point2D.__total__`` gives the value of the ``total`` argument. Example:" msgstr "" -#: library/typing.rst:2395 +#: library/typing.rst:2337 msgid "" "This attribute reflects *only* the value of the ``total`` argument to the " "current ``TypedDict`` class, not whether the class is semantically total. " @@ -2100,21 +1930,21 @@ msgid "" "introspection." msgstr "" -#: library/typing.rst:2408 +#: library/typing.rst:2350 msgid "" "``Point2D.__required_keys__`` and ``Point2D.__optional_keys__`` return :" "class:`frozenset` objects containing required and non-required keys, " "respectively." msgstr "" -#: library/typing.rst:2411 +#: library/typing.rst:2353 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:2414 +#: library/typing.rst:2356 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 " @@ -2123,7 +1953,7 @@ msgid "" "``TypedDict`` with a different value for ``total``:" msgstr "" -#: library/typing.rst:2439 +#: library/typing.rst:2381 msgid "" "If ``from __future__ import annotations`` is used or if annotations are " "given as strings, annotations are not evaluated when the ``TypedDict`` is " @@ -2132,130 +1962,130 @@ msgid "" "attributes may be incorrect." msgstr "" -#: library/typing.rst:2445 +#: library/typing.rst:2387 msgid "" "See :pep:`589` for more examples and detailed rules of using ``TypedDict``." msgstr "" -#: library/typing.rst:2449 +#: library/typing.rst:2391 msgid "" "Added support for marking individual keys as :data:`Required` or :data:" "`NotRequired`. See :pep:`655`." msgstr "" -#: library/typing.rst:2453 +#: library/typing.rst:2395 msgid "Added support for generic ``TypedDict``\\ s." msgstr "" -#: library/typing.rst:2457 +#: library/typing.rst:2399 msgid "Protocols" msgstr "" -#: library/typing.rst:2459 +#: library/typing.rst:2401 msgid "" "The following protocols are provided by the typing module. All are decorated " "with :func:`@runtime_checkable `." msgstr "" -#: library/typing.rst:2464 +#: library/typing.rst:2406 msgid "" "An ABC with one abstract method ``__abs__`` that is covariant in its return " "type." msgstr "" -#: library/typing.rst:2469 +#: library/typing.rst:2411 msgid "An ABC with one abstract method ``__bytes__``." msgstr "" -#: library/typing.rst:2473 +#: library/typing.rst:2415 msgid "An ABC with one abstract method ``__complex__``." msgstr "" -#: library/typing.rst:2477 +#: library/typing.rst:2419 msgid "An ABC with one abstract method ``__float__``." msgstr "" -#: library/typing.rst:2481 +#: library/typing.rst:2423 msgid "An ABC with one abstract method ``__index__``." msgstr "" -#: library/typing.rst:2487 +#: library/typing.rst:2429 msgid "An ABC with one abstract method ``__int__``." msgstr "" -#: library/typing.rst:2491 +#: library/typing.rst:2433 msgid "" "An ABC with one abstract method ``__round__`` that is covariant in its " "return type." msgstr "" -#: library/typing.rst:2495 +#: library/typing.rst:2437 msgid "ABCs for working with IO" msgstr "" -#: library/typing.rst:2501 +#: library/typing.rst:2443 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:2507 +#: library/typing.rst:2449 msgid "Functions and decorators" msgstr "" -#: library/typing.rst:2511 +#: library/typing.rst:2453 msgid "Cast a value to a type." msgstr "" -#: library/typing.rst:2513 +#: library/typing.rst:2455 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:2520 +#: library/typing.rst:2462 msgid "" "Ask a static type checker to confirm that *val* has an inferred type of " "*typ*." msgstr "" -#: library/typing.rst:2522 +#: library/typing.rst:2464 msgid "" "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:2525 +#: library/typing.rst:2467 msgid "" "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:2532 +#: library/typing.rst:2474 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:2546 +#: library/typing.rst:2488 msgid "" "Ask a static type checker to confirm that a line of code is unreachable." msgstr "" -#: library/typing.rst:2548 +#: library/typing.rst:2490 msgid "Example::" msgstr "" -#: library/typing.rst:2559 +#: library/typing.rst:2501 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`, " "and both options are covered by earlier cases." msgstr "" -#: library/typing.rst:2564 +#: library/typing.rst:2506 msgid "" "If a type checker finds that a call to ``assert_never()`` is reachable, it " "will emit an error. For example, if the type annotation for ``arg`` was " @@ -2265,47 +2095,47 @@ msgid "" "passed in must be the bottom type, :data:`Never`, and nothing else." msgstr "" -#: library/typing.rst:2572 +#: library/typing.rst:2514 msgid "At runtime, this throws an exception when called." msgstr "" -#: library/typing.rst:2575 +#: library/typing.rst:2517 msgid "" "`Unreachable Code and Exhaustiveness Checking `__ has more information about " "exhaustiveness checking with static typing." msgstr "" -#: library/typing.rst:2583 +#: library/typing.rst:2525 msgid "Ask a static type checker to reveal the inferred type of an expression." msgstr "" -#: library/typing.rst:2585 +#: library/typing.rst:2527 msgid "" "When a static type checker encounters a call to this function, it emits a " "diagnostic with the inferred type of the argument. For example::" msgstr "" -#: library/typing.rst:2591 +#: library/typing.rst:2533 msgid "" "This can be useful when you want to debug how your type checker handles a " "particular piece of code." msgstr "" -#: library/typing.rst:2594 +#: library/typing.rst:2536 msgid "" "At runtime, this function prints the runtime type of its argument to :data:" "`sys.stderr` and returns the argument unchanged (allowing the call to be " "used within an expression)::" msgstr "" -#: library/typing.rst:2601 +#: library/typing.rst:2543 msgid "" "Note that the runtime type may be different from (more or less specific " "than) the type statically inferred by a type checker." msgstr "" -#: library/typing.rst:2604 +#: library/typing.rst:2546 msgid "" "Most type checkers support ``reveal_type()`` anywhere, even if the name is " "not imported from ``typing``. Importing the name from ``typing``, however, " @@ -2313,13 +2143,13 @@ msgid "" "clearly." msgstr "" -#: library/typing.rst:2615 +#: library/typing.rst:2557 msgid "" "Decorator to mark an object as providing :func:`dataclass `-like behavior." msgstr "" -#: library/typing.rst:2618 +#: library/typing.rst:2560 msgid "" "``dataclass_transform`` may be used to decorate a class, metaclass, or a " "function that is itself a decorator. The presence of " @@ -2328,19 +2158,19 @@ msgid "" "to :func:`@dataclasses.dataclass `." msgstr "" -#: library/typing.rst:2625 +#: library/typing.rst:2567 msgid "Example usage with a decorator function:" msgstr "" -#: library/typing.rst:2639 +#: library/typing.rst:2581 msgid "On a base class::" msgstr "" -#: library/typing.rst:2648 +#: library/typing.rst:2590 msgid "On a metaclass::" msgstr "" -#: library/typing.rst:2659 +#: library/typing.rst:2601 msgid "" "The ``CustomerModel`` classes defined above will be treated by type checkers " "similarly to classes created with :func:`@dataclasses.dataclass `-decorated definitions for " "*func*." msgstr "" -#: library/typing.rst:2799 +#: library/typing.rst:2741 msgid "" "*func* is the function object for the implementation of the overloaded " "function. For example, given the definition of ``process`` in the " @@ -2558,32 +2388,32 @@ msgid "" "returns an empty sequence." msgstr "" -#: library/typing.rst:2806 +#: library/typing.rst:2748 msgid "" "``get_overloads()`` can be used for introspecting an overloaded function at " "runtime." msgstr "" -#: library/typing.rst:2814 +#: library/typing.rst:2756 msgid "Clear all registered overloads in the internal registry." msgstr "" -#: library/typing.rst:2816 +#: library/typing.rst:2758 msgid "This can be used to reclaim the memory used by the registry." msgstr "" -#: library/typing.rst:2823 +#: library/typing.rst:2765 msgid "Decorator to indicate final methods and final classes." msgstr "" -#: library/typing.rst:2825 +#: library/typing.rst:2767 msgid "" "Decorating a method with ``@final`` indicates to a type checker that the " "method cannot be overridden in a subclass. Decorating a class with " "``@final`` indicates that it cannot be subclassed." msgstr "" -#: library/typing.rst:2850 +#: library/typing.rst:2792 msgid "" "The decorator will now attempt to set a ``__final__`` attribute to ``True`` " "on the decorated object. Thus, a check like ``if getattr(obj, \"__final__\", " @@ -2593,11 +2423,11 @@ msgid "" "exception." msgstr "" -#: library/typing.rst:2861 +#: library/typing.rst:2803 msgid "Decorator to indicate that annotations are not type hints." msgstr "" -#: library/typing.rst:2863 +#: library/typing.rst:2805 msgid "" "This works as a class or function :term:`decorator`. With a class, it " "applies recursively to all methods and classes defined in that class (but " @@ -2605,38 +2435,38 @@ msgid "" "will ignore all annotations in a function or class with this decorator." msgstr "" -#: library/typing.rst:2869 +#: library/typing.rst:2811 msgid "``@no_type_check`` mutates the decorated object in place." msgstr "" -#: library/typing.rst:2873 +#: library/typing.rst:2815 msgid "Decorator to give another decorator the :func:`no_type_check` effect." msgstr "" -#: library/typing.rst:2875 +#: library/typing.rst:2817 msgid "" "This wraps the decorator with something that wraps the decorated function " "in :func:`no_type_check`." msgstr "" -#: library/typing.rst:2881 +#: library/typing.rst:2823 msgid "" "Decorator to indicate that a method in a subclass is intended to override a " "method or attribute in a superclass." msgstr "" -#: library/typing.rst:2884 +#: library/typing.rst:2826 msgid "" "Type checkers should emit an error if a method decorated with ``@override`` " "does not, in fact, override anything. This helps prevent bugs that may occur " "when a base class is changed without an equivalent change to a child class." msgstr "" -#: library/typing.rst:2906 +#: library/typing.rst:2848 msgid "There is no runtime checking of this property." msgstr "" -#: library/typing.rst:2908 +#: library/typing.rst:2850 msgid "" "The decorator will attempt to set an ``__override__`` attribute to ``True`` " "on the decorated object. Thus, a check like ``if getattr(obj, " @@ -2646,80 +2476,80 @@ msgid "" "without raising an exception." msgstr "" -#: library/typing.rst:2915 +#: library/typing.rst:2857 msgid "See :pep:`698` for more details." msgstr "" -#: library/typing.rst:2922 +#: library/typing.rst:2864 msgid "Decorator to mark a class or function as unavailable at runtime." msgstr "" -#: library/typing.rst:2924 +#: library/typing.rst:2866 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:2935 +#: library/typing.rst:2877 msgid "" "Note that returning instances of private classes is not recommended. It is " "usually preferable to make such classes public." msgstr "" -#: library/typing.rst:2939 +#: library/typing.rst:2881 msgid "Introspection helpers" msgstr "" -#: library/typing.rst:2943 +#: library/typing.rst:2885 msgid "" "Return a dictionary containing type hints for a function, method, module or " "class object." msgstr "" -#: library/typing.rst:2946 +#: library/typing.rst:2888 msgid "" "This is often the same as ``obj.__annotations__``. In addition, forward " "references encoded as string literals are handled by evaluating them in " -"``globals`` and ``locals`` namespaces. For a class ``C``, return a " -"dictionary constructed by merging all the ``__annotations__`` along ``C." -"__mro__`` in reverse order." +"``globals``, ``locals`` and (where applicable) :ref:`type parameter ` namespaces. For a class ``C``, return a dictionary constructed by " +"merging all the ``__annotations__`` along ``C.__mro__`` in reverse order." msgstr "" -#: library/typing.rst:2952 +#: library/typing.rst:2896 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:2969 +#: library/typing.rst:2913 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:2974 +#: library/typing.rst:2918 msgid "" "Added ``include_extras`` parameter as part of :pep:`593`. See the " "documentation on :data:`Annotated` for more information." msgstr "" -#: library/typing.rst:2978 +#: library/typing.rst:2922 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:2985 +#: library/typing.rst:2929 msgid "" "Get the unsubscripted version of a type: for a typing object of the form " "``X[Y, Z, ...]`` return ``X``." msgstr "" -#: library/typing.rst:2988 +#: library/typing.rst:2932 msgid "" "If ``X`` is a typing-module alias for a builtin or :mod:`collections` class, " "it will be normalized to the original class. If ``X`` is an instance of :" @@ -2727,17 +2557,17 @@ msgid "" "class:`ParamSpec`. Return ``None`` for unsupported objects." msgstr "" -#: library/typing.rst:3017 +#: library/typing.rst:2961 msgid "Examples:" msgstr "" -#: library/typing.rst:3009 +#: library/typing.rst:2953 msgid "" "Get type arguments with all substitutions performed: for a typing object of " "the form ``X[Y, Z, ...]`` return ``(Y, Z, ...)``." msgstr "" -#: library/typing.rst:3012 +#: library/typing.rst:2956 msgid "" "If ``X`` is a union or :class:`Literal` contained in another generic type, " "the order of ``(Y, Z, ...)`` may be different from the order of the original " @@ -2745,40 +2575,40 @@ msgid "" "objects." msgstr "" -#: library/typing.rst:3029 +#: library/typing.rst:2973 msgid "Check if a type is a :class:`TypedDict`." msgstr "" -#: library/typing.rst:3050 +#: library/typing.rst:2994 msgid "" "Class used for internal typing representation of string forward references." msgstr "" -#: library/typing.rst:3052 +#: library/typing.rst:2996 msgid "" "For example, ``List[\"SomeClass\"]`` is implicitly transformed into " "``List[ForwardRef(\"SomeClass\")]``. ``ForwardRef`` should not be " "instantiated by a user, but may be used by introspection tools." msgstr "" -#: library/typing.rst:3057 +#: library/typing.rst:3001 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:3064 +#: library/typing.rst:3008 msgid "Constant" msgstr "" -#: library/typing.rst:3068 +#: library/typing.rst:3012 msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " "checkers. It is ``False`` at runtime." msgstr "" -#: library/typing.rst:3079 +#: library/typing.rst:3023 msgid "" "The first type annotation must be enclosed in quotes, making it a \"forward " "reference\", to hide the ``expensive_mod`` reference from the interpreter " @@ -2786,7 +2616,7 @@ msgid "" "second annotation does not need to be enclosed in quotes." msgstr "" -#: library/typing.rst:3086 +#: library/typing.rst:3030 msgid "" "If ``from __future__ import annotations`` is used, annotations are not " "evaluated at function definition time. Instead, they are stored as strings " @@ -2794,11 +2624,11 @@ msgid "" "annotation (see :pep:`563`)." msgstr "" -#: library/typing.rst:3098 +#: library/typing.rst:3042 msgid "Deprecated aliases" msgstr "" -#: library/typing.rst:3100 +#: library/typing.rst:3044 msgid "" "This module defines several deprecated aliases to pre-existing standard " "library classes. These were originally included in the typing module in " @@ -2807,7 +2637,7 @@ msgid "" "existing classes were enhanced to support ``[]`` (see :pep:`585`)." msgstr "" -#: library/typing.rst:3107 +#: library/typing.rst:3051 msgid "" "The redundant types are deprecated as of Python 3.9. However, while the " "aliases may be removed at some point, removal of these aliases is not " @@ -2815,7 +2645,7 @@ msgid "" "the interpreter for these aliases." msgstr "" -#: library/typing.rst:3112 +#: library/typing.rst:3056 msgid "" "If at some point it is decided to remove these deprecated aliases, a " "deprecation warning will be issued by the interpreter for at least two " @@ -2823,188 +2653,188 @@ msgid "" "typing module without deprecation warnings until at least Python 3.14." msgstr "" -#: library/typing.rst:3117 +#: library/typing.rst:3061 msgid "" "Type checkers are encouraged to flag uses of the deprecated types if the " "program they are checking targets a minimum Python version of 3.9 or newer." msgstr "" -#: library/typing.rst:3123 +#: library/typing.rst:3067 msgid "Aliases to built-in types" msgstr "" -#: library/typing.rst:3127 +#: library/typing.rst:3071 msgid "Deprecated alias to :class:`dict`." msgstr "" -#: library/typing.rst:3129 +#: library/typing.rst:3073 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`Mapping` rather than to use :class:`dict` " "or :class:`!typing.Dict`." msgstr "" -#: library/typing.rst:3372 +#: library/typing.rst:3316 msgid "This type can be used as follows::" msgstr "" -#: library/typing.rst:3138 +#: library/typing.rst:3082 msgid "" ":class:`builtins.dict ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3144 +#: library/typing.rst:3088 msgid "Deprecated alias to :class:`list`." msgstr "" -#: library/typing.rst:3146 +#: library/typing.rst:3090 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`Sequence` or :class:`Iterable` rather than " "to use :class:`list` or :class:`!typing.List`." msgstr "" -#: library/typing.rst:3150 +#: library/typing.rst:3094 msgid "This type may be used as follows::" msgstr "" -#: library/typing.rst:3158 +#: library/typing.rst:3102 msgid "" ":class:`builtins.list ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3164 +#: library/typing.rst:3108 msgid "Deprecated alias to :class:`builtins.set `." msgstr "" -#: library/typing.rst:3166 +#: library/typing.rst:3110 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`AbstractSet` rather than to use :class:`set` " "or :class:`!typing.Set`." msgstr "" -#: library/typing.rst:3170 +#: library/typing.rst:3114 msgid "" ":class:`builtins.set ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3176 +#: library/typing.rst:3120 msgid "Deprecated alias to :class:`builtins.frozenset `." msgstr "" -#: library/typing.rst:3178 +#: library/typing.rst:3122 msgid "" ":class:`builtins.frozenset ` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3185 +#: library/typing.rst:3129 msgid "Deprecated alias for :class:`tuple`." msgstr "" -#: library/typing.rst:3187 +#: library/typing.rst:3131 msgid "" ":class:`tuple` and ``Tuple`` are special-cased in the type system; see :ref:" "`annotating-tuples` for more details." msgstr "" -#: library/typing.rst:3190 +#: library/typing.rst:3134 msgid "" ":class:`builtins.tuple ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3196 +#: library/typing.rst:3140 msgid "Deprecated alias to :class:`type`." msgstr "" -#: library/typing.rst:3198 +#: library/typing.rst:3142 msgid "" "See :ref:`type-of-class-objects` for details on using :class:`type` or " "``typing.Type`` in type annotations." msgstr "" -#: library/typing.rst:3203 +#: library/typing.rst:3147 msgid "" ":class:`builtins.type ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3210 +#: library/typing.rst:3154 msgid "Aliases to types in :mod:`collections`" msgstr "" -#: library/typing.rst:3214 +#: library/typing.rst:3158 msgid "Deprecated alias to :class:`collections.defaultdict`." msgstr "" -#: library/typing.rst:3218 +#: library/typing.rst:3162 msgid "" ":class:`collections.defaultdict` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3224 +#: library/typing.rst:3168 msgid "Deprecated alias to :class:`collections.OrderedDict`." msgstr "" -#: library/typing.rst:3228 +#: library/typing.rst:3172 msgid "" ":class:`collections.OrderedDict` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3234 +#: library/typing.rst:3178 msgid "Deprecated alias to :class:`collections.ChainMap`." msgstr "" -#: library/typing.rst:3238 +#: library/typing.rst:3182 msgid "" ":class:`collections.ChainMap` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3244 +#: library/typing.rst:3188 msgid "Deprecated alias to :class:`collections.Counter`." msgstr "" -#: library/typing.rst:3248 +#: library/typing.rst:3192 msgid "" ":class:`collections.Counter` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3254 +#: library/typing.rst:3198 msgid "Deprecated alias to :class:`collections.deque`." msgstr "" -#: library/typing.rst:3258 +#: library/typing.rst:3202 msgid "" ":class:`collections.deque` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3265 +#: library/typing.rst:3209 msgid "Aliases to other concrete types" msgstr "" -#: library/typing.rst:3270 +#: library/typing.rst:3214 msgid "" "The ``typing.io`` namespace is deprecated and will be removed. These types " "should be directly imported from ``typing`` instead." msgstr "" -#: library/typing.rst:3274 +#: library/typing.rst:3218 msgid "" "Deprecated aliases corresponding to the return types from :func:`re.compile` " "and :func:`re.match`." msgstr "" -#: library/typing.rst:3277 +#: library/typing.rst:3221 msgid "" "These types (and the corresponding functions) are generic over :data:" "`AnyStr`. ``Pattern`` can be specialised as ``Pattern[str]`` or " @@ -3012,391 +2842,391 @@ msgid "" "``Match[bytes]``." msgstr "" -#: library/typing.rst:3285 +#: library/typing.rst:3229 msgid "" "The ``typing.re`` namespace is deprecated and will be removed. These types " "should be directly imported from ``typing`` instead." msgstr "" -#: library/typing.rst:3286 +#: library/typing.rst:3230 msgid "" "Classes ``Pattern`` and ``Match`` from :mod:`re` now support ``[]``. See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3292 +#: library/typing.rst:3236 msgid "Deprecated alias for :class:`str`." msgstr "" -#: library/typing.rst:3294 +#: library/typing.rst:3238 msgid "" "``Text`` is provided to supply a forward compatible path for Python 2 code: " "in Python 2, ``Text`` is an alias for ``unicode``." msgstr "" -#: library/typing.rst:3298 +#: library/typing.rst:3242 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:3306 +#: library/typing.rst:3250 msgid "" "Python 2 is no longer supported, and most type checkers also no longer " "support type checking Python 2 code. Removal of the alias is not currently " "planned, but users are encouraged to use :class:`str` instead of ``Text``." msgstr "" -#: library/typing.rst:3316 +#: library/typing.rst:3260 msgid "Aliases to container ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3320 +#: library/typing.rst:3264 msgid "Deprecated alias to :class:`collections.abc.Set`." msgstr "" -#: library/typing.rst:3322 +#: library/typing.rst:3266 msgid "" ":class:`collections.abc.Set` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3328 +#: library/typing.rst:3272 msgid "" "This type represents the types :class:`bytes`, :class:`bytearray`, and :" "class:`memoryview` of byte sequences." msgstr "" -#: library/typing.rst:3332 +#: library/typing.rst:3276 msgid "" "Prefer :class:`collections.abc.Buffer`, or a union like ``bytes | bytearray " "| memoryview``." msgstr "" -#: library/typing.rst:3336 +#: library/typing.rst:3280 msgid "Deprecated alias to :class:`collections.abc.Collection`." msgstr "" -#: library/typing.rst:3340 +#: library/typing.rst:3284 msgid "" ":class:`collections.abc.Collection` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3346 +#: library/typing.rst:3290 msgid "Deprecated alias to :class:`collections.abc.Container`." msgstr "" -#: library/typing.rst:3348 +#: library/typing.rst:3292 msgid "" ":class:`collections.abc.Container` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3354 +#: library/typing.rst:3298 msgid "Deprecated alias to :class:`collections.abc.ItemsView`." msgstr "" -#: library/typing.rst:3356 +#: library/typing.rst:3300 msgid "" ":class:`collections.abc.ItemsView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3362 +#: library/typing.rst:3306 msgid "Deprecated alias to :class:`collections.abc.KeysView`." msgstr "" -#: library/typing.rst:3364 +#: library/typing.rst:3308 msgid "" ":class:`collections.abc.KeysView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3370 +#: library/typing.rst:3314 msgid "Deprecated alias to :class:`collections.abc.Mapping`." msgstr "" -#: library/typing.rst:3377 +#: library/typing.rst:3321 msgid "" ":class:`collections.abc.Mapping` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3383 +#: library/typing.rst:3327 msgid "Deprecated alias to :class:`collections.abc.MappingView`." msgstr "" -#: library/typing.rst:3385 +#: library/typing.rst:3329 msgid "" ":class:`collections.abc.MappingView` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3391 +#: library/typing.rst:3335 msgid "Deprecated alias to :class:`collections.abc.MutableMapping`." msgstr "" -#: library/typing.rst:3393 +#: library/typing.rst:3337 msgid "" ":class:`collections.abc.MutableMapping` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3400 +#: library/typing.rst:3344 msgid "Deprecated alias to :class:`collections.abc.MutableSequence`." msgstr "" -#: library/typing.rst:3402 +#: library/typing.rst:3346 msgid "" ":class:`collections.abc.MutableSequence` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3409 +#: library/typing.rst:3353 msgid "Deprecated alias to :class:`collections.abc.MutableSet`." msgstr "" -#: library/typing.rst:3411 +#: library/typing.rst:3355 msgid "" ":class:`collections.abc.MutableSet` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3417 +#: library/typing.rst:3361 msgid "Deprecated alias to :class:`collections.abc.Sequence`." msgstr "" -#: library/typing.rst:3419 +#: library/typing.rst:3363 msgid "" ":class:`collections.abc.Sequence` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3425 +#: library/typing.rst:3369 msgid "Deprecated alias to :class:`collections.abc.ValuesView`." msgstr "" -#: library/typing.rst:3427 +#: library/typing.rst:3371 msgid "" ":class:`collections.abc.ValuesView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3434 +#: library/typing.rst:3378 msgid "Aliases to asynchronous ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3438 +#: library/typing.rst:3382 msgid "Deprecated alias to :class:`collections.abc.Coroutine`." msgstr "" -#: library/typing.rst:3440 +#: library/typing.rst:3384 msgid "" "The variance and order of type variables correspond to those of :class:" "`Generator`, for example::" msgstr "" -#: library/typing.rst:3451 +#: library/typing.rst:3395 msgid "" ":class:`collections.abc.Coroutine` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3457 +#: library/typing.rst:3401 msgid "Deprecated alias to :class:`collections.abc.AsyncGenerator`." msgstr "" -#: library/typing.rst:3459 +#: library/typing.rst:3403 msgid "" "An async generator can be annotated by the generic type " "``AsyncGenerator[YieldType, SendType]``. For example::" msgstr "" -#: library/typing.rst:3468 +#: library/typing.rst:3412 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:3472 +#: library/typing.rst:3416 msgid "" "If your generator will only yield values, set the ``SendType`` to ``None``::" msgstr "" -#: library/typing.rst:3480 +#: library/typing.rst:3424 msgid "" "Alternatively, annotate your generator as having a return type of either " "``AsyncIterable[YieldType]`` or ``AsyncIterator[YieldType]``::" msgstr "" -#: library/typing.rst:3490 +#: library/typing.rst:3434 msgid "" ":class:`collections.abc.AsyncGenerator` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3497 +#: library/typing.rst:3441 msgid "Deprecated alias to :class:`collections.abc.AsyncIterable`." msgstr "" -#: library/typing.rst:3501 +#: library/typing.rst:3445 msgid "" ":class:`collections.abc.AsyncIterable` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3507 +#: library/typing.rst:3451 msgid "Deprecated alias to :class:`collections.abc.AsyncIterator`." msgstr "" -#: library/typing.rst:3511 +#: library/typing.rst:3455 msgid "" ":class:`collections.abc.AsyncIterator` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3517 +#: library/typing.rst:3461 msgid "Deprecated alias to :class:`collections.abc.Awaitable`." msgstr "" -#: library/typing.rst:3521 +#: library/typing.rst:3465 msgid "" ":class:`collections.abc.Awaitable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3528 +#: library/typing.rst:3472 msgid "Aliases to other ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3532 +#: library/typing.rst:3476 msgid "Deprecated alias to :class:`collections.abc.Iterable`." msgstr "" -#: library/typing.rst:3534 +#: library/typing.rst:3478 msgid "" ":class:`collections.abc.Iterable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3540 +#: library/typing.rst:3484 msgid "Deprecated alias to :class:`collections.abc.Iterator`." msgstr "" -#: library/typing.rst:3542 +#: library/typing.rst:3486 msgid "" ":class:`collections.abc.Iterator` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3548 +#: library/typing.rst:3492 msgid "Deprecated alias to :class:`collections.abc.Callable`." msgstr "" -#: library/typing.rst:3550 +#: library/typing.rst:3494 msgid "" "See :ref:`annotating-callables` for details on how to use :class:" "`collections.abc.Callable` and ``typing.Callable`` in type annotations." msgstr "" -#: library/typing.rst:3553 +#: library/typing.rst:3497 msgid "" ":class:`collections.abc.Callable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3563 +#: library/typing.rst:3507 msgid "Deprecated alias to :class:`collections.abc.Generator`." msgstr "" -#: library/typing.rst:3565 +#: library/typing.rst:3509 msgid "" "A generator can be annotated by the generic type ``Generator[YieldType, " "SendType, ReturnType]``. For example::" msgstr "" -#: library/typing.rst:3574 +#: library/typing.rst:3518 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:3578 +#: library/typing.rst:3522 msgid "" "If your generator will only yield values, set the ``SendType`` and " "``ReturnType`` to ``None``::" msgstr "" -#: library/typing.rst:3586 +#: library/typing.rst:3530 msgid "" "Alternatively, annotate your generator as having a return type of either " "``Iterable[YieldType]`` or ``Iterator[YieldType]``::" msgstr "" -#: library/typing.rst:3594 +#: library/typing.rst:3538 msgid "" ":class:`collections.abc.Generator` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3600 +#: library/typing.rst:3544 msgid "Deprecated alias to :class:`collections.abc.Hashable`." msgstr "" -#: library/typing.rst:3602 +#: library/typing.rst:3546 msgid "Use :class:`collections.abc.Hashable` directly instead." msgstr "" -#: library/typing.rst:3607 +#: library/typing.rst:3551 msgid "Deprecated alias to :class:`collections.abc.Reversible`." msgstr "" -#: library/typing.rst:3609 +#: library/typing.rst:3553 msgid "" ":class:`collections.abc.Reversible` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3615 +#: library/typing.rst:3559 msgid "Deprecated alias to :class:`collections.abc.Sized`." msgstr "" -#: library/typing.rst:3617 +#: library/typing.rst:3561 msgid "Use :class:`collections.abc.Sized` directly instead." msgstr "" -#: library/typing.rst:3623 +#: library/typing.rst:3567 msgid "Aliases to :mod:`contextlib` ABCs" msgstr "" -#: library/typing.rst:3627 +#: library/typing.rst:3571 msgid "Deprecated alias to :class:`contextlib.AbstractContextManager`." msgstr "" -#: library/typing.rst:3631 +#: library/typing.rst:3575 msgid "" ":class:`contextlib.AbstractContextManager` now supports subscripting " "(``[]``). See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3638 +#: library/typing.rst:3582 msgid "Deprecated alias to :class:`contextlib.AbstractAsyncContextManager`." msgstr "" -#: library/typing.rst:3642 +#: library/typing.rst:3586 msgid "" ":class:`contextlib.AbstractAsyncContextManager` now supports subscripting " "(``[]``). See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3648 +#: library/typing.rst:3592 msgid "Deprecation Timeline of Major Features" msgstr "" -#: library/typing.rst:3650 +#: library/typing.rst:3594 msgid "" "Certain features in ``typing`` are deprecated and may be removed in a future " "version of Python. The following table summarizes major deprecations for " @@ -3404,98 +3234,98 @@ msgid "" "listed." msgstr "" -#: library/typing.rst:3657 +#: library/typing.rst:3601 msgid "Feature" msgstr "" -#: library/typing.rst:3658 +#: library/typing.rst:3602 msgid "Deprecated in" msgstr "" -#: library/typing.rst:3659 +#: library/typing.rst:3603 msgid "Projected removal" msgstr "" -#: library/typing.rst:3660 +#: library/typing.rst:3604 msgid "PEP/issue" msgstr "" -#: library/typing.rst:3661 +#: library/typing.rst:3605 msgid "``typing.io`` and ``typing.re`` submodules" msgstr "" -#: library/typing.rst:3662 +#: library/typing.rst:3606 msgid "3.8" msgstr "" -#: library/typing.rst:3663 +#: library/typing.rst:3607 msgid "3.13" msgstr "" -#: library/typing.rst:3664 +#: library/typing.rst:3608 msgid ":issue:`38291`" msgstr "" -#: library/typing.rst:3665 +#: library/typing.rst:3609 msgid "``typing`` versions of standard collections" msgstr "" -#: library/typing.rst:3670 +#: library/typing.rst:3614 msgid "3.9" msgstr "" -#: library/typing.rst:3667 +#: library/typing.rst:3611 msgid "Undecided (see :ref:`deprecated-aliases` for more information)" msgstr "" -#: library/typing.rst:3668 +#: library/typing.rst:3612 msgid ":pep:`585`" msgstr "" -#: library/typing.rst:3669 +#: library/typing.rst:3613 msgid ":class:`typing.ByteString`" msgstr "" -#: library/typing.rst:3671 +#: library/typing.rst:3615 msgid "3.14" msgstr "" -#: library/typing.rst:3672 +#: library/typing.rst:3616 msgid ":gh:`91896`" msgstr "" -#: library/typing.rst:3673 +#: library/typing.rst:3617 msgid ":data:`typing.Text`" msgstr "" -#: library/typing.rst:3674 +#: library/typing.rst:3618 msgid "3.11" msgstr "" -#: library/typing.rst:3679 library/typing.rst:3683 +#: library/typing.rst:3623 library/typing.rst:3627 msgid "Undecided" msgstr "" -#: library/typing.rst:3676 +#: library/typing.rst:3620 msgid ":gh:`92332`" msgstr "" -#: library/typing.rst:3677 +#: library/typing.rst:3621 msgid ":class:`typing.Hashable` and :class:`typing.Sized`" msgstr "" -#: library/typing.rst:3682 +#: library/typing.rst:3626 msgid "3.12" msgstr "" -#: library/typing.rst:3680 +#: library/typing.rst:3624 msgid ":gh:`94309`" msgstr "" -#: library/typing.rst:3681 +#: library/typing.rst:3625 msgid ":data:`typing.TypeAlias`" msgstr "" -#: library/typing.rst:3684 +#: library/typing.rst:3628 msgid ":pep:`695`" msgstr "" diff --git a/library/unittest.mock.po b/library/unittest.mock.po index bfea3370d..1945d9b3a 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -59,7 +59,7 @@ msgstr "" #: library/unittest.mock.rst:37 msgid "" "There is a backport of :mod:`unittest.mock` for earlier versions of Python, " -"available as `mock on PyPI `_." +"available as :pypi:`mock` on PyPI." msgstr "" #: library/unittest.mock.rst:42 diff --git a/library/unittest.po b/library/unittest.po index 261dcf134..47b2e2e6e 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -45,7 +45,7 @@ msgid "" "object-oriented way:" msgstr "" -#: library/unittest.rst:32 +#: library/unittest.rst:28 msgid "test fixture" msgstr "" @@ -57,7 +57,7 @@ msgid "" "server process." msgstr "" -#: library/unittest.rst:37 +#: library/unittest.rst:34 msgid "test case" msgstr "" @@ -68,7 +68,7 @@ msgid "" "base class, :class:`TestCase`, which may be used to create new test cases." msgstr "" -#: library/unittest.rst:41 +#: library/unittest.rst:39 msgid "test suite" msgstr "" @@ -78,7 +78,7 @@ msgid "" "is used to aggregate tests that should be executed together." msgstr "" -#: library/unittest.rst:48 +#: library/unittest.rst:43 msgid "test runner" msgstr "" @@ -90,7 +90,7 @@ msgid "" "results of executing the tests." msgstr "" -#: library/unittest.rst:53 +#: library/unittest.rst:52 msgid "Module :mod:`doctest`" msgstr "" @@ -98,7 +98,7 @@ msgstr "" msgid "Another test-support module with a very different flavor." msgstr "" -#: library/unittest.rst:57 +#: library/unittest.rst:55 msgid "" "`Simple Smalltalk Testing: With Patterns `_" @@ -110,7 +110,7 @@ msgid "" "by :mod:`unittest`." msgstr "" -#: library/unittest.rst:61 +#: library/unittest.rst:59 msgid "`pytest `_" msgstr "" @@ -120,7 +120,7 @@ msgid "" "tests. For example, ``assert func(10) == 42``." msgstr "" -#: library/unittest.rst:65 +#: library/unittest.rst:63 msgid "" "`The Python Testing Tools Taxonomy `_" @@ -132,7 +132,7 @@ msgid "" "frameworks and mock object libraries." msgstr "" -#: library/unittest.rst:69 +#: library/unittest.rst:67 msgid "" "`Testing in Python Mailing List `_" @@ -2127,8 +2127,8 @@ msgstr "" #: library/unittest.rst:1874 msgid "" "All test modules must be importable from the top level of the project. If " -"the start directory is not the top level directory then the top level " -"directory must be specified separately." +"the start directory is not the top level directory then *top_level_dir* must " +"be specified separately." msgstr "" #: library/unittest.rst:1878 @@ -2158,85 +2158,94 @@ msgstr "" #: library/unittest.rst:1895 msgid "" "The pattern is deliberately not stored as a loader attribute so that " -"packages can continue discovery themselves. *top_level_dir* is stored so " -"``load_tests`` does not need to pass this argument in to ``loader." -"discover()``." +"packages can continue discovery themselves." msgstr "" -#: library/unittest.rst:1900 +#: library/unittest.rst:1898 +msgid "" +"*top_level_dir* is stored internally, and used as a default to any nested " +"calls to ``discover()``. That is, if a package's ``load_tests`` calls " +"``loader.discover()``, it does not need to pass this argument." +msgstr "" + +#: library/unittest.rst:1902 msgid "*start_dir* can be a dotted module name as well as a directory." msgstr "" -#: library/unittest.rst:1904 +#: library/unittest.rst:1906 msgid "" "Modules that raise :exc:`SkipTest` on import are recorded as skips, not " "errors." msgstr "" -#: library/unittest.rst:1908 +#: library/unittest.rst:1910 msgid "*start_dir* can be a :term:`namespace packages `." msgstr "" -#: library/unittest.rst:1911 +#: library/unittest.rst:1913 msgid "" "Paths are sorted before being imported so that execution order is the same " "even if the underlying file system's ordering is not dependent on file name." msgstr "" -#: library/unittest.rst:1916 +#: library/unittest.rst:1918 msgid "" "Found packages are now checked for ``load_tests`` regardless of whether " "their path matches *pattern*, because it is impossible for a package name to " "match the default pattern." msgstr "" -#: library/unittest.rst:1921 +#: library/unittest.rst:1923 msgid "" "*start_dir* can not be a :term:`namespace packages `. It " "has been broken since Python 3.7 and Python 3.11 officially remove it." msgstr "" -#: library/unittest.rst:1926 +#: library/unittest.rst:1927 +msgid "*top_level_dir* is only stored for the duration of *discover* call." +msgstr "" + +#: library/unittest.rst:1931 msgid "" "The following attributes of a :class:`TestLoader` can be configured either " "by subclassing or assignment on an instance:" msgstr "" -#: library/unittest.rst:1932 +#: library/unittest.rst:1937 msgid "" "String giving the prefix of method names which will be interpreted as test " "methods. The default value is ``'test'``." msgstr "" -#: library/unittest.rst:1935 +#: library/unittest.rst:1940 msgid "" "This affects :meth:`getTestCaseNames` and all the ``loadTestsFrom*`` methods." msgstr "" -#: library/unittest.rst:1941 +#: library/unittest.rst:1946 msgid "" "Function to be used to compare method names when sorting them in :meth:" "`getTestCaseNames` and all the ``loadTestsFrom*`` methods." msgstr "" -#: library/unittest.rst:1947 +#: library/unittest.rst:1952 msgid "" "Callable object that constructs a test suite from a list of tests. No " "methods on the resulting object are needed. The default value is the :class:" "`TestSuite` class." msgstr "" -#: library/unittest.rst:1964 +#: library/unittest.rst:1969 msgid "This affects all the ``loadTestsFrom*`` methods." msgstr "" -#: library/unittest.rst:1955 +#: library/unittest.rst:1960 msgid "" "List of Unix shell-style wildcard test name patterns that test methods have " "to match to be included in test suites (see ``-k`` option)." msgstr "" -#: library/unittest.rst:1958 +#: library/unittest.rst:1963 msgid "" "If this attribute is not ``None`` (the default), all test methods to be " "included in test suites must match one of the patterns in this list. Note " @@ -2245,13 +2254,13 @@ msgid "" "have to be converted using ``*`` wildcards." msgstr "" -#: library/unittest.rst:1971 +#: library/unittest.rst:1976 msgid "" "This class is used to compile information about which tests have succeeded " "and which have failed." msgstr "" -#: library/unittest.rst:1974 +#: library/unittest.rst:1979 msgid "" "A :class:`TestResult` object stores the results of a set of tests. The :" "class:`TestCase` and :class:`TestSuite` classes ensure that results are " @@ -2259,7 +2268,7 @@ msgid "" "outcome of tests." msgstr "" -#: library/unittest.rst:1979 +#: library/unittest.rst:1984 msgid "" "Testing frameworks built on top of :mod:`unittest` may want access to the :" "class:`TestResult` object generated by running a set of tests for reporting " @@ -2267,61 +2276,61 @@ msgid "" "`TestRunner.run` method for this purpose." msgstr "" -#: library/unittest.rst:1984 +#: library/unittest.rst:1989 msgid "" ":class:`TestResult` instances have the following attributes that will be of " "interest when inspecting the results of running a set of tests:" msgstr "" -#: library/unittest.rst:1990 +#: library/unittest.rst:1995 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents a test which raised an " "unexpected exception." msgstr "" -#: library/unittest.rst:1996 +#: library/unittest.rst:2001 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents a test where a failure " "was explicitly signalled using the :ref:`assert\\* methods `." msgstr "" -#: library/unittest.rst:2002 +#: library/unittest.rst:2007 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding the reason for skipping the test." msgstr "" -#: library/unittest.rst:2009 +#: library/unittest.rst:2014 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents an expected failure or " "error of the test case." msgstr "" -#: library/unittest.rst:2015 +#: library/unittest.rst:2020 msgid "" "A list containing :class:`TestCase` instances that were marked as expected " "failures, but succeeded." msgstr "" -#: library/unittest.rst:2020 +#: library/unittest.rst:2025 msgid "" "A list containing 2-tuples of test case names and floats representing the " "elapsed time of each test which was run." msgstr "" -#: library/unittest.rst:2027 +#: library/unittest.rst:2032 msgid "" "Set to ``True`` when the execution of tests should stop by :meth:`stop`." msgstr "" -#: library/unittest.rst:2031 +#: library/unittest.rst:2036 msgid "The total number of tests run so far." msgstr "" -#: library/unittest.rst:2035 +#: library/unittest.rst:2040 msgid "" "If set to true, ``sys.stdout`` and ``sys.stderr`` will be buffered in " "between :meth:`startTest` and :meth:`stopTest` being called. Collected " @@ -2330,29 +2339,29 @@ msgid "" "error message." msgstr "" -#: library/unittest.rst:2044 +#: library/unittest.rst:2049 msgid "" "If set to true :meth:`stop` will be called on the first failure or error, " "halting the test run." msgstr "" -#: library/unittest.rst:2051 +#: library/unittest.rst:2056 msgid "If set to true then local variables will be shown in tracebacks." msgstr "" -#: library/unittest.rst:2057 +#: library/unittest.rst:2062 msgid "" "Return ``True`` if all tests run so far have passed, otherwise returns " "``False``." msgstr "" -#: library/unittest.rst:2060 +#: library/unittest.rst:2065 msgid "" "Returns ``False`` if there were any :attr:`unexpectedSuccesses` from tests " "marked with the :func:`expectedFailure` decorator." msgstr "" -#: library/unittest.rst:2066 +#: library/unittest.rst:2071 msgid "" "This method can be called to signal that the set of tests being run should " "be aborted by setting the :attr:`shouldStop` attribute to ``True``. :class:" @@ -2360,7 +2369,7 @@ msgid "" "additional tests." msgstr "" -#: library/unittest.rst:2071 +#: library/unittest.rst:2076 msgid "" "For example, this feature is used by the :class:`TextTestRunner` class to " "stop the test framework when the user signals an interrupt from the " @@ -2368,7 +2377,7 @@ msgid "" "implementations can use this in a similar manner." msgstr "" -#: library/unittest.rst:2076 +#: library/unittest.rst:2081 msgid "" "The following methods of the :class:`TestResult` class are used to maintain " "the internal data structures, and may be extended in subclasses to support " @@ -2376,141 +2385,141 @@ msgid "" "tools which support interactive reporting while tests are being run." msgstr "" -#: library/unittest.rst:2084 +#: library/unittest.rst:2089 msgid "Called when the test case *test* is about to be run." msgstr "" -#: library/unittest.rst:2088 +#: library/unittest.rst:2093 msgid "" "Called after the test case *test* has been executed, regardless of the " "outcome." msgstr "" -#: library/unittest.rst:2093 +#: library/unittest.rst:2098 msgid "Called once before any tests are executed." msgstr "" -#: library/unittest.rst:2100 +#: library/unittest.rst:2105 msgid "Called once after all tests are executed." msgstr "" -#: library/unittest.rst:2107 +#: library/unittest.rst:2112 msgid "" "Called when the test case *test* raises an unexpected exception. *err* is a " "tuple of the form returned by :func:`sys.exc_info`: ``(type, value, " "traceback)``." msgstr "" -#: library/unittest.rst:2111 +#: library/unittest.rst:2116 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`errors` attribute, where *formatted_err* is a formatted " "traceback derived from *err*." msgstr "" -#: library/unittest.rst:2118 +#: library/unittest.rst:2123 msgid "" "Called when the test case *test* signals a failure. *err* is a tuple of the " "form returned by :func:`sys.exc_info`: ``(type, value, traceback)``." msgstr "" -#: library/unittest.rst:2121 +#: library/unittest.rst:2126 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`failures` attribute, where *formatted_err* is a formatted " "traceback derived from *err*." msgstr "" -#: library/unittest.rst:2128 +#: library/unittest.rst:2133 msgid "Called when the test case *test* succeeds." msgstr "" -#: library/unittest.rst:2130 +#: library/unittest.rst:2135 msgid "The default implementation does nothing." msgstr "" -#: library/unittest.rst:2135 +#: library/unittest.rst:2140 msgid "" "Called when the test case *test* is skipped. *reason* is the reason the " "test gave for skipping." msgstr "" -#: library/unittest.rst:2138 +#: library/unittest.rst:2143 msgid "" "The default implementation appends a tuple ``(test, reason)`` to the " "instance's :attr:`skipped` attribute." msgstr "" -#: library/unittest.rst:2144 +#: library/unittest.rst:2149 msgid "" "Called when the test case *test* fails or errors, but was marked with the :" "func:`expectedFailure` decorator." msgstr "" -#: library/unittest.rst:2147 +#: library/unittest.rst:2152 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`expectedFailures` attribute, where *formatted_err* is a " "formatted traceback derived from *err*." msgstr "" -#: library/unittest.rst:2154 +#: library/unittest.rst:2159 msgid "" "Called when the test case *test* was marked with the :func:`expectedFailure` " "decorator, but succeeded." msgstr "" -#: library/unittest.rst:2157 +#: library/unittest.rst:2162 msgid "" "The default implementation appends the test to the instance's :attr:" "`unexpectedSuccesses` attribute." msgstr "" -#: library/unittest.rst:2163 +#: library/unittest.rst:2168 msgid "" "Called when a subtest finishes. *test* is the test case corresponding to " "the test method. *subtest* is a custom :class:`TestCase` instance " "describing the subtest." msgstr "" -#: library/unittest.rst:2167 +#: library/unittest.rst:2172 msgid "" "If *outcome* is :const:`None`, the subtest succeeded. Otherwise, it failed " "with an exception where *outcome* is a tuple of the form returned by :func:" "`sys.exc_info`: ``(type, value, traceback)``." msgstr "" -#: library/unittest.rst:2171 +#: library/unittest.rst:2176 msgid "" "The default implementation does nothing when the outcome is a success, and " "records subtest failures as normal failures." msgstr "" -#: library/unittest.rst:2178 +#: library/unittest.rst:2183 msgid "" "Called when the test case finishes. *elapsed* is the time represented in " "seconds, and it includes the execution of cleanup functions." msgstr "" -#: library/unittest.rst:2185 +#: library/unittest.rst:2190 msgid "" "A concrete implementation of :class:`TestResult` used by the :class:" "`TextTestRunner`. Subclasses should accept ``**kwargs`` to ensure " "compatibility as the interface changes." msgstr "" -#: library/unittest.rst:2191 +#: library/unittest.rst:2196 msgid "Added the *durations* keyword parameter." msgstr "" -#: library/unittest.rst:2196 +#: library/unittest.rst:2201 msgid "" "Instance of the :class:`TestLoader` class intended to be shared. If no " "customization of the :class:`TestLoader` is needed, this instance can be " "used instead of repeatedly creating new instances." msgstr "" -#: library/unittest.rst:2205 +#: library/unittest.rst:2210 msgid "" "A basic test runner implementation that outputs results to a stream. If " "*stream* is ``None``, the default, :data:`sys.stderr` is used as the output " @@ -2521,7 +2530,7 @@ msgid "" "unittest." msgstr "" -#: library/unittest.rst:2212 +#: library/unittest.rst:2217 msgid "" "By default this runner shows :exc:`DeprecationWarning`, :exc:" "`PendingDeprecationWarning`, :exc:`ResourceWarning` and :exc:`ImportWarning` " @@ -2531,32 +2540,32 @@ msgid "" "``None``." msgstr "" -#: library/unittest.rst:2220 +#: library/unittest.rst:2225 msgid "Added the *warnings* parameter." msgstr "" -#: library/unittest.rst:2223 +#: library/unittest.rst:2228 msgid "" "The default stream is set to :data:`sys.stderr` at instantiation time rather " "than import time." msgstr "" -#: library/unittest.rst:2227 +#: library/unittest.rst:2232 msgid "Added the *tb_locals* parameter." msgstr "" -#: library/unittest.rst:2230 +#: library/unittest.rst:2235 msgid "Added the *durations* parameter." msgstr "" -#: library/unittest.rst:2235 +#: library/unittest.rst:2240 msgid "" "This method returns the instance of ``TestResult`` used by :meth:`run`. It " "is not intended to be called directly, but can be overridden in subclasses " "to provide a custom ``TestResult``." msgstr "" -#: library/unittest.rst:2239 +#: library/unittest.rst:2244 msgid "" "``_makeResult()`` instantiates the class or callable passed in the " "``TextTestRunner`` constructor as the ``resultclass`` argument. It defaults " @@ -2564,7 +2573,7 @@ msgid "" "class is instantiated with the following arguments::" msgstr "" -#: library/unittest.rst:2248 +#: library/unittest.rst:2253 msgid "" "This method is the main public interface to the ``TextTestRunner``. This " "method takes a :class:`TestSuite` or :class:`TestCase` instance. A :class:" @@ -2572,7 +2581,7 @@ msgid "" "run and the results printed to stdout." msgstr "" -#: library/unittest.rst:2259 +#: library/unittest.rst:2264 msgid "" "A command-line program that loads a set of tests from *module* and runs " "them; this is primarily for making test modules conveniently executable. The " @@ -2580,13 +2589,13 @@ msgid "" "of a test script::" msgstr "" -#: library/unittest.rst:2267 +#: library/unittest.rst:2272 msgid "" "You can run tests with more detailed information by passing in the verbosity " "argument::" msgstr "" -#: library/unittest.rst:2273 +#: library/unittest.rst:2278 msgid "" "The *defaultTest* argument is either the name of a single test or an " "iterable of test names to run if no test names are specified via *argv*. If " @@ -2594,14 +2603,14 @@ msgid "" "tests found in *module* are run." msgstr "" -#: library/unittest.rst:2278 +#: library/unittest.rst:2283 msgid "" "The *argv* argument can be a list of options passed to the program, with the " "first element being the program name. If not specified or ``None``, the " "values of :data:`sys.argv` are used." msgstr "" -#: library/unittest.rst:2282 +#: library/unittest.rst:2287 msgid "" "The *testRunner* argument can either be a test runner class or an already " "created instance of it. By default ``main`` calls :func:`sys.exit` with an " @@ -2609,26 +2618,26 @@ msgid "" "code of 5 indicates that no tests were run or skipped." msgstr "" -#: library/unittest.rst:2287 +#: library/unittest.rst:2292 msgid "" "The *testLoader* argument has to be a :class:`TestLoader` instance, and " "defaults to :data:`defaultTestLoader`." msgstr "" -#: library/unittest.rst:2290 +#: library/unittest.rst:2295 msgid "" "``main`` supports being used from the interactive interpreter by passing in " "the argument ``exit=False``. This displays the result on standard output " "without calling :func:`sys.exit`::" msgstr "" -#: library/unittest.rst:2297 +#: library/unittest.rst:2302 msgid "" "The *failfast*, *catchbreak* and *buffer* parameters have the same effect as " "the same-name `command-line options`_." msgstr "" -#: library/unittest.rst:2300 +#: library/unittest.rst:2305 msgid "" "The *warnings* argument specifies the :ref:`warning filter ` " "that should be used while running the tests. If it's not specified, it will " @@ -2637,56 +2646,56 @@ msgid "" "to ``'default'``." msgstr "" -#: library/unittest.rst:2306 +#: library/unittest.rst:2311 msgid "" "Calling ``main`` actually returns an instance of the ``TestProgram`` class. " "This stores the result of the tests run as the ``result`` attribute." msgstr "" -#: library/unittest.rst:2309 +#: library/unittest.rst:2314 msgid "The *exit* parameter was added." msgstr "" -#: library/unittest.rst:2312 +#: library/unittest.rst:2317 msgid "" "The *verbosity*, *failfast*, *catchbreak*, *buffer* and *warnings* " "parameters were added." msgstr "" -#: library/unittest.rst:2316 +#: library/unittest.rst:2321 msgid "" "The *defaultTest* parameter was changed to also accept an iterable of test " "names." msgstr "" -#: library/unittest.rst:2324 +#: library/unittest.rst:2329 msgid "load_tests Protocol" msgstr "" -#: library/unittest.rst:2328 +#: library/unittest.rst:2333 msgid "" "Modules or packages can customize how tests are loaded from them during " "normal test runs or test discovery by implementing a function called " "``load_tests``." msgstr "" -#: library/unittest.rst:2331 +#: library/unittest.rst:2336 msgid "" "If a test module defines ``load_tests`` it will be called by :meth:" "`TestLoader.loadTestsFromModule` with the following arguments::" msgstr "" -#: library/unittest.rst:2336 +#: library/unittest.rst:2341 msgid "" "where *pattern* is passed straight through from ``loadTestsFromModule``. It " "defaults to ``None``." msgstr "" -#: library/unittest.rst:2339 +#: library/unittest.rst:2344 msgid "It should return a :class:`TestSuite`." msgstr "" -#: library/unittest.rst:2341 +#: library/unittest.rst:2346 msgid "" "*loader* is the instance of :class:`TestLoader` doing the loading. " "*standard_tests* are the tests that would be loaded by default from the " @@ -2695,13 +2704,13 @@ msgid "" "packages as part of test discovery." msgstr "" -#: library/unittest.rst:2347 +#: library/unittest.rst:2352 msgid "" "A typical ``load_tests`` function that loads tests from a specific set of :" "class:`TestCase` classes may look like::" msgstr "" -#: library/unittest.rst:2359 +#: library/unittest.rst:2364 msgid "" "If discovery is started in a directory containing a package, either from the " "command line or by calling :meth:`TestLoader.discover`, then the package :" @@ -2711,31 +2720,31 @@ msgid "" "left up to ``load_tests`` which is called with the following arguments::" msgstr "" -#: library/unittest.rst:2368 +#: library/unittest.rst:2373 msgid "" "This should return a :class:`TestSuite` representing all the tests from the " "package. (``standard_tests`` will only contain tests collected from :file:" "`__init__.py`.)" msgstr "" -#: library/unittest.rst:2372 +#: library/unittest.rst:2377 msgid "" "Because the pattern is passed into ``load_tests`` the package is free to " "continue (and potentially modify) test discovery. A 'do nothing' " "``load_tests`` function for a test package would look like::" msgstr "" -#: library/unittest.rst:2383 +#: library/unittest.rst:2388 msgid "" "Discovery no longer checks package names for matching *pattern* due to the " "impossibility of package names matching the default pattern." msgstr "" -#: library/unittest.rst:2390 +#: library/unittest.rst:2395 msgid "Class and Module Fixtures" msgstr "" -#: library/unittest.rst:2392 +#: library/unittest.rst:2397 msgid "" "Class and module level fixtures are implemented in :class:`TestSuite`. When " "the test suite encounters a test from a new class then :meth:`tearDownClass` " @@ -2743,27 +2752,27 @@ msgid "" "`setUpClass` from the new class." msgstr "" -#: library/unittest.rst:2397 +#: library/unittest.rst:2402 msgid "" "Similarly if a test is from a different module from the previous test then " "``tearDownModule`` from the previous module is run, followed by " "``setUpModule`` from the new module." msgstr "" -#: library/unittest.rst:2401 +#: library/unittest.rst:2406 msgid "" "After all the tests have run the final ``tearDownClass`` and " "``tearDownModule`` are run." msgstr "" -#: library/unittest.rst:2404 +#: library/unittest.rst:2409 msgid "" "Note that shared fixtures do not play well with [potential] features like " "test parallelization and they break test isolation. They should be used with " "care." msgstr "" -#: library/unittest.rst:2407 +#: library/unittest.rst:2412 msgid "" "The default ordering of tests created by the unittest test loaders is to " "group all tests from the same modules and classes together. This will lead " @@ -2773,14 +2782,14 @@ msgid "" "functions may be called multiple times in a single test run." msgstr "" -#: library/unittest.rst:2414 +#: library/unittest.rst:2419 msgid "" "Shared fixtures are not intended to work with suites with non-standard " "ordering. A ``BaseTestSuite`` still exists for frameworks that don't want to " "support shared fixtures." msgstr "" -#: library/unittest.rst:2418 +#: library/unittest.rst:2423 msgid "" "If there are any exceptions raised during one of the shared fixture " "functions the test is reported as an error. Because there is no " @@ -2790,22 +2799,22 @@ msgid "" "matter, but if you are a framework author it may be relevant." msgstr "" -#: library/unittest.rst:2427 +#: library/unittest.rst:2432 msgid "setUpClass and tearDownClass" msgstr "" -#: library/unittest.rst:2429 +#: library/unittest.rst:2434 msgid "These must be implemented as class methods::" msgstr "" -#: library/unittest.rst:2442 +#: library/unittest.rst:2447 msgid "" "If you want the ``setUpClass`` and ``tearDownClass`` on base classes called " "then you must call up to them yourself. The implementations in :class:" "`TestCase` are empty." msgstr "" -#: library/unittest.rst:2446 +#: library/unittest.rst:2451 msgid "" "If an exception is raised during a ``setUpClass`` then the tests in the " "class are not run and the ``tearDownClass`` is not run. Skipped classes will " @@ -2814,15 +2823,15 @@ msgid "" "instead of as an error." msgstr "" -#: library/unittest.rst:2454 +#: library/unittest.rst:2459 msgid "setUpModule and tearDownModule" msgstr "" -#: library/unittest.rst:2456 +#: library/unittest.rst:2461 msgid "These should be implemented as functions::" msgstr "" -#: library/unittest.rst:2464 +#: library/unittest.rst:2469 msgid "" "If an exception is raised in a ``setUpModule`` then none of the tests in the " "module will be run and the ``tearDownModule`` will not be run. If the " @@ -2830,13 +2839,13 @@ msgid "" "having been skipped instead of as an error." msgstr "" -#: library/unittest.rst:2469 +#: library/unittest.rst:2474 msgid "" "To add cleanup code that must be run even in the case of an exception, use " "``addModuleCleanup``:" msgstr "" -#: library/unittest.rst:2475 +#: library/unittest.rst:2480 msgid "" "Add a function to be called after :func:`tearDownModule` to cleanup " "resources used during the test class. Functions will be called in reverse " @@ -2845,13 +2854,13 @@ msgid "" "`addModuleCleanup` when they are added." msgstr "" -#: library/unittest.rst:2481 +#: library/unittest.rst:2486 msgid "" "If :meth:`setUpModule` fails, meaning that :func:`tearDownModule` is not " "called, then any cleanup functions added will still be called." msgstr "" -#: library/unittest.rst:2489 +#: library/unittest.rst:2494 msgid "" "Enter the supplied :term:`context manager`. If successful, also add its :" "meth:`~object.__exit__` method as a cleanup function by :func:" @@ -2859,30 +2868,30 @@ msgid "" "method." msgstr "" -#: library/unittest.rst:2499 +#: library/unittest.rst:2504 msgid "" "This function is called unconditionally after :func:`tearDownModule`, or " "after :func:`setUpModule` if :func:`setUpModule` raises an exception." msgstr "" -#: library/unittest.rst:2502 +#: library/unittest.rst:2507 msgid "" "It is responsible for calling all the cleanup functions added by :func:" "`addModuleCleanup`. If you need cleanup functions to be called *prior* to :" "func:`tearDownModule` then you can call :func:`doModuleCleanups` yourself." msgstr "" -#: library/unittest.rst:2507 +#: library/unittest.rst:2512 msgid "" ":func:`doModuleCleanups` pops methods off the stack of cleanup functions one " "at a time, so it can be called at any time." msgstr "" -#: library/unittest.rst:2514 +#: library/unittest.rst:2519 msgid "Signal Handling" msgstr "" -#: library/unittest.rst:2518 +#: library/unittest.rst:2523 msgid "" "The :option:`-c/--catch ` command-line option to unittest, " "along with the ``catchbreak`` parameter to :func:`unittest.main()`, provide " @@ -2892,7 +2901,7 @@ msgid "" "A second control-c will raise a :exc:`KeyboardInterrupt` in the usual way." msgstr "" -#: library/unittest.rst:2525 +#: library/unittest.rst:2530 msgid "" "The control-c handling signal handler attempts to remain compatible with " "code or tests that install their own :const:`signal.SIGINT` handler. If the " @@ -2904,41 +2913,41 @@ msgid "" "disabled the :func:`removeHandler` decorator can be used." msgstr "" -#: library/unittest.rst:2534 +#: library/unittest.rst:2539 msgid "" "There are a few utility functions for framework authors to enable control-c " "handling functionality within test frameworks." msgstr "" -#: library/unittest.rst:2539 +#: library/unittest.rst:2544 msgid "" "Install the control-c handler. When a :const:`signal.SIGINT` is received " "(usually in response to the user pressing control-c) all registered results " "have :meth:`~TestResult.stop` called." msgstr "" -#: library/unittest.rst:2546 +#: library/unittest.rst:2551 msgid "" "Register a :class:`TestResult` object for control-c handling. Registering a " "result stores a weak reference to it, so it doesn't prevent the result from " "being garbage collected." msgstr "" -#: library/unittest.rst:2550 +#: library/unittest.rst:2555 msgid "" "Registering a :class:`TestResult` object has no side-effects if control-c " "handling is not enabled, so test frameworks can unconditionally register all " "results they create independently of whether or not handling is enabled." msgstr "" -#: library/unittest.rst:2557 +#: library/unittest.rst:2562 msgid "" "Remove a registered result. Once a result has been removed then :meth:" "`~TestResult.stop` will no longer be called on that result object in " "response to a control-c." msgstr "" -#: library/unittest.rst:2564 +#: library/unittest.rst:2569 msgid "" "When called without arguments this function removes the control-c handler if " "it has been installed. This function can also be used as a test decorator to " diff --git a/library/urllib.parse.po b/library/urllib.parse.po index e8b0b49d1..040162144 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -863,7 +863,7 @@ msgstr "" msgid "Added the *quote_via* parameter." msgstr "" -#: library/urllib.parse.rst:740 +#: library/urllib.parse.rst:738 msgid "`WHATWG`_ - URL Living standard" msgstr "" @@ -873,7 +873,7 @@ msgid "" "the application/x-www-form-urlencoded format, and their API." msgstr "" -#: library/urllib.parse.rst:746 +#: library/urllib.parse.rst:742 msgid ":rfc:`3986` - Uniform Resource Identifiers" msgstr "" @@ -885,7 +885,7 @@ msgid "" "requirements as commonly observed in major browsers." msgstr "" -#: library/urllib.parse.rst:749 +#: library/urllib.parse.rst:748 msgid ":rfc:`2732` - Format for Literal IPv6 Addresses in URL's." msgstr "" @@ -893,7 +893,7 @@ msgstr "" msgid "This specifies the parsing requirements of IPv6 URLs." msgstr "" -#: library/urllib.parse.rst:753 +#: library/urllib.parse.rst:751 msgid ":rfc:`2396` - Uniform Resource Identifiers (URI): Generic Syntax" msgstr "" @@ -903,7 +903,7 @@ msgid "" "Resource Names (URNs) and Uniform Resource Locators (URLs)." msgstr "" -#: library/urllib.parse.rst:756 +#: library/urllib.parse.rst:755 msgid ":rfc:`2368` - The mailto URL scheme." msgstr "" @@ -911,7 +911,7 @@ msgstr "" msgid "Parsing requirements for mailto URL schemes." msgstr "" -#: library/urllib.parse.rst:761 +#: library/urllib.parse.rst:758 msgid ":rfc:`1808` - Relative Uniform Resource Locators" msgstr "" diff --git a/library/uuid.po b/library/uuid.po index e22197c47..2a03a9e7a 100644 --- a/library/uuid.po +++ b/library/uuid.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -281,7 +281,7 @@ msgstr "" msgid "Reserved for future definition." msgstr "" -#: library/uuid.rst:271 +#: library/uuid.rst:270 msgid ":rfc:`4122` - A Universally Unique IDentifier (UUID) URN Namespace" msgstr "" diff --git a/library/venv.po b/library/venv.po index 15b4984c1..6c546068c 100644 --- a/library/venv.po +++ b/library/venv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -38,8 +38,8 @@ msgstr "" #: library/venv.rst:29 msgid "" "When used from within a virtual environment, common installation tools such " -"as `pip`_ will install Python packages into a virtual environment without " -"needing to be told to do so explicitly." +"as :pypi:`pip` will install Python packages into a virtual environment " +"without needing to be told to do so explicitly." msgstr "" #: library/venv.rst:33 diff --git a/library/wave.po b/library/wave.po index dd0f57524..7ab693d6e 100644 --- a/library/wave.po +++ b/library/wave.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -47,7 +47,7 @@ msgid "" "file-like object. *mode* can be:" msgstr "" -#: library/wave.rst:32 +#: library/wave.rst:31 msgid "``'rb'``" msgstr "" @@ -55,7 +55,7 @@ msgstr "" msgid "Read only mode." msgstr "" -#: library/wave.rst:35 +#: library/wave.rst:34 msgid "``'wb'``" msgstr "" diff --git a/library/weakref.po b/library/weakref.po index bfd1c5434..6d796702e 100644 --- a/library/weakref.po +++ b/library/weakref.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-01 00:18+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -404,7 +404,7 @@ msgid "" "both proxy types." msgstr "" -#: library/weakref.rst:357 +#: library/weakref.rst:356 msgid ":pep:`205` - Weak References" msgstr "" diff --git a/library/xdrlib.po b/library/xdrlib.po index 6218d715a..007d42920 100644 --- a/library/xdrlib.po +++ b/library/xdrlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -56,7 +56,7 @@ msgid "" "string buffer. The input buffer is given as *data*." msgstr "" -#: library/xdrlib.rst:45 +#: library/xdrlib.rst:43 msgid ":rfc:`1014` - XDR: External Data Representation Standard" msgstr "" diff --git a/library/xml.dom.po b/library/xml.dom.po index e172724f4..445957e42 100644 --- a/library/xml.dom.po +++ b/library/xml.dom.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -91,7 +91,7 @@ msgid "" "mapping requirements." msgstr "" -#: library/xml.dom.rst:71 +#: library/xml.dom.rst:70 msgid "" "`Document Object Model (DOM) Level 2 Specification `_" @@ -101,7 +101,7 @@ msgstr "" msgid "The W3C recommendation upon which the Python DOM API is based." msgstr "" -#: library/xml.dom.rst:74 +#: library/xml.dom.rst:73 msgid "" "`Document Object Model (DOM) Level 1 Specification `_" diff --git a/library/xml.etree.elementtree.po b/library/xml.etree.elementtree.po index 2b85b1664..348ceb536 100644 --- a/library/xml.etree.elementtree.po +++ b/library/xml.etree.elementtree.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -77,8 +77,8 @@ msgstr "" #: library/xml.etree.elementtree.rst:52 msgid "" -"We'll be using the following XML document as the sample data for this " -"section:" +"We'll be using the fictive :file:`country_data.xml` XML document as the " +"sample data for this section:" msgstr "" #: library/xml.etree.elementtree.rst:80 @@ -668,7 +668,7 @@ msgid "" "present." msgstr "" -#: library/xml.etree.elementtree.rst:647 library/xml.etree.elementtree.rst:1520 +#: library/xml.etree.elementtree.rst:647 library/xml.etree.elementtree.rst:1515 msgid "If you need a fully populated element, look for \"end\" events instead." msgstr "" @@ -676,7 +676,7 @@ msgstr "" msgid "The *parser* argument." msgstr "" -#: library/xml.etree.elementtree.rst:652 library/xml.etree.elementtree.rst:1524 +#: library/xml.etree.elementtree.rst:652 library/xml.etree.elementtree.rst:1519 msgid "The ``comment`` and ``pi`` events were added." msgstr "" @@ -741,7 +741,7 @@ msgid "" msgstr "" #: library/xml.etree.elementtree.rst:713 library/xml.etree.elementtree.rst:740 -#: library/xml.etree.elementtree.rst:1197 +#: library/xml.etree.elementtree.rst:1192 msgid "Added the *short_empty_elements* parameter." msgstr "" @@ -848,50 +848,45 @@ msgstr "" msgid "The result might look something like:" msgstr "" -#: library/xml.etree.elementtree.rst:841 +#: library/xml.etree.elementtree.rst:840 msgid "" -"Default loader. This default loader reads an included resource from disk. " -"*href* is a URL. *parse* is for parse mode either \"xml\" or \"text\". " +"Default loader. This default loader reads an included resource from disk. " +"*href* is a URL. *parse* is for parse mode either \"xml\" or \"text\". " "*encoding* is an optional text encoding. If not given, encoding is " -"``utf-8``. Returns the expanded resource. If the parse mode is " -"``\"xml\"``, this is an ElementTree instance. If the parse mode is " -"\"text\", this is a Unicode string. If the loader fails, it can return None " -"or raise an exception." +"``utf-8``. Returns the expanded resource. If the parse mode is ``\"xml\"``, " +"this is an :class:`~xml.etree.ElementTree.Element` instance. If the parse " +"mode is ``\"text\"``, this is a string. If the loader fails, it can return " +"``None`` or raise an exception." msgstr "" -#: library/xml.etree.elementtree.rst:853 +#: library/xml.etree.elementtree.rst:851 msgid "" -"This function expands XInclude directives. *elem* is the root element. " -"*loader* is an optional resource loader. If omitted, it defaults to :func:" -"`default_loader`. If given, it should be a callable that implements the same " -"interface as :func:`default_loader`. *base_url* is base URL of the original " -"file, to resolve relative include file references. *max_depth* is the " -"maximum number of recursive inclusions. Limited to reduce the risk of " -"malicious content explosion. Pass a negative value to disable the limitation." +"This function expands XInclude directives in-place in tree pointed by " +"*elem*. *elem* is either the root :class:`~xml.etree.ElementTree.Element` or " +"an :class:`~xml.etree.ElementTree.ElementTree` instance to find such " +"element. *loader* is an optional resource loader. If omitted, it defaults " +"to :func:`default_loader`. If given, it should be a callable that implements " +"the same interface as :func:`default_loader`. *base_url* is base URL of the " +"original file, to resolve relative include file references. *max_depth* is " +"the maximum number of recursive inclusions. Limited to reduce the risk of " +"malicious content explosion. Pass ``None`` to disable the limitation." msgstr "" #: library/xml.etree.elementtree.rst:861 -msgid "" -"Returns the expanded resource. If the parse mode is ``\"xml\"``, this is an " -"ElementTree instance. If the parse mode is \"text\", this is a Unicode " -"string. If the loader fails, it can return None or raise an exception." -msgstr "" - -#: library/xml.etree.elementtree.rst:866 msgid "Added the *base_url* and *max_depth* parameters." msgstr "" -#: library/xml.etree.elementtree.rst:873 +#: library/xml.etree.elementtree.rst:868 msgid "Element Objects" msgstr "" -#: library/xml.etree.elementtree.rst:880 +#: library/xml.etree.elementtree.rst:875 msgid "" "Element class. This class defines the Element interface, and provides a " "reference implementation of this interface." msgstr "" -#: library/xml.etree.elementtree.rst:883 +#: library/xml.etree.elementtree.rst:878 msgid "" "The element name, attribute names, and attribute values can be either " "bytestrings or Unicode strings. *tag* is the element name. *attrib* is an " @@ -899,13 +894,13 @@ msgid "" "additional attributes, given as keyword arguments." msgstr "" -#: library/xml.etree.elementtree.rst:891 +#: library/xml.etree.elementtree.rst:886 msgid "" "A string identifying what kind of data this element represents (the element " "type, in other words)." msgstr "" -#: library/xml.etree.elementtree.rst:898 +#: library/xml.etree.elementtree.rst:893 msgid "" "These attributes can be used to hold additional data associated with the " "element. Their values are usually strings but may be any application-" @@ -916,7 +911,7 @@ msgid "" "the XML data" msgstr "" -#: library/xml.etree.elementtree.rst:910 +#: library/xml.etree.elementtree.rst:905 msgid "" "the *a* element has ``None`` for both *text* and *tail* attributes, the *b* " "element has *text* ``\"1\"`` and *tail* ``\"4\"``, the *c* element has " @@ -924,17 +919,17 @@ msgid "" "``None`` and *tail* ``\"3\"``." msgstr "" -#: library/xml.etree.elementtree.rst:915 +#: library/xml.etree.elementtree.rst:910 msgid "" "To collect the inner text of an element, see :meth:`itertext`, for example " "``\"\".join(element.itertext())``." msgstr "" -#: library/xml.etree.elementtree.rst:918 +#: library/xml.etree.elementtree.rst:913 msgid "Applications may store arbitrary objects in these attributes." msgstr "" -#: library/xml.etree.elementtree.rst:923 +#: library/xml.etree.elementtree.rst:918 msgid "" "A dictionary containing the element's attributes. Note that while the " "*attrib* value is always a real mutable Python dictionary, an ElementTree " @@ -943,59 +938,59 @@ msgid "" "implementations, use the dictionary methods below whenever possible." msgstr "" -#: library/xml.etree.elementtree.rst:929 +#: library/xml.etree.elementtree.rst:924 msgid "The following dictionary-like methods work on the element attributes." msgstr "" -#: library/xml.etree.elementtree.rst:934 +#: library/xml.etree.elementtree.rst:929 msgid "" "Resets an element. This function removes all subelements, clears all " "attributes, and sets the text and tail attributes to ``None``." msgstr "" -#: library/xml.etree.elementtree.rst:940 +#: library/xml.etree.elementtree.rst:935 msgid "Gets the element attribute named *key*." msgstr "" -#: library/xml.etree.elementtree.rst:942 +#: library/xml.etree.elementtree.rst:937 msgid "" "Returns the attribute value, or *default* if the attribute was not found." msgstr "" -#: library/xml.etree.elementtree.rst:947 +#: library/xml.etree.elementtree.rst:942 msgid "" "Returns the element attributes as a sequence of (name, value) pairs. The " "attributes are returned in an arbitrary order." msgstr "" -#: library/xml.etree.elementtree.rst:953 +#: library/xml.etree.elementtree.rst:948 msgid "" "Returns the elements attribute names as a list. The names are returned in " "an arbitrary order." msgstr "" -#: library/xml.etree.elementtree.rst:959 +#: library/xml.etree.elementtree.rst:954 msgid "Set the attribute *key* on the element to *value*." msgstr "" -#: library/xml.etree.elementtree.rst:961 +#: library/xml.etree.elementtree.rst:956 msgid "The following methods work on the element's children (subelements)." msgstr "" -#: library/xml.etree.elementtree.rst:966 +#: library/xml.etree.elementtree.rst:961 msgid "" "Adds the element *subelement* to the end of this element's internal list of " "subelements. Raises :exc:`TypeError` if *subelement* is not an :class:" "`Element`." msgstr "" -#: library/xml.etree.elementtree.rst:973 +#: library/xml.etree.elementtree.rst:968 msgid "" "Appends *subelements* from a sequence object with zero or more elements. " "Raises :exc:`TypeError` if a subelement is not an :class:`Element`." msgstr "" -#: library/xml.etree.elementtree.rst:981 +#: library/xml.etree.elementtree.rst:976 msgid "" "Finds the first subelement matching *match*. *match* may be a tag name or " "a :ref:`path `. Returns an element instance or " @@ -1004,7 +999,7 @@ msgid "" "expression into the given namespace." msgstr "" -#: library/xml.etree.elementtree.rst:990 +#: library/xml.etree.elementtree.rst:985 msgid "" "Finds all matching subelements, by tag name or :ref:`path `. Returns a list containing all matching elements in document " @@ -1013,7 +1008,7 @@ msgid "" "expression into the given namespace." msgstr "" -#: library/xml.etree.elementtree.rst:999 +#: library/xml.etree.elementtree.rst:994 msgid "" "Finds text for the first subelement matching *match*. *match* may be a tag " "name or a :ref:`path `. Returns the text content of the " @@ -1024,13 +1019,13 @@ msgid "" "into the given namespace." msgstr "" -#: library/xml.etree.elementtree.rst:1010 +#: library/xml.etree.elementtree.rst:1005 msgid "" "Inserts *subelement* at the given position in this element. Raises :exc:" "`TypeError` if *subelement* is not an :class:`Element`." msgstr "" -#: library/xml.etree.elementtree.rst:1016 +#: library/xml.etree.elementtree.rst:1011 msgid "" "Creates a tree :term:`iterator` with the current element as the root. The " "iterator iterates over this element and all elements below it, in document " @@ -1039,7 +1034,7 @@ msgid "" "structure is modified during iteration, the result is undefined." msgstr "" -#: library/xml.etree.elementtree.rst:1027 +#: library/xml.etree.elementtree.rst:1022 msgid "" "Finds all matching subelements, by tag name or :ref:`path `. Returns an iterable yielding all matching elements in document " @@ -1047,44 +1042,44 @@ msgid "" "name." msgstr "" -#: library/xml.etree.elementtree.rst:1038 +#: library/xml.etree.elementtree.rst:1033 msgid "" "Creates a text iterator. The iterator loops over this element and all " "subelements, in document order, and returns all inner text." msgstr "" -#: library/xml.etree.elementtree.rst:1046 +#: library/xml.etree.elementtree.rst:1041 msgid "" "Creates a new element object of the same type as this element. Do not call " "this method, use the :func:`SubElement` factory function instead." msgstr "" -#: library/xml.etree.elementtree.rst:1052 +#: library/xml.etree.elementtree.rst:1047 msgid "" "Removes *subelement* from the element. Unlike the find\\* methods this " "method compares elements based on the instance identity, not on tag value or " "contents." msgstr "" -#: library/xml.etree.elementtree.rst:1056 +#: library/xml.etree.elementtree.rst:1051 msgid "" ":class:`Element` objects also support the following sequence type methods " "for working with subelements: :meth:`~object.__delitem__`, :meth:`~object." "__getitem__`, :meth:`~object.__setitem__`, :meth:`~object.__len__`." msgstr "" -#: library/xml.etree.elementtree.rst:1061 +#: library/xml.etree.elementtree.rst:1056 msgid "" "Caution: Elements with no subelements will test as ``False``. Testing the " "truth value of an Element is deprecated and will raise an exception in " "Python 3.14. Use specific ``len(elem)`` or ``elem is None`` test instead.::" msgstr "" -#: library/xml.etree.elementtree.rst:1073 +#: library/xml.etree.elementtree.rst:1068 msgid "Testing the truth value of an Element emits :exc:`DeprecationWarning`." msgstr "" -#: library/xml.etree.elementtree.rst:1076 +#: library/xml.etree.elementtree.rst:1071 msgid "" "Prior to Python 3.8, the serialisation order of the XML attributes of " "elements was artificially made predictable by sorting the attributes by " @@ -1093,7 +1088,7 @@ msgid "" "attributes were originally parsed or created by user code." msgstr "" -#: library/xml.etree.elementtree.rst:1082 +#: library/xml.etree.elementtree.rst:1077 msgid "" "In general, user code should try not to depend on a specific ordering of " "attributes, given that the `XML Information Set `_ writer. Arguments are the " "same as for the :func:`canonicalize` function. This class does not build a " @@ -1329,11 +1324,11 @@ msgid "" "using the *write* function." msgstr "" -#: library/xml.etree.elementtree.rst:1361 +#: library/xml.etree.elementtree.rst:1356 msgid "XMLParser Objects" msgstr "" -#: library/xml.etree.elementtree.rst:1366 +#: library/xml.etree.elementtree.rst:1361 msgid "" "This class is the low-level building block of the module. It uses :mod:`xml." "parsers.expat` for efficient, event-based parsing of XML. It can be fed XML " @@ -1344,25 +1339,25 @@ msgid "" "XML file." msgstr "" -#: library/xml.etree.elementtree.rst:1374 +#: library/xml.etree.elementtree.rst:1369 msgid "" "Parameters are now :ref:`keyword-only `. The *html* " "argument no longer supported." msgstr "" -#: library/xml.etree.elementtree.rst:1381 +#: library/xml.etree.elementtree.rst:1376 msgid "" "Finishes feeding data to the parser. Returns the result of calling the " "``close()`` method of the *target* passed during construction; by default, " "this is the toplevel document element." msgstr "" -#: library/xml.etree.elementtree.rst:1388 +#: library/xml.etree.elementtree.rst:1383 msgid "Feeds data to the parser. *data* is encoded data." msgstr "" -#: library/xml.etree.elementtree.rst:1393 -#: library/xml.etree.elementtree.rst:1471 +#: library/xml.etree.elementtree.rst:1388 +#: library/xml.etree.elementtree.rst:1466 msgid "" "Triggers parsing of any previously fed unparsed data, which can be used to " "ensure more immediate feedback, in particular with Expat >=2.6.0. The " @@ -1372,15 +1367,15 @@ msgid "" "xmlparser.SetReparseDeferralEnabled` for details." msgstr "" -#: library/xml.etree.elementtree.rst:1400 -#: library/xml.etree.elementtree.rst:1478 +#: library/xml.etree.elementtree.rst:1395 +#: library/xml.etree.elementtree.rst:1473 msgid "" "Note that :meth:`flush` has been backported to some prior releases of " "CPython as a security fix. Check for availability of :meth:`flush` using :" "func:`hasattr` if used in code running across a variety of Python versions." msgstr "" -#: library/xml.etree.elementtree.rst:1408 +#: library/xml.etree.elementtree.rst:1403 msgid "" ":meth:`XMLParser.feed` calls *target*\\'s ``start(tag, attrs_dict)`` method " "for each opening tag, its ``end(tag)`` method for each closing tag, and data " @@ -1391,11 +1386,11 @@ msgid "" "of an XML file::" msgstr "" -#: library/xml.etree.elementtree.rst:1452 +#: library/xml.etree.elementtree.rst:1447 msgid "XMLPullParser Objects" msgstr "" -#: library/xml.etree.elementtree.rst:1456 +#: library/xml.etree.elementtree.rst:1451 msgid "" "A pull parser suitable for non-blocking applications. Its input-side API is " "similar to that of :class:`XMLParser`, but instead of pushing calls to a " @@ -1407,11 +1402,11 @@ msgid "" "If *events* is omitted, only ``\"end\"`` events are reported." msgstr "" -#: library/xml.etree.elementtree.rst:1467 +#: library/xml.etree.elementtree.rst:1462 msgid "Feed the given bytes data to the parser." msgstr "" -#: library/xml.etree.elementtree.rst:1487 +#: library/xml.etree.elementtree.rst:1482 msgid "" "Signal the parser that the data stream is terminated. Unlike :meth:" "`XMLParser.close`, this method always returns :const:`None`. Any events not " @@ -1419,7 +1414,7 @@ msgid "" "`read_events`." msgstr "" -#: library/xml.etree.elementtree.rst:1494 +#: library/xml.etree.elementtree.rst:1489 msgid "" "Return an iterator over the events which have been encountered in the data " "fed to the parser. The iterator yields ``(event, elem)`` pairs, where " @@ -1428,25 +1423,25 @@ msgid "" "follows." msgstr "" -#: library/xml.etree.elementtree.rst:1500 +#: library/xml.etree.elementtree.rst:1495 msgid "``start``, ``end``: the current Element." msgstr "" -#: library/xml.etree.elementtree.rst:1501 +#: library/xml.etree.elementtree.rst:1496 msgid "``comment``, ``pi``: the current comment / processing instruction" msgstr "" -#: library/xml.etree.elementtree.rst:1502 +#: library/xml.etree.elementtree.rst:1497 msgid "" "``start-ns``: a tuple ``(prefix, uri)`` naming the declared namespace " "mapping." msgstr "" -#: library/xml.etree.elementtree.rst:1504 +#: library/xml.etree.elementtree.rst:1499 msgid "``end-ns``: :const:`None` (this may change in a future version)" msgstr "" -#: library/xml.etree.elementtree.rst:1506 +#: library/xml.etree.elementtree.rst:1501 msgid "" "Events provided in a previous call to :meth:`read_events` will not be " "yielded again. Events are consumed from the internal queue only when they " @@ -1455,7 +1450,7 @@ msgid "" "results." msgstr "" -#: library/xml.etree.elementtree.rst:1514 +#: library/xml.etree.elementtree.rst:1509 msgid "" ":class:`XMLPullParser` only guarantees that it has seen the \">\" character " "of a starting tag when it emits a \"start\" event, so the attributes are " @@ -1464,11 +1459,11 @@ msgid "" "be present." msgstr "" -#: library/xml.etree.elementtree.rst:1529 +#: library/xml.etree.elementtree.rst:1524 msgid "Exceptions" msgstr "" -#: library/xml.etree.elementtree.rst:1533 +#: library/xml.etree.elementtree.rst:1528 msgid "" "XML parse error, raised by the various parsing methods in this module when " "parsing fails. The string representation of an instance of this exception " @@ -1476,22 +1471,22 @@ msgid "" "following attributes available:" msgstr "" -#: library/xml.etree.elementtree.rst:1540 +#: library/xml.etree.elementtree.rst:1535 msgid "" "A numeric error code from the expat parser. See the documentation of :mod:" "`xml.parsers.expat` for the list of error codes and their meanings." msgstr "" -#: library/xml.etree.elementtree.rst:1545 +#: library/xml.etree.elementtree.rst:1540 msgid "" "A tuple of *line*, *column* numbers, specifying where the error occurred." msgstr "" -#: library/xml.etree.elementtree.rst:1548 +#: library/xml.etree.elementtree.rst:1543 msgid "Footnotes" msgstr "" -#: library/xml.etree.elementtree.rst:1549 +#: library/xml.etree.elementtree.rst:1544 msgid "" "The encoding string included in XML output should conform to the appropriate " "standards. For example, \"UTF-8\" is valid, but \"UTF8\" is not. See " diff --git a/library/xml.po b/library/xml.po index 046bc9d43..38f6f8f70 100644 --- a/library/xml.po +++ b/library/xml.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -134,7 +134,7 @@ msgstr "" msgid "quadratic blowup" msgstr "" -#: library/xml.rst:109 +#: library/xml.rst:106 msgid "external entity expansion" msgstr "" @@ -154,7 +154,7 @@ msgstr "" msgid "Safe (4)" msgstr "" -#: library/xml.rst:114 +#: library/xml.rst:111 msgid "`DTD`_ retrieval" msgstr "" @@ -162,7 +162,7 @@ msgstr "" msgid "Safe" msgstr "" -#: library/xml.rst:121 +#: library/xml.rst:116 msgid "decompression bomb" msgstr "" @@ -170,7 +170,7 @@ msgstr "" msgid "**Vulnerable**" msgstr "" -#: library/xml.rst:128 +#: library/xml.rst:123 msgid "large tokens" msgstr "" @@ -216,7 +216,7 @@ msgid "" "const:`!pyexpat.EXPAT_VERSION`." msgstr "" -#: library/xml.rst:97 +#: library/xml.rst:92 msgid "billion laughs / exponential entity expansion" msgstr "" @@ -229,7 +229,7 @@ msgid "" "consumes lots of memory and CPU time." msgstr "" -#: library/xml.rst:104 +#: library/xml.rst:99 msgid "quadratic blowup entity expansion" msgstr "" @@ -268,24 +268,23 @@ msgstr "" msgid "" "Expat needs to re-parse unfinished tokens; without the protection introduced " "in Expat 2.6.0, this can lead to quadratic runtime that can be used to cause " -"denial of service in the application parsing XML. The issue is known as " -"`CVE-2023-52425 `_." +"denial of service in the application parsing XML. The issue is known as :cve:" +"`2023-52425`." msgstr "" -#: library/xml.rst:130 +#: library/xml.rst:129 msgid "" -"The documentation for `defusedxml`_ on PyPI has further information about " -"all known attack vectors with examples and references." +"The documentation for :pypi:`defusedxml` on PyPI has further information " +"about all known attack vectors with examples and references." msgstr "" -#: library/xml.rst:136 +#: library/xml.rst:135 msgid "The :mod:`!defusedxml` Package" msgstr "" -#: library/xml.rst:138 +#: library/xml.rst:137 msgid "" -"`defusedxml`_ is a pure Python package with modified subclasses of all " +":pypi:`defusedxml` is a pure Python package with modified subclasses of all " "stdlib XML parsers that prevent any potentially malicious operation. Use of " "this package is recommended for any server code that parses untrusted XML " "data. The package also ships with example exploits and extended " diff --git a/library/xml.sax.po b/library/xml.sax.po index 91751273b..f2053d402 100644 --- a/library/xml.sax.po +++ b/library/xml.sax.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -171,7 +171,7 @@ msgid "" "applications and extensions may use this class for similar purposes." msgstr "" -#: library/xml.sax.rst:148 +#: library/xml.sax.rst:145 msgid "`SAX: The Simple API for XML `_" msgstr "" @@ -182,7 +182,7 @@ msgid "" "and historical information are also available." msgstr "" -#: library/xml.sax.rst:151 +#: library/xml.sax.rst:150 msgid "Module :mod:`xml.sax.handler`" msgstr "" @@ -190,7 +190,7 @@ msgstr "" msgid "Definitions of the interfaces for application-provided objects." msgstr "" -#: library/xml.sax.rst:154 +#: library/xml.sax.rst:153 msgid "Module :mod:`xml.sax.saxutils`" msgstr "" diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index 97005b62f..f465805a0 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-01 00:16+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -266,7 +266,7 @@ msgid "" "description." msgstr "" -#: library/xmlrpc.client.rst:166 +#: library/xmlrpc.client.rst:164 msgid "`XML-RPC HOWTO `_" msgstr "" @@ -277,7 +277,7 @@ msgid "" "to know." msgstr "" -#: library/xmlrpc.client.rst:169 +#: library/xmlrpc.client.rst:168 msgid "" "`XML-RPC Introspection `_" diff --git a/library/zipfile.po b/library/zipfile.po index 17bead1b6..ae7c87e1e 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -131,7 +131,7 @@ msgid "" "individual files." msgstr "" -#: library/zipfile.rst:129 +#: library/zipfile.rst:127 msgid "`PKZIP Application Note`_" msgstr "" @@ -141,7 +141,7 @@ msgid "" "and algorithms used." msgstr "" -#: library/zipfile.rst:132 +#: library/zipfile.rst:131 msgid "`Info-ZIP Home Page `_" msgstr "" @@ -717,9 +717,9 @@ msgstr "" #: library/zipfile.rst:629 msgid "" -"The `zipp `_ project provides backports of " -"the latest path object functionality to older Pythons. Use ``zipp.Path`` in " -"place of ``zipfile.Path`` for early access to changes." +"The :pypi:`zipp` project provides backports of the latest path object " +"functionality to older Pythons. Use ``zipp.Path`` in place of ``zipfile." +"Path`` for early access to changes." msgstr "" #: library/zipfile.rst:637 diff --git a/library/zipimport.po b/library/zipimport.po index e20c46ee7..8b1188cf9 100644 --- a/library/zipimport.po +++ b/library/zipimport.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -58,7 +58,7 @@ msgstr "" msgid "Previously, ZIP archives with an archive comment were not supported." msgstr "" -#: library/zipimport.rst:40 +#: library/zipimport.rst:38 msgid "" "`PKZIP Application Note `_" @@ -70,7 +70,7 @@ msgid "" "and algorithms used." msgstr "" -#: library/zipimport.rst:45 +#: library/zipimport.rst:42 msgid ":pep:`273` - Import Modules from Zip Archives" msgstr "" @@ -82,7 +82,7 @@ msgid "" "`302`." msgstr "" -#: library/zipimport.rst:48 +#: library/zipimport.rst:47 msgid ":mod:`importlib` - The implementation of the import machinery" msgstr "" diff --git a/library/zlib.po b/library/zlib.po index 95d438310..4b28394f9 100644 --- a/library/zlib.po +++ b/library/zlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -427,7 +427,7 @@ msgid "" "The version string of the zlib library actually loaded by the interpreter." msgstr "" -#: library/zlib.rst:336 +#: library/zlib.rst:335 msgid "Module :mod:`gzip`" msgstr "" @@ -435,7 +435,7 @@ msgstr "" msgid "Reading and writing :program:`gzip`\\ -format files." msgstr "" -#: library/zlib.rst:339 +#: library/zlib.rst:338 msgid "http://www.zlib.net" msgstr "" @@ -443,7 +443,7 @@ msgstr "" msgid "The zlib library home page." msgstr "" -#: library/zlib.rst:342 +#: library/zlib.rst:341 msgid "http://www.zlib.net/manual.html" msgstr "" diff --git a/library/zoneinfo.po b/library/zoneinfo.po index 7810e695b..f794723cd 100644 --- a/library/zoneinfo.po +++ b/library/zoneinfo.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -30,10 +30,10 @@ msgid "" "support the IANA time zone database as originally specified in :pep:`615`. " "By default, :mod:`zoneinfo` uses the system's time zone data if available; " "if no system time zone data is available, the library will fall back to " -"using the first-party `tzdata`_ package available on PyPI." +"using the first-party :pypi:`tzdata` package available on PyPI." msgstr "" -#: library/zoneinfo.rst:26 +#: library/zoneinfo.rst:24 msgid "Module: :mod:`datetime`" msgstr "" @@ -43,8 +43,8 @@ msgid "" "with which the :class:`ZoneInfo` class is designed to be used." msgstr "" -#: library/zoneinfo.rst:29 -msgid "Package `tzdata`_" +#: library/zoneinfo.rst:28 +msgid "Package :pypi:`tzdata`" msgstr "" #: library/zoneinfo.rst:29 @@ -106,7 +106,7 @@ msgstr "" msgid "" "The ``zoneinfo`` module does not directly provide time zone data, and " "instead pulls time zone information from the system time zone database or " -"the first-party PyPI package `tzdata`_, if available. Some systems, " +"the first-party PyPI package :pypi:`tzdata`, if available. Some systems, " "including notably Windows systems, do not have an IANA database available, " "and so for projects targeting cross-platform compatibility that require time " "zone data, it is recommended to declare a dependency on tzdata. If neither " diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 5824d17ad..b23cacf1a 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-04 05:12+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -479,7 +479,7 @@ msgid "" "lines." msgstr "" -#: reference/compound_stmts.rst:579 +#: reference/compound_stmts.rst:578 msgid ":pep:`343` - The \"with\" statement" msgstr "" @@ -1241,7 +1241,7 @@ msgstr "" msgid ":ref:`class-pattern-matching`" msgstr "" -#: reference/compound_stmts.rst:1147 +#: reference/compound_stmts.rst:1146 msgid "" "II. Once all positional patterns have been converted to keyword patterns," msgstr "" @@ -1487,7 +1487,7 @@ msgid "" "See section :ref:`naming` for details." msgstr "" -#: reference/compound_stmts.rst:1358 +#: reference/compound_stmts.rst:1357 msgid ":pep:`3107` - Function Annotations" msgstr "" @@ -1495,7 +1495,7 @@ msgstr "" msgid "The original specification for function annotations." msgstr "" -#: reference/compound_stmts.rst:1361 +#: reference/compound_stmts.rst:1360 msgid ":pep:`484` - Type Hints" msgstr "" @@ -1503,7 +1503,7 @@ msgstr "" msgid "Definition of a standard meaning for annotations: type hints." msgstr "" -#: reference/compound_stmts.rst:1365 +#: reference/compound_stmts.rst:1363 msgid ":pep:`526` - Syntax for Variable Annotations" msgstr "" @@ -1513,7 +1513,7 @@ msgid "" "instance variables." msgstr "" -#: reference/compound_stmts.rst:1369 +#: reference/compound_stmts.rst:1367 msgid ":pep:`563` - Postponed Evaluation of Annotations" msgstr "" @@ -1523,7 +1523,7 @@ msgid "" "in a string form at runtime instead of eager evaluation." msgstr "" -#: reference/compound_stmts.rst:1372 +#: reference/compound_stmts.rst:1371 msgid ":pep:`318` - Decorators for Functions and Methods" msgstr "" @@ -1619,7 +1619,7 @@ msgid "" "implementation details." msgstr "" -#: reference/compound_stmts.rst:1476 +#: reference/compound_stmts.rst:1473 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" @@ -1629,7 +1629,7 @@ msgid "" "syntax, and the semantics for how classes with metaclasses are constructed." msgstr "" -#: reference/compound_stmts.rst:1479 +#: reference/compound_stmts.rst:1478 msgid ":pep:`3129` - Class Decorators" msgstr "" @@ -1731,7 +1731,7 @@ msgid "" "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1613 +#: reference/compound_stmts.rst:1612 msgid ":pep:`492` - Coroutines with async and await syntax" msgstr "" diff --git a/reference/datamodel.po b/reference/datamodel.po index 219da1fe0..6f28941ed 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -277,7 +277,7 @@ msgstr "" msgid "There are two types of integers:" msgstr "" -#: reference/datamodel.rst:243 +#: reference/datamodel.rst:238 msgid "Integers (:class:`int`)" msgstr "" @@ -290,7 +290,7 @@ msgid "" "sign bits extending to the left." msgstr "" -#: reference/datamodel.rst:256 +#: reference/datamodel.rst:245 msgid "Booleans (:class:`bool`)" msgstr "" @@ -381,7 +381,7 @@ msgstr "" msgid "The following types are immutable sequences:" msgstr "" -#: reference/datamodel.rst:356 +#: reference/datamodel.rst:338 msgid "Strings" msgstr "" @@ -399,7 +399,7 @@ msgid "" "to achieve the opposite." msgstr "" -#: reference/datamodel.rst:369 +#: reference/datamodel.rst:358 msgid "Tuples" msgstr "" @@ -413,7 +413,7 @@ msgid "" "empty pair of parentheses." msgstr "" -#: reference/datamodel.rst:379 +#: reference/datamodel.rst:371 msgid "Bytes" msgstr "" @@ -447,7 +447,7 @@ msgstr "" msgid "There are currently two intrinsic mutable sequence types:" msgstr "" -#: reference/datamodel.rst:409 +#: reference/datamodel.rst:404 msgid "Lists" msgstr "" @@ -458,7 +458,7 @@ msgid "" "there are no special cases needed to form lists of length 0 or 1.)" msgstr "" -#: reference/datamodel.rst:418 +#: reference/datamodel.rst:411 msgid "Byte Arrays" msgstr "" @@ -496,7 +496,7 @@ msgstr "" msgid "There are currently two intrinsic set types:" msgstr "" -#: reference/datamodel.rst:448 +#: reference/datamodel.rst:442 msgid "Sets" msgstr "" @@ -507,7 +507,7 @@ msgid "" "`~set.add`." msgstr "" -#: reference/datamodel.rst:457 +#: reference/datamodel.rst:450 msgid "Frozen sets" msgstr "" @@ -599,7 +599,7 @@ msgid "" "containing the same number of items as the function's formal parameter list." msgstr "" -#: reference/datamodel.rst:1130 reference/datamodel.rst:1325 +#: reference/datamodel.rst:1127 reference/datamodel.rst:1322 msgid "Special read-only attributes" msgstr "" @@ -630,7 +630,7 @@ msgid "" "the value of the cell, as well as set the value." msgstr "" -#: reference/datamodel.rst:1362 +#: reference/datamodel.rst:1359 msgid "Special writable attributes" msgstr "" @@ -732,7 +732,7 @@ msgid "" "callable object (normally a user-defined function)." msgstr "" -#: reference/datamodel.rst:1453 +#: reference/datamodel.rst:1450 msgid "Special read-only attributes:" msgstr "" @@ -981,7 +981,7 @@ msgstr "" msgid "Predefined (writable) attributes:" msgstr "" -#: reference/datamodel.rst:889 +#: reference/datamodel.rst:888 msgid ":attr:`__name__`" msgstr "" @@ -989,7 +989,7 @@ msgstr "" msgid "The module's name." msgstr "" -#: reference/datamodel.rst:993 +#: reference/datamodel.rst:989 msgid ":attr:`__doc__`" msgstr "" @@ -997,7 +997,7 @@ msgstr "" msgid "The module's documentation string, or ``None`` if unavailable." msgstr "" -#: reference/datamodel.rst:902 +#: reference/datamodel.rst:895 msgid ":attr:`__file__`" msgstr "" @@ -1010,7 +1010,7 @@ msgid "" "library, it's the pathname of the shared library file." msgstr "" -#: reference/datamodel.rst:1000 +#: reference/datamodel.rst:992 msgid ":attr:`__annotations__`" msgstr "" @@ -1051,11 +1051,10 @@ msgid "" "order which behaves correctly even in the presence of 'diamond' inheritance " "structures where there are multiple inheritance paths leading back to a " "common ancestor. Additional details on the C3 MRO used by Python can be " -"found in the documentation accompanying the 2.3 release at https://www." -"python.org/download/releases/2.3/mro/." +"found at :ref:`python_2.3_mro`." msgstr "" -#: reference/datamodel.rst:950 +#: reference/datamodel.rst:947 msgid "" "When a class attribute reference (for class :class:`!C`, say) would yield a " "class method object, it is transformed into an instance method object whose :" @@ -1066,82 +1065,82 @@ msgid "" "contained in its :attr:`~object.__dict__`." msgstr "" -#: reference/datamodel.rst:961 +#: reference/datamodel.rst:958 msgid "" "Class attribute assignments update the class's dictionary, never the " "dictionary of a base class." msgstr "" -#: reference/datamodel.rst:966 +#: reference/datamodel.rst:963 msgid "" "A class object can be called (see above) to yield a class instance (see " "below)." msgstr "" -#: reference/datamodel.rst:977 +#: reference/datamodel.rst:974 msgid "Special attributes:" msgstr "" -#: reference/datamodel.rst:980 +#: reference/datamodel.rst:976 msgid ":attr:`~definition.__name__`" msgstr "" -#: reference/datamodel.rst:980 +#: reference/datamodel.rst:977 msgid "The class name." msgstr "" -#: reference/datamodel.rst:983 +#: reference/datamodel.rst:979 msgid ":attr:`__module__`" msgstr "" -#: reference/datamodel.rst:983 +#: reference/datamodel.rst:980 msgid "The name of the module in which the class was defined." msgstr "" -#: reference/datamodel.rst:986 +#: reference/datamodel.rst:982 msgid ":attr:`~object.__dict__`" msgstr "" -#: reference/datamodel.rst:986 +#: reference/datamodel.rst:983 msgid "The dictionary containing the class's namespace." msgstr "" -#: reference/datamodel.rst:990 +#: reference/datamodel.rst:985 msgid ":attr:`~class.__bases__`" msgstr "" -#: reference/datamodel.rst:989 +#: reference/datamodel.rst:986 msgid "" "A tuple containing the base classes, in the order of their occurrence in the " "base class list." msgstr "" -#: reference/datamodel.rst:993 +#: reference/datamodel.rst:990 msgid "The class's documentation string, or ``None`` if undefined." msgstr "" -#: reference/datamodel.rst:996 +#: reference/datamodel.rst:993 msgid "" "A dictionary containing :term:`variable annotations ` " "collected during class body execution. For best practices on working with :" "attr:`__annotations__`, please see :ref:`annotations-howto`." msgstr "" -#: reference/datamodel.rst:1005 +#: reference/datamodel.rst:999 msgid ":attr:`__type_params__`" msgstr "" -#: reference/datamodel.rst:1003 +#: reference/datamodel.rst:1000 msgid "" "A tuple containing the :ref:`type parameters ` of a :ref:" "`generic class `." msgstr "" -#: reference/datamodel.rst:1008 +#: reference/datamodel.rst:1005 msgid "Class instances" msgstr "" -#: reference/datamodel.rst:1016 +#: reference/datamodel.rst:1013 msgid "" "A class instance is created by calling a class object (see above). A class " "instance has a namespace implemented as a dictionary which is the first " @@ -1158,7 +1157,7 @@ msgid "" "__getattr__` method, that is called to satisfy the lookup." msgstr "" -#: reference/datamodel.rst:1032 +#: reference/datamodel.rst:1029 msgid "" "Attribute assignments and deletions update the instance's dictionary, never " "a class's dictionary. If the class has a :meth:`~object.__setattr__` or :" @@ -1166,23 +1165,23 @@ msgid "" "instance dictionary directly." msgstr "" -#: reference/datamodel.rst:1042 +#: reference/datamodel.rst:1039 msgid "" "Class instances can pretend to be numbers, sequences, or mappings if they " "have methods with certain special names. See section :ref:`specialnames`." msgstr "" -#: reference/datamodel.rst:1049 +#: reference/datamodel.rst:1046 msgid "" "Special attributes: :attr:`~object.__dict__` is the attribute dictionary; :" "attr:`~instance.__class__` is the instance's class." msgstr "" -#: reference/datamodel.rst:1054 +#: reference/datamodel.rst:1051 msgid "I/O objects (also known as file objects)" msgstr "" -#: reference/datamodel.rst:1069 +#: reference/datamodel.rst:1066 msgid "" "A :term:`file object` represents an open file. Various shortcuts are " "available to create file objects: the :func:`open` built-in function, and " @@ -1191,7 +1190,7 @@ msgid "" "methods provided by extension modules)." msgstr "" -#: reference/datamodel.rst:1075 +#: reference/datamodel.rst:1072 msgid "" "The objects ``sys.stdin``, ``sys.stdout`` and ``sys.stderr`` are initialized " "to file objects corresponding to the interpreter's standard input, output " @@ -1199,22 +1198,22 @@ msgid "" "interface defined by the :class:`io.TextIOBase` abstract class." msgstr "" -#: reference/datamodel.rst:1083 +#: reference/datamodel.rst:1080 msgid "Internal types" msgstr "" -#: reference/datamodel.rst:1089 +#: reference/datamodel.rst:1086 msgid "" "A few types used internally by the interpreter are exposed to the user. " "Their definitions may change with future versions of the interpreter, but " "they are mentioned here for completeness." msgstr "" -#: reference/datamodel.rst:1097 +#: reference/datamodel.rst:1094 msgid "Code objects" msgstr "" -#: reference/datamodel.rst:1101 +#: reference/datamodel.rst:1098 msgid "" "Code objects represent *byte-compiled* executable Python code, or :term:" "`bytecode`. The difference between a code object and a function object is " @@ -1226,103 +1225,103 @@ msgid "" "no references (directly or indirectly) to mutable objects." msgstr "" -#: reference/datamodel.rst:1135 +#: reference/datamodel.rst:1132 msgid "The function name" msgstr "" -#: reference/datamodel.rst:1138 +#: reference/datamodel.rst:1135 msgid "The fully qualified function name" msgstr "" -#: reference/datamodel.rst:1143 +#: reference/datamodel.rst:1140 msgid "" "The total number of positional :term:`parameters ` (including " "positional-only parameters and parameters with default values) that the " "function has" msgstr "" -#: reference/datamodel.rst:1148 +#: reference/datamodel.rst:1145 msgid "" "The number of positional-only :term:`parameters ` (including " "arguments with default values) that the function has" msgstr "" -#: reference/datamodel.rst:1152 +#: reference/datamodel.rst:1149 msgid "" "The number of keyword-only :term:`parameters ` (including " "arguments with default values) that the function has" msgstr "" -#: reference/datamodel.rst:1156 +#: reference/datamodel.rst:1153 msgid "" "The number of :ref:`local variables ` used by the function " "(including parameters)" msgstr "" -#: reference/datamodel.rst:1160 +#: reference/datamodel.rst:1157 msgid "" "A :class:`tuple` containing the names of the local variables in the function " "(starting with the parameter names)" msgstr "" -#: reference/datamodel.rst:1164 +#: reference/datamodel.rst:1161 msgid "" "A :class:`tuple` containing the names of :ref:`local variables ` " "that are referenced by nested functions inside the function" msgstr "" -#: reference/datamodel.rst:1168 +#: reference/datamodel.rst:1165 msgid "A :class:`tuple` containing the names of free variables in the function" msgstr "" -#: reference/datamodel.rst:1171 +#: reference/datamodel.rst:1168 msgid "" "A string representing the sequence of :term:`bytecode` instructions in the " "function" msgstr "" -#: reference/datamodel.rst:1175 +#: reference/datamodel.rst:1172 msgid "" "A :class:`tuple` containing the literals used by the :term:`bytecode` in the " "function" msgstr "" -#: reference/datamodel.rst:1179 +#: reference/datamodel.rst:1176 msgid "" "A :class:`tuple` containing the names used by the :term:`bytecode` in the " "function" msgstr "" -#: reference/datamodel.rst:1183 +#: reference/datamodel.rst:1180 msgid "The name of the file from which the code was compiled" msgstr "" -#: reference/datamodel.rst:1186 +#: reference/datamodel.rst:1183 msgid "The line number of the first line of the function" msgstr "" -#: reference/datamodel.rst:1189 +#: reference/datamodel.rst:1186 msgid "" "A string encoding the mapping from :term:`bytecode` offsets to line numbers. " "For details, see the source code of the interpreter." msgstr "" -#: reference/datamodel.rst:1192 +#: reference/datamodel.rst:1189 msgid "" "This attribute of code objects is deprecated, and may be removed in Python " "3.14." msgstr "" -#: reference/datamodel.rst:1197 +#: reference/datamodel.rst:1194 msgid "The required stack size of the code object" msgstr "" -#: reference/datamodel.rst:1200 +#: reference/datamodel.rst:1197 msgid "" "An :class:`integer ` encoding a number of flags for the interpreter." msgstr "" -#: reference/datamodel.rst:1205 +#: reference/datamodel.rst:1202 msgid "" "The following flag bits are defined for :attr:`~codeobject.co_flags`: bit " "``0x04`` is set if the function uses the ``*arguments`` syntax to accept an " @@ -1333,7 +1332,7 @@ msgid "" "might be present." msgstr "" -#: reference/datamodel.rst:1213 +#: reference/datamodel.rst:1210 msgid "" "Future feature declarations (``from __future__ import division``) also use " "bits in :attr:`~codeobject.co_flags` to indicate whether a code object was " @@ -1342,29 +1341,29 @@ msgid "" "``0x1000`` were used in earlier versions of Python." msgstr "" -#: reference/datamodel.rst:1219 +#: reference/datamodel.rst:1216 msgid "" "Other bits in :attr:`~codeobject.co_flags` are reserved for internal use." msgstr "" -#: reference/datamodel.rst:1223 +#: reference/datamodel.rst:1220 msgid "" "If a code object represents a function, the first item in :attr:`~codeobject." "co_consts` is the documentation string of the function, or ``None`` if " "undefined." msgstr "" -#: reference/datamodel.rst:1228 +#: reference/datamodel.rst:1225 msgid "Methods on code objects" msgstr "" -#: reference/datamodel.rst:1232 +#: reference/datamodel.rst:1229 msgid "" "Returns an iterable over the source code positions of each :term:`bytecode` " "instruction in the code object." msgstr "" -#: reference/datamodel.rst:1235 +#: reference/datamodel.rst:1232 msgid "" "The iterator returns :class:`tuple`\\s containing the ``(start_line, " "end_line, start_column, end_column)``. The *i-th* tuple corresponds to the " @@ -1372,37 +1371,37 @@ msgid "" "information is 0-indexed utf-8 byte offsets on the given source line." msgstr "" -#: reference/datamodel.rst:1241 +#: reference/datamodel.rst:1238 msgid "" "This positional information can be missing. A non-exhaustive lists of cases " "where this may happen:" msgstr "" -#: reference/datamodel.rst:1244 +#: reference/datamodel.rst:1241 msgid "Running the interpreter with :option:`-X` ``no_debug_ranges``." msgstr "" -#: reference/datamodel.rst:1245 +#: reference/datamodel.rst:1242 msgid "" "Loading a pyc file compiled while using :option:`-X` ``no_debug_ranges``." msgstr "" -#: reference/datamodel.rst:1246 +#: reference/datamodel.rst:1243 msgid "Position tuples corresponding to artificial instructions." msgstr "" -#: reference/datamodel.rst:1247 +#: reference/datamodel.rst:1244 msgid "" "Line and column numbers that can't be represented due to implementation " "specific limitations." msgstr "" -#: reference/datamodel.rst:1250 +#: reference/datamodel.rst:1247 msgid "" "When this occurs, some or all of the tuple elements can be :const:`None`." msgstr "" -#: reference/datamodel.rst:1256 +#: reference/datamodel.rst:1253 msgid "" "This feature requires storing column positions in code objects which may " "result in a small increase of disk usage of compiled Python files or " @@ -1412,144 +1411,144 @@ msgid "" "environment variable can be used." msgstr "" -#: reference/datamodel.rst:1265 +#: reference/datamodel.rst:1262 msgid "" "Returns an iterator that yields information about successive ranges of :term:" "`bytecode`\\s. Each item yielded is a ``(start, end, lineno)`` :class:" "`tuple`:" msgstr "" -#: reference/datamodel.rst:1269 +#: reference/datamodel.rst:1266 msgid "" "``start`` (an :class:`int`) represents the offset (inclusive) of the start " "of the :term:`bytecode` range" msgstr "" -#: reference/datamodel.rst:1271 +#: reference/datamodel.rst:1268 msgid "" "``end`` (an :class:`int`) represents the offset (exclusive) of the end of " "the :term:`bytecode` range" msgstr "" -#: reference/datamodel.rst:1273 +#: reference/datamodel.rst:1270 msgid "" "``lineno`` is an :class:`int` representing the line number of the :term:" "`bytecode` range, or ``None`` if the bytecodes in the given range have no " "line number" msgstr "" -#: reference/datamodel.rst:1277 +#: reference/datamodel.rst:1274 msgid "The items yielded will have the following properties:" msgstr "" -#: reference/datamodel.rst:1279 +#: reference/datamodel.rst:1276 msgid "The first range yielded will have a ``start`` of 0." msgstr "" -#: reference/datamodel.rst:1280 +#: reference/datamodel.rst:1277 msgid "" "The ``(start, end)`` ranges will be non-decreasing and consecutive. That is, " "for any pair of :class:`tuple`\\s, the ``start`` of the second will be equal " "to the ``end`` of the first." msgstr "" -#: reference/datamodel.rst:1283 +#: reference/datamodel.rst:1280 msgid "No range will be backwards: ``end >= start`` for all triples." msgstr "" -#: reference/datamodel.rst:1284 +#: reference/datamodel.rst:1281 msgid "" "The last :class:`tuple` yielded will have ``end`` equal to the size of the :" "term:`bytecode`." msgstr "" -#: reference/datamodel.rst:1287 +#: reference/datamodel.rst:1284 msgid "" "Zero-width ranges, where ``start == end``, are allowed. Zero-width ranges " "are used for lines that are present in the source code, but have been " "eliminated by the :term:`bytecode` compiler." msgstr "" -#: reference/datamodel.rst:1295 +#: reference/datamodel.rst:1292 msgid ":pep:`626` - Precise line numbers for debugging and other tools." msgstr "" -#: reference/datamodel.rst:1296 +#: reference/datamodel.rst:1293 msgid "The PEP that introduced the :meth:`!co_lines` method." msgstr "" -#: reference/datamodel.rst:1300 +#: reference/datamodel.rst:1297 msgid "" "Return a copy of the code object with new values for the specified fields." msgstr "" -#: reference/datamodel.rst:1308 +#: reference/datamodel.rst:1305 msgid "Frame objects" msgstr "" -#: reference/datamodel.rst:1312 +#: reference/datamodel.rst:1309 msgid "" "Frame objects represent execution frames. They may occur in :ref:`traceback " "objects `, and are also passed to registered trace " "functions." msgstr "" -#: reference/datamodel.rst:1330 +#: reference/datamodel.rst:1327 msgid "" "Points to the previous stack frame (towards the caller), or ``None`` if this " "is the bottom stack frame" msgstr "" -#: reference/datamodel.rst:1334 +#: reference/datamodel.rst:1331 msgid "" "The :ref:`code object ` being executed in this frame. " "Accessing this attribute raises an :ref:`auditing event ` ``object." "__getattr__`` with arguments ``obj`` and ``\"f_code\"``." msgstr "" -#: reference/datamodel.rst:1339 +#: reference/datamodel.rst:1336 msgid "" "The dictionary used by the frame to look up :ref:`local variables `" msgstr "" -#: reference/datamodel.rst:1343 +#: reference/datamodel.rst:1340 msgid "" "The dictionary used by the frame to look up :ref:`global variables `" msgstr "" -#: reference/datamodel.rst:1347 +#: reference/datamodel.rst:1344 msgid "" "The dictionary used by the frame to look up :ref:`built-in (intrinsic) names " "`" msgstr "" -#: reference/datamodel.rst:1351 +#: reference/datamodel.rst:1348 msgid "" "The \"precise instruction\" of the frame object (this is an index into the :" "term:`bytecode` string of the :ref:`code object `)" msgstr "" -#: reference/datamodel.rst:1367 +#: reference/datamodel.rst:1364 msgid "" "If not ``None``, this is a function called for various events during code " "execution (this is used by debuggers). Normally an event is triggered for " "each new source line (see :attr:`~frame.f_trace_lines`)." msgstr "" -#: reference/datamodel.rst:1372 +#: reference/datamodel.rst:1369 msgid "" "Set this attribute to :const:`False` to disable triggering a tracing event " "for each source line." msgstr "" -#: reference/datamodel.rst:1376 +#: reference/datamodel.rst:1373 msgid "" "Set this attribute to :const:`True` to allow per-opcode events to be " "requested. Note that this may lead to undefined interpreter behaviour if " "exceptions raised by the trace function escape to the function being traced." msgstr "" -#: reference/datamodel.rst:1382 +#: reference/datamodel.rst:1379 msgid "" "The current line number of the frame -- writing to this from within a trace " "function jumps to the given line (only for the bottom-most frame). A " @@ -1557,15 +1556,15 @@ msgid "" "this attribute." msgstr "" -#: reference/datamodel.rst:1388 +#: reference/datamodel.rst:1385 msgid "Frame object methods" msgstr "" -#: reference/datamodel.rst:1390 +#: reference/datamodel.rst:1387 msgid "Frame objects support one method:" msgstr "" -#: reference/datamodel.rst:1394 +#: reference/datamodel.rst:1391 msgid "" "This method clears all references to :ref:`local variables ` held by " "the frame. Also, if the frame belonged to a :term:`generator`, the " @@ -1574,26 +1573,26 @@ msgid "" "and storing its :ref:`traceback ` for later use)." msgstr "" -#: reference/datamodel.rst:1400 +#: reference/datamodel.rst:1397 msgid ":exc:`RuntimeError` is raised if the frame is currently executing." msgstr "" -#: reference/datamodel.rst:1408 +#: reference/datamodel.rst:1405 msgid "Traceback objects" msgstr "" -#: reference/datamodel.rst:1421 +#: reference/datamodel.rst:1418 msgid "" "Traceback objects represent the stack trace of an :ref:`exception `. A traceback object is implicitly created when an exception occurs, " "and may also be explicitly created by calling :class:`types.TracebackType`." msgstr "" -#: reference/datamodel.rst:1426 +#: reference/datamodel.rst:1423 msgid "Traceback objects can now be explicitly instantiated from Python code." msgstr "" -#: reference/datamodel.rst:1429 +#: reference/datamodel.rst:1426 msgid "" "For implicitly created tracebacks, when the search for an exception handler " "unwinds the execution stack, at each unwound level a traceback object is " @@ -1604,7 +1603,7 @@ msgid "" "the caught exception." msgstr "" -#: reference/datamodel.rst:1438 +#: reference/datamodel.rst:1435 msgid "" "When the program contains no suitable handler, the stack trace is written " "(nicely formatted) to the standard error stream; if the interpreter is " @@ -1612,33 +1611,33 @@ msgid "" "last_traceback`." msgstr "" -#: reference/datamodel.rst:1443 +#: reference/datamodel.rst:1440 msgid "" "For explicitly created tracebacks, it is up to the creator of the traceback " "to determine how the :attr:`~traceback.tb_next` attributes should be linked " "to form a full stack trace." msgstr "" -#: reference/datamodel.rst:1458 +#: reference/datamodel.rst:1455 msgid "" "Points to the execution :ref:`frame ` of the current level." msgstr "" -#: reference/datamodel.rst:1461 +#: reference/datamodel.rst:1458 msgid "" "Accessing this attribute raises an :ref:`auditing event ` ``object." "__getattr__`` with arguments ``obj`` and ``\"tb_frame\"``." msgstr "" -#: reference/datamodel.rst:1466 +#: reference/datamodel.rst:1463 msgid "Gives the line number where the exception occurred" msgstr "" -#: reference/datamodel.rst:1469 +#: reference/datamodel.rst:1466 msgid "Indicates the \"precise instruction\"." msgstr "" -#: reference/datamodel.rst:1471 +#: reference/datamodel.rst:1468 msgid "" "The line number and last instruction in the traceback may differ from the " "line number of its :ref:`frame object ` if the exception " @@ -1646,39 +1645,39 @@ msgid "" "with a :keyword:`finally` clause." msgstr "" -#: reference/datamodel.rst:1482 +#: reference/datamodel.rst:1479 msgid "" "The special writable attribute :attr:`!tb_next` is the next level in the " "stack trace (towards the frame where the exception occurred), or ``None`` if " "there is no next level." msgstr "" -#: reference/datamodel.rst:1486 +#: reference/datamodel.rst:1483 msgid "This attribute is now writable" msgstr "" -#: reference/datamodel.rst:1491 +#: reference/datamodel.rst:1488 msgid "Slice objects" msgstr "" -#: reference/datamodel.rst:1495 +#: reference/datamodel.rst:1492 msgid "" "Slice objects are used to represent slices for :meth:`~object.__getitem__` " "methods. They are also created by the built-in :func:`slice` function." msgstr "" -#: reference/datamodel.rst:1504 +#: reference/datamodel.rst:1501 msgid "" "Special read-only attributes: :attr:`~slice.start` is the lower bound; :attr:" "`~slice.stop` is the upper bound; :attr:`~slice.step` is the step value; " "each is ``None`` if omitted. These attributes can have any type." msgstr "" -#: reference/datamodel.rst:1508 +#: reference/datamodel.rst:1505 msgid "Slice objects support one method:" msgstr "" -#: reference/datamodel.rst:1512 +#: reference/datamodel.rst:1509 msgid "" "This method takes a single integer argument *length* and computes " "information about the slice that the slice object would describe if applied " @@ -1688,11 +1687,11 @@ msgid "" "a manner consistent with regular slices." msgstr "" -#: reference/datamodel.rst:1521 +#: reference/datamodel.rst:1518 msgid "Static method objects" msgstr "" -#: reference/datamodel.rst:1523 +#: reference/datamodel.rst:1520 msgid "" "Static method objects provide a way of defeating the transformation of " "function objects to method objects described above. A static method object " @@ -1703,11 +1702,11 @@ msgid "" "method objects are created by the built-in :func:`staticmethod` constructor." msgstr "" -#: reference/datamodel.rst:1533 +#: reference/datamodel.rst:1530 msgid "Class method objects" msgstr "" -#: reference/datamodel.rst:1535 +#: reference/datamodel.rst:1532 msgid "" "A class method object, like a static method object, is a wrapper around " "another object that alters the way in which that object is retrieved from " @@ -1717,11 +1716,11 @@ msgid "" "`classmethod` constructor." msgstr "" -#: reference/datamodel.rst:1545 +#: reference/datamodel.rst:1542 msgid "Special method names" msgstr "" -#: reference/datamodel.rst:1551 +#: reference/datamodel.rst:1548 msgid "" "A class can implement certain operations that are invoked by special syntax " "(such as arithmetic operations or subscripting and slicing) by defining " @@ -1735,7 +1734,7 @@ msgid "" "`TypeError`)." msgstr "" -#: reference/datamodel.rst:1562 +#: reference/datamodel.rst:1559 msgid "" "Setting a special method to ``None`` indicates that the corresponding " "operation is not available. For example, if a class sets :meth:`~object." @@ -1744,7 +1743,7 @@ msgid "" "`~object.__getitem__`). [#]_" msgstr "" -#: reference/datamodel.rst:1568 +#: reference/datamodel.rst:1565 msgid "" "When implementing a class that emulates any built-in type, it is important " "that the emulation only be implemented to the degree that it makes sense for " @@ -1754,11 +1753,11 @@ msgid "" "the W3C's Document Object Model.)" msgstr "" -#: reference/datamodel.rst:1579 +#: reference/datamodel.rst:1576 msgid "Basic customization" msgstr "" -#: reference/datamodel.rst:1585 +#: reference/datamodel.rst:1582 msgid "" "Called to create a new instance of class *cls*. :meth:`__new__` is a static " "method (special-cased so you need not declare it as such) that takes the " @@ -1768,7 +1767,7 @@ msgid "" "new object instance (usually an instance of *cls*)." msgstr "" -#: reference/datamodel.rst:1592 +#: reference/datamodel.rst:1589 msgid "" "Typical implementations create a new instance of the class by invoking the " "superclass's :meth:`__new__` method using ``super().__new__(cls[, ...])`` " @@ -1776,7 +1775,7 @@ msgid "" "necessary before returning it." msgstr "" -#: reference/datamodel.rst:1597 +#: reference/datamodel.rst:1594 msgid "" "If :meth:`__new__` is invoked during object construction and it returns an " "instance of *cls*, then the new instance’s :meth:`__init__` method will be " @@ -1785,13 +1784,13 @@ msgid "" "constructor." msgstr "" -#: reference/datamodel.rst:1602 +#: reference/datamodel.rst:1599 msgid "" "If :meth:`__new__` does not return an instance of *cls*, then the new " "instance's :meth:`__init__` method will not be invoked." msgstr "" -#: reference/datamodel.rst:1605 +#: reference/datamodel.rst:1602 msgid "" ":meth:`__new__` is intended mainly to allow subclasses of immutable types " "(like int, str, or tuple) to customize instance creation. It is also " @@ -1799,7 +1798,7 @@ msgid "" "creation." msgstr "" -#: reference/datamodel.rst:1614 +#: reference/datamodel.rst:1611 msgid "" "Called after the instance has been created (by :meth:`__new__`), but before " "it is returned to the caller. The arguments are those passed to the class " @@ -1809,7 +1808,7 @@ msgid "" "example: ``super().__init__([args...])``." msgstr "" -#: reference/datamodel.rst:1621 +#: reference/datamodel.rst:1618 msgid "" "Because :meth:`__new__` and :meth:`__init__` work together in constructing " "objects (:meth:`__new__` to create it, and :meth:`__init__` to customize " @@ -1817,7 +1816,7 @@ msgid "" "will cause a :exc:`TypeError` to be raised at runtime." msgstr "" -#: reference/datamodel.rst:1634 +#: reference/datamodel.rst:1631 msgid "" "Called when the instance is about to be destroyed. This is also called a " "finalizer or (improperly) a destructor. If a base class has a :meth:" @@ -1826,7 +1825,7 @@ msgid "" "instance." msgstr "" -#: reference/datamodel.rst:1640 +#: reference/datamodel.rst:1637 msgid "" "It is possible (though not recommended!) for the :meth:`__del__` method to " "postpone destruction of the instance by creating a new reference to it. " @@ -1836,20 +1835,20 @@ msgid "" "it once." msgstr "" -#: reference/datamodel.rst:1647 +#: reference/datamodel.rst:1644 msgid "" "It is not guaranteed that :meth:`__del__` methods are called for objects " "that still exist when the interpreter exits." msgstr "" -#: reference/datamodel.rst:1652 +#: reference/datamodel.rst:1649 msgid "" "``del x`` doesn't directly call ``x.__del__()`` --- the former decrements " "the reference count for ``x`` by one, and the latter is only called when " "``x``'s reference count reaches zero." msgstr "" -#: reference/datamodel.rst:1657 +#: reference/datamodel.rst:1654 msgid "" "It is possible for a reference cycle to prevent the reference count of an " "object from going to zero. In this case, the cycle will be later detected " @@ -1860,18 +1859,18 @@ msgid "" "caught in the traceback." msgstr "" -#: reference/datamodel.rst:1667 +#: reference/datamodel.rst:1664 msgid "Documentation for the :mod:`gc` module." msgstr "" -#: reference/datamodel.rst:1671 +#: reference/datamodel.rst:1668 msgid "" "Due to the precarious circumstances under which :meth:`__del__` methods are " "invoked, exceptions that occur during their execution are ignored, and a " "warning is printed to ``sys.stderr`` instead. In particular:" msgstr "" -#: reference/datamodel.rst:1675 +#: reference/datamodel.rst:1672 msgid "" ":meth:`__del__` can be invoked when arbitrary code is being executed, " "including from any arbitrary thread. If :meth:`__del__` needs to take a " @@ -1880,7 +1879,7 @@ msgid "" "`__del__`." msgstr "" -#: reference/datamodel.rst:1681 +#: reference/datamodel.rst:1678 msgid "" ":meth:`__del__` can be executed during interpreter shutdown. As a " "consequence, the global variables it needs to access (including other " @@ -1891,7 +1890,7 @@ msgid "" "still available at the time when the :meth:`__del__` method is called." msgstr "" -#: reference/datamodel.rst:1696 +#: reference/datamodel.rst:1693 msgid "" "Called by the :func:`repr` built-in function to compute the \"official\" " "string representation of an object. If at all possible, this should look " @@ -1903,13 +1902,13 @@ msgid "" "an \"informal\" string representation of instances of that class is required." msgstr "" -#: reference/datamodel.rst:1705 +#: reference/datamodel.rst:1702 msgid "" "This is typically used for debugging, so it is important that the " "representation is information-rich and unambiguous." msgstr "" -#: reference/datamodel.rst:1716 +#: reference/datamodel.rst:1713 msgid "" "Called by :func:`str(object) ` and the built-in functions :func:" "`format` and :func:`print` to compute the \"informal\" or nicely printable " @@ -1917,26 +1916,26 @@ msgid "" "` object." msgstr "" -#: reference/datamodel.rst:1721 +#: reference/datamodel.rst:1718 msgid "" "This method differs from :meth:`object.__repr__` in that there is no " "expectation that :meth:`__str__` return a valid Python expression: a more " "convenient or concise representation can be used." msgstr "" -#: reference/datamodel.rst:1725 +#: reference/datamodel.rst:1722 msgid "" "The default implementation defined by the built-in type :class:`object` " "calls :meth:`object.__repr__`." msgstr "" -#: reference/datamodel.rst:1735 +#: reference/datamodel.rst:1732 msgid "" "Called by :ref:`bytes ` to compute a byte-string representation " "of an object. This should return a :class:`bytes` object." msgstr "" -#: reference/datamodel.rst:1746 +#: reference/datamodel.rst:1743 msgid "" "Called by the :func:`format` built-in function, and by extension, evaluation " "of :ref:`formatted string literals ` and the :meth:`str.format` " @@ -1948,28 +1947,28 @@ msgid "" "formatting option syntax." msgstr "" -#: reference/datamodel.rst:1756 +#: reference/datamodel.rst:1753 msgid "" "See :ref:`formatspec` for a description of the standard formatting syntax." msgstr "" -#: reference/datamodel.rst:1758 +#: reference/datamodel.rst:1755 msgid "The return value must be a string object." msgstr "" -#: reference/datamodel.rst:1760 +#: reference/datamodel.rst:1757 msgid "" "The __format__ method of ``object`` itself raises a :exc:`TypeError` if " "passed any non-empty string." msgstr "" -#: reference/datamodel.rst:1764 +#: reference/datamodel.rst:1761 msgid "" "``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than " "``format(str(x), '')``." msgstr "" -#: reference/datamodel.rst:1780 +#: reference/datamodel.rst:1777 msgid "" "These are the so-called \"rich comparison\" methods. The correspondence " "between operator symbols and method names is as follows: ``x.__hash__``." msgstr "" -#: reference/datamodel.rst:1872 +#: reference/datamodel.rst:1869 msgid "" "If a class that does not override :meth:`__eq__` wishes to suppress hash " "support, it should include ``__hash__ = None`` in the class definition. A " @@ -2095,7 +2094,7 @@ msgid "" "``isinstance(obj, collections.abc.Hashable)`` call." msgstr "" -#: reference/datamodel.rst:1881 +#: reference/datamodel.rst:1878 msgid "" "By default, the :meth:`__hash__` values of str and bytes objects are " "\"salted\" with an unpredictable random value. Although they remain " @@ -2103,7 +2102,7 @@ msgid "" "between repeated invocations of Python." msgstr "" -#: reference/datamodel.rst:1886 +#: reference/datamodel.rst:1883 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 " @@ -2111,22 +2110,22 @@ msgid "" "advisories/ocert-2011-003.html for details." msgstr "" -#: reference/datamodel.rst:1891 +#: reference/datamodel.rst:1888 msgid "" "Changing hash values affects the iteration order of sets. Python has never " "made guarantees about this ordering (and it typically varies between 32-bit " "and 64-bit builds)." msgstr "" -#: reference/datamodel.rst:1895 +#: reference/datamodel.rst:1892 msgid "See also :envvar:`PYTHONHASHSEED`." msgstr "" -#: reference/datamodel.rst:1897 +#: reference/datamodel.rst:1894 msgid "Hash randomization is enabled by default." msgstr "" -#: reference/datamodel.rst:1905 +#: reference/datamodel.rst:1902 msgid "" "Called to implement truth value testing and the built-in operation " "``bool()``; should return ``False`` or ``True``. When this method is not " @@ -2135,18 +2134,18 @@ msgid "" "meth:`!__len__` nor :meth:`!__bool__`, all its instances are considered true." msgstr "" -#: reference/datamodel.rst:1916 +#: reference/datamodel.rst:1913 msgid "Customizing attribute access" msgstr "" -#: reference/datamodel.rst:1918 +#: reference/datamodel.rst:1915 msgid "" "The following methods can be defined to customize the meaning of attribute " "access (use of, assignment to, or deletion of ``x.name``) for class " "instances." msgstr "" -#: reference/datamodel.rst:1926 +#: reference/datamodel.rst:1923 msgid "" "Called when the default attribute access fails with an :exc:`AttributeError` " "(either :meth:`__getattribute__` raises an :exc:`AttributeError` because " @@ -2156,7 +2155,7 @@ msgid "" "attribute value or raise an :exc:`AttributeError` exception." msgstr "" -#: reference/datamodel.rst:1933 +#: reference/datamodel.rst:1930 msgid "" "Note that if the attribute is found through the normal mechanism, :meth:" "`__getattr__` is not called. (This is an intentional asymmetry between :" @@ -2169,7 +2168,7 @@ msgid "" "actually get total control over attribute access." msgstr "" -#: reference/datamodel.rst:1946 +#: reference/datamodel.rst:1943 msgid "" "Called unconditionally to implement attribute accesses for instances of the " "class. If the class also defines :meth:`__getattr__`, the latter will not be " @@ -2181,82 +2180,82 @@ msgid "" "example, ``object.__getattribute__(self, name)``." msgstr "" -#: reference/datamodel.rst:1957 +#: reference/datamodel.rst:1954 msgid "" "This method may still be bypassed when looking up special methods as the " "result of implicit invocation via language syntax or :ref:`built-in " "functions `. See :ref:`special-lookup`." msgstr "" -#: reference/datamodel.rst:1962 +#: reference/datamodel.rst:1959 msgid "" "Raises an :ref:`auditing event ` ``object.__getattr__`` with " "arguments ``obj``, ``name``." msgstr "" -#: reference/datamodel.rst:1964 +#: reference/datamodel.rst:1961 msgid "" "For certain sensitive attribute accesses, raises an :ref:`auditing event " "` ``object.__getattr__`` with arguments ``obj`` and ``name``." msgstr "" -#: reference/datamodel.rst:1971 +#: reference/datamodel.rst:1968 msgid "" "Called when an attribute assignment is attempted. This is called instead of " "the normal mechanism (i.e. store the value in the instance dictionary). " "*name* is the attribute name, *value* is the value to be assigned to it." msgstr "" -#: reference/datamodel.rst:1975 +#: reference/datamodel.rst:1972 msgid "" "If :meth:`__setattr__` wants to assign to an instance attribute, it should " "call the base class method with the same name, for example, ``object." "__setattr__(self, name, value)``." msgstr "" -#: reference/datamodel.rst:1979 +#: reference/datamodel.rst:1976 msgid "" "Raises an :ref:`auditing event ` ``object.__setattr__`` with " "arguments ``obj``, ``name``, ``value``." msgstr "" -#: reference/datamodel.rst:1981 +#: reference/datamodel.rst:1978 msgid "" "For certain sensitive attribute assignments, raises an :ref:`auditing event " "` ``object.__setattr__`` with arguments ``obj``, ``name``, " "``value``." msgstr "" -#: reference/datamodel.rst:1988 +#: reference/datamodel.rst:1985 msgid "" "Like :meth:`__setattr__` but for attribute deletion instead of assignment. " "This should only be implemented if ``del obj.name`` is meaningful for the " "object." msgstr "" -#: reference/datamodel.rst:1991 +#: reference/datamodel.rst:1988 msgid "" "Raises an :ref:`auditing event ` ``object.__delattr__`` with " "arguments ``obj``, ``name``." msgstr "" -#: reference/datamodel.rst:1993 +#: reference/datamodel.rst:1990 msgid "" "For certain sensitive attribute deletions, raises an :ref:`auditing event " "` ``object.__delattr__`` with arguments ``obj`` and ``name``." msgstr "" -#: reference/datamodel.rst:2000 +#: reference/datamodel.rst:1997 msgid "" "Called when :func:`dir` is called on the object. An iterable must be " "returned. :func:`dir` converts the returned iterable to a list and sorts it." msgstr "" -#: reference/datamodel.rst:2005 +#: reference/datamodel.rst:2002 msgid "Customizing module attribute access" msgstr "" -#: reference/datamodel.rst:2012 +#: reference/datamodel.rst:2009 msgid "" "Special names ``__getattr__`` and ``__dir__`` can be also used to customize " "access to module attributes. The ``__getattr__`` function at the module " @@ -2268,21 +2267,21 @@ msgid "" "with the attribute name and the result is returned." msgstr "" -#: reference/datamodel.rst:2021 +#: reference/datamodel.rst:2018 msgid "" "The ``__dir__`` function should accept no arguments, and return an iterable " "of strings that represents the names accessible on module. If present, this " "function overrides the standard :func:`dir` search on a module." msgstr "" -#: reference/datamodel.rst:2025 +#: reference/datamodel.rst:2022 msgid "" "For a more fine grained customization of the module behavior (setting " "attributes, properties, etc.), one can set the ``__class__`` attribute of a " "module object to a subclass of :class:`types.ModuleType`. For example::" msgstr "" -#: reference/datamodel.rst:2043 +#: reference/datamodel.rst:2040 msgid "" "Defining module ``__getattr__`` and setting module ``__class__`` only affect " "lookups made using the attribute access syntax -- directly accessing the " @@ -2290,27 +2289,27 @@ msgid "" "module's globals dictionary) is unaffected." msgstr "" -#: reference/datamodel.rst:2048 +#: reference/datamodel.rst:2045 msgid "``__class__`` module attribute is now writable." msgstr "" -#: reference/datamodel.rst:2051 +#: reference/datamodel.rst:2048 msgid "``__getattr__`` and ``__dir__`` module attributes." msgstr "" -#: reference/datamodel.rst:2056 +#: reference/datamodel.rst:2053 msgid ":pep:`562` - Module __getattr__ and __dir__" msgstr "" -#: reference/datamodel.rst:2057 +#: reference/datamodel.rst:2054 msgid "Describes the ``__getattr__`` and ``__dir__`` functions on modules." msgstr "" -#: reference/datamodel.rst:2063 +#: reference/datamodel.rst:2060 msgid "Implementing Descriptors" msgstr "" -#: reference/datamodel.rst:2065 +#: reference/datamodel.rst:2062 msgid "" "The following methods only apply when an instance of the class containing " "the method (a so-called *descriptor* class) appears in an *owner* class (the " @@ -2320,7 +2319,7 @@ msgid "" "the owner class' :attr:`~object.__dict__`." msgstr "" -#: reference/datamodel.rst:2075 +#: reference/datamodel.rst:2072 msgid "" "Called to get the attribute of the owner class (class attribute access) or " "of an instance of that class (instance attribute access). The optional " @@ -2329,13 +2328,13 @@ msgid "" "accessed through the *owner*." msgstr "" -#: reference/datamodel.rst:2081 +#: reference/datamodel.rst:2078 msgid "" "This method should return the computed attribute value or raise an :exc:" "`AttributeError` exception." msgstr "" -#: reference/datamodel.rst:2084 +#: reference/datamodel.rst:2081 msgid "" ":PEP:`252` specifies that :meth:`__get__` is callable with one or two " "arguments. Python's own built-in descriptors support this specification; " @@ -2345,31 +2344,31 @@ msgid "" "not." msgstr "" -#: reference/datamodel.rst:2093 +#: reference/datamodel.rst:2090 msgid "" "Called to set the attribute on an instance *instance* of the owner class to " "a new value, *value*." msgstr "" -#: reference/datamodel.rst:2096 +#: reference/datamodel.rst:2093 msgid "" "Note, adding :meth:`__set__` or :meth:`__delete__` changes the kind of " "descriptor to a \"data descriptor\". See :ref:`descriptor-invocation` for " "more details." msgstr "" -#: reference/datamodel.rst:2102 +#: reference/datamodel.rst:2099 msgid "" "Called to delete the attribute on an instance *instance* of the owner class." msgstr "" -#: reference/datamodel.rst:2104 +#: reference/datamodel.rst:2101 msgid "" "Instances of descriptors may also have the :attr:`!__objclass__` attribute " "present:" msgstr "" -#: reference/datamodel.rst:2109 +#: reference/datamodel.rst:2106 msgid "" "The attribute :attr:`!__objclass__` is interpreted by the :mod:`inspect` " "module as specifying the class where this object was defined (setting this " @@ -2380,11 +2379,11 @@ msgid "" "are implemented in C)." msgstr "" -#: reference/datamodel.rst:2120 +#: reference/datamodel.rst:2117 msgid "Invoking Descriptors" msgstr "" -#: reference/datamodel.rst:2122 +#: reference/datamodel.rst:2119 msgid "" "In general, a descriptor is an object attribute with \"binding behavior\", " "one whose attribute access has been overridden by methods in the descriptor " @@ -2393,7 +2392,7 @@ msgid "" "is said to be a descriptor." msgstr "" -#: reference/datamodel.rst:2128 +#: reference/datamodel.rst:2125 msgid "" "The default behavior for attribute access is to get, set, or delete the " "attribute from an object's dictionary. For instance, ``a.x`` has a lookup " @@ -2401,7 +2400,7 @@ msgid "" "continuing through the base classes of ``type(a)`` excluding metaclasses." msgstr "" -#: reference/datamodel.rst:2133 +#: reference/datamodel.rst:2130 msgid "" "However, if the looked-up value is an object defining one of the descriptor " "methods, then Python may override the default behavior and invoke the " @@ -2409,54 +2408,54 @@ msgid "" "depends on which descriptor methods were defined and how they were called." msgstr "" -#: reference/datamodel.rst:2138 +#: reference/datamodel.rst:2135 msgid "" "The starting point for descriptor invocation is a binding, ``a.x``. How the " "arguments are assembled depends on ``a``:" msgstr "" -#: reference/datamodel.rst:2143 +#: reference/datamodel.rst:2138 msgid "Direct Call" msgstr "" -#: reference/datamodel.rst:2142 +#: reference/datamodel.rst:2139 msgid "" "The simplest and least common call is when user code directly invokes a " "descriptor method: ``x.__get__(a)``." msgstr "" -#: reference/datamodel.rst:2147 +#: reference/datamodel.rst:2142 msgid "Instance Binding" msgstr "" -#: reference/datamodel.rst:2146 +#: reference/datamodel.rst:2143 msgid "" "If binding to an object instance, ``a.x`` is transformed into the call: " "``type(a).__dict__['x'].__get__(a, type(a))``." msgstr "" -#: reference/datamodel.rst:2151 +#: reference/datamodel.rst:2146 msgid "Class Binding" msgstr "" -#: reference/datamodel.rst:2150 +#: reference/datamodel.rst:2147 msgid "" "If binding to a class, ``A.x`` is transformed into the call: ``A." "__dict__['x'].__get__(None, A)``." msgstr "" -#: reference/datamodel.rst:2157 +#: reference/datamodel.rst:2150 msgid "Super Binding" msgstr "" -#: reference/datamodel.rst:2154 +#: reference/datamodel.rst:2151 msgid "" "A dotted lookup such as ``super(A, a).x`` searches ``a.__class__.__mro__`` " "for a base class ``B`` following ``A`` and then returns ``B.__dict__['x']." "__get__(a, A)``. If not a descriptor, ``x`` is returned unchanged." msgstr "" -#: reference/datamodel.rst:2191 +#: reference/datamodel.rst:2188 msgid "" "For instance bindings, the precedence of descriptor invocation depends on " "which descriptor methods are defined. A descriptor can define any " @@ -2474,7 +2473,7 @@ msgid "" "instances." msgstr "" -#: reference/datamodel.rst:2206 +#: reference/datamodel.rst:2203 msgid "" "Python methods (including those decorated with :func:`@staticmethod " "` and :func:`@classmethod `) are implemented as " @@ -2483,30 +2482,30 @@ msgid "" "from other instances of the same class." msgstr "" -#: reference/datamodel.rst:2212 +#: reference/datamodel.rst:2209 msgid "" "The :func:`property` function is implemented as a data descriptor. " "Accordingly, instances cannot override the behavior of a property." msgstr "" -#: reference/datamodel.rst:2219 +#: reference/datamodel.rst:2216 msgid "__slots__" msgstr "" -#: reference/datamodel.rst:2221 +#: reference/datamodel.rst:2218 msgid "" "*__slots__* allow us to explicitly declare data members (like properties) " "and deny the creation of :attr:`~object.__dict__` and *__weakref__* (unless " "explicitly declared in *__slots__* or available in a parent.)" msgstr "" -#: reference/datamodel.rst:2225 +#: reference/datamodel.rst:2222 msgid "" "The space saved over using :attr:`~object.__dict__` can be significant. " "Attribute lookup speed can be significantly improved as well." msgstr "" -#: reference/datamodel.rst:2230 +#: reference/datamodel.rst:2227 msgid "" "This class variable can be assigned a string, iterable, or sequence of " "strings with variable names used by instances. *__slots__* reserves space " @@ -2514,18 +2513,18 @@ msgid "" "`~object.__dict__` and *__weakref__* for each instance." msgstr "" -#: reference/datamodel.rst:2239 +#: reference/datamodel.rst:2236 msgid "Notes on using *__slots__*:" msgstr "" -#: reference/datamodel.rst:2241 +#: reference/datamodel.rst:2238 msgid "" "When inheriting from a class without *__slots__*, the :attr:`~object." "__dict__` and *__weakref__* attribute of the instances will always be " "accessible." msgstr "" -#: reference/datamodel.rst:2245 +#: reference/datamodel.rst:2242 msgid "" "Without a :attr:`~object.__dict__` variable, instances cannot be assigned " "new variables not listed in the *__slots__* definition. Attempts to assign " @@ -2534,7 +2533,7 @@ msgid "" "sequence of strings in the *__slots__* declaration." msgstr "" -#: reference/datamodel.rst:2252 +#: reference/datamodel.rst:2249 msgid "" "Without a *__weakref__* variable for each instance, classes defining " "*__slots__* do not support :mod:`weak references ` to its " @@ -2542,7 +2541,7 @@ msgid "" "to the sequence of strings in the *__slots__* declaration." msgstr "" -#: reference/datamodel.rst:2258 +#: reference/datamodel.rst:2255 msgid "" "*__slots__* are implemented at the class level by creating :ref:`descriptors " "` for each variable name. As a result, class attributes cannot " @@ -2550,7 +2549,7 @@ msgid "" "otherwise, the class attribute would overwrite the descriptor assignment." msgstr "" -#: reference/datamodel.rst:2264 +#: reference/datamodel.rst:2261 msgid "" "The action of a *__slots__* declaration is not limited to the class where it " "is defined. *__slots__* declared in parents are available in child classes. " @@ -2559,7 +2558,7 @@ msgid "" "names of any *additional* slots)." msgstr "" -#: reference/datamodel.rst:2270 +#: reference/datamodel.rst:2267 msgid "" "If a class defines a slot also defined in a base class, the instance " "variable defined by the base class slot is inaccessible (except by " @@ -2568,7 +2567,7 @@ msgid "" "prevent this." msgstr "" -#: reference/datamodel.rst:2275 +#: reference/datamodel.rst:2272 msgid "" ":exc:`TypeError` will be raised if nonempty *__slots__* are defined for a " "class derived from a :c:member:`\"variable-length\" built-in type " @@ -2576,11 +2575,11 @@ msgid "" "`tuple`." msgstr "" -#: reference/datamodel.rst:2280 +#: reference/datamodel.rst:2277 msgid "Any non-string :term:`iterable` may be assigned to *__slots__*." msgstr "" -#: reference/datamodel.rst:2282 +#: reference/datamodel.rst:2279 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 " @@ -2588,13 +2587,13 @@ msgid "" "func:`inspect.getdoc` and displayed in the output of :func:`help`." msgstr "" -#: reference/datamodel.rst:2287 +#: reference/datamodel.rst:2284 msgid "" ":attr:`~instance.__class__` assignment works only if both classes have the " "same *__slots__*." msgstr "" -#: reference/datamodel.rst:2290 +#: reference/datamodel.rst:2287 msgid "" ":ref:`Multiple inheritance ` with multiple slotted parent " "classes can be used, but only one parent is allowed to have attributes " @@ -2602,18 +2601,18 @@ msgid "" "raise :exc:`TypeError`." msgstr "" -#: reference/datamodel.rst:2296 +#: reference/datamodel.rst:2293 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:2304 +#: reference/datamodel.rst:2301 msgid "Customizing class creation" msgstr "" -#: reference/datamodel.rst:2306 +#: reference/datamodel.rst:2303 msgid "" "Whenever a class inherits from another class, :meth:`~object." "__init_subclass__` is called on the parent class. This way, it is possible " @@ -2623,14 +2622,14 @@ msgid "" "future subclasses of the class defining the method." msgstr "" -#: reference/datamodel.rst:2315 +#: reference/datamodel.rst:2312 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:2319 +#: reference/datamodel.rst:2316 msgid "" "Keyword arguments which are given to a new class are passed to the parent " "class's ``__init_subclass__``. For compatibility with other classes using " @@ -2638,13 +2637,13 @@ msgid "" "pass the others over to the base class, as in::" msgstr "" -#: reference/datamodel.rst:2333 +#: reference/datamodel.rst:2330 msgid "" "The default implementation ``object.__init_subclass__`` does nothing, but " "raises an error if it is called with any arguments." msgstr "" -#: reference/datamodel.rst:2338 +#: reference/datamodel.rst:2335 msgid "" "The metaclass hint ``metaclass`` is consumed by the rest of the type " "machinery, and is never passed to ``__init_subclass__`` implementations. The " @@ -2652,41 +2651,41 @@ msgid "" "``type(cls)``." msgstr "" -#: reference/datamodel.rst:2346 +#: reference/datamodel.rst:2343 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:2351 +#: reference/datamodel.rst:2348 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:2357 +#: reference/datamodel.rst:2354 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:2368 +#: reference/datamodel.rst:2365 msgid "See :ref:`class-object-creation` for more details." msgstr "" -#: reference/datamodel.rst:2376 +#: reference/datamodel.rst:2373 msgid "Metaclasses" msgstr "" -#: reference/datamodel.rst:2383 +#: reference/datamodel.rst:2380 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:2387 +#: reference/datamodel.rst:2384 msgid "" "The class creation process can be customized by passing the ``metaclass`` " "keyword argument in the class definition line, or by inheriting from an " @@ -2694,41 +2693,41 @@ msgid "" "both ``MyClass`` and ``MySubclass`` are instances of ``Meta``::" msgstr "" -#: reference/datamodel.rst:2401 +#: reference/datamodel.rst:2398 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:2404 +#: reference/datamodel.rst:2401 msgid "When a class definition is executed, the following steps occur:" msgstr "" -#: reference/datamodel.rst:2406 +#: reference/datamodel.rst:2403 msgid "MRO entries are resolved;" msgstr "" -#: reference/datamodel.rst:2407 +#: reference/datamodel.rst:2404 msgid "the appropriate metaclass is determined;" msgstr "" -#: reference/datamodel.rst:2408 +#: reference/datamodel.rst:2405 msgid "the class namespace is prepared;" msgstr "" -#: reference/datamodel.rst:2409 +#: reference/datamodel.rst:2406 msgid "the class body is executed;" msgstr "" -#: reference/datamodel.rst:2410 +#: reference/datamodel.rst:2407 msgid "the class object is created." msgstr "" -#: reference/datamodel.rst:2414 +#: reference/datamodel.rst:2411 msgid "Resolving MRO entries" msgstr "" -#: reference/datamodel.rst:2418 +#: reference/datamodel.rst:2415 msgid "" "If a base that appears in a class definition is not an instance of :class:" "`type`, then an :meth:`!__mro_entries__` method is searched on the base. If " @@ -2740,59 +2739,59 @@ msgid "" "is ignored." msgstr "" -#: reference/datamodel.rst:2430 +#: reference/datamodel.rst:2426 msgid ":func:`types.resolve_bases`" msgstr "" -#: reference/datamodel.rst:2430 +#: reference/datamodel.rst:2427 msgid "Dynamically resolve bases that are not instances of :class:`type`." msgstr "" -#: reference/datamodel.rst:2434 +#: reference/datamodel.rst:2429 msgid ":func:`types.get_original_bases`" msgstr "" -#: reference/datamodel.rst:2433 +#: reference/datamodel.rst:2430 msgid "" "Retrieve a class's \"original bases\" prior to modifications by :meth:" "`~object.__mro_entries__`." msgstr "" -#: reference/datamodel.rst:2436 +#: reference/datamodel.rst:2433 msgid ":pep:`560`" msgstr "" -#: reference/datamodel.rst:2437 +#: reference/datamodel.rst:2434 msgid "Core support for typing module and generic types." msgstr "" -#: reference/datamodel.rst:2441 +#: reference/datamodel.rst:2438 msgid "Determining the appropriate metaclass" msgstr "" -#: reference/datamodel.rst:2445 +#: reference/datamodel.rst:2442 msgid "" "The appropriate metaclass for a class definition is determined as follows:" msgstr "" -#: reference/datamodel.rst:2447 +#: reference/datamodel.rst:2444 msgid "" "if no bases and no explicit metaclass are given, then :func:`type` is used;" msgstr "" -#: reference/datamodel.rst:2448 +#: reference/datamodel.rst:2445 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:2450 +#: reference/datamodel.rst:2447 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:2453 +#: reference/datamodel.rst:2450 msgid "" "The most derived metaclass is selected from the explicitly specified " "metaclass (if any) and the metaclasses (i.e. ``type(cls)``) of all specified " @@ -2801,11 +2800,11 @@ msgid "" "that criterion, then the class definition will fail with ``TypeError``." msgstr "" -#: reference/datamodel.rst:2463 +#: reference/datamodel.rst:2460 msgid "Preparing the class namespace" msgstr "" -#: reference/datamodel.rst:2468 +#: reference/datamodel.rst:2465 msgid "" "Once the appropriate metaclass has been identified, then the class namespace " "is prepared. If the metaclass has a ``__prepare__`` attribute, it is called " @@ -2817,25 +2816,25 @@ msgid "" "copied into a new ``dict``." msgstr "" -#: reference/datamodel.rst:2477 +#: reference/datamodel.rst:2474 msgid "" "If the metaclass has no ``__prepare__`` attribute, then the class namespace " "is initialised as an empty ordered mapping." msgstr "" -#: reference/datamodel.rst:2482 +#: reference/datamodel.rst:2479 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/datamodel.rst:2483 +#: reference/datamodel.rst:2480 msgid "Introduced the ``__prepare__`` namespace hook" msgstr "" -#: reference/datamodel.rst:2487 +#: reference/datamodel.rst:2484 msgid "Executing the class body" msgstr "" -#: reference/datamodel.rst:2492 +#: reference/datamodel.rst:2489 msgid "" "The class body is executed (approximately) as ``exec(body, globals(), " "namespace)``. The key difference from a normal call to :func:`exec` is that " @@ -2844,7 +2843,7 @@ msgid "" "inside a function." msgstr "" -#: reference/datamodel.rst:2498 +#: reference/datamodel.rst:2495 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. " @@ -2853,11 +2852,11 @@ msgid "" "reference described in the next section." msgstr "" -#: reference/datamodel.rst:2507 +#: reference/datamodel.rst:2504 msgid "Creating the class object" msgstr "" -#: reference/datamodel.rst:2514 +#: reference/datamodel.rst:2511 msgid "" "Once the class namespace has been populated by executing the class body, the " "class object is created by calling ``metaclass(name, bases, namespace, " @@ -2865,7 +2864,7 @@ msgid "" "to ``__prepare__``)." msgstr "" -#: reference/datamodel.rst:2519 +#: reference/datamodel.rst:2516 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 " @@ -2876,7 +2875,7 @@ msgid "" "is identified based on the first argument passed to the method." msgstr "" -#: reference/datamodel.rst:2529 +#: reference/datamodel.rst:2526 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 " @@ -2885,39 +2884,39 @@ msgid "" "in Python 3.8." msgstr "" -#: reference/datamodel.rst:2535 +#: reference/datamodel.rst:2532 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:2539 +#: reference/datamodel.rst:2536 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:2541 +#: reference/datamodel.rst:2538 msgid "" "Those ``__set_name__`` methods are called with the class being defined and " "the assigned name of that particular attribute;" msgstr "" -#: reference/datamodel.rst:2543 +#: reference/datamodel.rst:2540 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:2546 +#: reference/datamodel.rst:2543 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:2550 +#: reference/datamodel.rst:2547 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 " @@ -2925,19 +2924,19 @@ msgid "" "becomes the :attr:`~object.__dict__` attribute of the class object." msgstr "" -#: reference/datamodel.rst:2557 +#: reference/datamodel.rst:2554 msgid ":pep:`3135` - New super" msgstr "" -#: reference/datamodel.rst:2558 +#: reference/datamodel.rst:2555 msgid "Describes the implicit ``__class__`` closure reference" msgstr "" -#: reference/datamodel.rst:2562 +#: reference/datamodel.rst:2559 msgid "Uses for metaclasses" msgstr "" -#: reference/datamodel.rst:2564 +#: reference/datamodel.rst:2561 msgid "" "The potential uses for metaclasses are boundless. Some ideas that have been " "explored include enum, logging, interface checking, automatic delegation, " @@ -2945,17 +2944,17 @@ msgid "" "locking/synchronization." msgstr "" -#: reference/datamodel.rst:2571 +#: reference/datamodel.rst:2568 msgid "Customizing instance and subclass checks" msgstr "" -#: reference/datamodel.rst:2573 +#: reference/datamodel.rst:2570 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:2576 +#: reference/datamodel.rst:2573 msgid "" "In particular, the metaclass :class:`abc.ABCMeta` implements these methods " "in order to allow the addition of Abstract Base Classes (ABCs) as \"virtual " @@ -2963,21 +2962,21 @@ msgid "" "other ABCs." msgstr "" -#: reference/datamodel.rst:2583 +#: reference/datamodel.rst:2580 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:2590 +#: reference/datamodel.rst:2587 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:2595 +#: reference/datamodel.rst:2592 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 " @@ -2985,11 +2984,11 @@ msgid "" "only in this case the instance is itself a class." msgstr "" -#: reference/datamodel.rst:2606 +#: reference/datamodel.rst:2599 msgid ":pep:`3119` - Introducing Abstract Base Classes" msgstr "" -#: reference/datamodel.rst:2603 +#: reference/datamodel.rst:2600 msgid "" "Includes the specification for customizing :func:`isinstance` and :func:" "`issubclass` behavior through :meth:`~class.__instancecheck__` and :meth:" @@ -2998,11 +2997,11 @@ msgid "" "language." msgstr "" -#: reference/datamodel.rst:2611 +#: reference/datamodel.rst:2608 msgid "Emulating generic types" msgstr "" -#: reference/datamodel.rst:2613 +#: reference/datamodel.rst:2610 msgid "" "When using :term:`type annotations`, it is often useful to " "*parameterize* a :term:`generic type` using Python's square-brackets " @@ -3010,65 +3009,65 @@ msgid "" "a :class:`list` in which all the elements are of type :class:`int`." msgstr "" -#: reference/datamodel.rst:2621 +#: reference/datamodel.rst:2617 msgid ":pep:`484` - Type Hints" msgstr "" -#: reference/datamodel.rst:2621 +#: reference/datamodel.rst:2618 msgid "Introducing Python's framework for type annotations" msgstr "" -#: reference/datamodel.rst:2624 +#: reference/datamodel.rst:2620 msgid ":ref:`Generic Alias Types`" msgstr "" -#: reference/datamodel.rst:2624 +#: reference/datamodel.rst:2621 msgid "Documentation for objects representing parameterized generic classes" msgstr "" -#: reference/datamodel.rst:2627 +#: reference/datamodel.rst:2623 msgid "" ":ref:`Generics`, :ref:`user-defined generics` and :" "class:`typing.Generic`" msgstr "" -#: reference/datamodel.rst:2627 +#: reference/datamodel.rst:2624 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." msgstr "" -#: reference/datamodel.rst:2630 +#: reference/datamodel.rst:2627 msgid "" "A class can *generally* only be parameterized if it defines the special " "class method ``__class_getitem__()``." msgstr "" -#: reference/datamodel.rst:2635 +#: reference/datamodel.rst:2632 msgid "" "Return an object representing the specialization of a generic class by type " "arguments found in *key*." msgstr "" -#: reference/datamodel.rst:2638 +#: reference/datamodel.rst:2635 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:2644 +#: reference/datamodel.rst:2641 msgid "The purpose of *__class_getitem__*" msgstr "" -#: reference/datamodel.rst:2646 +#: reference/datamodel.rst:2643 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:2650 +#: reference/datamodel.rst:2647 msgid "" "To implement custom generic classes that can be parameterized at runtime and " "understood by static type-checkers, users should either inherit from a " @@ -3077,7 +3076,7 @@ msgid "" "own implementation of ``__class_getitem__()``." msgstr "" -#: reference/datamodel.rst:2656 +#: reference/datamodel.rst:2653 msgid "" "Custom implementations of :meth:`~object.__class_getitem__` on classes " "defined outside of the standard library may not be understood by third-party " @@ -3085,11 +3084,11 @@ msgid "" "purposes other than type hinting is discouraged." msgstr "" -#: reference/datamodel.rst:2666 +#: reference/datamodel.rst:2663 msgid "*__class_getitem__* versus *__getitem__*" msgstr "" -#: reference/datamodel.rst:2668 +#: reference/datamodel.rst:2665 msgid "" "Usually, the :ref:`subscription` of an object using square " "brackets will call the :meth:`~object.__getitem__` instance method defined " @@ -3099,14 +3098,14 @@ msgid "" "genericalias>` object if it is properly defined." msgstr "" -#: reference/datamodel.rst:2675 +#: reference/datamodel.rst:2672 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:2703 +#: reference/datamodel.rst:2700 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 " @@ -3116,40 +3115,40 @@ msgid "" "__class_getitem__` being called::" msgstr "" -#: reference/datamodel.rst:2722 +#: reference/datamodel.rst:2719 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:2747 +#: reference/datamodel.rst:2742 msgid ":pep:`560` - Core Support for typing module and generic types" msgstr "" -#: reference/datamodel.rst:2746 +#: reference/datamodel.rst:2743 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:2754 +#: reference/datamodel.rst:2751 msgid "Emulating callable objects" msgstr "" -#: reference/datamodel.rst:2761 +#: reference/datamodel.rst:2758 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:2768 +#: reference/datamodel.rst:2765 msgid "Emulating container types" msgstr "" -#: reference/datamodel.rst:2770 +#: reference/datamodel.rst:2767 msgid "" "The following methods can be defined to implement container objects. " "Containers usually are :term:`sequences ` (such as :class:`lists " @@ -3185,7 +3184,7 @@ msgid "" "should iterate through the values." msgstr "" -#: reference/datamodel.rst:2811 +#: reference/datamodel.rst:2808 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 " @@ -3193,7 +3192,7 @@ msgid "" "returns zero is considered to be false in a Boolean context." msgstr "" -#: reference/datamodel.rst:2818 +#: reference/datamodel.rst:2815 msgid "" "In CPython, the length is required to be at most :data:`sys.maxsize`. If the " "length is larger than :data:`!sys.maxsize` some features (such as :func:" @@ -3202,7 +3201,7 @@ msgid "" "`~object.__bool__` method." msgstr "" -#: reference/datamodel.rst:2827 +#: reference/datamodel.rst:2824 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). " @@ -3212,20 +3211,20 @@ msgid "" "never required for correctness." msgstr "" -#: reference/datamodel.rst:2841 +#: reference/datamodel.rst:2838 msgid "" "Slicing is done exclusively with the following three methods. A call like ::" msgstr "" -#: reference/datamodel.rst:2845 +#: reference/datamodel.rst:2842 msgid "is translated to ::" msgstr "" -#: reference/datamodel.rst:2849 +#: reference/datamodel.rst:2846 msgid "and so forth. Missing slice items are always filled in with ``None``." msgstr "" -#: reference/datamodel.rst:2854 +#: reference/datamodel.rst:2851 msgid "" "Called to implement evaluation of ``self[key]``. For :term:`sequence` types, " "the accepted keys should be integers. Optionally, they may support :class:" @@ -3237,20 +3236,20 @@ msgid "" "`KeyError` should be raised." msgstr "" -#: reference/datamodel.rst:2866 +#: reference/datamodel.rst:2863 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:2871 +#: reference/datamodel.rst:2868 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:2879 +#: reference/datamodel.rst:2876 msgid "" "Called to implement assignment to ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -3259,7 +3258,7 @@ msgid "" "for improper *key* values as for the :meth:`__getitem__` method." msgstr "" -#: reference/datamodel.rst:2888 +#: reference/datamodel.rst:2885 msgid "" "Called to implement deletion of ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -3268,13 +3267,13 @@ msgid "" "values as for the :meth:`__getitem__` method." msgstr "" -#: reference/datamodel.rst:2897 +#: reference/datamodel.rst:2894 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:2903 +#: reference/datamodel.rst:2900 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 " @@ -3282,14 +3281,14 @@ msgid "" "of the container." msgstr "" -#: reference/datamodel.rst:2911 +#: reference/datamodel.rst:2908 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:2915 +#: reference/datamodel.rst:2912 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 :" @@ -3298,7 +3297,7 @@ msgid "" "more efficient than the one provided by :func:`reversed`." msgstr "" -#: reference/datamodel.rst:2922 +#: reference/datamodel.rst:2919 msgid "" "The membership test operators (:keyword:`in` and :keyword:`not in`) are " "normally implemented as an iteration through a container. However, container " @@ -3306,14 +3305,14 @@ msgid "" "implementation, which also does not require the object be iterable." msgstr "" -#: reference/datamodel.rst:2929 +#: reference/datamodel.rst:2926 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:2933 +#: reference/datamodel.rst:2930 msgid "" "For objects that don't define :meth:`__contains__`, the membership test " "first tries iteration via :meth:`__iter__`, then the old sequence iteration " @@ -3321,11 +3320,11 @@ msgid "" "reference `." msgstr "" -#: reference/datamodel.rst:2942 +#: reference/datamodel.rst:2939 msgid "Emulating numeric types" msgstr "" -#: reference/datamodel.rst:2944 +#: reference/datamodel.rst:2941 msgid "" "The following methods can be defined to emulate numeric objects. Methods " "corresponding to operations that are not supported by the particular kind of " @@ -3333,7 +3332,7 @@ msgid "" "should be left undefined." msgstr "" -#: reference/datamodel.rst:2970 +#: reference/datamodel.rst:2967 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:" @@ -3347,13 +3346,13 @@ msgid "" "function is to be supported." msgstr "" -#: reference/datamodel.rst:2981 +#: reference/datamodel.rst:2978 msgid "" "If one of those methods does not support the operation with the supplied " "arguments, it should return :data:`NotImplemented`." msgstr "" -#: reference/datamodel.rst:3004 +#: reference/datamodel.rst:3001 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:" @@ -3366,13 +3365,13 @@ msgid "" "`NotImplemented`." msgstr "" -#: reference/datamodel.rst:3016 +#: reference/datamodel.rst:3013 msgid "" "Note that ternary :func:`pow` will not try calling :meth:`__rpow__` (the " "coercion rules would become too complicated)." msgstr "" -#: reference/datamodel.rst:3021 +#: reference/datamodel.rst:3018 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 " @@ -3381,7 +3380,7 @@ msgid "" "ancestors' operations." msgstr "" -#: reference/datamodel.rst:3042 +#: reference/datamodel.rst:3039 msgid "" "These methods are called to implement the augmented arithmetic assignments " "(``+=``, ``-=``, ``*=``, ``@=``, ``/=``, ``//=``, ``%=``, ``**=``, ``<<=``, " @@ -3399,19 +3398,19 @@ msgid "" "data model." msgstr "" -#: reference/datamodel.rst:3065 +#: reference/datamodel.rst:3062 msgid "" "Called to implement the unary arithmetic operations (``-``, ``+``, :func:" "`abs` and ``~``)." msgstr "" -#: reference/datamodel.rst:3078 +#: reference/datamodel.rst:3075 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:3085 +#: reference/datamodel.rst:3082 msgid "" "Called to implement :func:`operator.index`, and whenever Python needs to " "losslessly convert the numeric object to an integer object (such as in " @@ -3420,14 +3419,14 @@ msgid "" "integer type. Must return an integer." msgstr "" -#: reference/datamodel.rst:3091 +#: reference/datamodel.rst:3088 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:3103 +#: reference/datamodel.rst:3100 msgid "" "Called to implement the built-in function :func:`round` and :mod:`math` " "functions :func:`~math.trunc`, :func:`~math.floor` and :func:`~math.ceil`. " @@ -3436,21 +3435,21 @@ msgid "" "(typically an :class:`int`)." msgstr "" -#: reference/datamodel.rst:3109 +#: reference/datamodel.rst:3106 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:3112 +#: reference/datamodel.rst:3109 msgid "The delegation of :func:`int` to :meth:`__trunc__` is deprecated." msgstr "" -#: reference/datamodel.rst:3119 +#: reference/datamodel.rst:3116 msgid "With Statement Context Managers" msgstr "" -#: reference/datamodel.rst:3121 +#: reference/datamodel.rst:3118 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 " @@ -3460,32 +3459,32 @@ msgid "" "can also be used by directly invoking their methods." msgstr "" -#: reference/datamodel.rst:3132 +#: reference/datamodel.rst:3129 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:3135 +#: reference/datamodel.rst:3132 msgid "" "For more information on context managers, see :ref:`typecontextmanager`." msgstr "" -#: reference/datamodel.rst:3140 +#: reference/datamodel.rst:3137 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:3147 +#: reference/datamodel.rst:3144 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:3151 +#: reference/datamodel.rst:3148 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. " @@ -3493,27 +3492,27 @@ msgid "" "method." msgstr "" -#: reference/datamodel.rst:3155 +#: reference/datamodel.rst:3152 msgid "" "Note that :meth:`~object.__exit__` methods should not reraise the passed-in " "exception; this is the caller's responsibility." msgstr "" -#: reference/datamodel.rst:3162 +#: reference/datamodel.rst:3158 msgid ":pep:`343` - The \"with\" statement" msgstr "" -#: reference/datamodel.rst:3162 +#: reference/datamodel.rst:3159 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." msgstr "" -#: reference/datamodel.rst:3169 +#: reference/datamodel.rst:3166 msgid "Customizing positional arguments in class pattern matching" msgstr "" -#: reference/datamodel.rst:3171 +#: reference/datamodel.rst:3168 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 " @@ -3521,7 +3520,7 @@ msgid "" "pattern, the class needs to define a *__match_args__* attribute." msgstr "" -#: reference/datamodel.rst:3178 +#: reference/datamodel.rst:3175 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 " @@ -3530,7 +3529,7 @@ msgid "" "to setting it to ``()``." msgstr "" -#: reference/datamodel.rst:3184 +#: reference/datamodel.rst:3181 msgid "" "For example, if ``MyClass.__match_args__`` is ``(\"left\", \"center\", " "\"right\")`` that means that ``case MyClass(x, y)`` is equivalent to ``case " @@ -3540,19 +3539,19 @@ msgid "" "exc:`TypeError`." msgstr "" -#: reference/datamodel.rst:3194 +#: reference/datamodel.rst:3191 msgid ":pep:`634` - Structural Pattern Matching" msgstr "" -#: reference/datamodel.rst:3195 +#: reference/datamodel.rst:3192 msgid "The specification for the Python ``match`` statement." msgstr "" -#: reference/datamodel.rst:3201 +#: reference/datamodel.rst:3198 msgid "Emulating buffer types" msgstr "" -#: reference/datamodel.rst:3203 +#: reference/datamodel.rst:3200 msgid "" "The :ref:`buffer protocol ` provides a way for Python objects " "to expose efficient access to a low-level memory array. This protocol is " @@ -3560,13 +3559,13 @@ msgid "" "and third-party libraries may define additional buffer types." msgstr "" -#: reference/datamodel.rst:3208 +#: reference/datamodel.rst:3205 msgid "" "While buffer types are usually implemented in C, it is also possible to " "implement the protocol in Python." msgstr "" -#: reference/datamodel.rst:3213 +#: reference/datamodel.rst:3210 msgid "" "Called when a buffer is requested from *self* (for example, by the :class:" "`memoryview` constructor). The *flags* argument is an integer representing " @@ -3576,7 +3575,7 @@ msgid "" "`memoryview` object." msgstr "" -#: reference/datamodel.rst:3222 +#: reference/datamodel.rst:3219 msgid "" "Called when a buffer is no longer needed. The *buffer* argument is a :class:" "`memoryview` object that was previously returned by :meth:`~object." @@ -3585,28 +3584,28 @@ msgid "" "to perform any cleanup are not required to implement this method." msgstr "" -#: reference/datamodel.rst:3234 +#: reference/datamodel.rst:3230 msgid ":pep:`688` - Making the buffer protocol accessible in Python" msgstr "" -#: reference/datamodel.rst:3234 +#: reference/datamodel.rst:3231 msgid "" "Introduces the Python ``__buffer__`` and ``__release_buffer__`` methods." msgstr "" -#: reference/datamodel.rst:3236 +#: reference/datamodel.rst:3233 msgid ":class:`collections.abc.Buffer`" msgstr "" -#: reference/datamodel.rst:3237 +#: reference/datamodel.rst:3234 msgid "ABC for buffer types." msgstr "" -#: reference/datamodel.rst:3242 +#: reference/datamodel.rst:3239 msgid "Special method lookup" msgstr "" -#: reference/datamodel.rst:3244 +#: reference/datamodel.rst:3241 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 " @@ -3614,7 +3613,7 @@ msgid "" "following code raises an exception::" msgstr "" -#: reference/datamodel.rst:3259 +#: reference/datamodel.rst:3256 msgid "" "The rationale behind this behaviour lies with a number of special methods " "such as :meth:`~object.__hash__` and :meth:`~object.__repr__` that are " @@ -3623,21 +3622,21 @@ msgid "" "invoked on the type object itself::" msgstr "" -#: reference/datamodel.rst:3273 +#: reference/datamodel.rst:3270 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:3282 +#: reference/datamodel.rst:3279 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:3308 +#: reference/datamodel.rst:3305 msgid "" "Bypassing the :meth:`~object.__getattribute__` machinery in this fashion " "provides significant scope for speed optimisations within the interpreter, " @@ -3646,36 +3645,36 @@ msgid "" "consistently invoked by the interpreter)." msgstr "" -#: reference/datamodel.rst:3319 +#: reference/datamodel.rst:3316 msgid "Coroutines" msgstr "" -#: reference/datamodel.rst:3323 +#: reference/datamodel.rst:3320 msgid "Awaitable Objects" msgstr "" -#: reference/datamodel.rst:3325 +#: reference/datamodel.rst:3322 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:3331 +#: reference/datamodel.rst:3328 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:3337 +#: reference/datamodel.rst:3334 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:3343 +#: reference/datamodel.rst:3340 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 " @@ -3683,15 +3682,15 @@ msgid "" "g. :mod:`asyncio`) that will be managing the :term:`awaitable` object." msgstr "" -#: reference/datamodel.rst:3351 +#: reference/datamodel.rst:3348 msgid ":pep:`492` for additional information about awaitable objects." msgstr "" -#: reference/datamodel.rst:3357 +#: reference/datamodel.rst:3354 msgid "Coroutine Objects" msgstr "" -#: reference/datamodel.rst:3359 +#: reference/datamodel.rst:3356 msgid "" ":term:`Coroutine objects ` are :term:`awaitable` objects. A " "coroutine's execution can be controlled by calling :meth:`~object.__await__` " @@ -3702,18 +3701,18 @@ msgid "" "should not directly raise unhandled :exc:`StopIteration` exceptions." msgstr "" -#: reference/datamodel.rst:3367 +#: reference/datamodel.rst:3364 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:3371 +#: reference/datamodel.rst:3368 msgid "It is a :exc:`RuntimeError` to await on a coroutine more than once." msgstr "" -#: reference/datamodel.rst:3377 +#: reference/datamodel.rst:3374 msgid "" "Starts or resumes execution of the coroutine. If *value* is ``None``, this " "is equivalent to advancing the iterator returned by :meth:`~object." @@ -3724,7 +3723,7 @@ msgid "" "value, described above." msgstr "" -#: reference/datamodel.rst:3388 +#: reference/datamodel.rst:3385 msgid "" "Raises the specified exception in the coroutine. This method delegates to " "the :meth:`~generator.throw` method of the iterator that caused the " @@ -3735,13 +3734,13 @@ msgid "" "not caught in the coroutine, it propagates back to the caller." msgstr "" -#: reference/datamodel.rst:3399 +#: reference/datamodel.rst:3396 msgid "" "The second signature \\(type\\[, value\\[, traceback\\]\\]\\) is deprecated " "and may be removed in a future version of Python." msgstr "" -#: reference/datamodel.rst:3404 +#: reference/datamodel.rst:3401 msgid "" "Causes the coroutine to clean itself up and exit. If the coroutine is " "suspended, this method first delegates to the :meth:`~generator.close` " @@ -3751,99 +3750,99 @@ msgid "" "is marked as having finished executing, even if it was never started." msgstr "" -#: reference/datamodel.rst:3412 +#: reference/datamodel.rst:3409 msgid "" "Coroutine objects are automatically closed using the above process when they " "are about to be destroyed." msgstr "" -#: reference/datamodel.rst:3418 +#: reference/datamodel.rst:3415 msgid "Asynchronous Iterators" msgstr "" -#: reference/datamodel.rst:3420 +#: reference/datamodel.rst:3417 msgid "" "An *asynchronous iterator* can call asynchronous code in its ``__anext__`` " "method." msgstr "" -#: reference/datamodel.rst:3423 +#: reference/datamodel.rst:3420 msgid "" "Asynchronous iterators can be used in an :keyword:`async for` statement." msgstr "" -#: reference/datamodel.rst:3427 +#: reference/datamodel.rst:3424 msgid "Must return an *asynchronous iterator* object." msgstr "" -#: reference/datamodel.rst:3431 +#: reference/datamodel.rst:3428 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:3434 +#: reference/datamodel.rst:3431 msgid "An example of an asynchronous iterable object::" msgstr "" -#: reference/datamodel.rst:3451 +#: reference/datamodel.rst:3448 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:3456 +#: reference/datamodel.rst:3453 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:3464 +#: reference/datamodel.rst:3461 msgid "Asynchronous Context Managers" msgstr "" -#: reference/datamodel.rst:3466 +#: reference/datamodel.rst:3463 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:3469 +#: reference/datamodel.rst:3466 msgid "" "Asynchronous context managers can be used in an :keyword:`async with` " "statement." msgstr "" -#: reference/datamodel.rst:3473 +#: reference/datamodel.rst:3470 msgid "" "Semantically similar to :meth:`~object.__enter__`, the only difference being " "that it must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3478 +#: reference/datamodel.rst:3475 msgid "" "Semantically similar to :meth:`~object.__exit__`, the only difference being " "that it must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3481 +#: reference/datamodel.rst:3478 msgid "An example of an asynchronous context manager class::" msgstr "" -#: reference/datamodel.rst:3494 +#: reference/datamodel.rst:3491 msgid "Footnotes" msgstr "" -#: reference/datamodel.rst:3495 +#: reference/datamodel.rst:3492 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:3499 +#: reference/datamodel.rst:3496 msgid "" "The :meth:`~object.__hash__`, :meth:`~object.__iter__`, :meth:`~object." "__reversed__`, and :meth:`~object.__contains__` methods have special " @@ -3851,7 +3850,7 @@ msgid "" "by relying on the behavior that ``None`` is not callable." msgstr "" -#: reference/datamodel.rst:3505 +#: reference/datamodel.rst:3502 msgid "" "\"Does not support\" here means that the class has no such method, or the " "method returns :data:`NotImplemented`. Do not set the method to ``None`` if " @@ -3859,7 +3858,7 @@ msgid "" "instead have the opposite effect of explicitly *blocking* such fallback." msgstr "" -#: reference/datamodel.rst:3511 +#: reference/datamodel.rst:3508 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 " @@ -3872,9 +3871,9 @@ msgstr "" #: reference/datamodel.rst:405 reference/datamodel.rst:443 #: reference/datamodel.rst:462 reference/datamodel.rst:515 #: reference/datamodel.rst:657 reference/datamodel.rst:826 -#: reference/datamodel.rst:941 reference/datamodel.rst:1037 -#: reference/datamodel.rst:1203 reference/datamodel.rst:1410 -#: reference/datamodel.rst:2837 +#: reference/datamodel.rst:938 reference/datamodel.rst:1034 +#: reference/datamodel.rst:1200 reference/datamodel.rst:1407 +#: reference/datamodel.rst:2834 msgid "object" msgstr "" @@ -3883,10 +3882,10 @@ msgid "data" msgstr "" #: reference/datamodel.rst:292 reference/datamodel.rst:423 -#: reference/datamodel.rst:802 reference/datamodel.rst:1493 -#: reference/datamodel.rst:1738 reference/datamodel.rst:2378 -#: reference/datamodel.rst:2965 reference/datamodel.rst:3014 -#: reference/datamodel.rst:3073 reference/datamodel.rst:3101 +#: reference/datamodel.rst:802 reference/datamodel.rst:1490 +#: reference/datamodel.rst:1735 reference/datamodel.rst:2375 +#: reference/datamodel.rst:2962 reference/datamodel.rst:3011 +#: reference/datamodel.rst:3070 reference/datamodel.rst:3098 msgid "built-in function" msgstr "" @@ -3894,7 +3893,7 @@ msgstr "" msgid "id" msgstr "" -#: reference/datamodel.rst:122 reference/datamodel.rst:2378 +#: reference/datamodel.rst:122 reference/datamodel.rst:2375 msgid "type" msgstr "" @@ -3930,7 +3929,7 @@ msgstr "" msgid "unreachable object" msgstr "" -#: reference/datamodel.rst:941 +#: reference/datamodel.rst:938 msgid "container" msgstr "" @@ -3943,7 +3942,7 @@ msgid "extension" msgstr "" #: reference/datamodel.rst:396 reference/datamodel.rst:498 -#: reference/datamodel.rst:879 reference/datamodel.rst:1056 +#: reference/datamodel.rst:879 reference/datamodel.rst:1053 msgid "module" msgstr "" @@ -3955,8 +3954,8 @@ msgstr "" msgid "language" msgstr "" -#: reference/datamodel.rst:941 reference/datamodel.rst:1010 -#: reference/datamodel.rst:1030 +#: reference/datamodel.rst:938 reference/datamodel.rst:1007 +#: reference/datamodel.rst:1027 msgid "attribute" msgstr "" @@ -3976,7 +3975,7 @@ msgstr "" msgid "ellipsis literal" msgstr "" -#: reference/datamodel.rst:1037 +#: reference/datamodel.rst:1034 msgid "numeric" msgstr "" @@ -4012,15 +4011,15 @@ msgstr "" msgid "Java" msgstr "" -#: reference/datamodel.rst:3073 +#: reference/datamodel.rst:3070 msgid "complex" msgstr "" -#: reference/datamodel.rst:423 reference/datamodel.rst:2807 +#: reference/datamodel.rst:423 reference/datamodel.rst:2804 msgid "len" msgstr "" -#: reference/datamodel.rst:1037 +#: reference/datamodel.rst:1034 msgid "sequence" msgstr "" @@ -4048,7 +4047,7 @@ msgstr "" msgid "immutable" msgstr "" -#: reference/datamodel.rst:1708 reference/datamodel.rst:1738 +#: reference/datamodel.rst:1705 reference/datamodel.rst:1735 msgid "string" msgstr "" @@ -4084,7 +4083,7 @@ msgstr "" msgid "empty" msgstr "" -#: reference/datamodel.rst:1733 +#: reference/datamodel.rst:1730 msgid "bytes" msgstr "" @@ -4100,12 +4099,12 @@ msgstr "" msgid "mutable" msgstr "" -#: reference/datamodel.rst:959 reference/datamodel.rst:1030 +#: reference/datamodel.rst:956 reference/datamodel.rst:1027 msgid "assignment" msgstr "" -#: reference/datamodel.rst:859 reference/datamodel.rst:1629 -#: reference/datamodel.rst:3128 +#: reference/datamodel.rst:859 reference/datamodel.rst:1626 +#: reference/datamodel.rst:3125 msgid "statement" msgstr "" @@ -4137,11 +4136,11 @@ msgstr "" msgid "frozenset" msgstr "" -#: reference/datamodel.rst:1037 +#: reference/datamodel.rst:1034 msgid "mapping" msgstr "" -#: reference/datamodel.rst:941 reference/datamodel.rst:1822 +#: reference/datamodel.rst:938 reference/datamodel.rst:1819 msgid "dictionary" msgstr "" @@ -4162,7 +4161,7 @@ msgstr "" msgid "function" msgstr "" -#: reference/datamodel.rst:941 reference/datamodel.rst:2759 +#: reference/datamodel.rst:938 reference/datamodel.rst:2756 msgid "call" msgstr "" @@ -4262,7 +4261,7 @@ msgstr "" msgid "__module__ (method attribute)" msgstr "" -#: reference/datamodel.rst:1203 +#: reference/datamodel.rst:1200 msgid "generator" msgstr "" @@ -4270,7 +4269,7 @@ msgstr "" msgid "iterator" msgstr "" -#: reference/datamodel.rst:3315 +#: reference/datamodel.rst:3312 msgid "coroutine" msgstr "" @@ -4314,475 +4313,475 @@ msgstr "" msgid "__dict__ (module attribute)" msgstr "" -#: reference/datamodel.rst:959 reference/datamodel.rst:1612 -#: reference/datamodel.rst:2489 +#: reference/datamodel.rst:956 reference/datamodel.rst:1609 +#: reference/datamodel.rst:2486 msgid "class" msgstr "" -#: reference/datamodel.rst:1010 reference/datamodel.rst:1030 +#: reference/datamodel.rst:1007 reference/datamodel.rst:1027 msgid "class instance" msgstr "" -#: reference/datamodel.rst:1010 reference/datamodel.rst:2759 +#: reference/datamodel.rst:1007 reference/datamodel.rst:2756 msgid "instance" msgstr "" -#: reference/datamodel.rst:964 +#: reference/datamodel.rst:961 msgid "class object" msgstr "" -#: reference/datamodel.rst:968 +#: reference/datamodel.rst:965 msgid "__name__ (class attribute)" msgstr "" -#: reference/datamodel.rst:968 +#: reference/datamodel.rst:965 msgid "__module__ (class attribute)" msgstr "" -#: reference/datamodel.rst:968 +#: reference/datamodel.rst:965 msgid "__dict__ (class attribute)" msgstr "" -#: reference/datamodel.rst:968 +#: reference/datamodel.rst:965 msgid "__bases__ (class attribute)" msgstr "" -#: reference/datamodel.rst:968 +#: reference/datamodel.rst:965 msgid "__doc__ (class attribute)" msgstr "" -#: reference/datamodel.rst:968 +#: reference/datamodel.rst:965 msgid "__annotations__ (class attribute)" msgstr "" -#: reference/datamodel.rst:968 +#: reference/datamodel.rst:965 msgid "__type_params__ (class attribute)" msgstr "" -#: reference/datamodel.rst:1045 +#: reference/datamodel.rst:1042 msgid "__dict__ (instance attribute)" msgstr "" -#: reference/datamodel.rst:1045 +#: reference/datamodel.rst:1042 msgid "__class__ (instance attribute)" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "open" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "io" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "popen() (in module os)" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "makefile() (socket method)" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "sys.stdin" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "sys.stdout" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "sys.stderr" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "stdio" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "stdin (in module sys)" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "stdout (in module sys)" msgstr "" -#: reference/datamodel.rst:1056 +#: reference/datamodel.rst:1053 msgid "stderr (in module sys)" msgstr "" -#: reference/datamodel.rst:1085 +#: reference/datamodel.rst:1082 msgid "internal type" msgstr "" -#: reference/datamodel.rst:1085 +#: reference/datamodel.rst:1082 msgid "types, internal" msgstr "" -#: reference/datamodel.rst:1099 +#: reference/datamodel.rst:1096 msgid "bytecode" msgstr "" -#: reference/datamodel.rst:1099 +#: reference/datamodel.rst:1096 msgid "code" msgstr "" -#: reference/datamodel.rst:1099 +#: reference/datamodel.rst:1096 msgid "code object" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_argcount (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_posonlyargcount (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_kwonlyargcount (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_code (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_consts (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_filename (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_firstlineno (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_flags (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_lnotab (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_name (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_names (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_nlocals (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_stacksize (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_varnames (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_cellvars (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_freevars (code object attribute)" msgstr "" -#: reference/datamodel.rst:1110 +#: reference/datamodel.rst:1107 msgid "co_qualname (code object attribute)" msgstr "" -#: reference/datamodel.rst:1221 +#: reference/datamodel.rst:1218 msgid "documentation string" msgstr "" -#: reference/datamodel.rst:1310 +#: reference/datamodel.rst:1307 msgid "frame" msgstr "" -#: reference/datamodel.rst:1316 +#: reference/datamodel.rst:1313 msgid "f_back (frame attribute)" msgstr "" -#: reference/datamodel.rst:1316 +#: reference/datamodel.rst:1313 msgid "f_code (frame attribute)" msgstr "" -#: reference/datamodel.rst:1316 +#: reference/datamodel.rst:1313 msgid "f_globals (frame attribute)" msgstr "" -#: reference/datamodel.rst:1316 +#: reference/datamodel.rst:1313 msgid "f_locals (frame attribute)" msgstr "" -#: reference/datamodel.rst:1316 +#: reference/datamodel.rst:1313 msgid "f_lasti (frame attribute)" msgstr "" -#: reference/datamodel.rst:1316 +#: reference/datamodel.rst:1313 msgid "f_builtins (frame attribute)" msgstr "" -#: reference/datamodel.rst:1355 +#: reference/datamodel.rst:1352 msgid "f_trace (frame attribute)" msgstr "" -#: reference/datamodel.rst:1355 +#: reference/datamodel.rst:1352 msgid "f_trace_lines (frame attribute)" msgstr "" -#: reference/datamodel.rst:1355 +#: reference/datamodel.rst:1352 msgid "f_trace_opcodes (frame attribute)" msgstr "" -#: reference/datamodel.rst:1355 +#: reference/datamodel.rst:1352 msgid "f_lineno (frame attribute)" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "traceback" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "stack" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "trace" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "exception" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "handler" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "execution" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "exc_info (in module sys)" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "last_traceback (in module sys)" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "sys.exc_info" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "sys.exception" msgstr "" -#: reference/datamodel.rst:1410 +#: reference/datamodel.rst:1407 msgid "sys.last_traceback" msgstr "" -#: reference/datamodel.rst:1447 +#: reference/datamodel.rst:1444 msgid "tb_frame (traceback attribute)" msgstr "" -#: reference/datamodel.rst:1447 +#: reference/datamodel.rst:1444 msgid "tb_lineno (traceback attribute)" msgstr "" -#: reference/datamodel.rst:1447 +#: reference/datamodel.rst:1444 msgid "tb_lasti (traceback attribute)" msgstr "" -#: reference/datamodel.rst:1447 +#: reference/datamodel.rst:1444 msgid "try" msgstr "" -#: reference/datamodel.rst:1477 +#: reference/datamodel.rst:1474 msgid "tb_next (traceback attribute)" msgstr "" -#: reference/datamodel.rst:2837 +#: reference/datamodel.rst:2834 msgid "slice" msgstr "" -#: reference/datamodel.rst:1499 +#: reference/datamodel.rst:1496 msgid "start (slice object attribute)" msgstr "" -#: reference/datamodel.rst:1499 +#: reference/datamodel.rst:1496 msgid "stop (slice object attribute)" msgstr "" -#: reference/datamodel.rst:1499 +#: reference/datamodel.rst:1496 msgid "step (slice object attribute)" msgstr "" -#: reference/datamodel.rst:1547 +#: reference/datamodel.rst:1544 msgid "operator" msgstr "" -#: reference/datamodel.rst:1547 +#: reference/datamodel.rst:1544 msgid "overloading" msgstr "" -#: reference/datamodel.rst:1547 +#: reference/datamodel.rst:1544 msgid "__getitem__() (mapping object method)" msgstr "" -#: reference/datamodel.rst:1583 +#: reference/datamodel.rst:1580 msgid "subclassing" msgstr "" -#: reference/datamodel.rst:1583 +#: reference/datamodel.rst:1580 msgid "immutable types" msgstr "" -#: reference/datamodel.rst:1612 +#: reference/datamodel.rst:1609 msgid "constructor" msgstr "" -#: reference/datamodel.rst:1629 +#: reference/datamodel.rst:1626 msgid "destructor" msgstr "" -#: reference/datamodel.rst:1629 +#: reference/datamodel.rst:1626 msgid "finalizer" msgstr "" -#: reference/datamodel.rst:1629 +#: reference/datamodel.rst:1626 msgid "del" msgstr "" -#: reference/datamodel.rst:1691 +#: reference/datamodel.rst:1688 msgid "repr() (built-in function)" msgstr "" -#: reference/datamodel.rst:1691 +#: reference/datamodel.rst:1688 msgid "__repr__() (object method)" msgstr "" -#: reference/datamodel.rst:1708 +#: reference/datamodel.rst:1705 msgid "__str__() (object method)" msgstr "" -#: reference/datamodel.rst:1708 +#: reference/datamodel.rst:1705 msgid "format() (built-in function)" msgstr "" -#: reference/datamodel.rst:1708 +#: reference/datamodel.rst:1705 msgid "print() (built-in function)" msgstr "" -#: reference/datamodel.rst:1738 +#: reference/datamodel.rst:1735 msgid "__format__() (object method)" msgstr "" -#: reference/datamodel.rst:1738 +#: reference/datamodel.rst:1735 msgid "conversion" msgstr "" -#: reference/datamodel.rst:1738 +#: reference/datamodel.rst:1735 msgid "print" msgstr "" -#: reference/datamodel.rst:1777 +#: reference/datamodel.rst:1774 msgid "comparisons" msgstr "" -#: reference/datamodel.rst:1822 +#: reference/datamodel.rst:1819 msgid "hash" msgstr "" -#: reference/datamodel.rst:1903 +#: reference/datamodel.rst:1900 msgid "__len__() (mapping object method)" msgstr "" -#: reference/datamodel.rst:2007 +#: reference/datamodel.rst:2004 msgid "__getattr__ (module attribute)" msgstr "" -#: reference/datamodel.rst:2007 +#: reference/datamodel.rst:2004 msgid "__dir__ (module attribute)" msgstr "" -#: reference/datamodel.rst:2007 +#: reference/datamodel.rst:2004 msgid "__class__ (module attribute)" msgstr "" -#: reference/datamodel.rst:2378 +#: reference/datamodel.rst:2375 msgid "metaclass" msgstr "" -#: reference/datamodel.rst:2378 +#: reference/datamodel.rst:2375 msgid "= (equals)" msgstr "" -#: reference/datamodel.rst:2378 +#: reference/datamodel.rst:2375 msgid "class definition" msgstr "" -#: reference/datamodel.rst:2442 +#: reference/datamodel.rst:2439 msgid "metaclass hint" msgstr "" -#: reference/datamodel.rst:2465 +#: reference/datamodel.rst:2462 msgid "__prepare__ (metaclass method)" msgstr "" -#: reference/datamodel.rst:2489 +#: reference/datamodel.rst:2486 msgid "body" msgstr "" -#: reference/datamodel.rst:2509 +#: reference/datamodel.rst:2506 msgid "__class__ (method cell)" msgstr "" -#: reference/datamodel.rst:2509 +#: reference/datamodel.rst:2506 msgid "__classcell__ (class namespace entry)" msgstr "" -#: reference/datamodel.rst:2807 +#: reference/datamodel.rst:2804 msgid "__bool__() (object method)" msgstr "" -#: reference/datamodel.rst:3000 +#: reference/datamodel.rst:2997 msgid "divmod" msgstr "" -#: reference/datamodel.rst:3000 reference/datamodel.rst:3014 +#: reference/datamodel.rst:2997 reference/datamodel.rst:3011 msgid "pow" msgstr "" -#: reference/datamodel.rst:3063 +#: reference/datamodel.rst:3060 msgid "abs" msgstr "" -#: reference/datamodel.rst:3073 +#: reference/datamodel.rst:3070 msgid "int" msgstr "" -#: reference/datamodel.rst:3073 +#: reference/datamodel.rst:3070 msgid "float" msgstr "" -#: reference/datamodel.rst:3101 +#: reference/datamodel.rst:3098 msgid "round" msgstr "" -#: reference/datamodel.rst:3128 +#: reference/datamodel.rst:3125 msgid "with" msgstr "" -#: reference/datamodel.rst:3128 +#: reference/datamodel.rst:3125 msgid "context manager" msgstr "" diff --git a/reference/executionmodel.po b/reference/executionmodel.po index 3b5a86b70..47bacacdb 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -195,11 +195,12 @@ msgid "" "searching the global namespace, i.e. the namespace of the module containing " "the code block, and the builtins namespace, the namespace of the module :mod:" "`builtins`. The global namespace is searched first. If the names are not " -"found there, the builtins namespace is searched. The :keyword:`!global` " -"statement must precede all uses of the listed names." +"found there, the builtins namespace is searched next. If the names are also " +"not found in the builtins namespace, new variables are created in the global " +"namespace. The global statement must precede all uses of the listed names." msgstr "" -#: reference/executionmodel.rst:145 +#: reference/executionmodel.rst:146 msgid "" "The :keyword:`global` statement has the same scope as a name binding " "operation in the same block. If the nearest enclosing scope for a free " @@ -207,7 +208,7 @@ msgid "" "global." msgstr "" -#: reference/executionmodel.rst:151 +#: reference/executionmodel.rst:152 msgid "" "The :keyword:`nonlocal` statement causes corresponding names to refer to " "previously bound variables in the nearest enclosing function scope. :exc:" @@ -216,13 +217,13 @@ msgid "" "rebound with the :keyword:`!nonlocal` statement." msgstr "" -#: reference/executionmodel.rst:159 +#: reference/executionmodel.rst:160 msgid "" "The namespace for a module is automatically created the first time a module " "is imported. The main module for a script is always called :mod:`__main__`." msgstr "" -#: reference/executionmodel.rst:162 +#: reference/executionmodel.rst:163 msgid "" "Class definition blocks and arguments to :func:`exec` and :func:`eval` are " "special in the context of name resolution. A class definition is an " @@ -237,15 +238,15 @@ msgid "" "the following will fail::" msgstr "" -#: reference/executionmodel.rst:179 +#: reference/executionmodel.rst:180 msgid "However, the following will succeed::" msgstr "" -#: reference/executionmodel.rst:190 +#: reference/executionmodel.rst:191 msgid "Annotation scopes" msgstr "" -#: reference/executionmodel.rst:192 +#: reference/executionmodel.rst:193 msgid "" ":ref:`Type parameter lists ` and :keyword:`type` statements " "introduce *annotation scopes*, which behave mostly like function scopes, but " @@ -254,44 +255,44 @@ msgid "" "annotation scopes in Python 3.13 when :pep:`649` is implemented." msgstr "" -#: reference/executionmodel.rst:198 +#: reference/executionmodel.rst:199 msgid "Annotation scopes are used in the following contexts:" msgstr "" -#: reference/executionmodel.rst:200 +#: reference/executionmodel.rst:201 msgid "" "Type parameter lists for :ref:`generic type aliases `." msgstr "" -#: reference/executionmodel.rst:201 +#: reference/executionmodel.rst:202 msgid "" "Type parameter lists for :ref:`generic functions `. A " "generic function's annotations are executed within the annotation scope, but " "its defaults and decorators are not." msgstr "" -#: reference/executionmodel.rst:204 +#: reference/executionmodel.rst:205 msgid "" "Type parameter lists for :ref:`generic classes `. A generic " "class's base classes and keyword arguments are executed within the " "annotation scope, but its decorators are not." msgstr "" -#: reference/executionmodel.rst:207 +#: reference/executionmodel.rst:208 msgid "" "The bounds and constraints for type variables (:ref:`lazily evaluated `)." msgstr "" -#: reference/executionmodel.rst:209 +#: reference/executionmodel.rst:210 msgid "The value of type aliases (:ref:`lazily evaluated `)." msgstr "" -#: reference/executionmodel.rst:211 +#: reference/executionmodel.rst:212 msgid "Annotation scopes differ from function scopes in the following ways:" msgstr "" -#: reference/executionmodel.rst:213 +#: reference/executionmodel.rst:214 msgid "" "Annotation scopes have access to their enclosing class namespace. If an " "annotation scope is immediately within a class scope, or within another " @@ -302,7 +303,7 @@ msgid "" "class scope." msgstr "" -#: reference/executionmodel.rst:219 +#: reference/executionmodel.rst:220 msgid "" "Expressions in annotation scopes cannot contain :keyword:`yield`, ``yield " "from``, :keyword:`await`, or :token:`:= ` of objects defined within the " @@ -326,15 +327,15 @@ msgid "" "object were defined in the enclosing scope." msgstr "" -#: reference/executionmodel.rst:231 +#: reference/executionmodel.rst:232 msgid "Annotation scopes were introduced in Python 3.12 as part of :pep:`695`." msgstr "" -#: reference/executionmodel.rst:237 +#: reference/executionmodel.rst:238 msgid "Lazy evaluation" msgstr "" -#: reference/executionmodel.rst:239 +#: reference/executionmodel.rst:240 msgid "" "The values of type aliases created through the :keyword:`type` statement are " "*lazily evaluated*. The same applies to the bounds and constraints of type " @@ -344,35 +345,35 @@ msgid "" "resolve an attribute access." msgstr "" -#: reference/executionmodel.rst:246 +#: reference/executionmodel.rst:247 msgid "Example:" msgstr "" -#: reference/executionmodel.rst:262 +#: reference/executionmodel.rst:263 msgid "" "Here the exception is raised only when the ``__value__`` attribute of the " "type alias or the ``__bound__`` attribute of the type variable is accessed." msgstr "" -#: reference/executionmodel.rst:266 +#: reference/executionmodel.rst:267 msgid "" "This behavior is primarily useful for references to types that have not yet " "been defined when the type alias or type variable is created. For example, " "lazy evaluation enables creation of mutually recursive type aliases::" msgstr "" -#: reference/executionmodel.rst:276 +#: reference/executionmodel.rst:277 msgid "" "Lazily evaluated values are evaluated in :ref:`annotation scope `, which means that names that appear inside the lazily evaluated " "value are looked up as if they were used in the immediately enclosing scope." msgstr "" -#: reference/executionmodel.rst:285 +#: reference/executionmodel.rst:286 msgid "Builtins and restricted execution" msgstr "" -#: reference/executionmodel.rst:291 +#: reference/executionmodel.rst:292 msgid "" "Users should not touch ``__builtins__``; it is strictly an implementation " "detail. Users wanting to override values in the builtins namespace should :" @@ -380,7 +381,7 @@ msgid "" "appropriately." msgstr "" -#: reference/executionmodel.rst:296 +#: reference/executionmodel.rst:297 msgid "" "The builtins namespace associated with the execution of a code block is " "actually found by looking up the name ``__builtins__`` in its global " @@ -391,17 +392,17 @@ msgid "" "`builtins` module itself." msgstr "" -#: reference/executionmodel.rst:308 +#: reference/executionmodel.rst:309 msgid "Interaction with dynamic features" msgstr "" -#: reference/executionmodel.rst:310 +#: reference/executionmodel.rst:311 msgid "" "Name resolution of free variables occurs at runtime, not at compile time. " "This means that the following code will print 42::" msgstr "" -#: reference/executionmodel.rst:321 +#: reference/executionmodel.rst:322 msgid "" "The :func:`eval` and :func:`exec` functions do not have access to the full " "environment for resolving names. Names may be resolved in the local and " @@ -412,11 +413,11 @@ msgid "" "for both." msgstr "" -#: reference/executionmodel.rst:332 +#: reference/executionmodel.rst:333 msgid "Exceptions" msgstr "" -#: reference/executionmodel.rst:343 +#: reference/executionmodel.rst:344 msgid "" "Exceptions are a means of breaking out of the normal flow of control of a " "code block in order to handle errors or other exceptional conditions. An " @@ -425,7 +426,7 @@ msgid "" "or indirectly invoked the code block where the error occurred." msgstr "" -#: reference/executionmodel.rst:349 +#: reference/executionmodel.rst:350 msgid "" "The Python interpreter raises an exception when it detects a run-time error " "(such as division by zero). A Python program can also explicitly raise an " @@ -436,7 +437,7 @@ msgid "" "exception occurred or not in the preceding code." msgstr "" -#: reference/executionmodel.rst:359 +#: reference/executionmodel.rst:360 msgid "" "Python uses the \"termination\" model of error handling: an exception " "handler can find out what happened and continue execution at an outer level, " @@ -444,7 +445,7 @@ msgid "" "(except by re-entering the offending piece of code from the top)." msgstr "" -#: reference/executionmodel.rst:366 +#: reference/executionmodel.rst:367 msgid "" "When an exception is not handled at all, the interpreter terminates " "execution of the program, or returns to its interactive main loop. In " @@ -452,7 +453,7 @@ msgid "" "`SystemExit`." msgstr "" -#: reference/executionmodel.rst:370 +#: reference/executionmodel.rst:371 msgid "" "Exceptions are identified by class instances. The :keyword:`except` clause " "is selected depending on the class of the instance: it must reference the " @@ -461,7 +462,7 @@ msgid "" "additional information about the exceptional condition." msgstr "" -#: reference/executionmodel.rst:378 +#: reference/executionmodel.rst:379 msgid "" "Exception messages are not part of the Python API. Their contents may " "change from one version of Python to the next without warning and should not " @@ -469,17 +470,17 @@ msgid "" "interpreter." msgstr "" -#: reference/executionmodel.rst:382 +#: reference/executionmodel.rst:383 msgid "" "See also the description of the :keyword:`try` statement in section :ref:" "`try` and :keyword:`raise` statement in section :ref:`raise`." msgstr "" -#: reference/executionmodel.rst:387 +#: reference/executionmodel.rst:388 msgid "Footnotes" msgstr "" -#: reference/executionmodel.rst:388 +#: reference/executionmodel.rst:389 msgid "" "This limitation occurs because the code that is executed by these operations " "is not available at the time the module is compiled." @@ -497,7 +498,7 @@ msgstr "" msgid "block" msgstr "" -#: reference/executionmodel.rst:31 reference/executionmodel.rst:287 +#: reference/executionmodel.rst:31 reference/executionmodel.rst:288 msgid "execution" msgstr "" @@ -549,46 +550,46 @@ msgstr "" msgid "UnboundLocalError" msgstr "" -#: reference/executionmodel.rst:157 +#: reference/executionmodel.rst:158 msgid "module" msgstr "" -#: reference/executionmodel.rst:157 +#: reference/executionmodel.rst:158 msgid "__main__" msgstr "" -#: reference/executionmodel.rst:287 +#: reference/executionmodel.rst:288 msgid "restricted" msgstr "" -#: reference/executionmodel.rst:334 +#: reference/executionmodel.rst:335 msgid "exception" msgstr "" -#: reference/executionmodel.rst:336 +#: reference/executionmodel.rst:337 msgid "raise an exception" msgstr "" -#: reference/executionmodel.rst:336 +#: reference/executionmodel.rst:337 msgid "handle an exception" msgstr "" -#: reference/executionmodel.rst:336 +#: reference/executionmodel.rst:337 msgid "exception handler" msgstr "" -#: reference/executionmodel.rst:336 +#: reference/executionmodel.rst:337 msgid "errors" msgstr "" -#: reference/executionmodel.rst:336 +#: reference/executionmodel.rst:337 msgid "error handling" msgstr "" -#: reference/executionmodel.rst:357 +#: reference/executionmodel.rst:358 msgid "termination model" msgstr "" -#: reference/executionmodel.rst:364 +#: reference/executionmodel.rst:365 msgid "SystemExit (built-in exception)" msgstr "" diff --git a/reference/expressions.po b/reference/expressions.po index f781f999f..71a26e172 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -532,7 +532,7 @@ msgid "" "expression on the right hand side of an assignment statement." msgstr "" -#: reference/expressions.rst:512 +#: reference/expressions.rst:511 msgid ":pep:`255` - Simple Generators" msgstr "" @@ -542,7 +542,7 @@ msgid "" "Python." msgstr "" -#: reference/expressions.rst:516 +#: reference/expressions.rst:514 msgid ":pep:`342` - Coroutines via Enhanced Generators" msgstr "" @@ -552,7 +552,7 @@ msgid "" "as simple coroutines." msgstr "" -#: reference/expressions.rst:520 +#: reference/expressions.rst:518 msgid ":pep:`380` - Syntax for Delegating to a Subgenerator" msgstr "" @@ -562,7 +562,7 @@ msgid "" "making delegation to subgenerators easy." msgstr "" -#: reference/expressions.rst:523 +#: reference/expressions.rst:522 msgid ":pep:`525` - Asynchronous Generators" msgstr "" @@ -1132,7 +1132,7 @@ msgstr "" msgid "If it is---" msgstr "" -#: reference/expressions.rst:1117 +#: reference/expressions.rst:1106 msgid "a user-defined function:" msgstr "" @@ -1145,7 +1145,7 @@ msgid "" "value of the function call." msgstr "" -#: reference/expressions.rst:1131 +#: reference/expressions.rst:1119 msgid "a built-in function or method:" msgstr "" @@ -1155,7 +1155,7 @@ msgid "" "descriptions of built-in functions and methods." msgstr "" -#: reference/expressions.rst:1138 +#: reference/expressions.rst:1133 msgid "a class object:" msgstr "" @@ -1163,7 +1163,7 @@ msgstr "" msgid "A new instance of that class is returned." msgstr "" -#: reference/expressions.rst:1148 +#: reference/expressions.rst:1140 msgid "a class instance method:" msgstr "" @@ -1174,7 +1174,7 @@ msgid "" "the first argument." msgstr "" -#: reference/expressions.rst:1157 +#: reference/expressions.rst:1150 msgid "a class instance:" msgstr "" diff --git a/reference/introduction.po b/reference/introduction.po index 21196b86f..43cefae5f 100644 --- a/reference/introduction.po +++ b/reference/introduction.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-04 18:33+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -76,7 +76,7 @@ msgstr "" msgid "Known implementations include:" msgstr "" -#: reference/introduction.rst:51 +#: reference/introduction.rst:49 msgid "CPython" msgstr "" @@ -86,7 +86,7 @@ msgid "" "in C. New language features generally appear here first." msgstr "" -#: reference/introduction.rst:57 +#: reference/introduction.rst:53 msgid "Jython" msgstr "" @@ -99,7 +99,7 @@ msgid "" "jython.org/>`_." msgstr "" -#: reference/introduction.rst:63 +#: reference/introduction.rst:59 msgid "Python for .NET" msgstr "" @@ -111,7 +111,7 @@ msgid "" "`_." msgstr "" -#: reference/introduction.rst:69 +#: reference/introduction.rst:65 msgid "IronPython" msgstr "" @@ -124,7 +124,7 @@ msgid "" ">`_." msgstr "" -#: reference/introduction.rst:77 +#: reference/introduction.rst:71 msgid "PyPy" msgstr "" diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index 125434a42..c21ffc509 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -447,7 +447,7 @@ msgid "" "underscore characters:" msgstr "" -#: reference/lexical_analysis.rst:390 +#: reference/lexical_analysis.rst:389 msgid "``_*``" msgstr "" @@ -455,7 +455,7 @@ msgstr "" msgid "Not imported by ``from module import *``." msgstr "" -#: reference/lexical_analysis.rst:411 +#: reference/lexical_analysis.rst:392 msgid "``_``" msgstr "" @@ -490,7 +490,7 @@ msgstr "" msgid "It is also commonly used for unused variables." msgstr "" -#: reference/lexical_analysis.rst:419 +#: reference/lexical_analysis.rst:413 msgid "``__*__``" msgstr "" @@ -504,7 +504,7 @@ msgid "" "explicitly documented use, is subject to breakage without warning." msgstr "" -#: reference/lexical_analysis.rst:426 +#: reference/lexical_analysis.rst:421 msgid "``__*``" msgstr "" diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 0dc8400d3..79cd7b704 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -360,7 +360,7 @@ msgid "" "__setitem__` or :meth:`~object.__setattr__` call." msgstr "" -#: reference/simple_stmts.rst:361 +#: reference/simple_stmts.rst:358 msgid ":pep:`526` - Syntax for Variable Annotations" msgstr "" @@ -371,7 +371,7 @@ msgid "" "them through comments." msgstr "" -#: reference/simple_stmts.rst:365 +#: reference/simple_stmts.rst:363 msgid ":pep:`484` - Type hints" msgstr "" @@ -1098,7 +1098,7 @@ msgstr "" msgid ":keyword:`!type` is a :ref:`soft keyword `." msgstr "" -#: reference/simple_stmts.rst:1074 +#: reference/simple_stmts.rst:1073 msgid ":pep:`695` - Type Parameter Syntax" msgstr "" diff --git a/tutorial/classes.po b/tutorial/classes.po index 1adb4c1fd..c095bba32 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2023-02-02 02:32+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1048,6 +1048,7 @@ msgstr "" "güçlüdür." #: tutorial/classes.rst:657 +#, fuzzy msgid "" "Dynamic ordering is necessary because all cases of multiple inheritance " "exhibit one or more diamond relationships (where at least one of the parent " @@ -1060,8 +1061,7 @@ msgid "" "and that is monotonic (meaning that a class can be subclassed without " "affecting the precedence order of its parents). Taken together, these " "properties make it possible to design reliable and extensible classes with " -"multiple inheritance. For more detail, see https://www.python.org/download/" -"releases/2.3/mro/." +"multiple inheritance. For more detail, see :ref:`python_2.3_mro`." msgstr "" "Çoklu kalıtımın tüm durumları bir veya daha fazla elmas ilişkisi " "gösterdiğinden (üst sınıflardan en az birine, en alttaki sınıftan birden çok " diff --git a/tutorial/errors.po b/tutorial/errors.po index c099d6daa..0ee1d25d0 100644 --- a/tutorial/errors.po +++ b/tutorial/errors.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2022-12-28 22:18+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -208,11 +208,13 @@ msgstr "" "parantezli demet olarak adlandırabilir, örneğin::" #: tutorial/errors.rst:122 +#, fuzzy msgid "" -"A class in an :keyword:`except` clause is compatible with an exception if it " -"is the same class or a base class thereof (but not the other way around --- " -"an *except clause* listing a derived class is not compatible with a base " -"class). For example, the following code will print B, C, D in that order::" +"A class in an :keyword:`except` clause matches exceptions which are " +"instances of the class itself or one of its derived classes (but not the " +"other way around --- an *except clause* listing a derived class does not " +"match instances of its base classes). For example, the following code will " +"print B, C, D in that order::" msgstr "" ":keyword:`except` yan tümcesi, aynı sınıf veya temel sınıf ise özel durum " "ile uyumludur (ancak türetilmiş bir sınıfı listeleyen *except yan tümcesi* " diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 73b91d732..2c8edcfe9 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2024-02-27 22:42+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -410,7 +410,7 @@ msgstr "Farklı bir dizeye ihtiyacınız varsa, yeni bir tane oluşturmalısın msgid "The built-in function :func:`len` returns the length of a string::" msgstr "Yerleşik işlev :func:`len`, bir dizenin uzunluğunu döndürür::" -#: tutorial/introduction.rst:367 +#: tutorial/introduction.rst:365 msgid ":ref:`textseq`" msgstr ":ref:`textseq`" @@ -422,7 +422,7 @@ msgstr "" "Dizeler, *sıra türlerinin* örnekleridir ve bu türler tarafından desteklenen " "genel işlemleri destekler." -#: tutorial/introduction.rst:371 +#: tutorial/introduction.rst:369 msgid ":ref:`string-methods`" msgstr ":ref:`dize-yöntemleri `" @@ -432,7 +432,7 @@ msgid "" "searching." msgstr "Dizeler, temel dönüşümler ve arama için çok sayıda yöntemi destekler." -#: tutorial/introduction.rst:374 +#: tutorial/introduction.rst:373 msgid ":ref:`f-strings`" msgstr ":ref:`f-strings`" @@ -440,7 +440,7 @@ msgstr ":ref:`f-strings`" msgid "String literals that have embedded expressions." msgstr "Gömülü ifadelere sahip dize sabitleri." -#: tutorial/introduction.rst:377 +#: tutorial/introduction.rst:376 msgid ":ref:`formatstrings`" msgstr ":ref:`formatstrings`" @@ -448,7 +448,7 @@ msgstr ":ref:`formatstrings`" msgid "Information about string formatting with :meth:`str.format`." msgstr ":meth:`str.format` ile dize biçimlendirme hakkında bilgi." -#: tutorial/introduction.rst:380 +#: tutorial/introduction.rst:379 msgid ":ref:`old-string-formatting`" msgstr ":ref:`old-string-formatting`" diff --git a/using/cmdline.po b/using/cmdline.po index 1ab97e000..0f59a1d53 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -180,7 +180,7 @@ msgid "" "argument ``module-name``." msgstr "" -#: using/cmdline.rst:119 +#: using/cmdline.rst:118 msgid ":func:`runpy.run_module`" msgstr "" @@ -502,7 +502,7 @@ msgstr "" msgid "See also :envvar:`PYTHONNOUSERSITE`." msgstr "" -#: using/cmdline.rst:802 using/cmdline.rst:814 +#: using/cmdline.rst:810 using/cmdline.rst:822 msgid ":pep:`370` -- Per user site-packages directory" msgstr "" @@ -552,7 +552,7 @@ msgid "" "messages to :data:`sys.stderr`." msgstr "" -#: using/cmdline.rst:830 +#: using/cmdline.rst:838 msgid "" "The simplest settings apply a particular action unconditionally to all " "warnings emitted by a process (even those that are otherwise ignored by " @@ -625,7 +625,7 @@ msgid "" "can be used to use a regular expression on the warning message." msgstr "" -#: using/cmdline.rst:841 +#: using/cmdline.rst:849 msgid "" "See :ref:`warning-filter` and :ref:`describing-warning-filters` for more " "details." @@ -649,7 +649,7 @@ msgid "" "`PYTHONFAULTHANDLER`." msgstr "" -#: using/cmdline.rst:503 +#: using/cmdline.rst:506 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 " @@ -657,7 +657,7 @@ msgid "" "build>`." msgstr "" -#: using/cmdline.rst:507 +#: using/cmdline.rst:513 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 " @@ -666,14 +666,14 @@ msgid "" "envvar:`PYTHONTRACEMALLOC` for more information." msgstr "" -#: using/cmdline.rst:513 +#: using/cmdline.rst:522 msgid "" "``-X int_max_str_digits`` configures the :ref:`integer string conversion " "length limitation `. See also :envvar:" "`PYTHONINTMAXSTRDIGITS`." msgstr "" -#: using/cmdline.rst:516 +#: using/cmdline.rst:528 msgid "" "``-X importtime`` to show how long each import takes. It shows module name, " "cumulative time (including nested imports) and self time (excluding nested " @@ -682,35 +682,35 @@ msgid "" "asyncio'``. See also :envvar:`PYTHONPROFILEIMPORTTIME`." msgstr "" -#: using/cmdline.rst:521 +#: using/cmdline.rst:536 msgid "" "``-X dev``: enable :ref:`Python Development Mode `, introducing " "additional runtime checks that are too expensive to be enabled by default. " "See also :envvar:`PYTHONDEVMODE`." msgstr "" -#: using/cmdline.rst:524 +#: using/cmdline.rst:542 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). See also :envvar:`PYTHONUTF8`." msgstr "" -#: using/cmdline.rst:528 +#: using/cmdline.rst:549 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:531 +#: using/cmdline.rst:555 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:534 +#: using/cmdline.rst:561 msgid "" "``-X no_debug_ranges`` disables the inclusion of the tables mapping extra " "location information (end line, start column offset and end column offset) " @@ -720,7 +720,7 @@ msgid "" "envvar:`PYTHONNODEBUGRANGES`." msgstr "" -#: using/cmdline.rst:540 +#: using/cmdline.rst:570 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 " @@ -731,7 +731,7 @@ msgid "" "are always used, even if this flag is set to \"off\"." msgstr "" -#: using/cmdline.rst:547 +#: using/cmdline.rst:580 msgid "" "``-X perf`` enables support for the Linux ``perf`` profiler. When this " "option is provided, the ``perf`` profiler will be able to report Python " @@ -740,73 +740,33 @@ msgid "" "also :envvar:`PYTHONPERFSUPPORT` and :ref:`perf_profiling`." msgstr "" -#: using/cmdline.rst:553 +#: using/cmdline.rst:588 msgid "" "It also allows passing arbitrary values and retrieving them through the :" "data:`sys._xoptions` dictionary." msgstr "" -#: using/cmdline.rst:558 -msgid "Added the ``-X faulthandler`` option." -msgstr "" - -#: using/cmdline.rst:561 -msgid "Added the ``-X showrefcount`` and ``-X tracemalloc`` options." -msgstr "" - -#: using/cmdline.rst:564 -msgid "Added the ``-X showalloccount`` option." -msgstr "" - -#: using/cmdline.rst:567 -msgid "Added the ``-X importtime``, ``-X dev`` and ``-X utf8`` options." -msgstr "" - -#: using/cmdline.rst:570 -msgid "" -"Added the ``-X pycache_prefix`` option. The ``-X dev`` option now logs " -"``close()`` exceptions in :class:`io.IOBase` destructor." -msgstr "" - -#: using/cmdline.rst:574 -msgid "" -"Using ``-X dev`` option, check *encoding* and *errors* arguments on string " -"encoding and decoding operations." -msgstr "" - -#: using/cmdline.rst:578 -msgid "The ``-X showalloccount`` option has been removed." -msgstr "" - -#: using/cmdline.rst:580 -msgid "" -"Added the ``-X warn_default_encoding`` option. Removed the ``-X oldparser`` " -"option." +#: using/cmdline.rst:593 +msgid "Removed the ``-X showalloccount`` option." msgstr "" -#: using/cmdline.rst:584 -msgid "" -"Added the ``-X no_debug_ranges``, ``-X frozen_modules`` and ``-X " -"int_max_str_digits`` options." +#: using/cmdline.rst:596 +msgid "Removed the ``-X oldparser`` option." msgstr "" -#: using/cmdline.rst:588 -msgid "Added the ``-X perf`` option." -msgstr "" - -#: using/cmdline.rst:593 +#: using/cmdline.rst:601 msgid "Options you shouldn't use" msgstr "" -#: using/cmdline.rst:597 +#: using/cmdline.rst:605 msgid "Reserved for use by Jython_." msgstr "" -#: using/cmdline.rst:605 +#: using/cmdline.rst:613 msgid "Environment variables" msgstr "" -#: using/cmdline.rst:607 +#: using/cmdline.rst:615 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 " @@ -814,7 +774,7 @@ msgid "" "conflict." msgstr "" -#: using/cmdline.rst:614 +#: using/cmdline.rst:622 msgid "" "Change the location of the standard Python libraries. By default, the " "libraries are searched in :file:`{prefix}/lib/python{version}` and :file:" @@ -823,14 +783,14 @@ msgid "" "file:`/usr/local`." msgstr "" -#: using/cmdline.rst:620 +#: using/cmdline.rst:628 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:627 +#: using/cmdline.rst:635 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 :" @@ -838,21 +798,21 @@ msgid "" "existent directories are silently ignored." msgstr "" -#: using/cmdline.rst:632 +#: using/cmdline.rst:640 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:636 +#: using/cmdline.rst:644 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:640 +#: using/cmdline.rst:648 msgid "" "An additional directory will be inserted in the search path in front of :" "envvar:`PYTHONPATH` as described above under :ref:`using-on-interface-" @@ -860,19 +820,19 @@ msgid "" "the variable :data:`sys.path`." msgstr "" -#: using/cmdline.rst:648 +#: using/cmdline.rst:656 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:656 +#: using/cmdline.rst:664 msgid "" "If this is set to a non-empty string, it overrides the :data:`sys." "platlibdir` value." msgstr "" -#: using/cmdline.rst:664 +#: using/cmdline.rst:672 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 " @@ -883,26 +843,26 @@ msgid "" "file." msgstr "" -#: using/cmdline.rst:671 +#: using/cmdline.rst:679 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_startup`` with " "argument ``filename``." msgstr "" -#: using/cmdline.rst:673 +#: using/cmdline.rst:681 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_startup`` with the " "filename as the argument when called on startup." msgstr "" -#: using/cmdline.rst:679 +#: using/cmdline.rst:687 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:686 +#: using/cmdline.rst:694 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 " @@ -913,58 +873,58 @@ msgid "" "breakpointhook` to do nothing but return immediately." msgstr "" -#: using/cmdline.rst:698 +#: using/cmdline.rst:706 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:702 +#: using/cmdline.rst:710 msgid "" "This environment variable requires a :ref:`debug build of Python `, otherwise it's ignored." msgstr "" -#: using/cmdline.rst:708 +#: using/cmdline.rst:716 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-i` option." msgstr "" -#: using/cmdline.rst:711 +#: using/cmdline.rst:719 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:717 +#: using/cmdline.rst:725 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-u` option." msgstr "" -#: using/cmdline.rst:723 +#: using/cmdline.rst:731 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:730 +#: using/cmdline.rst:738 msgid "" "If this is set, Python ignores case in :keyword:`import` statements. This " "only works on Windows and macOS." msgstr "" -#: using/cmdline.rst:736 +#: using/cmdline.rst:744 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:743 +#: using/cmdline.rst:751 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 " @@ -972,40 +932,40 @@ msgid "" "``pycache_prefix=PATH`` option." msgstr "" -#: using/cmdline.rst:753 +#: using/cmdline.rst:761 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:756 +#: using/cmdline.rst:764 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:760 +#: using/cmdline.rst:768 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:764 +#: using/cmdline.rst:772 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:771 +#: using/cmdline.rst:779 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:779 +#: using/cmdline.rst:787 msgid "" "If this is set before running the interpreter, it overrides the encoding " "used for stdin/stdout/stderr, in the syntax ``encodingname:errorhandler``. " @@ -1013,17 +973,17 @@ msgid "" "have the same meaning as in :func:`str.encode`." msgstr "" -#: using/cmdline.rst:784 +#: using/cmdline.rst:792 msgid "" "For stderr, the ``:errorhandler`` part is ignored; the handler will always " "be ``'backslashreplace'``." msgstr "" -#: using/cmdline.rst:787 +#: using/cmdline.rst:795 msgid "The ``encodingname`` part is now optional." msgstr "" -#: using/cmdline.rst:790 +#: using/cmdline.rst:798 msgid "" "On Windows, the encoding specified by this variable is ignored for " "interactive console buffers unless :envvar:`PYTHONLEGACYWINDOWSSTDIO` is " @@ -1031,13 +991,13 @@ msgid "" "not affected." msgstr "" -#: using/cmdline.rst:797 +#: using/cmdline.rst:805 msgid "" "If this is set, Python won't add the :data:`user site-packages directory " "` to :data:`sys.path`." msgstr "" -#: using/cmdline.rst:807 +#: using/cmdline.rst:815 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:889 +#: using/cmdline.rst:897 msgid "Set the Python memory allocators and/or install debug hooks." msgstr "" -#: using/cmdline.rst:891 +#: using/cmdline.rst:899 msgid "Set the family of memory allocators used by Python:" msgstr "" -#: using/cmdline.rst:893 +#: using/cmdline.rst:901 msgid "" "``default``: use the :ref:`default memory allocators `." msgstr "" -#: using/cmdline.rst:895 +#: using/cmdline.rst:903 msgid "" "``malloc``: use the :c:func:`malloc` function of the C library for all " "domains (:c:macro:`PYMEM_DOMAIN_RAW`, :c:macro:`PYMEM_DOMAIN_MEM`, :c:macro:" "`PYMEM_DOMAIN_OBJ`)." msgstr "" -#: using/cmdline.rst:898 +#: using/cmdline.rst:906 msgid "" "``pymalloc``: use the :ref:`pymalloc allocator ` for :c:macro:" "`PYMEM_DOMAIN_MEM` and :c:macro:`PYMEM_DOMAIN_OBJ` domains and use the :c:" "func:`malloc` function for the :c:macro:`PYMEM_DOMAIN_RAW` domain." msgstr "" -#: using/cmdline.rst:902 +#: using/cmdline.rst:910 msgid "Install :ref:`debug hooks `:" msgstr "" -#: using/cmdline.rst:904 +#: using/cmdline.rst:912 msgid "" "``debug``: install debug hooks on top of the :ref:`default memory allocators " "`." msgstr "" -#: using/cmdline.rst:906 +#: using/cmdline.rst:914 msgid "``malloc_debug``: same as ``malloc`` but also install debug hooks." msgstr "" -#: using/cmdline.rst:907 +#: using/cmdline.rst:915 msgid "``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks." msgstr "" -#: using/cmdline.rst:911 +#: using/cmdline.rst:919 msgid "Added the ``\"default\"`` allocator." msgstr "" -#: using/cmdline.rst:917 +#: using/cmdline.rst:925 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:921 +#: using/cmdline.rst:929 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:925 +#: using/cmdline.rst:933 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:932 +#: using/cmdline.rst:940 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 " @@ -1168,41 +1128,41 @@ msgid "" "'surrogatepass' are used." msgstr "" -#: using/cmdline.rst:937 +#: using/cmdline.rst:945 msgid "" "This may also be enabled at runtime with :func:`sys." "_enablelegacywindowsfsencoding()`." msgstr "" -#: using/cmdline.rst:954 +#: using/cmdline.rst:962 msgid ":ref:`Availability `: Windows." msgstr "" -#: using/cmdline.rst:942 +#: using/cmdline.rst:950 msgid "See :pep:`529` for more details." msgstr "" -#: using/cmdline.rst:947 +#: using/cmdline.rst:955 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:951 +#: using/cmdline.rst:959 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:961 +#: using/cmdline.rst:969 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:965 +#: using/cmdline.rst:973 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 " @@ -1213,19 +1173,19 @@ msgid "" "runtime:" msgstr "" -#: using/cmdline.rst:973 +#: using/cmdline.rst:981 msgid "``C.UTF-8``" msgstr "" -#: using/cmdline.rst:974 +#: using/cmdline.rst:982 msgid "``C.utf8``" msgstr "" -#: using/cmdline.rst:975 +#: using/cmdline.rst:983 msgid "``UTF-8``" msgstr "" -#: using/cmdline.rst:977 +#: using/cmdline.rst:985 msgid "" "If setting one of these locale categories succeeds, then the ``LC_CTYPE`` " "environment variable will also be set accordingly in the current process " @@ -1238,7 +1198,7 @@ msgid "" "(such as Python's own :func:`locale.getdefaultlocale`)." msgstr "" -#: using/cmdline.rst:987 +#: using/cmdline.rst:995 msgid "" "Configuring one of these locales (either explicitly or via the above " "implicit locale coercion) automatically enables the ``surrogateescape`` :ref:" @@ -1248,7 +1208,7 @@ msgid "" "envvar:`PYTHONIOENCODING` as usual." msgstr "" -#: using/cmdline.rst:994 +#: using/cmdline.rst:1002 msgid "" "For debugging purposes, setting ``PYTHONCOERCECLOCALE=warn`` will cause " "Python to emit warning messages on ``stderr`` if either the locale coercion " @@ -1256,7 +1216,7 @@ msgid "" "active when the Python runtime is initialized." msgstr "" -#: using/cmdline.rst:999 +#: using/cmdline.rst:1007 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 " @@ -1265,15 +1225,15 @@ msgid "" "system interfaces." msgstr "" -#: using/cmdline.rst:1005 +#: using/cmdline.rst:1013 msgid ":ref:`Availability `: Unix." msgstr "" -#: using/cmdline.rst:1007 +#: using/cmdline.rst:1015 msgid "See :pep:`538` for more details." msgstr "" -#: using/cmdline.rst:1013 +#: using/cmdline.rst:1021 msgid "" "If this environment variable is set to a non-empty string, enable :ref:" "`Python Development Mode `, introducing additional runtime checks " @@ -1281,31 +1241,31 @@ msgid "" "setting the :option:`-X` ``dev`` option." msgstr "" -#: using/cmdline.rst:1022 +#: using/cmdline.rst:1030 msgid "If set to ``1``, enable the :ref:`Python UTF-8 Mode `." msgstr "" -#: using/cmdline.rst:1024 +#: using/cmdline.rst:1032 msgid "If set to ``0``, disable the :ref:`Python UTF-8 Mode `." msgstr "" -#: using/cmdline.rst:1026 +#: using/cmdline.rst:1034 msgid "" "Setting any other non-empty string causes an error during interpreter " "initialisation." msgstr "" -#: using/cmdline.rst:1033 +#: using/cmdline.rst:1041 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:1036 +#: using/cmdline.rst:1044 msgid "See :ref:`io-encoding-warning` for details." msgstr "" -#: using/cmdline.rst:1042 +#: using/cmdline.rst:1050 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 " @@ -1314,38 +1274,38 @@ msgid "" "visual location indicators when the interpreter displays tracebacks." msgstr "" -#: using/cmdline.rst:1052 +#: using/cmdline.rst:1060 msgid "" "If this variable is set to a nonzero value, it enables support for the Linux " "``perf`` profiler so Python calls can be detected by it." msgstr "" -#: using/cmdline.rst:1055 +#: using/cmdline.rst:1063 msgid "If set to ``0``, disable Linux ``perf`` profiler support." msgstr "" -#: using/cmdline.rst:1057 +#: using/cmdline.rst:1065 msgid "" "See also the :option:`-X perf <-X>` command-line option and :ref:" "`perf_profiling`." msgstr "" -#: using/cmdline.rst:1064 +#: using/cmdline.rst:1072 msgid "Debug-mode variables" msgstr "" -#: using/cmdline.rst:1068 +#: using/cmdline.rst:1076 msgid "" "If set, Python will dump objects and reference counts still alive after " "shutting down the interpreter." msgstr "" -#: using/cmdline.rst:1078 +#: using/cmdline.rst:1086 msgid "" "Need Python configured with the :option:`--with-trace-refs` build option." msgstr "" -#: using/cmdline.rst:1075 +#: using/cmdline.rst:1083 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 f5e2b6410..5253b9bef 100644 --- a/using/configure.po +++ b/using/configure.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -430,53 +430,62 @@ msgid "" msgstr "" #: using/configure.rst:307 +msgid "" +"During the build, you may encounter compiler warnings about profile data not " +"being available for some source files. These warnings are harmless, as only " +"a subset of the code is exercised during profile data acquisition. To " +"disable these warnings on Clang, manually suppress them by adding ``-Wno-" +"profile-instr-unprofiled`` to :envvar:`CFLAGS`." +msgstr "" + +#: using/configure.rst:316 msgid "Use ``-fno-semantic-interposition`` on GCC." msgstr "" -#: using/configure.rst:312 +#: using/configure.rst:321 msgid "" "Environment variable used in the Makefile: Python command line arguments for " "the PGO generation task." msgstr "" -#: using/configure.rst:315 +#: using/configure.rst:324 msgid "Default: ``-m test --pgo --timeout=$(TESTTIMEOUT)``." msgstr "" -#: using/configure.rst:321 +#: using/configure.rst:330 msgid "Enable Link Time Optimization (LTO) in any build (disabled by default)." msgstr "" -#: using/configure.rst:323 +#: using/configure.rst:332 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:328 +#: using/configure.rst:337 msgid "To use ThinLTO feature, use ``--with-lto=thin`` on Clang." msgstr "" -#: using/configure.rst:331 +#: using/configure.rst:340 msgid "" "Use ThinLTO as the default optimization policy on Clang if the compiler " "accepts the flag." msgstr "" -#: using/configure.rst:336 +#: using/configure.rst:345 msgid "" "Enable usage of the `BOLT post-link binary optimizer `_ (disabled by default)." msgstr "" -#: using/configure.rst:340 +#: using/configure.rst:349 msgid "" "BOLT is part of the LLVM project but is not always included in their binary " "distributions. This flag requires that ``llvm-bolt`` and ``merge-fdata`` are " "available." msgstr "" -#: using/configure.rst:344 +#: using/configure.rst:353 msgid "" "BOLT is still a fairly new project so this flag should be considered " "experimental for now. Because this tool operates on machine code its success " @@ -487,7 +496,7 @@ msgid "" "encouraged." msgstr "" -#: using/configure.rst:352 +#: using/configure.rst:361 msgid "" "The :envvar:`!BOLT_INSTRUMENT_FLAGS` and :envvar:`!BOLT_APPLY_FLAGS` :" "program:`configure` variables can be defined to override the default set of " @@ -495,101 +504,101 @@ msgid "" "binaries, respectively." msgstr "" -#: using/configure.rst:361 +#: using/configure.rst:370 msgid "" "Enable computed gotos in evaluation loop (enabled by default on supported " "compilers)." msgstr "" -#: using/configure.rst:366 +#: using/configure.rst:375 msgid "" "Disable the specialized Python memory allocator :ref:`pymalloc ` " "(enabled by default)." msgstr "" -#: using/configure.rst:369 +#: using/configure.rst:378 msgid "See also :envvar:`PYTHONMALLOC` environment variable." msgstr "" -#: using/configure.rst:373 +#: using/configure.rst:382 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:376 +#: using/configure.rst:385 msgid "Don't define the ``WITH_DOC_STRINGS`` macro." msgstr "" -#: using/configure.rst:378 +#: using/configure.rst:387 msgid "See the ``PyDoc_STRVAR()`` macro." msgstr "" -#: using/configure.rst:382 +#: using/configure.rst:391 msgid "Enable C-level code profiling with ``gprof`` (disabled by default)." msgstr "" -#: using/configure.rst:386 +#: using/configure.rst:395 msgid "" "Add ``-fstrict-overflow`` to the C compiler flags (by default we add ``-fno-" "strict-overflow`` instead)." msgstr "" -#: using/configure.rst:393 +#: using/configure.rst:402 msgid "Python Debug Build" msgstr "" -#: using/configure.rst:395 +#: using/configure.rst:404 msgid "" "A debug build is Python built with the :option:`--with-pydebug` configure " "option." msgstr "" -#: using/configure.rst:398 +#: using/configure.rst:407 msgid "Effects of a debug build:" msgstr "" -#: using/configure.rst:400 +#: using/configure.rst:409 msgid "" "Display all warnings by default: the list of default warning filters is " "empty in the :mod:`warnings` module." msgstr "" -#: using/configure.rst:402 +#: using/configure.rst:411 msgid "Add ``d`` to :data:`sys.abiflags`." msgstr "" -#: using/configure.rst:403 +#: using/configure.rst:412 msgid "Add :func:`!sys.gettotalrefcount` function." msgstr "" -#: using/configure.rst:404 +#: using/configure.rst:413 msgid "Add :option:`-X showrefcount <-X>` command line option." msgstr "" -#: using/configure.rst:405 +#: using/configure.rst:414 msgid "" "Add :option:`-d` command line option and :envvar:`PYTHONDEBUG` environment " "variable to debug the parser." msgstr "" -#: using/configure.rst:407 +#: using/configure.rst:416 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:409 +#: using/configure.rst:418 msgid "" "Install :ref:`debug hooks on memory allocators ` " "to detect buffer overflow and other memory errors." msgstr "" -#: using/configure.rst:411 +#: using/configure.rst:420 msgid "Define ``Py_DEBUG`` and ``Py_REF_DEBUG`` macros." msgstr "" -#: using/configure.rst:412 +#: using/configure.rst:421 msgid "" "Add runtime checks: code surrounded by ``#ifdef Py_DEBUG`` and ``#endif``. " "Enable ``assert(...)`` and ``_PyObject_ASSERT(...)`` assertions: don't set " @@ -597,45 +606,45 @@ msgid "" "option). Main runtime checks:" msgstr "" -#: using/configure.rst:417 +#: using/configure.rst:426 msgid "Add sanity checks on the function arguments." msgstr "" -#: using/configure.rst:418 +#: using/configure.rst:427 msgid "" "Unicode and int objects are created with their memory filled with a pattern " "to detect usage of uninitialized objects." msgstr "" -#: using/configure.rst:420 +#: using/configure.rst:429 msgid "" "Ensure that functions which can clear or replace the current exception are " "not called with an exception raised." msgstr "" -#: using/configure.rst:422 +#: using/configure.rst:431 msgid "Check that deallocator functions don't change the current exception." msgstr "" -#: using/configure.rst:423 +#: using/configure.rst:432 msgid "" "The garbage collector (:func:`gc.collect` function) runs some basic checks " "on objects consistency." msgstr "" -#: using/configure.rst:425 +#: using/configure.rst:434 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:428 +#: using/configure.rst:437 msgid "" "See also the :ref:`Python Development Mode ` and the :option:`--" "with-trace-refs` configure option." msgstr "" -#: using/configure.rst:431 +#: using/configure.rst:440 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 :" @@ -643,320 +652,320 @@ msgid "" "incompatibility." msgstr "" -#: using/configure.rst:439 +#: using/configure.rst:448 msgid "Debug options" msgstr "" -#: using/configure.rst:443 +#: using/configure.rst:452 msgid "" ":ref:`Build Python in debug mode `: define the ``Py_DEBUG`` " "macro (disabled by default)." msgstr "" -#: using/configure.rst:448 +#: using/configure.rst:457 msgid "Enable tracing references for debugging purpose (disabled by default)." msgstr "" -#: using/configure.rst:450 +#: using/configure.rst:459 msgid "Effects:" msgstr "" -#: using/configure.rst:452 +#: using/configure.rst:461 msgid "Define the ``Py_TRACE_REFS`` macro." msgstr "" -#: using/configure.rst:453 +#: using/configure.rst:462 msgid "Add :func:`!sys.getobjects` function." msgstr "" -#: using/configure.rst:454 +#: using/configure.rst:463 msgid "Add :envvar:`PYTHONDUMPREFS` environment variable." msgstr "" -#: using/configure.rst:456 +#: using/configure.rst:465 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:463 +#: using/configure.rst:472 msgid "" "Build with C assertions enabled (default is no): ``assert(...);`` and " "``_PyObject_ASSERT(...);``." msgstr "" -#: using/configure.rst:466 +#: using/configure.rst:475 msgid "" "If set, the ``NDEBUG`` macro is not defined in the :envvar:`OPT` compiler " "variable." msgstr "" -#: using/configure.rst:469 +#: using/configure.rst:478 msgid "" "See also the :option:`--with-pydebug` option (:ref:`debug build `) which also enables assertions." msgstr "" -#: using/configure.rst:476 +#: using/configure.rst:485 msgid "Enable Valgrind support (default is no)." msgstr "" -#: using/configure.rst:480 +#: using/configure.rst:489 msgid "Enable DTrace support (default is no)." msgstr "" -#: using/configure.rst:482 +#: using/configure.rst:491 msgid "" "See :ref:`Instrumenting CPython with DTrace and SystemTap `." msgstr "" -#: using/configure.rst:489 +#: using/configure.rst:498 msgid "" "Enable AddressSanitizer memory error detector, ``asan`` (default is no)." msgstr "" -#: using/configure.rst:495 +#: using/configure.rst:504 msgid "" "Enable MemorySanitizer allocation error detector, ``msan`` (default is no)." msgstr "" -#: using/configure.rst:501 +#: using/configure.rst:510 msgid "" "Enable UndefinedBehaviorSanitizer undefined behaviour detector, ``ubsan`` " "(default is no)." msgstr "" -#: using/configure.rst:508 +#: using/configure.rst:517 msgid "Linker options" msgstr "" -#: using/configure.rst:512 +#: using/configure.rst:521 msgid "Enable building a shared Python library: ``libpython`` (default is no)." msgstr "" -#: using/configure.rst:516 +#: using/configure.rst:525 msgid "" "Do not build ``libpythonMAJOR.MINOR.a`` and do not install ``python.o`` " "(built and enabled by default)." msgstr "" -#: using/configure.rst:523 +#: using/configure.rst:532 msgid "Libraries options" msgstr "" -#: using/configure.rst:527 +#: using/configure.rst:536 msgid "Link against additional libraries (default is no)." msgstr "" -#: using/configure.rst:531 +#: using/configure.rst:540 msgid "" "Build the :mod:`!pyexpat` module using an installed ``expat`` library " "(default is no)." msgstr "" -#: using/configure.rst:536 +#: using/configure.rst:545 msgid "" "Build the ``_decimal`` extension module using an installed ``mpdec`` " "library, see the :mod:`decimal` module (default is no)." msgstr "" -#: using/configure.rst:543 +#: using/configure.rst:552 msgid "Use ``editline`` library for backend of the :mod:`readline` module." msgstr "" -#: using/configure.rst:545 +#: using/configure.rst:554 msgid "Define the ``WITH_EDITLINE`` macro." msgstr "" -#: using/configure.rst:551 +#: using/configure.rst:560 msgid "Don't build the :mod:`readline` module (built by default)." msgstr "" -#: using/configure.rst:553 +#: using/configure.rst:562 msgid "Don't define the ``HAVE_LIBREADLINE`` macro." msgstr "" -#: using/configure.rst:559 +#: using/configure.rst:568 msgid "" "Override ``libm`` math library to *STRING* (default is system-dependent)." msgstr "" -#: using/configure.rst:563 +#: using/configure.rst:572 msgid "Override ``libc`` C library to *STRING* (default is system-dependent)." msgstr "" -#: using/configure.rst:567 +#: using/configure.rst:576 msgid "Root of the OpenSSL directory." msgstr "" -#: using/configure.rst:573 +#: using/configure.rst:582 msgid "Set runtime library directory (rpath) for OpenSSL libraries:" msgstr "" -#: using/configure.rst:575 +#: using/configure.rst:584 msgid "``no`` (default): don't set rpath;" msgstr "" -#: using/configure.rst:576 +#: using/configure.rst:585 msgid "" "``auto``: auto-detect rpath from :option:`--with-openssl` and ``pkg-config``;" msgstr "" -#: using/configure.rst:578 +#: using/configure.rst:587 msgid "*DIR*: set an explicit rpath." msgstr "" -#: using/configure.rst:584 +#: using/configure.rst:593 msgid "Security Options" msgstr "" -#: using/configure.rst:588 +#: using/configure.rst:597 msgid "Select hash algorithm for use in ``Python/pyhash.c``:" msgstr "" -#: using/configure.rst:590 +#: using/configure.rst:599 msgid "``siphash13`` (default);" msgstr "" -#: using/configure.rst:591 +#: using/configure.rst:600 msgid "``siphash24``;" msgstr "" -#: using/configure.rst:592 +#: using/configure.rst:601 msgid "``fnv``." msgstr "" -#: using/configure.rst:596 +#: using/configure.rst:605 msgid "``siphash13`` is added and it is the new default." msgstr "" -#: using/configure.rst:601 +#: using/configure.rst:610 msgid "Built-in hash modules:" msgstr "" -#: using/configure.rst:603 +#: using/configure.rst:612 msgid "``md5``;" msgstr "" -#: using/configure.rst:604 +#: using/configure.rst:613 msgid "``sha1``;" msgstr "" -#: using/configure.rst:605 +#: using/configure.rst:614 msgid "``sha256``;" msgstr "" -#: using/configure.rst:606 +#: using/configure.rst:615 msgid "``sha512``;" msgstr "" -#: using/configure.rst:607 +#: using/configure.rst:616 msgid "``sha3`` (with shake);" msgstr "" -#: using/configure.rst:608 +#: using/configure.rst:617 msgid "``blake2``." msgstr "" -#: using/configure.rst:614 +#: using/configure.rst:623 msgid "Override the OpenSSL default cipher suites string:" msgstr "" -#: using/configure.rst:616 +#: using/configure.rst:625 msgid "``python`` (default): use Python's preferred selection;" msgstr "" -#: using/configure.rst:617 +#: using/configure.rst:626 msgid "``openssl``: leave OpenSSL's defaults untouched;" msgstr "" -#: using/configure.rst:618 +#: using/configure.rst:627 msgid "*STRING*: use a custom string" msgstr "" -#: using/configure.rst:620 +#: using/configure.rst:629 msgid "See the :mod:`ssl` module." msgstr "" -#: using/configure.rst:626 +#: using/configure.rst:635 msgid "" "The settings ``python`` and *STRING* also set TLS 1.2 as minimum protocol " "version." msgstr "" -#: using/configure.rst:630 +#: using/configure.rst:639 msgid "macOS Options" msgstr "" -#: using/configure.rst:632 +#: using/configure.rst:641 msgid "See ``Mac/README.rst``." msgstr "" -#: using/configure.rst:637 +#: using/configure.rst:646 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:643 +#: using/configure.rst:652 msgid "" "Create a Python.framework rather than a traditional Unix install. Optional " "*INSTALLDIR* specifies the installation path (default is no)." msgstr "" -#: using/configure.rst:648 +#: using/configure.rst:657 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:651 +#: using/configure.rst:660 msgid "Options:" msgstr "" -#: using/configure.rst:653 +#: using/configure.rst:662 msgid "``universal2``;" msgstr "" -#: using/configure.rst:654 +#: using/configure.rst:663 msgid "``32-bit``;" msgstr "" -#: using/configure.rst:655 +#: using/configure.rst:664 msgid "``64-bit``;" msgstr "" -#: using/configure.rst:656 +#: using/configure.rst:665 msgid "``3-way``;" msgstr "" -#: using/configure.rst:657 +#: using/configure.rst:666 msgid "``intel``;" msgstr "" -#: using/configure.rst:658 +#: using/configure.rst:667 msgid "``intel-32``;" msgstr "" -#: using/configure.rst:659 +#: using/configure.rst:668 msgid "``intel-64``;" msgstr "" -#: using/configure.rst:660 +#: using/configure.rst:669 msgid "``all``." msgstr "" -#: using/configure.rst:664 +#: using/configure.rst:673 msgid "" "Specify the name for the python framework on macOS only valid when :option:" "`--enable-framework` is set (default: ``Python``)." msgstr "" -#: using/configure.rst:669 +#: using/configure.rst:678 msgid "Cross Compiling Options" msgstr "" -#: using/configure.rst:671 +#: using/configure.rst:680 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 " @@ -964,95 +973,95 @@ msgid "" "match the version of the cross compiled host Python." msgstr "" -#: using/configure.rst:678 +#: using/configure.rst:687 msgid "" "configure for building on BUILD, usually guessed by :program:`config.guess`." msgstr "" -#: using/configure.rst:682 +#: using/configure.rst:691 msgid "cross-compile to build programs to run on HOST (target platform)" msgstr "" -#: using/configure.rst:686 +#: using/configure.rst:695 msgid "path to build ``python`` binary for cross compiling" msgstr "" -#: using/configure.rst:692 +#: using/configure.rst:701 msgid "An environment variable that points to a file with configure overrides." msgstr "" -#: using/configure.rst:694 +#: using/configure.rst:703 msgid "Example *config.site* file:" msgstr "" -#: using/configure.rst:704 +#: using/configure.rst:713 msgid "Cross compiling example::" msgstr "" -#: using/configure.rst:713 +#: using/configure.rst:722 msgid "Python Build System" msgstr "" -#: using/configure.rst:716 +#: using/configure.rst:725 msgid "Main files of the build system" msgstr "" -#: using/configure.rst:718 +#: using/configure.rst:727 msgid ":file:`configure.ac` => :file:`configure`;" msgstr "" -#: using/configure.rst:719 +#: using/configure.rst:728 msgid "" ":file:`Makefile.pre.in` => :file:`Makefile` (created by :file:`configure`);" msgstr "" -#: using/configure.rst:720 +#: using/configure.rst:729 msgid ":file:`pyconfig.h` (created by :file:`configure`);" msgstr "" -#: using/configure.rst:721 +#: using/configure.rst:730 msgid "" ":file:`Modules/Setup`: C extensions built by the Makefile using :file:" "`Module/makesetup` shell script;" msgstr "" -#: using/configure.rst:725 +#: using/configure.rst:734 msgid "Main build steps" msgstr "" -#: using/configure.rst:727 +#: using/configure.rst:736 msgid "C files (``.c``) are built as object files (``.o``)." msgstr "" -#: using/configure.rst:728 +#: using/configure.rst:737 msgid "A static ``libpython`` library (``.a``) is created from objects files." msgstr "" -#: using/configure.rst:729 +#: using/configure.rst:738 msgid "" "``python.o`` and the static ``libpython`` library are linked into the final " "``python`` program." msgstr "" -#: using/configure.rst:731 +#: using/configure.rst:740 msgid "C extensions are built by the Makefile (see :file:`Modules/Setup`)." msgstr "" -#: using/configure.rst:734 +#: using/configure.rst:743 msgid "Main Makefile targets" msgstr "" -#: using/configure.rst:736 +#: using/configure.rst:745 msgid "``make``: Build Python with the standard library." msgstr "" -#: using/configure.rst:737 +#: using/configure.rst:746 msgid "" "``make platform:``: build the ``python`` program, but don't build the " "standard library extension modules." msgstr "" -#: using/configure.rst:739 +#: using/configure.rst:748 msgid "" "``make profile-opt``: build Python using Profile Guided Optimization (PGO). " "You can use the configure :option:`--enable-optimizations` option to make " @@ -1060,53 +1069,53 @@ msgid "" "``make``)." msgstr "" -#: using/configure.rst:743 +#: using/configure.rst:752 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:746 +#: using/configure.rst:755 msgid "``make install``: Build and install Python." msgstr "" -#: using/configure.rst:747 +#: using/configure.rst:756 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:750 +#: using/configure.rst:759 msgid "``make clean``: Remove built files." msgstr "" -#: using/configure.rst:751 +#: using/configure.rst:760 msgid "" "``make distclean``: Same than ``make clean``, but remove also files created " "by the configure script." msgstr "" -#: using/configure.rst:755 +#: using/configure.rst:764 msgid "C extensions" msgstr "" -#: using/configure.rst:757 +#: using/configure.rst:766 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:771 +#: using/configure.rst:780 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:783 +#: using/configure.rst:792 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-" @@ -1114,303 +1123,303 @@ msgid "" "dynamic libraries." msgstr "" -#: using/configure.rst:787 +#: using/configure.rst:796 msgid "" "The :c:macro:`!PyAPI_FUNC()`, :c:macro:`!PyAPI_DATA()` and :c:macro:" "`PyMODINIT_FUNC` macros of :file:`Include/exports.h` are defined differently " "depending if the ``Py_BUILD_CORE_MODULE`` macro is defined:" msgstr "" -#: using/configure.rst:791 +#: using/configure.rst:800 msgid "Use ``Py_EXPORTED_SYMBOL`` if the ``Py_BUILD_CORE_MODULE`` is defined" msgstr "" -#: using/configure.rst:792 +#: using/configure.rst:801 msgid "Use ``Py_IMPORTED_SYMBOL`` otherwise." msgstr "" -#: using/configure.rst:794 +#: using/configure.rst:803 msgid "" "If the ``Py_BUILD_CORE_BUILTIN`` macro is used by mistake on a C extension " "built as a shared library, its :samp:`PyInit_{xxx}()` function is not " "exported, causing an :exc:`ImportError` on import." msgstr "" -#: using/configure.rst:800 +#: using/configure.rst:809 msgid "Compiler and linker flags" msgstr "" -#: using/configure.rst:802 +#: using/configure.rst:811 msgid "" "Options set by the ``./configure`` script and environment variables and used " "by ``Makefile``." msgstr "" -#: using/configure.rst:806 +#: using/configure.rst:815 msgid "Preprocessor flags" msgstr "" -#: using/configure.rst:810 +#: using/configure.rst:819 msgid "" "Value of :envvar:`CPPFLAGS` variable passed to the ``./configure`` script." msgstr "" -#: using/configure.rst:816 +#: using/configure.rst:825 msgid "" "(Objective) C/C++ preprocessor flags, e.g. :samp:`-I{include_dir}` if you " "have headers in a nonstandard directory *include_dir*." msgstr "" -#: using/configure.rst:1009 +#: using/configure.rst:1018 msgid "" "Both :envvar:`CPPFLAGS` and :envvar:`LDFLAGS` need to contain the shell's " "value to be able to build extension modules using the directories specified " "in the environment variables." msgstr "" -#: using/configure.rst:829 +#: using/configure.rst:838 msgid "" "Extra preprocessor flags added for building the interpreter object files." msgstr "" -#: using/configure.rst:831 +#: using/configure.rst:840 msgid "" "Default: ``$(BASECPPFLAGS) -I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) " "$(CPPFLAGS)``." msgstr "" -#: using/configure.rst:836 +#: using/configure.rst:845 msgid "Compiler flags" msgstr "" -#: using/configure.rst:840 +#: using/configure.rst:849 msgid "C compiler command." msgstr "" -#: using/configure.rst:842 +#: using/configure.rst:851 msgid "Example: ``gcc -pthread``." msgstr "" -#: using/configure.rst:846 +#: using/configure.rst:855 msgid "C++ compiler command." msgstr "" -#: using/configure.rst:848 +#: using/configure.rst:857 msgid "Example: ``g++ -pthread``." msgstr "" -#: using/configure.rst:852 +#: using/configure.rst:861 msgid "C compiler flags." msgstr "" -#: using/configure.rst:856 +#: using/configure.rst:865 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 :envvar:" "`CFLAGS` once Python is installed (:gh:`65320`)." msgstr "" -#: using/configure.rst:860 +#: using/configure.rst:869 msgid "In particular, :envvar:`CFLAGS` should not contain:" msgstr "" -#: using/configure.rst:862 +#: using/configure.rst:871 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:867 +#: using/configure.rst:876 msgid "" "hardening flags such as ``-Werror`` because distributions cannot control " "whether packages installed by users conform to such heightened standards." msgstr "" -#: using/configure.rst:875 +#: using/configure.rst:884 msgid "" "Options passed to the :mod:`compileall` command line when building PYC files " "in ``make install``. Default: ``-j0``." msgstr "" -#: using/configure.rst:882 +#: using/configure.rst:891 msgid "Extra C compiler flags." msgstr "" -#: using/configure.rst:886 +#: using/configure.rst:895 msgid "" "Value of :envvar:`CFLAGS` variable passed to the ``./configure`` script." msgstr "" -#: using/configure.rst:893 +#: using/configure.rst:902 msgid "" "Value of :envvar:`CFLAGS_NODIST` variable passed to the ``./configure`` " "script." msgstr "" -#: using/configure.rst:900 +#: using/configure.rst:909 msgid "Base compiler flags." msgstr "" -#: using/configure.rst:904 +#: using/configure.rst:913 msgid "Optimization flags." msgstr "" -#: using/configure.rst:908 +#: using/configure.rst:917 msgid "Strict or non-strict aliasing flags used to compile ``Python/dtoa.c``." msgstr "" -#: using/configure.rst:914 +#: using/configure.rst:923 msgid "Compiler flags used to build a shared library." msgstr "" -#: using/configure.rst:916 +#: using/configure.rst:925 msgid "For example, ``-fPIC`` is used on Linux and on BSD." msgstr "" -#: using/configure.rst:920 +#: using/configure.rst:929 msgid "Extra C flags added for building the interpreter object files." msgstr "" -#: using/configure.rst:922 +#: using/configure.rst:931 msgid "" "Default: ``$(CCSHARED)`` when :option:`--enable-shared` is used, or an empty " "string otherwise." msgstr "" -#: using/configure.rst:927 +#: using/configure.rst:936 msgid "" "Default: ``$(BASECFLAGS) $(OPT) $(CONFIGURE_CFLAGS) $(CFLAGS) " "$(EXTRA_CFLAGS)``." msgstr "" -#: using/configure.rst:931 +#: using/configure.rst:940 msgid "" "Default: ``$(CONFIGURE_CFLAGS_NODIST) $(CFLAGS_NODIST) -I$(srcdir)/Include/" "internal``." msgstr "" -#: using/configure.rst:937 +#: using/configure.rst:946 msgid "C flags used for building the interpreter object files." msgstr "" -#: using/configure.rst:939 +#: using/configure.rst:948 msgid "" "Default: ``$(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) " "$(CFLAGSFORSHARED)``." msgstr "" -#: using/configure.rst:945 +#: using/configure.rst:954 msgid "Default: ``$(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE``." msgstr "" -#: using/configure.rst:951 +#: using/configure.rst:960 msgid "" "Compiler flags to build a standard library extension module as a built-in " "module, like the :mod:`posix` module." msgstr "" -#: using/configure.rst:954 +#: using/configure.rst:963 msgid "Default: ``$(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE_BUILTIN``." msgstr "" -#: using/configure.rst:960 +#: using/configure.rst:969 msgid "Purify command. Purify is a memory debugger program." msgstr "" -#: using/configure.rst:962 +#: using/configure.rst:971 msgid "Default: empty string (not used)." msgstr "" -#: using/configure.rst:966 +#: using/configure.rst:975 msgid "Linker flags" msgstr "" -#: using/configure.rst:970 +#: using/configure.rst:979 msgid "" "Linker command used to build programs like ``python`` and ``_testembed``." msgstr "" -#: using/configure.rst:972 +#: using/configure.rst:981 msgid "Default: ``$(PURIFY) $(CC)``." msgstr "" -#: using/configure.rst:976 +#: using/configure.rst:985 msgid "" "Value of :envvar:`LDFLAGS` variable passed to the ``./configure`` script." msgstr "" -#: using/configure.rst:978 +#: using/configure.rst:987 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:986 +#: using/configure.rst:995 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 :envvar:" "`LDFLAGS` once Python is installed (:gh:`65320`)." msgstr "" -#: using/configure.rst:990 +#: using/configure.rst:999 msgid "In particular, :envvar:`LDFLAGS` should not contain:" msgstr "" -#: using/configure.rst:992 +#: using/configure.rst:1001 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:999 +#: using/configure.rst:1008 msgid "" "Value of :envvar:`LDFLAGS_NODIST` variable passed to the ``./configure`` " "script." msgstr "" -#: using/configure.rst:1006 +#: using/configure.rst:1015 msgid "" "Linker flags, e.g. :samp:`-L{lib_dir}` if you have libraries in a " "nonstandard directory *lib_dir*." msgstr "" -#: using/configure.rst:1015 +#: using/configure.rst:1024 msgid "" "Linker flags to pass libraries to the linker when linking the Python " "executable." msgstr "" -#: using/configure.rst:1018 +#: using/configure.rst:1027 msgid "Example: ``-lrt``." msgstr "" -#: using/configure.rst:1022 +#: using/configure.rst:1031 msgid "Command to build a shared library." msgstr "" -#: using/configure.rst:1024 +#: using/configure.rst:1033 msgid "Default: ``@LDSHARED@ $(PY_LDFLAGS)``." msgstr "" -#: using/configure.rst:1028 +#: using/configure.rst:1037 msgid "Command to build ``libpython`` shared library." msgstr "" -#: using/configure.rst:1030 +#: using/configure.rst:1039 msgid "Default: ``@BLDSHARED@ $(PY_CORE_LDFLAGS)``." msgstr "" -#: using/configure.rst:1034 +#: using/configure.rst:1043 msgid "Default: ``$(CONFIGURE_LDFLAGS) $(LDFLAGS)``." msgstr "" -#: using/configure.rst:1038 +#: using/configure.rst:1047 msgid "Default: ``$(CONFIGURE_LDFLAGS_NODIST) $(LDFLAGS_NODIST)``." msgstr "" -#: using/configure.rst:1044 +#: using/configure.rst:1053 msgid "Linker flags used for building the interpreter object files." msgstr "" diff --git a/using/mac.po b/using/mac.po index 8fa2eb37a..29b1e60a8 100644 --- a/using/mac.po +++ b/using/mac.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-01 00:17+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -212,7 +212,7 @@ msgstr "" msgid "" "*PyObjC* is a Python binding to Apple's Objective-C/Cocoa framework, which " "is the foundation of most modern Mac development. Information on PyObjC is " -"available from https://pypi.org/project/pyobjc/." +"available from :pypi:`pyobjc`." msgstr "" #: using/mac.rst:150 @@ -269,8 +269,8 @@ msgstr "" #: using/mac.rst:180 msgid "" -"`py2app `__: Supports creating macOS ``." -"app`` bundles from a Python project." +":pypi:`py2app`: Supports creating macOS ``.app`` bundles from a Python " +"project." msgstr "" #: using/mac.rst:183 diff --git a/using/windows.po b/using/windows.po index e2488bbb0..c5d430a5b 100644 --- a/using/windows.po +++ b/using/windows.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -957,7 +957,7 @@ msgid "" "versions and their key features:" msgstr "" -#: using/windows.rst:545 +#: using/windows.rst:544 msgid "`ActivePython `_" msgstr "" @@ -965,7 +965,7 @@ msgstr "" msgid "Installer with multi-platform compatibility, documentation, PyWin32" msgstr "" -#: using/windows.rst:549 +#: using/windows.rst:547 msgid "`Anaconda `_" msgstr "" @@ -975,7 +975,7 @@ msgid "" "``conda`` package manager." msgstr "" -#: using/windows.rst:555 +#: using/windows.rst:551 msgid "`Enthought Deployment Manager `_" msgstr "" @@ -991,7 +991,7 @@ msgid "" "Code>`_." msgstr "" -#: using/windows.rst:559 +#: using/windows.rst:557 msgid "`WinPython `_" msgstr "" @@ -1074,7 +1074,7 @@ msgid "" "code that is compatible with all of your installed Python versions." msgstr "" -#: using/windows.rst:622 +#: using/windows.rst:621 msgid "" "https://docs.microsoft.com/en-us/windows/win32/procthread/environment-" "variables" @@ -1084,7 +1084,7 @@ msgstr "" msgid "Overview of environment variables on Windows" msgstr "" -#: using/windows.rst:625 +#: using/windows.rst:624 msgid "" "https://docs.microsoft.com/en-us/windows-server/administration/windows-" "commands/set_1" @@ -1977,9 +1977,8 @@ msgstr "" #: using/windows.rst:1220 msgid "" -"The `PyWin32 `_ module by Mark Hammond is " -"a collection of modules for advanced Windows-specific support. This " -"includes utilities for:" +"The :pypi:`PyWin32` module by Mark Hammond is a collection of modules for " +"advanced Windows-specific support. This includes utilities for:" msgstr "" #: using/windows.rst:1224 @@ -2013,7 +2012,7 @@ msgid "" "It is an embeddable IDE with a built-in debugger." msgstr "" -#: using/windows.rst:1241 +#: using/windows.rst:1240 msgid "" "`Win32 How Do I...? `_" msgstr "" diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index efd863ffe..9f8f56b45 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -328,7 +328,7 @@ msgid "" "functions." msgstr "" -#: whatsnew/2.1.rst:223 +#: whatsnew/2.1.rst:222 msgid ":pep:`207` - Rich Comparisons" msgstr "" @@ -406,7 +406,7 @@ msgid "" "PEP 230 or to Python's API documentation for the details." msgstr "" -#: whatsnew/2.1.rst:293 +#: whatsnew/2.1.rst:289 msgid ":pep:`5` - Guidelines for Language Evolution" msgstr "" @@ -666,7 +666,7 @@ msgid "" "object's numeric methods)." msgstr "" -#: whatsnew/2.1.rst:535 +#: whatsnew/2.1.rst:533 msgid ":pep:`208` - Reworking the Coercion Model" msgstr "" @@ -718,11 +718,11 @@ msgid "" "python.org/community/sigs/current/distutils-sig/." msgstr "" -#: whatsnew/2.1.rst:575 +#: whatsnew/2.1.rst:574 msgid ":pep:`241` - Metadata for Python Software Packages" msgstr "" -#: whatsnew/2.1.rst:578 +#: whatsnew/2.1.rst:577 msgid ":pep:`243` - Module Repository Upload Mechanism" msgstr "" diff --git a/whatsnew/2.2.po b/whatsnew/2.2.po index 0dbc9c641..7154ab026 100644 --- a/whatsnew/2.2.po +++ b/whatsnew/2.2.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -595,7 +595,7 @@ msgid "" "only requires a :meth:`next` method." msgstr "" -#: whatsnew/2.2.rst:535 +#: whatsnew/2.2.rst:534 msgid ":pep:`234` - Iterators" msgstr "" @@ -733,7 +733,7 @@ msgid "" "other functions or stored in a data structure." msgstr "" -#: whatsnew/2.2.rst:662 +#: whatsnew/2.2.rst:661 msgid ":pep:`255` - Simple Generators" msgstr "" @@ -779,7 +779,7 @@ msgid "" "that's rarely needed." msgstr "" -#: whatsnew/2.2.rst:702 +#: whatsnew/2.2.rst:701 msgid ":pep:`237` - Unifying Long Integers and Integers" msgstr "" @@ -1270,7 +1270,7 @@ msgstr "" msgid "Rename :c:macro:`!Py_TPFLAGS_GC` to :c:macro:`Py_TPFLAGS_HAVE_GC`." msgstr "" -#: whatsnew/2.2.rst:1084 +#: whatsnew/2.2.rst:1083 msgid "" "Use :c:func:`PyObject_GC_New` or :c:func:`PyObject_GC_NewVar` to allocate" msgstr "" diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index 26869b097..a0bfb1419 100644 --- a/whatsnew/2.3.po +++ b/whatsnew/2.3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -109,7 +109,7 @@ msgid "" "checking whether one set is a subset or superset of another::" msgstr "" -#: whatsnew/2.3.rst:117 +#: whatsnew/2.3.rst:116 msgid ":pep:`218` - Adding a Built-In Set Object Type" msgstr "" @@ -249,7 +249,7 @@ msgid "" "functions or stored in a data structure." msgstr "" -#: whatsnew/2.3.rst:248 +#: whatsnew/2.3.rst:247 msgid ":pep:`255` - Simple Generators" msgstr "" @@ -289,7 +289,7 @@ msgid "" "variable names that use characters outside of the usual alphanumerics." msgstr "" -#: whatsnew/2.3.rst:282 +#: whatsnew/2.3.rst:281 msgid ":pep:`263` - Defining Python Source Code Encodings" msgstr "" @@ -328,7 +328,7 @@ msgid "" "import from the :file:`lib/` subdirectory within the archive." msgstr "" -#: whatsnew/2.3.rst:331 +#: whatsnew/2.3.rst:328 msgid ":pep:`273` - Import Modules from Zip Archives" msgstr "" @@ -380,7 +380,7 @@ msgstr "" msgid "Under MacOS, :func:`os.listdir` may now return Unicode filenames." msgstr "" -#: whatsnew/2.3.rst:365 +#: whatsnew/2.3.rst:364 msgid ":pep:`277` - Unicode file name support for Windows NT" msgstr "" @@ -840,7 +840,7 @@ msgid "" "succession of tuples or lists, quoting strings that contain the delimiter." msgstr "" -#: whatsnew/2.3.rst:806 +#: whatsnew/2.3.rst:805 msgid ":pep:`305` - CSV File API" msgstr "" @@ -1142,8 +1142,7 @@ msgid "" "2.3 now uses the C3 algorithm as described in the paper `\"A Monotonic " "Superclass Linearization for Dylan\" `_. To understand the motivation for this " -"change, read Michele Simionato's article `\"Python 2.3 Method Resolution " -"Order\" `_, or read the " +"change, read Michele Simionato's article :ref:`python_2.3_mro`, or read the " "thread on python-dev starting with the message at https://mail.python.org/" "pipermail/python-dev/2002-October/029035.html. Samuele Pedroni first pointed " "out the problem and also implemented the fix by coding the C3 algorithm." @@ -2039,7 +2038,7 @@ msgid "" "distribution and bundle it with the source of your extension." msgstr "" -#: whatsnew/2.3.rst:1869 +#: whatsnew/2.3.rst:1867 msgid "https://hg.python.org/cpython/file/default/Objects/obmalloc.c" msgstr "" diff --git a/whatsnew/2.4.po b/whatsnew/2.4.po index a41ed7edc..a513d983c 100644 --- a/whatsnew/2.4.po +++ b/whatsnew/2.4.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -88,7 +88,7 @@ msgid "" "There are currently no plans to deprecate the module." msgstr "" -#: whatsnew/2.4.rst:83 +#: whatsnew/2.4.rst:82 msgid ":pep:`218` - Adding a Built-In Set Object Type" msgstr "" @@ -120,7 +120,7 @@ msgid "" "expression now returns the correct answer, 8589934592." msgstr "" -#: whatsnew/2.4.rst:108 +#: whatsnew/2.4.rst:107 msgid ":pep:`237` - Unifying Long Integers and Integers" msgstr "" @@ -182,7 +182,7 @@ msgid "" "respect." msgstr "" -#: whatsnew/2.4.rst:165 +#: whatsnew/2.4.rst:164 msgid ":pep:`289` - Generator Expressions" msgstr "" @@ -347,7 +347,7 @@ msgid "" "function that's constructed and returned." msgstr "" -#: whatsnew/2.4.rst:339 +#: whatsnew/2.4.rst:336 msgid ":pep:`318` - Decorators for Functions, Methods and Classes" msgstr "" @@ -499,7 +499,7 @@ msgid "" "section of the PEP is highly recommended." msgstr "" -#: whatsnew/2.4.rst:466 +#: whatsnew/2.4.rst:465 msgid ":pep:`324` - subprocess - New process module" msgstr "" @@ -730,7 +730,7 @@ msgid "" "which includes a quick-start tutorial and a reference." msgstr "" -#: whatsnew/2.4.rst:685 +#: whatsnew/2.4.rst:683 msgid ":pep:`327` - Decimal Data Type" msgstr "" @@ -740,7 +740,7 @@ msgid "" "Raymond Hettinger, Aahz, and Tim Peters." msgstr "" -#: whatsnew/2.4.rst:689 +#: whatsnew/2.4.rst:687 msgid "http://www.lahey.com/float.htm" msgstr "" @@ -750,7 +750,7 @@ msgid "" "floating-point inaccuracy can cause." msgstr "" -#: whatsnew/2.4.rst:693 +#: whatsnew/2.4.rst:691 msgid "http://speleotrove.com/decimal/" msgstr "" @@ -1158,7 +1158,7 @@ msgstr "" msgid "Chinese (ROC): big5, cp950" msgstr "" -#: whatsnew/2.4.rst:1018 +#: whatsnew/2.4.rst:1016 msgid "Japanese: cp932, euc-jis-2004, euc-jp, euc-jisx0213, iso-2022-jp," msgstr "" diff --git a/whatsnew/2.5.po b/whatsnew/2.5.po index a333d6d81..85c6f1337 100644 --- a/whatsnew/2.5.po +++ b/whatsnew/2.5.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -164,7 +164,7 @@ msgid "" "around your conditional expressions, you won't run into this case." msgstr "" -#: whatsnew/2.5.rst:123 +#: whatsnew/2.5.rst:122 msgid ":pep:`308` - Conditional Expressions" msgstr "" @@ -229,7 +229,7 @@ msgid "" "previous example would be::" msgstr "" -#: whatsnew/2.5.rst:201 +#: whatsnew/2.5.rst:200 msgid ":pep:`309` - Partial Function Application" msgstr "" @@ -281,7 +281,7 @@ msgid "" "Package uploading was implemented by Martin von Löwis and Richard Jones." msgstr "" -#: whatsnew/2.5.rst:248 +#: whatsnew/2.5.rst:247 msgid ":pep:`314` - Metadata for Python Software Packages v1.1" msgstr "" @@ -384,7 +384,7 @@ msgid "" "import statement, only the ``from ... import`` form." msgstr "" -#: whatsnew/2.5.rst:331 +#: whatsnew/2.5.rst:330 msgid ":pep:`328` - Imports: Multi-Line and Absolute/Relative" msgstr "" @@ -629,7 +629,7 @@ msgid "" "exhausted." msgstr "" -#: whatsnew/2.5.rst:549 +#: whatsnew/2.5.rst:544 msgid ":pep:`342` - Coroutines via Enhanced Generators" msgstr "" @@ -645,7 +645,7 @@ msgid "" "Hettinger and :pep:`325` by Samuele Pedroni." msgstr "" -#: whatsnew/2.5.rst:552 +#: whatsnew/2.5.rst:551 msgid "https://en.wikipedia.org/wiki/Coroutine" msgstr "" @@ -905,7 +905,7 @@ msgid "" "bound to a variable, and calls ``object.close`` at the end of the block. ::" msgstr "" -#: whatsnew/2.5.rst:803 +#: whatsnew/2.5.rst:799 msgid ":pep:`343` - The \"with\" statement" msgstr "" @@ -2046,7 +2046,7 @@ msgid "" "modules, now that :mod:`ctypes` is included with core Python." msgstr "" -#: whatsnew/2.5.rst:1750 +#: whatsnew/2.5.rst:1749 msgid "" "https://web.archive.org/web/20180410025338/http://starship.python.net/crew/" "theller/ctypes/" @@ -2386,7 +2386,7 @@ msgid "" "www.sqlite.org." msgstr "" -#: whatsnew/2.5.rst:2023 +#: whatsnew/2.5.rst:2022 msgid "https://www.pysqlite.org" msgstr "" @@ -2394,7 +2394,7 @@ msgstr "" msgid "The pysqlite web page." msgstr "" -#: whatsnew/2.5.rst:2027 +#: whatsnew/2.5.rst:2025 msgid "https://www.sqlite.org" msgstr "" @@ -2435,7 +2435,7 @@ msgid "" "Setting up a server takes only a few lines of code::" msgstr "" -#: whatsnew/2.5.rst:2069 +#: whatsnew/2.5.rst:2068 msgid "" "https://web.archive.org/web/20160331090247/http://wsgi.readthedocs.org/en/" "latest/" diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index 94a3ff55e..4b293fdad 100644 --- a/whatsnew/2.6.po +++ b/whatsnew/2.6.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -192,7 +192,7 @@ msgid "" "wishing to move from SourceForge to Roundup." msgstr "" -#: whatsnew/2.6.rst:183 +#: whatsnew/2.6.rst:182 msgid "https://bugs.python.org" msgstr "" @@ -200,7 +200,7 @@ msgstr "" msgid "The Python bug tracker." msgstr "" -#: whatsnew/2.6.rst:186 +#: whatsnew/2.6.rst:185 msgid "https://bugs.jython.org:" msgstr "" @@ -208,7 +208,7 @@ msgstr "" msgid "The Jython bug tracker." msgstr "" -#: whatsnew/2.6.rst:189 +#: whatsnew/2.6.rst:188 msgid "https://roundup.sourceforge.io/" msgstr "" @@ -273,7 +273,7 @@ msgid "" "tool." msgstr "" -#: whatsnew/2.6.rst:234 +#: whatsnew/2.6.rst:233 msgid "`Documenting Python `__" msgstr "" @@ -281,7 +281,7 @@ msgstr "" msgid "Describes how to write for Python's documentation." msgstr "" -#: whatsnew/2.6.rst:237 +#: whatsnew/2.6.rst:236 msgid "`Sphinx `__" msgstr "" @@ -540,7 +540,7 @@ msgid "" "of the block. ::" msgstr "" -#: whatsnew/2.6.rst:490 +#: whatsnew/2.6.rst:486 msgid ":pep:`343` - The \"with\" statement" msgstr "" @@ -717,7 +717,7 @@ msgstr "" msgid "The documentation for the :mod:`multiprocessing` module." msgstr "" -#: whatsnew/2.6.rst:707 +#: whatsnew/2.6.rst:706 msgid ":pep:`371` - Addition of the multiprocessing package" msgstr "" @@ -931,7 +931,7 @@ msgid "" "calls the type's :meth:`__format__` method with the provided specifier::" msgstr "" -#: whatsnew/2.6.rst:847 +#: whatsnew/2.6.rst:846 msgid ":ref:`formatstrings`" msgstr "" @@ -1215,7 +1215,7 @@ msgid "" "buffering and text I/O." msgstr "" -#: whatsnew/2.6.rst:1099 +#: whatsnew/2.6.rst:1097 msgid ":pep:`3116` - New I/O" msgstr "" @@ -1288,7 +1288,7 @@ msgid "" "return locked buffer objects for a parameter." msgstr "" -#: whatsnew/2.6.rst:1149 +#: whatsnew/2.6.rst:1148 msgid ":pep:`3118` - Revising the buffer protocol" msgstr "" @@ -1416,7 +1416,7 @@ msgstr "" msgid "Subclasses must then define a :meth:`readonly` property." msgstr "" -#: whatsnew/2.6.rst:1297 +#: whatsnew/2.6.rst:1295 msgid ":pep:`3119` - Introducing Abstract Base Classes" msgstr "" @@ -1458,7 +1458,7 @@ msgid "" "the string)::" msgstr "" -#: whatsnew/2.6.rst:1349 +#: whatsnew/2.6.rst:1348 msgid ":pep:`3127` - Integer Literal Support and Syntax" msgstr "" @@ -1548,7 +1548,7 @@ msgid "" "the function's argument and zero." msgstr "" -#: whatsnew/2.6.rst:1426 +#: whatsnew/2.6.rst:1425 msgid ":pep:`3141` - A Type Hierarchy for Numbers" msgstr "" @@ -3246,7 +3246,7 @@ msgstr "" msgid "Deprecations and Removals" msgstr "" -#: whatsnew/2.6.rst:3263 +#: whatsnew/2.6.rst:3262 msgid "" "String exceptions have been removed. Attempting to use them raises a :exc:" "`TypeError`." @@ -3386,26 +3386,25 @@ msgstr "" #: whatsnew/2.6.rst:3018 msgid "" -"Security issue reported as `CVE-2008-5983 `_; discussed in :gh:`50003`, and fixed by " -"Antoine Pitrou." +"Security issue reported as :cve:`2008-5983`; discussed in :gh:`50003`, and " +"fixed by Antoine Pitrou." msgstr "" -#: whatsnew/2.6.rst:3022 +#: whatsnew/2.6.rst:3021 msgid "" "The BerkeleyDB module now has a C API object, available as ``bsddb.db." "api``. This object can be used by other C extensions that wish to use the :" "mod:`bsddb` module for their own purposes. (Contributed by Duncan Grisby.)" msgstr "" -#: whatsnew/2.6.rst:3027 +#: whatsnew/2.6.rst:3026 msgid "" "The new buffer interface, previously described in `the PEP 3118 section " "<#pep-3118-revised-buffer-protocol>`__, adds :c:func:`PyObject_GetBuffer` " "and :c:func:`PyBuffer_Release`, as well as a few other functions." msgstr "" -#: whatsnew/2.6.rst:3032 +#: whatsnew/2.6.rst:3031 msgid "" "Python's use of the C stdio library is now thread-safe, or at least as " "thread-safe as the underlying library is. A long-standing potential bug " @@ -3420,7 +3419,7 @@ msgid "" "Gregory P. Smith.)" msgstr "" -#: whatsnew/2.6.rst:3045 +#: whatsnew/2.6.rst:3044 msgid "" "Importing modules simultaneously in two different threads no longer " "deadlocks; it will now raise an :exc:`ImportError`. A new API function, :c:" @@ -3430,7 +3429,7 @@ msgid "" "(Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:3053 +#: whatsnew/2.6.rst:3052 msgid "" "Several functions return information about the platform's floating-point " "support. :c:func:`PyFloat_GetMax` returns the maximum representable " @@ -3442,7 +3441,7 @@ msgid "" "by Christian Heimes; :issue:`1534`.)" msgstr "" -#: whatsnew/2.6.rst:3064 +#: whatsnew/2.6.rst:3063 msgid "" "C functions and methods that use :c:func:`PyComplex_AsCComplex` will now " "accept arguments that have a :meth:`__complex__` method. In particular, the " @@ -3451,14 +3450,14 @@ msgid "" "Dickinson; :issue:`1675423`.)" msgstr "" -#: whatsnew/2.6.rst:3071 +#: whatsnew/2.6.rst:3070 msgid "" "Python's C API now includes two functions for case-insensitive string " "comparisons, ``PyOS_stricmp(char*, char*)`` and ``PyOS_strnicmp(char*, " "char*, Py_ssize_t)``. (Contributed by Christian Heimes; :issue:`1635`.)" msgstr "" -#: whatsnew/2.6.rst:3076 +#: whatsnew/2.6.rst:3075 msgid "" "Many C extensions define their own little macro for adding integers and " "strings to the module's dictionary in the ``init*`` function. Python 2.6 " @@ -3467,7 +3466,7 @@ msgid "" "(Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:3083 +#: whatsnew/2.6.rst:3082 msgid "" "Some macros were renamed in both 3.0 and 2.6 to make it clearer that they " "are macros, not functions. :c:macro:`!Py_Size()` became :c:macro:" @@ -3476,14 +3475,14 @@ msgid "" "still available in Python 2.6 for backward compatibility. (:issue:`1629`)" msgstr "" -#: whatsnew/2.6.rst:3092 +#: whatsnew/2.6.rst:3091 msgid "" "Distutils now places C extensions it builds in a different directory when " "running on a debug version of Python. (Contributed by Collin Winter; :issue:" "`1530959`.)" msgstr "" -#: whatsnew/2.6.rst:3096 +#: whatsnew/2.6.rst:3095 msgid "" "Several basic data types, such as integers and strings, maintain internal " "free lists of objects that can be re-used. The data structures for these " @@ -3492,7 +3491,7 @@ msgid "" "``Py_MAXFREELIST`` is always defined." msgstr "" -#: whatsnew/2.6.rst:3103 +#: whatsnew/2.6.rst:3102 msgid "" "A new Makefile target, \"make patchcheck\", prepares the Python source tree " "for making a patch: it fixes trailing whitespace in all modified ``.py`` " @@ -3501,7 +3500,7 @@ msgid "" "(Contributed by Brett Cannon.)" msgstr "" -#: whatsnew/2.6.rst:3110 +#: whatsnew/2.6.rst:3109 msgid "" "Another new target, \"make profile-opt\", compiles a Python binary using " "GCC's profile-guided optimization. It compiles Python with profiling " @@ -3510,17 +3509,17 @@ msgid "" "Smith.)" msgstr "" -#: whatsnew/2.6.rst:3119 +#: whatsnew/2.6.rst:3118 msgid "Port-Specific Changes: Windows" msgstr "" -#: whatsnew/2.6.rst:3121 +#: whatsnew/2.6.rst:3120 msgid "" "The support for Windows 95, 98, ME and NT4 has been dropped. Python 2.6 " "requires at least Windows 2000 SP4." msgstr "" -#: whatsnew/2.6.rst:3124 +#: whatsnew/2.6.rst:3123 msgid "" "The new default compiler on Windows is Visual Studio 2008 (version 9.0). The " "build directories for Visual Studio 2003 (version 7.1) and 2005 (version " @@ -3531,7 +3530,7 @@ msgid "" "Martin von Löwis.)" msgstr "" -#: whatsnew/2.6.rst:3132 +#: whatsnew/2.6.rst:3131 msgid "" "The :mod:`msvcrt` module now supports both the normal and wide char variants " "of the console I/O API. The :func:`~msvcrt.getwch` function reads a " @@ -3540,21 +3539,21 @@ msgid "" "writes it to the console. (Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:3139 +#: whatsnew/2.6.rst:3138 msgid "" ":func:`os.path.expandvars` will now expand environment variables in the form " "\"%var%\", and \"~user\" will be expanded into the user's home directory " "path. (Contributed by Josiah Carlson; :issue:`957650`.)" msgstr "" -#: whatsnew/2.6.rst:3143 +#: whatsnew/2.6.rst:3142 msgid "" "The :mod:`socket` module's socket objects now have an :meth:`~socket.socket." "ioctl` method that provides a limited interface to the :c:func:`WSAIoctl` " "system interface." msgstr "" -#: whatsnew/2.6.rst:3147 +#: whatsnew/2.6.rst:3146 msgid "" "The :mod:`_winreg ` module now has a function, :func:`~winreg." "ExpandEnvironmentStrings`, that expands environment variable references such " @@ -3563,7 +3562,7 @@ msgid "" "`with` statements. (Contributed by Christian Heimes.)" msgstr "" -#: whatsnew/2.6.rst:3154 +#: whatsnew/2.6.rst:3153 msgid "" ":mod:`_winreg ` also has better support for x64 systems, exposing " "the :func:`~winreg.DisableReflectionKey`, :func:`~winreg." @@ -3572,7 +3571,7 @@ msgid "" "64-bit systems. (:issue:`1753245`)" msgstr "" -#: whatsnew/2.6.rst:3160 +#: whatsnew/2.6.rst:3159 msgid "" "The :mod:`msilib` module's :class:`!Record` object gained :meth:`~msilib." "Record.GetInteger` and :meth:`~msilib.Record.GetString` methods that return " @@ -3580,25 +3579,25 @@ msgid "" "issue:`2125`.)" msgstr "" -#: whatsnew/2.6.rst:3168 +#: whatsnew/2.6.rst:3167 msgid "Port-Specific Changes: Mac OS X" msgstr "" -#: whatsnew/2.6.rst:3170 +#: whatsnew/2.6.rst:3169 msgid "" "When compiling a framework build of Python, you can now specify the " "framework name to be used by providing the :option:`!--with-framework-name=` " "option to the :program:`configure` script." msgstr "" -#: whatsnew/2.6.rst:3175 +#: whatsnew/2.6.rst:3174 msgid "" "The :mod:`!macfs` module has been removed. This in turn required the :func:" "`!macostools.touched` function to be removed because it depended on the :mod:" "`!macfs` module. (:issue:`1490190`)" msgstr "" -#: whatsnew/2.6.rst:3179 +#: whatsnew/2.6.rst:3178 msgid "" "Many other Mac OS modules have been deprecated and will be removed in Python " "3.0: :mod:`!_builtinSuites`, :mod:`!aepack`, :mod:`!aetools`, :mod:`!" @@ -3613,11 +3612,11 @@ msgid "" "mod:`!SystemEvents`, :mod:`!Terminal`, and :mod:`!terminalcommand`." msgstr "" -#: whatsnew/2.6.rst:3222 +#: whatsnew/2.6.rst:3221 msgid "Port-Specific Changes: IRIX" msgstr "" -#: whatsnew/2.6.rst:3224 +#: whatsnew/2.6.rst:3223 msgid "" "A number of old IRIX-specific modules were deprecated and will be removed in " "Python 3.0: :mod:`!al` and :mod:`!AL`, :mod:`!cd`, :mod:`!cddb`, :mod:`!" @@ -3628,30 +3627,30 @@ msgid "" "`!torgb`, :mod:`!videoreader`, and :mod:`!WAIT`." msgstr "" -#: whatsnew/2.6.rst:3254 +#: whatsnew/2.6.rst:3253 msgid "Porting to Python 2.6" msgstr "" -#: whatsnew/2.6.rst:3256 +#: whatsnew/2.6.rst:3255 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code:" msgstr "" -#: whatsnew/2.6.rst:3259 +#: whatsnew/2.6.rst:3258 msgid "" "Classes that aren't supposed to be hashable should set ``__hash__ = None`` " "in their definitions to indicate the fact." msgstr "" -#: whatsnew/2.6.rst:3266 +#: whatsnew/2.6.rst:3265 msgid "" "The :meth:`__init__` method of :class:`collections.deque` now clears any " "existing contents of the deque before adding elements from the iterable. " "This change makes the behavior match ``list.__init__()``." msgstr "" -#: whatsnew/2.6.rst:3271 +#: whatsnew/2.6.rst:3270 msgid "" ":meth:`object.__init__` previously accepted arbitrary arguments and keyword " "arguments, ignoring them. In Python 2.6, this is no longer allowed and will " @@ -3660,7 +3659,7 @@ msgid "" "through using :func:`super`). See :issue:`1683368` for discussion." msgstr "" -#: whatsnew/2.6.rst:3278 +#: whatsnew/2.6.rst:3277 msgid "" "The :class:`Decimal` constructor now accepts leading and trailing whitespace " "when passed a string. Previously it would raise an :exc:`InvalidOperation` " @@ -3669,7 +3668,7 @@ msgid "" "`ConversionSyntax` exception." msgstr "" -#: whatsnew/2.6.rst:3285 +#: whatsnew/2.6.rst:3284 msgid "" "Due to an implementation accident, if you passed a file path to the built-" "in :func:`__import__` function, it would actually import the specified " @@ -3677,20 +3676,20 @@ msgid "" "explicitly checks for this case and raises an :exc:`ImportError`." msgstr "" -#: whatsnew/2.6.rst:3291 +#: whatsnew/2.6.rst:3290 msgid "" "C API: the :c:func:`PyImport_Import` and :c:func:`PyImport_ImportModule` " "functions now default to absolute imports, not relative imports. This will " "affect C extensions that import other modules." msgstr "" -#: whatsnew/2.6.rst:3295 +#: whatsnew/2.6.rst:3294 msgid "" "C API: extension data types that shouldn't be hashable should define their " "``tp_hash`` slot to :c:func:`PyObject_HashNotImplemented`." msgstr "" -#: whatsnew/2.6.rst:3299 +#: whatsnew/2.6.rst:3298 msgid "" "The :mod:`socket` module exception :exc:`socket.error` now inherits from :" "exc:`IOError`. Previously it wasn't a subclass of :exc:`StandardError` but " @@ -3698,7 +3697,7 @@ msgid "" "`1706815`.)" msgstr "" -#: whatsnew/2.6.rst:3304 +#: whatsnew/2.6.rst:3303 msgid "" "The :mod:`xmlrpclib ` module no longer automatically " "converts :class:`datetime.date` and :class:`datetime.time` to the :class:" @@ -3708,32 +3707,32 @@ msgid "" "instances. (:issue:`1330538`)" msgstr "" -#: whatsnew/2.6.rst:3311 +#: whatsnew/2.6.rst:3310 msgid "" "(3.0-warning mode) The :class:`Exception` class now warns when accessed " "using slicing or index access; having :class:`Exception` behave like a tuple " "is being phased out." msgstr "" -#: whatsnew/2.6.rst:3315 +#: whatsnew/2.6.rst:3314 msgid "" "(3.0-warning mode) inequality comparisons between two dictionaries or two " "objects that don't implement comparison methods are reported as warnings. " "``dict1 == dict2`` still works, but ``dict1 < dict2`` is being phased out." msgstr "" -#: whatsnew/2.6.rst:3320 +#: whatsnew/2.6.rst:3319 msgid "" "Comparisons between cells, which are an implementation detail of Python's " "scoping rules, also cause warnings because such comparisons are forbidden " "entirely in 3.0." msgstr "" -#: whatsnew/2.6.rst:3324 +#: whatsnew/2.6.rst:3323 msgid "For applications that embed Python:" msgstr "" -#: whatsnew/2.6.rst:3326 +#: whatsnew/2.6.rst:3325 msgid "" "The :c:func:`!PySys_SetArgvEx` function was added in Python 2.6.6, letting " "applications close a security hole when the existing :c:func:`!" @@ -3742,11 +3741,11 @@ msgid "" "using :c:func:`!PySys_SetArgvEx` with *updatepath* set to false." msgstr "" -#: whatsnew/2.6.rst:3339 +#: whatsnew/2.6.rst:3338 msgid "Acknowledgements" msgstr "" -#: whatsnew/2.6.rst:3341 +#: whatsnew/2.6.rst:3340 msgid "" "The author would like to thank the following people for offering " "suggestions, corrections and assistance with various drafts of this article: " diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index 6e748f03f..f472c8177 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -364,7 +364,7 @@ msgid "" "tools like `PyYAML `_." msgstr "" -#: whatsnew/2.7.rst:307 +#: whatsnew/2.7.rst:306 msgid ":pep:`372` - Adding an ordered dictionary to collections" msgstr "" @@ -479,7 +479,7 @@ msgid "" "``'-'`` means standard input or output." msgstr "" -#: whatsnew/2.7.rst:438 +#: whatsnew/2.7.rst:437 msgid ":mod:`argparse` documentation" msgstr "" @@ -487,7 +487,7 @@ msgstr "" msgid "The documentation page of the argparse module." msgstr "" -#: whatsnew/2.7.rst:442 +#: whatsnew/2.7.rst:440 msgid ":ref:`upgrading-optparse-code`" msgstr "" @@ -627,7 +627,7 @@ msgid "" "meth:`~dict.items` methods." msgstr "" -#: whatsnew/2.7.rst:606 +#: whatsnew/2.7.rst:605 msgid ":pep:`3106` - Revamping dict.keys(), .values() and .items()" msgstr "" @@ -659,7 +659,7 @@ msgid "" "mutable object." msgstr "" -#: whatsnew/2.7.rst:666 +#: whatsnew/2.7.rst:664 msgid ":pep:`3137` - Immutable Bytes and Mutable Buffer" msgstr "" @@ -878,7 +878,7 @@ msgid "" "George Sakkis; :issue:`5982`.)" msgstr "" -#: whatsnew/2.7.rst:2468 +#: whatsnew/2.7.rst:2466 msgid "" "When a restricted set of attributes were set using ``__slots__``, deleting " "an unset attribute would not raise :exc:`AttributeError` as you would " @@ -1282,7 +1282,7 @@ msgid "" "types. (Changed by Mark Dickinson; :issue:`6857`.)" msgstr "" -#: whatsnew/2.7.rst:2486 +#: whatsnew/2.7.rst:2484 msgid "" "Comparisons involving a signaling NaN value (or ``sNAN``) now signal :const:" "`~decimal.InvalidOperation` instead of silently returning a true or false " @@ -1783,7 +1783,7 @@ msgid "" "Hylton.)" msgstr "" -#: whatsnew/2.7.rst:2502 +#: whatsnew/2.7.rst:2500 msgid "" "The :mod:`syslog` module will now use the value of ``sys.argv[0]`` as the " "identifier instead of the previous default value of ``'python'``. (Changed " @@ -1806,7 +1806,7 @@ msgid "" "(Contributed by Brian Curtin; :issue:`7766`.)" msgstr "" -#: whatsnew/2.7.rst:2506 +#: whatsnew/2.7.rst:2504 msgid "" "The :mod:`tarfile` module's default error handling has changed, to no longer " "suppress fatal errors. The default error level was previously 0, which " @@ -1850,7 +1850,7 @@ msgid "" "Florent Xicluna; :issue:`8024`)." msgstr "" -#: whatsnew/2.7.rst:2514 +#: whatsnew/2.7.rst:2512 msgid "" "The :mod:`urlparse ` module's :func:`~urllib.parse.urlsplit` " "now handles unknown URL schemes in a fashion compliant with :rfc:`3986`: if " @@ -1860,11 +1860,11 @@ msgid "" "behaviour. For example, Python 2.6.4 or 2.5 will return the following:" msgstr "" -#: whatsnew/2.7.rst:2529 +#: whatsnew/2.7.rst:2527 msgid "Python 2.7 (and Python 2.6.5) will return:" msgstr "" -#: whatsnew/2.7.rst:2538 +#: whatsnew/2.7.rst:2536 msgid "" "(Python 2.7 actually produces slightly different output, since it returns a " "named tuple instead of a standard tuple.)" @@ -2070,10 +2070,10 @@ msgid "" "added. Most of these features were implemented by Michael Foord, unless " "otherwise noted. The enhanced version of the module is downloadable " "separately for use with Python versions 2.4 to 2.6, packaged as the :mod:`!" -"unittest2` package, from https://pypi.org/project/unittest2." +"unittest2` package, from :pypi:`unittest2`." msgstr "" -#: whatsnew/2.7.rst:1837 +#: whatsnew/2.7.rst:1836 msgid "" "When used from the command line, the module can automatically discover " "tests. It's not as fancy as `py.test `__ or `nose " @@ -2083,17 +2083,17 @@ msgid "" "files named ``test*.py``::" msgstr "" -#: whatsnew/2.7.rst:1846 +#: whatsnew/2.7.rst:1845 msgid "" "Consult the :mod:`unittest` module documentation for more details. " "(Developed in :issue:`6001`.)" msgstr "" -#: whatsnew/2.7.rst:1849 +#: whatsnew/2.7.rst:1848 msgid "The :func:`~unittest.main` function supports some other new options:" msgstr "" -#: whatsnew/2.7.rst:1851 +#: whatsnew/2.7.rst:1850 msgid "" ":option:`-b ` or :option:`!--buffer` will buffer the standard " "output and standard error streams during each test. If the test passes, any " @@ -2101,7 +2101,7 @@ msgid "" "displayed." msgstr "" -#: whatsnew/2.7.rst:1856 +#: whatsnew/2.7.rst:1855 msgid "" ":option:`-c ` or :option:`!--catch` will cause the control-C " "interrupt to be handled more gracefully. Instead of interrupting the test " @@ -2110,7 +2110,7 @@ msgid "" "impatient, a second press of control-C will cause an immediate interruption." msgstr "" -#: whatsnew/2.7.rst:1863 +#: whatsnew/2.7.rst:1862 msgid "" "This control-C handler tries to avoid causing problems when the code being " "tested or the tests being run have defined a signal handler of their own, by " @@ -2120,7 +2120,7 @@ msgid "" "disabled." msgstr "" -#: whatsnew/2.7.rst:1870 +#: whatsnew/2.7.rst:1869 msgid "" ":option:`-f ` or :option:`!--failfast` makes test execution " "stop immediately when a test fails instead of continuing to execute further " @@ -2128,20 +2128,20 @@ msgid "" "`8074`.)" msgstr "" -#: whatsnew/2.7.rst:1875 +#: whatsnew/2.7.rst:1874 msgid "" "The progress messages now show 'x' for expected failures and 'u' for " "unexpected successes when run in verbose mode. (Contributed by Benjamin " "Peterson.)" msgstr "" -#: whatsnew/2.7.rst:1879 +#: whatsnew/2.7.rst:1878 msgid "" "Test cases can raise the :exc:`~unittest.SkipTest` exception to skip a test " "(:issue:`1034053`)." msgstr "" -#: whatsnew/2.7.rst:1882 +#: whatsnew/2.7.rst:1881 msgid "" "The error messages for :meth:`~unittest.TestCase.assertEqual`, :meth:" "`~unittest.TestCase.assertTrue`, and :meth:`~unittest.TestCase.assertFalse` " @@ -2152,18 +2152,18 @@ msgid "" "`5663`.)" msgstr "" -#: whatsnew/2.7.rst:1889 +#: whatsnew/2.7.rst:1888 msgid "" "The :meth:`~unittest.TestCase.assertRaises` method now returns a context " "handler when called without providing a callable object to run. For " "example, you can write this::" msgstr "" -#: whatsnew/2.7.rst:1896 +#: whatsnew/2.7.rst:1895 msgid "(Implemented by Antoine Pitrou; :issue:`4444`.)" msgstr "" -#: whatsnew/2.7.rst:1900 +#: whatsnew/2.7.rst:1899 msgid "" "Module- and class-level setup and teardown fixtures are now supported. " "Modules can contain :func:`~unittest.setUpModule` and :func:`~unittest." @@ -2174,7 +2174,7 @@ msgid "" "case in a different module or class." msgstr "" -#: whatsnew/2.7.rst:1908 +#: whatsnew/2.7.rst:1907 msgid "" "The methods :meth:`~unittest.TestCase.addCleanup` and :meth:`~unittest." "TestCase.doCleanups` were added. :meth:`~unittest.TestCase.addCleanup` lets " @@ -2184,7 +2184,7 @@ msgid "" "simpler resource allocation and deallocation during tests (:issue:`5679`)." msgstr "" -#: whatsnew/2.7.rst:1916 +#: whatsnew/2.7.rst:1915 msgid "" "A number of new methods were added that provide more specialized tests. " "Many of these methods were written by Google engineers for use in their test " @@ -2192,21 +2192,21 @@ msgid "" "Python's version of :mod:`unittest`." msgstr "" -#: whatsnew/2.7.rst:1921 +#: whatsnew/2.7.rst:1920 msgid "" ":meth:`~unittest.TestCase.assertIsNone` and :meth:`~unittest.TestCase." "assertIsNotNone` take one expression and verify that the result is or is not " "``None``." msgstr "" -#: whatsnew/2.7.rst:1924 +#: whatsnew/2.7.rst:1923 msgid "" ":meth:`~unittest.TestCase.assertIs` and :meth:`~unittest.TestCase." "assertIsNot` take two values and check whether the two values evaluate to " "the same object or not. (Added by Michael Foord; :issue:`2578`.)" msgstr "" -#: whatsnew/2.7.rst:1928 +#: whatsnew/2.7.rst:1927 msgid "" ":meth:`~unittest.TestCase.assertIsInstance` and :meth:`~unittest.TestCase." "assertNotIsInstance` check whether the resulting object is an instance of a " @@ -2214,14 +2214,14 @@ msgid "" "issue:`7031`.)" msgstr "" -#: whatsnew/2.7.rst:1933 +#: whatsnew/2.7.rst:1932 msgid "" ":meth:`~unittest.TestCase.assertGreater`, :meth:`~unittest.TestCase." "assertGreaterEqual`, :meth:`~unittest.TestCase.assertLess`, and :meth:" "`~unittest.TestCase.assertLessEqual` compare two quantities." msgstr "" -#: whatsnew/2.7.rst:1937 +#: whatsnew/2.7.rst:1936 msgid "" ":meth:`~unittest.TestCase.assertMultiLineEqual` compares two strings, and if " "they're not equal, displays a helpful comparison that highlights the " @@ -2229,7 +2229,7 @@ msgid "" "Unicode strings are compared with :meth:`~unittest.TestCase.assertEqual`." msgstr "" -#: whatsnew/2.7.rst:1942 +#: whatsnew/2.7.rst:1941 msgid "" ":meth:`assertRegexpMatches() ` and :meth:" "`assertNotRegexpMatches() ` checks whether " @@ -2237,7 +2237,7 @@ msgid "" "expression provided as the second argument (:issue:`8038`)." msgstr "" -#: whatsnew/2.7.rst:1947 +#: whatsnew/2.7.rst:1946 msgid "" ":meth:`assertRaisesRegexp() ` checks " "whether a particular exception is raised, and then also checks that the " @@ -2245,25 +2245,25 @@ msgid "" "expression." msgstr "" -#: whatsnew/2.7.rst:1952 +#: whatsnew/2.7.rst:1951 msgid "" ":meth:`~unittest.TestCase.assertIn` and :meth:`~unittest.TestCase." "assertNotIn` tests whether *first* is or is not in *second*." msgstr "" -#: whatsnew/2.7.rst:1955 +#: whatsnew/2.7.rst:1954 msgid "" ":meth:`assertItemsEqual() ` tests " "whether two provided sequences contain the same elements." msgstr "" -#: whatsnew/2.7.rst:1958 +#: whatsnew/2.7.rst:1957 msgid "" ":meth:`~unittest.TestCase.assertSetEqual` compares whether two sets are " "equal, and only reports the differences between the sets in case of error." msgstr "" -#: whatsnew/2.7.rst:1961 +#: whatsnew/2.7.rst:1960 msgid "" "Similarly, :meth:`~unittest.TestCase.assertListEqual` and :meth:`~unittest." "TestCase.assertTupleEqual` compare the specified types and explain any " @@ -2274,7 +2274,7 @@ msgid "" "both sequences are of a particular type." msgstr "" -#: whatsnew/2.7.rst:1969 +#: whatsnew/2.7.rst:1968 msgid "" ":meth:`~unittest.TestCase.assertDictEqual` compares two dictionaries and " "reports the differences; it's now used by default when you compare two " @@ -2283,7 +2283,7 @@ msgid "" "*first* are found in *second*." msgstr "" -#: whatsnew/2.7.rst:1974 +#: whatsnew/2.7.rst:1973 msgid "" ":meth:`~unittest.TestCase.assertAlmostEqual` and :meth:`~unittest.TestCase." "assertNotAlmostEqual` test whether *first* and *second* are approximately " @@ -2292,14 +2292,14 @@ msgid "" "require the difference to be smaller than a supplied *delta* value." msgstr "" -#: whatsnew/2.7.rst:1980 +#: whatsnew/2.7.rst:1979 msgid "" ":meth:`~unittest.TestLoader.loadTestsFromName` properly honors the :attr:" "`~unittest.TestLoader.suiteClass` attribute of the :class:`~unittest." "TestLoader`. (Fixed by Mark Roddy; :issue:`6866`.)" msgstr "" -#: whatsnew/2.7.rst:1984 +#: whatsnew/2.7.rst:1983 msgid "" "A new hook lets you extend the :meth:`~unittest.TestCase.assertEqual` method " "to handle new data types. The :meth:`~unittest.TestCase." @@ -2311,7 +2311,7 @@ msgid "" "sequence comparison methods do." msgstr "" -#: whatsnew/2.7.rst:1993 +#: whatsnew/2.7.rst:1992 msgid "" ":func:`unittest.main` now takes an optional ``exit`` argument. If false, :" "func:`~unittest.main` doesn't call :func:`sys.exit`, allowing :func:" @@ -2319,7 +2319,7 @@ msgid "" "by J. Pablo Fernández; :issue:`3379`.)" msgstr "" -#: whatsnew/2.7.rst:1998 +#: whatsnew/2.7.rst:1997 msgid "" ":class:`~unittest.TestResult` has new :meth:`~unittest.TestResult." "startTestRun` and :meth:`~unittest.TestResult.stopTestRun` methods that are " @@ -2327,7 +2327,7 @@ msgid "" "Collins; :issue:`5728`.)" msgstr "" -#: whatsnew/2.7.rst:2002 +#: whatsnew/2.7.rst:2001 msgid "" "With all these changes, the :file:`unittest.py` was becoming awkwardly " "large, so the module was turned into a package and the code split into " @@ -2335,43 +2335,43 @@ msgid "" "imported or used." msgstr "" -#: whatsnew/2.7.rst:2010 +#: whatsnew/2.7.rst:2008 msgid "" "https://web.archive.org/web/20210619163128/http://www.voidspace.org.uk/" "python/articles/unittest2.shtml" msgstr "" -#: whatsnew/2.7.rst:2010 +#: whatsnew/2.7.rst:2009 msgid "" "Describes the new features, how to use them, and the rationale for various " "design decisions. (By Michael Foord.)" msgstr "" -#: whatsnew/2.7.rst:2016 +#: whatsnew/2.7.rst:2015 msgid "Updated module: ElementTree 1.3" msgstr "" -#: whatsnew/2.7.rst:2018 +#: whatsnew/2.7.rst:2017 msgid "" "The version of the ElementTree library included with Python was updated to " "version 1.3. Some of the new features are:" msgstr "" -#: whatsnew/2.7.rst:2021 +#: whatsnew/2.7.rst:2020 msgid "" "The various parsing functions now take a *parser* keyword argument giving " "an :class:`~xml.etree.ElementTree.XMLParser` instance that will be used. " "This makes it possible to override the file's internal encoding::" msgstr "" -#: whatsnew/2.7.rst:2028 +#: whatsnew/2.7.rst:2027 msgid "" "Errors in parsing XML now raise a :exc:`~xml.etree.ElementTree.ParseError` " "exception, whose instances have a :attr:`!position` attribute containing a " "(*line*, *column*) tuple giving the location of the problem." msgstr "" -#: whatsnew/2.7.rst:2032 +#: whatsnew/2.7.rst:2031 msgid "" "ElementTree's code for converting trees to a string has been significantly " "reworked, making it roughly twice as fast in many cases. The :meth:" @@ -2386,7 +2386,7 @@ msgid "" "a single element." msgstr "" -#: whatsnew/2.7.rst:2045 +#: whatsnew/2.7.rst:2044 msgid "" "Namespace handling has also been improved. All ``xmlns:`` " "declarations are now output on the root element, not scattered throughout " @@ -2396,7 +2396,7 @@ msgid "" "the true/false *xml_declaration* parameter to suppress the XML declaration." msgstr "" -#: whatsnew/2.7.rst:2053 +#: whatsnew/2.7.rst:2052 msgid "" "New :class:`~xml.etree.ElementTree.Element` method: :meth:`~xml.etree." "ElementTree.Element.extend` appends the items from a sequence to the " @@ -2404,7 +2404,7 @@ msgid "" "to move children from one element to another::" msgstr "" -#: whatsnew/2.7.rst:2070 +#: whatsnew/2.7.rst:2069 msgid "" "New :class:`~xml.etree.ElementTree.Element` method: :meth:`~xml.etree." "ElementTree.Element.iter` yields the children of the element as a " @@ -2414,14 +2414,14 @@ msgid "" "of children." msgstr "" -#: whatsnew/2.7.rst:2077 +#: whatsnew/2.7.rst:2076 msgid "" "New :class:`~xml.etree.ElementTree.Element` method: :meth:`~xml.etree." "ElementTree.Element.itertext` yields all chunks of text that are descendants " "of the element. For example::" msgstr "" -#: whatsnew/2.7.rst:2088 +#: whatsnew/2.7.rst:2087 msgid "" "Deprecated: using an element as a Boolean (i.e., ``if elem:``) would return " "true if the element had any children, or false if there were no children. " @@ -2431,7 +2431,7 @@ msgid "" "number of children, or ``elem is not None``." msgstr "" -#: whatsnew/2.7.rst:2096 +#: whatsnew/2.7.rst:2095 msgid "" "Fredrik Lundh develops ElementTree and produced the 1.3 version; you can " "read his article describing 1.3 at https://web.archive.org/" @@ -2440,15 +2440,15 @@ msgid "" "python-dev and in :issue:`6472`.)" msgstr "" -#: whatsnew/2.7.rst:2106 +#: whatsnew/2.7.rst:2105 msgid "Build and C API Changes" msgstr "" -#: whatsnew/2.7.rst:2108 +#: whatsnew/2.7.rst:2107 msgid "Changes to Python's build process and to the C API include:" msgstr "" -#: whatsnew/2.7.rst:2110 +#: whatsnew/2.7.rst:2109 msgid "" "The latest release of the GNU Debugger, GDB 7, can be `scripted using Python " "`_; discussed in :issue:`5753`, and fixed by " -"Antoine Pitrou." +"Security issue reported as :cve:`2008-5983`; discussed in :issue:`5753`, and " +"fixed by Antoine Pitrou." msgstr "" -#: whatsnew/2.7.rst:2185 +#: whatsnew/2.7.rst:2183 msgid "" "New macros: the Python header files now define the following macros: :c:" "macro:`Py_ISALNUM`, :c:macro:`Py_ISALPHA`, :c:macro:`Py_ISDIGIT`, :c:macro:" @@ -2567,7 +2566,7 @@ msgid "" "Eric Smith; :issue:`5793`.)" msgstr "" -#: whatsnew/2.7.rst:2203 +#: whatsnew/2.7.rst:2201 msgid "" "Removed function: :c:func:`!PyEval_CallObject` is now only available as a " "macro. A function version was being kept around to preserve ABI linking " @@ -2575,7 +2574,7 @@ msgid "" "(Removed by Antoine Pitrou; :issue:`8276`.)" msgstr "" -#: whatsnew/2.7.rst:2208 +#: whatsnew/2.7.rst:2206 msgid "" "New format codes: the :c:func:`!PyString_FromFormat`, :c:func:`!" "PyString_FromFormatV`, and :c:func:`PyErr_Format` functions now accept " @@ -2583,7 +2582,7 @@ msgid "" "types. (Contributed by Mark Dickinson; :issue:`7228`.)" msgstr "" -#: whatsnew/2.7.rst:2214 +#: whatsnew/2.7.rst:2212 msgid "" "The complicated interaction between threads and process forking has been " "changed. Previously, the child process created by :func:`os.fork` might " @@ -2595,7 +2594,7 @@ msgid "" "replicated, and the child process would no longer be able to perform imports." msgstr "" -#: whatsnew/2.7.rst:2224 +#: whatsnew/2.7.rst:2222 msgid "" "Python 2.7 acquires the import lock before performing an :func:`os.fork`, " "and will also clean up any locks created using the :mod:`threading` module. " @@ -2603,31 +2602,31 @@ msgid "" "themselves, will not benefit from this clean-up." msgstr "" -#: whatsnew/2.7.rst:2230 +#: whatsnew/2.7.rst:2228 msgid "(Fixed by Thomas Wouters; :issue:`1590864`.)" msgstr "" -#: whatsnew/2.7.rst:2232 +#: whatsnew/2.7.rst:2230 msgid "" "The :c:func:`Py_Finalize` function now calls the internal :func:`!threading." "_shutdown` function; this prevents some exceptions from being raised when an " "interpreter shuts down. (Patch by Adam Olsen; :issue:`1722344`.)" msgstr "" -#: whatsnew/2.7.rst:2237 +#: whatsnew/2.7.rst:2235 msgid "" "When using the :c:type:`PyMemberDef` structure to define attributes of a " "type, Python will no longer let you try to delete or set a :c:macro:" "`T_STRING_INPLACE` attribute." msgstr "" -#: whatsnew/2.7.rst:2243 +#: whatsnew/2.7.rst:2241 msgid "" "Global symbols defined by the :mod:`ctypes` module are now prefixed with " "``Py``, or with ``_ctypes``. (Implemented by Thomas Heller; :issue:`3102`.)" msgstr "" -#: whatsnew/2.7.rst:2247 +#: whatsnew/2.7.rst:2245 msgid "" "New configure option: the :option:`!--with-system-expat` switch allows " "building the :mod:`pyexpat ` module to use the system " @@ -2635,7 +2634,7 @@ msgid "" "`7609`.)" msgstr "" -#: whatsnew/2.7.rst:2251 +#: whatsnew/2.7.rst:2249 msgid "" "New configure option: the :option:`!--with-valgrind` option will now disable " "the pymalloc allocator, which is difficult for the Valgrind memory-error " @@ -2644,14 +2643,14 @@ msgid "" "issue:`2422`.)" msgstr "" -#: whatsnew/2.7.rst:2258 +#: whatsnew/2.7.rst:2256 msgid "" "New configure option: you can now supply an empty string to :option:`!--with-" "dbmliborder=` in order to disable all of the various DBM modules. (Added by " "Arfrever Frehtes Taifersar Arahesis; :issue:`6491`.)" msgstr "" -#: whatsnew/2.7.rst:2263 +#: whatsnew/2.7.rst:2261 msgid "" "The :program:`configure` script now checks for floating-point rounding bugs " "on certain 32-bit Intel chips and defines a :c:macro:`X87_DOUBLE_ROUNDING` " @@ -2660,30 +2659,30 @@ msgid "" "`2937`.)" msgstr "" -#: whatsnew/2.7.rst:2269 +#: whatsnew/2.7.rst:2267 msgid "" ":program:`configure` also now sets a :envvar:`LDCXXSHARED` Makefile variable " "for supporting C++ linking. (Contributed by Arfrever Frehtes Taifersar " "Arahesis; :issue:`1222585`.)" msgstr "" -#: whatsnew/2.7.rst:2273 +#: whatsnew/2.7.rst:2271 msgid "" "The build process now creates the necessary files for pkg-config support. " "(Contributed by Clinton Roy; :issue:`3585`.)" msgstr "" -#: whatsnew/2.7.rst:2276 +#: whatsnew/2.7.rst:2274 msgid "" "The build process now supports Subversion 1.7. (Contributed by Arfrever " "Frehtes Taifersar Arahesis; :issue:`6094`.)" msgstr "" -#: whatsnew/2.7.rst:2283 +#: whatsnew/2.7.rst:2281 msgid "Capsules" msgstr "" -#: whatsnew/2.7.rst:2285 +#: whatsnew/2.7.rst:2283 msgid "" "Python 3.1 adds a new C datatype, :c:type:`PyCapsule`, for providing a C API " "to an extension module. A capsule is essentially the holder of a C ``void " @@ -2695,7 +2694,7 @@ msgid "" "module's various API functions." msgstr "" -#: whatsnew/2.7.rst:2294 +#: whatsnew/2.7.rst:2292 msgid "" "There is an existing data type already used for this, :c:type:`!PyCObject`, " "but it doesn't provide type safety. Evil code written in pure Python could " @@ -2705,7 +2704,7 @@ msgid "" "name:" msgstr "" -#: whatsnew/2.7.rst:2312 +#: whatsnew/2.7.rst:2310 msgid "" "You are assured that ``vtable`` points to whatever you're expecting. If a " "different capsule was passed in, :c:func:`PyCapsule_IsValid` would detect " @@ -2713,7 +2712,7 @@ msgid "" "more information on using these objects." msgstr "" -#: whatsnew/2.7.rst:2317 +#: whatsnew/2.7.rst:2315 msgid "" "Python 2.7 now uses capsules internally to provide various extension-module " "APIs, but the :c:func:`!PyCObject_AsVoidPtr` was modified to handle " @@ -2722,17 +2721,17 @@ msgid "" "exc:`PendingDeprecationWarning`, which is silent by default." msgstr "" -#: whatsnew/2.7.rst:2324 +#: whatsnew/2.7.rst:2322 msgid "" "Implemented in Python 3.1 and backported to 2.7 by Larry Hastings; discussed " "in :issue:`5630`." msgstr "" -#: whatsnew/2.7.rst:2331 +#: whatsnew/2.7.rst:2329 msgid "Port-Specific Changes: Windows" msgstr "" -#: whatsnew/2.7.rst:2333 +#: whatsnew/2.7.rst:2331 msgid "" "The :mod:`msvcrt` module now contains some constants from the :file:" "`crtassem.h` header file: :data:`~msvcrt.CRT_ASSEMBLY_VERSION`, :data:" @@ -2741,7 +2740,7 @@ msgid "" "`4365`.)" msgstr "" -#: whatsnew/2.7.rst:2340 +#: whatsnew/2.7.rst:2338 msgid "" "The :mod:`_winreg ` module for accessing the registry now implements " "the :func:`~winreg.CreateKeyEx` and :func:`~winreg.DeleteKeyEx` functions, " @@ -2751,14 +2750,14 @@ msgid "" "tested and documented. (Implemented by Brian Curtin: :issue:`7347`.)" msgstr "" -#: whatsnew/2.7.rst:2348 +#: whatsnew/2.7.rst:2346 msgid "" "The new :c:func:`!_beginthreadex` API is used to start threads, and the " "native thread-local storage functions are now used. (Contributed by Kristján " "Valur Jónsson; :issue:`3582`.)" msgstr "" -#: whatsnew/2.7.rst:2352 +#: whatsnew/2.7.rst:2350 msgid "" "The :func:`os.kill` function now works on Windows. The signal value can be " "the constants :const:`~signal.CTRL_C_EVENT`, :const:`~signal." @@ -2768,23 +2767,23 @@ msgid "" "Miki Tebeka; :issue:`1220212`.)" msgstr "" -#: whatsnew/2.7.rst:2359 +#: whatsnew/2.7.rst:2357 msgid "" "The :func:`os.listdir` function now correctly fails for an empty path. " "(Fixed by Hirokazu Yamamoto; :issue:`5913`.)" msgstr "" -#: whatsnew/2.7.rst:2362 +#: whatsnew/2.7.rst:2360 msgid "" "The :mod:`mimetypes` module will now read the MIME database from the Windows " "registry when initializing. (Patch by Gabriel Genellina; :issue:`4969`.)" msgstr "" -#: whatsnew/2.7.rst:2369 +#: whatsnew/2.7.rst:2367 msgid "Port-Specific Changes: Mac OS X" msgstr "" -#: whatsnew/2.7.rst:2371 +#: whatsnew/2.7.rst:2369 msgid "" "The path ``/Library/Python/2.7/site-packages`` is now appended to ``sys." "path``, in order to share added packages between the system installation and " @@ -2792,7 +2791,7 @@ msgid "" "issue:`4865`.)" msgstr "" -#: whatsnew/2.7.rst:2378 +#: whatsnew/2.7.rst:2376 msgid "" "As of 2.7.13, this change was removed. ``/Library/Python/2.7/site-" "packages``, the site-packages directory used by the Apple-supplied system " @@ -2804,11 +2803,11 @@ msgid "" "Pythons. (:issue:`28440`)" msgstr "" -#: whatsnew/2.7.rst:2389 +#: whatsnew/2.7.rst:2387 msgid "Port-Specific Changes: FreeBSD" msgstr "" -#: whatsnew/2.7.rst:2391 +#: whatsnew/2.7.rst:2389 msgid "" "FreeBSD 7.1's :const:`!SO_SETFIB` constant, used with the :func:`~socket." "socket` methods :func:`~socket.socket.getsockopt`/:func:`~socket.socket." @@ -2816,11 +2815,11 @@ msgid "" "mod:`socket` module. (Added by Kyle VanderBeek; :issue:`8235`.)" msgstr "" -#: whatsnew/2.7.rst:2397 +#: whatsnew/2.7.rst:2395 msgid "Other Changes and Fixes" msgstr "" -#: whatsnew/2.7.rst:2399 +#: whatsnew/2.7.rst:2397 msgid "" "Two benchmark scripts, :file:`iobench` and :file:`ccbench`, were added to " "the :file:`Tools` directory. :file:`iobench` measures the speed of the " @@ -2830,13 +2829,13 @@ msgid "" "bandwidth when performing several tasks using a varying number of threads." msgstr "" -#: whatsnew/2.7.rst:2407 +#: whatsnew/2.7.rst:2405 msgid "" "The :file:`Tools/i18n/msgfmt.py` script now understands plural forms in :" "file:`.po` files. (Fixed by Martin von Löwis; :issue:`5464`.)" msgstr "" -#: whatsnew/2.7.rst:2411 +#: whatsnew/2.7.rst:2409 msgid "" "When importing a module from a :file:`.pyc` or :file:`.pyo` file with an " "existing :file:`.py` counterpart, the :attr:`~codeobject.co_filename` " @@ -2846,7 +2845,7 @@ msgid "" "Paul Calderone; :issue:`1180193`.)" msgstr "" -#: whatsnew/2.7.rst:2418 +#: whatsnew/2.7.rst:2416 msgid "" "The :file:`regrtest.py` script now takes a :option:`!--randseed=` switch " "that takes an integer that will be used as the random seed for the :option:" @@ -2854,7 +2853,7 @@ msgid "" "also reports the seed that was used (Added by Collin Winter.)" msgstr "" -#: whatsnew/2.7.rst:2424 +#: whatsnew/2.7.rst:2422 msgid "" "Another :file:`regrtest.py` switch is :option:`!-j`, which takes an integer " "specifying how many tests run in parallel. This allows reducing the total " @@ -2865,31 +2864,31 @@ msgid "" "they fail. (Added by Antoine Pitrou; :issue:`7312`.)" msgstr "" -#: whatsnew/2.7.rst:2433 +#: whatsnew/2.7.rst:2431 msgid "" "When executed as a script, the :file:`py_compile.py` module now accepts " "``'-'`` as an argument, which will read standard input for the list of " "filenames to be compiled. (Contributed by Piotr Ożarowski; :issue:`8233`.)" msgstr "" -#: whatsnew/2.7.rst:2441 +#: whatsnew/2.7.rst:2439 msgid "Porting to Python 2.7" msgstr "" -#: whatsnew/2.7.rst:2443 +#: whatsnew/2.7.rst:2441 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code:" msgstr "" -#: whatsnew/2.7.rst:2446 +#: whatsnew/2.7.rst:2444 msgid "" "The :func:`range` function processes its arguments more consistently; it " "will now call :meth:`~object.__int__` on non-float, non-integer arguments " "that are supplied to it. (Fixed by Alexander Belopolsky; :issue:`1533`.)" msgstr "" -#: whatsnew/2.7.rst:2451 +#: whatsnew/2.7.rst:2449 msgid "" "The string :meth:`format` method changed the default precision used for " "floating-point and complex numbers from 6 decimal places to 12, which " @@ -2897,7 +2896,7 @@ msgid "" "`5920`.)" msgstr "" -#: whatsnew/2.7.rst:2456 +#: whatsnew/2.7.rst:2454 msgid "" "Because of an optimization for the :keyword:`with` statement, the special " "methods :meth:`~object.__enter__` and :meth:`~object.__exit__` must belong " @@ -2906,7 +2905,7 @@ msgid "" "C extension types. (:issue:`6101`.)" msgstr "" -#: whatsnew/2.7.rst:2462 +#: whatsnew/2.7.rst:2460 msgid "" "Due to a bug in Python 2.6, the *exc_value* parameter to :meth:`~object." "__exit__` methods was often the string representation of the exception, not " @@ -2914,11 +2913,11 @@ msgid "" "expected. (Fixed by Florent Xicluna; :issue:`7853`.)" msgstr "" -#: whatsnew/2.7.rst:2472 +#: whatsnew/2.7.rst:2470 msgid "In the standard library:" msgstr "" -#: whatsnew/2.7.rst:2474 +#: whatsnew/2.7.rst:2472 msgid "" "Operations with :class:`~datetime.datetime` instances that resulted in a " "year falling outside the supported range didn't always raise :exc:" @@ -2927,7 +2926,7 @@ msgid "" "Alexander Belopolsky; :issue:`7150`.)" msgstr "" -#: whatsnew/2.7.rst:2480 +#: whatsnew/2.7.rst:2478 msgid "" "When using :class:`~decimal.Decimal` instances with a string's :meth:" "`format` method, the default alignment was previously left-alignment. This " @@ -2935,7 +2934,7 @@ msgid "" "programs. (Changed by Mark Dickinson; :issue:`6857`.)" msgstr "" -#: whatsnew/2.7.rst:2492 +#: whatsnew/2.7.rst:2490 msgid "" "The :mod:`xml.etree.ElementTree` library no longer escapes ampersands and " "angle brackets when outputting an XML processing instruction (which looks " @@ -2943,36 +2942,36 @@ msgid "" "````). (Patch by Neil Muller; :issue:`2746`.)" msgstr "" -#: whatsnew/2.7.rst:2498 +#: whatsnew/2.7.rst:2496 msgid "" "The :meth:`!readline` method of :class:`~io.StringIO` objects now does " "nothing when a negative length is requested, as other file-like objects do. " "(:issue:`7348`)." msgstr "" -#: whatsnew/2.7.rst:2541 +#: whatsnew/2.7.rst:2539 msgid "For C extensions:" msgstr "" -#: whatsnew/2.7.rst:2543 +#: whatsnew/2.7.rst:2541 msgid "" "C extensions that use integer format codes with the ``PyArg_Parse*`` family " "of functions will now raise a :exc:`TypeError` exception instead of " "triggering a :exc:`DeprecationWarning` (:issue:`5080`)." msgstr "" -#: whatsnew/2.7.rst:2547 +#: whatsnew/2.7.rst:2545 msgid "" "Use the new :c:func:`PyOS_string_to_double` function instead of the old :c:" "func:`!PyOS_ascii_strtod` and :c:func:`!PyOS_ascii_atof` functions, which " "are now deprecated." msgstr "" -#: whatsnew/2.7.rst:2551 +#: whatsnew/2.7.rst:2549 msgid "For applications that embed Python:" msgstr "" -#: whatsnew/2.7.rst:2553 +#: whatsnew/2.7.rst:2551 msgid "" "The :c:func:`PySys_SetArgvEx` function was added, letting applications close " "a security hole when the existing :c:func:`PySys_SetArgv` function was " @@ -2981,11 +2980,11 @@ msgid "" "with *updatepath* set to false." msgstr "" -#: whatsnew/2.7.rst:2566 +#: whatsnew/2.7.rst:2564 msgid "New Features Added to Python 2.7 Maintenance Releases" msgstr "" -#: whatsnew/2.7.rst:2568 +#: whatsnew/2.7.rst:2566 msgid "" "New features may be added to Python 2.7 maintenance releases when the " "situation genuinely calls for it. Any such additions must go through the " @@ -2994,25 +2993,25 @@ msgid "" "Python 3, or else by publishing it on the Python Package Index." msgstr "" -#: whatsnew/2.7.rst:2574 +#: whatsnew/2.7.rst:2572 msgid "" "In addition to the specific proposals listed below, there is a general " "exemption allowing new ``-3`` warnings to be added in any Python 2.7 " "maintenance release." msgstr "" -#: whatsnew/2.7.rst:2580 +#: whatsnew/2.7.rst:2578 msgid "Two new environment variables for debug mode" msgstr "" -#: whatsnew/2.7.rst:2582 +#: whatsnew/2.7.rst:2580 msgid "" "In debug mode, the ``[xxx refs]`` statistic is not written by default, the :" "envvar:`!PYTHONSHOWREFCOUNT` environment variable now must also be set. " "(Contributed by Victor Stinner; :issue:`31733`.)" msgstr "" -#: whatsnew/2.7.rst:2586 +#: whatsnew/2.7.rst:2584 msgid "" "When Python is compiled with ``COUNT_ALLOC`` defined, allocation counts are " "no longer dumped by default anymore: the :envvar:`!PYTHONSHOWALLOCCOUNT` " @@ -3021,11 +3020,11 @@ msgid "" "issue:`31692`.)" msgstr "" -#: whatsnew/2.7.rst:2595 +#: whatsnew/2.7.rst:2593 msgid "PEP 434: IDLE Enhancement Exception for All Branches" msgstr "" -#: whatsnew/2.7.rst:2597 +#: whatsnew/2.7.rst:2595 msgid "" ":pep:`434` describes a general exemption for changes made to the IDLE " "development environment shipped along with Python. This exemption makes it " @@ -3033,62 +3032,63 @@ msgid "" "experience across all supported versions of Python 2 and 3." msgstr "" -#: whatsnew/2.7.rst:2602 +#: whatsnew/2.7.rst:2600 msgid "" "For details of any IDLE changes, refer to the NEWS file for the specific " "release." msgstr "" -#: whatsnew/2.7.rst:2607 +#: whatsnew/2.7.rst:2605 msgid "PEP 466: Network Security Enhancements for Python 2.7" msgstr "" -#: whatsnew/2.7.rst:2609 +#: whatsnew/2.7.rst:2607 msgid "" ":pep:`466` describes a number of network security enhancement proposals that " "have been approved for inclusion in Python 2.7 maintenance releases, with " "the first of those changes appearing in the Python 2.7.7 release." msgstr "" -#: whatsnew/2.7.rst:2613 +#: whatsnew/2.7.rst:2611 msgid ":pep:`466` related features added in Python 2.7.7:" msgstr "" -#: whatsnew/2.7.rst:2615 +#: whatsnew/2.7.rst:2613 msgid "" ":func:`hmac.compare_digest` was backported from Python 3 to make a timing " "attack resistant comparison operation available to Python 2 applications. " "(Contributed by Alex Gaynor; :issue:`21306`.)" msgstr "" -#: whatsnew/2.7.rst:2619 +#: whatsnew/2.7.rst:2617 msgid "" "OpenSSL 1.0.1g was upgraded in the official Windows installers published on " "python.org. (Contributed by Zachary Ware; :issue:`21462`.)" msgstr "" -#: whatsnew/2.7.rst:2622 +#: whatsnew/2.7.rst:2620 msgid ":pep:`466` related features added in Python 2.7.8:" msgstr "" -#: whatsnew/2.7.rst:2624 +#: whatsnew/2.7.rst:2622 msgid "" ":func:`hashlib.pbkdf2_hmac` was backported from Python 3 to make a hashing " "algorithm suitable for secure password storage broadly available to Python 2 " "applications. (Contributed by Alex Gaynor; :issue:`21304`.)" msgstr "" -#: whatsnew/2.7.rst:2628 +#: whatsnew/2.7.rst:2626 msgid "" "OpenSSL 1.0.1h was upgraded for the official Windows installers published on " -"python.org. (contributed by Zachary Ware in :issue:`21671` for CVE-2014-0224)" +"python.org. (Contributed by Zachary Ware in :issue:`21671` for :cve:" +"`2014-0224`.)" msgstr "" -#: whatsnew/2.7.rst:2631 +#: whatsnew/2.7.rst:2629 msgid ":pep:`466` related features added in Python 2.7.9:" msgstr "" -#: whatsnew/2.7.rst:2633 +#: whatsnew/2.7.rst:2631 msgid "" "Most of Python 3.4's :mod:`ssl` module was backported. This means :mod:`ssl` " "now supports Server Name Indication, TLS1.x settings, access to the platform " @@ -3096,20 +3096,20 @@ msgid "" "(Contributed by Alex Gaynor and David Reid; :issue:`21308`.)" msgstr "" -#: whatsnew/2.7.rst:2638 +#: whatsnew/2.7.rst:2636 msgid "" "Refer to the \"Version added: 2.7.9\" notes in the module documentation for " "specific details." msgstr "" -#: whatsnew/2.7.rst:2641 +#: whatsnew/2.7.rst:2639 msgid "" ":func:`os.urandom` was changed to cache a file descriptor to ``/dev/" "urandom`` instead of reopening ``/dev/urandom`` on every call. (Contributed " "by Alex Gaynor; :issue:`21305`.)" msgstr "" -#: whatsnew/2.7.rst:2645 +#: whatsnew/2.7.rst:2643 msgid "" ":data:`hashlib.algorithms_guaranteed` and :data:`hashlib." "algorithms_available` were backported from Python 3 to make it easier for " @@ -3117,22 +3117,22 @@ msgid "" "(Contributed by Alex Gaynor in :issue:`21307`)" msgstr "" -#: whatsnew/2.7.rst:2652 +#: whatsnew/2.7.rst:2650 msgid "PEP 477: Backport ensurepip (PEP 453) to Python 2.7" msgstr "" -#: whatsnew/2.7.rst:2654 +#: whatsnew/2.7.rst:2652 msgid "" ":pep:`477` approves the inclusion of the :pep:`453` ensurepip module and the " "improved documentation that was enabled by it in the Python 2.7 maintenance " "releases, appearing first in the Python 2.7.9 release." msgstr "" -#: whatsnew/2.7.rst:2660 +#: whatsnew/2.7.rst:2658 msgid "Bootstrapping pip By Default" msgstr "" -#: whatsnew/2.7.rst:2662 +#: whatsnew/2.7.rst:2660 msgid "" "The new :mod:`ensurepip` module (defined in :pep:`453`) provides a standard " "cross-platform mechanism to bootstrap the pip installer into Python " @@ -3142,14 +3142,14 @@ msgid "" "the release candidate." msgstr "" -#: whatsnew/2.7.rst:2669 +#: whatsnew/2.7.rst:2667 msgid "" "By default, the commands ``pip``, ``pipX`` and ``pipX.Y`` will be installed " "on all platforms (where X.Y stands for the version of the Python " "installation), along with the ``pip`` Python package and its dependencies." msgstr "" -#: whatsnew/2.7.rst:2673 +#: whatsnew/2.7.rst:2671 msgid "" "For CPython :ref:`source builds on POSIX systems `, " "the ``make install`` and ``make altinstall`` commands do not bootstrap " @@ -3157,7 +3157,7 @@ msgid "" "options, and overridden through Makefile options." msgstr "" -#: whatsnew/2.7.rst:2678 +#: whatsnew/2.7.rst:2676 msgid "" "On Windows and Mac OS X, the CPython installers now default to installing " "``pip`` along with CPython itself (users may opt out of installing it during " @@ -3167,7 +3167,7 @@ msgid "" "Windows as ``py -m pip``." msgstr "" -#: whatsnew/2.7.rst:2685 +#: whatsnew/2.7.rst:2683 msgid "" "As `discussed in the PEP`__, platform packagers may choose not to install " "these commands by default, as long as, when invoked, they provide clear and " @@ -3175,11 +3175,11 @@ msgid "" "system package manager)." msgstr "" -#: whatsnew/2.7.rst:2694 +#: whatsnew/2.7.rst:2692 msgid "Documentation Changes" msgstr "" -#: whatsnew/2.7.rst:2696 +#: whatsnew/2.7.rst:2694 msgid "" "As part of this change, the :ref:`installing-index` and :ref:`distributing-" "index` sections of the documentation have been completely redesigned as " @@ -3189,29 +3189,29 @@ msgid "" "of the individual projects." msgstr "" -#: whatsnew/2.7.rst:2704 +#: whatsnew/2.7.rst:2702 msgid "" "However, as this migration is currently still incomplete, the legacy " "versions of those guides remaining available as :ref:`install-index` and :" "ref:`setuptools-index`." msgstr "" -#: whatsnew/2.7.rst:2711 +#: whatsnew/2.7.rst:2708 msgid ":pep:`453` -- Explicit bootstrapping of pip in Python installations" msgstr "" -#: whatsnew/2.7.rst:2711 +#: whatsnew/2.7.rst:2709 msgid "" "PEP written by Donald Stufft and Nick Coghlan, implemented by Donald Stufft, " "Nick Coghlan, Martin von Löwis and Ned Deily." msgstr "" -#: whatsnew/2.7.rst:2715 +#: whatsnew/2.7.rst:2713 msgid "" "PEP 476: Enabling certificate verification by default for stdlib http clients" msgstr "" -#: whatsnew/2.7.rst:2717 +#: whatsnew/2.7.rst:2715 msgid "" ":pep:`476` updated :mod:`httplib ` and modules which use it, such as :" "mod:`urllib2 ` and :mod:`xmlrpclib `, to now " @@ -3221,17 +3221,17 @@ msgid "" "for many applications. This change was made in the Python 2.7.9 release." msgstr "" -#: whatsnew/2.7.rst:2725 +#: whatsnew/2.7.rst:2723 msgid "" "For applications which require the old previous behavior, they can pass an " "alternate context::" msgstr "" -#: whatsnew/2.7.rst:2742 +#: whatsnew/2.7.rst:2740 msgid "PEP 493: HTTPS verification migration tools for Python 2.7" msgstr "" -#: whatsnew/2.7.rst:2744 +#: whatsnew/2.7.rst:2742 msgid "" ":pep:`493` provides additional migration tools to support a more incremental " "infrastructure upgrade process for environments containing applications and " @@ -3240,14 +3240,14 @@ msgid "" "were made in the Python 2.7.12 release." msgstr "" -#: whatsnew/2.7.rst:2750 +#: whatsnew/2.7.rst:2748 msgid "" "These tools are intended for use in cases where affected applications and " "services can't be modified to explicitly pass a more permissive SSL context " "when establishing the connection." msgstr "" -#: whatsnew/2.7.rst:2754 +#: whatsnew/2.7.rst:2752 msgid "" "For applications and services which can't be modified at all, the new " "``PYTHONHTTPSVERIFY`` environment variable may be set to ``0`` to revert an " @@ -3255,18 +3255,18 @@ msgid "" "2.7.8 and earlier." msgstr "" -#: whatsnew/2.7.rst:2759 +#: whatsnew/2.7.rst:2757 msgid "" "For cases where the connection establishment code can't be modified, but the " "overall application can be, the new :func:`!ssl._https_verify_certificates` " "function can be used to adjust the default behaviour at runtime." msgstr "" -#: whatsnew/2.7.rst:2765 +#: whatsnew/2.7.rst:2763 msgid "New ``make regen-all`` build target" msgstr "" -#: whatsnew/2.7.rst:2767 +#: whatsnew/2.7.rst:2765 msgid "" "To simplify cross-compilation, and to ensure that CPython can reliably be " "compiled without requiring an existing version of Python to already be " @@ -3274,43 +3274,43 @@ msgid "" "recompile generated files based on file modification times." msgstr "" -#: whatsnew/2.7.rst:2772 +#: whatsnew/2.7.rst:2770 msgid "" "Instead, a new ``make regen-all`` command has been added to force " "regeneration of these files when desired (e.g. after an initial version of " "Python has already been built based on the pregenerated versions)." msgstr "" -#: whatsnew/2.7.rst:2776 +#: whatsnew/2.7.rst:2774 msgid "" "More selective regeneration targets are also defined - see :source:`Makefile." "pre.in` for details." msgstr "" -#: whatsnew/2.7.rst:2792 +#: whatsnew/2.7.rst:2790 msgid "(Contributed by Victor Stinner in :issue:`23404`.)" msgstr "" -#: whatsnew/2.7.rst:2785 +#: whatsnew/2.7.rst:2783 msgid "Removal of ``make touch`` build target" msgstr "" -#: whatsnew/2.7.rst:2787 +#: whatsnew/2.7.rst:2785 msgid "" "The ``make touch`` build target previously used to request implicit " "regeneration of generated files by updating their modification times has " "been removed." msgstr "" -#: whatsnew/2.7.rst:2790 +#: whatsnew/2.7.rst:2788 msgid "It has been replaced by the new ``make regen-all`` target." msgstr "" -#: whatsnew/2.7.rst:2801 +#: whatsnew/2.7.rst:2799 msgid "Acknowledgements" msgstr "" -#: whatsnew/2.7.rst:2803 +#: whatsnew/2.7.rst:2801 msgid "" "The author would like to thank the following people for offering " "suggestions, corrections and assistance with various drafts of this article: " diff --git a/whatsnew/3.1.po b/whatsnew/3.1.po index cd98a2575..afee6bea8 100644 --- a/whatsnew/3.1.po +++ b/whatsnew/3.1.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -69,7 +69,7 @@ msgid "" "`_." msgstr "" -#: whatsnew/3.1.rst:80 +#: whatsnew/3.1.rst:79 msgid ":pep:`372` - Ordered Dictionaries" msgstr "" @@ -118,7 +118,7 @@ msgid "" "thousands separators." msgstr "" -#: whatsnew/3.1.rst:134 +#: whatsnew/3.1.rst:133 msgid ":pep:`378` - Format Specifier for Thousands Separator" msgstr "" diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index 22af9c93e..b212a82fb 100644 --- a/whatsnew/3.10.po +++ b/whatsnew/3.10.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -305,7 +305,7 @@ msgstr "" #: whatsnew/3.10.rst:355 msgid "" -"When printing :exc:`AttributeError`, :c:func:`PyErr_Display` will offer " +"When printing :exc:`AttributeError`, :c:func:`!PyErr_Display` will offer " "suggestions of similar attribute names in the object that the exception was " "raised from:" msgstr "" @@ -316,7 +316,7 @@ msgstr "" #: whatsnew/3.10.rst:369 msgid "" -"Notice this won't work if :c:func:`PyErr_Display` is not called to display " +"Notice this won't work if :c:func:`!PyErr_Display` is not called to display " "the error which can happen if some other custom error display function is " "used. This is a common scenario in some REPLs like IPython." msgstr "" @@ -327,14 +327,14 @@ msgstr "" #: whatsnew/3.10.rst:376 msgid "" -"When printing :exc:`NameError` raised by the interpreter, :c:func:" -"`PyErr_Display` will offer suggestions of similar variable names in the " +"When printing :exc:`NameError` raised by the interpreter, :c:func:`!" +"PyErr_Display` will offer suggestions of similar variable names in the " "function that the exception was raised from:" msgstr "" #: whatsnew/3.10.rst:391 msgid "" -"Notice this won't work if :c:func:`PyErr_Display` is not called to display " +"Notice this won't work if :c:func:`!PyErr_Display` is not called to display " "the error, which can happen if some other custom error display function is " "used. This is a common scenario in some REPLs like IPython." msgstr "" @@ -649,10 +649,10 @@ msgstr "" #: whatsnew/3.10.rst:693 msgid "" -"The default encoding of :class:`TextIOWrapper` and :func:`open` is platform " -"and locale dependent. Since UTF-8 is used on most Unix platforms, omitting " -"``encoding`` option when opening UTF-8 files (e.g. JSON, YAML, TOML, " -"Markdown) is a very common bug. For example::" +"The default encoding of :class:`~io.TextIOWrapper` and :func:`open` is " +"platform and locale dependent. Since UTF-8 is used on most Unix platforms, " +"omitting ``encoding`` option when opening UTF-8 files (e.g. JSON, YAML, " +"TOML, Markdown) is a very common bug. For example::" msgstr "" #: whatsnew/3.10.rst:702 @@ -774,8 +774,8 @@ msgstr "" #: whatsnew/3.10.rst:788 msgid "" -"Now the :mod:`typing` module has a special value :data:`TypeAlias` which " -"lets you declare type aliases more explicitly::" +"Now the :mod:`typing` module has a special value :data:`~typing.TypeAlias` " +"which lets you declare type aliases more explicitly::" msgstr "" #: whatsnew/3.10.rst:794 @@ -792,10 +792,10 @@ msgstr "" #: whatsnew/3.10.rst:801 msgid "" -":data:`TypeGuard` has been added to the :mod:`typing` module to annotate " -"type guard functions and improve information provided to static type " -"checkers during type narrowing. For more information, please see :data:" -"`TypeGuard`\\ 's documentation, and :pep:`647`." +":data:`~typing.TypeGuard` has been added to the :mod:`typing` module to " +"annotate type guard functions and improve information provided to static " +"type checkers during type narrowing. For more information, please see :data:" +"`~typing.TypeGuard`\\ 's documentation, and :pep:`647`." msgstr "" #: whatsnew/3.10.rst:806 @@ -1070,8 +1070,8 @@ msgstr "" #: whatsnew/3.10.rst:975 msgid "" -"Add :class:`AsyncContextDecorator`, for supporting usage of async context " -"managers as decorators." +"Add :class:`~contextlib.AsyncContextDecorator`, for supporting usage of " +"async context managers as decorators." msgstr "" #: whatsnew/3.10.rst:979 @@ -1204,10 +1204,10 @@ msgstr "" #: whatsnew/3.10.rst:1092 msgid "" -":class:`Enum` :func:`__repr__` now returns ``enum_name.member_name`` and :" -"func:`__str__` now returns ``member_name``. Stdlib enums available as " -"module constants have a :func:`repr` of ``module_name.member_name``. " -"(Contributed by Ethan Furman in :issue:`40066`.)" +":class:`~enum.Enum` :func:`~object.__repr__` now returns ``enum_name." +"member_name`` and :func:`~object.__str__` now returns ``member_name``. " +"Stdlib enums available as module constants have a :func:`repr` of " +"``module_name.member_name``. (Contributed by Ethan Furman in :issue:`40066`.)" msgstr "" #: whatsnew/3.10.rst:1097 @@ -1228,8 +1228,8 @@ msgstr "" #: whatsnew/3.10.rst:1107 msgid "" -":func:`fileinput.hook_compressed` now returns :class:`TextIOWrapper` object " -"when *mode* is \"r\" and file is compressed, like uncompressed files. " +":func:`fileinput.hook_compressed` now returns :class:`~io.TextIOWrapper` " +"object when *mode* is \"r\" and file is compressed, like uncompressed files. " "(Contributed by Inada Naoki in :issue:`5758`.)" msgstr "" @@ -1381,16 +1381,16 @@ msgstr "" #: whatsnew/3.10.rst:1202 msgid "" ":ref:`importlib.metadata entry points ` now provide a nicer " -"experience for selecting entry points by group and name through a new :class:" -"`importlib.metadata.EntryPoints` class. See the Compatibility Note in the " -"docs for more info on the deprecation and usage." +"experience for selecting entry points by group and name through a new :ref:" +"`importlib.metadata.EntryPoints ` class. See the Compatibility " +"Note in the docs for more info on the deprecation and usage." msgstr "" #: whatsnew/3.10.rst:1208 msgid "" -"Added :func:`importlib.metadata.packages_distributions` for resolving top-" -"level Python modules and packages to their :class:`importlib.metadata." -"Distribution`." +"Added :ref:`importlib.metadata.packages_distributions() ` for resolving top-level Python modules and packages to " +"their :ref:`importlib.metadata.Distribution `." msgstr "" #: whatsnew/3.10.rst:1213 @@ -1408,7 +1408,7 @@ msgid "" "annotations dict defined on any Python object; for more information on best " "practices for working with annotations, please see :ref:`annotations-howto`. " "Relatedly, :func:`inspect.signature`, :func:`inspect.Signature." -"from_callable`, and :func:`inspect.Signature.from_function` now call :func:" +"from_callable`, and :func:`!inspect.Signature.from_function` now call :func:" "`inspect.get_annotations` to retrieve annotations. This means :func:`inspect." "signature` and :func:`inspect.Signature.from_callable` can also now un-" "stringize stringized annotations. (Contributed by Larry Hastings in :issue:" @@ -1801,10 +1801,10 @@ msgstr "" msgid "" "Subclasses of ``typing.Protocol`` which only have data variables declared " "will now raise a ``TypeError`` when checked with ``isinstance`` unless they " -"are decorated with :func:`runtime_checkable`. Previously, these checks " -"passed silently. Users should decorate their subclasses with the :func:" -"`runtime_checkable` decorator if they want runtime protocols. (Contributed " -"by Yurii Karabas in :issue:`38908`.)" +"are decorated with :func:`~typing.runtime_checkable`. Previously, these " +"checks passed silently. Users should decorate their subclasses with the :" +"func:`!runtime_checkable` decorator if they want runtime protocols. " +"(Contributed by Yurii Karabas in :issue:`38908`.)" msgstr "" #: whatsnew/3.10.rst:1493 @@ -1970,11 +1970,11 @@ msgstr "" #: whatsnew/3.10.rst:1598 msgid "" -":class:`BZ2File` performance is improved by removing internal ``RLock``. " -"This makes :class:`BZ2File` thread unsafe in the face of multiple " -"simultaneous readers or writers, just like its equivalent classes in :mod:" -"`gzip` and :mod:`lzma` have always been. (Contributed by Inada Naoki in :" -"issue:`43785`.)" +":class:`~bz2.BZ2File` performance is improved by removing internal " +"``RLock``. This makes :class:`!BZ2File` thread unsafe in the face of " +"multiple simultaneous readers or writers, just like its equivalent classes " +"in :mod:`gzip` and :mod:`lzma` have always been. (Contributed by Inada " +"Naoki in :issue:`43785`.)" msgstr "" #: whatsnew/3.10.rst:2212 @@ -1999,7 +1999,7 @@ msgid "" "Starting in this release, there will be a concerted effort to begin cleaning " "up old import semantics that were kept for Python 2.7 compatibility. " "Specifically, :meth:`!find_loader`/:meth:`!find_module` (superseded by :meth:" -"`~importlib.abc.Finder.find_spec`), :meth:`~importlib.abc.Loader." +"`~importlib.abc.MetaPathFinder.find_spec`), :meth:`~importlib.abc.Loader." "load_module` (superseded by :meth:`~importlib.abc.Loader.exec_module`), :" "meth:`!module_repr` (which the import system takes care of for you), the " "``__package__`` attribute (superseded by ``__spec__.parent``), the " @@ -2035,7 +2035,7 @@ msgstr "" #: whatsnew/3.10.rst:1650 msgid "" -":meth:`zimport.zipimporter.load_module` has been deprecated in preference " +":meth:`!zimport.zipimporter.load_module` has been deprecated in preference " "for :meth:`~zipimport.zipimporter.exec_module`. (Contributed by Brett Cannon " "in :issue:`26131`.)" msgstr "" @@ -2197,32 +2197,30 @@ msgstr "" #: whatsnew/3.10.rst:1762 msgid "" -":data:`~ssl.OP_NO_SSLv2`, :data:`~ssl.OP_NO_SSLv3`, :data:`~ssl." -"OP_NO_TLSv1`, :data:`~ssl.OP_NO_TLSv1_1`, :data:`~ssl.OP_NO_TLSv1_2`, and :" -"data:`~ssl.OP_NO_TLSv1_3` are replaced by :attr:`sslSSLContext." -"minimum_version` and :attr:`sslSSLContext.maximum_version`." +":data:`!OP_NO_SSLv2`, :data:`!OP_NO_SSLv3`, :data:`!OP_NO_TLSv1`, :data:`!" +"OP_NO_TLSv1_1`, :data:`!OP_NO_TLSv1_2`, and :data:`!OP_NO_TLSv1_3` are " +"replaced by :attr:`~ssl.SSLContext.minimum_version` and :attr:`~ssl." +"SSLContext.maximum_version`." msgstr "" #: whatsnew/3.10.rst:1768 msgid "" -":data:`~ssl.PROTOCOL_SSLv2`, :data:`~ssl.PROTOCOL_SSLv3`, :data:`~ssl." -"PROTOCOL_SSLv23`, :data:`~ssl.PROTOCOL_TLSv1`, :data:`~ssl." -"PROTOCOL_TLSv1_1`, :data:`~ssl.PROTOCOL_TLSv1_2`, and :const:`~ssl." -"PROTOCOL_TLS` are deprecated in favor of :const:`~ssl.PROTOCOL_TLS_CLIENT` " -"and :const:`~ssl.PROTOCOL_TLS_SERVER`" +":data:`!PROTOCOL_SSLv2`, :data:`!PROTOCOL_SSLv3`, :data:`!PROTOCOL_SSLv23`, :" +"data:`!PROTOCOL_TLSv1`, :data:`!PROTOCOL_TLSv1_1`, :data:`!" +"PROTOCOL_TLSv1_2`, and :const:`!PROTOCOL_TLS` are deprecated in favor of :" +"const:`~ssl.PROTOCOL_TLS_CLIENT` and :const:`~ssl.PROTOCOL_TLS_SERVER`" msgstr "" #: whatsnew/3.10.rst:1774 -msgid "" -":func:`~ssl.wrap_socket` is replaced by :meth:`ssl.SSLContext.wrap_socket`" +msgid ":func:`!wrap_socket` is replaced by :meth:`ssl.SSLContext.wrap_socket`" msgstr "" #: whatsnew/3.10.rst:1776 -msgid ":func:`~ssl.match_hostname`" +msgid ":func:`!match_hostname`" msgstr "" #: whatsnew/3.10.rst:1778 -msgid ":func:`~ssl.RAND_pseudo_bytes`, :func:`~ssl.RAND_egd`" +msgid ":func:`!RAND_pseudo_bytes`, :func:`!RAND_egd`" msgstr "" #: whatsnew/3.10.rst:1780 @@ -3099,19 +3097,18 @@ msgid "" "(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) " "now raises a :exc:`ValueError` if the number of digits in string form is " "above a limit to avoid potential denial of service attacks due to the " -"algorithmic complexity. This is a mitigation for `CVE-2020-10735 `_. This limit can be " -"configured or disabled by environment variable, command line flag, or :mod:" -"`sys` APIs. See the :ref:`integer string conversion length limitation " -"` documentation. The default limit is 4300 digits in " -"string form." +"algorithmic complexity. This is a mitigation for :cve:`2020-10735`. This " +"limit can be configured or disabled by environment variable, command line " +"flag, or :mod:`sys` APIs. See the :ref:`integer string conversion length " +"limitation ` documentation. The default limit is 4300 " +"digits in string form." msgstr "" -#: whatsnew/3.10.rst:2342 +#: whatsnew/3.10.rst:2341 msgid "Notable security feature in 3.10.8" msgstr "" -#: whatsnew/3.10.rst:2344 +#: whatsnew/3.10.rst:2343 msgid "" "The deprecated :mod:`!mailcap` module now refuses to inject unsafe text " "(filenames, MIME types, parameters) into shell commands. Instead of using " @@ -3120,15 +3117,15 @@ msgid "" "`98966`.)" msgstr "" -#: whatsnew/3.10.rst:2351 +#: whatsnew/3.10.rst:2350 msgid "Notable changes in 3.10.12" msgstr "" -#: whatsnew/3.10.rst:2354 +#: whatsnew/3.10.rst:2353 msgid "tarfile" msgstr "" -#: whatsnew/3.10.rst:2356 +#: whatsnew/3.10.rst:2355 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 " diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index 3a689ebaf..d8ee8f58e 100644 --- a/whatsnew/3.11.po +++ b/whatsnew/3.11.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -133,7 +133,7 @@ msgid "" "pep670>`" msgstr "" -#: whatsnew/3.11.rst:2197 +#: whatsnew/3.11.rst:2196 msgid "New Features" msgstr "" @@ -597,39 +597,38 @@ msgid "" "(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) " "now raises a :exc:`ValueError` if the number of digits in string form is " "above a limit to avoid potential denial of service attacks due to the " -"algorithmic complexity. This is a mitigation for `CVE-2020-10735 `_. This limit can be " -"configured or disabled by environment variable, command line flag, or :mod:" -"`sys` APIs. See the :ref:`integer string conversion length limitation " -"` documentation. The default limit is 4300 digits in " -"string form." +"algorithmic complexity. This is a mitigation for :cve:`2020-10735`. This " +"limit can be configured or disabled by environment variable, command line " +"flag, or :mod:`sys` APIs. See the :ref:`integer string conversion length " +"limitation ` documentation. The default limit is 4300 " +"digits in string form." msgstr "" -#: whatsnew/3.11.rst:558 +#: whatsnew/3.11.rst:557 msgid "New Modules" msgstr "" -#: whatsnew/3.11.rst:560 +#: whatsnew/3.11.rst:559 msgid "" ":mod:`tomllib`: For parsing `TOML `_. See :pep:`680` for " "more details. (Contributed by Taneli Hukkinen in :issue:`40059`.)" msgstr "" -#: whatsnew/3.11.rst:564 +#: whatsnew/3.11.rst:563 msgid "" ":mod:`wsgiref.types`: :pep:`WSGI <3333>`-specific types for static type " "checking. (Contributed by Sebastian Rittau in :issue:`42012`.)" msgstr "" -#: whatsnew/3.11.rst:572 +#: whatsnew/3.11.rst:571 msgid "Improved Modules" msgstr "" -#: whatsnew/3.11.rst:577 +#: whatsnew/3.11.rst:576 msgid "asyncio" msgstr "" -#: whatsnew/3.11.rst:579 +#: whatsnew/3.11.rst:578 msgid "" "Added the :class:`~asyncio.TaskGroup` class, an :ref:`asynchronous context " "manager ` holding a group of tasks that will wait " @@ -638,7 +637,7 @@ msgid "" "Yury Selivanov and others in :gh:`90908`.)" msgstr "" -#: whatsnew/3.11.rst:586 +#: whatsnew/3.11.rst:585 msgid "" "Added :func:`~asyncio.timeout`, an asynchronous context manager for setting " "a timeout on asynchronous operations. For new code this is recommended over " @@ -646,34 +645,34 @@ msgid "" "gh:`90927`.)" msgstr "" -#: whatsnew/3.11.rst:591 +#: whatsnew/3.11.rst:590 msgid "" "Added the :class:`~asyncio.Runner` class, which exposes the machinery used " "by :func:`~asyncio.run`. (Contributed by Andrew Svetlov in :gh:`91218`.)" msgstr "" -#: whatsnew/3.11.rst:595 +#: whatsnew/3.11.rst:594 msgid "" "Added the :class:`~asyncio.Barrier` class to the synchronization primitives " "in the asyncio library, and the related :exc:`~asyncio.BrokenBarrierError` " "exception. (Contributed by Yves Duprat and Andrew Svetlov in :gh:`87518`.)" msgstr "" -#: whatsnew/3.11.rst:600 +#: whatsnew/3.11.rst:599 msgid "" "Added keyword argument *all_errors* to :meth:`asyncio.loop." "create_connection` so that multiple connection errors can be raised as an :" "exc:`ExceptionGroup`." msgstr "" -#: whatsnew/3.11.rst:603 +#: whatsnew/3.11.rst:602 msgid "" "Added the :meth:`asyncio.StreamWriter.start_tls` method for upgrading " "existing stream-based connections to TLS. (Contributed by Ian Good in :issue:" "`34975`.)" msgstr "" -#: whatsnew/3.11.rst:607 +#: whatsnew/3.11.rst:606 msgid "" "Added raw datagram socket functions to the event loop: :meth:`~asyncio.loop." "sock_sendto`, :meth:`~asyncio.loop.sock_recvfrom` and :meth:`~asyncio.loop." @@ -682,29 +681,29 @@ msgid "" "Alex Grönholm in :issue:`46805`.)" msgstr "" -#: whatsnew/3.11.rst:615 +#: whatsnew/3.11.rst:614 msgid "" "Added :meth:`~asyncio.Task.cancelling` and :meth:`~asyncio.Task.uncancel` " "methods to :class:`~asyncio.Task`. These are primarily intended for internal " "use, notably by :class:`~asyncio.TaskGroup`." msgstr "" -#: whatsnew/3.11.rst:624 +#: whatsnew/3.11.rst:623 msgid "contextlib" msgstr "" -#: whatsnew/3.11.rst:626 +#: whatsnew/3.11.rst:625 msgid "" "Added non parallel-safe :func:`~contextlib.chdir` context manager to change " "the current working directory and then restore it on exit. Simple wrapper " "around :func:`~os.chdir`. (Contributed by Filipe Laíns in :issue:`25625`)" msgstr "" -#: whatsnew/3.11.rst:634 +#: whatsnew/3.11.rst:633 msgid "dataclasses" msgstr "" -#: whatsnew/3.11.rst:636 +#: whatsnew/3.11.rst:635 msgid "" "Change field default mutability check, allowing only defaults which are :" "term:`hashable` instead of any object which is not an instance of :class:" @@ -712,17 +711,17 @@ msgid "" "issue:`44674`.)" msgstr "" -#: whatsnew/3.11.rst:645 +#: whatsnew/3.11.rst:644 msgid "datetime" msgstr "" -#: whatsnew/3.11.rst:647 +#: whatsnew/3.11.rst:646 msgid "" "Add :const:`datetime.UTC`, a convenience alias for :attr:`datetime.timezone." "utc`. (Contributed by Kabir Kwatra in :gh:`91973`.)" msgstr "" -#: whatsnew/3.11.rst:650 +#: whatsnew/3.11.rst:649 msgid "" ":meth:`datetime.date.fromisoformat`, :meth:`datetime.time.fromisoformat` " "and :meth:`datetime.datetime.fromisoformat` can now be used to parse most " @@ -730,23 +729,23 @@ msgid "" "minutes). (Contributed by Paul Ganssle in :gh:`80010`.)" msgstr "" -#: whatsnew/3.11.rst:659 +#: whatsnew/3.11.rst:658 msgid "enum" msgstr "" -#: whatsnew/3.11.rst:661 +#: whatsnew/3.11.rst:660 msgid "" "Renamed :class:`!EnumMeta` to :class:`~enum.EnumType` (:class:`!EnumMeta` " "kept as an alias)." msgstr "" -#: whatsnew/3.11.rst:664 +#: whatsnew/3.11.rst:663 msgid "" "Added :class:`~enum.StrEnum`, with members that can be used as (and must be) " "strings." msgstr "" -#: whatsnew/3.11.rst:667 +#: whatsnew/3.11.rst:666 msgid "" "Added :class:`~enum.ReprEnum`, which only modifies the :meth:`~object." "__repr__` of members while returning their literal values (rather than " @@ -754,7 +753,7 @@ msgid "" "func:`str`, :func:`format` and :term:`f-string`\\s)." msgstr "" -#: whatsnew/3.11.rst:673 +#: whatsnew/3.11.rst:672 msgid "" "Changed :meth:`Enum.__format__() ` (the default for :" "func:`format`, :meth:`str.format` and :term:`f-string`\\s) to always produce " @@ -763,34 +762,34 @@ msgid "" "all other enums it will be the enum and member name (e.g. ``Color.RED``)." msgstr "" -#: whatsnew/3.11.rst:679 +#: whatsnew/3.11.rst:678 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:683 +#: whatsnew/3.11.rst:682 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:687 +#: whatsnew/3.11.rst:686 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:690 +#: whatsnew/3.11.rst:689 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:694 +#: whatsnew/3.11.rst:693 msgid "" "Added the :func:`~enum.global_enum` enum decorator, which adjusts :meth:" "`~object.__repr__` and :meth:`~object.__str__` to show values as members of " @@ -799,80 +798,80 @@ msgid "" "``'RegexFlag.ASCII'``." msgstr "" -#: whatsnew/3.11.rst:700 +#: whatsnew/3.11.rst:699 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:705 +#: whatsnew/3.11.rst:704 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:710 +#: whatsnew/3.11.rst:709 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:719 +#: whatsnew/3.11.rst:718 msgid "fcntl" msgstr "" -#: whatsnew/3.11.rst:721 +#: whatsnew/3.11.rst:720 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:729 +#: whatsnew/3.11.rst:728 msgid "fractions" msgstr "" -#: whatsnew/3.11.rst:731 +#: whatsnew/3.11.rst:730 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:734 +#: whatsnew/3.11.rst:733 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:742 +#: whatsnew/3.11.rst:741 msgid "functools" msgstr "" -#: whatsnew/3.11.rst:744 +#: whatsnew/3.11.rst:743 msgid "" ":func:`functools.singledispatch` now supports :data:`types.UnionType` and :" "data:`typing.Union` as annotations to the dispatch argument.::" msgstr "" -#: whatsnew/3.11.rst:769 +#: whatsnew/3.11.rst:768 msgid "(Contributed by Yurii Karabas in :issue:`46014`.)" msgstr "" -#: whatsnew/3.11.rst:775 +#: whatsnew/3.11.rst:774 msgid "hashlib" msgstr "" -#: whatsnew/3.11.rst:777 +#: whatsnew/3.11.rst:776 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:781 +#: whatsnew/3.11.rst:780 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 " @@ -881,47 +880,47 @@ msgid "" "OpenSSL support. (Contributed by Christian Heimes in :issue:`47098`.)" msgstr "" -#: whatsnew/3.11.rst:788 +#: whatsnew/3.11.rst:787 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:796 +#: whatsnew/3.11.rst:795 msgid "IDLE and idlelib" msgstr "" -#: whatsnew/3.11.rst:798 +#: whatsnew/3.11.rst:797 msgid "" "Apply syntax highlighting to ``.pyi`` files. (Contributed by Alex Waygood " "and Terry Jan Reedy in :issue:`45447`.)" msgstr "" -#: whatsnew/3.11.rst:801 +#: whatsnew/3.11.rst:800 msgid "" "Include prompts when saving Shell with inputs and outputs. (Contributed by " "Terry Jan Reedy in :gh:`95191`.)" msgstr "" -#: whatsnew/3.11.rst:808 +#: whatsnew/3.11.rst:807 msgid "inspect" msgstr "" -#: whatsnew/3.11.rst:810 +#: whatsnew/3.11.rst:809 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:814 +#: whatsnew/3.11.rst:813 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:818 +#: whatsnew/3.11.rst:817 msgid "" "Change the frame-related functions in the :mod:`inspect` module to return " "new :class:`~inspect.FrameInfo` and :class:`~inspect.Traceback` class " @@ -930,46 +929,46 @@ msgid "" "line number, column and end column). The affected functions are:" msgstr "" -#: whatsnew/3.11.rst:824 +#: whatsnew/3.11.rst:823 msgid ":func:`inspect.getframeinfo`" msgstr "" -#: whatsnew/3.11.rst:825 +#: whatsnew/3.11.rst:824 msgid ":func:`inspect.getouterframes`" msgstr "" -#: whatsnew/3.11.rst:826 +#: whatsnew/3.11.rst:825 msgid ":func:`inspect.getinnerframes`," msgstr "" -#: whatsnew/3.11.rst:827 +#: whatsnew/3.11.rst:826 msgid ":func:`inspect.stack`" msgstr "" -#: whatsnew/3.11.rst:828 +#: whatsnew/3.11.rst:827 msgid ":func:`inspect.trace`" msgstr "" -#: whatsnew/3.11.rst:830 +#: whatsnew/3.11.rst:829 msgid "(Contributed by Pablo Galindo in :gh:`88116`.)" msgstr "" -#: whatsnew/3.11.rst:836 +#: whatsnew/3.11.rst:835 msgid "locale" msgstr "" -#: whatsnew/3.11.rst:838 +#: whatsnew/3.11.rst:837 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:846 +#: whatsnew/3.11.rst:845 msgid "logging" msgstr "" -#: whatsnew/3.11.rst:848 +#: whatsnew/3.11.rst:847 msgid "" "Added :func:`~logging.getLevelNamesMapping` to return a mapping from logging " "level names (e.g. ``'CRITICAL'``) to the values of their corresponding :ref:" @@ -977,7 +976,7 @@ msgid "" "`88024`.)" msgstr "" -#: whatsnew/3.11.rst:853 +#: whatsnew/3.11.rst:852 msgid "" "Added a :meth:`~logging.handlers.SysLogHandler.createSocket` method to :" "class:`~logging.handlers.SysLogHandler`, to match :meth:`SocketHandler." @@ -986,23 +985,23 @@ msgid "" "there is no active socket. (Contributed by Kirill Pinchuk in :gh:`88457`.)" msgstr "" -#: whatsnew/3.11.rst:865 +#: whatsnew/3.11.rst:864 msgid "math" msgstr "" -#: whatsnew/3.11.rst:867 +#: whatsnew/3.11.rst:866 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:870 +#: whatsnew/3.11.rst:869 msgid "" "Add :func:`math.cbrt`: return the cube root of x. (Contributed by Ajith " "Ramachandran in :issue:`44357`.)" msgstr "" -#: whatsnew/3.11.rst:873 +#: whatsnew/3.11.rst:872 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, -" @@ -1011,39 +1010,39 @@ msgid "" "`44339`.)" msgstr "" -#: whatsnew/3.11.rst:879 +#: whatsnew/3.11.rst:878 msgid "" "The :data:`math.nan` value is now always available. (Contributed by Victor " "Stinner in :issue:`46917`.)" msgstr "" -#: whatsnew/3.11.rst:886 +#: whatsnew/3.11.rst:885 msgid "operator" msgstr "" -#: whatsnew/3.11.rst:888 +#: whatsnew/3.11.rst:887 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:896 +#: whatsnew/3.11.rst:895 msgid "os" msgstr "" -#: whatsnew/3.11.rst:898 +#: whatsnew/3.11.rst:897 msgid "" "On Windows, :func:`os.urandom` now uses ``BCryptGenRandom()``, instead of " "``CryptGenRandom()`` which is deprecated. (Contributed by Donghee Na in :" "issue:`44611`.)" msgstr "" -#: whatsnew/3.11.rst:906 +#: whatsnew/3.11.rst:905 msgid "pathlib" msgstr "" -#: whatsnew/3.11.rst:908 +#: whatsnew/3.11.rst:907 msgid "" ":meth:`~pathlib.Path.glob` and :meth:`~pathlib.Path.rglob` return only " "directories if *pattern* ends with a pathname components separator: :data:" @@ -1051,56 +1050,56 @@ msgid "" "`22276` and :issue:`33392`.)" msgstr "" -#: whatsnew/3.11.rst:917 +#: whatsnew/3.11.rst:916 msgid "re" msgstr "" -#: whatsnew/3.11.rst:919 +#: whatsnew/3.11.rst:918 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:927 +#: whatsnew/3.11.rst:926 msgid "shutil" msgstr "" -#: whatsnew/3.11.rst:929 +#: whatsnew/3.11.rst:928 msgid "" "Add optional parameter *dir_fd* in :func:`shutil.rmtree`. (Contributed by " "Serhiy Storchaka in :issue:`46245`.)" msgstr "" -#: whatsnew/3.11.rst:936 +#: whatsnew/3.11.rst:935 msgid "socket" msgstr "" -#: whatsnew/3.11.rst:938 +#: whatsnew/3.11.rst:937 msgid "" "Add CAN Socket support for NetBSD. (Contributed by Thomas Klausner in :issue:" "`30512`.)" msgstr "" -#: whatsnew/3.11.rst:941 +#: whatsnew/3.11.rst:940 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:950 +#: whatsnew/3.11.rst:949 msgid "sqlite3" msgstr "" -#: whatsnew/3.11.rst:952 +#: whatsnew/3.11.rst:951 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:956 +#: whatsnew/3.11.rst:955 msgid "" "Collation name :meth:`~sqlite3.Connection.create_collation` can now contain " "any Unicode character. Collation names with invalid characters now raise :" @@ -1108,7 +1107,7 @@ msgid "" "(Contributed by Erlend E. Aasland in :issue:`44688`.)" msgstr "" -#: whatsnew/3.11.rst:961 +#: whatsnew/3.11.rst:960 msgid "" ":mod:`sqlite3` exceptions now include the SQLite extended error code as :" "attr:`~sqlite3.Error.sqlite_errorcode` and the SQLite error name as :attr:" @@ -1116,7 +1115,7 @@ msgid "" "Shahaf, and Erlend E. Aasland in :issue:`16379` and :issue:`24139`.)" msgstr "" -#: whatsnew/3.11.rst:967 +#: whatsnew/3.11.rst:966 msgid "" "Add :meth:`~sqlite3.Connection.setlimit` and :meth:`~sqlite3.Connection." "getlimit` to :class:`sqlite3.Connection` for setting and getting SQLite " @@ -1124,14 +1123,14 @@ msgid "" "`45243`.)" msgstr "" -#: whatsnew/3.11.rst:972 +#: whatsnew/3.11.rst:971 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:976 +#: whatsnew/3.11.rst:975 msgid "" ":mod:`sqlite3` C callbacks now use unraisable exceptions if callback " "tracebacks are enabled. Users can now register an :func:`unraisable hook " @@ -1139,14 +1138,14 @@ msgid "" "(Contributed by Erlend E. Aasland in :issue:`45828`.)" msgstr "" -#: whatsnew/3.11.rst:982 +#: whatsnew/3.11.rst:981 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:986 +#: whatsnew/3.11.rst:985 msgid "" "Add :meth:`~sqlite3.Connection.serialize` and :meth:`~sqlite3.Connection." "deserialize` to :class:`sqlite3.Connection` for serializing and " @@ -1154,25 +1153,25 @@ msgid "" "`41930`.)" msgstr "" -#: whatsnew/3.11.rst:991 +#: whatsnew/3.11.rst:990 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:995 +#: whatsnew/3.11.rst:994 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:1003 +#: whatsnew/3.11.rst:1002 msgid "string" msgstr "" -#: whatsnew/3.11.rst:1005 +#: whatsnew/3.11.rst:1004 msgid "" "Add :meth:`~string.Template.get_identifiers` and :meth:`~string.Template." "is_valid` to :class:`string.Template`, which respectively return all valid " @@ -1180,11 +1179,11 @@ msgid "" "by Ben Kehoe in :gh:`90465`.)" msgstr "" -#: whatsnew/3.11.rst:1015 +#: whatsnew/3.11.rst:1014 msgid "sys" msgstr "" -#: whatsnew/3.11.rst:1017 +#: whatsnew/3.11.rst:1016 msgid "" ":func:`sys.exc_info` now derives the ``type`` and ``traceback`` fields from " "the ``value`` (the exception instance), so when an exception is modified " @@ -1193,24 +1192,24 @@ msgid "" "issue:`45711`.)" msgstr "" -#: whatsnew/3.11.rst:1023 +#: whatsnew/3.11.rst:1022 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:1027 +#: whatsnew/3.11.rst:1026 msgid "" "Add the :data:`sys.flags.safe_path ` flag. (Contributed by Victor " "Stinner in :gh:`57684`.)" msgstr "" -#: whatsnew/3.11.rst:1034 +#: whatsnew/3.11.rst:1033 msgid "sysconfig" msgstr "" -#: whatsnew/3.11.rst:1036 +#: whatsnew/3.11.rst:1035 msgid "" "Three new :ref:`installation schemes ` (*posix_venv*, " "*nt_venv* and *venv*) were added and are used when Python creates new " @@ -1224,11 +1223,11 @@ msgid "" "(Contributed by Miro Hrončok in :issue:`45413`.)" msgstr "" -#: whatsnew/3.11.rst:1053 +#: whatsnew/3.11.rst:1052 msgid "tempfile" msgstr "" -#: whatsnew/3.11.rst:1055 +#: whatsnew/3.11.rst:1054 msgid "" ":class:`~tempfile.SpooledTemporaryFile` objects now fully implement the " "methods of :class:`io.BufferedIOBase` or :class:`io.TextIOBase` (depending " @@ -1237,11 +1236,11 @@ msgid "" "`70363`.)" msgstr "" -#: whatsnew/3.11.rst:1066 +#: whatsnew/3.11.rst:1065 msgid "threading" msgstr "" -#: whatsnew/3.11.rst:1068 +#: whatsnew/3.11.rst:1067 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 " @@ -1251,11 +1250,11 @@ msgid "" "`41710`.)" msgstr "" -#: whatsnew/3.11.rst:1079 +#: whatsnew/3.11.rst:1078 msgid "time" msgstr "" -#: whatsnew/3.11.rst:1081 +#: whatsnew/3.11.rst:1080 msgid "" "On Unix, :func:`time.sleep` now uses the ``clock_nanosleep()`` or " "``nanosleep()`` function, if available, which has a resolution of 1 " @@ -1264,7 +1263,7 @@ msgid "" "Benjamin Szőke and Victor Stinner in :issue:`21302`.)" msgstr "" -#: whatsnew/3.11.rst:1087 +#: whatsnew/3.11.rst:1086 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:1178 +#: whatsnew/3.11.rst:1177 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:1182 +#: whatsnew/3.11.rst:1181 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:1186 +#: whatsnew/3.11.rst:1185 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:1194 +#: whatsnew/3.11.rst:1193 msgid "unicodedata" msgstr "" -#: whatsnew/3.11.rst:1196 +#: whatsnew/3.11.rst:1195 msgid "" "The Unicode database has been updated to version 14.0.0. (Contributed by " "Benjamin Peterson in :issue:`45190`)." msgstr "" -#: whatsnew/3.11.rst:1203 +#: whatsnew/3.11.rst:1202 msgid "unittest" msgstr "" -#: whatsnew/3.11.rst:1205 +#: whatsnew/3.11.rst:1204 msgid "" "Added methods :meth:`~unittest.TestCase.enterContext` and :meth:`~unittest." "TestCase.enterClassContext` of class :class:`~unittest.TestCase`, method :" @@ -1439,11 +1438,11 @@ msgid "" "enterModuleContext`. (Contributed by Serhiy Storchaka in :issue:`45046`.)" msgstr "" -#: whatsnew/3.11.rst:1217 +#: whatsnew/3.11.rst:1216 msgid "venv" msgstr "" -#: whatsnew/3.11.rst:1219 +#: whatsnew/3.11.rst:1218 msgid "" "When new Python virtual environments are created, the *venv* :ref:`sysconfig " "installation scheme ` is used to determine the paths " @@ -1455,11 +1454,11 @@ msgid "" "`45413`.)" msgstr "" -#: whatsnew/3.11.rst:1233 +#: whatsnew/3.11.rst:1232 msgid "warnings" msgstr "" -#: whatsnew/3.11.rst:1235 +#: whatsnew/3.11.rst:1234 msgid "" ":func:`warnings.catch_warnings` now accepts arguments for :func:`warnings." "simplefilter`, providing a more concise way to locally ignore warnings or " @@ -1467,41 +1466,41 @@ msgid "" "`47074`.)" msgstr "" -#: whatsnew/3.11.rst:1243 +#: whatsnew/3.11.rst:1242 msgid "zipfile" msgstr "" -#: whatsnew/3.11.rst:1245 +#: whatsnew/3.11.rst:1244 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:1249 +#: whatsnew/3.11.rst:1248 msgid "" "Added :meth:`ZipFile.mkdir() ` for creating new " "directories inside ZIP archives. (Contributed by Sam Ezeh in :gh:`49083`.)" msgstr "" -#: whatsnew/3.11.rst:1253 +#: whatsnew/3.11.rst:1252 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:1261 +#: whatsnew/3.11.rst:1260 msgid "Optimizations" msgstr "" -#: whatsnew/3.11.rst:1263 +#: whatsnew/3.11.rst:1262 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:1266 +#: whatsnew/3.11.rst:1265 msgid "" "The compiler now optimizes simple :ref:`printf-style % formatting ` on string literals containing only the format codes " @@ -1509,7 +1508,7 @@ msgid "" "string` expression. (Contributed by Serhiy Storchaka in :issue:`28307`.)" msgstr "" -#: whatsnew/3.11.rst:1272 +#: whatsnew/3.11.rst:1271 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 " @@ -1517,20 +1516,20 @@ msgid "" "gh:`90564`.)" msgstr "" -#: whatsnew/3.11.rst:1277 +#: whatsnew/3.11.rst:1276 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:1280 +#: whatsnew/3.11.rst:1279 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:1285 +#: whatsnew/3.11.rst:1284 msgid "" "Dictionaries don't store hash values when all keys are Unicode objects, " "decreasing :class:`dict` size. For example, ``sys.getsizeof(dict." @@ -1538,21 +1537,21 @@ msgid "" "smaller) on 64-bit platforms. (Contributed by Inada Naoki in :issue:`46845`.)" msgstr "" -#: whatsnew/3.11.rst:1291 +#: whatsnew/3.11.rst:1290 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:1296 +#: whatsnew/3.11.rst:1295 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:1300 +#: whatsnew/3.11.rst:1299 msgid "" "The :mod:`statistics` functions :func:`~statistics.mean`, :func:`~statistics." "variance` and :func:`~statistics.stdev` now consume iterators in one pass " @@ -1561,17 +1560,17 @@ msgid "" "`90415`.)" msgstr "" -#: whatsnew/3.11.rst:1306 +#: whatsnew/3.11.rst:1305 msgid "" ":func:`unicodedata.normalize` now normalizes pure-ASCII strings in constant " "time. (Contributed by Donghee Na in :issue:`44987`.)" msgstr "" -#: whatsnew/3.11.rst:1314 +#: whatsnew/3.11.rst:1313 msgid "Faster CPython" msgstr "" -#: whatsnew/3.11.rst:1316 +#: whatsnew/3.11.rst:1315 msgid "" "CPython 3.11 is an average of `25% faster `_ than CPython 3.10 as measured with the " @@ -1580,32 +1579,32 @@ msgid "" "overall speedup could be 10-60%." msgstr "" -#: whatsnew/3.11.rst:1323 +#: whatsnew/3.11.rst:1322 msgid "" "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:1332 +#: whatsnew/3.11.rst:1331 msgid "Faster Startup" msgstr "" -#: whatsnew/3.11.rst:1337 +#: whatsnew/3.11.rst:1336 msgid "Frozen imports / Static code objects" msgstr "" -#: whatsnew/3.11.rst:1339 +#: whatsnew/3.11.rst:1338 msgid "" "Python caches :term:`bytecode` in the :ref:`__pycache__ ` " "directory to speed up module loading." msgstr "" -#: whatsnew/3.11.rst:1342 +#: whatsnew/3.11.rst:1341 msgid "Previously in 3.10, Python module execution looked like this:" msgstr "" -#: whatsnew/3.11.rst:1348 +#: whatsnew/3.11.rst:1347 msgid "" "In Python 3.11, the core modules essential for Python startup are " "\"frozen\". This means that their :ref:`codeobjects` (and bytecode) are " @@ -1613,47 +1612,47 @@ msgid "" "execution process to:" msgstr "" -#: whatsnew/3.11.rst:1357 +#: whatsnew/3.11.rst:1356 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:1360 +#: whatsnew/3.11.rst:1359 msgid "" "(Contributed by Eric Snow, Guido van Rossum and Kumar Aditya in many issues.)" msgstr "" -#: whatsnew/3.11.rst:1366 +#: whatsnew/3.11.rst:1365 msgid "Faster Runtime" msgstr "" -#: whatsnew/3.11.rst:1371 +#: whatsnew/3.11.rst:1370 msgid "Cheaper, lazy Python frames" msgstr "" -#: whatsnew/3.11.rst:1373 +#: whatsnew/3.11.rst:1372 msgid "" "Python frames, holding execution information, are created whenever Python " "calls a Python function. The following are new frame optimizations:" msgstr "" -#: whatsnew/3.11.rst:1377 +#: whatsnew/3.11.rst:1376 msgid "Streamlined the frame creation process." msgstr "" -#: whatsnew/3.11.rst:1378 +#: whatsnew/3.11.rst:1377 msgid "" "Avoided memory allocation by generously re-using frame space on the C stack." msgstr "" -#: whatsnew/3.11.rst:1379 +#: whatsnew/3.11.rst:1378 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:1382 +#: whatsnew/3.11.rst:1381 msgid "" "Old-style :ref:`frame objects ` are now created only when " "requested by debuggers or by Python introspection functions such as :func:" @@ -1663,29 +1662,29 @@ msgid "" "pyperformance." msgstr "" -#: whatsnew/3.11.rst:1389 +#: whatsnew/3.11.rst:1388 msgid "(Contributed by Mark Shannon in :issue:`44590`.)" msgstr "" -#: whatsnew/3.11.rst:1396 +#: whatsnew/3.11.rst:1395 msgid "Inlined Python function calls" msgstr "" -#: whatsnew/3.11.rst:1398 +#: whatsnew/3.11.rst:1397 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:1401 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:1405 msgid "" "Most Python function calls now consume no C stack space, speeding them up. " "In simple recursive functions like fibonacci or factorial, we observed a " @@ -1694,15 +1693,15 @@ msgid "" "setrecursionlimit`). We measured a 1-3% improvement in pyperformance." msgstr "" -#: whatsnew/3.11.rst:1413 +#: whatsnew/3.11.rst:1412 msgid "(Contributed by Pablo Galindo and Mark Shannon in :issue:`45256`.)" msgstr "" -#: whatsnew/3.11.rst:1419 +#: whatsnew/3.11.rst:1418 msgid "PEP 659: Specializing Adaptive Interpreter" msgstr "" -#: whatsnew/3.11.rst:1421 +#: whatsnew/3.11.rst:1420 msgid "" ":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 " @@ -1710,7 +1709,7 @@ msgid "" "*type stability*." msgstr "" -#: whatsnew/3.11.rst:1425 +#: whatsnew/3.11.rst:1424 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 " @@ -1721,13 +1720,13 @@ msgid "" "term:`bytecode`." msgstr "" -#: whatsnew/3.11.rst:1433 +#: whatsnew/3.11.rst:1432 msgid "" "The specializer will also combine certain common instruction pairs into one " "superinstruction, reducing the overhead during execution." msgstr "" -#: whatsnew/3.11.rst:1436 +#: whatsnew/3.11.rst:1435 msgid "" "Python will only specialize when it sees code that is \"hot\" (executed " "multiple times). This prevents Python from wasting time on run-once code. " @@ -1737,279 +1736,279 @@ msgid "" "circumstances." msgstr "" -#: whatsnew/3.11.rst:1443 +#: whatsnew/3.11.rst:1442 msgid "" "(PEP written by Mark Shannon, with ideas inspired by Stefan Brunthaler. See :" "pep:`659` for more information. Implementation by Mark Shannon and Brandt " "Bucher, with additional help from Irit Katriel and Dennis Sweeney.)" msgstr "" -#: whatsnew/3.11.rst:1451 +#: whatsnew/3.11.rst:1450 msgid "Operation" msgstr "" -#: whatsnew/3.11.rst:1451 +#: whatsnew/3.11.rst:1450 msgid "Form" msgstr "" -#: whatsnew/3.11.rst:1451 +#: whatsnew/3.11.rst:1450 msgid "Specialization" msgstr "" -#: whatsnew/3.11.rst:1451 +#: whatsnew/3.11.rst:1450 msgid "Operation speedup (up to)" msgstr "" -#: whatsnew/3.11.rst:1451 +#: whatsnew/3.11.rst:1450 msgid "Contributor(s)" msgstr "" -#: whatsnew/3.11.rst:1454 +#: whatsnew/3.11.rst:1453 msgid "Binary operations" msgstr "" -#: whatsnew/3.11.rst:1454 +#: whatsnew/3.11.rst:1453 msgid "``x + x``" msgstr "" -#: whatsnew/3.11.rst:1456 +#: whatsnew/3.11.rst:1455 msgid "``x - x``" msgstr "" -#: whatsnew/3.11.rst:1458 +#: whatsnew/3.11.rst:1457 msgid "``x * x``" msgstr "" -#: whatsnew/3.11.rst:1454 +#: whatsnew/3.11.rst:1453 msgid "" "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:1454 +#: whatsnew/3.11.rst:1453 msgid "10%" msgstr "" -#: whatsnew/3.11.rst:1454 +#: whatsnew/3.11.rst:1453 msgid "Mark Shannon, Donghee Na, Brandt Bucher, Dennis Sweeney" msgstr "" -#: whatsnew/3.11.rst:1460 +#: whatsnew/3.11.rst:1459 msgid "Subscript" msgstr "" -#: whatsnew/3.11.rst:1460 +#: whatsnew/3.11.rst:1459 msgid "``a[i]``" msgstr "" -#: whatsnew/3.11.rst:1460 +#: whatsnew/3.11.rst:1459 msgid "" "Subscripting container types such as :class:`list`, :class:`tuple` and :" "class:`dict` directly index the underlying data structures." msgstr "" -#: whatsnew/3.11.rst:1464 +#: whatsnew/3.11.rst:1463 msgid "" "Subscripting custom :meth:`~object.__getitem__` is also inlined similar to :" "ref:`inline-calls`." msgstr "" -#: whatsnew/3.11.rst:1467 +#: whatsnew/3.11.rst:1466 msgid "10-25%" msgstr "" -#: whatsnew/3.11.rst:1460 +#: whatsnew/3.11.rst:1459 msgid "Irit Katriel, Mark Shannon" msgstr "" -#: whatsnew/3.11.rst:1467 +#: whatsnew/3.11.rst:1466 msgid "Store subscript" msgstr "" -#: whatsnew/3.11.rst:1467 +#: whatsnew/3.11.rst:1466 msgid "``a[i] = z``" msgstr "" -#: whatsnew/3.11.rst:1467 +#: whatsnew/3.11.rst:1466 msgid "Similar to subscripting specialization above." msgstr "" -#: whatsnew/3.11.rst:1467 +#: whatsnew/3.11.rst:1466 msgid "Dennis Sweeney" msgstr "" -#: whatsnew/3.11.rst:1470 +#: whatsnew/3.11.rst:1469 msgid "Calls" msgstr "" -#: whatsnew/3.11.rst:1470 +#: whatsnew/3.11.rst:1469 msgid "``f(arg)``" msgstr "" -#: whatsnew/3.11.rst:1472 +#: whatsnew/3.11.rst:1471 msgid "``C(arg)``" msgstr "" -#: whatsnew/3.11.rst:1470 +#: whatsnew/3.11.rst:1469 msgid "" "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:1470 +#: whatsnew/3.11.rst:1469 msgid "20%" msgstr "" -#: whatsnew/3.11.rst:1470 +#: whatsnew/3.11.rst:1469 msgid "Mark Shannon, Ken Jin" msgstr "" -#: whatsnew/3.11.rst:1475 +#: whatsnew/3.11.rst:1474 msgid "Load global variable" msgstr "" -#: whatsnew/3.11.rst:1475 +#: whatsnew/3.11.rst:1474 msgid "``print``" msgstr "" -#: whatsnew/3.11.rst:1477 +#: whatsnew/3.11.rst:1476 msgid "``len``" msgstr "" -#: whatsnew/3.11.rst:1475 +#: whatsnew/3.11.rst:1474 msgid "" "The object's index in the globals/builtins namespace is cached. Loading " "globals and builtins require zero namespace lookups." msgstr "" -#: whatsnew/3.11.rst:1475 +#: whatsnew/3.11.rst:1474 msgid "[#load-global]_" msgstr "" -#: whatsnew/3.11.rst:1479 whatsnew/3.11.rst:1488 +#: whatsnew/3.11.rst:1478 whatsnew/3.11.rst:1487 msgid "Mark Shannon" msgstr "" -#: whatsnew/3.11.rst:1479 +#: whatsnew/3.11.rst:1478 msgid "Load attribute" msgstr "" -#: whatsnew/3.11.rst:1479 +#: whatsnew/3.11.rst:1478 msgid "``o.attr``" msgstr "" -#: whatsnew/3.11.rst:1479 +#: whatsnew/3.11.rst:1478 msgid "" "Similar to loading global variables. The attribute's index inside the class/" "object's namespace is cached. In most cases, attribute loading will require " "zero namespace lookups." msgstr "" -#: whatsnew/3.11.rst:1479 +#: whatsnew/3.11.rst:1478 msgid "[#load-attr]_" msgstr "" -#: whatsnew/3.11.rst:1484 +#: whatsnew/3.11.rst:1483 msgid "Load methods for call" msgstr "" -#: whatsnew/3.11.rst:1484 +#: whatsnew/3.11.rst:1483 msgid "``o.meth()``" msgstr "" -#: whatsnew/3.11.rst:1484 +#: whatsnew/3.11.rst:1483 msgid "" "The actual address of the method is cached. Method loading now has no " "namespace lookups -- even for classes with long inheritance chains." msgstr "" -#: whatsnew/3.11.rst:1484 +#: whatsnew/3.11.rst:1483 msgid "10-20%" msgstr "" -#: whatsnew/3.11.rst:1484 +#: whatsnew/3.11.rst:1483 msgid "Ken Jin, Mark Shannon" msgstr "" -#: whatsnew/3.11.rst:1488 +#: whatsnew/3.11.rst:1487 msgid "Store attribute" msgstr "" -#: whatsnew/3.11.rst:1488 +#: whatsnew/3.11.rst:1487 msgid "``o.attr = z``" msgstr "" -#: whatsnew/3.11.rst:1488 +#: whatsnew/3.11.rst:1487 msgid "Similar to load attribute optimization." msgstr "" -#: whatsnew/3.11.rst:1488 +#: whatsnew/3.11.rst:1487 msgid "2% in pyperformance" msgstr "" -#: whatsnew/3.11.rst:1491 +#: whatsnew/3.11.rst:1490 msgid "Unpack Sequence" msgstr "" -#: whatsnew/3.11.rst:1491 +#: whatsnew/3.11.rst:1490 msgid "``*seq``" msgstr "" -#: whatsnew/3.11.rst:1491 +#: whatsnew/3.11.rst:1490 msgid "" "Specialized for common containers such as :class:`list` and :class:`tuple`. " "Avoids internal calling convention." msgstr "" -#: whatsnew/3.11.rst:1491 +#: whatsnew/3.11.rst:1490 msgid "8%" msgstr "" -#: whatsnew/3.11.rst:1491 +#: whatsnew/3.11.rst:1490 msgid "Brandt Bucher" msgstr "" -#: whatsnew/3.11.rst:1496 +#: whatsnew/3.11.rst:1495 msgid "" "A similar optimization already existed since Python 3.8. 3.11 specializes " "for more forms and reduces some overhead." msgstr "" -#: whatsnew/3.11.rst:1499 +#: whatsnew/3.11.rst:1498 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:1507 +#: whatsnew/3.11.rst:1506 msgid "Misc" msgstr "" -#: whatsnew/3.11.rst:1509 +#: whatsnew/3.11.rst:1508 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:1513 +#: whatsnew/3.11.rst:1512 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:1517 +#: whatsnew/3.11.rst:1516 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:1521 +#: whatsnew/3.11.rst:1520 msgid "" ":mod:`re`'s regular expression matching engine has been partially " "refactored, and now uses computed gotos (or \"threaded code\") on supported " @@ -2019,37 +2018,37 @@ msgid "" "Bucher in :gh:`91404`.)" msgstr "" -#: whatsnew/3.11.rst:1532 +#: whatsnew/3.11.rst:1531 msgid "FAQ" msgstr "" -#: whatsnew/3.11.rst:1537 +#: whatsnew/3.11.rst:1536 msgid "How should I write my code to utilize these speedups?" msgstr "" -#: whatsnew/3.11.rst:1539 +#: whatsnew/3.11.rst:1538 msgid "" "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:1547 +#: whatsnew/3.11.rst:1546 msgid "Will CPython 3.11 use more memory?" msgstr "" -#: whatsnew/3.11.rst:1549 +#: whatsnew/3.11.rst:1548 msgid "" "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:1557 +#: whatsnew/3.11.rst:1556 msgid "I don't see any speedups in my workload. Why?" msgstr "" -#: whatsnew/3.11.rst:1559 +#: whatsnew/3.11.rst:1558 msgid "" "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 " @@ -2057,26 +2056,26 @@ msgid "" "project currently benefits pure-Python workloads the most." msgstr "" -#: whatsnew/3.11.rst:1564 +#: whatsnew/3.11.rst:1563 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:1572 +#: whatsnew/3.11.rst:1571 msgid "Is there a JIT compiler?" msgstr "" -#: whatsnew/3.11.rst:1574 +#: whatsnew/3.11.rst:1573 msgid "No. We're still exploring other optimizations." msgstr "" -#: whatsnew/3.11.rst:1580 +#: whatsnew/3.11.rst:1579 msgid "About" msgstr "" -#: whatsnew/3.11.rst:1582 +#: whatsnew/3.11.rst:1581 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 " @@ -2084,11 +2083,11 @@ msgid "" "contributors are volunteers from the community." msgstr "" -#: whatsnew/3.11.rst:1591 +#: whatsnew/3.11.rst:1590 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.11.rst:1593 +#: whatsnew/3.11.rst:1592 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 " @@ -2098,62 +2097,62 @@ msgid "" "containing quickened data." msgstr "" -#: whatsnew/3.11.rst:1605 +#: whatsnew/3.11.rst:1604 msgid "New opcodes" msgstr "" -#: whatsnew/3.11.rst:1607 +#: whatsnew/3.11.rst:1606 msgid "" ":opcode:`!ASYNC_GEN_WRAP`, :opcode:`RETURN_GENERATOR` and :opcode:`SEND`, " "used in generators and co-routines." msgstr "" -#: whatsnew/3.11.rst:1610 +#: whatsnew/3.11.rst:1609 msgid "" ":opcode:`COPY_FREE_VARS`, which avoids needing special caller-side code for " "closures." msgstr "" -#: whatsnew/3.11.rst:1613 +#: whatsnew/3.11.rst:1612 msgid "" ":opcode:`JUMP_BACKWARD_NO_INTERRUPT`, for use in certain loops where " "handling interrupts is undesirable." msgstr "" -#: whatsnew/3.11.rst:1616 +#: whatsnew/3.11.rst:1615 msgid ":opcode:`MAKE_CELL`, to create :ref:`cell-objects`." msgstr "" -#: whatsnew/3.11.rst:1618 +#: whatsnew/3.11.rst:1617 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:1622 +#: whatsnew/3.11.rst:1621 msgid ":opcode:`PUSH_EXC_INFO`, for use in exception handlers." msgstr "" -#: whatsnew/3.11.rst:1624 +#: whatsnew/3.11.rst:1623 msgid "" ":opcode:`RESUME`, a no-op, for internal tracing, debugging and optimization " "checks." msgstr "" -#: whatsnew/3.11.rst:1631 +#: whatsnew/3.11.rst:1630 msgid "Replaced opcodes" msgstr "" -#: whatsnew/3.11.rst:1634 +#: whatsnew/3.11.rst:1633 msgid "Replaced Opcode(s)" msgstr "" -#: whatsnew/3.11.rst:1634 +#: whatsnew/3.11.rst:1633 msgid "New Opcode(s)" msgstr "" -#: whatsnew/3.11.rst:1634 +#: whatsnew/3.11.rst:1633 msgid "Notes" msgstr "" @@ -2165,11 +2164,11 @@ msgstr "" msgid ":opcode:`!INPLACE_*`" msgstr "" -#: whatsnew/3.11.rst:1636 +#: whatsnew/3.11.rst:1635 msgid ":opcode:`BINARY_OP`" msgstr "" -#: whatsnew/3.11.rst:1636 +#: whatsnew/3.11.rst:1635 msgid "Replaced all numeric binary/in-place opcodes with a single opcode" msgstr "" @@ -2201,7 +2200,7 @@ msgstr "" msgid ":opcode:`PUSH_NULL`" msgstr "" -#: whatsnew/3.11.rst:1639 +#: whatsnew/3.11.rst:1638 msgid "" "Decouples argument shifting for methods from handling of keyword arguments; " "allows better specialization of calls" @@ -2239,7 +2238,7 @@ msgstr "" msgid ":opcode:`SWAP`" msgstr "" -#: whatsnew/3.11.rst:1644 +#: whatsnew/3.11.rst:1643 msgid "Stack manipulation instructions" msgstr "" @@ -2251,7 +2250,7 @@ msgstr "" msgid ":opcode:`CHECK_EXC_MATCH`" msgstr "" -#: whatsnew/3.11.rst:1651 +#: whatsnew/3.11.rst:1650 msgid "Now performs check but doesn't jump" msgstr "" @@ -2279,7 +2278,7 @@ msgstr "" msgid ":opcode:`!POP_JUMP_FORWARD_IF_*`" msgstr "" -#: whatsnew/3.11.rst:1653 +#: whatsnew/3.11.rst:1652 msgid "" "See [#bytecode-jump]_; ``TRUE``, ``FALSE``, ``NONE`` and ``NOT_NONE`` " "variants for each direction" @@ -2293,64 +2292,64 @@ msgstr "" msgid ":opcode:`!SETUP_ASYNC_WITH`" msgstr "" -#: whatsnew/3.11.rst:1659 +#: whatsnew/3.11.rst:1658 msgid ":opcode:`BEFORE_WITH`" msgstr "" -#: whatsnew/3.11.rst:1659 +#: whatsnew/3.11.rst:1658 msgid ":keyword:`with` block setup" msgstr "" -#: whatsnew/3.11.rst:1663 +#: whatsnew/3.11.rst:1662 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:1674 +#: whatsnew/3.11.rst:1673 msgid "Changed/removed opcodes" msgstr "" -#: whatsnew/3.11.rst:1676 +#: whatsnew/3.11.rst:1675 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:1681 +#: whatsnew/3.11.rst:1680 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:1685 +#: whatsnew/3.11.rst:1684 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:2566 +#: whatsnew/3.11.rst:2565 msgid "Deprecated" msgstr "" -#: whatsnew/3.11.rst:1695 +#: whatsnew/3.11.rst:1694 msgid "" "This section lists Python APIs that have been deprecated in Python 3.11." msgstr "" -#: whatsnew/3.11.rst:1697 +#: whatsnew/3.11.rst:1696 msgid "" "Deprecated C APIs are :ref:`listed separately `." msgstr "" -#: whatsnew/3.11.rst:1704 +#: whatsnew/3.11.rst:1703 msgid "Language/Builtins" msgstr "" -#: whatsnew/3.11.rst:1706 +#: whatsnew/3.11.rst:1705 msgid "" "Chaining :class:`classmethod` descriptors (introduced in :issue:`19072`) is " "now deprecated. It can no longer be used to wrap other descriptors such as :" @@ -2360,7 +2359,7 @@ msgid "" "3.10. (Contributed by Raymond Hettinger in :gh:`89519`.)" msgstr "" -#: whatsnew/3.11.rst:1714 +#: whatsnew/3.11.rst:1713 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 " @@ -2368,7 +2367,7 @@ msgid "" "`SyntaxError`. (Contributed by Serhiy Storchaka in :gh:`81548`.)" msgstr "" -#: whatsnew/3.11.rst:1720 +#: whatsnew/3.11.rst:1719 msgid "" "The delegation of :func:`int` to :meth:`~object.__trunc__` is now " "deprecated. Calling ``int(a)`` when ``type(a)`` implements :meth:`!" @@ -2377,99 +2376,99 @@ msgid "" "`44977`.)" msgstr "" -#: whatsnew/3.11.rst:1730 +#: whatsnew/3.11.rst:1729 msgid "Modules" msgstr "" -#: whatsnew/3.11.rst:1734 +#: whatsnew/3.11.rst:1733 msgid "" ":pep:`594` led to the deprecations of the following modules slated for " "removal in Python 3.13:" msgstr "" -#: whatsnew/3.11.rst:1738 +#: whatsnew/3.11.rst:1737 msgid ":mod:`aifc`" msgstr "" -#: whatsnew/3.11.rst:1738 +#: whatsnew/3.11.rst:1737 msgid ":mod:`chunk`" msgstr "" -#: whatsnew/3.11.rst:1738 +#: whatsnew/3.11.rst:1737 msgid ":mod:`msilib`" msgstr "" -#: whatsnew/3.11.rst:1738 +#: whatsnew/3.11.rst:1737 msgid ":mod:`pipes`" msgstr "" -#: whatsnew/3.11.rst:1738 +#: whatsnew/3.11.rst:1737 msgid ":mod:`telnetlib`" msgstr "" -#: whatsnew/3.11.rst:1740 +#: whatsnew/3.11.rst:1739 msgid ":mod:`audioop`" msgstr "" -#: whatsnew/3.11.rst:1740 +#: whatsnew/3.11.rst:1739 msgid ":mod:`crypt`" msgstr "" -#: whatsnew/3.11.rst:1740 +#: whatsnew/3.11.rst:1739 msgid ":mod:`nis`" msgstr "" -#: whatsnew/3.11.rst:1740 +#: whatsnew/3.11.rst:1739 msgid ":mod:`sndhdr`" msgstr "" -#: whatsnew/3.11.rst:1740 +#: whatsnew/3.11.rst:1739 msgid ":mod:`uu`" msgstr "" -#: whatsnew/3.11.rst:1742 +#: whatsnew/3.11.rst:1741 msgid ":mod:`cgi`" msgstr "" -#: whatsnew/3.11.rst:1742 +#: whatsnew/3.11.rst:1741 msgid ":mod:`imghdr`" msgstr "" -#: whatsnew/3.11.rst:1742 +#: whatsnew/3.11.rst:1741 msgid ":mod:`nntplib`" msgstr "" -#: whatsnew/3.11.rst:1742 +#: whatsnew/3.11.rst:1741 msgid ":mod:`spwd`" msgstr "" -#: whatsnew/3.11.rst:1742 +#: whatsnew/3.11.rst:1741 msgid ":mod:`xdrlib`" msgstr "" -#: whatsnew/3.11.rst:1744 +#: whatsnew/3.11.rst:1743 msgid ":mod:`cgitb`" msgstr "" -#: whatsnew/3.11.rst:1744 +#: whatsnew/3.11.rst:1743 msgid ":mod:`mailcap`" msgstr "" -#: whatsnew/3.11.rst:1744 +#: whatsnew/3.11.rst:1743 msgid ":mod:`ossaudiodev`" msgstr "" -#: whatsnew/3.11.rst:1744 +#: whatsnew/3.11.rst:1743 msgid ":mod:`sunau`" msgstr "" -#: whatsnew/3.11.rst:1747 +#: whatsnew/3.11.rst:1746 msgid "" "(Contributed by Brett Cannon in :issue:`47061` and Victor Stinner in :gh:" "`68966`.)" msgstr "" -#: whatsnew/3.11.rst:1750 +#: whatsnew/3.11.rst:1749 msgid "" "The :mod:`!asynchat`, :mod:`!asyncore` and :mod:`!smtpd` modules have been " "deprecated since at least Python 3.6. Their documentation and deprecation " @@ -2477,7 +2476,7 @@ msgid "" "(Contributed by Hugo van Kemenade in :issue:`47022`.)" msgstr "" -#: whatsnew/3.11.rst:1755 +#: whatsnew/3.11.rst:1754 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:" @@ -2485,41 +2484,41 @@ msgid "" "Stinner in :issue:`40360`.)" msgstr "" -#: whatsnew/3.11.rst:1760 +#: whatsnew/3.11.rst:1759 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:1768 +#: whatsnew/3.11.rst:1767 msgid "Standard Library" msgstr "" -#: whatsnew/3.11.rst:1770 +#: whatsnew/3.11.rst:1769 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:1774 +#: whatsnew/3.11.rst:1773 msgid "the :class:`!configparser.SafeConfigParser` class" msgstr "" -#: whatsnew/3.11.rst:1775 +#: whatsnew/3.11.rst:1774 msgid "the :attr:`!configparser.ParsingError.filename` property" msgstr "" -#: whatsnew/3.11.rst:1776 +#: whatsnew/3.11.rst:1775 msgid "the :meth:`!configparser.RawConfigParser.readfp` method" msgstr "" -#: whatsnew/3.11.rst:1778 +#: whatsnew/3.11.rst:1777 msgid "(Contributed by Hugo van Kemenade in :issue:`45173`.)" msgstr "" -#: whatsnew/3.11.rst:1780 +#: whatsnew/3.11.rst:1779 msgid "" ":class:`!configparser.LegacyInterpolation` has been deprecated in the " "docstring since Python 3.2, and is not listed in the :mod:`configparser` " @@ -2529,7 +2528,7 @@ msgid "" "Kemenade in :issue:`46607`.)" msgstr "" -#: whatsnew/3.11.rst:1787 +#: whatsnew/3.11.rst:1786 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 " @@ -2537,35 +2536,35 @@ msgid "" "package subdirectories:" msgstr "" -#: whatsnew/3.11.rst:1792 +#: whatsnew/3.11.rst:1791 msgid ":func:`importlib.resources.contents`" msgstr "" -#: whatsnew/3.11.rst:1793 +#: whatsnew/3.11.rst:1792 msgid ":func:`importlib.resources.is_resource`" msgstr "" -#: whatsnew/3.11.rst:1794 +#: whatsnew/3.11.rst:1793 msgid ":func:`importlib.resources.open_binary`" msgstr "" -#: whatsnew/3.11.rst:1795 +#: whatsnew/3.11.rst:1794 msgid ":func:`importlib.resources.open_text`" msgstr "" -#: whatsnew/3.11.rst:1796 +#: whatsnew/3.11.rst:1795 msgid ":func:`importlib.resources.read_binary`" msgstr "" -#: whatsnew/3.11.rst:1797 +#: whatsnew/3.11.rst:1796 msgid ":func:`importlib.resources.read_text`" msgstr "" -#: whatsnew/3.11.rst:1798 +#: whatsnew/3.11.rst:1797 msgid ":func:`importlib.resources.path`" msgstr "" -#: whatsnew/3.11.rst:1800 +#: whatsnew/3.11.rst:1799 msgid "" "The :func:`locale.getdefaultlocale` function is deprecated and will be " "removed in Python 3.15. Use :func:`locale.setlocale`, :func:`locale." @@ -2573,14 +2572,14 @@ msgid "" "getlocale` functions instead. (Contributed by Victor Stinner in :gh:`90817`.)" msgstr "" -#: whatsnew/3.11.rst:1806 +#: whatsnew/3.11.rst:1805 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:1810 +#: whatsnew/3.11.rst:1809 msgid "" "Stricter rules will now be applied for numerical group references and group " "names in :ref:`regular expressions `. Only sequences of ASCII " @@ -2591,7 +2590,7 @@ msgid "" "`91760`.)" msgstr "" -#: whatsnew/3.11.rst:1818 +#: whatsnew/3.11.rst:1817 msgid "" "In the :mod:`re` module, the :func:`!re.template` function and the " "corresponding :const:`!re.TEMPLATE` and :const:`!re.T` flags are deprecated, " @@ -2600,7 +2599,7 @@ msgid "" "in :gh:`92728`.)" msgstr "" -#: whatsnew/3.11.rst:1824 +#: whatsnew/3.11.rst:1823 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:" @@ -2609,7 +2608,7 @@ msgid "" "issue:`45837`.)" msgstr "" -#: whatsnew/3.11.rst:1830 +#: whatsnew/3.11.rst:1829 msgid "" ":class:`typing.Text`, which exists solely to provide compatibility support " "between Python 2 and Python 3 code, is now deprecated. Its removal is " @@ -2617,347 +2616,347 @@ msgid "" "wherever possible. (Contributed by Alex Waygood in :gh:`92332`.)" msgstr "" -#: whatsnew/3.11.rst:1836 +#: whatsnew/3.11.rst:1835 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:1840 +#: whatsnew/3.11.rst:1839 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 Donghee Na in :issue:`42255`.)" msgstr "" -#: whatsnew/3.11.rst:1844 +#: whatsnew/3.11.rst:1843 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:1848 +#: whatsnew/3.11.rst:1847 msgid "" "Deprecated the following not-formally-documented :mod:`unittest` functions, " "scheduled for removal in Python 3.13:" msgstr "" -#: whatsnew/3.11.rst:1851 +#: whatsnew/3.11.rst:1850 msgid ":func:`!unittest.findTestCases`" msgstr "" -#: whatsnew/3.11.rst:1852 +#: whatsnew/3.11.rst:1851 msgid ":func:`!unittest.makeSuite`" msgstr "" -#: whatsnew/3.11.rst:1853 +#: whatsnew/3.11.rst:1852 msgid ":func:`!unittest.getTestCaseNames`" msgstr "" -#: whatsnew/3.11.rst:1855 +#: whatsnew/3.11.rst:1854 msgid "Use :class:`~unittest.TestLoader` methods instead:" msgstr "" -#: whatsnew/3.11.rst:1857 +#: whatsnew/3.11.rst:1856 msgid ":meth:`unittest.TestLoader.loadTestsFromModule`" msgstr "" -#: whatsnew/3.11.rst:1858 +#: whatsnew/3.11.rst:1857 msgid ":meth:`unittest.TestLoader.loadTestsFromTestCase`" msgstr "" -#: whatsnew/3.11.rst:1859 +#: whatsnew/3.11.rst:1858 msgid ":meth:`unittest.TestLoader.getTestCaseNames`" msgstr "" -#: whatsnew/3.11.rst:1861 +#: whatsnew/3.11.rst:1860 msgid "(Contributed by Erlend E. Aasland in :issue:`5846`.)" msgstr "" -#: whatsnew/3.11.rst:1863 +#: whatsnew/3.11.rst:1862 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:2594 +#: whatsnew/3.11.rst:2593 msgid "Pending Removal in Python 3.12" msgstr "" -#: whatsnew/3.11.rst:1874 +#: whatsnew/3.11.rst:1873 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:1877 +#: whatsnew/3.11.rst:1876 msgid "" "C APIs pending removal are :ref:`listed separately `." msgstr "" -#: whatsnew/3.11.rst:1880 +#: whatsnew/3.11.rst:1879 msgid "The :mod:`!asynchat` module" msgstr "" -#: whatsnew/3.11.rst:1881 +#: whatsnew/3.11.rst:1880 msgid "The :mod:`!asyncore` module" msgstr "" -#: whatsnew/3.11.rst:1882 +#: whatsnew/3.11.rst:1881 msgid "The :ref:`entire distutils package `" msgstr "" -#: whatsnew/3.11.rst:1883 +#: whatsnew/3.11.rst:1882 msgid "The :mod:`!imp` module" msgstr "" -#: whatsnew/3.11.rst:1884 +#: whatsnew/3.11.rst:1883 msgid "The :class:`typing.io ` namespace" msgstr "" -#: whatsnew/3.11.rst:1885 +#: whatsnew/3.11.rst:1884 msgid "The :class:`typing.re ` namespace" msgstr "" -#: whatsnew/3.11.rst:1886 +#: whatsnew/3.11.rst:1885 msgid ":func:`!cgi.log`" msgstr "" -#: whatsnew/3.11.rst:1887 +#: whatsnew/3.11.rst:1886 msgid ":func:`!importlib.find_loader`" msgstr "" -#: whatsnew/3.11.rst:1888 +#: whatsnew/3.11.rst:1887 msgid ":meth:`!importlib.abc.Loader.module_repr`" msgstr "" -#: whatsnew/3.11.rst:1889 +#: whatsnew/3.11.rst:1888 msgid ":meth:`!importlib.abc.MetaPathFinder.find_module`" msgstr "" -#: whatsnew/3.11.rst:1890 +#: whatsnew/3.11.rst:1889 msgid ":meth:`!importlib.abc.PathEntryFinder.find_loader`" msgstr "" -#: whatsnew/3.11.rst:1891 +#: whatsnew/3.11.rst:1890 msgid ":meth:`!importlib.abc.PathEntryFinder.find_module`" msgstr "" -#: whatsnew/3.11.rst:1892 +#: whatsnew/3.11.rst:1891 msgid ":meth:`!importlib.machinery.BuiltinImporter.find_module`" msgstr "" -#: whatsnew/3.11.rst:1893 +#: whatsnew/3.11.rst:1892 msgid ":meth:`!importlib.machinery.BuiltinLoader.module_repr`" msgstr "" -#: whatsnew/3.11.rst:1894 +#: whatsnew/3.11.rst:1893 msgid ":meth:`!importlib.machinery.FileFinder.find_loader`" msgstr "" -#: whatsnew/3.11.rst:1895 +#: whatsnew/3.11.rst:1894 msgid ":meth:`!importlib.machinery.FileFinder.find_module`" msgstr "" -#: whatsnew/3.11.rst:1896 +#: whatsnew/3.11.rst:1895 msgid ":meth:`!importlib.machinery.FrozenImporter.find_module`" msgstr "" -#: whatsnew/3.11.rst:1897 +#: whatsnew/3.11.rst:1896 msgid ":meth:`!importlib.machinery.FrozenLoader.module_repr`" msgstr "" -#: whatsnew/3.11.rst:1898 +#: whatsnew/3.11.rst:1897 msgid ":meth:`!importlib.machinery.PathFinder.find_module`" msgstr "" -#: whatsnew/3.11.rst:1899 +#: whatsnew/3.11.rst:1898 msgid ":meth:`!importlib.machinery.WindowsRegistryFinder.find_module`" msgstr "" -#: whatsnew/3.11.rst:1900 +#: whatsnew/3.11.rst:1899 msgid ":func:`!importlib.util.module_for_loader`" msgstr "" -#: whatsnew/3.11.rst:1901 +#: whatsnew/3.11.rst:1900 msgid ":func:`!importlib.util.set_loader_wrapper`" msgstr "" -#: whatsnew/3.11.rst:1902 +#: whatsnew/3.11.rst:1901 msgid ":func:`!importlib.util.set_package_wrapper`" msgstr "" -#: whatsnew/3.11.rst:1903 +#: whatsnew/3.11.rst:1902 msgid ":class:`!pkgutil.ImpImporter`" msgstr "" -#: whatsnew/3.11.rst:1904 +#: whatsnew/3.11.rst:1903 msgid ":class:`!pkgutil.ImpLoader`" msgstr "" -#: whatsnew/3.11.rst:1905 +#: whatsnew/3.11.rst:1904 msgid ":meth:`!pathlib.Path.link_to`" msgstr "" -#: whatsnew/3.11.rst:1906 +#: whatsnew/3.11.rst:1905 msgid ":func:`!sqlite3.enable_shared_cache`" msgstr "" -#: whatsnew/3.11.rst:1907 +#: whatsnew/3.11.rst:1906 msgid ":func:`!sqlite3.OptimizedUnicode`" msgstr "" -#: whatsnew/3.11.rst:1908 +#: whatsnew/3.11.rst:1907 msgid ":envvar:`!PYTHONTHREADDEBUG` environment variable" msgstr "" -#: whatsnew/3.11.rst:1909 +#: whatsnew/3.11.rst:1908 msgid "The following deprecated aliases in :mod:`unittest`:" msgstr "" -#: whatsnew/3.11.rst:1912 +#: whatsnew/3.11.rst:1911 msgid "Deprecated alias" msgstr "" -#: whatsnew/3.11.rst:1912 +#: whatsnew/3.11.rst:1911 msgid "Method Name" msgstr "" -#: whatsnew/3.11.rst:1912 +#: whatsnew/3.11.rst:1911 msgid "Deprecated in" msgstr "" -#: whatsnew/3.11.rst:1914 +#: whatsnew/3.11.rst:1913 msgid "``failUnless``" msgstr "" -#: whatsnew/3.11.rst:1921 +#: whatsnew/3.11.rst:1920 msgid ":meth:`.assertTrue`" msgstr "" -#: whatsnew/3.11.rst:1915 whatsnew/3.11.rst:1917 whatsnew/3.11.rst:1919 -#: whatsnew/3.11.rst:1920 +#: whatsnew/3.11.rst:1914 whatsnew/3.11.rst:1916 whatsnew/3.11.rst:1918 +#: whatsnew/3.11.rst:1919 msgid "3.1" msgstr "" -#: whatsnew/3.11.rst:1915 +#: whatsnew/3.11.rst:1914 msgid "``failIf``" msgstr "" -#: whatsnew/3.11.rst:1915 +#: whatsnew/3.11.rst:1914 msgid ":meth:`.assertFalse`" msgstr "" -#: whatsnew/3.11.rst:1916 +#: whatsnew/3.11.rst:1915 msgid "``failUnlessEqual``" msgstr "" -#: whatsnew/3.11.rst:1922 +#: whatsnew/3.11.rst:1921 msgid ":meth:`.assertEqual`" msgstr "" -#: whatsnew/3.11.rst:1917 +#: whatsnew/3.11.rst:1916 msgid "``failIfEqual``" msgstr "" -#: whatsnew/3.11.rst:1923 +#: whatsnew/3.11.rst:1922 msgid ":meth:`.assertNotEqual`" msgstr "" -#: whatsnew/3.11.rst:1918 +#: whatsnew/3.11.rst:1917 msgid "``failUnlessAlmostEqual``" msgstr "" -#: whatsnew/3.11.rst:1924 +#: whatsnew/3.11.rst:1923 msgid ":meth:`.assertAlmostEqual`" msgstr "" -#: whatsnew/3.11.rst:1919 +#: whatsnew/3.11.rst:1918 msgid "``failIfAlmostEqual``" msgstr "" -#: whatsnew/3.11.rst:1925 +#: whatsnew/3.11.rst:1924 msgid ":meth:`.assertNotAlmostEqual`" msgstr "" -#: whatsnew/3.11.rst:1920 +#: whatsnew/3.11.rst:1919 msgid "``failUnlessRaises``" msgstr "" -#: whatsnew/3.11.rst:1920 +#: whatsnew/3.11.rst:1919 msgid ":meth:`.assertRaises`" msgstr "" -#: whatsnew/3.11.rst:1921 +#: whatsnew/3.11.rst:1920 msgid "``assert_``" msgstr "" -#: whatsnew/3.11.rst:1922 whatsnew/3.11.rst:1924 whatsnew/3.11.rst:1926 -#: whatsnew/3.11.rst:1927 +#: whatsnew/3.11.rst:1921 whatsnew/3.11.rst:1923 whatsnew/3.11.rst:1925 +#: whatsnew/3.11.rst:1926 msgid "3.2" msgstr "" -#: whatsnew/3.11.rst:1922 +#: whatsnew/3.11.rst:1921 msgid "``assertEquals``" msgstr "" -#: whatsnew/3.11.rst:1923 +#: whatsnew/3.11.rst:1922 msgid "``assertNotEquals``" msgstr "" -#: whatsnew/3.11.rst:1924 +#: whatsnew/3.11.rst:1923 msgid "``assertAlmostEquals``" msgstr "" -#: whatsnew/3.11.rst:1925 +#: whatsnew/3.11.rst:1924 msgid "``assertNotAlmostEquals``" msgstr "" -#: whatsnew/3.11.rst:1926 +#: whatsnew/3.11.rst:1925 msgid "``assertRegexpMatches``" msgstr "" -#: whatsnew/3.11.rst:1926 +#: whatsnew/3.11.rst:1925 msgid ":meth:`.assertRegex`" msgstr "" -#: whatsnew/3.11.rst:1927 +#: whatsnew/3.11.rst:1926 msgid "``assertRaisesRegexp``" msgstr "" -#: whatsnew/3.11.rst:1927 +#: whatsnew/3.11.rst:1926 msgid ":meth:`.assertRaisesRegex`" msgstr "" -#: whatsnew/3.11.rst:1928 +#: whatsnew/3.11.rst:1927 msgid "``assertNotRegexpMatches``" msgstr "" -#: whatsnew/3.11.rst:1928 +#: whatsnew/3.11.rst:1927 msgid ":meth:`.assertNotRegex`" msgstr "" -#: whatsnew/3.11.rst:1928 +#: whatsnew/3.11.rst:1927 msgid "3.5" msgstr "" -#: whatsnew/3.11.rst:2620 +#: whatsnew/3.11.rst:2619 msgid "Removed" msgstr "" -#: whatsnew/3.11.rst:1937 +#: whatsnew/3.11.rst:1936 msgid "This section lists Python APIs that have been removed in Python 3.11." msgstr "" -#: whatsnew/3.11.rst:1939 +#: whatsnew/3.11.rst:1938 msgid "" "Removed C APIs are :ref:`listed separately `." msgstr "" -#: whatsnew/3.11.rst:1941 +#: whatsnew/3.11.rst:1940 msgid "" "Removed the :func:`!@asyncio.coroutine` :term:`decorator` enabling legacy " "generator-based coroutines to be compatible with :keyword:`async` / :keyword:" @@ -2966,14 +2965,14 @@ msgid "" "instead. (Contributed by Illia Volochii in :issue:`43216`.)" msgstr "" -#: whatsnew/3.11.rst:1948 +#: whatsnew/3.11.rst:1947 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:1952 +#: whatsnew/3.11.rst:1951 msgid "" "Due to significant security concerns, the *reuse_address* parameter of :meth:" "`asyncio.loop.create_datagram_endpoint`, disabled in Python 3.9, is now " @@ -2982,44 +2981,44 @@ msgid "" "`45129`.)" msgstr "" -#: whatsnew/3.11.rst:1958 +#: whatsnew/3.11.rst:1957 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:1961 +#: whatsnew/3.11.rst:1960 msgid ":func:`!binascii.a2b_hqx`" msgstr "" -#: whatsnew/3.11.rst:1962 +#: whatsnew/3.11.rst:1961 msgid ":func:`!binascii.b2a_hqx`" msgstr "" -#: whatsnew/3.11.rst:1963 +#: whatsnew/3.11.rst:1962 msgid ":func:`!binascii.rlecode_hqx`" msgstr "" -#: whatsnew/3.11.rst:1964 +#: whatsnew/3.11.rst:1963 msgid ":func:`!binascii.rldecode_hqx`" msgstr "" -#: whatsnew/3.11.rst:1966 +#: whatsnew/3.11.rst:1965 msgid "The :func:`binascii.crc_hqx` function remains available." msgstr "" -#: whatsnew/3.11.rst:1968 +#: whatsnew/3.11.rst:1967 msgid "(Contributed by Victor Stinner in :issue:`45085`.)" msgstr "" -#: whatsnew/3.11.rst:1970 +#: whatsnew/3.11.rst:1969 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:1974 +#: whatsnew/3.11.rst:1973 msgid "" "Removed the :meth:`~object.__getitem__` methods of :class:`xml.dom.pulldom." "DOMEventStream`, :class:`wsgiref.util.FileWrapper` and :class:`fileinput." @@ -3027,7 +3026,7 @@ msgid "" "in :issue:`45132`.)" msgstr "" -#: whatsnew/3.11.rst:1979 +#: whatsnew/3.11.rst:1978 msgid "" "Removed the deprecated :mod:`gettext` functions :func:`!lgettext`, :func:`!" "ldgettext`, :func:`!lngettext` and :func:`!ldngettext`. Also removed the :" @@ -3038,62 +3037,62 @@ msgid "" "by Donghee Na and Serhiy Storchaka in :issue:`44235`.)" msgstr "" -#: whatsnew/3.11.rst:1989 +#: whatsnew/3.11.rst:1988 msgid "Removed from the :mod:`inspect` module:" msgstr "" -#: whatsnew/3.11.rst:1991 +#: whatsnew/3.11.rst:1990 msgid "" "The :func:`!getargspec` function, deprecated since Python 3.0; use :func:" "`inspect.signature` or :func:`inspect.getfullargspec` instead." msgstr "" -#: whatsnew/3.11.rst:1994 +#: whatsnew/3.11.rst:1993 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:1998 +#: whatsnew/3.11.rst:1997 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:2003 +#: whatsnew/3.11.rst:2002 msgid "(Contributed by Hugo van Kemenade in :issue:`45320`.)" msgstr "" -#: whatsnew/3.11.rst:2005 +#: whatsnew/3.11.rst:2004 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:2010 +#: whatsnew/3.11.rst:2009 msgid "" "Removed the :class:`!MailmanProxy` class in the :mod:`!smtpd` module, as it " "is unusable without the external :mod:`!mailman` package. (Contributed by " "Donghee Na in :issue:`35800`.)" msgstr "" -#: whatsnew/3.11.rst:2014 +#: whatsnew/3.11.rst:2013 msgid "" "Removed the deprecated :meth:`!split` method of :class:`!_tkinter." "TkappType`. (Contributed by Erlend E. Aasland in :issue:`38371`.)" msgstr "" -#: whatsnew/3.11.rst:2017 +#: whatsnew/3.11.rst:2016 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:2021 +#: whatsnew/3.11.rst:2020 msgid "" "Removed the undocumented private :meth:`!float.__set_format__()` method, " "previously known as :meth:`!float.__setformat__()` in Python 3.7. Its " @@ -3102,38 +3101,37 @@ msgid "" "in :issue:`46852`.)" msgstr "" -#: whatsnew/3.11.rst:2027 +#: whatsnew/3.11.rst:2026 msgid "" "The :option:`!--experimental-isolated-subinterpreters` configure flag (and " "corresponding :c:macro:`!EXPERIMENTAL_ISOLATED_SUBINTERPRETERS` macro) have " "been removed." msgstr "" -#: whatsnew/3.11.rst:2031 +#: whatsnew/3.11.rst:2030 msgid "" -"`Pynche `_ --- The Pythonically Natural " -"Color and Hue Editor --- has been moved out of ``Tools/scripts`` and is " -"`being developed independently `_ from the Python source tree." +":pypi:`Pynche` --- The Pythonically Natural Color and Hue Editor --- has " +"been moved out of ``Tools/scripts`` and is `being developed independently " +"`_ from the Python source tree." msgstr "" -#: whatsnew/3.11.rst:2263 +#: whatsnew/3.11.rst:2262 msgid "Porting to Python 3.11" msgstr "" -#: whatsnew/3.11.rst:2043 +#: whatsnew/3.11.rst:2042 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:2046 +#: whatsnew/3.11.rst:2045 msgid "" "Porting notes for the C API are :ref:`listed separately `." msgstr "" -#: whatsnew/3.11.rst:2049 +#: whatsnew/3.11.rst:2048 msgid "" ":func:`open`, :func:`io.open`, :func:`codecs.open` and :class:`fileinput." "FileInput` no longer accept ``'U'`` (\"universal newline\") in the file " @@ -3144,7 +3142,7 @@ msgid "" "Stinner in :issue:`37330`.)" msgstr "" -#: whatsnew/3.11.rst:2058 +#: whatsnew/3.11.rst:2057 msgid "" ":class:`ast.AST` node positions are now validated when provided to :func:" "`compile` and other related functions. If invalid positions are detected, a :" @@ -3152,14 +3150,14 @@ msgid "" "`93351`)" msgstr "" -#: whatsnew/3.11.rst:2062 +#: whatsnew/3.11.rst:2061 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:2067 +#: whatsnew/3.11.rst:2066 msgid "" ":mod:`calendar`: The :class:`calendar.LocaleTextCalendar` and :class:" "`calendar.LocaleHTMLCalendar` classes now use :func:`locale.getlocale`, " @@ -3167,14 +3165,14 @@ msgid "" "(Contributed by Victor Stinner in :issue:`46659`.)" msgstr "" -#: whatsnew/3.11.rst:2073 +#: whatsnew/3.11.rst:2072 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:2077 +#: whatsnew/3.11.rst:2076 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 " @@ -3183,14 +3181,14 @@ msgid "" "`40465`.)" msgstr "" -#: whatsnew/3.11.rst:2083 +#: whatsnew/3.11.rst:2082 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:2087 +#: whatsnew/3.11.rst:2086 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 " @@ -3198,7 +3196,7 @@ msgid "" "`47066`.)" msgstr "" -#: whatsnew/3.11.rst:2092 +#: whatsnew/3.11.rst:2091 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, " @@ -3206,11 +3204,11 @@ msgid "" "in :issue:`35859`.)" msgstr "" -#: whatsnew/3.11.rst:2101 +#: whatsnew/3.11.rst:2100 msgid "Build Changes" msgstr "" -#: whatsnew/3.11.rst:2103 +#: whatsnew/3.11.rst:2102 msgid "" "CPython now has :pep:`11` :pep:`Tier 3 support <11#tier-3>` for cross " "compiling to the `WebAssembly `_ platforms " @@ -3225,11 +3223,11 @@ msgid "" "gh:`90473`; platforms promoted in :gh:`95085`)" msgstr "" -#: whatsnew/3.11.rst:2117 +#: whatsnew/3.11.rst:2116 msgid "Building CPython now requires:" msgstr "" -#: whatsnew/3.11.rst:2119 +#: whatsnew/3.11.rst:2118 msgid "" "A `C11 `_ compiler and standard library. " "`Optional C11 features `_ floating " "point numbers. (Contributed by Victor Stinner in :issue:`46917`.)" msgstr "" -#: whatsnew/3.11.rst:2130 +#: whatsnew/3.11.rst:2129 msgid "" "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:2134 +#: whatsnew/3.11.rst:2133 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:2138 +#: whatsnew/3.11.rst:2137 msgid "" "Build dependencies, compiler flags, and linker flags for most stdlib " "extension modules are now detected by :program:`configure`. libffi, libnsl, " @@ -3269,13 +3267,13 @@ msgid "" "`45847`, :issue:`45747`, and :issue:`45763`.)" msgstr "" -#: whatsnew/3.11.rst:2148 +#: whatsnew/3.11.rst:2147 msgid "" "libpython is no longer linked against libcrypt. (Contributed by Mike Gilbert " "in :issue:`45433`.)" msgstr "" -#: whatsnew/3.11.rst:2151 +#: whatsnew/3.11.rst:2150 msgid "" "CPython can now be built with the `ThinLTO `_ option via passing ``thin`` to :option:`--with-lto`, i.e. " @@ -3283,7 +3281,7 @@ msgid "" "`44340`.)" msgstr "" -#: whatsnew/3.11.rst:2156 +#: whatsnew/3.11.rst:2155 msgid "" "Freelists for object structs can now be disabled. A new :program:`configure` " "option :option:`--without-freelists` can be used to disable all freelists " @@ -3291,7 +3289,7 @@ msgid "" "`45522`.)" msgstr "" -#: whatsnew/3.11.rst:2161 +#: whatsnew/3.11.rst:2160 msgid "" "``Modules/Setup`` and ``Modules/makesetup`` have been improved and tied up. " "Extension modules can now be built through ``makesetup``. All except some " @@ -3300,7 +3298,7 @@ msgid "" "`45570`, :issue:`45571`, and :issue:`43974`.)" msgstr "" -#: whatsnew/3.11.rst:2168 +#: whatsnew/3.11.rst:2167 msgid "" "Use the environment variables :envvar:`!TCLTK_CFLAGS` and :envvar:`!" "TCLTK_LIBS` to manually specify the location of Tcl/Tk headers and " @@ -3308,7 +3306,7 @@ msgid "" "and :option:`!--with-tcltk-libs` have been removed." msgstr "" -#: whatsnew/3.11.rst:2174 +#: whatsnew/3.11.rst:2173 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 " @@ -3316,7 +3314,7 @@ msgid "" "build Python with RHEL 7's and CentOS 7's Tcl/Tk and OpenSSL." msgstr "" -#: whatsnew/3.11.rst:2179 +#: whatsnew/3.11.rst:2178 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 " @@ -3328,23 +3326,23 @@ msgid "" "in :issue:`45569`.)" msgstr "" -#: whatsnew/3.11.rst:2192 +#: whatsnew/3.11.rst:2191 msgid "C API Changes" msgstr "" -#: whatsnew/3.11.rst:2199 +#: whatsnew/3.11.rst:2198 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:2202 +#: whatsnew/3.11.rst:2201 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:2205 +#: whatsnew/3.11.rst:2204 msgid "" "Add new :c:func:`PyThreadState_EnterTracing` and :c:func:" "`PyThreadState_LeaveTracing` functions to the limited C API to suspend and " @@ -3352,78 +3350,78 @@ msgid "" "`43760`.)" msgstr "" -#: whatsnew/3.11.rst:2210 +#: whatsnew/3.11.rst:2209 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:2214 +#: whatsnew/3.11.rst:2213 msgid "" ":c:type:`Py_buffer` and APIs are now part of the limited API and the stable " "ABI:" msgstr "" -#: whatsnew/3.11.rst:2217 +#: whatsnew/3.11.rst:2216 msgid ":c:func:`PyObject_CheckBuffer`" msgstr "" -#: whatsnew/3.11.rst:2218 +#: whatsnew/3.11.rst:2217 msgid ":c:func:`PyObject_GetBuffer`" msgstr "" -#: whatsnew/3.11.rst:2219 +#: whatsnew/3.11.rst:2218 msgid ":c:func:`PyBuffer_GetPointer`" msgstr "" -#: whatsnew/3.11.rst:2220 +#: whatsnew/3.11.rst:2219 msgid ":c:func:`PyBuffer_SizeFromFormat`" msgstr "" -#: whatsnew/3.11.rst:2221 +#: whatsnew/3.11.rst:2220 msgid ":c:func:`PyBuffer_ToContiguous`" msgstr "" -#: whatsnew/3.11.rst:2222 +#: whatsnew/3.11.rst:2221 msgid ":c:func:`PyBuffer_FromContiguous`" msgstr "" -#: whatsnew/3.11.rst:2223 +#: whatsnew/3.11.rst:2222 msgid ":c:func:`PyObject_CopyData`" msgstr "" -#: whatsnew/3.11.rst:2224 +#: whatsnew/3.11.rst:2223 msgid ":c:func:`PyBuffer_IsContiguous`" msgstr "" -#: whatsnew/3.11.rst:2225 +#: whatsnew/3.11.rst:2224 msgid ":c:func:`PyBuffer_FillContiguousStrides`" msgstr "" -#: whatsnew/3.11.rst:2226 +#: whatsnew/3.11.rst:2225 msgid ":c:func:`PyBuffer_FillInfo`" msgstr "" -#: whatsnew/3.11.rst:2227 +#: whatsnew/3.11.rst:2226 msgid ":c:func:`PyBuffer_Release`" msgstr "" -#: whatsnew/3.11.rst:2228 +#: whatsnew/3.11.rst:2227 msgid ":c:func:`PyMemoryView_FromBuffer`" msgstr "" -#: whatsnew/3.11.rst:2229 +#: whatsnew/3.11.rst:2228 msgid "" ":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs." "bf_releasebuffer` type slots" msgstr "" -#: whatsnew/3.11.rst:2232 +#: whatsnew/3.11.rst:2231 msgid "(Contributed by Christian Heimes in :issue:`45459`.)" msgstr "" -#: whatsnew/3.11.rst:2234 +#: whatsnew/3.11.rst:2233 msgid "" "Added the :c:func:`PyType_GetModuleByDef` function, used to get the module " "in which a method was defined, in cases where this information is not " @@ -3431,7 +3429,7 @@ msgid "" "in :issue:`46613`.)" msgstr "" -#: whatsnew/3.11.rst:2239 +#: whatsnew/3.11.rst:2238 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:" @@ -3439,14 +3437,14 @@ msgid "" "`PyFloat_Unpack8`. (Contributed by Victor Stinner in :issue:`46906`.)" msgstr "" -#: whatsnew/3.11.rst:2245 +#: whatsnew/3.11.rst:2244 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:2249 +#: whatsnew/3.11.rst:2248 msgid "" "Added two new functions to get and set the active exception instance: :c:" "func:`PyErr_GetHandledException` and :c:func:`PyErr_SetHandledException`. " @@ -3455,13 +3453,13 @@ msgid "" "exceptions. (Contributed by Irit Katriel in :issue:`46343`.)" msgstr "" -#: whatsnew/3.11.rst:2256 +#: whatsnew/3.11.rst:2255 msgid "" "Added the :c:member:`PyConfig.safe_path` member. (Contributed by Victor " "Stinner in :gh:`57684`.)" msgstr "" -#: whatsnew/3.11.rst:2267 +#: whatsnew/3.11.rst:2266 msgid "" "Some macros have been converted to static inline functions to avoid `macro " "pitfalls `_. The " @@ -3473,7 +3471,7 @@ msgid "" "Stinner and Erlend E. Aasland in :gh:`89653`.)" msgstr "" -#: whatsnew/3.11.rst:2278 +#: whatsnew/3.11.rst:2277 msgid "" ":c:func:`PyErr_SetExcInfo()` no longer uses the ``type`` and ``traceback`` " "arguments, the interpreter now derives those values from the exception " @@ -3481,14 +3479,14 @@ msgid "" "all three arguments. (Contributed by Irit Katriel in :issue:`45711`.)" msgstr "" -#: whatsnew/3.11.rst:2284 +#: whatsnew/3.11.rst:2283 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:2288 +#: whatsnew/3.11.rst:2287 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 " @@ -3496,14 +3494,14 @@ msgid "" "``size``. (Contributed by Kumar Aditya in :issue:`46608`.)" msgstr "" -#: whatsnew/3.11.rst:2294 +#: whatsnew/3.11.rst:2293 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:2298 +#: whatsnew/3.11.rst:2297 msgid "" ":c:func:`!PyCode_New` and :c:func:`!PyCode_NewWithPosOnlyArgs` now take an " "additional ``exception_table`` argument. Using these functions should be " @@ -3512,7 +3510,7 @@ msgid "" "method." msgstr "" -#: whatsnew/3.11.rst:2304 +#: whatsnew/3.11.rst:2303 msgid "" ":c:type:`PyCodeObject` no longer has the ``co_code``, ``co_varnames``, " "``co_cellvars`` and ``co_freevars`` fields. Instead, use :c:func:" @@ -3522,35 +3520,35 @@ msgid "" "and :gh:`94936`.)" msgstr "" -#: whatsnew/3.11.rst:2312 +#: whatsnew/3.11.rst:2311 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:2316 +#: whatsnew/3.11.rst:2315 msgid "A tp_dealloc function that has the old macros, such as::" msgstr "" -#: whatsnew/3.11.rst:2327 +#: whatsnew/3.11.rst:2326 msgid "should migrate to the new macros as follows::" msgstr "" -#: whatsnew/3.11.rst:2338 +#: whatsnew/3.11.rst:2337 msgid "" "Note that ``Py_TRASHCAN_BEGIN`` has a second argument which should be the " "deallocation function it is in." msgstr "" -#: whatsnew/3.11.rst:2341 +#: whatsnew/3.11.rst:2340 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:2353 +#: whatsnew/3.11.rst:2352 msgid "" "The :c:func:`PyType_Ready` function now raises an error if a type is defined " "with the :c:macro:`Py_TPFLAGS_HAVE_GC` flag set but has no traverse function " @@ -3558,7 +3556,7 @@ msgid "" "issue:`44263`.)" msgstr "" -#: whatsnew/3.11.rst:2358 +#: whatsnew/3.11.rst:2357 msgid "" "Heap types with the :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` flag can now inherit " "the :pep:`590` vectorcall protocol. Previously, this was only possible for :" @@ -3566,7 +3564,7 @@ msgid "" "issue:`43908`)" msgstr "" -#: whatsnew/3.11.rst:2363 +#: whatsnew/3.11.rst:2362 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, " @@ -3574,11 +3572,11 @@ msgid "" "Python 3.9). For backward compatibility, this macro can be used::" msgstr "" -#: whatsnew/3.11.rst:2389 +#: whatsnew/3.11.rst:2388 msgid "(Contributed by Victor Stinner in :issue:`39573`.)" msgstr "" -#: whatsnew/3.11.rst:2377 +#: whatsnew/3.11.rst:2376 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, " @@ -3586,7 +3584,7 @@ msgid "" "Python 3.9). For backward compatibility, this macro can be used::" msgstr "" -#: whatsnew/3.11.rst:2391 +#: whatsnew/3.11.rst:2390 msgid "" "```` no longer includes the header files ````, ````, ```` and ```` when the ``Py_LIMITED_API`` macro is " @@ -3595,7 +3593,7 @@ msgid "" "(Contributed by Victor Stinner in :issue:`45434`.)" msgstr "" -#: whatsnew/3.11.rst:2397 +#: whatsnew/3.11.rst:2396 msgid "" "The non-limited API files ``cellobject.h``, ``classobject.h``, ``code.h``, " "``context.h``, ``funcobject.h``, ``genobject.h`` and ``longintrepr.h`` have " @@ -3606,7 +3604,7 @@ msgid "" "instead. (Contributed by Victor Stinner in :issue:`35134`.)" msgstr "" -#: whatsnew/3.11.rst:2405 +#: whatsnew/3.11.rst:2404 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 " @@ -3614,149 +3612,149 @@ msgid "" "Victor Stinner in :issue:`46007`.)" msgstr "" -#: whatsnew/3.11.rst:2410 +#: whatsnew/3.11.rst:2409 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:2414 +#: whatsnew/3.11.rst:2413 msgid ":c:func:`PyFrame_Check`" msgstr "" -#: whatsnew/3.11.rst:2415 +#: whatsnew/3.11.rst:2414 msgid ":c:func:`PyFrame_GetBack`" msgstr "" -#: whatsnew/3.11.rst:2416 +#: whatsnew/3.11.rst:2415 msgid ":c:func:`PyFrame_GetBuiltins`" msgstr "" -#: whatsnew/3.11.rst:2417 +#: whatsnew/3.11.rst:2416 msgid ":c:func:`PyFrame_GetGenerator`" msgstr "" -#: whatsnew/3.11.rst:2418 +#: whatsnew/3.11.rst:2417 msgid ":c:func:`PyFrame_GetGlobals`" msgstr "" -#: whatsnew/3.11.rst:2419 +#: whatsnew/3.11.rst:2418 msgid ":c:func:`PyFrame_GetLasti`" msgstr "" -#: whatsnew/3.11.rst:2420 +#: whatsnew/3.11.rst:2419 msgid ":c:func:`PyFrame_GetLocals`" msgstr "" -#: whatsnew/3.11.rst:2421 +#: whatsnew/3.11.rst:2420 msgid ":c:type:`PyFrame_Type`" msgstr "" -#: whatsnew/3.11.rst:2423 +#: whatsnew/3.11.rst:2422 msgid "(Contributed by Victor Stinner in :gh:`93937`.)" msgstr "" -#: whatsnew/3.11.rst:2427 +#: whatsnew/3.11.rst:2426 msgid "" "The :c:type:`PyFrameObject` structure members have been removed from the " "public C API." msgstr "" -#: whatsnew/3.11.rst:2430 +#: whatsnew/3.11.rst:2429 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:2434 +#: whatsnew/3.11.rst:2433 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:2438 +#: whatsnew/3.11.rst:2437 msgid ":c:type:`PyFrameObject` fields:" msgstr "" -#: whatsnew/3.11.rst:2440 +#: whatsnew/3.11.rst:2439 msgid "``f_back``: use :c:func:`PyFrame_GetBack`." msgstr "" -#: whatsnew/3.11.rst:2441 +#: whatsnew/3.11.rst:2440 msgid "``f_blockstack``: removed." msgstr "" -#: whatsnew/3.11.rst:2442 +#: whatsnew/3.11.rst:2441 msgid "``f_builtins``: use :c:func:`PyFrame_GetBuiltins`." msgstr "" -#: whatsnew/3.11.rst:2443 +#: whatsnew/3.11.rst:2442 msgid "``f_code``: use :c:func:`PyFrame_GetCode`." msgstr "" -#: whatsnew/3.11.rst:2444 +#: whatsnew/3.11.rst:2443 msgid "``f_gen``: use :c:func:`PyFrame_GetGenerator`." msgstr "" -#: whatsnew/3.11.rst:2445 +#: whatsnew/3.11.rst:2444 msgid "``f_globals``: use :c:func:`PyFrame_GetGlobals`." msgstr "" -#: whatsnew/3.11.rst:2446 +#: whatsnew/3.11.rst:2445 msgid "``f_iblock``: removed." msgstr "" -#: whatsnew/3.11.rst:2447 +#: whatsnew/3.11.rst:2446 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:2450 +#: whatsnew/3.11.rst:2449 msgid "``f_lineno``: use :c:func:`PyFrame_GetLineNumber`" msgstr "" -#: whatsnew/3.11.rst:2451 +#: whatsnew/3.11.rst:2450 msgid "``f_locals``: use :c:func:`PyFrame_GetLocals`." msgstr "" -#: whatsnew/3.11.rst:2452 +#: whatsnew/3.11.rst:2451 msgid "``f_stackdepth``: removed." msgstr "" -#: whatsnew/3.11.rst:2453 +#: whatsnew/3.11.rst:2452 msgid "``f_state``: no public API (renamed to ``f_frame.f_state``)." msgstr "" -#: whatsnew/3.11.rst:2454 +#: whatsnew/3.11.rst:2453 msgid "``f_trace``: no public API." msgstr "" -#: whatsnew/3.11.rst:2455 +#: whatsnew/3.11.rst:2454 msgid "" "``f_trace_lines``: use ``PyObject_GetAttrString((PyObject*)frame, " "\"f_trace_lines\")``." msgstr "" -#: whatsnew/3.11.rst:2456 +#: whatsnew/3.11.rst:2455 msgid "" "``f_trace_opcodes``: use ``PyObject_GetAttrString((PyObject*)frame, " "\"f_trace_opcodes\")``." msgstr "" -#: whatsnew/3.11.rst:2457 +#: whatsnew/3.11.rst:2456 msgid "``f_localsplus``: no public API (renamed to ``f_frame.localsplus``)." msgstr "" -#: whatsnew/3.11.rst:2458 +#: whatsnew/3.11.rst:2457 msgid "``f_valuestack``: removed." msgstr "" -#: whatsnew/3.11.rst:2460 +#: whatsnew/3.11.rst:2459 msgid "" "The Python frame object is now created lazily. A side effect is that the :" "attr:`~frame.f_back` member must not be accessed directly, since its value " @@ -3764,7 +3762,7 @@ msgid "" "called instead." msgstr "" -#: whatsnew/3.11.rst:2466 +#: whatsnew/3.11.rst:2465 msgid "" "Debuggers that accessed the :attr:`~frame.f_locals` directly *must* call :c:" "func:`PyFrame_GetLocals` instead. They no longer need to call :c:func:`!" @@ -3773,71 +3771,71 @@ msgid "" "now managed by the virtual machine." msgstr "" -#: whatsnew/3.11.rst:2472 +#: whatsnew/3.11.rst:2471 msgid "Code defining ``PyFrame_GetCode()`` on Python 3.8 and older::" msgstr "" -#: whatsnew/3.11.rst:2482 +#: whatsnew/3.11.rst:2481 msgid "Code defining ``PyFrame_GetBack()`` on Python 3.8 and older::" msgstr "" -#: whatsnew/3.11.rst:2492 +#: whatsnew/3.11.rst:2491 msgid "" "Or use the `pythoncapi_compat project `__ to get these two functions on older Python versions." msgstr "" -#: whatsnew/3.11.rst:2496 +#: whatsnew/3.11.rst:2495 msgid "Changes of the :c:type:`PyThreadState` structure members:" msgstr "" -#: whatsnew/3.11.rst:2498 +#: whatsnew/3.11.rst:2497 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:2502 +#: whatsnew/3.11.rst:2501 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:2505 +#: whatsnew/3.11.rst:2504 msgid "" "``recursion_depth``: removed, use ``(tstate->recursion_limit - tstate-" ">recursion_remaining)`` instead." msgstr "" -#: whatsnew/3.11.rst:2507 +#: whatsnew/3.11.rst:2506 msgid "``stackcheck_counter``: removed." msgstr "" -#: whatsnew/3.11.rst:2509 +#: whatsnew/3.11.rst:2508 msgid "Code defining ``PyThreadState_GetFrame()`` on Python 3.8 and older::" msgstr "" -#: whatsnew/3.11.rst:2519 +#: whatsnew/3.11.rst:2518 msgid "" "Code defining ``PyThreadState_EnterTracing()`` and " "``PyThreadState_LeaveTracing()`` on Python 3.10 and older::" msgstr "" -#: whatsnew/3.11.rst:2545 +#: whatsnew/3.11.rst:2544 msgid "" "Or use `the pythoncapi-compat project `__ to get these functions on old Python functions." msgstr "" -#: whatsnew/3.11.rst:2549 +#: whatsnew/3.11.rst:2548 msgid "" "Distributors are encouraged to build Python with the optimized Blake2 " "library `libb2`_." msgstr "" -#: whatsnew/3.11.rst:2552 +#: whatsnew/3.11.rst:2551 msgid "" "The :c:member:`PyConfig.module_search_paths_set` field must now be set to 1 " "for initialization to use :c:member:`PyConfig.module_search_paths` to " @@ -3845,7 +3843,7 @@ msgid "" "path and replace any values added to ``module_search_paths``." msgstr "" -#: whatsnew/3.11.rst:2557 +#: whatsnew/3.11.rst:2556 msgid "" ":c:func:`PyConfig_Read` no longer calculates the initial search path, and " "will not fill any values into :c:member:`PyConfig.module_search_paths`. To " @@ -3854,177 +3852,177 @@ msgid "" "object and modify it directly." msgstr "" -#: whatsnew/3.11.rst:2568 +#: whatsnew/3.11.rst:2567 msgid "" "Deprecate the following functions to configure the Python initialization:" msgstr "" -#: whatsnew/3.11.rst:2570 +#: whatsnew/3.11.rst:2569 msgid ":c:func:`!PySys_AddWarnOptionUnicode`" msgstr "" -#: whatsnew/3.11.rst:2571 +#: whatsnew/3.11.rst:2570 msgid ":c:func:`!PySys_AddWarnOption`" msgstr "" -#: whatsnew/3.11.rst:2572 +#: whatsnew/3.11.rst:2571 msgid ":c:func:`!PySys_AddXOption`" msgstr "" -#: whatsnew/3.11.rst:2573 +#: whatsnew/3.11.rst:2572 msgid ":c:func:`!PySys_HasWarnOptions`" msgstr "" -#: whatsnew/3.11.rst:2574 +#: whatsnew/3.11.rst:2573 msgid ":c:func:`!PySys_SetArgvEx`" msgstr "" -#: whatsnew/3.11.rst:2575 +#: whatsnew/3.11.rst:2574 msgid ":c:func:`!PySys_SetArgv`" msgstr "" -#: whatsnew/3.11.rst:2576 +#: whatsnew/3.11.rst:2575 msgid ":c:func:`!PySys_SetPath`" msgstr "" -#: whatsnew/3.11.rst:2577 +#: whatsnew/3.11.rst:2576 msgid ":c:func:`!Py_SetPath`" msgstr "" -#: whatsnew/3.11.rst:2578 +#: whatsnew/3.11.rst:2577 msgid ":c:func:`!Py_SetProgramName`" msgstr "" -#: whatsnew/3.11.rst:2579 +#: whatsnew/3.11.rst:2578 msgid ":c:func:`!Py_SetPythonHome`" msgstr "" -#: whatsnew/3.11.rst:2580 +#: whatsnew/3.11.rst:2579 msgid ":c:func:`!Py_SetStandardStreamEncoding`" msgstr "" -#: whatsnew/3.11.rst:2581 +#: whatsnew/3.11.rst:2580 msgid ":c:func:`!_Py_SetProgramFullPath`" msgstr "" -#: whatsnew/3.11.rst:2583 +#: whatsnew/3.11.rst:2582 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:2587 +#: whatsnew/3.11.rst:2586 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:2596 +#: whatsnew/3.11.rst:2595 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:2599 +#: whatsnew/3.11.rst:2598 msgid ":c:func:`!PyUnicode_AS_DATA`" msgstr "" -#: whatsnew/3.11.rst:2600 +#: whatsnew/3.11.rst:2599 msgid ":c:func:`!PyUnicode_AS_UNICODE`" msgstr "" -#: whatsnew/3.11.rst:2601 +#: whatsnew/3.11.rst:2600 msgid ":c:func:`!PyUnicode_AsUnicodeAndSize`" msgstr "" -#: whatsnew/3.11.rst:2602 +#: whatsnew/3.11.rst:2601 msgid ":c:func:`!PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.11.rst:2603 +#: whatsnew/3.11.rst:2602 msgid ":c:func:`!PyUnicode_FromUnicode`" msgstr "" -#: whatsnew/3.11.rst:2604 +#: whatsnew/3.11.rst:2603 msgid ":c:func:`!PyUnicode_GET_DATA_SIZE`" msgstr "" -#: whatsnew/3.11.rst:2605 +#: whatsnew/3.11.rst:2604 msgid ":c:func:`!PyUnicode_GET_SIZE`" msgstr "" -#: whatsnew/3.11.rst:2606 +#: whatsnew/3.11.rst:2605 msgid ":c:func:`!PyUnicode_GetSize`" msgstr "" -#: whatsnew/3.11.rst:2607 +#: whatsnew/3.11.rst:2606 msgid ":c:func:`!PyUnicode_IS_COMPACT`" msgstr "" -#: whatsnew/3.11.rst:2608 +#: whatsnew/3.11.rst:2607 msgid ":c:func:`!PyUnicode_IS_READY`" msgstr "" -#: whatsnew/3.11.rst:2609 +#: whatsnew/3.11.rst:2608 msgid ":c:func:`PyUnicode_READY`" msgstr "" -#: whatsnew/3.11.rst:2610 +#: whatsnew/3.11.rst:2609 msgid ":c:func:`!PyUnicode_WSTR_LENGTH`" msgstr "" -#: whatsnew/3.11.rst:2611 +#: whatsnew/3.11.rst:2610 msgid ":c:func:`!_PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.11.rst:2612 +#: whatsnew/3.11.rst:2611 msgid ":c:macro:`!PyUnicode_WCHAR_KIND`" msgstr "" -#: whatsnew/3.11.rst:2613 +#: whatsnew/3.11.rst:2612 msgid ":c:type:`PyUnicodeObject`" msgstr "" -#: whatsnew/3.11.rst:2614 +#: whatsnew/3.11.rst:2613 msgid ":c:func:`!PyUnicode_InternImmortal`" msgstr "" -#: whatsnew/3.11.rst:2622 +#: whatsnew/3.11.rst:2621 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:2626 +#: whatsnew/3.11.rst:2625 msgid "Remove the following math macros using the ``errno`` variable:" msgstr "" -#: whatsnew/3.11.rst:2628 +#: whatsnew/3.11.rst:2627 msgid "``Py_ADJUST_ERANGE1()``" msgstr "" -#: whatsnew/3.11.rst:2629 +#: whatsnew/3.11.rst:2628 msgid "``Py_ADJUST_ERANGE2()``" msgstr "" -#: whatsnew/3.11.rst:2630 +#: whatsnew/3.11.rst:2629 msgid "``Py_OVERFLOWED()``" msgstr "" -#: whatsnew/3.11.rst:2631 +#: whatsnew/3.11.rst:2630 msgid "``Py_SET_ERANGE_IF_OVERFLOW()``" msgstr "" -#: whatsnew/3.11.rst:2632 +#: whatsnew/3.11.rst:2631 msgid "``Py_SET_ERRNO_ON_MATH_ERROR()``" msgstr "" -#: whatsnew/3.11.rst:2634 +#: whatsnew/3.11.rst:2633 msgid "(Contributed by Victor Stinner in :issue:`45412`.)" msgstr "" -#: whatsnew/3.11.rst:2636 +#: whatsnew/3.11.rst:2635 msgid "" "Remove ``Py_UNICODE_COPY()`` and ``Py_UNICODE_FILL()`` macros, deprecated " "since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or ``memcpy()`` " @@ -4032,62 +4030,62 @@ msgid "" "(Contributed by Victor Stinner in :issue:`41123`.)" msgstr "" -#: whatsnew/3.11.rst:2641 +#: whatsnew/3.11.rst:2640 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:2645 +#: whatsnew/3.11.rst:2644 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:2649 +#: whatsnew/3.11.rst:2648 msgid "" "The following items are no longer available when :c:macro:`Py_LIMITED_API` " "is defined:" msgstr "" -#: whatsnew/3.11.rst:2652 +#: whatsnew/3.11.rst:2651 msgid ":c:func:`PyMarshal_WriteLongToFile`" msgstr "" -#: whatsnew/3.11.rst:2653 +#: whatsnew/3.11.rst:2652 msgid ":c:func:`PyMarshal_WriteObjectToFile`" msgstr "" -#: whatsnew/3.11.rst:2654 +#: whatsnew/3.11.rst:2653 msgid ":c:func:`PyMarshal_ReadObjectFromString`" msgstr "" -#: whatsnew/3.11.rst:2655 +#: whatsnew/3.11.rst:2654 msgid ":c:func:`PyMarshal_WriteObjectToString`" msgstr "" -#: whatsnew/3.11.rst:2656 +#: whatsnew/3.11.rst:2655 msgid "the ``Py_MARSHAL_VERSION`` macro" msgstr "" -#: whatsnew/3.11.rst:2658 +#: whatsnew/3.11.rst:2657 msgid "These are not part of the :ref:`limited API `." msgstr "" -#: whatsnew/3.11.rst:2660 +#: whatsnew/3.11.rst:2659 msgid "(Contributed by Victor Stinner in :issue:`45474`.)" msgstr "" -#: whatsnew/3.11.rst:2662 +#: whatsnew/3.11.rst:2661 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:2667 +#: whatsnew/3.11.rst:2666 msgid "" "Remove the ``PyHeapType_GET_MEMBERS()`` macro. It was exposed in the public " "C API by mistake, it must only be used by Python internally. Use the " @@ -4095,90 +4093,90 @@ msgid "" "in :issue:`40170`.)" msgstr "" -#: whatsnew/3.11.rst:2672 +#: whatsnew/3.11.rst:2671 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:2678 +#: whatsnew/3.11.rst:2677 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:2683 +#: whatsnew/3.11.rst:2682 msgid "The removed functions are:" msgstr "" -#: whatsnew/3.11.rst:2685 +#: whatsnew/3.11.rst:2684 msgid ":func:`!PyUnicode_Encode`" msgstr "" -#: whatsnew/3.11.rst:2686 +#: whatsnew/3.11.rst:2685 msgid ":func:`!PyUnicode_EncodeASCII`" msgstr "" -#: whatsnew/3.11.rst:2687 +#: whatsnew/3.11.rst:2686 msgid ":func:`!PyUnicode_EncodeLatin1`" msgstr "" -#: whatsnew/3.11.rst:2688 +#: whatsnew/3.11.rst:2687 msgid ":func:`!PyUnicode_EncodeUTF7`" msgstr "" -#: whatsnew/3.11.rst:2689 +#: whatsnew/3.11.rst:2688 msgid ":func:`!PyUnicode_EncodeUTF8`" msgstr "" -#: whatsnew/3.11.rst:2690 +#: whatsnew/3.11.rst:2689 msgid ":func:`!PyUnicode_EncodeUTF16`" msgstr "" -#: whatsnew/3.11.rst:2691 +#: whatsnew/3.11.rst:2690 msgid ":func:`!PyUnicode_EncodeUTF32`" msgstr "" -#: whatsnew/3.11.rst:2692 +#: whatsnew/3.11.rst:2691 msgid ":func:`!PyUnicode_EncodeUnicodeEscape`" msgstr "" -#: whatsnew/3.11.rst:2693 +#: whatsnew/3.11.rst:2692 msgid ":func:`!PyUnicode_EncodeRawUnicodeEscape`" msgstr "" -#: whatsnew/3.11.rst:2694 +#: whatsnew/3.11.rst:2693 msgid ":func:`!PyUnicode_EncodeCharmap`" msgstr "" -#: whatsnew/3.11.rst:2695 +#: whatsnew/3.11.rst:2694 msgid ":func:`!PyUnicode_TranslateCharmap`" msgstr "" -#: whatsnew/3.11.rst:2696 +#: whatsnew/3.11.rst:2695 msgid ":func:`!PyUnicode_EncodeDecimal`" msgstr "" -#: whatsnew/3.11.rst:2697 +#: whatsnew/3.11.rst:2696 msgid ":func:`!PyUnicode_TransformDecimalToASCII`" msgstr "" -#: whatsnew/3.11.rst:2699 +#: whatsnew/3.11.rst:2698 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:2705 +#: whatsnew/3.11.rst:2704 msgid "Notable changes in 3.11.4" msgstr "" -#: whatsnew/3.11.rst:2708 +#: whatsnew/3.11.rst:2707 msgid "tarfile" msgstr "" -#: whatsnew/3.11.rst:2710 +#: whatsnew/3.11.rst:2709 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 " @@ -4189,15 +4187,15 @@ msgid "" "Viktorin in :pep:`706`.)" msgstr "" -#: whatsnew/3.11.rst:2722 +#: whatsnew/3.11.rst:2721 msgid "Notable changes in 3.11.5" msgstr "" -#: whatsnew/3.11.rst:2725 +#: whatsnew/3.11.rst:2724 msgid "OpenSSL" msgstr "" -#: whatsnew/3.11.rst:2727 +#: whatsnew/3.11.rst:2726 msgid "" "Windows builds and macOS installers from python.org now use OpenSSL 3.0." msgstr "" diff --git a/whatsnew/3.12.po b/whatsnew/3.12.po index c7179dd8a..b4cf55035 100644 --- a/whatsnew/3.12.po +++ b/whatsnew/3.12.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -255,7 +255,7 @@ msgid "" "`_." msgstr "" -#: whatsnew/3.12.rst:1966 +#: whatsnew/3.12.rst:1962 msgid "New Features" msgstr "" @@ -908,7 +908,7 @@ msgstr "" msgid "" "Add :func:`inspect.markcoroutinefunction` to mark sync functions that return " "a :term:`coroutine` for use with :func:`inspect.iscoroutinefunction`. " -"(Contributed Carlton Gibson in :gh:`99247`.)" +"(Contributed by Carlton Gibson in :gh:`99247`.)" msgstr "" #: whatsnew/3.12.rst:731 @@ -922,64 +922,63 @@ msgstr "" msgid "" "The performance of :func:`inspect.getattr_static` has been considerably " "improved. Most calls to the function should be at least 2x faster than they " -"were in Python 3.11, and some may be 6x faster or more. (Contributed by Alex " -"Waygood in :gh:`103193`.)" +"were in Python 3.11. (Contributed by Alex Waygood in :gh:`103193`.)" msgstr "" -#: whatsnew/3.12.rst:741 +#: whatsnew/3.12.rst:740 msgid "itertools" msgstr "" -#: whatsnew/3.12.rst:743 +#: whatsnew/3.12.rst:742 msgid "" "Add :class:`itertools.batched()` for collecting into even-sized tuples where " "the last batch may be shorter than the rest. (Contributed by Raymond " "Hettinger in :gh:`98363`.)" msgstr "" -#: whatsnew/3.12.rst:748 +#: whatsnew/3.12.rst:747 msgid "math" msgstr "" -#: whatsnew/3.12.rst:750 +#: whatsnew/3.12.rst:749 msgid "" "Add :func:`math.sumprod` for computing a sum of products. (Contributed by " "Raymond Hettinger in :gh:`100485`.)" msgstr "" -#: whatsnew/3.12.rst:753 +#: whatsnew/3.12.rst:752 msgid "" "Extend :func:`math.nextafter` to include a *steps* argument for moving up or " -"down multiple steps at a time. (By Matthias Goergens, Mark Dickinson, and " -"Raymond Hettinger in :gh:`94906`.)" +"down multiple steps at a time. (Contributed by Matthias Goergens, Mark " +"Dickinson, and Raymond Hettinger in :gh:`94906`.)" msgstr "" -#: whatsnew/3.12.rst:758 +#: whatsnew/3.12.rst:757 msgid "os" msgstr "" -#: whatsnew/3.12.rst:760 +#: whatsnew/3.12.rst:759 msgid "" "Add :const:`os.PIDFD_NONBLOCK` to open a file descriptor for a process with :" "func:`os.pidfd_open` in non-blocking mode. (Contributed by Kumar Aditya in :" "gh:`93312`.)" msgstr "" -#: whatsnew/3.12.rst:764 +#: whatsnew/3.12.rst:763 msgid "" ":class:`os.DirEntry` now includes an :meth:`os.DirEntry.is_junction` method " "to check if the entry is a junction. (Contributed by Charles Machalow in :gh:" "`99547`.)" msgstr "" -#: whatsnew/3.12.rst:768 +#: whatsnew/3.12.rst:767 msgid "" "Add :func:`os.listdrives`, :func:`os.listvolumes` and :func:`os.listmounts` " "functions on Windows for enumerating drives, volumes and mount points. " "(Contributed by Steve Dower in :gh:`102519`.)" msgstr "" -#: whatsnew/3.12.rst:772 +#: whatsnew/3.12.rst:771 msgid "" ":func:`os.stat` and :func:`os.lstat` are now more accurate on Windows. The " "``st_birthtime`` field will now be filled with the creation time of the " @@ -992,27 +991,27 @@ msgid "" "`99726`.)" msgstr "" -#: whatsnew/3.12.rst:783 +#: whatsnew/3.12.rst:782 msgid "os.path" msgstr "" -#: whatsnew/3.12.rst:785 +#: whatsnew/3.12.rst:784 msgid "" "Add :func:`os.path.isjunction` to check if a given path is a junction. " "(Contributed by Charles Machalow in :gh:`99547`.)" msgstr "" -#: whatsnew/3.12.rst:788 +#: whatsnew/3.12.rst:787 msgid "" "Add :func:`os.path.splitroot` to split a path into a triad ``(drive, root, " "tail)``. (Contributed by Barney Gale in :gh:`101000`.)" msgstr "" -#: whatsnew/3.12.rst:792 +#: whatsnew/3.12.rst:791 msgid "pathlib" msgstr "" -#: whatsnew/3.12.rst:794 +#: whatsnew/3.12.rst:793 msgid "" "Add support for subclassing :class:`pathlib.PurePath` and :class:`pathlib." "Path`, plus their Posix- and Windows-specific variants. Subclasses may " @@ -1020,14 +1019,14 @@ msgid "" "information between path instances." msgstr "" -#: whatsnew/3.12.rst:799 +#: whatsnew/3.12.rst:798 msgid "" "Add :meth:`pathlib.Path.walk` for walking the directory trees and generating " "all file or directory names within them, similar to :func:`os.walk`. " "(Contributed by Stanislav Zmiev in :gh:`90385`.)" msgstr "" -#: whatsnew/3.12.rst:803 +#: whatsnew/3.12.rst:802 msgid "" "Add *walk_up* optional parameter to :meth:`pathlib.PurePath.relative_to` to " "allow the insertion of ``..`` entries in the result; this behavior is more " @@ -1035,13 +1034,13 @@ msgid "" "gh:`84538`.)" msgstr "" -#: whatsnew/3.12.rst:808 +#: whatsnew/3.12.rst:807 msgid "" "Add :meth:`pathlib.Path.is_junction` as a proxy to :func:`os.path." "isjunction`. (Contributed by Charles Machalow in :gh:`99547`.)" msgstr "" -#: whatsnew/3.12.rst:811 +#: whatsnew/3.12.rst:810 msgid "" "Add *case_sensitive* optional parameter to :meth:`pathlib.Path.glob`, :meth:" "`pathlib.Path.rglob` and :meth:`pathlib.PurePath.match` for matching the " @@ -1049,38 +1048,38 @@ msgid "" "process." msgstr "" -#: whatsnew/3.12.rst:816 +#: whatsnew/3.12.rst:815 msgid "pdb" msgstr "" -#: whatsnew/3.12.rst:818 +#: whatsnew/3.12.rst:817 msgid "" "Add convenience variables to hold values temporarily for debug session and " "provide quick access to values like the current frame or the return value. " "(Contributed by Tian Gao in :gh:`103693`.)" msgstr "" -#: whatsnew/3.12.rst:824 +#: whatsnew/3.12.rst:823 msgid "random" msgstr "" -#: whatsnew/3.12.rst:826 +#: whatsnew/3.12.rst:825 msgid "" "Add :func:`random.binomialvariate`. (Contributed by Raymond Hettinger in :gh:" "`81620`.)" msgstr "" -#: whatsnew/3.12.rst:829 +#: whatsnew/3.12.rst:828 msgid "" "Add a default of ``lambd=1.0`` to :func:`random.expovariate`. (Contributed " "by Raymond Hettinger in :gh:`100234`.)" msgstr "" -#: whatsnew/3.12.rst:833 +#: whatsnew/3.12.rst:832 msgid "shutil" msgstr "" -#: whatsnew/3.12.rst:835 +#: whatsnew/3.12.rst:834 msgid "" ":func:`shutil.make_archive` now passes the *root_dir* argument to custom " "archivers which support it. In this case it no longer temporarily changes " @@ -1088,7 +1087,7 @@ msgid "" "archiving. (Contributed by Serhiy Storchaka in :gh:`74696`.)" msgstr "" -#: whatsnew/3.12.rst:841 +#: whatsnew/3.12.rst:840 msgid "" ":func:`shutil.rmtree` now accepts a new argument *onexc* which is an error " "handler like *onerror* but which expects an exception instance rather than a " @@ -1096,14 +1095,14 @@ msgid "" "Katriel in :gh:`102828`.)" msgstr "" -#: whatsnew/3.12.rst:846 +#: whatsnew/3.12.rst:845 msgid "" ":func:`shutil.which` now consults the *PATHEXT* environment variable to find " "matches within *PATH* on Windows even when the given *cmd* includes a " "directory component. (Contributed by Charles Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:851 +#: whatsnew/3.12.rst:850 msgid "" ":func:`shutil.which` will call ``NeedCurrentDirectoryForExePathW`` when " "querying for executables on Windows to determine if the current working " @@ -1111,24 +1110,24 @@ msgid "" "Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:856 +#: whatsnew/3.12.rst:855 msgid "" ":func:`shutil.which` will return a path matching the *cmd* with a component " "from ``PATHEXT`` prior to a direct match elsewhere in the search path on " "Windows. (Contributed by Charles Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:1669 +#: whatsnew/3.12.rst:1666 msgid "sqlite3" msgstr "" -#: whatsnew/3.12.rst:864 +#: whatsnew/3.12.rst:863 msgid "" "Add a :ref:`command-line interface `. (Contributed by Erlend E. " "Aasland in :gh:`77617`.)" msgstr "" -#: whatsnew/3.12.rst:867 +#: whatsnew/3.12.rst:866 msgid "" "Add the :attr:`sqlite3.Connection.autocommit` attribute to :class:`sqlite3." "Connection` and the *autocommit* parameter to :func:`sqlite3.connect` to " @@ -1136,43 +1135,43 @@ msgid "" "control-autocommit>`. (Contributed by Erlend E. Aasland in :gh:`83638`.)" msgstr "" -#: whatsnew/3.12.rst:874 +#: whatsnew/3.12.rst:873 msgid "" "Add *entrypoint* keyword-only parameter to :meth:`sqlite3.Connection." "load_extension`, for overriding the SQLite extension entry point. " "(Contributed by Erlend E. Aasland in :gh:`103015`.)" msgstr "" -#: whatsnew/3.12.rst:879 +#: whatsnew/3.12.rst:878 msgid "" "Add :meth:`sqlite3.Connection.getconfig` and :meth:`sqlite3.Connection." "setconfig` to :class:`sqlite3.Connection` to make configuration changes to a " "database connection. (Contributed by Erlend E. Aasland in :gh:`103489`.)" msgstr "" -#: whatsnew/3.12.rst:885 +#: whatsnew/3.12.rst:884 msgid "statistics" msgstr "" -#: whatsnew/3.12.rst:887 +#: whatsnew/3.12.rst:886 msgid "" "Extend :func:`statistics.correlation` to include as a ``ranked`` method for " "computing the Spearman correlation of ranked data. (Contributed by Raymond " "Hettinger in :gh:`95861`.)" msgstr "" -#: whatsnew/3.12.rst:892 +#: whatsnew/3.12.rst:891 msgid "sys" msgstr "" -#: whatsnew/3.12.rst:894 +#: whatsnew/3.12.rst:893 msgid "" "Add the :mod:`sys.monitoring` namespace to expose the new :ref:`PEP 669 " "` monitoring API. (Contributed by Mark Shannon in :gh:" "`103082`.)" msgstr "" -#: whatsnew/3.12.rst:898 +#: whatsnew/3.12.rst:897 msgid "" "Add :func:`sys.activate_stack_trampoline` and :func:`sys." "deactivate_stack_trampoline` for activating and deactivating stack profiler " @@ -1182,7 +1181,7 @@ msgid "" "Shannon in :gh:`96123`.)" msgstr "" -#: whatsnew/3.12.rst:907 +#: whatsnew/3.12.rst:906 msgid "" "Add :data:`sys.last_exc` which holds the last unhandled exception that was " "raised (for post-mortem debugging use cases). Deprecate the three fields " @@ -1191,14 +1190,14 @@ msgid "" "Katriel in :gh:`102778`.)" msgstr "" -#: whatsnew/3.12.rst:1865 +#: whatsnew/3.12.rst:1861 msgid "" ":func:`sys._current_exceptions` now returns a mapping from thread-id to an " "exception instance, rather than to a ``(typ, exc, tb)`` tuple. (Contributed " "by Irit Katriel in :gh:`103176`.)" msgstr "" -#: whatsnew/3.12.rst:917 +#: whatsnew/3.12.rst:916 msgid "" ":func:`sys.setrecursionlimit` and :func:`sys.getrecursionlimit`. The " "recursion limit now applies only to Python code. Builtin functions do not " @@ -1206,27 +1205,27 @@ msgid "" "prevents recursion from causing a virtual machine crash." msgstr "" -#: whatsnew/3.12.rst:923 +#: whatsnew/3.12.rst:922 msgid "tempfile" msgstr "" -#: whatsnew/3.12.rst:925 +#: whatsnew/3.12.rst:924 msgid "" "The :class:`tempfile.NamedTemporaryFile` function has a new optional " "parameter *delete_on_close* (Contributed by Evgeny Zorin in :gh:`58451`.)" msgstr "" -#: whatsnew/3.12.rst:927 +#: whatsnew/3.12.rst:926 msgid "" ":func:`tempfile.mkdtemp` now always returns an absolute path, even if the " "argument provided to the *dir* parameter is a relative path." msgstr "" -#: whatsnew/3.12.rst:933 +#: whatsnew/3.12.rst:930 msgid "threading" msgstr "" -#: whatsnew/3.12.rst:935 +#: whatsnew/3.12.rst:932 msgid "" "Add :func:`threading.settrace_all_threads` and :func:`threading." "setprofile_all_threads` that allow to set tracing and profiling functions in " @@ -1234,11 +1233,11 @@ msgid "" "Galindo in :gh:`93503`.)" msgstr "" -#: whatsnew/3.12.rst:941 +#: whatsnew/3.12.rst:938 msgid "tkinter" msgstr "" -#: whatsnew/3.12.rst:943 +#: whatsnew/3.12.rst:940 msgid "" "``tkinter.Canvas.coords()`` now flattens its arguments. It now accepts not " "only coordinates as separate arguments (``x1, y1, x2, y2, ...``) and a " @@ -1248,11 +1247,11 @@ msgid "" "in :gh:`94473`.)" msgstr "" -#: whatsnew/3.12.rst:952 +#: whatsnew/3.12.rst:949 msgid "tokenize" msgstr "" -#: whatsnew/3.12.rst:954 +#: whatsnew/3.12.rst:951 msgid "" "The :mod:`tokenize` module includes the changes introduced in :pep:`701`. " "(Contributed by Marta Gómez Macías and Pablo Galindo in :gh:`102856`.) See :" @@ -1260,22 +1259,22 @@ msgid "" "to the :mod:`tokenize` module." msgstr "" -#: whatsnew/3.12.rst:960 +#: whatsnew/3.12.rst:957 msgid "types" msgstr "" -#: whatsnew/3.12.rst:962 +#: whatsnew/3.12.rst:959 msgid "" "Add :func:`types.get_original_bases` to allow for further introspection of :" "ref:`user-defined-generics` when subclassed. (Contributed by James Hilton-" "Balfe and Alex Waygood in :gh:`101827`.)" msgstr "" -#: whatsnew/3.12.rst:967 +#: whatsnew/3.12.rst:966 msgid "typing" msgstr "" -#: whatsnew/3.12.rst:969 +#: whatsnew/3.12.rst:968 msgid "" ":func:`isinstance` checks against :func:`runtime-checkable protocols ` now use :func:`inspect.getattr_static` rather than :func:" @@ -1288,7 +1287,7 @@ msgid "" "affected by this change. (Contributed by Alex Waygood in :gh:`102433`.)" msgstr "" -#: whatsnew/3.12.rst:980 +#: whatsnew/3.12.rst:979 msgid "" "The members of a runtime-checkable protocol are now considered \"frozen\" at " "runtime as soon as the class has been created. Monkey-patching attributes " @@ -1296,88 +1295,88 @@ msgid "" "on :func:`isinstance` checks comparing objects to the protocol. For example::" msgstr "" -#: whatsnew/3.12.rst:1002 +#: whatsnew/3.12.rst:1001 msgid "" "This change was made in order to speed up ``isinstance()`` checks against " "runtime-checkable protocols." msgstr "" -#: whatsnew/3.12.rst:1005 +#: whatsnew/3.12.rst:1004 msgid "" "The performance profile of :func:`isinstance` checks against :func:`runtime-" "checkable protocols ` has changed significantly. " "Most ``isinstance()`` checks against protocols with only a few members " "should be at least 2x faster than in 3.11, and some may be 20x faster or " -"more. However, ``isinstance()`` checks against protocols with fourteen or " -"more members may be slower than in Python 3.11. (Contributed by Alex Waygood " -"in :gh:`74690` and :gh:`103193`.)" +"more. However, ``isinstance()`` checks against protocols with many members " +"may be slower than in Python 3.11. (Contributed by Alex Waygood in :gh:" +"`74690` and :gh:`103193`.)" msgstr "" -#: whatsnew/3.12.rst:1013 +#: whatsnew/3.12.rst:1012 msgid "" "All :data:`typing.TypedDict` and :data:`typing.NamedTuple` classes now have " "the ``__orig_bases__`` attribute. (Contributed by Adrian Garcia Badaracco " "in :gh:`103699`.)" msgstr "" -#: whatsnew/3.12.rst:1017 +#: whatsnew/3.12.rst:1016 msgid "" "Add ``frozen_default`` parameter to :func:`typing.dataclass_transform`. " "(Contributed by Erik De Bonte in :gh:`99957`.)" msgstr "" -#: whatsnew/3.12.rst:1021 +#: whatsnew/3.12.rst:1020 msgid "unicodedata" msgstr "" -#: whatsnew/3.12.rst:1023 +#: whatsnew/3.12.rst:1022 msgid "" "The Unicode database has been updated to version 15.0.0. (Contributed by " "Benjamin Peterson in :gh:`96734`)." msgstr "" -#: whatsnew/3.12.rst:1710 +#: whatsnew/3.12.rst:1706 msgid "unittest" msgstr "" -#: whatsnew/3.12.rst:1029 +#: whatsnew/3.12.rst:1028 msgid "" "Add a ``--durations`` command line option, showing the N slowest test cases::" msgstr "" -#: whatsnew/3.12.rst:1045 +#: whatsnew/3.12.rst:1044 msgid "(Contributed by Giampaolo Rodola in :gh:`48330`)" msgstr "" -#: whatsnew/3.12.rst:1048 +#: whatsnew/3.12.rst:1047 msgid "uuid" msgstr "" -#: whatsnew/3.12.rst:1050 +#: whatsnew/3.12.rst:1049 msgid "" "Add a :ref:`command-line interface `. (Contributed by Adam Chhina " "in :gh:`88597`.)" msgstr "" -#: whatsnew/3.12.rst:1055 +#: whatsnew/3.12.rst:1054 msgid "Optimizations" msgstr "" -#: whatsnew/3.12.rst:1057 +#: whatsnew/3.12.rst:1056 msgid "" "Remove ``wstr`` and ``wstr_length`` members from Unicode objects. It reduces " "object size by 8 or 16 bytes on 64bit platform. (:pep:`623`) (Contributed by " "Inada Naoki in :gh:`92536`.)" msgstr "" -#: whatsnew/3.12.rst:1061 +#: whatsnew/3.12.rst:1060 msgid "" "Add experimental support for using the BOLT binary optimizer in the build " "process, which improves performance by 1-5%. (Contributed by Kevin " "Modzelewski in :gh:`90536` and tuned by Donghee Na in :gh:`101525`)" msgstr "" -#: whatsnew/3.12.rst:1065 +#: whatsnew/3.12.rst:1064 msgid "" "Speed up the regular expression substitution (functions :func:`re.sub` and :" "func:`re.subn` and corresponding :class:`!re.Pattern` methods) for " @@ -1385,13 +1384,13 @@ msgid "" "by Serhiy Storchaka in :gh:`91524`.)" msgstr "" -#: whatsnew/3.12.rst:1070 +#: whatsnew/3.12.rst:1069 msgid "" "Speed up :class:`asyncio.Task` creation by deferring expensive string " "formatting. (Contributed by Itamar Oren in :gh:`103793`.)" msgstr "" -#: whatsnew/3.12.rst:1073 +#: whatsnew/3.12.rst:1072 msgid "" "The :func:`tokenize.tokenize` and :func:`tokenize.generate_tokens` functions " "are up to 64% faster as a side effect of the changes required to cover :pep:" @@ -1399,18 +1398,18 @@ msgid "" "Pablo Galindo in :gh:`102856`.)" msgstr "" -#: whatsnew/3.12.rst:1078 +#: whatsnew/3.12.rst:1077 msgid "" "Speed up :func:`super` method calls and attribute loads via the new :opcode:" "`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer and Vladimir " "Matveev in :gh:`103497`.)" msgstr "" -#: whatsnew/3.12.rst:1084 +#: whatsnew/3.12.rst:1083 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.12.rst:1086 +#: whatsnew/3.12.rst:1085 msgid "" "Remove the :opcode:`!LOAD_METHOD` instruction. It has been merged into :" "opcode:`LOAD_ATTR`. :opcode:`LOAD_ATTR` will now behave like the old :opcode:" @@ -1418,62 +1417,62 @@ msgid "" "by Ken Jin in :gh:`93429`.)" msgstr "" -#: whatsnew/3.12.rst:1091 +#: whatsnew/3.12.rst:1090 msgid "" "Remove the :opcode:`!JUMP_IF_FALSE_OR_POP` and :opcode:`!" "JUMP_IF_TRUE_OR_POP` instructions. (Contributed by Irit Katriel in :gh:" "`102859`.)" msgstr "" -#: whatsnew/3.12.rst:1094 +#: whatsnew/3.12.rst:1093 msgid "" "Remove the :opcode:`!PRECALL` instruction. (Contributed by Mark Shannon in :" "gh:`92925`.)" msgstr "" -#: whatsnew/3.12.rst:1097 +#: whatsnew/3.12.rst:1096 msgid "" "Add the :opcode:`BINARY_SLICE` and :opcode:`STORE_SLICE` instructions. " "(Contributed by Mark Shannon in :gh:`94163`.)" msgstr "" -#: whatsnew/3.12.rst:1100 +#: whatsnew/3.12.rst:1099 msgid "" "Add the :opcode:`CALL_INTRINSIC_1` instructions. (Contributed by Mark " "Shannon in :gh:`99005`.)" msgstr "" -#: whatsnew/3.12.rst:1103 +#: whatsnew/3.12.rst:1102 msgid "" "Add the :opcode:`CALL_INTRINSIC_2` instruction. (Contributed by Irit Katriel " "in :gh:`101799`.)" msgstr "" -#: whatsnew/3.12.rst:1106 +#: whatsnew/3.12.rst:1105 msgid "" "Add the :opcode:`CLEANUP_THROW` instruction. (Contributed by Brandt Bucher " "in :gh:`90997`.)" msgstr "" -#: whatsnew/3.12.rst:1109 +#: whatsnew/3.12.rst:1108 msgid "" "Add the :opcode:`!END_SEND` instruction. (Contributed by Mark Shannon in :gh:" "`103082`.)" msgstr "" -#: whatsnew/3.12.rst:1112 +#: whatsnew/3.12.rst:1111 msgid "" "Add the :opcode:`LOAD_FAST_AND_CLEAR` instruction as part of the " "implementation of :pep:`709`. (Contributed by Carl Meyer in :gh:`101441`.)" msgstr "" -#: whatsnew/3.12.rst:1115 +#: whatsnew/3.12.rst:1114 msgid "" "Add the :opcode:`LOAD_FAST_CHECK` instruction. (Contributed by Dennis " "Sweeney in :gh:`93143`.)" msgstr "" -#: whatsnew/3.12.rst:1118 +#: whatsnew/3.12.rst:1117 msgid "" "Add the :opcode:`LOAD_FROM_DICT_OR_DEREF`, :opcode:" "`LOAD_FROM_DICT_OR_GLOBALS`, and :opcode:`LOAD_LOCALS` opcodes as part of " @@ -1482,48 +1481,48 @@ msgid "" "`LOAD_FROM_DICT_OR_DEREF`. (Contributed by Jelle Zijlstra in :gh:`103764`.)" msgstr "" -#: whatsnew/3.12.rst:1124 +#: whatsnew/3.12.rst:1123 msgid "" "Add the :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer " "and Vladimir Matveev in :gh:`103497`.)" msgstr "" -#: whatsnew/3.12.rst:1127 +#: whatsnew/3.12.rst:1126 msgid "" "Add the :opcode:`RETURN_CONST` instruction. (Contributed by Wenyang Wang in :" "gh:`101632`.)" msgstr "" -#: whatsnew/3.12.rst:1130 +#: whatsnew/3.12.rst:1129 msgid "Demos and Tools" msgstr "" -#: whatsnew/3.12.rst:1132 +#: whatsnew/3.12.rst:1131 msgid "" "Remove the ``Tools/demo/`` directory which contained old demo scripts. A " "copy can be found in the `old-demos project `_. (Contributed by Victor Stinner in :gh:`97681`.)" msgstr "" -#: whatsnew/3.12.rst:1137 +#: whatsnew/3.12.rst:1136 msgid "" "Remove outdated example scripts of the ``Tools/scripts/`` directory. A copy " "can be found in the `old-demos project `_. (Contributed by Victor Stinner in :gh:`97669`.)" msgstr "" -#: whatsnew/3.12.rst:2268 +#: whatsnew/3.12.rst:2264 msgid "Deprecated" msgstr "" -#: whatsnew/3.12.rst:1146 +#: whatsnew/3.12.rst:1145 msgid "" ":mod:`argparse`: The *type*, *choices*, and *metavar* parameters of :class:`!" "argparse.BooleanOptionalAction` are deprecated and will be removed in 3.14. " "(Contributed by Nikita Sobolev in :gh:`92248`.)" msgstr "" -#: whatsnew/3.12.rst:1151 +#: whatsnew/3.12.rst:1150 msgid "" ":mod:`ast`: The following :mod:`ast` features have been deprecated in " "documentation since Python 3.8, now cause a :exc:`DeprecationWarning` to be " @@ -1531,37 +1530,37 @@ msgid "" "Python 3.14:" msgstr "" -#: whatsnew/3.12.rst:1401 +#: whatsnew/3.12.rst:1400 msgid ":class:`!ast.Num`" msgstr "" -#: whatsnew/3.12.rst:1402 +#: whatsnew/3.12.rst:1401 msgid ":class:`!ast.Str`" msgstr "" -#: whatsnew/3.12.rst:1403 +#: whatsnew/3.12.rst:1402 msgid ":class:`!ast.Bytes`" msgstr "" -#: whatsnew/3.12.rst:1404 +#: whatsnew/3.12.rst:1403 msgid ":class:`!ast.NameConstant`" msgstr "" -#: whatsnew/3.12.rst:1405 +#: whatsnew/3.12.rst:1404 msgid ":class:`!ast.Ellipsis`" msgstr "" -#: whatsnew/3.12.rst:1161 +#: whatsnew/3.12.rst:1160 msgid "" "Use :class:`ast.Constant` instead. (Contributed by Serhiy Storchaka in :gh:" "`90953`.)" msgstr "" -#: whatsnew/3.12.rst:1407 +#: whatsnew/3.12.rst:1406 msgid ":mod:`asyncio`:" msgstr "" -#: whatsnew/3.12.rst:1166 +#: whatsnew/3.12.rst:1165 msgid "" "The child watcher classes :class:`asyncio.MultiLoopChildWatcher`, :class:" "`asyncio.FastChildWatcher`, :class:`asyncio.AbstractChildWatcher` and :class:" @@ -1569,7 +1568,7 @@ msgid "" "3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:1172 +#: whatsnew/3.12.rst:1171 msgid "" ":func:`asyncio.set_child_watcher`, :func:`asyncio.get_child_watcher`, :meth:" "`asyncio.AbstractEventLoopPolicy.set_child_watcher` and :meth:`asyncio." @@ -1577,7 +1576,7 @@ msgid "" "removed in Python 3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:1178 +#: whatsnew/3.12.rst:1177 msgid "" "The :meth:`~asyncio.get_event_loop` method of the default event loop policy " "now emits a :exc:`DeprecationWarning` if there is no current event loop set " @@ -1585,14 +1584,14 @@ msgid "" "Rossum in :gh:`100160`.)" msgstr "" -#: whatsnew/3.12.rst:1183 +#: whatsnew/3.12.rst:1182 msgid "" ":mod:`calendar`: ``calendar.January`` and ``calendar.February`` constants " "are deprecated and replaced by :data:`calendar.JANUARY` and :data:`calendar." "FEBRUARY`. (Contributed by Prince Roshan in :gh:`103636`.)" msgstr "" -#: whatsnew/3.12.rst:1187 +#: whatsnew/3.12.rst:1186 msgid "" ":mod:`collections.abc`: Deprecated :class:`collections.abc.ByteString`. " "Prefer :class:`Sequence` or :class:`collections.abc.Buffer`. For use in " @@ -1600,7 +1599,7 @@ msgid "" "abc.Buffer`. (Contributed by Shantanu Jain in :gh:`91896`.)" msgstr "" -#: whatsnew/3.12.rst:1192 +#: whatsnew/3.12.rst:1191 msgid "" ":mod:`datetime`: :class:`datetime.datetime`'s :meth:`~datetime.datetime." "utcnow` and :meth:`~datetime.datetime.utcfromtimestamp` are deprecated and " @@ -1610,47 +1609,47 @@ msgid "" "set to :const:`datetime.UTC`. (Contributed by Paul Ganssle in :gh:`103857`.)" msgstr "" -#: whatsnew/3.12.rst:1200 +#: whatsnew/3.12.rst:1199 msgid "" ":mod:`email`: Deprecate the *isdst* parameter in :func:`email.utils." "localtime`. (Contributed by Alan Williams in :gh:`72346`.)" msgstr "" -#: whatsnew/3.12.rst:1203 +#: whatsnew/3.12.rst:1202 msgid "" ":mod:`importlib.abc`: Deprecated the following classes, scheduled for " "removal in Python 3.14:" msgstr "" -#: whatsnew/3.12.rst:1424 +#: whatsnew/3.12.rst:1423 msgid ":class:`!importlib.abc.ResourceReader`" msgstr "" -#: whatsnew/3.12.rst:1425 +#: whatsnew/3.12.rst:1424 msgid ":class:`!importlib.abc.Traversable`" msgstr "" -#: whatsnew/3.12.rst:1426 +#: whatsnew/3.12.rst:1425 msgid ":class:`!importlib.abc.TraversableResources`" msgstr "" -#: whatsnew/3.12.rst:1210 +#: whatsnew/3.12.rst:1209 msgid "Use :mod:`importlib.resources.abc` classes instead:" msgstr "" -#: whatsnew/3.12.rst:1212 +#: whatsnew/3.12.rst:1211 msgid ":class:`importlib.resources.abc.Traversable`" msgstr "" -#: whatsnew/3.12.rst:1213 +#: whatsnew/3.12.rst:1212 msgid ":class:`importlib.resources.abc.TraversableResources`" msgstr "" -#: whatsnew/3.12.rst:1215 +#: whatsnew/3.12.rst:1214 msgid "(Contributed by Jason R. Coombs and Hugo van Kemenade in :gh:`93963`.)" msgstr "" -#: whatsnew/3.12.rst:1217 +#: whatsnew/3.12.rst:1216 msgid "" ":mod:`itertools`: Deprecate the support for copy, deepcopy, and pickle " "operations, which is undocumented, inefficient, historically buggy, and " @@ -1659,7 +1658,7 @@ msgid "" "`101588`.)" msgstr "" -#: whatsnew/3.12.rst:1223 +#: whatsnew/3.12.rst:1222 msgid "" ":mod:`multiprocessing`: In Python 3.14, the default :mod:`multiprocessing` " "start method will change to a safer one on Linux, BSDs, and other non-macOS " @@ -1671,14 +1670,14 @@ msgid "" "methods `." msgstr "" -#: whatsnew/3.12.rst:1233 +#: whatsnew/3.12.rst:1232 msgid "" ":mod:`pkgutil`: :func:`pkgutil.find_loader` and :func:`pkgutil.get_loader` " "are deprecated and will be removed in Python 3.14; use :func:`importlib.util." "find_spec` instead. (Contributed by Nikita Sobolev in :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1238 +#: whatsnew/3.12.rst:1237 msgid "" ":mod:`pty`: The module has two undocumented ``master_open()`` and " "``slave_open()`` functions that have been deprecated since Python 2 but only " @@ -1686,11 +1685,11 @@ msgid "" "(Contributed by Soumendra Ganguly and Gregory P. Smith in :gh:`85984`.)" msgstr "" -#: whatsnew/3.12.rst:1243 +#: whatsnew/3.12.rst:1242 msgid ":mod:`os`:" msgstr "" -#: whatsnew/3.12.rst:1245 +#: whatsnew/3.12.rst:1244 msgid "" "The ``st_ctime`` fields return by :func:`os.stat` and :func:`os.lstat` on " "Windows are deprecated. In a future release, they will contain the last " @@ -1699,7 +1698,7 @@ msgid "" "``st_birthtime`` field. (Contributed by Steve Dower in :gh:`99726`.)" msgstr "" -#: whatsnew/3.12.rst:1251 +#: whatsnew/3.12.rst:1250 msgid "" "On POSIX platforms, :func:`os.fork` can now raise a :exc:" "`DeprecationWarning` when it can detect being called from a multithreaded " @@ -1712,32 +1711,32 @@ msgid "" "longstanding platform compatibility problem to developers." msgstr "" -#: whatsnew/3.12.rst:1261 +#: whatsnew/3.12.rst:1260 msgid "" "When this warning appears due to usage of :mod:`multiprocessing` or :mod:" "`concurrent.futures` the fix is to use a different :mod:`multiprocessing` " "start method such as ``\"spawn\"`` or ``\"forkserver\"``." msgstr "" -#: whatsnew/3.12.rst:1265 +#: whatsnew/3.12.rst:1264 msgid "" ":mod:`shutil`: The *onerror* argument of :func:`shutil.rmtree` is " "deprecated; use *onexc* instead. (Contributed by Irit Katriel in :gh:" "`102828`.)" msgstr "" -#: whatsnew/3.12.rst:1268 +#: whatsnew/3.12.rst:1267 msgid ":mod:`sqlite3`:" msgstr "" -#: whatsnew/3.12.rst:1270 +#: whatsnew/3.12.rst:1269 msgid "" ":ref:`default adapters and converters ` are now " "deprecated. Instead, use the :ref:`sqlite3-adapter-converter-recipes` and " "tailor them to your needs. (Contributed by Erlend E. Aasland in :gh:`90016`.)" msgstr "" -#: whatsnew/3.12.rst:1276 +#: whatsnew/3.12.rst:1275 msgid "" "In :meth:`~sqlite3.Cursor.execute`, :exc:`DeprecationWarning` is now emitted " "when :ref:`named placeholders ` are used together with " @@ -1747,39 +1746,39 @@ msgid "" "Erlend E. Aasland in :gh:`101698`.)" msgstr "" -#: whatsnew/3.12.rst:1283 +#: whatsnew/3.12.rst:1282 msgid "" ":mod:`sys`: The :data:`sys.last_type`, :data:`sys.last_value` and :data:`sys." "last_traceback` fields are deprecated. Use :data:`sys.last_exc` instead. " "(Contributed by Irit Katriel in :gh:`102778`.)" msgstr "" -#: whatsnew/3.12.rst:1287 +#: whatsnew/3.12.rst:1286 msgid "" ":mod:`tarfile`: Extracting tar archives without specifying *filter* is " "deprecated until Python 3.14, when ``'data'`` filter will become the " "default. See :ref:`tarfile-extraction-filter` for details." msgstr "" -#: whatsnew/3.12.rst:1291 +#: whatsnew/3.12.rst:1290 msgid ":mod:`typing`:" msgstr "" -#: whatsnew/3.12.rst:1293 +#: whatsnew/3.12.rst:1292 msgid "" ":class:`typing.Hashable` and :class:`typing.Sized`, aliases for :class:" "`collections.abc.Hashable` and :class:`collections.abc.Sized` respectively, " "are deprecated. (:gh:`94309`.)" msgstr "" -#: whatsnew/3.12.rst:1297 +#: whatsnew/3.12.rst:1296 msgid "" ":class:`typing.ByteString`, deprecated since Python 3.9, now causes a :exc:" "`DeprecationWarning` to be emitted when it is used. (Contributed by Alex " "Waygood in :gh:`91896`.)" msgstr "" -#: whatsnew/3.12.rst:1301 +#: whatsnew/3.12.rst:1300 msgid "" ":mod:`xml.etree.ElementTree`: The module now emits :exc:`DeprecationWarning` " "when testing the truth value of an :class:`xml.etree.ElementTree.Element`. " @@ -1787,7 +1786,7 @@ msgid "" "implementation emitted nothing. (Contributed by Jacob Walls in :gh:`83122`.)" msgstr "" -#: whatsnew/3.12.rst:1307 +#: whatsnew/3.12.rst:1306 msgid "" "The 3-arg signatures (type, value, traceback) of :meth:`coroutine throw() " "`, :meth:`generator throw() ` and :meth:" @@ -1796,21 +1795,21 @@ msgid "" "instead. (Contributed by Ofey Chan in :gh:`89874`.)" msgstr "" -#: whatsnew/3.12.rst:1313 +#: whatsnew/3.12.rst:1312 msgid "" ":exc:`DeprecationWarning` is now raised when ``__package__`` on a module " "differs from ``__spec__.parent`` (previously it was :exc:`ImportWarning`). " "(Contributed by Brett Cannon in :gh:`65961`.)" msgstr "" -#: whatsnew/3.12.rst:1318 +#: whatsnew/3.12.rst:1317 msgid "" "Setting ``__package__`` or ``__cached__`` on a module is deprecated, and " "will cease to be set or taken into consideration by the import system in " "Python 3.14. (Contributed by Brett Cannon in :gh:`65961`.)" msgstr "" -#: whatsnew/3.12.rst:1322 +#: whatsnew/3.12.rst:1321 msgid "" "The bitwise inversion operator (``~``) on bool is deprecated. It will throw " "an error in Python 3.14. Use ``not`` for logical negation of bools instead. " @@ -1819,7 +1818,7 @@ msgid "" "Tim Hoffmann in :gh:`103487`.)" msgstr "" -#: whatsnew/3.12.rst:1328 +#: whatsnew/3.12.rst:1327 msgid "" "Accessing :attr:`~codeobject.co_lnotab` on code objects was deprecated in " "Python 3.10 via :pep:`626`, but it only got a proper :exc:" @@ -1827,328 +1826,328 @@ msgid "" "(Contributed by Nikita Sobolev in :gh:`101866`.)" msgstr "" -#: whatsnew/3.12.rst:1335 +#: whatsnew/3.12.rst:1334 msgid "Pending Removal in Python 3.13" msgstr "" -#: whatsnew/3.12.rst:1337 +#: whatsnew/3.12.rst:1336 msgid "" "The following modules and APIs have been deprecated in earlier Python " "releases, and will be removed in Python 3.13." msgstr "" -#: whatsnew/3.12.rst:1340 +#: whatsnew/3.12.rst:1339 msgid "Modules (see :pep:`594`):" msgstr "" -#: whatsnew/3.12.rst:1342 +#: whatsnew/3.12.rst:1341 msgid ":mod:`aifc`" msgstr "" -#: whatsnew/3.12.rst:1343 +#: whatsnew/3.12.rst:1342 msgid ":mod:`audioop`" msgstr "" -#: whatsnew/3.12.rst:1344 +#: whatsnew/3.12.rst:1343 msgid ":mod:`cgi`" msgstr "" -#: whatsnew/3.12.rst:1345 +#: whatsnew/3.12.rst:1344 msgid ":mod:`cgitb`" msgstr "" -#: whatsnew/3.12.rst:1346 +#: whatsnew/3.12.rst:1345 msgid ":mod:`chunk`" msgstr "" -#: whatsnew/3.12.rst:1347 +#: whatsnew/3.12.rst:1346 msgid ":mod:`crypt`" msgstr "" -#: whatsnew/3.12.rst:1348 +#: whatsnew/3.12.rst:1347 msgid ":mod:`imghdr`" msgstr "" -#: whatsnew/3.12.rst:1349 +#: whatsnew/3.12.rst:1348 msgid ":mod:`mailcap`" msgstr "" -#: whatsnew/3.12.rst:1350 +#: whatsnew/3.12.rst:1349 msgid ":mod:`msilib`" msgstr "" -#: whatsnew/3.12.rst:1351 +#: whatsnew/3.12.rst:1350 msgid ":mod:`nis`" msgstr "" -#: whatsnew/3.12.rst:1352 +#: whatsnew/3.12.rst:1351 msgid ":mod:`nntplib`" msgstr "" -#: whatsnew/3.12.rst:1353 +#: whatsnew/3.12.rst:1352 msgid ":mod:`ossaudiodev`" msgstr "" -#: whatsnew/3.12.rst:1354 +#: whatsnew/3.12.rst:1353 msgid ":mod:`pipes`" msgstr "" -#: whatsnew/3.12.rst:1355 +#: whatsnew/3.12.rst:1354 msgid ":mod:`sndhdr`" msgstr "" -#: whatsnew/3.12.rst:1356 +#: whatsnew/3.12.rst:1355 msgid ":mod:`spwd`" msgstr "" -#: whatsnew/3.12.rst:1357 +#: whatsnew/3.12.rst:1356 msgid ":mod:`sunau`" msgstr "" -#: whatsnew/3.12.rst:1358 +#: whatsnew/3.12.rst:1357 msgid ":mod:`telnetlib`" msgstr "" -#: whatsnew/3.12.rst:1359 +#: whatsnew/3.12.rst:1358 msgid ":mod:`uu`" msgstr "" -#: whatsnew/3.12.rst:1360 +#: whatsnew/3.12.rst:1359 msgid ":mod:`xdrlib`" msgstr "" -#: whatsnew/3.12.rst:1362 +#: whatsnew/3.12.rst:1361 msgid "Other modules:" msgstr "" -#: whatsnew/3.12.rst:1364 +#: whatsnew/3.12.rst:1363 msgid ":mod:`!lib2to3`, and the :program:`2to3` program (:gh:`84540`)" msgstr "" -#: whatsnew/3.12.rst:1456 +#: whatsnew/3.12.rst:1455 msgid "APIs:" msgstr "" -#: whatsnew/3.12.rst:1368 +#: whatsnew/3.12.rst:1367 msgid ":class:`!configparser.LegacyInterpolation` (:gh:`90765`)" msgstr "" -#: whatsnew/3.12.rst:1369 +#: whatsnew/3.12.rst:1368 msgid "``locale.resetlocale()`` (:gh:`90817`)" msgstr "" -#: whatsnew/3.12.rst:1370 +#: whatsnew/3.12.rst:1369 msgid ":meth:`!turtle.RawTurtle.settiltangle` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1371 +#: whatsnew/3.12.rst:1370 msgid ":func:`!unittest.findTestCases` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1372 +#: whatsnew/3.12.rst:1371 msgid ":func:`!unittest.getTestCaseNames` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1373 +#: whatsnew/3.12.rst:1372 msgid ":func:`!unittest.makeSuite` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1374 +#: whatsnew/3.12.rst:1373 msgid ":meth:`!unittest.TestProgram.usageExit` (:gh:`67048`)" msgstr "" -#: whatsnew/3.12.rst:1375 +#: whatsnew/3.12.rst:1374 msgid ":class:`!webbrowser.MacOSX` (:gh:`86421`)" msgstr "" -#: whatsnew/3.12.rst:1376 +#: whatsnew/3.12.rst:1375 msgid ":class:`classmethod` descriptor chaining (:gh:`89519`)" msgstr "" -#: whatsnew/3.12.rst:1377 +#: whatsnew/3.12.rst:1376 msgid ":mod:`importlib.resources` deprecated methods:" msgstr "" -#: whatsnew/3.12.rst:1379 +#: whatsnew/3.12.rst:1378 msgid "``contents()``" msgstr "" -#: whatsnew/3.12.rst:1380 +#: whatsnew/3.12.rst:1379 msgid "``is_resource()``" msgstr "" -#: whatsnew/3.12.rst:1381 +#: whatsnew/3.12.rst:1380 msgid "``open_binary()``" msgstr "" -#: whatsnew/3.12.rst:1382 +#: whatsnew/3.12.rst:1381 msgid "``open_text()``" msgstr "" -#: whatsnew/3.12.rst:1383 +#: whatsnew/3.12.rst:1382 msgid "``path()``" msgstr "" -#: whatsnew/3.12.rst:1384 +#: whatsnew/3.12.rst:1383 msgid "``read_binary()``" msgstr "" -#: whatsnew/3.12.rst:1385 +#: whatsnew/3.12.rst:1384 msgid "``read_text()``" msgstr "" -#: whatsnew/3.12.rst:1387 +#: whatsnew/3.12.rst:1386 msgid "" "Use :func:`importlib.resources.files()` instead. Refer to `importlib-" "resources: Migrating from Legacy `_ (:gh:`106531`)" msgstr "" -#: whatsnew/3.12.rst:2355 +#: whatsnew/3.12.rst:2351 msgid "Pending Removal in Python 3.14" msgstr "" -#: whatsnew/3.12.rst:1393 +#: whatsnew/3.12.rst:1392 msgid "" "The following APIs have been deprecated and will be removed in Python 3.14." msgstr "" -#: whatsnew/3.12.rst:1396 +#: whatsnew/3.12.rst:1395 msgid "" ":mod:`argparse`: The *type*, *choices*, and *metavar* parameters of :class:`!" "argparse.BooleanOptionalAction`" msgstr "" -#: whatsnew/3.12.rst:1399 +#: whatsnew/3.12.rst:1398 msgid ":mod:`ast`:" msgstr "" -#: whatsnew/3.12.rst:1409 +#: whatsnew/3.12.rst:1408 msgid ":class:`!asyncio.MultiLoopChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1410 +#: whatsnew/3.12.rst:1409 msgid ":class:`!asyncio.FastChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1411 +#: whatsnew/3.12.rst:1410 msgid ":class:`!asyncio.AbstractChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1412 +#: whatsnew/3.12.rst:1411 msgid ":class:`!asyncio.SafeChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1413 +#: whatsnew/3.12.rst:1412 msgid ":func:`!asyncio.set_child_watcher`" msgstr "" -#: whatsnew/3.12.rst:1414 +#: whatsnew/3.12.rst:1413 msgid ":func:`!asyncio.get_child_watcher`," msgstr "" -#: whatsnew/3.12.rst:1415 +#: whatsnew/3.12.rst:1414 msgid ":meth:`!asyncio.AbstractEventLoopPolicy.set_child_watcher`" msgstr "" -#: whatsnew/3.12.rst:1416 +#: whatsnew/3.12.rst:1415 msgid ":meth:`!asyncio.AbstractEventLoopPolicy.get_child_watcher`" msgstr "" -#: whatsnew/3.12.rst:1418 +#: whatsnew/3.12.rst:1417 msgid ":mod:`collections.abc`: :class:`!collections.abc.ByteString`." msgstr "" -#: whatsnew/3.12.rst:1420 +#: whatsnew/3.12.rst:1419 msgid ":mod:`email`: the *isdst* parameter in :func:`email.utils.localtime`." msgstr "" -#: whatsnew/3.12.rst:1422 +#: whatsnew/3.12.rst:1421 msgid ":mod:`importlib.abc`:" msgstr "" -#: whatsnew/3.12.rst:1428 +#: whatsnew/3.12.rst:1427 msgid ":mod:`itertools`: Support for copy, deepcopy, and pickle operations." msgstr "" -#: whatsnew/3.12.rst:1430 +#: whatsnew/3.12.rst:1429 msgid ":mod:`pkgutil`:" msgstr "" -#: whatsnew/3.12.rst:1432 +#: whatsnew/3.12.rst:1431 msgid ":func:`!pkgutil.find_loader`" msgstr "" -#: whatsnew/3.12.rst:1433 +#: whatsnew/3.12.rst:1432 msgid ":func:`!pkgutil.get_loader`." msgstr "" -#: whatsnew/3.12.rst:1435 +#: whatsnew/3.12.rst:1434 msgid ":mod:`pty`:" msgstr "" -#: whatsnew/3.12.rst:1437 +#: whatsnew/3.12.rst:1436 msgid ":func:`!pty.master_open`" msgstr "" -#: whatsnew/3.12.rst:1438 +#: whatsnew/3.12.rst:1437 msgid ":func:`!pty.slave_open`" msgstr "" -#: whatsnew/3.12.rst:1440 +#: whatsnew/3.12.rst:1439 msgid ":mod:`shutil`: The *onerror* argument of :func:`shutil.rmtree`" msgstr "" -#: whatsnew/3.12.rst:1442 +#: whatsnew/3.12.rst:1441 msgid ":mod:`typing`: :class:`!typing.ByteString`" msgstr "" -#: whatsnew/3.12.rst:1444 +#: whatsnew/3.12.rst:1443 msgid "" ":mod:`xml.etree.ElementTree`: Testing the truth value of an :class:`xml." "etree.ElementTree.Element`." msgstr "" -#: whatsnew/3.12.rst:1446 +#: whatsnew/3.12.rst:1445 msgid "The ``__package__`` and ``__cached__`` attributes on module objects." msgstr "" -#: whatsnew/3.12.rst:1448 +#: whatsnew/3.12.rst:1447 msgid "The :attr:`~codeobject.co_lnotab` attribute of code objects." msgstr "" -#: whatsnew/3.12.rst:2392 +#: whatsnew/3.12.rst:2388 msgid "Pending Removal in Python 3.15" msgstr "" -#: whatsnew/3.12.rst:1453 +#: whatsnew/3.12.rst:1452 msgid "" "The following APIs have been deprecated and will be removed in Python 3.15." msgstr "" -#: whatsnew/3.12.rst:1458 +#: whatsnew/3.12.rst:1457 msgid ":func:`locale.getdefaultlocale` (:gh:`90817`)" msgstr "" -#: whatsnew/3.12.rst:2410 +#: whatsnew/3.12.rst:2406 msgid "Pending Removal in Future Versions" msgstr "" -#: whatsnew/3.12.rst:1464 +#: whatsnew/3.12.rst:1463 msgid "" "The following APIs were deprecated in earlier Python versions and will be " "removed, although there is currently no date scheduled for their removal." msgstr "" -#: whatsnew/3.12.rst:1467 +#: whatsnew/3.12.rst:1466 msgid ":mod:`array`'s ``'u'`` format code (:gh:`57281`)" msgstr "" -#: whatsnew/3.12.rst:1469 +#: whatsnew/3.12.rst:1468 msgid ":class:`typing.Text` (:gh:`92332`)" msgstr "" -#: whatsnew/3.12.rst:1471 +#: whatsnew/3.12.rst:1470 msgid "" "Currently Python accepts numeric literals immediately followed by keywords, " "for example ``0in x``, ``1or x``, ``0if 1else 2``. It allows confusing and " @@ -2160,54 +2159,54 @@ msgid "" "syntax error. (:gh:`87999`)" msgstr "" -#: whatsnew/3.12.rst:2442 +#: whatsnew/3.12.rst:2438 msgid "Removed" msgstr "" -#: whatsnew/3.12.rst:1485 +#: whatsnew/3.12.rst:1484 msgid "asynchat and asyncore" msgstr "" -#: whatsnew/3.12.rst:1487 +#: whatsnew/3.12.rst:1486 msgid "" "These two modules have been removed according to the schedule in :pep:`594`, " "having been deprecated in Python 3.6. Use :mod:`asyncio` instead. " "(Contributed by Nikita Sobolev in :gh:`96580`.)" msgstr "" -#: whatsnew/3.12.rst:1494 +#: whatsnew/3.12.rst:1493 msgid "configparser" msgstr "" -#: whatsnew/3.12.rst:1496 +#: whatsnew/3.12.rst:1495 msgid "" "Several names deprecated in the :mod:`configparser` way back in 3.2 have " "been removed per :gh:`89336`:" msgstr "" -#: whatsnew/3.12.rst:1499 +#: whatsnew/3.12.rst:1498 msgid "" ":class:`configparser.ParsingError` no longer has a ``filename`` attribute or " "argument. Use the ``source`` attribute and argument instead." msgstr "" -#: whatsnew/3.12.rst:1501 +#: whatsnew/3.12.rst:1500 msgid "" ":mod:`configparser` no longer has a ``SafeConfigParser`` class. Use the " "shorter :class:`~configparser.ConfigParser` name instead." msgstr "" -#: whatsnew/3.12.rst:1503 +#: whatsnew/3.12.rst:1502 msgid "" ":class:`configparser.ConfigParser` no longer has a ``readfp`` method. Use :" "meth:`~configparser.ConfigParser.read_file` instead." msgstr "" -#: whatsnew/3.12.rst:1507 +#: whatsnew/3.12.rst:1506 msgid "distutils" msgstr "" -#: whatsnew/3.12.rst:1509 +#: whatsnew/3.12.rst:1508 msgid "" "Remove the :py:mod:`!distutils` package. It was deprecated in Python 3.10 " "by :pep:`632` \"Deprecate distutils module\". For projects still using " @@ -2216,17 +2215,17 @@ msgid "" "Victor Stinner in :gh:`92584`.)" msgstr "" -#: whatsnew/3.12.rst:1516 +#: whatsnew/3.12.rst:1515 msgid "ensurepip" msgstr "" -#: whatsnew/3.12.rst:1518 +#: whatsnew/3.12.rst:1517 msgid "" "Remove the bundled setuptools wheel from :mod:`ensurepip`, and stop " "installing setuptools in environments created by :mod:`venv`." msgstr "" -#: whatsnew/3.12.rst:1521 +#: whatsnew/3.12.rst:1520 msgid "" "``pip (>= 22.1)`` does not require setuptools to be installed in the " "environment. ``setuptools``-based (and ``distutils``-based) packages can " @@ -2234,7 +2233,7 @@ msgid "" "the build environment it uses for building a package." msgstr "" -#: whatsnew/3.12.rst:1527 +#: whatsnew/3.12.rst:1526 msgid "" "``easy_install``, ``pkg_resources``, ``setuptools`` and ``distutils`` are no " "longer provided by default in environments created with ``venv`` or " @@ -2244,35 +2243,35 @@ msgid "" "(typically, using pip)." msgstr "" -#: whatsnew/3.12.rst:1534 +#: whatsnew/3.12.rst:1533 msgid "(Contributed by Pradyun Gedam in :gh:`95299`.)" msgstr "" -#: whatsnew/3.12.rst:1537 +#: whatsnew/3.12.rst:1536 msgid "enum" msgstr "" -#: whatsnew/3.12.rst:1539 +#: whatsnew/3.12.rst:1538 msgid "" "Remove :mod:`enum`'s ``EnumMeta.__getattr__``, which is no longer needed for " "enum attribute access. (Contributed by Ethan Furman in :gh:`95083`.)" msgstr "" -#: whatsnew/3.12.rst:1544 +#: whatsnew/3.12.rst:1543 msgid "ftplib" msgstr "" -#: whatsnew/3.12.rst:1546 +#: whatsnew/3.12.rst:1545 msgid "" "Remove :mod:`ftplib`'s ``FTP_TLS.ssl_version`` class attribute: use the " "*context* parameter instead. (Contributed by Victor Stinner in :gh:`94172`.)" msgstr "" -#: whatsnew/3.12.rst:1551 +#: whatsnew/3.12.rst:1550 msgid "gzip" msgstr "" -#: whatsnew/3.12.rst:1553 +#: whatsnew/3.12.rst:1552 msgid "" "Remove the ``filename`` attribute of :mod:`gzip`'s :class:`gzip.GzipFile`, " "deprecated since Python 2.6, use the :attr:`~gzip.GzipFile.name` attribute " @@ -2281,11 +2280,11 @@ msgid "" "`94196`.)" msgstr "" -#: whatsnew/3.12.rst:1560 +#: whatsnew/3.12.rst:1559 msgid "hashlib" msgstr "" -#: whatsnew/3.12.rst:1562 +#: whatsnew/3.12.rst:1561 msgid "" "Remove the pure Python implementation of :mod:`hashlib`'s :func:`hashlib." "pbkdf2_hmac()`, deprecated in Python 3.10. Python 3.10 and newer requires " @@ -2294,191 +2293,191 @@ msgid "" "Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1596 +#: whatsnew/3.12.rst:1595 msgid "importlib" msgstr "" -#: whatsnew/3.12.rst:1571 +#: whatsnew/3.12.rst:1570 msgid "" "Many previously deprecated cleanups in :mod:`importlib` have now been " "completed:" msgstr "" -#: whatsnew/3.12.rst:1574 +#: whatsnew/3.12.rst:1573 msgid "" "References to, and support for :meth:`!module_repr()` has been removed. " "(Contributed by Barry Warsaw in :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1577 +#: whatsnew/3.12.rst:1576 msgid "" "``importlib.util.set_package``, ``importlib.util.set_loader`` and " "``importlib.util.module_for_loader`` have all been removed. (Contributed by " "Brett Cannon and Nikita Sobolev in :gh:`65961` and :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1581 +#: whatsnew/3.12.rst:1580 msgid "" "Support for ``find_loader()`` and ``find_module()`` APIs have been removed. " "(Contributed by Barry Warsaw in :gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1584 +#: whatsnew/3.12.rst:1583 msgid "" "``importlib.abc.Finder``, ``pkgutil.ImpImporter``, and ``pkgutil.ImpLoader`` " "have been removed. (Contributed by Barry Warsaw in :gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1596 +#: whatsnew/3.12.rst:1595 msgid "imp" msgstr "" -#: whatsnew/3.12.rst:1590 +#: whatsnew/3.12.rst:1589 msgid "" "The :mod:`!imp` module has been removed. (Contributed by Barry Warsaw in :" "gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1593 +#: whatsnew/3.12.rst:1592 msgid "To migrate, consult the following correspondence table:" msgstr "" -#: whatsnew/3.12.rst:1598 +#: whatsnew/3.12.rst:1597 msgid "``imp.NullImporter``" msgstr "" -#: whatsnew/3.12.rst:1598 +#: whatsnew/3.12.rst:1597 msgid "Insert ``None`` into ``sys.path_importer_cache``" msgstr "" -#: whatsnew/3.12.rst:1599 +#: whatsnew/3.12.rst:1598 msgid "``imp.cache_from_source()``" msgstr "" -#: whatsnew/3.12.rst:1599 +#: whatsnew/3.12.rst:1598 msgid ":func:`importlib.util.cache_from_source`" msgstr "" -#: whatsnew/3.12.rst:1600 +#: whatsnew/3.12.rst:1599 msgid "``imp.find_module()``" msgstr "" -#: whatsnew/3.12.rst:1600 +#: whatsnew/3.12.rst:1599 msgid ":func:`importlib.util.find_spec`" msgstr "" -#: whatsnew/3.12.rst:1601 +#: whatsnew/3.12.rst:1600 msgid "``imp.get_magic()``" msgstr "" -#: whatsnew/3.12.rst:1601 +#: whatsnew/3.12.rst:1600 msgid ":attr:`importlib.util.MAGIC_NUMBER`" msgstr "" -#: whatsnew/3.12.rst:1602 +#: whatsnew/3.12.rst:1601 msgid "``imp.get_suffixes()``" msgstr "" -#: whatsnew/3.12.rst:1602 +#: whatsnew/3.12.rst:1601 msgid "" ":attr:`importlib.machinery.SOURCE_SUFFIXES`, :attr:`importlib.machinery." "EXTENSION_SUFFIXES`, and :attr:`importlib.machinery.BYTECODE_SUFFIXES`" msgstr "" -#: whatsnew/3.12.rst:1603 +#: whatsnew/3.12.rst:1602 msgid "``imp.get_tag()``" msgstr "" -#: whatsnew/3.12.rst:1603 +#: whatsnew/3.12.rst:1602 msgid ":attr:`sys.implementation.cache_tag `" msgstr "" -#: whatsnew/3.12.rst:1604 +#: whatsnew/3.12.rst:1603 msgid "``imp.load_module()``" msgstr "" -#: whatsnew/3.12.rst:1604 +#: whatsnew/3.12.rst:1603 msgid ":func:`importlib.import_module`" msgstr "" -#: whatsnew/3.12.rst:1605 +#: whatsnew/3.12.rst:1604 msgid "``imp.new_module(name)``" msgstr "" -#: whatsnew/3.12.rst:1605 +#: whatsnew/3.12.rst:1604 msgid "``types.ModuleType(name)``" msgstr "" -#: whatsnew/3.12.rst:1606 +#: whatsnew/3.12.rst:1605 msgid "``imp.reload()``" msgstr "" -#: whatsnew/3.12.rst:1606 +#: whatsnew/3.12.rst:1605 msgid ":func:`importlib.reload`" msgstr "" -#: whatsnew/3.12.rst:1607 +#: whatsnew/3.12.rst:1606 msgid "``imp.source_from_cache()``" msgstr "" -#: whatsnew/3.12.rst:1607 +#: whatsnew/3.12.rst:1606 msgid ":func:`importlib.util.source_from_cache`" msgstr "" -#: whatsnew/3.12.rst:1608 +#: whatsnew/3.12.rst:1607 msgid "``imp.load_source()``" msgstr "" -#: whatsnew/3.12.rst:1608 +#: whatsnew/3.12.rst:1607 msgid "*See below*" msgstr "" -#: whatsnew/3.12.rst:1611 +#: whatsnew/3.12.rst:1610 msgid "Replace ``imp.load_source()`` with::" msgstr "" -#: whatsnew/3.12.rst:1626 +#: whatsnew/3.12.rst:1625 msgid "Remove :mod:`!imp` functions and attributes with no replacements:" msgstr "" -#: whatsnew/3.12.rst:1628 +#: whatsnew/3.12.rst:1627 msgid "Undocumented functions:" msgstr "" -#: whatsnew/3.12.rst:1630 +#: whatsnew/3.12.rst:1629 msgid "``imp.init_builtin()``" msgstr "" -#: whatsnew/3.12.rst:1631 +#: whatsnew/3.12.rst:1630 msgid "``imp.load_compiled()``" msgstr "" -#: whatsnew/3.12.rst:1632 +#: whatsnew/3.12.rst:1631 msgid "``imp.load_dynamic()``" msgstr "" -#: whatsnew/3.12.rst:1633 +#: whatsnew/3.12.rst:1632 msgid "``imp.load_package()``" msgstr "" -#: whatsnew/3.12.rst:1635 +#: whatsnew/3.12.rst:1634 msgid "" "``imp.lock_held()``, ``imp.acquire_lock()``, ``imp.release_lock()``: the " "locking scheme has changed in Python 3.3 to per-module locks." msgstr "" -#: whatsnew/3.12.rst:1637 +#: whatsnew/3.12.rst:1636 msgid "" "``imp.find_module()`` constants: ``SEARCH_ERROR``, ``PY_SOURCE``, " "``PY_COMPILED``, ``C_EXTENSION``, ``PY_RESOURCE``, ``PKG_DIRECTORY``, " "``C_BUILTIN``, ``PY_FROZEN``, ``PY_CODERESOURCE``, ``IMP_HOOK``." msgstr "" -#: whatsnew/3.12.rst:1642 +#: whatsnew/3.12.rst:1641 msgid "io" msgstr "" -#: whatsnew/3.12.rst:1644 +#: whatsnew/3.12.rst:1643 msgid "" "Remove :mod:`io`'s ``io.OpenWrapper`` and ``_pyio.OpenWrapper``, deprecated " "in Python 3.10: just use :func:`open` instead. The :func:`open` (:func:`io." @@ -2487,50 +2486,50 @@ msgid "" "`94169`.)" msgstr "" -#: whatsnew/3.12.rst:1651 +#: whatsnew/3.12.rst:1650 msgid "locale" msgstr "" -#: whatsnew/3.12.rst:1653 +#: whatsnew/3.12.rst:1652 msgid "" "Remove :mod:`locale`'s :func:`!locale.format` function, deprecated in Python " "3.7: use :func:`locale.format_string` instead. (Contributed by Victor " "Stinner in :gh:`94226`.)" msgstr "" -#: whatsnew/3.12.rst:1658 +#: whatsnew/3.12.rst:1657 msgid "smtpd" msgstr "" -#: whatsnew/3.12.rst:1660 +#: whatsnew/3.12.rst:1659 msgid "" "The ``smtpd`` module has been removed according to the schedule in :pep:" -"`594`, having been deprecated in Python 3.4.7 and 3.5.4. Use aiosmtpd_ PyPI " -"module or any other :mod:`asyncio`-based server instead. (Contributed by " -"Oleg Iarygin in :gh:`93243`.)" +"`594`, having been deprecated in Python 3.4.7 and 3.5.4. Use the :pypi:" +"`aiosmtpd` PyPI module or any other :mod:`asyncio`-based server instead. " +"(Contributed by Oleg Iarygin in :gh:`93243`.)" msgstr "" -#: whatsnew/3.12.rst:1671 +#: whatsnew/3.12.rst:1668 msgid "" "The following undocumented :mod:`sqlite3` features, deprecated in Python " "3.10, are now removed:" msgstr "" -#: whatsnew/3.12.rst:1674 +#: whatsnew/3.12.rst:1671 msgid "``sqlite3.enable_shared_cache()``" msgstr "" -#: whatsnew/3.12.rst:1675 +#: whatsnew/3.12.rst:1672 msgid "``sqlite3.OptimizedUnicode``" msgstr "" -#: whatsnew/3.12.rst:1677 +#: whatsnew/3.12.rst:1674 msgid "" "If a shared cache must be used, open the database in URI mode using the " "``cache=shared`` query parameter." msgstr "" -#: whatsnew/3.12.rst:1680 +#: whatsnew/3.12.rst:1677 msgid "" "The ``sqlite3.OptimizedUnicode`` text factory has been an alias for :class:" "`str` since Python 3.3. Code that previously set the text factory to " @@ -2538,22 +2537,22 @@ msgid "" "default value which is also ``str``." msgstr "" -#: whatsnew/3.12.rst:1685 +#: whatsnew/3.12.rst:1682 msgid "(Contributed by Erlend E. Aasland in :gh:`92548`.)" msgstr "" -#: whatsnew/3.12.rst:1688 +#: whatsnew/3.12.rst:1685 msgid "ssl" msgstr "" -#: whatsnew/3.12.rst:1690 +#: whatsnew/3.12.rst:1687 msgid "" "Remove :mod:`ssl`'s :func:`!ssl.RAND_pseudo_bytes` function, deprecated in " "Python 3.6: use :func:`os.urandom` or :func:`ssl.RAND_bytes` instead. " "(Contributed by Victor Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1694 +#: whatsnew/3.12.rst:1691 msgid "" "Remove the :func:`!ssl.match_hostname` function. It was deprecated in Python " "3.7. OpenSSL performs hostname matching since Python 3.7, Python no longer " @@ -2561,196 +2560,196 @@ msgid "" "Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1700 +#: whatsnew/3.12.rst:1697 msgid "" "Remove the :func:`!ssl.wrap_socket` function, deprecated in Python 3.7: " "instead, create a :class:`ssl.SSLContext` object and call its :class:`ssl." "SSLContext.wrap_socket` method. Any package that still uses :func:`!ssl." "wrap_socket` is broken and insecure. The function neither sends a SNI TLS " -"extension nor validates server hostname. Code is subject to `CWE-295 " -"`_: Improper Certificate " -"Validation. (Contributed by Victor Stinner in :gh:`94199`.)" +"extension nor validates the server hostname. Code is subject to :cwe:`295` " +"(Improper Certificate Validation). (Contributed by Victor Stinner in :gh:" +"`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1712 +#: whatsnew/3.12.rst:1708 msgid "Remove many long-deprecated :mod:`unittest` features:" msgstr "" -#: whatsnew/3.12.rst:1716 +#: whatsnew/3.12.rst:1712 msgid "A number of :class:`~unittest.TestCase` method aliases:" msgstr "" -#: whatsnew/3.12.rst:1719 +#: whatsnew/3.12.rst:1715 msgid "Deprecated alias" msgstr "" -#: whatsnew/3.12.rst:1719 +#: whatsnew/3.12.rst:1715 msgid "Method Name" msgstr "" -#: whatsnew/3.12.rst:1719 +#: whatsnew/3.12.rst:1715 msgid "Deprecated in" msgstr "" -#: whatsnew/3.12.rst:1721 +#: whatsnew/3.12.rst:1717 msgid "``failUnless``" msgstr "" -#: whatsnew/3.12.rst:1728 +#: whatsnew/3.12.rst:1724 msgid ":meth:`.assertTrue`" msgstr "" -#: whatsnew/3.12.rst:1722 whatsnew/3.12.rst:1724 whatsnew/3.12.rst:1726 -#: whatsnew/3.12.rst:1727 +#: whatsnew/3.12.rst:1718 whatsnew/3.12.rst:1720 whatsnew/3.12.rst:1722 +#: whatsnew/3.12.rst:1723 msgid "3.1" msgstr "" -#: whatsnew/3.12.rst:1722 +#: whatsnew/3.12.rst:1718 msgid "``failIf``" msgstr "" -#: whatsnew/3.12.rst:1722 +#: whatsnew/3.12.rst:1718 msgid ":meth:`.assertFalse`" msgstr "" -#: whatsnew/3.12.rst:1723 +#: whatsnew/3.12.rst:1719 msgid "``failUnlessEqual``" msgstr "" -#: whatsnew/3.12.rst:1729 +#: whatsnew/3.12.rst:1725 msgid ":meth:`.assertEqual`" msgstr "" -#: whatsnew/3.12.rst:1724 +#: whatsnew/3.12.rst:1720 msgid "``failIfEqual``" msgstr "" -#: whatsnew/3.12.rst:1730 +#: whatsnew/3.12.rst:1726 msgid ":meth:`.assertNotEqual`" msgstr "" -#: whatsnew/3.12.rst:1725 +#: whatsnew/3.12.rst:1721 msgid "``failUnlessAlmostEqual``" msgstr "" -#: whatsnew/3.12.rst:1731 +#: whatsnew/3.12.rst:1727 msgid ":meth:`.assertAlmostEqual`" msgstr "" -#: whatsnew/3.12.rst:1726 +#: whatsnew/3.12.rst:1722 msgid "``failIfAlmostEqual``" msgstr "" -#: whatsnew/3.12.rst:1732 +#: whatsnew/3.12.rst:1728 msgid ":meth:`.assertNotAlmostEqual`" msgstr "" -#: whatsnew/3.12.rst:1727 +#: whatsnew/3.12.rst:1723 msgid "``failUnlessRaises``" msgstr "" -#: whatsnew/3.12.rst:1727 +#: whatsnew/3.12.rst:1723 msgid ":meth:`.assertRaises`" msgstr "" -#: whatsnew/3.12.rst:1728 +#: whatsnew/3.12.rst:1724 msgid "``assert_``" msgstr "" -#: whatsnew/3.12.rst:1729 whatsnew/3.12.rst:1731 whatsnew/3.12.rst:1733 -#: whatsnew/3.12.rst:1734 +#: whatsnew/3.12.rst:1725 whatsnew/3.12.rst:1727 whatsnew/3.12.rst:1729 +#: whatsnew/3.12.rst:1730 msgid "3.2" msgstr "" -#: whatsnew/3.12.rst:1729 +#: whatsnew/3.12.rst:1725 msgid "``assertEquals``" msgstr "" -#: whatsnew/3.12.rst:1730 +#: whatsnew/3.12.rst:1726 msgid "``assertNotEquals``" msgstr "" -#: whatsnew/3.12.rst:1731 +#: whatsnew/3.12.rst:1727 msgid "``assertAlmostEquals``" msgstr "" -#: whatsnew/3.12.rst:1732 +#: whatsnew/3.12.rst:1728 msgid "``assertNotAlmostEquals``" msgstr "" -#: whatsnew/3.12.rst:1733 +#: whatsnew/3.12.rst:1729 msgid "``assertRegexpMatches``" msgstr "" -#: whatsnew/3.12.rst:1733 +#: whatsnew/3.12.rst:1729 msgid ":meth:`.assertRegex`" msgstr "" -#: whatsnew/3.12.rst:1734 +#: whatsnew/3.12.rst:1730 msgid "``assertRaisesRegexp``" msgstr "" -#: whatsnew/3.12.rst:1734 +#: whatsnew/3.12.rst:1730 msgid ":meth:`.assertRaisesRegex`" msgstr "" -#: whatsnew/3.12.rst:1735 +#: whatsnew/3.12.rst:1731 msgid "``assertNotRegexpMatches``" msgstr "" -#: whatsnew/3.12.rst:1735 +#: whatsnew/3.12.rst:1731 msgid ":meth:`.assertNotRegex`" msgstr "" -#: whatsnew/3.12.rst:1735 +#: whatsnew/3.12.rst:1731 msgid "3.5" msgstr "" -#: whatsnew/3.12.rst:1738 +#: whatsnew/3.12.rst:1734 msgid "" "You can use https://github.com/isidentical/teyit to automatically modernise " "your unit tests." msgstr "" -#: whatsnew/3.12.rst:1741 +#: whatsnew/3.12.rst:1737 msgid "" "Undocumented and broken :class:`~unittest.TestCase` method " "``assertDictContainsSubset`` (deprecated in Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1744 +#: whatsnew/3.12.rst:1740 msgid "" "Undocumented :meth:`TestLoader.loadTestsFromModule ` parameter *use_load_tests* (deprecated and ignored " "since Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1748 +#: whatsnew/3.12.rst:1744 msgid "" "An alias of the :class:`~unittest.TextTestResult` class: ``_TextTestResult`` " "(deprecated in Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1751 +#: whatsnew/3.12.rst:1747 msgid "(Contributed by Serhiy Storchaka in :gh:`89325`.)" msgstr "" -#: whatsnew/3.12.rst:1754 +#: whatsnew/3.12.rst:1750 msgid "webbrowser" msgstr "" -#: whatsnew/3.12.rst:1756 +#: whatsnew/3.12.rst:1752 msgid "" "Remove support for obsolete browsers from :mod:`webbrowser`. The removed " "browsers include: Grail, Mosaic, Netscape, Galeon, Skipstone, Iceape, " "Firebird, and Firefox versions 35 and below (:gh:`102871`)." msgstr "" -#: whatsnew/3.12.rst:1761 +#: whatsnew/3.12.rst:1757 msgid "xml.etree.ElementTree" msgstr "" -#: whatsnew/3.12.rst:1763 +#: whatsnew/3.12.rst:1759 msgid "" "Remove the ``ElementTree.Element.copy()`` method of the pure Python " "implementation, deprecated in Python 3.10, use the :func:`copy.copy` " @@ -2759,22 +2758,22 @@ msgid "" "Stinner in :gh:`94383`.)" msgstr "" -#: whatsnew/3.12.rst:1770 +#: whatsnew/3.12.rst:1766 msgid "zipimport" msgstr "" -#: whatsnew/3.12.rst:1772 +#: whatsnew/3.12.rst:1768 msgid "" "Remove :mod:`zipimport`'s ``find_loader()`` and ``find_module()`` methods, " "deprecated in Python 3.10: use the ``find_spec()`` method instead. See :pep:" "`451` for the rationale. (Contributed by Victor Stinner in :gh:`94379`.)" msgstr "" -#: whatsnew/3.12.rst:1778 +#: whatsnew/3.12.rst:1774 msgid "Others" msgstr "" -#: whatsnew/3.12.rst:1780 +#: whatsnew/3.12.rst:1776 msgid "" "Remove the ``suspicious`` rule from the documentation :file:`Makefile` and :" "file:`Doc/tools/rstlint.py`, both in favor of `sphinx-lint `, " "intended for low-level tools like debuggers and JIT compilers. This API may " @@ -3044,84 +3043,84 @@ msgid "" "contents are marked by the ``PyUnstable_`` prefix in names." msgstr "" -#: whatsnew/3.12.rst:1976 +#: whatsnew/3.12.rst:1972 msgid "Code object constructors:" msgstr "" -#: whatsnew/3.12.rst:1978 +#: whatsnew/3.12.rst:1974 msgid "``PyUnstable_Code_New()`` (renamed from ``PyCode_New``)" msgstr "" -#: whatsnew/3.12.rst:1979 +#: whatsnew/3.12.rst:1975 msgid "" "``PyUnstable_Code_NewWithPosOnlyArgs()`` (renamed from " "``PyCode_NewWithPosOnlyArgs``)" msgstr "" -#: whatsnew/3.12.rst:1981 +#: whatsnew/3.12.rst:1977 msgid "Extra storage for code objects (:pep:`523`):" msgstr "" -#: whatsnew/3.12.rst:1983 +#: whatsnew/3.12.rst:1979 msgid "" "``PyUnstable_Eval_RequestCodeExtraIndex()`` (renamed from " "``_PyEval_RequestCodeExtraIndex``)" msgstr "" -#: whatsnew/3.12.rst:1984 +#: whatsnew/3.12.rst:1980 msgid "``PyUnstable_Code_GetExtra()`` (renamed from ``_PyCode_GetExtra``)" msgstr "" -#: whatsnew/3.12.rst:1985 +#: whatsnew/3.12.rst:1981 msgid "``PyUnstable_Code_SetExtra()`` (renamed from ``_PyCode_SetExtra``)" msgstr "" -#: whatsnew/3.12.rst:1987 +#: whatsnew/3.12.rst:1983 msgid "" "The original names will continue to be available until the respective API " "changes." msgstr "" -#: whatsnew/3.12.rst:1990 +#: whatsnew/3.12.rst:1986 msgid "(Contributed by Petr Viktorin in :gh:`101101`.)" msgstr "" -#: whatsnew/3.12.rst:1992 +#: whatsnew/3.12.rst:1988 msgid "" ":pep:`697`: Add an API for extending types whose instance memory layout is " "opaque:" msgstr "" -#: whatsnew/3.12.rst:1995 +#: whatsnew/3.12.rst:1991 msgid "" ":c:member:`PyType_Spec.basicsize` can be zero or negative to specify " "inheriting or extending the base class size." msgstr "" -#: whatsnew/3.12.rst:1997 +#: whatsnew/3.12.rst:1993 msgid "" ":c:func:`PyObject_GetTypeData` and :c:func:`PyType_GetTypeDataSize` added to " "allow access to subclass-specific instance data." msgstr "" -#: whatsnew/3.12.rst:1999 +#: whatsnew/3.12.rst:1995 msgid "" ":c:macro:`Py_TPFLAGS_ITEMS_AT_END` and :c:func:`PyObject_GetItemData` added " "to allow safely extending certain variable-sized types, including :c:var:" "`PyType_Type`." msgstr "" -#: whatsnew/3.12.rst:2002 +#: whatsnew/3.12.rst:1998 msgid "" ":c:macro:`Py_RELATIVE_OFFSET` added to allow defining :c:type:`members " "` in terms of a subclass-specific struct." msgstr "" -#: whatsnew/3.12.rst:2005 +#: whatsnew/3.12.rst:2001 msgid "(Contributed by Petr Viktorin in :gh:`103509`.)" msgstr "" -#: whatsnew/3.12.rst:2007 +#: whatsnew/3.12.rst:2003 msgid "" "Add the new :ref:`limited C API ` function :c:func:" "`PyType_FromMetaclass`, which generalizes the existing :c:func:" @@ -3129,29 +3128,29 @@ msgid "" "(Contributed by Wenzel Jakob in :gh:`93012`.)" msgstr "" -#: whatsnew/3.12.rst:2012 +#: whatsnew/3.12.rst:2008 msgid "" "API for creating objects that can be called using :ref:`the vectorcall " "protocol ` was added to the :ref:`Limited API `:" msgstr "" -#: whatsnew/3.12.rst:2016 +#: whatsnew/3.12.rst:2012 msgid ":c:macro:`Py_TPFLAGS_HAVE_VECTORCALL`" msgstr "" -#: whatsnew/3.12.rst:2017 +#: whatsnew/3.12.rst:2013 msgid ":c:func:`PyVectorcall_NARGS`" msgstr "" -#: whatsnew/3.12.rst:2018 +#: whatsnew/3.12.rst:2014 msgid ":c:func:`PyVectorcall_Call`" msgstr "" -#: whatsnew/3.12.rst:2019 +#: whatsnew/3.12.rst:2015 msgid ":c:type:`vectorcallfunc`" msgstr "" -#: whatsnew/3.12.rst:2021 +#: whatsnew/3.12.rst:2017 msgid "" "The :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class " "when the class's :py:meth:`~object.__call__` method is reassigned. This " @@ -3162,7 +3161,7 @@ msgid "" "`93274`.)" msgstr "" -#: whatsnew/3.12.rst:2029 +#: whatsnew/3.12.rst:2025 msgid "" "The :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:macro:" "`Py_TPFLAGS_MANAGED_WEAKREF` flags have been added. This allows extensions " @@ -3170,32 +3169,32 @@ msgid "" "using less memory and with faster access." msgstr "" -#: whatsnew/3.12.rst:2034 +#: whatsnew/3.12.rst:2030 msgid "" "API for performing calls using :ref:`the vectorcall protocol ` " "was added to the :ref:`Limited API `:" msgstr "" -#: whatsnew/3.12.rst:2038 +#: whatsnew/3.12.rst:2034 msgid ":c:func:`PyObject_Vectorcall`" msgstr "" -#: whatsnew/3.12.rst:2039 +#: whatsnew/3.12.rst:2035 msgid ":c:func:`PyObject_VectorcallMethod`" msgstr "" -#: whatsnew/3.12.rst:2040 +#: whatsnew/3.12.rst:2036 msgid ":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`" msgstr "" -#: whatsnew/3.12.rst:2042 +#: whatsnew/3.12.rst:2038 msgid "" "This means that both the incoming and outgoing ends of the vector call " "protocol are now available in the :ref:`Limited API `. (Contributed " "by Wenzel Jakob in :gh:`98586`.)" msgstr "" -#: whatsnew/3.12.rst:2046 +#: whatsnew/3.12.rst:2042 msgid "" "Add two new public functions, :c:func:`PyEval_SetProfileAllThreads` and :c:" "func:`PyEval_SetTraceAllThreads`, that allow to set tracing and profiling " @@ -3203,14 +3202,14 @@ msgid "" "(Contributed by Pablo Galindo in :gh:`93503`.)" msgstr "" -#: whatsnew/3.12.rst:2052 +#: whatsnew/3.12.rst:2048 msgid "" "Add new function :c:func:`PyFunction_SetVectorcall` to the C API which sets " "the vectorcall field of a given :c:type:`PyFunctionObject`. (Contributed by " "Andrew Frost in :gh:`92257`.)" msgstr "" -#: whatsnew/3.12.rst:2056 +#: whatsnew/3.12.rst:2052 msgid "" "The C API now permits registering callbacks via :c:func:" "`PyDict_AddWatcher`, :c:func:`PyDict_Watch` and related APIs to be called " @@ -3219,28 +3218,28 @@ msgid "" "`91052`.)" msgstr "" -#: whatsnew/3.12.rst:2062 +#: whatsnew/3.12.rst:2058 msgid "" "Add :c:func:`PyType_AddWatcher` and :c:func:`PyType_Watch` API to register " "callbacks to receive notification on changes to a type. (Contributed by Carl " "Meyer in :gh:`91051`.)" msgstr "" -#: whatsnew/3.12.rst:2066 +#: whatsnew/3.12.rst:2062 msgid "" "Add :c:func:`PyCode_AddWatcher` and :c:func:`PyCode_ClearWatcher` APIs to " "register callbacks to receive notification on creation and destruction of " "code objects. (Contributed by Itamar Oren in :gh:`91054`.)" msgstr "" -#: whatsnew/3.12.rst:2071 +#: whatsnew/3.12.rst:2067 msgid "" "Add :c:func:`PyFrame_GetVar` and :c:func:`PyFrame_GetVarString` functions to " "get a frame variable by its name. (Contributed by Victor Stinner in :gh:" "`91248`.)" msgstr "" -#: whatsnew/3.12.rst:2075 +#: whatsnew/3.12.rst:2071 msgid "" "Add :c:func:`PyErr_GetRaisedException` and :c:func:" "`PyErr_SetRaisedException` for saving and restoring the current exception. " @@ -3250,14 +3249,14 @@ msgid "" "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2083 +#: whatsnew/3.12.rst:2079 msgid "" "Add ``_PyErr_ChainExceptions1``, which takes an exception instance, to " "replace the legacy-API ``_PyErr_ChainExceptions``, which is now deprecated. " "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2087 +#: whatsnew/3.12.rst:2083 msgid "" "Add :c:func:`PyException_GetArgs` and :c:func:`PyException_SetArgs` as " "convenience functions for retrieving and modifying the :attr:`~BaseException." @@ -3265,71 +3264,71 @@ msgid "" "in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2092 +#: whatsnew/3.12.rst:2088 msgid "" "Add :c:func:`PyErr_DisplayException`, which takes an exception instance, to " "replace the legacy-api :c:func:`!PyErr_Display`. (Contributed by Irit " "Katriel in :gh:`102755`)." msgstr "" -#: whatsnew/3.12.rst:2098 +#: whatsnew/3.12.rst:2094 msgid "" ":pep:`683`: Introduce *Immortal Objects*, which allows objects to bypass " "reference counts, and related changes to the C-API:" msgstr "" -#: whatsnew/3.12.rst:2101 +#: whatsnew/3.12.rst:2097 msgid "``_Py_IMMORTAL_REFCNT``: The reference count that defines an object" msgstr "" -#: whatsnew/3.12.rst:2102 +#: whatsnew/3.12.rst:2098 msgid "as immortal." msgstr "" -#: whatsnew/3.12.rst:2103 +#: whatsnew/3.12.rst:2099 msgid "" "``_Py_IsImmortal`` Checks if an object has the immortal reference count." msgstr "" -#: whatsnew/3.12.rst:2104 +#: whatsnew/3.12.rst:2100 msgid "``PyObject_HEAD_INIT`` This will now initialize reference count to" msgstr "" -#: whatsnew/3.12.rst:2105 +#: whatsnew/3.12.rst:2101 msgid "``_Py_IMMORTAL_REFCNT`` when used with ``Py_BUILD_CORE``." msgstr "" -#: whatsnew/3.12.rst:2106 +#: whatsnew/3.12.rst:2102 msgid "``SSTATE_INTERNED_IMMORTAL`` An identifier for interned unicode objects" msgstr "" -#: whatsnew/3.12.rst:2107 +#: whatsnew/3.12.rst:2103 msgid "that are immortal." msgstr "" -#: whatsnew/3.12.rst:2108 +#: whatsnew/3.12.rst:2104 msgid "``SSTATE_INTERNED_IMMORTAL_STATIC`` An identifier for interned unicode" msgstr "" -#: whatsnew/3.12.rst:2109 +#: whatsnew/3.12.rst:2105 msgid "objects that are immortal and static" msgstr "" -#: whatsnew/3.12.rst:2112 +#: whatsnew/3.12.rst:2106 msgid "``sys.getunicodeinternedsize`` This returns the total number of unicode" msgstr "" -#: whatsnew/3.12.rst:2111 +#: whatsnew/3.12.rst:2107 msgid "" "objects that have been interned. This is now needed for :file:`refleak.py` " "to correctly track reference counts and allocated blocks" msgstr "" -#: whatsnew/3.12.rst:2114 +#: whatsnew/3.12.rst:2110 msgid "(Contributed by Eddie Elizondo in :gh:`84436`.)" msgstr "" -#: whatsnew/3.12.rst:2116 +#: whatsnew/3.12.rst:2112 msgid "" ":pep:`684`: Add the new :c:func:`Py_NewInterpreterFromConfig` function and :" "c:type:`PyInterpreterConfig`, which may be used to create sub-interpreters " @@ -3337,27 +3336,27 @@ msgid "" "(Contributed by Eric Snow in :gh:`104110`.)" msgstr "" -#: whatsnew/3.12.rst:2122 +#: whatsnew/3.12.rst:2118 msgid "" "In the limited C API version 3.12, :c:func:`Py_INCREF` and :c:func:" "`Py_DECREF` functions are now implemented as opaque function calls to hide " "implementation details. (Contributed by Victor Stinner in :gh:`105387`.)" msgstr "" -#: whatsnew/3.12.rst:2130 +#: whatsnew/3.12.rst:2126 msgid "" "Legacy Unicode APIs based on ``Py_UNICODE*`` representation has been " "removed. Please migrate to APIs based on UTF-8 or ``wchar_t*``." msgstr "" -#: whatsnew/3.12.rst:2133 +#: whatsnew/3.12.rst:2129 msgid "" "Argument parsing functions like :c:func:`PyArg_ParseTuple` doesn't support " "``Py_UNICODE*`` based format (e.g. ``u``, ``Z``) anymore. Please migrate to " "other formats for Unicode like ``s``, ``z``, ``es``, and ``U``." msgstr "" -#: whatsnew/3.12.rst:2137 +#: whatsnew/3.12.rst:2133 msgid "" "``tp_weaklist`` for all static builtin types is always ``NULL``. This is an " "internal-only field on ``PyTypeObject`` but we're pointing out the change in " @@ -3366,7 +3365,7 @@ msgid "" "necessary, the (internal-only) ``_PyObject_GET_WEAKREFS_LISTPTR()`` macro." msgstr "" -#: whatsnew/3.12.rst:2144 +#: whatsnew/3.12.rst:2140 msgid "" "This internal-only :c:member:`PyTypeObject.tp_subclasses` may now not be a " "valid object pointer. Its type was changed to :c:expr:`void *` to reflect " @@ -3374,13 +3373,13 @@ msgid "" "only field directly." msgstr "" -#: whatsnew/3.12.rst:2149 +#: whatsnew/3.12.rst:2145 msgid "" "To get a list of subclasses, call the Python method :py:meth:`~class." "__subclasses__` (using :c:func:`PyObject_CallMethod`, for example)." msgstr "" -#: whatsnew/3.12.rst:2153 +#: whatsnew/3.12.rst:2149 msgid "" "Add support of more formatting options (left aligning, octals, uppercase " "hexadecimals, :c:type:`intmax_t`, :c:type:`ptrdiff_t`, :c:type:`wchar_t` C " @@ -3389,7 +3388,7 @@ msgid "" "`98836`.)" msgstr "" -#: whatsnew/3.12.rst:2159 +#: whatsnew/3.12.rst:2155 msgid "" "An unrecognized format character in :c:func:`PyUnicode_FromFormat` and :c:" "func:`PyUnicode_FromFormatV` now sets a :exc:`SystemError`. In previous " @@ -3398,13 +3397,13 @@ msgid "" "Storchaka in :gh:`95781`.)" msgstr "" -#: whatsnew/3.12.rst:2165 +#: whatsnew/3.12.rst:2161 msgid "" "Fix wrong sign placement in :c:func:`PyUnicode_FromFormat` and :c:func:" "`PyUnicode_FromFormatV`. (Contributed by Philip Georgi in :gh:`95504`.)" msgstr "" -#: whatsnew/3.12.rst:2169 +#: whatsnew/3.12.rst:2165 msgid "" "Extension classes wanting to add a ``__dict__`` or weak reference slot " "should use :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:macro:" @@ -3418,7 +3417,7 @@ msgid "" "func:`PyObject_ClearWeakRefs`, as before." msgstr "" -#: whatsnew/3.12.rst:2181 +#: whatsnew/3.12.rst:2177 msgid "" "The :c:func:`PyUnicode_FSDecoder` function no longer accepts bytes-like " "paths, like :class:`bytearray` and :class:`memoryview` types: only the " @@ -3426,7 +3425,7 @@ msgid "" "Victor Stinner in :gh:`98393`.)" msgstr "" -#: whatsnew/3.12.rst:2186 +#: whatsnew/3.12.rst:2182 msgid "" "The :c:macro:`Py_CLEAR`, :c:macro:`Py_SETREF` and :c:macro:`Py_XSETREF` " "macros now only evaluate their arguments once. If an argument has side " @@ -3434,7 +3433,7 @@ msgid "" "Stinner in :gh:`98724`.)" msgstr "" -#: whatsnew/3.12.rst:2191 +#: whatsnew/3.12.rst:2187 msgid "" "The interpreter's error indicator is now always normalized. This means that :" "c:func:`PyErr_SetObject`, :c:func:`PyErr_SetString` and the other functions " @@ -3442,7 +3441,7 @@ msgid "" "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2196 +#: whatsnew/3.12.rst:2192 msgid "" "``_Py_RefTotal`` is no longer authoritative and only kept around for ABI " "compatibility. Note that it is an internal global and only available on " @@ -3450,25 +3449,25 @@ msgid "" "``_Py_GetGlobalRefTotal()``." msgstr "" -#: whatsnew/3.12.rst:2201 +#: whatsnew/3.12.rst:2197 msgid "" "The following functions now select an appropriate metaclass for the newly " "created type:" msgstr "" -#: whatsnew/3.12.rst:2204 +#: whatsnew/3.12.rst:2200 msgid ":c:func:`PyType_FromSpec`" msgstr "" -#: whatsnew/3.12.rst:2205 +#: whatsnew/3.12.rst:2201 msgid ":c:func:`PyType_FromSpecWithBases`" msgstr "" -#: whatsnew/3.12.rst:2206 +#: whatsnew/3.12.rst:2202 msgid ":c:func:`PyType_FromModuleAndSpec`" msgstr "" -#: whatsnew/3.12.rst:2208 +#: whatsnew/3.12.rst:2204 msgid "" "Creating classes whose metaclass overrides :c:member:`~PyTypeObject.tp_new` " "is deprecated, and in Python 3.14+ it will be disallowed. Note that these " @@ -3476,14 +3475,14 @@ msgid "" "initialization." msgstr "" -#: whatsnew/3.12.rst:2213 +#: whatsnew/3.12.rst:2209 msgid "" "Note that :c:func:`PyType_FromMetaclass` (added in Python 3.12) already " "disallows creating classes whose metaclass overrides ``tp_new`` (:meth:" "`~object.__new__` in Python)." msgstr "" -#: whatsnew/3.12.rst:2217 +#: whatsnew/3.12.rst:2213 msgid "" "Since ``tp_new`` overrides almost everything ``PyType_From*`` functions do, " "the two are incompatible with each other. The existing behavior -- ignoring " @@ -3492,17 +3491,17 @@ msgid "" "general workaround. One of the following may work for you:" msgstr "" -#: whatsnew/3.12.rst:2224 +#: whatsnew/3.12.rst:2220 msgid "If you control the metaclass, avoid using ``tp_new`` in it:" msgstr "" -#: whatsnew/3.12.rst:2226 +#: whatsnew/3.12.rst:2222 msgid "" "If initialization can be skipped, it can be done in :c:member:`~PyTypeObject." "tp_init` instead." msgstr "" -#: whatsnew/3.12.rst:2228 +#: whatsnew/3.12.rst:2224 msgid "" "If the metaclass doesn't need to be instantiated from Python, set its " "``tp_new`` to ``NULL`` using the :c:macro:" @@ -3510,20 +3509,20 @@ msgid "" "``PyType_From*`` functions." msgstr "" -#: whatsnew/3.12.rst:2233 +#: whatsnew/3.12.rst:2229 msgid "" "Avoid ``PyType_From*`` functions: if you don't need C-specific features " "(slots or setting the instance size), create types by :ref:`calling ` " "the metaclass." msgstr "" -#: whatsnew/3.12.rst:2237 +#: whatsnew/3.12.rst:2233 msgid "" "If you *know* the ``tp_new`` can be skipped safely, filter the deprecation " "warning out using :func:`warnings.catch_warnings` from Python." msgstr "" -#: whatsnew/3.12.rst:2240 +#: whatsnew/3.12.rst:2236 msgid "" ":c:var:`PyOS_InputHook` and :c:var:`PyOS_ReadlineFunctionPointer` are no " "longer called in :ref:`subinterpreters `. This is " @@ -3531,14 +3530,14 @@ msgid "" "callbacks have no way of recovering extension module state)." msgstr "" -#: whatsnew/3.12.rst:2245 +#: whatsnew/3.12.rst:2241 msgid "" "This also avoids situations where extensions may find themselves running in " "a subinterpreter that they don't support (or haven't yet been loaded in). " "See :gh:`104668` for more info." msgstr "" -#: whatsnew/3.12.rst:2249 +#: whatsnew/3.12.rst:2245 msgid "" ":c:struct:`PyLongObject` has had its internals changed for better " "performance. Although the internals of :c:struct:`PyLongObject` are private, " @@ -3549,15 +3548,15 @@ msgid "" "a single machine word:" msgstr "" -#: whatsnew/3.12.rst:2257 +#: whatsnew/3.12.rst:2253 msgid ":c:func:`PyUnstable_Long_IsCompact`" msgstr "" -#: whatsnew/3.12.rst:2258 +#: whatsnew/3.12.rst:2254 msgid ":c:func:`PyUnstable_Long_CompactValue`" msgstr "" -#: whatsnew/3.12.rst:2260 +#: whatsnew/3.12.rst:2256 msgid "" "Custom allocators, set via :c:func:`PyMem_SetAllocator`, are now required to " "be thread-safe, regardless of memory domain. Allocators that don't have " @@ -3566,7 +3565,7 @@ msgid "" "create a new GitHub issue and CC ``@ericsnowcurrently``." msgstr "" -#: whatsnew/3.12.rst:2270 +#: whatsnew/3.12.rst:2266 msgid "" "In accordance with :pep:`699`, the ``ma_version_tag`` field in :c:type:" "`PyDictObject` is deprecated for extension modules. Accessing this field " @@ -3575,445 +3574,459 @@ msgid "" "PEP by Ken Jin.)" msgstr "" -#: whatsnew/3.12.rst:2275 +#: whatsnew/3.12.rst:2271 msgid "Deprecate global configuration variable:" msgstr "" -#: whatsnew/3.12.rst:2362 +#: whatsnew/3.12.rst:2358 msgid ":c:var:`Py_DebugFlag`: use :c:member:`PyConfig.parser_debug`" msgstr "" -#: whatsnew/3.12.rst:2363 +#: whatsnew/3.12.rst:2359 msgid ":c:var:`Py_VerboseFlag`: use :c:member:`PyConfig.verbose`" msgstr "" -#: whatsnew/3.12.rst:2364 +#: whatsnew/3.12.rst:2360 msgid ":c:var:`Py_QuietFlag`: use :c:member:`PyConfig.quiet`" msgstr "" -#: whatsnew/3.12.rst:2365 +#: whatsnew/3.12.rst:2361 msgid ":c:var:`Py_InteractiveFlag`: use :c:member:`PyConfig.interactive`" msgstr "" -#: whatsnew/3.12.rst:2366 +#: whatsnew/3.12.rst:2362 msgid ":c:var:`Py_InspectFlag`: use :c:member:`PyConfig.inspect`" msgstr "" -#: whatsnew/3.12.rst:2367 +#: whatsnew/3.12.rst:2363 msgid ":c:var:`Py_OptimizeFlag`: use :c:member:`PyConfig.optimization_level`" msgstr "" -#: whatsnew/3.12.rst:2368 +#: whatsnew/3.12.rst:2364 msgid ":c:var:`Py_NoSiteFlag`: use :c:member:`PyConfig.site_import`" msgstr "" -#: whatsnew/3.12.rst:2369 +#: whatsnew/3.12.rst:2365 msgid ":c:var:`Py_BytesWarningFlag`: use :c:member:`PyConfig.bytes_warning`" msgstr "" -#: whatsnew/3.12.rst:2370 +#: whatsnew/3.12.rst:2366 msgid ":c:var:`Py_FrozenFlag`: use :c:member:`PyConfig.pathconfig_warnings`" msgstr "" -#: whatsnew/3.12.rst:2371 +#: whatsnew/3.12.rst:2367 msgid "" ":c:var:`Py_IgnoreEnvironmentFlag`: use :c:member:`PyConfig.use_environment`" msgstr "" -#: whatsnew/3.12.rst:2372 +#: whatsnew/3.12.rst:2368 msgid "" ":c:var:`Py_DontWriteBytecodeFlag`: use :c:member:`PyConfig.write_bytecode`" msgstr "" -#: whatsnew/3.12.rst:2373 +#: whatsnew/3.12.rst:2369 msgid "" ":c:var:`Py_NoUserSiteDirectory`: use :c:member:`PyConfig.user_site_directory`" msgstr "" -#: whatsnew/3.12.rst:2374 +#: whatsnew/3.12.rst:2370 msgid "" ":c:var:`Py_UnbufferedStdioFlag`: use :c:member:`PyConfig.buffered_stdio`" msgstr "" -#: whatsnew/3.12.rst:2375 +#: whatsnew/3.12.rst:2371 msgid "" ":c:var:`Py_HashRandomizationFlag`: use :c:member:`PyConfig.use_hash_seed` " "and :c:member:`PyConfig.hash_seed`" msgstr "" -#: whatsnew/3.12.rst:2377 +#: whatsnew/3.12.rst:2373 msgid ":c:var:`Py_IsolatedFlag`: use :c:member:`PyConfig.isolated`" msgstr "" -#: whatsnew/3.12.rst:2378 +#: whatsnew/3.12.rst:2374 msgid "" ":c:var:`Py_LegacyWindowsFSEncodingFlag`: use :c:member:`PyPreConfig." "legacy_windows_fs_encoding`" msgstr "" -#: whatsnew/3.12.rst:2379 +#: whatsnew/3.12.rst:2375 msgid "" ":c:var:`Py_LegacyWindowsStdioFlag`: use :c:member:`PyConfig." "legacy_windows_stdio`" msgstr "" -#: whatsnew/3.12.rst:2380 +#: whatsnew/3.12.rst:2376 msgid "" ":c:var:`!Py_FileSystemDefaultEncoding`: use :c:member:`PyConfig." "filesystem_encoding`" msgstr "" -#: whatsnew/3.12.rst:2381 +#: whatsnew/3.12.rst:2377 msgid "" ":c:var:`!Py_HasFileSystemDefaultEncoding`: use :c:member:`PyConfig." "filesystem_encoding`" msgstr "" -#: whatsnew/3.12.rst:2382 +#: whatsnew/3.12.rst:2378 msgid "" ":c:var:`!Py_FileSystemDefaultEncodeErrors`: use :c:member:`PyConfig." "filesystem_errors`" msgstr "" -#: whatsnew/3.12.rst:2383 +#: whatsnew/3.12.rst:2379 msgid "" ":c:var:`!Py_UTF8Mode`: use :c:member:`PyPreConfig.utf8_mode` (see :c:func:" "`Py_PreInitialize`)" msgstr "" -#: whatsnew/3.12.rst:2300 +#: whatsnew/3.12.rst:2296 msgid "" "The :c:func:`Py_InitializeFromConfig` API should be used with :c:type:" "`PyConfig` instead. (Contributed by Victor Stinner in :gh:`77782`.)" msgstr "" -#: whatsnew/3.12.rst:2304 +#: whatsnew/3.12.rst:2300 msgid "" "Creating :c:data:`immutable types ` with mutable " "bases is deprecated and will be disabled in Python 3.14. (:gh:`95388`)" msgstr "" -#: whatsnew/3.12.rst:2307 +#: whatsnew/3.12.rst:2303 msgid "" "The :file:`structmember.h` header is deprecated, though it continues to be " "available and there are no plans to remove it." msgstr "" -#: whatsnew/3.12.rst:2310 +#: whatsnew/3.12.rst:2306 msgid "" "Its contents are now available just by including :file:`Python.h`, with a " "``Py`` prefix added if it was missing:" msgstr "" -#: whatsnew/3.12.rst:2313 +#: whatsnew/3.12.rst:2309 msgid "" ":c:struct:`PyMemberDef`, :c:func:`PyMember_GetOne` and :c:func:" "`PyMember_SetOne`" msgstr "" -#: whatsnew/3.12.rst:2315 +#: whatsnew/3.12.rst:2311 msgid "" "Type macros like :c:macro:`Py_T_INT`, :c:macro:`Py_T_DOUBLE`, etc. " "(previously ``T_INT``, ``T_DOUBLE``, etc.)" msgstr "" -#: whatsnew/3.12.rst:2317 +#: whatsnew/3.12.rst:2313 msgid "" "The flags :c:macro:`Py_READONLY` (previously ``READONLY``) and :c:macro:" "`Py_AUDIT_READ` (previously all uppercase)" msgstr "" -#: whatsnew/3.12.rst:2320 +#: whatsnew/3.12.rst:2316 msgid "Several items are not exposed from :file:`Python.h`:" msgstr "" -#: whatsnew/3.12.rst:2322 +#: whatsnew/3.12.rst:2318 msgid ":c:macro:`T_OBJECT` (use :c:macro:`Py_T_OBJECT_EX`)" msgstr "" -#: whatsnew/3.12.rst:2323 +#: whatsnew/3.12.rst:2319 msgid ":c:macro:`T_NONE` (previously undocumented, and pretty quirky)" msgstr "" -#: whatsnew/3.12.rst:2324 +#: whatsnew/3.12.rst:2320 msgid "The macro ``WRITE_RESTRICTED`` which does nothing." msgstr "" -#: whatsnew/3.12.rst:2325 +#: whatsnew/3.12.rst:2321 msgid "" "The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of :c:macro:" "`Py_AUDIT_READ`." msgstr "" -#: whatsnew/3.12.rst:2327 +#: whatsnew/3.12.rst:2323 msgid "" "In some configurations, ```` is not included from :file:`Python." "h`. It should be included manually when using ``offsetof()``." msgstr "" -#: whatsnew/3.12.rst:2330 +#: whatsnew/3.12.rst:2326 msgid "" "The deprecated header continues to provide its original contents under the " "original names. Your old code can stay unchanged, unless the extra include " "and non-namespaced macros bother you greatly." msgstr "" -#: whatsnew/3.12.rst:2335 +#: whatsnew/3.12.rst:2331 msgid "" "(Contributed in :gh:`47146` by Petr Viktorin, based on earlier work by " "Alexander Belopolsky and Matthias Braun.)" msgstr "" -#: whatsnew/3.12.rst:2338 +#: whatsnew/3.12.rst:2334 msgid "" ":c:func:`PyErr_Fetch` and :c:func:`PyErr_Restore` are deprecated. Use :c:" "func:`PyErr_GetRaisedException` and :c:func:`PyErr_SetRaisedException` " "instead. (Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2343 +#: whatsnew/3.12.rst:2339 msgid "" ":c:func:`!PyErr_Display` is deprecated. Use :c:func:`PyErr_DisplayException` " "instead. (Contributed by Irit Katriel in :gh:`102755`)." msgstr "" -#: whatsnew/3.12.rst:2346 +#: whatsnew/3.12.rst:2342 msgid "" "``_PyErr_ChainExceptions`` is deprecated. Use ``_PyErr_ChainExceptions1`` " "instead. (Contributed by Irit Katriel in :gh:`102192`.)" msgstr "" -#: whatsnew/3.12.rst:2349 +#: whatsnew/3.12.rst:2345 msgid "" "Using :c:func:`PyType_FromSpec`, :c:func:`PyType_FromSpecWithBases` or :c:" "func:`PyType_FromModuleAndSpec` to create a class whose metaclass overrides :" "c:member:`~PyTypeObject.tp_new` is deprecated. Call the metaclass instead." msgstr "" -#: whatsnew/3.12.rst:2357 +#: whatsnew/3.12.rst:2353 msgid "" "The ``ma_version_tag`` field in :c:type:`PyDictObject` for extension modules " "(:pep:`699`; :gh:`101193`)." msgstr "" -#: whatsnew/3.12.rst:2360 +#: whatsnew/3.12.rst:2356 msgid "Global configuration variables:" msgstr "" -#: whatsnew/3.12.rst:2385 +#: whatsnew/3.12.rst:2381 msgid "" "The :c:func:`Py_InitializeFromConfig` API should be used with :c:type:" "`PyConfig` instead." msgstr "" -#: whatsnew/3.12.rst:2388 +#: whatsnew/3.12.rst:2384 msgid "" "Creating :c:data:`immutable types ` with mutable " "bases (:gh:`95388`)." msgstr "" -#: whatsnew/3.12.rst:2394 +#: whatsnew/3.12.rst:2390 msgid "" ":c:func:`PyImport_ImportModuleNoBlock`: use :c:func:`PyImport_ImportModule`" msgstr "" -#: whatsnew/3.12.rst:2395 +#: whatsnew/3.12.rst:2391 msgid ":c:type:`!Py_UNICODE_WIDE` type: use :c:type:`wchar_t`" msgstr "" -#: whatsnew/3.12.rst:2396 +#: whatsnew/3.12.rst:2392 msgid ":c:type:`Py_UNICODE` type: use :c:type:`wchar_t`" msgstr "" -#: whatsnew/3.12.rst:2397 +#: whatsnew/3.12.rst:2393 msgid "Python initialization functions:" msgstr "" -#: whatsnew/3.12.rst:2399 +#: whatsnew/3.12.rst:2395 msgid "" ":c:func:`PySys_ResetWarnOptions`: clear :data:`sys.warnoptions` and :data:`!" "warnings.filters`" msgstr "" -#: whatsnew/3.12.rst:2401 +#: whatsnew/3.12.rst:2397 msgid ":c:func:`Py_GetExecPrefix`: get :data:`sys.exec_prefix`" msgstr "" -#: whatsnew/3.12.rst:2402 +#: whatsnew/3.12.rst:2398 msgid ":c:func:`Py_GetPath`: get :data:`sys.path`" msgstr "" -#: whatsnew/3.12.rst:2403 +#: whatsnew/3.12.rst:2399 msgid ":c:func:`Py_GetPrefix`: get :data:`sys.prefix`" msgstr "" -#: whatsnew/3.12.rst:2404 +#: whatsnew/3.12.rst:2400 msgid ":c:func:`Py_GetProgramFullPath`: get :data:`sys.executable`" msgstr "" -#: whatsnew/3.12.rst:2405 +#: whatsnew/3.12.rst:2401 msgid ":c:func:`Py_GetProgramName`: get :data:`sys.executable`" msgstr "" -#: whatsnew/3.12.rst:2406 +#: whatsnew/3.12.rst:2402 msgid "" ":c:func:`Py_GetPythonHome`: get :c:member:`PyConfig.home` or the :envvar:" "`PYTHONHOME` environment variable" msgstr "" -#: whatsnew/3.12.rst:2412 +#: whatsnew/3.12.rst:2408 msgid "" "The following APIs are deprecated and will be removed, although there is " "currently no date scheduled for their removal." msgstr "" -#: whatsnew/3.12.rst:2415 +#: whatsnew/3.12.rst:2411 msgid ":c:macro:`Py_TPFLAGS_HAVE_FINALIZE`: unneeded since Python 3.8" msgstr "" -#: whatsnew/3.12.rst:2416 +#: whatsnew/3.12.rst:2412 msgid ":c:func:`PyErr_Fetch`: use :c:func:`PyErr_GetRaisedException`" msgstr "" -#: whatsnew/3.12.rst:2417 +#: whatsnew/3.12.rst:2413 msgid "" ":c:func:`PyErr_NormalizeException`: use :c:func:`PyErr_GetRaisedException`" msgstr "" -#: whatsnew/3.12.rst:2418 +#: whatsnew/3.12.rst:2414 msgid ":c:func:`PyErr_Restore`: use :c:func:`PyErr_SetRaisedException`" msgstr "" -#: whatsnew/3.12.rst:2419 +#: whatsnew/3.12.rst:2415 msgid "" ":c:func:`PyModule_GetFilename`: use :c:func:`PyModule_GetFilenameObject`" msgstr "" -#: whatsnew/3.12.rst:2420 +#: whatsnew/3.12.rst:2416 msgid ":c:func:`PyOS_AfterFork`: use :c:func:`PyOS_AfterFork_Child`" msgstr "" -#: whatsnew/3.12.rst:2421 +#: whatsnew/3.12.rst:2417 msgid "" ":c:func:`PySlice_GetIndicesEx`: use :c:func:`PySlice_Unpack` and :c:func:" "`PySlice_AdjustIndices`" msgstr "" -#: whatsnew/3.12.rst:2422 +#: whatsnew/3.12.rst:2418 msgid ":c:func:`!PyUnicode_AsDecodedObject`: use :c:func:`PyCodec_Decode`" msgstr "" -#: whatsnew/3.12.rst:2423 +#: whatsnew/3.12.rst:2419 msgid ":c:func:`!PyUnicode_AsDecodedUnicode`: use :c:func:`PyCodec_Decode`" msgstr "" -#: whatsnew/3.12.rst:2424 +#: whatsnew/3.12.rst:2420 msgid ":c:func:`!PyUnicode_AsEncodedObject`: use :c:func:`PyCodec_Encode`" msgstr "" -#: whatsnew/3.12.rst:2425 +#: whatsnew/3.12.rst:2421 msgid ":c:func:`!PyUnicode_AsEncodedUnicode`: use :c:func:`PyCodec_Encode`" msgstr "" -#: whatsnew/3.12.rst:2426 +#: whatsnew/3.12.rst:2422 msgid ":c:func:`PyUnicode_READY`: unneeded since Python 3.12" msgstr "" -#: whatsnew/3.12.rst:2427 +#: whatsnew/3.12.rst:2423 msgid ":c:func:`!PyErr_Display`: use :c:func:`PyErr_DisplayException`" msgstr "" -#: whatsnew/3.12.rst:2428 +#: whatsnew/3.12.rst:2424 msgid ":c:func:`!_PyErr_ChainExceptions`: use ``_PyErr_ChainExceptions1``" msgstr "" -#: whatsnew/3.12.rst:2429 +#: whatsnew/3.12.rst:2425 msgid "" ":c:member:`!PyBytesObject.ob_shash` member: call :c:func:`PyObject_Hash` " "instead" msgstr "" -#: whatsnew/3.12.rst:2431 +#: whatsnew/3.12.rst:2427 msgid ":c:member:`!PyDictObject.ma_version_tag` member" msgstr "" -#: whatsnew/3.12.rst:2432 +#: whatsnew/3.12.rst:2428 msgid "Thread Local Storage (TLS) API:" msgstr "" -#: whatsnew/3.12.rst:2434 +#: whatsnew/3.12.rst:2430 msgid ":c:func:`PyThread_create_key`: use :c:func:`PyThread_tss_alloc`" msgstr "" -#: whatsnew/3.12.rst:2435 +#: whatsnew/3.12.rst:2431 msgid ":c:func:`PyThread_delete_key`: use :c:func:`PyThread_tss_free`" msgstr "" -#: whatsnew/3.12.rst:2436 +#: whatsnew/3.12.rst:2432 msgid ":c:func:`PyThread_set_key_value`: use :c:func:`PyThread_tss_set`" msgstr "" -#: whatsnew/3.12.rst:2437 +#: whatsnew/3.12.rst:2433 msgid ":c:func:`PyThread_get_key_value`: use :c:func:`PyThread_tss_get`" msgstr "" -#: whatsnew/3.12.rst:2438 +#: whatsnew/3.12.rst:2434 msgid ":c:func:`PyThread_delete_key_value`: use :c:func:`PyThread_tss_delete`" msgstr "" -#: whatsnew/3.12.rst:2439 +#: whatsnew/3.12.rst:2435 msgid ":c:func:`PyThread_ReInitTLS`: unneeded since Python 3.7" msgstr "" -#: whatsnew/3.12.rst:2444 +#: whatsnew/3.12.rst:2440 msgid "" "Remove the :file:`token.h` header file. There was never any public tokenizer " "C API. The :file:`token.h` header file was only designed to be used by " "Python internals. (Contributed by Victor Stinner in :gh:`92651`.)" msgstr "" -#: whatsnew/3.12.rst:2449 +#: whatsnew/3.12.rst:2445 msgid "Legacy Unicode APIs have been removed. See :pep:`623` for detail." msgstr "" -#: whatsnew/3.12.rst:2451 +#: whatsnew/3.12.rst:2447 msgid ":c:macro:`!PyUnicode_WCHAR_KIND`" msgstr "" -#: whatsnew/3.12.rst:2452 +#: whatsnew/3.12.rst:2448 msgid ":c:func:`!PyUnicode_AS_UNICODE`" msgstr "" -#: whatsnew/3.12.rst:2453 +#: whatsnew/3.12.rst:2449 msgid ":c:func:`!PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.12.rst:2454 +#: whatsnew/3.12.rst:2450 msgid ":c:func:`!PyUnicode_AsUnicodeAndSize`" msgstr "" -#: whatsnew/3.12.rst:2455 +#: whatsnew/3.12.rst:2451 msgid ":c:func:`!PyUnicode_AS_DATA`" msgstr "" -#: whatsnew/3.12.rst:2456 +#: whatsnew/3.12.rst:2452 msgid ":c:func:`!PyUnicode_FromUnicode`" msgstr "" -#: whatsnew/3.12.rst:2457 +#: whatsnew/3.12.rst:2453 msgid ":c:func:`!PyUnicode_GET_SIZE`" msgstr "" -#: whatsnew/3.12.rst:2458 +#: whatsnew/3.12.rst:2454 msgid ":c:func:`!PyUnicode_GetSize`" msgstr "" -#: whatsnew/3.12.rst:2459 +#: whatsnew/3.12.rst:2455 msgid ":c:func:`!PyUnicode_GET_DATA_SIZE`" msgstr "" -#: whatsnew/3.12.rst:2461 +#: whatsnew/3.12.rst:2457 msgid "" "Remove the ``PyUnicode_InternImmortal()`` function macro. (Contributed by " "Victor Stinner in :gh:`85858`.)" msgstr "" + +#: whatsnew/3.12.rst:2461 +msgid "Notable changes in 3.12.4" +msgstr "" + +#: whatsnew/3.12.rst:2464 +msgid "ipaddress" +msgstr "" + +#: whatsnew/3.12.rst:2466 +msgid "" +"Fixed ``is_global`` and ``is_private`` behavior in ``IPv4Address``, " +"``IPv6Address``, ``IPv4Network`` and ``IPv6Network``." +msgstr "" diff --git a/whatsnew/3.2.po b/whatsnew/3.2.po index 5e68aeee3..cab88ca06 100644 --- a/whatsnew/3.2.po +++ b/whatsnew/3.2.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -116,7 +116,7 @@ msgid "" "subparsers, each with their own argument patterns and help displays::" msgstr "" -#: whatsnew/3.2.rst:176 +#: whatsnew/3.2.rst:175 msgid ":pep:`389` - New Command Line Parsing Module" msgstr "" @@ -225,7 +225,7 @@ msgid "" "launch of four parallel threads for copying files::" msgstr "" -#: whatsnew/3.2.rst:282 +#: whatsnew/3.2.rst:281 msgid ":pep:`3148` - Futures -- Execute Computations Asynchronously" msgstr "" diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index ca6bc3dbd..1f2dd2cf8 100644 --- a/whatsnew/3.3.po +++ b/whatsnew/3.3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -171,7 +171,7 @@ msgid "" "`420`)" msgstr "" -#: whatsnew/3.3.rst:133 +#: whatsnew/3.3.rst:132 msgid ":pep:`420` - Implicit Namespace Packages" msgstr "" @@ -415,7 +415,7 @@ msgid "" "benchmark (see the PEP for details)." msgstr "" -#: whatsnew/3.3.rst:283 +#: whatsnew/3.3.rst:282 msgid ":pep:`393` - Flexible String Representation" msgstr "" @@ -462,7 +462,7 @@ msgid "" "Curtin in :issue:`3561`.)" msgstr "" -#: whatsnew/3.3.rst:317 +#: whatsnew/3.3.rst:315 msgid ":pep:`397` - Python Launcher for Windows" msgstr "" @@ -632,7 +632,7 @@ msgid "" "into multiple subfunctions." msgstr "" -#: whatsnew/3.3.rst:464 +#: whatsnew/3.3.rst:462 msgid ":pep:`380` - Syntax for Delegating to a Subgenerator" msgstr "" @@ -667,7 +667,7 @@ msgid "" "suppressed valuable underlying details)::" msgstr "" -#: whatsnew/3.3.rst:528 +#: whatsnew/3.3.rst:527 msgid ":pep:`409` - Suppressing exception context" msgstr "" @@ -775,7 +775,7 @@ msgid "" "code that validates or amends calling signatures or arguments." msgstr "" -#: whatsnew/3.3.rst:642 +#: whatsnew/3.3.rst:641 msgid ":pep:`362`: - Function Signature Object" msgstr "" @@ -1491,7 +1491,7 @@ msgstr "" msgid "decimal" msgstr "" -#: whatsnew/3.3.rst:1097 +#: whatsnew/3.3.rst:1096 msgid ":issue:`7652` - integrate fast native decimal arithmetic." msgstr "" diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index ed2fa4317..a1311579e 100644 --- a/whatsnew/3.4.po +++ b/whatsnew/3.4.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -377,7 +377,7 @@ msgid "" "ref:`setuptools-index`." msgstr "" -#: whatsnew/3.4.rst:255 +#: whatsnew/3.4.rst:254 msgid ":pep:`453` -- Explicit bootstrapping of pip in Python installations" msgstr "" @@ -687,7 +687,7 @@ msgid "" "enumeration values." msgstr "" -#: whatsnew/3.4.rst:519 +#: whatsnew/3.4.rst:518 msgid ":pep:`435` -- Adding an Enum type to the Python standard library" msgstr "" diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index 3e04c3160..c81bb009e 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -353,7 +353,7 @@ msgid "" "unpackings (see :ref:`exprlists` and :ref:`dict`)::" msgstr "" -#: whatsnew/3.5.rst:353 +#: whatsnew/3.5.rst:352 msgid ":pep:`448` -- Additional Unpacking Generalizations" msgstr "" @@ -399,7 +399,7 @@ msgid "" "only be used in codebases that need compatibility with Python 2." msgstr "" -#: whatsnew/3.5.rst:398 +#: whatsnew/3.5.rst:397 msgid ":pep:`461` -- Adding % formatting to bytes and bytearray" msgstr "" @@ -460,7 +460,7 @@ msgstr "" msgid ":mod:`typing` module documentation" msgstr "" -#: whatsnew/3.5.rst:439 +#: whatsnew/3.5.rst:438 msgid ":pep:`484` -- Type Hints" msgstr "" @@ -617,7 +617,7 @@ msgstr "" msgid ":func:`time.sleep`." msgstr "" -#: whatsnew/3.5.rst:552 +#: whatsnew/3.5.rst:551 msgid ":pep:`475` -- Retry system calls failing with EINTR" msgstr "" @@ -664,7 +664,7 @@ msgid "" "generator." msgstr "" -#: whatsnew/3.5.rst:601 +#: whatsnew/3.5.rst:600 msgid ":pep:`479` -- Change StopIteration handling inside generators" msgstr "" @@ -694,7 +694,7 @@ msgid "" "must be a non-negative value::" msgstr "" -#: whatsnew/3.5.rst:639 +#: whatsnew/3.5.rst:638 msgid ":pep:`485` -- A function for testing approximate equality" msgstr "" @@ -766,7 +766,7 @@ msgid "" "rather than being restricted to ASCII." msgstr "" -#: whatsnew/3.5.rst:696 +#: whatsnew/3.5.rst:695 msgid ":pep:`489` -- Multi-phase extension module initialization" msgstr "" @@ -1145,7 +1145,7 @@ msgstr "" #: whatsnew/3.5.rst:953 msgid "" "For earlier Python versions, a backport of the new ABCs is available in an " -"external `PyPI package `_." +"external :pypi:`PyPI package `." msgstr "" #: whatsnew/3.5.rst:958 diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index 755444ee9..83050a1fb 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.6.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -257,7 +257,7 @@ msgid "" "protocol::" msgstr "" -#: whatsnew/3.6.rst:204 +#: whatsnew/3.6.rst:203 msgid ":pep:`498` -- Literal String Interpolation." msgstr "" @@ -295,7 +295,7 @@ msgid "" "and the ``__annotations__`` attribute." msgstr "" -#: whatsnew/3.6.rst:238 +#: whatsnew/3.6.rst:236 msgid ":pep:`526` -- Syntax for variable annotations." msgstr "" @@ -408,7 +408,7 @@ msgid "" "``type.__new__`` (as described in :ref:`class-object-creation`)." msgstr "" -#: whatsnew/3.6.rst:394 +#: whatsnew/3.6.rst:393 msgid ":pep:`487` -- Simpler customization of class creation" msgstr "" @@ -533,7 +533,7 @@ msgid "" "(chronologically) moment in time in an ambiguous case." msgstr "" -#: whatsnew/3.6.rst:498 +#: whatsnew/3.6.rst:497 msgid ":pep:`495` -- Local Time Disambiguation" msgstr "" diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 5f8ed61f0..2cdc508c6 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -668,7 +668,7 @@ msgstr "" msgid "Korean: https://docs.python.org/ko/" msgstr "" -#: whatsnew/3.7.rst:477 +#: whatsnew/3.7.rst:476 msgid ":pep:`545` -- Python Documentation Translations" msgstr "" @@ -923,9 +923,8 @@ msgid "" "The new :func:`asyncio.current_task` function returns the currently running :" "class:`~asyncio.Task` instance, and the new :func:`asyncio.all_tasks` " "function returns a set of all existing ``Task`` instances in a given loop. " -"The :meth:`Task.current_task() ` and :meth:`Task." -"all_tasks() ` methods have been deprecated. " -"(Contributed by Andrew Svetlov in :issue:`32250`.)" +"The :meth:`!Task.current_task` and :meth:`!Task.all_tasks` methods have been " +"deprecated. (Contributed by Andrew Svetlov in :issue:`32250`.)" msgstr "" #: whatsnew/3.7.rst:676 @@ -2803,7 +2802,7 @@ msgstr "" #: whatsnew/3.7.rst:1972 msgid "" -"The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks` " +"The :meth:`!asyncio.Task.current_task` and :meth:`!asyncio.Task.all_tasks` " "methods have been deprecated. (Contributed by Andrew Svetlov in :issue:" "`32250`.)" msgstr "" @@ -3667,10 +3666,9 @@ msgid "" "(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) " "now raises a :exc:`ValueError` if the number of digits in string form is " "above a limit to avoid potential denial of service attacks due to the " -"algorithmic complexity. This is a mitigation for `CVE-2020-10735 `_. This limit can be " -"configured or disabled by environment variable, command line flag, or :mod:" -"`sys` APIs. See the :ref:`integer string conversion length limitation " -"` documentation. The default limit is 4300 digits in " -"string form." +"algorithmic complexity. This is a mitigation for :cve:`2020-10735`. This " +"limit can be configured or disabled by environment variable, command line " +"flag, or :mod:`sys` APIs. See the :ref:`integer string conversion length " +"limitation ` documentation. The default limit is 4300 " +"digits in string form." msgstr "" diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index f525c63fb..e01669b75 100644 --- a/whatsnew/3.8.po +++ b/whatsnew/3.8.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 17:22+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2023-02-03 17:30+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2016,7 +2016,7 @@ msgstr "" "çıkardığında veya çöp toplama sırasında (:func:`gc.collect`). (Victor " "Stinner'ın :issue:`36829` 'daki katkısıyla.)" -#: whatsnew/3.8.rst:2351 +#: whatsnew/3.8.rst:2350 msgid "tarfile" msgstr "tarfile" @@ -4095,20 +4095,19 @@ msgid "" "(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) " "now raises a :exc:`ValueError` if the number of digits in string form is " "above a limit to avoid potential denial of service attacks due to the " -"algorithmic complexity. This is a mitigation for `CVE-2020-10735 `_. This limit can be " -"configured or disabled by environment variable, command line flag, or :mod:" -"`sys` APIs. See the :ref:`integer string conversion length limitation " -"` documentation. The default limit is 4300 digits in " -"string form." +"algorithmic complexity. This is a mitigation for :cve:`2020-10735`. This " +"limit can be configured or disabled by environment variable, command line " +"flag, or :mod:`sys` APIs. See the :ref:`integer string conversion length " +"limitation ` documentation. The default limit is 4300 " +"digits in string form." msgstr "" -#: whatsnew/3.8.rst:2348 +#: whatsnew/3.8.rst:2347 #, fuzzy msgid "Notable changes in 3.8.17" msgstr "Python 3.8.1'deki önemli değişiklikler" -#: whatsnew/3.8.rst:2353 +#: whatsnew/3.8.rst:2352 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 " diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index 1883a4496..96b2b1912 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-01 20:27+0000\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: 2023-03-01 11:48+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -115,12 +115,13 @@ msgid "garbage collection does not block on resurrected objects;" msgstr "çöp toplama, dirilen nesnelerde engellemez;" #: whatsnew/3.9.rst:84 +#, fuzzy msgid "" -"a number of Python modules (:mod:`_abc`, :mod:`audioop`, :mod:`_bz2`, :mod:" -"`_codecs`, :mod:`_contextvars`, :mod:`_crypt`, :mod:`_functools`, :mod:" -"`_json`, :mod:`_locale`, :mod:`math`, :mod:`operator`, :mod:`resource`, :mod:" -"`time`, :mod:`_weakref`) now use multiphase initialization as defined by PEP " -"489;" +"a number of Python modules (:mod:`!_abc`, :mod:`audioop`, :mod:`!_bz2`, :mod:" +"`!_codecs`, :mod:`!_contextvars`, :mod:`!_crypt`, :mod:`!_functools`, :mod:`!" +"_json`, :mod:`!_locale`, :mod:`math`, :mod:`operator`, :mod:`resource`, :mod:" +"`time`, :mod:`!_weakref`) now use multiphase initialization as defined by " +"PEP 489;" msgstr "" "bir dizi Python modülü (:mod:`_abc`, :mod:`audioop`, :mod:`_bz2`, :mod:" "`_codecs`, :mod:`_contextvars`, :mod:`_crypt`, :mod:`_functools`, :mod:" @@ -129,11 +130,12 @@ msgstr "" "başlatma kullanır;" #: whatsnew/3.9.rst:89 +#, fuzzy msgid "" "a number of standard library modules (:mod:`audioop`, :mod:`ast`, :mod:" -"`grp`, :mod:`_hashlib`, :mod:`pwd`, :mod:`_posixsubprocess`, :mod:`random`, :" -"mod:`select`, :mod:`struct`, :mod:`termios`, :mod:`zlib`) are now using the " -"stable ABI defined by PEP 384." +"`grp`, :mod:`!_hashlib`, :mod:`pwd`, :mod:`!_posixsubprocess`, :mod:" +"`random`, :mod:`select`, :mod:`struct`, :mod:`termios`, :mod:`zlib`) are now " +"using the stable ABI defined by PEP 384." msgstr "" "bir dizi standart kitaplık modülleri (:mod:`audioop`, :mod:`ast`, :mod:" "`grp`, :mod:`_hashlib`, :mod:`pwd`, :mod:`_posixsubprocess`, :mod:`random`, :" @@ -245,7 +247,7 @@ msgstr "" "Not: Python'un bu sürümünde önceden var olan bazı kullanımdan kaldırmalar da " "kaldırılmıştır. :ref:`removed-in-python-39` bölümüne bakınız." -#: whatsnew/3.9.rst:1273 +#: whatsnew/3.9.rst:1270 msgid "New Features" msgstr "Yeni Özellikler" @@ -313,7 +315,7 @@ msgstr "" "kullanabilirsiniz. Standart kitaplıktaki diğer bazı türler de artık " "geneldir, örneğin ``queue.Queue``." -#: whatsnew/3.9.rst:1161 +#: whatsnew/3.9.rst:1158 msgid "Example:" msgstr "Örnek:" @@ -354,9 +356,10 @@ msgstr "" "AST'yi üretir." #: whatsnew/3.9.rst:205 +#, fuzzy msgid "" "In Python 3.10, the old parser will be deleted and so will all functionality " -"that depends on it (primarily the :mod:`parser` module, which has long been " +"that depends on it (primarily the :mod:`!parser` module, which has long been " "deprecated). In Python 3.9 *only*, you can switch back to the LL(1) parser " "using a command line switch (``-X oldparser``) or an environment variable " "(``PYTHONOLDPARSER=1``)." @@ -521,29 +524,30 @@ msgstr "" "ekler." #: whatsnew/3.9.rst:302 +#, fuzzy msgid "" "As a fall-back source of data for platforms that don't ship the IANA " -"database, the |tzdata|_ module was released as a first-party package -- " +"database, the :pypi:`tzdata` module was released as a first-party package -- " "distributed via PyPI and maintained by the CPython core team." msgstr "" "|tzdata|_ modülü, IANA veri tabanını sağlamayan platformlar için yedek veri " "kaynağı olarak, PyPI aracılığıyla dağıtılan ve CPython çekirdek ekibi " "tarafından sürdürülen birinci taraf bir paket olarak piyasaya sürüldü." -#: whatsnew/3.9.rst:311 +#: whatsnew/3.9.rst:308 msgid "" ":pep:`615` -- Support for the IANA Time Zone Database in the Standard Library" msgstr ":pep:`615` -- Standart Kitaplıkta IANA Saat Dilimi Veritabanı Desteği" -#: whatsnew/3.9.rst:312 +#: whatsnew/3.9.rst:309 msgid "PEP written and implemented by Paul Ganssle" msgstr "Paul Ganssle tarafından yazılan ve uygulanan PEP" -#: whatsnew/3.9.rst:316 +#: whatsnew/3.9.rst:313 msgid "graphlib" msgstr "graphlib" -#: whatsnew/3.9.rst:318 +#: whatsnew/3.9.rst:315 msgid "" "A new module, :mod:`graphlib`, was added that contains the :class:`graphlib." "TopologicalSorter` class to offer functionality to perform topological " @@ -555,15 +559,15 @@ msgstr "" "adlı yeni bir modül eklendi. ( :issue:`17005` içinde Pablo Galindo, Tim " "Peters ve Larry Hastings'in katkılarıyla.)" -#: whatsnew/3.9.rst:325 +#: whatsnew/3.9.rst:322 msgid "Improved Modules" msgstr "Geliştirilen Modüller" -#: whatsnew/3.9.rst:328 +#: whatsnew/3.9.rst:325 msgid "ast" msgstr "ast" -#: whatsnew/3.9.rst:330 +#: whatsnew/3.9.rst:327 msgid "" "Added the *indent* option to :func:`~ast.dump` which allows it to produce a " "multiline indented output. (Contributed by Serhiy Storchaka in :issue:" @@ -573,7 +577,7 @@ msgstr "" "girintili bir çıktı üretmesini sağlar. ( :issue:`37995` içinde Serhiy " "Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:334 +#: whatsnew/3.9.rst:331 msgid "" "Added :func:`ast.unparse` as a function in the :mod:`ast` module that can be " "used to unparse an :class:`ast.AST` object and produce a string with code " @@ -586,7 +590,7 @@ msgstr "" "unparse` eklendi. ( :issue:`38870` 'de Pablo Galindo ve Batuhan Taskaya'nın " "katkısıyla.)" -#: whatsnew/3.9.rst:339 +#: whatsnew/3.9.rst:336 msgid "" "Added docstrings to AST nodes that contains the ASDL signature used to " "construct that node. (Contributed by Batuhan Taskaya in :issue:`39638`.)" @@ -594,11 +598,11 @@ msgstr "" "AST düğümlerine, o düğümü oluşturmak için kullanılan ASDL imzasını içeren " "doküman dizeleri eklendi. (Batuhan Taşkaya :issue:`39638` 'de katılmıştır.)" -#: whatsnew/3.9.rst:343 +#: whatsnew/3.9.rst:340 msgid "asyncio" msgstr "asyncio" -#: whatsnew/3.9.rst:345 +#: whatsnew/3.9.rst:342 msgid "" "Due to significant security concerns, the *reuse_address* parameter of :meth:" "`asyncio.loop.create_datagram_endpoint` is no longer supported. This is " @@ -614,7 +618,7 @@ msgstr "" "create_datagram_endpoint()`` belgelerine bakın. (Kyle Stanley, Antoine " "Pitrou ve Yury Selivanov'un katkılarıyla :issue:`37228`.)" -#: whatsnew/3.9.rst:352 +#: whatsnew/3.9.rst:349 msgid "" "Added a new :term:`coroutine` :meth:`~asyncio.loop." "shutdown_default_executor` that schedules a shutdown for the default " @@ -629,7 +633,7 @@ msgstr "" "şekilde güncellendi. (Kyle Stanley tarafından :issue:`34037` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:358 +#: whatsnew/3.9.rst:355 msgid "" "Added :class:`asyncio.PidfdChildWatcher`, a Linux-specific child watcher " "implementation that polls process file descriptors. (:issue:`38692`)" @@ -637,7 +641,7 @@ msgstr "" "İşlem dosyası tanımlayıcılarını yoklayan, Linux'a özgü bir çocuk izleyici " "uygulaması olan :class:`asyncio.PidfdChildWatcher` eklendi. (:issue:`38692`)" -#: whatsnew/3.9.rst:361 +#: whatsnew/3.9.rst:358 msgid "" "Added a new :term:`coroutine` :func:`asyncio.to_thread`. It is mainly used " "for running IO-bound functions in a separate thread to avoid blocking the " @@ -652,7 +656,7 @@ msgstr "" "alabilen üst düzey bir sürümü olarak çalışır. ( :issue:`32309` 'da Kyle " "Stanley ve Yuri Selivanov tarafından katılmıştır.)" -#: whatsnew/3.9.rst:367 +#: whatsnew/3.9.rst:364 msgid "" "When cancelling the task due to a timeout, :meth:`asyncio.wait_for` will now " "wait until the cancellation is complete also in the case when *timeout* is " @@ -664,21 +668,22 @@ msgstr "" "iptalin tamamlanmasını bekleyecek. ( :issue:`32751` 'de Elvis Pranskevichus " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:372 +#: whatsnew/3.9.rst:369 +#, fuzzy msgid "" -":mod:`asyncio` now raises :exc:`TyperError` when calling incompatible " -"methods with an :class:`ssl.SSLSocket` socket. (Contributed by Ido Michael " -"in :issue:`37404`.)" +":mod:`asyncio` now raises :exc:`TypeError` when calling incompatible methods " +"with an :class:`ssl.SSLSocket` socket. (Contributed by Ido Michael in :issue:" +"`37404`.)" msgstr "" ":mod:`asyncio` artık bir :class:`ssl.SSLSocket` soketi ile uyumsuz yöntemler " "çağrıldığında :exc:`TyperError` hatası veriyor. ( :issue:`37404` içinde Ido " "Michael tarafından katılmıştır.)" -#: whatsnew/3.9.rst:377 +#: whatsnew/3.9.rst:374 msgid "compileall" msgstr "compileall" -#: whatsnew/3.9.rst:379 +#: whatsnew/3.9.rst:376 msgid "" "Added new possibility to use hardlinks for duplicated ``.pyc`` files: " "*hardlink_dupes* parameter and --hardlink-dupes command line option. " @@ -688,7 +693,7 @@ msgstr "" "*hardlink_dupes* parametresi ve --hardlink-dupes komut satırı seçeneği. " "(Lumír 'Frenzy' Balhar'ın :issue:`40495` içinde katkısı.)" -#: whatsnew/3.9.rst:382 +#: whatsnew/3.9.rst:379 msgid "" "Added new options for path manipulation in resulting ``.pyc`` files: " "*stripdir*, *prependdir*, *limit_sl_dest* parameters and -s, -p, -e command " @@ -701,11 +706,11 @@ msgstr "" "satırı seçenekleri. Optimizasyon düzeyi seçeneğini birden çok kez belirleme " "olanağı eklendi. (Lumír 'Frenzy' Balhar'ın katkılarıyla :issue:`38112`.)" -#: whatsnew/3.9.rst:387 +#: whatsnew/3.9.rst:384 msgid "concurrent.futures" msgstr "concurrent.futures" -#: whatsnew/3.9.rst:389 +#: whatsnew/3.9.rst:386 msgid "" "Added a new *cancel_futures* parameter to :meth:`concurrent.futures.Executor." "shutdown` that cancels all pending futures which have not started running, " @@ -717,7 +722,7 @@ msgstr "" "vadeli işlemleri iptal eden yeni bir *cancel_futures* parametresi eklendi. " "(Kyle Stanley tarafından :issue:`39349` 'da katılmıştır.)" -#: whatsnew/3.9.rst:395 +#: whatsnew/3.9.rst:392 msgid "" "Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` " "and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves " @@ -730,7 +735,7 @@ msgstr "" "öngörülebilirliği geliştirir. (Kyle Stanley tarafından :issue:`39812` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:400 +#: whatsnew/3.9.rst:397 msgid "" "Workers in :class:`~concurrent.futures.ProcessPoolExecutor` are now spawned " "on demand, only when there are no available idle workers to reuse. This " @@ -743,11 +748,11 @@ msgstr "" "kaybedilen CPU süresini azaltır. (Kyle Stanley tarafından :issue:`39207` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:406 +#: whatsnew/3.9.rst:403 msgid "curses" msgstr "curses" -#: whatsnew/3.9.rst:408 +#: whatsnew/3.9.rst:405 msgid "" "Added :func:`curses.get_escdelay`, :func:`curses.set_escdelay`, :func:" "`curses.get_tabsize`, and :func:`curses.set_tabsize` functions. (Contributed " @@ -757,11 +762,11 @@ msgstr "" "get_tabsize` ve :func:`curses.set_tabsize` işlevleri eklendi. (Anthony " "Sottile tarafından :issue:`38312` 'de katılmıştır.)" -#: whatsnew/3.9.rst:413 +#: whatsnew/3.9.rst:410 msgid "datetime" msgstr "datetime" -#: whatsnew/3.9.rst:414 +#: whatsnew/3.9.rst:411 #, fuzzy msgid "" "The :meth:`~datetime.date.isocalendar()` of :class:`datetime.date` and :meth:" @@ -774,11 +779,11 @@ msgstr "" "metotları artık bir :class:`tuple` yerine :func:`~collections.namedtuple` " "döndürüyor. (Dong-hee Na tarafından :issue:`24416` 'da katılmıştır.)" -#: whatsnew/3.9.rst:420 +#: whatsnew/3.9.rst:417 msgid "distutils" msgstr "distutils" -#: whatsnew/3.9.rst:422 +#: whatsnew/3.9.rst:419 msgid "" "The :command:`upload` command now creates SHA2-256 and Blake2b-256 hash " "digests. It skips MD5 on platforms that block MD5 digest. (Contributed by " @@ -788,11 +793,11 @@ msgstr "" "oluşturuyor. MD5 özetini engelleyen platformlarda MD5'i atlar. ( :issue:" "`40698` içinde Christian Heimes tarafından katılmıştır.)" -#: whatsnew/3.9.rst:427 +#: whatsnew/3.9.rst:424 msgid "fcntl" msgstr "fcntl" -#: whatsnew/3.9.rst:429 +#: whatsnew/3.9.rst:426 #, fuzzy msgid "" "Added constants :const:`~fcntl.F_OFD_GETLK`, :const:`~fcntl.F_OFD_SETLK` " @@ -803,11 +808,11 @@ msgstr "" "F_OFD_SETLKW` sabitleri eklendi. (Dong-hee Na tarafından :issue:`38602` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:434 +#: whatsnew/3.9.rst:431 msgid "ftplib" msgstr "ftplib" -#: whatsnew/3.9.rst:436 +#: whatsnew/3.9.rst:433 #, fuzzy msgid "" ":class:`~ftplib.FTP` and :class:`~ftplib.FTP_TLS` now raise a :class:" @@ -820,11 +825,11 @@ msgstr "" "bir soketin oluşturulmasını engelliyor. (Dong-hee Na tarafından :issue:" "`39259` 'da katılmıştır.)" -#: whatsnew/3.9.rst:441 +#: whatsnew/3.9.rst:438 msgid "gc" msgstr "gc" -#: whatsnew/3.9.rst:443 +#: whatsnew/3.9.rst:440 msgid "" "When the garbage collector makes a collection in which some objects " "resurrect (they are reachable from outside the isolated cycles after the " @@ -838,7 +843,7 @@ msgstr "" "engellemeyin. ( :issue:`38379` 'da Pablo Galindo ve Tim Peters tarafıdnan " "eklendi.)" -#: whatsnew/3.9.rst:448 +#: whatsnew/3.9.rst:445 msgid "" "Added a new function :func:`gc.is_finalized` to check if an object has been " "finalized by the garbage collector. (Contributed by Pablo Galindo in :issue:" @@ -848,11 +853,11 @@ msgstr "" "kontrol etmek için :func:`gc.is_finalized` adlı yeni bir işlev eklendi. " "(Pablo Galindo tarafından :issue:`39322` 'de katılmıştır.)" -#: whatsnew/3.9.rst:453 +#: whatsnew/3.9.rst:450 msgid "hashlib" msgstr "hashlib" -#: whatsnew/3.9.rst:455 +#: whatsnew/3.9.rst:452 msgid "" "The :mod:`hashlib` module can now use SHA3 hashes and SHAKE XOF from OpenSSL " "when available. (Contributed by Christian Heimes in :issue:`37630`.)" @@ -861,7 +866,7 @@ msgstr "" "SHAKE XOF'u kullanabilir. (Christian Heimes tarafından :issue:`37630` 'da " "katılmıştır.)" -#: whatsnew/3.9.rst:459 +#: whatsnew/3.9.rst:456 msgid "" "Builtin hash modules can now be disabled with ``./configure --without-" "builtin-hashlib-hashes`` or selectively enabled with e.g. ``./configure --" @@ -874,11 +879,11 @@ msgstr "" "blake2`` ile seçici olarak etkinleştirilebilir. (Christian Heimes " "tarafından :issue:`40479` 'da katılmıştır)" -#: whatsnew/3.9.rst:467 +#: whatsnew/3.9.rst:464 msgid "http" msgstr "http" -#: whatsnew/3.9.rst:469 +#: whatsnew/3.9.rst:466 #, fuzzy msgid "" "HTTP status codes ``103 EARLY_HINTS``, ``418 IM_A_TEAPOT`` and ``425 " @@ -889,11 +894,11 @@ msgstr "" "TOO_EARLY`` :class:`http.HTTPStatus` 'a eklendi. ( :issue:`39509` içinde " "Dong-hee Na ve :issue:`39507` 'de Ross Rhodes tarafından katılmıştır.)" -#: whatsnew/3.9.rst:473 +#: whatsnew/3.9.rst:470 msgid "IDLE and idlelib" msgstr "IDLE ve idlelib" -#: whatsnew/3.9.rst:475 +#: whatsnew/3.9.rst:472 msgid "" "Added option to toggle cursor blink off. (Contributed by Zackery Spytz in :" "issue:`4603`.)" @@ -901,7 +906,7 @@ msgstr "" "İmlecin yanıp sönmesini kapatmak için seçenek eklendi. ( :issue:`4603` " "içinde Zackery Spytz tarafından katılmıştır.)" -#: whatsnew/3.9.rst:478 +#: whatsnew/3.9.rst:475 msgid "" "Escape key now closes IDLE completion windows. (Contributed by Johnny " "Najera in :issue:`38944`.)" @@ -909,7 +914,7 @@ msgstr "" "Escape tuşu artık IDLE tamamlama pencerelerini kapatıyor. ( :issue:`38944` " "içinde Johnny Najera tarafından katılmıştır.)" -#: whatsnew/3.9.rst:481 +#: whatsnew/3.9.rst:478 msgid "" "Added keywords to module name completion list. (Contributed by Terry J. " "Reedy in :issue:`37765`.)" @@ -917,11 +922,11 @@ msgstr "" "Modül adı tamamlama listesine anahtar kelimeler eklendi. ( :issue:`37765` " "içinde Terry J. Reedy tarafından katılmıştır.)" -#: whatsnew/3.9.rst:484 +#: whatsnew/3.9.rst:481 msgid "New in 3.9 maintenance releases" msgstr "3.9 bakım sürümlerinde yenilikler" -#: whatsnew/3.9.rst:486 +#: whatsnew/3.9.rst:483 msgid "" "Make IDLE invoke :func:`sys.excepthook` (when started without '-n'). User " "hooks were previously ignored. (Contributed by Ken Hilton in :issue:" @@ -931,11 +936,11 @@ msgstr "" "Kullanıcı kancaları daha önce yok sayılırdı. ( :issue:`43008` 'de Ken Hilton " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:490 +#: whatsnew/3.9.rst:487 msgid "The changes above have been backported to 3.8 maintenance releases." msgstr "Yukarıdaki değişiklikler 3.8 bakım sürümlerine geri aktarılmıştır." -#: whatsnew/3.9.rst:492 +#: whatsnew/3.9.rst:489 msgid "" "Rearrange the settings dialog. Split the General tab into Windows and Shell/" "Ed tabs. Move help sources, which extend the Help menu, to the Extensions " @@ -953,7 +958,7 @@ msgstr "" "Girinti alanı ayarını Yazı Tipi sekmesinden yeni Windows sekmesine taşıyın. " "(Mark Roseman ve Terry Jan Reedy tarafından :issue:`33962` 'de katılmıştır.)" -#: whatsnew/3.9.rst:500 +#: whatsnew/3.9.rst:497 msgid "" "Apply syntax highlighting to ``.pyi`` files. (Contributed by Alex Waygood " "and Terry Jan Reedy in :issue:`45447`.)" @@ -961,11 +966,11 @@ msgstr "" "``.pyi`` dosyalarına vurgulama sözdizimi uygulayın. ( :issue:`45447` içinde " "Alex Waygood ve Terry Jan Reedy tarafından katılmıştır.)" -#: whatsnew/3.9.rst:504 +#: whatsnew/3.9.rst:501 msgid "imaplib" msgstr "imaplib" -#: whatsnew/3.9.rst:506 +#: whatsnew/3.9.rst:503 #, fuzzy msgid "" ":class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now have an optional " @@ -982,7 +987,7 @@ msgstr "" "`~imaplib.IMAP4_SSL` ve :class:`~imaplib.IMAP4_stream` yöntemleri uygulandı. " "(Dong-hee Na tarafından :issue:`38615` 'de katılmıştır.)" -#: whatsnew/3.9.rst:513 +#: whatsnew/3.9.rst:510 #, fuzzy msgid "" ":meth:`imaplib.IMAP4.unselect` is added. :meth:`imaplib.IMAP4.unselect` " @@ -999,11 +1004,11 @@ msgstr "" "kutusundan hiçbir mesajın kalıcı olarak kaldırılmamasıdır. (Dong-hee Na " "tarafından :issue:`40375` 'de katılmıştır.)" -#: whatsnew/3.9.rst:521 +#: whatsnew/3.9.rst:518 msgid "importlib" msgstr "importlib" -#: whatsnew/3.9.rst:523 +#: whatsnew/3.9.rst:520 msgid "" "To improve consistency with import statements, :func:`importlib.util." "resolve_name` now raises :exc:`ImportError` instead of :exc:`ValueError` for " @@ -1015,7 +1020,7 @@ msgstr "" "`ValueError` yerine :exc:`ImportError` değerini yükseltiyor. ( :issue:" "`37444` içinde Ngalim Siregar tarafından katılmıştır.)" -#: whatsnew/3.9.rst:528 +#: whatsnew/3.9.rst:525 msgid "" "Import loaders which publish immutable module objects can now publish " "immutable packages in addition to individual modules. (Contributed by Dino " @@ -1025,7 +1030,7 @@ msgstr "" "bağımsız modüllere ek olarak değişmez paketleri de yayınlayabilir. (Dino " "Viehland tarafından :issue:`39336` 'da katılmıştır.)" -#: whatsnew/3.9.rst:532 +#: whatsnew/3.9.rst:529 msgid "" "Added :func:`importlib.resources.files` function with support for " "subdirectories in package data, matching backport in ``importlib_resources`` " @@ -1035,17 +1040,17 @@ msgstr "" "1.5'te backport ile eşleşen :func:`importlib.resources.files` işlevi " "eklendi. (Jason R. Coombs'un :issue:`39791` 'deki katkılarıyla.)" -#: whatsnew/3.9.rst:537 +#: whatsnew/3.9.rst:534 msgid "" "Refreshed ``importlib.metadata`` from ``importlib_metadata`` version 1.6.1." msgstr "" "``importlib_metadata`` sürüm 1.6.1'den ``importlib.metadata`` yenilendi." -#: whatsnew/3.9.rst:540 +#: whatsnew/3.9.rst:537 msgid "inspect" msgstr "inspect" -#: whatsnew/3.9.rst:542 +#: whatsnew/3.9.rst:539 msgid "" ":attr:`inspect.BoundArguments.arguments` is changed from ``OrderedDict`` to " "regular dict. (Contributed by Inada Naoki in :issue:`36350` and :issue:" @@ -1055,11 +1060,11 @@ msgstr "" "olarak değiştirildi. ( :issue:`36350` ve :issue:`39775` içinde Inada Naoki " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:546 +#: whatsnew/3.9.rst:543 msgid "ipaddress" msgstr "ipaddress" -#: whatsnew/3.9.rst:548 +#: whatsnew/3.9.rst:545 msgid "" ":mod:`ipaddress` now supports IPv6 Scoped Addresses (IPv6 address with " "suffix ``%``)." @@ -1067,7 +1072,7 @@ msgstr "" ":mod:`ipadresi` artık IPv6 Kapsamlı Adresleri (``%`` sonekine " "sahip IPv6 adresi) desteklemektedir." -#: whatsnew/3.9.rst:550 +#: whatsnew/3.9.rst:547 msgid "" "Scoped IPv6 addresses can be parsed using :class:`ipaddress.IPv6Address`. If " "present, scope zone ID is available through the :attr:`~ipaddress." @@ -1079,7 +1084,7 @@ msgstr "" "IPv6Address.scope_id` özelliği aracılığıyla kullanılabilir. (Oleksandr " "Pavliuk tarafından :issue:`34788` 'de katılmıştır.)" -#: whatsnew/3.9.rst:554 +#: whatsnew/3.9.rst:551 msgid "" "Starting with Python 3.9.5 the :mod:`ipaddress` module no longer accepts any " "leading zeros in IPv4 address strings. (Contributed by Christian Heimes in :" @@ -1089,11 +1094,11 @@ msgstr "" "dizelerinde baştaki sıfırları kabul etmemektedir. ( :issue:`36384` içinde " "Christian Heimes tarafından katılmıştır)." -#: whatsnew/3.9.rst:559 +#: whatsnew/3.9.rst:556 msgid "math" msgstr "math" -#: whatsnew/3.9.rst:561 +#: whatsnew/3.9.rst:558 msgid "" "Expanded the :func:`math.gcd` function to handle multiple arguments. " "Formerly, it only supported two arguments. (Contributed by Serhiy Storchaka " @@ -1103,7 +1108,7 @@ msgstr "" "Önceden, yalnızca iki argümanı destekliyordu. ( :issue:`39648` içinde Serhiy " "Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:565 +#: whatsnew/3.9.rst:562 msgid "" "Added :func:`math.lcm`: return the least common multiple of specified " "arguments. (Contributed by Mark Dickinson, Ananthakrishnan and Serhiy " @@ -1113,7 +1118,7 @@ msgstr "" "katını döndürür. ( :issue:`39479` ve :issue:`39648` 'de Mark Dickinson, " "Ananthakrishnan ve Serhiy Storchaka'nın katkılarıyla.)" -#: whatsnew/3.9.rst:569 +#: whatsnew/3.9.rst:566 msgid "" "Added :func:`math.nextafter`: return the next floating-point value after *x* " "towards *y*. (Contributed by Victor Stinner in :issue:`39288`.)" @@ -1122,7 +1127,7 @@ msgstr "" "nokta değerini döndürür. (Victor Stinner tarafından :issue:`39288` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:573 +#: whatsnew/3.9.rst:570 msgid "" "Added :func:`math.ulp`: return the value of the least significant bit of a " "float. (Contributed by Victor Stinner in :issue:`39310`.)" @@ -1130,11 +1135,11 @@ msgstr "" "Eklenen :func:`math.ulp`: bir kayan noktanın en önemsiz bitinin değerini " "döndürür. (Victor Stinner tarafından :issue:`39310` 'da katılmıştır.)" -#: whatsnew/3.9.rst:578 +#: whatsnew/3.9.rst:575 msgid "multiprocessing" msgstr "multiprocessing" -#: whatsnew/3.9.rst:580 +#: whatsnew/3.9.rst:577 msgid "" "The :class:`multiprocessing.SimpleQueue` class has a new :meth:" "`~multiprocessing.SimpleQueue.close` method to explicitly close the queue. " @@ -1144,11 +1149,11 @@ msgstr "" "yeni bir :meth:`~multiprocessing.SimpleQueue.close` yöntemine sahiptir. " "(Victor Stinner tarafından :issue:`30966` 'da katılmıştır.)" -#: whatsnew/3.9.rst:586 +#: whatsnew/3.9.rst:583 msgid "nntplib" msgstr "nntplib" -#: whatsnew/3.9.rst:588 +#: whatsnew/3.9.rst:585 #, fuzzy msgid "" ":class:`~nntplib.NNTP` and :class:`~nntplib.NNTP_SSL` now raise a :class:" @@ -1161,20 +1166,20 @@ msgstr "" "bir yuvanın oluşturulmasını engelliyor. (Dong-hee Na tarafından :issue:" "`39259` 'da katılmıştır.)" -#: whatsnew/3.9.rst:593 +#: whatsnew/3.9.rst:590 msgid "os" msgstr "os" -#: whatsnew/3.9.rst:595 +#: whatsnew/3.9.rst:592 #, fuzzy msgid "" -"Added :const:`~os.CLD_KILLED` and :const:`~os.CLD_STOPPED` for :attr:" -"`si_code`. (Contributed by Donghee Na in :issue:`38493`.)" +"Added :const:`~os.CLD_KILLED` and :const:`~os.CLD_STOPPED` for :attr:`!" +"si_code`. (Contributed by Donghee Na in :issue:`38493`.)" msgstr "" ":data:`~os.CLD_KILLED` ve :attr:`si_code` için :data:`~os.CLD_STOPPED` " "eklendi. (Dong-hee Na tarafından :issue:`38493` 'de katılmıştır.)" -#: whatsnew/3.9.rst:598 +#: whatsnew/3.9.rst:595 #, fuzzy msgid "" "Exposed the Linux-specific :func:`os.pidfd_open` (:issue:`38692`) and :const:" @@ -1184,7 +1189,7 @@ msgstr "" "pidfd_open` (:issue:`38692`) ve :data:`os.P_PIDFD` (:issue:`38713`) " "kullanıma sunuldu." -#: whatsnew/3.9.rst:602 +#: whatsnew/3.9.rst:599 msgid "" "The :func:`os.unsetenv` function is now also available on Windows. " "(Contributed by Victor Stinner in :issue:`39413`.)" @@ -1192,7 +1197,7 @@ msgstr "" ":func:`os.unsetenv` işlevi artık Windows'ta da mevcuttur. (Victor Stinner " "tarafından :issue:`39413` 'de katılmıştır.)" -#: whatsnew/3.9.rst:605 +#: whatsnew/3.9.rst:602 msgid "" "The :func:`os.putenv` and :func:`os.unsetenv` functions are now always " "available. (Contributed by Victor Stinner in :issue:`39395`.)" @@ -1200,7 +1205,7 @@ msgstr "" ":func:`os.putenv` ve :func:`os.unsetenv` fonksiyonları artık her zaman " "kullanılabilir. (Victor Stinner tarafından :issue:`39395` 'de katılmıştır.)" -#: whatsnew/3.9.rst:609 +#: whatsnew/3.9.rst:606 msgid "" "Added :func:`os.waitstatus_to_exitcode` function: convert a wait status to " "an exit code. (Contributed by Victor Stinner in :issue:`40094`.)" @@ -1209,11 +1214,11 @@ msgstr "" "koduna dönüştürün. (Victor Stinner tarafından :issue:`40094` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:614 +#: whatsnew/3.9.rst:611 msgid "pathlib" msgstr "pathlib" -#: whatsnew/3.9.rst:616 +#: whatsnew/3.9.rst:613 msgid "" "Added :meth:`pathlib.Path.readlink()` which acts similarly to :func:`os." "readlink`. (Contributed by Girts Folkmanis in :issue:`30618`)" @@ -1221,11 +1226,11 @@ msgstr "" ":func:`os.readlink` 'e benzer şekilde davranan :meth:`pathlib.Path." "readlink()` eklendi. (Girts Folkmanis'in katkılarıyla :issue:`30618`)" -#: whatsnew/3.9.rst:621 +#: whatsnew/3.9.rst:618 msgid "pdb" msgstr "pdb" -#: whatsnew/3.9.rst:623 +#: whatsnew/3.9.rst:620 msgid "" "On Windows now :class:`~pdb.Pdb` supports ``~/.pdbrc``. (Contributed by Tim " "Hopper and Dan Lidral-Porter in :issue:`20523`.)" @@ -1233,11 +1238,11 @@ msgstr "" "Artık Windows'ta :class:`~pdb.Pdb` ``~/.pdbrc`` desteklemektedir. ( :issue:" "`20523` içinde Tim Hopper ve Dan Lidral-Porter tarafından katılmıştır.)" -#: whatsnew/3.9.rst:627 +#: whatsnew/3.9.rst:624 msgid "poplib" msgstr "poplib" -#: whatsnew/3.9.rst:629 +#: whatsnew/3.9.rst:626 #, fuzzy msgid "" ":class:`~poplib.POP3` and :class:`~poplib.POP3_SSL` now raise a :class:" @@ -1250,11 +1255,11 @@ msgstr "" "bir yuva oluşturulmasını engelliyor. (Dong-hee Na tarafından :issue:`39259` " "'da katılmıştır.)" -#: whatsnew/3.9.rst:634 +#: whatsnew/3.9.rst:631 msgid "pprint" msgstr "pprint" -#: whatsnew/3.9.rst:636 +#: whatsnew/3.9.rst:633 msgid "" ":mod:`pprint` can now pretty-print :class:`types.SimpleNamespace`. " "(Contributed by Carl Bordum Hansen in :issue:`37376`.)" @@ -1262,11 +1267,11 @@ msgstr "" ":mod:`pprint` artık :class:`types.SimpleNamespace` güzel yazdırabilir. (Carl " "Bordum Hansen tarafından :issue:`37376` 'da katılmıştır.)" -#: whatsnew/3.9.rst:640 +#: whatsnew/3.9.rst:637 msgid "pydoc" msgstr "pydoc" -#: whatsnew/3.9.rst:642 +#: whatsnew/3.9.rst:639 msgid "" "The documentation string is now shown not only for class, function, method " "etc, but for any object that has its own ``__doc__`` attribute. (Contributed " @@ -1276,11 +1281,11 @@ msgstr "" "kendi ``__doc__`` özniteliğine sahip herhangi bir nesne için gösteriliyor. " "( :issue:`40257` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:647 +#: whatsnew/3.9.rst:644 msgid "random" msgstr "random" -#: whatsnew/3.9.rst:649 +#: whatsnew/3.9.rst:646 msgid "" "Added a new :attr:`random.Random.randbytes` method: generate random bytes. " "(Contributed by Victor Stinner in :issue:`40286`.)" @@ -1288,11 +1293,11 @@ msgstr "" "Yeni bir :attr:`random.Random.randbytes` yöntemi eklendi: rastgele baytlar " "oluştur. (Victor Stinner tarafından :issue:`40286` 'da katılmıştır.)" -#: whatsnew/3.9.rst:653 +#: whatsnew/3.9.rst:650 msgid "signal" msgstr "signal" -#: whatsnew/3.9.rst:655 +#: whatsnew/3.9.rst:652 msgid "" "Exposed the Linux-specific :func:`signal.pidfd_send_signal` for sending to " "signals to a process using a file descriptor instead of a pid. (:issue:" @@ -1302,11 +1307,11 @@ msgstr "" "için Linux'a özgü :func:`signal.pidfd_send_signal` ortaya çıktı. (:issue:" "`38712`)" -#: whatsnew/3.9.rst:659 +#: whatsnew/3.9.rst:656 msgid "smtplib" msgstr "smtplib" -#: whatsnew/3.9.rst:661 +#: whatsnew/3.9.rst:658 #, fuzzy msgid "" ":class:`~smtplib.SMTP` and :class:`~smtplib.SMTP_SSL` now raise a :class:" @@ -1319,7 +1324,7 @@ msgstr "" "bir soketin oluşturulmasını engelliyor. (Dong-hee Na tarafından :issue:" "`39259` 'da katılmıştır.)" -#: whatsnew/3.9.rst:665 +#: whatsnew/3.9.rst:662 #, fuzzy msgid "" ":class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. " @@ -1328,11 +1333,11 @@ msgstr "" ":class:`~smtplib.LMTP` yapıcısının artık isteğe bağlı bir *timeout* " "parametresi var. (Dong-hee Na tarafından :issue:`39329` 'da katılmıştır.)" -#: whatsnew/3.9.rst:669 +#: whatsnew/3.9.rst:666 msgid "socket" msgstr "socket" -#: whatsnew/3.9.rst:671 +#: whatsnew/3.9.rst:668 #, fuzzy msgid "" "The :mod:`socket` module now exports the :const:`~socket." @@ -1343,7 +1348,7 @@ msgstr "" "CAN_RAW_JOIN_FILTERS` sabitini dışa aktarıyor. (Stefan Tatschner ve Zackery " "Spytz tarafından :issue:`25780` 'de katılmıştır.)" -#: whatsnew/3.9.rst:675 +#: whatsnew/3.9.rst:672 #, fuzzy msgid "" "The socket module now supports the :const:`~socket.CAN_J1939` protocol on " @@ -1353,7 +1358,7 @@ msgstr "" "protokolünü desteklemektedir. (Karl Ding tarafından :issue:`40291` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:678 +#: whatsnew/3.9.rst:675 msgid "" "The socket module now has the :func:`socket.send_fds` and :func:`socket." "recv_fds` functions. (Contributed by Joannah Nanjekye, Shinya Okano and " @@ -1363,11 +1368,11 @@ msgstr "" "fonksiyonlarına sahiptir. (Joannah Nanjekye, Shinya Okano ve Victor " "Stinner'ın katkılarıyla :issue:`28724`.)" -#: whatsnew/3.9.rst:684 +#: whatsnew/3.9.rst:681 msgid "time" msgstr "time" -#: whatsnew/3.9.rst:686 +#: whatsnew/3.9.rst:683 msgid "" "On AIX, :func:`~time.thread_time` is now implemented with " "``thread_cputime()`` which has nanosecond resolution, rather than " @@ -1379,11 +1384,11 @@ msgstr "" "sahip ``thread_cputime()`` ile uygulanmaktadır. (Batuhan Taşkaya :issue:" "`40192` 'de katılmıştır)" -#: whatsnew/3.9.rst:692 +#: whatsnew/3.9.rst:689 msgid "sys" msgstr "sys" -#: whatsnew/3.9.rst:694 +#: whatsnew/3.9.rst:691 #, fuzzy msgid "" "Added a new :data:`sys.platlibdir` attribute: name of the platform-specific " @@ -1400,7 +1405,7 @@ msgstr "" "(Jan Matějek, Matěj Cepl, Charalampos Stratakis ve Victor Stinner'ın " "katkılarıyla :issue:`1294959`.)" -#: whatsnew/3.9.rst:700 +#: whatsnew/3.9.rst:697 #, fuzzy msgid "" "Previously, :data:`sys.stderr` was block-buffered when non-interactive. Now " @@ -1411,11 +1416,11 @@ msgstr "" "alınıyordu. Artık ``stderr`` varsayılan olarak her zaman satır arabelleğe " "alınır. ( :issue:`13601` 'de Jendrik Seipp tarafından katılmıştır.)" -#: whatsnew/3.9.rst:705 +#: whatsnew/3.9.rst:702 msgid "tracemalloc" msgstr "tracemalloc" -#: whatsnew/3.9.rst:707 +#: whatsnew/3.9.rst:704 msgid "" "Added :func:`tracemalloc.reset_peak` to set the peak size of traced memory " "blocks to the current size, to measure the peak of specific pieces of code. " @@ -1425,11 +1430,11 @@ msgstr "" "kod parçalarının zirvesini ölçmek için :func:`tracemalloc.reset_peak` " "eklendi. (Huon Wilson tarafından :issue:`40630` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1495 +#: whatsnew/3.9.rst:1492 msgid "typing" msgstr "typing" -#: whatsnew/3.9.rst:714 +#: whatsnew/3.9.rst:711 msgid "" ":pep:`593` introduced an :data:`typing.Annotated` type to decorate existing " "types with context-specific metadata and new ``include_extras`` parameter " @@ -1441,20 +1446,20 @@ msgstr "" "için :func:`typing.get_type_hints` için yeni ``include_extras`` " "parametresini tanıttı. (Till Varoquaux ve Konstantin Kashin'in katkılarıyla.)" -#: whatsnew/3.9.rst:720 +#: whatsnew/3.9.rst:717 msgid "unicodedata" msgstr "unicodedata" -#: whatsnew/3.9.rst:722 +#: whatsnew/3.9.rst:719 msgid "" "The Unicode database has been updated to version 13.0.0. (:issue:`39926`)." msgstr "Unicode veritabanı 13.0.0 sürümüne güncellendi. (:issue:`39926`)." -#: whatsnew/3.9.rst:725 +#: whatsnew/3.9.rst:722 msgid "venv" msgstr "venv" -#: whatsnew/3.9.rst:727 +#: whatsnew/3.9.rst:724 msgid "" "The activation scripts provided by :mod:`venv` now all specify their prompt " "customization consistently by always using the value specified by " @@ -1470,11 +1475,11 @@ msgstr "" "ayarlandıysa (varsayılan durum buydu) ve biri bunun yerine ``__VENV_NAME__`` " "kullanıyordu. ( :issue:`37663` içinde Brett Cannon tarafından katılmıştır.)" -#: whatsnew/3.9.rst:735 +#: whatsnew/3.9.rst:732 msgid "xml" msgstr "xml" -#: whatsnew/3.9.rst:737 +#: whatsnew/3.9.rst:734 msgid "" "White space characters within attributes are now preserved when serializing :" "mod:`xml.etree.ElementTree` to XML file. EOLNs are no longer normalized to " @@ -1487,11 +1492,11 @@ msgstr "" "yorumlanacağına ilişkin tartışmanın sonucudur. ( :issue:`39011` içinde " "Mefistotelis tarafından katılmıştır.)" -#: whatsnew/3.9.rst:745 +#: whatsnew/3.9.rst:742 msgid "Optimizations" msgstr "Optimizasyonlar" -#: whatsnew/3.9.rst:747 +#: whatsnew/3.9.rst:744 msgid "" "Optimized the idiom for assignment a temporary variable in comprehensions. " "Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment " @@ -1500,22 +1505,22 @@ msgstr "" "Kavramalarda geçici bir değişken atamak için deyim optimize edildi. Şimdi " "``for y in [expr]``, basit bir ``y = expr`` ataması kadar hızlıdır. Örneğin:" -#: whatsnew/3.9.rst:751 +#: whatsnew/3.9.rst:748 msgid "sums = [s for s in [0] for x in data for s in [s + x]]" msgstr "sums = [s for s in [0] for x in data for s in [s + x]]" -#: whatsnew/3.9.rst:753 +#: whatsnew/3.9.rst:750 msgid "" "Unlike the ``:=`` operator this idiom does not leak a variable to the outer " "scope." msgstr "" "``:=`` operatörünün aksine bu deyim, dış kapsama bir değişken sızdırmaz." -#: whatsnew/3.9.rst:756 +#: whatsnew/3.9.rst:753 msgid "(Contributed by Serhiy Storchaka in :issue:`32856`.)" msgstr "( :issue:`32856` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:758 +#: whatsnew/3.9.rst:755 msgid "" "Optimized signal handling in multithreaded applications. If a thread " "different than the main thread gets a signal, the bytecode evaluation loop " @@ -1529,7 +1534,7 @@ msgstr "" "her bayt kodu talimatında kesintiye uğramaz. Yalnızca ana yorumlayıcının ana " "iş parçacığı sinyalleri işleyebilir." -#: whatsnew/3.9.rst:764 +#: whatsnew/3.9.rst:761 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread handles signals. (Contributed by Victor Stinner in :" @@ -1539,7 +1544,7 @@ msgstr "" "işleyene kadar her komutta kesintiye uğruyordu. (Victor Stinner tarafından :" "issue:`40010` 'da katılmıştır.)" -#: whatsnew/3.9.rst:768 +#: whatsnew/3.9.rst:765 msgid "" "Optimized the :mod:`subprocess` module on FreeBSD using ``closefrom()``. " "(Contributed by Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Kocak and Victor " @@ -1549,7 +1554,7 @@ msgstr "" "etti. ( :issue:`38061` 'de Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Koçak " "ve Victor Stinner'ın katkılarıyla.)" -#: whatsnew/3.9.rst:772 +#: whatsnew/3.9.rst:769 msgid "" ":c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that fit " "into :c:expr:`long`. (Contributed by Sergey Fedoseev in :issue:`37986`.)" @@ -1558,7 +1563,7 @@ msgstr "" "artık 1,87 kata kadar daha hızlı. (Sergey Fedoseev tarafından :issue:`37986` " "'da katılmıştır.)" -#: whatsnew/3.9.rst:776 +#: whatsnew/3.9.rst:773 #, fuzzy msgid "" "A number of Python builtins (:class:`range`, :class:`tuple`, :class:`set`, :" @@ -1571,7 +1576,7 @@ msgstr "" "vectorcall protokolü kullanılarak hızlandırıldı. (Dong-hee Na, Mark Shannon, " "Jeroen Demeyer ve Petr Viktorin'in :issue:`37207` 'deki katkılarıyla.)" -#: whatsnew/3.9.rst:781 +#: whatsnew/3.9.rst:778 msgid "" "Optimized :func:`~set.difference_update` for the case when the other set is " "much larger than the base set. (Suggested by Evgeny Kapun with code " @@ -1581,7 +1586,7 @@ msgstr "" "difference_update` optimize edildi. ( :issue:`8425` içinde Michele Orrù " "tarafından sağlanan kodla Evgeny Kapun tarafından önerilmiştir.)" -#: whatsnew/3.9.rst:785 +#: whatsnew/3.9.rst:782 msgid "" "Python's small object allocator (``obmalloc.c``) now allows (no more than) " "one empty arena to remain available for immediate reuse, without returning " @@ -1595,7 +1600,7 @@ msgstr "" "yeniden yaratılıp yok edilebileceği basit döngülerde çarpışmayı önler. ( :" "issue:`37257` içinde Tim Peters tarafından katılmıştır.)" -#: whatsnew/3.9.rst:791 +#: whatsnew/3.9.rst:788 #, fuzzy msgid "" ":term:`floor division` of float operation now has a better performance. Also " @@ -1606,7 +1611,7 @@ msgstr "" "bir performansa sahip. Ayrıca bu işlem için :exc:`ZeroDivisionError` mesajı " "güncellenir. (Dong-hee Na tarafından :issue:`39434` 'de katılmıştır.)" -#: whatsnew/3.9.rst:795 +#: whatsnew/3.9.rst:792 msgid "" "Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% " "faster. (Contributed by Inada Naoki in :issue:`37348`.)" @@ -1615,7 +1620,7 @@ msgstr "" "yaklaşık %15 daha hızlı. (Inada Naoki tarafından :issue:`37348` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:798 +#: whatsnew/3.9.rst:795 msgid "" "Here's a summary of performance improvements from Python 3.4 through Python " "3.9:" @@ -1623,7 +1628,7 @@ msgstr "" "İşte Python 3.4'ten Python 3.9'a kadar olan performans iyileştirmelerinin " "bir özeti:" -#: whatsnew/3.9.rst:845 +#: whatsnew/3.9.rst:842 #, fuzzy msgid "" "These results were generated from the variable access benchmark script at: " @@ -1642,11 +1647,11 @@ msgstr "" "intel.com/content/www/us/en/ark/products/76088/intel-core-i7-4960hq-" "processor-6m-cache-up-to-3-80-ghz.html>`_ üzerinde ölçülmüştür." -#: whatsnew/3.9.rst:855 +#: whatsnew/3.9.rst:852 msgid "Deprecated" msgstr "Deprecated" -#: whatsnew/3.9.rst:857 +#: whatsnew/3.9.rst:854 msgid "" "The distutils ``bdist_msi`` command is now deprecated, use ``bdist_wheel`` " "(wheel packages) instead. (Contributed by Hugo van Kemenade in :issue:" @@ -1656,7 +1661,7 @@ msgstr "" "yerine ``bdist_wheel`` (tekerlek paketleri) kullanın. ( :issue:`39586` " "içinde Hugo van Kemenade tarafından katılmıştır.)" -#: whatsnew/3.9.rst:861 +#: whatsnew/3.9.rst:858 msgid "" "Currently :func:`math.factorial` accepts :class:`float` instances with non-" "negative integer values (like ``5.0``). It raises a :exc:`ValueError` for " @@ -1671,9 +1676,10 @@ msgstr "" "için bir :exc:`TypeError` oluşturacaktır. ( :issue:`37315` içinde Serhiy " "Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:867 +#: whatsnew/3.9.rst:864 +#, fuzzy msgid "" -"The :mod:`parser` and :mod:`symbol` modules are deprecated and will be " +"The :mod:`!parser` and :mod:`!symbol` modules are deprecated and will be " "removed in future versions of Python. For the majority of use cases, users " "can leverage the Abstract Syntax Tree (AST) generation and compilation " "stage, using the :mod:`ast` module." @@ -1683,7 +1689,7 @@ msgstr "" "çoğu için, kullanıcılar :mod:`ast` modülünü kullanarak Soyut Sözdizimi Ağacı " "(AST) oluşturma ve derleme aşamasından yararlanabilir." -#: whatsnew/3.9.rst:872 +#: whatsnew/3.9.rst:869 #, fuzzy msgid "" "The Public C API functions :c:func:`!PyParser_SimpleParseStringFlags`, :c:" @@ -1696,7 +1702,7 @@ msgstr "" "`PyParser_SimpleParseFileFlags` ve :c:func:`PyNode_Compile` eskimiştir ve " "Python 3.10'da eski ayrıştırıcı ile birlikte kaldırılacaktır." -#: whatsnew/3.9.rst:877 +#: whatsnew/3.9.rst:874 msgid "" "Using :data:`NotImplemented` in a boolean context has been deprecated, as it " "is almost exclusively the result of incorrect rich comparator " @@ -1709,7 +1715,7 @@ msgstr "" "`TypeError` haline getirilecektir. ( :issue:`35712` içinde Josh Rosenberg " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:883 +#: whatsnew/3.9.rst:880 msgid "" "The :mod:`random` module currently accepts any hashable type as a possible " "seed value. Unfortunately, some of those types are not guaranteed to have a " @@ -1724,7 +1730,7 @@ msgstr "" "`float`, :class:`str`, :class:`bytes` ve :class:`bytearray` " "ilesınırlayacaktır." -#: whatsnew/3.9.rst:889 +#: whatsnew/3.9.rst:886 msgid "" "Opening the :class:`~gzip.GzipFile` file for writing without specifying the " "*mode* argument is deprecated. In future Python versions it will always be " @@ -1738,9 +1744,10 @@ msgstr "" "yazmak ve susturmak için açmak için *mode* argümanını belirtin. ( :issue:" "`28286` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:895 +#: whatsnew/3.9.rst:892 +#, fuzzy msgid "" -"Deprecated the ``split()`` method of :class:`_tkinter.TkappType` in favour " +"Deprecated the ``split()`` method of :class:`!_tkinter.TkappType` in favour " "of the ``splitlist()`` method which has more consistent and predicable " "behavior. (Contributed by Serhiy Storchaka in :issue:`38371`.)" msgstr "" @@ -1748,7 +1755,7 @@ msgstr "" "öngörülebilir davranışa sahip ``splitlist()`` yöntemi lehine kullanımdan " "kaldırıldı. ( :issue:`38371` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:900 +#: whatsnew/3.9.rst:897 msgid "" "The explicit passing of coroutine objects to :func:`asyncio.wait` has been " "deprecated and will be removed in version 3.11. (Contributed by Yury " @@ -1758,28 +1765,31 @@ msgstr "" "kullanımdan kaldırılmıştır ve sürüm 3.11'de kaldırılacaktır. (Yury Selivanov " "ve Kyle Stanley tarafından :issue:`34790` 'da katılmıştır.)" -#: whatsnew/3.9.rst:904 +#: whatsnew/3.9.rst:901 +#, fuzzy msgid "" -"binhex4 and hexbin4 standards are now deprecated. The :mod:`binhex` module " +"binhex4 and hexbin4 standards are now deprecated. The :mod:`!binhex` module " "and the following :mod:`binascii` functions are now deprecated:" msgstr "" "binhex4 ve hexbin4 standartları artık kullanımdan kaldırılmıştır. :mod:" "`binhex` modülü ve aşağıdaki :mod:`binascii` fonksiyonları artık kullanımdan " "kaldırılmıştır:" -#: whatsnew/3.9.rst:907 -msgid ":func:`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`" +#: whatsnew/3.9.rst:904 +#, fuzzy +msgid ":func:`!b2a_hqx`, :func:`!a2b_hqx`" msgstr ":func:`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`" -#: whatsnew/3.9.rst:908 -msgid ":func:`~binascii.rlecode_hqx`, :func:`~binascii.rledecode_hqx`" +#: whatsnew/3.9.rst:905 +#, fuzzy +msgid ":func:`!rlecode_hqx`, :func:`!rledecode_hqx`" msgstr ":func:`~binascii.rlecode_hqx`, :func:`~binascii.rledecode_hqx`" -#: whatsnew/3.9.rst:910 +#: whatsnew/3.9.rst:907 msgid "(Contributed by Victor Stinner in :issue:`39353`.)" msgstr "(Victor Stinner tarafından :issue:`39353` 'de katılmıştır.)" -#: whatsnew/3.9.rst:912 +#: whatsnew/3.9.rst:909 msgid "" ":mod:`ast` classes ``slice``, ``Index`` and ``ExtSlice`` are considered " "deprecated and will be removed in future Python versions. ``value`` itself " @@ -1793,7 +1803,7 @@ msgstr "" "yerine ``Tuple(slices, Load())`` kullanılmalıdır. ( :issue:`34822` içinde " "Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:918 +#: whatsnew/3.9.rst:915 msgid "" ":mod:`ast` classes ``Suite``, ``Param``, ``AugLoad`` and ``AugStore`` are " "considered deprecated and will be removed in future Python versions. They " @@ -1808,7 +1818,7 @@ msgstr "" "Batuhan Taşkaya'nın ve :issue:`39988` 'deki Serhiy Storchaka'nın " "katkılarıyla.)" -#: whatsnew/3.9.rst:925 +#: whatsnew/3.9.rst:922 #, fuzzy msgid "" "The :c:func:`!PyEval_InitThreads` and :c:func:`!PyEval_ThreadsInitialized` " @@ -1824,7 +1834,7 @@ msgstr "" "tarafından başlatılmıştır. (Victor Stinner tarafından :issue:`39877` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:931 +#: whatsnew/3.9.rst:928 msgid "" "Passing ``None`` as the first argument to the :func:`shlex.split` function " "has been deprecated. (Contributed by Zackery Spytz in :issue:`33262`.)" @@ -1833,7 +1843,7 @@ msgstr "" "kullanımdan kaldırılmıştır. ( :issue:`33262` içinde Zackery Spytz tarafından " "katılmıştır.)" -#: whatsnew/3.9.rst:934 +#: whatsnew/3.9.rst:931 #, fuzzy msgid "" ":func:`!smtpd.MailmanProxy` is now deprecated as it is unusable without an " @@ -1844,7 +1854,7 @@ msgstr "" "kullanılamaz olduğundan artık kullanımdan kaldırılmıştır. (Samuel Colvin " "tarafından :issue:`35800` 'de katılmıştır.)" -#: whatsnew/3.9.rst:937 +#: whatsnew/3.9.rst:934 msgid "" "The :mod:`lib2to3` module now emits a :exc:`PendingDeprecationWarning`. " "Python 3.9 switched to a PEG parser (see :pep:`617`), and Python 3.10 may " @@ -1861,7 +1871,7 @@ msgstr "" "taraf alternatiflerini göz önünde bulundurun. (Carl Meyer tarafından :issue:" "`40360` 'da katılmıştır.)" -#: whatsnew/3.9.rst:945 +#: whatsnew/3.9.rst:942 msgid "" "The *random* parameter of :func:`random.shuffle` has been deprecated. " "(Contributed by Raymond Hettinger in :issue:`40465`)" @@ -1869,16 +1879,17 @@ msgstr "" ":func:`random.shuffle` öğesinin *random* parametresi kullanımdan kaldırıldı. " "(Katkı:Raymond Hettinger tarafından :issue:`40465`)" -#: whatsnew/3.9.rst:1409 +#: whatsnew/3.9.rst:1406 msgid "Removed" msgstr "Kaldırılanlar" -#: whatsnew/3.9.rst:956 +#: whatsnew/3.9.rst:953 +#, fuzzy msgid "" -"The erroneous version at :data:`unittest.mock.__version__` has been removed." +"The erroneous version at :data:`!unittest.mock.__version__` has been removed." msgstr ":data:`unittest.mock.__version__` adresindeki hatalı sürüm kaldırıldı." -#: whatsnew/3.9.rst:958 +#: whatsnew/3.9.rst:955 #, fuzzy msgid "" ":class:`nntplib.NNTP`: ``xpath()`` and ``xgtitle()`` methods have been " @@ -1895,7 +1906,7 @@ msgstr "" "descriptions` veya :meth:`nntplib.NNTP.description` kullanın. (Dong-hee Na " "tarafından :issue:`39366` 'da katılmıştır.)" -#: whatsnew/3.9.rst:965 +#: whatsnew/3.9.rst:962 msgid "" ":class:`array.array`: ``tostring()`` and ``fromstring()`` methods have been " "removed. They were aliases to ``tobytes()`` and ``frombytes()``, deprecated " @@ -1906,7 +1917,7 @@ msgstr "" "``frombytes()`` takma adlarıydı. (Victor Stinner tarafından :issue:`38916` " "'da katılmıştır.)" -#: whatsnew/3.9.rst:970 +#: whatsnew/3.9.rst:967 msgid "" "The undocumented ``sys.callstats()`` function has been removed. Since Python " "3.7, it was deprecated and always returned :const:`None`. It required a " @@ -1918,7 +1929,7 @@ msgstr "" "zaten kaldırılmış olan ``CALL_PROFILE`` adlı özel bir derleme seçeneği " "gerektiriyordu. (Victor Stinner tarafından :issue:`37414` 'de katılmıştır.)" -#: whatsnew/3.9.rst:975 +#: whatsnew/3.9.rst:972 msgid "" "The ``sys.getcheckinterval()`` and ``sys.setcheckinterval()`` functions have " "been removed. They were deprecated since Python 3.2. Use :func:`sys." @@ -1930,7 +1941,7 @@ msgstr "" "func:`sys.getswitchinterval` ve :func:`sys.setswitchinterval` kullanın. " "(Victor Stinner tarafından :issue:`37392` 'de katılmıştır.)" -#: whatsnew/3.9.rst:980 +#: whatsnew/3.9.rst:977 msgid "" "The C function ``PyImport_Cleanup()`` has been removed. It was documented " "as: \"Empty the module table. For internal use only.\" (Contributed by " @@ -1940,7 +1951,7 @@ msgstr "" "\"Modül tablosunu boşaltın. Yalnızca dahili kullanım için.\" (Victor Stinner " "tarafından :issue:`36710` 'da katılmıştır.)" -#: whatsnew/3.9.rst:984 +#: whatsnew/3.9.rst:981 msgid "" "``_dummy_thread`` and ``dummy_threading`` modules have been removed. These " "modules were deprecated since Python 3.7 which requires threading support. " @@ -1950,7 +1961,7 @@ msgstr "" "iş parçacığı desteği gerektiren Python 3.7'den beri kullanımdan " "kaldırılmıştır. (Victor Stinner tarafından :issue:`37312` 'de katılmıştır.)" -#: whatsnew/3.9.rst:988 +#: whatsnew/3.9.rst:985 msgid "" "``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to " "``sunau.open()``, and ``wave.openfp()`` alias to :func:`wave.open()` have " @@ -1962,19 +1973,19 @@ msgstr "" "kaldırıldı. Python 3.7'den beri kullanımdan kaldırıldılar. (Victor Stinner " "tarafından :issue:`37320` 'de katılmıştır.)" -#: whatsnew/3.9.rst:993 +#: whatsnew/3.9.rst:990 #, fuzzy msgid "" -"The :meth:`~threading.Thread.isAlive()` method of :class:`threading.Thread` " -"has been removed. It was deprecated since Python 3.8. Use :meth:`~threading." -"Thread.is_alive()` instead. (Contributed by Donghee Na in :issue:`37804`.)" +"The :meth:`!isAlive()` method of :class:`threading.Thread` has been removed. " +"It was deprecated since Python 3.8. Use :meth:`~threading.Thread.is_alive()` " +"instead. (Contributed by Donghee Na in :issue:`37804`.)" msgstr "" ":meth:`~threading.Thread.isAlive()` :class:`threading.Thread` yöntemi " "kaldırıldı. Python 3.8'den beri kullanımdan kaldırılmıştır. Bunun yerine :" "meth:`~threading.Thread.is_alive()` kullanın. (Dong-hee Na tarafından :issue:" "`37804` 'de katılmıştır.)" -#: whatsnew/3.9.rst:998 +#: whatsnew/3.9.rst:995 msgid "" "Methods ``getchildren()`` and ``getiterator()`` of classes :class:`~xml." "etree.ElementTree.ElementTree` and :class:`~xml.etree.ElementTree.Element` " @@ -1990,7 +2001,7 @@ msgstr "" "getiterator()`` yerine ``x.iter()`` veya ``list(x.iter())`` kullanın. ( :" "issue:`36543` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1006 +#: whatsnew/3.9.rst:1003 msgid "" "The old :mod:`plistlib` API has been removed, it was deprecated since Python " "3.4. Use the :func:`~plistlib.load`, :func:`~plistlib.loads`, :func:" @@ -2005,7 +2016,7 @@ msgstr "" "class:`bytes` nesneleri kullanıldı. (Jon Janzen tarafından :issue:`36409` " "'da katılmıştır.)" -#: whatsnew/3.9.rst:1012 +#: whatsnew/3.9.rst:1009 msgid "" "The C function ``PyGen_NeedsFinalizing`` has been removed. It was not " "documented, tested, or used anywhere within CPython after the implementation " @@ -2017,7 +2028,7 @@ msgstr "" "kullanılmadı. Yama Joannah Nanjekye tarafından. (Joannah Nanjekye " "tarafından :issue:`15088` 'de katılmıştır)" -#: whatsnew/3.9.rst:1017 +#: whatsnew/3.9.rst:1014 msgid "" "``base64.encodestring()`` and ``base64.decodestring()``, aliases deprecated " "since Python 3.1, have been removed: use :func:`base64.encodebytes` and :" @@ -2029,7 +2040,7 @@ msgstr "" "`base64.encodebytes` ve :func:`base64.decodebytes` kullanın. (Victor Stinner " "tarafından :issue:`39351` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1022 +#: whatsnew/3.9.rst:1019 msgid "" "``fractions.gcd()`` function has been removed, it was deprecated since " "Python 3.5 (:issue:`22486`): use :func:`math.gcd` instead. (Contributed by " @@ -2039,7 +2050,7 @@ msgstr "" "kaldırıldı (:issue:`22486`): bunun yerine :func:`math.gcd` kullanın. (Victor " "Stinner tarafından :issue:`39350` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1026 +#: whatsnew/3.9.rst:1023 msgid "" "The *buffering* parameter of :class:`bz2.BZ2File` has been removed. Since " "Python 3.0, it was ignored and using it emitted a :exc:`DeprecationWarning`. " @@ -2051,7 +2062,7 @@ msgstr "" "yaydı. Dosyanın nasıl açılacağını kontrol etmek için bir açık dosya nesnesi " "iletin. (Victor Stinner tarafından :issue:`39357` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1031 +#: whatsnew/3.9.rst:1028 msgid "" "The *encoding* parameter of :func:`json.loads` has been removed. As of " "Python 3.1, it was deprecated and ignored; using it has emitted a :exc:" @@ -2063,7 +2074,7 @@ msgstr "" "Python 3.8'den beri bir :exc:`DeprecationWarning` yayınladı. (Inada " "Naoki'nin katkılarıyla :issue:`39377`)" -#: whatsnew/3.9.rst:1036 +#: whatsnew/3.9.rst:1033 msgid "" "``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):`` " "statements are not longer supported, use ``async with lock`` instead. The " @@ -2075,9 +2086,10 @@ msgstr "" "şey ``asyncio.Condition`` ve ``asyncio.Semaphore`` için de geçerlidir. " "(Andrew Svetlov tarafından :issue:`34793` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1041 +#: whatsnew/3.9.rst:1038 +#, fuzzy msgid "" -"The :func:`sys.getcounts` function, the ``-X showalloccount`` command line " +"The :func:`!sys.getcounts` function, the ``-X showalloccount`` command line " "option and the ``show_alloc_count`` field of the C structure :c:type:" "`PyConfig` have been removed. They required a special Python build by " "defining ``COUNT_ALLOCS`` macro. (Contributed by Victor Stinner in :issue:" @@ -2088,7 +2100,7 @@ msgstr "" "``COUNT_ALLOCS`` makrosu tanımlayarak özel bir Python yapısına ihtiyaç " "duydular. (Victor Stinner'ın :issue:`39489` 'daki katkısıyla)" -#: whatsnew/3.9.rst:1047 +#: whatsnew/3.9.rst:1044 msgid "" "The ``_field_types`` attribute of the :class:`typing.NamedTuple` class has " "been removed. It was deprecated since Python 3.8. Use the " @@ -2100,9 +2112,10 @@ msgstr "" "``__annotations__`` özelliğini kullanın. (Serhiy Storchaka'nın :issue:" "`40182` 'deki katkısıyla)" -#: whatsnew/3.9.rst:1052 +#: whatsnew/3.9.rst:1049 +#, fuzzy msgid "" -"The :meth:`symtable.SymbolTable.has_exec` method has been removed. It was " +"The :meth:`!symtable.SymbolTable.has_exec` method has been removed. It was " "deprecated since 2006, and only returning ``False`` when it's called. " "(Contributed by Batuhan Taskaya in :issue:`40208`)" msgstr "" @@ -2110,9 +2123,10 @@ msgstr "" "kullanımdan kaldırılmıştır ve yalnızca çağrıldığında ``False`` değerini " "döndürmektedir. (Batuhan Taşkaya :issue:`40208` 'de katılmıştır)" -#: whatsnew/3.9.rst:1056 +#: whatsnew/3.9.rst:1053 +#, fuzzy msgid "" -"The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks` " +"The :meth:`!asyncio.Task.current_task` and :meth:`!asyncio.Task.all_tasks` " "have been removed. They were deprecated since Python 3.7 and you can use :" "func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead. " "(Contributed by Rémi Lapeyre in :issue:`40967`)" @@ -2122,7 +2136,7 @@ msgstr "" "func:`asyncio.current_task` ve :func:`asyncio.all_tasks` kullanabilirsiniz. " "(Rémi Lapeyre tarafından :issue:`40967` 'de katılmıştır)" -#: whatsnew/3.9.rst:1061 +#: whatsnew/3.9.rst:1058 msgid "" "The ``unescape()`` method in the :class:`html.parser.HTMLParser` class has " "been removed (it was deprecated since Python 3.4). :func:`html.unescape` " @@ -2134,11 +2148,11 @@ msgstr "" "karakter referanslarını karşılık gelen unicode karakterlere dönüştürmek için " "kullanılmalıdır." -#: whatsnew/3.9.rst:1335 +#: whatsnew/3.9.rst:1332 msgid "Porting to Python 3.9" msgstr "Python 3.9'a Taşıma" -#: whatsnew/3.9.rst:1070 +#: whatsnew/3.9.rst:1067 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." @@ -2146,11 +2160,11 @@ msgstr "" "Bu bölüm, daha önce açıklanan değişiklikleri ve kodunuzda değişiklik " "gerektirebilecek diğer hata düzeltmelerini listeler." -#: whatsnew/3.9.rst:1075 +#: whatsnew/3.9.rst:1072 msgid "Changes in the Python API" msgstr "Python API'sindeki Değişiklikler" -#: whatsnew/3.9.rst:1077 +#: whatsnew/3.9.rst:1074 msgid "" ":func:`__import__` and :func:`importlib.util.resolve_name` now raise :exc:" "`ImportError` where it previously raised :exc:`ValueError`. Callers catching " @@ -2163,7 +2177,7 @@ msgstr "" "destekleyen arayanların, ``except (ImportError, ValueError):`` kullanarak " "her ikisini de yakalaması gerekir." -#: whatsnew/3.9.rst:1082 +#: whatsnew/3.9.rst:1079 msgid "" "The :mod:`venv` activation scripts no longer special-case when " "``__VENV_PROMPT__`` is set to ``\"\"``." @@ -2171,7 +2185,7 @@ msgstr "" ":mod:`venv` etkinleştirme betikleri, ``__VENV_PROMPT__`` ``\"\"`` olarak " "ayarlandığında artık özel durum değildir." -#: whatsnew/3.9.rst:1085 +#: whatsnew/3.9.rst:1082 #, fuzzy msgid "" "The :meth:`select.epoll.unregister` method no longer ignores the :const:" @@ -2180,7 +2194,7 @@ msgstr "" ":meth:`select.epoll.unregister` yöntemi artık :data:`~errno.EBADF` hatasını " "yok saymıyor. (Victor Stinner tarafından :issue:`39239` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1089 +#: whatsnew/3.9.rst:1086 msgid "" "The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, " "since the *buffering* parameter has been removed. (Contributed by Victor " @@ -2190,7 +2204,7 @@ msgstr "" "parametresi kaldırıldığı için yalnızca anahtar kelime haline geldi. (Victor " "Stinner tarafından :issue:`39357` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1093 +#: whatsnew/3.9.rst:1090 msgid "" "Simplified AST for subscription. Simple indices will be represented by their " "value, extended slices will be represented as tuples. ``Index(value)`` will " @@ -2203,7 +2217,7 @@ msgstr "" "``Tuple(slices, Load())`` döndürür. ( :issue:`34822` ile Serhiy Storchaka " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1099 +#: whatsnew/3.9.rst:1096 msgid "" "The :mod:`importlib` module now ignores the :envvar:`PYTHONCASEOK` " "environment variable when the :option:`-E` or :option:`-I` command line " @@ -2212,7 +2226,7 @@ msgstr "" ":mod:`importlib` modülü artık :option:`-E` veya :option:`-I` komut satırı " "seçenekleri kullanılırken :envvar:`PYTHONCASEOK` ortam değişkenini yok sayar." -#: whatsnew/3.9.rst:1103 +#: whatsnew/3.9.rst:1100 msgid "" "The *encoding* parameter has been added to the classes :class:`ftplib.FTP` " "and :class:`ftplib.FTP_TLS` as a keyword-only parameter, and the default " @@ -2222,7 +2236,7 @@ msgstr "" "sınıflarına yalnızca anahtar kelime parametresi olarak eklendi ve varsayılan " "kodlama Latin-1'den UTF-8'e değiştirilerek :rfc:`2640` olarak değiştirildi ." -#: whatsnew/3.9.rst:1107 +#: whatsnew/3.9.rst:1104 msgid "" ":meth:`asyncio.loop.shutdown_default_executor` has been added to :class:" "`~asyncio.AbstractEventLoop`, meaning alternative event loops that inherit " @@ -2234,7 +2248,7 @@ msgstr "" "döngülerinde bu yöntem tanımlanmalıdır. (Kyle Stanley tarafından :issue:" "`34037` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1112 +#: whatsnew/3.9.rst:1109 msgid "" "The constant values of future flags in the :mod:`__future__` module is " "updated in order to prevent collision with compiler flags. Previously " @@ -2246,7 +2260,7 @@ msgstr "" "``PyCF_ALLOW_TOP_LEVEL_AWAIT``, ``CO_FUTURE_DIVISION`` ile çakışıyordu. " "(Batuhan Taskaya :issue:`39562` 'de katılmıştır)" -#: whatsnew/3.9.rst:1117 +#: whatsnew/3.9.rst:1114 #, fuzzy msgid "" "``array('u')`` now uses :c:type:`wchar_t` as C type instead of " @@ -2259,7 +2273,7 @@ msgstr "" "olduğundan, bu değişiklik davranışını etkilemez. (Inada Naoki tarafından :" "issue:`34538` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1122 +#: whatsnew/3.9.rst:1119 msgid "" "The :func:`logging.getLogger` API now returns the root logger when passed " "the name ``'root'``, whereas previously it returned a non-root logger named " @@ -2275,7 +2289,7 @@ msgstr "" "getLogger(__name__)`` kullanarak bir günlükçü başlattığı durumları " "etkileyebilir. ( :issue:`37742` içinde Vinay Sajip tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1129 +#: whatsnew/3.9.rst:1126 #, fuzzy msgid "" "Division handling of :class:`~pathlib.PurePath` now returns :data:" @@ -2290,7 +2304,7 @@ msgstr "" "belirtilen türlerden miras almayan uyumlu sınıflar oluşturmaya izin verir. " "( :issue:`34775` içinde Roger Aiudi tarafından katılmıştır)." -#: whatsnew/3.9.rst:1135 +#: whatsnew/3.9.rst:1132 msgid "" "Starting with Python 3.9.5 the :mod:`ipaddress` module no longer accepts any " "leading zeros in IPv4 address strings. Leading zeros are ambiguous and " @@ -2307,7 +2321,7 @@ msgstr "" "uygulaması baştaki sıfırları kabul etmez. ( :issue:`36384` içinde Christian " "Heimes tarafından katılmıştır)." -#: whatsnew/3.9.rst:1143 +#: whatsnew/3.9.rst:1140 msgid "" ":func:`codecs.lookup` now normalizes the encoding name the same way as :func:" "`encodings.normalize_encoding`, except that :func:`codecs.lookup` also " @@ -2321,11 +2335,11 @@ msgstr "" "kodlama adı artık ``\"latex_latin1\"`` olarak normalleştirildi. ( :issue:" "`37751` 'de Jordon Xu tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1151 +#: whatsnew/3.9.rst:1148 msgid "Changes in the C API" msgstr "C API'sindeki değişiklikler" -#: whatsnew/3.9.rst:1153 +#: whatsnew/3.9.rst:1150 msgid "" "Instances of :ref:`heap-allocated types ` (such as those created " "with :c:func:`PyType_FromSpec` and similar APIs) hold a reference to their " @@ -2344,7 +2358,7 @@ msgstr "" "işlevlerinin yapıldığından emin olun. tahsis edilen tipler, nesnenin tipini " "ziyaret eder." -#: whatsnew/3.9.rst:1174 +#: whatsnew/3.9.rst:1171 msgid "" "If your traverse function delegates to ``tp_traverse`` of its base class (or " "another type), ensure that ``Py_TYPE(self)`` is visited only once. Note that " @@ -2356,19 +2370,19 @@ msgstr "" "edildiğinden emin olun. Yalnızca :ref:`heap type ` 'ın " "``tp_traverse`` içindeki tipi ziyaret etmesinin beklendiğini unutmayın." -#: whatsnew/3.9.rst:1179 +#: whatsnew/3.9.rst:1176 msgid "For example, if your ``tp_traverse`` function includes:" msgstr "Örneğin, ``tp_traverse`` işleviniz aşağıdakileri içeriyorsa:" -#: whatsnew/3.9.rst:1185 +#: whatsnew/3.9.rst:1182 msgid "then add:" msgstr "then add:" -#: whatsnew/3.9.rst:1198 +#: whatsnew/3.9.rst:1195 msgid "(See :issue:`35810` and :issue:`40217` for more information.)" msgstr "(Daha fazla bilgi için bkz. :issue:`35810` ve :issue:`40217`.)" -#: whatsnew/3.9.rst:1200 +#: whatsnew/3.9.rst:1197 msgid "" "The functions ``PyEval_CallObject``, ``PyEval_CallFunction``, " "``PyEval_CallMethod`` and ``PyEval_CallObjectWithKeywords`` are deprecated. " @@ -2380,11 +2394,11 @@ msgstr "" "Bunun yerine :c:func:`PyObject_Call` ve türevlerini kullanın. (Daha fazla " "ayrıntı için :issue:`29548` konusuna bakın.)" -#: whatsnew/3.9.rst:1206 +#: whatsnew/3.9.rst:1203 msgid "CPython bytecode changes" msgstr "CPython bayt kodu değişiklikleri" -#: whatsnew/3.9.rst:1208 +#: whatsnew/3.9.rst:1205 msgid "" "The :opcode:`LOAD_ASSERTION_ERROR` opcode was added for handling the :" "keyword:`assert` statement. Previously, the assert statement would not work " @@ -2396,39 +2410,39 @@ msgstr "" "gölgeleniyorsa, iddia ifadesi düzgün çalışmıyordu. ( :issue:`34880` içinde " "Zackery Spytz tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1213 +#: whatsnew/3.9.rst:1210 msgid "" "The :opcode:`COMPARE_OP` opcode was split into four distinct instructions:" msgstr ":opcode:`COMPARE_OP` işlem kodu dört farklı talimata bölünmüştür:" -#: whatsnew/3.9.rst:1215 +#: whatsnew/3.9.rst:1212 msgid "``COMPARE_OP`` for rich comparisons" msgstr "Zengin karşılaştırmalar için ``COMPARE_OP``" -#: whatsnew/3.9.rst:1216 +#: whatsnew/3.9.rst:1213 msgid "``IS_OP`` for 'is' and 'is not' tests" msgstr "'-dir' ve 'değildir' testleri için ``IS_OP``" -#: whatsnew/3.9.rst:1217 +#: whatsnew/3.9.rst:1214 msgid "``CONTAINS_OP`` for 'in' and 'not in' tests" msgstr "``İçeride`` ve ``içeride değil`` testleri için ``CONTAINS_OP``" -#: whatsnew/3.9.rst:1218 +#: whatsnew/3.9.rst:1215 msgid "" "``JUMP_IF_NOT_EXC_MATCH`` for checking exceptions in 'try-except' statements." msgstr "" "'try-except' ifadelerindeki istisnaları kontrol etmek için " "``JUMP_IF_NOT_EXC_MATCH``." -#: whatsnew/3.9.rst:1221 +#: whatsnew/3.9.rst:1218 msgid "(Contributed by Mark Shannon in :issue:`39156`.)" msgstr "(Mark Shannon tarafından :issue:`39156` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1225 +#: whatsnew/3.9.rst:1222 msgid "Build Changes" msgstr "Yapı Değişiklikleri" -#: whatsnew/3.9.rst:1227 +#: whatsnew/3.9.rst:1224 #, fuzzy msgid "" "Added ``--with-platlibdir`` option to the ``configure`` script: name of the " @@ -2443,7 +2457,7 @@ msgstr "" "Matějek, Matěj Cepl, Charalampos Stratakis ve Victor Stinner'ın " "katkılarıyla :issue:`1294959`.)" -#: whatsnew/3.9.rst:1233 +#: whatsnew/3.9.rst:1230 msgid "" "The ``COUNT_ALLOCS`` special build macro has been removed. (Contributed by " "Victor Stinner in :issue:`39489`.)" @@ -2451,9 +2465,10 @@ msgstr "" "``COUNT_ALLOCS`` özel yapı makrosu kaldırıldı. (Victor Stinner tarafından :" "issue:`39489` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1236 +#: whatsnew/3.9.rst:1233 +#, fuzzy msgid "" -"On non-Windows platforms, the :c:func:`setenv` and :c:func:`unsetenv` " +"On non-Windows platforms, the :c:func:`!setenv` and :c:func:`!unsetenv` " "functions are now required to build Python. (Contributed by Victor Stinner " "in :issue:`39395`.)" msgstr "" @@ -2461,7 +2476,7 @@ msgstr "" "`setenv` ve :c:func:`unsetenv` işlevleri gereklidir. (Victor Stinner " "tarafından :issue:`39395` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1240 +#: whatsnew/3.9.rst:1237 msgid "" "On non-Windows platforms, creating ``bdist_wininst`` installers is now " "officially unsupported. (See :issue:`10945` for more details.)" @@ -2470,7 +2485,7 @@ msgstr "" "artık resmi olarak desteklenmemektedir. (Daha fazla ayrıntı için bkz. :issue:" "`10945`.)" -#: whatsnew/3.9.rst:1243 +#: whatsnew/3.9.rst:1240 msgid "" "When building Python on macOS from source, ``_tkinter`` now links with non-" "system Tcl and Tk frameworks if they are installed in ``/Library/" @@ -2488,7 +2503,7 @@ msgstr "" "de ``--with-tcltk-includes`` ve ``--with-tcltk-libs`` ile geçersiz " "kılınabilir. ( :issue:`34956` içinde Ned Deily tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1252 +#: whatsnew/3.9.rst:1249 msgid "" "Python can now be built for Windows 10 ARM64. (Contributed by Steve Dower " "in :issue:`33125`.)" @@ -2496,7 +2511,7 @@ msgstr "" "Python can now be built for Windows 10 ARM64. (Contributed by Steve Dower " "in :issue:`33125`.)" -#: whatsnew/3.9.rst:1255 +#: whatsnew/3.9.rst:1252 msgid "" "Some individual tests are now skipped when ``--pgo`` is used. The tests in " "question increased the PGO task time significantly and likely didn't help " @@ -2525,11 +2540,11 @@ msgstr "" "çalıştırmalıdır. (Daha fazla ayrıntı için bkz. :issue:`36044` ve :issue:" "`37707`.)" -#: whatsnew/3.9.rst:1270 +#: whatsnew/3.9.rst:1267 msgid "C API Changes" msgstr "C API'sindeki değişiklikler" -#: whatsnew/3.9.rst:1275 +#: whatsnew/3.9.rst:1272 #, fuzzy msgid "" ":pep:`573`: Added :c:func:`PyType_FromModuleAndSpec` to associate a module " @@ -2545,7 +2560,7 @@ msgstr "" "data:`METH_METHOD`. ( :issue:`38787` içinde Marcel Plch ve Petr Viktorin " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1282 +#: whatsnew/3.9.rst:1279 msgid "" "Added :c:func:`PyFrame_GetCode` function: get a frame code. Added :c:func:" "`PyFrame_GetBack` function: get the frame next outer frame. (Contributed by " @@ -2555,7 +2570,7 @@ msgstr "" "`PyFrame_GetBack` işlevi eklendi: sonraki dış çerçeveyi alın. (Victor " "Stinner tarafından :issue:`40421` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1286 +#: whatsnew/3.9.rst:1283 msgid "" "Added :c:func:`PyFrame_GetLineNumber` to the limited C API. (Contributed by " "Victor Stinner in :issue:`40421`.)" @@ -2563,7 +2578,7 @@ msgstr "" "Sınırlı C API'sine :c:func:`PyFrame_GetLineNumber` eklendi. (Victor Stinner " "tarafından :issue:`40421` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1289 +#: whatsnew/3.9.rst:1286 msgid "" "Added :c:func:`PyThreadState_GetInterpreter` and :c:func:" "`PyInterpreterState_Get` functions to get the interpreter. Added :c:func:" @@ -2579,7 +2594,7 @@ msgstr "" "durumunun benzersiz tanımlayıcısını alın. (Victor Stinner tarafından :issue:" "`39947` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1297 +#: whatsnew/3.9.rst:1294 msgid "" "Added a new public :c:func:`PyObject_CallNoArgs` function to the C API, " "which calls a callable Python object without any arguments. It is the most " @@ -2592,13 +2607,13 @@ msgstr "" "etkili yolu budur. (Victor Stinner tarafından :issue:`37194` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:1420 +#: whatsnew/3.9.rst:1417 msgid "Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):" msgstr "" "Sınırlı C API'sindeki değişiklikler (eğer ``Py_LIMITED_API`` makrosu " "tanımlanmışsa):" -#: whatsnew/3.9.rst:1304 +#: whatsnew/3.9.rst:1301 msgid "" "Provide :c:func:`Py_EnterRecursiveCall` and :c:func:`Py_LeaveRecursiveCall` " "as regular functions for the limited API. Previously, there were defined as " @@ -2612,7 +2627,7 @@ msgstr "" "alanına erişemeyen sınırlı C API'si ile derlenmiyordu (sınırlı C API'sinde " "yapı opaktır)." -#: whatsnew/3.9.rst:1310 +#: whatsnew/3.9.rst:1307 msgid "" "``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular \"opaque\" " "function to hide implementation details." @@ -2620,12 +2635,12 @@ msgstr "" "``PyObject_INIT()`` ve ``PyObject_INIT_VAR()``, uygulama ayrıntılarını " "gizlemek için normal \"opak\" fonksiyon haline gelir." -#: whatsnew/3.9.rst:1447 +#: whatsnew/3.9.rst:1444 msgid "(Contributed by Victor Stinner in :issue:`38644` and :issue:`39542`.)" msgstr "" "(Victor Stinner tarafından :issue:`38644` ve :issue:`39542` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1315 +#: whatsnew/3.9.rst:1312 #, fuzzy msgid "" "The :c:func:`PyModule_AddType` function is added to help adding a type to a " @@ -2634,7 +2649,7 @@ msgstr "" "Bir modüle tür eklenmesine yardımcı olmak için :c:func:`PyModule_AddType` " "fonkisoynu eklenir. (Dong-hee Na tarafından :issue:`40024` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1319 +#: whatsnew/3.9.rst:1316 msgid "" "Added the functions :c:func:`PyObject_GC_IsTracked` and :c:func:" "`PyObject_GC_IsFinalized` to the public API to allow to query if Python " @@ -2648,9 +2663,10 @@ msgstr "" "sonlandırılmadığını sorgulamaya izin vermek için eklendi. (Pablo Galindo " "Salgado tarafından :issue:`40241` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1325 +#: whatsnew/3.9.rst:1322 +#, fuzzy msgid "" -"Added :c:func:`_PyObject_FunctionStr` to get a user-friendly string " +"Added :c:func:`!_PyObject_FunctionStr` to get a user-friendly string " "representation of a function-like object. (Patch by Jeroen Demeyer in :issue:" "`37645`.)" msgstr "" @@ -2658,7 +2674,7 @@ msgstr "" "için :c:func:`_PyObject_FunctionStr` eklendi. (Yama, Jeroen Demeyer " "tarafından :issue:`37645` içinde.)" -#: whatsnew/3.9.rst:1329 +#: whatsnew/3.9.rst:1326 msgid "" "Added :c:func:`PyObject_CallOneArg` for calling an object with one " "positional argument (Patch by Jeroen Demeyer in :issue:`37483`.)" @@ -2667,7 +2683,7 @@ msgstr "" "`PyObject_CallOneArg` eklendi (Yama Jeroen Demeyer tarafından :issue:`37483` " "içinde.)" -#: whatsnew/3.9.rst:1337 +#: whatsnew/3.9.rst:1334 msgid "" "``PyInterpreterState.eval_frame`` (:pep:`523`) now requires a new mandatory " "*tstate* parameter (``PyThreadState*``). (Contributed by Victor Stinner in :" @@ -2677,7 +2693,7 @@ msgstr "" "*tstate* parametresi (``PyThreadState*``) gerektiriyor. (Victor Stinner " "tarafından :issue:`38500` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1341 +#: whatsnew/3.9.rst:1338 msgid "" "Extension modules: :c:member:`~PyModuleDef.m_traverse`, :c:member:" "`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions of :c:" @@ -2697,14 +2713,14 @@ msgstr "" "durumu ( :c:func:`PyModule_GetState` tarafından döndürülen) ``NULL`` ise " "çağrılmaz." -#: whatsnew/3.9.rst:1350 +#: whatsnew/3.9.rst:1347 msgid "" "Extension modules without module state (``m_size <= 0``) are not affected." msgstr "" "Modül durumuna sahip olmayan genişletme modülleri (``m_size <= 0``) " "etkilenmez." -#: whatsnew/3.9.rst:1352 +#: whatsnew/3.9.rst:1349 msgid "" "If :c:func:`Py_AddPendingCall` is called in a subinterpreter, the function " "is now scheduled to be called from the subinterpreter, rather than being " @@ -2717,7 +2733,7 @@ msgstr "" "listesine sahiptir. (Victor Stinner tarafından :issue:`39984`'de " "katılmıştır.)" -#: whatsnew/3.9.rst:1358 +#: whatsnew/3.9.rst:1355 msgid "" "The Windows registry is no longer used to initialize :data:`sys.path` when " "the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to " @@ -2729,7 +2745,7 @@ msgstr "" "başlatmak için artık kullanılmaz. Bu, Python'u Windows'a yerleştirirken " "önemlidir. ( :issue:`8901` içinde Zackery Spytz tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1363 +#: whatsnew/3.9.rst:1360 msgid "" "The global variable :c:data:`PyStructSequence_UnnamedField` is now a " "constant and refers to a constant string. (Contributed by Serhiy Storchaka " @@ -2739,9 +2755,10 @@ msgstr "" "ve sabit bir dizeye başvurur. ( :issue:`38650` içinde Serhiy Storchaka " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1367 +#: whatsnew/3.9.rst:1364 +#, fuzzy msgid "" -"The :c:type:`PyGC_Head` structure is now opaque. It is only defined in the " +"The :c:type:`!PyGC_Head` structure is now opaque. It is only defined in the " "internal C API (``pycore_gc.h``). (Contributed by Victor Stinner in :issue:" "`40241`.)" msgstr "" @@ -2749,7 +2766,7 @@ msgstr "" "(``pycore_gc.h``) tanımlanır. (Victor Stinner tarafından :issue:`40241` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:1371 +#: whatsnew/3.9.rst:1368 #, fuzzy msgid "" "The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, :c:" @@ -2765,7 +2782,7 @@ msgstr "" "`393` tarafından kullanımdan kaldırılmıştır. (Inada Naoki tarafından :issue:" "`36346` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1378 +#: whatsnew/3.9.rst:1375 msgid "" "The :c:func:`Py_FatalError` function is replaced with a macro which logs " "automatically the name of the current function, unless the " @@ -2777,7 +2794,7 @@ msgstr "" "makro ile değiştirilir. (Victor Stinner tarafından :issue:`39882` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:1383 +#: whatsnew/3.9.rst:1380 msgid "" "The vectorcall protocol now requires that the caller passes only strings as " "keyword names. (See :issue:`37540` for more information.)" @@ -2786,21 +2803,21 @@ msgstr "" "yalnızca dizeleri iletmesini gerektirir. (Daha fazla bilgi için bkz. :issue:" "`37540`.)" -#: whatsnew/3.9.rst:1386 +#: whatsnew/3.9.rst:1383 msgid "" "Implementation details of a number of macros and functions are now hidden:" msgstr "" "Bir dizi makro ve fonksiyonların uygulama ayrıntıları artık gizlenmiştir:" -#: whatsnew/3.9.rst:1388 +#: whatsnew/3.9.rst:1385 msgid ":c:func:`PyObject_IS_GC` macro was converted to a function." msgstr ":c:func:`PyObject_IS_GC` makrosu bir fonksiyona dönüştürüldü." -#: whatsnew/3.9.rst:1390 +#: whatsnew/3.9.rst:1387 #, fuzzy msgid "" -"The :c:func:`PyObject_NEW` macro becomes an alias to the :c:macro:" -"`PyObject_New` macro, and the :c:func:`PyObject_NEW_VAR` macro becomes an " +"The :c:func:`!PyObject_NEW` macro becomes an alias to the :c:macro:" +"`PyObject_New` macro, and the :c:func:`!PyObject_NEW_VAR` macro becomes an " "alias to the :c:macro:`PyObject_NewVar` macro. They no longer access " "directly the :c:member:`PyTypeObject.tp_basicsize` member." msgstr "" @@ -2809,16 +2826,17 @@ msgstr "" "makrosunun takma adı olur . Artık :c:member:`PyTypeObject.tp_basicsize` " "üyesine doğrudan erişemezler." -#: whatsnew/3.9.rst:1395 +#: whatsnew/3.9.rst:1392 +#, fuzzy msgid "" -":c:func:`PyObject_GET_WEAKREFS_LISTPTR` macro was converted to a function: " +":c:func:`!PyObject_GET_WEAKREFS_LISTPTR` macro was converted to a function: " "the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset` " "member." msgstr "" ":c:func:`PyObject_GET_WEAKREFS_LISTPTR` makrosu bir işleve dönüştürüldü: " "makro doğrudan :c:member:`PyTypeObject.tp_weaklistoffset` üyesine erişti." -#: whatsnew/3.9.rst:1399 +#: whatsnew/3.9.rst:1396 msgid "" ":c:func:`PyObject_CheckBuffer` macro was converted to a function: the macro " "accessed directly the :c:member:`PyTypeObject.tp_as_buffer` member." @@ -2826,7 +2844,7 @@ msgstr "" ":c:func:`PyObject_CheckBuffer` makrosu bir fonksiyona dönüştürüldü: makro :c:" "member:`PyTypeObject.tp_as_buffer` üyesine doğrudan erişti." -#: whatsnew/3.9.rst:1402 +#: whatsnew/3.9.rst:1399 msgid "" ":c:func:`PyIndex_Check` is now always declared as an opaque function to hide " "implementation details: removed the ``PyIndex_Check()`` macro. The macro " @@ -2837,11 +2855,11 @@ msgstr "" "kaldırıldı. Makro, :c:member:`PyTypeObject.tp_as_number` üyesine doğrudan " "erişti." -#: whatsnew/3.9.rst:1406 +#: whatsnew/3.9.rst:1403 msgid "(See :issue:`40170` for more details.)" msgstr "(Daha fazla ayrıntı için bkz. :issue:`40170`.)" -#: whatsnew/3.9.rst:1411 +#: whatsnew/3.9.rst:1408 msgid "" "Excluded ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of " "``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in :issue:" @@ -2851,7 +2869,7 @@ msgstr "" "makroları sınırlı C API'sinden hariç tutuldu. (Victor Stinner tarafından :" "issue:`38835` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1415 +#: whatsnew/3.9.rst:1412 msgid "" "The ``tp_print`` slot of :ref:`PyTypeObject ` has been " "removed. It was used for printing objects to files in Python 2.7 and before. " @@ -2863,11 +2881,11 @@ msgstr "" "Python 3.0'dan beri göz ardı edildi ve kullanılmadı. ( :issue:`36974` içinde " "Jeroen Demeyer tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1422 +#: whatsnew/3.9.rst:1419 msgid "Excluded the following functions from the limited C API:" msgstr "Aşağıdaki fonksiyonlar sınırlı C API'sinden çıkarıldı:" -#: whatsnew/3.9.rst:1424 +#: whatsnew/3.9.rst:1421 msgid "" "``PyThreadState_DeleteCurrent()`` (Contributed by Joannah Nanjekye in :issue:" "`37878`.)" @@ -2875,79 +2893,79 @@ msgstr "" "``PyThreadState_DeleteCurrent()`` (Joannah Nanjekye tarafından :issue:" "`37878` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1426 +#: whatsnew/3.9.rst:1423 msgid "``_Py_CheckRecursionLimit``" msgstr "``_Py_CheckRecursionLimit``" -#: whatsnew/3.9.rst:1427 +#: whatsnew/3.9.rst:1424 msgid "``_Py_NewReference()``" msgstr "``_Py_NewReference()``" -#: whatsnew/3.9.rst:1428 +#: whatsnew/3.9.rst:1425 msgid "``_Py_ForgetReference()``" msgstr "``_Py_ForgetReference()``" -#: whatsnew/3.9.rst:1429 +#: whatsnew/3.9.rst:1426 msgid "``_PyTraceMalloc_NewReference()``" msgstr "``_PyTraceMalloc_NewReference()``" -#: whatsnew/3.9.rst:1430 +#: whatsnew/3.9.rst:1427 msgid "``_Py_GetRefTotal()``" msgstr "``_Py_GetRefTotal()``" -#: whatsnew/3.9.rst:1431 +#: whatsnew/3.9.rst:1428 msgid "The trashcan mechanism which never worked in the limited C API." msgstr "Sınırlı C API'sinde hiçbir zaman çalışmayan çöp tenekesi mekanizması." -#: whatsnew/3.9.rst:1432 +#: whatsnew/3.9.rst:1429 msgid "``PyTrash_UNWIND_LEVEL``" msgstr "``PyTrash_UNWIND_LEVEL``" -#: whatsnew/3.9.rst:1433 +#: whatsnew/3.9.rst:1430 msgid "``Py_TRASHCAN_BEGIN_CONDITION``" msgstr "``Py_TRASHCAN_BEGIN_CONDITION``" -#: whatsnew/3.9.rst:1434 +#: whatsnew/3.9.rst:1431 msgid "``Py_TRASHCAN_BEGIN``" msgstr "``Py_TRASHCAN_BEGIN``" -#: whatsnew/3.9.rst:1435 +#: whatsnew/3.9.rst:1432 msgid "``Py_TRASHCAN_END``" msgstr "``Py_TRASHCAN_END``" -#: whatsnew/3.9.rst:1436 +#: whatsnew/3.9.rst:1433 msgid "``Py_TRASHCAN_SAFE_BEGIN``" msgstr "``Py_TRASHCAN_SAFE_BEGIN``" -#: whatsnew/3.9.rst:1437 +#: whatsnew/3.9.rst:1434 msgid "``Py_TRASHCAN_SAFE_END``" msgstr "``Py_TRASHCAN_SAFE_END``" -#: whatsnew/3.9.rst:1439 +#: whatsnew/3.9.rst:1436 msgid "Moved following functions and definitions to the internal C API:" msgstr "Aşağıdaki fonksiyonlar ve tanımlar dahili C API'sine taşındı:" -#: whatsnew/3.9.rst:1441 +#: whatsnew/3.9.rst:1438 msgid "``_PyDebug_PrintTotalRefs()``" msgstr "``_PyDebug_PrintTotalRefs()``" -#: whatsnew/3.9.rst:1442 +#: whatsnew/3.9.rst:1439 msgid "``_Py_PrintReferences()``" msgstr "``_Py_PrintReferences()``" -#: whatsnew/3.9.rst:1443 +#: whatsnew/3.9.rst:1440 msgid "``_Py_PrintReferenceAddresses()``" msgstr "``_Py_PrintReferenceAddresses()``" -#: whatsnew/3.9.rst:1444 +#: whatsnew/3.9.rst:1441 msgid "``_Py_tracemalloc_config``" msgstr "``_Py_tracemalloc_config``" -#: whatsnew/3.9.rst:1445 +#: whatsnew/3.9.rst:1442 msgid "``_Py_AddToAllObjects()`` (specific to ``Py_TRACE_REFS`` build)" msgstr "``_Py_AddToAllObjects()`` (``Py_TRACE_REFS`` yapısına özel)" -#: whatsnew/3.9.rst:1449 +#: whatsnew/3.9.rst:1446 msgid "" "Removed ``_PyRuntime.getframe`` hook and removed ``_PyThreadState_GetFrame`` " "macro which was an alias to ``_PyRuntime.getframe``. They were only exposed " @@ -2960,7 +2978,7 @@ msgstr "" "``PyThreadFrameGetter`` türü kaldırıldı. (Victor Stinner tarafından :issue:" "`39946` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1454 +#: whatsnew/3.9.rst:1451 msgid "" "Removed the following functions from the C API. Call :c:func:`PyGC_Collect` " "explicitly to clear all free lists. (Contributed by Inada Naoki and Victor " @@ -2971,31 +2989,31 @@ msgstr "" "Stinner tarafından :issue:`37340` , :issue:`38896` ve :issue:`40428` 'de " "katkıda bulunmuştur.)" -#: whatsnew/3.9.rst:1459 +#: whatsnew/3.9.rst:1456 msgid "``PyAsyncGen_ClearFreeLists()``" msgstr "``PyAsyncGen_ClearFreeLists()``" -#: whatsnew/3.9.rst:1460 +#: whatsnew/3.9.rst:1457 msgid "``PyContext_ClearFreeList()``" msgstr "``PyContext_ClearFreeList()``" -#: whatsnew/3.9.rst:1461 +#: whatsnew/3.9.rst:1458 msgid "``PyDict_ClearFreeList()``" msgstr "``PyDict_ClearFreeList()``" -#: whatsnew/3.9.rst:1462 +#: whatsnew/3.9.rst:1459 msgid "``PyFloat_ClearFreeList()``" msgstr "``PyFloat_ClearFreeList()``" -#: whatsnew/3.9.rst:1463 +#: whatsnew/3.9.rst:1460 msgid "``PyFrame_ClearFreeList()``" msgstr "``PyFrame_ClearFreeList()``" -#: whatsnew/3.9.rst:1464 +#: whatsnew/3.9.rst:1461 msgid "``PyList_ClearFreeList()``" msgstr "``PyList_ClearFreeList()``" -#: whatsnew/3.9.rst:1465 +#: whatsnew/3.9.rst:1462 msgid "" "``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``: the free " "lists of bound method objects have been removed." @@ -3003,16 +3021,16 @@ msgstr "" "``PyMethod_ClearFreeList()`` ve ``PyCFunction_ClearFreeList()``: bağlı " "yöntem nesnelerinin serbest listeleri kaldırıldı." -#: whatsnew/3.9.rst:1467 +#: whatsnew/3.9.rst:1464 msgid "" "``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4." msgstr "``PySet_ClearFreeList()``: Python 3.4'te setsiz liste kaldırıldı." -#: whatsnew/3.9.rst:1469 +#: whatsnew/3.9.rst:1466 msgid "``PyTuple_ClearFreeList()``" msgstr "``PyTuple_ClearFreeList()``" -#: whatsnew/3.9.rst:1470 +#: whatsnew/3.9.rst:1467 msgid "" "``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in " "Python 3.3." @@ -3020,7 +3038,7 @@ msgstr "" "``PyUnicode_ClearFreeList()``: Unicode ücretsiz listesi Python 3.3'te " "kaldırılmıştır." -#: whatsnew/3.9.rst:1473 +#: whatsnew/3.9.rst:1470 msgid "" "Removed ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor " "Stinner in :issue:`39465`.)" @@ -3028,7 +3046,7 @@ msgstr "" "``_PyUnicode_ClearStaticStrings()`` fonksiyonu kaldırıldı. (Victor Stinner " "tarafından :issue:`39465` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1476 +#: whatsnew/3.9.rst:1473 msgid "" "Removed ``Py_UNICODE_MATCH``. It has been deprecated by :pep:`393`, and " "broken since Python 3.3. The :c:func:`PyUnicode_Tailmatch` function can be " @@ -3039,7 +3057,7 @@ msgstr "" "`PyUnicode_Tailmatch` fonksiyonu kullanılabilir. (Inada Naoki tarafından :" "issue:`36346` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1481 +#: whatsnew/3.9.rst:1478 msgid "" "Cleaned header files of interfaces defined but with no implementation. The " "public API symbols being removed are: " @@ -3061,11 +3079,11 @@ msgstr "" "``PyNoArgsFunction``. ( :issue:`39372` içinde Pablo Galindo Salgado " "tarafından sağlanmıştır.)" -#: whatsnew/3.9.rst:1492 +#: whatsnew/3.9.rst:1489 msgid "Notable changes in Python 3.9.1" msgstr "Python 3.9.1'deki önemli değişiklikler" -#: whatsnew/3.9.rst:1497 +#: whatsnew/3.9.rst:1494 msgid "" "The behavior of :class:`typing.Literal` was changed to conform with :pep:" "`586` and to match the behavior of static type checkers specified in the PEP." @@ -3074,18 +3092,18 @@ msgstr "" "belirtilen statik tip denetleyicilerin davranışıyla eşleşecek şekilde " "değiştirildi." -#: whatsnew/3.9.rst:1500 +#: whatsnew/3.9.rst:1497 msgid "``Literal`` now de-duplicates parameters." msgstr "``Literal`` artık parametrelerin yinelemelerini kaldırıyor." -#: whatsnew/3.9.rst:1501 +#: whatsnew/3.9.rst:1498 msgid "" "Equality comparisons between ``Literal`` objects are now order independent." msgstr "" "``Literal`` nesneleri arasındaki eşitlik karşılaştırmaları artık sıradan " "bağımsızdır." -#: whatsnew/3.9.rst:1502 +#: whatsnew/3.9.rst:1499 msgid "" "``Literal`` comparisons now respect types. For example, ``Literal[0] == " "Literal[False]`` previously evaluated to ``True``. It is now ``False``. To " @@ -3097,7 +3115,7 @@ msgstr "" "Artık ``False``. Bu değişikliği desteklemek için dahili olarak kullanılan " "tür önbelleği artık farklılaşan türleri desteklemektedir." -#: whatsnew/3.9.rst:1506 +#: whatsnew/3.9.rst:1503 msgid "" "``Literal`` objects will now raise a :exc:`TypeError` exception during " "equality comparisons if any of their parameters are not :term:`hashable`. " @@ -3109,15 +3127,15 @@ msgstr "" "istisnası oluşturacak. Değişken parametrelerle ``Literal`` tanımlamanın bir " "hata atmayacağına dikkat edin::" -#: whatsnew/3.9.rst:1518 +#: whatsnew/3.9.rst:1515 msgid "(Contributed by Yurii Karabas in :issue:`42345`.)" msgstr "( :issue:`42345` sayısında Yurii Karabas tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1521 +#: whatsnew/3.9.rst:1518 msgid "macOS 11.0 (Big Sur) and Apple Silicon Mac support" msgstr "macOS 11.0 (Big Sur) ve Apple Silicon Mac desteği" -#: whatsnew/3.9.rst:1523 +#: whatsnew/3.9.rst:1520 msgid "" "As of 3.9.1, Python now fully supports building and running on macOS 11.0 " "(Big Sur) and on Apple Silicon Macs (based on the ``ARM64`` architecture). A " @@ -3139,21 +3157,21 @@ msgstr "" "fonksiyonları ve seçenekleri koşullu olarak kullanılabilir hale getirilir " "(\"weaklinking\" )." -#: whatsnew/3.9.rst:1532 +#: whatsnew/3.9.rst:1529 msgid "(Contributed by Ronald Oussoren and Lawrence D'Anna in :issue:`41100`.)" msgstr "" "( :issue:`41100` içinde Ronald Oussoren ve Lawrence D'Anna tarafından " "katılmıştır.)" -#: whatsnew/3.9.rst:1535 +#: whatsnew/3.9.rst:1532 msgid "Notable changes in Python 3.9.2" msgstr "Python 3.9.2'deki önemli değişiklikler" -#: whatsnew/3.9.rst:1538 +#: whatsnew/3.9.rst:1535 msgid "collections.abc" msgstr "collections.abc" -#: whatsnew/3.9.rst:1540 +#: whatsnew/3.9.rst:1537 msgid "" ":class:`collections.abc.Callable` generic now flattens type parameters, " "similar to what :data:`typing.Callable` currently does. This means that " @@ -3182,11 +3200,11 @@ msgstr "" "`DeprecationWarning` bir :exc:`TypeError` olacaktır. ( :issue:`42195` içinde " "Ken Jin tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1579 +#: whatsnew/3.9.rst:1576 msgid "urllib.parse" msgstr "urllib.parse" -#: whatsnew/3.9.rst:1556 +#: whatsnew/3.9.rst:1553 msgid "" "Earlier Python versions allowed using both ``;`` and ``&`` as query " "parameter separators in :func:`urllib.parse.parse_qs` and :func:`urllib." @@ -3207,12 +3225,12 @@ msgstr "" "için lütfen ilgili belgelere bakın. (Adam Goldschmidt, Senthil Kumaran ve " "Ken Jin'in katkılarıyla :issue:`42967`.)" -#: whatsnew/3.9.rst:1567 +#: whatsnew/3.9.rst:1564 #, fuzzy msgid "Notable changes in Python 3.9.3" msgstr "Python 3.9.1'deki önemli değişiklikler" -#: whatsnew/3.9.rst:1569 +#: whatsnew/3.9.rst:1566 msgid "" "A security fix alters the :class:`ftplib.FTP` behavior to not trust the IPv4 " "address sent from the remote server when setting up a passive data channel. " @@ -3221,12 +3239,12 @@ msgid "" "instance to ``True``. (See :gh:`87451`)" msgstr "" -#: whatsnew/3.9.rst:1576 +#: whatsnew/3.9.rst:1573 #, fuzzy msgid "Notable changes in Python 3.9.5" msgstr "Python 3.9.1'deki önemli değişiklikler" -#: whatsnew/3.9.rst:1581 +#: whatsnew/3.9.rst:1578 msgid "" "The presence of newline or tab characters in parts of a URL allows for some " "forms of attacks. Following the WHATWG specification that updates :rfc:" @@ -3236,35 +3254,34 @@ msgid "" "variable ``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE``. (See :gh:`88048`)" msgstr "" -#: whatsnew/3.9.rst:1589 +#: whatsnew/3.9.rst:1586 #, fuzzy msgid "Notable security feature in 3.9.14" msgstr "Python 3.9.1'deki önemli değişiklikler" -#: whatsnew/3.9.rst:1591 +#: whatsnew/3.9.rst:1588 msgid "" "Converting between :class:`int` and :class:`str` in bases other than 2 " "(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) " "now raises a :exc:`ValueError` if the number of digits in string form is " "above a limit to avoid potential denial of service attacks due to the " -"algorithmic complexity. This is a mitigation for `CVE-2020-10735 `_. This limit can be " -"configured or disabled by environment variable, command line flag, or :mod:" -"`sys` APIs. See the :ref:`integer string conversion length limitation " -"` documentation. The default limit is 4300 digits in " -"string form." +"algorithmic complexity. This is a mitigation for :cve:`2020-10735`. This " +"limit can be configured or disabled by environment variable, command line " +"flag, or :mod:`sys` APIs. See the :ref:`integer string conversion length " +"limitation ` documentation. The default limit is 4300 " +"digits in string form." msgstr "" -#: whatsnew/3.9.rst:1603 +#: whatsnew/3.9.rst:1599 #, fuzzy msgid "Notable changes in 3.9.17" msgstr "Python 3.9.1'deki önemli değişiklikler" -#: whatsnew/3.9.rst:1606 +#: whatsnew/3.9.rst:1602 msgid "tarfile" msgstr "" -#: whatsnew/3.9.rst:1608 +#: whatsnew/3.9.rst:1604 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 " diff --git a/whatsnew/index.po b/whatsnew/index.po index de27ac346..fc44ec3e3 100644 --- a/whatsnew/index.po +++ b/whatsnew/index.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2024-05-01 21:53+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -29,8 +29,7 @@ msgstr "" #: whatsnew/index.rst:36 msgid "" -"The \"Changelog\" is an HTML version of the `file built `_ from the contents of the :source:`Misc/NEWS.d` directory " -"tree, which contains *all* nontrivial changes to Python for the current " -"version." +"The \"Changelog\" is an HTML version of the :pypi:`file built` from " +"the contents of the :source:`Misc/NEWS.d` directory tree, which contains " +"*all* nontrivial changes to Python for the current version." msgstr ""